From 71e4cb4254005a6bc6d63d03d0aa8d632201d237 Mon Sep 17 00:00:00 2001 From: panyy Date: Tue, 27 Oct 2026 10:54:53 +0800 Subject: [PATCH] refactor: pin MinerU 2.7.4 and retire standalone workbench --- LICENSE.md | 662 ++++ README.md | 23 +- README.mineru-upstream.md | 364 ++ docker/china/Dockerfile | 118 +- docker/china/Dockerfile.corex | 75 +- docker/compose.yaml | 93 +- docker/entrypoint.mineru-api.sh | 4 +- docker/global/Dockerfile | 53 +- docker/global/Dockerfile.cuda | 77 +- docs/mineru-migration/2.7.4-baseline.json | 6 + docs/mineru-migration/README.md | 2 + mineru/backend/hybrid/hybrid_magic_model.py | 3 +- mineru/backend/pipeline/model_init.py | 9 +- mineru/backend/pipeline/pipeline_analyze.py | 7 +- mineru/backend/vlm/utils.py | 18 +- mineru/backend/vlm/vlm_analyze.py | 73 +- mineru/backend/vlm/vlm_magic_model.py | 3 +- mineru/cli/common.py | 131 +- mineru/cli/fast_api.py | 1227 ++---- mineru/cli/gradio_app.py | 308 +- mineru/cli/static/markmap/d3.min.js | 2 - mineru/cli/static/markmap/markmap-lib.js | 10 - mineru/cli/static/markmap/markmap-toolbar.js | 9 - mineru/cli/static/markmap/markmap-view.js | 10 - .../cli/static/web/assets/index-B_viQAxH.css | 1 - .../cli/static/web/assets/index-zcV97yfy.js | 432 --- .../static/web/assets/markdown-_Dy2zPzC.js | 16 - .../cli/static/web/assets/vendor-DSv9k51x.js | 53 - mineru/cli/static/web/index.html | 28 - mineru/cli/static/web/markmap/d3.min.js | 2 - mineru/cli/static/web/markmap/markmap-lib.js | 10 - .../cli/static/web/markmap/markmap-toolbar.js | 9 - mineru/cli/static/web/markmap/markmap-view.js | 10 - mineru/model/mfd/yolo_v8.py | 6 +- mineru/model/mfr/unimernet/Unimernet.py | 6 +- .../rec/unet_table/utils_table_line_rec.py | 8 +- mineru/model/vlm/vllm_server.py | 23 + mineru/utils/block_sort.py | 16 + mineru/utils/config_reader.py | 14 +- mineru/utils/magic_model_utils.py | 74 +- mineru/utils/model_utils.py | 20 +- mineru/utils/table_merge.py | 198 +- mineru/version.py | 2 +- pyproject.toml | 2 +- scripts/build-images.sh | 35 +- scripts/run_parser.py | 30 + scripts/start-mindmap.sh | 34 +- web_ui/.vite-dev.pid | 0 web_ui/Dockerfile | 36 - web_ui/Dockerfile.portable | 17 - web_ui/README.md | 169 - web_ui/index.html | 25 - web_ui/nginx.back | 47 - web_ui/nginx.conf | 45 - web_ui/nginx.conf.template | 83 - web_ui/package-lock.json | 3392 ----------------- web_ui/package.json | 31 - web_ui/public/markmap/d3.min.js | 2 - web_ui/public/markmap/markmap-lib.js | 10 - web_ui/public/markmap/markmap-toolbar.js | 9 - web_ui/public/markmap/markmap-view.js | 10 - web_ui/src/App.vue | 40 - web_ui/src/api/document.ts | 81 - web_ui/src/api/hub.ts | 28 - web_ui/src/components/ConfigPanel.vue | 35 - web_ui/src/components/FileUploader.vue | 246 -- web_ui/src/components/MarkdownRenderer.vue | 700 ---- web_ui/src/components/MindMapRenderer.vue | 747 ---- web_ui/src/components/ResultPanel.vue | 198 - .../src/composables/useDocumentProcessor.ts | 411 -- web_ui/src/locales/en.ts | 87 - web_ui/src/locales/index.ts | 2 - web_ui/src/locales/zh.ts | 87 - web_ui/src/main.ts | 21 - web_ui/src/utils/imageAssets.ts | 86 - web_ui/src/utils/markdownAst.ts | 55 - web_ui/src/utils/markdownTemplate.ts | 45 - web_ui/src/utils/mindmapMarkdown.ts | 175 - web_ui/src/utils/mindmapState.ts | 46 - web_ui/src/utils/request.ts | 79 - web_ui/src/utils/uuid.ts | 10 - web_ui/src/utils/wordToPdf.ts | 143 - web_ui/src/views/DocumentProcessor.vue | 1362 ------- web_ui/start.sh | 15 - web_ui/tsconfig.json | 25 - web_ui/tsconfig.node.json | 9 - web_ui/vite.config.ts | 39 - 87 files changed, 1992 insertions(+), 10972 deletions(-) create mode 100644 LICENSE.md create mode 100644 README.mineru-upstream.md create mode 100644 docs/mineru-migration/2.7.4-baseline.json delete mode 100644 mineru/cli/static/markmap/d3.min.js delete mode 100644 mineru/cli/static/markmap/markmap-lib.js delete mode 100644 mineru/cli/static/markmap/markmap-toolbar.js delete mode 100644 mineru/cli/static/markmap/markmap-view.js delete mode 100644 mineru/cli/static/web/assets/index-B_viQAxH.css delete mode 100644 mineru/cli/static/web/assets/index-zcV97yfy.js delete mode 100644 mineru/cli/static/web/assets/markdown-_Dy2zPzC.js delete mode 100644 mineru/cli/static/web/assets/vendor-DSv9k51x.js delete mode 100644 mineru/cli/static/web/index.html delete mode 100644 mineru/cli/static/web/markmap/d3.min.js delete mode 100644 mineru/cli/static/web/markmap/markmap-lib.js delete mode 100644 mineru/cli/static/web/markmap/markmap-toolbar.js delete mode 100644 mineru/cli/static/web/markmap/markmap-view.js create mode 100644 scripts/run_parser.py delete mode 100644 web_ui/.vite-dev.pid delete mode 100644 web_ui/Dockerfile delete mode 100644 web_ui/Dockerfile.portable delete mode 100644 web_ui/README.md delete mode 100644 web_ui/index.html delete mode 100644 web_ui/nginx.back delete mode 100644 web_ui/nginx.conf delete mode 100644 web_ui/nginx.conf.template delete mode 100644 web_ui/package-lock.json delete mode 100644 web_ui/package.json delete mode 100644 web_ui/public/markmap/d3.min.js delete mode 100644 web_ui/public/markmap/markmap-lib.js delete mode 100644 web_ui/public/markmap/markmap-toolbar.js delete mode 100644 web_ui/public/markmap/markmap-view.js delete mode 100644 web_ui/src/App.vue delete mode 100644 web_ui/src/api/document.ts delete mode 100644 web_ui/src/api/hub.ts delete mode 100644 web_ui/src/components/ConfigPanel.vue delete mode 100644 web_ui/src/components/FileUploader.vue delete mode 100644 web_ui/src/components/MarkdownRenderer.vue delete mode 100644 web_ui/src/components/MindMapRenderer.vue delete mode 100644 web_ui/src/components/ResultPanel.vue delete mode 100644 web_ui/src/composables/useDocumentProcessor.ts delete mode 100644 web_ui/src/locales/en.ts delete mode 100644 web_ui/src/locales/index.ts delete mode 100644 web_ui/src/locales/zh.ts delete mode 100644 web_ui/src/main.ts delete mode 100644 web_ui/src/utils/imageAssets.ts delete mode 100644 web_ui/src/utils/markdownAst.ts delete mode 100644 web_ui/src/utils/markdownTemplate.ts delete mode 100644 web_ui/src/utils/mindmapMarkdown.ts delete mode 100644 web_ui/src/utils/mindmapState.ts delete mode 100644 web_ui/src/utils/request.ts delete mode 100644 web_ui/src/utils/uuid.ts delete mode 100644 web_ui/src/utils/wordToPdf.ts delete mode 100644 web_ui/src/views/DocumentProcessor.vue delete mode 100644 web_ui/start.sh delete mode 100644 web_ui/tsconfig.json delete mode 100644 web_ui/tsconfig.node.json delete mode 100644 web_ui/vite.config.ts diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..fe6b903 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,662 @@ + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are 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. + + 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. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + 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 Affero 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. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + 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 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 work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero 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 Affero 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 Affero 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 Affero 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. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero 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 Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + 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 AGPL, see +. + diff --git a/README.md b/README.md index f7615b2..5191657 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,23 @@ +# Unis MinerU 解析服务 -markitdown +本仓库维护官方 `mineru-2.7.4-released` 解析源码及部署配置;`mineru/` 与官方发布包一致。 + +思维导图工作台、用户授权、模型整理、文件格式分流和版本适配已迁至 MaxKB。旧 web_ui 不再部署。官方说明见 [README.mineru-upstream.md](README.mineru-upstream.md),基线哈希见 [2.7.4-baseline.json](docs/mineru-migration/2.7.4-baseline.json)。旧业务实现可从 Git 提交 `8b50192` 回看。 + +## 启动 + +在经过验证的独立虚拟环境安装本项目,准备原版 pipeline / VLM 模型及 mineru.json,设置 `MINERU_TOOLS_CONFIG_JSON` 和 `MINERU_MODEL_SOURCE=local`,运行: + +```bash +python scripts/run_parser.py --host 127.0.0.1 --port 8100 +``` + +仅启动解析服务。接口为 `/file_parse`,不包含旧 `/api`、`/v1/tasks`、智能整理或工作台静态页面。服务应仅供可信内网调用,业务鉴权在 MaxKB 完成。 + +`MINERU_GPU_MEMORY_UTILIZATION` 通过启动参数传给上游引擎;默认限制单个解析请求并发。模型文件不自动下载,也不在启动时执行数据库迁移。 + +## 镜像 + +CoreX 使用 `docker/china/Dockerfile.corex`;CUDA 使用 `docker/global/Dockerfile.cuda`。构建只安装当前源码,先固定厂商 Torch/torchvision/vLLM 版本,再解析其他依赖;冲突时停止构建。不得在厂商镜像中全量升级。 + +`scripts/build-images.sh` 只构建解析镜像;`scripts/start-mindmap.sh` 为兼容旧命令保留,实际仅增量启动 parser,不删除容器或修改业务目录权限。具体国产卡组合仍需在目标硬件验证。 diff --git a/README.mineru-upstream.md b/README.mineru-upstream.md new file mode 100644 index 0000000..a434a16 --- /dev/null +++ b/README.mineru-upstream.md @@ -0,0 +1,364 @@ +
+ +

+ +

+ + + +[![stars](https://img.shields.io/github/stars/opendatalab/MinerU.svg)](https://github.com/opendatalab/MinerU) +[![forks](https://img.shields.io/github/forks/opendatalab/MinerU.svg)](https://github.com/opendatalab/MinerU) +[![open issues](https://img.shields.io/github/issues-raw/opendatalab/MinerU)](https://github.com/opendatalab/MinerU/issues) +[![issue resolution](https://img.shields.io/github/issues-closed-raw/opendatalab/MinerU)](https://github.com/opendatalab/MinerU/issues) +[![PyPI version](https://img.shields.io/pypi/v/mineru)](https://pypi.org/project/mineru/) +[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mineru)](https://pypi.org/project/mineru/) +[![Downloads](https://static.pepy.tech/badge/mineru)](https://pepy.tech/project/mineru) +[![Downloads](https://static.pepy.tech/badge/mineru/month)](https://pepy.tech/project/mineru) +[![OpenDataLab](https://img.shields.io/badge/webapp_on_mineru.net-blue?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTM0IiBoZWlnaHQ9IjEzNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMTIyLDljMCw1LTQsOS05LDlzLTktNC05LTksNC05LDktOSw5LDQsOSw5eiIgZmlsbD0idXJsKCNhKSIvPjxwYXRoIGQ9Im0xMjIsOWMwLDUtNCw5LTksOXMtOS00LTktOSw0LTksOS05LDksNCw5LDl6IiBmaWxsPSIjMDEwMTAxIi8+PHBhdGggZD0ibTkxLDE4YzAsNS00LDktOSw5cy05LTQtOS05LDQtOSw5LTksOSw0LDksOXoiIGZpbGw9InVybCgjYikiLz48cGF0aCBkPSJtOTEsMThjMCw1LTQsOS05LDlzLTktNC05LTksNC05LDktOSw5LDQsOSw5eiIgZmlsbD0iIzAxMDEwMSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMzksNjJjMCwxNiw4LDMwLDIwLDM4LDctNiwxMi0xNiwxMi0yNlY0OWMwLTQsMy03LDYtOGw0Ni0xMmM1LTEsMTEsMywxMSw4djMxYzAsMzctMzAsNjYtNjYsNjYtMzcsMC02Ni0zMC02Ni02NlY0NmMwLTQsMy03LDYtOGwyMC02YzUtMSwxMSwzLDExLDh2MjF6bS0yOSw2YzAsMTYsNiwzMCwxNyw0MCwzLDEsNSwxLDgsMSw1LDAsMTAtMSwxNS0zQzM3LDk1LDI5LDc5LDI5LDYyVjQybC0xOSw1djIweiIgZmlsbD0idXJsKCNjKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMzksNjJjMCwxNiw4LDMwLDIwLDM4LDctNiwxMi0xNiwxMi0yNlY0OWMwLTQsMy03LDYtOGw0Ni0xMmM1LTEsMTEsMywxMSw4djMxYzAsMzctMzAsNjYtNjYsNjYtMzcsMC02Ni0zMC02Ni02NlY0NmMwLTQsMy03LDYtOGwyMC02YzUtMSwxMSwzLDExLDh2MjF6bS0yOSw2YzAsMTYsNiwzMCwxNyw0MCwzLDEsNSwxLDgsMSw1LDAsMTAtMSwxNS0zQzM3LDk1LDI5LDc5LDI5LDYyVjQybC0xOSw1djIweiIgZmlsbD0iIzAxMDEwMSIvPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iYSIgeDE9Ijg0IiB5MT0iNDEiIHgyPSI3NSIgeTI9IjEyMCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNmZmYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMyZTJlMmUiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgeDE9Ijg0IiB5MT0iNDEiIHgyPSI3NSIgeTI9IjEyMCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNmZmYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMyZTJlMmUiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iYyIgeDE9Ijg0IiB5MT0iNDEiIHgyPSI3NSIgeTI9IjEyMCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNmZmYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMyZTJlMmUiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48L3N2Zz4=&labelColor=white)](https://mineru.net/OpenSourceTools/Extractor?source=github) +[![HuggingFace](https://img.shields.io/badge/Demo_on_HuggingFace-yellow.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF8AAABYCAMAAACkl9t/AAAAk1BMVEVHcEz/nQv/nQv/nQr/nQv/nQr/nQv/nQv/nQr/wRf/txT/pg7/yRr/rBD/zRz/ngv/oAz/zhz/nwv/txT/ngv/0B3+zBz/nQv/0h7/wxn/vRb/thXkuiT/rxH/pxD/ogzcqyf/nQvTlSz/czCxky7/SjifdjT/Mj3+Mj3wMj15aTnDNz+DSD9RTUBsP0FRO0Q6O0WyIxEIAAAAGHRSTlMADB8zSWF3krDDw8TJ1NbX5efv8ff9/fxKDJ9uAAAGKklEQVR42u2Z63qjOAyGC4RwCOfB2JAGqrSb2WnTw/1f3UaWcSGYNKTdf/P+mOkTrE+yJBulvfvLT2A5ruenaVHyIks33npl/6C4s/ZLAM45SOi/1FtZPyFur1OYofBX3w7d54Bxm+E8db+nDr12ttmESZ4zludJEG5S7TO72YPlKZFyE+YCYUJTBZsMiNS5Sd7NlDmKM2Eg2JQg8awbglfqgbhArjxkS7dgp2RH6hc9AMLdZYUtZN5DJr4molC8BfKrEkPKEnEVjLbgW1fLy77ZVOJagoIcLIl+IxaQZGjiX597HopF5CkaXVMDO9Pyix3AFV3kw4lQLCbHuMovz8FallbcQIJ5Ta0vks9RnolbCK84BtjKRS5uA43hYoZcOBGIG2Epbv6CvFVQ8m8loh66WNySsnN7htL58LNp+NXT8/PhXiBXPMjLSxtwp8W9f/1AngRierBkA+kk/IpUSOeKByzn8y3kAAAfh//0oXgV4roHm/kz4E2z//zRc3/lgwBzbM2mJxQEa5pqgX7d1L0htrhx7LKxOZlKbwcAWyEOWqYSI8YPtgDQVjpB5nvaHaSnBaQSD6hweDi8PosxD6/PT09YY3xQA7LTCTKfYX+QHpA0GCcqmEHvr/cyfKQTEuwgbs2kPxJEB0iNjfJcCTPyocx+A0griHSmADiC91oNGVwJ69RudYe65vJmoqfpul0lrqXadW0jFKH5BKwAeCq+Den7s+3zfRJzA61/Uj/9H/VzLKTx9jFPPdXeeP+L7WEvDLAKAIoF8bPTKT0+TM7W8ePj3Rz/Yn3kOAp2f1Kf0Weony7pn/cPydvhQYV+eFOfmOu7VB/ViPe34/EN3RFHY/yRuT8ddCtMPH/McBAT5s+vRde/gf2c/sPsjLK+m5IBQF5tO+h2tTlBGnP6693JdsvofjOPnnEHkh2TnV/X1fBl9S5zrwuwF8NFrAVJVwCAPTe8gaJlomqlp0pv4Pjn98tJ/t/fL++6unpR1YGC2n/KCoa0tTLoKiEeUPDl94nj+5/Tv3/eT5vBQ60X1S0oZr+IWRR8Ldhu7AlLjPISlJcO9vrFotky9SpzDequlwEir5beYAc0R7D9KS1DXva0jhYRDXoExPdc6yw5GShkZXe9QdO/uOvHofxjrV/TNS6iMJS+4TcSTgk9n5agJdBQbB//IfF/HpvPt3Tbi7b6I6K0R72p6ajryEJrENW2bbeVUGjfgoals4L443c7BEE4mJO2SpbRngxQrAKRudRzGQ8jVOL2qDVjjI8K1gc3TIJ5KiFZ1q+gdsARPB4NQS4AjwVSt72DSoXNyOWUrU5mQ9nRYyjp89Xo7oRI6Bga9QNT1mQ/ptaJq5T/7WcgAZywR/XlPGAUDdet3LE+qS0TI+g+aJU8MIqjo0Kx8Ly+maxLjJmjQ18rA0YCkxLQbUZP1WqdmyQGJLUm7VnQFqodmXSqmRrdVpqdzk5LvmvgtEcW8PMGdaS23EOWyDVbACZzUJPaqMbjDxpA3Qrgl0AikimGDbqmyT8P8NOYiqrldF8rX+YN7TopX4UoHuSCYY7cgX4gHwclQKl1zhx0THf+tCAUValzjI7Wg9EhptrkIcfIJjA94evOn8B2eHaVzvBrnl2ig0So6hvPaz0IGcOvTHvUIlE2+prqAxLSQxZlU2stql1NqCCLdIiIN/i1DBEHUoElM9dBravbiAnKqgpi4IBkw+utSPIoBijDXJipSVV7MpOEJUAc5Qmm3BnUN+w3hteEieYKfRZSIUcXKMVf0u5wD4EwsUNVvZOtUT7A2GkffHjByWpHqvRBYrTV72a6j8zZ6W0DTE86Hn04bmyWX3Ri9WH7ZU6Q7h+ZHo0nHUAcsQvVhXRDZHChwiyi/hnPuOsSEF6Exk3o6Y9DT1eZ+6cASXk2Y9k+6EOQMDGm6WBK10wOQJCBwren86cPPWUcRAnTVjGcU1LBgs9FURiX/e6479yZcLwCBmTxiawEwrOcleuu12t3tbLv/N4RLYIBhYexm7Fcn4OJcn0+zc+s8/VfPeddZHAGN6TT8eGczHdR/Gts1/MzDkThr23zqrVfAMFT33Nx1RJsx1k5zuWILLnG/vsH+Fv5D4NTVcp1Gzo8AAAAAElFTkSuQmCC&labelColor=white)](https://huggingface.co/spaces/opendatalab/MinerU) +[![ModelScope](https://img.shields.io/badge/Demo_on_ModelScope-purple?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIzIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCiA8Zz4KICA8dGl0bGU+TGF5ZXIgMTwvdGl0bGU+CiAgPHBhdGggaWQ9InN2Z18xNCIgZmlsbD0iIzYyNGFmZiIgZD0ibTAsODkuODRsMjUuNjUsMGwwLDI1LjY0OTk5bC0yNS42NSwwbDAsLTI1LjY0OTk5eiIvPgogIDxwYXRoIGlkPSJzdmdfMTUiIGZpbGw9IiM2MjRhZmYiIGQ9Im05OS4xNCwxMTUuNDlsMjUuNjUsMGwwLDI1LjY1bC0yNS42NSwwbDAsLTI1LjY1eiIvPgogIDxwYXRoIGlkPSJzdmdfMTYiIGZpbGw9IiM2MjRhZmYiIGQ9Im0xNzYuMDksMTQxLjE0bC0yNS42NDk5OSwwbDAsMjIuMTlsNDcuODQsMGwwLC00Ny44NGwtMjIuMTksMGwwLDI1LjY1eiIvPgogIDxwYXRoIGlkPSJzdmdfMTciIGZpbGw9IiMzNmNmZDEiIGQ9Im0xMjQuNzksODkuODRsMjUuNjUsMGwwLDI1LjY0OTk5bC0yNS42NSwwbDAsLTI1LjY0OTk5eiIvPgogIDxwYXRoIGlkPSJzdmdfMTgiIGZpbGw9IiMzNmNmZDEiIGQ9Im0wLDY0LjE5bDI1LjY1LDBsMCwyNS42NWwtMjUuNjUsMGwwLC0yNS42NXoiLz4KICA8cGF0aCBpZD0ic3ZnXzE5IiBmaWxsPSIjNjI0YWZmIiBkPSJtMTk4LjI4LDg5Ljg0bDI1LjY0OTk5LDBsMCwyNS42NDk5OWwtMjUuNjQ5OTksMGwwLC0yNS42NDk5OXoiLz4KICA8cGF0aCBpZD0ic3ZnXzIwIiBmaWxsPSIjMzZjZmQxIiBkPSJtMTk4LjI4LDY0LjE5bDI1LjY0OTk5LDBsMCwyNS42NWwtMjUuNjQ5OTksMGwwLC0yNS42NXoiLz4KICA8cGF0aCBpZD0ic3ZnXzIxIiBmaWxsPSIjNjI0YWZmIiBkPSJtMTUwLjQ0LDQybDAsMjIuMTlsMjUuNjQ5OTksMGwwLDI1LjY1bDIyLjE5LDBsMCwtNDcuODRsLTQ3Ljg0LDB6Ii8+CiAgPHBhdGggaWQ9InN2Z18yMiIgZmlsbD0iIzM2Y2ZkMSIgZD0ibTczLjQ5LDg5Ljg0bDI1LjY1LDBsMCwyNS42NDk5OWwtMjUuNjUsMGwwLC0yNS42NDk5OXoiLz4KICA8cGF0aCBpZD0ic3ZnXzIzIiBmaWxsPSIjNjI0YWZmIiBkPSJtNDcuODQsNjQuMTlsMjUuNjUsMGwwLC0yMi4xOWwtNDcuODQsMGwwLDQ3Ljg0bDIyLjE5LDBsMCwtMjUuNjV6Ii8+CiAgPHBhdGggaWQ9InN2Z18yNCIgZmlsbD0iIzYyNGFmZiIgZD0ibTQ3Ljg0LDExNS40OWwtMjIuMTksMGwwLDQ3Ljg0bDQ3Ljg0LDBsMCwtMjIuMTlsLTI1LjY1LDBsMCwtMjUuNjV6Ii8+CiA8L2c+Cjwvc3ZnPg==&labelColor=white)](https://www.modelscope.cn/studios/OpenDataLab/MinerU) +[![Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/gist/myhloli/a3cb16570ab3cfeadf9d8f0ac91b4fca/mineru_demo.ipynb) +[![arXiv](https://img.shields.io/badge/MinerU-Technical%20Report-b31b1b.svg?logo=arXiv)](https://arxiv.org/abs/2409.18839) +[![arXiv](https://img.shields.io/badge/MinerU2.5-Technical%20Report-b31b1b.svg?logo=arXiv)](https://arxiv.org/abs/2509.22186) +[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/opendatalab/MinerU) + + +opendatalab%2FMinerU | Trendshift + + + +[English](README.md) | [简体中文](README_zh-CN.md) + + + +

+🚀Access MinerU Now→✅ Zero-Install Web Version ✅ Full-Featured Desktop Client ✅ Instant API Access; Skip deployment headaches – get all product formats in one click. Developers, dive in! +

+ + + +

+ 👋 join us on Discord and WeChat +

+ +
+ +# Changelog + +- 2026/01/30 2.7.4 Release + - Added support for domestic computing platforms IluvatarCorex and Cambricon. Currently, the officially supported domestic computing platforms include: + - [Ascend](https://opendatalab.github.io/MinerU/zh/usage/acceleration_cards/Ascend/) + - [T-Head](https://opendatalab.github.io/MinerU/zh/usage/acceleration_cards/THead/) + - [METAX](https://opendatalab.github.io/MinerU/zh/usage/acceleration_cards/METAX/) + - [Hygon](https://opendatalab.github.io/MinerU/zh/usage/acceleration_cards/Hygon/) + - [Enflame](https://opendatalab.github.io/MinerU/zh/usage/acceleration_cards/Enflame/) + - [MooreThreads](https://opendatalab.github.io/MinerU/zh/usage/acceleration_cards/MooreThreads/) + - [IluvatarCorex](https://opendatalab.github.io/MinerU/zh/usage/acceleration_cards/IluvatarCorex/) + - [Cambricon](https://opendatalab.github.io/MinerU/zh/usage/acceleration_cards/Cambricon/) + - MinerU continues to ensure compatibility with domestic hardware platforms, supporting mainstream chip architectures. With secure and reliable technology, we empower researchers, government, and enterprises to reach new heights in document digitization! + +- 2026/01/23 2.7.2 Release + - Added support for domestic computing platforms Hygon, Enflame, and Moore Threads. + - Cross-page table merging optimization, improving merge success rate and merge quality. + +- 2026/01/06 2.7.1 Release + - fix bug: #4300 + - Updated pdfminer.six dependency version to resolve [CVE-2025-64512](https://github.com/advisories/GHSA-wf5f-4jwr-ppcp) + - Support automatic correction of input image exif orientation to improve OCR recognition accuracy #4283 + +- 2025/12/30 2.7.0 Release + - Simplified installation process. No need to separately install `vlm` acceleration engine dependencies. Using `uv pip install mineru[all]` during installation will install all optional backend dependencies. + - Added new `hybrid` backend, which combines the advantages of `pipeline` and `vlm` backends. Built on vlm, it integrates some capabilities of pipeline, adding extra extensibility on top of high accuracy: + - Directly extracts text from text PDFs, natively supports multi-language recognition in text PDF scenarios, and greatly reduces parsing hallucinations; + - Supports text recognition in 109 languages for scanned PDF scenarios by specifying OCR language; + - Independent inline formula recognition switch, which can be disabled separately when inline formula recognition is not needed, improving the visual effect of parsing results. + - Simplified engine selection logic for `vlm/hybrid` backends. Users only need to specify the backend as `*-auto-engine`, and the system will automatically select the appropriate engine for inference acceleration based on the current environment, improving usability. + - Switched default parsing backend from `pipeline` to `hybrid-auto-engine`, improving out-of-the-box result consistency for new users and avoiding cognitive differences in parsing results. + - Added i18n support to gradio application, supporting switching between Chinese and English languages. + +> 📝 View the complete [Changelog](https://opendatalab.github.io/MinerU/reference/changelog/) for more historical version information + +# MinerU + +## Project Introduction + +MinerU is a tool that converts PDFs into machine-readable formats (e.g., markdown, JSON), allowing for easy extraction into any format. +MinerU was born during the pre-training process of [InternLM](https://github.com/InternLM/InternLM). We focus on solving symbol conversion issues in scientific literature and hope to contribute to technological development in the era of large models. +Compared to well-known commercial products, MinerU is still young. If you encounter any issues or if the results are not as expected, please submit an issue on [issue](https://github.com/opendatalab/MinerU/issues) and **attach the relevant PDF**. + +https://github.com/user-attachments/assets/4bea02c9-6d54-4cd6-97ed-dff14340982c + +## Key Features + +- Remove headers, footers, footnotes, page numbers, etc., to ensure semantic coherence. +- Output text in human-readable order, suitable for single-column, multi-column, and complex layouts. +- Preserve the structure of the original document, including headings, paragraphs, lists, etc. +- Extract images, image descriptions, tables, table titles, and footnotes. +- Automatically recognize and convert formulas in the document to LaTeX format. +- Automatically recognize and convert tables in the document to HTML format. +- Automatically detect scanned PDFs and garbled PDFs and enable OCR functionality. +- OCR supports detection and recognition of 109 languages. +- Supports multiple output formats, such as multimodal and NLP Markdown, JSON sorted by reading order, and rich intermediate formats. +- Supports various visualization results, including layout visualization and span visualization, for efficient confirmation of output quality. +- Supports running in a pure CPU environment, and also supports GPU(CUDA)/NPU(CANN)/MPS acceleration +- Compatible with Windows, Linux, and Mac platforms. + +# Quick Start + +If you encounter any installation issues, please first consult the FAQ.
+If the parsing results are not as expected, refer to the Known Issues.
+ +## Online Experience + +### Official online web application +The official online version has the same functionality as the client, with a beautiful interface and rich features, requires login to use + +- [![OpenDataLab](https://img.shields.io/badge/webapp_on_mineru.net-blue?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTM0IiBoZWlnaHQ9IjEzNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMTIyLDljMCw1LTQsOS05LDlzLTktNC05LTksNC05LDktOSw5LDQsOSw5eiIgZmlsbD0idXJsKCNhKSIvPjxwYXRoIGQ9Im0xMjIsOWMwLDUtNCw5LTksOXMtOS00LTktOSw0LTksOS05LDksNCw5LDl6IiBmaWxsPSIjMDEwMTAxIi8+PHBhdGggZD0ibTkxLDE4YzAsNS00LDktOSw5cy05LTQtOS05LDQtOSw5LTksOSw0LDksOXoiIGZpbGw9InVybCgjYikiLz48cGF0aCBkPSJtOTEsMThjMCw1LTQsOS05LDlzLTktNC05LTksNC05LDktOSw5LDQsOSw5eiIgZmlsbD0iIzAxMDEwMSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMzksNjJjMCwxNiw4LDMwLDIwLDM4LDctNiwxMi0xNiwxMi0yNlY0OWMwLTQsMy03LDYtOGw0Ni0xMmM1LTEsMTEsMywxMSw4djMxYzAsMzctMzAsNjYtNjYsNjYtMzcsMC02Ni0zMC02Ni02NlY0NmMwLTQsMy03LDYtOGwyMC02YzUtMSwxMSwzLDExLDh2MjF6bS0yOSw2YzAsMTYsNiwzMCwxNyw0MCwzLDEsNSwxLDgsMSw1LDAsMTAtMSwxNS0zQzM3LDk1LDI5LDc5LDI5LDYyVjQybC0xOSw1djIweiIgZmlsbD0idXJsKCNjKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMzksNjJjMCwxNiw4LDMwLDIwLDM4LDctNiwxMi0xNiwxMi0yNlY0OWMwLTQsMy03LDYtOGw0Ni0xMmM1LTEsMTEsMywxMSw4djMxYzAsMzctMzAsNjYtNjYsNjYtMzcsMC02Ni0zMC02Ni02NlY0NmMwLTQsMy03LDYtOGwyMC02YzUtMSwxMSwzLDExLDh2MjF6bS0yOSw2YzAsMTYsNiwzMCwxNyw0MCwzLDEsNSwxLDgsMSw1LDAsMTAtMSwxNS0zQzM3LDk1LDI5LDc5LDI5LDYyVjQybC0xOSw1djIweiIgZmlsbD0iIzAxMDEwMSIvPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iYSIgeDE9Ijg0IiB5MT0iNDEiIHgyPSI3NSIgeTI9IjEyMCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNmZmYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMyZTJlMmUiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgeDE9Ijg0IiB5MT0iNDEiIHgyPSI3NSIgeTI9IjEyMCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNmZmYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMyZTJlMmUiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iYyIgeDE9Ijg0IiB5MT0iNDEiIHgyPSI3NSIgeTI9IjEyMCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNmZmYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMyZTJlMmUiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48L3N2Zz4=&labelColor=white)](https://mineru.net/OpenSourceTools/Extractor?source=github) + +### Gradio-based online demo +A WebUI developed based on Gradio, with a simple interface and only core parsing functionality, no login required + +- [![ModelScope](https://img.shields.io/badge/Demo_on_ModelScope-purple?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIzIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCiA8Zz4KICA8dGl0bGU+TGF5ZXIgMTwvdGl0bGU+CiAgPHBhdGggaWQ9InN2Z18xNCIgZmlsbD0iIzYyNGFmZiIgZD0ibTAsODkuODRsMjUuNjUsMGwwLDI1LjY0OTk5bC0yNS42NSwwbDAsLTI1LjY0OTk5eiIvPgogIDxwYXRoIGlkPSJzdmdfMTUiIGZpbGw9IiM2MjRhZmYiIGQ9Im05OS4xNCwxMTUuNDlsMjUuNjUsMGwwLDI1LjY1bC0yNS42NSwwbDAsLTI1LjY1eiIvPgogIDxwYXRoIGlkPSJzdmdfMTYiIGZpbGw9IiM2MjRhZmYiIGQ9Im0xNzYuMDksMTQxLjE0bC0yNS42NDk5OSwwbDAsMjIuMTlsNDcuODQsMGwwLC00Ny44NGwtMjIuMTksMGwwLDI1LjY1eiIvPgogIDxwYXRoIGlkPSJzdmdfMTciIGZpbGw9IiMzNmNmZDEiIGQ9Im0xMjQuNzksODkuODRsMjUuNjUsMGwwLDI1LjY0OTk5bC0yNS42NSwwbDAsLTI1LjY0OTk5eiIvPgogIDxwYXRoIGlkPSJzdmdfMTgiIGZpbGw9IiMzNmNmZDEiIGQ9Im0wLDY0LjE5bDI1LjY1LDBsMCwyNS42NWwtMjUuNjUsMGwwLC0yNS42NXoiLz4KICA8cGF0aCBpZD0ic3ZnXzE5IiBmaWxsPSIjNjI0YWZmIiBkPSJtMTk4LjI4LDg5Ljg0bDI1LjY0OTk5LDBsMCwyNS42NDk5OWwtMjUuNjQ5OTksMGwwLC0yNS42NDk5OXoiLz4KICA8cGF0aCBpZD0ic3ZnXzIwIiBmaWxsPSIjMzZjZmQxIiBkPSJtMTk4LjI4LDY0LjE5bDI1LjY0OTk5LDBsMCwyNS42NWwtMjUuNjQ5OTksMGwwLC0yNS42NXoiLz4KICA8cGF0aCBpZD0ic3ZnXzIxIiBmaWxsPSIjNjI0YWZmIiBkPSJtMTUwLjQ0LDQybDAsMjIuMTlsMjUuNjQ5OTksMGwwLDI1LjY1bDIyLjE5LDBsMCwtNDcuODRsLTQ3Ljg0LDB6Ii8+CiAgPHBhdGggaWQ9InN2Z18yMiIgZmlsbD0iIzM2Y2ZkMSIgZD0ibTczLjQ5LDg5Ljg0bDI1LjY1LDBsMCwyNS42NDk5OWwtMjUuNjUsMGwwLC0yNS42NDk5OXoiLz4KICA8cGF0aCBpZD0ic3ZnXzIzIiBmaWxsPSIjNjI0YWZmIiBkPSJtNDcuODQsNjQuMTlsMjUuNjUsMGwwLC0yMi4xOWwtNDcuODQsMGwwLDQ3Ljg0bDIyLjE5LDBsMCwtMjUuNjV6Ii8+CiAgPHBhdGggaWQ9InN2Z18yNCIgZmlsbD0iIzYyNGFmZiIgZD0ibTQ3Ljg0LDExNS40OWwtMjIuMTksMGwwLDQ3Ljg0bDQ3Ljg0LDBsMCwtMjIuMTlsLTI1LjY1LDBsMCwtMjUuNjV6Ii8+CiA8L2c+Cjwvc3ZnPg==&labelColor=white)](https://www.modelscope.cn/studios/OpenDataLab/MinerU) +- [![HuggingFace](https://img.shields.io/badge/Demo_on_HuggingFace-yellow.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF8AAABYCAMAAACkl9t/AAAAk1BMVEVHcEz/nQv/nQv/nQr/nQv/nQr/nQv/nQv/nQr/wRf/txT/pg7/yRr/rBD/zRz/ngv/oAz/zhz/nwv/txT/ngv/0B3+zBz/nQv/0h7/wxn/vRb/thXkuiT/rxH/pxD/ogzcqyf/nQvTlSz/czCxky7/SjifdjT/Mj3+Mj3wMj15aTnDNz+DSD9RTUBsP0FRO0Q6O0WyIxEIAAAAGHRSTlMADB8zSWF3krDDw8TJ1NbX5efv8ff9/fxKDJ9uAAAGKklEQVR42u2Z63qjOAyGC4RwCOfB2JAGqrSb2WnTw/1f3UaWcSGYNKTdf/P+mOkTrE+yJBulvfvLT2A5ruenaVHyIks33npl/6C4s/ZLAM45SOi/1FtZPyFur1OYofBX3w7d54Bxm+E8db+nDr12ttmESZ4zludJEG5S7TO72YPlKZFyE+YCYUJTBZsMiNS5Sd7NlDmKM2Eg2JQg8awbglfqgbhArjxkS7dgp2RH6hc9AMLdZYUtZN5DJr4molC8BfKrEkPKEnEVjLbgW1fLy77ZVOJagoIcLIl+IxaQZGjiX597HopF5CkaXVMDO9Pyix3AFV3kw4lQLCbHuMovz8FallbcQIJ5Ta0vks9RnolbCK84BtjKRS5uA43hYoZcOBGIG2Epbv6CvFVQ8m8loh66WNySsnN7htL58LNp+NXT8/PhXiBXPMjLSxtwp8W9f/1AngRierBkA+kk/IpUSOeKByzn8y3kAAAfh//0oXgV4roHm/kz4E2z//zRc3/lgwBzbM2mJxQEa5pqgX7d1L0htrhx7LKxOZlKbwcAWyEOWqYSI8YPtgDQVjpB5nvaHaSnBaQSD6hweDi8PosxD6/PT09YY3xQA7LTCTKfYX+QHpA0GCcqmEHvr/cyfKQTEuwgbs2kPxJEB0iNjfJcCTPyocx+A0griHSmADiC91oNGVwJ69RudYe65vJmoqfpul0lrqXadW0jFKH5BKwAeCq+Den7s+3zfRJzA61/Uj/9H/VzLKTx9jFPPdXeeP+L7WEvDLAKAIoF8bPTKT0+TM7W8ePj3Rz/Yn3kOAp2f1Kf0Weony7pn/cPydvhQYV+eFOfmOu7VB/ViPe34/EN3RFHY/yRuT8ddCtMPH/McBAT5s+vRde/gf2c/sPsjLK+m5IBQF5tO+h2tTlBGnP6693JdsvofjOPnnEHkh2TnV/X1fBl9S5zrwuwF8NFrAVJVwCAPTe8gaJlomqlp0pv4Pjn98tJ/t/fL++6unpR1YGC2n/KCoa0tTLoKiEeUPDl94nj+5/Tv3/eT5vBQ60X1S0oZr+IWRR8Ldhu7AlLjPISlJcO9vrFotky9SpzDequlwEir5beYAc0R7D9KS1DXva0jhYRDXoExPdc6yw5GShkZXe9QdO/uOvHofxjrV/TNS6iMJS+4TcSTgk9n5agJdBQbB//IfF/HpvPt3Tbi7b6I6K0R72p6ajryEJrENW2bbeVUGjfgoals4L443c7BEE4mJO2SpbRngxQrAKRudRzGQ8jVOL2qDVjjI8K1gc3TIJ5KiFZ1q+gdsARPB4NQS4AjwVSt72DSoXNyOWUrU5mQ9nRYyjp89Xo7oRI6Bga9QNT1mQ/ptaJq5T/7WcgAZywR/XlPGAUDdet3LE+qS0TI+g+aJU8MIqjo0Kx8Ly+maxLjJmjQ18rA0YCkxLQbUZP1WqdmyQGJLUm7VnQFqodmXSqmRrdVpqdzk5LvmvgtEcW8PMGdaS23EOWyDVbACZzUJPaqMbjDxpA3Qrgl0AikimGDbqmyT8P8NOYiqrldF8rX+YN7TopX4UoHuSCYY7cgX4gHwclQKl1zhx0THf+tCAUValzjI7Wg9EhptrkIcfIJjA94evOn8B2eHaVzvBrnl2ig0So6hvPaz0IGcOvTHvUIlE2+prqAxLSQxZlU2stql1NqCCLdIiIN/i1DBEHUoElM9dBravbiAnKqgpi4IBkw+utSPIoBijDXJipSVV7MpOEJUAc5Qmm3BnUN+w3hteEieYKfRZSIUcXKMVf0u5wD4EwsUNVvZOtUT7A2GkffHjByWpHqvRBYrTV72a6j8zZ6W0DTE86Hn04bmyWX3Ri9WH7ZU6Q7h+ZHo0nHUAcsQvVhXRDZHChwiyi/hnPuOsSEF6Exk3o6Y9DT1eZ+6cASXk2Y9k+6EOQMDGm6WBK10wOQJCBwren86cPPWUcRAnTVjGcU1LBgs9FURiX/e6479yZcLwCBmTxiawEwrOcleuu12t3tbLv/N4RLYIBhYexm7Fcn4OJcn0+zc+s8/VfPeddZHAGN6TT8eGczHdR/Gts1/MzDkThr23zqrVfAMFT33Nx1RJsx1k5zuWILLnG/vsH+Fv5D4NTVcp1Gzo8AAAAAElFTkSuQmCC&labelColor=white)](https://huggingface.co/spaces/opendatalab/MinerU) + +## Local Deployment + + +> [!WARNING] +> **Pre-installation Notice—Hardware and Software Environment Support** +> +> To ensure the stability and reliability of the project, we only optimize and test for specific hardware and software environments during development. This ensures that users deploying and running the project on recommended system configurations will get the best performance with the fewest compatibility issues. +> +> By focusing resources on the mainline environment, our team can more efficiently resolve potential bugs and develop new features. +> +> In non-mainline environments, due to the diversity of hardware and software configurations, as well as third-party dependency compatibility issues, we cannot guarantee 100% project availability. Therefore, for users who wish to use this project in non-recommended environments, we suggest carefully reading the documentation and FAQ first. Most issues already have corresponding solutions in the FAQ. We also encourage community feedback to help us gradually expand support. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Parsing Backendpipeline*-auto-engine*-http-client
hybridvlmhybridvlm
Backend FeaturesGood CompatibilityHigh Hardware RequirementsFor OpenAI Compatible Servers2
Accuracy182+90+
Operating SystemLinux3 / Windows4 / macOS5
Pure CPU Support✅❌✅
GPU AccelerationVolta and later architecture GPUs or Apple SiliconNot Required
Min VRAM6GB10GB8GB3GB
RAMMin 16GB, Recommended 32GB or moreMin 8GB
Disk SpaceMin 20GB, SSD RecommendedMin 2GB
Python Version3.10-3.13
+ +1 Accuracy metrics are the End-to-End Evaluation Overall scores from OmniDocBench (v1.5), based on the latest version of `MinerU`. +2 Servers compatible with OpenAI API, such as local model servers or remote model services deployed via inference frameworks like `vLLM`/`SGLang`/`LMDeploy`. +3 Linux only supports distributions from 2019 and later. +4 Since the key dependency `ray` does not support Python 3.13 on Windows, only versions 3.10~3.12 are supported. +5 macOS requires version 14.0 or later. + + +### Install MinerU + +#### Install MinerU using pip or uv +```bash +pip install --upgrade pip +pip install uv +uv pip install -U "mineru[all]" +``` + +#### Install MinerU from source code +```bash +git clone https://github.com/opendatalab/MinerU.git +cd MinerU +uv pip install -e .[all] +``` + +> [!TIP] +> `mineru[all]` includes all core features, compatible with Windows / Linux / macOS systems, suitable for most users. +> If you need to specify the inference framework for the VLM model, or only intend to install a lightweight client on an edge device, please refer to the documentation [Extension Modules Installation Guide](https://opendatalab.github.io/MinerU/quick_start/extension_modules/). + +--- + +#### Deploy MinerU using Docker +MinerU provides a convenient Docker deployment method, which helps quickly set up the environment and solve some tricky environment compatibility issues. +You can get the [Docker Deployment Instructions](https://opendatalab.github.io/MinerU/quick_start/docker_deployment/) in the documentation. + +--- + +### Using MinerU + + +If your device meets the GPU acceleration requirements in the table above, you can use a simple command line for document parsing: +```bash +mineru -p -o +``` +If your device does not meet the GPU acceleration requirements, you can specify the backend as `pipeline` to run in a pure CPU environment: +```bash +mineru -p -o -b pipeline +``` + +You can use MinerU for PDF parsing through various methods such as command line, API, and WebUI. For detailed instructions, please refer to the [Usage Guide](https://opendatalab.github.io/MinerU/usage/). + +# TODO + +- [x] Reading order based on the model +- [x] Recognition of `index` and `list` in the main text +- [x] Table recognition +- [x] Heading Classification +- [x] Handwritten Text Recognition +- [x] Vertical Text Recognition +- [x] Latin Accent Mark Recognition +- [x] Code block recognition in the main text +- [x] [Chemical formula recognition](docs/chemical_knowledge_introduction/introduction.pdf)(mineru.net) +- [ ] Geometric shape recognition + +# Known Issues + +- Reading order is determined by the model based on the spatial distribution of readable content, and may be out of order in some areas under extremely complex layouts. +- Limited support for vertical text. +- Tables of contents and lists are recognized through rules, and some uncommon list formats may not be recognized. +- Code blocks are not yet supported in the layout model. +- Comic books, art albums, primary school textbooks, and exercises cannot be parsed well. +- Table recognition may result in row/column recognition errors in complex tables. +- OCR recognition may produce inaccurate characters in PDFs of lesser-known languages (e.g., diacritical marks in Latin script, easily confused characters in Arabic script). +- Some formulas may not render correctly in Markdown. + +# FAQ + +- If you encounter any issues during usage, you can first check the [FAQ](https://opendatalab.github.io/MinerU/faq/) for solutions. +- If your issue remains unresolved, you may also use [DeepWiki](https://deepwiki.com/opendatalab/MinerU) to interact with an AI assistant, which can address most common problems. +- If you still cannot resolve the issue, you are welcome to join our community via [Discord](https://discord.gg/Tdedn9GTXq) or [WeChat](https://mineru.net/community-portal/?aliasId=3c430f94) to discuss with other users and developers. + +# All Thanks To Our Contributors + + + + + +# License Information + +[LICENSE.md](LICENSE.md) + +Currently, some models in this project are trained based on YOLO. However, since YOLO follows the AGPL license, it may impose restrictions on certain use cases. In future iterations, we plan to explore and replace these with models under more permissive licenses to enhance user-friendliness and flexibility. + +# Acknowledgments + +- [PDF-Extract-Kit](https://github.com/opendatalab/PDF-Extract-Kit) +- [DocLayout-YOLO](https://github.com/opendatalab/DocLayout-YOLO) +- [UniMERNet](https://github.com/opendatalab/UniMERNet) +- [RapidTable](https://github.com/RapidAI/RapidTable) +- [TableStructureRec](https://github.com/RapidAI/TableStructureRec) +- [PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR) +- [PaddleOCR2Pytorch](https://github.com/frotms/PaddleOCR2Pytorch) +- [layoutreader](https://github.com/ppaanngggg/layoutreader) +- [xy-cut](https://github.com/Sanster/xy-cut) +- [fast-langdetect](https://github.com/LlmKira/fast-langdetect) +- [pypdfium2](https://github.com/pypdfium2-team/pypdfium2) +- [pdftext](https://github.com/datalab-to/pdftext) +- [pdfminer.six](https://github.com/pdfminer/pdfminer.six) +- [pypdf](https://github.com/py-pdf/pypdf) +- [magika](https://github.com/google/magika) +- [vLLM](https://github.com/vllm-project/vllm) +- [LMDeploy](https://github.com/InternLM/lmdeploy) + +# Citation + +```bibtex +@misc{niu2025mineru25decoupledvisionlanguagemodel, + title={MinerU2.5: A Decoupled Vision-Language Model for Efficient High-Resolution Document Parsing}, + author={Junbo Niu and Zheng Liu and Zhuangcheng Gu and Bin Wang and Linke Ouyang and Zhiyuan Zhao and Tao Chu and Tianyao He and Fan Wu and Qintong Zhang and Zhenjiang Jin and Guang Liang and Rui Zhang and Wenzheng Zhang and Yuan Qu and Zhifei Ren and Yuefeng Sun and Yuanhong Zheng and Dongsheng Ma and Zirui Tang and Boyu Niu and Ziyang Miao and Hejun Dong and Siyi Qian and Junyuan Zhang and Jingzhou Chen and Fangdong Wang and Xiaomeng Zhao and Liqun Wei and Wei Li and Shasha Wang and Ruiliang Xu and Yuanyuan Cao and Lu Chen and Qianqian Wu and Huaiyu Gu and Lindong Lu and Keming Wang and Dechen Lin and Guanlin Shen and Xuanhe Zhou and Linfeng Zhang and Yuhang Zang and Xiaoyi Dong and Jiaqi Wang and Bo Zhang and Lei Bai and Pei Chu and Weijia Li and Jiang Wu and Lijun Wu and Zhenxiang Li and Guangyu Wang and Zhongying Tu and Chao Xu and Kai Chen and Yu Qiao and Bowen Zhou and Dahua Lin and Wentao Zhang and Conghui He}, + year={2025}, + eprint={2509.22186}, + archivePrefix={arXiv}, + primaryClass={cs.CV}, + url={https://arxiv.org/abs/2509.22186}, +} + +@misc{wang2024mineruopensourcesolutionprecise, + title={MinerU: An Open-Source Solution for Precise Document Content Extraction}, + author={Bin Wang and Chao Xu and Xiaomeng Zhao and Linke Ouyang and Fan Wu and Zhiyuan Zhao and Rui Xu and Kaiwen Liu and Yuan Qu and Fukai Shang and Bo Zhang and Liqun Wei and Zhihao Sui and Wei Li and Botian Shi and Yu Qiao and Dahua Lin and Conghui He}, + year={2024}, + eprint={2409.18839}, + archivePrefix={arXiv}, + primaryClass={cs.CV}, + url={https://arxiv.org/abs/2409.18839}, +} + +@article{he2024opendatalab, + title={Opendatalab: Empowering general artificial intelligence with open datasets}, + author={He, Conghui and Li, Wei and Jin, Zhenjiang and Xu, Chao and Wang, Bin and Lin, Dahua}, + journal={arXiv preprint arXiv:2407.13773}, + year={2024} +} +``` + +# Star History + + + + + + Star History Chart + + + + +# Links +- [Easy Data Preparation with latest LLMs-based Operators and Pipelines](https://github.com/OpenDCAI/DataFlow) +- [Vis3 (OSS browser based on s3)](https://github.com/opendatalab/Vis3) +- [LabelU (A Lightweight Multi-modal Data Annotation Tool)](https://github.com/opendatalab/labelU) +- [LabelLLM (An Open-source LLM Dialogue Annotation Platform)](https://github.com/opendatalab/LabelLLM) +- [PDF-Extract-Kit (A Comprehensive Toolkit for High-Quality PDF Content Extraction)](https://github.com/opendatalab/PDF-Extract-Kit) +- [OmniDocBench (A Comprehensive Benchmark for Document Parsing and Evaluation)](https://github.com/opendatalab/OmniDocBench) +- [Magic-HTML (Mixed web page extraction tool)](https://github.com/opendatalab/magic-html) +- [Magic-Doc (Fast speed ppt/pptx/doc/docx/pdf extraction tool)](https://github.com/InternLM/magic-doc) +- [Dingo: A Comprehensive AI Data Quality Evaluation Tool](https://github.com/MigoXLab/dingo) diff --git a/docker/china/Dockerfile b/docker/china/Dockerfile index 06f61a8..2ac5afa 100644 --- a/docker/china/Dockerfile +++ b/docker/china/Dockerfile @@ -1,108 +1,14 @@ -# ========================================== -# 阶段 1:前端构建 (Node.js Builder) -# ========================================== -FROM node:18-alpine AS frontend-builder - -WORKDIR /build -# 利用镜像缓存:先拷贝 package.json -COPY web_ui/package*.json ./ -RUN npm config set registry https://registry.npmmirror.com && \ - npm install - -# 拷贝源码并构建 -COPY web_ui/ . -RUN npm run build - -# ========================================== -# 阶段 2:最终运行环境 (CoreX Runtime) -# ========================================== FROM crpi-vofi3w62lkohhxsp.cn-shanghai.personal.cr.aliyuncs.com/opendatalab-mineru/corex:4.4.0_torch2.7.1_vllm0.11.2_py3.10 - -ENV DEBIAN_FRONTEND=noninteractive -ENV MINERU_MODEL_SOURCE=local - -# 1. 系统级依赖:仅安装运行时必需的字体和工具 -RUN apt-get update && apt-get install -y \ - fonts-noto-core \ - fonts-noto-cjk \ - fontconfig \ - libgl1-mesa-glx \ - && fc-cache -fv \ - && apt-get clean && rm -rf /var/lib/apt/lists/* - -# 2. Python 依赖安装策略: -# 使用 --no-deps 确保不覆盖 CoreX 预装的 torch 2.7.1 和 vllm 0.11.2 -RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \ - python3 -m pip install 'mineru[core]>=2.7.4' --no-deps -i https://mirrors.aliyun.com/pypi/simple && \ - # 手动补齐 MinerU 运行必需但基础镜像可能缺失的轻量依赖(不会破坏 torch) - python3 -m pip install \ - "numpy==1.26.4" \ - "opencv-python==4.11.0.86" \ - "pydantic>=2.12,<3" \ - "modelscope" \ - "magic-pdf" \ - boto3 \ - "pdfminer.six>=20251230" \ - pypdfium2 \ - pypdf \ - reportlab \ - pdftext \ - huggingface-hub \ - json-repair \ - fast-langdetect \ - scikit-image \ - openai \ - beautifulsoup4 \ - magika \ - mineru-vl-utils \ - qwen-vl-utils \ - matplotlib \ - ultralytics \ - doclayout_yolo==0.0.4 \ - dill \ - PyYAML \ - ftfy \ - shapely \ - pyclipper \ - omegaconf \ - onnxruntime \ - python-pptx \ - python-docx \ - openpyxl \ - xlrd \ - xlwt \ - pylatexenc \ - mammoth \ - -i https://mirrors.aliyun.com/pypi/simple && \ - python3 -m pip cache purge - +ENV MINERU_MODEL_SOURCE=local MINERU_MODEL_DIR=/models PYTHONPATH=/app +RUN apt-get update && apt-get install -y --no-install-recommends libgl1 libglib2.0-0 \ + && rm -rf /var/lib/apt/lists/* WORKDIR /app - -# 3. 拷贝项目源码(排除 web_ui 源码以减小体积) -COPY . . - -# ... 前面步骤保持不变 ... - -# 4. 从阶段 1 拷贝前端构建产物 -RUN mkdir -p mineru/cli/static/web -COPY --from=frontend-builder /build/dist/ ./mineru/cli/static/web/ - -# 5. 配置文件优化:必须先于模型下载执行 -RUN mkdir -p /root/.cache/modelscope/hub/models && \ - echo '{ \ - "models-dir": "/root/.cache/modelscope/hub/models", \ - "device-mode": "gpu", \ - "vlm-config": { \ - "kind": "vllm", \ - "precision": "fp16" \ - } \ - }' > /root/magic-pdf.json - -# 6. 模型预下载 -RUN /bin/bash -c "export MINERU_MODEL_SOURCE=local && mineru-models-download -s modelscope -m all" - - - -# 7. 入口点 -ENTRYPOINT ["/bin/bash", "-c", "exec \"$@\"", "--"] -CMD ["python3", "-m", "mineru.cli.main"] +COPY pyproject.toml README.mineru-upstream.md LICENSE.md ./ +COPY mineru ./mineru +COPY scripts/run_parser.py ./scripts/run_parser.py +# Pin vendor binaries before resolving Python dependencies. Conflicts fail the build rather than replacing vendor Torch. +RUN python3 -c "import importlib.metadata as m; from pathlib import Path; Path('/tmp/vendor-constraints.txt').write_text(chr(10).join(n+'=='+m.version(n) for n in ('torch','torchvision','vllm')))" \ + && python3 -m pip install --no-cache-dir -c /tmp/vendor-constraints.txt '.[vlm,pipeline,api]' +COPY docker/entrypoint.mineru-api.sh /entrypoint.sh +ENTRYPOINT ["sh", "/entrypoint.sh"] +CMD ["python3", "scripts/run_parser.py", "--host", "0.0.0.0", "--port", "8000"] diff --git a/docker/china/Dockerfile.corex b/docker/china/Dockerfile.corex index 49249e8..2ac5afa 100644 --- a/docker/china/Dockerfile.corex +++ b/docker/china/Dockerfile.corex @@ -1,65 +1,14 @@ FROM crpi-vofi3w62lkohhxsp.cn-shanghai.personal.cr.aliyuncs.com/opendatalab-mineru/corex:4.4.0_torch2.7.1_vllm0.11.2_py3.10 - -ENV DEBIAN_FRONTEND=noninteractive -ENV MINERU_MODEL_SOURCE=local -ENV MINERU_MODEL_DIR=/models -ENV MINERU_TOOLS_CONFIG_JSON=/root/mineru.json - -RUN apt-get update && apt-get install -y \ - fonts-noto-core \ - fonts-noto-cjk \ - fontconfig \ - libgl1-mesa-glx \ - && fc-cache -fv \ - && apt-get clean && rm -rf /var/lib/apt/lists/* - -RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \ - python3 -m pip install 'mineru[core]>=2.7.4' --no-deps -i https://mirrors.aliyun.com/pypi/simple && \ - python3 -m pip install \ - "numpy==1.26.4" \ - "opencv-python==4.11.0.86" \ - "pydantic>=2.12,<3" \ - "modelscope" \ - "magic-pdf" \ - boto3 \ - "pdfminer.six>=20251230" \ - pypdfium2 \ - pypdf \ - reportlab \ - pdftext \ - huggingface-hub \ - json-repair \ - fast-langdetect \ - scikit-image \ - openai \ - beautifulsoup4 \ - magika \ - mineru-vl-utils \ - qwen-vl-utils \ - matplotlib \ - ultralytics \ - doclayout_yolo==0.0.4 \ - dill \ - PyYAML \ - ftfy \ - shapely \ - pyclipper \ - omegaconf \ - onnxruntime \ - python-pptx \ - python-docx \ - openpyxl \ - xlrd \ - xlwt \ - pylatexenc \ - mammoth \ - -i https://mirrors.aliyun.com/pypi/simple && \ - python3 -m pip cache purge - +ENV MINERU_MODEL_SOURCE=local MINERU_MODEL_DIR=/models PYTHONPATH=/app +RUN apt-get update && apt-get install -y --no-install-recommends libgl1 libglib2.0-0 \ + && rm -rf /var/lib/apt/lists/* WORKDIR /app -COPY . . -COPY docker/entrypoint.mineru-api.sh /usr/local/bin/entrypoint.mineru-api.sh -RUN chmod +x /usr/local/bin/entrypoint.mineru-api.sh - -ENTRYPOINT ["/usr/local/bin/entrypoint.mineru-api.sh"] -CMD ["mineru-api", "--host", "0.0.0.0", "--port", "8000"] +COPY pyproject.toml README.mineru-upstream.md LICENSE.md ./ +COPY mineru ./mineru +COPY scripts/run_parser.py ./scripts/run_parser.py +# Pin vendor binaries before resolving Python dependencies. Conflicts fail the build rather than replacing vendor Torch. +RUN python3 -c "import importlib.metadata as m; from pathlib import Path; Path('/tmp/vendor-constraints.txt').write_text(chr(10).join(n+'=='+m.version(n) for n in ('torch','torchvision','vllm')))" \ + && python3 -m pip install --no-cache-dir -c /tmp/vendor-constraints.txt '.[vlm,pipeline,api]' +COPY docker/entrypoint.mineru-api.sh /entrypoint.sh +ENTRYPOINT ["sh", "/entrypoint.sh"] +CMD ["python3", "scripts/run_parser.py", "--host", "0.0.0.0", "--port", "8000"] diff --git a/docker/compose.yaml b/docker/compose.yaml index 2ff2567..7360490 100644 --- a/docker/compose.yaml +++ b/docker/compose.yaml @@ -1,87 +1,16 @@ services: - mineru-openai-server: - image: mineru:latest - container_name: mineru-openai-server - restart: always - profiles: ["openai-server"] - ports: - - 30000:30000 - environment: - MINERU_MODEL_SOURCE: local - entrypoint: mineru-openai-server - command: - --host 0.0.0.0 - --port 30000 - # --data-parallel-size 2 # If using multiple GPUs, increase throughput using vllm's multi-GPU parallel mode - # --gpu-memory-utilization 0.5 # If running on a single GPU and encountering VRAM shortage, reduce the KV cache size by this parameter, if VRAM issues persist, try lowering it further to `0.4` or below. - ulimits: - memlock: -1 - stack: 67108864 - ipc: host - healthcheck: - test: ["CMD-SHELL", "curl -f http://localhost:30000/health || exit 1"] - deploy: - resources: - reservations: - devices: - - driver: nvidia - device_ids: ["0"] # Modify for multiple GPUs: ["0", "1"] - capabilities: [gpu] - mineru-api: - image: mineru:latest - container_name: mineru-api - restart: always - profiles: ["api"] + image: unis-mineru:2.7.4 + restart: unless-stopped ports: - - 8000:8000 + - "127.0.0.1:${MINERU_PORT:-8100}:8000" environment: MINERU_MODEL_SOURCE: local - entrypoint: mineru-api - command: - --host 0.0.0.0 - --port 8000 - # parameters for vllm-engine - # --data-parallel-size 2 # If using multiple GPUs, increase throughput using vllm's multi-GPU parallel mode - # --gpu-memory-utilization 0.5 # If running on a single GPU and encountering VRAM shortage, reduce the KV cache size by this parameter, if VRAM issues persist, try lowering it further to `0.4` or below. - ulimits: - memlock: -1 - stack: 67108864 - ipc: host - deploy: - resources: - reservations: - devices: - - driver: nvidia - device_ids: ["0"] # Modify for multiple GPUs: ["0", "1"] - capabilities: [gpu] - - mineru-gradio: - image: mineru:latest - container_name: mineru-gradio - restart: always - profiles: ["gradio"] - ports: - - 7860:7860 - environment: - MINERU_MODEL_SOURCE: local - entrypoint: mineru-gradio - command: - --server-name 0.0.0.0 - --server-port 7860 - # --enable-api false # If you want to disable the API, set this to false - # --max-convert-pages 20 # If you want to limit the number of pages for conversion, set this to a specific number - # parameters for vllm-engine - # --data-parallel-size 2 # If using multiple GPUs, increase throughput using vllm's multi-GPU parallel mode - # --gpu-memory-utilization 0.5 # If running on a single GPU and encountering VRAM shortage, reduce the KV cache size by this parameter, if VRAM issues persist, try lowering it further to `0.4` or below. - ulimits: - memlock: -1 - stack: 67108864 - ipc: host - deploy: - resources: - reservations: - devices: - - driver: nvidia - device_ids: ["0"] # Modify for multiple GPUs: ["0", "1"] - capabilities: [gpu] + MINERU_MODEL_DIR: /models + MINERU_GPU_MEMORY_UTILIZATION: ${MINERU_GPU_MEMORY_UTILIZATION:-0.5} + volumes: + - "${MINERU_MODEL_DIR:?Set MINERU_MODEL_DIR}:/models:ro" + - mineru-output:/app/output + command: ["python3", "scripts/run_parser.py", "--host", "0.0.0.0", "--port", "8000"] +volumes: + mineru-output: diff --git a/docker/entrypoint.mineru-api.sh b/docker/entrypoint.mineru-api.sh index 76e05a6..34858a5 100644 --- a/docker/entrypoint.mineru-api.sh +++ b/docker/entrypoint.mineru-api.sh @@ -6,10 +6,11 @@ PIPELINE_MODEL_DIR=${MINERU_PIPELINE_MODEL_DIR:-${MODEL_DIR}/pipeline} VLM_MODEL_DIR=${MINERU_VLM_MODEL_DIR:-${MODEL_DIR}/vlm} CONFIG_PATH=${MINERU_TOOLS_CONFIG_JSON:-/root/mineru.json} -mkdir -p "$PIPELINE_MODEL_DIR" "$VLM_MODEL_DIR" "$(dirname "$CONFIG_PATH")" +mkdir -p "$(dirname "$CONFIG_PATH")" export CONFIG_PATH PIPELINE_MODEL_DIR VLM_MODEL_DIR +if [ ! -f "$CONFIG_PATH" ]; then python3 - <<'PY' import json import os @@ -39,6 +40,7 @@ config = { } config_path.write_text(json.dumps(config, ensure_ascii=False, indent=2), encoding="utf-8") PY +fi export MINERU_TOOLS_CONFIG_JSON="$CONFIG_PATH" export MINERU_MODEL_SOURCE=${MINERU_MODEL_SOURCE:-local} diff --git a/docker/global/Dockerfile b/docker/global/Dockerfile index f2e7b1f..311cb53 100644 --- a/docker/global/Dockerfile +++ b/docker/global/Dockerfile @@ -1,39 +1,14 @@ -# Use the official vllm image for gpu with Ampere、Ada Lovelace、Hopper architecture (8.0 <= Compute Capability <= 9.0) -# Compute Capability version query (https://developer.nvidia.com/cuda-gpus) -# only support x86_64 architecture -FROM vllm/vllm-openai:v0.10.1.1 - -# Use the official vllm image for gpu with Volta、Turing、Blackwell architecture (7.0 < Compute Capability < 8.0 or Compute Capability >= 10.0) -# support x86_64 architecture and ARM(AArch64) architecture -# FROM vllm/vllm-openai:v0.11.0 - -# Install libgl for opencv support & Noto fonts for Chinese characters -RUN apt-get update && \ - apt-get install -y \ - fonts-noto-core \ - fonts-noto-cjk \ - fontconfig \ - libgl1 && \ - fc-cache -fv && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* - -# Install LibreOffice for Word to PDF conversion (minimal installation) -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - libreoffice-writer \ - libreoffice-core \ - fonts-noto-core \ - fonts-noto-cjk && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* - -# Install mineru latest -RUN python3 -m pip install -U 'mineru[core]>=2.7.0' --break-system-packages && \ - python3 -m pip cache purge - -# Download models and update the configuration file -RUN /bin/bash -c "mineru-models-download -s huggingface -m all" - -# Set the entry point to activate the virtual environment and run the command line tool -ENTRYPOINT ["/bin/bash", "-c", "export MINERU_MODEL_SOURCE=local && exec \"$@\"", "--"] \ No newline at end of file +FROM pytorch/pytorch:2.7.1-cuda12.6-cudnn9-runtime +ENV MINERU_MODEL_SOURCE=local MINERU_MODEL_DIR=/models PYTHONPATH=/app +RUN apt-get update && apt-get install -y --no-install-recommends libgl1 libglib2.0-0 \ + && rm -rf /var/lib/apt/lists/* +WORKDIR /app +COPY pyproject.toml README.mineru-upstream.md LICENSE.md ./ +COPY mineru ./mineru +COPY scripts/run_parser.py ./scripts/run_parser.py +# Pin vendor binaries before resolving Python dependencies. Conflicts fail the build rather than replacing vendor Torch. +RUN python3 -c "import importlib.metadata as m; from pathlib import Path; Path('/tmp/vendor-constraints.txt').write_text(chr(10).join(n+'=='+m.version(n) for n in ('torch','torchvision')))" \ + && python3 -m pip install --no-cache-dir -c /tmp/vendor-constraints.txt '.[vlm,pipeline,api]' +COPY docker/entrypoint.mineru-api.sh /entrypoint.sh +ENTRYPOINT ["sh", "/entrypoint.sh"] +CMD ["python3", "scripts/run_parser.py", "--host", "0.0.0.0", "--port", "8000"] diff --git a/docker/global/Dockerfile.cuda b/docker/global/Dockerfile.cuda index de62db7..311cb53 100644 --- a/docker/global/Dockerfile.cuda +++ b/docker/global/Dockerfile.cuda @@ -1,67 +1,14 @@ FROM pytorch/pytorch:2.7.1-cuda12.6-cudnn9-runtime - -ENV DEBIAN_FRONTEND=noninteractive -ENV MINERU_MODEL_SOURCE=local -ENV MINERU_MODEL_DIR=/models -ENV MINERU_TOOLS_CONFIG_JSON=/root/mineru.json - -RUN apt-get update && apt-get install -y \ - fonts-noto-core \ - fonts-noto-cjk \ - fontconfig \ - libgl1 \ - libglib2.0-0 \ - git \ - && fc-cache -fv \ - && apt-get clean && rm -rf /var/lib/apt/lists/* - -RUN ln -sf "$(command -v python)" /usr/local/bin/python3 && \ - python -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \ - python -m pip install \ - 'mineru[core]>=2.7.4' \ - 'vllm==0.11.2' \ - 'pydantic>=2.12,<3' \ - modelscope \ - magic-pdf \ - boto3 \ - 'pdfminer.six>=20251230' \ - pypdfium2 \ - pypdf \ - reportlab \ - pdftext \ - huggingface-hub \ - json-repair \ - fast-langdetect \ - scikit-image \ - openai \ - beautifulsoup4 \ - magika \ - mineru-vl-utils \ - qwen-vl-utils \ - matplotlib \ - ultralytics \ - doclayout_yolo==0.0.4 \ - dill \ - PyYAML \ - ftfy \ - shapely \ - pyclipper \ - omegaconf \ - onnxruntime-gpu \ - python-pptx \ - python-docx \ - openpyxl \ - xlrd \ - xlwt \ - pylatexenc \ - mammoth \ - -i https://mirrors.aliyun.com/pypi/simple && \ - python -m pip cache purge - +ENV MINERU_MODEL_SOURCE=local MINERU_MODEL_DIR=/models PYTHONPATH=/app +RUN apt-get update && apt-get install -y --no-install-recommends libgl1 libglib2.0-0 \ + && rm -rf /var/lib/apt/lists/* WORKDIR /app -COPY . . -COPY docker/entrypoint.mineru-api.sh /usr/local/bin/entrypoint.mineru-api.sh -RUN chmod +x /usr/local/bin/entrypoint.mineru-api.sh - -ENTRYPOINT ["/usr/local/bin/entrypoint.mineru-api.sh"] -CMD ["mineru-api", "--host", "0.0.0.0", "--port", "8000"] +COPY pyproject.toml README.mineru-upstream.md LICENSE.md ./ +COPY mineru ./mineru +COPY scripts/run_parser.py ./scripts/run_parser.py +# Pin vendor binaries before resolving Python dependencies. Conflicts fail the build rather than replacing vendor Torch. +RUN python3 -c "import importlib.metadata as m; from pathlib import Path; Path('/tmp/vendor-constraints.txt').write_text(chr(10).join(n+'=='+m.version(n) for n in ('torch','torchvision')))" \ + && python3 -m pip install --no-cache-dir -c /tmp/vendor-constraints.txt '.[vlm,pipeline,api]' +COPY docker/entrypoint.mineru-api.sh /entrypoint.sh +ENTRYPOINT ["sh", "/entrypoint.sh"] +CMD ["python3", "scripts/run_parser.py", "--host", "0.0.0.0", "--port", "8000"] diff --git a/docs/mineru-migration/2.7.4-baseline.json b/docs/mineru-migration/2.7.4-baseline.json new file mode 100644 index 0000000..067e0b5 --- /dev/null +++ b/docs/mineru-migration/2.7.4-baseline.json @@ -0,0 +1,6 @@ +{ + "baseline": "PyPI mineru==2.7.4", + "url": "https://files.pythonhosted.org/packages/af/e4/60bbe4af8f4f7fa1cef4fd25e6adfb44589172830ab246a673398651f520/mineru-2.7.4-py3-none-any.whl", + "sha256": "e802a59352e4e5ea7782a903c35053581c3539f55a0ebaa95d9afd473bc757bc", + "files": 187 +} \ No newline at end of file diff --git a/docs/mineru-migration/README.md b/docs/mineru-migration/README.md index 4384269..b72d635 100644 --- a/docs/mineru-migration/README.md +++ b/docs/mineru-migration/README.md @@ -1,3 +1,5 @@ +> 状态更新:下文为历史差异盘点,4.0.12 合并方案已被替代。当前固定官方 2.7.4,业务功能迁入 MaxKB,参见仓库 README。 + # MinerU 2.7.1 定制盘点与 4.0.12 合并方案 核验日期:2026-10-22。此次完成源码与发布包对比,尚未替换旧内核、安装新依赖或切换运行服务。 diff --git a/mineru/backend/hybrid/hybrid_magic_model.py b/mineru/backend/hybrid/hybrid_magic_model.py index 2aab61b..fd27edb 100644 --- a/mineru/backend/hybrid/hybrid_magic_model.py +++ b/mineru/backend/hybrid/hybrid_magic_model.py @@ -424,7 +424,8 @@ def __tie_up_category_by_index(blocks, subject_block_type, object_block_type): # 调用通用方法 return tie_up_category_by_index( get_subjects, - get_objects + get_objects, + object_block_type=object_block_type ) diff --git a/mineru/backend/pipeline/model_init.py b/mineru/backend/pipeline/model_init.py index 5ed2b8c..65173e1 100644 --- a/mineru/backend/pipeline/model_init.py +++ b/mineru/backend/pipeline/model_init.py @@ -297,7 +297,14 @@ def ocr_det_batch_setting(device): # 检测torch的版本号 import torch from packaging import version - if version.parse(torch.__version__) >= version.parse("2.8.0") or str(device).startswith('mps'): + + device_type = os.getenv("MINERU_LMDEPLOY_DEVICE", "") + + if ( + version.parse(torch.__version__) >= version.parse("2.8.0") + or str(device).startswith('mps') + or device_type.lower() in ["corex"] + ): enable_ocr_det_batch = False else: enable_ocr_det_batch = True diff --git a/mineru/backend/pipeline/pipeline_analyze.py b/mineru/backend/pipeline/pipeline_analyze.py index 4383eec..4a6fdae 100644 --- a/mineru/backend/pipeline/pipeline_analyze.py +++ b/mineru/backend/pipeline/pipeline_analyze.py @@ -193,7 +193,12 @@ def batch_image_analyze( # 检测torch的版本号 import torch from packaging import version - if version.parse(torch.__version__) >= version.parse("2.8.0") or str(device).startswith('mps'): + device_type = os.getenv("MINERU_LMDEPLOY_DEVICE", "") + if ( + version.parse(torch.__version__) >= version.parse("2.8.0") + or str(device).startswith('mps') + or device_type.lower() in ["corex"] + ): enable_ocr_det_batch = False else: enable_ocr_det_batch = True diff --git a/mineru/backend/vlm/utils.py b/mineru/backend/vlm/utils.py index b6fdee2..24b04b9 100644 --- a/mineru/backend/vlm/utils.py +++ b/mineru/backend/vlm/utils.py @@ -18,6 +18,12 @@ def enable_custom_logits_processors() -> bool: compute_capability = f"{major}.{minor}" elif hasattr(torch, 'npu') and torch.npu.is_available(): compute_capability = "8.0" + elif hasattr(torch, 'gcu') and torch.gcu.is_available(): + compute_capability = "8.0" + elif hasattr(torch, 'musa') and torch.musa.is_available(): + compute_capability = "8.0" + elif hasattr(torch, 'mlu') and torch.mlu.is_available(): + compute_capability = "8.0" else: logger.info("CUDA not available, disabling custom_logits_processors") return False @@ -71,16 +77,6 @@ def set_lmdeploy_backend(device_type: str) -> str: def set_default_gpu_memory_utilization() -> float: - override = os.getenv("MINERU_GPU_MEMORY_UTILIZATION") - if override: - try: - value = float(override) - except ValueError: - raise ValueError("MINERU_GPU_MEMORY_UTILIZATION must be a float between 0 and 1") - if not 0 < value < 1: - raise ValueError("MINERU_GPU_MEMORY_UTILIZATION must be a float between 0 and 1") - return value - from vllm import __version__ as vllm_version device = get_device() gpu_memory = get_vram(device) @@ -106,4 +102,4 @@ def set_default_batch_size() -> int: except Exception as e: logger.warning(f'Error determining VRAM: {e}, using default batch_ratio: 1') batch_size = 1 - return batch_size + return batch_size \ No newline at end of file diff --git a/mineru/backend/vlm/vlm_analyze.py b/mineru/backend/vlm/vlm_analyze.py index 6c0e6d3..58884d3 100644 --- a/mineru/backend/vlm/vlm_analyze.py +++ b/mineru/backend/vlm/vlm_analyze.py @@ -1,6 +1,7 @@ # Copyright (c) Opendatalab. All rights reserved. import os import time +import json from loguru import logger @@ -99,6 +100,37 @@ class ModelSingleton: import vllm except ImportError: raise ImportError("Please install vllm to use the vllm-engine backend.") + + # musa vllm v1 引擎特殊配置 + # device = get_device() + # if device_type.startswith("musa"): + # import torch + # if torch.musa.is_available(): + # compilation_config = { + # "cudagraph_capture_sizes": [1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 18, 20, 24, 28, 30], + # "simple_cuda_graph": True + # } + # block_size = 32 + # kwargs["compilation_config"] = compilation_config + # kwargs["block_size"] = block_size + + # corex vllm v1 引擎特殊配置 + device_type = os.getenv("MINERU_LMDEPLOY_DEVICE", "") + if device_type.lower() == "corex": + compilation_config = { + "cudagraph_mode": "FULL_DECODE_ONLY", + "level": 0 + } + kwargs["compilation_config"] = compilation_config + + if "compilation_config" in kwargs: + if isinstance(kwargs["compilation_config"], str): + try: + kwargs["compilation_config"] = json.loads(kwargs["compilation_config"]) + except json.JSONDecodeError: + logger.warning( + f"Failed to parse compilation_config as JSON: {kwargs['compilation_config']}") + del kwargs["compilation_config"] if "gpu_memory_utilization" not in kwargs: kwargs["gpu_memory_utilization"] = set_default_gpu_memory_utilization() if "model" not in kwargs: @@ -110,11 +142,48 @@ class ModelSingleton: vllm_llm = vllm.LLM(**kwargs) elif backend == "vllm-async-engine": try: - import inspect from vllm.engine.arg_utils import AsyncEngineArgs from vllm.v1.engine.async_llm import AsyncLLM + from vllm.config import CompilationConfig except ImportError: raise ImportError("Please install vllm to use the vllm-async-engine backend.") + + + # musa vllm v1 引擎特殊配置 + # device = get_device() + # if device.startswith("musa"): + # import torch + # if torch.musa.is_available(): + # compilation_config = CompilationConfig( + # cudagraph_capture_sizes=[1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 18, 20, 24, 28, 30], + # simple_cuda_graph=True + # ) + # block_size = 32 + # kwargs["compilation_config"] = compilation_config + # kwargs["block_size"] = block_size + + # corex vllm v1 引擎特殊配置 + device_type = os.getenv("MINERU_LMDEPLOY_DEVICE", "") + if device_type.lower() == "corex": + compilation_config = CompilationConfig( + cudagraph_mode="FULL_DECODE_ONLY", + level=0 + ) + kwargs["compilation_config"] = compilation_config + + if "compilation_config" in kwargs: + if isinstance(kwargs["compilation_config"], dict): + # 如果是字典,转换为 CompilationConfig 对象 + kwargs["compilation_config"] = CompilationConfig(**kwargs["compilation_config"]) + elif isinstance(kwargs["compilation_config"], str): + # 如果是 JSON 字符串,先解析再转换 + try: + config_dict = json.loads(kwargs["compilation_config"]) + kwargs["compilation_config"] = CompilationConfig(**config_dict) + except (json.JSONDecodeError, TypeError) as e: + logger.warning( + f"Failed to parse compilation_config: {kwargs['compilation_config']}, error: {e}") + del kwargs["compilation_config"] if "gpu_memory_utilization" not in kwargs: kwargs["gpu_memory_utilization"] = set_default_gpu_memory_utilization() if "model" not in kwargs: @@ -123,8 +192,6 @@ class ModelSingleton: from mineru_vl_utils import MinerULogitsProcessor kwargs["logits_processors"] = [MinerULogitsProcessor] # 使用kwargs为 vllm初始化参数 - supported_args = set(inspect.signature(AsyncEngineArgs).parameters) - kwargs = {k: v for k, v in kwargs.items() if k in supported_args} vllm_async_llm = AsyncLLM.from_engine_args(AsyncEngineArgs(**kwargs)) elif backend == "lmdeploy-engine": try: diff --git a/mineru/backend/vlm/vlm_magic_model.py b/mineru/backend/vlm/vlm_magic_model.py index a4a17ad..ee96f56 100644 --- a/mineru/backend/vlm/vlm_magic_model.py +++ b/mineru/backend/vlm/vlm_magic_model.py @@ -349,7 +349,8 @@ def __tie_up_category_by_index(blocks, subject_block_type, object_block_type): # 调用通用方法 return tie_up_category_by_index( get_subjects, - get_objects + get_objects, + object_block_type=object_block_type ) diff --git a/mineru/cli/common.py b/mineru/cli/common.py index 381646a..4eae0de 100644 --- a/mineru/cli/common.py +++ b/mineru/cli/common.py @@ -26,7 +26,6 @@ if os.getenv("MINERU_LMDEPLOY_DEVICE", "") == "maca": pdf_suffixes = ["pdf"] image_suffixes = ["png", "jpeg", "jp2", "webp", "gif", "bmp", "jpg", "tiff"] -word_suffixes = ["docx", "doc"] os.environ["TOKENIZERS_PARALLELISM"] = "false" @@ -40,109 +39,6 @@ def read_fn(path): return images_bytes_to_pdf_bytes(file_bytes) elif file_suffix in pdf_suffixes: return file_bytes - elif file_suffix in word_suffixes: - # 处理 Word 文件,转换为 PDF(保持原格式) - from io import BytesIO - import tempfile - import os - - try: - # 方法 1: 使用 LibreOffice 进行高质量转换(推荐) - # 创建临时文件 - with tempfile.NamedTemporaryFile(suffix=f'.{file_suffix}', delete=False) as temp_word: - temp_word.write(file_bytes) - temp_word_path = temp_word.name - - pdf_fd, pdf_path = tempfile.mkstemp(suffix='.pdf') - os.close(pdf_fd) - - try: - # 使用 LibreOffice 进行转换(保持原格式,包括图片、表格等) - import subprocess - result = subprocess.run( - [ - 'libreoffice', '--headless', '--convert-to', 'pdf', - '--outdir', os.path.dirname(pdf_path), - temp_word_path - ], - capture_output=True, - timeout=120 - ) - - if result.returncode == 0: - # LibreOffice 会在同目录下生成 PDF - base_name = os.path.basename(temp_word_path).rsplit('.', 1)[0] - generated_pdf = os.path.join(os.path.dirname(temp_word_path), f"{base_name}.pdf") - - if os.path.exists(generated_pdf): - with open(generated_pdf, 'rb') as f: - pdf_bytes_result = f.read() - os.remove(generated_pdf) - os.remove(temp_word_path) - return pdf_bytes_result - - logger.warning(f"LibreOffice conversion failed: {result.stderr}") - - except (subprocess.TimeoutExpired, FileNotFoundError) as libreoffice_error: - logger.warning(f"LibreOffice not available or failed: {libreoffice_error}") - - finally: - # 清理临时文件 - if os.path.exists(temp_word_path): - os.remove(temp_word_path) - if os.path.exists(pdf_path): - os.remove(pdf_path) - - # 方法 2: 如果 LibreOffice 不可用,使用 python-docx + reportlab 作为备选 - if file_suffix == "docx": - from docx import Document - from reportlab.lib.pagesizes import letter - from reportlab.pdfgen import canvas - - # 读取 Word 文件 - doc = Document(BytesIO(file_bytes)) - - # 创建 PDF(简单文本转换,不保留复杂格式) - output = BytesIO() - c = canvas.Canvas(output, pagesize=letter) - width, height = letter - - y = height - 50 - for para in doc.paragraphs: - text = para.text - if text: - # 处理长文本自动换行 - max_width = width - 100 - words = text.split(' ') - line = '' - for word in words: - test_line = f"{line} {word}".strip() - if c.stringWidth(test_line, 'Helvetica', 12) < max_width: - line = test_line - else: - if y < 50: - c.showPage() - y = height - 50 - c.drawString(50, y, line) - y -= 15 - line = word - - # 写入最后一行 - if y < 50: - c.showPage() - y = height - 50 - c.drawString(50, y, line) - y -= 15 - - c.save() - output.seek(0) - return output.read() - - raise Exception("Word to PDF conversion failed with all methods") - - except Exception as e: - logger.exception(f"Error converting Word file to PDF: {e}") - raise Exception(f"Failed to convert Word file to PDF: {str(e)}. Please install LibreOffice for better conversion: sudo apt-get install libreoffice") else: raise Exception(f"Unknown file suffix: {file_suffix}") @@ -341,7 +237,6 @@ async def _async_process_vlm( f_dump_content_list, f_make_md_mode, server_url=None, - progress_callback=None, **kwargs, ): """异步处理VLM后端逻辑""" @@ -350,23 +245,14 @@ async def _async_process_vlm( if not backend.endswith("client"): server_url = None - total_files = len(pdf_bytes_list) for idx, pdf_bytes in enumerate(pdf_bytes_list): pdf_file_name = pdf_file_names[idx] local_image_dir, local_md_dir = prepare_env(output_dir, pdf_file_name, parse_method) image_writer, md_writer = FileBasedDataWriter(local_image_dir), FileBasedDataWriter(local_md_dir) - - # 更新进度 - if progress_callback: - progress_callback((idx / total_files) * 50, f"处理文件 {idx+1}/{total_files}") middle_json, infer_result = await aio_vlm_doc_analyze( pdf_bytes, image_writer=image_writer, backend=backend, server_url=server_url, **kwargs, ) - - # 更新进度 - if progress_callback: - progress_callback(((idx + 1) / total_files) * 100, f"完成文件 {idx+1}/{total_files}") pdf_info = middle_json["pdf_info"] @@ -489,7 +375,6 @@ async def _async_process_hybrid( f_dump_content_list, f_make_md_mode, server_url=None, - progress_callback=None, **kwargs, ): from mineru.backend.hybrid.hybrid_analyze import aio_doc_analyze as aio_hybrid_doc_analyze @@ -497,15 +382,10 @@ async def _async_process_hybrid( if not backend.endswith("client"): server_url = None - total_files = len(pdf_bytes_list) for idx, (pdf_bytes, lang) in enumerate(zip(pdf_bytes_list, h_lang_list)): pdf_file_name = pdf_file_names[idx] local_image_dir, local_md_dir = prepare_env(output_dir, pdf_file_name, f"hybrid_{parse_method}") image_writer, md_writer = FileBasedDataWriter(local_image_dir), FileBasedDataWriter(local_md_dir) - - # 更新进度 - if progress_callback: - progress_callback((idx / total_files) * 50, f"处理文件 {idx+1}/{total_files}") middle_json, infer_result, _vlm_ocr_enable = await aio_hybrid_doc_analyze( pdf_bytes, @@ -517,10 +397,6 @@ async def _async_process_hybrid( server_url=server_url, **kwargs, ) - - # 更新进度 - if progress_callback: - progress_callback(((idx + 1) / total_files) * 100, f"完成文件 {idx+1}/{total_files}") pdf_info = middle_json["pdf_info"] @@ -627,7 +503,6 @@ async def aio_do_parse( f_make_md_mode=MakeMode.MM_MD, start_page_id=0, end_page_id=None, - progress_callback=None, **kwargs, ): # 预处理PDF字节数据 @@ -654,12 +529,11 @@ async def aio_do_parse( os.environ['MINERU_VLM_FORMULA_ENABLE'] = str(formula_enable) os.environ['MINERU_VLM_TABLE_ENABLE'] = str(table_enable) - # 传递进度回调 await _async_process_vlm( output_dir, pdf_file_names, pdf_bytes_list, backend, f_draw_layout_bbox, f_draw_span_bbox, f_dump_md, f_dump_middle_json, f_dump_model_output, f_dump_orig_pdf, f_dump_content_list, f_make_md_mode, - server_url, progress_callback=progress_callback, **kwargs, + server_url, **kwargs, ) elif backend.startswith("hybrid-"): backend = backend[7:] @@ -673,12 +547,11 @@ async def aio_do_parse( os.environ['MINERU_VLM_TABLE_ENABLE'] = str(table_enable) os.environ['MINERU_VLM_FORMULA_ENABLE'] = "true" - # 传递进度回调 await _async_process_hybrid( output_dir, pdf_file_names, pdf_bytes_list, p_lang_list, parse_method, formula_enable, backend, f_draw_layout_bbox, f_draw_span_bbox, f_dump_md, f_dump_middle_json, f_dump_model_output, f_dump_orig_pdf, f_dump_content_list, f_make_md_mode, - server_url, progress_callback=progress_callback, **kwargs, + server_url, **kwargs, ) diff --git a/mineru/cli/fast_api.py b/mineru/cli/fast_api.py index 4c333a8..aacbda1 100644 --- a/mineru/cli/fast_api.py +++ b/mineru/cli/fast_api.py @@ -4,323 +4,41 @@ import os import re import tempfile import asyncio -import threading -import hashlib -import json import uvicorn import click import zipfile -import urllib.request -import urllib.error +import shutil from pathlib import Path import glob - -os.environ.setdefault("PYTORCH_CUDA_ALLOC_CONF", "expandable_segments:True") - -from fastapi import Depends, FastAPI, HTTPException, UploadFile, File, Form, APIRouter, Header -from pydantic import BaseModel +from fastapi import Depends, FastAPI, HTTPException, UploadFile, File, Form, BackgroundTasks from fastapi.middleware.gzip import GZipMiddleware -from fastapi.middleware.cors import CORSMiddleware from fastapi.responses import JSONResponse, FileResponse -from fastapi.staticfiles import StaticFiles -from starlette.background import BackgroundTask from typing import List, Optional from loguru import logger + +log_level = os.getenv("MINERU_LOG_LEVEL", "INFO").upper() +logger.remove() # 移除默认handler +logger.add(sys.stderr, level=log_level) # 添加新handler + from base64 import b64encode -# MinerU 内部导入 -from mineru.cli.common import aio_do_parse, read_fn, pdf_suffixes, image_suffixes, word_suffixes +from mineru.cli.common import aio_do_parse, read_fn, pdf_suffixes, image_suffixes from mineru.utils.cli_parser import arg_parse -from mineru.utils.config_reader import get_device from mineru.utils.guess_suffix_or_lang import guess_suffix_by_path -from mineru.utils.model_utils import clean_memory from mineru.version import __version__ -# --- 日志配置 --- -log_level = os.getenv("MINERU_LOG_LEVEL", "INFO").upper() -logger.remove() -logger.add(sys.stderr, level=log_level) - -# --- 全局变量与辅助类 --- +# 并发控制器 _request_semaphore: Optional[asyncio.Semaphore] = None -# --- 任务进度跟踪 --- -_task_progress: dict = {} -_task_progress_dir = Path( - os.getenv("MINERU_TASK_PROGRESS_DIR", Path(tempfile.gettempdir()) / "mineru-task-progress") -) - - -def _task_progress_path(task_id: str) -> Path: - task_key = hashlib.sha256(task_id.encode("utf-8")).hexdigest() - return _task_progress_dir / f"{task_key}.json" - - -def _store_task_progress(task_id: str, state: dict) -> None: - """Store progress in memory and on disk so API worker processes share it.""" - state = dict(state) - state["task_id"] = task_id - _task_progress[task_id] = state - - try: - _task_progress_dir.mkdir(parents=True, exist_ok=True) - progress_path = _task_progress_path(task_id) - temp_path = progress_path.with_name( - f"{progress_path.name}.{os.getpid()}.{threading.get_ident()}.tmp" - ) - with open(temp_path, "w", encoding="utf-8") as fp: - json.dump(state, fp, ensure_ascii=False) - os.replace(temp_path, progress_path) - except Exception as exc: - logger.warning(f"Failed to persist task progress for {task_id}: {exc}") - - -def _get_task_progress(task_id: str) -> Optional[dict]: - try: - with open(_task_progress_path(task_id), "r", encoding="utf-8") as fp: - state = json.load(fp) - _task_progress[task_id] = state - return state - except (FileNotFoundError, json.JSONDecodeError, OSError): - return _task_progress.get(task_id) - - -def _update_task_progress(task_id: Optional[str], progress: int, stage: str): - """更新任务进度(安全调用,task_id 为 None 时静默跳过)""" - if not task_id: - return - state = _get_task_progress(task_id) - if state is not None: - current = int(state.get("progress", 0) or 0) - state["progress"] = min(max(progress, current), 100) - state["stage"] = stage - _store_task_progress(task_id, state) - - -def _cleanup_runtime_memory(): - """Release transient accelerator caches after each API parse request.""" - try: - clean_memory(get_device()) - except Exception as exc: - logger.warning(f"Failed to clean runtime memory: {exc}") - - -def _format_parse_error(exc: Exception) -> str: - message = str(exc) - if "CUDA out of memory" in message or exc.__class__.__name__ in ("OutOfMemoryError", "RuntimeError"): - if "out of memory" in message.lower(): - return "GPU显存不足,已尝试清理缓存。请减少最大页数、关闭公式/表格识别,或稍后重试。" - return f"Internal Error: {message}" - - -class ProgressTracker: - def __init__(self): - self.progress = 0 - self.status = "初始化" - - def update(self, progress: float, status: str): - self.progress = progress - self.status = status - - def get_progress(self): - return {"progress": self.progress, "status": self.status} - - -# --- 当前活跃任务ID(用于日志捕获) --- -_current_task_id: Optional[str] = None - - -def _log_progress_sink(message): - """loguru 日志捕获:根据日志内容自动更新进度""" - task_id = _current_task_id - if not task_id or task_id not in _task_progress: - return - try: - msg = str(message) - except Exception: - return - # VLM 引擎加载阶段 (5% ~ 40%) - if "Automatically detected platform" in msg: - _update_task_progress(task_id, 7, "检测计算平台") - elif "Resolved architecture" in msg: - _update_task_progress(task_id, 10, "解析模型架构") - elif "Starting to load model" in msg: - _update_task_progress(task_id, 12, "开始加载模型权重") - elif "Loading weights took" in msg: - _update_task_progress(task_id, 18, "模型权重加载完成") - elif "Model loading took" in msg: - _update_task_progress(task_id, 22, "模型加载完成,初始化引擎") - elif "Dynamo bytecode transform" in msg: - _update_task_progress(task_id, 27, "编译优化计算图") - elif "torch.compile takes" in msg: - _update_task_progress(task_id, 30, "计算图编译完成") - elif "Available KV cache memory" in msg: - _update_task_progress(task_id, 32, "分配显存缓存") - elif "Graph capturing finished" in msg: - _update_task_progress(task_id, 36, "CUDA图捕获完成") - elif "init engine" in msg and "took" in msg: - _update_task_progress(task_id, 38, "VLM引擎初始化完成") - elif "get vllm" in msg and "predictor cost" in msg: - _update_task_progress(task_id, 40, "VLM预测器就绪") - elif "hybrid batch ratio" in msg: - _update_task_progress(task_id, 42, "开始文档分析") - # VLM 推理阶段 (40% ~ 65%) 由 progress_callback 处理 - # Pipeline 模型加载和推理阶段 (65% ~ 97%) - elif "Target directory already exists" in msg: - cur = _task_progress.get(task_id, {}).get("progress", 0) - if cur < 75: - _update_task_progress(task_id, max(cur, 66), "加载Pipeline模型") - elif "MFD Predict:" in msg: - _update_task_progress(task_id, 78, "数学公式检测") - elif "MFR Predict:" in msg: - _update_task_progress(task_id, 85, "数学公式识别") - elif "OCR-det:" in msg: - _update_task_progress(task_id, 90, "文字区域检测") - elif "OCR-rec Predict:" in msg: - _update_task_progress(task_id, 95, "文字识别") - elif "local output dir is" in msg: - _update_task_progress(task_id, 97, "保存输出结果") - - -class _StderrProgressCapture: - """后台线程捕获 stderr 中的 tqdm 进度条输出,解析并更新任务进度""" - - # tqdm 进度条模式:名称: 百分比|...| 当前/总数 - _PATTERNS = [ - (re.compile(r'Layout Preparation:\s*(\d+)%.*?(\d+)/(\d+)'), 'layout_prepare'), - (re.compile(r'Layout Output Parsing:\s*(\d+)%.*?(\d+)/(\d+)'), 'layout_parse'), - (re.compile(r'Extract Preparation:\s*(\d+)%.*?(\d+)/(\d+)'), 'extract_prepare'), - (re.compile(r'Post Processing:\s*(\d+)%.*?(\d+)/(\d+)'), 'post_process'), - (re.compile(r'Two Step Extraction:\s*(\d+)%.*?(\d+)/(\d+)'), 'vlm_predict'), - (re.compile(r'MFD Predict:\s*(\d+)%.*?(\d+)/(\d+)'), 'mfd'), - (re.compile(r'MFR Predict:\s*(\d+)%.*?(\d+)/(\d+)'), 'mfr'), - (re.compile(r'OCR-det:\s*(\d+)%.*?(\d+)/(\d+)'), 'ocr_det'), - (re.compile(r'OCR-rec Predict:\s*(\d+)%.*?(\d+)/(\d+)'), 'ocr_rec'), - (re.compile(r'Loading safetensors.*?:\s*(\d+)%'), 'load_model'), - (re.compile(r'Capturing CUDA graphs.*?:\s*(\d+)%'), 'cuda_graph'), - ] - _GENERIC_PREDICT_PATTERN = re.compile(r'^Predict:\s*(\d+)%.*?(\d+)/(\d+)') - - # 各阶段的进度映射范围 [start%, end%] - _RANGES = { - 'load_model': (12, 18), - 'cuda_graph': (33, 37), - 'layout_prepare': (42, 45), - 'layout_predict': (45, 68), - 'layout_parse': (68, 70), - 'extract_prepare': (70, 72), - 'extract_predict': (72, 88), - 'vlm_predict': (45, 88), - 'post_process': (88, 90), - 'mfd': (90, 92), - 'mfr': (92, 94), - 'ocr_det': (94, 96), - 'ocr_rec': (96, 97), - } - - _STAGE_LABELS = { - 'load_model': '加载模型权重', - 'cuda_graph': '捕获CUDA计算图', - 'layout_prepare': '准备版面分析', - 'layout_predict': '版面分析', - 'layout_parse': '解析版面结果', - 'extract_prepare': '准备内容抽取', - 'extract_predict': '内容抽取', - 'vlm_predict': 'VLM文档分析', - 'post_process': '后处理', - 'mfd': '数学公式检测', - 'mfr': '数学公式识别', - 'ocr_det': '文字区域检测', - 'ocr_rec': '文字识别', - } - - def __init__(self, task_id: str): - self.task_id = task_id - self._active = False - self._orig_stderr = None - self._buf = "" - self._last_anchor = "" - - def start(self): - self._active = True - self._orig_stderr = sys.stderr - sys.stderr = self - - def stop(self): - self._active = False - if self._buf.strip(): - self._parse_line(self._buf.strip()) - self._buf = "" - if self._orig_stderr is not None and sys.stderr is self: - sys.stderr = self._orig_stderr - - def write(self, text): - if self._orig_stderr is not None: - self._orig_stderr.write(text) - if not self._active: - return len(text) - for ch in text: - self._buf += ch - # tqdm 用 \r 更新同一行,\n 表示新行 - if ch == '\r' or ch == '\n': - if self._buf.strip(): - self._parse_line(self._buf.strip()) - self._buf = "" - return len(text) - - def flush(self): - if self._orig_stderr is not None: - self._orig_stderr.flush() - - def isatty(self): - return bool(self._orig_stderr and self._orig_stderr.isatty()) - - def fileno(self): - if self._orig_stderr is not None: - return self._orig_stderr.fileno() - raise OSError("stderr is not available") - - def __getattr__(self, name): - if self._orig_stderr is not None: - return getattr(self._orig_stderr, name) - raise AttributeError(name) - - def _parse_line(self, line: str): - if "Layout Preparation:" in line: - self._last_anchor = "layout" - elif "Extract Preparation:" in line: - self._last_anchor = "extract" - - generic_predict = self._GENERIC_PREDICT_PATTERN.search(line) - if generic_predict: - stage = "extract_predict" if self._last_anchor == "extract" else "layout_predict" - self._update_from_match(generic_predict, stage) - return - - for pattern, stage in self._PATTERNS: - m = pattern.search(line) - if m: - self._update_from_match(m, stage) - break - - def _update_from_match(self, match, stage: str): - pct = int(match.group(1)) - lo, hi = self._RANGES.get(stage, (0, 100)) - mapped = lo + int((hi - lo) * pct / 100) - label = self._STAGE_LABELS.get(stage, stage) - if len(match.groups()) >= 3: - cur, total = match.group(2), match.group(3) - unit = "页" if stage in ("layout_predict", "vlm_predict") else "" - label = f"{label} ({cur}/{total}{unit})" - _update_task_progress(self.task_id, mapped, label) - +# 并发控制依赖函数 async def limit_concurrency(): if _request_semaphore is not None: - if _request_semaphore.locked(): + # 检查信号量是否已用尽,如果是则拒绝请求 + if _request_semaphore._value == 0: raise HTTPException( status_code=503, - detail=f"Server is at maximum capacity: {os.getenv('MINERU_API_MAX_CONCURRENT_REQUESTS', '0')}." + detail=f"Server is at maximum capacity: {os.getenv('MINERU_API_MAX_CONCURRENT_REQUESTS', 'unset')}. Please try again later.", ) async with _request_semaphore: yield @@ -328,28 +46,75 @@ async def limit_concurrency(): yield +def create_app(): + # By default, the OpenAPI documentation endpoints (openapi_url, docs_url, redoc_url) are enabled. + # To disable the FastAPI docs and schema endpoints, set the environment variable MINERU_API_ENABLE_FASTAPI_DOCS=0. + enable_docs = str(os.getenv("MINERU_API_ENABLE_FASTAPI_DOCS", "1")).lower() in ( + "1", + "true", + "yes", + ) + app = FastAPI( + openapi_url="/openapi.json" if enable_docs else None, + docs_url="/docs" if enable_docs else None, + redoc_url="/redoc" if enable_docs else None, + ) + + # 初始化并发控制器:从环境变量MINERU_API_MAX_CONCURRENT_REQUESTS读取 + global _request_semaphore + try: + max_concurrent_requests = int( + os.getenv("MINERU_API_MAX_CONCURRENT_REQUESTS", "0") + ) + except ValueError: + max_concurrent_requests = 0 + + if max_concurrent_requests > 0: + _request_semaphore = asyncio.Semaphore(max_concurrent_requests) + logger.info(f"Request concurrency limited to {max_concurrent_requests}") + + app.add_middleware(GZipMiddleware, minimum_size=1000) + return app + + +app = create_app() + + def sanitize_filename(filename: str) -> str: - sanitized = re.sub(r'[/\\\.]{2,}|[/\\]', '', filename) - sanitized = re.sub(r'[^\w.-]', '_', sanitized, flags=re.UNICODE) - if sanitized.startswith('.'): - sanitized = '_' + sanitized[1:] - return sanitized or 'unnamed' + """ + 格式化压缩文件的文件名 + 移除路径遍历字符, 保留 Unicode 字母、数字、._- + 禁止隐藏文件 + """ + sanitized = re.sub(r"[/\\.]{2,}|[/\\]", "", filename) + sanitized = re.sub(r"[^\w.-]", "_", sanitized, flags=re.UNICODE) + if sanitized.startswith("."): + sanitized = "_" + sanitized[1:] + return sanitized or "unnamed" def cleanup_file(file_path: str) -> None: + """清理临时文件或目录""" try: if os.path.exists(file_path): - os.remove(file_path) + if os.path.isfile(file_path): + os.remove(file_path) + elif os.path.isdir(file_path): + shutil.rmtree(file_path) except Exception as e: logger.warning(f"fail clean file {file_path}: {e}") def encode_image(image_path: str) -> str: + """Encode image using base64""" with open(image_path, "rb") as f: return b64encode(f.read()).decode() -def get_infer_result(file_suffix_identifier: str, pdf_name: str, parse_dir: str) -> Optional[str]: +def get_infer_result( + file_suffix_identifier: str, pdf_name: str, parse_dir: str +) -> Optional[str]: + """从结果文件中读取推理结果""" result_file_path = os.path.join(parse_dir, f"{pdf_name}{file_suffix_identifier}") if os.path.exists(result_file_path): with open(result_file_path, "r", encoding="utf-8") as fp: @@ -357,671 +122,327 @@ def get_infer_result(file_suffix_identifier: str, pdf_name: str, parse_dir: str) return None -# --- 创建 API 路由组 --- -api_router = APIRouter(prefix="/api") - - -class MindmapLlmConfig(BaseModel): - base_url: Optional[str] = None - api_key: Optional[str] = None - model: Optional[str] = None - timeout: Optional[int] = None - temperature: Optional[float] = None - max_context_tokens: Optional[int] = None - max_output_tokens: Optional[int] = None - safety_tokens: Optional[int] = None - - -class MindmapOrganizeRequest(BaseModel): - markdown: str - mode: str = "smart" - prompt: Optional[str] = None - llm_config: Optional[MindmapLlmConfig] = None - - -def _extract_json_object(text: Optional[str]) -> str: - content = (text or "").strip() - if content.startswith("```"): - content = re.sub(r"^```(?:json|markdown|md)?\s*", "", content, flags=re.IGNORECASE) - content = re.sub(r"\s*```$", "", content) - return content.strip() - - -def _extract_llm_message_content(message: dict) -> str: - content = message.get("content") - if isinstance(content, str): - return content - if isinstance(content, list): - parts = [] - for item in content: - if isinstance(item, str): - parts.append(item) - elif isinstance(item, dict): - text = item.get("text") or item.get("content") - if isinstance(text, str): - parts.append(text) - if parts: - return "\n".join(parts) - - for key in ("reasoning_content", "reasoning", "output_text", "text"): - value = message.get(key) - if isinstance(value, str) and value.strip(): - return value - return "" - - -DEFAULT_MINDMAP_ORGANIZE_PROMPT = """你是文档结构整理助手。请基于用户提供的 Markdown 生成适合思维导图展示的 Markdown。 - -要求: -1. 保留原文标题结构,不要重写或打乱主要标题层级。 -2. 将标题下的段落内容总结为要点,合并相近段落,避免逐段照抄。 -3. 保留原文语言:英文内容输出英文,中文内容输出中文,多语言内容按原文语言分别保留。 -4. 不要编造原文没有的信息。 -5. 保留关键数字、公式、专有名词、步骤和结论。 -6. 最大层级不超过 4 层。 -7. 每个父节点下最多 8 个子节点。 -8. 节点标题尽量简短,正文说明使用短句列表。 -9. 只输出 Markdown,不要输出解释、代码块围栏或额外说明。""" - -MINDMAP_MERGE_PROMPT = """你是 Markdown 思维导图结构校对助手。下面是多个分块已经整理总结后的局部 Markdown 大纲。 - -任务: -1. 合并这些局部大纲为一份完整 Markdown。 -2. 只检查和调整标题层级结构、顺序、重复标题和父子关系。 -3. 不要重新总结正文,不要扩写内容,不要新增原文没有的信息。 -4. 保留各局部大纲中的源语言:英文保持英文,中文保持中文,多语言分别保留。 -5. 最大层级不超过 4 层。 -6. 每个父节点下最多 8 个子节点,必要时只合并相近标题。 -7. 只输出 Markdown,不要输出解释、代码块围栏或额外说明。""" - - -def _estimate_tokens(text: str) -> int: - ascii_chars = 0 - non_ascii_chars = 0 - for ch in text: - if ch.isspace(): - continue - if ord(ch) < 128: - ascii_chars += 1 - else: - non_ascii_chars += 1 - return max(1, int(ascii_chars / 4) + int(non_ascii_chars * 1.5)) - - -def _optional_str(value: Optional[str], env_name: str, default: str = "") -> str: - configured = (value or "").strip() - return configured or os.getenv(env_name, default) - - -def _optional_int(value: Optional[int], env_name: str, default: int) -> int: - return int(value if value is not None else os.getenv(env_name, str(default))) - - -def _optional_float(value: Optional[float], env_name: str, default: float) -> float: - return float(value if value is not None else os.getenv(env_name, str(default))) - - -def _get_mindmap_max_output_tokens(llm_config: Optional[MindmapLlmConfig] = None) -> int: - value = llm_config.max_output_tokens if llm_config else None - return _optional_int(value, "MINDMAP_LLM_MAX_OUTPUT_TOKENS", 4096) - - -def _get_mindmap_context_budget( - prompt: str, - reserve_output_tokens: Optional[int] = None, - llm_config: Optional[MindmapLlmConfig] = None -) -> tuple[int, int]: - if reserve_output_tokens is None: - reserve_output_tokens = _get_mindmap_max_output_tokens(llm_config) - max_context_tokens = _optional_int(llm_config.max_context_tokens if llm_config else None, "MINDMAP_LLM_MAX_CONTEXT_TOKENS", 32768) - prompt_tokens = _estimate_tokens(prompt) - safety_tokens = _optional_int(llm_config.safety_tokens if llm_config else None, "MINDMAP_LLM_SAFETY_TOKENS", 1024) - input_budget_tokens = max(2048, max_context_tokens - prompt_tokens - reserve_output_tokens - safety_tokens) - logger.info( - "Mindmap context budget max_context_tokens={} prompt_tokens={} reserve_output_tokens={} safety_tokens={} input_budget_tokens={}", - max_context_tokens, prompt_tokens, reserve_output_tokens, safety_tokens, input_budget_tokens - ) - return max_context_tokens, input_budget_tokens - - -def _split_markdown_blocks(markdown: str) -> list[str]: - lines = markdown.splitlines() - blocks: list[str] = [] - current: list[str] = [] - - heading_pattern = re.compile(r"^#{1,6}\s+") - for line in lines: - if heading_pattern.match(line) and current: - blocks.append("\n".join(current).strip()) - current = [line] - else: - current.append(line) - - if current: - blocks.append("\n".join(current).strip()) - - return [block for block in blocks if block] - - -def _split_large_block(block: str, max_tokens: int) -> list[str]: - paragraphs = re.split(r"\n{2,}", block) - chunks: list[str] = [] - current: list[str] = [] - current_tokens = 0 - - for paragraph in paragraphs: - paragraph = paragraph.strip() - if not paragraph: - continue - paragraph_tokens = _estimate_tokens(paragraph) - if current and current_tokens + paragraph_tokens > max_tokens: - chunks.append("\n\n".join(current)) - current = [paragraph] - current_tokens = paragraph_tokens - else: - current.append(paragraph) - current_tokens += paragraph_tokens - - if current: - chunks.append("\n\n".join(current)) - return chunks or [block] - - -def _chunk_markdown_by_headings(markdown: str, max_tokens: int) -> list[str]: - blocks = _split_markdown_blocks(markdown) - chunks: list[str] = [] - current: list[str] = [] - current_tokens = 0 - - for block in blocks: - block_tokens = _estimate_tokens(block) - if block_tokens > max_tokens: - if current: - chunks.append("\n\n".join(current)) - current = [] - current_tokens = 0 - chunks.extend(_split_large_block(block, max_tokens)) - continue - - if current and current_tokens + block_tokens > max_tokens: - chunks.append("\n\n".join(current)) - current = [block] - current_tokens = block_tokens - else: - current.append(block) - current_tokens += block_tokens - - if current: - chunks.append("\n\n".join(current)) - - return chunks or [markdown] - - -def _call_mindmap_llm( - markdown: str, - mode: str = "smart", - custom_prompt: Optional[str] = None, - task_id: Optional[str] = None, - request_role: str = "organize", - llm_config: Optional[MindmapLlmConfig] = None -) -> str: - base_url = _optional_str(llm_config.base_url if llm_config else None, "MINDMAP_LLM_BASE_URL").rstrip("/") - model = _optional_str(llm_config.model if llm_config else None, "MINDMAP_LLM_MODEL", "gemma-4-26B") - api_key = _optional_str(llm_config.api_key if llm_config else None, "MINDMAP_LLM_API_KEY") - timeout = _optional_int(llm_config.timeout if llm_config else None, "MINDMAP_LLM_TIMEOUT", 180) - max_output_tokens = _get_mindmap_max_output_tokens(llm_config) - temperature = _optional_float(llm_config.temperature if llm_config else None, "MINDMAP_LLM_TEMPERATURE", 0.2) - - if not base_url: - raise RuntimeError("未配置智能整理模型服务,请设置 MINDMAP_LLM_BASE_URL") - - compact_markdown = markdown.strip() - prompt_template = (custom_prompt or "").strip() or DEFAULT_MINDMAP_ORGANIZE_PROMPT - prompt = f"""{prompt_template} - -原始 Markdown: -{compact_markdown} -""" - logger.info( - "Mindmap LLM request start task_id={} role={} model={} base_url={} mode={} input_chars={} input_tokens_est={} prompt_chars={} max_tokens={} timeout={} temperature={} api_key_configured={}", - task_id or "-", request_role, model, base_url, mode, len(compact_markdown), _estimate_tokens(compact_markdown), - len(prompt_template), max_output_tokens, timeout, temperature, bool(api_key) - ) - - payload = { - "model": model, - "messages": [ - {"role": "system", "content": "你擅长把长文档整理成结构清晰、层次合理的思维导图 Markdown,并严格保留原文语言。"}, - {"role": "user", "content": prompt}, - ], - "temperature": temperature, - "max_tokens": max_output_tokens, - } - data = json.dumps(payload, ensure_ascii=False).encode("utf-8") - headers = {"Content-Type": "application/json"} - if api_key: - headers["Authorization"] = f"Bearer {api_key}" - - url = f"{base_url}/chat/completions" - req = urllib.request.Request(url, data=data, headers=headers, method="POST") - try: - with urllib.request.urlopen(req, timeout=timeout) as resp: - result = json.loads(resp.read().decode("utf-8")) - except urllib.error.HTTPError as exc: - detail = exc.read().decode("utf-8", errors="ignore") - raise RuntimeError(f"智能整理模型请求失败: HTTP {exc.code} {detail}") from exc - except Exception as exc: - raise RuntimeError(f"智能整理模型请求失败: {exc}") from exc - - choices = result.get("choices") or [] - choice = choices[0] if choices else {} - message = choice.get("message") or {} - finish_reason = choice.get("finish_reason") - usage = result.get("usage") - content = _extract_llm_message_content(message) - if not content: - logger.warning( - "Mindmap LLM returned empty content task_id={} role={} finish_reason={} usage={} message_keys={}", - task_id or "-", request_role, finish_reason, usage, list(message.keys()) - ) - raise RuntimeError(f"智能整理模型返回空内容,finish_reason={finish_reason}") - organized = _extract_json_object(content) - if not organized: - logger.warning( - "Mindmap LLM returned invalid organized content task_id={} role={} finish_reason={} usage={}", - task_id or "-", request_role, finish_reason, usage - ) - raise RuntimeError(f"智能整理模型未返回有效内容,finish_reason={finish_reason}") - logger.info( - "Mindmap LLM request completed task_id={} role={} finish_reason={} usage={} output_chars={} output_tokens_est={}", - task_id or "-", request_role, finish_reason, usage, len(organized), _estimate_tokens(organized) - ) - return organized - - -def _organize_mindmap_markdown( - markdown: str, - mode: str, - custom_prompt: Optional[str], - task_id: str, - llm_config: Optional[MindmapLlmConfig] -) -> str: - prompt_template = (custom_prompt or "").strip() or DEFAULT_MINDMAP_ORGANIZE_PROMPT - _, input_budget_tokens = _get_mindmap_context_budget(prompt_template, llm_config=llm_config) - source_tokens = _estimate_tokens(markdown) - logger.info( - "Mindmap organize strategy task_id={} source_chars={} source_tokens_est={} input_budget_tokens={}", - task_id, len(markdown), source_tokens, input_budget_tokens - ) - - if source_tokens <= input_budget_tokens: - _update_task_progress(task_id, 35, "调用智能整理模型") - return _call_mindmap_llm(markdown, mode, prompt_template, task_id, "single", llm_config) - - chunks = _chunk_markdown_by_headings(markdown, input_budget_tokens) - logger.info("Mindmap large input split task_id={} chunks={}", task_id, len(chunks)) - partial_results: list[str] = [] - for index, chunk in enumerate(chunks, start=1): - progress = 20 + int(index / max(len(chunks), 1) * 55) - _update_task_progress(task_id, progress, f"智能整理分块 {index}/{len(chunks)}") - logger.info( - "Mindmap chunk organize task_id={} chunk={}/{} chars={} tokens_est={}", - task_id, index, len(chunks), len(chunk), _estimate_tokens(chunk) - ) - partial = _call_mindmap_llm(chunk, mode, prompt_template, task_id, f"chunk-{index}", llm_config) - partial_results.append(partial) - - merged_input = "\n\n".join( - f"\n{partial}" - for index, partial in enumerate(partial_results, start=1) - ) - _, merge_budget_tokens = _get_mindmap_context_budget(MINDMAP_MERGE_PROMPT, llm_config=llm_config) - merge_tokens = _estimate_tokens(merged_input) - if merge_tokens > merge_budget_tokens: - logger.warning( - "Mindmap merged outline still exceeds context task_id={} tokens_est={} budget={} chunks={}", - task_id, merge_tokens, merge_budget_tokens, len(partial_results) - ) - merge_chunks = _chunk_markdown_by_headings(merged_input, merge_budget_tokens) - merged_round: list[str] = [] - for index, chunk in enumerate(merge_chunks, start=1): - _update_task_progress(task_id, 78 + int(index / max(len(merge_chunks), 1) * 10), f"合并局部大纲 {index}/{len(merge_chunks)}") - merged_round.append(_call_mindmap_llm(chunk, mode, MINDMAP_MERGE_PROMPT, task_id, f"merge-round-{index}", llm_config)) - merged_input = "\n\n".join(merged_round) - - _update_task_progress(task_id, 90, "全局整理标题结构") - return _call_mindmap_llm(merged_input, mode, MINDMAP_MERGE_PROMPT, task_id, "merge", llm_config) - - -async def _run_mindmap_organize_task( - task_id: str, - markdown: str, - mode: str, - prompt: Optional[str], - llm_config: Optional[MindmapLlmConfig] -): - try: - _store_task_progress(task_id, { - "progress": 10, - "stage": "准备智能整理", - "status": "processing", - "error": None, - "file_names": "", - "result_md": None, - }) - organized = await asyncio.to_thread(_organize_mindmap_markdown, markdown, mode, prompt, task_id, llm_config) - state = _get_task_progress(task_id) or {} - state.update({ - "progress": 100, - "stage": "智能整理完成", - "status": "completed", - "error": None, - "result_md": organized, - }) - _store_task_progress(task_id, state) - except Exception as exc: - logger.exception(f"Mindmap organize task failed task_id={task_id}: {exc}") - state = _get_task_progress(task_id) or {} - state.update({ - "progress": 100, - "stage": "智能整理失败", - "status": "failed", - "error": str(exc), - "result_md": None, - }) - _store_task_progress(task_id, state) - - -@api_router.post("/parse_tasks/{task_id}", status_code=201) -async def create_parse_task(task_id: str): - """Register a task before the multipart upload starts.""" - state = { - "progress": 0, - "stage": "等待上传", - "status": "pending", - "error": None, - "file_names": "", - } - _store_task_progress(task_id, state) - logger.info(f"Registered parse task pid={os.getpid()} task_id={task_id}") - return state - - -@api_router.get("/parse_progress/{task_id}") -async def get_parse_progress(task_id: str): - """查询解析任务的实时进度""" - state = _get_task_progress(task_id) - if state is None: - logger.warning(f"Parse task not found pid={os.getpid()} task_id={task_id}") - raise HTTPException(status_code=404, detail="Task not found") - return state - - -@api_router.post("/mindmap_tasks/{task_id}", status_code=201) -async def create_mindmap_task(task_id: str, request: MindmapOrganizeRequest): - """Create an async task that organizes Markdown into summarized mindmap Markdown.""" - markdown = request.markdown.strip() - if not markdown: - raise HTTPException(status_code=400, detail="Markdown content is required") - - state = { - "progress": 0, - "stage": "等待智能整理", - "status": "pending", - "error": None, - "file_names": "", - "result_md": None, - } - _store_task_progress(task_id, state) - asyncio.create_task(_run_mindmap_organize_task(task_id, markdown, request.mode, request.prompt, request.llm_config)) - logger.info( - "Registered mindmap organize task pid={} task_id={} mode={} input_chars={} custom_prompt={} request_llm_config={}", - os.getpid(), task_id, request.mode, len(markdown), bool((request.prompt or "").strip()), bool(request.llm_config) - ) - return state - - -@api_router.get("/mindmap_progress/{task_id}") -async def get_mindmap_progress(task_id: str): - """Query async mindmap organization progress and result.""" - state = _get_task_progress(task_id) - if state is None: - logger.warning(f"Mindmap task not found pid={os.getpid()} task_id={task_id}") - raise HTTPException(status_code=404, detail="Task not found") - return state - - -@api_router.post(path="/file_parse", dependencies=[Depends(limit_concurrency)]) +@app.post(path="/file_parse", dependencies=[Depends(limit_concurrency)]) async def parse_pdf( - files: List[UploadFile] = File(..., description="Upload pdf, image, or Word files for parsing"), - output_dir: str = Form("./output", description="Output local directory"), - lang_list: List[str] = Form(["ch"]), - backend: str = Form("hybrid-auto-engine"), - parse_method: str = Form("auto"), - formula_enable: bool = Form(True), - table_enable: bool = Form(True), - server_url: Optional[str] = Form(None), - return_md: bool = Form(True), - return_middle_json: bool = Form(False), - return_model_output: bool = Form(False), - return_content_list: bool = Form(False), - return_images: bool = Form(False), - response_format_zip: bool = Form(False), - start_page_id: int = Form(0), - end_page_id: int = Form(99999), - form_task_id: Optional[str] = Form(None, alias="task_id"), - x_task_id: Optional[str] = Header(None), + background_tasks: BackgroundTasks, + files: List[UploadFile] = File( + ..., description="Upload pdf or image files for parsing" + ), + output_dir: str = Form("./output", description="Output local directory"), + lang_list: List[str] = Form( + ["ch"], + description="""(Adapted only for pipeline and hybrid backend)Input the languages in the pdf to improve OCR accuracy.Options: +- ch: Chinese, English, Chinese Traditional. +- ch_lite: Chinese, English, Chinese Traditional, Japanese. +- ch_server: Chinese, English, Chinese Traditional, Japanese. +- en: English. +- korean: Korean, English. +- japan: Chinese, English, Chinese Traditional, Japanese. +- chinese_cht: Chinese, English, Chinese Traditional, Japanese. +- ta: Tamil, English. +- te: Telugu, English. +- ka: Kannada. +- th: Thai, English. +- el: Greek, English. +- latin: French, German, Afrikaans, Italian, Spanish, Bosnian, Portuguese, Czech, Welsh, Danish, Estonian, Irish, Croatian, Uzbek, Hungarian, Serbian (Latin), Indonesian, Occitan, Icelandic, Lithuanian, Maori, Malay, Dutch, Norwegian, Polish, Slovak, Slovenian, Albanian, Swedish, Swahili, Tagalog, Turkish, Latin, Azerbaijani, Kurdish, Latvian, Maltese, Pali, Romanian, Vietnamese, Finnish, Basque, Galician, Luxembourgish, Romansh, Catalan, Quechua. +- arabic: Arabic, Persian, Uyghur, Urdu, Pashto, Kurdish, Sindhi, Balochi, English. +- east_slavic: Russian, Belarusian, Ukrainian, English. +- cyrillic: Russian, Belarusian, Ukrainian, Serbian (Cyrillic), Bulgarian, Mongolian, Abkhazian, Adyghe, Kabardian, Avar, Dargin, Ingush, Chechen, Lak, Lezgin, Tabasaran, Kazakh, Kyrgyz, Tajik, Macedonian, Tatar, Chuvash, Bashkir, Malian, Moldovan, Udmurt, Komi, Ossetian, Buryat, Kalmyk, Tuvan, Sakha, Karakalpak, English. +- devanagari: Hindi, Marathi, Nepali, Bihari, Maithili, Angika, Bhojpuri, Magahi, Santali, Newari, Konkani, Sanskrit, Haryanvi, English. +""", + ), + backend: str = Form( + "hybrid-auto-engine", + description="""The backend for parsing: +- pipeline: More general, supports multiple languages, hallucination-free. +- vlm-auto-engine: High accuracy via local computing power, supports Chinese and English documents only. +- vlm-http-client: High accuracy via remote computing power(client suitable for openai-compatible servers), supports Chinese and English documents only. +- hybrid-auto-engine: Next-generation high accuracy solution via local computing power, supports multiple languages. +- hybrid-http-client: High accuracy via remote computing power but requires a little local computing power(client suitable for openai-compatible servers), supports multiple languages.""", + ), + parse_method: str = Form( + "auto", + description="""(Adapted only for pipeline and hybrid backend)The method for parsing PDF: +- auto: Automatically determine the method based on the file type +- txt: Use text extraction method +- ocr: Use OCR method for image-based PDFs +""", + ), + formula_enable: bool = Form(True, description="Enable formula parsing."), + table_enable: bool = Form(True, description="Enable table parsing."), + server_url: Optional[str] = Form( + None, + description="(Adapted only for -http-client backend)openai compatible server url, e.g., http://127.0.0.1:30000", + ), + return_md: bool = Form(True, description="Return markdown content in response"), + return_middle_json: bool = Form( + False, description="Return middle JSON in response" + ), + return_model_output: bool = Form( + False, description="Return model output JSON in response" + ), + return_content_list: bool = Form( + False, description="Return content list JSON in response" + ), + return_images: bool = Form( + False, description="Return extracted images in response" + ), + response_format_zip: bool = Form( + False, description="Return results as a ZIP file instead of JSON" + ), + start_page_id: int = Form( + 0, description="The starting page for PDF parsing, beginning from 0" + ), + end_page_id: int = Form( + 99999, description="The ending page for PDF parsing, beginning from 0" + ), ): - # 从 app 实例状态中获取配置 (FastAPI 实例会在下方创建) - from fastapi import Request + # 获取命令行配置参数 config = getattr(app.state, "config", {}) - # 初始化进度跟踪 - task_id = x_task_id or form_task_id or str(uuid.uuid4()) - file_names_str = ", ".join(f.filename or "unknown" for f in files) - _store_task_progress(task_id, { - "progress": 0, "stage": "准备中", "status": "processing", - "error": None, "file_names": file_names_str, - }) - logger.info( - f"Started parse task pid={os.getpid()} task_id={task_id} " - f"header_task_id={x_task_id} form_task_id={form_task_id}" - ) - try: + # 创建唯一的输出目录 unique_dir = os.path.join(output_dir, str(uuid.uuid4())) os.makedirs(unique_dir, exist_ok=True) + background_tasks.add_task(cleanup_file, unique_dir) + # 处理上传的PDF文件 pdf_file_names = [] pdf_bytes_list = [] for file in files: content = await file.read() file_path = Path(file.filename) + + # 创建临时文件 temp_path = Path(unique_dir) / file_path.name with open(temp_path, "wb") as f: f.write(content) + # 如果是图像文件或PDF,使用read_fn处理 file_suffix = guess_suffix_by_path(temp_path) - if file_suffix in pdf_suffixes + image_suffixes + word_suffixes: + if file_suffix in pdf_suffixes + image_suffixes: try: pdf_bytes = read_fn(temp_path) pdf_bytes_list.append(pdf_bytes) pdf_file_names.append(file_path.stem) - os.remove(temp_path) + os.remove(temp_path) # 删除临时文件 except Exception as e: - return JSONResponse(status_code=400, content={"error": f"Failed to load file: {str(e)}"}) + return JSONResponse( + status_code=400, + content={"error": f"Failed to load file: {str(e)}"}, + ) else: - return JSONResponse(status_code=400, content={"error": f"Unsupported file type: {file_suffix}"}) + return JSONResponse( + status_code=400, + content={"error": f"Unsupported file type: {file_suffix}"}, + ) + # 设置语言列表,确保与文件数量一致 actual_lang_list = lang_list if len(actual_lang_list) != len(pdf_file_names): - actual_lang_list = [actual_lang_list[0] if actual_lang_list else "ch"] * len(pdf_file_names) - - # 进度回调:将 common.py 内部进度映射为细粒度阶段 - def progress_callback(pct, msg): - msg_str = str(msg) - if "处理文件" in msg_str: - _update_task_progress(task_id, 40, f"VLM文档分析: {msg_str}") - elif "完成文件" in msg_str: - _update_task_progress(task_id, 65, f"VLM分析完成: {msg_str}") - else: - _update_task_progress(task_id, int(40 + pct * 0.25), msg_str) - - _update_task_progress(task_id, 5, "开始解析文档") - - # 设置日志捕获(将当前任务ID绑定到日志 sink) - global _current_task_id - _current_task_id = task_id - sink_id = logger.add(_log_progress_sink, level="DEBUG") - - # 启动 stderr 捕获(解析 tqdm 进度条输出) - stderr_capture = _StderrProgressCapture(task_id) - stderr_capture.start() + # 如果语言列表长度不匹配,使用第一个语言或默认"ch" + actual_lang_list = [ + actual_lang_list[0] if actual_lang_list else "ch" + ] * len(pdf_file_names) + # 调用异步处理函数 await aio_do_parse( - output_dir=unique_dir, pdf_file_names=pdf_file_names, pdf_bytes_list=pdf_bytes_list, - p_lang_list=actual_lang_list, backend=backend, parse_method=parse_method, - formula_enable=formula_enable, table_enable=table_enable, server_url=server_url, - f_draw_layout_bbox=False, f_draw_span_bbox=False, f_dump_md=return_md, - f_dump_middle_json=return_middle_json, f_dump_model_output=return_model_output, - f_dump_orig_pdf=False, f_dump_content_list=return_content_list, - start_page_id=start_page_id, end_page_id=end_page_id, - progress_callback=progress_callback, **config + output_dir=unique_dir, + pdf_file_names=pdf_file_names, + pdf_bytes_list=pdf_bytes_list, + p_lang_list=actual_lang_list, + backend=backend, + parse_method=parse_method, + formula_enable=formula_enable, + table_enable=table_enable, + server_url=server_url, + f_draw_layout_bbox=False, + f_draw_span_bbox=False, + f_dump_md=return_md, + f_dump_middle_json=return_middle_json, + f_dump_model_output=return_model_output, + f_dump_orig_pdf=False, + f_dump_content_list=return_content_list, + start_page_id=start_page_id, + end_page_id=end_page_id, + **config, ) - _update_task_progress(task_id, 97, "生成结果文件") - - _update_task_progress(task_id, 100, "转换完成") - completed_state = _get_task_progress(task_id) or {} - completed_state["status"] = "completed" - _store_task_progress(task_id, completed_state) - _cleanup_runtime_memory() - - # 清理日志捕获和 stderr 捕获 - stderr_capture.stop() - logger.remove(sink_id) - _current_task_id = None - + # 根据 response_format_zip 决定返回类型 if response_format_zip: zip_fd, zip_path = tempfile.mkstemp(suffix=".zip", prefix="mineru_results_") os.close(zip_fd) + background_tasks.add_task(cleanup_file, zip_path) + with zipfile.ZipFile(zip_path, "w", compression=zipfile.ZIP_DEFLATED) as zf: for pdf_name in pdf_file_names: safe_pdf_name = sanitize_filename(pdf_name) - # 路径匹配逻辑 + if backend.startswith("pipeline"): - p_dir = os.path.join(unique_dir, pdf_name, parse_method) + parse_dir = os.path.join(unique_dir, pdf_name, parse_method) elif backend.startswith("vlm"): - p_dir = os.path.join(unique_dir, pdf_name, "vlm") + parse_dir = os.path.join(unique_dir, pdf_name, "vlm") + elif backend.startswith("hybrid"): + parse_dir = os.path.join( + unique_dir, pdf_name, f"hybrid_{parse_method}" + ) else: - p_dir = os.path.join(unique_dir, pdf_name, f"hybrid_{parse_method}") + # 未知 backend,跳过此文件 + logger.warning(f"Unknown backend type: {backend}, skipping {pdf_name}") + continue - if not os.path.exists(p_dir): continue + if not os.path.exists(parse_dir): + continue + + # 写入文本类结果 if return_md: - path = os.path.join(p_dir, f"{pdf_name}.md") - if os.path.exists(path): zf.write(path, - arcname=os.path.join(safe_pdf_name, f"{safe_pdf_name}.md")) - if return_images: - images_dir = os.path.join(p_dir, "images") - for img in glob.glob(os.path.join(glob.escape(images_dir), "*.jpg")): - zf.write(img, arcname=os.path.join(safe_pdf_name, "images", os.path.basename(img))) + path = os.path.join(parse_dir, f"{pdf_name}.md") + if os.path.exists(path): + zf.write( + path, + arcname=os.path.join( + safe_pdf_name, f"{safe_pdf_name}.md" + ), + ) - return FileResponse(path=zip_path, media_type="application/zip", filename="results.zip", - background=BackgroundTask(cleanup_file, zip_path)) + if return_middle_json: + path = os.path.join(parse_dir, f"{pdf_name}_middle.json") + if os.path.exists(path): + zf.write( + path, + arcname=os.path.join( + safe_pdf_name, f"{safe_pdf_name}_middle.json" + ), + ) + + if return_model_output: + path = os.path.join(parse_dir, f"{pdf_name}_model.json") + if os.path.exists(path): + zf.write( + path, + arcname=os.path.join( + safe_pdf_name, f"{safe_pdf_name}_model.json" + ), + ) + + if return_content_list: + path = os.path.join(parse_dir, f"{pdf_name}_content_list.json") + if os.path.exists(path): + zf.write( + path, + arcname=os.path.join( + safe_pdf_name, f"{safe_pdf_name}_content_list.json" + ), + ) + + # 写入图片 + if return_images: + images_dir = os.path.join(parse_dir, "images") + image_paths = glob.glob( + os.path.join(glob.escape(images_dir), "*.jpg") + ) + for image_path in image_paths: + zf.write( + image_path, + arcname=os.path.join( + safe_pdf_name, + "images", + os.path.basename(image_path), + ), + ) + + return FileResponse( + path=zip_path, + media_type="application/zip", + filename="results.zip", + ) else: + # 构建 JSON 结果 result_dict = {} for pdf_name in pdf_file_names: result_dict[pdf_name] = {} data = result_dict[pdf_name] + if backend.startswith("pipeline"): - p_dir = os.path.join(unique_dir, pdf_name, parse_method) + parse_dir = os.path.join(unique_dir, pdf_name, parse_method) elif backend.startswith("vlm"): - p_dir = os.path.join(unique_dir, pdf_name, "vlm") + parse_dir = os.path.join(unique_dir, pdf_name, "vlm") + elif backend.startswith("hybrid"): + parse_dir = os.path.join( + unique_dir, pdf_name, f"hybrid_{parse_method}" + ) else: - p_dir = os.path.join(unique_dir, pdf_name, f"hybrid_{parse_method}") + # 未知 backend,跳过此文件 + logger.warning(f"Unknown backend type: {backend}, skipping {pdf_name}") + continue - if os.path.exists(p_dir): - if return_md: data["md_content"] = get_infer_result(".md", pdf_name, p_dir) + if os.path.exists(parse_dir): + if return_md: + data["md_content"] = get_infer_result( + ".md", pdf_name, parse_dir + ) + if return_middle_json: + data["middle_json"] = get_infer_result( + "_middle.json", pdf_name, parse_dir + ) + if return_model_output: + data["model_output"] = get_infer_result( + "_model.json", pdf_name, parse_dir + ) + if return_content_list: + data["content_list"] = get_infer_result( + "_content_list.json", pdf_name, parse_dir + ) if return_images: - img_dir = os.path.join(p_dir, "images") - data["images"] = {os.path.basename(p): f"data:image/jpeg;base64,{encode_image(p)}" - for p in glob.glob(os.path.join(glob.escape(img_dir), "*.jpg"))} + images_dir = os.path.join(parse_dir, "images") + safe_pattern = os.path.join(glob.escape(images_dir), "*.jpg") + image_paths = glob.glob(safe_pattern) + data["images"] = { + os.path.basename( + image_path + ): f"data:image/jpeg;base64,{encode_image(image_path)}" + for image_path in image_paths + } - return JSONResponse(status_code=200, - content={"backend": backend, "version": __version__, "results": result_dict}) + return JSONResponse( + status_code=200, + content={ + "backend": backend, + "version": __version__, + "results": result_dict, + }, + ) except Exception as e: logger.exception(e) - # 清理日志捕获和 stderr 捕获 - try: - stderr_capture.stop() - logger.remove(sink_id) - _current_task_id = None - except Exception: - pass - failed_state = _get_task_progress(task_id) or {} - failed_state["status"] = "failed" - failed_state["error"] = _format_parse_error(e) - _store_task_progress(task_id, failed_state) - _cleanup_runtime_memory() - return JSONResponse(status_code=500, content={"error": _format_parse_error(e)}) + return JSONResponse( + status_code=500, content={"error": f"Failed to process file: {str(e)}"} + ) -# --- FastAPI 核心应用 --- -def create_app(): - enable_docs = str(os.getenv("MINERU_API_ENABLE_FASTAPI_DOCS", "1")).lower() in ("1", "true", "yes") - app = FastAPI( - openapi_url="/openapi.json" if enable_docs else None, - docs_url="/docs" if enable_docs else None, - redoc_url="/redoc" if enable_docs else None, - ) - - global _request_semaphore - try: - mcr = int(os.getenv("MINERU_API_MAX_CONCURRENT_REQUESTS", "0")) - if mcr > 0: - _request_semaphore = asyncio.Semaphore(mcr) - logger.info(f"Concurrency limited to {mcr}") - except: - pass - - app.add_middleware(CORSMiddleware, allow_origins=["*"], allow_credentials=True, allow_methods=["*"], - allow_headers=["*"]) - app.add_middleware(GZipMiddleware, minimum_size=1000) - - # 1. 首先挂载 API 路由组 (处理所有 /api/* 请求) - app.include_router(api_router) - - # 2. 根路径重定向或特定处理 (可选) - @app.get("/health") - async def health(): - return {"status": "ok"} - - # 3. 最后挂载静态文件服务 (处理剩下的所有请求,如 /, /index.html, /assets/*) - static_dir = Path(__file__).parent / "static" / "web" - if static_dir.exists(): - logger.info(f"Mounting static files from {static_dir}") - app.mount("/", StaticFiles(directory=static_dir, html=True), name="static") - else: - logger.warning("Static directory not found, web UI will not be available.") - - return app - - -app = create_app() - - -@click.command(context_settings=dict(ignore_unknown_options=True, allow_extra_args=True)) +@click.command( + context_settings=dict(ignore_unknown_options=True, allow_extra_args=True) +) @click.pass_context -@click.option('--host', default='127.0.0.1') -@click.option('--port', default=8000, type=int) -@click.option('--reload', is_flag=True) +@click.option("--host", default="127.0.0.1", help="Server host (default: 127.0.0.1)") +@click.option("--port", default=8000, type=int, help="Server port (default: 8000)") +@click.option("--reload", is_flag=True, help="Enable auto-reload (development mode)") def main(ctx, host, port, reload, **kwargs): kwargs.update(arg_parse(ctx)) + + # 将配置参数存储到应用状态中 app.state.config = kwargs - mcr = str(kwargs.get("mineru_api_max_concurrent_requests", "0") or "0") - os.environ["MINERU_API_MAX_CONCURRENT_REQUESTS"] = mcr + # 将 CLI 的并发参数同步到环境变量,确保 uvicorn 重载子进程可见 + try: + mcr = int(kwargs.get("mineru_api_max_concurrent_requests", 0) or 0) + except ValueError: + mcr = 0 + os.environ["MINERU_API_MAX_CONCURRENT_REQUESTS"] = str(mcr) + + """启动MinerU FastAPI服务器的命令行入口""" + print(f"Start MinerU FastAPI Service: http://{host}:{port}") + print(f"API documentation: http://{host}:{port}/docs") uvicorn.run("mineru.cli.fast_api:app", host=host, port=port, reload=reload) diff --git a/mineru/cli/gradio_app.py b/mineru/cli/gradio_app.py index 6d5185b..2ab6130 100644 --- a/mineru/cli/gradio_app.py +++ b/mineru/cli/gradio_app.py @@ -23,143 +23,26 @@ from mineru.utils.engine_utils import get_vlm_engine from mineru.utils.hash_utils import str_sha256 -# --- 新增:标准的树状思维导图生成函数 --- -def md_to_markmap_html(md_content): - """ - 将 Markdown 转换为标准的树状思维导图 (Markmap) - """ - if not md_content: - return "" - - # 转义 Markdown 中的反引号和符号,防止破坏 JS 字符串 - safe_md = md_content.replace('`', '\\`').replace('$', '\\$') - - # 完整的 HTML + Markmap 渲染引擎 - full_html = f""" - - - - - - - - - - - - - - - - """ - - # 使用 iframe 封装,彻底解决渲染失效问题 - iframe_srcdoc = full_html.replace('"', '"') - iframe_code = f""" - - """ - return iframe_code - - -# ────────────── 新增:根据上一级标题自动补全下一级标题 ────────────── -def auto_promote_paragraphs_to_subheading(text): - lines = text.splitlines() - result = [] - in_section = False - empty_count = 0 - - for line in lines: - stripped = line.strip() - - if stripped.startswith('# '): - result.append(line) - in_section = True - empty_count = 0 - continue - - if stripped.startswith('#'): - result.append(line) - in_section = False - empty_count = 0 - continue - - if not stripped: - result.append(line) - empty_count += 1 - if empty_count >= 2: - in_section = False - continue - - # 跳过图片、列表、代码等特殊行 - if ( - stripped.startswith('![') or - stripped.startswith('>') or - stripped.startswith('```') or - re.match(r'^[-*+] ', stripped) or - re.match(r'^\d+\. ', stripped) - ): - result.append(line) - empty_count = 0 - continue - - empty_count = 0 - if in_section: - result.append('## ' + stripped) - else: - result.append(line) - - return '\n'.join(result) - - async def parse_pdf(doc_path, output_dir, end_page_id, is_ocr, formula_enable, table_enable, language, backend, url): os.makedirs(output_dir, exist_ok=True) + try: file_name = f'{safe_stem(Path(doc_path).stem)}_{time.strftime("%y%m%d_%H%M%S")}' pdf_data = read_fn(doc_path) + # 根据 backend 确定 parse_method if backend.startswith("vlm"): parse_method = "vlm" else: parse_method = 'ocr' if is_ocr else 'auto' + # 根据 backend 类型准备环境目录 if backend.startswith("hybrid"): env_name = f"hybrid_{parse_method}" else: env_name = parse_method local_image_dir, local_md_dir = prepare_env(output_dir, file_name, env_name) + await aio_do_parse( output_dir=output_dir, pdf_file_names=[file_name], @@ -179,12 +62,22 @@ async def parse_pdf(doc_path, output_dir, end_page_id, is_ocr, formula_enable, t def compress_directory_to_zip(directory_path, output_zip_path): + """压缩指定目录到一个 ZIP 文件。 + + :param directory_path: 要压缩的目录路径 + :param output_zip_path: 输出的 ZIP 文件路径 + """ try: with zipfile.ZipFile(output_zip_path, 'w', zipfile.ZIP_DEFLATED) as zipf: + + # 遍历目录中的所有文件和子目录 for root, dirs, files in os.walk(directory_path): for file in files: + # 构建完整的文件路径 file_path = os.path.join(root, file) + # 计算相对路径 arcname = os.path.relpath(file_path, directory_path) + # 添加文件到 ZIP 文件 zipf.write(file_path, arcname) return 0 except Exception as e: @@ -198,32 +91,31 @@ def image_to_base64(image_path): def replace_image_with_base64(markdown_text, image_dir_path): + # 匹配Markdown中的图片标签 pattern = r'\!\[(?:[^\]]*)\]\(([^)]+)\)' + # 替换图片链接 def replace(match): relative_path = match.group(1) + # 只处理以.jpg结尾的图片 if relative_path.endswith('.jpg'): full_path = os.path.join(image_dir_path, relative_path) base64_image = image_to_base64(full_path) return f'![{relative_path}](data:image/jpeg;base64,{base64_image})' - return match.group(0) - + else: + # 其他格式的图片保持原样 + return match.group(0) + # 应用替换 return re.sub(pattern, replace, markdown_text) -async def to_markdown(file_path, end_pages=10, is_ocr=False, formula_enable=True, table_enable=True, language="ch", - backend="pipeline", url=None): +async def to_markdown(file_path, end_pages=10, is_ocr=False, formula_enable=True, table_enable=True, language="ch", backend="pipeline", url=None): # 如果language包含(),则提取括号前的内容作为实际语言 if '(' in language and ')' in language: language = language.split('(')[0].strip() file_path = to_pdf(file_path) - # 打印请求参数日志 - logger.info(f"parse_pdf 请求参数: file_path={file_path}, output_dir='./output', end_page_id={end_pages - 1}, " - f"is_ocr={is_ocr}, formula_enable={formula_enable}, table_enable={table_enable}, " - f"language='{language}', backend='{backend}', url={url}") # 获取识别的md文件以及压缩包文件路径 - local_md_dir, file_name = await parse_pdf(file_path, './output', end_pages - 1, is_ocr, formula_enable, - table_enable, language, backend, url) + local_md_dir, file_name = await parse_pdf(file_path, './output', end_pages - 1, is_ocr, formula_enable, table_enable, language, backend, url) archive_zip_path = os.path.join('./output', str_sha256(local_md_dir) + '.zip') zip_archive_success = compress_directory_to_zip(local_md_dir, archive_zip_path) if zip_archive_success == 0: @@ -233,55 +125,74 @@ async def to_markdown(file_path, end_pages=10, is_ocr=False, formula_enable=True md_path = os.path.join(local_md_dir, file_name + '.md') with open(md_path, 'r', encoding='utf-8') as f: txt_content = f.read() - - # ────────────── 自动补全:根据 # 标题补全后续段落为 ## ────────────── - txt_content = auto_promote_paragraphs_to_subheading(txt_content) - # ──────────────────────────────────────────────────────────────── - md_content = replace_image_with_base64(txt_content, local_md_dir) - - # 生成思维导图HTML - 使用新的实现 - mind_map_html = md_to_markmap_html(txt_content) - # 返回转换后的PDF路径 new_pdf_path = os.path.join(local_md_dir, file_name + '_layout.pdf') - return md_content, txt_content, archive_zip_path, new_pdf_path, mind_map_html + return md_content, txt_content, archive_zip_path, new_pdf_path -latex_delimiters_type_all = [ - {'left': '$$', 'right': '$$', 'display': True}, - {'left': '$', 'right': '$', 'display': False}, - {'left': '\\(', 'right': '\\)', 'display': False}, - {'left': '\\[', 'right': '\\]', 'display': True}, -] - latex_delimiters_type_a = [ {'left': '$$', 'right': '$$', 'display': True}, {'left': '$', 'right': '$', 'display': False}, ] - latex_delimiters_type_b = [ {'left': '\\(', 'right': '\\)', 'display': False}, {'left': '\\[', 'right': '\\]', 'display': True}, ] +latex_delimiters_type_all = latex_delimiters_type_a + latex_delimiters_type_b -other_lang = ['ch (Chinese, English, Chinese Traditional)', 'en (English)', 'korean', 'japan'] -all_lang = [*other_lang] +header_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'resources', 'header.html') +with open(header_path, mode='r', encoding='utf-8') as header_file: + header = header_file.read() + +other_lang = [ + 'ch (Chinese, English, Chinese Traditional)', + 'ch_lite (Chinese, English, Chinese Traditional, Japanese)', + 'ch_server (Chinese, English, Chinese Traditional, Japanese)', + 'en (English)', + 'korean (Korean, English)', + 'japan (Chinese, English, Chinese Traditional, Japanese)', + 'chinese_cht (Chinese, English, Chinese Traditional, Japanese)', + 'ta (Tamil, English)', + 'te (Telugu, English)', + 'ka (Kannada)', + 'el (Greek, English)', + 'th (Thai, English)' +] +add_lang = [ + 'latin (French, German, Afrikaans, Italian, Spanish, Bosnian, Portuguese, Czech, Welsh, Danish, Estonian, Irish, Croatian, Uzbek, Hungarian, Serbian (Latin), Indonesian, Occitan, Icelandic, Lithuanian, Maori, Malay, Dutch, Norwegian, Polish, Slovak, Slovenian, Albanian, Swedish, Swahili, Tagalog, Turkish, Latin, Azerbaijani, Kurdish, Latvian, Maltese, Pali, Romanian, Vietnamese, Finnish, Basque, Galician, Luxembourgish, Romansh, Catalan, Quechua)', + 'arabic (Arabic, Persian, Uyghur, Urdu, Pashto, Kurdish, Sindhi, Balochi, English)', + 'east_slavic (Russian, Belarusian, Ukrainian, English)', + 'cyrillic (Russian, Belarusian, Ukrainian, Serbian (Cyrillic), Bulgarian, Mongolian, Abkhazian, Adyghe, Kabardian, Avar, Dargin, Ingush, Chechen, Lak, Lezgin, Tabasaran, Kazakh, Kyrgyz, Tajik, Macedonian, Tatar, Chuvash, Bashkir, Malian, Moldovan, Udmurt, Komi, Ossetian, Buryat, Kalmyk, Tuvan, Sakha, Karakalpak, English)', + 'devanagari (Hindi, Marathi, Nepali, Bihari, Maithili, Angika, Bhojpuri, Magahi, Santali, Newari, Konkani, Sanskrit, Haryanvi, English)' +] +all_lang = [*other_lang, *add_lang] def safe_stem(file_path): stem = Path(file_path).stem + # 只保留字母、数字、下划线和点,其他字符替换为下划线 return re.sub(r'[^\w.]', '_', stem) def to_pdf(file_path): - if file_path is None: return None + + if file_path is None: + return None + pdf_bytes = read_fn(file_path) + + # unique_filename = f'{uuid.uuid4()}.pdf' unique_filename = f'{safe_stem(file_path)}.pdf' + + # 构建完整的文件路径 tmp_file_path = os.path.join(os.path.dirname(file_path), unique_filename) + + # 将字节数据写入文件 with open(tmp_file_path, 'wb') as tmp_pdf_file: tmp_pdf_file.write(pdf_bytes) + return tmp_file_path @@ -339,35 +250,13 @@ def to_pdf(file_path): default='all', ) def main(ctx, - example_enable, - http_client_enable, - api_enable, max_convert_pages, - server_name, server_port, latex_delimiters_type, **kwargs - ): - # 检测系统语言环境,默认为中文 - import locale - import os + example_enable, + http_client_enable, + api_enable, max_convert_pages, + server_name, server_port, latex_delimiters_type, **kwargs +): - def detect_language(): - # 检查环境变量 - lang = os.getenv('LANG', '') - if 'zh' in lang.lower() or 'chinese' in lang.lower(): - return 'zh' - - # 检查系统默认locale - try: - default_locale = locale.getdefaultlocale()[0] - if default_locale and 'zh' in default_locale.lower(): - return 'zh' - except: - pass - - # 默认返回中文 - return 'zh' - - detected_lang = detect_language() - - # 创建 i18n 实例,支持中英文,默认为中文 + # 创建 i18n 实例,支持中英文 i18n = gr.I18n( en={ "upload_file": "Please upload a PDF or image", @@ -375,7 +264,7 @@ def main(ctx, "backend": "Backend", "server_url": "Server URL", "server_url_info": "OpenAI-compatible server URL for http-client backend.", - "recognition_options": "Recognition Options", + "recognition_options": "**Recognition Options:**", "table_enable": "Enable table recognition", "table_info": "If disabled, tables will be shown as images.", "formula_label_vlm": "Enable display formula recognition", @@ -395,7 +284,6 @@ def main(ctx, "convert_result": "Convert result", "md_rendering": "Markdown rendering", "md_text": "Markdown text", - "mind_map": "Mind Map", # 新增 "backend_info_vlm": "High-precision parsing via VLM, supports Chinese and English documents only.", "backend_info_pipeline": "Traditional Multi-model pipeline parsing, supports multiple languages, hallucination-free.", "backend_info_hybrid": "High-precision hybrid parsing, supports multiple languages.", @@ -407,7 +295,7 @@ def main(ctx, "backend": "解析后端", "server_url": "服务器地址", "server_url_info": "http-client 后端的 OpenAI 兼容服务器地址。", - "recognition_options": "识别选项", + "recognition_options": "**识别选项:**", "table_enable": "启用表格识别", "table_info": "禁用后,表格将显示为图片。", "formula_label_vlm": "启用行间公式识别", @@ -427,7 +315,6 @@ def main(ctx, "convert_result": "转换结果", "md_rendering": "Markdown 渲染", "md_text": "Markdown 文本", - "mind_map": "思维导图", # 新增 "backend_info_vlm": "多模态大模型高精度解析,仅支持中英文文档。", "backend_info_pipeline": "传统多模型管道解析,支持多语言,无幻觉。", "backend_info_hybrid": "高精度混合解析,支持多语言。", @@ -481,6 +368,7 @@ def main(ctx, return client_options_update, ocr_options_update, formula_label_update, backend_info_update + kwargs.update(arg_parse(ctx)) if latex_delimiters_type == 'a': @@ -511,10 +399,8 @@ def main(ctx, logger.exception(e) suffixes = [f".{suffix}" for suffix in pdf_suffixes + image_suffixes] - with gr.Blocks(title="多模态思维导图助手", - fill_height=True) as demo: - # gr.HTML(header) - gr.HTML("

多模态思维导图助手

") + with gr.Blocks() as demo: + gr.HTML(header) with gr.Row(): with gr.Column(variant='panel', scale=5): with gr.Row(): @@ -526,21 +412,16 @@ def main(ctx, preferred_option = "hybrid-auto-engine" if http_client_enable: drop_list.extend(["vlm-http-client", "hybrid-http-client"]) - backend = gr.Dropdown(drop_list, label=i18n("backend"), value=preferred_option, - info=get_backend_info(preferred_option)) + backend = gr.Dropdown(drop_list, label=i18n("backend"), value=preferred_option, info=get_backend_info(preferred_option)) with gr.Row(visible=False) as client_options: - url = gr.Textbox(label=i18n("server_url"), value='http://localhost:30000', - placeholder='http://localhost:30000', info=i18n("server_url_info")) + url = gr.Textbox(label=i18n("server_url"), value='http://localhost:30000', placeholder='http://localhost:30000', info=i18n("server_url_info")) with gr.Row(equal_height=True): with gr.Column(): gr.Markdown(i18n("recognition_options")) table_enable = gr.Checkbox(label=i18n("table_enable"), value=True, info=i18n("table_info")) - formula_enable = gr.Checkbox(label=get_formula_label(preferred_option), value=True, - info=get_formula_info(preferred_option)) + formula_enable = gr.Checkbox(label=get_formula_label(preferred_option), value=True, info=get_formula_info(preferred_option)) with gr.Column(visible=False) as ocr_options: - language = gr.Dropdown(all_lang, label=i18n("ocr_language"), - value='ch (Chinese, English, Chinese Traditional)', - info=i18n("ocr_language_info")) + language = gr.Dropdown(all_lang, label=i18n("ocr_language"), value='ch (Chinese, English, Chinese Traditional)', info=i18n("ocr_language_info")) is_ocr = gr.Checkbox(label=i18n("force_ocr"), value=False, info=i18n("force_ocr_info")) with gr.Row(): change_bu = gr.Button(i18n("convert")) @@ -563,46 +444,50 @@ def main(ctx, md = gr.Markdown( label=i18n("md_rendering"), height=1200, - show_copy_button=True, + # buttons=["copy"], # gradio 6 以上版本使用 + show_copy_button=True, # gradio 6 以下版本使用 latex_delimiters=latex_delimiters, line_breaks=True ) with gr.Tab(i18n("md_text")): md_text = gr.TextArea( lines=45, - show_copy_button=True, + # buttons=["copy"], # gradio 6 以上版本使用 + show_copy_button=True, # gradio 6 以下版本使用 label=i18n("md_text") ) - with gr.Tab(i18n("mind_map")): # 新增的思维导图tab - mind_map = gr.HTML(label=i18n("mind_map")) # 使用HTML组件来渲染markmap # 添加事件处理 backend.change( fn=update_interface, inputs=[backend], outputs=[client_options, ocr_options, formula_enable, backend], - api_name=False + # api_visibility="private" # gradio 6 以上版本使用 + api_name=False # gradio 6 以下版本使用 ) # 添加demo.load事件,在页面加载时触发一次界面更新 demo.load( fn=update_interface, inputs=[backend], outputs=[client_options, ocr_options, formula_enable, backend], - api_name=False + # api_visibility="private" # gradio 6 以上版本使用 + api_name=False # gradio 6 以下版本使用 ) - clear_bu.add([input_file, md, pdf_show, md_text, output_file, is_ocr, mind_map]) + clear_bu.add([input_file, md, pdf_show, md_text, output_file, is_ocr]) input_file.change( fn=to_pdf, inputs=input_file, outputs=pdf_show, - api_name="to_pdf" if api_enable else False + api_name="to_pdf" if api_enable else False, # gradio 6 以下版本使用 + # api_visibility="public" if api_enable else "private" # gradio 6 以上版本使用 ) change_bu.click( fn=to_markdown, inputs=[input_file, max_pages, is_ocr, formula_enable, table_enable, language, backend, url], - outputs=[md, md_text, output_file, pdf_show, mind_map], # 添加mind_map输出 - api_name="to_markdown" if api_enable else False + outputs=[md, md_text, output_file, pdf_show], + api_name="to_markdown" if api_enable else False, # gradio 6 以下版本使用 + # api_visibility="public" if api_enable else "private" # gradio 6 以上版本使用 ) footer_links = ["gradio", "settings"] @@ -611,12 +496,11 @@ def main(ctx, demo.launch( server_name=server_name, server_port=server_port, - show_api=api_enable, - i18n=i18n, - # title = "多模态思维导图助手", - # favicon_path = "logo.png" + # footer_links=footer_links, # gradio 6 以上版本使用 + show_api=api_enable, # gradio 6 以下版本使用 + i18n=i18n ) if __name__ == '__main__': - main() \ No newline at end of file + main() diff --git a/mineru/cli/static/markmap/d3.min.js b/mineru/cli/static/markmap/d3.min.js deleted file mode 100644 index 33bb880..0000000 --- a/mineru/cli/static/markmap/d3.min.js +++ /dev/null @@ -1,2 +0,0 @@ -// https://d3js.org v7.9.0 Copyright 2010-2023 Mike Bostock -!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).d3=t.d3||{})}(this,(function(t){"use strict";function n(t,n){return null==t||null==n?NaN:tn?1:t>=n?0:NaN}function e(t,n){return null==t||null==n?NaN:nt?1:n>=t?0:NaN}function r(t){let r,o,a;function u(t,n,e=0,i=t.length){if(e>>1;o(t[r],n)<0?e=r+1:i=r}while(en(t(e),r),a=(n,e)=>t(n)-e):(r=t===n||t===e?t:i,o=t,a=t),{left:u,center:function(t,n,e=0,r=t.length){const i=u(t,n,e,r-1);return i>e&&a(t[i-1],n)>-a(t[i],n)?i-1:i},right:function(t,n,e=0,i=t.length){if(e>>1;o(t[r],n)<=0?e=r+1:i=r}while(e{n(t,e,(r<<=2)+0,(i<<=2)+0,o<<=2),n(t,e,r+1,i+1,o),n(t,e,r+2,i+2,o),n(t,e,r+3,i+3,o)}}));function d(t){return function(n,e,r=e){if(!((e=+e)>=0))throw new RangeError("invalid rx");if(!((r=+r)>=0))throw new RangeError("invalid ry");let{data:i,width:o,height:a}=n;if(!((o=Math.floor(o))>=0))throw new RangeError("invalid width");if(!((a=Math.floor(void 0!==a?a:i.length/o))>=0))throw new RangeError("invalid height");if(!o||!a||!e&&!r)return n;const u=e&&t(e),c=r&&t(r),f=i.slice();return u&&c?(p(u,f,i,o,a),p(u,i,f,o,a),p(u,f,i,o,a),g(c,i,f,o,a),g(c,f,i,o,a),g(c,i,f,o,a)):u?(p(u,i,f,o,a),p(u,f,i,o,a),p(u,i,f,o,a)):c&&(g(c,i,f,o,a),g(c,f,i,o,a),g(c,i,f,o,a)),n}}function p(t,n,e,r,i){for(let o=0,a=r*i;o{if(!((o-=a)>=i))return;let u=t*r[i];const c=a*t;for(let t=i,n=i+c;t{if(!((a-=u)>=o))return;let c=n*i[o];const f=u*n,s=f+u;for(let t=o,n=o+f;t=n&&++e;else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(i=+i)>=i&&++e}return e}function _(t){return 0|t.length}function b(t){return!(t>0)}function m(t){return"object"!=typeof t||"length"in t?t:Array.from(t)}function x(t,n){let e,r=0,i=0,o=0;if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(e=n-i,i+=e/++r,o+=e*(n-i));else{let a=-1;for(let u of t)null!=(u=n(u,++a,t))&&(u=+u)>=u&&(e=u-i,i+=e/++r,o+=e*(u-i))}if(r>1)return o/(r-1)}function w(t,n){const e=x(t,n);return e?Math.sqrt(e):e}function M(t,n){let e,r;if(void 0===n)for(const n of t)null!=n&&(void 0===e?n>=n&&(e=r=n):(e>n&&(e=n),r=o&&(e=r=o):(e>o&&(e=o),r0){for(o=t[--i];i>0&&(n=o,e=t[--i],o=n+e,r=e-(o-n),!r););i>0&&(r<0&&t[i-1]<0||r>0&&t[i-1]>0)&&(e=2*r,n=o+e,e==n-o&&(o=n))}return o}}class InternMap extends Map{constructor(t,n=N){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const[n,e]of t)this.set(n,e)}get(t){return super.get(A(this,t))}has(t){return super.has(A(this,t))}set(t,n){return super.set(S(this,t),n)}delete(t){return super.delete(E(this,t))}}class InternSet extends Set{constructor(t,n=N){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const n of t)this.add(n)}has(t){return super.has(A(this,t))}add(t){return super.add(S(this,t))}delete(t){return super.delete(E(this,t))}}function A({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function S({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):(t.set(r,e),e)}function E({_intern:t,_key:n},e){const r=n(e);return t.has(r)&&(e=t.get(r),t.delete(r)),e}function N(t){return null!==t&&"object"==typeof t?t.valueOf():t}function k(t){return t}function C(t,...n){return F(t,k,k,n)}function P(t,...n){return F(t,Array.from,k,n)}function z(t,n){for(let e=1,r=n.length;et.pop().map((([n,e])=>[...t,n,e]))));return t}function $(t,n,...e){return F(t,k,n,e)}function D(t,n,...e){return F(t,Array.from,n,e)}function R(t){if(1!==t.length)throw new Error("duplicate key");return t[0]}function F(t,n,e,r){return function t(i,o){if(o>=r.length)return e(i);const a=new InternMap,u=r[o++];let c=-1;for(const t of i){const n=u(t,++c,i),e=a.get(n);e?e.push(t):a.set(n,[t])}for(const[n,e]of a)a.set(n,t(e,o));return n(a)}(t,0)}function q(t,n){return Array.from(n,(n=>t[n]))}function U(t,...n){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");t=Array.from(t);let[e]=n;if(e&&2!==e.length||n.length>1){const r=Uint32Array.from(t,((t,n)=>n));return n.length>1?(n=n.map((n=>t.map(n))),r.sort(((t,e)=>{for(const r of n){const n=O(r[t],r[e]);if(n)return n}}))):(e=t.map(e),r.sort(((t,n)=>O(e[t],e[n])))),q(t,r)}return t.sort(I(e))}function I(t=n){if(t===n)return O;if("function"!=typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}function O(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(tn?1:0)}var B=Array.prototype.slice;function Y(t){return()=>t}const L=Math.sqrt(50),j=Math.sqrt(10),H=Math.sqrt(2);function X(t,n,e){const r=(n-t)/Math.max(0,e),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=L?10:o>=j?5:o>=H?2:1;let u,c,f;return i<0?(f=Math.pow(10,-i)/a,u=Math.round(t*f),c=Math.round(n*f),u/fn&&--c,f=-f):(f=Math.pow(10,i)*a,u=Math.round(t/f),c=Math.round(n/f),u*fn&&--c),c0))return[];if((t=+t)===(n=+n))return[t];const r=n=i))return[];const u=o-i+1,c=new Array(u);if(r)if(a<0)for(let t=0;t0?(t=Math.floor(t/i)*i,n=Math.ceil(n/i)*i):i<0&&(t=Math.ceil(t*i)/i,n=Math.floor(n*i)/i),r=i}}function K(t){return Math.max(1,Math.ceil(Math.log(v(t))/Math.LN2)+1)}function Q(){var t=k,n=M,e=K;function r(r){Array.isArray(r)||(r=Array.from(r));var i,o,a,u=r.length,c=new Array(u);for(i=0;i=h)if(t>=h&&n===M){const t=V(l,h,e);isFinite(t)&&(t>0?h=(Math.floor(h/t)+1)*t:t<0&&(h=(Math.ceil(h*-t)+1)/-t))}else d.pop()}for(var p=d.length,g=0,y=p;d[g]<=l;)++g;for(;d[y-1]>h;)--y;(g||y0?d[i-1]:l,v.x1=i0)for(i=0;i=n)&&(e=n);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e=i)&&(e=i)}return e}function tt(t,n){let e,r=-1,i=-1;if(void 0===n)for(const n of t)++i,null!=n&&(e=n)&&(e=n,r=i);else for(let o of t)null!=(o=n(o,++i,t))&&(e=o)&&(e=o,r=i);return r}function nt(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e>n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e>i||void 0===e&&i>=i)&&(e=i)}return e}function et(t,n){let e,r=-1,i=-1;if(void 0===n)for(const n of t)++i,null!=n&&(e>n||void 0===e&&n>=n)&&(e=n,r=i);else for(let o of t)null!=(o=n(o,++i,t))&&(e>o||void 0===e&&o>=o)&&(e=o,r=i);return r}function rt(t,n,e=0,r=1/0,i){if(n=Math.floor(n),e=Math.floor(Math.max(0,e)),r=Math.floor(Math.min(t.length-1,r)),!(e<=n&&n<=r))return t;for(i=void 0===i?O:I(i);r>e;){if(r-e>600){const o=r-e+1,a=n-e+1,u=Math.log(o),c=.5*Math.exp(2*u/3),f=.5*Math.sqrt(u*c*(o-c)/o)*(a-o/2<0?-1:1);rt(t,n,Math.max(e,Math.floor(n-a*c/o+f)),Math.min(r,Math.floor(n+(o-a)*c/o+f)),i)}const o=t[n];let a=e,u=r;for(it(t,e,n),i(t[r],o)>0&&it(t,e,r);a0;)--u}0===i(t[e],o)?it(t,e,u):(++u,it(t,u,r)),u<=n&&(e=u+1),n<=u&&(r=u-1)}return t}function it(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function ot(t,e=n){let r,i=!1;if(1===e.length){let o;for(const a of t){const t=e(a);(i?n(t,o)>0:0===n(t,t))&&(r=a,o=t,i=!0)}}else for(const n of t)(i?e(n,r)>0:0===e(n,n))&&(r=n,i=!0);return r}function at(t,n,e){if(t=Float64Array.from(function*(t,n){if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(yield n);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(r=+r)>=r&&(yield r)}}(t,e)),(r=t.length)&&!isNaN(n=+n)){if(n<=0||r<2)return nt(t);if(n>=1)return J(t);var r,i=(r-1)*n,o=Math.floor(i),a=J(rt(t,o).subarray(0,o+1));return a+(nt(t.subarray(o+1))-a)*(i-o)}}function ut(t,n,e=o){if((r=t.length)&&!isNaN(n=+n)){if(n<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,a=Math.floor(i),u=+e(t[a],a,t);return u+(+e(t[a+1],a+1,t)-u)*(i-a)}}function ct(t,n,e=o){if(!isNaN(n=+n)){if(r=Float64Array.from(t,((n,r)=>o(e(t[r],r,t)))),n<=0)return et(r);if(n>=1)return tt(r);var r,i=Uint32Array.from(t,((t,n)=>n)),a=r.length-1,u=Math.floor(a*n);return rt(i,u,0,a,((t,n)=>O(r[t],r[n]))),(u=ot(i.subarray(0,u+1),(t=>r[t])))>=0?u:-1}}function ft(t){return Array.from(function*(t){for(const n of t)yield*n}(t))}function st(t,n){return[t,n]}function lt(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r+t(n)}function kt(t,n){return n=Math.max(0,t.bandwidth()-2*n)/2,t.round()&&(n=Math.round(n)),e=>+t(e)+n}function Ct(){return!this.__axis}function Pt(t,n){var e=[],r=null,i=null,o=6,a=6,u=3,c="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,f=t===xt||t===Tt?-1:1,s=t===Tt||t===wt?"x":"y",l=t===xt||t===Mt?St:Et;function h(h){var d=null==r?n.ticks?n.ticks.apply(n,e):n.domain():r,p=null==i?n.tickFormat?n.tickFormat.apply(n,e):mt:i,g=Math.max(o,0)+u,y=n.range(),v=+y[0]+c,_=+y[y.length-1]+c,b=(n.bandwidth?kt:Nt)(n.copy(),c),m=h.selection?h.selection():h,x=m.selectAll(".domain").data([null]),w=m.selectAll(".tick").data(d,n).order(),M=w.exit(),T=w.enter().append("g").attr("class","tick"),A=w.select("line"),S=w.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),w=w.merge(T),A=A.merge(T.append("line").attr("stroke","currentColor").attr(s+"2",f*o)),S=S.merge(T.append("text").attr("fill","currentColor").attr(s,f*g).attr("dy",t===xt?"0em":t===Mt?"0.71em":"0.32em")),h!==m&&(x=x.transition(h),w=w.transition(h),A=A.transition(h),S=S.transition(h),M=M.transition(h).attr("opacity",At).attr("transform",(function(t){return isFinite(t=b(t))?l(t+c):this.getAttribute("transform")})),T.attr("opacity",At).attr("transform",(function(t){var n=this.parentNode.__axis;return l((n&&isFinite(n=n(t))?n:b(t))+c)}))),M.remove(),x.attr("d",t===Tt||t===wt?a?"M"+f*a+","+v+"H"+c+"V"+_+"H"+f*a:"M"+c+","+v+"V"+_:a?"M"+v+","+f*a+"V"+c+"H"+_+"V"+f*a:"M"+v+","+c+"H"+_),w.attr("opacity",1).attr("transform",(function(t){return l(b(t)+c)})),A.attr(s+"2",f*o),S.attr(s,f*g).text(p),m.filter(Ct).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===wt?"start":t===Tt?"end":"middle"),m.each((function(){this.__axis=b}))}return h.scale=function(t){return arguments.length?(n=t,h):n},h.ticks=function(){return e=Array.from(arguments),h},h.tickArguments=function(t){return arguments.length?(e=null==t?[]:Array.from(t),h):e.slice()},h.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),h):r&&r.slice()},h.tickFormat=function(t){return arguments.length?(i=t,h):i},h.tickSize=function(t){return arguments.length?(o=a=+t,h):o},h.tickSizeInner=function(t){return arguments.length?(o=+t,h):o},h.tickSizeOuter=function(t){return arguments.length?(a=+t,h):a},h.tickPadding=function(t){return arguments.length?(u=+t,h):u},h.offset=function(t){return arguments.length?(c=+t,h):c},h}var zt={value:()=>{}};function $t(){for(var t,n=0,e=arguments.length,r={};n=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))),a=-1,u=o.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++a0)for(var e,r,i=new Array(e),o=0;o=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Ut.hasOwnProperty(n)?{space:Ut[n],local:t}:t}function Ot(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===qt&&n.documentElement.namespaceURI===qt?n.createElement(t):n.createElementNS(e,t)}}function Bt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Yt(t){var n=It(t);return(n.local?Bt:Ot)(n)}function Lt(){}function jt(t){return null==t?Lt:function(){return this.querySelector(t)}}function Ht(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function Xt(){return[]}function Gt(t){return null==t?Xt:function(){return this.querySelectorAll(t)}}function Vt(t){return function(){return this.matches(t)}}function Wt(t){return function(n){return n.matches(t)}}var Zt=Array.prototype.find;function Kt(){return this.firstElementChild}var Qt=Array.prototype.filter;function Jt(){return Array.from(this.children)}function tn(t){return new Array(t.length)}function nn(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function en(t,n,e,r,i,o){for(var a,u=0,c=n.length,f=o.length;un?1:t>=n?0:NaN}function cn(t){return function(){this.removeAttribute(t)}}function fn(t){return function(){this.removeAttributeNS(t.space,t.local)}}function sn(t,n){return function(){this.setAttribute(t,n)}}function ln(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function hn(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function dn(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function pn(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function gn(t){return function(){this.style.removeProperty(t)}}function yn(t,n,e){return function(){this.style.setProperty(t,n,e)}}function vn(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function _n(t,n){return t.style.getPropertyValue(n)||pn(t).getComputedStyle(t,null).getPropertyValue(n)}function bn(t){return function(){delete this[t]}}function mn(t,n){return function(){this[t]=n}}function xn(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function wn(t){return t.trim().split(/^|\s+/)}function Mn(t){return t.classList||new Tn(t)}function Tn(t){this._node=t,this._names=wn(t.getAttribute("class")||"")}function An(t,n){for(var e=Mn(t),r=-1,i=n.length;++r=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Gn=[null];function Vn(t,n){this._groups=t,this._parents=n}function Wn(){return new Vn([[document.documentElement]],Gn)}function Zn(t){return"string"==typeof t?new Vn([[document.querySelector(t)]],[document.documentElement]):new Vn([[t]],Gn)}Vn.prototype=Wn.prototype={constructor:Vn,select:function(t){"function"!=typeof t&&(t=jt(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i=m&&(m=b+1);!(_=y[m])&&++m=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=un);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o1?this.each((null==n?gn:"function"==typeof n?vn:yn)(t,n,null==e?"":e)):_n(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?bn:"function"==typeof n?xn:mn)(t,n)):this.node()[t]},classed:function(t,n){var e=wn(t+"");if(arguments.length<2){for(var r=Mn(this.node()),i=-1,o=e.length;++i=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}))}(t+""),a=o.length;if(!(arguments.length<2)){for(u=n?Ln:Yn,r=0;r()=>t;function fe(t,{sourceEvent:n,subject:e,target:r,identifier:i,active:o,x:a,y:u,dx:c,dy:f,dispatch:s}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:e,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:a,enumerable:!0,configurable:!0},y:{value:u,enumerable:!0,configurable:!0},dx:{value:c,enumerable:!0,configurable:!0},dy:{value:f,enumerable:!0,configurable:!0},_:{value:s}})}function se(t){return!t.ctrlKey&&!t.button}function le(){return this.parentNode}function he(t,n){return null==n?{x:t.x,y:t.y}:n}function de(){return navigator.maxTouchPoints||"ontouchstart"in this}function pe(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function ge(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function ye(){}fe.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var ve=.7,_e=1/ve,be="\\s*([+-]?\\d+)\\s*",me="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",xe="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",we=/^#([0-9a-f]{3,8})$/,Me=new RegExp(`^rgb\\(${be},${be},${be}\\)$`),Te=new RegExp(`^rgb\\(${xe},${xe},${xe}\\)$`),Ae=new RegExp(`^rgba\\(${be},${be},${be},${me}\\)$`),Se=new RegExp(`^rgba\\(${xe},${xe},${xe},${me}\\)$`),Ee=new RegExp(`^hsl\\(${me},${xe},${xe}\\)$`),Ne=new RegExp(`^hsla\\(${me},${xe},${xe},${me}\\)$`),ke={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ce(){return this.rgb().formatHex()}function Pe(){return this.rgb().formatRgb()}function ze(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=we.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?$e(n):3===e?new qe(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?De(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?De(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Me.exec(t))?new qe(n[1],n[2],n[3],1):(n=Te.exec(t))?new qe(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Ae.exec(t))?De(n[1],n[2],n[3],n[4]):(n=Se.exec(t))?De(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Ee.exec(t))?Le(n[1],n[2]/100,n[3]/100,1):(n=Ne.exec(t))?Le(n[1],n[2]/100,n[3]/100,n[4]):ke.hasOwnProperty(t)?$e(ke[t]):"transparent"===t?new qe(NaN,NaN,NaN,0):null}function $e(t){return new qe(t>>16&255,t>>8&255,255&t,1)}function De(t,n,e,r){return r<=0&&(t=n=e=NaN),new qe(t,n,e,r)}function Re(t){return t instanceof ye||(t=ze(t)),t?new qe((t=t.rgb()).r,t.g,t.b,t.opacity):new qe}function Fe(t,n,e,r){return 1===arguments.length?Re(t):new qe(t,n,e,null==r?1:r)}function qe(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Ue(){return`#${Ye(this.r)}${Ye(this.g)}${Ye(this.b)}`}function Ie(){const t=Oe(this.opacity);return`${1===t?"rgb(":"rgba("}${Be(this.r)}, ${Be(this.g)}, ${Be(this.b)}${1===t?")":`, ${t})`}`}function Oe(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Be(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ye(t){return((t=Be(t))<16?"0":"")+t.toString(16)}function Le(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new Xe(t,n,e,r)}function je(t){if(t instanceof Xe)return new Xe(t.h,t.s,t.l,t.opacity);if(t instanceof ye||(t=ze(t)),!t)return new Xe;if(t instanceof Xe)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,u=o-i,c=(o+i)/2;return u?(a=n===o?(e-r)/u+6*(e0&&c<1?0:a,new Xe(a,u,c,t.opacity)}function He(t,n,e,r){return 1===arguments.length?je(t):new Xe(t,n,e,null==r?1:r)}function Xe(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Ge(t){return(t=(t||0)%360)<0?t+360:t}function Ve(t){return Math.max(0,Math.min(1,t||0))}function We(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}pe(ye,ze,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Ce,formatHex:Ce,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return je(this).formatHsl()},formatRgb:Pe,toString:Pe}),pe(qe,Fe,ge(ye,{brighter(t){return t=null==t?_e:Math.pow(_e,t),new qe(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?ve:Math.pow(ve,t),new qe(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new qe(Be(this.r),Be(this.g),Be(this.b),Oe(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ue,formatHex:Ue,formatHex8:function(){return`#${Ye(this.r)}${Ye(this.g)}${Ye(this.b)}${Ye(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ie,toString:Ie})),pe(Xe,He,ge(ye,{brighter(t){return t=null==t?_e:Math.pow(_e,t),new Xe(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?ve:Math.pow(ve,t),new Xe(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new qe(We(t>=240?t-240:t+120,i,r),We(t,i,r),We(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Xe(Ge(this.h),Ve(this.s),Ve(this.l),Oe(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Oe(this.opacity);return`${1===t?"hsl(":"hsla("}${Ge(this.h)}, ${100*Ve(this.s)}%, ${100*Ve(this.l)}%${1===t?")":`, ${t})`}`}}));const Ze=Math.PI/180,Ke=180/Math.PI,Qe=.96422,Je=1,tr=.82521,nr=4/29,er=6/29,rr=3*er*er,ir=er*er*er;function or(t){if(t instanceof ur)return new ur(t.l,t.a,t.b,t.opacity);if(t instanceof pr)return gr(t);t instanceof qe||(t=Re(t));var n,e,r=lr(t.r),i=lr(t.g),o=lr(t.b),a=cr((.2225045*r+.7168786*i+.0606169*o)/Je);return r===i&&i===o?n=e=a:(n=cr((.4360747*r+.3850649*i+.1430804*o)/Qe),e=cr((.0139322*r+.0971045*i+.7141733*o)/tr)),new ur(116*a-16,500*(n-a),200*(a-e),t.opacity)}function ar(t,n,e,r){return 1===arguments.length?or(t):new ur(t,n,e,null==r?1:r)}function ur(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function cr(t){return t>ir?Math.pow(t,1/3):t/rr+nr}function fr(t){return t>er?t*t*t:rr*(t-nr)}function sr(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function lr(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function hr(t){if(t instanceof pr)return new pr(t.h,t.c,t.l,t.opacity);if(t instanceof ur||(t=or(t)),0===t.a&&0===t.b)return new pr(NaN,0=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,u=r()=>t;function Cr(t,n){return function(e){return t+e*n}}function Pr(t,n){var e=n-t;return e?Cr(t,e>180||e<-180?e-360*Math.round(e/360):e):kr(isNaN(t)?n:t)}function zr(t){return 1==(t=+t)?$r:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):kr(isNaN(n)?e:n)}}function $r(t,n){var e=n-t;return e?Cr(t,e):kr(isNaN(t)?n:t)}var Dr=function t(n){var e=zr(n);function r(t,n){var r=e((t=Fe(t)).r,(n=Fe(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),a=$r(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function Rr(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),u=new Array(i);for(e=0;eo&&(i=n.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,c.push({i:a,x:Yr(e,r)})),o=Hr.lastIndex;return o180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:Yr(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,a.rotate,u,c),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:Yr(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,a.skewX,u,c),function(t,n,e,r,o,a){if(t!==e||n!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:Yr(t,e)},{i:u-2,x:Yr(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,u,c),o=a=null,function(t){for(var n,e=-1,r=c.length;++e=0&&n._call.call(void 0,t),n=n._next;--yi}function Ci(){xi=(mi=Mi.now())+wi,yi=vi=0;try{ki()}finally{yi=0,function(){var t,n,e=pi,r=1/0;for(;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:pi=n);gi=t,zi(r)}(),xi=0}}function Pi(){var t=Mi.now(),n=t-mi;n>bi&&(wi-=n,mi=t)}function zi(t){yi||(vi&&(vi=clearTimeout(vi)),t-xi>24?(t<1/0&&(vi=setTimeout(Ci,t-Mi.now()-wi)),_i&&(_i=clearInterval(_i))):(_i||(mi=Mi.now(),_i=setInterval(Pi,bi)),yi=1,Ti(Ci)))}function $i(t,n,e){var r=new Ei;return n=null==n?0:+n,r.restart((e=>{r.stop(),t(e+n)}),n,e),r}Ei.prototype=Ni.prototype={constructor:Ei,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Ai():+e)+(null==n?0:+n),this._next||gi===this||(gi?gi._next=this:pi=this,gi=this),this._call=t,this._time=e,zi()},stop:function(){this._call&&(this._call=null,this._time=1/0,zi())}};var Di=$t("start","end","cancel","interrupt"),Ri=[],Fi=0,qi=1,Ui=2,Ii=3,Oi=4,Bi=5,Yi=6;function Li(t,n,e,r,i,o){var a=t.__transition;if(a){if(e in a)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(t){e.state=qi,e.timer.restart(a,e.delay,e.time),e.delay<=t&&a(t-e.delay)}function a(o){var f,s,l,h;if(e.state!==qi)return c();for(f in i)if((h=i[f]).name===e.name){if(h.state===Ii)return $i(a);h.state===Oi?(h.state=Yi,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[f]):+fFi)throw new Error("too late; already scheduled");return e}function Hi(t,n){var e=Xi(t,n);if(e.state>Ii)throw new Error("too late; already running");return e}function Xi(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function Gi(t,n){var e,r,i,o=t.__transition,a=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>Ui&&e.state=0&&(t=t.slice(0,n)),!t||"start"===t}))}(n)?ji:Hi;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(n,e),a.on=i}}(e,t,n))},attr:function(t,n){var e=It(t),r="transform"===e?ni:Ki;return this.attrTween(t,"function"==typeof n?(e.local?ro:eo)(e,r,Zi(this,"attr."+t,n)):null==n?(e.local?Ji:Qi)(e):(e.local?no:to)(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=It(t);return this.tween(e,(r.local?io:oo)(r,n))},style:function(t,n,e){var r="transform"==(t+="")?ti:Ki;return null==n?this.styleTween(t,function(t,n){var e,r,i;return function(){var o=_n(this,t),a=(this.style.removeProperty(t),_n(this,t));return o===a?null:o===e&&a===r?i:i=n(e=o,r=a)}}(t,r)).on("end.style."+t,lo(t)):"function"==typeof n?this.styleTween(t,function(t,n,e){var r,i,o;return function(){var a=_n(this,t),u=e(this),c=u+"";return null==u&&(this.style.removeProperty(t),c=u=_n(this,t)),a===c?null:a===r&&c===i?o:(i=c,o=n(r=a,u))}}(t,r,Zi(this,"style."+t,n))).each(function(t,n){var e,r,i,o,a="style."+n,u="end."+a;return function(){var c=Hi(this,t),f=c.on,s=null==c.value[a]?o||(o=lo(n)):void 0;f===e&&i===s||(r=(e=f).copy()).on(u,i=s),c.on=r}}(this._id,t)):this.styleTween(t,function(t,n,e){var r,i,o=e+"";return function(){var a=_n(this,t);return a===o?null:a===r?i:i=n(r=a,e)}}(t,r,n),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,function(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,n,e){return function(r){this.style.setProperty(t,n.call(this,r),e)}}(t,o,e)),r}return o._value=n,o}(t,n,null==e?"":e))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var n=t(this);this.textContent=null==n?"":n}}(Zi(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;return this.tween(n,function(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){return function(n){this.textContent=t.call(this,n)}}(r)),n}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}(this._id))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=Xi(this.node(),e).tween,o=0,a=i.length;o()=>t;function Qo(t,{sourceEvent:n,target:e,selection:r,mode:i,dispatch:o}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},selection:{value:r,enumerable:!0,configurable:!0},mode:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function Jo(t){t.preventDefault(),t.stopImmediatePropagation()}var ta={name:"drag"},na={name:"space"},ea={name:"handle"},ra={name:"center"};const{abs:ia,max:oa,min:aa}=Math;function ua(t){return[+t[0],+t[1]]}function ca(t){return[ua(t[0]),ua(t[1])]}var fa={name:"x",handles:["w","e"].map(va),input:function(t,n){return null==t?null:[[+t[0],n[0][1]],[+t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},sa={name:"y",handles:["n","s"].map(va),input:function(t,n){return null==t?null:[[n[0][0],+t[0]],[n[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},la={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(va),input:function(t){return null==t?null:ca(t)},output:function(t){return t}},ha={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},da={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},pa={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},ga={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},ya={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function va(t){return{type:t}}function _a(t){return!t.ctrlKey&&!t.button}function ba(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function ma(){return navigator.maxTouchPoints||"ontouchstart"in this}function xa(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function wa(t){var n,e=ba,r=_a,i=ma,o=!0,a=$t("start","brush","end"),u=6;function c(n){var e=n.property("__brush",g).selectAll(".overlay").data([va("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",ha.overlay).merge(e).each((function(){var t=xa(this).extent;Zn(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),n.selectAll(".selection").data([va("selection")]).enter().append("rect").attr("class","selection").attr("cursor",ha.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=n.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return ha[t.type]})),n.each(f).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",h).filter(i).on("touchstart.brush",h).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function f(){var t=Zn(this),n=xa(this).selection;n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?n[1][0]-u/2:n[0][0]-u/2})).attr("y",(function(t){return"s"===t.type[0]?n[1][1]-u/2:n[0][1]-u/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+u:u})).attr("height",(function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+u:u}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function s(t,n,e){var r=t.__brush.emitter;return!r||e&&r.clean?new l(t,n,e):r}function l(t,n,e){this.that=t,this.args=n,this.state=t.__brush,this.active=0,this.clean=e}function h(e){if((!n||e.touches)&&r.apply(this,arguments)){var i,a,u,c,l,h,d,p,g,y,v,_=this,b=e.target.__data__.type,m="selection"===(o&&e.metaKey?b="overlay":b)?ta:o&&e.altKey?ra:ea,x=t===sa?null:ga[b],w=t===fa?null:ya[b],M=xa(_),T=M.extent,A=M.selection,S=T[0][0],E=T[0][1],N=T[1][0],k=T[1][1],C=0,P=0,z=x&&w&&o&&e.shiftKey,$=Array.from(e.touches||[e],(t=>{const n=t.identifier;return(t=ne(t,_)).point0=t.slice(),t.identifier=n,t}));Gi(_);var D=s(_,arguments,!0).beforestart();if("overlay"===b){A&&(g=!0);const n=[$[0],$[1]||$[0]];M.selection=A=[[i=t===sa?S:aa(n[0][0],n[1][0]),u=t===fa?E:aa(n[0][1],n[1][1])],[l=t===sa?N:oa(n[0][0],n[1][0]),d=t===fa?k:oa(n[0][1],n[1][1])]],$.length>1&&I(e)}else i=A[0][0],u=A[0][1],l=A[1][0],d=A[1][1];a=i,c=u,h=l,p=d;var R=Zn(_).attr("pointer-events","none"),F=R.selectAll(".overlay").attr("cursor",ha[b]);if(e.touches)D.moved=U,D.ended=O;else{var q=Zn(e.view).on("mousemove.brush",U,!0).on("mouseup.brush",O,!0);o&&q.on("keydown.brush",(function(t){switch(t.keyCode){case 16:z=x&&w;break;case 18:m===ea&&(x&&(l=h-C*x,i=a+C*x),w&&(d=p-P*w,u=c+P*w),m=ra,I(t));break;case 32:m!==ea&&m!==ra||(x<0?l=h-C:x>0&&(i=a-C),w<0?d=p-P:w>0&&(u=c-P),m=na,F.attr("cursor",ha.selection),I(t));break;default:return}Jo(t)}),!0).on("keyup.brush",(function(t){switch(t.keyCode){case 16:z&&(y=v=z=!1,I(t));break;case 18:m===ra&&(x<0?l=h:x>0&&(i=a),w<0?d=p:w>0&&(u=c),m=ea,I(t));break;case 32:m===na&&(t.altKey?(x&&(l=h-C*x,i=a+C*x),w&&(d=p-P*w,u=c+P*w),m=ra):(x<0?l=h:x>0&&(i=a),w<0?d=p:w>0&&(u=c),m=ea),F.attr("cursor",ha[b]),I(t));break;default:return}Jo(t)}),!0),ae(e.view)}f.call(_),D.start(e,m.name)}function U(t){for(const n of t.changedTouches||[t])for(const t of $)t.identifier===n.identifier&&(t.cur=ne(n,_));if(z&&!y&&!v&&1===$.length){const t=$[0];ia(t.cur[0]-t[0])>ia(t.cur[1]-t[1])?v=!0:y=!0}for(const t of $)t.cur&&(t[0]=t.cur[0],t[1]=t.cur[1]);g=!0,Jo(t),I(t)}function I(t){const n=$[0],e=n.point0;var r;switch(C=n[0]-e[0],P=n[1]-e[1],m){case na:case ta:x&&(C=oa(S-i,aa(N-l,C)),a=i+C,h=l+C),w&&(P=oa(E-u,aa(k-d,P)),c=u+P,p=d+P);break;case ea:$[1]?(x&&(a=oa(S,aa(N,$[0][0])),h=oa(S,aa(N,$[1][0])),x=1),w&&(c=oa(E,aa(k,$[0][1])),p=oa(E,aa(k,$[1][1])),w=1)):(x<0?(C=oa(S-i,aa(N-i,C)),a=i+C,h=l):x>0&&(C=oa(S-l,aa(N-l,C)),a=i,h=l+C),w<0?(P=oa(E-u,aa(k-u,P)),c=u+P,p=d):w>0&&(P=oa(E-d,aa(k-d,P)),c=u,p=d+P));break;case ra:x&&(a=oa(S,aa(N,i-C*x)),h=oa(S,aa(N,l+C*x))),w&&(c=oa(E,aa(k,u-P*w)),p=oa(E,aa(k,d+P*w)))}ht+e))}function za(t,n){var e=0,r=null,i=null,o=null;function a(a){var u,c=a.length,f=new Array(c),s=Pa(0,c),l=new Array(c*c),h=new Array(c),d=0;a=Float64Array.from({length:c*c},n?(t,n)=>a[n%c][n/c|0]:(t,n)=>a[n/c|0][n%c]);for(let n=0;nr(f[t],f[n])));for(const e of s){const r=n;if(t){const t=Pa(1+~c,c).filter((t=>t<0?a[~t*c+e]:a[e*c+t]));i&&t.sort(((t,n)=>i(t<0?-a[~t*c+e]:a[e*c+t],n<0?-a[~n*c+e]:a[e*c+n])));for(const r of t)if(r<0){(l[~r*c+e]||(l[~r*c+e]={source:null,target:null})).target={index:e,startAngle:n,endAngle:n+=a[~r*c+e]*d,value:a[~r*c+e]}}else{(l[e*c+r]||(l[e*c+r]={source:null,target:null})).source={index:e,startAngle:n,endAngle:n+=a[e*c+r]*d,value:a[e*c+r]}}h[e]={index:e,startAngle:r,endAngle:n,value:f[e]}}else{const t=Pa(0,c).filter((t=>a[e*c+t]||a[t*c+e]));i&&t.sort(((t,n)=>i(a[e*c+t],a[e*c+n])));for(const r of t){let t;if(e=0))throw new Error(`invalid digits: ${t}`);if(n>15)return qa;const e=10**n;return function(t){this._+=t[0];for(let n=1,r=t.length;nRa)if(Math.abs(s*u-c*f)>Ra&&i){let h=e-o,d=r-a,p=u*u+c*c,g=h*h+d*d,y=Math.sqrt(p),v=Math.sqrt(l),_=i*Math.tan(($a-Math.acos((p+l-g)/(2*y*v)))/2),b=_/v,m=_/y;Math.abs(b-1)>Ra&&this._append`L${t+b*f},${n+b*s}`,this._append`A${i},${i},0,0,${+(s*h>f*d)},${this._x1=t+m*u},${this._y1=n+m*c}`}else this._append`L${this._x1=t},${this._y1=n}`;else;}arc(t,n,e,r,i,o){if(t=+t,n=+n,o=!!o,(e=+e)<0)throw new Error(`negative radius: ${e}`);let a=e*Math.cos(r),u=e*Math.sin(r),c=t+a,f=n+u,s=1^o,l=o?r-i:i-r;null===this._x1?this._append`M${c},${f}`:(Math.abs(this._x1-c)>Ra||Math.abs(this._y1-f)>Ra)&&this._append`L${c},${f}`,e&&(l<0&&(l=l%Da+Da),l>Fa?this._append`A${e},${e},0,1,${s},${t-a},${n-u}A${e},${e},0,1,${s},${this._x1=c},${this._y1=f}`:l>Ra&&this._append`A${e},${e},0,${+(l>=$a)},${s},${this._x1=t+e*Math.cos(i)},${this._y1=n+e*Math.sin(i)}`)}rect(t,n,e,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${e=+e}v${+r}h${-e}Z`}toString(){return this._}};function Ia(){return new Ua}Ia.prototype=Ua.prototype;var Oa=Array.prototype.slice;function Ba(t){return function(){return t}}function Ya(t){return t.source}function La(t){return t.target}function ja(t){return t.radius}function Ha(t){return t.startAngle}function Xa(t){return t.endAngle}function Ga(){return 0}function Va(){return 10}function Wa(t){var n=Ya,e=La,r=ja,i=ja,o=Ha,a=Xa,u=Ga,c=null;function f(){var f,s=n.apply(this,arguments),l=e.apply(this,arguments),h=u.apply(this,arguments)/2,d=Oa.call(arguments),p=+r.apply(this,(d[0]=s,d)),g=o.apply(this,d)-Ea,y=a.apply(this,d)-Ea,v=+i.apply(this,(d[0]=l,d)),_=o.apply(this,d)-Ea,b=a.apply(this,d)-Ea;if(c||(c=f=Ia()),h>Ca&&(Ma(y-g)>2*h+Ca?y>g?(g+=h,y-=h):(g-=h,y+=h):g=y=(g+y)/2,Ma(b-_)>2*h+Ca?b>_?(_+=h,b-=h):(_-=h,b+=h):_=b=(_+b)/2),c.moveTo(p*Ta(g),p*Aa(g)),c.arc(0,0,p,g,y),g!==_||y!==b)if(t){var m=v-+t.apply(this,arguments),x=(_+b)/2;c.quadraticCurveTo(0,0,m*Ta(_),m*Aa(_)),c.lineTo(v*Ta(x),v*Aa(x)),c.lineTo(m*Ta(b),m*Aa(b))}else c.quadraticCurveTo(0,0,v*Ta(_),v*Aa(_)),c.arc(0,0,v,_,b);if(c.quadraticCurveTo(0,0,p*Ta(g),p*Aa(g)),c.closePath(),f)return c=null,f+""||null}return t&&(f.headRadius=function(n){return arguments.length?(t="function"==typeof n?n:Ba(+n),f):t}),f.radius=function(t){return arguments.length?(r=i="function"==typeof t?t:Ba(+t),f):r},f.sourceRadius=function(t){return arguments.length?(r="function"==typeof t?t:Ba(+t),f):r},f.targetRadius=function(t){return arguments.length?(i="function"==typeof t?t:Ba(+t),f):i},f.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:Ba(+t),f):o},f.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:Ba(+t),f):a},f.padAngle=function(t){return arguments.length?(u="function"==typeof t?t:Ba(+t),f):u},f.source=function(t){return arguments.length?(n=t,f):n},f.target=function(t){return arguments.length?(e=t,f):e},f.context=function(t){return arguments.length?(c=null==t?null:t,f):c},f}var Za=Array.prototype.slice;function Ka(t,n){return t-n}var Qa=t=>()=>t;function Ja(t,n){for(var e,r=-1,i=n.length;++rr!=d>r&&e<(h-f)*(r-s)/(d-s)+f&&(i=-i)}return i}function nu(t,n,e){var r,i,o,a;return function(t,n,e){return(n[0]-t[0])*(e[1]-t[1])==(e[0]-t[0])*(n[1]-t[1])}(t,n,e)&&(i=t[r=+(t[0]===n[0])],o=e[r],a=n[r],i<=o&&o<=a||a<=o&&o<=i)}function eu(){}var ru=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function iu(){var t=1,n=1,e=K,r=u;function i(t){var n=e(t);if(Array.isArray(n))n=n.slice().sort(Ka);else{const e=M(t,ou);for(n=G(...Z(e[0],e[1],n),n);n[n.length-1]>=e[1];)n.pop();for(;n[1]o(t,n)))}function o(e,i){const o=null==i?NaN:+i;if(isNaN(o))throw new Error(`invalid value: ${i}`);var u=[],c=[];return function(e,r,i){var o,u,c,f,s,l,h=new Array,d=new Array;o=u=-1,f=au(e[0],r),ru[f<<1].forEach(p);for(;++o=r,ru[s<<2].forEach(p);for(;++o0?u.push([t]):c.push(t)})),c.forEach((function(t){for(var n,e=0,r=u.length;e0&&o0&&a=0&&o>=0))throw new Error("invalid size");return t=r,n=o,i},i.thresholds=function(t){return arguments.length?(e="function"==typeof t?t:Array.isArray(t)?Qa(Za.call(t)):Qa(t),i):e},i.smooth=function(t){return arguments.length?(r=t?u:eu,i):r===u},i}function ou(t){return isFinite(t)?t:NaN}function au(t,n){return null!=t&&+t>=n}function uu(t){return null==t||isNaN(t=+t)?-1/0:t}function cu(t,n,e,r){const i=r-n,o=e-n,a=isFinite(i)||isFinite(o)?i/o:Math.sign(i)/Math.sign(o);return isNaN(a)?t:t+a-.5}function fu(t){return t[0]}function su(t){return t[1]}function lu(){return 1}const hu=134217729,du=33306690738754706e-32;function pu(t,n,e,r,i){let o,a,u,c,f=n[0],s=r[0],l=0,h=0;s>f==s>-f?(o=f,f=n[++l]):(o=s,s=r[++h]);let d=0;if(lf==s>-f?(a=f+o,u=o-(a-f),f=n[++l]):(a=s+o,u=o-(a-s),s=r[++h]),o=a,0!==u&&(i[d++]=u);lf==s>-f?(a=o+f,c=a-o,u=o-(a-c)+(f-c),f=n[++l]):(a=o+s,c=a-o,u=o-(a-c)+(s-c),s=r[++h]),o=a,0!==u&&(i[d++]=u);for(;l=33306690738754716e-32*f?c:-function(t,n,e,r,i,o,a){let u,c,f,s,l,h,d,p,g,y,v,_,b,m,x,w,M,T;const A=t-i,S=e-i,E=n-o,N=r-o;m=A*N,h=hu*A,d=h-(h-A),p=A-d,h=hu*N,g=h-(h-N),y=N-g,x=p*y-(m-d*g-p*g-d*y),w=E*S,h=hu*E,d=h-(h-E),p=E-d,h=hu*S,g=h-(h-S),y=S-g,M=p*y-(w-d*g-p*g-d*y),v=x-M,l=x-v,_u[0]=x-(v+l)+(l-M),_=m+v,l=_-m,b=m-(_-l)+(v-l),v=b-w,l=b-v,_u[1]=b-(v+l)+(l-w),T=_+v,l=T-_,_u[2]=_-(T-l)+(v-l),_u[3]=T;let k=function(t,n){let e=n[0];for(let r=1;r=C||-k>=C)return k;if(l=t-A,u=t-(A+l)+(l-i),l=e-S,f=e-(S+l)+(l-i),l=n-E,c=n-(E+l)+(l-o),l=r-N,s=r-(N+l)+(l-o),0===u&&0===c&&0===f&&0===s)return k;if(C=vu*a+du*Math.abs(k),k+=A*s+N*u-(E*f+S*c),k>=C||-k>=C)return k;m=u*N,h=hu*u,d=h-(h-u),p=u-d,h=hu*N,g=h-(h-N),y=N-g,x=p*y-(m-d*g-p*g-d*y),w=c*S,h=hu*c,d=h-(h-c),p=c-d,h=hu*S,g=h-(h-S),y=S-g,M=p*y-(w-d*g-p*g-d*y),v=x-M,l=x-v,wu[0]=x-(v+l)+(l-M),_=m+v,l=_-m,b=m-(_-l)+(v-l),v=b-w,l=b-v,wu[1]=b-(v+l)+(l-w),T=_+v,l=T-_,wu[2]=_-(T-l)+(v-l),wu[3]=T;const P=pu(4,_u,4,wu,bu);m=A*s,h=hu*A,d=h-(h-A),p=A-d,h=hu*s,g=h-(h-s),y=s-g,x=p*y-(m-d*g-p*g-d*y),w=E*f,h=hu*E,d=h-(h-E),p=E-d,h=hu*f,g=h-(h-f),y=f-g,M=p*y-(w-d*g-p*g-d*y),v=x-M,l=x-v,wu[0]=x-(v+l)+(l-M),_=m+v,l=_-m,b=m-(_-l)+(v-l),v=b-w,l=b-v,wu[1]=b-(v+l)+(l-w),T=_+v,l=T-_,wu[2]=_-(T-l)+(v-l),wu[3]=T;const z=pu(P,bu,4,wu,mu);m=u*s,h=hu*u,d=h-(h-u),p=u-d,h=hu*s,g=h-(h-s),y=s-g,x=p*y-(m-d*g-p*g-d*y),w=c*f,h=hu*c,d=h-(h-c),p=c-d,h=hu*f,g=h-(h-f),y=f-g,M=p*y-(w-d*g-p*g-d*y),v=x-M,l=x-v,wu[0]=x-(v+l)+(l-M),_=m+v,l=_-m,b=m-(_-l)+(v-l),v=b-w,l=b-v,wu[1]=b-(v+l)+(l-w),T=_+v,l=T-_,wu[2]=_-(T-l)+(v-l),wu[3]=T;const $=pu(z,mu,4,wu,xu);return xu[$-1]}(t,n,e,r,i,o,f)}const Tu=Math.pow(2,-52),Au=new Uint32Array(512);class Su{static from(t,n=zu,e=$u){const r=t.length,i=new Float64Array(2*r);for(let o=0;o>1;if(n>0&&"number"!=typeof t[0])throw new Error("Expected coords to contain numbers.");this.coords=t;const e=Math.max(2*n-5,0);this._triangles=new Uint32Array(3*e),this._halfedges=new Int32Array(3*e),this._hashSize=Math.ceil(Math.sqrt(n)),this._hullPrev=new Uint32Array(n),this._hullNext=new Uint32Array(n),this._hullTri=new Uint32Array(n),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(n),this._dists=new Float64Array(n),this.update()}update(){const{coords:t,_hullPrev:n,_hullNext:e,_hullTri:r,_hullHash:i}=this,o=t.length>>1;let a=1/0,u=1/0,c=-1/0,f=-1/0;for(let n=0;nc&&(c=e),r>f&&(f=r),this._ids[n]=n}const s=(a+c)/2,l=(u+f)/2;let h,d,p;for(let n=0,e=1/0;n0&&(d=n,e=r)}let v=t[2*d],_=t[2*d+1],b=1/0;for(let n=0;nr&&(n[e++]=i,r=o)}return this.hull=n.subarray(0,e),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(Mu(g,y,v,_,m,x)<0){const t=d,n=v,e=_;d=p,v=m,_=x,p=t,m=n,x=e}const w=function(t,n,e,r,i,o){const a=e-t,u=r-n,c=i-t,f=o-n,s=a*a+u*u,l=c*c+f*f,h=.5/(a*f-u*c),d=t+(f*s-u*l)*h,p=n+(a*l-c*s)*h;return{x:d,y:p}}(g,y,v,_,m,x);this._cx=w.x,this._cy=w.y;for(let n=0;n0&&Math.abs(f-o)<=Tu&&Math.abs(s-a)<=Tu)continue;if(o=f,a=s,c===h||c===d||c===p)continue;let l=0;for(let t=0,n=this._hashKey(f,s);t=0;)if(y=g,y===l){y=-1;break}if(-1===y)continue;let v=this._addTriangle(y,c,e[y],-1,-1,r[y]);r[c]=this._legalize(v+2),r[y]=v,M++;let _=e[y];for(;g=e[_],Mu(f,s,t[2*_],t[2*_+1],t[2*g],t[2*g+1])<0;)v=this._addTriangle(_,c,g,r[c],-1,r[_]),r[c]=this._legalize(v+2),e[_]=_,M--,_=g;if(y===l)for(;g=n[y],Mu(f,s,t[2*g],t[2*g+1],t[2*y],t[2*y+1])<0;)v=this._addTriangle(g,c,y,-1,r[y],r[g]),this._legalize(v+2),r[g]=v,e[y]=y,M--,y=g;this._hullStart=n[c]=y,e[y]=n[_]=c,e[c]=_,i[this._hashKey(f,s)]=c,i[this._hashKey(t[2*y],t[2*y+1])]=y}this.hull=new Uint32Array(M);for(let t=0,n=this._hullStart;t0?3-e:1+e)/4}(t-this._cx,n-this._cy)*this._hashSize)%this._hashSize}_legalize(t){const{_triangles:n,_halfedges:e,coords:r}=this;let i=0,o=0;for(;;){const a=e[t],u=t-t%3;if(o=u+(t+2)%3,-1===a){if(0===i)break;t=Au[--i];continue}const c=a-a%3,f=u+(t+1)%3,s=c+(a+2)%3,l=n[o],h=n[t],d=n[f],p=n[s];if(Nu(r[2*l],r[2*l+1],r[2*h],r[2*h+1],r[2*d],r[2*d+1],r[2*p],r[2*p+1])){n[t]=p,n[a]=l;const r=e[s];if(-1===r){let n=this._hullStart;do{if(this._hullTri[n]===s){this._hullTri[n]=t;break}n=this._hullPrev[n]}while(n!==this._hullStart)}this._link(t,r),this._link(a,e[o]),this._link(o,s);const u=c+(a+1)%3;i=e&&n[t[a]]>o;)t[a+1]=t[a--];t[a+1]=r}else{let i=e+1,o=r;Pu(t,e+r>>1,i),n[t[e]]>n[t[r]]&&Pu(t,e,r),n[t[i]]>n[t[r]]&&Pu(t,i,r),n[t[e]]>n[t[i]]&&Pu(t,e,i);const a=t[i],u=n[a];for(;;){do{i++}while(n[t[i]]u);if(o=o-e?(Cu(t,n,i,r),Cu(t,n,e,o-1)):(Cu(t,n,e,o-1),Cu(t,n,i,r))}}function Pu(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function zu(t){return t[0]}function $u(t){return t[1]}const Du=1e-6;class Ru{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(t,n){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(t,n){this._+=`L${this._x1=+t},${this._y1=+n}`}arc(t,n,e){const r=(t=+t)+(e=+e),i=n=+n;if(e<0)throw new Error("negative radius");null===this._x1?this._+=`M${r},${i}`:(Math.abs(this._x1-r)>Du||Math.abs(this._y1-i)>Du)&&(this._+="L"+r+","+i),e&&(this._+=`A${e},${e},0,1,1,${t-e},${n}A${e},${e},0,1,1,${this._x1=r},${this._y1=i}`)}rect(t,n,e,r){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${+e}v${+r}h${-e}Z`}value(){return this._||null}}class Fu{constructor(){this._=[]}moveTo(t,n){this._.push([t,n])}closePath(){this._.push(this._[0].slice())}lineTo(t,n){this._.push([t,n])}value(){return this._.length?this._:null}}class qu{constructor(t,[n,e,r,i]=[0,0,960,500]){if(!((r=+r)>=(n=+n)&&(i=+i)>=(e=+e)))throw new Error("invalid bounds");this.delaunay=t,this._circumcenters=new Float64Array(2*t.points.length),this.vectors=new Float64Array(2*t.points.length),this.xmax=r,this.xmin=n,this.ymax=i,this.ymin=e,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:t,hull:n,triangles:e},vectors:r}=this;let i,o;const a=this.circumcenters=this._circumcenters.subarray(0,e.length/3*2);for(let r,u,c=0,f=0,s=e.length;c1;)i-=2;for(let t=2;t0){if(n>=this.ymax)return null;(i=(this.ymax-n)/r)0){if(t>=this.xmax)return null;(i=(this.xmax-t)/e)this.xmax?2:0)|(nthis.ymax?8:0)}_simplify(t){if(t&&t.length>4){for(let n=0;n2&&function(t){const{triangles:n,coords:e}=t;for(let t=0;t1e-10)return!1}return!0}(t)){this.collinear=Int32Array.from({length:n.length/2},((t,n)=>n)).sort(((t,e)=>n[2*t]-n[2*e]||n[2*t+1]-n[2*e+1]));const t=this.collinear[0],e=this.collinear[this.collinear.length-1],r=[n[2*t],n[2*t+1],n[2*e],n[2*e+1]],i=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let t=0,e=n.length/2;t0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],o[r[0]]=1,2===r.length&&(o[r[1]]=0,this.triangles[1]=r[1],this.triangles[2]=r[1]))}voronoi(t){return new qu(this,t)}*neighbors(t){const{inedges:n,hull:e,_hullIndex:r,halfedges:i,triangles:o,collinear:a}=this;if(a){const n=a.indexOf(t);return n>0&&(yield a[n-1]),void(n=0&&i!==e&&i!==r;)e=i;return i}_step(t,n,e){const{inedges:r,hull:i,_hullIndex:o,halfedges:a,triangles:u,points:c}=this;if(-1===r[t]||!c.length)return(t+1)%(c.length>>1);let f=t,s=Iu(n-c[2*t],2)+Iu(e-c[2*t+1],2);const l=r[t];let h=l;do{let r=u[h];const l=Iu(n-c[2*r],2)+Iu(e-c[2*r+1],2);if(l9999?"+"+Ku(n,6):Ku(n,4))+"-"+Ku(t.getUTCMonth()+1,2)+"-"+Ku(t.getUTCDate(),2)+(o?"T"+Ku(e,2)+":"+Ku(r,2)+":"+Ku(i,2)+"."+Ku(o,3)+"Z":i?"T"+Ku(e,2)+":"+Ku(r,2)+":"+Ku(i,2)+"Z":r||e?"T"+Ku(e,2)+":"+Ku(r,2)+"Z":"")}function Ju(t){var n=new RegExp('["'+t+"\n\r]"),e=t.charCodeAt(0);function r(t,n){var r,i=[],o=t.length,a=0,u=0,c=o<=0,f=!1;function s(){if(c)return Hu;if(f)return f=!1,ju;var n,r,i=a;if(t.charCodeAt(i)===Xu){for(;a++=o?c=!0:(r=t.charCodeAt(a++))===Gu?f=!0:r===Vu&&(f=!0,t.charCodeAt(a)===Gu&&++a),t.slice(i+1,n-1).replace(/""/g,'"')}for(;amc(n,e).then((n=>(new DOMParser).parseFromString(n,t)))}var Sc=Ac("application/xml"),Ec=Ac("text/html"),Nc=Ac("image/svg+xml");function kc(t,n,e,r){if(isNaN(n)||isNaN(e))return t;var i,o,a,u,c,f,s,l,h,d=t._root,p={data:r},g=t._x0,y=t._y0,v=t._x1,_=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((f=n>=(o=(g+v)/2))?g=o:v=o,(s=e>=(a=(y+_)/2))?y=a:_=a,i=d,!(d=d[l=s<<1|f]))return i[l]=p,t;if(u=+t._x.call(null,d.data),c=+t._y.call(null,d.data),n===u&&e===c)return p.next=d,i?i[l]=p:t._root=p,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(o=(g+v)/2))?g=o:v=o,(s=e>=(a=(y+_)/2))?y=a:_=a}while((l=s<<1|f)==(h=(c>=a)<<1|u>=o));return i[h]=d,i[l]=p,t}function Cc(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i}function Pc(t){return t[0]}function zc(t){return t[1]}function $c(t,n,e){var r=new Dc(null==n?Pc:n,null==e?zc:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function Dc(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Rc(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}var Fc=$c.prototype=Dc.prototype;function qc(t){return function(){return t}}function Uc(t){return 1e-6*(t()-.5)}function Ic(t){return t.x+t.vx}function Oc(t){return t.y+t.vy}function Bc(t){return t.index}function Yc(t,n){var e=t.get(n);if(!e)throw new Error("node not found: "+n);return e}Fc.copy=function(){var t,n,e=new Dc(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=Rc(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=Rc(n));return e},Fc.add=function(t){const n=+this._x.call(null,t),e=+this._y.call(null,t);return kc(this.cover(n,e),n,e,t)},Fc.addAll=function(t){var n,e,r,i,o=t.length,a=new Array(o),u=new Array(o),c=1/0,f=1/0,s=-1/0,l=-1/0;for(e=0;es&&(s=r),il&&(l=i));if(c>s||f>l)return this;for(this.cover(c,f).cover(s,l),e=0;et||t>=i||r>n||n>=o;)switch(u=(nh||(o=c.y0)>d||(a=c.x1)=v)<<1|t>=y)&&(c=p[p.length-1],p[p.length-1]=p[p.length-1-f],p[p.length-1-f]=c)}else{var _=t-+this._x.call(null,g.data),b=n-+this._y.call(null,g.data),m=_*_+b*b;if(m=(u=(p+y)/2))?p=u:y=u,(s=a>=(c=(g+v)/2))?g=c:v=c,n=d,!(d=d[l=s<<1|f]))return this;if(!d.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[h]=d:this._root=d),this):(this._root=i,this)},Fc.removeAll=function(t){for(var n=0,e=t.length;n1?r[0]+r.slice(2):r,+t.slice(e+1)]}function Zc(t){return(t=Wc(Math.abs(t)))?t[1]:NaN}var Kc,Qc=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Jc(t){if(!(n=Qc.exec(t)))throw new Error("invalid format: "+t);var n;return new tf({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function tf(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function nf(t,n){var e=Wc(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}Jc.prototype=tf.prototype,tf.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var ef={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>nf(100*t,n),r:nf,s:function(t,n){var e=Wc(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(Kc=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Wc(t,Math.max(0,n+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function rf(t){return t}var of,af=Array.prototype.map,uf=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function cf(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?rf:(n=af.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,u=n[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),o.push(t.substring(i-=u,i+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return o.reverse().join(e)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?rf:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(af.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",f=void 0===t.minus?"−":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function l(t){var n=(t=Jc(t)).fill,e=t.align,l=t.sign,h=t.symbol,d=t.zero,p=t.width,g=t.comma,y=t.precision,v=t.trim,_=t.type;"n"===_?(g=!0,_="g"):ef[_]||(void 0===y&&(y=12),v=!0,_="g"),(d||"0"===n&&"="===e)&&(d=!0,n="0",e="=");var b="$"===h?i:"#"===h&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",m="$"===h?o:/[%p]/.test(_)?c:"",x=ef[_],w=/[defgprs%]/.test(_);function M(t){var i,o,c,h=b,M=m;if("c"===_)M=x(t)+M,t="";else{var T=(t=+t)<0||1/t<0;if(t=isNaN(t)?s:x(Math.abs(t),y),v&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),T&&0==+t&&"+"!==l&&(T=!1),h=(T?"("===l?l:f:"-"===l||"("===l?"":l)+h,M=("s"===_?uf[8+Kc/3]:"")+M+(T&&"("===l?")":""),w)for(i=-1,o=t.length;++i(c=t.charCodeAt(i))||c>57){M=(46===c?a+t.slice(i+1):t.slice(i))+M,t=t.slice(0,i);break}}g&&!d&&(t=r(t,1/0));var A=h.length+t.length+M.length,S=A>1)+h+t+M+S.slice(A);break;default:t=S+h+t+M}return u(t)}return y=void 0===y?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),M.toString=function(){return t+""},M}return{format:l,formatPrefix:function(t,n){var e=l(((t=Jc(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Zc(n)/3))),i=Math.pow(10,-r),o=uf[8+r/3];return function(t){return e(i*t)+o}}}}function ff(n){return of=cf(n),t.format=of.format,t.formatPrefix=of.formatPrefix,of}function sf(t){return Math.max(0,-Zc(Math.abs(t)))}function lf(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Zc(n)/3)))-Zc(Math.abs(t)))}function hf(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Zc(n)-Zc(t))+1}t.format=void 0,t.formatPrefix=void 0,ff({thousands:",",grouping:[3],currency:["$",""]});var df=1e-6,pf=1e-12,gf=Math.PI,yf=gf/2,vf=gf/4,_f=2*gf,bf=180/gf,mf=gf/180,xf=Math.abs,wf=Math.atan,Mf=Math.atan2,Tf=Math.cos,Af=Math.ceil,Sf=Math.exp,Ef=Math.hypot,Nf=Math.log,kf=Math.pow,Cf=Math.sin,Pf=Math.sign||function(t){return t>0?1:t<0?-1:0},zf=Math.sqrt,$f=Math.tan;function Df(t){return t>1?0:t<-1?gf:Math.acos(t)}function Rf(t){return t>1?yf:t<-1?-yf:Math.asin(t)}function Ff(t){return(t=Cf(t/2))*t}function qf(){}function Uf(t,n){t&&Of.hasOwnProperty(t.type)&&Of[t.type](t,n)}var If={Feature:function(t,n){Uf(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r=0?1:-1,i=r*e,o=Tf(n=(n*=mf)/2+vf),a=Cf(n),u=Vf*a,c=Gf*o+u*Tf(i),f=u*r*Cf(i);as.add(Mf(f,c)),Xf=t,Gf=o,Vf=a}function ds(t){return[Mf(t[1],t[0]),Rf(t[2])]}function ps(t){var n=t[0],e=t[1],r=Tf(e);return[r*Tf(n),r*Cf(n),Cf(e)]}function gs(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function ys(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function vs(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function _s(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function bs(t){var n=zf(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var ms,xs,ws,Ms,Ts,As,Ss,Es,Ns,ks,Cs,Ps,zs,$s,Ds,Rs,Fs={point:qs,lineStart:Is,lineEnd:Os,polygonStart:function(){Fs.point=Bs,Fs.lineStart=Ys,Fs.lineEnd=Ls,rs=new T,cs.polygonStart()},polygonEnd:function(){cs.polygonEnd(),Fs.point=qs,Fs.lineStart=Is,Fs.lineEnd=Os,as<0?(Wf=-(Kf=180),Zf=-(Qf=90)):rs>df?Qf=90:rs<-df&&(Zf=-90),os[0]=Wf,os[1]=Kf},sphere:function(){Wf=-(Kf=180),Zf=-(Qf=90)}};function qs(t,n){is.push(os=[Wf=t,Kf=t]),nQf&&(Qf=n)}function Us(t,n){var e=ps([t*mf,n*mf]);if(es){var r=ys(es,e),i=ys([r[1],-r[0],0],r);bs(i),i=ds(i);var o,a=t-Jf,u=a>0?1:-1,c=i[0]*bf*u,f=xf(a)>180;f^(u*JfQf&&(Qf=o):f^(u*Jf<(c=(c+360)%360-180)&&cQf&&(Qf=n)),f?tjs(Wf,Kf)&&(Kf=t):js(t,Kf)>js(Wf,Kf)&&(Wf=t):Kf>=Wf?(tKf&&(Kf=t)):t>Jf?js(Wf,t)>js(Wf,Kf)&&(Kf=t):js(t,Kf)>js(Wf,Kf)&&(Wf=t)}else is.push(os=[Wf=t,Kf=t]);nQf&&(Qf=n),es=e,Jf=t}function Is(){Fs.point=Us}function Os(){os[0]=Wf,os[1]=Kf,Fs.point=qs,es=null}function Bs(t,n){if(es){var e=t-Jf;rs.add(xf(e)>180?e+(e>0?360:-360):e)}else ts=t,ns=n;cs.point(t,n),Us(t,n)}function Ys(){cs.lineStart()}function Ls(){Bs(ts,ns),cs.lineEnd(),xf(rs)>df&&(Wf=-(Kf=180)),os[0]=Wf,os[1]=Kf,es=null}function js(t,n){return(n-=t)<0?n+360:n}function Hs(t,n){return t[0]-n[0]}function Xs(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:ngf&&(t-=Math.round(t/_f)*_f),[t,n]}function ul(t,n,e){return(t%=_f)?n||e?ol(fl(t),sl(n,e)):fl(t):n||e?sl(n,e):al}function cl(t){return function(n,e){return xf(n+=t)>gf&&(n-=Math.round(n/_f)*_f),[n,e]}}function fl(t){var n=cl(t);return n.invert=cl(-t),n}function sl(t,n){var e=Tf(t),r=Cf(t),i=Tf(n),o=Cf(n);function a(t,n){var a=Tf(n),u=Tf(t)*a,c=Cf(t)*a,f=Cf(n),s=f*e+u*r;return[Mf(c*i-s*o,u*e-f*r),Rf(s*i+c*o)]}return a.invert=function(t,n){var a=Tf(n),u=Tf(t)*a,c=Cf(t)*a,f=Cf(n),s=f*i-c*o;return[Mf(c*i+f*o,u*e+s*r),Rf(s*e-u*r)]},a}function ll(t){function n(n){return(n=t(n[0]*mf,n[1]*mf))[0]*=bf,n[1]*=bf,n}return t=ul(t[0]*mf,t[1]*mf,t.length>2?t[2]*mf:0),n.invert=function(n){return(n=t.invert(n[0]*mf,n[1]*mf))[0]*=bf,n[1]*=bf,n},n}function hl(t,n,e,r,i,o){if(e){var a=Tf(n),u=Cf(n),c=r*e;null==i?(i=n+r*_f,o=n-c/2):(i=dl(a,i),o=dl(a,o),(r>0?io)&&(i+=r*_f));for(var f,s=i;r>0?s>o:s1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function gl(t,n){return xf(t[0]-n[0])=0;--o)i.point((s=f[o])[0],s[1]);else r(h.x,h.p.x,-1,i);h=h.p}f=(h=h.o).z,d=!d}while(!h.v);i.lineEnd()}}}function _l(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0?1:-1,E=S*A,N=E>gf,k=y*w;if(c.add(Mf(k*S*Cf(E),v*M+k*Tf(E))),a+=N?A+S*_f:A,N^p>=e^m>=e){var C=ys(ps(d),ps(b));bs(C);var P=ys(o,C);bs(P);var z=(N^A>=0?-1:1)*Rf(P[2]);(r>z||r===z&&(C[0]||C[1]))&&(u+=N^A>=0?1:-1)}}return(a<-df||a0){for(l||(i.polygonStart(),l=!0),i.lineStart(),t=0;t1&&2&c&&h.push(h.pop().concat(h.shift())),a.push(h.filter(wl))}return h}}function wl(t){return t.length>1}function Ml(t,n){return((t=t.x)[0]<0?t[1]-yf-df:yf-t[1])-((n=n.x)[0]<0?n[1]-yf-df:yf-n[1])}al.invert=al;var Tl=xl((function(){return!0}),(function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,a){var u=o>0?gf:-gf,c=xf(o-e);xf(c-gf)0?yf:-yf),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),t.point(o,r),n=0):i!==u&&c>=gf&&(xf(e-i)df?wf((Cf(n)*(o=Tf(r))*Cf(e)-Cf(r)*(i=Tf(n))*Cf(t))/(i*o*a)):(n+r)/2}(e,r,o,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),n=0),t.point(e=o,r=a),i=u},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}),(function(t,n,e,r){var i;if(null==t)i=e*yf,r.point(-gf,i),r.point(0,i),r.point(gf,i),r.point(gf,0),r.point(gf,-i),r.point(0,-i),r.point(-gf,-i),r.point(-gf,0),r.point(-gf,i);else if(xf(t[0]-n[0])>df){var o=t[0]0,i=xf(n)>df;function o(t,e){return Tf(t)*Tf(e)>n}function a(t,e,r){var i=[1,0,0],o=ys(ps(t),ps(e)),a=gs(o,o),u=o[0],c=a-u*u;if(!c)return!r&&t;var f=n*a/c,s=-n*u/c,l=ys(i,o),h=_s(i,f);vs(h,_s(o,s));var d=l,p=gs(h,d),g=gs(d,d),y=p*p-g*(gs(h,h)-1);if(!(y<0)){var v=zf(y),_=_s(d,(-p-v)/g);if(vs(_,h),_=ds(_),!r)return _;var b,m=t[0],x=e[0],w=t[1],M=e[1];x0^_[1]<(xf(_[0]-m)gf^(m<=_[0]&&_[0]<=x)){var S=_s(d,(-p+v)/g);return vs(S,h),[_,ds(S)]}}}function u(n,e){var i=r?t:gf-t,o=0;return n<-i?o|=1:n>i&&(o|=2),e<-i?o|=4:e>i&&(o|=8),o}return xl(o,(function(t){var n,e,c,f,s;return{lineStart:function(){f=c=!1,s=1},point:function(l,h){var d,p=[l,h],g=o(l,h),y=r?g?0:u(l,h):g?u(l+(l<0?gf:-gf),h):0;if(!n&&(f=c=g)&&t.lineStart(),g!==c&&(!(d=a(n,p))||gl(n,d)||gl(p,d))&&(p[2]=1),g!==c)s=0,g?(t.lineStart(),d=a(p,n),t.point(d[0],d[1])):(d=a(n,p),t.point(d[0],d[1],2),t.lineEnd()),n=d;else if(i&&n&&r^g){var v;y&e||!(v=a(p,n,!0))||(s=0,r?(t.lineStart(),t.point(v[0][0],v[0][1]),t.point(v[1][0],v[1][1]),t.lineEnd()):(t.point(v[1][0],v[1][1]),t.lineEnd(),t.lineStart(),t.point(v[0][0],v[0][1],3)))}!g||n&&gl(n,p)||t.point(p[0],p[1]),n=p,c=g,e=y},lineEnd:function(){c&&t.lineEnd(),n=null},clean:function(){return s|(f&&c)<<1}}}),(function(n,r,i,o){hl(o,t,e,i,n,r)}),r?[0,-t]:[-gf,t-gf])}var Sl,El,Nl,kl,Cl=1e9,Pl=-Cl;function zl(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,u,f){var s=0,l=0;if(null==i||(s=a(i,u))!==(l=a(o,u))||c(i,o)<0^u>0)do{f.point(0===s||3===s?t:e,s>1?r:n)}while((s=(s+u+4)%4)!==l);else f.point(o[0],o[1])}function a(r,i){return xf(r[0]-t)0?0:3:xf(r[0]-e)0?2:1:xf(r[1]-n)0?1:0:i>0?3:2}function u(t,n){return c(t.x,n.x)}function c(t,n){var e=a(t,1),r=a(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(a){var c,f,s,l,h,d,p,g,y,v,_,b=a,m=pl(),x={point:w,lineStart:function(){x.point=M,f&&f.push(s=[]);v=!0,y=!1,p=g=NaN},lineEnd:function(){c&&(M(l,h),d&&y&&m.rejoin(),c.push(m.result()));x.point=w,y&&b.lineEnd()},polygonStart:function(){b=m,c=[],f=[],_=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,i=f.length;er&&(h-o)*(r-a)>(d-a)*(t-o)&&++n:d<=r&&(h-o)*(r-a)<(d-a)*(t-o)&&--n;return n}(),e=_&&n,i=(c=ft(c)).length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&vl(c,u,n,o,a),a.polygonEnd());b=a,c=f=s=null}};function w(t,n){i(t,n)&&b.point(t,n)}function M(o,a){var u=i(o,a);if(f&&s.push([o,a]),v)l=o,h=a,d=u,v=!1,u&&(b.lineStart(),b.point(o,a));else if(u&&y)b.point(o,a);else{var c=[p=Math.max(Pl,Math.min(Cl,p)),g=Math.max(Pl,Math.min(Cl,g))],m=[o=Math.max(Pl,Math.min(Cl,o)),a=Math.max(Pl,Math.min(Cl,a))];!function(t,n,e,r,i,o){var a,u=t[0],c=t[1],f=0,s=1,l=n[0]-u,h=n[1]-c;if(a=e-u,l||!(a>0)){if(a/=l,l<0){if(a0){if(a>s)return;a>f&&(f=a)}if(a=i-u,l||!(a<0)){if(a/=l,l<0){if(a>s)return;a>f&&(f=a)}else if(l>0){if(a0)){if(a/=h,h<0){if(a0){if(a>s)return;a>f&&(f=a)}if(a=o-c,h||!(a<0)){if(a/=h,h<0){if(a>s)return;a>f&&(f=a)}else if(h>0){if(a0&&(t[0]=u+f*l,t[1]=c+f*h),s<1&&(n[0]=u+s*l,n[1]=c+s*h),!0}}}}}(c,m,t,n,e,r)?u&&(b.lineStart(),b.point(o,a),_=!1):(y||(b.lineStart(),b.point(c[0],c[1])),b.point(m[0],m[1]),u||b.lineEnd(),_=!1)}p=o,g=a,y=u}return x}}var $l={sphere:qf,point:qf,lineStart:function(){$l.point=Rl,$l.lineEnd=Dl},lineEnd:qf,polygonStart:qf,polygonEnd:qf};function Dl(){$l.point=$l.lineEnd=qf}function Rl(t,n){El=t*=mf,Nl=Cf(n*=mf),kl=Tf(n),$l.point=Fl}function Fl(t,n){t*=mf;var e=Cf(n*=mf),r=Tf(n),i=xf(t-El),o=Tf(i),a=r*Cf(i),u=kl*e-Nl*r*o,c=Nl*e+kl*r*o;Sl.add(Mf(zf(a*a+u*u),c)),El=t,Nl=e,kl=r}function ql(t){return Sl=new T,Lf(t,$l),+Sl}var Ul=[null,null],Il={type:"LineString",coordinates:Ul};function Ol(t,n){return Ul[0]=t,Ul[1]=n,ql(Il)}var Bl={Feature:function(t,n){return Ll(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r0&&(i=Ol(t[o],t[o-1]))>0&&e<=i&&r<=i&&(e+r-i)*(1-Math.pow((e-r)/i,2))df})).map(c)).concat(lt(Af(o/d)*d,i,d).filter((function(t){return xf(t%g)>df})).map(f))}return v.lines=function(){return _().map((function(t){return{type:"LineString",coordinates:t}}))},v.outline=function(){return{type:"Polygon",coordinates:[s(r).concat(l(a).slice(1),s(e).reverse().slice(1),l(u).reverse().slice(1))]}},v.extent=function(t){return arguments.length?v.extentMajor(t).extentMinor(t):v.extentMinor()},v.extentMajor=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],u=+t[0][1],a=+t[1][1],r>e&&(t=r,r=e,e=t),u>a&&(t=u,u=a,a=t),v.precision(y)):[[r,u],[e,a]]},v.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],o=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),o>i&&(e=o,o=i,i=e),v.precision(y)):[[n,o],[t,i]]},v.step=function(t){return arguments.length?v.stepMajor(t).stepMinor(t):v.stepMinor()},v.stepMajor=function(t){return arguments.length?(p=+t[0],g=+t[1],v):[p,g]},v.stepMinor=function(t){return arguments.length?(h=+t[0],d=+t[1],v):[h,d]},v.precision=function(h){return arguments.length?(y=+h,c=Wl(o,i,90),f=Zl(n,t,y),s=Wl(u,a,90),l=Zl(r,e,y),v):y},v.extentMajor([[-180,-90+df],[180,90-df]]).extentMinor([[-180,-80-df],[180,80+df]])}var Ql,Jl,th,nh,eh=t=>t,rh=new T,ih=new T,oh={point:qf,lineStart:qf,lineEnd:qf,polygonStart:function(){oh.lineStart=ah,oh.lineEnd=fh},polygonEnd:function(){oh.lineStart=oh.lineEnd=oh.point=qf,rh.add(xf(ih)),ih=new T},result:function(){var t=rh/2;return rh=new T,t}};function ah(){oh.point=uh}function uh(t,n){oh.point=ch,Ql=th=t,Jl=nh=n}function ch(t,n){ih.add(nh*t-th*n),th=t,nh=n}function fh(){ch(Ql,Jl)}var sh=oh,lh=1/0,hh=lh,dh=-lh,ph=dh,gh={point:function(t,n){tdh&&(dh=t);nph&&(ph=n)},lineStart:qf,lineEnd:qf,polygonStart:qf,polygonEnd:qf,result:function(){var t=[[lh,hh],[dh,ph]];return dh=ph=-(hh=lh=1/0),t}};var yh,vh,_h,bh,mh=gh,xh=0,wh=0,Mh=0,Th=0,Ah=0,Sh=0,Eh=0,Nh=0,kh=0,Ch={point:Ph,lineStart:zh,lineEnd:Rh,polygonStart:function(){Ch.lineStart=Fh,Ch.lineEnd=qh},polygonEnd:function(){Ch.point=Ph,Ch.lineStart=zh,Ch.lineEnd=Rh},result:function(){var t=kh?[Eh/kh,Nh/kh]:Sh?[Th/Sh,Ah/Sh]:Mh?[xh/Mh,wh/Mh]:[NaN,NaN];return xh=wh=Mh=Th=Ah=Sh=Eh=Nh=kh=0,t}};function Ph(t,n){xh+=t,wh+=n,++Mh}function zh(){Ch.point=$h}function $h(t,n){Ch.point=Dh,Ph(_h=t,bh=n)}function Dh(t,n){var e=t-_h,r=n-bh,i=zf(e*e+r*r);Th+=i*(_h+t)/2,Ah+=i*(bh+n)/2,Sh+=i,Ph(_h=t,bh=n)}function Rh(){Ch.point=Ph}function Fh(){Ch.point=Uh}function qh(){Ih(yh,vh)}function Uh(t,n){Ch.point=Ih,Ph(yh=_h=t,vh=bh=n)}function Ih(t,n){var e=t-_h,r=n-bh,i=zf(e*e+r*r);Th+=i*(_h+t)/2,Ah+=i*(bh+n)/2,Sh+=i,Eh+=(i=bh*t-_h*n)*(_h+t),Nh+=i*(bh+n),kh+=3*i,Ph(_h=t,bh=n)}var Oh=Ch;function Bh(t){this._context=t}Bh.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,_f)}},result:qf};var Yh,Lh,jh,Hh,Xh,Gh=new T,Vh={point:qf,lineStart:function(){Vh.point=Wh},lineEnd:function(){Yh&&Zh(Lh,jh),Vh.point=qf},polygonStart:function(){Yh=!0},polygonEnd:function(){Yh=null},result:function(){var t=+Gh;return Gh=new T,t}};function Wh(t,n){Vh.point=Zh,Lh=Hh=t,jh=Xh=n}function Zh(t,n){Hh-=t,Xh-=n,Gh.add(zf(Hh*Hh+Xh*Xh)),Hh=t,Xh=n}var Kh=Vh;let Qh,Jh,td,nd;class ed{constructor(t){this._append=null==t?rd:function(t){const n=Math.floor(t);if(!(n>=0))throw new RangeError(`invalid digits: ${t}`);if(n>15)return rd;if(n!==Qh){const t=10**n;Qh=n,Jh=function(n){let e=1;this._+=n[0];for(const r=n.length;e4*n&&g--){var m=a+h,x=u+d,w=c+p,M=zf(m*m+x*x+w*w),T=Rf(w/=M),A=xf(xf(w)-1)n||xf((v*k+_*C)/b-.5)>.3||a*h+u*d+c*p2?t[2]%360*mf:0,k()):[y*bf,v*bf,_*bf]},E.angle=function(t){return arguments.length?(b=t%360*mf,k()):b*bf},E.reflectX=function(t){return arguments.length?(m=t?-1:1,k()):m<0},E.reflectY=function(t){return arguments.length?(x=t?-1:1,k()):x<0},E.precision=function(t){return arguments.length?(a=dd(u,S=t*t),C()):zf(S)},E.fitExtent=function(t,n){return ud(E,t,n)},E.fitSize=function(t,n){return cd(E,t,n)},E.fitWidth=function(t,n){return fd(E,t,n)},E.fitHeight=function(t,n){return sd(E,t,n)},function(){return n=t.apply(this,arguments),E.invert=n.invert&&N,k()}}function _d(t){var n=0,e=gf/3,r=vd(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*mf,e=t[1]*mf):[n*bf,e*bf]},i}function bd(t,n){var e=Cf(t),r=(e+Cf(n))/2;if(xf(r)0?n<-yf+df&&(n=-yf+df):n>yf-df&&(n=yf-df);var e=i/kf(Nd(n),r);return[e*Cf(r*t),i-e*Tf(r*t)]}return o.invert=function(t,n){var e=i-n,o=Pf(r)*zf(t*t+e*e),a=Mf(t,xf(e))*Pf(e);return e*r<0&&(a-=gf*Pf(t)*Pf(e)),[a/r,2*wf(kf(i/o,1/r))-yf]},o}function Cd(t,n){return[t,n]}function Pd(t,n){var e=Tf(t),r=t===n?Cf(t):(e-Tf(n))/(n-t),i=e/r+t;if(xf(r)=0;)n+=e[r].value;else n=1;t.value=n}function Gd(t,n){t instanceof Map?(t=[void 0,t],void 0===n&&(n=Wd)):void 0===n&&(n=Vd);for(var e,r,i,o,a,u=new Qd(t),c=[u];e=c.pop();)if((i=n(e.data))&&(a=(i=Array.from(i)).length))for(e.children=i,o=a-1;o>=0;--o)c.push(r=i[o]=new Qd(i[o])),r.parent=e,r.depth=e.depth+1;return u.eachBefore(Kd)}function Vd(t){return t.children}function Wd(t){return Array.isArray(t)?t[1]:null}function Zd(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function Kd(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function Qd(t){this.data=t,this.depth=this.height=0,this.parent=null}function Jd(t){return null==t?null:tp(t)}function tp(t){if("function"!=typeof t)throw new Error;return t}function np(){return 0}function ep(t){return function(){return t}}qd.invert=function(t,n){for(var e,r=n,i=r*r,o=i*i*i,a=0;a<12&&(o=(i=(r-=e=(r*(zd+$d*i+o*(Dd+Rd*i))-n)/(zd+3*$d*i+o*(7*Dd+9*Rd*i)))*r)*i*i,!(xf(e)df&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]},Od.invert=Md(Rf),Bd.invert=Md((function(t){return 2*wf(t)})),Yd.invert=function(t,n){return[-n,2*wf(Sf(t))-yf]},Qd.prototype=Gd.prototype={constructor:Qd,count:function(){return this.eachAfter(Xd)},each:function(t,n){let e=-1;for(const r of this)t.call(n,r,++e,this);return this},eachAfter:function(t,n){for(var e,r,i,o=this,a=[o],u=[],c=-1;o=a.pop();)if(u.push(o),e=o.children)for(r=0,i=e.length;r=0;--r)o.push(e[r]);return this},find:function(t,n){let e=-1;for(const r of this)if(t.call(n,r,++e,this))return r},sum:function(t){return this.eachAfter((function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e}))},sort:function(t){return this.eachBefore((function(n){n.children&&n.children.sort(t)}))},path:function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore((function(n){n.children||t.push(n)})),t},links:function(){var t=this,n=[];return t.each((function(e){e!==t&&n.push({source:e.parent,target:e})})),n},copy:function(){return Gd(this).eachBefore(Zd)},[Symbol.iterator]:function*(){var t,n,e,r,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(yield i,n=i.children)for(e=0,r=n.length;e(t=(rp*t+ip)%op)/op}function up(t,n){for(var e,r,i=0,o=(t=function(t,n){let e,r,i=t.length;for(;i;)r=n()*i--|0,e=t[i],t[i]=t[r],t[r]=e;return t}(Array.from(t),n)).length,a=[];i0&&e*e>r*r+i*i}function lp(t,n){for(var e=0;e1e-6?(E+Math.sqrt(E*E-4*S*N))/(2*S):N/E);return{x:r+w+M*k,y:i+T+A*k,r:k}}function gp(t,n,e){var r,i,o,a,u=t.x-n.x,c=t.y-n.y,f=u*u+c*c;f?(i=n.r+e.r,i*=i,a=t.r+e.r,i>(a*=a)?(r=(f+a-i)/(2*f),o=Math.sqrt(Math.max(0,a/f-r*r)),e.x=t.x-r*u-o*c,e.y=t.y-r*c+o*u):(r=(f+i-a)/(2*f),o=Math.sqrt(Math.max(0,i/f-r*r)),e.x=n.x+r*u-o*c,e.y=n.y+r*c+o*u)):(e.x=n.x+e.r,e.y=n.y)}function yp(t,n){var e=t.r+n.r-1e-6,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function vp(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,o=(n.y*e.r+e.y*n.r)/r;return i*i+o*o}function _p(t){this._=t,this.next=null,this.previous=null}function bp(t,n){if(!(o=(t=function(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}(t)).length))return 0;var e,r,i,o,a,u,c,f,s,l,h;if((e=t[0]).x=0,e.y=0,!(o>1))return e.r;if(r=t[1],e.x=-r.r,r.x=e.r,r.y=0,!(o>2))return e.r+r.r;gp(r,e,i=t[2]),e=new _p(e),r=new _p(r),i=new _p(i),e.next=i.previous=r,r.next=e.previous=i,i.next=r.previous=e;t:for(c=3;c1&&!zp(t,n););return t.slice(0,n)}function zp(t,n){if("/"===t[n]){let e=0;for(;n>0&&"\\"===t[--n];)++e;if(!(1&e))return!0}return!1}function $p(t,n){return t.parent===n.parent?1:2}function Dp(t){var n=t.children;return n?n[0]:t.t}function Rp(t){var n=t.children;return n?n[n.length-1]:t.t}function Fp(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function qp(t,n,e){return t.a.parent===n.parent?t.a:e}function Up(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function Ip(t,n,e,r,i){for(var o,a=t.children,u=-1,c=a.length,f=t.value&&(i-e)/t.value;++uh&&(h=u),y=s*s*g,(d=Math.max(h/y,y/l))>p){s-=u;break}p=d}v.push(a={value:s,dice:c1?n:1)},e}(Op);var Lp=function t(n){function e(t,e,r,i,o){if((a=t._squarify)&&a.ratio===n)for(var a,u,c,f,s,l=-1,h=a.length,d=t.value;++l1?n:1)},e}(Op);function jp(t,n,e){return(n[0]-t[0])*(e[1]-t[1])-(n[1]-t[1])*(e[0]-t[0])}function Hp(t,n){return t[0]-n[0]||t[1]-n[1]}function Xp(t){const n=t.length,e=[0,1];let r,i=2;for(r=2;r1&&jp(t[e[i-2]],t[e[i-1]],t[r])<=0;)--i;e[i++]=r}return e.slice(0,i)}var Gp=Math.random,Vp=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(Gp),Wp=function t(n){function e(t,e){return arguments.length<2&&(e=t,t=0),t=Math.floor(t),e=Math.floor(e)-t,function(){return Math.floor(n()*e+t)}}return e.source=t,e}(Gp),Zp=function t(n){function e(t,e){var r,i;return t=null==t?0:+t,e=null==e?1:+e,function(){var o;if(null!=r)o=r,r=null;else do{r=2*n()-1,o=2*n()-1,i=r*r+o*o}while(!i||i>1);return t+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(Gp),Kp=function t(n){var e=Zp.source(n);function r(){var t=e.apply(this,arguments);return function(){return Math.exp(t())}}return r.source=t,r}(Gp),Qp=function t(n){function e(t){return(t=+t)<=0?()=>0:function(){for(var e=0,r=t;r>1;--r)e+=n();return e+r*n()}}return e.source=t,e}(Gp),Jp=function t(n){var e=Qp.source(n);function r(t){if(0==(t=+t))return n;var r=e(t);return function(){return r()/t}}return r.source=t,r}(Gp),tg=function t(n){function e(t){return function(){return-Math.log1p(-n())/t}}return e.source=t,e}(Gp),ng=function t(n){function e(t){if((t=+t)<0)throw new RangeError("invalid alpha");return t=1/-t,function(){return Math.pow(1-n(),t)}}return e.source=t,e}(Gp),eg=function t(n){function e(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return function(){return Math.floor(n()+t)}}return e.source=t,e}(Gp),rg=function t(n){function e(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return 0===t?()=>1/0:1===t?()=>1:(t=Math.log1p(-t),function(){return 1+Math.floor(Math.log1p(-n())/t)})}return e.source=t,e}(Gp),ig=function t(n){var e=Zp.source(n)();function r(t,r){if((t=+t)<0)throw new RangeError("invalid k");if(0===t)return()=>0;if(r=null==r?1:+r,1===t)return()=>-Math.log1p(-n())*r;var i=(t<1?t+1:t)-1/3,o=1/(3*Math.sqrt(i)),a=t<1?()=>Math.pow(n(),1/t):()=>1;return function(){do{do{var t=e(),u=1+o*t}while(u<=0);u*=u*u;var c=1-n()}while(c>=1-.0331*t*t*t*t&&Math.log(c)>=.5*t*t+i*(1-u+Math.log(u)));return i*u*a()*r}}return r.source=t,r}(Gp),og=function t(n){var e=ig.source(n);function r(t,n){var r=e(t),i=e(n);return function(){var t=r();return 0===t?0:t/(t+i())}}return r.source=t,r}(Gp),ag=function t(n){var e=rg.source(n),r=og.source(n);function i(t,n){return t=+t,(n=+n)>=1?()=>t:n<=0?()=>0:function(){for(var i=0,o=t,a=n;o*a>16&&o*(1-a)>16;){var u=Math.floor((o+1)*a),c=r(u,o-u+1)();c<=a?(i+=u,o-=u,a=(a-c)/(1-c)):(o=u-1,a/=c)}for(var f=a<.5,s=e(f?a:1-a),l=s(),h=0;l<=o;++h)l+=s();return i+(f?h:o-h)}}return i.source=t,i}(Gp),ug=function t(n){function e(t,e,r){var i;return 0==(t=+t)?i=t=>-Math.log(t):(t=1/t,i=n=>Math.pow(n,t)),e=null==e?0:+e,r=null==r?1:+r,function(){return e+r*i(-Math.log1p(-n()))}}return e.source=t,e}(Gp),cg=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,function(){return t+e*Math.tan(Math.PI*n())}}return e.source=t,e}(Gp),fg=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,function(){var r=n();return t+e*Math.log(r/(1-r))}}return e.source=t,e}(Gp),sg=function t(n){var e=ig.source(n),r=ag.source(n);function i(t){return function(){for(var i=0,o=t;o>16;){var a=Math.floor(.875*o),u=e(a)();if(u>o)return i+r(a-1,o/u)();i+=a,o-=u}for(var c=-Math.log1p(-n()),f=0;c<=o;++f)c-=Math.log1p(-n());return i+f}}return i.source=t,i}(Gp);const lg=1/4294967296;function hg(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function dg(t,n){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof n?this.interpolator(n):this.range(n)}return this}const pg=Symbol("implicit");function gg(){var t=new InternMap,n=[],e=[],r=pg;function i(i){let o=t.get(i);if(void 0===o){if(r!==pg)return r;t.set(i,o=n.push(i)-1)}return e[o%e.length]}return i.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new InternMap;for(const r of e)t.has(r)||t.set(r,n.push(r)-1);return i},i.range=function(t){return arguments.length?(e=Array.from(t),i):e.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return gg(n,e).unknown(r)},hg.apply(i,arguments),i}function yg(){var t,n,e=gg().unknown(void 0),r=e.domain,i=e.range,o=0,a=1,u=!1,c=0,f=0,s=.5;function l(){var e=r().length,l=an&&(e=t,t=n,n=e),function(e){return Math.max(t,Math.min(n,e))}}(a[0],a[t-1])),r=t>2?Mg:wg,i=o=null,l}function l(n){return null==n||isNaN(n=+n)?e:(i||(i=r(a.map(t),u,c)))(t(f(n)))}return l.invert=function(e){return f(n((o||(o=r(u,a.map(t),Yr)))(e)))},l.domain=function(t){return arguments.length?(a=Array.from(t,_g),s()):a.slice()},l.range=function(t){return arguments.length?(u=Array.from(t),s()):u.slice()},l.rangeRound=function(t){return u=Array.from(t),c=Vr,s()},l.clamp=function(t){return arguments.length?(f=!!t||mg,s()):f!==mg},l.interpolate=function(t){return arguments.length?(c=t,s()):c},l.unknown=function(t){return arguments.length?(e=t,l):e},function(e,r){return t=e,n=r,s()}}function Sg(){return Ag()(mg,mg)}function Eg(n,e,r,i){var o,a=W(n,e,r);switch((i=Jc(null==i?",f":i)).type){case"s":var u=Math.max(Math.abs(n),Math.abs(e));return null!=i.precision||isNaN(o=lf(a,u))||(i.precision=o),t.formatPrefix(i,u);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(o=hf(a,Math.max(Math.abs(n),Math.abs(e))))||(i.precision=o-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(o=sf(a))||(i.precision=o-2*("%"===i.type))}return t.format(i)}function Ng(t){var n=t.domain;return t.ticks=function(t){var e=n();return G(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return Eg(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i,o=n(),a=0,u=o.length-1,c=o[a],f=o[u],s=10;for(f0;){if((i=V(c,f,e))===r)return o[a]=c,o[u]=f,n(o);if(i>0)c=Math.floor(c/i)*i,f=Math.ceil(f/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,f=Math.floor(f*i)/i}r=i}return t},t}function kg(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a-t(-n,e)}function Fg(n){const e=n(Cg,Pg),r=e.domain;let i,o,a=10;function u(){return i=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),n=>Math.log(n)/t)}(a),o=function(t){return 10===t?Dg:t===Math.E?Math.exp:n=>Math.pow(t,n)}(a),r()[0]<0?(i=Rg(i),o=Rg(o),n(zg,$g)):n(Cg,Pg),e}return e.base=function(t){return arguments.length?(a=+t,u()):a},e.domain=function(t){return arguments.length?(r(t),u()):r()},e.ticks=t=>{const n=r();let e=n[0],u=n[n.length-1];const c=u0){for(;l<=h;++l)for(f=1;fu)break;p.push(s)}}else for(;l<=h;++l)for(f=a-1;f>=1;--f)if(s=l>0?f/o(-l):f*o(l),!(su)break;p.push(s)}2*p.length{if(null==n&&(n=10),null==r&&(r=10===a?"s":","),"function"!=typeof r&&(a%1||null!=(r=Jc(r)).precision||(r.trim=!0),r=t.format(r)),n===1/0)return r;const u=Math.max(1,a*n/e.ticks().length);return t=>{let n=t/o(Math.round(i(t)));return n*ar(kg(r(),{floor:t=>o(Math.floor(i(t))),ceil:t=>o(Math.ceil(i(t)))})),e}function qg(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function Ug(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function Ig(t){var n=1,e=t(qg(n),Ug(n));return e.constant=function(e){return arguments.length?t(qg(n=+e),Ug(n)):n},Ng(e)}function Og(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function Bg(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Yg(t){return t<0?-t*t:t*t}function Lg(t){var n=t(mg,mg),e=1;return n.exponent=function(n){return arguments.length?1===(e=+n)?t(mg,mg):.5===e?t(Bg,Yg):t(Og(e),Og(1/e)):e},Ng(n)}function jg(){var t=Lg(Ag());return t.copy=function(){return Tg(t,jg()).exponent(t.exponent())},hg.apply(t,arguments),t}function Hg(t){return Math.sign(t)*t*t}const Xg=new Date,Gg=new Date;function Vg(t,n,e,r){function i(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return i.floor=n=>(t(n=new Date(+n)),n),i.ceil=e=>(t(e=new Date(e-1)),n(e,1),t(e),e),i.round=t=>{const n=i(t),e=i.ceil(t);return t-n(n(t=new Date(+t),null==e?1:Math.floor(e)),t),i.range=(e,r,o)=>{const a=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e0))return a;let u;do{a.push(u=new Date(+e)),n(e,o),t(e)}while(uVg((n=>{if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),((t,r)=>{if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););})),e&&(i.count=(n,r)=>(Xg.setTime(+n),Gg.setTime(+r),t(Xg),t(Gg),Math.floor(e(Xg,Gg))),i.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?n=>r(n)%t==0:n=>i.count(0,n)%t==0):i:null)),i}const Wg=Vg((()=>{}),((t,n)=>{t.setTime(+t+n)}),((t,n)=>n-t));Wg.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?Vg((n=>{n.setTime(Math.floor(n/t)*t)}),((n,e)=>{n.setTime(+n+e*t)}),((n,e)=>(e-n)/t)):Wg:null);const Zg=Wg.range,Kg=1e3,Qg=6e4,Jg=36e5,ty=864e5,ny=6048e5,ey=2592e6,ry=31536e6,iy=Vg((t=>{t.setTime(t-t.getMilliseconds())}),((t,n)=>{t.setTime(+t+n*Kg)}),((t,n)=>(n-t)/Kg),(t=>t.getUTCSeconds())),oy=iy.range,ay=Vg((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Kg)}),((t,n)=>{t.setTime(+t+n*Qg)}),((t,n)=>(n-t)/Qg),(t=>t.getMinutes())),uy=ay.range,cy=Vg((t=>{t.setUTCSeconds(0,0)}),((t,n)=>{t.setTime(+t+n*Qg)}),((t,n)=>(n-t)/Qg),(t=>t.getUTCMinutes())),fy=cy.range,sy=Vg((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Kg-t.getMinutes()*Qg)}),((t,n)=>{t.setTime(+t+n*Jg)}),((t,n)=>(n-t)/Jg),(t=>t.getHours())),ly=sy.range,hy=Vg((t=>{t.setUTCMinutes(0,0,0)}),((t,n)=>{t.setTime(+t+n*Jg)}),((t,n)=>(n-t)/Jg),(t=>t.getUTCHours())),dy=hy.range,py=Vg((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Qg)/ty),(t=>t.getDate()-1)),gy=py.range,yy=Vg((t=>{t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+n)}),((t,n)=>(n-t)/ty),(t=>t.getUTCDate()-1)),vy=yy.range,_y=Vg((t=>{t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+n)}),((t,n)=>(n-t)/ty),(t=>Math.floor(t/ty))),by=_y.range;function my(t){return Vg((n=>{n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),((t,n)=>{t.setDate(t.getDate()+7*n)}),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Qg)/ny))}const xy=my(0),wy=my(1),My=my(2),Ty=my(3),Ay=my(4),Sy=my(5),Ey=my(6),Ny=xy.range,ky=wy.range,Cy=My.range,Py=Ty.range,zy=Ay.range,$y=Sy.range,Dy=Ey.range;function Ry(t){return Vg((n=>{n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+7*n)}),((t,n)=>(n-t)/ny))}const Fy=Ry(0),qy=Ry(1),Uy=Ry(2),Iy=Ry(3),Oy=Ry(4),By=Ry(5),Yy=Ry(6),Ly=Fy.range,jy=qy.range,Hy=Uy.range,Xy=Iy.range,Gy=Oy.range,Vy=By.range,Wy=Yy.range,Zy=Vg((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,n)=>{t.setMonth(t.getMonth()+n)}),((t,n)=>n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())),(t=>t.getMonth())),Ky=Zy.range,Qy=Vg((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCMonth(t.getUTCMonth()+n)}),((t,n)=>n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth())),Jy=Qy.range,tv=Vg((t=>{t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n)}),((t,n)=>n.getFullYear()-t.getFullYear()),(t=>t.getFullYear()));tv.every=t=>isFinite(t=Math.floor(t))&&t>0?Vg((n=>{n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),((n,e)=>{n.setFullYear(n.getFullYear()+e*t)})):null;const nv=tv.range,ev=Vg((t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n)}),((t,n)=>n.getUTCFullYear()-t.getUTCFullYear()),(t=>t.getUTCFullYear()));ev.every=t=>isFinite(t=Math.floor(t))&&t>0?Vg((n=>{n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),((n,e)=>{n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null;const rv=ev.range;function iv(t,n,e,i,o,a){const u=[[iy,1,Kg],[iy,5,5e3],[iy,15,15e3],[iy,30,3e4],[a,1,Qg],[a,5,3e5],[a,15,9e5],[a,30,18e5],[o,1,Jg],[o,3,108e5],[o,6,216e5],[o,12,432e5],[i,1,ty],[i,2,1728e5],[e,1,ny],[n,1,ey],[n,3,7776e6],[t,1,ry]];function c(n,e,i){const o=Math.abs(e-n)/i,a=r((([,,t])=>t)).right(u,o);if(a===u.length)return t.every(W(n/ry,e/ry,i));if(0===a)return Wg.every(Math.max(W(n,e,i),1));const[c,f]=u[o/u[a-1][2]=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:k_,s:C_,S:Zv,u:Kv,U:Qv,V:t_,w:n_,W:e_,x:null,X:null,y:r_,Y:o_,Z:u_,"%":N_},m={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:c_,e:c_,f:d_,g:T_,G:S_,H:f_,I:s_,j:l_,L:h_,m:p_,M:g_,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:k_,s:C_,S:y_,u:v_,U:__,V:m_,w:x_,W:w_,x:null,X:null,y:M_,Y:A_,Z:E_,"%":N_},x={a:function(t,n,e){var r=d.exec(n.slice(e));return r?(t.w=p.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=l.exec(n.slice(e));return r?(t.w=h.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.m=_.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=y.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return T(t,n,e,r)},d:zv,e:zv,f:Uv,g:Nv,G:Ev,H:Dv,I:Dv,j:$v,L:qv,m:Pv,M:Rv,p:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.p=s.get(r[0].toLowerCase()),e+r[0].length):-1},q:Cv,Q:Ov,s:Bv,S:Fv,u:Mv,U:Tv,V:Av,w:wv,W:Sv,x:function(t,n,r){return T(t,e,n,r)},X:function(t,n,e){return T(t,r,n,e)},y:Nv,Y:Ev,Z:kv,"%":Iv};function w(t,n){return function(e){var r,i,o,a=[],u=-1,c=0,f=t.length;for(e instanceof Date||(e=new Date(+e));++u53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=sv(lv(o.y,0,1))).getUTCDay(),r=i>4||0===i?qy.ceil(r):qy(r),r=yy.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=fv(lv(o.y,0,1))).getDay(),r=i>4||0===i?wy.ceil(r):wy(r),r=py.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?sv(lv(o.y,0,1)).getUTCDay():fv(lv(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,sv(o)):fv(o)}}function T(t,n,e,r){for(var i,o,a=0,u=n.length,c=e.length;a=c)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(o=x[i in pv?n.charAt(a++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return b.x=w(e,b),b.X=w(r,b),b.c=w(n,b),m.x=w(e,m),m.X=w(r,m),m.c=w(n,m),{format:function(t){var n=w(t+="",b);return n.toString=function(){return t},n},parse:function(t){var n=M(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=w(t+="",m);return n.toString=function(){return t},n},utcParse:function(t){var n=M(t+="",!0);return n.toString=function(){return t},n}}}var dv,pv={"-":"",_:" ",0:"0"},gv=/^\s*\d+/,yv=/^%/,vv=/[\\^$*+?|[\]().{}]/g;function _v(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o[t.toLowerCase(),n])))}function wv(t,n,e){var r=gv.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function Mv(t,n,e){var r=gv.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function Tv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function Av(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function Sv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Ev(t,n,e){var r=gv.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Nv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function kv(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function Cv(t,n,e){var r=gv.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Pv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function zv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function $v(t,n,e){var r=gv.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Dv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Rv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Fv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function qv(t,n,e){var r=gv.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function Uv(t,n,e){var r=gv.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function Iv(t,n,e){var r=yv.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Ov(t,n,e){var r=gv.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function Bv(t,n,e){var r=gv.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function Yv(t,n){return _v(t.getDate(),n,2)}function Lv(t,n){return _v(t.getHours(),n,2)}function jv(t,n){return _v(t.getHours()%12||12,n,2)}function Hv(t,n){return _v(1+py.count(tv(t),t),n,3)}function Xv(t,n){return _v(t.getMilliseconds(),n,3)}function Gv(t,n){return Xv(t,n)+"000"}function Vv(t,n){return _v(t.getMonth()+1,n,2)}function Wv(t,n){return _v(t.getMinutes(),n,2)}function Zv(t,n){return _v(t.getSeconds(),n,2)}function Kv(t){var n=t.getDay();return 0===n?7:n}function Qv(t,n){return _v(xy.count(tv(t)-1,t),n,2)}function Jv(t){var n=t.getDay();return n>=4||0===n?Ay(t):Ay.ceil(t)}function t_(t,n){return t=Jv(t),_v(Ay.count(tv(t),t)+(4===tv(t).getDay()),n,2)}function n_(t){return t.getDay()}function e_(t,n){return _v(wy.count(tv(t)-1,t),n,2)}function r_(t,n){return _v(t.getFullYear()%100,n,2)}function i_(t,n){return _v((t=Jv(t)).getFullYear()%100,n,2)}function o_(t,n){return _v(t.getFullYear()%1e4,n,4)}function a_(t,n){var e=t.getDay();return _v((t=e>=4||0===e?Ay(t):Ay.ceil(t)).getFullYear()%1e4,n,4)}function u_(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+_v(n/60|0,"0",2)+_v(n%60,"0",2)}function c_(t,n){return _v(t.getUTCDate(),n,2)}function f_(t,n){return _v(t.getUTCHours(),n,2)}function s_(t,n){return _v(t.getUTCHours()%12||12,n,2)}function l_(t,n){return _v(1+yy.count(ev(t),t),n,3)}function h_(t,n){return _v(t.getUTCMilliseconds(),n,3)}function d_(t,n){return h_(t,n)+"000"}function p_(t,n){return _v(t.getUTCMonth()+1,n,2)}function g_(t,n){return _v(t.getUTCMinutes(),n,2)}function y_(t,n){return _v(t.getUTCSeconds(),n,2)}function v_(t){var n=t.getUTCDay();return 0===n?7:n}function __(t,n){return _v(Fy.count(ev(t)-1,t),n,2)}function b_(t){var n=t.getUTCDay();return n>=4||0===n?Oy(t):Oy.ceil(t)}function m_(t,n){return t=b_(t),_v(Oy.count(ev(t),t)+(4===ev(t).getUTCDay()),n,2)}function x_(t){return t.getUTCDay()}function w_(t,n){return _v(qy.count(ev(t)-1,t),n,2)}function M_(t,n){return _v(t.getUTCFullYear()%100,n,2)}function T_(t,n){return _v((t=b_(t)).getUTCFullYear()%100,n,2)}function A_(t,n){return _v(t.getUTCFullYear()%1e4,n,4)}function S_(t,n){var e=t.getUTCDay();return _v((t=e>=4||0===e?Oy(t):Oy.ceil(t)).getUTCFullYear()%1e4,n,4)}function E_(){return"+0000"}function N_(){return"%"}function k_(t){return+t}function C_(t){return Math.floor(+t/1e3)}function P_(n){return dv=hv(n),t.timeFormat=dv.format,t.timeParse=dv.parse,t.utcFormat=dv.utcFormat,t.utcParse=dv.utcParse,dv}t.timeFormat=void 0,t.timeParse=void 0,t.utcFormat=void 0,t.utcParse=void 0,P_({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var z_="%Y-%m-%dT%H:%M:%S.%LZ";var $_=Date.prototype.toISOString?function(t){return t.toISOString()}:t.utcFormat(z_),D_=$_;var R_=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:t.utcParse(z_),F_=R_;function q_(t){return new Date(t)}function U_(t){return t instanceof Date?+t:+new Date(+t)}function I_(t,n,e,r,i,o,a,u,c,f){var s=Sg(),l=s.invert,h=s.domain,d=f(".%L"),p=f(":%S"),g=f("%I:%M"),y=f("%I %p"),v=f("%a %d"),_=f("%b %d"),b=f("%B"),m=f("%Y");function x(t){return(c(t)Fr(t[t.length-1]),ib=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(H_),ob=rb(ib),ab=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(H_),ub=rb(ab),cb=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(H_),fb=rb(cb),sb=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(H_),lb=rb(sb),hb=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(H_),db=rb(hb),pb=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(H_),gb=rb(pb),yb=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(H_),vb=rb(yb),_b=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(H_),bb=rb(_b),mb=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(H_),xb=rb(mb),wb=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(H_),Mb=rb(wb),Tb=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(H_),Ab=rb(Tb),Sb=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(H_),Eb=rb(Sb),Nb=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(H_),kb=rb(Nb),Cb=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(H_),Pb=rb(Cb),zb=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(H_),$b=rb(zb),Db=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(H_),Rb=rb(Db),Fb=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(H_),qb=rb(Fb),Ub=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(H_),Ib=rb(Ub),Ob=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(H_),Bb=rb(Ob),Yb=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(H_),Lb=rb(Yb),jb=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(H_),Hb=rb(jb),Xb=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(H_),Gb=rb(Xb),Vb=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(H_),Wb=rb(Vb),Zb=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(H_),Kb=rb(Zb),Qb=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(H_),Jb=rb(Qb),tm=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(H_),nm=rb(tm),em=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(H_),rm=rb(em);var im=hi(Tr(300,.5,0),Tr(-240,.5,1)),om=hi(Tr(-100,.75,.35),Tr(80,1.5,.8)),am=hi(Tr(260,.75,.35),Tr(80,1.5,.8)),um=Tr();var cm=Fe(),fm=Math.PI/3,sm=2*Math.PI/3;function lm(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}var hm=lm(H_("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),dm=lm(H_("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),pm=lm(H_("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),gm=lm(H_("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function ym(t){return function(){return t}}const vm=Math.abs,_m=Math.atan2,bm=Math.cos,mm=Math.max,xm=Math.min,wm=Math.sin,Mm=Math.sqrt,Tm=1e-12,Am=Math.PI,Sm=Am/2,Em=2*Am;function Nm(t){return t>=1?Sm:t<=-1?-Sm:Math.asin(t)}function km(t){let n=3;return t.digits=function(e){if(!arguments.length)return n;if(null==e)n=null;else{const t=Math.floor(e);if(!(t>=0))throw new RangeError(`invalid digits: ${e}`);n=t}return t},()=>new Ua(n)}function Cm(t){return t.innerRadius}function Pm(t){return t.outerRadius}function zm(t){return t.startAngle}function $m(t){return t.endAngle}function Dm(t){return t&&t.padAngle}function Rm(t,n,e,r,i,o,a){var u=t-e,c=n-r,f=(a?o:-o)/Mm(u*u+c*c),s=f*c,l=-f*u,h=t+s,d=n+l,p=e+s,g=r+l,y=(h+p)/2,v=(d+g)/2,_=p-h,b=g-d,m=_*_+b*b,x=i-o,w=h*g-p*d,M=(b<0?-1:1)*Mm(mm(0,x*x*m-w*w)),T=(w*b-_*M)/m,A=(-w*_-b*M)/m,S=(w*b+_*M)/m,E=(-w*_+b*M)/m,N=T-y,k=A-v,C=S-y,P=E-v;return N*N+k*k>C*C+P*P&&(T=S,A=E),{cx:T,cy:A,x01:-s,y01:-l,x11:T*(i/x-1),y11:A*(i/x-1)}}var Fm=Array.prototype.slice;function qm(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Um(t){this._context=t}function Im(t){return new Um(t)}function Om(t){return t[0]}function Bm(t){return t[1]}function Ym(t,n){var e=ym(!0),r=null,i=Im,o=null,a=km(u);function u(u){var c,f,s,l=(u=qm(u)).length,h=!1;for(null==r&&(o=i(s=a())),c=0;c<=l;++c)!(c=l;--h)u.point(v[h],_[h]);u.lineEnd(),u.areaEnd()}y&&(v[s]=+t(d,s,f),_[s]=+n(d,s,f),u.point(r?+r(d,s,f):v[s],e?+e(d,s,f):_[s]))}if(p)return u=null,p+""||null}function s(){return Ym().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?Om:ym(+t),n="function"==typeof n?n:ym(void 0===n?0:+n),e="function"==typeof e?e:void 0===e?Bm:ym(+e),f.x=function(n){return arguments.length?(t="function"==typeof n?n:ym(+n),r=null,f):t},f.x0=function(n){return arguments.length?(t="function"==typeof n?n:ym(+n),f):t},f.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:ym(+t),f):r},f.y=function(t){return arguments.length?(n="function"==typeof t?t:ym(+t),e=null,f):n},f.y0=function(t){return arguments.length?(n="function"==typeof t?t:ym(+t),f):n},f.y1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:ym(+t),f):e},f.lineX0=f.lineY0=function(){return s().x(t).y(n)},f.lineY1=function(){return s().x(t).y(e)},f.lineX1=function(){return s().x(r).y(n)},f.defined=function(t){return arguments.length?(i="function"==typeof t?t:ym(!!t),f):i},f.curve=function(t){return arguments.length?(a=t,null!=o&&(u=a(o)),f):a},f.context=function(t){return arguments.length?(null==t?o=u=null:u=a(o=t),f):o},f}function jm(t,n){return nt?1:n>=t?0:NaN}function Hm(t){return t}Um.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var Xm=Vm(Im);function Gm(t){this._curve=t}function Vm(t){function n(n){return new Gm(t(n))}return n._curve=t,n}function Wm(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(Vm(t)):n()._curve},t}function Zm(){return Wm(Ym().curve(Xm))}function Km(){var t=Lm().curve(Xm),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Wm(e())},delete t.lineX0,t.lineEndAngle=function(){return Wm(r())},delete t.lineX1,t.lineInnerRadius=function(){return Wm(i())},delete t.lineY0,t.lineOuterRadius=function(){return Wm(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Vm(t)):n()._curve},t}function Qm(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}Gm.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};class Jm{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n)}this._x0=t,this._y0=n}}class tx{constructor(t){this._context=t}lineStart(){this._point=0}lineEnd(){}point(t,n){if(t=+t,n=+n,0===this._point)this._point=1;else{const e=Qm(this._x0,this._y0),r=Qm(this._x0,this._y0=(this._y0+n)/2),i=Qm(t,this._y0),o=Qm(t,n);this._context.moveTo(...e),this._context.bezierCurveTo(...r,...i,...o)}this._x0=t,this._y0=n}}function nx(t){return new Jm(t,!0)}function ex(t){return new Jm(t,!1)}function rx(t){return new tx(t)}function ix(t){return t.source}function ox(t){return t.target}function ax(t){let n=ix,e=ox,r=Om,i=Bm,o=null,a=null,u=km(c);function c(){let c;const f=Fm.call(arguments),s=n.apply(this,f),l=e.apply(this,f);if(null==o&&(a=t(c=u())),a.lineStart(),f[0]=s,a.point(+r.apply(this,f),+i.apply(this,f)),f[0]=l,a.point(+r.apply(this,f),+i.apply(this,f)),a.lineEnd(),c)return a=null,c+""||null}return c.source=function(t){return arguments.length?(n=t,c):n},c.target=function(t){return arguments.length?(e=t,c):e},c.x=function(t){return arguments.length?(r="function"==typeof t?t:ym(+t),c):r},c.y=function(t){return arguments.length?(i="function"==typeof t?t:ym(+t),c):i},c.context=function(n){return arguments.length?(null==n?o=a=null:a=t(o=n),c):o},c}const ux=Mm(3);var cx={draw(t,n){const e=.59436*Mm(n+xm(n/28,.75)),r=e/2,i=r*ux;t.moveTo(0,e),t.lineTo(0,-e),t.moveTo(-i,-r),t.lineTo(i,r),t.moveTo(-i,r),t.lineTo(i,-r)}},fx={draw(t,n){const e=Mm(n/Am);t.moveTo(e,0),t.arc(0,0,e,0,Em)}},sx={draw(t,n){const e=Mm(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}};const lx=Mm(1/3),hx=2*lx;var dx={draw(t,n){const e=Mm(n/hx),r=e*lx;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},px={draw(t,n){const e=.62625*Mm(n);t.moveTo(0,-e),t.lineTo(e,0),t.lineTo(0,e),t.lineTo(-e,0),t.closePath()}},gx={draw(t,n){const e=.87559*Mm(n-xm(n/7,2));t.moveTo(-e,0),t.lineTo(e,0),t.moveTo(0,e),t.lineTo(0,-e)}},yx={draw(t,n){const e=Mm(n),r=-e/2;t.rect(r,r,e,e)}},vx={draw(t,n){const e=.4431*Mm(n);t.moveTo(e,e),t.lineTo(e,-e),t.lineTo(-e,-e),t.lineTo(-e,e),t.closePath()}};const _x=wm(Am/10)/wm(7*Am/10),bx=wm(Em/10)*_x,mx=-bm(Em/10)*_x;var xx={draw(t,n){const e=Mm(.8908130915292852*n),r=bx*e,i=mx*e;t.moveTo(0,-e),t.lineTo(r,i);for(let n=1;n<5;++n){const o=Em*n/5,a=bm(o),u=wm(o);t.lineTo(u*e,-a*e),t.lineTo(a*r-u*i,u*r+a*i)}t.closePath()}};const wx=Mm(3);var Mx={draw(t,n){const e=-Mm(n/(3*wx));t.moveTo(0,2*e),t.lineTo(-wx*e,-e),t.lineTo(wx*e,-e),t.closePath()}};const Tx=Mm(3);var Ax={draw(t,n){const e=.6824*Mm(n),r=e/2,i=e*Tx/2;t.moveTo(0,-e),t.lineTo(i,r),t.lineTo(-i,r),t.closePath()}};const Sx=-.5,Ex=Mm(3)/2,Nx=1/Mm(12),kx=3*(Nx/2+1);var Cx={draw(t,n){const e=Mm(n/kx),r=e/2,i=e*Nx,o=r,a=e*Nx+e,u=-o,c=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(u,c),t.lineTo(Sx*r-Ex*i,Ex*r+Sx*i),t.lineTo(Sx*o-Ex*a,Ex*o+Sx*a),t.lineTo(Sx*u-Ex*c,Ex*u+Sx*c),t.lineTo(Sx*r+Ex*i,Sx*i-Ex*r),t.lineTo(Sx*o+Ex*a,Sx*a-Ex*o),t.lineTo(Sx*u+Ex*c,Sx*c-Ex*u),t.closePath()}},Px={draw(t,n){const e=.6189*Mm(n-xm(n/6,1.7));t.moveTo(-e,-e),t.lineTo(e,e),t.moveTo(-e,e),t.lineTo(e,-e)}};const zx=[fx,sx,dx,yx,xx,Mx,Cx],$x=[fx,gx,Px,Ax,cx,vx,px];function Dx(){}function Rx(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function Fx(t){this._context=t}function qx(t){this._context=t}function Ux(t){this._context=t}function Ix(t,n){this._basis=new Fx(t),this._beta=n}Fx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Rx(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Rx(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},qx.prototype={areaStart:Dx,areaEnd:Dx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Rx(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ux.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:Rx(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ix.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],a=t[e]-i,u=n[e]-o,c=-1;++c<=e;)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*a),this._beta*n[c]+(1-this._beta)*(o+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var Ox=function t(n){function e(t){return 1===n?new Fx(t):new Ix(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function Bx(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function Yx(t,n){this._context=t,this._k=(1-n)/6}Yx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Bx(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:Bx(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Lx=function t(n){function e(t){return new Yx(t,n)}return e.tension=function(n){return t(+n)},e}(0);function jx(t,n){this._context=t,this._k=(1-n)/6}jx.prototype={areaStart:Dx,areaEnd:Dx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Bx(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Hx=function t(n){function e(t){return new jx(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Xx(t,n){this._context=t,this._k=(1-n)/6}Xx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Bx(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Gx=function t(n){function e(t){return new Xx(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Vx(t,n,e){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>Tm){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>Tm){var f=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,s=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*f+t._x1*t._l23_2a-n*t._l12_2a)/s,a=(a*f+t._y1*t._l23_2a-e*t._l12_2a)/s}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function Wx(t,n){this._context=t,this._alpha=n}Wx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:Vx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Zx=function t(n){function e(t){return n?new Wx(t,n):new Yx(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Kx(t,n){this._context=t,this._alpha=n}Kx.prototype={areaStart:Dx,areaEnd:Dx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Vx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Qx=function t(n){function e(t){return n?new Kx(t,n):new jx(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Jx(t,n){this._context=t,this._alpha=n}Jx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Vx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var tw=function t(n){function e(t){return n?new Jx(t,n):new Xx(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function nw(t){this._context=t}function ew(t){return t<0?-1:1}function rw(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(e-t._y1)/(i||r<0&&-0),u=(o*i+a*r)/(r+i);return(ew(o)+ew(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(u))||0}function iw(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function ow(t,n,e){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*n,o-u,a-u*e,o,a)}function aw(t){this._context=t}function uw(t){this._context=new cw(t)}function cw(t){this._context=t}function fw(t){this._context=t}function sw(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(a[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n1)for(var e,r,i,o=1,a=t[n[0]],u=a.length;o=0;)e[n]=n;return e}function pw(t,n){return t[n]}function gw(t){const n=[];return n.key=t,n}function yw(t){var n=t.map(vw);return dw(t).sort((function(t,e){return n[t]-n[e]}))}function vw(t){for(var n,e=-1,r=0,i=t.length,o=-1/0;++eo&&(o=n,r=e);return r}function _w(t){var n=t.map(bw);return dw(t).sort((function(t,e){return n[t]-n[e]}))}function bw(t){for(var n,e=0,r=-1,i=t.length;++r=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}};var mw=t=>()=>t;function xw(t,{sourceEvent:n,target:e,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function ww(t,n,e){this.k=t,this.x=n,this.y=e}ww.prototype={constructor:ww,scale:function(t){return 1===t?this:new ww(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new ww(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Mw=new ww(1,0,0);function Tw(t){for(;!t.__zoom;)if(!(t=t.parentNode))return Mw;return t.__zoom}function Aw(t){t.stopImmediatePropagation()}function Sw(t){t.preventDefault(),t.stopImmediatePropagation()}function Ew(t){return!(t.ctrlKey&&"wheel"!==t.type||t.button)}function Nw(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function kw(){return this.__zoom||Mw}function Cw(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function Pw(){return navigator.maxTouchPoints||"ontouchstart"in this}function zw(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],a=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}Tw.prototype=ww.prototype,t.Adder=T,t.Delaunay=Lu,t.FormatSpecifier=tf,t.InternMap=InternMap,t.InternSet=InternSet,t.Node=Qd,t.Path=Ua,t.Voronoi=qu,t.ZoomTransform=ww,t.active=function(t,n){var e,r,i=t.__transition;if(i)for(r in n=null==n?null:n+"",i)if((e=i[r]).state>qi&&e.name===n)return new po([[t]],Zo,n,+r);return null},t.arc=function(){var t=Cm,n=Pm,e=ym(0),r=null,i=zm,o=$m,a=Dm,u=null,c=km(f);function f(){var f,s,l=+t.apply(this,arguments),h=+n.apply(this,arguments),d=i.apply(this,arguments)-Sm,p=o.apply(this,arguments)-Sm,g=vm(p-d),y=p>d;if(u||(u=f=c()),hTm)if(g>Em-Tm)u.moveTo(h*bm(d),h*wm(d)),u.arc(0,0,h,d,p,!y),l>Tm&&(u.moveTo(l*bm(p),l*wm(p)),u.arc(0,0,l,p,d,y));else{var v,_,b=d,m=p,x=d,w=p,M=g,T=g,A=a.apply(this,arguments)/2,S=A>Tm&&(r?+r.apply(this,arguments):Mm(l*l+h*h)),E=xm(vm(h-l)/2,+e.apply(this,arguments)),N=E,k=E;if(S>Tm){var C=Nm(S/l*wm(A)),P=Nm(S/h*wm(A));(M-=2*C)>Tm?(x+=C*=y?1:-1,w-=C):(M=0,x=w=(d+p)/2),(T-=2*P)>Tm?(b+=P*=y?1:-1,m-=P):(T=0,b=m=(d+p)/2)}var z=h*bm(b),$=h*wm(b),D=l*bm(w),R=l*wm(w);if(E>Tm){var F,q=h*bm(m),U=h*wm(m),I=l*bm(x),O=l*wm(x);if(g1?0:t<-1?Am:Math.acos(t)}((B*L+Y*j)/(Mm(B*B+Y*Y)*Mm(L*L+j*j)))/2),X=Mm(F[0]*F[0]+F[1]*F[1]);N=xm(E,(l-X)/(H-1)),k=xm(E,(h-X)/(H+1))}else N=k=0}T>Tm?k>Tm?(v=Rm(I,O,z,$,h,k,y),_=Rm(q,U,D,R,h,k,y),u.moveTo(v.cx+v.x01,v.cy+v.y01),kTm&&M>Tm?N>Tm?(v=Rm(D,R,q,U,l,-N,y),_=Rm(z,$,I,O,l,-N,y),u.lineTo(v.cx+v.x01,v.cy+v.y01),N=0))throw new RangeError("invalid r");let e=t.length;if(!((e=Math.floor(e))>=0))throw new RangeError("invalid length");if(!e||!n)return t;const r=y(n),i=t.slice();return r(t,i,0,e,1),r(i,t,0,e,1),r(t,i,0,e,1),t},t.blur2=l,t.blurImage=h,t.brush=function(){return wa(la)},t.brushSelection=function(t){var n=t.__brush;return n?n.dim.output(n.selection):null},t.brushX=function(){return wa(fa)},t.brushY=function(){return wa(sa)},t.buffer=function(t,n){return fetch(t,n).then(_c)},t.chord=function(){return za(!1,!1)},t.chordDirected=function(){return za(!0,!1)},t.chordTranspose=function(){return za(!1,!0)},t.cluster=function(){var t=Ld,n=1,e=1,r=!1;function i(i){var o,a=0;i.eachAfter((function(n){var e=n.children;e?(n.x=function(t){return t.reduce(jd,0)/t.length}(e),n.y=function(t){return 1+t.reduce(Hd,0)}(e)):(n.x=o?a+=t(n,o):0,n.y=0,o=n)}));var u=function(t){for(var n;n=t.children;)t=n[0];return t}(i),c=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(i),f=u.x-t(u,c)/2,s=c.x+t(c,u)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*n,t.y=(i.y-t.y)*e}:function(t){t.x=(t.x-f)/(s-f)*n,t.y=(1-(i.y?t.y/i.y:1))*e})}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i},t.color=ze,t.contourDensity=function(){var t=fu,n=su,e=lu,r=960,i=500,o=20,a=2,u=3*o,c=r+2*u>>a,f=i+2*u>>a,s=Qa(20);function h(r){var i=new Float32Array(c*f),s=Math.pow(2,-a),h=-1;for(const o of r){var d=(t(o,++h,r)+u)*s,p=(n(o,h,r)+u)*s,g=+e(o,h,r);if(g&&d>=0&&d=0&&pt*r)))(n).map(((t,n)=>(t.value=+e[n],p(t))))}function p(t){return t.coordinates.forEach(g),t}function g(t){t.forEach(y)}function y(t){t.forEach(v)}function v(t){t[0]=t[0]*Math.pow(2,a)-u,t[1]=t[1]*Math.pow(2,a)-u}function _(){return c=r+2*(u=3*o)>>a,f=i+2*u>>a,d}return d.contours=function(t){var n=h(t),e=iu().size([c,f]),r=Math.pow(2,2*a),i=t=>{t=+t;var i=p(e.contour(n,t*r));return i.value=t,i};return Object.defineProperty(i,"max",{get:()=>J(n)/r}),i},d.x=function(n){return arguments.length?(t="function"==typeof n?n:Qa(+n),d):t},d.y=function(t){return arguments.length?(n="function"==typeof t?t:Qa(+t),d):n},d.weight=function(t){return arguments.length?(e="function"==typeof t?t:Qa(+t),d):e},d.size=function(t){if(!arguments.length)return[r,i];var n=+t[0],e=+t[1];if(!(n>=0&&e>=0))throw new Error("invalid size");return r=n,i=e,_()},d.cellSize=function(t){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(t)/Math.LN2),_()},d.thresholds=function(t){return arguments.length?(s="function"==typeof t?t:Array.isArray(t)?Qa(Za.call(t)):Qa(t),d):s},d.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=(Math.sqrt(4*t*t+1)-1)/2,_()},d},t.contours=iu,t.count=v,t.create=function(t){return Zn(Yt(t).call(document.documentElement))},t.creator=Yt,t.cross=function(...t){const n="function"==typeof t[t.length-1]&&function(t){return n=>t(...n)}(t.pop()),e=(t=t.map(m)).map(_),r=t.length-1,i=new Array(r+1).fill(0),o=[];if(r<0||e.some(b))return o;for(;;){o.push(i.map(((n,e)=>t[e][n])));let a=r;for(;++i[a]===e[a];){if(0===a)return n?o.map(n):o;i[a--]=0}}},t.csv=wc,t.csvFormat=rc,t.csvFormatBody=ic,t.csvFormatRow=ac,t.csvFormatRows=oc,t.csvFormatValue=uc,t.csvParse=nc,t.csvParseRows=ec,t.cubehelix=Tr,t.cumsum=function(t,n){var e=0,r=0;return Float64Array.from(t,void 0===n?t=>e+=+t||0:i=>e+=+n(i,r++,t)||0)},t.curveBasis=function(t){return new Fx(t)},t.curveBasisClosed=function(t){return new qx(t)},t.curveBasisOpen=function(t){return new Ux(t)},t.curveBumpX=nx,t.curveBumpY=ex,t.curveBundle=Ox,t.curveCardinal=Lx,t.curveCardinalClosed=Hx,t.curveCardinalOpen=Gx,t.curveCatmullRom=Zx,t.curveCatmullRomClosed=Qx,t.curveCatmullRomOpen=tw,t.curveLinear=Im,t.curveLinearClosed=function(t){return new nw(t)},t.curveMonotoneX=function(t){return new aw(t)},t.curveMonotoneY=function(t){return new uw(t)},t.curveNatural=function(t){return new fw(t)},t.curveStep=function(t){return new lw(t,.5)},t.curveStepAfter=function(t){return new lw(t,1)},t.curveStepBefore=function(t){return new lw(t,0)},t.descending=e,t.deviation=w,t.difference=function(t,...n){t=new InternSet(t);for(const e of n)for(const n of e)t.delete(n);return t},t.disjoint=function(t,n){const e=n[Symbol.iterator](),r=new InternSet;for(const n of t){if(r.has(n))return!1;let t,i;for(;({value:t,done:i}=e.next())&&!i;){if(Object.is(n,t))return!1;r.add(t)}}return!0},t.dispatch=$t,t.drag=function(){var t,n,e,r,i=se,o=le,a=he,u=de,c={},f=$t("start","drag","end"),s=0,l=0;function h(t){t.on("mousedown.drag",d).filter(u).on("touchstart.drag",y).on("touchmove.drag",v,ee).on("touchend.drag touchcancel.drag",_).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(a,u){if(!r&&i.call(this,a,u)){var c=b(this,o.call(this,a,u),a,u,"mouse");c&&(Zn(a.view).on("mousemove.drag",p,re).on("mouseup.drag",g,re),ae(a.view),ie(a),e=!1,t=a.clientX,n=a.clientY,c("start",a))}}function p(r){if(oe(r),!e){var i=r.clientX-t,o=r.clientY-n;e=i*i+o*o>l}c.mouse("drag",r)}function g(t){Zn(t.view).on("mousemove.drag mouseup.drag",null),ue(t.view,e),oe(t),c.mouse("end",t)}function y(t,n){if(i.call(this,t,n)){var e,r,a=t.changedTouches,u=o.call(this,t,n),c=a.length;for(e=0;e+t,t.easePoly=wo,t.easePolyIn=mo,t.easePolyInOut=wo,t.easePolyOut=xo,t.easeQuad=_o,t.easeQuadIn=function(t){return t*t},t.easeQuadInOut=_o,t.easeQuadOut=function(t){return t*(2-t)},t.easeSin=Ao,t.easeSinIn=function(t){return 1==+t?1:1-Math.cos(t*To)},t.easeSinInOut=Ao,t.easeSinOut=function(t){return Math.sin(t*To)},t.every=function(t,n){if("function"!=typeof n)throw new TypeError("test is not a function");let e=-1;for(const r of t)if(!n(r,++e,t))return!1;return!0},t.extent=M,t.fcumsum=function(t,n){const e=new T;let r=-1;return Float64Array.from(t,void 0===n?t=>e.add(+t||0):i=>e.add(+n(i,++r,t)||0))},t.filter=function(t,n){if("function"!=typeof n)throw new TypeError("test is not a function");const e=[];let r=-1;for(const i of t)n(i,++r,t)&&e.push(i);return e},t.flatGroup=function(t,...n){return z(P(t,...n),n)},t.flatRollup=function(t,n,...e){return z(D(t,n,...e),e)},t.forceCenter=function(t,n){var e,r=1;function i(){var i,o,a=e.length,u=0,c=0;for(i=0;if+p||os+p||ac.index){var g=f-u.x-u.vx,y=s-u.y-u.vy,v=g*g+y*y;vt.r&&(t.r=t[n].r)}function c(){if(n){var r,i,o=n.length;for(e=new Array(o),r=0;r[u(t,n,r),t])));for(a=0,i=new Array(f);a=u)){(t.data!==n||t.next)&&(0===l&&(p+=(l=Uc(e))*l),0===h&&(p+=(h=Uc(e))*h),p(t=(Lc*t+jc)%Hc)/Hc}();function l(){h(),f.call("tick",n),e1?(null==e?u.delete(t):u.set(t,p(e)),n):u.get(t)},find:function(n,e,r){var i,o,a,u,c,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f1?(f.on(t,e),n):f.on(t)}}},t.forceX=function(t){var n,e,r,i=qc(.1);function o(t){for(var i,o=0,a=n.length;o=.12&&i<.234&&r>=-.425&&r<-.214?u:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:a).invert(t)},s.stream=function(e){return t&&n===e?t:(r=[a.stream(n=e),u.stream(e),c.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++ejs(r[0],r[1])&&(r[1]=i[1]),js(i[0],r[1])>js(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,n=0,r=o[e=o.length-1];n<=e;r=i,++n)i=o[n],(u=js(r[1],i[0]))>a&&(a=u,Wf=i[0],Kf=r[1])}return is=os=null,Wf===1/0||Zf===1/0?[[NaN,NaN],[NaN,NaN]]:[[Wf,Zf],[Kf,Qf]]},t.geoCentroid=function(t){ms=xs=ws=Ms=Ts=As=Ss=Es=0,Ns=new T,ks=new T,Cs=new T,Lf(t,Gs);var n=+Ns,e=+ks,r=+Cs,i=Ef(n,e,r);return i=0))throw new RangeError(`invalid digits: ${t}`);i=n}return null===n&&(r=new ed(i)),a},a.projection(t).digits(i).context(n)},t.geoProjection=yd,t.geoProjectionMutator=vd,t.geoRotation=ll,t.geoStereographic=function(){return yd(Bd).scale(250).clipAngle(142)},t.geoStereographicRaw=Bd,t.geoStream=Lf,t.geoTransform=function(t){return{stream:id(t)}},t.geoTransverseMercator=function(){var t=Ed(Yd),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)},t.geoTransverseMercatorRaw=Yd,t.gray=function(t,n){return new ur(t,0,0,null==n?1:n)},t.greatest=ot,t.greatestIndex=function(t,e=n){if(1===e.length)return tt(t,e);let r,i=-1,o=-1;for(const n of t)++o,(i<0?0===e(n,n):e(n,r)>0)&&(r=n,i=o);return i},t.group=C,t.groupSort=function(t,e,r){return(2!==e.length?U($(t,e,r),(([t,e],[r,i])=>n(e,i)||n(t,r))):U(C(t,r),(([t,r],[i,o])=>e(r,o)||n(t,i)))).map((([t])=>t))},t.groups=P,t.hcl=dr,t.hierarchy=Gd,t.histogram=Q,t.hsl=He,t.html=Ec,t.image=function(t,n){return new Promise((function(e,r){var i=new Image;for(var o in n)i[o]=n[o];i.onerror=r,i.onload=function(){e(i)},i.src=t}))},t.index=function(t,...n){return F(t,k,R,n)},t.indexes=function(t,...n){return F(t,Array.from,R,n)},t.interpolate=Gr,t.interpolateArray=function(t,n){return(Ir(n)?Ur:Or)(t,n)},t.interpolateBasis=Er,t.interpolateBasisClosed=Nr,t.interpolateBlues=Gb,t.interpolateBrBG=ob,t.interpolateBuGn=Mb,t.interpolateBuPu=Ab,t.interpolateCividis=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-t*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"},t.interpolateCool=am,t.interpolateCubehelix=li,t.interpolateCubehelixDefault=im,t.interpolateCubehelixLong=hi,t.interpolateDate=Br,t.interpolateDiscrete=function(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}},t.interpolateGnBu=Eb,t.interpolateGreens=Wb,t.interpolateGreys=Kb,t.interpolateHcl=ci,t.interpolateHclLong=fi,t.interpolateHsl=oi,t.interpolateHslLong=ai,t.interpolateHue=function(t,n){var e=Pr(+t,+n);return function(t){var n=e(t);return n-360*Math.floor(n/360)}},t.interpolateInferno=pm,t.interpolateLab=function(t,n){var e=$r((t=ar(t)).l,(n=ar(n)).l),r=$r(t.a,n.a),i=$r(t.b,n.b),o=$r(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=r(n),t.b=i(n),t.opacity=o(n),t+""}},t.interpolateMagma=dm,t.interpolateNumber=Yr,t.interpolateNumberArray=Ur,t.interpolateObject=Lr,t.interpolateOrRd=kb,t.interpolateOranges=rm,t.interpolatePRGn=ub,t.interpolatePiYG=fb,t.interpolatePlasma=gm,t.interpolatePuBu=$b,t.interpolatePuBuGn=Pb,t.interpolatePuOr=lb,t.interpolatePuRd=Rb,t.interpolatePurples=Jb,t.interpolateRainbow=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return um.h=360*t-100,um.s=1.5-1.5*n,um.l=.8-.9*n,um+""},t.interpolateRdBu=db,t.interpolateRdGy=gb,t.interpolateRdPu=qb,t.interpolateRdYlBu=vb,t.interpolateRdYlGn=bb,t.interpolateReds=nm,t.interpolateRgb=Dr,t.interpolateRgbBasis=Fr,t.interpolateRgbBasisClosed=qr,t.interpolateRound=Vr,t.interpolateSinebow=function(t){var n;return t=(.5-t)*Math.PI,cm.r=255*(n=Math.sin(t))*n,cm.g=255*(n=Math.sin(t+fm))*n,cm.b=255*(n=Math.sin(t+sm))*n,cm+""},t.interpolateSpectral=xb,t.interpolateString=Xr,t.interpolateTransformCss=ti,t.interpolateTransformSvg=ni,t.interpolateTurbo=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"},t.interpolateViridis=hm,t.interpolateWarm=om,t.interpolateYlGn=Bb,t.interpolateYlGnBu=Ib,t.interpolateYlOrBr=Lb,t.interpolateYlOrRd=Hb,t.interpolateZoom=ri,t.interrupt=Gi,t.intersection=function(t,...n){t=new InternSet(t),n=n.map(vt);t:for(const e of t)for(const r of n)if(!r.has(e)){t.delete(e);continue t}return t},t.interval=function(t,n,e){var r=new Ei,i=n;return null==n?(r.restart(t,n,e),r):(r._restart=r.restart,r.restart=function(t,n,e){n=+n,e=null==e?Ai():+e,r._restart((function o(a){a+=i,r._restart(o,i+=n,e),t(a)}),n,e)},r.restart(t,n,e),r)},t.isoFormat=D_,t.isoParse=F_,t.json=function(t,n){return fetch(t,n).then(Tc)},t.lab=ar,t.lch=function(t,n,e,r){return 1===arguments.length?hr(t):new pr(e,n,t,null==r?1:r)},t.least=function(t,e=n){let r,i=!1;if(1===e.length){let o;for(const a of t){const t=e(a);(i?n(t,o)<0:0===n(t,t))&&(r=a,o=t,i=!0)}}else for(const n of t)(i?e(n,r)<0:0===e(n,n))&&(r=n,i=!0);return r},t.leastIndex=ht,t.line=Ym,t.lineRadial=Zm,t.link=ax,t.linkHorizontal=function(){return ax(nx)},t.linkRadial=function(){const t=ax(rx);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t},t.linkVertical=function(){return ax(ex)},t.local=Qn,t.map=function(t,n){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");if("function"!=typeof n)throw new TypeError("mapper is not a function");return Array.from(t,((e,r)=>n(e,r,t)))},t.matcher=Vt,t.max=J,t.maxIndex=tt,t.mean=function(t,n){let e=0,r=0;if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(++e,r+=n);else{let i=-1;for(let o of t)null!=(o=n(o,++i,t))&&(o=+o)>=o&&(++e,r+=o)}if(e)return r/e},t.median=function(t,n){return at(t,.5,n)},t.medianIndex=function(t,n){return ct(t,.5,n)},t.merge=ft,t.min=nt,t.minIndex=et,t.mode=function(t,n){const e=new InternMap;if(void 0===n)for(let n of t)null!=n&&n>=n&&e.set(n,(e.get(n)||0)+1);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&i>=i&&e.set(i,(e.get(i)||0)+1)}let r,i=0;for(const[t,n]of e)n>i&&(i=n,r=t);return r},t.namespace=It,t.namespaces=Ut,t.nice=Z,t.now=Ai,t.pack=function(){var t=null,n=1,e=1,r=np;function i(i){const o=ap();return i.x=n/2,i.y=e/2,t?i.eachBefore(xp(t)).eachAfter(wp(r,.5,o)).eachBefore(Mp(1)):i.eachBefore(xp(mp)).eachAfter(wp(np,1,o)).eachAfter(wp(r,i.r/Math.min(n,e),o)).eachBefore(Mp(Math.min(n,e)/(2*i.r))),i}return i.radius=function(n){return arguments.length?(t=Jd(n),i):t},i.size=function(t){return arguments.length?(n=+t[0],e=+t[1],i):[n,e]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:ep(+t),i):r},i},t.packEnclose=function(t){return up(t,ap())},t.packSiblings=function(t){return bp(t,ap()),t},t.pairs=function(t,n=st){const e=[];let r,i=!1;for(const o of t)i&&e.push(n(r,o)),r=o,i=!0;return e},t.partition=function(){var t=1,n=1,e=0,r=!1;function i(i){var o=i.height+1;return i.x0=i.y0=e,i.x1=t,i.y1=n/o,i.eachBefore(function(t,n){return function(r){r.children&&Ap(r,r.x0,t*(r.depth+1)/n,r.x1,t*(r.depth+2)/n);var i=r.x0,o=r.y0,a=r.x1-e,u=r.y1-e;a0&&(d+=l);for(null!=n?p.sort((function(t,e){return n(g[t],g[e])})):null!=e&&p.sort((function(t,n){return e(a[t],a[n])})),u=0,f=d?(v-h*b)/d:0;u0?l*f:0)+b,g[c]={data:a[c],index:u,value:l,startAngle:y,endAngle:s,padAngle:_};return g}return a.value=function(n){return arguments.length?(t="function"==typeof n?n:ym(+n),a):t},a.sortValues=function(t){return arguments.length?(n=t,e=null,a):n},a.sort=function(t){return arguments.length?(e=t,n=null,a):e},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:ym(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:ym(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:ym(+t),a):o},a},t.piecewise=di,t.pointRadial=Qm,t.pointer=ne,t.pointers=function(t,n){return t.target&&(t=te(t),void 0===n&&(n=t.currentTarget),t=t.touches||[t]),Array.from(t,(t=>ne(t,n)))},t.polygonArea=function(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++eu!=f>u&&a<(c-e)*(u-r)/(f-r)+e&&(s=!s),c=e,f=r;return s},t.polygonHull=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),i=new Array(e);for(n=0;n=0;--n)f.push(t[r[o[n]][2]]);for(n=+u;n(n=1664525*n+1013904223|0,lg*(n>>>0))},t.randomLogNormal=Kp,t.randomLogistic=fg,t.randomNormal=Zp,t.randomPareto=ng,t.randomPoisson=sg,t.randomUniform=Vp,t.randomWeibull=ug,t.range=lt,t.rank=function(t,e=n){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");let r=Array.from(t);const i=new Float64Array(r.length);2!==e.length&&(r=r.map(e),e=n);const o=(t,n)=>e(r[t],r[n]);let a,u;return(t=Uint32Array.from(r,((t,n)=>n))).sort(e===n?(t,n)=>O(r[t],r[n]):I(o)),t.forEach(((t,n)=>{const e=o(t,void 0===a?t:a);e>=0?((void 0===a||e>0)&&(a=t,u=n),i[t]=u):i[t]=NaN})),i},t.reduce=function(t,n,e){if("function"!=typeof n)throw new TypeError("reducer is not a function");const r=t[Symbol.iterator]();let i,o,a=-1;if(arguments.length<3){if(({done:i,value:e}=r.next()),i)return;++a}for(;({done:i,value:o}=r.next()),!i;)e=n(e,o,++a,t);return e},t.reverse=function(t){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");return Array.from(t).reverse()},t.rgb=Fe,t.ribbon=function(){return Wa()},t.ribbonArrow=function(){return Wa(Va)},t.rollup=$,t.rollups=D,t.scaleBand=yg,t.scaleDiverging=function t(){var n=Ng(L_()(mg));return n.copy=function(){return B_(n,t())},dg.apply(n,arguments)},t.scaleDivergingLog=function t(){var n=Fg(L_()).domain([.1,1,10]);return n.copy=function(){return B_(n,t()).base(n.base())},dg.apply(n,arguments)},t.scaleDivergingPow=j_,t.scaleDivergingSqrt=function(){return j_.apply(null,arguments).exponent(.5)},t.scaleDivergingSymlog=function t(){var n=Ig(L_());return n.copy=function(){return B_(n,t()).constant(n.constant())},dg.apply(n,arguments)},t.scaleIdentity=function t(n){var e;function r(t){return null==t||isNaN(t=+t)?e:t}return r.invert=r,r.domain=r.range=function(t){return arguments.length?(n=Array.from(t,_g),r):n.slice()},r.unknown=function(t){return arguments.length?(e=t,r):e},r.copy=function(){return t(n).unknown(e)},n=arguments.length?Array.from(n,_g):[0,1],Ng(r)},t.scaleImplicit=pg,t.scaleLinear=function t(){var n=Sg();return n.copy=function(){return Tg(n,t())},hg.apply(n,arguments),Ng(n)},t.scaleLog=function t(){const n=Fg(Ag()).domain([1,10]);return n.copy=()=>Tg(n,t()).base(n.base()),hg.apply(n,arguments),n},t.scaleOrdinal=gg,t.scalePoint=function(){return vg(yg.apply(null,arguments).paddingInner(1))},t.scalePow=jg,t.scaleQuantile=function t(){var e,r=[],i=[],o=[];function a(){var t=0,n=Math.max(1,i.length);for(o=new Array(n-1);++t0?o[n-1]:r[0],n=i?[o[i-1],r]:[o[n-1],o[n]]},u.unknown=function(t){return arguments.length?(n=t,u):u},u.thresholds=function(){return o.slice()},u.copy=function(){return t().domain([e,r]).range(a).unknown(n)},hg.apply(Ng(u),arguments)},t.scaleRadial=function t(){var n,e=Sg(),r=[0,1],i=!1;function o(t){var r=function(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}(e(t));return isNaN(r)?n:i?Math.round(r):r}return o.invert=function(t){return e.invert(Hg(t))},o.domain=function(t){return arguments.length?(e.domain(t),o):e.domain()},o.range=function(t){return arguments.length?(e.range((r=Array.from(t,_g)).map(Hg)),o):r.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(i=!!t,o):i},o.clamp=function(t){return arguments.length?(e.clamp(t),o):e.clamp()},o.unknown=function(t){return arguments.length?(n=t,o):n},o.copy=function(){return t(e.domain(),r).round(i).clamp(e.clamp()).unknown(n)},hg.apply(o,arguments),Ng(o)},t.scaleSequential=function t(){var n=Ng(O_()(mg));return n.copy=function(){return B_(n,t())},dg.apply(n,arguments)},t.scaleSequentialLog=function t(){var n=Fg(O_()).domain([1,10]);return n.copy=function(){return B_(n,t()).base(n.base())},dg.apply(n,arguments)},t.scaleSequentialPow=Y_,t.scaleSequentialQuantile=function t(){var e=[],r=mg;function i(t){if(null!=t&&!isNaN(t=+t))return r((s(e,t,1)-1)/(e.length-1))}return i.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)null==n||isNaN(n=+n)||e.push(n);return e.sort(n),i},i.interpolator=function(t){return arguments.length?(r=t,i):r},i.range=function(){return e.map(((t,n)=>r(n/(e.length-1))))},i.quantiles=function(t){return Array.from({length:t+1},((n,r)=>at(e,r/t)))},i.copy=function(){return t(r).domain(e)},dg.apply(i,arguments)},t.scaleSequentialSqrt=function(){return Y_.apply(null,arguments).exponent(.5)},t.scaleSequentialSymlog=function t(){var n=Ig(O_());return n.copy=function(){return B_(n,t()).constant(n.constant())},dg.apply(n,arguments)},t.scaleSqrt=function(){return jg.apply(null,arguments).exponent(.5)},t.scaleSymlog=function t(){var n=Ig(Ag());return n.copy=function(){return Tg(n,t()).constant(n.constant())},hg.apply(n,arguments)},t.scaleThreshold=function t(){var n,e=[.5],r=[0,1],i=1;function o(t){return null!=t&&t<=t?r[s(e,t,0,i)]:n}return o.domain=function(t){return arguments.length?(e=Array.from(t),i=Math.min(e.length,r.length-1),o):e.slice()},o.range=function(t){return arguments.length?(r=Array.from(t),i=Math.min(e.length,r.length-1),o):r.slice()},o.invertExtent=function(t){var n=r.indexOf(t);return[e[n-1],e[n]]},o.unknown=function(t){return arguments.length?(n=t,o):n},o.copy=function(){return t().domain(e).range(r).unknown(n)},hg.apply(o,arguments)},t.scaleTime=function(){return hg.apply(I_(uv,cv,tv,Zy,xy,py,sy,ay,iy,t.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},t.scaleUtc=function(){return hg.apply(I_(ov,av,ev,Qy,Fy,yy,hy,cy,iy,t.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},t.scan=function(t,n){const e=ht(t,n);return e<0?void 0:e},t.schemeAccent=G_,t.schemeBlues=Xb,t.schemeBrBG=ib,t.schemeBuGn=wb,t.schemeBuPu=Tb,t.schemeCategory10=X_,t.schemeDark2=V_,t.schemeGnBu=Sb,t.schemeGreens=Vb,t.schemeGreys=Zb,t.schemeObservable10=W_,t.schemeOrRd=Nb,t.schemeOranges=em,t.schemePRGn=ab,t.schemePaired=Z_,t.schemePastel1=K_,t.schemePastel2=Q_,t.schemePiYG=cb,t.schemePuBu=zb,t.schemePuBuGn=Cb,t.schemePuOr=sb,t.schemePuRd=Db,t.schemePurples=Qb,t.schemeRdBu=hb,t.schemeRdGy=pb,t.schemeRdPu=Fb,t.schemeRdYlBu=yb,t.schemeRdYlGn=_b,t.schemeReds=tm,t.schemeSet1=J_,t.schemeSet2=tb,t.schemeSet3=nb,t.schemeSpectral=mb,t.schemeTableau10=eb,t.schemeYlGn=Ob,t.schemeYlGnBu=Ub,t.schemeYlOrBr=Yb,t.schemeYlOrRd=jb,t.select=Zn,t.selectAll=function(t){return"string"==typeof t?new Vn([document.querySelectorAll(t)],[document.documentElement]):new Vn([Ht(t)],Gn)},t.selection=Wn,t.selector=jt,t.selectorAll=Gt,t.shuffle=dt,t.shuffler=pt,t.some=function(t,n){if("function"!=typeof n)throw new TypeError("test is not a function");let e=-1;for(const r of t)if(n(r,++e,t))return!0;return!1},t.sort=U,t.stack=function(){var t=ym([]),n=dw,e=hw,r=pw;function i(i){var o,a,u=Array.from(t.apply(this,arguments),gw),c=u.length,f=-1;for(const t of i)for(o=0,++f;o0)for(var e,r,i,o,a,u,c=0,f=t[n[0]].length;c0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)},t.stackOffsetExpand=function(t,n){if((r=t.length)>0){for(var e,r,i,o=0,a=t[0].length;o0){for(var e,r=0,i=t[n[0]],o=i.length;r0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,a=1;afunction(t){t=`${t}`;let n=t.length;zp(t,n-1)&&!zp(t,n-2)&&(t=t.slice(0,-1));return"/"===t[0]?t:`/${t}`}(t(n,e,r)))),e=n.map(Pp),i=new Set(n).add("");for(const t of e)i.has(t)||(i.add(t),n.push(t),e.push(Pp(t)),h.push(Np));d=(t,e)=>n[e],p=(t,n)=>e[n]}for(a=0,i=h.length;a=0&&(f=h[t]).data===Np;--t)f.data=null}if(u.parent=Sp,u.eachBefore((function(t){t.depth=t.parent.depth+1,--i})).eachBefore(Kd),u.parent=null,i>0)throw new Error("cycle");return u}return r.id=function(t){return arguments.length?(n=Jd(t),r):n},r.parentId=function(t){return arguments.length?(e=Jd(t),r):e},r.path=function(n){return arguments.length?(t=Jd(n),r):t},r},t.style=_n,t.subset=function(t,n){return _t(n,t)},t.sum=function(t,n){let e=0;if(void 0===n)for(let n of t)(n=+n)&&(e+=n);else{let r=-1;for(let i of t)(i=+n(i,++r,t))&&(e+=i)}return e},t.superset=_t,t.svg=Nc,t.symbol=function(t,n){let e=null,r=km(i);function i(){let i;if(e||(e=i=r()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return t="function"==typeof t?t:ym(t||fx),n="function"==typeof n?n:ym(void 0===n?64:+n),i.type=function(n){return arguments.length?(t="function"==typeof n?n:ym(n),i):t},i.size=function(t){return arguments.length?(n="function"==typeof t?t:ym(+t),i):n},i.context=function(t){return arguments.length?(e=null==t?null:t,i):e},i},t.symbolAsterisk=cx,t.symbolCircle=fx,t.symbolCross=sx,t.symbolDiamond=dx,t.symbolDiamond2=px,t.symbolPlus=gx,t.symbolSquare=yx,t.symbolSquare2=vx,t.symbolStar=xx,t.symbolTimes=Px,t.symbolTriangle=Mx,t.symbolTriangle2=Ax,t.symbolWye=Cx,t.symbolX=Px,t.symbols=zx,t.symbolsFill=zx,t.symbolsStroke=$x,t.text=mc,t.thresholdFreedmanDiaconis=function(t,n,e){const r=v(t),i=at(t,.75)-at(t,.25);return r&&i?Math.ceil((e-n)/(2*i*Math.pow(r,-1/3))):1},t.thresholdScott=function(t,n,e){const r=v(t),i=w(t);return r&&i?Math.ceil((e-n)*Math.cbrt(r)/(3.49*i)):1},t.thresholdSturges=K,t.tickFormat=Eg,t.tickIncrement=V,t.tickStep=W,t.ticks=G,t.timeDay=py,t.timeDays=gy,t.timeFormatDefaultLocale=P_,t.timeFormatLocale=hv,t.timeFriday=Sy,t.timeFridays=$y,t.timeHour=sy,t.timeHours=ly,t.timeInterval=Vg,t.timeMillisecond=Wg,t.timeMilliseconds=Zg,t.timeMinute=ay,t.timeMinutes=uy,t.timeMonday=wy,t.timeMondays=ky,t.timeMonth=Zy,t.timeMonths=Ky,t.timeSaturday=Ey,t.timeSaturdays=Dy,t.timeSecond=iy,t.timeSeconds=oy,t.timeSunday=xy,t.timeSundays=Ny,t.timeThursday=Ay,t.timeThursdays=zy,t.timeTickInterval=cv,t.timeTicks=uv,t.timeTuesday=My,t.timeTuesdays=Cy,t.timeWednesday=Ty,t.timeWednesdays=Py,t.timeWeek=xy,t.timeWeeks=Ny,t.timeYear=tv,t.timeYears=nv,t.timeout=$i,t.timer=Ni,t.timerFlush=ki,t.transition=go,t.transpose=gt,t.tree=function(){var t=$p,n=1,e=1,r=null;function i(i){var c=function(t){for(var n,e,r,i,o,a=new Up(t,0),u=[a];n=u.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)u.push(e=n.children[i]=new Up(r[i],i)),e.parent=n;return(a.parent=new Up(null,0)).children=[a],a}(i);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(a),r)i.eachBefore(u);else{var f=i,s=i,l=i;i.eachBefore((function(t){t.xs.x&&(s=t),t.depth>l.depth&&(l=t)}));var h=f===s?1:t(f,s)/2,d=h-f.x,p=n/(s.x+h+d),g=e/(l.depth||1);i.eachBefore((function(t){t.x=(t.x+d)*p,t.y=t.depth*g}))}return i}function o(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)(n=i[o]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var o=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-o):n.z=o}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,o=n,a=n,u=e,c=o.parent.children[0],f=o.m,s=a.m,l=u.m,h=c.m;u=Rp(u),o=Dp(o),u&&o;)c=Dp(c),(a=Rp(a)).a=n,(i=u.z+l-o.z-f+t(u._,o._))>0&&(Fp(qp(u,n,r),n,i),f+=i,s+=i),l+=u.m,f+=o.m,h+=c.m,s+=a.m;u&&!Rp(a)&&(a.t=u,a.m+=l-s),o&&!Dp(c)&&(c.t=o,c.m+=f-h,r=n)}return r}(n,i,n.parent.A||r[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function u(t){t.x*=n,t.y=t.depth*e}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i},t.treemap=function(){var t=Yp,n=!1,e=1,r=1,i=[0],o=np,a=np,u=np,c=np,f=np;function s(t){return t.x0=t.y0=0,t.x1=e,t.y1=r,t.eachBefore(l),i=[0],n&&t.eachBefore(Tp),t}function l(n){var e=i[n.depth],r=n.x0+e,s=n.y0+e,l=n.x1-e,h=n.y1-e;l=e-1){var s=u[n];return s.x0=i,s.y0=o,s.x1=a,void(s.y1=c)}var l=f[n],h=r/2+l,d=n+1,p=e-1;for(;d>>1;f[g]c-o){var _=r?(i*v+a*y)/r:a;t(n,d,y,i,o,_,c),t(d,e,v,_,o,a,c)}else{var b=r?(o*v+c*y)/r:c;t(n,d,y,i,o,a,b),t(d,e,v,i,b,a,c)}}(0,c,t.value,n,e,r,i)},t.treemapDice=Ap,t.treemapResquarify=Lp,t.treemapSlice=Ip,t.treemapSliceDice=function(t,n,e,r,i){(1&t.depth?Ip:Ap)(t,n,e,r,i)},t.treemapSquarify=Yp,t.tsv=Mc,t.tsvFormat=lc,t.tsvFormatBody=hc,t.tsvFormatRow=pc,t.tsvFormatRows=dc,t.tsvFormatValue=gc,t.tsvParse=fc,t.tsvParseRows=sc,t.union=function(...t){const n=new InternSet;for(const e of t)for(const t of e)n.add(t);return n},t.unixDay=_y,t.unixDays=by,t.utcDay=yy,t.utcDays=vy,t.utcFriday=By,t.utcFridays=Vy,t.utcHour=hy,t.utcHours=dy,t.utcMillisecond=Wg,t.utcMilliseconds=Zg,t.utcMinute=cy,t.utcMinutes=fy,t.utcMonday=qy,t.utcMondays=jy,t.utcMonth=Qy,t.utcMonths=Jy,t.utcSaturday=Yy,t.utcSaturdays=Wy,t.utcSecond=iy,t.utcSeconds=oy,t.utcSunday=Fy,t.utcSundays=Ly,t.utcThursday=Oy,t.utcThursdays=Gy,t.utcTickInterval=av,t.utcTicks=ov,t.utcTuesday=Uy,t.utcTuesdays=Hy,t.utcWednesday=Iy,t.utcWednesdays=Xy,t.utcWeek=Fy,t.utcWeeks=Ly,t.utcYear=ev,t.utcYears=rv,t.variance=x,t.version="7.9.0",t.window=pn,t.xml=Sc,t.zip=function(){return gt(arguments)},t.zoom=function(){var t,n,e,r=Ew,i=Nw,o=zw,a=Cw,u=Pw,c=[0,1/0],f=[[-1/0,-1/0],[1/0,1/0]],s=250,l=ri,h=$t("start","zoom","end"),d=500,p=150,g=0,y=10;function v(t){t.property("__zoom",kw).on("wheel.zoom",T,{passive:!1}).on("mousedown.zoom",A).on("dblclick.zoom",S).filter(u).on("touchstart.zoom",E).on("touchmove.zoom",N).on("touchend.zoom touchcancel.zoom",k).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function _(t,n){return(n=Math.max(c[0],Math.min(c[1],n)))===t.k?t:new ww(n,t.x,t.y)}function b(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new ww(t.k,r,i)}function m(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function x(t,n,e,r){t.on("start.zoom",(function(){w(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){w(this,arguments).event(r).end()})).tween("zoom",(function(){var t=this,o=arguments,a=w(t,o).event(r),u=i.apply(t,o),c=null==e?m(u):"function"==typeof e?e.apply(t,o):e,f=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),s=t.__zoom,h="function"==typeof n?n.apply(t,o):n,d=l(s.invert(c).concat(f/s.k),h.invert(c).concat(f/h.k));return function(t){if(1===t)t=h;else{var n=d(t),e=f/n[2];t=new ww(e,c[0]-n[0]*e,c[1]-n[1]*e)}a.zoom(null,t)}}))}function w(t,n,e){return!e&&t.__zooming||new M(t,n)}function M(t,n){this.that=t,this.args=n,this.active=0,this.sourceEvent=null,this.extent=i.apply(t,n),this.taps=0}function T(t,...n){if(r.apply(this,arguments)){var e=w(this,n).event(t),i=this.__zoom,u=Math.max(c[0],Math.min(c[1],i.k*Math.pow(2,a.apply(this,arguments)))),s=ne(t);if(e.wheel)e.mouse[0][0]===s[0]&&e.mouse[0][1]===s[1]||(e.mouse[1]=i.invert(e.mouse[0]=s)),clearTimeout(e.wheel);else{if(i.k===u)return;e.mouse=[s,i.invert(s)],Gi(this),e.start()}Sw(t),e.wheel=setTimeout((function(){e.wheel=null,e.end()}),p),e.zoom("mouse",o(b(_(i,u),e.mouse[0],e.mouse[1]),e.extent,f))}}function A(t,...n){if(!e&&r.apply(this,arguments)){var i=t.currentTarget,a=w(this,n,!0).event(t),u=Zn(t.view).on("mousemove.zoom",(function(t){if(Sw(t),!a.moved){var n=t.clientX-s,e=t.clientY-l;a.moved=n*n+e*e>g}a.event(t).zoom("mouse",o(b(a.that.__zoom,a.mouse[0]=ne(t,i),a.mouse[1]),a.extent,f))}),!0).on("mouseup.zoom",(function(t){u.on("mousemove.zoom mouseup.zoom",null),ue(t.view,a.moved),Sw(t),a.event(t).end()}),!0),c=ne(t,i),s=t.clientX,l=t.clientY;ae(t.view),Aw(t),a.mouse=[c,this.__zoom.invert(c)],Gi(this),a.start()}}function S(t,...n){if(r.apply(this,arguments)){var e=this.__zoom,a=ne(t.changedTouches?t.changedTouches[0]:t,this),u=e.invert(a),c=e.k*(t.shiftKey?.5:2),l=o(b(_(e,c),a,u),i.apply(this,n),f);Sw(t),s>0?Zn(this).transition().duration(s).call(x,l,a,t):Zn(this).call(v.transform,l,a,t)}}function E(e,...i){if(r.apply(this,arguments)){var o,a,u,c,f=e.touches,s=f.length,l=w(this,i,e.changedTouches.length===s).event(e);for(Aw(e),a=0;a`https://cdn.jsdelivr.net/npm/${t}`,unpkg:t=>`https://unpkg.com/${t}`};class r{constructor(){this.providers={...n},this.provider="jsdelivr"}async getFastestProvider(t=5e3,e="npm2url/dist/index.cjs"){const n=new AbortController;let r=0;try{return await new Promise(((s,i)=>{Promise.all(Object.entries(this.providers).map((async([t,r])=>{try{await async function(t,e){const n=await fetch(t,{signal:e});if(!n.ok)throw n;await n.text()}(r(e),n.signal),s(t)}catch{}}))).then((()=>i(new Error("All providers failed")))),r=setTimeout(i,t,new Error("Timed out"))}))}finally{n.abort(),clearTimeout(r)}}async findFastestProvider(t,e){return this.provider=await this.getFastestProvider(t,e),this.provider}setProvider(t,e){e?this.providers[t]=e:delete this.providers[t]}getFullUrl(t,e=this.provider){if(t.includes("://"))return t;const n=this.providers[e];if(!n)throw new Error(`Provider ${e} not found`);return n(t)}}class s{constructor(){this.listeners=[]}tap(t){return this.listeners.push(t),()=>this.revoke(t)}revoke(t){const e=this.listeners.indexOf(t);e>=0&&this.listeners.splice(e,1)}revokeAll(){this.listeners.splice(0)}call(...t){for(const e of this.listeners)e(...t)}}function i(){}function o(t,e){return(...n)=>e(t,...n)}Math.random().toString(36).slice(2,8); -/*! @gera2ld/jsx-dom v2.2.2 | ISC License */ -const a="http://www.w3.org/1999/xlink",c={show:a,actuate:a,href:a};function l(t,e,...n){return function(t,e){let n;if("string"==typeof t)n=1;else{if("function"!=typeof t)throw new Error("Invalid VNode type");n=2}return{vtype:n,type:t,props:e}}(t,e=Object.assign({},e,{children:1===n.length?n[0]:n}))}function u(t){return t.children}const h={isSvg:!1};function f(t,e){Array.isArray(e)||(e=[e]),(e=e.filter(Boolean)).length&&t.append(...e)}const d={className:"class",labelFor:"for"};function p(t,e,n,r){if(e=d[e]||e,!0===n)t.setAttribute(e,"");else if(!1===n)t.removeAttribute(e);else{const s=r?c[e]:void 0;void 0!==s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}}function m(t,e){return Array.isArray(t)?t.map((t=>m(t,e))).reduce(((t,e)=>t.concat(e)),[]):g(t,e)}function g(t,e=h){if(null==t||"boolean"==typeof t)return null;if(t instanceof Node)return t;if(2===(null==(n=t)?void 0:n.vtype)){const{type:n,props:r}=t;if(n===u){const t=document.createDocumentFragment();if(r.children){f(t,m(r.children,e))}return t}return g(n(r),e)}var n;if((t=>"string"==typeof t||"number"==typeof t)(t))return document.createTextNode(`${t}`);if((t=>1===(null==t?void 0:t.vtype))(t)){let n;const{type:r,props:s}=t;if(e.isSvg||"svg"!==r||(e=Object.assign({},e,{isSvg:!0})),n=e.isSvg?document.createElementNS("http://www.w3.org/2000/svg",r):document.createElement(r),function(t,e,n){for(const r in e)if("key"!==r&&"children"!==r&&"ref"!==r)if("dangerouslySetInnerHTML"===r)t.innerHTML=e[r].__html;else if("innerHTML"===r||"textContent"===r||"innerText"===r||"value"===r&&["textarea","select"].includes(t.tagName)){const n=e[r];null!=n&&(t[r]=n)}else r.startsWith("on")?t[r.toLowerCase()]=e[r]:p(t,r,e[r],n.isSvg)}(n,s,e),s.children){let t=e;e.isSvg&&"foreignObject"===r&&(t=Object.assign({},t,{isSvg:!1}));const i=m(s.children,t);null!=i&&f(n,i)}const{ref:i}=s;return"function"==typeof i&&i(n),n}throw new Error("mount: Invalid Vnode!")}function y(...t){return g(l(...t))}const b=function(t){const e={};return function(...n){const r=`${n[0]}`;let s=e[r];return s||(s={value:t(...n)},e[r]=s),s.value}}((t=>{document.head.append(y("link",{rel:"preload",as:"script",href:t}))})),k={};async function _(t,e){var n;const r="script"===t.type&&(null==(n=t.data)?void 0:n.src)||"";if(t.loaded||(t.loaded=k[r]),!t.loaded){const n=function(){const t={};return t.promise=new Promise(((e,n)=>{t.resolve=e,t.reject=n})),t}();if(t.loaded=n.promise,"script"===t.type&&(document.head.append(y("script",{...t.data,onLoad:()=>n.resolve(),onError:n.reject})),r?k[r]=t.loaded:n.resolve()),"iife"===t.type){const{fn:r,getParams:s}=t.data;r(...(null==s?void 0:s(e))||[]),n.resolve()}}await t.loaded}async function v(t,e){t.forEach((t=>{var e;"script"===t.type&&(null==(e=t.data)?void 0:e.src)&&b(t.data.src)})),e={getMarkmap:()=>window.markmap,...e};for(const n of t)await _(n,e)}function w(t){return{type:"script",data:{src:t}}}function A(t){return{type:"stylesheet",data:{href:t}}}const E={_useHtmlParser2:!1};function x(t,e){if(!t)return null!=e?e:E;const n={_useHtmlParser2:!!t.xmlMode,...e,...t};return t.xml?(n._useHtmlParser2=!0,n.xmlMode=!0,!0!==t.xml&&Object.assign(n,t.xml)):t.xmlMode&&(n._useHtmlParser2=!0),n}var C,S;(S=C||(C={})).Root="root",S.Text="text",S.Directive="directive",S.Comment="comment",S.Script="script",S.Style="style",S.Tag="tag",S.CDATA="cdata",S.Doctype="doctype";const D=C.Root,T=C.Text,N=C.Directive,I=C.Comment,F=C.Script,L=C.Style,q=C.Tag,O=C.CDATA,B=C.Doctype;let $=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return Q(this,t)}};class M extends ${constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}}class P extends M{constructor(){super(...arguments),this.type=C.Text}get nodeType(){return 3}}class j extends M{constructor(){super(...arguments),this.type=C.Comment}get nodeType(){return 8}}class R extends M{constructor(t,e){super(e),this.name=t,this.type=C.Directive}get nodeType(){return 1}}class U extends ${constructor(t){super(),this.children=t}get firstChild(){var t;return null!==(t=this.children[0])&&void 0!==t?t:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}}class z extends U{constructor(){super(...arguments),this.type=C.CDATA}get nodeType(){return 4}}let V=class extends U{constructor(){super(...arguments),this.type=C.Root}get nodeType(){return 9}};class K extends U{constructor(t,e,n=[],r=("script"===t?C.Script:"style"===t?C.Style:C.Tag)){super(n),this.name=t,this.attribs=e,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map((t=>{var e,n;return{name:t,value:this.attribs[t],namespace:null===(e=this["x-attribsNamespace"])||void 0===e?void 0:e[t],prefix:null===(n=this["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))}}function H(t){return(e=t).type===C.Tag||e.type===C.Script||e.type===C.Style;var e}function G(t){return t.type===C.CDATA}function W(t){return t.type===C.Text}function Z(t){return t.type===C.Comment}function J(t){return t.type===C.Root}function X(t){return Object.prototype.hasOwnProperty.call(t,"children")}function Q(t,e=!1){let n;if(W(t))n=new P(t.data);else if(Z(t))n=new j(t.data);else if(H(t)){const r=e?Y(t.children):[],s=new K(t.name,{...t.attribs},r);r.forEach((t=>t.parent=s)),null!=t.namespace&&(s.namespace=t.namespace),t["x-attribsNamespace"]&&(s["x-attribsNamespace"]={...t["x-attribsNamespace"]}),t["x-attribsPrefix"]&&(s["x-attribsPrefix"]={...t["x-attribsPrefix"]}),n=s}else if(G(t)){const r=e?Y(t.children):[],s=new z(r);r.forEach((t=>t.parent=s)),n=s}else if(J(t)){const r=e?Y(t.children):[],s=new V(r);r.forEach((t=>t.parent=s)),t["x-mode"]&&(s["x-mode"]=t["x-mode"]),n=s}else{if(!function(t){return t.type===C.Directive}(t))throw new Error(`Not implemented yet: ${t.type}`);{const e=new R(t.name,t.data);null!=t["x-name"]&&(e["x-name"]=t["x-name"],e["x-publicId"]=t["x-publicId"],e["x-systemId"]=t["x-systemId"]),n=e}}return n.startIndex=t.startIndex,n.endIndex=t.endIndex,null!=t.sourceCodeLocation&&(n.sourceCodeLocation=t.sourceCodeLocation),n}function Y(t){const e=t.map((t=>Q(t,!0)));for(let t=1;t䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((t=>t.charCodeAt(0)))),rt=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((t=>t.charCodeAt(0))));var st;const it=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),ot=null!==(st=String.fromCodePoint)&&void 0!==st?st:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};var at,ct;(ct=at||(at={}))[ct.NUM=35]="NUM",ct[ct.SEMI=59]="SEMI",ct[ct.EQUALS=61]="EQUALS",ct[ct.ZERO=48]="ZERO",ct[ct.NINE=57]="NINE",ct[ct.LOWER_A=97]="LOWER_A",ct[ct.LOWER_F=102]="LOWER_F",ct[ct.LOWER_X=120]="LOWER_X",ct[ct.LOWER_Z=122]="LOWER_Z",ct[ct.UPPER_A=65]="UPPER_A",ct[ct.UPPER_F=70]="UPPER_F",ct[ct.UPPER_Z=90]="UPPER_Z";var lt,ut,ht,ft,dt,pt;function mt(t){return t>=at.ZERO&&t<=at.NINE}function gt(t){return t===at.EQUALS||function(t){return t>=at.UPPER_A&&t<=at.UPPER_Z||t>=at.LOWER_A&&t<=at.LOWER_Z||mt(t)}(t)}(ut=lt||(lt={}))[ut.VALUE_LENGTH=49152]="VALUE_LENGTH",ut[ut.BRANCH_LENGTH=16256]="BRANCH_LENGTH",ut[ut.JUMP_TABLE=127]="JUMP_TABLE",(ft=ht||(ht={}))[ft.EntityStart=0]="EntityStart",ft[ft.NumericStart=1]="NumericStart",ft[ft.NumericDecimal=2]="NumericDecimal",ft[ft.NumericHex=3]="NumericHex",ft[ft.NamedEntity=4]="NamedEntity",(pt=dt||(dt={}))[pt.Legacy=0]="Legacy",pt[pt.Strict=1]="Strict",pt[pt.Attribute=2]="Attribute";let yt=class{constructor(t,e,n){this.decodeTree=t,this.emitCodePoint=e,this.errors=n,this.state=ht.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=dt.Strict}startEntity(t){this.decodeMode=t,this.state=ht.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case ht.EntityStart:return t.charCodeAt(e)===at.NUM?(this.state=ht.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=ht.NamedEntity,this.stateNamedEntity(t,e));case ht.NumericStart:return this.stateNumericStart(t,e);case ht.NumericDecimal:return this.stateNumericDecimal(t,e);case ht.NumericHex:return this.stateNumericHex(t,e);case ht.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===at.LOWER_X?(this.state=ht.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=ht.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,n,r){if(e!==n){const s=n-e;this.result=this.result*Math.pow(r,s)+parseInt(t.substr(e,s),r),this.consumed+=s}}stateNumericHex(t,e){const n=e;for(;e=at.UPPER_A&&r<=at.UPPER_F||r>=at.LOWER_A&&r<=at.LOWER_F)))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(s,3);e+=1}var r;return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e=55296&&t<=57343||t>1114111?65533:null!==(e=it.get(t))&&void 0!==e?e:t}(this.result),this.consumed),this.errors&&(t!==at.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){const{decodeTree:n}=this;let r=n[this.treeIndex],s=(r<.VALUE_LENGTH)>>14;for(;e>14,0!==s){if(i===at.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==dt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:n}=this,r=(n[e]<.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,r,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:r}=this;return this.emitCodePoint(1===e?r[t]&~lt.VALUE_LENGTH:r[t+1],n),3===e&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case ht.NamedEntity:return 0===this.result||this.decodeMode===dt.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case ht.NumericDecimal:return this.emitNumericEntity(0,2);case ht.NumericHex:return this.emitNumericEntity(0,3);case ht.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ht.EntityStart:return 0}}};function bt(t){let e="";const n=new yt(t,(t=>e+=ot(t)));return function(t,r){let s=0,i=0;for(;(i=t.indexOf("&",i))>=0;){e+=t.slice(s,i),n.startEntity(r);const o=n.write(t,i+1);if(o<0){s=i+n.end();break}s=i+o,i=0===o?s+1:s}const o=e+t.slice(s);return e="",o}}function kt(t,e,n,r){const s=(e<.BRANCH_LENGTH)>>7,i=e<.JUMP_TABLE;if(0===s)return 0!==i&&r===i?n:-1;if(i){const e=r-i;return e<0||e>=s?-1:t[n+e]-1}let o=n,a=o+s-1;for(;o<=a;){const e=o+a>>>1,n=t[e];if(nr))return t[e+s];a=e-1}}return-1}bt(nt),bt(rt);const _t=/["&'<>$\x80-\uFFFF]/g,vt=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),wt=null!=String.prototype.codePointAt?(t,e)=>t.codePointAt(e):(t,e)=>55296==(64512&t.charCodeAt(e))?1024*(t.charCodeAt(e)-55296)+t.charCodeAt(e+1)-56320+65536:t.charCodeAt(e);function At(t){let e,n="",r=0;for(;null!==(e=_t.exec(t));){const s=e.index,i=t.charCodeAt(s),o=vt.get(i);void 0!==o?(n+=t.substring(r,s)+o,r=s+1):(n+=`${t.substring(r,s)}&#x${wt(t,s).toString(16)};`,r=_t.lastIndex+=Number(55296==(64512&i)))}return n+t.substr(r)}function Et(t,e){return function(n){let r,s=0,i="";for(;r=t.exec(n);)s!==r.index&&(i+=n.substring(s,r.index)),i+=e.get(r[0].charCodeAt(0)),s=r.index+1;return i+n.substring(s)}}const xt=Et(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Ct=Et(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),St=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((t=>[t.toLowerCase(),t]))),Dt=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((t=>[t.toLowerCase(),t]))),Tt=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function Nt(t){return t.replace(/"/g,""")}const It=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Ft(t,e={}){const n="length"in t?t:[t];let r="";for(let t=0;t`;case I:return function(t){return`\x3c!--${t.data}--\x3e`}(t);case O:return function(t){return``}(t);case F:case L:case q:return function(t,e){var n;"foreign"===e.xmlMode&&(t.name=null!==(n=St.get(t.name))&&void 0!==n?n:t.name,t.parent&&qt.has(t.parent.name)&&(e={...e,xmlMode:!1}));!e.xmlMode&&Ot.has(t.name)&&(e={...e,xmlMode:"foreign"});let r=`<${t.name}`;const s=function(t,e){var n;if(!t)return;const r=!1===(null!==(n=e.encodeEntities)&&void 0!==n?n:e.decodeEntities)?Nt:e.xmlMode||"utf8"!==e.encodeEntities?At:xt;return Object.keys(t).map((n=>{var s,i;const o=null!==(s=t[n])&&void 0!==s?s:"";return"foreign"===e.xmlMode&&(n=null!==(i=Dt.get(n))&&void 0!==i?i:n),e.emptyAttrs||e.xmlMode||""!==o?`${n}="${r(o)}"`:n})).join(" ")}(t.attribs,e);s&&(r+=` ${s}`);0===t.children.length&&(e.xmlMode?!1!==e.selfClosingTags:e.selfClosingTags&&It.has(t.name))?(e.xmlMode||(r+=" "),r+="/>"):(r+=">",t.children.length>0&&(r+=Ft(t.children,e)),!e.xmlMode&&It.has(t.name)||(r+=``));return r}(t,e);case T:return function(t,e){var n;let r=t.data||"";!1===(null!==(n=e.encodeEntities)&&void 0!==n?n:e.decodeEntities)||!e.xmlMode&&t.parent&&Tt.has(t.parent.name)||(r=e.xmlMode||"utf8"!==e.encodeEntities?At(r):Ct(r));return r}(t,e)}}const qt=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),Ot=new Set(["svg","math"]);function Bt(t,e){return Ft(t,e)}function $t(t){return Array.isArray(t)?t.map($t).join(""):X(t)&&!Z(t)?$t(t.children):W(t)?t.data:""}function Mt(t){return Array.isArray(t)?t.map(Mt).join(""):X(t)&&(t.type===C.Tag||G(t))?Mt(t.children):W(t)?t.data:""}function Pt(t){return X(t)?t.children:[]}function jt(t){return t.parent||null}function Rt(t){const e=jt(t);if(null!=e)return Pt(e);const n=[t];let{prev:r,next:s}=t;for(;null!=r;)n.unshift(r),({prev:r}=r);for(;null!=s;)n.push(s),({next:s}=s);return n}function Ut(t){let{next:e}=t;for(;null!==e&&!H(e);)({next:e}=e);return e}function zt(t){let{prev:e}=t;for(;null!==e&&!H(e);)({prev:e}=e);return e}function Vt(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){const e=t.parent.children,n=e.lastIndexOf(t);n>=0&&e.splice(n,1)}t.next=null,t.prev=null,t.parent=null}function Kt(t,e,n=!0,r=1/0){return Ht(t,Array.isArray(e)?e:[e],n,r)}function Ht(t,e,n,r){const s=[],i=[e],o=[0];for(;;){if(o[0]>=i[0].length){if(1===o.length)return s;i.shift(),o.shift();continue}const e=i[0][o[0]++];if(t(e)&&(s.push(e),--r<=0))return s;n&&X(e)&&e.children.length>0&&(o.unshift(0),i.unshift(e.children))}}function Gt(t,e,n=!0){let r=null;for(let s=0;s0&&(r=Gt(t,i.children,!0)))}return r}const Wt={tag_name:t=>"function"==typeof t?e=>H(e)&&t(e.name):"*"===t?H:e=>H(e)&&e.name===t,tag_type:t=>"function"==typeof t?e=>t(e.type):e=>e.type===t,tag_contains:t=>"function"==typeof t?e=>W(e)&&t(e.data):e=>W(e)&&e.data===t};function Zt(t,e){return"function"==typeof e?n=>H(n)&&e(n.attribs[t]):n=>H(n)&&n.attribs[t]===e}function Jt(t,e){return n=>t(n)||e(n)}function Xt(t){const e=Object.keys(t).map((e=>{const n=t[e];return Object.prototype.hasOwnProperty.call(Wt,e)?Wt[e](n):Zt(e,n)}));return 0===e.length?null:e.reduce(Jt)}function Qt(t,e,n=!0,r=1/0){return Kt(Wt.tag_name(t),e,n,r)}var Yt,te;function ee(t,e){const n=[],r=[];if(t===e)return 0;let s=X(t)?t:t.parent;for(;s;)n.unshift(s),s=s.parent;for(s=X(e)?e:e.parent;s;)r.unshift(s),s=s.parent;const i=Math.min(n.length,r.length);let o=0;for(;oc.indexOf(u)?a===e?Yt.FOLLOWING|Yt.CONTAINED_BY:Yt.FOLLOWING:a===t?Yt.PRECEDING|Yt.CONTAINS:Yt.PRECEDING}function ne(t){return(t=t.filter(((t,e,n)=>!n.includes(t,e+1)))).sort(((t,e)=>{const n=ee(t,e);return n&Yt.PRECEDING?-1:n&Yt.FOLLOWING?1:0})),t}(te=Yt||(Yt={}))[te.DISCONNECTED=1]="DISCONNECTED",te[te.PRECEDING=2]="PRECEDING",te[te.FOLLOWING=4]="FOLLOWING",te[te.CONTAINS=8]="CONTAINS",te[te.CONTAINED_BY=16]="CONTAINED_BY";const re=["url","type","lang"],se=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function ie(t){return Qt("media:content",t).map((t=>{const{attribs:e}=t,n={medium:e.medium,isDefault:!!e.isDefault};for(const t of re)e[t]&&(n[t]=e[t]);for(const t of se)e[t]&&(n[t]=parseInt(e[t],10));return e.expression&&(n.expression=e.expression),n}))}function oe(t,e){return Qt(t,e,!0,1)[0]}function ae(t,e,n=!1){return $t(Qt(t,e,n,1)).trim()}function ce(t,e,n,r,s=!1){const i=ae(n,r,s);i&&(t[e]=i)}function le(t){return"rss"===t||"feed"===t||"rdf:RDF"===t}const ue=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return Yt},append:function(t,e){Vt(e);const{parent:n}=t,r=t.next;if(e.next=r,e.prev=t,t.next=e,e.parent=n,r){if(r.prev=e,n){const t=n.children;t.splice(t.lastIndexOf(r),0,e)}}else n&&n.children.push(e)},appendChild:function(t,e){if(Vt(e),e.next=null,e.parent=t,t.children.push(e)>1){const n=t.children[t.children.length-2];n.next=e,e.prev=n}else e.prev=null},compareDocumentPosition:ee,existsOne:function t(e,n){return n.some((n=>H(n)&&(e(n)||t(e,n.children))))},filter:Kt,find:Ht,findAll:function(t,e){const n=[],r=[e],s=[0];for(;;){if(s[0]>=r[0].length){if(1===r.length)return n;r.shift(),s.shift();continue}const e=r[0][s[0]++];H(e)&&(t(e)&&n.push(e),e.children.length>0&&(s.unshift(0),r.unshift(e.children)))}},findOne:Gt,findOneChild:function(t,e){return e.find(t)},getAttributeValue:function(t,e){var n;return null===(n=t.attribs)||void 0===n?void 0:n[e]},getChildren:Pt,getElementById:function(t,e,n=!0){return Array.isArray(e)||(e=[e]),Gt(Zt("id",t),e,n)},getElements:function(t,e,n,r=1/0){const s=Xt(t);return s?Kt(s,e,n,r):[]},getElementsByTagName:Qt,getElementsByTagType:function(t,e,n=!0,r=1/0){return Kt(Wt.tag_type(t),e,n,r)},getFeed:function(t){const e=oe(le,t);return e?"feed"===e.name?function(t){var e;const n=t.children,r={type:"atom",items:Qt("entry",n).map((t=>{var e;const{children:n}=t,r={media:ie(n)};ce(r,"id","id",n),ce(r,"title","title",n);const s=null===(e=oe("link",n))||void 0===e?void 0:e.attribs.href;s&&(r.link=s);const i=ae("summary",n)||ae("content",n);i&&(r.description=i);const o=ae("updated",n);return o&&(r.pubDate=new Date(o)),r}))};ce(r,"id","id",n),ce(r,"title","title",n);const s=null===(e=oe("link",n))||void 0===e?void 0:e.attribs.href;s&&(r.link=s);ce(r,"description","subtitle",n);const i=ae("updated",n);i&&(r.updated=new Date(i));return ce(r,"author","email",n,!0),r}(e):function(t){var e,n;const r=null!==(n=null===(e=oe("channel",t.children))||void 0===e?void 0:e.children)&&void 0!==n?n:[],s={type:t.name.substr(0,3),id:"",items:Qt("item",t.children).map((t=>{const{children:e}=t,n={media:ie(e)};ce(n,"id","guid",e),ce(n,"title","title",e),ce(n,"link","link",e),ce(n,"description","description",e);const r=ae("pubDate",e)||ae("dc:date",e);return r&&(n.pubDate=new Date(r)),n}))};ce(s,"title","title",r),ce(s,"link","link",r),ce(s,"description","description",r);const i=ae("lastBuildDate",r);i&&(s.updated=new Date(i));return ce(s,"author","managingEditor",r,!0),s}(e):null},getInnerHTML:function(t,e){return X(t)?t.children.map((t=>Bt(t,e))).join(""):""},getName:function(t){return t.name},getOuterHTML:Bt,getParent:jt,getSiblings:Rt,getText:function t(e){return Array.isArray(e)?e.map(t).join(""):H(e)?"br"===e.name?"\n":t(e.children):G(e)?t(e.children):W(e)?e.data:""},hasAttrib:function(t,e){return null!=t.attribs&&Object.prototype.hasOwnProperty.call(t.attribs,e)&&null!=t.attribs[e]},hasChildren:X,innerText:Mt,isCDATA:G,isComment:Z,isDocument:J,isTag:H,isText:W,nextElementSibling:Ut,prepend:function(t,e){Vt(e);const{parent:n}=t;if(n){const r=n.children;r.splice(r.indexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=n,e.prev=t.prev,e.next=t,t.prev=e},prependChild:function(t,e){if(Vt(e),e.parent=t,e.prev=null,1!==t.children.unshift(e)){const n=t.children[1];n.prev=e,e.next=n}else e.next=null},prevElementSibling:zt,removeElement:Vt,removeSubsets:function(t){let e=t.length;for(;--e>=0;){const n=t[e];if(e>0&&t.lastIndexOf(n,e-1)>=0)t.splice(e,1);else for(let r=n.parent;r;r=r.parent)if(t.includes(r)){t.splice(e,1);break}}return t},replaceElement:function(t,e){const n=e.prev=t.prev;n&&(n.next=e);const r=e.next=t.next;r&&(r.prev=e);const s=e.parent=t.parent;if(s){const n=s.children;n[n.lastIndexOf(t)]=e,t.parent=null}},testElement:function(t,e){const n=Xt(t);return!n||n(e)},textContent:$t,uniqueSort:ne},Symbol.toStringTag,{value:"Module"}));function he(t,e,n){return t?t(null!=e?e:t._root.children,null,void 0,n).toString():""}function fe(t){const e=null!=t?t:this?this.root():[];let n="";for(let t=0;tt.length-3)return!1;const n=t.charCodeAt(e+1);return(n>=be.LowerA&&n<=be.LowerZ||n>=be.UpperA&&n<=be.UpperZ||n===be.Exclamation)&&t.includes(">",e+2)}(ke=be||(be={}))[ke.LowerA=97]="LowerA",ke[ke.LowerZ=122]="LowerZ",ke[ke.UpperA=65]="UpperA",ke[ke.UpperZ=90]="UpperZ",ke[ke.Exclamation=33]="Exclamation";const ve=Object.prototype.hasOwnProperty,we=/\s+/,Ae="data-",Ee=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,xe=/^{[^]*}$|^\[[^]*]$/;function Ce(t,e,n){var r;if(t&&H(t))return null!==(r=t.attribs)&&void 0!==r||(t.attribs={}),e?ve.call(t.attribs,e)?!n&&Ee.test(e)?e:t.attribs[e]:"option"===t.name&&"value"===e?fe(t.children):"input"!==t.name||"radio"!==t.attribs.type&&"checkbox"!==t.attribs.type||"value"!==e?void 0:"on":t.attribs}function Se(t,e,n){null===n?Fe(t,e):t.attribs[e]=`${n}`}function De(t,e,n){return e in t?t[e]:!n&&Ee.test(e)?void 0!==Ce(t,e,!1):Ce(t,e,n)}function Te(t,e,n,r){e in t?t[e]=n:Se(t,e,!r&&Ee.test(e)?n?"":null:`${n}`)}function Ne(t,e,n){var r;null!==(r=t.data)&&void 0!==r||(t.data={}),"object"==typeof e?Object.assign(t.data,e):"string"==typeof e&&void 0!==n&&(t.data[e]=n)}function Ie(t){if("null"===t)return null;if("true"===t)return!0;if("false"===t)return!1;const e=Number(t);if(t===String(e))return e;if(xe.test(t))try{return JSON.parse(t)}catch{}return t}function Fe(t,e){t.attribs&&ve.call(t.attribs,e)&&delete t.attribs[e]}function Le(t){return t?t.trim().split(we):[]}const qe=Object.freeze(Object.defineProperty({__proto__:null,addClass:function t(e){if("function"==typeof e)return ye(this,((n,r)=>{if(H(n)){const s=n.attribs.class||"";t.call([n],e.call(n,r,s))}}));if(!e||"string"!=typeof e)return this;const n=e.split(we),r=this.length;for(let t=0;t{H(n)&&Se(n,t,e.call(n,r,n.attribs[t]))}))}return ye(this,(n=>{if(H(n))if("object"==typeof t)for(const e of Object.keys(t)){Se(n,e,t[e])}else Se(n,t,e)}))}return arguments.length>1?this:Ce(this[0],t,this.options.xmlMode)},data:function(t,e){var n;const r=this[0];if(!r||!H(r))return;const s=r;return null!==(n=s.data)&&void 0!==n||(s.data={}),null==t?function(t){for(const e of Object.keys(t.attribs)){if(!e.startsWith(Ae))continue;const n=e.slice(5).replace(/[._-](\w|$)/g,((t,e)=>e.toUpperCase()));ve.call(t.data,n)||(t.data[n]=Ie(t.attribs[e]))}return t.data}(s):"object"==typeof t||void 0!==e?(ye(this,(n=>{H(n)&&("object"==typeof t?Ne(n,t):Ne(n,t,e))})),this):function(t,e){const n=Ae+e.replace(/[A-Z]/g,"-$&").toLowerCase(),r=t.data;return ve.call(r,e)?r[e]:ve.call(t.attribs,n)?r[e]=Ie(t.attribs[n]):void 0}(s,t)},hasClass:function(t){return this.toArray().some((e=>{const n=H(e)&&e.attribs.class;let r=-1;if(n&&t.length>0)for(;(r=n.indexOf(t,r+1))>-1;){const e=r+t.length;if((0===r||we.test(n[r-1]))&&(e===n.length||we.test(n[e])))return!0}return!1}))},prop:function(t,e){var n;if("string"==typeof t&&void 0===e){const e=this[0];if(!e||!H(e))return;switch(t){case"style":{const t=this.css(),e=Object.keys(t);for(let n=0;n").parent().html();case"innerHTML":return this.html();default:return De(e,t,this.options.xmlMode)}}if("object"==typeof t||void 0!==e){if("function"==typeof e){if("object"==typeof t)throw new TypeError("Bad combination of arguments.");return ye(this,((n,r)=>{H(n)&&Te(n,t,e.call(n,r,De(n,t,this.options.xmlMode)),this.options.xmlMode)}))}return ye(this,(n=>{if(H(n))if("object"==typeof t)for(const e of Object.keys(t)){Te(n,e,t[e],this.options.xmlMode)}else Te(n,t,e,this.options.xmlMode)}))}},removeAttr:function(t){const e=Le(t);for(const t of e)ye(this,(e=>{H(e)&&Fe(e,t)}));return this},removeClass:function t(e){if("function"==typeof e)return ye(this,((n,r)=>{H(n)&&t.call([n],e.call(n,r,n.attribs.class||""))}));const n=Le(e),r=n.length,s=0===arguments.length;return ye(this,(t=>{if(H(t))if(s)t.attribs.class="";else{const e=Le(t.attribs.class);let s=!1;for(let t=0;t=0&&(e.splice(r,1),s=!0,t--)}s&&(t.attribs.class=e.join(" "))}}))},toggleClass:function t(e,n){if("function"==typeof e)return ye(this,((r,s)=>{H(r)&&t.call([r],e.call(r,s,r.attribs.class||"",n),n)}));if(!e||"string"!=typeof e)return this;const r=e.split(we),s=r.length,i="boolean"==typeof n?n?1:-1:0,o=this.length;for(let t=0;t=0&&e<0?n.push(r[t]):i<=0&&e>=0&&n.splice(e,1)}e.attribs.class=n.join(" ")}return this},val:function(t){const e=0===arguments.length,n=this[0];if(!n||!H(n))return e?void 0:this;switch(n.name){case"textarea":return this.text(t);case"select":{const n=this.find("option:selected");if(!e){if(null==this.attr("multiple")&&"object"==typeof t)return this;this.find("option").removeAttr("selected");const e="object"==typeof t?t:[t];for(const t of e)this.find(`option[value="${t}"]`).attr("selected","");return this}return this.attr("multiple")?n.toArray().map((t=>fe(t.children))):n.attr("value")}case"input":case"option":return e?this.attr("value"):this.attr("value",t)}}},Symbol.toStringTag,{value:"Module"}));var Oe,Be,$e,Me;(Be=Oe||(Oe={})).Attribute="attribute",Be.Pseudo="pseudo",Be.PseudoElement="pseudo-element",Be.Tag="tag",Be.Universal="universal",Be.Adjacent="adjacent",Be.Child="child",Be.Descendant="descendant",Be.Parent="parent",Be.Sibling="sibling",Be.ColumnCombinator="column-combinator",(Me=$e||($e={})).Any="any",Me.Element="element",Me.End="end",Me.Equals="equals",Me.Exists="exists",Me.Hyphen="hyphen",Me.Not="not",Me.Start="start";const Pe=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,je=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,Re=new Map([[126,$e.Element],[94,$e.Start],[36,$e.End],[42,$e.Any],[33,$e.Not],[124,$e.Hyphen]]),Ue=new Set(["has","not","matches","is","where","host","host-context"]);function ze(t){switch(t.type){case Oe.Adjacent:case Oe.Child:case Oe.Descendant:case Oe.Parent:case Oe.Sibling:case Oe.ColumnCombinator:return!0;default:return!1}}const Ve=new Set(["contains","icontains"]);function Ke(t,e,n){const r=parseInt(e,16)-65536;return r!=r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)}function He(t){return t.replace(je,Ke)}function Ge(t){return 39===t||34===t}function We(t){return 32===t||9===t||10===t||12===t||13===t}function Ze(t){const e=[],n=Je(e,`${t}`,0);if(n0&&n0&&ze(r[r.length-1]))throw new Error("Did not expect successive traversals.")}function l(t){r.length>0&&r[r.length-1].type===Oe.Descendant?r[r.length-1].type=t:(c(),r.push({type:t}))}function u(t,e){r.push({type:Oe.Attribute,name:t,action:e,value:s(1),namespace:null,ignoreCase:"quirks"})}function h(){if(r.length&&r[r.length-1].type===Oe.Descendant&&r.pop(),0===r.length)throw new Error("Empty sub-selector");t.push(r)}if(i(0),e.length===n)return n;t:for(;n=0&&r>=1)):t.type===Oe.Pseudo&&(t.data?"has"===t.name||"contains"===t.name?r=0:Array.isArray(t.data)?(r=Math.min(...t.data.map((t=>Math.min(...t.map(an))))),r<0&&(r=0)):r=2:r=3),r}const cn=/[-[\]{}()*+?.,\\^$|#\s]/g;function ln(t){return t.replace(cn,"\\$&")}const un=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function hn(t,e){return"boolean"==typeof t.ignoreCase?t.ignoreCase:"quirks"===t.ignoreCase?!!e.quirksMode:!e.xmlMode&&un.has(t.name)}const fn={equals(t,e,n){const{adapter:r}=n,{name:s}=e;let{value:i}=e;return hn(e,n)?(i=i.toLowerCase(),e=>{const n=r.getAttributeValue(e,s);return null!=n&&n.length===i.length&&n.toLowerCase()===i&&t(e)}):e=>r.getAttributeValue(e,s)===i&&t(e)},hyphen(t,e,n){const{adapter:r}=n,{name:s}=e;let{value:i}=e;const o=i.length;return hn(e,n)?(i=i.toLowerCase(),function(e){const n=r.getAttributeValue(e,s);return null!=n&&(n.length===o||"-"===n.charAt(o))&&n.substr(0,o).toLowerCase()===i&&t(e)}):function(e){const n=r.getAttributeValue(e,s);return null!=n&&(n.length===o||"-"===n.charAt(o))&&n.substr(0,o)===i&&t(e)}},element(t,e,n){const{adapter:r}=n,{name:s,value:i}=e;if(/\s/.test(i))return en.falseFunc;const o=new RegExp(`(?:^|\\s)${ln(i)}(?:$|\\s)`,hn(e,n)?"i":"");return function(e){const n=r.getAttributeValue(e,s);return null!=n&&n.length>=i.length&&o.test(n)&&t(e)}},exists:(t,{name:e},{adapter:n})=>r=>n.hasAttrib(r,e)&&t(r),start(t,e,n){const{adapter:r}=n,{name:s}=e;let{value:i}=e;const o=i.length;return 0===o?en.falseFunc:hn(e,n)?(i=i.toLowerCase(),e=>{const n=r.getAttributeValue(e,s);return null!=n&&n.length>=o&&n.substr(0,o).toLowerCase()===i&&t(e)}):e=>{var n;return!!(null===(n=r.getAttributeValue(e,s))||void 0===n?void 0:n.startsWith(i))&&t(e)}},end(t,e,n){const{adapter:r}=n,{name:s}=e;let{value:i}=e;const o=-i.length;return 0===o?en.falseFunc:hn(e,n)?(i=i.toLowerCase(),e=>{var n;return(null===(n=r.getAttributeValue(e,s))||void 0===n?void 0:n.substr(o).toLowerCase())===i&&t(e)}):e=>{var n;return!!(null===(n=r.getAttributeValue(e,s))||void 0===n?void 0:n.endsWith(i))&&t(e)}},any(t,e,n){const{adapter:r}=n,{name:s,value:i}=e;if(""===i)return en.falseFunc;if(hn(e,n)){const e=new RegExp(ln(i),"i");return function(n){const o=r.getAttributeValue(n,s);return null!=o&&o.length>=i.length&&e.test(o)&&t(n)}}return e=>{var n;return!!(null===(n=r.getAttributeValue(e,s))||void 0===n?void 0:n.includes(i))&&t(e)}},not(t,e,n){const{adapter:r}=n,{name:s}=e;let{value:i}=e;return""===i?e=>!!r.getAttributeValue(e,s)&&t(e):hn(e,n)?(i=i.toLowerCase(),e=>{const n=r.getAttributeValue(e,s);return(null==n||n.length!==i.length||n.toLowerCase()!==i)&&t(e)}):e=>r.getAttributeValue(e,s)!==i&&t(e)}},dn=new Set([9,10,12,13,32]),pn="0".charCodeAt(0),mn="9".charCodeAt(0);function gn(t){return function(t){const e=t[0],n=t[1]-1;if(n<0&&e<=0)return en.falseFunc;if(-1===e)return t=>t<=n;if(0===e)return t=>t===n;if(1===e)return n<0?en.trueFunc:t=>t>=n;const r=Math.abs(e),s=(n%r+r)%r;return e>1?t=>t>=n&&t%r===s:t=>t<=n&&t%r===s}(function(t){if("even"===(t=t.trim().toLowerCase()))return[2,0];if("odd"===t)return[2,1];let e=0,n=0,r=i(),s=o();if(e=pn&&t.charCodeAt(e)<=mn;)r=10*r+(t.charCodeAt(e)-pn),e++;return e===n?null:r}function a(){for(;e{const r=e.getParent(n);return null!=r&&e.isTag(r)&&t(n)}}const bn={contains:(t,e,{adapter:n})=>function(r){return t(r)&&n.getText(r).includes(e)},icontains(t,e,{adapter:n}){const r=e.toLowerCase();return function(e){return t(e)&&n.getText(e).toLowerCase().includes(r)}},"nth-child"(t,e,{adapter:n,equals:r}){const s=gn(e);return s===en.falseFunc?en.falseFunc:s===en.trueFunc?yn(t,n):function(e){const i=n.getSiblings(e);let o=0;for(let t=0;t=0&&!r(e,i[t]);t--)n.isTag(i[t])&&o++;return s(o)&&t(e)}},"nth-of-type"(t,e,{adapter:n,equals:r}){const s=gn(e);return s===en.falseFunc?en.falseFunc:s===en.trueFunc?yn(t,n):function(e){const i=n.getSiblings(e);let o=0;for(let t=0;t=0;t--){const s=i[t];if(r(e,s))break;n.isTag(s)&&n.getName(s)===n.getName(e)&&o++}return s(o)&&t(e)}},root:(t,e,{adapter:n})=>e=>{const r=n.getParent(e);return(null==r||!n.isTag(r))&&t(e)},scope(t,e,n,r){const{equals:s}=n;return r&&0!==r.length?1===r.length?e=>s(r[0],e)&&t(e):e=>r.includes(e)&&t(e):bn.root(t,e,n)},hover:kn("isHovered"),visited:kn("isVisited"),active:kn("isActive")};function kn(t){return function(e,n,{adapter:r}){const s=r[t];return"function"!=typeof s?en.falseFunc:function(t){return s(t)&&e(t)}}}const _n={empty:(t,{adapter:e})=>!e.getChildren(t).some((t=>e.isTag(t)||""!==e.getText(t))),"first-child"(t,{adapter:e,equals:n}){if(e.prevElementSibling)return null==e.prevElementSibling(t);const r=e.getSiblings(t).find((t=>e.isTag(t)));return null!=r&&n(t,r)},"last-child"(t,{adapter:e,equals:n}){const r=e.getSiblings(t);for(let s=r.length-1;s>=0;s--){if(n(t,r[s]))return!0;if(e.isTag(r[s]))break}return!1},"first-of-type"(t,{adapter:e,equals:n}){const r=e.getSiblings(t),s=e.getName(t);for(let i=0;i=0;i--){const o=r[i];if(n(t,o))return!0;if(e.isTag(o)&&e.getName(o)===s)break}return!1},"only-of-type"(t,{adapter:e,equals:n}){const r=e.getName(t);return e.getSiblings(t).every((s=>n(t,s)||!e.isTag(s)||e.getName(s)!==r))},"only-child":(t,{adapter:e,equals:n})=>e.getSiblings(t).every((r=>n(t,r)||!e.isTag(r)))};function vn(t,e,n,r){if(null===n){if(t.length>r)throw new Error(`Pseudo-class :${e} requires an argument`)}else if(t.length===r)throw new Error(`Pseudo-class :${e} doesn't have any arguments`)}const wn={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:":is(\n :is(button, input, select, textarea, optgroup, option)[disabled],\n optgroup[disabled] > option,\n fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)\n )",enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},An={};function En(t,e){const n=e.getSiblings(t);if(n.length<=1)return[];const r=n.indexOf(t);return r<0||r===n.length-1?[]:n.slice(r+1).filter(e.isTag)}function xn(t){return{xmlMode:!!t.xmlMode,lowerCaseAttributeNames:!!t.lowerCaseAttributeNames,lowerCaseTags:!!t.lowerCaseTags,quirksMode:!!t.quirksMode,cacheResults:!!t.cacheResults,pseudos:t.pseudos,adapter:t.adapter,equals:t.equals}}const Cn=(t,e,n,r,s)=>{const i=s(e,xn(n),r);return i===en.trueFunc?t:i===en.falseFunc?en.falseFunc:e=>i(e)&&t(e)},Sn={is:Cn,matches:Cn,where:Cn,not(t,e,n,r,s){const i=s(e,xn(n),r);return i===en.falseFunc?t:i===en.trueFunc?en.falseFunc:e=>!i(e)&&t(e)},has(t,e,n,r,s){const{adapter:i}=n,o=xn(n);o.relativeSelector=!0;const a=e.some((t=>t.some(rn)))?[An]:void 0,c=s(e,o,a);if(c===en.falseFunc)return en.falseFunc;const l=function(t,e){return t===en.falseFunc?en.falseFunc:n=>e.isTag(n)&&t(n)}(c,i);if(a&&c!==en.trueFunc){const{shouldTestNextSiblings:e=!1}=c;return n=>{if(!t(n))return!1;a[0]=n;const r=i.getChildren(n),s=e?[...r,...En(n,i)]:r;return i.existsOne(l,s)}}return e=>t(e)&&i.existsOne(l,i.getChildren(e))}};function Dn(t,e){const n=e.getParent(t);return n&&e.isTag(n)?n:null}function Tn(t,e,n,r,s){const{adapter:i,equals:o}=n;switch(e.type){case Oe.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case Oe.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case Oe.Attribute:if(null!=e.namespace)throw new Error("Namespaced attributes are not yet supported by css-select");return n.xmlMode&&!n.lowerCaseAttributeNames||(e.name=e.name.toLowerCase()),fn[e.action](t,e,n);case Oe.Pseudo:return function(t,e,n,r,s){var i;const{name:o,data:a}=e;if(Array.isArray(a)){if(!(o in Sn))throw new Error(`Unknown pseudo-class :${o}(${a})`);return Sn[o](t,a,n,r,s)}const c=null===(i=n.pseudos)||void 0===i?void 0:i[o],l="string"==typeof c?c:wn[o];if("string"==typeof l){if(null!=a)throw new Error(`Pseudo ${o} doesn't have any arguments`);const e=Ze(l);return Sn.is(t,e,n,r,s)}if("function"==typeof c)return vn(c,o,a,1),e=>c(e,a)&&t(e);if(o in bn)return bn[o](t,a,n,r);if(o in _n){const e=_n[o];return vn(e,o,a,2),r=>e(r,n,a)&&t(r)}throw new Error(`Unknown pseudo-class :${o}`)}(t,e,n,r,s);case Oe.Tag:{if(null!=e.namespace)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:r}=e;return n.xmlMode&&!n.lowerCaseTags||(r=r.toLowerCase()),function(e){return i.getName(e)===r&&t(e)}}case Oe.Descendant:{if(!1===n.cacheResults||"undefined"==typeof WeakSet)return function(e){let n=e;for(;n=Dn(n,i);)if(t(n))return!0;return!1};const e=new WeakSet;return function(n){let r=n;for(;r=Dn(r,i);)if(!e.has(r)){if(i.isTag(r)&&t(r))return!0;e.add(r)}return!1}}case"_flexibleDescendant":return function(e){let n=e;do{if(t(n))return!0}while(n=Dn(n,i));return!1};case Oe.Parent:return function(e){return i.getChildren(e).some((e=>i.isTag(e)&&t(e)))};case Oe.Child:return function(e){const n=i.getParent(e);return null!=n&&i.isTag(n)&&t(n)};case Oe.Sibling:return function(e){const n=i.getSiblings(e);for(let r=0;rt.some(Nn))))}const In={type:Oe.Descendant},Fn={type:"_flexibleDescendant"},Ln={type:Oe.Pseudo,name:"scope",data:null};function qn(t,e,n){var r;t.forEach(on),n=null!==(r=e.context)&&void 0!==r?r:n;const s=Array.isArray(n),i=n&&(Array.isArray(n)?n:[n]);if(!1!==e.relativeSelector)!function(t,{adapter:e},n){const r=!!(null==n?void 0:n.every((t=>{const n=e.isTag(t)&&e.getParent(t);return t===An||n&&e.isTag(n)})));for(const e of t){if(e.length>0&&rn(e[0])&&e[0].type!==Oe.Descendant);else{if(!r||e.some(Nn))continue;e.unshift(In)}e.unshift(Ln)}}(t,e,i);else if(t.some((t=>t.length>0&&rn(t[0]))))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let o=!1;const a=t.map((t=>{if(t.length>=2){const[e,n]=t;e.type!==Oe.Pseudo||"scope"!==e.name||(s&&n.type===Oe.Descendant?t[1]=Fn:n.type!==Oe.Adjacent&&n.type!==Oe.Sibling||(o=!0))}return function(t,e,n){var r;return t.reduce(((t,r)=>t===en.falseFunc?en.falseFunc:Tn(t,r,e,n,qn)),null!==(r=e.rootFunc)&&void 0!==r?r:en.trueFunc)}(t,e,i)})).reduce(On,en.falseFunc);return a.shouldTestNextSiblings=o,a}function On(t,e){return e===en.falseFunc||t===en.trueFunc?t:t===en.falseFunc||e===en.trueFunc?e:function(n){return t(n)||e(n)}}const Bn=(t,e)=>t===e,$n={adapter:ue,equals:Bn};const Mn=(Pn=qn,function(t,e,n){const r=function(t){var e,n,r,s;const i=null!=t?t:$n;return null!==(e=i.adapter)&&void 0!==e||(i.adapter=ue),null!==(n=i.equals)&&void 0!==n||(i.equals=null!==(s=null===(r=i.adapter)||void 0===r?void 0:r.equals)&&void 0!==s?s:Bn),i}(e);return Pn(t,r,n)});var Pn;function jn(t,e,n=!1){return n&&(t=function(t,e){const n=Array.isArray(t)?t.slice(0):[t],r=n.length;for(let t=0;tt.some(Un))))}function zn(t){const e=[],n=[];for(const r of t)r.some(Un)?e.push(r):n.push(r);return[n,e]}const Vn={type:Oe.Universal,namespace:null},Kn={type:Oe.Pseudo,name:"scope",data:null};function Hn(t,e,n={}){return Gn([t],e,n)}function Gn(t,e,n={}){if("function"==typeof e)return t.some(e);const[r,s]=zn(Ze(e));return r.length>0&&t.some(Mn(r,n))||s.some((e=>Jn(e,t,n).length>0))}function Wn(t,e,n={}){return Zn(Ze(t),e,n)}function Zn(t,e,n){if(0===e.length)return[];const[r,s]=zn(t);let i;if(r.length){const t=tr(e,r,n);if(0===s.length)return t;t.length&&(i=new Set(t))}for(let t=0;tH(t)&&!i.has(t))):e).length)break;const o=Jn(r,e,n);if(o.length)if(i)o.forEach((t=>i.add(t)));else{if(t===s.length-1)return o;i=new Set(o)}}return void 0!==i?i.size===e.length?e:e.filter((t=>i.has(t))):[]}function Jn(t,e,n){var r;if(t.some(ze)){const s=null!==(r=n.root)&&void 0!==r?r:function(t){for(;t.parent;)t=t.parent;return t}(e[0]),i={...n,context:e,relativeSelector:!1};return t.push(Kn),Xn(s,t,i,!0,e.length)}return Xn(e,t,n,!1,e.length)}function Xn(t,e,n,r,s){const i=e.findIndex(Un),o=e.slice(0,i),a=e[i],c=e.length-1===i?s:1/0,l=function(t,e,n){const r=null!=e?parseInt(e,10):NaN;switch(t){case"first":return 1;case"nth":case"eq":return isFinite(r)?r>=0?r+1:1/0:0;case"lt":return isFinite(r)?r>=0?Math.min(r,n):1/0:0;case"gt":return isFinite(r)?1/0:0;case"odd":return 2*n;case"even":return 2*n-1;case"last":case"not":return 1/0}}(a.name,a.data,c);if(0===l)return[];const u=(0!==o.length||Array.isArray(t)?0===o.length?(Array.isArray(t)?t:[t]).filter(H):r||o.some(ze)?Qn(t,[o],n,l):tr(t,[o],n):Pt(t).filter(H)).slice(0,l);let h=function(t,e,n,r){const s="string"==typeof n?parseInt(n,10):NaN;switch(t){case"first":case"lt":return e;case"last":return e.length>0?[e[e.length-1]]:e;case"nth":case"eq":return isFinite(s)&&Math.abs(s)e%2==0));case"odd":return e.filter(((t,e)=>e%2==1));case"not":{const t=new Set(Zn(n,e,r));return e.filter((e=>!t.has(e)))}}}(a.name,u,a.data,n);if(0===h.length||e.length===i+1)return h;const f=e.slice(i+1),d=f.some(ze);if(d){if(ze(f[0])){const{type:t}=f[0];t!==Oe.Sibling&&t!==Oe.Adjacent||(h=jn(h,ue,!0)),f.unshift(Vn)}n={...n,relativeSelector:!1,rootFunc:t=>h.includes(t)}}else n.rootFunc&&n.rootFunc!==tn.trueFunc&&(n={...n,rootFunc:tn.trueFunc});return f.some(Un)?Xn(h,f,n,!1,s):d?Qn(h,[f],n,s):tr(h,[f],n)}function Qn(t,e,n,r){return Yn(t,Mn(e,n,t),r)}function Yn(t,e,n=1/0){return Ht((t=>H(t)&&e(t)),jn(t,ue,e.shouldTestNextSiblings),!0,n)}function tr(t,e,n){const r=(Array.isArray(t)?t:[t]).filter(H);if(0===r.length)return r;const s=Mn(e,n);return s===tn.trueFunc?r:r.filter(s)}const er=/^\s*[+~]/;function nr(t){return function(e,...n){return function(r){var s;let i=t(e,this);return r&&(i=kr(i,r,this.options.xmlMode,null===(s=this._root)||void 0===s?void 0:s[0])),this._make(this.length>1&&i.length>1?n.reduce(((t,e)=>e(t)),i):i)}}}const rr=nr(((t,e)=>{let n=[];for(let r=0;r0&&(n=n.concat(s))}return n})),sr=nr(((t,e)=>{const n=[];for(let r=0;r{const r=[];return ye(e,(e=>{for(let s;(s=t(e))&&!(null==n?void 0:n(s,r.length));e=s)r.push(s)})),r}))(t,...e);return function(t,e){n="string"==typeof t?e=>Hn(e,t,this.options):t?br(t):null;const s=r.call(this,e);return n=null,s}}function or(t){return t.length>1?Array.from(new Set(t)):t}const ar=sr((({parent:t})=>t&&!J(t)?t:null),or),cr=rr((t=>{const e=[];for(;t.parent&&!J(t.parent);)e.push(t.parent),t=t.parent;return e}),ne,(t=>t.reverse())),lr=ir((({parent:t})=>t&&!J(t)?t:null),ne,(t=>t.reverse()));const ur=sr((t=>Ut(t))),hr=rr((t=>{const e=[];for(;t.next;)H(t=t.next)&&e.push(t);return e}),or),fr=ir((t=>Ut(t)),or),dr=sr((t=>zt(t))),pr=rr((t=>{const e=[];for(;t.prev;)H(t=t.prev)&&e.push(t);return e}),or),mr=ir((t=>zt(t)),or),gr=rr((t=>Rt(t).filter((e=>H(e)&&e!==t))),ne),yr=rr((t=>Pt(t).filter(H)),or);function br(t){return"function"==typeof t?(e,n)=>t.call(e,n,e):ge(t)?e=>Array.prototype.includes.call(t,e):function(e){return t===e}}function kr(t,e,n,r){return"string"==typeof e?Wn(e,t,{xmlMode:n,root:r}):t.filter(br(e))}const _r=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector:function(t,e){var n;const r=this.toArray(),s=er.test(t)?r:this.children().toArray(),i={context:r,root:null===(n=this._root)||void 0===n?void 0:n[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(function(t,e,n={},r=1/0){if("function"==typeof t)return Yn(e,t);const[s,i]=zn(Ze(t)),o=i.map((t=>Xn(e,t,n,!0,r)));return s.length&&o.push(Qn(e,s,n,r)),0===o.length?[]:1===o.length?o[0]:ne(o.reduce(((t,e)=>[...t,...e])))}(t,s,i,e))},add:function(t,e){const n=this._make(t,e),r=ne([...this.get(),...n.get()]);return this._make(r)},addBack:function(t){return this.prevObject?this.add(t?this.prevObject.filter(t):this.prevObject):this},children:yr,closest:function(t){var e;const n=[];if(!t)return this._make(n);const r={xmlMode:this.options.xmlMode,root:null===(e=this._root)||void 0===e?void 0:e[0]},s="string"==typeof t?e=>Hn(e,t,r):br(t);return ye(this,(t=>{for(!t||J(t)||H(t)||(t=t.parent);t&&H(t);){if(s(t,0)){n.includes(t)||n.push(t);break}t=t.parent}})),this._make(n)},contents:function(){const t=this.toArray().reduce(((t,e)=>X(e)?t.concat(e.children):t),[]);return this._make(t)},each:function(t){let e=0;const n=this.length;for(;en.some((e=>de(e,t))))))}return this._findBySelector(t,Number.POSITIVE_INFINITY)},first:function(){return this.length>1?this._make(this[0]):this},get:function(t){return null==t?this.toArray():this[t<0?this.length+t:t]},has:function(t){return this.filter("string"==typeof t?`:has(${t})`:(e,n)=>this._make(n).find(t).length>0)},index:function(t){let e,n;return null==t?(e=this.parent().children(),n=this[0]):"string"==typeof t?(e=this._make(t),n=this[0]):(e=this,n=ge(t)?t[0]:t),Array.prototype.indexOf.call(e,n)},is:function(t){const e=this.toArray();return"string"==typeof t?Gn(e.filter(H),t,this.options):!!t&&e.some(br(t))},last:function(){return this.length>0?this._make(this[this.length-1]):this},map:function(t){let e=[];for(let n=0;n!n.has(t)))}else{const n=br(t);e=e.filter(((t,e)=>!n(t,e)))}return this._make(e)},parent:ar,parents:cr,parentsUntil:lr,prev:dr,prevAll:pr,prevUntil:mr,siblings:gr,slice:function(t,e){return this._make(Array.prototype.slice.call(this,t,e))},toArray:function(){return Array.prototype.slice.call(this)}},Symbol.toStringTag,{value:"Module"}));function vr(t,e){const n=Array.isArray(t)?t:[t];e?e.children=n:e=null;for(let t=0;t{if(!X(r))return;const i="function"==typeof e[0]?e[0].call(r,s,this._render(r.children)):e,o=this._makeDomArray(i,s=t.length?null:t[e+n];for(let t=0;t-1&&(u.children.splice(t,1),s===u&&e>t&&a[0]--)}n.parent=s,n.prev&&(n.prev.next=null!==(i=n.next)&&void 0!==i?i:null),n.next&&(n.next.prev=null!==(o=n.prev)&&void 0!==o?o:null),n.prev=0===t?c:r[t-1],n.next=t===r.length-1?l:r[t+1]}return c&&(c.next=r[0]),l&&(l.prev=r[r.length-1]),t.splice(...a)}const Er=wr(((t,e,n)=>{Ar(e,e.length,0,t,n)})),xr=wr(((t,e,n)=>{Ar(e,0,0,t,n)}));function Cr(t){return function(e){const n=this.length-1,r=this.parents().last();for(let s=0;s{const{parent:r}=t;if(!r)return;const s=r.children,i=s.indexOf(t);vr([t],e),Ar(s,i,0,n,r)})),Dr=Cr(((t,e,n)=>{X(t)&&(vr(t.children,e),vr(n,t))}));const Tr=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray:function(t,e){if(null==t)return[];if("string"==typeof t)return this._parse(t,this.options,!1,null).children.slice(0);if("length"in t){if(1===t.length)return this._makeDomArray(t[0],e);const n=[];for(let r=0;r{if(!X(n)||!n.parent)return;const s=n.parent.children,i=s.indexOf(n);if(i<0)return;const o="function"==typeof t[0]?t[0].call(n,r,this._render(n.children)):t;Ar(s,i+1,0,this._makeDomArray(o,r{if(!X(n)||!n.parent)return;const s=n.parent.children,i=s.indexOf(n);if(i<0)return;const o="function"==typeof t[0]?t[0].call(n,r,this._render(n.children)):t;Ar(s,i,0,this._makeDomArray(o,rQ(t,!0))),e=new V(t);for(const n of t)n.parent=e;return this._make(t)},empty:function(){return ye(this,(t=>{if(X(t)){for(const e of t.children)e.next=e.prev=e.parent=null;t.children.length=0}}))},html:function(t){if(void 0===t){const t=this[0];return t&&X(t)?this._render(t.children):null}return ye(this,(e=>{if(!X(e))return;for(const t of e.children)t.next=t.prev=t.parent=null;vr(ge(t)?t.toArray():this._parse(`${t}`,this.options,!1,e).children,e)}))},insertAfter:function(t){"string"==typeof t&&(t=this._make(t)),this.remove();const e=[];for(const n of this._makeDomArray(t)){const t=this.clone().toArray(),{parent:r}=n;if(!r)continue;const s=r.children,i=s.indexOf(n);i<0||(Ar(s,i+1,0,t,r),e.push(...t))}return this._make(e)},insertBefore:function(t){const e=this._make(t);this.remove();const n=[];return ye(e,(t=>{const e=this.clone().toArray(),{parent:r}=t;if(!r)return;const s=r.children,i=s.indexOf(t);i<0||(Ar(s,i,0,e,r),n.push(...e))})),this._make(n)},prepend:xr,prependTo:function(t){return(ge(t)?t:this._make(t)).prepend(this),this},remove:function(t){return ye(t?this.filter(t):this,(t=>{Vt(t),t.prev=t.next=t.parent=null})),this},replaceWith:function(t){return ye(this,((e,n)=>{const{parent:r}=e;if(!r)return;const s=r.children,i="function"==typeof t?t.call(e,n,e):t,o=this._makeDomArray(i);vr(o,null);const a=s.indexOf(e);Ar(s,a,1,o,r),o.includes(e)||(e.parent=e.prev=e.next=null)}))},text:function(t){return void 0===t?fe(this):ye(this,"function"==typeof t?(e,n)=>this._make(e).text(t.call(e,n,fe([e]))):e=>{if(!X(e))return;for(const t of e.children)t.next=t.prev=t.parent=null;vr(new P(`${t}`),e)})},toString:function(){return this._render(this)},unwrap:function(t){return this.parent(t).not("body").each(((t,e)=>{this._make(e).replaceWith(e.children)})),this},wrap:Sr,wrapAll:function(t){const e=this[0];if(e){const n=this._make("function"==typeof t?t.call(e,0,e):t).insertBefore(e);let r;for(let t=0;t`${t}${t?" ":""}${e}: ${s[e]};`),""))}else if("object"==typeof e){const n=Object.keys(e);for(let r=0;r0&&void 0!==n&&(e[n]+=`;${t}`)}else n=r.slice(0,t).trim(),e[n]=r.slice(t+1).trim()}return e}(t.attribs.style);if("string"==typeof e)return n[e];if(Array.isArray(e)){const t={};for(const r of e)null!=n[r]&&(t[r]=n[r]);return t}return n}const Fr=Object.freeze(Object.defineProperty({__proto__:null,css:function(t,e){return null!=t&&null!=e||"object"==typeof t&&!Array.isArray(t)?ye(this,((n,r)=>{H(n)&&Nr(n,t,e,r)})):0!==this.length?Ir(this[0],t):void 0}},Symbol.toStringTag,{value:"Module"})),Lr="input,select,textarea,keygen",qr=/%20/g,Or=/\r?\n/g;const Br=Object.freeze(Object.defineProperty({__proto__:null,serialize:function(){return this.serializeArray().map((t=>`${encodeURIComponent(t.name)}=${encodeURIComponent(t.value)}`)).join("&").replace(qr,"+")},serializeArray:function(){return this.map(((t,e)=>{const n=this._make(e);return H(e)&&"form"===e.name?n.find(Lr).toArray():n.filter(Lr).toArray()})).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map(((t,e)=>{var n;const r=this._make(e),s=r.attr("name"),i=null!==(n=r.val())&&void 0!==n?n:"";return Array.isArray(i)?i.map((t=>({name:s,value:t.replace(Or,"\r\n")}))):{name:s,value:i.replace(Or,"\r\n")}})).toArray()}},Symbol.toStringTag,{value:"Module"}));function $r(t){var e;return"string"==typeof t?{selector:t,value:"textContent"}:{selector:t.selector,value:null!==(e=t.value)&&void 0!==e?e:"textContent"}}const Mr=Object.freeze(Object.defineProperty({__proto__:null,extract:function(t){const e={};for(const n in t){const r=t[n],s=Array.isArray(r),{selector:i,value:o}=$r(s?r[0]:r),a="function"==typeof o?o:"string"==typeof o?t=>this._make(t).prop(o):t=>this._make(t).extract(o);if(s)e[n]=this._findBySelector(i,Number.POSITIVE_INFINITY).map(((t,r)=>a(r,n,e))).get();else{const t=this._findBySelector(i,1);e[n]=t.length>0?a(t[0],n,e):void 0}}return e}},Symbol.toStringTag,{value:"Module"}));class Pr{constructor(t,e,n){if(this.length=0,this.options=n,this._root=e,t){for(let e=0;ethis.emitCodePoint(t,e)))}reset(){this.state=Rr.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=Rr.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=Rr.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===jr.Amp&&this.startEntity()}stateSpecialStartSequence(t){const e=this.sequenceIndex===this.currentSequence.length;if(e?Hr(t):(32|t)===this.currentSequence[this.sequenceIndex]){if(!e)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=Rr.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===jr.Gt||Kr(t)){const e=this.index-this.currentSequence.length;if(this.sectionStart=jr.LowerA&&t<=jr.LowerZ||t>=jr.UpperA&&t<=jr.UpperZ}(t)}startSpecial(t,e){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=e,this.state=Rr.SpecialStartSequence}stateBeforeTagName(t){if(t===jr.ExclamationMark)this.state=Rr.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===jr.Questionmark)this.state=Rr.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){const e=32|t;this.sectionStart=this.index,this.xmlMode?this.state=Rr.InTagName:e===Gr.ScriptEnd[2]?this.state=Rr.BeforeSpecialS:e===Gr.TitleEnd[2]?this.state=Rr.BeforeSpecialT:this.state=Rr.InTagName}else t===jr.Slash?this.state=Rr.BeforeClosingTagName:(this.state=Rr.Text,this.stateText(t))}stateInTagName(t){Hr(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=Rr.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){Kr(t)||(t===jr.Gt?this.state=Rr.Text:(this.state=this.isTagStartChar(t)?Rr.InClosingTagName:Rr.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===jr.Gt||Kr(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=Rr.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===jr.Gt||this.fastForwardTo(jr.Gt))&&(this.state=Rr.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===jr.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=Rr.InSpecialTag,this.sequenceIndex=0):this.state=Rr.Text,this.sectionStart=this.index+1):t===jr.Slash?this.state=Rr.InSelfClosingTag:Kr(t)||(this.state=Rr.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===jr.Gt?(this.cbs.onselfclosingtag(this.index),this.state=Rr.Text,this.sectionStart=this.index+1,this.isSpecial=!1):Kr(t)||(this.state=Rr.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===jr.Eq||Hr(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=Rr.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===jr.Eq?this.state=Rr.BeforeAttributeValue:t===jr.Slash||t===jr.Gt?(this.cbs.onattribend(zr.NoValue,this.sectionStart),this.sectionStart=-1,this.state=Rr.BeforeAttributeName,this.stateBeforeAttributeName(t)):Kr(t)||(this.cbs.onattribend(zr.NoValue,this.sectionStart),this.state=Rr.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===jr.DoubleQuote?(this.state=Rr.InAttributeValueDq,this.sectionStart=this.index+1):t===jr.SingleQuote?(this.state=Rr.InAttributeValueSq,this.sectionStart=this.index+1):Kr(t)||(this.sectionStart=this.index,this.state=Rr.InAttributeValueNq,this.stateInAttributeValueNoQuotes(t))}handleInAttributeValue(t,e){t===e||!this.decodeEntities&&this.fastForwardTo(e)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(e===jr.DoubleQuote?zr.Double:zr.Single,this.index+1),this.state=Rr.BeforeAttributeName):this.decodeEntities&&t===jr.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,jr.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,jr.SingleQuote)}stateInAttributeValueNoQuotes(t){Kr(t)||t===jr.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(zr.Unquoted,this.index),this.state=Rr.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===jr.Amp&&this.startEntity()}stateBeforeDeclaration(t){t===jr.OpeningSquareBracket?(this.state=Rr.CDATASequence,this.sequenceIndex=0):this.state=t===jr.Dash?Rr.BeforeComment:Rr.InDeclaration}stateInDeclaration(t){(t===jr.Gt||this.fastForwardTo(jr.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=Rr.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===jr.Gt||this.fastForwardTo(jr.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=Rr.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===jr.Dash?(this.state=Rr.InCommentLike,this.currentSequence=Gr.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=Rr.InDeclaration}stateInSpecialComment(t){(t===jr.Gt||this.fastForwardTo(jr.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=Rr.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){const e=32|t;e===Gr.ScriptEnd[3]?this.startSpecial(Gr.ScriptEnd,4):e===Gr.StyleEnd[3]?this.startSpecial(Gr.StyleEnd,4):(this.state=Rr.InTagName,this.stateInTagName(t))}stateBeforeSpecialT(t){const e=32|t;e===Gr.TitleEnd[3]?this.startSpecial(Gr.TitleEnd,4):e===Gr.TextareaEnd[3]?this.startSpecial(Gr.TextareaEnd,4):(this.state=Rr.InTagName,this.stateInTagName(t))}startEntity(){this.baseState=this.state,this.state=Rr.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?dt.Strict:this.baseState===Rr.Text||this.baseState===Rr.InSpecialTag?dt.Legacy:dt.Attribute)}stateInEntity(){const t=this.entityDecoder.write(this.buffer,this.index-this.offset);t>=0?(this.state=this.baseState,0===t&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===Rr.Text||this.state===Rr.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==Rr.InAttributeValueDq&&this.state!==Rr.InAttributeValueSq&&this.state!==Rr.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index=t||(this.state===Rr.InCommentLike?this.currentSequence===Gr.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===Rr.InTagName||this.state===Rr.BeforeAttributeName||this.state===Rr.BeforeAttributeValue||this.state===Rr.AfterAttributeName||this.state===Rr.InAttributeName||this.state===Rr.InAttributeValueSq||this.state===Rr.InAttributeValueDq||this.state===Rr.InAttributeValueNq||this.state===Rr.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,e){this.baseState!==Rr.Text&&this.baseState!==Rr.InSpecialTag?(this.sectionStart0&&i.has(this.stack[0]);){const t=this.stack.shift();null===(n=(e=this.cbs).onclosetag)||void 0===n||n.call(e,t,!0)}this.isVoidElement(t)||(this.stack.unshift(t),this.htmlMode&&(ns.has(t)?this.foreignContext.unshift(!0):rs.has(t)&&this.foreignContext.unshift(!1))),null===(s=(r=this.cbs).onopentagname)||void 0===s||s.call(r,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var e,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(e=this.cbs).onopentag)||void 0===n||n.call(e,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,e){var n,r,s,i,o,a,c,l;this.endIndex=e;let u=this.getSlice(t,e);if(this.lowerCaseTagNames&&(u=u.toLowerCase()),this.htmlMode&&(ns.has(u)||rs.has(u))&&this.foreignContext.shift(),this.isVoidElement(u))this.htmlMode&&"br"===u&&(null===(i=(s=this.cbs).onopentagname)||void 0===i||i.call(s,"br"),null===(a=(o=this.cbs).onopentag)||void 0===a||a.call(o,"br",{},!0),null===(l=(c=this.cbs).onclosetag)||void 0===l||l.call(c,"br",!1));else{const t=this.stack.indexOf(u);if(-1!==t)for(let e=0;e<=t;e++){const s=this.stack.shift();null===(r=(n=this.cbs).onclosetag)||void 0===r||r.call(n,s,e!==t)}else this.htmlMode&&"p"===u&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=e+1}onselfclosingtag(t){this.endIndex=t,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var e,n;const r=this.tagname;this.endOpenTag(t),this.stack[0]===r&&(null===(n=(e=this.cbs).onclosetag)||void 0===n||n.call(e,r,!t),this.stack.shift())}onattribname(t,e){this.startIndex=t;const n=this.getSlice(t,e);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(t,e){this.attribvalue+=this.getSlice(t,e)}onattribentity(t){this.attribvalue+=ot(t)}onattribend(t,e){var n,r;this.endIndex=e,null===(r=(n=this.cbs).onattribute)||void 0===r||r.call(n,this.attribname,this.attribvalue,t===zr.Double?'"':t===zr.Single?"'":t===zr.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){const e=t.search(ss);let n=e<0?t:t.substr(0,e);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(t,e){this.endIndex=e;const n=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){const t=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${t}`,`!${n}`)}this.startIndex=e+1}onprocessinginstruction(t,e){this.endIndex=e;const n=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){const t=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${t}`,`?${n}`)}this.startIndex=e+1}oncomment(t,e,n){var r,s,i,o;this.endIndex=e,null===(s=(r=this.cbs).oncomment)||void 0===s||s.call(r,this.getSlice(t,e-n)),null===(o=(i=this.cbs).oncommentend)||void 0===o||o.call(i),this.startIndex=e+1}oncdata(t,e,n){var r,s,i,o,a,c,l,u,h,f;this.endIndex=e;const d=this.getSlice(t,e-n);!this.htmlMode||this.options.recognizeCDATA?(null===(s=(r=this.cbs).oncdatastart)||void 0===s||s.call(r),null===(o=(i=this.cbs).ontext)||void 0===o||o.call(i,d),null===(c=(a=this.cbs).oncdataend)||void 0===c||c.call(a)):(null===(u=(l=this.cbs).oncomment)||void 0===u||u.call(l,`[CDATA[${d}]]`),null===(f=(h=this.cbs).oncommentend)||void 0===f||f.call(h)),this.startIndex=e+1}onend(){var t,e;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let t=0;t=this.buffers[0].length;)this.shiftBuffer();let n=this.buffers[0].slice(t-this.bufferOffset,e-this.bufferOffset);for(;e-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,e-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var e,n;this.ended?null===(n=(e=this.cbs).onerror)||void 0===n||n.call(e,new Error(".write() after done!")):(this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++))}end(t){var e,n;this.ended?null===(n=(e=this.cbs).onerror)||void 0===n||n.call(e,new Error(".end() after done!")):(t&&this.write(t),this.ended=!0,this.tokenizer.end())}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndeximg:only-child",selectorRules:{"div,p":({$node:t})=>({queue:t.children()}),"h1,h2,h3,h4,h5,h6":({$node:t,getContent:e})=>({...e(t.contents())}),"ul,ol":({$node:t})=>({queue:t.children(),nesting:!0}),li:({$node:t,getContent:e})=>{const n=t.children().filter("ul,ol");let r;if(t.contents().first().is("div,p"))r=e(t.children().first());else{let s=t.contents();const i=s.index(n);i>=0&&(s=s.slice(0,i)),r=e(s)}return{queue:n,nesting:!0,...r}},"table,pre,p>img:only-child":({$node:t,getContent:e})=>({...e(t)})}},hs="markmap: ",fs=/^h[1-6]$/,ds=/^[uo]l$/,ps=/^li$/;function ms(t,e){const n={...us,...e},r=os(t);let s=r("body");s.length||(s=r.root());let i=0;const o={id:i,tag:"",html:"",level:0,parent:0,childrenLevel:0,children:[]},a=[];let c=0;return function t(e,s){e.each(((e,o)=>{var h;const f=r(o),d=null==(h=Object.entries(n.selectorRules).find((([t])=>f.is(t))))?void 0:h[1],p=null==d?void 0:d({$node:f,$:r,getContent:u});if((null==p?void 0:p.queue)&&!p.nesting)return void t(p.queue,s);const m=(g=o.tagName,fs.test(g)?+g[1]:ds.test(g)?8:ps.test(g)?9:7);var g;if(!p)return void(m<=6&&(c=m));if(c>0&&m>c)return;if(!f.is(n.selector))return;c=0;const y=m<=6;let b={...f.closest("p").data(),...f.data()},k=p.html||"";if(f.is("ol>li")&&(null==s?void 0:s.children)){const t=+(f.parent().attr("start")||1)+s.children.length;k=`${t}. ${k}`,b={...b,listIndex:t}}const _=function(t){var e;const{parent:n}=t,r={id:++i,tag:t.tagName,level:t.level,html:t.html,childrenLevel:0,children:t.nesting?[]:void 0,parent:n.id};(null==(e=t.comments)?void 0:e.length)&&(r.comments=t.comments);Object.keys(t.data||{}).length&&(r.data=t.data);n.children&&((0===n.childrenLevel||n.childrenLevel>r.level)&&(n.children=[],n.childrenLevel=r.level),n.childrenLevel===r.level&&n.children.push(r));return r}({parent:s||l(m),nesting:!!p.queue||y,tagName:o.tagName,level:m,html:k,comments:p.comments,data:b});y&&a.push(_),p.queue&&t(p.queue,_)}))}(s.children()),o;function l(t){let e;for(;(e=a[a.length-1])&&e.level>=t;)a.pop();return e||o}function u(t){var e;const n=function(t){const e=[];return t=t.filter(((t,n)=>{if("comment"===n.type){const t=n.data.trim();if(t.startsWith(hs))return e.push(t.slice(9).trim()),!1}return!0})),{$node:t,comments:e}}(t),s=null==(e=r.html(n.$node))?void 0:e.trimEnd();return{comments:n.comments,html:s}}}const gs={};function ys(t,e){"string"!=typeof e&&(e=ys.defaultChars);const n=function(t){let e=gs[t];if(e)return e;e=gs[t]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);e.push(n)}for(let n=0;n=55296&&t<=57343?"���":String.fromCharCode(t),r+=6;continue}}if(240==(248&i)&&r+91114111?e+="����":(t-=65536,e+=String.fromCharCode(55296+(t>>10),56320+(1023&t))),r+=9;continue}}e+="�"}}return e}))}ys.defaultChars=";/?:@&=+$,#",ys.componentChars="";const bs={};function ks(t,e,n){"string"!=typeof e&&(n=e,e=ks.defaultChars),void 0===n&&(n=!0);const r=function(t){let e=bs[t];if(e)return e;e=bs[t]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);/^[0-9a-z]$/i.test(n)?e.push(n):e.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(let n=0;n=55296&&o<=57343){if(o>=55296&&o<=56319&&e+1=56320&&n<=57343){s+=encodeURIComponent(t[e]+t[e+1]),e++;continue}}s+="%EF%BF%BD"}else s+=encodeURIComponent(t[e])}return s}function _s(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function vs(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}ks.defaultChars=";/?:@&=+$,-_.!~*'()#",ks.componentChars="-_.!~*'()";const ws=/^([a-z0-9.+-]+:)/i,As=/:[0-9]*$/,Es=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,xs=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),Cs=["'"].concat(xs),Ss=["%","/","?",";","#"].concat(Cs),Ds=["/","?","#"],Ts=/^[+a-z0-9A-Z_-]{0,63}$/,Ns=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Is={javascript:!0,"javascript:":!0},Fs={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Ls(t,e){if(t&&t instanceof vs)return t;const n=new vs;return n.parse(t,e),n}vs.prototype.parse=function(t,e){let n,r,s,i=t;if(i=i.trim(),!e&&1===t.split("#").length){const t=Es.exec(i);if(t)return this.pathname=t[1],t[2]&&(this.search=t[2]),this}let o=ws.exec(i);if(o&&(o=o[0],n=o.toLowerCase(),this.protocol=o,i=i.substr(o.length)),(e||o||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(s="//"===i.substr(0,2),!s||o&&Is[o]||(i=i.substr(2),this.slashes=!0)),!Is[o]&&(s||o&&!Fs[o])){let t,e,n=-1;for(let t=0;t127?r+="x":r+=n[t];if(!r.match(Ts)){const r=t.slice(0,e),s=t.slice(e+1),o=n.match(Ns);o&&(r.push(o[1]),s.unshift(o[2])),s.length&&(i=s.join(".")+i),this.hostname=r.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=i.indexOf("#");-1!==a&&(this.hash=i.substr(a),i=i.slice(0,a));const c=i.indexOf("?");return-1!==c&&(this.search=i.substr(c),i=i.slice(0,c)),i&&(this.pathname=i),Fs[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},vs.prototype.parseHost=function(t){let e=As.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const qs=Object.freeze(Object.defineProperty({__proto__:null,decode:ys,encode:ks,format:_s,parse:Ls},Symbol.toStringTag,{value:"Module"})),Os=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Bs=/[\0-\x1F\x7F-\x9F]/,$s=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Ms=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Ps=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,js=Object.freeze(Object.defineProperty({__proto__:null,Any:Os,Cc:Bs,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:$s,S:Ms,Z:Ps},Symbol.toStringTag,{value:"Module"})),Rs=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((t=>t.charCodeAt(0)))),Us=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((t=>t.charCodeAt(0))));var zs;const Vs=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Ks=null!==(zs=String.fromCodePoint)&&void 0!==zs?zs:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};var Hs;!function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"}(Hs||(Hs={}));var Gs,Ws,Zs;function Js(t){return t>=Hs.ZERO&&t<=Hs.NINE}function Xs(t){return t===Hs.EQUALS||function(t){return t>=Hs.UPPER_A&&t<=Hs.UPPER_Z||t>=Hs.LOWER_A&&t<=Hs.LOWER_Z||Js(t)}(t)}!function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"}(Gs||(Gs={})),function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"}(Ws||(Ws={})),function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"}(Zs||(Zs={}));class Qs{constructor(t,e,n){this.decodeTree=t,this.emitCodePoint=e,this.errors=n,this.state=Ws.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Zs.Strict}startEntity(t){this.decodeMode=t,this.state=Ws.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case Ws.EntityStart:return t.charCodeAt(e)===Hs.NUM?(this.state=Ws.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=Ws.NamedEntity,this.stateNamedEntity(t,e));case Ws.NumericStart:return this.stateNumericStart(t,e);case Ws.NumericDecimal:return this.stateNumericDecimal(t,e);case Ws.NumericHex:return this.stateNumericHex(t,e);case Ws.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===Hs.LOWER_X?(this.state=Ws.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=Ws.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,n,r){if(e!==n){const s=n-e;this.result=this.result*Math.pow(r,s)+parseInt(t.substr(e,s),r),this.consumed+=s}}stateNumericHex(t,e){const n=e;for(;e=Hs.UPPER_A&&r<=Hs.UPPER_F||r>=Hs.LOWER_A&&r<=Hs.LOWER_F)))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(s,3);e+=1}var r;return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e=55296&&t<=57343||t>1114111?65533:null!==(e=Vs.get(t))&&void 0!==e?e:t}(this.result),this.consumed),this.errors&&(t!==Hs.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){const{decodeTree:n}=this;let r=n[this.treeIndex],s=(r&Gs.VALUE_LENGTH)>>14;for(;e>14,0!==s){if(i===Hs.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==Zs.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:n}=this,r=(n[e]&Gs.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,r,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:r}=this;return this.emitCodePoint(1===e?r[t]&~Gs.VALUE_LENGTH:r[t+1],n),3===e&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case Ws.NamedEntity:return 0===this.result||this.decodeMode===Zs.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Ws.NumericDecimal:return this.emitNumericEntity(0,2);case Ws.NumericHex:return this.emitNumericEntity(0,3);case Ws.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ws.EntityStart:return 0}}}function Ys(t){let e="";const n=new Qs(t,(t=>e+=Ks(t)));return function(t,r){let s=0,i=0;for(;(i=t.indexOf("&",i))>=0;){e+=t.slice(s,i),n.startEntity(r);const o=n.write(t,i+1);if(o<0){s=i+n.end();break}s=i+o,i=0===o?s+1:s}const o=e+t.slice(s);return e="",o}}function ti(t,e,n,r){const s=(e&Gs.BRANCH_LENGTH)>>7,i=e&Gs.JUMP_TABLE;if(0===s)return 0!==i&&r===i?n:-1;if(i){const e=r-i;return e<0||e>=s?-1:t[n+e]-1}let o=n,a=o+s-1;for(;o<=a;){const e=o+a>>>1,n=t[e];if(nr))return t[e+s];a=e-1}}return-1}const ei=Ys(Rs);function ni(t,e=Zs.Legacy){return ei(t,e)}function ri(t){return"[object String]"===function(t){return Object.prototype.toString.call(t)}(t)}Ys(Us);const si=Object.prototype.hasOwnProperty;function ii(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach((function(n){t[n]=e[n]}))}})),t}function oi(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))}function ai(t){return!(t>=55296&&t<=57343)&&(!(t>=64976&&t<=65007)&&(!!(65535&~t&&65534!=(65535&t))&&(!(t>=0&&t<=8)&&(11!==t&&(!(t>=14&&t<=31)&&(!(t>=127&&t<=159)&&!(t>1114111)))))))}function ci(t){if(t>65535){const e=55296+((t-=65536)>>10),n=56320+(1023&t);return String.fromCharCode(e,n)}return String.fromCharCode(t)}const li=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ui=new RegExp(li.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),hi=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function fi(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(ui,(function(t,e,n){return e||function(t,e){if(35===e.charCodeAt(0)&&hi.test(e)){const n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return ai(n)?ci(n):t}const n=ni(t);return n!==t?n:t}(t,n)}))}const di=/[&<>"]/,pi=/[&<>"]/g,mi={"&":"&","<":"<",">":">",'"':"""};function gi(t){return mi[t]}function yi(t){return di.test(t)?t.replace(pi,gi):t}const bi=/[.?*+^$[\]\\(){}|-]/g;function ki(t){switch(t){case 9:case 32:return!0}return!1}function _i(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function vi(t){return $s.test(t)||Ms.test(t)}function wi(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Ai(t){return t=t.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const Ei={mdurl:qs,ucmicro:js},xi=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:oi,assign:ii,escapeHtml:yi,escapeRE:function(t){return t.replace(bi,"\\$&")},fromCodePoint:ci,has:function(t,e){return si.call(t,e)},isMdAsciiPunct:wi,isPunctChar:vi,isSpace:ki,isString:ri,isValidEntityCode:ai,isWhiteSpace:_i,lib:Ei,normalizeReference:Ai,unescapeAll:fi,unescapeMd:function(t){return t.indexOf("\\")<0?t:t.replace(li,"$1")}},Symbol.toStringTag,{value:"Module"}));const Ci=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:function(t,e,n){let r,s=e;const i={ok:!1,pos:0,str:""};if(60===t.charCodeAt(s)){for(s++;s32))return i;if(41===r){if(0===o)break;o--}s++}return e===s||0!==o||(i.str=fi(t.slice(e,s)),i.pos=s,i.ok=!0),i},parseLinkLabel:function(t,e,n){let r,s,i,o;const a=t.posMax,c=t.pos;for(t.pos=e+1,r=1;t.pos=n)return o;let r=t.charCodeAt(i);if(34!==r&&39!==r&&40!==r)return o;e++,i++,40===r&&(r=41),o.marker=r}for(;i"+yi(i.content)+""},Si.code_block=function(t,e,n,r,s){const i=t[e];return""+yi(t[e].content)+"\n"},Si.fence=function(t,e,n,r,s){const i=t[e],o=i.info?fi(i.info).trim():"";let a,c="",l="";if(o){const t=o.split(/(\s+)/g);c=t[0],l=t.slice(2).join("")}if(a=n.highlight&&n.highlight(i.content,c,l)||yi(i.content),0===a.indexOf("${a}\n`}return`
${a}
\n`},Si.image=function(t,e,n,r,s){const i=t[e];return i.attrs[i.attrIndex("alt")][1]=s.renderInlineAsText(i.children,n,r),s.renderToken(t,e,n)},Si.hardbreak=function(t,e,n){return n.xhtmlOut?"
\n":"
\n"},Si.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},Si.text=function(t,e){return yi(t[e].content)},Si.html_block=function(t,e){return t[e].content},Si.html_inline=function(t,e){return t[e].content},Di.prototype.renderAttrs=function(t){let e,n,r;if(!t.attrs)return"";for(r="",e=0,n=t.attrs.length;e\n":">",s},Di.prototype.renderInline=function(t,e,n){let r="";const s=this.rules;for(let i=0,o=t.length;i=0&&(n=this.attrs[e][1]),n},Ni.prototype.attrJoin=function(t,e){const n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e},Ii.prototype.Token=Ni;const Fi=/\r\n?|\n/g,Li=/\0/g;function qi(t){return/^<\/a\s*>/i.test(t)}const Oi=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Bi=/\((c|tm|r)\)/i,$i=/\((c|tm|r)\)/gi,Mi={c:"©",r:"®",tm:"™"};function Pi(t,e){return Mi[e.toLowerCase()]}function ji(t){let e=0;for(let n=t.length-1;n>=0;n--){const r=t[n];"text"!==r.type||e||(r.content=r.content.replace($i,Pi)),"link_open"===r.type&&"auto"===r.info&&e--,"link_close"===r.type&&"auto"===r.info&&e++}}function Ri(t){let e=0;for(let n=t.length-1;n>=0;n--){const r=t[n];"text"!==r.type||e||Oi.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&e--,"link_close"===r.type&&"auto"===r.info&&e++}}const Ui=/['"]/,zi=/['"]/g;function Vi(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Ki(t,e){let n;const r=[];for(let s=0;s=0&&!(r[n].level<=o);n--);if(r.length=n+1,"text"!==i.type)continue;let a=i.content,c=0,l=a.length;t:for(;c=0)p=a.charCodeAt(u.index-1);else for(n=s-1;n>=0&&("softbreak"!==t[n].type&&"hardbreak"!==t[n].type);n--)if(t[n].content){p=t[n].content.charCodeAt(t[n].content.length-1);break}let m=32;if(c=48&&p<=57&&(f=h=!1),h&&f&&(h=g,f=y),h||f){if(f)for(n=r.length-1;n>=0;n--){let h=r[n];if(r[n].level=0;o--){const a=s[o];if("link_close"!==a.type){if("html_inline"===a.type&&(n=a.content,/^\s]/i.test(n)&&i>0&&i--,qi(a.content)&&i++),!(i>0)&&"text"===a.type&&t.md.linkify.test(a.content)){const n=a.content;let i=t.md.linkify.match(n);const c=[];let l=a.level,u=0;i.length>0&&0===i[0].index&&o>0&&"text_special"===s[o-1].type&&(i=i.slice(1));for(let e=0;eu){const e=new t.Token("text","",0);e.content=n.slice(u,a),e.level=l,c.push(e)}const h=new t.Token("link_open","a",1);h.attrs=[["href",s]],h.level=l++,h.markup="linkify",h.info="auto",c.push(h);const f=new t.Token("text","",0);f.content=o,f.level=l,c.push(f);const d=new t.Token("link_close","a",-1);d.level=--l,d.markup="linkify",d.info="auto",c.push(d),u=i[e].lastIndex}if(u=0;e--)"inline"===t.tokens[e].type&&(Bi.test(t.tokens[e].content)&&ji(t.tokens[e].children),Oi.test(t.tokens[e].content)&&Ri(t.tokens[e].children))}],["smartquotes",function(t){if(t.md.options.typographer)for(let e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&Ui.test(t.tokens[e].content)&&Ki(t.tokens[e].children,t)}],["text_join",function(t){let e,n;const r=t.tokens,s=r.length;for(let t=0;t0&&this.level++,this.tokens.push(r),r},Wi.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},Wi.prototype.skipEmptyLines=function(t){for(let e=this.lineMax;te;)if(!ki(this.src.charCodeAt(--t)))return t+1;return t},Wi.prototype.skipChars=function(t,e){for(let n=this.src.length;tn;)if(e!==this.src.charCodeAt(--t))return t+1;return t},Wi.prototype.getLines=function(t,e,n,r){if(t>=e)return"";const s=new Array(e-t);for(let i=0,o=t;on?new Array(t-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return s.join("")},Wi.prototype.Token=Ni;function Zi(t,e){const n=t.bMarks[e]+t.tShift[e],r=t.eMarks[e];return t.src.slice(n,r)}function Ji(t){const e=[],n=t.length;let r=0,s=t.charCodeAt(r),i=!1,o=0,a="";for(;r=r)return-1;let i=t.src.charCodeAt(s++);if(i<48||i>57)return-1;for(;;){if(s>=r)return-1;if(i=t.src.charCodeAt(s++),!(i>=48&&i<=57)){if(41===i||46===i)break;return-1}if(s-n>=10)return-1}return s`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",to="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",eo=new RegExp("^(?:"+Yi+"|"+to+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),no=new RegExp("^(?:"+Yi+"|"+to+")"),ro=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(no.source+"\\s*$"),/^$/,!1]];const so=[["table",function(t,e,n,r){if(e+2>n)return!1;let s=e+1;if(t.sCount[s]=4)return!1;let i=t.bMarks[s]+t.tShift[s];if(i>=t.eMarks[s])return!1;const o=t.src.charCodeAt(i++);if(124!==o&&45!==o&&58!==o)return!1;if(i>=t.eMarks[s])return!1;const a=t.src.charCodeAt(i++);if(124!==a&&45!==a&&58!==a&&!ki(a))return!1;if(45===o&&ki(a))return!1;for(;i=4)return!1;l=Ji(c),l.length&&""===l[0]&&l.shift(),l.length&&""===l[l.length-1]&&l.pop();const h=l.length;if(0===h||h!==u.length)return!1;if(r)return!0;const f=t.parentType;t.parentType="table";const d=t.md.block.ruler.getRules("blockquote"),p=[e,0];t.push("table_open","table",1).map=p,t.push("thead_open","thead",1).map=[e,e+1],t.push("tr_open","tr",1).map=[e,e+1];for(let e=0;e=4)break;if(l=Ji(c),l.length&&""===l[0]&&l.shift(),l.length&&""===l[l.length-1]&&l.pop(),g+=h-l.length,g>65536)break;if(s===e+2){t.push("tbody_open","tbody",1).map=m=[e+2,0]}t.push("tr_open","tr",1).map=[s,s+1];for(let e=0;e=4))break;r++,s=r}t.line=s;const i=t.push("code_block","code",0);return i.content=t.getLines(e,s,4+t.blkIndent,!1)+"\n",i.map=[e,t.line],!0}],["fence",function(t,e,n,r){let s=t.bMarks[e]+t.tShift[e],i=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(s+3>i)return!1;const o=t.src.charCodeAt(s);if(126!==o&&96!==o)return!1;let a=s;s=t.skipChars(s,o);let c=s-a;if(c<3)return!1;const l=t.src.slice(a,s),u=t.src.slice(s,i);if(96===o&&u.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;let h=e,f=!1;for(;(h++,!(h>=n))&&(s=a=t.bMarks[h]+t.tShift[h],i=t.eMarks[h],!(s=4||(s=t.skipChars(s,o),s-a=4)return!1;if(62!==t.src.charCodeAt(s))return!1;if(r)return!0;const a=[],c=[],l=[],u=[],h=t.md.block.ruler.getRules("blockquote"),f=t.parentType;t.parentType="blockquote";let d,p=!1;for(d=e;d=i)break;if(62===t.src.charCodeAt(s++)&&!e){let e,n,r=t.sCount[d]+1;32===t.src.charCodeAt(s)?(s++,r++,n=!1,e=!0):9===t.src.charCodeAt(s)?(e=!0,(t.bsCount[d]+r)%4==3?(s++,r++,n=!1):n=!0):e=!1;let o=r;for(a.push(t.bMarks[d]),t.bMarks[d]=s;s=i,c.push(t.bsCount[d]),t.bsCount[d]=t.sCount[d]+1+(e?1:0),l.push(t.sCount[d]),t.sCount[d]=o-r,u.push(t.tShift[d]),t.tShift[d]=s-t.bMarks[d];continue}if(p)break;let r=!1;for(let e=0,s=h.length;e";const y=[e,0];g.map=y,t.md.block.tokenize(t,e,d),t.push("blockquote_close","blockquote",-1).markup=">",t.lineMax=o,t.parentType=f,y[1]=t.line;for(let n=0;n=4)return!1;let i=t.bMarks[e]+t.tShift[e];const o=t.src.charCodeAt(i++);if(42!==o&&45!==o&&95!==o)return!1;let a=1;for(;i=4)return!1;if(t.listIndent>=0&&t.sCount[c]-t.listIndent>=4&&t.sCount[c]=t.blkIndent&&(d=!0),(f=Qi(t,c))>=0){if(u=!0,o=t.bMarks[c]+t.tShift[c],h=Number(t.src.slice(o,f-1)),d&&1!==h)return!1}else{if(!((f=Xi(t,c))>=0))return!1;u=!1}if(d&&t.skipSpaces(f)>=t.eMarks[c])return!1;if(r)return!0;const p=t.src.charCodeAt(f-1),m=t.tokens.length;u?(a=t.push("ordered_list_open","ol",1),1!==h&&(a.attrs=[["start",h]])):a=t.push("bullet_list_open","ul",1);const g=[c,0];a.map=g,a.markup=String.fromCharCode(p);let y=!1;const b=t.md.block.ruler.getRules("list"),k=t.parentType;for(t.parentType="list";c=s?1:r-e,d>4&&(d=1);const m=e+d;a=t.push("list_item_open","li",1),a.markup=String.fromCharCode(p);const g=[c,0];a.map=g,u&&(a.info=t.src.slice(o,f-1));const k=t.tight,_=t.tShift[c],v=t.sCount[c],w=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=m,t.tight=!0,t.tShift[c]=h-t.bMarks[c],t.sCount[c]=r,h>=s&&t.isEmpty(c+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,c,n,!0),t.tight&&!y||(l=!1),y=t.line-c>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=w,t.tShift[c]=_,t.sCount[c]=v,t.tight=k,a=t.push("list_item_close","li",-1),a.markup=String.fromCharCode(p),c=t.line,g[1]=c,c>=n)break;if(t.sCount[c]=4)break;let A=!1;for(let e=0,r=b.length;e=4)return!1;if(91!==t.src.charCodeAt(s))return!1;function a(e){const n=t.lineMax;if(e>=n||t.isEmpty(e))return null;let r=!1;if(t.sCount[e]-t.blkIndent>3&&(r=!0),t.sCount[e]<0&&(r=!0),!r){const r=t.md.block.ruler.getRules("reference"),s=t.parentType;t.parentType="reference";let i=!1;for(let s=0,o=r.length;s=4)return!1;if(!t.md.options.html)return!1;if(60!==t.src.charCodeAt(s))return!1;let o=t.src.slice(s,i),a=0;for(;a=4)return!1;let o=t.src.charCodeAt(s);if(35!==o||s>=i)return!1;let a=1;for(o=t.src.charCodeAt(++s);35===o&&s6||ss&&ki(t.src.charCodeAt(c-1))&&(i=c),t.line=e+1;const l=t.push("heading_open","h"+String(a),1);l.markup="########".slice(0,a),l.map=[e,t.line];const u=t.push("inline","",0);return u.content=t.src.slice(s,i).trim(),u.map=[e,t.line],u.children=[],t.push("heading_close","h"+String(a),-1).markup="########".slice(0,a),!0},["paragraph","reference","blockquote"]],["lheading",function(t,e,n){const r=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;const s=t.parentType;t.parentType="paragraph";let i,o=0,a=e+1;for(;a3)continue;if(t.sCount[a]>=t.blkIndent){let e=t.bMarks[a]+t.tShift[a];const n=t.eMarks[a];if(e=n))){o=61===i?1:2;break}}if(t.sCount[a]<0)continue;let e=!1;for(let s=0,i=r.length;s3)continue;if(t.sCount[i]<0)continue;let e=!1;for(let s=0,o=r.length;s=n))&&!(t.sCount[o]=i){t.line=n;break}const e=t.line;let c=!1;for(let i=0;i=t.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");t.tight=!a,t.isEmpty(t.line-1)&&(a=!0),o=t.line,o0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(s),r},oo.prototype.scanDelims=function(t,e){const n=this.posMax,r=this.src.charCodeAt(t),s=t>0?this.src.charCodeAt(t-1):32;let i=t;for(;i?@[]^_`{|}~-".split("").forEach((function(t){lo[t.charCodeAt(0)]=1}));const ho={tokenize:function(t,e){const n=t.pos,r=t.src.charCodeAt(n);if(e)return!1;if(126!==r)return!1;const s=t.scanDelims(t.pos,!0);let i=s.length;const o=String.fromCharCode(r);if(i<2)return!1;let a;i%2&&(a=t.push("text","",0),a.content=o,i--);for(let e=0;e=0;n--){const r=e[n];if(95!==r.marker&&42!==r.marker)continue;if(-1===r.end)continue;const s=e[r.end],i=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===s.token+1,o=String.fromCharCode(r.marker),a=t.tokens[r.token];a.type=i?"strong_open":"em_open",a.tag=i?"strong":"em",a.nesting=1,a.markup=i?o+o:o,a.content="";const c=t.tokens[s.token];c.type=i?"strong_close":"em_close",c.tag=i?"strong":"em",c.nesting=-1,c.markup=i?o+o:o,c.content="",i&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--)}}const po={tokenize:function(t,e){const n=t.pos,r=t.src.charCodeAt(n);if(e)return!1;if(95!==r&&42!==r)return!1;const s=t.scanDelims(t.pos,42===r);for(let e=0;e\x00-\x20]*)$/;const yo=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,bo=/^&([a-z][a-z0-9]{1,31});/i;function ko(t){const e={},n=t.length;if(!n)return;let r=0,s=-2;const i=[];for(let o=0;oa;c-=i[c]+1){const e=t[c];if(e.marker===n.marker&&(e.open&&e.end<0)){let r=!1;if((e.close||n.open)&&(e.length+n.length)%3==0&&(e.length%3==0&&n.length%3==0||(r=!0)),!r){const r=c>0&&!t[c-1].open?i[c-1]+1:0;i[o]=o-c+r,i[c]=r,n.open=!1,e.end=o,e.close=!1,l=-1,s=-2;break}}}-1!==l&&(e[n.marker][(n.open?3:0)+(n.length||0)%3]=l)}}const _o=[["text",function(t,e){let n=t.pos;for(;n0)return!1;const n=t.pos;if(n+3>t.posMax)return!1;if(58!==t.src.charCodeAt(n))return!1;if(47!==t.src.charCodeAt(n+1))return!1;if(47!==t.src.charCodeAt(n+2))return!1;const r=t.pending.match(co);if(!r)return!1;const s=r[1],i=t.md.linkify.matchAtStart(t.src.slice(n-s.length));if(!i)return!1;let o=i.url;if(o.length<=s.length)return!1;o=o.replace(/\*+$/,"");const a=t.md.normalizeLink(o);if(!t.md.validateLink(a))return!1;if(!e){t.pending=t.pending.slice(0,-s.length);const e=t.push("link_open","a",1);e.attrs=[["href",a]],e.markup="linkify",e.info="auto";t.push("text","",0).content=t.md.normalizeLinkText(o);const n=t.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return t.pos+=o.length-s.length,!0}],["newline",function(t,e){let n=t.pos;if(10!==t.src.charCodeAt(n))return!1;const r=t.pending.length-1,s=t.posMax;if(!e)if(r>=0&&32===t.pending.charCodeAt(r))if(r>=1&&32===t.pending.charCodeAt(r-1)){let e=r-1;for(;e>=1&&32===t.pending.charCodeAt(e-1);)e--;t.pending=t.pending.slice(0,e),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(n++;n=r)return!1;let s=t.src.charCodeAt(n);if(10===s){for(e||t.push("hardbreak","br",0),n++;n=55296&&s<=56319&&n+1=56320&&e<=57343&&(i+=t.src[n+1],n++)}const o="\\"+i;if(!e){const e=t.push("text_special","",0);s<256&&0!==lo[s]?e.content=i:e.content=o,e.markup=o,e.info="escape"}return t.pos=n+1,!0}],["backticks",function(t,e){let n=t.pos;if(96!==t.src.charCodeAt(n))return!1;const r=n;n++;const s=t.posMax;for(;n=h)return!1;if(c=p,s=t.md.helpers.parseLinkDestination(t.src,p,t.posMax),s.ok){for(o=t.md.normalizeLink(s.str),t.md.validateLink(o)?p=s.pos:o="",c=p;p=h||41!==t.src.charCodeAt(p))&&(l=!0),p++}if(l){if(void 0===t.env.references)return!1;if(p=0?r=t.src.slice(c,p++):p=d+1):p=d+1,r||(r=t.src.slice(f,d)),i=t.env.references[Ai(r)],!i)return t.pos=u,!1;o=i.href,a=i.title}if(!e){t.pos=f,t.posMax=d;const e=[["href",o]];t.push("link_open","a",1).attrs=e,a&&e.push(["title",a]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=p,t.posMax=h,!0}],["image",function(t,e){let n,r,s,i,o,a,c,l,u="";const h=t.pos,f=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;const d=t.pos+2,p=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(p<0)return!1;if(i=p+1,i=f)return!1;for(l=i,a=t.md.helpers.parseLinkDestination(t.src,i,t.posMax),a.ok&&(u=t.md.normalizeLink(a.str),t.md.validateLink(u)?i=a.pos:u=""),l=i;i=f||41!==t.src.charCodeAt(i))return t.pos=h,!1;i++}else{if(void 0===t.env.references)return!1;if(i=0?s=t.src.slice(l,i++):i=p+1):i=p+1,s||(s=t.src.slice(d,p)),o=t.env.references[Ai(s)],!o)return t.pos=h,!1;u=o.href,c=o.title}if(!e){r=t.src.slice(d,p);const e=[];t.md.inline.parse(r,t.md,t.env,e);const n=t.push("image","img",0),s=[["src",u],["alt",""]];n.attrs=s,n.children=e,n.content=r,c&&s.push(["title",c])}return t.pos=i,t.posMax=f,!0}],["autolink",function(t,e){let n=t.pos;if(60!==t.src.charCodeAt(n))return!1;const r=t.pos,s=t.posMax;for(;;){if(++n>=s)return!1;const e=t.src.charCodeAt(n);if(60===e)return!1;if(62===e)break}const i=t.src.slice(r+1,n);if(go.test(i)){const n=t.md.normalizeLink(i);if(!t.md.validateLink(n))return!1;if(!e){const e=t.push("link_open","a",1);e.attrs=[["href",n]],e.markup="autolink",e.info="auto";t.push("text","",0).content=t.md.normalizeLinkText(i);const r=t.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return t.pos+=i.length+2,!0}if(mo.test(i)){const n=t.md.normalizeLink("mailto:"+i);if(!t.md.validateLink(n))return!1;if(!e){const e=t.push("link_open","a",1);e.attrs=[["href",n]],e.markup="autolink",e.info="auto";t.push("text","",0).content=t.md.normalizeLinkText(i);const r=t.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return t.pos+=i.length+2,!0}return!1}],["html_inline",function(t,e){if(!t.md.options.html)return!1;const n=t.posMax,r=t.pos;if(60!==t.src.charCodeAt(r)||r+2>=n)return!1;const s=t.src.charCodeAt(r+1);if(33!==s&&63!==s&&47!==s&&!function(t){const e=32|t;return e>=97&&e<=122}(s))return!1;const i=t.src.slice(r).match(eo);if(!i)return!1;if(!e){const e=t.push("html_inline","",0);e.content=i[0],o=e.content,/^\s]/i.test(o)&&t.linkLevel++,function(t){return/^<\/a\s*>/i.test(t)}(e.content)&&t.linkLevel--}var o;return t.pos+=i[0].length,!0}],["entity",function(t,e){const n=t.pos,r=t.posMax;if(38!==t.src.charCodeAt(n))return!1;if(n+1>=r)return!1;if(35===t.src.charCodeAt(n+1)){const r=t.src.slice(n).match(yo);if(r){if(!e){const e="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=t.push("text_special","",0);n.content=ai(e)?ci(e):ci(65533),n.markup=r[0],n.info="entity"}return t.pos+=r[0].length,!0}}else{const r=t.src.slice(n).match(bo);if(r){const n=ni(r[0]);if(n!==r[0]){if(!e){const e=t.push("text_special","",0);e.content=n,e.markup=r[0],e.info="entity"}return t.pos+=r[0].length,!0}}}return!1}]],vo=[["balance_pairs",function(t){const e=t.tokens_meta,n=t.tokens_meta.length;ko(t.delimiters);for(let t=0;t0&&r++,"text"===s[e].type&&e+1=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;o||t.pos++,i[e]=t.pos},wo.prototype.tokenize=function(t){const e=this.ruler.getRules(""),n=e.length,r=t.posMax,s=t.md.options.maxNesting;for(;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}if(o){if(t.pos>=r)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},wo.prototype.parse=function(t,e,n,r){const s=new this.State(t,e,n,r);this.tokenize(s);const i=this.ruler2.getRules(""),o=i.length;for(let t=0;t=3&&":"===t[e-3]||e>=3&&"/"===t[e-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){const r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},To="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function No(t){const e=t.re=function(t){const e={};t=t||{},e.src_Any=Os.source,e.src_Cc=Bs.source,e.src_Z=Ps.source,e.src_P=$s.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");const n="[><|]";return e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}(t.__opts__),n=t.__tlds__.slice();function r(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(e.src_xn),e.src_tlds=n.join("|"),e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");const s=[];function i(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach((function(e){const n=t.__schemas__[e];if(null===n)return;const r={validate:null,link:null};if(t.__compiled__[e]=r,"[object Object]"===Eo(n))return!function(t){return"[object RegExp]"===Eo(t)}(n.validate)?xo(n.validate)?r.validate=n.validate:i(e,n):r.validate=function(t){return function(e,n){const r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}(n.validate),void(xo(n.normalize)?r.normalize=n.normalize:n.normalize?i(e,n):r.normalize=function(t,e){e.normalize(t)});!function(t){return"[object String]"===Eo(t)}(n)?i(e,n):s.push(e)})),s.forEach((function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)})),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};const o=Object.keys(t.__compiled__).filter((function(e){return e.length>0&&t.__compiled__[e]})).map(Co).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function Io(t,e){const n=t.__index__,r=t.__last_index__,s=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=s,this.text=s,this.url=s}function Fo(t,e){const n=new Io(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function Lo(t,e){if(!(this instanceof Lo))return new Lo(t,e);var n;e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||So.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=Ao({},So,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ao({},Do,t),this.__compiled__={},this.__tlds__=To,this.__tlds_replaced__=!1,this.re={},No(this)}Lo.prototype.add=function(t,e){return this.__schemas__[t]=e,No(this),this},Lo.prototype.set=function(t){return this.__opts__=Ao(this.__opts__,t),this},Lo.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let e,n,r,s,i,o,a,c,l;if(this.re.schema_test.test(t))for(a=this.re.schema_search,a.lastIndex=0;null!==(e=a.exec(t));)if(s=this.testSchemaAt(t,e[2],a.lastIndex),s){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+s;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&null!==(r=t.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,o=r.index+r[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=o))),this.__index__>=0},Lo.prototype.pretest=function(t){return this.re.pretest.test(t)},Lo.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},Lo.prototype.match=function(t){const e=[];let n=0;this.__index__>=0&&this.__text_cache__===t&&(e.push(Fo(this,n)),n=this.__last_index__);let r=n?t.slice(n):t;for(;this.test(r);)e.push(Fo(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return e.length?e:null},Lo.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const e=this.re.schema_at_start.exec(t);if(!e)return null;const n=this.testSchemaAt(t,e[2],e[0].length);return n?(this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+n,Fo(this,0)):null},Lo.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,e,n){return t!==n[e-1]})).reverse(),No(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,No(this),this)},Lo.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},Lo.prototype.onCompile=function(){};const qo=2147483647,Oo=36,Bo=/^xn--/,$o=/[^\0-\x7F]/,Mo=/[\x2E\u3002\uFF0E\uFF61]/g,Po={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},jo=Math.floor,Ro=String.fromCharCode;function Uo(t){throw new RangeError(Po[t])}function zo(t,e){const n=t.split("@");let r="";n.length>1&&(r=n[0]+"@",t=n[1]);const s=function(t,e){const n=[];let r=t.length;for(;r--;)n[r]=e(t[r]);return n}((t=t.replace(Mo,".")).split("."),e).join(".");return r+s}function Vo(t){const e=[];let n=0;const r=t.length;for(;n=55296&&s<=56319&&n>1,t+=jo(t/e);t>455;r+=Oo)t=jo(t/35);return jo(r+36*t/(t+38))},Go=function(t){const e=[],n=t.length;let r=0,s=128,i=72,o=t.lastIndexOf("-");o<0&&(o=0);for(let n=0;n=128&&Uo("not-basic"),e.push(t.charCodeAt(n));for(let c=o>0?o+1:0;c=n&&Uo("invalid-input");const o=(a=t.charCodeAt(c++))>=48&&a<58?a-48+26:a>=65&&a<91?a-65:a>=97&&a<123?a-97:Oo;o>=Oo&&Uo("invalid-input"),o>jo((qo-r)/e)&&Uo("overflow"),r+=o*e;const l=s<=i?1:s>=i+26?26:s-i;if(ojo(qo/u)&&Uo("overflow"),e*=u}const l=e.length+1;i=Ho(r-o,l,0==o),jo(r/l)>qo-s&&Uo("overflow"),s+=jo(r/l),r%=l,e.splice(r++,0,s)}var a;return String.fromCodePoint(...e)},Wo=function(t){const e=[],n=(t=Vo(t)).length;let r=128,s=0,i=72;for(const n of t)n<128&&e.push(Ro(n));const o=e.length;let a=o;for(o&&e.push("-");a=r&&ejo((qo-s)/c)&&Uo("overflow"),s+=(n-r)*c,r=n;for(const n of t)if(nqo&&Uo("overflow"),n===r){let t=s;for(let n=Oo;;n+=Oo){const r=n<=i?1:n>=i+26?26:n-i;if(t=0))try{e.hostname=Zo(e.hostname)}catch(t){}return ks(_s(e))}function ra(t){const e=Ls(t,!0);if(e.hostname&&(!e.protocol||ea.indexOf(e.protocol)>=0))try{e.hostname=Jo(e.hostname)}catch(t){}return ys(_s(e),ys.defaultChars+"%")}function sa(t,e){if(!(this instanceof sa))return new sa(t,e);e||ri(t)||(e=t||{},t="default"),this.inline=new wo,this.block=new io,this.core=new Gi,this.renderer=new Di,this.linkify=new Lo,this.validateLink=ta,this.normalizeLink=na,this.normalizeLinkText=ra,this.utils=xi,this.helpers=ii({},Ci),this.options={},this.configure(t),e&&this.set(e)}function ia(t){function e(t,e){let n;const r=[],s=e.length;for(let i=0;i?@[\]^_`{|}~-])/g;function ca(t,e){const n=t.posMax,r=t.pos;if(126!==t.src.charCodeAt(r))return!1;if(e)return!1;if(r+2>=n)return!1;t.pos=r+1;let s=!1;for(;t.pos?@[\]^_`{|}~-])/g;function ha(t,e){const n=t.posMax,r=t.pos;if(94!==t.src.charCodeAt(r))return!1;if(e)return!1;if(r+2>=n)return!1;t.pos=r+1;let s=!1;for(;t.pos\n'.trim(),x:'\n'.trim()},pa={name:"checkbox",transform:t=>(t.parser.tap((t=>{t.core.ruler.before("inline","checkbox",(t=>{for(let e=2;eda[e]?`${da[e]} `:t)))}}return!1}))})),{})},ma=Symbol.for("yaml.alias"),ga=Symbol.for("yaml.document"),ya=Symbol.for("yaml.map"),ba=Symbol.for("yaml.pair"),ka=Symbol.for("yaml.scalar"),_a=Symbol.for("yaml.seq"),va=Symbol.for("yaml.node.type"),wa=t=>!!t&&"object"==typeof t&&t[va]===ma,Aa=t=>!!t&&"object"==typeof t&&t[va]===ga,Ea=t=>!!t&&"object"==typeof t&&t[va]===ya,xa=t=>!!t&&"object"==typeof t&&t[va]===ba,Ca=t=>!!t&&"object"==typeof t&&t[va]===ka,Sa=t=>!!t&&"object"==typeof t&&t[va]===_a;function Da(t){if(t&&"object"==typeof t)switch(t[va]){case ya:case _a:return!0}return!1}function Ta(t){if(t&&"object"==typeof t)switch(t[va]){case ma:case ya:case ka:case _a:return!0}return!1}const Na=Symbol("break visit"),Ia=Symbol("skip children"),Fa=Symbol("remove node");function La(t,e){const n=function(t){if("object"==typeof t&&(t.Collection||t.Node||t.Value))return Object.assign({Alias:t.Node,Map:t.Node,Scalar:t.Node,Seq:t.Node},t.Value&&{Map:t.Value,Scalar:t.Value,Seq:t.Value},t.Collection&&{Map:t.Collection,Seq:t.Collection},t);return t}(e);if(Aa(t)){qa(null,t.contents,n,Object.freeze([t]))===Fa&&(t.contents=null)}else qa(null,t,n,Object.freeze([]))}function qa(t,e,n,r){const s=function(t,e,n,r){var s,i,o,a,c;return"function"==typeof n?n(t,e,r):Ea(e)?null==(s=n.Map)?void 0:s.call(n,t,e,r):Sa(e)?null==(i=n.Seq)?void 0:i.call(n,t,e,r):xa(e)?null==(o=n.Pair)?void 0:o.call(n,t,e,r):Ca(e)?null==(a=n.Scalar)?void 0:a.call(n,t,e,r):wa(e)?null==(c=n.Alias)?void 0:c.call(n,t,e,r):void 0}(t,e,n,r);if(Ta(s)||xa(s))return function(t,e,n){const r=e[e.length-1];if(Da(r))r.items[t]=n;else if(xa(r))"key"===t?r.key=n:r.value=n;else{if(!Aa(r)){const t=wa(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${t} parent`)}r.contents=n}}(t,r,s),qa(t,s,n,r);if("symbol"!=typeof s)if(Da(e)){r=Object.freeze(r.concat(e));for(let t=0;t"!==t[t.length-1]&&e("Verbatim tags must end with a >"),n)}const[,n,r]=t.match(/^(.*!)([^!]*)$/s);r||e(`The ${t} tag has no suffix`);const s=this.tags[n];if(s)try{return s+decodeURIComponent(r)}catch(t){return e(String(t)),null}return"!"===n?t:(e(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[e,n]of Object.entries(this.tags))if(t.startsWith(n))return e+t.substring(n.length).replace(/[!,[\]{}]/g,(t=>Oa[t]));return"!"===t[0]?t:`!<${t}>`}toString(t){const e=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let r;if(t&&n.length>0&&Ta(t.contents)){const e={};La(t.contents,((t,n)=>{Ta(n)&&n.tag&&(e[n.tag]=!0)})),r=Object.keys(e)}else r=[];for(const[s,i]of n)"!!"===s&&"tag:yaml.org,2002:"===i||t&&!r.some((t=>t.startsWith(i)))||e.push(`%TAG ${s} ${i}`);return e.join("\n")}}function $a(t){if(/[\x00-\x19\s,[\]{}]/.test(t)){const e=JSON.stringify(t);throw new Error(`Anchor must not contain whitespace or control characters: ${e}`)}return!0}function Ma(t){const e=new Set;return La(t,{Value(t,n){n.anchor&&e.add(n.anchor)}}),e}function Pa(t,e){for(let n=1;;++n){const r=`${t}${n}`;if(!e.has(r))return r}}function ja(t,e,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let e=0,n=r.length;eRa(t,String(e),n)));if(t&&"function"==typeof t.toJSON){if(!n||(!Ca(r=t)&&!Da(r)||!r.anchor))return t.toJSON(e,n);const s={aliasCount:0,count:1,res:void 0};n.anchors.set(t,s),n.onCreate=t=>{s.res=t,delete n.onCreate};const i=t.toJSON(e,n);return n.onCreate&&n.onCreate(i),i}var r;return"bigint"!=typeof t||(null==n?void 0:n.keep)?t:Number(t)}Ba.defaultYaml={explicit:!1,version:"1.2"},Ba.defaultTags={"!!":"tag:yaml.org,2002:"};class Ua{constructor(t){Object.defineProperty(this,va,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:e,maxAliasCount:n,onAnchor:r,reviver:s}={}){if(!Aa(t))throw new TypeError("A document argument is required");const i={anchors:new Map,doc:t,keep:!0,mapAsMap:!0===e,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},o=Ra(this,"",i);if("function"==typeof r)for(const{count:t,res:e}of i.anchors.values())r(e,t);return"function"==typeof s?ja(s,{"":o},"",o):o}}class za extends Ua{constructor(t){super(ma),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let e;return La(t,{Node:(t,n)=>{if(n===this)return La.BREAK;n.anchor===this.source&&(e=n)}}),e}toJSON(t,e){if(!e)return{source:this.source};const{anchors:n,doc:r,maxAliasCount:s}=e,i=this.resolve(r);if(!i){const t=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(t)}let o=n.get(i);if(o||(Ra(i,null,e),o=n.get(i)),!o||void 0===o.res){throw new ReferenceError("This should not happen: Alias anchor was not resolved?")}if(s>=0&&(o.count+=1,0===o.aliasCount&&(o.aliasCount=Va(r,i,n)),o.count*o.aliasCount>s)){throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return o.res}toString(t,e,n){const r=`*${this.source}`;if(t){if($a(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const t=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(t)}if(t.implicitKey)return`${r} `}return r}}function Va(t,e,n){if(wa(e)){const r=e.resolve(t),s=n&&r&&n.get(r);return s?s.count*s.aliasCount:0}if(Da(e)){let r=0;for(const s of e.items){const e=Va(t,s,n);e>r&&(r=e)}return r}if(xa(e)){const r=Va(t,e.key,n),s=Va(t,e.value,n);return Math.max(r,s)}return 1}const Ka=t=>!t||"function"!=typeof t&&"object"!=typeof t;class Ha extends Ua{constructor(t){super(ka),this.value=t}toJSON(t,e){return(null==e?void 0:e.keep)?this.value:Ra(this.value,t,e)}toString(){return String(this.value)}}Ha.BLOCK_FOLDED="BLOCK_FOLDED",Ha.BLOCK_LITERAL="BLOCK_LITERAL",Ha.PLAIN="PLAIN",Ha.QUOTE_DOUBLE="QUOTE_DOUBLE",Ha.QUOTE_SINGLE="QUOTE_SINGLE";function Ga(t,e,n){var r,s,i;if(Aa(t)&&(t=t.contents),Ta(t))return t;if(xa(t)){const e=null==(s=(r=n.schema[ya]).createNode)?void 0:s.call(r,n.schema,null,n);return e.items.push(t),e}(t instanceof String||t instanceof Number||t instanceof Boolean||"undefined"!=typeof BigInt&&t instanceof BigInt)&&(t=t.valueOf());const{aliasDuplicateObjects:o,onAnchor:a,onTagObj:c,schema:l,sourceObjects:u}=n;let h;if(o&&t&&"object"==typeof t){if(h=u.get(t),h)return h.anchor||(h.anchor=a(t)),new za(h.anchor);h={anchor:null,node:null},u.set(t,h)}(null==e?void 0:e.startsWith("!!"))&&(e="tag:yaml.org,2002:"+e.slice(2));let f=function(t,e,n){if(e){const t=n.filter((t=>t.tag===e)),r=t.find((t=>!t.format))??t[0];if(!r)throw new Error(`Tag ${e} not found`);return r}return n.find((e=>{var n;return(null==(n=e.identify)?void 0:n.call(e,t))&&!e.format}))}(t,e,l.tags);if(!f){if(t&&"function"==typeof t.toJSON&&(t=t.toJSON()),!t||"object"!=typeof t){const e=new Ha(t);return h&&(h.node=e),e}f=t instanceof Map?l[ya]:Symbol.iterator in Object(t)?l[_a]:l[ya]}c&&(c(f),delete n.onTagObj);const d=(null==f?void 0:f.createNode)?f.createNode(n.schema,t,n):"function"==typeof(null==(i=null==f?void 0:f.nodeClass)?void 0:i.from)?f.nodeClass.from(n.schema,t,n):new Ha(t);return e?d.tag=e:f.default||(d.tag=f.tag),h&&(h.node=d),d}function Wa(t,e,n){let r=n;for(let t=e.length-1;t>=0;--t){const n=e[t];if("number"==typeof n&&Number.isInteger(n)&&n>=0){const t=[];t[n]=r,r=t}else r=new Map([[n,r]])}return Ga(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:t,sourceObjects:new Map})}const Za=t=>null==t||"object"==typeof t&&!!t[Symbol.iterator]().next().done;class Ja extends Ua{constructor(t,e){super(t),Object.defineProperty(this,"schema",{value:e,configurable:!0,enumerable:!1,writable:!0})}clone(t){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(e.schema=t),e.items=e.items.map((e=>Ta(e)||xa(e)?e.clone(t):e)),this.range&&(e.range=this.range.slice()),e}addIn(t,e){if(Za(t))this.add(e);else{const[n,...r]=t,s=this.get(n,!0);if(Da(s))s.addIn(r,e);else{if(void 0!==s||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Wa(this.schema,r,e))}}}deleteIn(t){const[e,...n]=t;if(0===n.length)return this.delete(e);const r=this.get(e,!0);if(Da(r))return r.deleteIn(n);throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`)}getIn(t,e){const[n,...r]=t,s=this.get(n,!0);return 0===r.length?!e&&Ca(s)?s.value:s:Da(s)?s.getIn(r,e):void 0}hasAllNullValues(t){return this.items.every((e=>{if(!xa(e))return!1;const n=e.value;return null==n||t&&Ca(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(t){const[e,...n]=t;if(0===n.length)return this.has(e);const r=this.get(e,!0);return!!Da(r)&&r.hasIn(n)}setIn(t,e){const[n,...r]=t;if(0===r.length)this.set(n,e);else{const t=this.get(n,!0);if(Da(t))t.setIn(r,e);else{if(void 0!==t||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Wa(this.schema,r,e))}}}}const Xa=t=>t.replace(/^(?!$)(?: $)?/gm,"#");function Qa(t,e){return/^\n+$/.test(t)?t.substring(1):e?t.replace(/^(?! *$)/gm,e):t}const Ya=(t,e,n)=>t.endsWith("\n")?Qa(n,e):n.includes("\n")?"\n"+Qa(n,e):(t.endsWith(" ")?"":" ")+n,tc="flow",ec="block",nc="quoted";function rc(t,e,n="flow",{indentAtStart:r,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}={}){if(!s||s<0)return t;ss-Math.max(2,i)?l.push(0):d=s-r);let p=!1,m=-1,g=-1,y=-1;n===ec&&(m=sc(t,m,e.length),-1!==m&&(d=m+c));for(let r;r=t[m+=1];){if(n===nc&&"\\"===r){switch(g=m,t[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}y=m}if("\n"===r)n===ec&&(m=sc(t,m,e.length)),d=m+e.length+c,h=void 0;else{if(" "===r&&f&&" "!==f&&"\n"!==f&&"\t"!==f){const e=t[m+1];e&&" "!==e&&"\n"!==e&&"\t"!==e&&(h=m)}if(m>=d)if(h)l.push(h),d=h+c,h=void 0;else if(n===nc){for(;" "===f||"\t"===f;)f=r,r=t[m+=1],p=!0;const e=m>y+1?m-2:g-1;if(u[e])return t;l.push(e),u[e]=!0,d=e+c,h=void 0}else p=!0}f=r}if(p&&a&&a(),0===l.length)return t;o&&o();let b=t.slice(0,l[0]);for(let r=0;r({indentAtStart:e?t.indent.length:t.indentAtStart,lineWidth:t.options.lineWidth,minContentWidth:t.options.minContentWidth}),oc=t=>/^(%|---|\.\.\.)/m.test(t);function ac(t,e){const n=JSON.stringify(t);if(e.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=e,s=e.options.doubleQuotedMinMultiLineLength,i=e.indent||(oc(t)?" ":"");let o="",a=0;for(let t=0,e=n[t];e;e=n[++t])if(" "===e&&"\\"===n[t+1]&&"n"===n[t+2]&&(o+=n.slice(a,t)+"\\ ",t+=1,a=t,e="\\"),"\\"===e)switch(n[t+1]){case"u":{o+=n.slice(a,t);const e=n.substr(t+2,4);switch(e){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:"00"===e.substr(0,2)?o+="\\x"+e.substr(2):o+=n.substr(t,6)}t+=5,a=t+1}break;case"n":if(r||'"'===n[t+2]||n.lengthr)return!0;if(n=e+1,s-n<=r)return!1}return!0}(n,c,l.length));if(!n)return u?"|\n":">\n";let h,f;for(f=n.length;f>0;--f){const t=n[f-1];if("\n"!==t&&"\t"!==t&&" "!==t)break}let d=n.substring(f);const p=d.indexOf("\n");-1===p?h="-":n===d||p!==d.length-1?(h="+",i&&i()):h="",d&&(n=n.slice(0,-d.length),"\n"===d[d.length-1]&&(d=d.slice(0,-1)),d=d.replace(uc,`$&${l}`));let m,g=!1,y=-1;for(m=0;m{s=!0});const a=rc(`${b}${t}${d}`,l,ec,i);if(!s)return`>${k}\n${l}${a}`}return`|${k}\n${l}${b}${n=n.replace(/\n+/g,`$&${l}`)}${d}`}function fc(t,e,n,r){const{implicitKey:s,inFlow:i}=e,o="string"==typeof t.value?t:Object.assign({},t,{value:String(t.value)});let{type:a}=t;a!==Ha.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=Ha.QUOTE_DOUBLE);const c=t=>{switch(t){case Ha.BLOCK_FOLDED:case Ha.BLOCK_LITERAL:return s||i?lc(o.value,e):hc(o,e,n,r);case Ha.QUOTE_DOUBLE:return ac(o.value,e);case Ha.QUOTE_SINGLE:return cc(o.value,e);case Ha.PLAIN:return function(t,e,n,r){const{type:s,value:i}=t,{actualString:o,implicitKey:a,indent:c,indentStep:l,inFlow:u}=e;if(a&&i.includes("\n")||u&&/[[\]{},]/.test(i))return lc(i,e);if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return a||u||!i.includes("\n")?lc(i,e):hc(t,e,n,r);if(!a&&!u&&s!==Ha.PLAIN&&i.includes("\n"))return hc(t,e,n,r);if(oc(i)){if(""===c)return e.forceBlockIndent=!0,hc(t,e,n,r);if(a&&c===l)return lc(i,e)}const h=i.replace(/\n+/g,`$&\n${c}`);if(o){const t=t=>{var e;return t.default&&"tag:yaml.org,2002:str"!==t.tag&&(null==(e=t.test)?void 0:e.test(h))},{compat:n,tags:r}=e.doc.schema;if(r.some(t)||(null==n?void 0:n.some(t)))return lc(i,e)}return a?h:rc(h,c,tc,ic(e,!1))}(o,e,n,r);default:return null}};let l=c(a);if(null===l){const{defaultKeyType:t,defaultStringType:n}=e.options,r=s&&t||n;if(l=c(r),null===l)throw new Error(`Unsupported default string type ${r}`)}return l}function dc(t,e){const n=Object.assign({blockQuote:!0,commentString:Xa,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},t.schema.toStringOptions,e);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:t,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,options:n}}function pc(t,e,n,r){var s;if(xa(t))return t.toString(e,n,r);if(wa(t)){if(e.doc.directives)return t.toString(e);if(null==(s=e.resolvedAliases)?void 0:s.has(t))throw new TypeError("Cannot stringify circular structure without alias nodes");e.resolvedAliases?e.resolvedAliases.add(t):e.resolvedAliases=new Set([t]),t=t.resolve(e.doc)}let i;const o=Ta(t)?t:e.doc.createNode(t,{onTagObj:t=>i=t});i||(i=function(t,e){var n;if(e.tag){const n=t.filter((t=>t.tag===e.tag));if(n.length>0)return n.find((t=>t.format===e.format))??n[0]}let r,s;if(Ca(e)){s=e.value;let n=t.filter((t=>{var e;return null==(e=t.identify)?void 0:e.call(t,s)}));if(n.length>1){const t=n.filter((t=>t.test));t.length>0&&(n=t)}r=n.find((t=>t.format===e.format))??n.find((t=>!t.format))}else s=e,r=t.find((t=>t.nodeClass&&s instanceof t.nodeClass));if(!r){const t=(null==(n=null==s?void 0:s.constructor)?void 0:n.name)??typeof s;throw new Error(`Tag not resolved for ${t} value`)}return r}(e.doc.schema.tags,o));const a=function(t,e,{anchors:n,doc:r}){if(!r.directives)return"";const s=[],i=(Ca(t)||Da(t))&&t.anchor;i&&$a(i)&&(n.add(i),s.push(`&${i}`));const o=t.tag?t.tag:e.default?null:e.tag;return o&&s.push(r.directives.tagString(o)),s.join(" ")}(o,i,e);a.length>0&&(e.indentAtStart=(e.indentAtStart??0)+a.length+1);const c="function"==typeof i.stringify?i.stringify(o,e,n,r):Ca(o)?fc(o,e,n,r):o.toString(e,n,r);return a?Ca(o)||"{"===c[0]||"["===c[0]?`${a} ${c}`:`${a}\n${e.indent}${c}`:c}function mc(t,e){"debug"!==t&&"warn"!==t||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(e):console.warn(e))}const gc="<<",yc={identify:t=>t===gc||"symbol"==typeof t&&t.description===gc,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new Ha(Symbol(gc)),{addToJSMap:bc}),stringify:()=>gc};function bc(t,e,n){if(n=t&&wa(n)?n.resolve(t.doc):n,Sa(n))for(const r of n.items)kc(t,e,r);else if(Array.isArray(n))for(const r of n)kc(t,e,r);else kc(t,e,n)}function kc(t,e,n){const r=t&&wa(n)?n.resolve(t.doc):n;if(!Ea(r))throw new Error("Merge sources must be maps or map aliases");const s=r.toJSON(null,t,Map);for(const[t,n]of s)e instanceof Map?e.has(t)||e.set(t,n):e instanceof Set?e.add(t):Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0});return e}function _c(t,e,{key:n,value:r}){if(Ta(n)&&n.addToJSMap)n.addToJSMap(t,e,r);else if(((t,e)=>(yc.identify(e)||Ca(e)&&(!e.type||e.type===Ha.PLAIN)&&yc.identify(e.value))&&(null==t?void 0:t.doc.schema.tags.some((t=>t.tag===yc.tag&&t.default))))(t,n))bc(t,e,r);else{const s=Ra(n,"",t);if(e instanceof Map)e.set(s,Ra(r,s,t));else if(e instanceof Set)e.add(s);else{const i=function(t,e,n){if(null===e)return"";if("object"!=typeof e)return String(e);if(Ta(t)&&(null==n?void 0:n.doc)){const e=dc(n.doc,{});e.anchors=new Set;for(const t of n.anchors.keys())e.anchors.add(t.anchor);e.inFlow=!0,e.inStringifyKey=!0;const r=t.toString(e);if(!n.mapKeyWarned){let t=JSON.stringify(r);t.length>40&&(t=t.substring(0,36)+'..."'),mc(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${t}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(e)}(n,s,t),o=Ra(r,i,t);i in e?Object.defineProperty(e,i,{value:o,writable:!0,enumerable:!0,configurable:!0}):e[i]=o}}return e}function vc(t,e,n){const r=Ga(t,void 0,n),s=Ga(e,void 0,n);return new wc(r,s)}class wc{constructor(t,e=null){Object.defineProperty(this,va,{value:ba}),this.key=t,this.value=e}clone(t){let{key:e,value:n}=this;return Ta(e)&&(e=e.clone(t)),Ta(n)&&(n=n.clone(t)),new wc(e,n)}toJSON(t,e){return _c(e,(null==e?void 0:e.mapAsMap)?new Map:{},this)}toString(t,e,n){return(null==t?void 0:t.doc)?function({key:t,value:e},n,r,s){const{allNullValues:i,doc:o,indent:a,indentStep:c,options:{commentString:l,indentSeq:u,simpleKeys:h}}=n;let f=Ta(t)&&t.comment||null;if(h){if(f)throw new Error("With simple keys, key nodes cannot have comments");if(Da(t)||!Ta(t)&&"object"==typeof t)throw new Error("With simple keys, collection cannot be used as a key value")}let d=!h&&(!t||f&&null==e&&!n.inFlow||Da(t)||(Ca(t)?t.type===Ha.BLOCK_FOLDED||t.type===Ha.BLOCK_LITERAL:"object"==typeof t));n=Object.assign({},n,{allNullValues:!1,implicitKey:!d&&(h||!i),indent:a+c});let p,m,g,y=!1,b=!1,k=pc(t,n,(()=>y=!0),(()=>b=!0));if(!d&&!n.inFlow&&k.length>1024){if(h)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");d=!0}if(n.inFlow){if(i||null==e)return y&&r&&r(),""===k?"?":d?`? ${k}`:k}else if(i&&!h||null==e&&d)return k=`? ${k}`,f&&!y?k+=Ya(k,n.indent,l(f)):b&&s&&s(),k;y&&(f=null),d?(f&&(k+=Ya(k,n.indent,l(f))),k=`? ${k}\n${a}:`):(k=`${k}:`,f&&(k+=Ya(k,n.indent,l(f)))),Ta(e)?(p=!!e.spaceBefore,m=e.commentBefore,g=e.comment):(p=!1,m=null,g=null,e&&"object"==typeof e&&(e=o.createNode(e))),n.implicitKey=!1,d||f||!Ca(e)||(n.indentAtStart=k.length+1),b=!1,u||!(c.length>=2)||n.inFlow||d||!Sa(e)||e.flow||e.tag||e.anchor||(n.indent=n.indent.substring(2));let _=!1;const v=pc(e,n,(()=>_=!0),(()=>b=!0));let w=" ";if(f||p||m)w=p?"\n":"",m&&(w+=`\n${Qa(l(m),n.indent)}`),""!==v||n.inFlow?w+=`\n${n.indent}`:"\n"===w&&(w="\n\n");else if(!d&&Da(e)){const t=v[0],r=v.indexOf("\n"),s=-1!==r,i=n.inFlow??e.flow??0===e.items.length;if(s||!i){let e=!1;if(s&&("&"===t||"!"===t)){let n=v.indexOf(" ");"&"===t&&-1!==n&&no=null),(()=>h=!0));o&&(a+=Ya(a,i,l(o))),h&&o&&(h=!1),f.push(r+a)}let d;if(0===f.length)d=s.start+s.end;else{d=f[0];for(let t=1;ti=null));nu||o.includes("\n"))&&(l=!0),h.push(o),u=h.length}const{start:f,end:d}=n;if(0===h.length)return f+d;if(!l){const t=h.reduce(((t,e)=>t+e.length+2),2);l=e.options.lineWidth>0&&t>e.options.lineWidth}if(l){let t=f;for(const e of h)t+=e?`\n${i}${s}${e}`:"\n";return`${t}\n${s}${d}`}return`${f}${o}${h.join(" ")}${o}${d}`}function Cc({indent:t,options:{commentString:e}},n,r,s){if(r&&s&&(r=r.replace(/^\n+/,"")),r){const s=Qa(e(r),t);n.push(s.trimStart())}}function Sc(t,e){const n=Ca(e)?e.value:e;for(const r of t)if(xa(r)){if(r.key===e||r.key===n)return r;if(Ca(r.key)&&r.key.value===n)return r}}class Dc extends Ja{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(ya,t),this.items=[]}static from(t,e,n){const{keepUndefined:r,replacer:s}=n,i=new this(t),o=(t,o)=>{if("function"==typeof s)o=s.call(e,t,o);else if(Array.isArray(s)&&!s.includes(t))return;(void 0!==o||r)&&i.items.push(vc(t,o,n))};if(e instanceof Map)for(const[t,n]of e)o(t,n);else if(e&&"object"==typeof e)for(const t of Object.keys(e))o(t,e[t]);return"function"==typeof t.sortMapEntries&&i.items.sort(t.sortMapEntries),i}add(t,e){var n;let r;r=xa(t)?t:t&&"object"==typeof t&&"key"in t?new wc(t.key,t.value):new wc(t,null==t?void 0:t.value);const s=Sc(this.items,r.key),i=null==(n=this.schema)?void 0:n.sortMapEntries;if(s){if(!e)throw new Error(`Key ${r.key} already set`);Ca(s.value)&&Ka(r.value)?s.value.value=r.value:s.value=r.value}else if(i){const t=this.items.findIndex((t=>i(r,t)<0));-1===t?this.items.push(r):this.items.splice(t,0,r)}else this.items.push(r)}delete(t){const e=Sc(this.items,t);if(!e)return!1;return this.items.splice(this.items.indexOf(e),1).length>0}get(t,e){const n=Sc(this.items,t),r=null==n?void 0:n.value;return(!e&&Ca(r)?r.value:r)??void 0}has(t){return!!Sc(this.items,t)}set(t,e){this.add(new wc(t,e),!0)}toJSON(t,e,n){const r=n?new n:(null==e?void 0:e.mapAsMap)?new Map:{};(null==e?void 0:e.onCreate)&&e.onCreate(r);for(const t of this.items)_c(e,r,t);return r}toString(t,e,n){if(!t)return JSON.stringify(this);for(const t of this.items)if(!xa(t))throw new Error(`Map items must all be pairs; found ${JSON.stringify(t)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),Ac(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:n,onComment:e})}}const Tc={collection:"map",default:!0,nodeClass:Dc,tag:"tag:yaml.org,2002:map",resolve:(t,e)=>(Ea(t)||e("Expected a mapping for this tag"),t),createNode:(t,e,n)=>Dc.from(t,e,n)};class Nc extends Ja{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(_a,t),this.items=[]}add(t){this.items.push(t)}delete(t){const e=Ic(t);if("number"!=typeof e)return!1;return this.items.splice(e,1).length>0}get(t,e){const n=Ic(t);if("number"!=typeof n)return;const r=this.items[n];return!e&&Ca(r)?r.value:r}has(t){const e=Ic(t);return"number"==typeof e&&e=0?e:null}const Fc={collection:"seq",default:!0,nodeClass:Nc,tag:"tag:yaml.org,2002:seq",resolve:(t,e)=>(Sa(t)||e("Expected a sequence for this tag"),t),createNode:(t,e,n)=>Nc.from(t,e,n)},Lc={identify:t=>"string"==typeof t,default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify:(t,e,n,r)=>fc(t,e=Object.assign({actualString:!0},e),n,r)},qc={identify:t=>null==t,createNode:()=>new Ha(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Ha(null),stringify:({source:t},e)=>"string"==typeof t&&qc.test.test(t)?t:e.options.nullStr},Oc={identify:t=>"boolean"==typeof t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>new Ha("t"===t[0]||"T"===t[0]),stringify({source:t,value:e},n){if(t&&Oc.test.test(t)){if(e===("t"===t[0]||"T"===t[0]))return t}return e?n.options.trueStr:n.options.falseStr}};function Bc({format:t,minFractionDigits:e,tag:n,value:r}){if("bigint"==typeof r)return String(r);const s="number"==typeof r?r:Number(r);if(!isFinite(s))return isNaN(s)?".nan":s<0?"-.inf":".inf";let i=JSON.stringify(r);if(!t&&e&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(i)){let t=i.indexOf(".");t<0&&(t=i.length,i+=".");let n=e-(i.length-t-1);for(;n-- >0;)i+="0"}return i}const $c={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:t=>"nan"===t.slice(-3).toLowerCase()?NaN:"-"===t[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Bc},Mc={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify(t){const e=Number(t.value);return isFinite(e)?e.toExponential():Bc(t)}},Pc={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(t){const e=new Ha(parseFloat(t)),n=t.indexOf(".");return-1!==n&&"0"===t[t.length-1]&&(e.minFractionDigits=t.length-n-1),e},stringify:Bc},jc=t=>"bigint"==typeof t||Number.isInteger(t),Rc=(t,e,n,{intAsBigInt:r})=>r?BigInt(t):parseInt(t.substring(e),n);function Uc(t,e,n){const{value:r}=t;return jc(r)&&r>=0?n+r.toString(e):Bc(t)}const zc={identify:t=>jc(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(t,e,n)=>Rc(t,2,8,n),stringify:t=>Uc(t,8,"0o")},Vc={identify:jc,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(t,e,n)=>Rc(t,0,10,n),stringify:Bc},Kc={identify:t=>jc(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(t,e,n)=>Rc(t,2,16,n),stringify:t=>Uc(t,16,"0x")},Hc=[Tc,Fc,Lc,qc,Oc,zc,Vc,Kc,$c,Mc,Pc];function Gc(t){return"bigint"==typeof t||Number.isInteger(t)}const Wc=({value:t})=>JSON.stringify(t),Zc=[Tc,Fc].concat([{identify:t=>"string"==typeof t,default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify:Wc},{identify:t=>null==t,createNode:()=>new Ha(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Wc},{identify:t=>"boolean"==typeof t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:t=>"true"===t,stringify:Wc},{identify:Gc,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(t,e,{intAsBigInt:n})=>n?BigInt(t):parseInt(t,10),stringify:({value:t})=>Gc(t)?t.toString():JSON.stringify(t)},{identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:Wc}],{default:!0,tag:"",test:/^/,resolve:(t,e)=>(e(`Unresolved plain scalar ${JSON.stringify(t)}`),t)}),Jc={identify:t=>t instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(t,e){if("function"==typeof Buffer)return Buffer.from(t,"base64");if("function"==typeof atob){const e=atob(t.replace(/[\n\r]/g,"")),n=new Uint8Array(e.length);for(let t=0;t1&&e("Each pair must have its own sequence indicator");const t=r.items[0]||new wc(new Ha(null));if(r.commentBefore&&(t.key.commentBefore=t.key.commentBefore?`${r.commentBefore}\n${t.key.commentBefore}`:r.commentBefore),r.comment){const e=t.value??t.key;e.comment=e.comment?`${r.comment}\n${e.comment}`:r.comment}r=t}t.items[n]=xa(r)?r:new wc(r)}}else e("Expected a sequence for this tag");return t}function Qc(t,e,n){const{replacer:r}=n,s=new Nc(t);s.tag="tag:yaml.org,2002:pairs";let i=0;if(e&&Symbol.iterator in Object(e))for(let t of e){let o,a;if("function"==typeof r&&(t=r.call(e,String(i++),t)),Array.isArray(t)){if(2!==t.length)throw new TypeError(`Expected [key, value] tuple: ${t}`);o=t[0],a=t[1]}else if(t&&t instanceof Object){const e=Object.keys(t);if(1!==e.length)throw new TypeError(`Expected tuple with one key, not ${e.length} keys`);o=e[0],a=t[o]}else o=t;s.items.push(vc(o,a,n))}return s}const Yc={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Xc,createNode:Qc};class tl extends Nc{constructor(){super(),this.add=Dc.prototype.add.bind(this),this.delete=Dc.prototype.delete.bind(this),this.get=Dc.prototype.get.bind(this),this.has=Dc.prototype.has.bind(this),this.set=Dc.prototype.set.bind(this),this.tag=tl.tag}toJSON(t,e){if(!e)return super.toJSON(t);const n=new Map;(null==e?void 0:e.onCreate)&&e.onCreate(n);for(const t of this.items){let r,s;if(xa(t)?(r=Ra(t.key,"",e),s=Ra(t.value,r,e)):r=Ra(t,"",e),n.has(r))throw new Error("Ordered maps must not include duplicate keys");n.set(r,s)}return n}static from(t,e,n){const r=Qc(t,e,n),s=new this;return s.items=r.items,s}}tl.tag="tag:yaml.org,2002:omap";const el={collection:"seq",identify:t=>t instanceof Map,nodeClass:tl,default:!1,tag:"tag:yaml.org,2002:omap",resolve(t,e){const n=Xc(t,e),r=[];for(const{key:t}of n.items)Ca(t)&&(r.includes(t.value)?e(`Ordered maps must not include duplicate keys: ${t.value}`):r.push(t.value));return Object.assign(new tl,n)},createNode:(t,e,n)=>tl.from(t,e,n)};function nl({value:t,source:e},n){return e&&(t?rl:sl).test.test(e)?e:t?n.options.trueStr:n.options.falseStr}const rl={identify:t=>!0===t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Ha(!0),stringify:nl},sl={identify:t=>!1===t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Ha(!1),stringify:nl},il={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:t=>"nan"===t.slice(-3).toLowerCase()?NaN:"-"===t[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Bc},ol={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify(t){const e=Number(t.value);return isFinite(e)?e.toExponential():Bc(t)}},al={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(t){const e=new Ha(parseFloat(t.replace(/_/g,""))),n=t.indexOf(".");if(-1!==n){const r=t.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(e.minFractionDigits=r.length)}return e},stringify:Bc},cl=t=>"bigint"==typeof t||Number.isInteger(t);function ll(t,e,n,{intAsBigInt:r}){const s=t[0];if("-"!==s&&"+"!==s||(e+=1),t=t.substring(e).replace(/_/g,""),r){switch(n){case 2:t=`0b${t}`;break;case 8:t=`0o${t}`;break;case 16:t=`0x${t}`}const e=BigInt(t);return"-"===s?BigInt(-1)*e:e}const i=parseInt(t,n);return"-"===s?-1*i:i}function ul(t,e,n){const{value:r}=t;if(cl(r)){const t=r.toString(e);return r<0?"-"+n+t.substr(1):n+t}return Bc(t)}const hl={identify:cl,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(t,e,n)=>ll(t,2,2,n),stringify:t=>ul(t,2,"0b")},fl={identify:cl,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(t,e,n)=>ll(t,1,8,n),stringify:t=>ul(t,8,"0")},dl={identify:cl,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(t,e,n)=>ll(t,0,10,n),stringify:Bc},pl={identify:cl,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(t,e,n)=>ll(t,2,16,n),stringify:t=>ul(t,16,"0x")};class ml extends Dc{constructor(t){super(t),this.tag=ml.tag}add(t){let e;e=xa(t)?t:t&&"object"==typeof t&&"key"in t&&"value"in t&&null===t.value?new wc(t.key,null):new wc(t,null);Sc(this.items,e.key)||this.items.push(e)}get(t,e){const n=Sc(this.items,t);return!e&&xa(n)?Ca(n.key)?n.key.value:n.key:n}set(t,e){if("boolean"!=typeof e)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof e);const n=Sc(this.items,t);n&&!e?this.items.splice(this.items.indexOf(n),1):!n&&e&&this.items.push(new wc(t))}toJSON(t,e){return super.toJSON(t,e,Set)}toString(t,e,n){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),e,n);throw new Error("Set items must all have null values")}static from(t,e,n){const{replacer:r}=n,s=new this(t);if(e&&Symbol.iterator in Object(e))for(let t of e)"function"==typeof r&&(t=r.call(e,t,t)),s.items.push(vc(t,null,n));return s}}ml.tag="tag:yaml.org,2002:set";const gl={collection:"map",identify:t=>t instanceof Set,nodeClass:ml,default:!1,tag:"tag:yaml.org,2002:set",createNode:(t,e,n)=>ml.from(t,e,n),resolve(t,e){if(Ea(t)){if(t.hasAllNullValues(!0))return Object.assign(new ml,t);e("Set items must all have null values")}else e("Expected a mapping for this tag");return t}};function yl(t,e){const n=t[0],r="-"===n||"+"===n?t.substring(1):t,s=t=>e?BigInt(t):Number(t),i=r.replace(/_/g,"").split(":").reduce(((t,e)=>t*s(60)+s(e)),s(0));return"-"===n?s(-1)*i:i}function bl(t){let{value:e}=t,n=t=>t;if("bigint"==typeof e)n=t=>BigInt(t);else if(isNaN(e)||!isFinite(e))return Bc(t);let r="";e<0&&(r="-",e*=n(-1));const s=n(60),i=[e%s];return e<60?i.unshift(0):(e=(e-i[0])/s,i.unshift(e%s),e>=60&&(e=(e-i[0])/s,i.unshift(e))),r+i.map((t=>String(t).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const kl={identify:t=>"bigint"==typeof t||Number.isInteger(t),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(t,e,{intAsBigInt:n})=>yl(t,n),stringify:bl},_l={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:t=>yl(t,!1),stringify:bl},vl={identify:t=>t instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(t){const e=t.match(vl.test);if(!e)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,s,i,o,a]=e.map(Number),c=e[7]?Number((e[7]+"00").substr(1,3)):0;let l=Date.UTC(n,r-1,s,i||0,o||0,a||0,c);const u=e[8];if(u&&"Z"!==u){let t=yl(u,!1);Math.abs(t)<30&&(t*=60),l-=6e4*t}return new Date(l)},stringify:({value:t})=>t.toISOString().replace(/(T00:00:00)?\.000Z$/,"")},wl=[Tc,Fc,Lc,qc,rl,sl,hl,fl,dl,pl,il,ol,al,Jc,yc,el,Yc,gl,kl,_l,vl],Al=new Map([["core",Hc],["failsafe",[Tc,Fc,Lc]],["json",Zc],["yaml11",wl],["yaml-1.1",wl]]),El={binary:Jc,bool:Oc,float:Pc,floatExp:Mc,floatNaN:$c,floatTime:_l,int:Vc,intHex:Kc,intOct:zc,intTime:kl,map:Tc,merge:yc,null:qc,omap:el,pairs:Yc,seq:Fc,set:gl,timestamp:vl},xl={"tag:yaml.org,2002:binary":Jc,"tag:yaml.org,2002:merge":yc,"tag:yaml.org,2002:omap":el,"tag:yaml.org,2002:pairs":Yc,"tag:yaml.org,2002:set":gl,"tag:yaml.org,2002:timestamp":vl};function Cl(t,e,n){const r=Al.get(e);if(r&&!t)return n&&!r.includes(yc)?r.concat(yc):r.slice();let s=r;if(!s){if(!Array.isArray(t)){const t=Array.from(Al.keys()).filter((t=>"yaml11"!==t)).map((t=>JSON.stringify(t))).join(", ");throw new Error(`Unknown schema "${e}"; use one of ${t} or define customTags array`)}s=[]}if(Array.isArray(t))for(const e of t)s=s.concat(e);else"function"==typeof t&&(s=t(s.slice()));return n&&(s=s.concat(yc)),s.reduce(((t,e)=>{const n="string"==typeof e?El[e]:e;if(!n){const t=JSON.stringify(e),n=Object.keys(El).map((t=>JSON.stringify(t))).join(", ");throw new Error(`Unknown custom tag ${t}; use one of ${n}`)}return t.includes(n)||t.push(n),t}),[])}const Sl=(t,e)=>t.keye.key?1:0;class Dl{constructor({compat:t,customTags:e,merge:n,resolveKnownTags:r,schema:s,sortMapEntries:i,toStringDefaults:o}){this.compat=Array.isArray(t)?Cl(t,"compat"):t?Cl(null,t):null,this.name="string"==typeof s&&s||"core",this.knownTags=r?xl:{},this.tags=Cl(e,this.name,n),this.toStringOptions=o??null,Object.defineProperty(this,ya,{value:Tc}),Object.defineProperty(this,ka,{value:Lc}),Object.defineProperty(this,_a,{value:Fc}),this.sortMapEntries="function"==typeof i?i:!0===i?Sl:null}clone(){const t=Object.create(Dl.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}class Tl{constructor(t,e,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,va,{value:ga});let r=null;"function"==typeof e||Array.isArray(e)?r=e:void 0===n&&e&&(n=e,e=void 0);const s=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},n);this.options=s;let{version:i}=s;(null==n?void 0:n._directives)?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(i=this.directives.yaml.version)):this.directives=new Ba({version:i}),this.setSchema(i,n),this.contents=void 0===t?null:this.createNode(t,r,n)}clone(){const t=Object.create(Tl.prototype,{[va]:{value:ga}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=Ta(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){Nl(this.contents)&&this.contents.add(t)}addIn(t,e){Nl(this.contents)&&this.contents.addIn(t,e)}createAlias(t,e){if(!t.anchor){const n=Ma(this);t.anchor=!e||n.has(e)?Pa(e||"a",n):e}return new za(t.anchor)}createNode(t,e,n){let r;if("function"==typeof e)t=e.call({"":t},"",t),r=e;else if(Array.isArray(e)){const t=t=>"number"==typeof t||t instanceof String||t instanceof Number,n=e.filter(t).map(String);n.length>0&&(e=e.concat(n)),r=e}else void 0===n&&e&&(n=e,e=void 0);const{aliasDuplicateObjects:s,anchorPrefix:i,flow:o,keepUndefined:a,onTagObj:c,tag:l}=n??{},{onAnchor:u,setAnchors:h,sourceObjects:f}=function(t,e){const n=[],r=new Map;let s=null;return{onAnchor:r=>{n.push(r),s||(s=Ma(t));const i=Pa(e,s);return s.add(i),i},setAnchors:()=>{for(const t of n){const e=r.get(t);if("object"!=typeof e||!e.anchor||!Ca(e.node)&&!Da(e.node)){const e=new Error("Failed to resolve repeated object (this should not happen)");throw e.source=t,e}e.node.anchor=e.anchor}},sourceObjects:r}}(this,i||"a"),d=Ga(t,l,{aliasDuplicateObjects:s??!0,keepUndefined:a??!1,onAnchor:u,onTagObj:c,replacer:r,schema:this.schema,sourceObjects:f});return o&&Da(d)&&(d.flow=!0),h(),d}createPair(t,e,n={}){const r=this.createNode(t,null,n),s=this.createNode(e,null,n);return new wc(r,s)}delete(t){return!!Nl(this.contents)&&this.contents.delete(t)}deleteIn(t){return Za(t)?null!=this.contents&&(this.contents=null,!0):!!Nl(this.contents)&&this.contents.deleteIn(t)}get(t,e){return Da(this.contents)?this.contents.get(t,e):void 0}getIn(t,e){return Za(t)?!e&&Ca(this.contents)?this.contents.value:this.contents:Da(this.contents)?this.contents.getIn(t,e):void 0}has(t){return!!Da(this.contents)&&this.contents.has(t)}hasIn(t){return Za(t)?void 0!==this.contents:!!Da(this.contents)&&this.contents.hasIn(t)}set(t,e){null==this.contents?this.contents=Wa(this.schema,[t],e):Nl(this.contents)&&this.contents.set(t,e)}setIn(t,e){Za(t)?this.contents=e:null==this.contents?this.contents=Wa(this.schema,Array.from(t),e):Nl(this.contents)&&this.contents.setIn(t,e)}setSchema(t,e={}){let n;switch("number"==typeof t&&(t=String(t)),t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Ba({version:"1.1"}),n={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new Ba({version:t}),n={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{const e=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${e}`)}}if(e.schema instanceof Object)this.schema=e.schema;else{if(!n)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new Dl(Object.assign(n,e))}}toJS({json:t,jsonArg:e,mapAsMap:n,maxAliasCount:r,onAnchor:s,reviver:i}={}){const o={anchors:new Map,doc:this,keep:!t,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},a=Ra(this.contents,e??"",o);if("function"==typeof s)for(const{count:t,res:e}of o.anchors.values())s(e,t);return"function"==typeof i?ja(i,{"":a},"",a):a}toJSON(t,e){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:e})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const e=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${e}`)}return function(t,e){var n;const r=[];let s=!0===e.directives;if(!1!==e.directives&&t.directives){const e=t.directives.toString(t);e?(r.push(e),s=!0):t.directives.docStart&&(s=!0)}s&&r.push("---");const i=dc(t,e),{commentString:o}=i.options;if(t.commentBefore){1!==r.length&&r.unshift("");const e=o(t.commentBefore);r.unshift(Qa(e,""))}let a=!1,c=null;if(t.contents){if(Ta(t.contents)){if(t.contents.spaceBefore&&s&&r.push(""),t.contents.commentBefore){const e=o(t.contents.commentBefore);r.push(Qa(e,""))}i.forceBlockIndent=!!t.comment,c=t.contents.comment}const e=c?void 0:()=>a=!0;let n=pc(t.contents,i,(()=>c=null),e);c&&(n+=Ya(n,"",o(c))),"|"!==n[0]&&">"!==n[0]||"---"!==r[r.length-1]?r.push(n):r[r.length-1]=`--- ${n}`}else r.push(pc(t.contents,i));if(null==(n=t.directives)?void 0:n.docEnd)if(t.comment){const e=o(t.comment);e.includes("\n")?(r.push("..."),r.push(Qa(e,""))):r.push(`... ${e}`)}else r.push("...");else{let e=t.comment;e&&a&&(e=e.replace(/^\n+/,"")),e&&(a&&!c||""===r[r.length-1]||r.push(""),r.push(Qa(o(e),"")))}return r.join("\n")+"\n"}(this,t)}}function Nl(t){if(Da(t))return!0;throw new Error("Expected a YAML collection as document contents")}class Il extends Error{constructor(t,e,n,r){super(),this.name=t,this.code=n,this.message=r,this.pos=e}}class Fl extends Il{constructor(t,e,n){super("YAMLParseError",t,e,n)}}class Ll extends Il{constructor(t,e,n){super("YAMLWarning",t,e,n)}}const ql=(t,e)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map((t=>e.linePos(t)));const{line:r,col:s}=n.linePos[0];n.message+=` at line ${r}, column ${s}`;let i=s-1,o=t.substring(e.lineStarts[r-1],e.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&o.length>80){const t=Math.min(i-39,o.length-79);o="…"+o.substring(t),i-=t-1}if(o.length>80&&(o=o.substring(0,79)+"…"),r>1&&/^ *$/.test(o.substring(0,i))){let n=t.substring(e.lineStarts[r-2],e.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"…\n"),o=n+o}if(/[^ ]/.test(o)){let t=1;const e=n.linePos[1];e&&e.line===r&&e.col>s&&(t=Math.max(1,Math.min(e.col-s,80-i)));const a=" ".repeat(i)+"^".repeat(t);n.message+=`:\n\n${o}\n${a}\n`}};function Ol(t,{flow:e,indicator:n,next:r,offset:s,onError:i,parentIndent:o,startOnNewline:a}){let c=!1,l=a,u=a,h="",f="",d=!1,p=!1,m=null,g=null,y=null,b=null,k=null,_=null,v=null;for(const s of t)switch(p&&("space"!==s.type&&"newline"!==s.type&&"comma"!==s.type&&i(s.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),p=!1),m&&(l&&"comment"!==s.type&&"newline"!==s.type&&i(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),m=null),s.type){case"space":e||"doc-start"===n&&"flow-collection"===(null==r?void 0:r.type)||!s.source.includes("\t")||(m=s),u=!0;break;case"comment":{u||i(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=s.source.substring(1)||" ";h?h+=f+t:h=t,f="",l=!1;break}case"newline":l?h?h+=s.source:c=!0:f+=s.source,l=!0,d=!0,(g||y)&&(b=s),u=!0;break;case"anchor":g&&i(s,"MULTIPLE_ANCHORS","A node can have at most one anchor"),s.source.endsWith(":")&&i(s.offset+s.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=s,null===v&&(v=s.offset),l=!1,u=!1,p=!0;break;case"tag":y&&i(s,"MULTIPLE_TAGS","A node can have at most one tag"),y=s,null===v&&(v=s.offset),l=!1,u=!1,p=!0;break;case n:(g||y)&&i(s,"BAD_PROP_ORDER",`Anchors and tags must be after the ${s.source} indicator`),_&&i(s,"UNEXPECTED_TOKEN",`Unexpected ${s.source} in ${e??"collection"}`),_=s,l="seq-item-ind"===n||"explicit-key-ind"===n,u=!1;break;case"comma":if(e){k&&i(s,"UNEXPECTED_TOKEN",`Unexpected , in ${e}`),k=s,l=!1,u=!1;break}default:i(s,"UNEXPECTED_TOKEN",`Unexpected ${s.type} token`),l=!1,u=!1}const w=t[t.length-1],A=w?w.offset+w.source.length:s;return p&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m&&(l&&m.indent<=o||"block-map"===(null==r?void 0:r.type)||"block-seq"===(null==r?void 0:r.type))&&i(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:k,found:_,spaceBefore:c,comment:h,hasNewline:d,anchor:g,tag:y,newlineAfterProp:b,end:A,start:v??A}}function Bl(t){if(!t)return null;switch(t.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(t.source.includes("\n"))return!0;if(t.end)for(const e of t.end)if("newline"===e.type)return!0;return!1;case"flow-collection":for(const e of t.items){for(const t of e.start)if("newline"===t.type)return!0;if(e.sep)for(const t of e.sep)if("newline"===t.type)return!0;if(Bl(e.key)||Bl(e.value))return!0}return!1;default:return!0}}function $l(t,e,n){if("flow-collection"===(null==e?void 0:e.type)){const r=e.end[0];if(r.indent===t&&("]"===r.source||"}"===r.source)&&Bl(e)){n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}}function Ml(t,e,n){const{uniqueKeys:r}=t.options;if(!1===r)return!1;const s="function"==typeof r?r:(t,e)=>t===e||Ca(t)&&Ca(e)&&t.value===e.value;return e.some((t=>s(t.key,n)))}const Pl="All mapping items must start at the same column";function jl(t,e,n,r){let s="";if(t){let i=!1,o="";for(const a of t){const{source:t,type:c}=a;switch(c){case"space":i=!0;break;case"comment":{n&&!i&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=t.substring(1)||" ";s?s+=o+e:s=e,o="";break}case"newline":s&&(o+=t),i=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}e+=t.length}}return{comment:s,offset:e}}const Rl="Block collections are not allowed within flow collections",Ul=t=>t&&("block-map"===t.type||"block-seq"===t.type);function zl(t,e,n,r,s,i){const o="block-map"===n.type?function({composeNode:t,composeEmptyNode:e},n,r,s,i){var o;const a=new((null==i?void 0:i.nodeClass)??Dc)(n.schema);n.atRoot&&(n.atRoot=!1);let c=r.offset,l=null;for(const i of r.items){const{start:u,key:h,sep:f,value:d}=i,p=Ol(u,{indicator:"explicit-key-ind",next:h??(null==f?void 0:f[0]),offset:c,onError:s,parentIndent:r.indent,startOnNewline:!0}),m=!p.found;if(m){if(h&&("block-seq"===h.type?s(c,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in h&&h.indent!==r.indent&&s(c,"BAD_INDENT",Pl)),!p.anchor&&!p.tag&&!f){l=p.end,p.comment&&(a.comment?a.comment+="\n"+p.comment:a.comment=p.comment);continue}(p.newlineAfterProp||Bl(h))&&s(h??u[u.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else(null==(o=p.found)?void 0:o.indent)!==r.indent&&s(c,"BAD_INDENT",Pl);n.atKey=!0;const g=p.end,y=h?t(n,h,p,s):e(n,g,u,null,p,s);n.schema.compat&&$l(r.indent,h,s),n.atKey=!1,Ml(n,a.items,y)&&s(g,"DUPLICATE_KEY","Map keys must be unique");const b=Ol(f??[],{indicator:"map-value-ind",next:d,offset:y.range[2],onError:s,parentIndent:r.indent,startOnNewline:!h||"block-scalar"===h.type});if(c=b.end,b.found){m&&("block-map"!==(null==d?void 0:d.type)||b.hasNewline||s(c,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&p.start0){const t=jl(d,p,n.options.strict,s);t.comment&&(c.comment?c.comment+="\n"+t.comment:c.comment=t.comment),c.range=[r.offset,p,t.offset]}else c.range=[r.offset,p,p];return c}(t,e,n,r,i),a=o.constructor;return"!"===s||s===a.tagName?(o.tag=a.tagName,o):(s&&(o.tag=s),o)}function Vl(t,e,n){const r=e.offset,s=function({offset:t,props:e},n,r){if("block-scalar-header"!==e[0].type)return r(e[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:s}=e[0],i=s[0];let o=0,a="",c=-1;for(let e=1;e=0;--t){const e=o[t][1];if(""!==e&&"\r"!==e)break;a=t}if(0===a){const t="+"===s.chomp&&o.length>0?"\n".repeat(Math.max(1,o.length-1)):"";let n=r+s.length;return e.source&&(n+=e.source.length),{value:t,type:i,comment:s.comment,range:[r,n,n]}}let c=e.indent+s.indent,l=e.offset+s.length,u=0;for(let e=0;ec&&(c=r.length),l+=r.length+i.length+1}for(let t=o.length-1;t>=a;--t)o[t][0].length>c&&(a=t+1);let h="",f="",d=!1;for(let t=0;tc||"\t"===r[0]?(" "===f?f="\n":d||"\n"!==f||(f="\n\n"),h+=f+e.slice(c)+r,f="\n",d=!0):""===r?"\n"===f?h+="\n":f="\n":(h+=f+r,f=" ",d=!1)}switch(s.chomp){case"-":break;case"+":for(let t=a;tn(r+t,e,s);switch(s){case"scalar":a=Ha.PLAIN,c=function(t,e){let n="";switch(t[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${t[0]}`;break;case"@":case"`":n=`reserved character ${t[0]}`}n&&e(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return Hl(t)}(i,l);break;case"single-quoted-scalar":a=Ha.QUOTE_SINGLE,c=function(t,e){"'"===t[t.length-1]&&1!==t.length||e(t.length,"MISSING_CHAR","Missing closing 'quote");return Hl(t.slice(1,-1)).replace(/''/g,"'")}(i,l);break;case"double-quoted-scalar":a=Ha.QUOTE_DOUBLE,c=function(t,e){let n="";for(let r=1;re?t.slice(e,r+1):s)}else n+=s}'"'===t[t.length-1]&&1!==t.length||e(t.length,"MISSING_CHAR",'Missing closing "quote');return n}(i,l);break;default:return n(t,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${s}`),{value:"",type:null,comment:"",range:[r,r+i.length,r+i.length]}}const u=r+i.length,h=jl(o,u,e,n);return{value:c,type:a,comment:h.comment,range:[r,u,h.offset]}}function Hl(t){let e,n;try{e=new RegExp("(.*?)(?r(n,"TAG_RESOLVE_FAILED",t))):null;let l,u;l=t.options.stringKeys&&t.atKey?t.schema[ka]:c?function(t,e,n,r,s){var i;if("!"===n)return t[ka];const o=[];for(const e of t.tags)if(!e.collection&&e.tag===n){if(!e.default||!e.test)return e;o.push(e)}for(const t of o)if(null==(i=t.test)?void 0:i.test(e))return t;const a=t.knownTags[n];if(a&&!a.collection)return t.tags.push(Object.assign({},a,{default:!1,test:void 0})),a;return s(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),t[ka]}(t.schema,s,c,n,r):"scalar"===e.type?function({atKey:t,directives:e,schema:n},r,s,i){const o=n.tags.find((e=>{var n;return(!0===e.default||t&&"key"===e.default)&&(null==(n=e.test)?void 0:n.test(r))}))||n[ka];if(n.compat){const t=n.compat.find((t=>{var e;return t.default&&(null==(e=t.test)?void 0:e.test(r))}))??n[ka];if(o.tag!==t.tag){i(s,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(o.tag)} or ${e.tagString(t.tag)}`,!0)}}return o}(t,s,e,r):t.schema[ka];try{const i=l.resolve(s,(t=>r(n??e,"TAG_RESOLVE_FAILED",t)),t.options);u=Ca(i)?i:new Ha(i)}catch(t){const i=t instanceof Error?t.message:String(t);r(n??e,"TAG_RESOLVE_FAILED",i),u=new Ha(s)}return u.range=a,u.source=s,i&&(u.type=i),c&&(u.tag=c),l.format&&(u.format=l.format),o&&(u.comment=o),u}function Xl(t,e,n){if(e){null===n&&(n=e.length);for(let r=n-1;r>=0;--r){let n=e[r];switch(n.type){case"space":case"comment":case"newline":t-=n.source.length;continue}for(n=e[++r];"space"===(null==n?void 0:n.type);)t+=n.source.length,n=e[++r];break}}return t}const Ql={composeNode:Yl,composeEmptyNode:tu};function Yl(t,e,n,r){const s=t.atKey,{spaceBefore:i,comment:o,anchor:a,tag:c}=n;let l,u=!0;switch(e.type){case"alias":l=function({options:t},{offset:e,source:n,end:r},s){const i=new za(n.substring(1));""===i.source&&s(e,"BAD_ALIAS","Alias cannot be an empty string");i.source.endsWith(":")&&s(e+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=e+n.length,a=jl(r,o,t.strict,s);i.range=[e,o,a.offset],a.comment&&(i.comment=a.comment);return i}(t,e,r),(a||c)&&r(e,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":l=Jl(t,e,c,r),a&&(l.anchor=a.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":l=function(t,e,n,r,s){var i;const o=r.tag,a=o?e.directives.tagName(o.source,(t=>s(o,"TAG_RESOLVE_FAILED",t))):null;if("block-seq"===n.type){const{anchor:t,newlineAfterProp:e}=r,n=t&&o?t.offset>o.offset?t:o:t??o;n&&(!e||e.offsett.tag===a&&t.collection===c));if(!l){const r=e.schema.knownTags[a];if(!r||r.collection!==c)return(null==r?void 0:r.collection)?s(o,"BAD_COLLECTION_TYPE",`${r.tag} used for ${c} collection, but expects ${r.collection}`,!0):s(o,"TAG_RESOLVE_FAILED",`Unresolved tag: ${a}`,!0),zl(t,e,n,s,a);e.schema.tags.push(Object.assign({},r,{default:!1})),l=r}const u=zl(t,e,n,s,a,l),h=(null==(i=l.resolve)?void 0:i.call(l,u,(t=>s(o,"TAG_RESOLVE_FAILED",t)),e.options))??u,f=Ta(h)?h:new Ha(h);return f.range=u.range,f.tag=a,(null==l?void 0:l.format)&&(f.format=l.format),f}(Ql,t,e,n,r),a&&(l.anchor=a.source.substring(1));break;default:r(e,"UNEXPECTED_TOKEN","error"===e.type?e.message:`Unsupported token (type: ${e.type})`),l=tu(t,e.offset,void 0,null,n,r),u=!1}if(a&&""===l.anchor&&r(a,"BAD_ALIAS","Anchor cannot be an empty string"),s&&t.options.stringKeys&&(!Ca(l)||"string"!=typeof l.value||l.tag&&"tag:yaml.org,2002:str"!==l.tag)){r(c??e,"NON_STRING_KEY","With stringKeys, all keys must be strings")}return i&&(l.spaceBefore=!0),o&&("scalar"===e.type&&""===e.source?l.comment=o:l.commentBefore=o),t.options.keepSourceTokens&&u&&(l.srcToken=e),l}function tu(t,e,n,r,{spaceBefore:s,comment:i,anchor:o,tag:a,end:c},l){const u=Jl(t,{type:"scalar",offset:Xl(e,n,r),indent:-1,source:""},a,l);return o&&(u.anchor=o.source.substring(1),""===u.anchor&&l(o,"BAD_ALIAS","Anchor cannot be an empty string")),s&&(u.spaceBefore=!0),i&&(u.comment=i,u.range[2]=c),u}function eu(t){if("number"==typeof t)return[t,t+1];if(Array.isArray(t))return 2===t.length?t:[t[0],t[1]];const{offset:e,source:n}=t;return[e,e+("string"==typeof n?n.length:1)]}function nu(t){var e;let n="",r=!1,s=!1;for(let i=0;i{const s=eu(t);r?this.warnings.push(new Ll(s,e,n)):this.errors.push(new Fl(s,e,n))},this.directives=new Ba({version:t.version||"1.2"}),this.options=t}decorate(t,e){const{comment:n,afterEmptyLine:r}=nu(this.prelude);if(n){const s=t.contents;if(e)t.comment=t.comment?`${t.comment}\n${n}`:n;else if(r||t.directives.docStart||!s)t.commentBefore=n;else if(Da(s)&&!s.flow&&s.items.length>0){let t=s.items[0];xa(t)&&(t=t.key);const e=t.commentBefore;t.commentBefore=e?`${n}\n${e}`:n}else{const t=s.commentBefore;s.commentBefore=t?`${n}\n${t}`:n}}e?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:nu(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,e=!1,n=-1){for(const e of t)yield*this.next(e);yield*this.end(e,n)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,((e,n,r)=>{const s=eu(t);s[0]+=e,this.onError(s,"BAD_DIRECTIVE",n,r)})),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const e=function(t,e,{offset:n,start:r,value:s,end:i},o){const a=Object.assign({_directives:e},t),c=new Tl(void 0,a),l={atKey:!1,atRoot:!0,directives:c.directives,options:c.options,schema:c.schema},u=Ol(r,{indicator:"doc-start",next:s??(null==i?void 0:i[0]),offset:n,onError:o,parentIndent:0,startOnNewline:!0});u.found&&(c.directives.docStart=!0,!s||"block-map"!==s.type&&"block-seq"!==s.type||u.hasNewline||o(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),c.contents=s?Yl(l,s,u,o):tu(l,u.end,r,null,u,o);const h=c.contents.range[2],f=jl(i,h,!1,o);return f.comment&&(c.comment=f.comment),c.range=[n,h,f.offset],c}(this.options,this.directives,t,this.onError);this.atDirectives&&!e.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(e,!1),this.doc&&(yield this.doc),this.doc=e,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const e=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,n=new Fl(eu(t),"UNEXPECTED_TOKEN",e);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const e="Unexpected doc-end without preceding document";this.errors.push(new Fl(eu(t),"UNEXPECTED_TOKEN",e));break}this.doc.directives.docEnd=!0;const e=jl(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),e.comment){const t=this.doc.comment;this.doc.comment=t?`${t}\n${e.comment}`:e.comment}this.doc.range[2]=e.offset;break}default:this.errors.push(new Fl(eu(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,e=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const t=Object.assign({_directives:this.directives},this.options),n=new Tl(void 0,t);this.atDirectives&&this.onError(e,"MISSING_CHAR","Missing directives-end indicator line"),n.range=[0,e,e],this.decorate(n,!1),yield n}}}function su(t){switch(t){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const iu=new Set("0123456789ABCDEFabcdef"),ou=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),au=new Set(",[]{}"),cu=new Set(" ,[]{}\n\r\t"),lu=t=>!t||cu.has(t);class uu{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,e=!1){if(t){if("string"!=typeof t)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!e;let n=this.next??"stream";for(;n&&(e||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let t=this.pos,e=this.buffer[t];for(;" "===e||"\t"===e;)e=this.buffer[++t];return!e||"#"===e||"\n"===e||"\r"===e&&"\n"===this.buffer[t+1]}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let e=this.buffer[t];if(this.indentNext>0){let n=0;for(;" "===e;)e=this.buffer[++n+t];if("\r"===e){const e=this.buffer[n+t+1];if("\n"===e||!e&&!this.atEnd)return t+n+1}return"\n"===e||n>=this.indentNext||!e&&!this.atEnd?t+n:-1}if("-"===e||"."===e){const e=this.buffer.substr(t,3);if(("---"===e||"..."===e)&&su(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return("number"!=typeof t||-1!==t&&tthis.indentValue&&!su(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,e]=this.peek(2);if(!e&&!this.atEnd)return this.setNext("block-start");if(("-"===t||"?"===t||":"===t)&&su(e)){const t=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=t,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(null===t)return this.setNext("doc");let e=yield*this.pushIndicators();switch(t[e]){case"#":yield*this.pushCount(t.length-e);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(lu),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return e+=(yield*this.parseBlockScalarHeader()),e+=(yield*this.pushSpaces(!0)),yield*this.pushCount(t.length-e),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,e,n=-1;do{t=yield*this.pushNewline(),t>0?(e=yield*this.pushSpaces(!1),this.indentValue=n=e):e=0,e+=(yield*this.pushSpaces(!0))}while(t+e>0);const r=this.getLine();if(null===r)return this.setNext("flow");if(-1!==n&&n"0"&&e<="9")this.blockScalarIndent=Number(e)-1;else if("-"!==e)break}return yield*this.pushUntil((t=>su(t)||"#"===t))}*parseBlockScalar(){let t,e=this.pos-1,n=0;t:for(let r=this.pos;t=this.buffer[r];++r)switch(t){case" ":n+=1;break;case"\n":e=r,n=0;break;case"\r":{const t=this.buffer[r+1];if(!t&&!this.atEnd)return this.setNext("block-scalar");if("\n"===t)break}default:break t}if(!t&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{const t=this.continueScalar(e+1);if(-1===t)break;e=this.buffer.indexOf("\n",t)}while(-1!==e);if(-1===e){if(!this.atEnd)return this.setNext("block-scalar");e=this.buffer.length}}let r=e+1;for(t=this.buffer[r];" "===t;)t=this.buffer[++r];if("\t"===t){for(;"\t"===t||" "===t||"\r"===t||"\n"===t;)t=this.buffer[++r];e=r-1}else if(!this.blockScalarKeep)for(;;){let t=e-1,r=this.buffer[t];"\r"===r&&(r=this.buffer[--t]);const s=t;for(;" "===r;)r=this.buffer[--t];if(!("\n"===r&&t>=this.pos&&t+1+n>s))break;e=t}return yield"",yield*this.pushToIndex(e+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let e,n=this.pos-1,r=this.pos-1;for(;e=this.buffer[++r];)if(":"===e){const e=this.buffer[r+1];if(su(e)||t&&au.has(e))break;n=r}else if(su(e)){let s=this.buffer[r+1];if("\r"===e&&("\n"===s?(r+=1,e="\n",s=this.buffer[r+1]):n=r),"#"===s||t&&au.has(s))break;if("\n"===e){const t=this.continueScalar(r+1);if(-1===t)break;r=Math.max(r,t-2)}}else{if(t&&au.has(e))break;n=r}return e||this.atEnd?(yield"",yield*this.pushToIndex(n+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,e){const n=this.buffer.slice(this.pos,t);return n?(yield n,this.pos+=n.length,n.length):(e&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(lu))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,e=this.charAt(1);if(su(e)||t&&au.has(e))return t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let t=this.pos+2,e=this.buffer[t];for(;!su(e)&&">"!==e;)e=this.buffer[++t];return yield*this.pushToIndex(">"===e?t+1:t,!1)}{let t=this.pos+1,e=this.buffer[t];for(;e;)if(ou.has(e))e=this.buffer[++t];else{if("%"!==e||!iu.has(this.buffer[t+1])||!iu.has(this.buffer[t+2]))break;e=this.buffer[t+=3]}return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return"\n"===t?yield*this.pushCount(1):"\r"===t&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(t){let e,n=this.pos-1;do{e=this.buffer[++n]}while(" "===e||t&&"\t"===e);const r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(t){let e=this.pos,n=this.buffer[e];for(;!t(n);)n=this.buffer[++e];return yield*this.pushToIndex(e,!1)}}class hu{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let e=0,n=this.lineStarts.length;for(;e>1;this.lineStarts[r]=0;)switch(t[n].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break t}for(;"space"===(null==(e=t[++n])?void 0:e.type););return t.splice(n,t.length)}function yu(t){if("flow-seq-start"===t.start.type)for(const e of t.items)!e.sep||e.value||fu(e.start,"explicit-key-ind")||fu(e.sep,"map-value-ind")||(e.key&&(e.value=e.key),delete e.key,pu(e.value)?e.value.end?Array.prototype.push.apply(e.value.end,e.sep):e.value.end=e.sep:Array.prototype.push.apply(e.start,e.sep),delete e.sep)}class bu{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new uu,this.onNewLine=t}*parse(t,e=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const n of this.lexer.lex(t,e))yield*this.next(n);e||(yield*this.end())}*next(t){if(this.source=t,this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=t.length);const e=function(t){switch(t){case"\ufeff":return"byte-order-mark";case"":return"doc-mode";case"":return"flow-error-end";case"":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(t[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}(t);if(e)if("scalar"===e)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=e,yield*this.step(),e){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&" "===t[0]&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const e=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:e,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if("doc-end"!==this.type||t&&"doc-end"===t.type){if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(t){return this.stack[this.stack.length-t]}*pop(t){const e=t??this.stack.pop();if(e)if(0===this.stack.length)yield e;else{const t=this.peek(1);switch("block-scalar"===e.type?e.indent="indent"in t?t.indent:0:"flow-collection"===e.type&&"document"===t.type&&(e.indent=0),"flow-collection"===e.type&&yu(e),t.type){case"document":t.value=e;break;case"block-scalar":t.props.push(e);break;case"block-map":{const n=t.items[t.items.length-1];if(n.value)return t.items.push({start:[],key:e,sep:[]}),void(this.onKeyLine=!0);if(!n.sep)return Object.assign(n,{key:e,sep:[]}),void(this.onKeyLine=!n.explicitKey);n.value=e;break}case"block-seq":{const n=t.items[t.items.length-1];n.value?t.items.push({start:[],value:e}):n.value=e;break}case"flow-collection":{const n=t.items[t.items.length-1];return void(!n||n.value?t.items.push({start:[],key:e,sep:[]}):n.sep?n.value=e:Object.assign(n,{key:e,sep:[]}))}default:yield*this.pop(),yield*this.pop(e)}if(!("document"!==t.type&&"block-map"!==t.type&&"block-seq"!==t.type||"block-map"!==e.type&&"block-seq"!==e.type)){const n=e.items[e.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===du(n.start)&&(0===e.indent||n.start.every((t=>"comment"!==t.type||t.indent=t.indent){const e=!this.onKeyLine&&this.indent===t.indent,r=e&&(n.sep||n.explicitKey)&&"seq-item-ind"!==this.type;let s=[];if(r&&n.sep&&!n.value){const e=[];for(let r=0;rt.indent&&(e.length=0);break;default:e.length=0}}e.length>=2&&(s=n.sep.splice(e[1]))}switch(this.type){case"anchor":case"tag":return void(r||n.value?(s.push(this.sourceToken),t.items.push({start:s}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken));case"explicit-key-ind":return n.sep||n.explicitKey?r||n.value?(s.push(this.sourceToken),t.items.push({start:s,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(n.start.push(this.sourceToken),n.explicitKey=!0),void(this.onKeyLine=!0);case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(fu(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]});else if(pu(n.key)&&!fu(n.sep,"newline")){const t=gu(n.start),e=n.key,r=n.sep;r.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:e,sep:r}]})}else s.length>0?n.sep=n.sep.concat(s,this.sourceToken):n.sep.push(this.sourceToken);else if(fu(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const t=gu(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||r?t.items.push({start:s,key:null,sep:[this.sourceToken]}):fu(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const e=this.flowScalar(this.type);return void(r||n.value?(t.items.push({start:s,key:e,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(e):(Object.assign(n,{key:e,sep:[]}),this.onKeyLine=!0))}default:{const n=this.startBlockValue(t);if(n)return e&&"block-seq"!==n.type&&t.items.push({start:s}),void this.stack.push(n)}}}yield*this.pop(),yield*this.step()}*blockSequence(t){var e;const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const e="end"in n.value?n.value.end:void 0,r=Array.isArray(e)?e[e.length-1]:void 0;"comment"===(null==r?void 0:r.type)?null==e||e.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const r=t.items[t.items.length-2],s=null==(e=null==r?void 0:r.value)?void 0:e.end;if(Array.isArray(s))return Array.prototype.push.apply(s,n.start),s.push(this.sourceToken),void t.items.pop()}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;return void n.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==t.indent)break;return void(n.value||fu(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken))}if(this.indent>t.indent){const e=this.startBlockValue(t);if(e)return void this.stack.push(e)}yield*this.pop(),yield*this.step()}*flowCollection(t){const e=t.items[t.items.length-1];if("flow-error-end"===this.type){let t;do{yield*this.pop(),t=this.peek(1)}while(t&&"flow-collection"===t.type)}else if(0===t.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!e||e.sep?t.items.push({start:[this.sourceToken]}):e.start.push(this.sourceToken));case"map-value-ind":return void(!e||e.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):e.sep?e.sep.push(this.sourceToken):Object.assign(e,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!e||e.value?t.items.push({start:[this.sourceToken]}):e.sep?e.sep.push(this.sourceToken):e.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(!e||e.value?t.items.push({start:[],key:n,sep:[]}):e.sep?this.stack.push(n):Object.assign(e,{key:n,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void t.end.push(this.sourceToken)}const n=this.startBlockValue(t);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{const e=this.peek(2);if("block-map"===e.type&&("map-value-ind"===this.type&&e.indent===t.indent||"newline"===this.type&&!e.items[e.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==e.type){const n=gu(mu(e));yu(t);const r=t.end.splice(1,t.end.length);r.push(this.sourceToken);const s={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:n,key:t,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let t=this.source.indexOf("\n")+1;for(;0!==t;)this.onNewLine(this.offset+t),t=this.source.indexOf("\n",t)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const e=gu(mu(t));return e.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const e=gu(mu(t));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,e){return"comment"===this.type&&(!(this.indent<=e)&&t.every((t=>"newline"===t.type||"space"===t.type)))}*documentEnd(t){"doc-mode"!==this.type&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function ku(t,e={}){const{lineCounter:n,prettyErrors:r}=function(t){const e=!1!==t.prettyErrors;return{lineCounter:t.lineCounter||e&&new hu||null,prettyErrors:e}}(e),s=new bu(null==n?void 0:n.addNewLine),i=new ru(e);let o=null;for(const e of i.compose(s.parse(t),!0,t.length))if(o){if("silent"!==o.options.logLevel){o.errors.push(new Fl(e.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else o=e;return r&&n&&(o.errors.forEach(ql(t,n)),o.warnings.forEach(ql(t,n))),o}const _u={name:"frontmatter",transform:t=>(t.beforeParse.tap(((t,e)=>{var n;const{content:r}=e;if(!/^---\r?\n/.test(r))return;const s=/\n---\r?\n/.exec(r);if(!s)return;const i=r.slice(4,s.index).trimEnd();let o;try{o=function(t,e,n){let r;const s=ku(t,n);if(!s)return null;if(s.warnings.forEach((t=>mc(s.options.logLevel,t))),s.errors.length>0){if("silent"!==s.options.logLevel)throw s.errors[0];s.errors=[]}return s.toJS(Object.assign({reviver:r},n))}(i.replace(/\r?\n|\r/g,"\n")),(null==o?void 0:o.markmap)&&(o.markmap=function(t){if(!t)return;return["color","extraJs","extraCss"].forEach((e=>{null!=t[e]&&(t[e]=function(t){let e;"string"==typeof t?e=[t]:Array.isArray(t)&&(e=t.filter((t=>t&&"string"==typeof t)));return(null==e?void 0:e.length)?e:void 0}(t[e]))})),["duration","maxWidth","initialExpandLevel"].forEach((e=>{null!=t[e]&&(t[e]=function(t){if(isNaN(+t))return;return+t}(t[e]))})),t}(o.markmap))}catch{return}e.frontmatter=o,e.parserOptions={...e.parserOptions,...null==(n=null==o?void 0:o.markmap)?void 0:n.htmlParser},e.frontmatterInfo={lines:r.slice(0,s.index).split("\n").length+1,offset:s.index+s[0].length}})),{})};function vu(t,e){return"script"===e.type&&e.data.src?{...e,data:{...e.data,src:t.getFullUrl(e.data.src)}}:e}function wu(t,e){return"stylesheet"===e.type&&e.data.href?{...e,data:{...e.data,href:t.getFullUrl(e.data.href)}}:e}const Au="hljs",Eu=["@highlightjs/cdn-assets@11.11.1/highlight.min.js"].map((t=>w(t))),xu=["@highlightjs/cdn-assets@11.11.1/styles/default.min.css"].map((t=>A(t))),Cu={name:Au,config:{versions:{hljs:"11.11.1"},preloadScripts:Eu,styles:xu},transform(t){var e,n,r;let s;const o=(null==(n=null==(e=Cu.config)?void 0:e.preloadScripts)?void 0:n.map((e=>vu(t.transformer.urlBuilder,e))))||[];let a=i;return t.parser.tap((e=>{e.set({highlight:(e,n)=>{a();const{hljs:r}=window;return r?r.highlightAuto(e,n?[n]:void 0).value:((s||(s=v(o)),s).then((()=>{t.retransform.call()})),e)}})})),t.beforeParse.tap(((t,e)=>{a=()=>{e.features[Au]=!0}})),{styles:null==(r=Cu.config)?void 0:r.styles}}};const Su="katex",Du=["katex@0.16.18/dist/katex.min.js"].map((t=>w(t))),Tu=w("webfontloader@1.6.28/webfontloader.js");Tu.data.defer=!0;const Nu={versions:{katex:"0.16.18",webfontloader:"1.6.28"},preloadScripts:Du,scripts:[{type:"iife",data:{fn:t=>{window.WebFontConfig={custom:{families:["KaTeX_AMS","KaTeX_Caligraphic:n4,n7","KaTeX_Fraktur:n4,n7","KaTeX_Main:n4,n7,i4,i7","KaTeX_Math:i4,i7","KaTeX_Script","KaTeX_SansSerif:n4,n7,i4","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4","KaTeX_Typewriter"]},active:()=>{t().refreshHook.call()}}},getParams:({getMarkmap:t})=>[t]}},Tu],styles:["katex@0.16.18/dist/katex.min.css"].map((t=>A(t))),resources:["katex@0.16.18/dist/fonts/KaTeX_AMS-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Caligraphic-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Caligraphic-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Fraktur-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Fraktur-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-BoldItalic.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Math-BoldItalic.woff2","katex@0.16.18/dist/fonts/KaTeX_Math-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Script-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size1-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size2-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size3-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size4-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Typewriter-Regular.woff2"]};function Iu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Fu,Lu={};var qu=function(){if(Fu)return Lu;Fu=1;var t=Lu&&Lu.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Lu,"__esModule",{value:!0});const n=t(e);function r(t,e){const n=t.src[e-1],r=t.src[e],o=t.src[e+1];if("$"!==r)return{can_open:!1,can_close:!1};let a=!1,c=!1;return"$"===n||"\\"===n||void 0!==n&&!s(n)&&i(n)||(a=!0),"$"===o||null!=o&&!s(o)&&i(o)||(c=!0),{can_open:a,can_close:c}}function s(t){return/^\s$/u.test(t)}function i(t){return/^[\w\d]$/u.test(t)}function o(t,e){const n=t.src[e-1],r=t.src[e],s=t.src[e+1],i=t.src[e+2];return"$"===r&&"$"!==n&&"\\"!==n&&"$"===s&&"$"!==i?{can_open:!0,can_close:!0}:{can_open:!1,can_close:!1}}function a(t,e){if("$"!==t.src[t.pos])return!1;const n=t.tokens.at(-1);if("html_inline"===(null==n?void 0:n.type)&&/^<\w+.+[^/]>$/.test(n.content))return!1;let s=r(t,t.pos);if(!s.can_open)return e||(t.pending+="$"),t.pos+=1,!0;let i,o=t.pos+1,a=o;for(;-1!==(a=t.src.indexOf("$",a));){for(i=a-1;"\\"===t.src[i];)i-=1;if((a-i)%2==1)break;a+=1}if(-1===a)return e||(t.pending+="$"),t.pos=o,!0;if(a-o==0)return e||(t.pending+="$$"),t.pos=o+1,!0;if(s=r(t,a),!s.can_close)return e||(t.pending+="$"),t.pos=o,!0;if(!e){const e=t.push("math_inline","math",0);e.markup="$",e.content=t.src.slice(o,a)}return t.pos=a+1,!0}function c(t,e){var n,r,s,i;if("$$"!==t.src.slice(t.pos,t.pos+2))return!1;if(!o(t,t.pos).can_open)return e||(t.pending+="$$"),t.pos+=2,!0;for(r=n=t.pos+2;-1!==(r=t.src.indexOf("$$",r));){for(i=r-1;"\\"===t.src[i];)i-=1;if((r-i)%2==1)break;r+=2}return-1===r?(e||(t.pending+="$$"),t.pos=n,!0):r-n==0?(e||(t.pending+="$$$$"),t.pos=n+2,!0):o(t,r).can_close?(e||((s=t.push("math_block","math",0)).block=!0,s.markup="$$",s.content=t.src.slice(n,r)),t.pos=r+2,!0):(e||(t.pending+="$$"),t.pos=n,!0)}function l(t,e){const n=t.src.slice(t.pos);if(!/^\n\\begin/.test(n))return!1;if(t.pos+=1,e)return!0;const r=n.split(/\n/g).slice(1);let s;const i=[];t:for(var o=0;ot+e.length),0)+s+1,c=t.push("math_inline_bare_block","math",0);return c.block=!0,c.markup="$$",c.content=n.slice(1,a),t.pos=t.pos+a,!0}function u(t,e,n,r){const s=t.tokens;for(let t=s.length-1;t>=0;t--){const i=s[t],o=[];if("html_block"!==i.type)continue;const a=i.content;for(const t of a.matchAll(r)){if(!t.groups)continue;const r=t.groups.html_before_math,s=t.groups.math,a=t.groups.html_after_math;r&&o.push({...i,type:"html_block",map:null,content:r}),s&&o.push({...i,type:e,map:null,content:s,markup:n,block:!0,tag:"math"}),a&&o.push({...i,type:"html_block",map:null,content:a})}o.length>0&&s.splice(t,1,...o)}return!0}function h(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}return Lu.default=function(t,e){const r=(null==e?void 0:e.katex)??n.default,s=null==e?void 0:e.enableBareBlocks,i=null==e?void 0:e.enableMathBlockInHtml,o=null==e?void 0:e.enableMathInlineInHtml,f=null==e?void 0:e.enableFencedBlocks;t.inline.ruler.after("escape","math_inline",a),t.inline.ruler.after("escape","math_inline_block",c),s&&t.inline.ruler.before("text","math_inline_bare_block",l),t.block.ruler.after("blockquote","math_block",((t,e,n,r)=>!(!s||!function(t,e,n,r){const s=t.bMarks[e]+t.tShift[e],i=t.eMarks[e];if(!t.src.slice(s,i).match(/^\s*\\begin\s*\{([^{}]+)\}/))return!1;if(e>0){const n=t.bMarks[e-1]+t.tShift[e-1],r=t.eMarks[e-1],s=t.src.slice(n,r);if(!/^\s*$/.test(s))return!1}if(r)return!0;const o=[];let a,c=e,l=!1;t:for(;!(l||c>=n);c++){const e=t.bMarks[c]+t.tShift[c],n=t.eMarks[c];if(eu)return!1;if("$$"!==t.src.slice(l,l+2))return!1;l+=2;let h=t.src.slice(l,u);if(r)return!0;for("$$"===h.trim().slice(-2)&&(h=h.trim().slice(0,-2),c=!0),i=e;!(c||++i>=n||(l=t.bMarks[i]+t.tShift[i])<(u=t.eMarks[i])&&t.tShift[i][\s\S]*?)\$\$(?[\s\S]+?)\$\$(?(?:(?!\$\$[\s\S]+?\$\$)[\s\S])*)/gm,p=/(?[\s\S]*?)\$(?.*?)\$(?(?:(?!\$.*?\$)[\s\S])*)/gm;i&&t.core.ruler.push("math_block_in_html_block",(t=>u(t,"math_block","$$",d))),o&&t.core.ruler.push("math_inline_in_html_block",(t=>u(t,"math_inline","$",p)));const m=t=>{try{return`

${r.renderToString(t,{...e,displayMode:!0})}

`}catch(n){return(null==e?void 0:e.throwOnError)&&console.log(n),`

${h(n+"")}

`}},g=(t,e)=>m(t[e].content)+"\n";if(t.renderer.rules.math_inline=(t,n)=>{const s=t[n].content;return(t=>{const n=/\\begin\{(align|equation|gather|cd|alignat)\}/gi.test(t);try{return r.renderToString(t,{...e,displayMode:n})}catch(n){return(null==e?void 0:e.throwOnError)&&console.log(n),`${h(n+"")}`}})(s.length>2&&"`"===s[0]&&"`"===s[s.length-1]?s.slice(1,-1):s)},t.renderer.rules.math_inline_block=g,t.renderer.rules.math_inline_bare_block=g,t.renderer.rules.math_block=g,f){const e="math",n=t.renderer.rules.fence;t.renderer.rules.fence=function(t,r,s,i,o){const a=t[r];return a.info.trim().toLowerCase()===e&&f?m(a.content)+"\n":(null==n?void 0:n.call(this,t,r,s,i,o))||""}}},Lu}();const Ou=(Bu=Iu(qu)).default||Bu;var Bu;const $u={name:Su,config:Nu,transform(t){var e,n,r,s;let o;const a=(null==(n=null==(e=$u.config)?void 0:e.preloadScripts)?void 0:n.map((e=>vu(t.transformer.urlBuilder,e))))||[],c=(e,n)=>{const{katex:r}=window;return r?r.renderToString(e,{displayMode:n,throwOnError:!1}):((o||(o=v(a)),o).then((()=>{t.retransform.call()})),e)};let l=i;return t.parser.tap((t=>{t.use(Ou),["math_block","math_inline"].forEach((e=>{t.renderer.rules[e]=(t,e)=>{l();return c(t[e].content,!!t[e].block)}}))})),t.beforeParse.tap(((t,e)=>{l=()=>{e.features[Su]=!0}})),t.afterParse.tap(((t,e)=>{var n;const r=null==(n=e.frontmatter)?void 0:n.markmap;r&&["extraJs","extraCss"].forEach((t=>{var e,n;const s=r[t];var i,o,a;s&&(r[t]=(i=s,o=Su,a=(null==(n=null==(e=$u.config)?void 0:e.versions)?void 0:n.katex)||"",i.map((t=>{if("string"==typeof t&&!t.includes("://")){t.startsWith("npm:")||(t=`npm:${t}`);const e=4+o.length;t.startsWith(`npm:${o}/`)&&(t=`${t.slice(0,e)}@${a}${t.slice(e)}`)}return t}))))}))})),{styles:null==(r=$u.config)?void 0:r.styles,scripts:null==(s=$u.config)?void 0:s.scripts}}},Mu=[_u,$u,Cu,{name:"npmUrl",transform:t=>(t.afterParse.tap(((e,n)=>{const{frontmatter:r}=n,s=null==r?void 0:r.markmap;s&&["extraJs","extraCss"].forEach((e=>{const n=s[e];n&&(s[e]=n.map((e=>e.startsWith("npm:")?t.transformer.urlBuilder.getFullUrl(e.slice(4)):e)))}))})),{})},pa,{name:"sourceLines",transform(t){let e=0;return t.beforeParse.tap(((t,n)=>{var r;e=(null==(r=n.frontmatterInfo)?void 0:r.lines)||0})),t.parser.tap((t=>{t.renderer.renderAttrs=o(t.renderer.renderAttrs,((t,n)=>{if(n.block&&n.map){const t=n.map.map((t=>t+e));n.attrSet("data-lines",t.join(","))}return t(n)})),t.renderer.rules.fence&&(t.renderer.rules.fence=o(t.renderer.rules.fence,((t,n,r,...s)=>{let i=t(n,r,...s);const o=n[r];if(i.startsWith("
")&&o.map){const t=o.map.map((t=>t+e));i=i.slice(0,4)+` data-lines="${t.join(",")}"`+i.slice(4)}return i})))})),{}}}];function Pu(t){for(;!t.content&&1===t.children.length;)t=t.children[0];for(;1===t.children.length&&!t.children[0].content;)t={...t,children:t.children[0].children};return{...t,children:t.children.map(Pu)}}t.Transformer=class{constructor(t=Mu){this.assetsMap={},this.urlBuilder=new r,this.hooks={transformer:this,parser:new s,beforeParse:new s,afterParse:new s,retransform:new s},this.plugins=t.map((t=>"function"==typeof t?t():t));const e={};for(const{name:t,transform:n}of this.plugins)e[t]=n(this.hooks);this.assetsMap=e;const n=function(){const t=sa({html:!0,breaks:!0});return t.use(ia).use(oa).use(la).use(fa),t}();this.md=n,this.hooks.parser.call(n)}transform(t,e){var n;const r={content:t,features:{},parserOptions:e};this.hooks.beforeParse.call(this.md,r);let{content:s}=r;r.frontmatterInfo&&(s=s.slice(r.frontmatterInfo.offset));const i=this.md.render(s,{});this.hooks.afterParse.call(this.md,r);const o=Pu(function(t,e){return n=ms(t,e),function(t,e){const n=(t,r)=>e(t,(()=>{var e;return null==(e=t.children)?void 0:e.map((e=>n(e,t)))}),r);return n(t)}(n,((t,e)=>{const n={content:t.html,children:e()||[]};return t.data&&(n.payload={tag:t.tag,...t.data}),t.comments&&(t.comments.includes("foldAll")?n.payload={...n.payload,fold:2}:t.comments.includes("fold")&&(n.payload={...n.payload,fold:1})),n}));var n}(i,r.parserOptions));return o.content||(o.content=`${(null==(n=r.frontmatter)?void 0:n.title)||""}`),{...r,root:o}}resolveJS(t){return vu(this.urlBuilder,t)}resolveCSS(t){return wu(this.urlBuilder,t)}getAssets(t){const e=[],n=[];t??(t=this.plugins.map((t=>t.name)));for(const r of t.map((t=>this.assetsMap[t])))r&&(r.styles&&e.push(...r.styles),r.scripts&&n.push(...r.scripts));return{styles:e.map((t=>this.resolveCSS(t))),scripts:n.map((t=>this.resolveJS(t)))}}getUsedAssets(t){const e=this.plugins.map((t=>t.name)).filter((e=>t[e]));return this.getAssets(e)}},t.builtInPlugins=Mu,t.patchCSSItem=wu,t.patchJSItem=vu,t.transformerVersions={"markmap-lib":"0.18.12"},Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(this.markmap=this.markmap||{},window.katex);
-//# sourceMappingURL=/sm/67c2054fc56210f03623bfab1192ec2fbd118e1103cfbed4dfc0b3bea79fc2c2.map
\ No newline at end of file
diff --git a/mineru/cli/static/markmap/markmap-toolbar.js b/mineru/cli/static/markmap/markmap-toolbar.js
deleted file mode 100644
index c4a3424..0000000
--- a/mineru/cli/static/markmap/markmap-toolbar.js
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Minified by jsDelivr using Terser v5.39.0.
- * Original file: /npm/markmap-toolbar@0.18.12/dist/index.js
- *
- * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
- */
-!function(t){"use strict";
-/*! @gera2ld/jsx-dom v2.2.2 | ISC License */const e="http://www.w3.org/1999/xlink",A={show:e,actuate:e,href:e};function r(t,e){let A;if("string"==typeof t)A=1;else{if("function"!=typeof t)throw new Error("Invalid VNode type");A=2}return{vtype:A,type:t,props:e}}const i=r;function n(t){return t.children}const o={isSvg:!1};function s(t,e){Array.isArray(e)||(e=[e]),(e=e.filter(Boolean)).length&&t.append(...e)}const l={className:"class",labelFor:"for"};function h(t,e,r,i){if(e=l[e]||e,!0===r)t.setAttribute(e,"");else if(!1===r)t.removeAttribute(e);else{const n=i?A[e]:void 0;void 0!==n?t.setAttributeNS(n,e,r):t.setAttribute(e,r)}}function a(t,e){return Array.isArray(t)?t.map((t=>a(t,e))).reduce(((t,e)=>t.concat(e)),[]):c(t,e)}function c(t,e=o){if(null==t||"boolean"==typeof t)return null;if(t instanceof Node)return t;if(2===(null==(A=t)?void 0:A.vtype)){const{type:A,props:r}=t;if(A===n){const t=document.createDocumentFragment();if(r.children){s(t,a(r.children,e))}return t}return c(A(r),e)}var A;if((t=>"string"==typeof t||"number"==typeof t)(t))return document.createTextNode(`${t}`);if((t=>1===(null==t?void 0:t.vtype))(t)){let A;const{type:r,props:i}=t;if(e.isSvg||"svg"!==r||(e=Object.assign({},e,{isSvg:!0})),A=e.isSvg?document.createElementNS("http://www.w3.org/2000/svg",r):document.createElement(r),function(t,e,A){for(const r in e)if("key"!==r&&"children"!==r&&"ref"!==r)if("dangerouslySetInnerHTML"===r)t.innerHTML=e[r].__html;else if("innerHTML"===r||"textContent"===r||"innerText"===r||"value"===r&&["textarea","select"].includes(t.tagName)){const A=e[r];null!=A&&(t[r]=A)}else r.startsWith("on")?t[r.toLowerCase()]=e[r]:h(t,r,e[r],A.isSvg)}(A,i,e),i.children){let t=e;e.isSvg&&"foreignObject"===r&&(t=Object.assign({},t,{isSvg:!1}));const n=a(i.children,t);null!=n&&s(A,n)}const{ref:n}=i;return"function"==typeof n&&n(A),A}throw new Error("mount: Invalid Vnode!")}function g(t){return c(t)}const v="mm-toolbar-item";function d({title:t,content:e,onClick:A}){return r("div",{className:v,title:t,onClick:A,children:e})}let u;const m=class t{constructor(){this.showBrand=!0,this.registry={},this.el=g(r("div",{className:"mm-toolbar"})),this.items=[...t.defaultItems],this.register({id:"zoomIn",title:"Zoom in",content:t.icon("M9 5v4h-4v2h4v4h2v-4h4v-2h-4v-4z"),onClick:this.getHandler((t=>t.rescale(1.25)))}),this.register({id:"zoomOut",title:"Zoom out",content:t.icon("M5 9h10v2h-10z"),onClick:this.getHandler((t=>t.rescale(.8)))}),this.register({id:"fit",title:"Fit window size",content:t.icon("M4 7h2v-2h2v4h-4zM4 13h2v2h2v-4h-4zM16 7h-2v-2h-2v4h4zM16 13h-2v2h-2v-4h4z"),onClick:this.getHandler((t=>t.fit()))}),this.register({id:"recurse",title:"Toggle recursively",content:t.icon("M16 4h-12v12h12v-8h-8v4h2v-2h4v4h-8v-8h10z"),onClick:t=>{var e;const A=t.target.closest(`.${v}`),r=null==A?void 0:A.classList.toggle("active");null==(e=this.markmap)||e.setOptions({toggleRecursively:r})}}),this.register({id:"dark",title:"Toggle dark theme",content:t.icon("M10 4a6 6 0 0 0 0 12a6 6 0 0 0 0 -12v2a4 4 0 0 1 0 8z"),onClick:()=>{document.documentElement.classList.toggle("markmap-dark")}}),this.render()}static create(e){const A=new t;return A.attach(e),A}static icon(t,e={}){return e={stroke:"none",fill:"currentColor","fill-rule":"evenodd",...e},r("svg",{width:"20",height:"20",viewBox:"0 0 20 20",children:r("path",{...e,d:t})})}setBrand(t){return this.showBrand=t,this.render()}register(t){this.registry[t.id]=t}getHandler(t){var e;return e=t,t=async(...t)=>{if(!u){u=e(...t);try{await u}finally{u=void 0}}},()=>{this.markmap&&t(this.markmap)}}setItems(t){return this.items=[...t],this.render()}attach(t){this.markmap=t}render(){const t=this.items.map((t=>{if("string"==typeof t){const e=this.registry[t];return e||console.warn(`[markmap-toolbar] ${t} not found`),e}return t})).filter(Boolean);for(;this.el.firstChild;)this.el.firstChild.remove();return this.el.append(g(i(n,{children:[this.showBrand&&i("a",{className:"mm-toolbar-brand",href:"https://markmap.js.org/",children:[r("img",{alt:"markmap",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAACoFBMVEUAAAAAAAD//wAAAACAgAD//wAAAABVVQCqqgBAQACAQACAgABmZgBtbQAAAABgQABgYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaFQAAAAAAAAAAAAAAAAAHAAARBQIdGAIYEwI/OgJYUQUfHQI+OgJDPgJJRARBPQRJQgRRSwRRTQRIQQRUTgRUUARZUgRSTQRPSQRjWgZORQRfWQZsZAhTTQRNRwRWUAZkXAZOSARUTgZPRwRRSQRoYwZWUQZWTgRbUwZmXQZoXghmXwdqYwdsYwdfVwVmXQdqYgdiWgVpYAl3bgl6cgl4cAqLggw8OAOWjA2Uig1OSAR2bQihlg55cAh5cAh6cQmMgwyOhAyUjA2QhQ2Uiw2Viw2soBCflA+voxGwpRGhlg+hlg+snxGroBGjmBCpnBC0pxKyphKxpRG2qhK0qBK5rBK5rBP/7h3/8B7/8R3/8h3/8R7/8h786x397B3+7R3EtxT66Rz66hz76hz86xz96xz97Bz+7Rz45xz56Bz76hz97Bz97B3MvRX15Rv25Rv45xz66Rz76hz97B3+7R3IuxX05Bv15Bv25Rz56Bz66Ry/sxPAsxPCtRTCthTNvxbZyxfczxfi0xjl1Rnn2Bnr2xrr3Brs3Rru3Rru3xrv3hrw3xrx4Bvx4Rvy4hvz4hvz4xv04xv05Bv14xv15Bv15Rv25Bv25Rv25Rz25hv35hv35xv45xv45xz55xz56Bv56Bz66Rv66Rz76Rv76Rz76hz86hv86xz+7h3/7R3/7h3/7x3/8B3/8B7/8R3/8R4Yqhj5AAAAq3RSTlMAAQECAgIDAwMEBAQFBwgICAwQERITFRYXGBkbHB0eHyQlJyguNTg8RUZISU5PV2FiY2RlZmdqa2xubnJzc3R2d3d3eXl5eXp7fH1+gIGCgoKDg4SEhIWGh4eHiYmJjIyMjZSUlJ+sra+zt7i4uru8ztHV1tbW2d7g4OHi4uPk5ufp7Ozv9fX29/f3+Pj6+vr7+/v7+/v7+/z8/Pz8/f39/f39/f3+/v7+/v7K6J1dAAACHklEQVQ4y2NgwAoYWdi5uLm5GXHIcrLCmMzYpDmAhKCKjoGtp40MFhVsDAwSxmmVEzZu2XvqSLkchjw3g0h445Ybd24vmTN1Usd5X3R5DgaNqgN35sycP2/GxMkTMRVwMOivvtO3YsWUm3duX790EcMKdgbNNXdnnJh1+9T6ipzU+FB0RzIyiFYB5WdfaElUF8TmTQ6GwH39J2bvypMHcpg4MAKKkUGo5s6KWRfyGRh4WJClGEGBCgS8DLobliy/3abMwM8NBYwQjXDgf3ryxOspyKYyg+RFTFwdnYDAzbrw+oLFm9Ot3J3AwNHFTBykQrhg++GDh48cOXzk4P6VZy8s230MyAGCwwcP7iyRBJpiur1n8hQIWHX27NkLi6bAwOSuow5ABeY7OydOhoCFIAULe6E8YFCf8QAqEC86evniZTA4tfLsuRXHr0E4ly9ePF0uC3KnpH1MZBQQxPoVgxyZ5RMdBQaRMc6yIEcihWbQGaA3k9G8CfQoN0pAtSoxCMACihk9qGtBQZ2LHtRIkRUMiqwd2TJADiswsrjQlAGju/o+MLrPNkWo8mFN1ewMWmvBCebQ0rKMJG87QzF0FRwMRuvugpLcrXu3rp7Zs61UCtMZ2nVHbk+fMX/+jMmTp3Sf9MLiULG45q237txaPG3yxPYrYQzYMo60RWbD3E27Ll68Uq+AK+uJqOlZBiSEKGLNnMA0iDfzwrI/NKgBOivk9piPdtUAAAAASUVORK5CYII="}),r("span",{children:"markmap"})]}),t.map(d)]}))),this.el}};m.defaultItems=["zoomIn","zoomOut","fit","recurse","dark"];let f=m;t.Toolbar=f,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(this.markmap=this.markmap||{});
-//# sourceMappingURL=/sm/571b88618f99827ab8ae85efa381e3933ac067d6c68a0f0b0b24075722ae75ff.map
\ No newline at end of file
diff --git a/mineru/cli/static/markmap/markmap-view.js b/mineru/cli/static/markmap/markmap-view.js
deleted file mode 100644
index ce1b666..0000000
--- a/mineru/cli/static/markmap/markmap-view.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Minified by jsDelivr using Terser v5.39.0.
- * Original file: /npm/markmap-view@0.18.12/dist/browser/index.js
- *
- * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
- */
-!function(t,e){"use strict";const n=Math.random().toString(36).slice(2,8);let r=0;function i(){}function a(t,e){const n=(t,r)=>e(t,(()=>{var e;return null==(e=t.children)?void 0:e.map((e=>n(e,t)))}),r);return n(t)}function s(){const t={};return t.promise=new Promise(((e,n)=>{t.resolve=e,t.reject=n})),t}
-/*! @gera2ld/jsx-dom v2.2.2 | ISC License */
-const o="http://www.w3.org/1999/xlink",l={show:o,actuate:o,href:o};function h(t,e,...n){return function(t,e){let n;if("string"==typeof t)n=1;else{if("function"!=typeof t)throw new Error("Invalid VNode type");n=2}return{vtype:n,type:t,props:e}}(t,e=Object.assign({},e,{children:1===n.length?n[0]:n}))}function c(t){return t.children}const d={isSvg:!1};function p(t,e){Array.isArray(e)||(e=[e]),(e=e.filter(Boolean)).length&&t.append(...e)}const u={className:"class",labelFor:"for"};function g(t,e,n,r){if(e=u[e]||e,!0===n)t.setAttribute(e,"");else if(!1===n)t.removeAttribute(e);else{const i=r?l[e]:void 0;void 0!==i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}}function m(t,e){return Array.isArray(t)?t.map((t=>m(t,e))).reduce(((t,e)=>t.concat(e)),[]):f(t,e)}function f(t,e=d){if(null==t||"boolean"==typeof t)return null;if(t instanceof Node)return t;if(2===(null==(n=t)?void 0:n.vtype)){const{type:n,props:r}=t;if(n===c){const t=document.createDocumentFragment();if(r.children){p(t,m(r.children,e))}return t}return f(n(r),e)}var n;if((t=>"string"==typeof t||"number"==typeof t)(t))return document.createTextNode(`${t}`);if((t=>1===(null==t?void 0:t.vtype))(t)){let n;const{type:r,props:i}=t;if(e.isSvg||"svg"!==r||(e=Object.assign({},e,{isSvg:!0})),n=e.isSvg?document.createElementNS("http://www.w3.org/2000/svg",r):document.createElement(r),function(t,e,n){for(const r in e)if("key"!==r&&"children"!==r&&"ref"!==r)if("dangerouslySetInnerHTML"===r)t.innerHTML=e[r].__html;else if("innerHTML"===r||"textContent"===r||"innerText"===r||"value"===r&&["textarea","select"].includes(t.tagName)){const n=e[r];null!=n&&(t[r]=n)}else r.startsWith("on")?t[r.toLowerCase()]=e[r]:g(t,r,e[r],n.isSvg)}(n,i,e),i.children){let t=e;e.isSvg&&"foreignObject"===r&&(t=Object.assign({},t,{isSvg:!1}));const a=m(i.children,t);null!=a&&p(n,a)}const{ref:a}=i;return"function"==typeof a&&a(n),n}throw new Error("mount: Invalid Vnode!")}function v(...t){return f(h(...t))}const y=function(t){const e={};return function(...n){const r=`${n[0]}`;let i=e[r];return i||(i={value:t(...n)},e[r]=i),i.value}}((t=>{document.head.append(v("link",{rel:"preload",as:"script",href:t}))})),x={},k={};async function w(t,e){var n;const r="script"===t.type&&(null==(n=t.data)?void 0:n.src)||"";if(t.loaded||(t.loaded=x[r]),!t.loaded){const n=s();if(t.loaded=n.promise,"script"===t.type&&(document.head.append(v("script",{...t.data,onLoad:()=>n.resolve(),onError:n.reject})),r?x[r]=t.loaded:n.resolve()),"iife"===t.type){const{fn:r,getParams:i}=t.data;r(...(null==i?void 0:i(e))||[]),n.resolve()}}await t.loaded}const b="undefined"!=typeof navigator&&navigator.userAgent.includes("Macintosh"),z=e.scaleOrdinal(e.schemeCategory10),S=(t=1,e=3,n=2)=>r=>t+e/n**r.state.depth,E={autoFit:!1,duration:500,embedGlobalCSS:!0,fitRatio:.95,maxInitialScale:2,scrollForPan:b,initialExpandLevel:-1,zoom:!0,pan:!0,toggleRecursively:!1,color:t=>{var e;return z(`${(null==(e=t.state)?void 0:e.path)||""}`)},lineWidth:S(),maxWidth:0,nodeMinHeight:16,paddingX:8,spacingHorizontal:80,spacingVertical:5};function C(t){let e=0;for(let n=0;n>>0).toString(36)}function X(t){if("string"==typeof t){const e=t;t=t=>t.matches(e)}const e=t;return function(){let t=Array.from(this.childNodes);return e&&(t=t.filter((t=>e(t)))),t}}function A(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function j(t,e){var n,r,i,a,s,o=new M(t),l=+t.value&&(o.value=t.value),h=[o];for(null==e&&(e=R);n=h.pop();)if(l&&(n.value=+n.data.value),(i=e(n.data))&&(s=i.length))for(n.children=new Array(s),a=s-1;a>=0;--a)h.push(r=n.children[a]=new M(i[a])),r.parent=n,r.depth=n.depth+1;return o.eachBefore($)}function R(t){return t.children}function O(t){t.data=t.data.data}function $(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function M(t){this.data=t,this.depth=this.height=0,this.parent=null}M.prototype=j.prototype={constructor:M,count:function(){return this.eachAfter(A)},each:function(t){var e,n,r,i,a=this,s=[a];do{for(e=s.reverse(),s=[];a=e.pop();)if(t(a),n=a.children)for(r=0,i=n.length;r=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter((function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;t=n.pop(),e=r.pop();for(;t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each((function(e){t.push(e)})),t},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e},copy:function(){return j(this).eachBefore(O)}};const T={version:"2.1.2"},{version:H}=T,B=Object.freeze({children:t=>t.children,nodeSize:t=>t.data.size,spacing:0});function _(t){const e=Object.assign({},B,t);function n(t){const n=e[t];return"function"==typeof n?n:()=>n}function r(t){const e=a(function(){const t=i(),e=n("nodeSize"),r=n("spacing");return class extends t{constructor(t){super(t),Object.assign(this,{x:0,y:0,relX:0,prelim:0,shift:0,change:0,lExt:this,lExtRelX:0,lThr:null,rExt:this,rExtRelX:0,rThr:null})}get size(){return e(this.data)}spacing(t){return r(this.data,t.data)}get x(){return this.data.x}set x(t){this.data.x=t}get y(){return this.data.y}set y(t){this.data.y=t}update(){return N(this),D(this),this}}}(),t,(t=>t.children));return e.update(),e.data}function i(){const t=n("nodeSize"),e=n("spacing");return class n extends j.prototype.constructor{constructor(t){super(t)}copy(){const t=a(this.constructor,this,(t=>t.children));return t.each((t=>t.data=t.data.data)),t}get size(){return t(this)}spacing(t){return e(this,t)}get nodes(){return this.descendants()}get xSize(){return this.size[0]}get ySize(){return this.size[1]}get top(){return this.y}get bottom(){return this.y+this.ySize}get left(){return this.x-this.xSize/2}get right(){return this.x+this.xSize/2}get root(){const t=this.ancestors();return t[t.length-1]}get numChildren(){return this.hasChildren?this.children.length:0}get hasChildren(){return!this.noChildren}get noChildren(){return null===this.children}get firstChild(){return this.hasChildren?this.children[0]:null}get lastChild(){return this.hasChildren?this.children[this.numChildren-1]:null}get extents(){return(this.children||[]).reduce(((t,e)=>n.maxExtents(t,e.extents)),this.nodeExtents)}get nodeExtents(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}static maxExtents(t,e){return{top:Math.min(t.top,e.top),bottom:Math.max(t.bottom,e.bottom),left:Math.min(t.left,e.left),right:Math.max(t.right,e.right)}}}}function a(t,e,n){const r=(e,i)=>{const a=new t(e);Object.assign(a,{parent:i,depth:null===i?0:i.depth+1,height:0,length:1});const s=n(e)||[];return a.children=0===s.length?null:s.map((t=>r(t,a))),a.children&&Object.assign(a,a.children.reduce(((t,e)=>({height:Math.max(t.height,e.height+1),length:t.length+e.length})),a)),a};return r(e,null)}return Object.assign(r,{nodeSize(t){return arguments.length?(e.nodeSize=t,r):e.nodeSize},spacing(t){return arguments.length?(e.spacing=t,r):e.spacing},children(t){return arguments.length?(e.children=t,r):e.children},hierarchy(t,n){const r=void 0===n?e.children:n;return a(i(),t,r)},dump(t){const e=n("nodeSize"),r=t=>n=>{const i=t+"  ",a=t+"    ",{x:s,y:o}=n,l=e(n),h=n.children||[],c=0===h.length?" ":`,${i}children: [${a}${h.map(r(a)).join(a)}${i}],${t}`;return`{ size: [${l.join(", ")}],${i}x: ${s}, y: ${o}${c}},`};return r("\n")(t)}}),r}_.version=H;const N=(t,e=0)=>(t.y=e,(t.children||[]).reduce(((e,n)=>{const[r,i]=e;N(n,t.y+t.ySize);const a=(0===r?n.lExt:n.rExt).bottom;0!==r&&W(t,r,i);return[r+1,Z(a,r,i)]}),[0,null]),L(t),G(t),t),D=(t,e,n)=>{void 0===e&&(e=-t.relX-t.prelim,n=0);const r=e+t.relX;return t.relX=r+t.prelim-n,t.prelim=0,t.x=n+t.relX,(t.children||[]).forEach((e=>D(e,r,t.x))),t},L=t=>{(t.children||[]).reduce(((t,e)=>{const[n,r]=t,i=n+e.shift,a=r+i+e.change;return e.relX+=a,[i,a]}),[0,0])},W=(t,e,n)=>{const r=t.children[e-1],i=t.children[e];let a=r,s=r.relX,o=i,l=i.relX,h=!0;for(;a&&o;){a.bottom>n.lowY&&(n=n.next);const r=s+a.prelim-(l+o.prelim)+a.xSize/2+o.xSize/2+a.spacing(o);(r>0||r<0&&h)&&(l+=r,F(i,r),P(t,e,n.index,r)),h=!1;const c=a.bottom,d=o.bottom;c<=d&&(a=V(a),a&&(s+=a.relX)),c>=d&&(o=I(o),o&&(l+=o.relX))}!a&&o?K(t,e,o,l):a&&!o&&Y(t,e,a,s)},F=(t,e)=>{t.relX+=e,t.lExtRelX+=e,t.rExtRelX+=e},P=(t,e,n,r)=>{const i=t.children[e],a=e-n;if(a>1){const e=r/a;t.children[n+1].shift+=e,i.shift-=e,i.change-=r-e}},I=t=>t.hasChildren?t.firstChild:t.lThr,V=t=>t.hasChildren?t.lastChild:t.rThr,K=(t,e,n,r)=>{const i=t.firstChild,a=i.lExt,s=t.children[e];a.lThr=n;const o=r-n.relX-i.lExtRelX;a.relX+=o,a.prelim-=o,i.lExt=s.lExt,i.lExtRelX=s.lExtRelX},Y=(t,e,n,r)=>{const i=t.children[e],a=i.rExt,s=t.children[e-1];a.rThr=n;const o=r-n.relX-i.rExtRelX;a.relX+=o,a.prelim-=o,i.rExt=s.rExt,i.rExtRelX=s.rExtRelX},G=t=>{if(t.hasChildren){const e=t.firstChild,n=t.lastChild,r=(e.prelim+e.relX-e.xSize/2+n.relX+n.prelim+n.xSize/2)/2;Object.assign(t,{prelim:r,lExt:e.lExt,lExtRelX:e.lExtRelX,rExt:n.rExt,rExtRelX:n.rExtRelX})}},Z=(t,e,n)=>{for(;null!==n&&t>=n.lowY;)n=n.next;return{lowY:t,index:e,next:n}},q=".markmap {\n  --markmap-max-width: 9999px;\n  --markmap-a-color: #0097e6;\n  --markmap-a-hover-color: #00a8ff;\n  --markmap-code-bg: #f0f0f0;\n  --markmap-code-color: #555;\n  --markmap-highlight-bg: #ffeaa7;\n  --markmap-table-border: 1px solid currentColor;\n  --markmap-font: 300 16px/20px sans-serif;\n  --markmap-circle-open-bg: #fff;\n  --markmap-text-color: #333;\n  --markmap-highlight-node-bg: #ff02;\n\n  font: var(--markmap-font);\n  color: var(--markmap-text-color);\n}\n\n  .markmap-link {\n    fill: none;\n  }\n\n  .markmap-node > circle {\n      cursor: pointer;\n    }\n\n  .markmap-foreign {\n    display: inline-block;\n  }\n\n  .markmap-foreign p {\n      margin: 0;\n    }\n\n  .markmap-foreign a {\n      color: var(--markmap-a-color);\n    }\n\n  .markmap-foreign a:hover {\n        color: var(--markmap-a-hover-color);\n      }\n\n  .markmap-foreign code {\n      padding: 0.25em;\n      font-size: calc(1em - 2px);\n      color: var(--markmap-code-color);\n      background-color: var(--markmap-code-bg);\n      border-radius: 2px;\n    }\n\n  .markmap-foreign pre {\n      margin: 0;\n    }\n\n  .markmap-foreign pre > code {\n        display: block;\n      }\n\n  .markmap-foreign del {\n      text-decoration: line-through;\n    }\n\n  .markmap-foreign em {\n      font-style: italic;\n    }\n\n  .markmap-foreign strong {\n      font-weight: bold;\n    }\n\n  .markmap-foreign mark {\n      background: var(--markmap-highlight-bg);\n    }\n\n  .markmap-foreign table,\n    .markmap-foreign th,\n    .markmap-foreign td {\n      border-collapse: collapse;\n      border: var(--markmap-table-border);\n    }\n\n  .markmap-foreign img {\n      display: inline-block;\n    }\n\n  .markmap-foreign svg {\n      fill: currentColor;\n    }\n\n  .markmap-foreign > div {\n      width: var(--markmap-max-width);\n      text-align: left;\n    }\n\n  .markmap-foreign > div > div {\n        display: inline-block;\n      }\n\n  .markmap-highlight rect {\n    fill: var(--markmap-highlight-node-bg);\n  }\n\n.markmap-dark .markmap {\n  --markmap-code-bg: #1a1b26;\n  --markmap-code-color: #ddd;\n  --markmap-circle-open-bg: #444;\n  --markmap-text-color: #eee;\n}\n",J=q,Q="g.markmap-node",U=e.linkHorizontal();function tt(t,n){return t[e.minIndex(t,n)]}function et(t){t.stopPropagation()}const nt=new class{constructor(){this.listeners=[]}tap(t){return this.listeners.push(t),()=>this.revoke(t)}revoke(t){const e=this.listeners.indexOf(t);e>=0&&this.listeners.splice(e,1)}revokeAll(){this.listeners.splice(0)}call(...t){for(const e of this.listeners)e(...t)}};class rt{constructor(t,i){this.options={...E},this._disposeList=[],this.handleZoom=t=>{const{transform:e}=t;this.g.attr("transform",e)},this.handlePan=t=>{t.preventDefault();const n=e.zoomTransform(this.svg.node()),r=n.translate(-t.deltaX/n.k,-t.deltaY/n.k);this.svg.call(this.zoom.transform,r)},this.handleClick=(t,e)=>{let n=this.options.toggleRecursively;(b?t.metaKey:t.ctrlKey)&&(n=!n),this.toggleNode(e,n)},this.ensureView=this.ensureVisible,this.svg=t.datum?t:e.select(t),this.styleNode=this.svg.append("style"),this.zoom=e.zoom().filter((t=>this.options.scrollForPan&&"wheel"===t.type?t.ctrlKey&&!t.button:!(t.ctrlKey&&"wheel"!==t.type||t.button))).on("zoom",this.handleZoom),this.setOptions(i),this.state={id:this.options.id||this.svg.attr("id")||(r+=1,`mm-${n}-${r}`),rect:{x1:0,y1:0,x2:0,y2:0}},this.g=this.svg.append("g"),this.g.append("g").attr("class","markmap-highlight"),this._observer=new ResizeObserver(function(t,e){const n={timer:0};function r(){n.timer&&(window.clearTimeout(n.timer),n.timer=0)}function i(){r(),n.args&&(n.result=t(...n.args))}return function(...t){return r(),n.args=t,n.timer=window.setTimeout(i,e),n.result}}((()=>{this.renderData()}),100)),this._disposeList.push(nt.tap((()=>{this.setData()})),(()=>this._observer.disconnect()))}getStyleContent(){const{style:t}=this.options,{id:e}=this.state,n="function"==typeof t?t(e):"";return[this.options.embedGlobalCSS&&q,n].filter(Boolean).join("\n")}updateStyle(){this.svg.attr("class",function(t,...e){const n=(t||"").split(" ").filter(Boolean);return e.forEach((t=>{t&&n.indexOf(t)<0&&n.push(t)})),n.join(" ")}(this.svg.attr("class"),"markmap",this.state.id));const t=this.getStyleContent();this.styleNode.text(t)}async toggleNode(t,e=!1){var n,r;const i=(null==(n=t.payload)?void 0:n.fold)?0:1;e?a(t,((t,e)=>{t.payload={...t.payload,fold:i},e()})):t.payload={...t.payload,fold:(null==(r=t.payload)?void 0:r.fold)?0:1},await this.renderData(t)}_initializeData(t){let e=0;const{color:n,initialExpandLevel:r}=this.options;let i=0,s=0;return a(t,((t,a,o)=>{var l,h,c,d;s+=1,t.children=null==(l=t.children)?void 0:l.map((t=>({...t}))),e+=1,t.state={...t.state,depth:s,id:e,rect:{x:0,y:0,width:0,height:0},size:[0,0]},t.state.key=[null==(h=null==o?void 0:o.state)?void 0:h.id,t.state.id].filter(Boolean).join(".")+C(t.content),t.state.path=[null==(c=null==o?void 0:o.state)?void 0:c.path,t.state.id].filter(Boolean).join("."),n(t);const p=2===(null==(d=t.payload)?void 0:d.fold);p?i+=1:(i||r>=0&&t.state.depth>=r)&&(t.payload={...t.payload,fold:1}),a(),p&&(i-=1),s-=1})),t}_relayout(){if(!this.state.data)return;this.g.selectAll(X(Q)).selectAll(X("foreignObject")).each((function(t){var e;const n=null==(e=this.firstChild)?void 0:e.firstChild,r=[n.scrollWidth,n.scrollHeight];t.state.size=r}));const{lineWidth:t,paddingX:n,spacingHorizontal:r,spacingVertical:i}=this.options,a=_({}).children((t=>{var e;if(!(null==(e=t.payload)?void 0:e.fold))return t.children})).nodeSize((t=>{const[e,i]=t.data.state.size;return[i,e+(e?2*n:0)+r]})).spacing(((e,n)=>(e.parent===n.parent?i:2*i)+t(e.data))),s=a.hierarchy(this.state.data);a(s);const o=s.descendants();o.forEach((t=>{t.data.state.rect={x:t.y,y:t.x-t.xSize/2,width:t.ySize-r,height:t.xSize}})),this.state.rect={x1:e.min(o,(t=>t.data.state.rect.x))||0,y1:e.min(o,(t=>t.data.state.rect.y))||0,x2:e.max(o,(t=>t.data.state.rect.x+t.data.state.rect.width))||0,y2:e.max(o,(t=>t.data.state.rect.y+t.data.state.rect.height))||0}}setOptions(t){this.options={...this.options,...t},this.options.zoom?this.svg.call(this.zoom):this.svg.on(".zoom",null),this.options.pan?this.svg.on("wheel",this.handlePan):this.svg.on("wheel",null)}async setData(t,e){e&&this.setOptions(e),t&&(this.state.data=this._initializeData(t)),this.state.data&&(this.updateStyle(),await this.renderData())}async setHighlight(t){this.state.highlight=t||void 0,await this.renderData()}_getHighlightRect(t){const n=this.svg.node(),r=4/e.zoomTransform(n).k,i={...t.state.rect};return i.x-=r,i.y-=r,i.width+=2*r,i.height+=2*r,i}async renderData(t){const{paddingX:e,autoFit:n,color:r,maxWidth:i,lineWidth:s}=this.options,o=this.state.data;if(!o)return;const l={},h={},c=[];a(o,((t,e,n)=>{var r;(null==(r=t.payload)?void 0:r.fold)||e(),l[t.state.id]=t,n&&(h[t.state.id]=n.state.id),c.push(t)}));const d={},p={},u=t=>{t&&!d[t.state.id]&&a(t,((e,n)=>{d[e.state.id]=t.state.id,n()}))},g=t=>p[d[t.state.id]]||o.state.rect,m=t=>(l[d[t.state.id]]||o).state.rect;p[o.state.id]=o.state.rect,t&&u(t);let{highlight:f}=this.state;f&&!l[f.state.id]&&(f=void 0);let v=this.g.selectAll(X("g.markmap-highlight")).selectAll(X("rect")).data(f?[this._getHighlightRect(f)]:[]).join("rect").attr("x",(t=>t.x)).attr("y",(t=>t.y)).attr("width",(t=>t.width)).attr("height",(t=>t.height));const y=this.g.selectAll(X(Q)).each((t=>{p[t.state.id]=t.state.rect})).data(c,(t=>t.state.key)),x=y.enter().append("g").attr("data-depth",(t=>t.state.depth)).attr("data-path",(t=>t.state.path)).each((t=>{u(l[h[t.state.id]])})),k=y.exit().each((t=>{u(l[h[t.state.id]])})),w=y.merge(x).attr("class",(t=>{var e;return["markmap-node",(null==(e=t.payload)?void 0:e.fold)&&"markmap-fold"].filter(Boolean).join(" ")})),b=w.selectAll(X("line")).data((t=>[t]),(t=>t.state.key)),z=b.enter().append("line").attr("stroke",(t=>r(t))).attr("stroke-width",0),S=b.merge(z),E=w.selectAll(X("circle")).data((t=>{var e;return(null==(e=t.children)?void 0:e.length)?[t]:[]}),(t=>t.state.key)),C=E.enter().append("circle").attr("stroke-width",0).attr("r",0).on("click",((t,e)=>this.handleClick(t,e))).on("mousedown",et).merge(E).attr("stroke",(t=>r(t))).attr("fill",(t=>{var e;return(null==(e=t.payload)?void 0:e.fold)&&t.children?r(t):"var(--markmap-circle-open-bg)"})),A=this._observer,j=w.selectAll(X("foreignObject")).data((t=>[t]),(t=>t.state.key)),R=j.enter().append("foreignObject").attr("class","markmap-foreign").attr("x",e).attr("y",0).style("opacity",0).on("mousedown",et).on("dblclick",et);R.append("xhtml:div").append("xhtml:div").html((t=>t.content)).attr("xmlns","http://www.w3.org/1999/xhtml"),R.each((function(){var t;const e=null==(t=this.firstChild)?void 0:t.firstChild;A.observe(e)}));const O=k.selectAll(X("foreignObject"));O.each((function(){var t;const e=null==(t=this.firstChild)?void 0:t.firstChild;A.unobserve(e)}));const $=R.merge(j),M=c.flatMap((t=>{var e;return(null==(e=t.payload)?void 0:e.fold)?[]:t.children.map((e=>({source:t,target:e})))})),T=this.g.selectAll(X("path.markmap-link")).data(M,(t=>t.target.state.key)),H=T.exit(),B=T.enter().insert("path","g").attr("class","markmap-link").attr("data-depth",(t=>t.target.state.depth)).attr("data-path",(t=>t.target.state.path)).attr("d",(t=>{const e=g(t.target),n=[e.x+e.width,e.y+e.height];return U({source:n,target:n})})).attr("stroke-width",0).merge(T);this.svg.style("--markmap-max-width",i?`${i}px`:null),await new Promise(requestAnimationFrame),this._relayout(),v=v.data(f?[this._getHighlightRect(f)]:[]).join("rect"),this.transition(v).attr("x",(t=>t.x)).attr("y",(t=>t.y)).attr("width",(t=>t.width)).attr("height",(t=>t.height)),x.attr("transform",(t=>{const e=g(t);return`translate(${e.x+e.width-t.state.rect.width},${e.y+e.height-t.state.rect.height})`})),this.transition(k).attr("transform",(t=>{const e=m(t);return`translate(${e.x+e.width-t.state.rect.width},${e.y+e.height-t.state.rect.height})`})).remove(),this.transition(w).attr("transform",(t=>`translate(${t.state.rect.x},${t.state.rect.y})`));const _=k.selectAll(X("line"));this.transition(_).attr("x1",(t=>t.state.rect.width)).attr("stroke-width",0),z.attr("x1",(t=>t.state.rect.width)).attr("x2",(t=>t.state.rect.width)),S.attr("y1",(t=>t.state.rect.height+s(t)/2)).attr("y2",(t=>t.state.rect.height+s(t)/2)),this.transition(S).attr("x1",-1).attr("x2",(t=>t.state.rect.width+2)).attr("stroke",(t=>r(t))).attr("stroke-width",s);const N=k.selectAll(X("circle"));this.transition(N).attr("r",0).attr("stroke-width",0),C.attr("cx",(t=>t.state.rect.width)).attr("cy",(t=>t.state.rect.height+s(t)/2)),this.transition(C).attr("r",6).attr("stroke-width","1.5"),this.transition(O).style("opacity",0),$.attr("width",(t=>Math.max(0,t.state.rect.width-2*e))).attr("height",(t=>t.state.rect.height)),this.transition($).style("opacity",1),this.transition(H).attr("d",(t=>{const e=m(t.target),n=[e.x+e.width,e.y+e.height+s(t.target)/2];return U({source:n,target:n})})).attr("stroke-width",0).remove(),this.transition(B).attr("stroke",(t=>r(t.target))).attr("stroke-width",(t=>s(t.target))).attr("d",(t=>{const e=t.source,n=t.target,r=[e.state.rect.x+e.state.rect.width,e.state.rect.y+e.state.rect.height+s(e)/2],i=[n.state.rect.x,n.state.rect.y+n.state.rect.height+s(n)/2];return U({source:r,target:i})})),n&&this.fit()}transition(t){const{duration:e}=this.options;return t.transition().duration(e)}async fit(t=this.options.maxInitialScale){const n=this.svg.node(),{width:r,height:a}=n.getBoundingClientRect(),{fitRatio:s}=this.options,{x1:o,y1:l,x2:h,y2:c}=this.state.rect,d=h-o,p=c-l,u=Math.min(r/d*s,a/p*s,t),g=e.zoomIdentity.translate((r-d*u)/2-o*u,(a-p*u)/2-l*u).scale(u);return this.transition(this.svg).call(this.zoom.transform,g).end().catch(i)}findElement(t){let e;return this.g.selectAll(X(Q)).each((function(n){n===t&&(e={data:n,g:this})})),e}async ensureVisible(t,n){var r;const a=null==(r=this.findElement(t))?void 0:r.data;if(!a)return;const s=this.svg.node(),o=s.getBoundingClientRect(),l=e.zoomTransform(s),[h,c]=[a.state.rect.x,a.state.rect.x+a.state.rect.width+2].map((t=>t*l.k+l.x)),[d,p]=[a.state.rect.y,a.state.rect.y+a.state.rect.height].map((t=>t*l.k+l.y)),u={left:0,right:0,top:0,bottom:0,...n},g=[u.left-h,o.width-u.right-c],m=[u.top-d,o.height-u.bottom-p],f=g[0]*g[1]>0?tt(g,Math.abs)/l.k:0,v=m[0]*m[1]>0?tt(m,Math.abs)/l.k:0;if(f||v){const t=l.translate(f,v);return this.transition(this.svg).call(this.zoom.transform,t).end().catch(i)}}async centerNode(t,n){var r;const a=null==(r=this.findElement(t))?void 0:r.data;if(!a)return;const s=this.svg.node(),o=s.getBoundingClientRect(),l=e.zoomTransform(s),h=(a.state.rect.x+a.state.rect.width/2)*l.k+l.x,c=(a.state.rect.y+a.state.rect.height/2)*l.k+l.y,d={left:0,right:0,top:0,bottom:0,...n},p=(d.left+o.width-d.right)/2,u=(d.top+o.height-d.bottom)/2,g=(p-h)/l.k,m=(u-c)/l.k;if(g||m){const t=l.translate(g,m);return this.transition(this.svg).call(this.zoom.transform,t).end().catch(i)}}async rescale(t){const n=this.svg.node(),{width:r,height:a}=n.getBoundingClientRect(),s=r/2,o=a/2,l=e.zoomTransform(n),h=l.translate((s-l.x)*(1-t)/l.k,(o-l.y)*(1-t)/l.k).scale(t);return this.transition(this.svg).call(this.zoom.transform,h).end().catch(i)}destroy(){this.svg.on(".zoom",null),this.svg.html(null),this._disposeList.forEach((t=>{t()}))}static create(t,e,n=null){const r=new rt(t,e);return n&&r.setData(n).then((()=>{r.fit()})),r}}t.Markmap=rt,t.childSelector=X,t.defaultColorFn=z,t.defaultOptions=E,t.deriveOptions=function(t){const n={},r={...t},{color:i,colorFreezeLevel:a,lineWidth:s}=r;if(1===(null==i?void 0:i.length)){const t=i[0];n.color=()=>t}else if(null==i?void 0:i.length){const t=e.scaleOrdinal(i);n.color=e=>t(`${e.state.path}`)}if(a){const t=n.color||E.color;n.color=e=>(e={...e,state:{...e.state,path:e.state.path.split(".").slice(0,a).join(".")}},t(e))}if(s){const t=Array.isArray(s)?s:[s,0,1];n.lineWidth=S(...t)}return["duration","fitRatio","initialExpandLevel","maxInitialScale","maxWidth","nodeMinHeight","paddingX","spacingHorizontal","spacingVertical"].forEach((t=>{const e=r[t];"number"==typeof e&&(n[t]=e)})),["zoom","pan"].forEach((t=>{const e=r[t];null!=e&&(n[t]=!!e)})),n},t.globalCSS=J,t.isMacintosh=b,t.lineWidthFactory=S,t.loadCSS=async function(t){await Promise.all(t.map((t=>async function(t){const e="stylesheet"===t.type&&t.data.href||"";if(t.loaded||(t.loaded=k[e]),!t.loaded){const n=s();t.loaded=n.promise,e&&(k[e]=t.loaded),"style"===t.type?(document.head.append(v("style",{textContent:t.data})),n.resolve()):e&&(document.head.append(v("link",{rel:"stylesheet",...t.data})),fetch(e).then((t=>{if(t.ok)return t.text();throw t})).then((()=>n.resolve()),n.reject))}await t.loaded}(t))))},t.loadJS=async function(t,e){t.forEach((t=>{var e;"script"===t.type&&(null==(e=t.data)?void 0:e.src)&&y(t.data.src)})),e={getMarkmap:()=>window.markmap,...e};for(const n of t)await w(n,e)},t.refreshHook=nt,t.simpleHash=C,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(this.markmap=this.markmap||{},d3);
-//# sourceMappingURL=/sm/110abf9063f6ee4fb04c8b1324a7593e2b618205c89e4a3ba636f91260ce2b5d.map
\ No newline at end of file
diff --git a/mineru/cli/static/web/assets/index-B_viQAxH.css b/mineru/cli/static/web/assets/index-B_viQAxH.css
deleted file mode 100644
index f05f35b..0000000
--- a/mineru/cli/static/web/assets/index-B_viQAxH.css
+++ /dev/null
@@ -1 +0,0 @@
-@charset "UTF-8";:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645,.045,.355,1);--el-transition-function-fast-bezier:cubic-bezier(.23,1,.32,1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px;color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:rgb(121,187,255);--el-color-primary-light-5:rgb(160,207,255);--el-color-primary-light-7:rgb(198,226,255);--el-color-primary-light-8:rgb(217,236,255);--el-color-primary-light-9:rgb(236,245,255);--el-color-primary-dark-2:rgb(51,126,204);--el-color-success:#67c23a;--el-color-success-light-3:rgb(149,212,117);--el-color-success-light-5:rgb(179,225,157);--el-color-success-light-7:rgb(209,237,196);--el-color-success-light-8:rgb(225,243,216);--el-color-success-light-9:rgb(240,249,235);--el-color-success-dark-2:rgb(82,155,46);--el-color-warning:#e6a23c;--el-color-warning-light-3:rgb(238,190,119);--el-color-warning-light-5:rgb(243,209,158);--el-color-warning-light-7:rgb(248,227,197);--el-color-warning-light-8:rgb(250,236,216);--el-color-warning-light-9:rgb(253,246,236);--el-color-warning-dark-2:rgb(184,130,48);--el-color-danger:#f56c6c;--el-color-danger-light-3:rgb(248,152,152);--el-color-danger-light-5:rgb(250,182,182);--el-color-danger-light-7:rgb(252,211,211);--el-color-danger-light-8:rgb(253,226,226);--el-color-danger-light-9:rgb(254,240,240);--el-color-danger-dark-2:rgb(196,86,86);--el-color-error:#f56c6c;--el-color-error-light-3:rgb(248,152,152);--el-color-error-light-5:rgb(250,182,182);--el-color-error-light-7:rgb(252,211,211);--el-color-error-light-8:rgb(253,226,226);--el-color-error-light-9:rgb(254,240,240);--el-color-error-dark-2:rgb(196,86,86);--el-color-info:#909399;--el-color-info-light-3:rgb(177,179,184);--el-color-info-light-5:rgb(200,201,204);--el-color-info-light-7:rgb(222,223,224);--el-color-info-light-8:rgb(233,233,235);--el-color-info-light-9:rgb(244,244,245);--el-color-info-dark-2:rgb(115,118,122);--el-bg-color:#ffffff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#ffffff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#ffffff;--el-box-shadow:0px 12px 32px 4px rgba(0,0,0,.04),0px 8px 20px rgba(0,0,0,.08);--el-box-shadow-light:0px 0px 12px rgba(0,0,0,.12);--el-box-shadow-lighter:0px 0px 6px rgba(0,0,0,.12);--el-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,.08),0px 12px 32px rgba(0,0,0,.12),0px 8px 16px -8px rgba(0,0,0,.16);--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:rgba(0,0,0,.8);--el-overlay-color-light:rgba(0,0,0,.7);--el-overlay-color-lighter:rgba(0,0,0,.5);--el-mask-color:rgba(255,255,255,.9);--el-mask-color-extra-light:rgba(255,255,255,.3);--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transform-origin:center top;transition:var(--el-transition-md-fade)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transform-origin:center bottom;transition:var(--el-transition-md-fade)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transform-origin:top left;transition:var(--el-transition-md-fade)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.el-icon{--color:inherit;align-items:center;color:var(--color);display:inline-flex;fill:currentColor;font-size:inherit;height:1em;justify-content:center;line-height:1em;position:relative;width:1em}.el-icon.is-loading{animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}.el-affix--fixed{position:fixed}.el-alert{--el-alert-padding:8px 16px;--el-alert-border-radius-base:var(--el-border-radius-base);--el-alert-title-font-size:14px;--el-alert-title-with-description-font-size:16px;--el-alert-description-font-size:14px;--el-alert-close-font-size:16px;--el-alert-close-customed-font-size:14px;--el-alert-icon-size:16px;--el-alert-icon-large-size:28px;align-items:center;background-color:var(--el-color-white);border-radius:var(--el-alert-border-radius-base);box-sizing:border-box;display:flex;margin:0;opacity:1;overflow:hidden;padding:var(--el-alert-padding);position:relative;transition:opacity var(--el-transition-duration-fast);width:100%}.el-alert.is-light .el-alert__close-btn{color:var(--el-text-color-placeholder)}.el-alert.is-dark .el-alert__close-btn,.el-alert.is-dark .el-alert__description{color:var(--el-color-white)}.el-alert.is-center{justify-content:center}.el-alert--primary{--el-alert-bg-color:var(--el-color-primary-light-9)}.el-alert--primary.is-light{background-color:var(--el-alert-bg-color)}.el-alert--primary.is-light,.el-alert--primary.is-light .el-alert__description{color:var(--el-color-primary)}.el-alert--primary.is-dark{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-alert--success{--el-alert-bg-color:var(--el-color-success-light-9)}.el-alert--success.is-light{background-color:var(--el-alert-bg-color)}.el-alert--success.is-light,.el-alert--success.is-light .el-alert__description{color:var(--el-color-success)}.el-alert--success.is-dark{background-color:var(--el-color-success);color:var(--el-color-white)}.el-alert--info{--el-alert-bg-color:var(--el-color-info-light-9)}.el-alert--info.is-light{background-color:var(--el-alert-bg-color)}.el-alert--info.is-light,.el-alert--info.is-light .el-alert__description{color:var(--el-color-info)}.el-alert--info.is-dark{background-color:var(--el-color-info);color:var(--el-color-white)}.el-alert--warning{--el-alert-bg-color:var(--el-color-warning-light-9)}.el-alert--warning.is-light{background-color:var(--el-alert-bg-color)}.el-alert--warning.is-light,.el-alert--warning.is-light .el-alert__description{color:var(--el-color-warning)}.el-alert--warning.is-dark{background-color:var(--el-color-warning);color:var(--el-color-white)}.el-alert--error{--el-alert-bg-color:var(--el-color-error-light-9)}.el-alert--error.is-light{background-color:var(--el-alert-bg-color)}.el-alert--error.is-light,.el-alert--error.is-light .el-alert__description{color:var(--el-color-error)}.el-alert--error.is-dark{background-color:var(--el-color-error);color:var(--el-color-white)}.el-alert__content{display:flex;flex-direction:column;gap:4px}.el-alert .el-alert__icon{font-size:var(--el-alert-icon-size);margin-right:8px;width:var(--el-alert-icon-size)}.el-alert .el-alert__icon.is-big{font-size:var(--el-alert-icon-large-size);margin-right:12px;width:var(--el-alert-icon-large-size)}.el-alert__title{font-size:var(--el-alert-title-font-size);line-height:24px}.el-alert__title.with-description{font-size:var(--el-alert-title-with-description-font-size)}.el-alert .el-alert__description{font-size:var(--el-alert-description-font-size);margin:0}.el-alert .el-alert__close-btn{cursor:pointer;font-size:var(--el-alert-close-font-size);opacity:1;position:absolute;right:16px;top:12px}.el-alert .el-alert__close-btn.is-customed{font-size:var(--el-alert-close-customed-font-size);font-style:normal;line-height:24px;top:8px}.el-alert-fade-enter-from,.el-alert-fade-leave-active{opacity:0}.el-aside{box-sizing:border-box;flex-shrink:0;overflow:auto;width:var(--el-aside-width,300px)}.el-autocomplete{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;display:inline-block;position:relative;width:var(--el-input-width)}.el-autocomplete__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-autocomplete__popper.el-popper,.el-autocomplete__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-autocomplete__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-autocomplete-suggestion{border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-autocomplete-suggestion__header{border-bottom:1px solid var(--el-border-color-lighter);padding:10px}.el-autocomplete-suggestion__footer{border-top:1px solid var(--el-border-color-lighter);padding:10px}.el-autocomplete-suggestion__wrap{box-sizing:border-box;max-height:280px;padding:10px 0}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-base);line-height:34px;list-style:none;margin:0;overflow:hidden;padding:0 20px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-autocomplete-suggestion li.highlighted,.el-autocomplete-suggestion li:hover{background-color:var(--el-fill-color-light)}.el-autocomplete-suggestion li.divider{border-top:1px solid var(--el-color-black);margin-top:6px}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{align-items:center;color:var(--el-text-color-secondary);cursor:default;display:flex;font-size:20px;height:100px;justify-content:center}.el-autocomplete-suggestion.is-loading li:hover{background-color:var(--el-bg-color-overlay)}.el-avatar{--el-avatar-text-color:var(--el-color-white);--el-avatar-bg-color:var(--el-text-color-disabled);--el-avatar-text-size:14px;--el-avatar-icon-size:18px;--el-avatar-border-radius:var(--el-border-radius-base);--el-avatar-size-large:56px;--el-avatar-size-small:24px;--el-avatar-size:40px;align-items:center;background:var(--el-avatar-bg-color);box-sizing:border-box;color:var(--el-avatar-text-color);display:inline-flex;font-size:var(--el-avatar-text-size);height:var(--el-avatar-size);justify-content:center;outline:none;overflow:hidden;text-align:center;width:var(--el-avatar-size)}.el-avatar>img{display:block;height:100%;width:100%}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:var(--el-avatar-border-radius)}.el-avatar--icon{font-size:var(--el-avatar-icon-size)}.el-avatar--small{--el-avatar-size:24px}.el-avatar--large{--el-avatar-size:56px}.el-avatar-group{--el-avatar-group-item-gap:-8px;--el-avatar-group-collapse-item-gap:4px;display:inline-flex}.el-avatar-group .el-avatar{border:1px solid var(--el-border-color-extra-light)}.el-avatar-group .el-avatar:not(:first-child){margin-left:var(--el-avatar-group-item-gap)}.el-avatar-group__collapse-avatars{--el-avatar-group-item-gap:-8px;--el-avatar-group-collapse-item-gap:4px}.el-avatar-group__collapse-avatars .el-avatar:not(:first-child){margin-left:var(--el-avatar-group-collapse-item-gap)}.el-backtop{--el-backtop-bg-color:var(--el-bg-color-overlay);--el-backtop-text-color:var(--el-color-primary);--el-backtop-hover-bg-color:var(--el-border-color-extra-light);align-items:center;background-color:var(--el-backtop-bg-color);border-radius:50%;box-shadow:var(--el-box-shadow-lighter);color:var(--el-backtop-text-color);cursor:pointer;display:flex;font-size:20px;height:40px;justify-content:center;position:fixed;width:40px;z-index:5}.el-backtop:hover{background-color:var(--el-backtop-hover-bg-color)}.el-backtop__icon{font-size:20px}.el-badge{--el-badge-bg-color:var(--el-color-danger);--el-badge-radius:10px;--el-badge-font-size:12px;--el-badge-padding:6px;--el-badge-size:18px;display:inline-block;position:relative;vertical-align:middle;width:-moz-fit-content;width:fit-content}.el-badge__content{align-items:center;background-color:var(--el-badge-bg-color);border:1px solid var(--el-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:inline-flex;font-size:var(--el-badge-font-size);height:var(--el-badge-size);justify-content:center;padding:0 var(--el-badge-padding);white-space:nowrap}.el-badge__content.is-fixed{position:absolute;right:calc(1px + var(--el-badge-size)/2);top:0;transform:translateY(-50%) translate(100%);z-index:var(--el-index-normal)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{border-radius:50%;height:8px;padding:0;right:0;width:8px}.el-badge__content.is-hide-zero{display:none}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-breadcrumb__separator{color:var(--el-text-color-placeholder);font-weight:700;margin:0 9px}.el-breadcrumb__separator.el-icon{font-weight:400;margin:0 6px}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{align-items:center;display:inline-flex;float:left}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner a,.el-breadcrumb__inner.is-link{color:var(--el-text-color-primary);font-weight:700;text-decoration:none;transition:var(--el-transition-color)}.el-breadcrumb__inner a:hover,.el-breadcrumb__inner.is-link:hover{color:var(--el-color-primary);cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{color:var(--el-text-color-regular);cursor:text;font-weight:400}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:after,.el-breadcrumb:before{content:"";display:table}.el-breadcrumb:after{clear:both}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child:last-child{border-bottom-left-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-top-right-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button.is-active,.el-button-group>.el-button:active,.el-button-group>.el-button:focus,.el-button-group>.el-button:hover{z-index:1}.el-button-group--horizontal{display:inline-block;vertical-align:middle}.el-button-group--horizontal:after,.el-button-group--horizontal:before{content:"";display:table}.el-button-group--horizontal:after{clear:both}.el-button-group--horizontal>.el-button{float:left;position:relative}.el-button-group--horizontal>.el-button:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.el-button-group--horizontal>.el-button:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.el-button-group--horizontal>.el-button:not(:last-child){margin-right:-1px}.el-button-group--horizontal .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal>.el-dropdown>.el-button{border-bottom-left-radius:0;border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0}.el-button-group--vertical{align-items:stretch;display:inline-flex;flex-direction:column}.el-button-group--vertical>.el-button{margin-top:-1px}.el-button-group--vertical>.el-button:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.el-button-group--vertical>.el-button:last-child{border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical>.el-dropdown{margin-top:-1px}.el-button-group--vertical>.el-dropdown>.el-button{border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical .el-button--primary:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:rgba(255,255,255,.5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-hover-link-text-color:var(--el-text-color-secondary);--el-button-active-color:var(--el-text-color-primary);align-items:center;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);box-sizing:border-box;color:var(--el-button-text-color);cursor:pointer;display:inline-flex;font-weight:var(--el-button-font-weight);height:32px;justify-content:center;line-height:1;outline:none;text-align:center;transition:.1s;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-button:hover{background-color:var(--el-button-hover-bg-color);border-color:var(--el-button-hover-border-color);color:var(--el-button-hover-text-color);outline:none}.el-button:active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button>span{align-items:center;display:inline-flex}.el-button+.el-button{margin-left:12px}.el-button{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base)}.el-button,.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button.is-disabled,.el-button.is-disabled:hover{background-color:var(--el-button-disabled-bg-color);background-image:none;border-color:var(--el-button-disabled-border-color);color:var(--el-button-disabled-text-color);cursor:not-allowed}.el-button.is-loading{pointer-events:none;position:relative}.el-button.is-loading:before{background-color:var(--el-mask-color-extra-light);border-radius:inherit;bottom:-1px;content:"";left:-1px;pointer-events:none;position:absolute;right:-1px;top:-1px;z-index:1}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-dashed{border-style:dashed;--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-circle{border-radius:50%;padding:8px;width:32px}.el-button.is-text{background-color:transparent;border:0 solid transparent;color:var(--el-button-text-color)}.el-button.is-text.is-disabled{background-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{background:transparent;border-color:transparent;color:var(--el-button-text-color);height:auto;padding:2px}.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-link:not(.is-disabled):active,.el-button.is-link:not(.is-disabled):hover{background-color:transparent;border-color:transparent}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color)}.el-button--text{background:transparent;border-color:transparent;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button--text:not(.is-disabled):hover{background-color:transparent;border-color:transparent;color:var(--el-color-primary-light-3)}.el-button--text:not(.is-disabled):active{background-color:transparent;border-color:transparent;color:var(--el-color-primary-dark-2)}.el-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-active-color:var(--el-color-primary-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-primary-light-5);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-link,.el-button--primary.is-plain,.el-button--primary.is-text{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-link.is-disabled,.el-button--primary.is-link.is-disabled:active,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:hover,.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:hover{background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8);color:var(--el-color-primary-light-5)}.el-button--primary.is-dashed{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-text-color:var(--el-color-primary-dark-2);--el-button-active-bg-color:var(--el-color-primary-light-9);--el-button-active-border-color:var(--el-color-primary-dark-2)}.el-button--primary.is-dashed.is-disabled,.el-button--primary.is-dashed.is-disabled:active,.el-button--primary.is-dashed.is-disabled:focus,.el-button--primary.is-dashed.is-disabled:hover{background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8);color:var(--el-color-primary-light-5)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-outline-color:var(--el-color-success-light-5);--el-button-active-color:var(--el-color-success-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-success-light-5);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-link,.el-button--success.is-plain,.el-button--success.is-text{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-link.is-disabled,.el-button--success.is-link.is-disabled:active,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:hover,.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:active,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:hover{background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8);color:var(--el-color-success-light-5)}.el-button--success.is-dashed{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-success);--el-button-hover-bg-color:var(--el-color-success-light-9);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-text-color:var(--el-color-success-dark-2);--el-button-active-bg-color:var(--el-color-success-light-9);--el-button-active-border-color:var(--el-color-success-dark-2)}.el-button--success.is-dashed.is-disabled,.el-button--success.is-dashed.is-disabled:active,.el-button--success.is-dashed.is-disabled:focus,.el-button--success.is-dashed.is-disabled:hover{background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8);color:var(--el-color-success-light-5)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-outline-color:var(--el-color-warning-light-5);--el-button-active-color:var(--el-color-warning-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-warning-light-5);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-link,.el-button--warning.is-plain,.el-button--warning.is-text{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-link.is-disabled,.el-button--warning.is-link.is-disabled:active,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:hover,.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:hover{background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8);color:var(--el-color-warning-light-5)}.el-button--warning.is-dashed{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-warning);--el-button-hover-bg-color:var(--el-color-warning-light-9);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-text-color:var(--el-color-warning-dark-2);--el-button-active-bg-color:var(--el-color-warning-light-9);--el-button-active-border-color:var(--el-color-warning-dark-2)}.el-button--warning.is-dashed.is-disabled,.el-button--warning.is-dashed.is-disabled:active,.el-button--warning.is-dashed.is-disabled:focus,.el-button--warning.is-dashed.is-disabled:hover{background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8);color:var(--el-color-warning-light-5)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-outline-color:var(--el-color-danger-light-5);--el-button-active-color:var(--el-color-danger-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-danger-light-5);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-link,.el-button--danger.is-plain,.el-button--danger.is-text{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-link.is-disabled,.el-button--danger.is-link.is-disabled:active,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:hover,.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:hover{background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8);color:var(--el-color-danger-light-5)}.el-button--danger.is-dashed{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-danger);--el-button-hover-bg-color:var(--el-color-danger-light-9);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-text-color:var(--el-color-danger-dark-2);--el-button-active-bg-color:var(--el-color-danger-light-9);--el-button-active-border-color:var(--el-color-danger-dark-2)}.el-button--danger.is-dashed.is-disabled,.el-button--danger.is-dashed.is-disabled:active,.el-button--danger.is-dashed.is-disabled:focus,.el-button--danger.is-dashed.is-disabled:hover{background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8);color:var(--el-color-danger-light-5)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-outline-color:var(--el-color-info-light-5);--el-button-active-color:var(--el-color-info-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-info-light-5);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-link,.el-button--info.is-plain,.el-button--info.is-text{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-link.is-disabled,.el-button--info.is-link.is-disabled:active,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:hover,.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:active,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:hover{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);color:var(--el-color-info-light-5)}.el-button--info.is-dashed{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-info);--el-button-hover-bg-color:var(--el-color-info-light-9);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-text-color:var(--el-color-info-dark-2);--el-button-active-bg-color:var(--el-color-info-light-9);--el-button-active-border-color:var(--el-color-info-dark-2)}.el-button--info.is-dashed.is-disabled,.el-button--info.is-dashed.is-disabled:active,.el-button--info.is-dashed.is-disabled:focus,.el-button--info.is-dashed.is-disabled:hover{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);color:var(--el-color-info-light-5)}.el-button--large{--el-button-size:40px;height:var(--el-button-size)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base);padding:12px 19px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{padding:12px;width:var(--el-button-size)}.el-button--small{--el-button-size:24px;height:var(--el-button-size)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:12px;padding:5px 11px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{padding:5px;width:var(--el-button-size)}.el-calendar{--el-calendar-border:var(--el-table-border,1px solid var(--el-border-color-lighter));--el-calendar-header-border-bottom:var(--el-calendar-border);--el-calendar-selected-bg-color:var(--el-color-primary-light-9);--el-calendar-cell-width:85px;background-color:var(--el-fill-color-blank)}.el-calendar__header{border-bottom:var(--el-calendar-header-border-bottom);display:flex;justify-content:space-between;padding:12px 20px}.el-calendar__title{align-self:center;color:var(--el-text-color)}.el-calendar__body{padding:12px 20px 35px}.el-calendar__select-controller .el-select{margin-right:8px}.el-calendar__select-controller .el-calendar-select__year{width:120px}.el-calendar__select-controller .el-calendar-select__month{width:60px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{color:var(--el-text-color-regular);font-weight:400;padding:12px 0}.el-calendar-table:not(.is-range) td.next,.el-calendar-table:not(.is-range) td.prev{color:var(--el-text-color-placeholder)}.el-calendar-table td{border-bottom:var(--el-calendar-border);border-right:var(--el-calendar-border);transition:background-color var(--el-transition-duration-fast) ease;vertical-align:top}.el-calendar-table td.is-selected{background-color:var(--el-calendar-selected-bg-color)}.el-calendar-table td.is-today{color:var(--el-color-primary)}.el-calendar-table tr:first-child td{border-top:var(--el-calendar-border)}.el-calendar-table tr td:first-child{border-left:var(--el-calendar-border)}.el-calendar-table tr.el-calendar-table__row--hide-border td{border-top:none}.el-calendar-table .el-calendar-day{box-sizing:border-box;height:var(--el-calendar-cell-width);padding:8px}.el-calendar-table .el-calendar-day:hover{background-color:var(--el-calendar-selected-bg-color);cursor:pointer}.el-card{--el-card-border-color:var(--el-border-color-light);--el-card-border-radius:4px;--el-card-padding:20px;--el-card-bg-color:var(--el-fill-color-blank);background-color:var(--el-card-bg-color);border:1px solid var(--el-card-border-color);border-radius:var(--el-card-border-radius);color:var(--el-text-color-primary);display:flex;flex-direction:column;overflow:hidden;transition:var(--el-transition-duration)}.el-card.is-always-shadow,.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover{box-shadow:var(--el-box-shadow-light)}.el-card__header{border-bottom:1px solid var(--el-card-border-color);box-sizing:border-box;padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding)}.el-card__body{flex-grow:1;overflow:auto;padding:var(--el-card-padding)}.el-card__footer{border-top:1px solid var(--el-card-border-color);box-sizing:border-box;padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding)}.el-carousel__item{display:inline-block;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.el-carousel__item,.el-carousel__item.is-active{z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item--card,.el-carousel__item.is-animating{transition:transform .4s ease-in-out}.el-carousel__item--card{width:50%}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:var(--el-index-normal)}.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask,.el-carousel__item--card.is-in-stage:hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:calc(var(--el-index-normal) + 1)}.el-carousel__item--card-vertical{height:50%;width:100%}.el-carousel__mask{background-color:var(--el-color-white);height:100%;left:0;opacity:.24;position:absolute;top:0;transition:var(--el-transition-duration-fast);width:100%}.el-carousel{--el-carousel-arrow-font-size:12px;--el-carousel-arrow-size:36px;--el-carousel-arrow-background:rgba(31,45,61,.11);--el-carousel-arrow-hover-background:rgba(31,45,61,.23);--el-carousel-indicator-width:30px;--el-carousel-indicator-height:2px;--el-carousel-indicator-padding-horizontal:4px;--el-carousel-indicator-padding-vertical:12px;--el-carousel-indicator-out-color:var(--el-border-color-hover);position:relative}.el-carousel--horizontal,.el-carousel--vertical{overflow:hidden}.el-carousel.is-vertical-outside{align-items:center;display:flex;flex-direction:row}.el-carousel.is-vertical-outside .el-carousel__container{flex:1}.el-carousel__container{height:300px;position:relative}.el-carousel__arrow{align-items:center;background-color:var(--el-carousel-arrow-background);border:none;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;font-size:var(--el-carousel-arrow-font-size);height:var(--el-carousel-arrow-size);justify-content:center;margin:0;outline:none;padding:0;position:absolute;text-align:center;top:50%;transform:translateY(-50%);transition:var(--el-transition-duration);width:var(--el-carousel-arrow-size);z-index:10}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__arrow:hover{background-color:var(--el-carousel-arrow-hover-background)}.el-carousel__arrow i{cursor:pointer}.el-carousel__indicators{list-style:none;margin:0;padding:0;position:absolute;z-index:calc(var(--el-index-normal) + 1)}.el-carousel__indicators--horizontal{bottom:0;left:50%;transform:translate(-50%)}.el-carousel__indicators--vertical{right:0;top:50%;transform:translateY(-50%)}.el-carousel__indicators--outside{position:static;text-align:center;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:var(--el-carousel-indicator-out-color);opacity:.24}.el-carousel__indicators--right{right:0}.el-carousel__indicators--labels .el-carousel__button{color:#000;font-size:12px;padding:2px 18px}.el-carousel__indicators--labels .el-carousel__indicator{padding:6px 4px}.el-carousel__indicator{background-color:transparent;cursor:pointer}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator--horizontal{display:inline-block;padding:var(--el-carousel-indicator-padding-vertical) var(--el-carousel-indicator-padding-horizontal)}.el-carousel__indicator--vertical{padding:var(--el-carousel-indicator-padding-horizontal) var(--el-carousel-indicator-padding-vertical)}.el-carousel__indicator--vertical .el-carousel__button{height:calc(var(--el-carousel-indicator-width)/2);width:var(--el-carousel-indicator-height)}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{background-color:#fff;border:none;cursor:pointer;display:block;height:var(--el-carousel-indicator-height);margin:0;opacity:.48;outline:none;padding:0;transition:var(--el-transition-duration);width:var(--el-carousel-indicator-width)}.el-carousel__indicators--labels .el-carousel__button{height:auto;width:auto}.carousel-arrow-left-enter-from,.carousel-arrow-left-leave-active{opacity:0;transform:translateY(-50%) translate(-10px)}.carousel-arrow-right-enter-from,.carousel-arrow-right-leave-active{opacity:0;transform:translateY(-50%) translate(10px)}.el-transitioning{filter:url(#elCarouselHorizontal)}.el-transitioning-vertical{filter:url(#elCarouselVertical)}.el-cascader-panel{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);border-radius:var(--el-cascader-menu-radius);display:flex;font-size:var(--el-cascader-menu-font-size);width:-moz-fit-content;width:fit-content}.el-cascader-panel.is-bordered{border:var(--el-cascader-menu-border);border-radius:var(--el-cascader-menu-radius)}.el-cascader-menu{border-right:var(--el-cascader-menu-border);box-sizing:border-box;color:var(--el-cascader-menu-text-color);min-width:180px}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu:last-child .el-cascader-node{padding-right:20px}.el-cascader-menu__wrap.el-scrollbar__wrap{height:204px}.el-cascader-menu__list{box-sizing:border-box;list-style:none;margin:0;min-height:100%;padding:6px 0;position:relative}.el-cascader-menu__hover-zone{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.el-cascader-menu__empty-text{align-items:center;color:var(--el-cascader-color-empty);display:flex;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-cascader-menu__empty-text .is-loading{margin-right:2px}.el-cascader-node{align-items:center;display:flex;height:34px;line-height:34px;outline:none;padding:0 30px 0 20px;position:relative}.el-cascader-node.is-selectable.in-active-path{color:var(--el-cascader-menu-text-color)}.el-cascader-node.in-active-path,.el-cascader-node.is-active,.el-cascader-node.is-selectable.in-checked-path{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):focus,.el-cascader-node:not(.is-disabled):hover{background:var(--el-cascader-node-background-hover)}.el-cascader-node.is-disabled{color:var(--el-cascader-node-color-disabled);cursor:not-allowed}.el-cascader-node__prefix{left:10px;position:absolute}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{flex:1;overflow:hidden;padding:0 8px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-cascader-node>.el-checkbox,.el-cascader-node>.el-radio{margin-right:0}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-cascader{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);display:inline-block;font-size:var(--el-font-size-base);line-height:32px;outline:none;position:relative;vertical-align:middle}.el-cascader:not(.is-disabled):hover .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset;cursor:pointer}.el-cascader .el-input{cursor:pointer;display:flex}.el-cascader .el-input .el-input__inner{text-overflow:ellipsis}.el-cascader .el-input .el-input__inner:-moz-read-only{cursor:pointer}.el-cascader .el-input .el-input__inner:read-only{cursor:pointer}.el-cascader .el-input .el-input__inner:disabled{cursor:not-allowed}.el-cascader .el-input .el-input__suffix-inner .el-icon svg{vertical-align:middle}.el-cascader .el-input .icon-arrow-down{font-size:14px;transition:transform var(--el-transition-duration)}.el-cascader .el-input .icon-arrow-down.is-reverse{transform:rotate(180deg)}.el-cascader .el-input .icon-circle-close:hover{color:var(--el-input-clear-hover-color,var(--el-text-color-secondary))}.el-cascader .el-input.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-cascader--large{font-size:14px;line-height:40px}.el-cascader--large .el-cascader__tags{gap:6px;padding:8px}.el-cascader--large .el-cascader__search-input{height:24px;margin-left:7px}.el-cascader--small{font-size:12px;line-height:24px}.el-cascader--small .el-cascader__tags{gap:4px;padding:2px}.el-cascader--small .el-cascader__search-input{height:20px;margin-left:5px}.el-cascader.is-disabled .el-cascader__label{color:var(--el-disabled-text-color);z-index:calc(var(--el-index-normal) + 1)}.el-cascader__dropdown{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);border-radius:var(--el-cascader-menu-radius);font-size:var(--el-cascader-menu-font-size)}.el-cascader__dropdown.el-popper{background:var(--el-cascader-menu-fill)}.el-cascader__dropdown.el-popper,.el-cascader__dropdown.el-popper .el-popper__arrow:before{border:var(--el-cascader-menu-border)}.el-cascader__dropdown.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-cascader__dropdown.el-popper{box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__header{border-bottom:1px solid var(--el-border-color-light);padding:10px}.el-cascader__footer{border-top:1px solid var(--el-border-color-light);padding:10px}.el-cascader__tags{box-sizing:border-box;display:flex;flex-wrap:wrap;gap:6px;left:0;line-height:normal;padding:4px;position:absolute;right:30px;text-align:left;top:50%;transform:translateY(-50%)}.el-cascader__tags .el-tag{align-items:center;background:var(--el-cascader-tag-background);display:inline-flex;max-width:100%;text-overflow:ellipsis}.el-cascader__tags .el-tag.el-tag--dark,.el-cascader__tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__tags .el-tag>span{flex:1;line-height:normal;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__tags .el-tag+input{margin-left:0}.el-cascader__tags.is-validate{right:55px}.el-cascader__collapse-tags{white-space:normal;z-index:var(--el-index-normal)}.el-cascader__collapse-tags .el-tag{align-items:center;background:var(--el-fill-color);display:inline-flex;max-width:100%;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag.el-tag--dark,.el-cascader__collapse-tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__collapse-tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__collapse-tags .el-tag>span{flex:1;line-height:normal;overflow:hidden;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__collapse-tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__collapse-tags .el-tag+input{margin-left:0}.el-cascader__collapse-tags .el-tag{margin:2px 0}.el-cascader__suggestion-panel{border-radius:var(--el-cascader-menu-radius)}.el-cascader__suggestion-list{color:var(--el-cascader-menu-text-color);font-size:var(--el-font-size-base);margin:0;max-height:204px;padding:6px 0;text-align:center}.el-cascader__suggestion-item{align-items:center;cursor:pointer;display:flex;height:34px;justify-content:space-between;outline:none;padding:0 15px;text-align:left}.el-cascader__suggestion-item:focus,.el-cascader__suggestion-item:hover{background:var(--el-cascader-node-background-hover)}.el-cascader__suggestion-item.is-checked{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__empty-text{color:var(--el-cascader-color-empty);margin:10px 0}.el-cascader__search-input{background:transparent;border:none;box-sizing:border-box;color:var(--el-cascader-menu-text-color);flex:1;height:24px;margin-left:7px;min-width:60px;outline:none;padding:0}.el-cascader__search-input::-moz-placeholder{color:transparent}.el-cascader__search-input::placeholder{color:transparent}.el-check-tag{background-color:var(--el-color-info-light-9);border-radius:var(--el-border-radius-base);color:var(--el-color-info);cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:700;line-height:var(--el-font-size-base);padding:7px 15px;transition:var(--el-transition-all)}.el-check-tag:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--primary.is-checked{background-color:var(--el-color-primary-light-8);color:var(--el-color-primary)}.el-check-tag.el-check-tag--primary.is-checked:hover{background-color:var(--el-color-primary-light-7)}.el-check-tag.el-check-tag--primary.is-checked.is-disabled{background-color:var(--el-color-primary-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-checked.is-disabled:hover{background-color:var(--el-color-primary-light-8)}.el-check-tag.el-check-tag--primary.is-disabled{background-color:var(--el-color-info-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-disabled:hover{background-color:var(--el-color-info-light-9)}.el-check-tag.el-check-tag--success.is-checked{background-color:var(--el-color-success-light-8);color:var(--el-color-success)}.el-check-tag.el-check-tag--success.is-checked:hover{background-color:var(--el-color-success-light-7)}.el-check-tag.el-check-tag--success.is-checked.is-disabled{background-color:var(--el-color-success-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-checked.is-disabled:hover{background-color:var(--el-color-success-light-8)}.el-check-tag.el-check-tag--success.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-disabled,.el-check-tag.el-check-tag--success.is-disabled:hover{background-color:var(--el-color-success-light-9)}.el-check-tag.el-check-tag--warning.is-checked{background-color:var(--el-color-warning-light-8);color:var(--el-color-warning)}.el-check-tag.el-check-tag--warning.is-checked:hover{background-color:var(--el-color-warning-light-7)}.el-check-tag.el-check-tag--warning.is-checked.is-disabled{background-color:var(--el-color-warning-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-checked.is-disabled:hover{background-color:var(--el-color-warning-light-8)}.el-check-tag.el-check-tag--warning.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-disabled,.el-check-tag.el-check-tag--warning.is-disabled:hover{background-color:var(--el-color-warning-light-9)}.el-check-tag.el-check-tag--danger.is-checked{background-color:var(--el-color-danger-light-8);color:var(--el-color-danger)}.el-check-tag.el-check-tag--danger.is-checked:hover{background-color:var(--el-color-danger-light-7)}.el-check-tag.el-check-tag--danger.is-checked.is-disabled{background-color:var(--el-color-danger-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-checked.is-disabled:hover{background-color:var(--el-color-danger-light-8)}.el-check-tag.el-check-tag--danger.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-disabled,.el-check-tag.el-check-tag--danger.is-disabled:hover{background-color:var(--el-color-danger-light-9)}.el-check-tag.el-check-tag--error.is-checked{background-color:var(--el-color-error-light-8);color:var(--el-color-error)}.el-check-tag.el-check-tag--error.is-checked:hover{background-color:var(--el-color-error-light-7)}.el-check-tag.el-check-tag--error.is-checked.is-disabled{background-color:var(--el-color-error-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-checked.is-disabled:hover{background-color:var(--el-color-error-light-8)}.el-check-tag.el-check-tag--error.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-disabled,.el-check-tag.el-check-tag--error.is-disabled:hover{background-color:var(--el-color-error-light-9)}.el-check-tag.el-check-tag--info.is-checked{background-color:var(--el-color-info-light-8);color:var(--el-color-info)}.el-check-tag.el-check-tag--info.is-checked:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--info.is-checked.is-disabled{background-color:var(--el-color-info-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-checked.is-disabled:hover{background-color:var(--el-color-info-light-8)}.el-check-tag.el-check-tag--info.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-disabled,.el-check-tag.el-check-tag--info.is-disabled:hover{background-color:var(--el-color-info-light-9)}.el-checkbox-button{--el-checkbox-button-checked-bg-color:var(--el-color-primary);--el-checkbox-button-checked-text-color:var(--el-color-white);--el-checkbox-button-checked-border-color:var(--el-color-primary);--el-checkbox-button-disabled-checked-fill:var(--el-border-color-extra-light);display:inline-block;position:relative}.el-checkbox-button__inner{-webkit-appearance:none;background:var(--el-button-bg-color,var(--el-fill-color-blank));border-radius:0;box-sizing:border-box;color:var(--el-button-text-color,var(--el-text-color-regular));cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);line-height:1;margin:0;outline:var(--el-border);padding:8px 15px;position:relative;text-align:center;transition:var(--el-transition-all);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-checkbox-button__inner.is-round{padding:8px 15px}.el-checkbox-button__inner:hover{color:var(--el-color-primary)}.el-checkbox-button__inner [class*=el-icon-]{line-height:.9}.el-checkbox-button__inner [class*=el-icon-]+span{margin-left:5px}.el-checkbox-button__original{margin:0;opacity:0;outline:none;position:absolute;z-index:-1}.el-checkbox-button.is-checked .el-checkbox-button__inner{background-color:var(--el-checkbox-button-checked-bg-color);border-color:var(--el-checkbox-button-checked-border-color);box-shadow:-1px 0 0 0 var(--el-color-primary-light-7);color:var(--el-checkbox-button-checked-text-color)}.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button.is-disabled .el-checkbox-button__inner{background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));background-image:none;border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none;color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox-button.is-disabled:first-child .el-checkbox-button__inner{border-left-color:var(--el-button-disabled-border-color,var(--el-border-color-light))}.el-checkbox-button.is-disabled.is-checked .el-checkbox-button__inner{background-color:var(--el-checkbox-button-disabled-checked-fill)}.el-checkbox-button:first-child .el-checkbox-button__inner{border-bottom-left-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);box-shadow:none!important}.el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button:last-child .el-checkbox-button__inner{border-bottom-right-radius:var(--el-border-radius-base);border-top-right-radius:var(--el-border-radius-base)}.el-checkbox-button--large .el-checkbox-button__inner{border-radius:0;font-size:var(--el-font-size-base);padding:12px 19px}.el-checkbox-button--large .el-checkbox-button__inner.is-round{padding:12px 19px}.el-checkbox-button--small .el-checkbox-button__inner{border-radius:0;font-size:12px;padding:5px 11px}.el-checkbox-button--small .el-checkbox-button__inner.is-round{padding:5px 11px}.el-checkbox-group{font-size:0;line-height:0}.el-checkbox{--el-checkbox-font-size:14px;--el-checkbox-font-weight:var(--el-font-weight-primary);--el-checkbox-text-color:var(--el-text-color-regular);--el-checkbox-input-height:14px;--el-checkbox-input-width:14px;--el-checkbox-border-radius:var(--el-border-radius-small);--el-checkbox-bg-color:var(--el-fill-color-blank);--el-checkbox-input-border:var(--el-border);--el-checkbox-disabled-border-color:var(--el-border-color);--el-checkbox-disabled-input-fill:var(--el-fill-color-light);--el-checkbox-disabled-icon-color:var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill:var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color:var(--el-border-color);--el-checkbox-disabled-checked-icon-color:var(--el-text-color-placeholder);--el-checkbox-checked-text-color:var(--el-color-primary);--el-checkbox-checked-input-border-color:var(--el-color-primary);--el-checkbox-checked-bg-color:var(--el-color-primary);--el-checkbox-checked-icon-color:var(--el-color-white);--el-checkbox-input-border-color-hover:var(--el-color-primary);align-items:center;color:var(--el-checkbox-text-color);cursor:pointer;display:inline-flex;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);height:var(--el-checkbox-height,32px);margin-right:30px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-checkbox.is-disabled{cursor:not-allowed}.el-checkbox.is-bordered{border:var(--el-border);border-radius:var(--el-border-radius-base);box-sizing:border-box;padding:0 15px 0 9px}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter)}.el-checkbox.is-bordered.el-checkbox--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{border-radius:calc(var(--el-border-radius-base) - 1px);padding:0 11px 0 7px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox input:focus-visible+.el-checkbox__inner{border-radius:var(--el-checkbox-border-radius);outline:2px solid var(--el-checkbox-input-border-color-hover);outline-offset:1px}.el-checkbox__input{cursor:pointer;display:inline-flex;outline:none;position:relative;white-space:nowrap}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-icon-color);cursor:not-allowed;will-change:transform}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-checked-icon-color);transform:translate(-45%,-60%) rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus:not(.is-checked) .el-checkbox__original:not(:focus-visible){border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-checked-icon-color);content:"";display:block;height:2px;left:0;position:absolute;right:0;top:5px;transform:scale(.5)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{background-color:var(--el-checkbox-bg-color);border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;display:inline-block;height:var(--el-checkbox-input-height);position:relative;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46);width:var(--el-checkbox-input-width);z-index:var(--el-index-normal)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{border:1px solid transparent;border-left:0;border-top:0;box-sizing:content-box;content:"";height:7px;left:50%;position:absolute;top:50%;transform:translate(-45%,-60%) rotate(45deg) scaleY(0);transform-origin:center;transition:transform .15s ease-in .05s;width:3px}.el-checkbox__original{height:0;margin:0;opacity:0;outline:none;position:absolute;width:0;z-index:-1}.el-checkbox__label{display:inline-block;font-size:var(--el-checkbox-font-size);line-height:1;padding-left:8px}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox:last-of-type{margin-right:0}[class*=el-col-]{box-sizing:border-box}[class*=el-col-].is-guttered{display:block;min-height:1px}.el-col-0{flex:0 0 0%;max-width:0}.el-col-0,.el-col-0.is-guttered{display:none}.el-col-offset-0{margin-left:0}.el-col-pull-0{position:relative;right:0}.el-col-push-0{left:0;position:relative}.el-col-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-1,.el-col-1.is-guttered{display:block}.el-col-offset-1{margin-left:4.1666666667%}.el-col-pull-1{position:relative;right:4.1666666667%}.el-col-push-1{left:4.1666666667%;position:relative}.el-col-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-2,.el-col-2.is-guttered{display:block}.el-col-offset-2{margin-left:8.3333333333%}.el-col-pull-2{position:relative;right:8.3333333333%}.el-col-push-2{left:8.3333333333%;position:relative}.el-col-3{flex:0 0 12.5%;max-width:12.5%}.el-col-3,.el-col-3.is-guttered{display:block}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{left:12.5%;position:relative}.el-col-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-4,.el-col-4.is-guttered{display:block}.el-col-offset-4{margin-left:16.6666666667%}.el-col-pull-4{position:relative;right:16.6666666667%}.el-col-push-4{left:16.6666666667%;position:relative}.el-col-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-5,.el-col-5.is-guttered{display:block}.el-col-offset-5{margin-left:20.8333333333%}.el-col-pull-5{position:relative;right:20.8333333333%}.el-col-push-5{left:20.8333333333%;position:relative}.el-col-6{flex:0 0 25%;max-width:25%}.el-col-6,.el-col-6.is-guttered{display:block}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{left:25%;position:relative}.el-col-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-7,.el-col-7.is-guttered{display:block}.el-col-offset-7{margin-left:29.1666666667%}.el-col-pull-7{position:relative;right:29.1666666667%}.el-col-push-7{left:29.1666666667%;position:relative}.el-col-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-8,.el-col-8.is-guttered{display:block}.el-col-offset-8{margin-left:33.3333333333%}.el-col-pull-8{position:relative;right:33.3333333333%}.el-col-push-8{left:33.3333333333%;position:relative}.el-col-9{flex:0 0 37.5%;max-width:37.5%}.el-col-9,.el-col-9.is-guttered{display:block}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{left:37.5%;position:relative}.el-col-10{flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-10,.el-col-10.is-guttered{display:block}.el-col-offset-10{margin-left:41.6666666667%}.el-col-pull-10{position:relative;right:41.6666666667%}.el-col-push-10{left:41.6666666667%;position:relative}.el-col-11{flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-11,.el-col-11.is-guttered{display:block}.el-col-offset-11{margin-left:45.8333333333%}.el-col-pull-11{position:relative;right:45.8333333333%}.el-col-push-11{left:45.8333333333%;position:relative}.el-col-12{flex:0 0 50%;max-width:50%}.el-col-12,.el-col-12.is-guttered{display:block}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{left:50%;position:relative}.el-col-13{flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-13,.el-col-13.is-guttered{display:block}.el-col-offset-13{margin-left:54.1666666667%}.el-col-pull-13{position:relative;right:54.1666666667%}.el-col-push-13{left:54.1666666667%;position:relative}.el-col-14{flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-14,.el-col-14.is-guttered{display:block}.el-col-offset-14{margin-left:58.3333333333%}.el-col-pull-14{position:relative;right:58.3333333333%}.el-col-push-14{left:58.3333333333%;position:relative}.el-col-15{flex:0 0 62.5%;max-width:62.5%}.el-col-15,.el-col-15.is-guttered{display:block}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{left:62.5%;position:relative}.el-col-16{flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-16,.el-col-16.is-guttered{display:block}.el-col-offset-16{margin-left:66.6666666667%}.el-col-pull-16{position:relative;right:66.6666666667%}.el-col-push-16{left:66.6666666667%;position:relative}.el-col-17{flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-17,.el-col-17.is-guttered{display:block}.el-col-offset-17{margin-left:70.8333333333%}.el-col-pull-17{position:relative;right:70.8333333333%}.el-col-push-17{left:70.8333333333%;position:relative}.el-col-18{flex:0 0 75%;max-width:75%}.el-col-18,.el-col-18.is-guttered{display:block}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{left:75%;position:relative}.el-col-19{flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-19,.el-col-19.is-guttered{display:block}.el-col-offset-19{margin-left:79.1666666667%}.el-col-pull-19{position:relative;right:79.1666666667%}.el-col-push-19{left:79.1666666667%;position:relative}.el-col-20{flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-20,.el-col-20.is-guttered{display:block}.el-col-offset-20{margin-left:83.3333333333%}.el-col-pull-20{position:relative;right:83.3333333333%}.el-col-push-20{left:83.3333333333%;position:relative}.el-col-21{flex:0 0 87.5%;max-width:87.5%}.el-col-21,.el-col-21.is-guttered{display:block}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{left:87.5%;position:relative}.el-col-22{flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-22,.el-col-22.is-guttered{display:block}.el-col-offset-22{margin-left:91.6666666667%}.el-col-pull-22{position:relative;right:91.6666666667%}.el-col-push-22{left:91.6666666667%;position:relative}.el-col-23{flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-23,.el-col-23.is-guttered{display:block}.el-col-offset-23{margin-left:95.8333333333%}.el-col-pull-23{position:relative;right:95.8333333333%}.el-col-push-23{left:95.8333333333%;position:relative}.el-col-24{flex:0 0 100%;max-width:100%}.el-col-24,.el-col-24.is-guttered{display:block}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{left:100%;position:relative}@media only screen and (max-width:767px){.el-col-xs-0{display:none;flex:0 0 0%;max-width:0}.el-col-xs-0.is-guttered{display:none}.el-col-xs-offset-0{margin-left:0}.el-col-xs-pull-0{position:relative;right:0}.el-col-xs-push-0{left:0;position:relative}.el-col-xs-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xs-1,.el-col-xs-1.is-guttered{display:block}.el-col-xs-offset-1{margin-left:4.1666666667%}.el-col-xs-pull-1{position:relative;right:4.1666666667%}.el-col-xs-push-1{left:4.1666666667%;position:relative}.el-col-xs-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xs-2,.el-col-xs-2.is-guttered{display:block}.el-col-xs-offset-2{margin-left:8.3333333333%}.el-col-xs-pull-2{position:relative;right:8.3333333333%}.el-col-xs-push-2{left:8.3333333333%;position:relative}.el-col-xs-3{flex:0 0 12.5%;max-width:12.5%}.el-col-xs-3,.el-col-xs-3.is-guttered{display:block}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{left:12.5%;position:relative}.el-col-xs-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xs-4,.el-col-xs-4.is-guttered{display:block}.el-col-xs-offset-4{margin-left:16.6666666667%}.el-col-xs-pull-4{position:relative;right:16.6666666667%}.el-col-xs-push-4{left:16.6666666667%;position:relative}.el-col-xs-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xs-5,.el-col-xs-5.is-guttered{display:block}.el-col-xs-offset-5{margin-left:20.8333333333%}.el-col-xs-pull-5{position:relative;right:20.8333333333%}.el-col-xs-push-5{left:20.8333333333%;position:relative}.el-col-xs-6{flex:0 0 25%;max-width:25%}.el-col-xs-6,.el-col-xs-6.is-guttered{display:block}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{left:25%;position:relative}.el-col-xs-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xs-7,.el-col-xs-7.is-guttered{display:block}.el-col-xs-offset-7{margin-left:29.1666666667%}.el-col-xs-pull-7{position:relative;right:29.1666666667%}.el-col-xs-push-7{left:29.1666666667%;position:relative}.el-col-xs-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xs-8,.el-col-xs-8.is-guttered{display:block}.el-col-xs-offset-8{margin-left:33.3333333333%}.el-col-xs-pull-8{position:relative;right:33.3333333333%}.el-col-xs-push-8{left:33.3333333333%;position:relative}.el-col-xs-9{flex:0 0 37.5%;max-width:37.5%}.el-col-xs-9,.el-col-xs-9.is-guttered{display:block}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{left:37.5%;position:relative}.el-col-xs-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xs-10.is-guttered{display:block}.el-col-xs-offset-10{margin-left:41.6666666667%}.el-col-xs-pull-10{position:relative;right:41.6666666667%}.el-col-xs-push-10{left:41.6666666667%;position:relative}.el-col-xs-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xs-11.is-guttered{display:block}.el-col-xs-offset-11{margin-left:45.8333333333%}.el-col-xs-pull-11{position:relative;right:45.8333333333%}.el-col-xs-push-11{left:45.8333333333%;position:relative}.el-col-xs-12{display:block;flex:0 0 50%;max-width:50%}.el-col-xs-12.is-guttered{display:block}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{left:50%;position:relative}.el-col-xs-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xs-13.is-guttered{display:block}.el-col-xs-offset-13{margin-left:54.1666666667%}.el-col-xs-pull-13{position:relative;right:54.1666666667%}.el-col-xs-push-13{left:54.1666666667%;position:relative}.el-col-xs-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xs-14.is-guttered{display:block}.el-col-xs-offset-14{margin-left:58.3333333333%}.el-col-xs-pull-14{position:relative;right:58.3333333333%}.el-col-xs-push-14{left:58.3333333333%;position:relative}.el-col-xs-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-xs-15.is-guttered{display:block}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{left:62.5%;position:relative}.el-col-xs-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xs-16.is-guttered{display:block}.el-col-xs-offset-16{margin-left:66.6666666667%}.el-col-xs-pull-16{position:relative;right:66.6666666667%}.el-col-xs-push-16{left:66.6666666667%;position:relative}.el-col-xs-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xs-17.is-guttered{display:block}.el-col-xs-offset-17{margin-left:70.8333333333%}.el-col-xs-pull-17{position:relative;right:70.8333333333%}.el-col-xs-push-17{left:70.8333333333%;position:relative}.el-col-xs-18{display:block;flex:0 0 75%;max-width:75%}.el-col-xs-18.is-guttered{display:block}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{left:75%;position:relative}.el-col-xs-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xs-19.is-guttered{display:block}.el-col-xs-offset-19{margin-left:79.1666666667%}.el-col-xs-pull-19{position:relative;right:79.1666666667%}.el-col-xs-push-19{left:79.1666666667%;position:relative}.el-col-xs-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xs-20.is-guttered{display:block}.el-col-xs-offset-20{margin-left:83.3333333333%}.el-col-xs-pull-20{position:relative;right:83.3333333333%}.el-col-xs-push-20{left:83.3333333333%;position:relative}.el-col-xs-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-xs-21.is-guttered{display:block}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{left:87.5%;position:relative}.el-col-xs-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xs-22.is-guttered{display:block}.el-col-xs-offset-22{margin-left:91.6666666667%}.el-col-xs-pull-22{position:relative;right:91.6666666667%}.el-col-xs-push-22{left:91.6666666667%;position:relative}.el-col-xs-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xs-23.is-guttered{display:block}.el-col-xs-offset-23{margin-left:95.8333333333%}.el-col-xs-pull-23{position:relative;right:95.8333333333%}.el-col-xs-push-23{left:95.8333333333%;position:relative}.el-col-xs-24{display:block;flex:0 0 100%;max-width:100%}.el-col-xs-24.is-guttered{display:block}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{left:100%;position:relative}}@media only screen and (min-width:768px){.el-col-sm-0{display:none;flex:0 0 0%;max-width:0}.el-col-sm-0.is-guttered{display:none}.el-col-sm-offset-0{margin-left:0}.el-col-sm-pull-0{position:relative;right:0}.el-col-sm-push-0{left:0;position:relative}.el-col-sm-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-sm-1,.el-col-sm-1.is-guttered{display:block}.el-col-sm-offset-1{margin-left:4.1666666667%}.el-col-sm-pull-1{position:relative;right:4.1666666667%}.el-col-sm-push-1{left:4.1666666667%;position:relative}.el-col-sm-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-sm-2,.el-col-sm-2.is-guttered{display:block}.el-col-sm-offset-2{margin-left:8.3333333333%}.el-col-sm-pull-2{position:relative;right:8.3333333333%}.el-col-sm-push-2{left:8.3333333333%;position:relative}.el-col-sm-3{flex:0 0 12.5%;max-width:12.5%}.el-col-sm-3,.el-col-sm-3.is-guttered{display:block}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{left:12.5%;position:relative}.el-col-sm-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-sm-4,.el-col-sm-4.is-guttered{display:block}.el-col-sm-offset-4{margin-left:16.6666666667%}.el-col-sm-pull-4{position:relative;right:16.6666666667%}.el-col-sm-push-4{left:16.6666666667%;position:relative}.el-col-sm-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-sm-5,.el-col-sm-5.is-guttered{display:block}.el-col-sm-offset-5{margin-left:20.8333333333%}.el-col-sm-pull-5{position:relative;right:20.8333333333%}.el-col-sm-push-5{left:20.8333333333%;position:relative}.el-col-sm-6{flex:0 0 25%;max-width:25%}.el-col-sm-6,.el-col-sm-6.is-guttered{display:block}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{left:25%;position:relative}.el-col-sm-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-sm-7,.el-col-sm-7.is-guttered{display:block}.el-col-sm-offset-7{margin-left:29.1666666667%}.el-col-sm-pull-7{position:relative;right:29.1666666667%}.el-col-sm-push-7{left:29.1666666667%;position:relative}.el-col-sm-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-sm-8,.el-col-sm-8.is-guttered{display:block}.el-col-sm-offset-8{margin-left:33.3333333333%}.el-col-sm-pull-8{position:relative;right:33.3333333333%}.el-col-sm-push-8{left:33.3333333333%;position:relative}.el-col-sm-9{flex:0 0 37.5%;max-width:37.5%}.el-col-sm-9,.el-col-sm-9.is-guttered{display:block}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{left:37.5%;position:relative}.el-col-sm-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-sm-10.is-guttered{display:block}.el-col-sm-offset-10{margin-left:41.6666666667%}.el-col-sm-pull-10{position:relative;right:41.6666666667%}.el-col-sm-push-10{left:41.6666666667%;position:relative}.el-col-sm-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-sm-11.is-guttered{display:block}.el-col-sm-offset-11{margin-left:45.8333333333%}.el-col-sm-pull-11{position:relative;right:45.8333333333%}.el-col-sm-push-11{left:45.8333333333%;position:relative}.el-col-sm-12{display:block;flex:0 0 50%;max-width:50%}.el-col-sm-12.is-guttered{display:block}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{left:50%;position:relative}.el-col-sm-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-sm-13.is-guttered{display:block}.el-col-sm-offset-13{margin-left:54.1666666667%}.el-col-sm-pull-13{position:relative;right:54.1666666667%}.el-col-sm-push-13{left:54.1666666667%;position:relative}.el-col-sm-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-sm-14.is-guttered{display:block}.el-col-sm-offset-14{margin-left:58.3333333333%}.el-col-sm-pull-14{position:relative;right:58.3333333333%}.el-col-sm-push-14{left:58.3333333333%;position:relative}.el-col-sm-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-sm-15.is-guttered{display:block}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{left:62.5%;position:relative}.el-col-sm-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-sm-16.is-guttered{display:block}.el-col-sm-offset-16{margin-left:66.6666666667%}.el-col-sm-pull-16{position:relative;right:66.6666666667%}.el-col-sm-push-16{left:66.6666666667%;position:relative}.el-col-sm-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-sm-17.is-guttered{display:block}.el-col-sm-offset-17{margin-left:70.8333333333%}.el-col-sm-pull-17{position:relative;right:70.8333333333%}.el-col-sm-push-17{left:70.8333333333%;position:relative}.el-col-sm-18{display:block;flex:0 0 75%;max-width:75%}.el-col-sm-18.is-guttered{display:block}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{left:75%;position:relative}.el-col-sm-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-sm-19.is-guttered{display:block}.el-col-sm-offset-19{margin-left:79.1666666667%}.el-col-sm-pull-19{position:relative;right:79.1666666667%}.el-col-sm-push-19{left:79.1666666667%;position:relative}.el-col-sm-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-sm-20.is-guttered{display:block}.el-col-sm-offset-20{margin-left:83.3333333333%}.el-col-sm-pull-20{position:relative;right:83.3333333333%}.el-col-sm-push-20{left:83.3333333333%;position:relative}.el-col-sm-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-sm-21.is-guttered{display:block}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{left:87.5%;position:relative}.el-col-sm-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-sm-22.is-guttered{display:block}.el-col-sm-offset-22{margin-left:91.6666666667%}.el-col-sm-pull-22{position:relative;right:91.6666666667%}.el-col-sm-push-22{left:91.6666666667%;position:relative}.el-col-sm-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-sm-23.is-guttered{display:block}.el-col-sm-offset-23{margin-left:95.8333333333%}.el-col-sm-pull-23{position:relative;right:95.8333333333%}.el-col-sm-push-23{left:95.8333333333%;position:relative}.el-col-sm-24{display:block;flex:0 0 100%;max-width:100%}.el-col-sm-24.is-guttered{display:block}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{left:100%;position:relative}}@media only screen and (min-width:992px){.el-col-md-0{display:none;flex:0 0 0%;max-width:0}.el-col-md-0.is-guttered{display:none}.el-col-md-offset-0{margin-left:0}.el-col-md-pull-0{position:relative;right:0}.el-col-md-push-0{left:0;position:relative}.el-col-md-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-md-1,.el-col-md-1.is-guttered{display:block}.el-col-md-offset-1{margin-left:4.1666666667%}.el-col-md-pull-1{position:relative;right:4.1666666667%}.el-col-md-push-1{left:4.1666666667%;position:relative}.el-col-md-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-md-2,.el-col-md-2.is-guttered{display:block}.el-col-md-offset-2{margin-left:8.3333333333%}.el-col-md-pull-2{position:relative;right:8.3333333333%}.el-col-md-push-2{left:8.3333333333%;position:relative}.el-col-md-3{flex:0 0 12.5%;max-width:12.5%}.el-col-md-3,.el-col-md-3.is-guttered{display:block}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{left:12.5%;position:relative}.el-col-md-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-md-4,.el-col-md-4.is-guttered{display:block}.el-col-md-offset-4{margin-left:16.6666666667%}.el-col-md-pull-4{position:relative;right:16.6666666667%}.el-col-md-push-4{left:16.6666666667%;position:relative}.el-col-md-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-md-5,.el-col-md-5.is-guttered{display:block}.el-col-md-offset-5{margin-left:20.8333333333%}.el-col-md-pull-5{position:relative;right:20.8333333333%}.el-col-md-push-5{left:20.8333333333%;position:relative}.el-col-md-6{flex:0 0 25%;max-width:25%}.el-col-md-6,.el-col-md-6.is-guttered{display:block}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{left:25%;position:relative}.el-col-md-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-md-7,.el-col-md-7.is-guttered{display:block}.el-col-md-offset-7{margin-left:29.1666666667%}.el-col-md-pull-7{position:relative;right:29.1666666667%}.el-col-md-push-7{left:29.1666666667%;position:relative}.el-col-md-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-md-8,.el-col-md-8.is-guttered{display:block}.el-col-md-offset-8{margin-left:33.3333333333%}.el-col-md-pull-8{position:relative;right:33.3333333333%}.el-col-md-push-8{left:33.3333333333%;position:relative}.el-col-md-9{flex:0 0 37.5%;max-width:37.5%}.el-col-md-9,.el-col-md-9.is-guttered{display:block}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{left:37.5%;position:relative}.el-col-md-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-md-10.is-guttered{display:block}.el-col-md-offset-10{margin-left:41.6666666667%}.el-col-md-pull-10{position:relative;right:41.6666666667%}.el-col-md-push-10{left:41.6666666667%;position:relative}.el-col-md-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-md-11.is-guttered{display:block}.el-col-md-offset-11{margin-left:45.8333333333%}.el-col-md-pull-11{position:relative;right:45.8333333333%}.el-col-md-push-11{left:45.8333333333%;position:relative}.el-col-md-12{display:block;flex:0 0 50%;max-width:50%}.el-col-md-12.is-guttered{display:block}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{left:50%;position:relative}.el-col-md-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-md-13.is-guttered{display:block}.el-col-md-offset-13{margin-left:54.1666666667%}.el-col-md-pull-13{position:relative;right:54.1666666667%}.el-col-md-push-13{left:54.1666666667%;position:relative}.el-col-md-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-md-14.is-guttered{display:block}.el-col-md-offset-14{margin-left:58.3333333333%}.el-col-md-pull-14{position:relative;right:58.3333333333%}.el-col-md-push-14{left:58.3333333333%;position:relative}.el-col-md-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-md-15.is-guttered{display:block}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{left:62.5%;position:relative}.el-col-md-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-md-16.is-guttered{display:block}.el-col-md-offset-16{margin-left:66.6666666667%}.el-col-md-pull-16{position:relative;right:66.6666666667%}.el-col-md-push-16{left:66.6666666667%;position:relative}.el-col-md-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-md-17.is-guttered{display:block}.el-col-md-offset-17{margin-left:70.8333333333%}.el-col-md-pull-17{position:relative;right:70.8333333333%}.el-col-md-push-17{left:70.8333333333%;position:relative}.el-col-md-18{display:block;flex:0 0 75%;max-width:75%}.el-col-md-18.is-guttered{display:block}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{left:75%;position:relative}.el-col-md-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-md-19.is-guttered{display:block}.el-col-md-offset-19{margin-left:79.1666666667%}.el-col-md-pull-19{position:relative;right:79.1666666667%}.el-col-md-push-19{left:79.1666666667%;position:relative}.el-col-md-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-md-20.is-guttered{display:block}.el-col-md-offset-20{margin-left:83.3333333333%}.el-col-md-pull-20{position:relative;right:83.3333333333%}.el-col-md-push-20{left:83.3333333333%;position:relative}.el-col-md-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-md-21.is-guttered{display:block}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{left:87.5%;position:relative}.el-col-md-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-md-22.is-guttered{display:block}.el-col-md-offset-22{margin-left:91.6666666667%}.el-col-md-pull-22{position:relative;right:91.6666666667%}.el-col-md-push-22{left:91.6666666667%;position:relative}.el-col-md-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-md-23.is-guttered{display:block}.el-col-md-offset-23{margin-left:95.8333333333%}.el-col-md-pull-23{position:relative;right:95.8333333333%}.el-col-md-push-23{left:95.8333333333%;position:relative}.el-col-md-24{display:block;flex:0 0 100%;max-width:100%}.el-col-md-24.is-guttered{display:block}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{left:100%;position:relative}}@media only screen and (min-width:1200px){.el-col-lg-0{display:none;flex:0 0 0%;max-width:0}.el-col-lg-0.is-guttered{display:none}.el-col-lg-offset-0{margin-left:0}.el-col-lg-pull-0{position:relative;right:0}.el-col-lg-push-0{left:0;position:relative}.el-col-lg-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-lg-1,.el-col-lg-1.is-guttered{display:block}.el-col-lg-offset-1{margin-left:4.1666666667%}.el-col-lg-pull-1{position:relative;right:4.1666666667%}.el-col-lg-push-1{left:4.1666666667%;position:relative}.el-col-lg-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-lg-2,.el-col-lg-2.is-guttered{display:block}.el-col-lg-offset-2{margin-left:8.3333333333%}.el-col-lg-pull-2{position:relative;right:8.3333333333%}.el-col-lg-push-2{left:8.3333333333%;position:relative}.el-col-lg-3{flex:0 0 12.5%;max-width:12.5%}.el-col-lg-3,.el-col-lg-3.is-guttered{display:block}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{left:12.5%;position:relative}.el-col-lg-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-lg-4,.el-col-lg-4.is-guttered{display:block}.el-col-lg-offset-4{margin-left:16.6666666667%}.el-col-lg-pull-4{position:relative;right:16.6666666667%}.el-col-lg-push-4{left:16.6666666667%;position:relative}.el-col-lg-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-lg-5,.el-col-lg-5.is-guttered{display:block}.el-col-lg-offset-5{margin-left:20.8333333333%}.el-col-lg-pull-5{position:relative;right:20.8333333333%}.el-col-lg-push-5{left:20.8333333333%;position:relative}.el-col-lg-6{flex:0 0 25%;max-width:25%}.el-col-lg-6,.el-col-lg-6.is-guttered{display:block}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{left:25%;position:relative}.el-col-lg-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-lg-7,.el-col-lg-7.is-guttered{display:block}.el-col-lg-offset-7{margin-left:29.1666666667%}.el-col-lg-pull-7{position:relative;right:29.1666666667%}.el-col-lg-push-7{left:29.1666666667%;position:relative}.el-col-lg-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-lg-8,.el-col-lg-8.is-guttered{display:block}.el-col-lg-offset-8{margin-left:33.3333333333%}.el-col-lg-pull-8{position:relative;right:33.3333333333%}.el-col-lg-push-8{left:33.3333333333%;position:relative}.el-col-lg-9{flex:0 0 37.5%;max-width:37.5%}.el-col-lg-9,.el-col-lg-9.is-guttered{display:block}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{left:37.5%;position:relative}.el-col-lg-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-lg-10.is-guttered{display:block}.el-col-lg-offset-10{margin-left:41.6666666667%}.el-col-lg-pull-10{position:relative;right:41.6666666667%}.el-col-lg-push-10{left:41.6666666667%;position:relative}.el-col-lg-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-lg-11.is-guttered{display:block}.el-col-lg-offset-11{margin-left:45.8333333333%}.el-col-lg-pull-11{position:relative;right:45.8333333333%}.el-col-lg-push-11{left:45.8333333333%;position:relative}.el-col-lg-12{display:block;flex:0 0 50%;max-width:50%}.el-col-lg-12.is-guttered{display:block}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{left:50%;position:relative}.el-col-lg-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-lg-13.is-guttered{display:block}.el-col-lg-offset-13{margin-left:54.1666666667%}.el-col-lg-pull-13{position:relative;right:54.1666666667%}.el-col-lg-push-13{left:54.1666666667%;position:relative}.el-col-lg-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-lg-14.is-guttered{display:block}.el-col-lg-offset-14{margin-left:58.3333333333%}.el-col-lg-pull-14{position:relative;right:58.3333333333%}.el-col-lg-push-14{left:58.3333333333%;position:relative}.el-col-lg-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-lg-15.is-guttered{display:block}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{left:62.5%;position:relative}.el-col-lg-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-lg-16.is-guttered{display:block}.el-col-lg-offset-16{margin-left:66.6666666667%}.el-col-lg-pull-16{position:relative;right:66.6666666667%}.el-col-lg-push-16{left:66.6666666667%;position:relative}.el-col-lg-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-lg-17.is-guttered{display:block}.el-col-lg-offset-17{margin-left:70.8333333333%}.el-col-lg-pull-17{position:relative;right:70.8333333333%}.el-col-lg-push-17{left:70.8333333333%;position:relative}.el-col-lg-18{display:block;flex:0 0 75%;max-width:75%}.el-col-lg-18.is-guttered{display:block}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{left:75%;position:relative}.el-col-lg-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-lg-19.is-guttered{display:block}.el-col-lg-offset-19{margin-left:79.1666666667%}.el-col-lg-pull-19{position:relative;right:79.1666666667%}.el-col-lg-push-19{left:79.1666666667%;position:relative}.el-col-lg-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-lg-20.is-guttered{display:block}.el-col-lg-offset-20{margin-left:83.3333333333%}.el-col-lg-pull-20{position:relative;right:83.3333333333%}.el-col-lg-push-20{left:83.3333333333%;position:relative}.el-col-lg-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-lg-21.is-guttered{display:block}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{left:87.5%;position:relative}.el-col-lg-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-lg-22.is-guttered{display:block}.el-col-lg-offset-22{margin-left:91.6666666667%}.el-col-lg-pull-22{position:relative;right:91.6666666667%}.el-col-lg-push-22{left:91.6666666667%;position:relative}.el-col-lg-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-lg-23.is-guttered{display:block}.el-col-lg-offset-23{margin-left:95.8333333333%}.el-col-lg-pull-23{position:relative;right:95.8333333333%}.el-col-lg-push-23{left:95.8333333333%;position:relative}.el-col-lg-24{display:block;flex:0 0 100%;max-width:100%}.el-col-lg-24.is-guttered{display:block}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{left:100%;position:relative}}@media only screen and (min-width:1920px){.el-col-xl-0{display:none;flex:0 0 0%;max-width:0}.el-col-xl-0.is-guttered{display:none}.el-col-xl-offset-0{margin-left:0}.el-col-xl-pull-0{position:relative;right:0}.el-col-xl-push-0{left:0;position:relative}.el-col-xl-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xl-1,.el-col-xl-1.is-guttered{display:block}.el-col-xl-offset-1{margin-left:4.1666666667%}.el-col-xl-pull-1{position:relative;right:4.1666666667%}.el-col-xl-push-1{left:4.1666666667%;position:relative}.el-col-xl-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xl-2,.el-col-xl-2.is-guttered{display:block}.el-col-xl-offset-2{margin-left:8.3333333333%}.el-col-xl-pull-2{position:relative;right:8.3333333333%}.el-col-xl-push-2{left:8.3333333333%;position:relative}.el-col-xl-3{flex:0 0 12.5%;max-width:12.5%}.el-col-xl-3,.el-col-xl-3.is-guttered{display:block}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{left:12.5%;position:relative}.el-col-xl-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xl-4,.el-col-xl-4.is-guttered{display:block}.el-col-xl-offset-4{margin-left:16.6666666667%}.el-col-xl-pull-4{position:relative;right:16.6666666667%}.el-col-xl-push-4{left:16.6666666667%;position:relative}.el-col-xl-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xl-5,.el-col-xl-5.is-guttered{display:block}.el-col-xl-offset-5{margin-left:20.8333333333%}.el-col-xl-pull-5{position:relative;right:20.8333333333%}.el-col-xl-push-5{left:20.8333333333%;position:relative}.el-col-xl-6{flex:0 0 25%;max-width:25%}.el-col-xl-6,.el-col-xl-6.is-guttered{display:block}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{left:25%;position:relative}.el-col-xl-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xl-7,.el-col-xl-7.is-guttered{display:block}.el-col-xl-offset-7{margin-left:29.1666666667%}.el-col-xl-pull-7{position:relative;right:29.1666666667%}.el-col-xl-push-7{left:29.1666666667%;position:relative}.el-col-xl-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xl-8,.el-col-xl-8.is-guttered{display:block}.el-col-xl-offset-8{margin-left:33.3333333333%}.el-col-xl-pull-8{position:relative;right:33.3333333333%}.el-col-xl-push-8{left:33.3333333333%;position:relative}.el-col-xl-9{flex:0 0 37.5%;max-width:37.5%}.el-col-xl-9,.el-col-xl-9.is-guttered{display:block}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{left:37.5%;position:relative}.el-col-xl-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xl-10.is-guttered{display:block}.el-col-xl-offset-10{margin-left:41.6666666667%}.el-col-xl-pull-10{position:relative;right:41.6666666667%}.el-col-xl-push-10{left:41.6666666667%;position:relative}.el-col-xl-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xl-11.is-guttered{display:block}.el-col-xl-offset-11{margin-left:45.8333333333%}.el-col-xl-pull-11{position:relative;right:45.8333333333%}.el-col-xl-push-11{left:45.8333333333%;position:relative}.el-col-xl-12{display:block;flex:0 0 50%;max-width:50%}.el-col-xl-12.is-guttered{display:block}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{left:50%;position:relative}.el-col-xl-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xl-13.is-guttered{display:block}.el-col-xl-offset-13{margin-left:54.1666666667%}.el-col-xl-pull-13{position:relative;right:54.1666666667%}.el-col-xl-push-13{left:54.1666666667%;position:relative}.el-col-xl-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xl-14.is-guttered{display:block}.el-col-xl-offset-14{margin-left:58.3333333333%}.el-col-xl-pull-14{position:relative;right:58.3333333333%}.el-col-xl-push-14{left:58.3333333333%;position:relative}.el-col-xl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-xl-15.is-guttered{display:block}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{left:62.5%;position:relative}.el-col-xl-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xl-16.is-guttered{display:block}.el-col-xl-offset-16{margin-left:66.6666666667%}.el-col-xl-pull-16{position:relative;right:66.6666666667%}.el-col-xl-push-16{left:66.6666666667%;position:relative}.el-col-xl-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xl-17.is-guttered{display:block}.el-col-xl-offset-17{margin-left:70.8333333333%}.el-col-xl-pull-17{position:relative;right:70.8333333333%}.el-col-xl-push-17{left:70.8333333333%;position:relative}.el-col-xl-18{display:block;flex:0 0 75%;max-width:75%}.el-col-xl-18.is-guttered{display:block}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{left:75%;position:relative}.el-col-xl-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xl-19.is-guttered{display:block}.el-col-xl-offset-19{margin-left:79.1666666667%}.el-col-xl-pull-19{position:relative;right:79.1666666667%}.el-col-xl-push-19{left:79.1666666667%;position:relative}.el-col-xl-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xl-20.is-guttered{display:block}.el-col-xl-offset-20{margin-left:83.3333333333%}.el-col-xl-pull-20{position:relative;right:83.3333333333%}.el-col-xl-push-20{left:83.3333333333%;position:relative}.el-col-xl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-xl-21.is-guttered{display:block}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{left:87.5%;position:relative}.el-col-xl-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xl-22.is-guttered{display:block}.el-col-xl-offset-22{margin-left:91.6666666667%}.el-col-xl-pull-22{position:relative;right:91.6666666667%}.el-col-xl-push-22{left:91.6666666667%;position:relative}.el-col-xl-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xl-23.is-guttered{display:block}.el-col-xl-offset-23{margin-left:95.8333333333%}.el-col-xl-pull-23{position:relative;right:95.8333333333%}.el-col-xl-push-23{left:95.8333333333%;position:relative}.el-col-xl-24{display:block;flex:0 0 100%;max-width:100%}.el-col-xl-24.is-guttered{display:block}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{left:100%;position:relative}}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{align-items:center;background-color:var(--el-collapse-header-bg-color);border:none;border-bottom:1px solid var(--el-collapse-border-color);box-sizing:border-box;color:var(--el-collapse-header-text-color);cursor:pointer;display:flex;font-size:var(--el-collapse-header-font-size);font-weight:500;line-height:var(--el-collapse-header-height);min-height:var(--el-collapse-header-height);outline:none;padding:0;transition:border-bottom-color var(--el-transition-duration);width:100%}.el-collapse-item__arrow{font-weight:300;transition:transform var(--el-transition-duration)}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__title{flex:auto;text-align:left}.el-collapse-item__header.focusing:focus:not(:hover){color:var(--el-color-primary)}.el-collapse-item__header.is-active{border-bottom-color:transparent}.el-collapse-item__wrap{background-color:var(--el-collapse-content-bg-color);border-bottom:1px solid var(--el-collapse-border-color);box-sizing:border-box;overflow:hidden;will-change:height}.el-collapse-item__content{color:var(--el-collapse-content-text-color);font-size:var(--el-collapse-content-font-size);line-height:1.7692307692;padding-bottom:25px}.el-collapse-item:last-child{margin-bottom:-1px}.el-collapse{--el-collapse-border-color:var(--el-border-color-lighter);--el-collapse-header-height:48px;--el-collapse-header-bg-color:var(--el-fill-color-blank);--el-collapse-header-text-color:var(--el-text-color-primary);--el-collapse-header-font-size:13px;--el-collapse-content-bg-color:var(--el-fill-color-blank);--el-collapse-content-font-size:13px;--el-collapse-content-text-color:var(--el-text-color-primary);border-bottom:1px solid var(--el-collapse-border-color);border-top:1px solid var(--el-collapse-border-color)}.el-collapse-icon-position-left .el-collapse-item__header{gap:8px}.el-collapse-icon-position-left .el-collapse-item__title{order:1}.el-collapse-icon-position-right .el-collapse-item__header{padding-right:8px}.el-color-picker-panel{--el-colorpicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-colorpicker-bg-color);background:var(--el-colorpicker-bg-color);box-sizing:content-box;padding:12px;width:300px}.el-color-picker-panel.is-border{border:1px solid var(--el-border-color-lighter);border-radius:4px}.el-color-picker-panel__wrapper{margin-bottom:6px}.el-color-picker-panel__footer{display:flex;justify-content:space-between;margin-top:12px;text-align:right}.el-color-picker-panel__footer .el-input{color:#000;font-size:12px;line-height:26px;width:160px}.el-color-picker-panel.is-disabled .el-color-hue-slider,.el-color-picker-panel.is-disabled .el-color-svpanel{cursor:not-allowed;opacity:.3}.el-color-picker-panel.is-disabled .el-color-hue-slider__thumb{cursor:not-allowed}.el-color-picker-panel.is-disabled .el-color-alpha-slider,.el-color-picker-panel.is-disabled .el-color-predefine .el-color-predefine__color-selector{cursor:not-allowed;opacity:.3}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap;gap:8px}.el-color-predefine__color-selector{border:none;border-radius:var(--el-border-radius-base);cursor:pointer;height:20px;outline:none;overflow:hidden;padding:0;width:20px}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-predefine__color-selector>div{display:flex;height:100%}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{background-color:red;box-sizing:border-box;float:right;height:12px;padding:0 2px;position:relative;width:280px}.el-color-hue-slider__bar{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red);height:100%;position:relative}.el-color-hue-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px #0009;box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-hue-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-hue-slider.is-vertical{height:180px;padding:2px 0;width:12px}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-svpanel{background-image:linear-gradient(0deg,#000,#0000),linear-gradient(90deg,#fff,#fff0);height:180px;position:relative;width:280px}.el-color-svpanel__cursor{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;cursor:pointer;height:4px;position:absolute;transform:translate(-2px,-2px);width:4px}.el-color-svpanel__cursor:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-alpha-slider{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px;box-sizing:border-box;height:12px;position:relative;width:280px}.el-color-alpha-slider.is-disabled .el-color-alpha-slider__thumb{cursor:not-allowed}.el-color-alpha-slider__bar{background:linear-gradient(to right,rgba(255,255,255,0) 0,var(--el-bg-color) 100%);height:100%;position:relative}.el-color-alpha-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px #0009;box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-alpha-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-alpha-slider.is-vertical{height:180px;width:20px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(180deg,#fff0 0,#fff)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-picker-panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker-panel{--el-color-picker-alpha-bg-a:#333333}.el-color-picker{display:inline-block;height:32px;line-height:normal;outline:none;position:relative;width:32px}.el-color-picker:hover:not(.is-disabled,.is-focused) .el-color-picker__trigger{border-color:var(--el-border-color-hover)}.el-color-picker:focus-visible:not(.is-disabled) .el-color-picker__trigger{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-picker.is-focused .el-color-picker__trigger{border-color:var(--el-color-primary)}.el-color-picker.is-disabled .el-color-picker__trigger{background-color:var(--el-fill-color-light);cursor:not-allowed}.el-color-picker.is-disabled .el-color-picker__color{opacity:.3}.el-color-picker--large{height:40px;width:40px}.el-color-picker--small{height:24px;width:24px}.el-color-picker--small .el-color-picker__empty,.el-color-picker--small .el-color-picker__icon{transform:scale(.8)}.el-color-picker__trigger{align-items:center;border:1px solid var(--el-border-color);border-radius:4px;cursor:pointer;display:inline-flex;font-size:0;justify-content:center;padding:4px}.el-color-picker__color,.el-color-picker__trigger{box-sizing:border-box;height:100%;position:relative;width:100%}.el-color-picker__color{border:1px solid var(--el-text-color-secondary);border-radius:var(--el-border-radius-small);display:block;text-align:center}.el-color-picker__color.is-alpha{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px}.el-color-picker__color-inner{align-items:center;display:inline-flex;height:100%;justify-content:center;width:100%}.el-color-picker .el-color-picker__empty{color:var(--el-text-color-secondary);font-size:12px}.el-color-picker .el-color-picker__icon{align-items:center;color:#fff;display:inline-flex;font-size:12px;justify-content:center}.el-color-picker__panel{background-color:#fff;border-radius:var(--el-border-radius-base);box-shadow:var(--el-box-shadow-light)}.el-color-picker__panel.el-popper{border:1px solid var(--el-border-color-lighter)}.el-color-picker,.el-color-picker__panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker,.dark .el-color-picker__panel{--el-color-picker-alpha-bg-a:#333333}.el-container{box-sizing:border-box;display:flex;flex:1;flex-basis:auto;flex-direction:row;min-width:0}.el-container.is-vertical{flex-direction:column}.el-date-table{font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{border-bottom-left-radius:15px;border-top-left-radius:15px;margin-left:5px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{border-bottom-right-radius:15px;border-top-right-radius:15px;margin-right:5px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{box-sizing:border-box;cursor:pointer;height:30px;padding:4px 0;position:relative;text-align:center;width:32px}.el-date-table td .el-date-table-cell{box-sizing:border-box;height:30px;padding:3px 0}.el-date-table td .el-date-table-cell .el-date-table-cell__text{border-radius:50%;display:block;height:24px;left:50%;line-height:24px;margin:0 auto;position:absolute;transform:translate(-50%);width:24px}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-date-table td.today.end-date .el-date-table-cell__text,.el-date-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-date-table td.current:not(.disabled):focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-date-table td.end-date .el-date-table-cell,.el-date-table td.start-date .el-date-table-cell{color:#fff}.el-date-table td.end-date .el-date-table-cell__text,.el-date-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{border-bottom-left-radius:15px;border-top-left-radius:15px;margin-left:5px}.el-date-table td.end-date .el-date-table-cell{border-bottom-right-radius:15px;border-top-right-radius:15px;margin-right:5px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed;opacity:1}.el-date-table td.selected .el-date-table-cell{border-radius:15px;margin-left:5px;margin-right:5px}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);border-radius:15px;color:#fff}.el-date-table td.week{color:var(--el-datepicker-off-text-color);cursor:default;font-size:80%}.el-date-table td:focus{outline:none}.el-date-table th{border-bottom:1px solid var(--el-border-color-lighter);color:var(--el-datepicker-header-text-color);font-weight:400;padding:5px}.el-date-table th.el-date-table__week-header{padding:0;width:24px}.el-month-table{border-collapse:collapse;font-size:12px;margin:-1px}.el-month-table td{cursor:pointer;padding:8px 0;position:relative;text-align:center;width:68px}.el-month-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-month-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.end-date .el-date-table-cell__text,.el-month-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-month-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-month-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-month-table td .el-date-table-cell__text{border-radius:18px;color:var(--el-datepicker-text-color);display:block;height:36px;left:50%;line-height:36px;margin:0 auto;position:absolute;transform:translate(-50%);width:54px}.el-month-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.end-date .el-date-table-cell,.el-month-table td.start-date .el-date-table-cell{color:#fff}.el-month-table td.end-date .el-date-table-cell__text,.el-month-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-month-table td.start-date .el-date-table-cell{border-bottom-left-radius:24px;border-top-left-radius:24px;margin-left:3px}.el-month-table td.end-date .el-date-table-cell{border-bottom-right-radius:24px;border-top-right-radius:24px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell{border-radius:24px;margin-left:3px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-month-table td:focus-visible{outline:none}.el-month-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-year-table{border-collapse:collapse;font-size:12px;margin:-1px}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{cursor:pointer;padding:8px 0;position:relative;text-align:center;width:68px}.el-year-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-year-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-year-table td.today.end-date .el-date-table-cell__text,.el-year-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-year-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-year-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-year-table td .el-date-table-cell__text{border-radius:18px;color:var(--el-datepicker-text-color);display:block;height:36px;left:50%;line-height:36px;margin:0 auto;position:absolute;transform:translate(-50%);width:60px}.el-year-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-year-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-year-table td.end-date .el-date-table-cell,.el-year-table td.start-date .el-date-table-cell{color:#fff}.el-year-table td.end-date .el-date-table-cell__text,.el-year-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-year-table td.start-date .el-date-table-cell{border-bottom-left-radius:24px;border-top-left-radius:24px}.el-year-table td.end-date .el-date-table-cell{border-bottom-right-radius:24px;border-top-right-radius:24px}.el-year-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-year-table td:focus-visible{outline:none}.el-year-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{display:inline-block;max-height:192px;overflow:auto;position:relative;vertical-align:top;width:50%}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;overflow:hidden;text-align:center}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;height:30px;left:0;line-height:30px;position:absolute;text-align:center;width:100%;z-index:var(--el-index-normal)}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner,.el-time-spinner__list{padding:0;text-align:center}.el-time-spinner__list{list-style:none;margin:0}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;height:80px;width:100%}.el-time-spinner__item{color:var(--el-text-color-regular);font-size:12px;height:32px;line-height:32px}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:700}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-picker__popper{--el-datepicker-border-color:var(--el-disabled-border-color)}.el-picker__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper,.el-picker__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-date-editor{--el-date-editor-width:220px;--el-date-editor-monthrange-width:300px;--el-date-editor-daterange-width:350px;--el-date-editor-datetimerange-width:400px;--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;position:relative;text-align:left;vertical-align:middle}.el-date-editor.el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-date-editor.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__wrapper{height:var(--el-input-height,var(--el-component-size));width:var(--el-date-editor-width)}.el-date-editor--monthrange{--el-date-editor-width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange,.el-date-editor--timerange{--el-date-editor-width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange{--el-date-editor-width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__wrapper{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .clear-icon,.el-date-editor .close-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-input-clear-hover-color)}.el-date-editor .el-range__icon{color:var(--el-text-color-placeholder);float:left;font-size:14px;height:inherit}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-text-color-regular);display:inline-block;font-size:var(--el-font-size-base);height:30px;line-height:30px;margin:0;outline:none;padding:0;text-align:center;width:39%}.el-date-editor .el-range-input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{align-items:center;color:var(--el-text-color-primary);display:inline-flex;flex:1;font-size:14px;height:100%;justify-content:center;margin:0;overflow-wrap:break-word;padding:0 5px}.el-date-editor .el-range__close-icon{color:var(--el-text-color-placeholder);cursor:pointer;font-size:14px;height:inherit;width:unset}.el-date-editor .el-range__close-icon:hover{color:var(--el-input-clear-hover-color)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__wrapper{align-items:center;display:inline-flex;padding:0 10px;vertical-align:middle}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:var(--el-component-size-large)}.el-range-editor--large.el-input__wrapper{height:var(--el-component-size-large)}.el-range-editor--large .el-range-separator{font-size:14px;line-height:40px}.el-range-editor--large .el-range-input{font-size:14px;height:38px;line-height:38px}.el-range-editor--small{line-height:var(--el-component-size-small)}.el-range-editor--small.el-input__wrapper{height:var(--el-component-size-small)}.el-range-editor--small .el-range-separator{font-size:12px;line-height:24px}.el-range-editor--small .el-range-input{font-size:12px;height:22px;line-height:22px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled,.el-range-editor.is-disabled:focus,.el-range-editor.is-disabled:hover{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{background:var(--el-datepicker-bg-color);border-radius:var(--el-popper-border-radius,var(--el-border-radius-base));color:var(--el-text-color-regular);line-height:30px}.el-picker-panel .el-time-panel{background-color:var(--el-datepicker-bg-color);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light);margin:5px 0}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{clear:both;content:"";display:table}.el-picker-panel__content{margin:15px;position:relative}.el-picker-panel__footer{background-color:var(--el-datepicker-bg-color);border-top:1px solid var(--el-datepicker-inner-border-color);font-size:0;padding:4px 12px;position:relative;text-align:right}.el-picker-panel__shortcut{background-color:transparent;border:0;color:var(--el-datepicker-text-color);cursor:pointer;display:block;font-size:14px;line-height:28px;outline:none;padding-left:12px;text-align:left;width:100%}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:var(--el-datepicker-active-color)}.el-picker-panel__btn{background-color:transparent;border:1px solid var(--el-fill-color-darker);border-radius:2px;color:var(--el-text-color-primary);cursor:pointer;font-size:12px;line-height:24px;outline:none;padding:0 20px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{background:transparent;border:0;color:var(--el-datepicker-icon-color);cursor:pointer;font-size:12px;line-height:1;margin-top:8px;outline:none;padding:1px 6px}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn:focus-visible{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn.is-disabled .el-icon{cursor:inherit}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel.is-disabled .el-picker-panel__prev-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__prev-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__prev-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__next-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__next-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__next-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__icon-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__icon-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__icon-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__shortcut{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__shortcut:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__shortcut .el-icon{cursor:inherit}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);bottom:0;box-sizing:border-box;overflow:auto;padding-top:6px;position:absolute;top:0;width:110px}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);--el-datepicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-datepicker-bg-color);width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{display:table-cell;padding:0 5px;position:relative}.el-date-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;display:table;font-size:12px;padding:8px 5px 5px;position:relative;width:100%}.el-date-picker__header{padding:12px 12px 0;text-align:center}.el-date-picker__header--bordered{border-bottom:1px solid var(--el-border-color-lighter);margin-bottom:0;padding-bottom:12px}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{color:var(--el-text-color-regular);cursor:pointer;font-size:16px;font-weight:500;line-height:22px;padding:0 5px;text-align:center}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{cursor:pointer;float:left;line-height:30px;margin-left:10px}.el-date-picker .el-time-panel{position:absolute}.el-date-picker.is-disabled .el-date-picker__header-label{color:var(--el-text-color-disabled)}.el-date-picker.is-disabled .el-date-picker__header-label:hover{cursor:not-allowed}.el-date-picker.is-disabled .el-date-picker__header-label .el-icon{cursor:inherit}.el-date-range-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);--el-datepicker-bg-color:var(--el-bg-color-overlay);width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{height:28px;position:relative;text-align:center}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__header-label{color:var(--el-text-color-regular);cursor:pointer;font-size:16px;font-weight:500;line-height:22px;padding:0 5px;text-align:center}.el-date-range-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-range-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-range-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-range-picker__content{box-sizing:border-box;display:table-cell;margin:0;padding:16px;width:50%}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;display:table;font-size:12px;padding:8px 5px 5px;position:relative;width:100%}.el-date-range-picker__time-header>.el-icon-arrow-right{color:var(--el-datepicker-icon-color);display:table-cell;font-size:20px;vertical-align:middle}.el-date-range-picker__time-picker-wrap{display:table-cell;padding:0 5px;position:relative}.el-date-range-picker__time-picker-wrap .el-picker-panel{background:#fff;position:absolute;right:0;top:13px;z-index:1}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-date-range-picker.is-disabled .el-date-range-picker__header-label{color:var(--el-text-color-disabled)}.el-date-range-picker.is-disabled .el-date-range-picker__header-label:hover{cursor:not-allowed}.el-date-range-picker.is-disabled .el-date-range-picker__header-label .el-icon{cursor:inherit}.el-time-range-picker{overflow:visible;width:354px}.el-time-range-picker__content{padding:10px;position:relative;text-align:center;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;display:inline-block;margin:0;padding:4px 7px 7px;width:50%}.el-time-range-picker__header{font-size:14px;margin-bottom:5px;text-align:center}.el-time-range-picker__body{border:1px solid var(--el-datepicker-border-color);border-radius:2px}.el-time-panel{border-radius:2px;box-sizing:content-box;left:0;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:180px;z-index:var(--el-index-top)}.el-time-panel__content{font-size:0;overflow:hidden;position:relative}.el-time-panel__content:after,.el-time-panel__content:before{box-sizing:border-box;content:"";height:32px;left:0;margin-top:-16px;padding-top:6px;position:absolute;right:0;text-align:left;top:50%;z-index:-1}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{border-bottom:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);margin-left:12%;margin-right:12%;padding-left:50%}.el-time-panel__content.has-seconds:after{left:66.6666666667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333333333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color,var(--el-border-color-light));box-sizing:border-box;height:36px;line-height:25px;padding:4px;text-align:right}.el-time-panel__btn{background-color:transparent;border:none;color:var(--el-text-color-primary);cursor:pointer;font-size:12px;line-height:28px;margin:0 5px;outline:none;padding:0 5px}.el-time-panel__btn.confirm{color:var(--el-timepicker-active-color,var(--el-color-primary));font-weight:800}.el-picker-panel.is-border{border:1px solid var(--el-border-color-lighter)}.el-picker-panel.is-border .el-picker-panel__body-wrapper{position:relative}.el-picker-panel.is-border.el-picker-panel [slot=sidebar],.el-picker-panel.is-border.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;height:100%;overflow:auto;padding-top:6px;position:absolute;top:0;width:110px}.el-descriptions{--el-descriptions-table-border:1px solid var(--el-border-color-lighter);--el-descriptions-item-bordered-label-background:var(--el-fill-color-light);box-sizing:border-box;color:var(--el-text-color-primary);font-size:var(--el-font-size-base)}.el-descriptions__header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.el-descriptions__title{color:var(--el-text-color-primary);font-size:16px;font-weight:700}.el-descriptions__body{background-color:var(--el-fill-color-blank)}.el-descriptions__body .el-descriptions__table{border-collapse:collapse;width:100%}.el-descriptions__body .el-descriptions__table .el-descriptions__cell{box-sizing:border-box;font-size:14px;line-height:23px;text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-left{text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-center{text-align:center}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-right{text-align:right}.el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:var(--el-descriptions-table-border);padding:8px 11px}.el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:12px}.el-descriptions--large{font-size:14px}.el-descriptions--large .el-descriptions__header{margin-bottom:20px}.el-descriptions--large .el-descriptions__header .el-descriptions__title{font-size:16px}.el-descriptions--large .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:14px}.el-descriptions--large .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:12px 15px}.el-descriptions--large .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:16px}.el-descriptions--small{font-size:12px}.el-descriptions--small .el-descriptions__header{margin-bottom:12px}.el-descriptions--small .el-descriptions__header .el-descriptions__title{font-size:14px}.el-descriptions--small .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:12px}.el-descriptions--small .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:4px 7px}.el-descriptions--small .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:8px}.el-descriptions__label.el-descriptions__cell.is-bordered-label{background:var(--el-descriptions-item-bordered-label-background);color:var(--el-text-color-regular);font-weight:700}.el-descriptions__label:not(.is-bordered-label){color:var(--el-text-color-primary);margin-right:16px}.el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:6px}.el-descriptions__content.el-descriptions__cell.is-bordered-content{color:var(--el-text-color-primary)}.el-descriptions__content:not(.is-bordered-label){color:var(--el-text-color-regular)}.el-descriptions--large .el-descriptions__label:not(.is-bordered-label){margin-right:16px}.el-descriptions--large .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:8px}.el-descriptions--small .el-descriptions__label:not(.is-bordered-label){margin-right:12px}.el-descriptions--small .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:4px}:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{background:var(--el-popup-modal-bg-color);height:100%;left:0;opacity:var(--el-popup-modal-opacity);position:fixed;top:0;width:100%}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width:50%;--el-dialog-margin-top:15vh;--el-dialog-bg-color:var(--el-bg-color);--el-dialog-box-shadow:var(--el-box-shadow);--el-dialog-title-font-size:var(--el-font-size-large);--el-dialog-content-font-size:14px;--el-dialog-font-line-height:var(--el-font-line-height-primary);--el-dialog-padding-primary:16px;--el-dialog-border-radius:var(--el-border-radius-base);background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;margin:var(--el-dialog-margin-top,15vh) auto 50px;overflow-wrap:break-word;padding:var(--el-dialog-padding-primary);position:relative;width:var(--el-dialog-width,50%)}.el-dialog:focus{outline:none!important}.el-dialog.is-align-center{margin:auto}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;border-radius:0;height:100%;margin-bottom:0;overflow:auto}.el-dialog__wrapper{bottom:0;left:0;margin:0;overflow:auto;position:fixed;right:0;top:0}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-dialog__header{padding-bottom:var(--el-dialog-padding-primary)}.el-dialog__header.show-close{padding-right:calc(var(--el-dialog-padding-primary) + var(--el-message-close-size, 16px))}.el-dialog__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:48px;outline:none;padding:0;position:absolute;right:0;top:0;width:48px}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{color:var(--el-text-color-primary);font-size:var(--el-dialog-title-font-size);line-height:var(--el-dialog-font-line-height)}.el-dialog__body{color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size)}.el-dialog__footer{box-sizing:border-box;padding-top:var(--el-dialog-padding-primary);text-align:right}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-modal-dialog.is-penetrable{pointer-events:none}.el-modal-dialog.is-penetrable .el-dialog{pointer-events:auto}.el-overlay-dialog{bottom:0;left:0;overflow:auto;position:fixed;right:0;top:0}.el-overlay-dialog.is-closing .el-dialog{pointer-events:none}.dialog-fade-enter-active{animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{animation:dialog-fade-out var(--el-transition-duration)}@keyframes dialog-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes dialog-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,0)}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}.el-divider{position:relative}.el-divider--horizontal{border-top:1px var(--el-border-color) var(--el-border-style);display:block;height:1px;margin:24px 0;width:100%}.el-divider--vertical{border-left:1px var(--el-border-color) var(--el-border-style);display:inline-block;height:1em;margin:0 8px;position:relative;vertical-align:middle;width:1px}.el-divider__text{background-color:var(--el-bg-color);color:var(--el-text-color-primary);font-size:14px;font-weight:500;padding:0 20px;position:absolute}.el-divider__text.is-left{left:20px;transform:translateY(-50%)}.el-divider__text.is-center{left:50%;transform:translate(-50%) translateY(-50%)}.el-divider__text.is-right{right:20px;transform:translateY(-50%)}.el-overlay.is-drawer{overflow:hidden}.el-drawer{--el-drawer-bg-color:var(--el-dialog-bg-color,var(--el-bg-color));--el-drawer-padding-primary:var(--el-dialog-padding-primary,20px);--el-drawer-dragger-size:8px;background-color:var(--el-drawer-bg-color);box-shadow:var(--el-box-shadow-dark);box-sizing:border-box;display:flex;flex-direction:column;position:absolute;transition:all var(--el-transition-duration)}.el-drawer .btt,.el-drawer .ltr,.el-drawer .rtl,.el-drawer .ttb{transform:translate(0)}.el-drawer__sr-focus:focus{outline:none!important}.el-drawer__header{align-items:center;color:var(--el-text-color-primary);display:flex;margin-bottom:32px;overflow:hidden;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{flex:1;font-size:16px;line-height:inherit;margin:0}.el-drawer__footer{overflow:hidden;padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{background-color:transparent;border:none;color:inherit;cursor:pointer;display:inline-flex;font-size:var(--el-font-size-extra-large);outline:none}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{flex:1;overflow:auto;padding:var(--el-drawer-padding-primary)}.el-drawer__body>*{box-sizing:border-box}.el-drawer.is-dragging{transition:none}.el-drawer__dragger{-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-drawer__dragger,.el-drawer__dragger:before{background-color:transparent;position:absolute;transition:all .2s}.el-drawer__dragger:before{content:""}.el-drawer__dragger:hover:before{background-color:var(--el-color-primary)}.el-drawer.ltr,.el-drawer.rtl{bottom:0;height:100%;top:0}.el-drawer.ltr>.el-drawer__dragger,.el-drawer.rtl>.el-drawer__dragger{bottom:0;cursor:ew-resize;height:100%;top:0;width:var(--el-drawer-dragger-size)}.el-drawer.ltr>.el-drawer__dragger:before,.el-drawer.rtl>.el-drawer__dragger:before{bottom:0;top:0;width:3px}.el-drawer.btt,.el-drawer.ttb{left:0;right:0;width:100%}.el-drawer.btt>.el-drawer__dragger,.el-drawer.ttb>.el-drawer__dragger{cursor:ns-resize;height:var(--el-drawer-dragger-size);left:0;right:0;width:100%}.el-drawer.btt>.el-drawer__dragger:before,.el-drawer.ttb>.el-drawer__dragger:before{height:3px;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.ltr>.el-drawer__dragger{right:0}.el-drawer.ltr>.el-drawer__dragger:before{right:-2px}.el-drawer.rtl{right:0}.el-drawer.rtl>.el-drawer__dragger{left:0}.el-drawer.rtl>.el-drawer__dragger:before{left:-2px}.el-drawer.ttb{top:0}.el-drawer.ttb>.el-drawer__dragger{bottom:0}.el-drawer.ttb>.el-drawer__dragger:before{bottom:-2px}.el-drawer.btt{bottom:0}.el-drawer.btt>.el-drawer__dragger{top:0}.el-drawer.btt>.el-drawer__dragger:before{top:-2px}.el-modal-drawer.is-penetrable{pointer-events:none}.el-modal-drawer.is-penetrable .el-drawer{pointer-events:auto}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{transition:all var(--el-transition-duration)}.el-drawer-fade-enter-active,.el-drawer-fade-enter-from,.el-drawer-fade-enter-to,.el-drawer-fade-leave-active,.el-drawer-fade-leave-from,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{background-color:transparent!important}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{transform:translateY(100%)}.el-dropdown{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10;color:var(--el-text-color-regular);display:inline-flex;font-size:var(--el-font-size-base);line-height:1;position:relative;vertical-align:top}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper,.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:none}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:0}.el-dropdown .el-dropdown__caret-button{align-items:center;border-left:none;display:inline-flex;justify-content:center;padding-left:0;padding-right:0;width:32px}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{background:var(--el-overlay-color-lighter);bottom:-1px;content:"";display:block;left:0;position:absolute;top:-1px;width:1px}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:none}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;left:0;list-style:none;margin:0;padding:5px 0;position:relative;top:0;z-index:var(--el-dropdown-menu-index)}.el-dropdown-menu__item{align-items:center;color:var(--el-text-color-regular);cursor:pointer;display:flex;font-size:var(--el-font-size-base);line-height:22px;list-style:none;margin:0;outline:none;padding:5px 16px;white-space:nowrap}.el-dropdown-menu__item:not(.is-disabled):focus,.el-dropdown-menu__item:not(.is-disabled):hover{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{border-top:1px solid var(--el-border-color-lighter);margin:6px 0}.el-dropdown-menu__item.is-disabled{color:var(--el-text-color-disabled);cursor:not-allowed}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{font-size:14px;line-height:22px;padding:7px 20px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{font-size:12px;line-height:20px;padding:2px 12px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.el-empty{--el-empty-padding:40px 0;--el-empty-image-width:160px;--el-empty-description-margin-top:20px;--el-empty-bottom-margin-top:20px;--el-empty-fill-color-0:var(--el-color-white);--el-empty-fill-color-1:#fcfcfd;--el-empty-fill-color-2:#f8f9fb;--el-empty-fill-color-3:#f7f8fc;--el-empty-fill-color-4:#eeeff3;--el-empty-fill-color-5:#edeef2;--el-empty-fill-color-6:#e9ebef;--el-empty-fill-color-7:#e5e7e9;--el-empty-fill-color-8:#e0e3e9;--el-empty-fill-color-9:#d5d7de;align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:var(--el-empty-padding);text-align:center}.el-empty__image{width:var(--el-empty-image-width)}.el-empty__image img{height:100%;-o-object-fit:contain;object-fit:contain;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:top;width:100%}.el-empty__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;height:100%;vertical-align:top;width:100%}.el-empty__description{margin-top:var(--el-empty-description-margin-top)}.el-empty__description p{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);margin:0}.el-empty__bottom{margin-top:var(--el-empty-bottom-margin-top)}.el-footer{--el-footer-padding:0 20px;--el-footer-height:60px;box-sizing:border-box;flex-shrink:0;height:var(--el-footer-height);padding:var(--el-footer-padding)}.el-form-item{display:flex;--font-size:14px;margin-bottom:18px}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--large{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:22px}.el-form-item--large .el-form-item__label{height:40px;line-height:40px}.el-form-item--large .el-form-item__content{line-height:40px}.el-form-item--large .el-form-item__error{padding-top:4px}.el-form-item--default{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--default .el-form-item__label{height:32px;line-height:32px}.el-form-item--default .el-form-item__content{line-height:32px}.el-form-item--default .el-form-item__error{padding-top:2px}.el-form-item--small{--font-size:12px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--small .el-form-item__label{height:24px;line-height:24px}.el-form-item--small .el-form-item__content{line-height:24px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item--label-left .el-form-item__label{justify-content:flex-start;text-align:left}.el-form-item--label-right .el-form-item__label{justify-content:flex-end;text-align:right}.el-form-item--label-top{display:block}.el-form-item--label-top .el-form-item__label{display:block;height:auto;line-height:22px;margin-bottom:8px;padding-right:0;text-align:left;width:-moz-fit-content;width:fit-content}.el-form-item__label-wrap{display:flex}.el-form-item__label{align-items:flex-start;box-sizing:border-box;color:var(--el-text-color-regular);display:inline-flex;flex:0 0 auto;font-size:var(--el-form-label-font-size);height:32px;line-height:32px;padding:0 12px 0 0}.el-form-item__content{align-items:center;display:flex;flex:1;flex-wrap:wrap;font-size:var(--font-size);line-height:32px;min-width:0;position:relative}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);font-size:12px;left:0;line-height:1;padding-top:2px;position:absolute;top:100%}.el-form-item__error--inline{display:inline-block;left:auto;margin-left:10px;position:relative;top:auto}.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before{color:var(--el-color-danger);content:"*";margin-right:4px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label-wrap>.el-form-item__label:after,.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label:after{color:var(--el-color-danger);content:"*";margin-left:4px}.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-input__wrapper,.el-form-item.is-error .el-form-item__content .el-input__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-input__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-input__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-select__wrapper,.el-form-item.is-error .el-form-item__content .el-select__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-select__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-select__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-textarea__inner,.el-form-item.is-error .el-form-item__content .el-textarea__inner.is-focus,.el-form-item.is-error .el-form-item__content .el-textarea__inner:focus,.el-form-item.is-error .el-form-item__content .el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-form-item__content .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-form-item__content .el-input-group__prepend .el-input__wrapper{box-shadow:inset 0 0 0 1px transparent}.el-form-item.is-error .el-form-item__content .el-input-group__append .el-input__validateIcon,.el-form-item.is-error .el-form-item__content .el-input-group__prepend .el-input__validateIcon{display:none}.el-form-item.is-error .el-form-item__content .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}.el-form{--el-form-label-font-size:var(--el-font-size-base);--el-form-inline-content-width:220px}.el-form--inline .el-form-item{display:inline-flex;margin-right:32px;vertical-align:middle}.el-form--inline.el-form--label-top{display:flex;flex-wrap:wrap}.el-form--inline.el-form--label-top .el-form-item{display:block}.el-header{--el-header-padding:0 20px;--el-header-height:60px;box-sizing:border-box;flex-shrink:0;height:var(--el-header-height);padding:var(--el-header-padding)}.el-image-viewer__wrapper{bottom:0;left:0;position:fixed;right:0;top:0}.el-image-viewer__wrapper:focus{outline:none!important}.el-image-viewer__btn{align-items:center;border-radius:50%;box-sizing:border-box;cursor:pointer;display:flex;justify-content:center;opacity:.8;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1}.el-image-viewer__btn .el-icon{cursor:pointer}.el-image-viewer__close{font-size:40px;height:40px;right:40px;top:40px;width:40px}.el-image-viewer__canvas{align-items:center;display:flex;height:100%;justify-content:center;position:static;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.el-image-viewer__actions{background-color:var(--el-text-color-regular);border-color:#fff;border-radius:22px;bottom:30px;height:44px;left:50%;padding:0 23px;transform:translate(-50%)}.el-image-viewer__actions__inner{align-items:center;color:#fff;cursor:default;display:flex;font-size:23px;gap:22px;height:100%;justify-content:space-around;padding:0 6px;width:100%}.el-image-viewer__actions__divider{margin:0 -6px}.el-image-viewer__progress{bottom:90px;color:#fff;cursor:default;left:50%;transform:translate(-50%)}.el-image-viewer__prev{left:40px}.el-image-viewer__next,.el-image-viewer__prev{background-color:var(--el-text-color-regular);border-color:#fff;color:#fff;font-size:24px;height:44px;top:50%;transform:translateY(-50%);width:44px}.el-image-viewer__next{right:40px;text-indent:2px}.el-image-viewer__close{background-color:var(--el-text-color-regular);border-color:#fff;color:#fff;font-size:24px;height:44px;width:44px}.el-image-viewer__mask{background:#000;height:100%;left:0;opacity:.5;position:absolute;top:0;width:100%}.el-image-viewer-parent--hidden{overflow:hidden}.viewer-fade-enter-active{animation:viewer-fade-in var(--el-transition-duration)}.viewer-fade-leave-active{animation:viewer-fade-out var(--el-transition-duration)}@keyframes viewer-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes viewer-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,0)}}.el-image__error,.el-image__inner,.el-image__placeholder,.el-image__wrapper{height:100%;width:100%}.el-image{display:inline-block;overflow:hidden;position:relative}.el-image__inner{opacity:1;vertical-align:top}.el-image__inner.is-loading{opacity:0}.el-image__wrapper{left:0;position:absolute;top:0}.el-image__error,.el-image__placeholder{background:var(--el-fill-color-light)}.el-image__error{align-items:center;color:var(--el-text-color-placeholder);display:flex;font-size:14px;justify-content:center;vertical-align:middle}.el-image__preview{cursor:pointer}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;display:inline-block;font-size:var(--el-font-size-base);position:relative;vertical-align:bottom;width:100%}.el-textarea__inner{-webkit-appearance:none;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));display:block;font-family:inherit;font-size:inherit;line-height:1.5;padding:5px 11px;position:relative;resize:vertical;transition:var(--el-transition-box-shadow);width:100%}.el-textarea__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset;outline:none}.el-textarea .el-input__count{background:var(--el-fill-color-blank);bottom:5px;color:var(--el-color-info);font-size:12px;line-height:14px;position:absolute;right:10px}.el-textarea .el-input__count.is-outside{background:transparent;bottom:unset;line-height:1;padding-top:2px;position:absolute;right:0;top:100%}.el-textarea.is-disabled .el-textarea__inner{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;--el-input-height:var(--el-component-size);box-sizing:border-box;display:inline-flex;font-size:var(--el-font-size-base);line-height:var(--el-input-height);position:relative;vertical-align:middle;width:var(--el-input-width)}.el-input::-webkit-scrollbar{width:6px;z-index:11}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{background:var(--el-text-color-disabled);border-radius:5px;width:6px}.el-input::-webkit-scrollbar-corner,.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);cursor:pointer;font-size:14px}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{align-items:center;color:var(--el-color-info);display:inline-flex;font-size:12px;height:100%}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);display:inline-block;line-height:normal;padding-left:8px}.el-input .el-input__count.is-outside{height:unset;padding-top:2px;position:absolute;right:0;top:100%}.el-input .el-input__count.is-outside .el-input__count-inner{background:transparent;line-height:1;padding-left:0}.el-input__wrapper{align-items:center;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;cursor:text;display:inline-flex;flex-grow:1;justify-content:center;padding:1px 11px;transform:translateZ(0);transition:var(--el-transition-box-shadow)}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input{--el-input-inner-height:calc(var(--el-input-height, 32px) - 2px)}.el-input__inner{-webkit-appearance:none;background:none;border:none;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));flex-grow:1;font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);outline:none;padding:0;width:100%}.el-input__inner:focus{outline:none}.el-input__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__inner[type=number]{line-height:1}.el-input__prefix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;line-height:var(--el-input-inner-height);pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__prefix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;line-height:var(--el-input-inner-height);pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__suffix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{align-items:center;display:flex;height:inherit;justify-content:center;line-height:inherit;margin-left:8px;transition:all var(--el-transition-duration)}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color, ) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;cursor:not-allowed}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-disabled .el-input__prefix-inner,.el-input.is-disabled .el-input__suffix-inner{pointer-events:none}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height:var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large{--el-input-inner-height:calc(var(--el-input-height, 40px) - 2px)}.el-input--small{--el-input-height:var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small{--el-input-inner-height:calc(var(--el-input-height, 24px) - 2px)}.el-input-group{align-items:stretch;display:inline-flex;width:100%}.el-input-group__append,.el-input-group__prepend{align-items:center;background-color:var(--el-fill-color-light);border-radius:var(--el-input-border-radius);color:var(--el-color-info);display:inline-flex;justify-content:center;min-height:100%;padding:0 20px;position:relative;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;flex:1;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-select__wrapper,.el-input-group__append div.el-select:hover .el-select__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-select__wrapper,.el-input-group__prepend div.el-select:hover .el-select__wrapper{background-color:transparent;border-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__wrapper,.el-input-group__append{border-bottom-left-radius:0;border-top-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-select__wrapper{border-bottom-right-radius:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--append>.el-input__wrapper{border-bottom-right-radius:0;border-top-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-select__wrapper{border-bottom-left-radius:0;border-top-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-hidden{display:none!important}.el-input-number{display:inline-flex;line-height:30px;position:relative;vertical-align:middle;width:150px}.el-input-number .el-input__wrapper{padding-left:42px;padding-right:42px}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;line-height:1;text-align:center}.el-input-number .el-input__inner::-webkit-inner-spin-button,.el-input-number .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-input-number.is-left .el-input__inner{text-align:left}.el-input-number.is-right .el-input__inner{text-align:right}.el-input-number.is-center .el-input__inner{text-align:center}.el-input-number__decrease,.el-input-number__increase{align-items:center;background:var(--el-fill-color-light);bottom:1px;color:var(--el-text-color-regular);cursor:pointer;display:flex;font-size:13px;height:auto;justify-content:center;position:absolute;top:1px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:32px;z-index:1}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:var(--el-color-primary)}.el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input__wrapper,.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-input-number__increase{border-left:var(--el-border);border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;right:1px}.el-input-number__decrease{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border);left:1px}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:var(--el-disabled-border-color);color:var(--el-disabled-border-color)}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:var(--el-disabled-border-color);cursor:not-allowed}.el-input-number--large{line-height:38px;width:180px}.el-input-number--large .el-input-number__decrease,.el-input-number--large .el-input-number__increase{font-size:14px;width:40px}.el-input-number--large.is-controls-right .el-input--large .el-input__wrapper{padding-right:47px}.el-input-number--large .el-input--large .el-input__wrapper{padding-left:47px;padding-right:47px}.el-input-number--small{line-height:22px;width:120px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{font-size:12px;width:24px}.el-input-number--small.is-controls-right .el-input--small .el-input__wrapper{padding-right:31px}.el-input-number--small .el-input--small .el-input__wrapper{padding-left:31px;padding-right:31px}.el-input-number--small .el-input-number__decrease [class*=el-icon],.el-input-number--small .el-input-number__increase [class*=el-icon]{transform:scale(.9)}.el-input-number.is-without-controls .el-input__wrapper{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__wrapper{padding-left:15px;padding-right:42px}.el-input-number.is-controls-right .el-input-number__decrease,.el-input-number.is-controls-right .el-input-number__increase{--el-input-number-controls-height:15px;height:var(--el-input-number-controls-height);line-height:var(--el-input-number-controls-height)}.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon],.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{border-bottom:var(--el-border);border-radius:0 var(--el-border-radius-base) 0 0;bottom:auto;left:auto}.el-input-number.is-controls-right .el-input-number__decrease{border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0;border-right:none;left:auto;right:1px;top:auto}.el-input-number.is-controls-right[class*=large] [class*=decrease],.el-input-number.is-controls-right[class*=large] [class*=increase]{--el-input-number-controls-height:19px}.el-input-number.is-controls-right[class*=small] [class*=decrease],.el-input-number.is-controls-right[class*=small] [class*=increase]{--el-input-number-controls-height:11px}.el-input-tag{--el-input-tag-border-color-hover:var(--el-border-color-hover);--el-input-tag-placeholder-color:var(--el-text-color-placeholder);--el-input-tag-disabled-color:var(--el-disabled-text-color);--el-input-tag-disabled-border:var(--el-disabled-border-color);--el-input-tag-font-size:var(--el-font-size-base);--el-input-tag-close-hover-color:var(--el-text-color-secondary);--el-input-tag-text-color:var(--el-text-color-regular);--el-input-tag-input-focus-border-color:var(--el-color-primary);--el-input-tag-width:100%;--el-input-tag-mini-height:var(--el-component-size);--el-input-tag-gap:6px;--el-input-tag-padding:4px;--el-input-tag-inner-padding:8px;--el-input-tag-line-height:24px;align-items:center;background-color:var(--el-fill-color-blank);border-radius:var(--el-border-radius-base);box-shadow:0 0 0 1px var(--el-border-color) inset;box-sizing:border-box;cursor:pointer;display:flex;font-size:var(--el-input-tag-font-size);line-height:var(--el-input-tag-line-height);min-height:var(--el-input-tag-mini-height);padding:var(--el-input-tag-padding);transform:translateZ(0);transition:var(--el-transition-duration);width:var(--el-input-tag-width)}.el-input-tag.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-input-tag.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-input-tag.is-disabled{background-color:var(--el-fill-color-light);cursor:not-allowed}.el-input-tag.is-disabled,.el-input-tag.is-disabled:hover{box-shadow:0 0 0 1px var(--el-input-tag-disabled-border) inset}.el-input-tag.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input-tag.is-disabled .el-input-tag__inner .el-input-tag__input,.el-input-tag.is-disabled .el-input-tag__inner .el-tag{cursor:not-allowed}.el-input-tag__prefix,.el-input-tag__suffix{align-items:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:flex;flex-shrink:0;padding:0 var(--el-input-tag-inner-padding)}.el-input-tag__suffix{gap:8px}.el-input-tag__collapse-tag{line-height:1}.el-input-tag__input-tag-list{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0;position:relative}.el-input-tag__input-tag-list.is-near{margin-left:-8px}.el-input-tag__input-tag-list .el-tag{border-color:transparent;cursor:pointer}.el-input-tag__input-tag-list .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-input-tag__input-tag-list .el-tag .el-tag__content{min-width:0}.el-input-tag__inner{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:var(--el-input-tag-gap);max-width:100%;min-width:0;position:relative}.el-input-tag__inner.is-left-space{margin-left:var(--el-input-tag-inner-padding)}.el-input-tag__inner.is-right-space{margin-right:var(--el-input-tag-inner-padding)}.el-input-tag__inner.is-draggable .el-tag{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-input-tag__drop-indicator{background-color:var(--el-color-primary);height:var(--el-input-tag-line-height);position:absolute;top:0;width:1px}.el-input-tag__inner .el-tag{border-color:transparent;cursor:pointer;max-width:100%}.el-input-tag__inner .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-input-tag__inner .el-tag .el-tag__content{line-height:normal;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-input-tag__input-wrapper{flex:1}.el-input-tag__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-input-tag-text-color);font-family:inherit;font-size:inherit;line-height:inherit;outline:none;padding:0;width:100%}.el-input-tag__input::-moz-placeholder{color:var(--el-input-tag-placeholder-color)}.el-input-tag__input::placeholder{color:var(--el-input-tag-placeholder-color)}.el-input-tag__input-calculator{left:0;max-width:100%;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:pre}.el-input-tag--large{--el-input-tag-gap:6px;--el-input-tag-padding:8px;--el-input-tag-padding-left:8px;--el-input-tag-font-size:14px}.el-input-tag--small{--el-input-tag-gap:4px;--el-input-tag-padding:2px;--el-input-tag-padding-left:6px;--el-input-tag-font-size:12px;--el-input-tag-line-height:20px;--el-input-tag-mini-height:var(--el-component-size-small)}.el-link{--el-link-font-size:var(--el-font-size-base);--el-link-font-weight:var(--el-font-weight-primary);--el-link-text-color:var(--el-text-color-regular);--el-link-hover-text-color:var(--el-color-primary);--el-link-disabled-text-color:var(--el-text-color-placeholder);align-items:center;color:var(--el-link-text-color);cursor:pointer;display:inline-flex;flex-direction:row;font-size:var(--el-link-font-size);font-weight:var(--el-link-font-weight);justify-content:center;outline:none;padding:0;position:relative;text-decoration:none;vertical-align:middle}.el-link.is-hover-underline:hover:after{border-bottom:1px solid var(--el-link-hover-text-color);bottom:0;content:"";height:0;left:0;position:absolute;right:0}.el-link.is-underline:after{border-bottom:1px solid var(--el-link-text-color);bottom:0;content:"";height:0;left:0;position:absolute;right:0}.el-link:hover{color:var(--el-link-hover-text-color)}.el-link:hover:after{border-color:var(--el-link-hover-text-color)}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link__inner{align-items:center;display:inline-flex;justify-content:center}.el-link.el-link--primary{--el-link-text-color:var(--el-color-primary);--el-link-hover-text-color:var(--el-color-primary-light-3);--el-link-disabled-text-color:var(--el-color-primary-light-5)}.el-link.el-link--success{--el-link-text-color:var(--el-color-success);--el-link-hover-text-color:var(--el-color-success-light-3);--el-link-disabled-text-color:var(--el-color-success-light-5)}.el-link.el-link--warning{--el-link-text-color:var(--el-color-warning);--el-link-hover-text-color:var(--el-color-warning-light-3);--el-link-disabled-text-color:var(--el-color-warning-light-5)}.el-link.el-link--danger{--el-link-text-color:var(--el-color-danger);--el-link-hover-text-color:var(--el-color-danger-light-3);--el-link-disabled-text-color:var(--el-color-danger-light-5)}.el-link.el-link--error{--el-link-text-color:var(--el-color-error);--el-link-hover-text-color:var(--el-color-error-light-3);--el-link-disabled-text-color:var(--el-color-error-light-5)}.el-link.el-link--info{--el-link-text-color:var(--el-color-info);--el-link-hover-text-color:var(--el-color-info-light-3);--el-link-disabled-text-color:var(--el-color-info-light-5)}.el-link.is-disabled{color:var(--el-link-disabled-text-color);cursor:not-allowed}.el-link.is-disabled:after{border-color:var(--el-link-disabled-text-color)}:root{--el-loading-spinner-size:42px;--el-loading-fullscreen-spinner-size:50px}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{background-color:var(--el-mask-color);bottom:0;left:0;margin:0;position:absolute;right:0;top:0;transition:opacity var(--el-transition-duration);z-index:2000}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:calc((0px - var(--el-loading-fullscreen-spinner-size))/2)}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:var(--el-loading-fullscreen-spinner-size);width:var(--el-loading-fullscreen-spinner-size)}.el-loading-spinner{margin-top:calc((0px - var(--el-loading-spinner-size))/2);position:absolute;text-align:center;top:50%;width:100%}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);font-size:14px;margin:3px 0}.el-loading-spinner .circular{animation:loading-rotate 2s linear infinite;display:inline;height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size)}.el-loading-spinner .path{animation:loading-dash 1.5s ease-in-out infinite;stroke:var(--el-color-primary);stroke-dasharray:90,150;stroke-dashoffset:0;stroke-linecap:round;stroke-width:2}.el-loading-spinner i{color:var(--el-color-primary)}.el-loading-fade-enter-from,.el-loading-fade-leave-to{opacity:0}@keyframes loading-rotate{to{transform:rotate(1turn)}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-main{--el-main-padding:20px;box-sizing:border-box;display:block;flex:1;flex-basis:auto;overflow:auto;padding:var(--el-main-padding)}:root{--el-menu-active-color:var(--el-color-primary);--el-menu-text-color:var(--el-text-color-primary);--el-menu-hover-text-color:var(--el-color-primary);--el-menu-bg-color:var(--el-fill-color-blank);--el-menu-hover-bg-color:var(--el-color-primary-light-9);--el-menu-item-height:56px;--el-menu-sub-item-height:calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-height:60px;--el-menu-horizontal-sub-item-height:36px;--el-menu-item-font-size:var(--el-font-size-base);--el-menu-item-hover-fill:var(--el-color-primary-light-9);--el-menu-border-color:var(--el-border-color);--el-menu-base-level-padding:20px;--el-menu-level-padding:20px;--el-menu-icon-width:24px}.el-menu{background-color:var(--el-menu-bg-color);border-right:1px solid var(--el-menu-border-color);box-sizing:border-box;list-style:none;margin:0;padding-left:0;position:relative}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title{padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level)*var(--el-menu-level-padding));white-space:nowrap}.el-menu:not(.el-menu--collapse) .el-sub-menu__title{padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-menu--horizontal{border-right:none;display:flex;flex-wrap:nowrap;height:var(--el-menu-horizontal-height)}.el-menu--horizontal.el-menu--popup-container{height:unset}.el-menu--horizontal.el-menu{border-bottom:1px solid var(--el-menu-border-color)}.el-menu--horizontal>.el-menu-item{align-items:center;border-bottom:2px solid transparent;color:var(--el-menu-text-color);display:inline-flex;height:100%;justify-content:center;margin:0}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:none}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{border-bottom:2px solid transparent;color:var(--el-menu-text-color);height:100%}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-menu-bg-color)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{align-items:center;background-color:var(--el-menu-bg-color);color:var(--el-menu-text-color);display:flex;height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);padding:0 10px}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-menu-item.is-active:hover,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title:hover{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,.el-menu--horizontal .el-menu-item:not(.is-disabled):hover{background-color:var(--el-menu-hover-bg-color);color:var(--el-menu-active-color,var(--el-menu-hover-text-color));outline:none}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding)*2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{margin:0;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span{display:inline-block;height:0;overflow:hidden;visibility:hidden;width:0}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--collapse .el-sub-menu.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{border:none;border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light);min-width:200px;padding:5px 0;z-index:100}.el-menu .el-icon{flex-shrink:0}.el-menu-item{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:focus,.el-menu-item:hover{outline:none}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-menu-item [class^=el-icon]{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{align-items:center;box-sizing:border-box;display:inline-flex;height:100%;left:0;padding:0 var(--el-menu-base-level-padding);position:absolute;top:0;width:100%}.el-sub-menu{list-style:none;margin:0;padding-left:0}.el-sub-menu__title{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:focus,.el-sub-menu__title:hover{outline:none}.el-sub-menu__title.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu.el-sub-menu__hide-arrow .el-sub-menu__title{padding-right:var(--el-menu-base-level-padding)}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-disabled .el-menu-item,.el-sub-menu.is-disabled .el-sub-menu__title{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu .el-icon{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{font-size:12px;margin-right:0;margin-top:-6px;position:absolute;right:var(--el-menu-base-level-padding);top:50%;transition:transform var(--el-transition-duration);width:inherit}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{color:var(--el-text-color-secondary);font-size:12px;line-height:normal;padding:7px 0 7px var(--el-menu-base-level-padding)}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{opacity:0;transition:var(--el-transition-duration-fast)}.el-menu,.el-menu--popup-container,.el-popper{outline:none}.el-message-box{--el-messagebox-title-color:var(--el-text-color-primary);--el-messagebox-width:420px;--el-messagebox-border-radius:4px;--el-messagebox-box-shadow:var(--el-box-shadow);--el-messagebox-font-size:var(--el-font-size-large);--el-messagebox-content-font-size:var(--el-font-size-base);--el-messagebox-content-color:var(--el-text-color-regular);--el-messagebox-error-font-size:12px;--el-messagebox-padding-primary:12px;--el-messagebox-font-line-height:var(--el-font-line-height-primary);backface-visibility:hidden;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);box-shadow:var(--el-messagebox-box-shadow);box-sizing:border-box;display:inline-block;font-size:var(--el-messagebox-font-size);max-width:var(--el-messagebox-width);overflow:hidden;overflow-wrap:break-word;padding:var(--el-messagebox-padding-primary);position:relative;text-align:left;vertical-align:middle;width:100%}.el-message-box:focus{outline:none!important}.is-message-box .el-overlay-message-box{bottom:0;left:0;overflow:auto;padding:16px;position:fixed;right:0;text-align:center;top:0}.is-message-box .el-overlay-message-box:after{content:"";display:inline-block;height:100%;vertical-align:middle;width:0}.el-message-box.is-draggable .el-message-box__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-message-box__header{padding-bottom:var(--el-messagebox-padding-primary)}.el-message-box__header.show-close{padding-right:calc(var(--el-messagebox-padding-primary) + var(--el-message-close-size, 16px))}.el-message-box__title{color:var(--el-messagebox-title-color);font-size:var(--el-messagebox-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-message-box__headerbtn .el-message-box__close{color:var(--el-color-info);font-size:inherit}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:var(--el-color-primary)}.el-message-box__content{color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{align-items:center;display:flex;gap:12px}.el-message-box__input{padding-top:12px}.el-message-box__input div.invalid>input,.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{font-size:24px}.el-message-box__status.el-message-box-icon--primary{--el-messagebox-color:var(--el-color-primary);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color:var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color:var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color:var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color:var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{margin:0;min-width:0}.el-message-box__message p{line-height:var(--el-messagebox-font-line-height);margin:0}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__btns{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;padding-top:var(--el-messagebox-padding-primary)}.el-message-box--center .el-message-box__title{align-items:center;display:flex;gap:6px;justify-content:center}.el-message-box--center .el-message-box__status{font-size:inherit}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__container{justify-content:center}.el-message-box-parent--hidden{overflow:hidden}.fade-in-linear-enter-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@keyframes msgbox-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}.el-message{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:11px 15px;--el-message-close-size:16px;--el-message-close-icon-color:var(--el-text-color-placeholder);--el-message-close-hover-color:var(--el-text-color-secondary);align-items:center;background-color:var(--el-message-bg-color);border-color:var(--el-message-border-color);border-radius:var(--el-border-radius-base);border-style:var(--el-border-style);border-width:var(--el-border-width);box-sizing:border-box;display:flex;gap:8px;max-width:calc(100% - 32px);padding:var(--el-message-padding);position:fixed;transition:opacity var(--el-transition-duration),transform .4s,top .4s,bottom .4s;width:-moz-max-content;width:max-content}.el-message.is-left{left:16px}.el-message.is-right{right:16px}.el-message.is-center{left:50%;transform:translate(-50%)}.el-message.is-plain{background-color:var(--el-bg-color-overlay);border-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-message p{margin:0}.el-message--primary{--el-message-bg-color:var(--el-color-primary-light-9);--el-message-border-color:var(--el-color-primary-light-8);--el-message-text-color:var(--el-color-primary)}.el-message--primary .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--primary{color:var(--el-message-text-color)}.el-message--success{--el-message-bg-color:var(--el-color-success-light-9);--el-message-border-color:var(--el-color-success-light-8);--el-message-text-color:var(--el-color-success)}.el-message--success .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-color-info-light-8);--el-message-text-color:var(--el-color-info)}.el-message--info .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color:var(--el-color-warning-light-9);--el-message-border-color:var(--el-color-warning-light-8);--el-message-text-color:var(--el-color-warning)}.el-message--warning .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color:var(--el-color-error-light-9);--el-message-border-color:var(--el-color-error-light-8);--el-message-text-color:var(--el-color-error)}.el-message--error .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message .el-message__badge{position:absolute;right:-8px;top:-8px}.el-message__content{font-size:14px;line-height:1;padding:0}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{color:var(--el-message-close-icon-color);cursor:pointer;font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0}.el-message-fade-enter-from.is-left,.el-message-fade-enter-from.is-right,.el-message-fade-leave-to.is-left,.el-message-fade-leave-to.is-right{transform:translateY(-100%)}.el-message-fade-enter-from.is-left.is-bottom,.el-message-fade-enter-from.is-right.is-bottom,.el-message-fade-leave-to.is-left.is-bottom,.el-message-fade-leave-to.is-right.is-bottom{transform:translateY(100%)}.el-message-fade-enter-from.is-center,.el-message-fade-leave-to.is-center{transform:translate(-50%,-100%)}.el-message-fade-enter-from.is-center.is-bottom,.el-message-fade-leave-to.is-center.is-bottom{transform:translate(-50%,100%)}.el-notification{--el-notification-width:330px;--el-notification-padding:14px 26px 14px 13px;--el-notification-radius:8px;--el-notification-shadow:var(--el-box-shadow-light);--el-notification-border-color:var(--el-border-color-lighter);--el-notification-icon-size:24px;--el-notification-close-font-size:var(--el-message-close-size,16px);--el-notification-group-margin-left:13px;--el-notification-group-margin-right:8px;--el-notification-content-font-size:var(--el-font-size-base);--el-notification-content-color:var(--el-text-color-regular);--el-notification-title-font-size:16px;--el-notification-title-color:var(--el-text-color-primary);--el-notification-close-color:var(--el-text-color-secondary);--el-notification-close-hover-color:var(--el-text-color-regular);background-color:var(--el-bg-color-overlay);border:1px solid var(--el-notification-border-color);border-radius:var(--el-notification-radius);box-shadow:var(--el-notification-shadow);box-sizing:border-box;display:flex;overflow:hidden;overflow-wrap:break-word;padding:var(--el-notification-padding);position:fixed;transition:opacity var(--el-transition-duration),transform var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration);width:var(--el-notification-width);z-index:9999}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{flex:1;margin-left:var(--el-notification-group-margin-left);margin-right:var(--el-notification-group-margin-right);min-width:0}.el-notification__title{color:var(--el-notification-title-color);font-size:var(--el-notification-title-font-size);font-weight:700;line-height:var(--el-notification-icon-size);margin:0}.el-notification__content{color:var(--el-notification-content-color);font-size:var(--el-notification-content-font-size);line-height:24px;margin:6px 0 0}.el-notification__content p{margin:0}.el-notification .el-notification__icon{flex-shrink:0;font-size:var(--el-notification-icon-size);height:var(--el-notification-icon-size);width:var(--el-notification-icon-size)}.el-notification .el-notification__closeBtn{color:var(--el-notification-close-color);cursor:pointer;font-size:var(--el-notification-close-font-size);position:absolute;right:15px;top:18px}.el-notification .el-notification__closeBtn:hover{color:var(--el-notification-close-hover-color)}.el-notification .el-notification--primary{--el-notification-icon-color:var(--el-color-primary);color:var(--el-notification-icon-color)}.el-notification .el-notification--success{--el-notification-icon-color:var(--el-color-success);color:var(--el-notification-icon-color)}.el-notification .el-notification--info{--el-notification-icon-color:var(--el-color-info);color:var(--el-notification-icon-color)}.el-notification .el-notification--warning{--el-notification-icon-color:var(--el-color-warning);color:var(--el-notification-icon-color)}.el-notification .el-notification--error{--el-notification-icon-color:var(--el-color-error);color:var(--el-notification-icon-color)}.el-notification-fade-enter-from.right{right:0;transform:translate(100%)}.el-notification-fade-enter-from.left{left:0;transform:translate(-100%)}.el-notification-fade-leave-to{opacity:0}.el-overlay{background-color:var(--el-overlay-color-lighter);bottom:0;height:100%;left:0;overflow:auto;position:fixed;right:0;top:0;z-index:2000}.el-overlay .el-overlay-root{height:0}.el-page-header.is-contentful .el-page-header__main{border-top:1px solid var(--el-border-color-light);margin-top:16px}.el-page-header__header{align-items:center;display:flex;justify-content:space-between;line-height:24px}.el-page-header__left{align-items:center;display:flex;margin-right:40px;position:relative}.el-page-header__back{align-items:center;cursor:pointer;display:flex}.el-page-header__left .el-divider--vertical{margin:0 16px}.el-page-header__icon{align-items:center;display:flex;font-size:16px;margin-right:10px}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{color:var(--el-text-color-primary);font-size:18px}.el-page-header__breadcrumb{margin-bottom:16px}.el-pagination{--el-pagination-font-size:14px;--el-pagination-bg-color:var(--el-fill-color-blank);--el-pagination-text-color:var(--el-text-color-primary);--el-pagination-border-radius:2px;--el-pagination-button-color:var(--el-text-color-primary);--el-pagination-button-width:32px;--el-pagination-button-height:32px;--el-pagination-button-disabled-color:var(--el-text-color-placeholder);--el-pagination-button-disabled-bg-color:var(--el-fill-color-blank);--el-pagination-button-bg-color:var(--el-fill-color);--el-pagination-hover-color:var(--el-color-primary);--el-pagination-font-size-small:12px;--el-pagination-button-width-small:24px;--el-pagination-button-height-small:24px;--el-pagination-button-width-large:40px;--el-pagination-button-height-large:40px;--el-pagination-item-gap:16px;align-items:center;color:var(--el-pagination-text-color);display:flex;font-size:var(--el-pagination-font-size);font-weight:400;white-space:nowrap}.el-pagination .el-input__inner{-moz-appearance:textfield;text-align:center}.el-pagination .el-select{width:128px}.el-pagination .btn-next,.el-pagination .btn-prev{align-items:center;background:var(--el-pagination-bg-color);border:none;border-radius:var(--el-pagination-border-radius);box-sizing:border-box;color:var(--el-pagination-button-color);cursor:pointer;display:flex;font-size:var(--el-pagination-font-size);height:var(--el-pagination-button-height);justify-content:center;line-height:var(--el-pagination-button-height);min-width:var(--el-pagination-button-width);padding:0 4px;text-align:center}.el-pagination .btn-next *,.el-pagination .btn-prev *{pointer-events:none}.el-pagination .btn-next:focus,.el-pagination .btn-prev:focus{outline:none}.el-pagination .btn-next:hover,.el-pagination .btn-prev:hover{color:var(--el-pagination-hover-color)}.el-pagination .btn-next.is-active,.el-pagination .btn-prev.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pagination .btn-next.is-active.is-disabled,.el-pagination .btn-prev.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pagination .btn-next.is-disabled,.el-pagination .btn-next:disabled,.el-pagination .btn-prev.is-disabled,.el-pagination .btn-prev:disabled{background-color:var(--el-pagination-button-disabled-bg-color);color:var(--el-pagination-button-disabled-color);cursor:not-allowed}.el-pagination .btn-next:focus-visible,.el-pagination .btn-prev:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-pagination .btn-next .el-icon,.el-pagination .btn-prev .el-icon{display:block;font-size:12px;font-weight:700;width:inherit}.el-pagination>.is-first{margin-left:0!important}.el-pagination>.is-last{margin-right:0!important}.el-pagination .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination__sizes,.el-pagination__total{color:var(--el-text-color-regular);font-weight:400;margin-left:var(--el-pagination-item-gap)}.el-pagination__total[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__jump{align-items:center;color:var(--el-text-color-regular);display:flex;font-weight:400;margin-left:var(--el-pagination-item-gap)}.el-pagination__jump[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__goto{margin-right:8px}.el-pagination__editor{box-sizing:border-box;text-align:center}.el-pagination__editor.el-input{width:56px}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button,.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination__classifier{margin-left:8px}.el-pagination__rightwrapper{align-items:center;display:flex;flex:1;justify-content:flex-end}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{background-color:var(--el-pagination-button-bg-color);margin:0 4px}.el-pagination.is-background .btn-next.is-active,.el-pagination.is-background .btn-prev.is-active,.el-pagination.is-background .el-pager li.is-active{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-pagination.is-background .btn-next.is-disabled,.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-prev.is-disabled,.el-pagination.is-background .btn-prev:disabled,.el-pagination.is-background .el-pager li.is-disabled,.el-pagination.is-background .el-pager li:disabled{background-color:var(--el-disabled-bg-color);color:var(--el-text-color-placeholder)}.el-pagination.is-background .btn-next.is-disabled.is-active,.el-pagination.is-background .btn-next:disabled.is-active,.el-pagination.is-background .btn-prev.is-disabled.is-active,.el-pagination.is-background .btn-prev:disabled.is-active,.el-pagination.is-background .el-pager li.is-disabled.is-active,.el-pagination.is-background .el-pager li:disabled.is-active{background-color:var(--el-fill-color-dark);color:var(--el-text-color-secondary)}.el-pagination.is-background .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination--small .btn-next,.el-pagination--small .btn-prev,.el-pagination--small .el-pager li{font-size:var(--el-pagination-font-size-small);height:var(--el-pagination-button-height-small);line-height:var(--el-pagination-button-height-small);min-width:var(--el-pagination-button-width-small)}.el-pagination--small button,.el-pagination--small span:not([class*=suffix]){font-size:var(--el-pagination-font-size-small)}.el-pagination--small .el-select{width:100px}.el-pagination--large .btn-next,.el-pagination--large .btn-prev,.el-pagination--large .el-pager li{height:var(--el-pagination-button-height-large);line-height:var(--el-pagination-button-height-large);min-width:var(--el-pagination-button-width-large)}.el-pagination--large .el-select .el-input{width:160px}.el-pager{font-size:0;list-style:none;margin:0;padding:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-pager,.el-pager li{align-items:center;display:flex}.el-pager li{background:var(--el-pagination-bg-color);border:none;border-radius:var(--el-pagination-border-radius);box-sizing:border-box;color:var(--el-pagination-button-color);cursor:pointer;font-size:var(--el-pagination-font-size);height:var(--el-pagination-button-height);justify-content:center;line-height:var(--el-pagination-button-height);min-width:var(--el-pagination-button-width);padding:0 4px;text-align:center}.el-pager li *{pointer-events:none}.el-pager li:focus{outline:none}.el-pager li.is-active,.el-pager li:hover{color:var(--el-pagination-hover-color)}.el-pager li.is-active{cursor:default;font-weight:700}.el-pager li.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pager li.is-disabled,.el-pager li:disabled{background-color:var(--el-pagination-button-disabled-bg-color);color:var(--el-pagination-button-disabled-color);cursor:not-allowed}.el-pager li:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-popconfirm{outline:none}.el-popconfirm__main{align-items:center;display:flex}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{margin-top:8px;text-align:right}.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);border:1px solid var(--el-popover-border-color);border-radius:var(--el-popover-border-radius);box-shadow:var(--el-box-shadow-light);box-sizing:border-box;color:var(--el-text-color-regular);font-size:var(--el-popover-font-size);line-height:1.4;min-width:150px;overflow-wrap:break-word;padding:var(--el-popover-padding);z-index:var(--el-index-popper)}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}.el-progress{align-items:center;display:flex;line-height:1;position:relative}.el-progress__text{color:var(--el-text-color-regular);font-size:14px;line-height:1;margin-left:5px;min-width:50px}.el-progress__text i{display:block;vertical-align:middle}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{left:0;margin:0;position:absolute;text-align:center;top:50%;transform:translateY(-50%);width:100%}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{display:inline-block;vertical-align:middle}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{display:block;margin-right:0;padding-right:0}.el-progress--text-inside .el-progress-bar{margin-right:0;padding-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{box-sizing:border-box;flex-grow:1}.el-progress-bar__outer{background-color:var(--el-border-color-lighter);border-radius:100px;height:6px;overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{background-color:var(--el-color-primary);border-radius:100px;height:100%;left:0;line-height:1;position:absolute;text-align:right;top:0;transition:width .6s ease;white-space:nowrap}.el-progress-bar__inner:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{animation:indeterminate 3s infinite;transform:translateZ(0)}.el-progress-bar__inner--striped{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0,transparent 50%,rgba(0,0,0,.1) 0,rgba(0,0,0,.1) 75%,transparent 0,transparent);background-size:1.25em 1.25em}.el-progress-bar__inner--striped.el-progress-bar__inner--striped-flow{animation:striped-flow 3s linear infinite}.el-progress-bar__innerText{color:#fff;display:inline-block;font-size:12px;margin:0 5px;vertical-align:middle}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}@keyframes striped-flow{0%{background-position:-100%}to{background-position:100%}}.el-radio-button{--el-radio-button-checked-bg-color:var(--el-color-primary);--el-radio-button-checked-text-color:var(--el-color-white);--el-radio-button-checked-border-color:var(--el-color-primary);--el-radio-button-disabled-checked-fill:var(--el-border-color-extra-light);display:inline-block;outline:none;position:relative}.el-radio-button__inner{-webkit-appearance:none;background:var(--el-button-bg-color,var(--el-fill-color-blank));border-radius:0;box-sizing:border-box;color:var(--el-button-text-color,var(--el-text-color-regular));cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:var(--el-button-font-weight,var(--el-font-weight-primary));line-height:1;margin:0;outline:var(--el-border);padding:8px 15px;position:relative;text-align:center;transition:var(--el-transition-all);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-radio-button__inner.is-round{padding:8px 15px}.el-radio-button__inner:hover{color:var(--el-color-primary)}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button.is-active .el-radio-button__original-radio:not(:disabled)+.el-radio-button__inner{background-color:var(--el-radio-button-checked-bg-color,var(--el-color-primary));border-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));box-shadow:-1px 0 0 0 var(--el-radio-button-checked-border-color,var(--el-color-primary));color:var(--el-radio-button-checked-text-color,var(--el-color-white))}.el-radio-button__original-radio{opacity:0;outline:none;position:absolute;z-index:-1}.el-radio-button__original-radio:focus-visible+.el-radio-button__inner{border-left:var(--el-border);border-left-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));border-radius:var(--el-border-radius-base);box-shadow:none;outline:2px solid var(--el-radio-button-checked-border-color);outline-offset:1px;z-index:2}.el-radio-button__original-radio:disabled+.el-radio-button__inner{background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));background-image:none;border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none;color:var(--el-disabled-text-color);cursor:not-allowed}.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner{background-color:var(--el-radio-button-disabled-checked-fill)}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:var(--el-border-radius-base)}.el-radio-button--large .el-radio-button__inner{border-radius:0;font-size:var(--el-font-size-base);padding:12px 19px}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{border-radius:0;font-size:12px;padding:5px 11px}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}.el-radio-group{align-items:center;display:inline-flex;flex-wrap:wrap;font-size:0}.el-radio{--el-radio-font-size:var(--el-font-size-base);--el-radio-text-color:var(--el-text-color-regular);--el-radio-font-weight:var(--el-font-weight-primary);--el-radio-input-height:14px;--el-radio-input-width:14px;--el-radio-input-border-radius:var(--el-border-radius-circle);--el-radio-input-bg-color:var(--el-fill-color-blank);--el-radio-input-border:var(--el-border);--el-radio-input-border-color:var(--el-border-color);--el-radio-input-border-color-hover:var(--el-color-primary);align-items:center;color:var(--el-radio-text-color);cursor:pointer;display:inline-flex;font-size:var(--el-font-size-base);font-weight:var(--el-radio-font-weight);height:32px;margin-right:30px;outline:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{border:var(--el-border);border-radius:var(--el-border-radius-base);box-sizing:border-box;padding:0 15px 0 9px}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{border-color:var(--el-border-color-lighter);cursor:not-allowed}.el-radio.is-bordered.el-radio--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.el-radio.is-bordered.el-radio--large .el-radio__label{font-size:var(--el-font-size-base)}.el-radio.is-bordered.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.is-bordered.el-radio--small{border-radius:var(--el-border-radius-base);padding:0 11px 0 7px}.el-radio.is-bordered.el-radio--small .el-radio__label{font-size:12px}.el-radio.is-bordered.el-radio--small .el-radio__inner{height:12px;width:12px}.el-radio:last-child{margin-right:0}.el-radio__input{cursor:pointer;display:inline-flex;outline:none;position:relative;vertical-align:middle;white-space:nowrap}.el-radio__input.is-disabled .el-radio__inner{border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled .el-radio__inner,.el-radio__input.is-disabled .el-radio__inner:after{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:var(--el-text-color-placeholder)}.el-radio__input.is-disabled+span.el-radio__label{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{background:var(--el-color-primary);border-color:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{background-color:var(--el-color-white);transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:var(--el-color-primary)}.el-radio__input.is-focus .el-radio__inner{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner{background-color:var(--el-radio-input-bg-color);border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);box-sizing:border-box;cursor:pointer;display:inline-block;height:var(--el-radio-input-height);position:relative;transition:all .3s;width:var(--el-radio-input-width)}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{border-radius:var(--el-radio-input-border-radius);content:"";height:4px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in;width:4px}.el-radio__original{bottom:0;left:0;margin:0;opacity:0;outline:none;position:absolute;right:0;top:0;z-index:-1}.el-radio__original:focus-visible+.el-radio__inner{border-radius:var(--el-radio-input-border-radius);outline:2px solid var(--el-radio-input-border-color-hover);outline-offset:1px}.el-radio:focus:not(:focus-visible):not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px var(--el-radio-input-border-color-hover)}.el-radio__label{font-size:var(--el-radio-font-size);padding-left:8px}.el-radio.el-radio--large .el-radio__label{font-size:14px}.el-radio.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{height:12px;width:12px}.el-rate{--el-rate-height:20px;--el-rate-font-size:var(--el-font-size-base);--el-rate-icon-size:18px;--el-rate-icon-margin:6px;--el-rate-void-color:var(--el-border-color-darker);--el-rate-fill-color:#f7ba2a;--el-rate-disabled-void-color:var(--el-fill-color);--el-rate-text-color:var(--el-text-color-primary);--el-rate-outline-color:var(--el-color-primary-light-5);align-items:center;display:inline-flex;height:32px}.el-rate:active,.el-rate:focus{outline:none}.el-rate:focus-visible .el-rate__item .el-rate__icon.is-focus-visible{outline:2px solid var(--el-rate-outline-color);transition:outline-offset 0s,outline 0s}.el-rate__item{color:var(--el-rate-void-color);cursor:pointer;display:inline-block;font-size:0;line-height:normal;position:relative;vertical-align:middle}.el-rate .el-rate__icon{display:inline-block;font-size:var(--el-rate-icon-size);margin-right:var(--el-rate-icon-margin);position:relative;transition:var(--el-transition-duration)}.el-rate .el-rate__icon.hover{transform:scale(1.15)}.el-rate .el-rate__icon .path2{left:0;position:absolute;top:0}.el-rate .el-rate__icon.is-active{color:var(--el-rate-fill-color)}.el-rate__decimal{color:var(--el-rate-fill-color);display:inline-block;overflow:hidden}.el-rate__decimal,.el-rate__decimal--box{left:0;position:absolute;top:0}.el-rate__text{color:var(--el-rate-text-color);font-size:var(--el-rate-font-size);vertical-align:middle}.el-rate--large{height:40px}.el-rate--small{height:24px}.el-rate--small .el-rate__icon{font-size:14px}.el-rate.is-disabled .el-rate__item{color:var(--el-rate-disabled-void-color);cursor:not-allowed}.el-result{--el-result-padding:40px 30px;--el-result-icon-font-size:64px;--el-result-title-font-size:20px;--el-result-title-margin-top:20px;--el-result-subtitle-margin-top:10px;--el-result-extra-margin-top:30px;align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:var(--el-result-padding);text-align:center}.el-result__icon svg{height:var(--el-result-icon-font-size);width:var(--el-result-icon-font-size)}.el-result__title{margin-top:var(--el-result-title-margin-top)}.el-result__title p{color:var(--el-text-color-primary);font-size:var(--el-result-title-font-size);line-height:1.3;margin:0}.el-result__subtitle{margin-top:var(--el-result-subtitle-margin-top)}.el-result__subtitle p{color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:1.3;margin:0}.el-result__extra{margin-top:var(--el-result-extra-margin-top)}.el-result .icon-primary{--el-result-color:var(--el-color-primary);color:var(--el-result-color)}.el-result .icon-success{--el-result-color:var(--el-color-success);color:var(--el-result-color)}.el-result .icon-warning{--el-result-color:var(--el-color-warning);color:var(--el-result-color)}.el-result .icon-danger{--el-result-color:var(--el-color-danger);color:var(--el-result-color)}.el-result .icon-error{--el-result-color:var(--el-color-error);color:var(--el-result-color)}.el-result .icon-info{--el-result-color:var(--el-color-info);color:var(--el-result-color)}.el-row{box-sizing:border-box;display:flex;flex-wrap:wrap;position:relative}.el-row.is-justify-center{justify-content:center}.el-row.is-justify-end{justify-content:flex-end}.el-row.is-justify-space-between{justify-content:space-between}.el-row.is-justify-space-around{justify-content:space-around}.el-row.is-justify-space-evenly{justify-content:space-evenly}.el-row.is-align-top{align-items:flex-start}.el-row.is-align-middle{align-items:center}.el-row.is-align-bottom{align-items:flex-end}.el-scrollbar{--el-scrollbar-opacity:.3;--el-scrollbar-bg-color:var(--el-text-color-secondary);--el-scrollbar-hover-opacity:.5;--el-scrollbar-hover-bg-color:var(--el-text-color-secondary);height:100%;overflow:hidden;position:relative}.el-scrollbar__wrap{height:100%;overflow:auto}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.el-scrollbar__thumb{background-color:var(--el-scrollbar-bg-color,var(--el-text-color-secondary));border-radius:inherit;cursor:pointer;display:block;height:0;opacity:var(--el-scrollbar-opacity,.3);position:relative;transition:var(--el-transition-duration) background-color;width:0}.el-scrollbar__thumb:hover{background-color:var(--el-scrollbar-hover-bg-color,var(--el-text-color-secondary));opacity:var(--el-scrollbar-hover-opacity,.5)}.el-scrollbar__bar{border-radius:4px;bottom:2px;position:absolute;right:2px;z-index:1}.el-scrollbar__bar.is-vertical{top:2px;width:6px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}.el-select-dropdown{border-radius:var(--el-border-radius-base);box-sizing:border-box;z-index:calc(var(--el-index-top) + 1)}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__empty,.el-select-dropdown__loading{color:var(--el-text-color-secondary);font-size:var(--el-select-font-size);margin:0;padding:10px 0;text-align:center}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:6px 0}.el-select-dropdown__list.el-vl__window{margin:6px 0;padding:0}.el-select-dropdown__header{border-bottom:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__footer{border-top:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__item{box-sizing:border-box;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-base);height:34px;line-height:34px;overflow:hidden;padding:0 32px 0 20px;position:relative;text-overflow:ellipsis;white-space:nowrap}.el-select-dropdown__item.is-hovering{background-color:var(--el-fill-color-light)}.el-select-dropdown__item.is-selected{color:var(--el-color-primary);font-weight:700}.el-select-dropdown__item.is-disabled{background-color:unset;color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-selected:after{background-color:var(--el-color-primary);background-position:50%;background-repeat:no-repeat;border-right:none;border-top:none;content:"";height:12px;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;position:absolute;right:20px;top:50%;transform:translateY(-50%);width:12px}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-disabled:after{background-color:var(--el-text-color-placeholder)}.el-select-group{margin:0;padding:0}.el-select-group__wrap{list-style:none;margin:0;padding:0;position:relative}.el-select-group__title{box-sizing:border-box;color:var(--el-color-info);font-size:12px;line-height:34px;overflow:hidden;padding:0 20px;text-overflow:ellipsis;white-space:nowrap}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-color:var(--el-disabled-text-color);--el-select-disabled-border:var(--el-disabled-border-color);--el-select-font-size:var(--el-font-size-base);--el-select-close-hover-color:var(--el-text-color-secondary);--el-select-input-color:var(--el-text-color-placeholder);--el-select-multiple-input-color:var(--el-text-color-regular);--el-select-input-focus-border-color:var(--el-color-primary);--el-select-input-font-size:14px;--el-select-width:100%;display:inline-block;position:relative;vertical-align:middle;width:var(--el-select-width)}.el-select__wrapper{align-items:center;background-color:var(--el-fill-color-blank);border-radius:var(--el-border-radius-base);box-shadow:0 0 0 1px var(--el-border-color) inset;box-sizing:border-box;cursor:pointer;display:flex;font-size:14px;gap:6px;line-height:24px;min-height:32px;padding:4px 12px;position:relative;text-align:left;transform:translateZ(0);transition:var(--el-transition-duration)}.el-select__wrapper.is-filterable{cursor:text}.el-select__wrapper.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-select__wrapper.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-select__wrapper.is-disabled{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select__wrapper.is-disabled,.el-select__wrapper.is-disabled:hover{box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select__wrapper.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-select__wrapper.is-disabled .el-select__selected-item{color:var(--el-select-disabled-color)}.el-select__wrapper.is-disabled .el-select__caret,.el-select__wrapper.is-disabled .el-tag,.el-select__wrapper.is-disabled input{cursor:not-allowed}.el-select__wrapper.is-disabled .el-select__prefix,.el-select__wrapper.is-disabled .el-select__suffix{pointer-events:none}.el-select__prefix,.el-select__suffix{align-items:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:flex;flex-shrink:0;gap:6px}.el-select__caret{color:var(--el-select-input-color);cursor:pointer;font-size:var(--el-select-input-font-size);transform:rotate(0);transition:var(--el-transition-duration)}.el-select__caret.is-reverse{transform:rotate(180deg)}.el-select__clear{cursor:pointer}.el-select__clear:hover{color:var(--el-select-close-hover-color)}.el-select__selection{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0;position:relative}.el-select__selection.is-near{margin-left:-8px}.el-select__selection .el-tag{border-color:transparent;cursor:pointer}.el-select__selection .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-select__selection .el-tag .el-tag__content{min-width:0}.el-select__selected-item{display:flex;flex-wrap:wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-select__tags-text{line-height:normal}.el-select__placeholder,.el-select__tags-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-select__placeholder{color:var(--el-input-text-color,var(--el-text-color-regular));position:absolute;top:50%;transform:translateY(-50%);width:100%;z-index:-1}.el-select__placeholder.is-transparent{color:var(--el-text-color-placeholder);-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-select__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper,.el-select__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-select__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-select__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select__input-wrapper{flex:1}.el-select__input-wrapper.is-hidden{opacity:0;position:absolute;z-index:-1}.el-select__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-select-multiple-input-color);font-family:inherit;font-size:inherit;height:24px;outline:none;padding:0;width:100%}.el-select__input-calculator{left:0;max-width:100%;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:pre}.el-select--large .el-select__wrapper{font-size:14px;gap:6px;line-height:24px;min-height:40px;padding:8px 16px}.el-select--large .el-select__selection{gap:6px}.el-select--large .el-select__selection.is-near{margin-left:-8px}.el-select--large .el-select__prefix,.el-select--large .el-select__suffix{gap:6px}.el-select--large .el-select__input{height:24px}.el-select--small .el-select__wrapper{font-size:12px;gap:4px;line-height:20px;min-height:24px;padding:2px 8px}.el-select--small .el-select__selection{gap:4px}.el-select--small .el-select__selection.is-near{margin-left:-6px}.el-select--small .el-select__prefix,.el-select--small .el-select__suffix{gap:4px}.el-select--small .el-select__input{height:20px}.el-skeleton{--el-skeleton-circle-size:var(--el-avatar-size)}.el-skeleton__item{background:var(--el-skeleton-color);border-radius:var(--el-border-radius-base);display:inline-block;height:16px;width:100%}.el-skeleton__circle{border-radius:50%;height:var(--el-skeleton-circle-size);line-height:var(--el-skeleton-circle-size);width:var(--el-skeleton-circle-size)}.el-skeleton__button{border-radius:4px;height:40px;width:64px}.el-skeleton__p{width:100%}.el-skeleton__p.is-last{width:61%}.el-skeleton__p.is-first{width:33%}.el-skeleton__text{height:var(--el-font-size-small);width:100%}.el-skeleton__caption{height:var(--el-font-size-extra-small)}.el-skeleton__h1{height:var(--el-font-size-extra-large)}.el-skeleton__h3{height:var(--el-font-size-large)}.el-skeleton__h5{height:var(--el-font-size-medium)}.el-skeleton__image{align-items:center;border-radius:0;display:flex;justify-content:center;width:unset}.el-skeleton__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;height:22%;width:22%}.el-skeleton{--el-skeleton-color:var(--el-fill-color);--el-skeleton-to-color:var(--el-fill-color-darker)}@keyframes el-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.el-skeleton{width:100%}.el-skeleton__first-line,.el-skeleton__paragraph{background:var(--el-skeleton-color);height:16px;margin-top:16px}.el-skeleton.is-animated .el-skeleton__item{animation:el-skeleton-loading 1.4s ease infinite;background:linear-gradient(90deg,var(--el-skeleton-color) 25%,var(--el-skeleton-to-color) 37%,var(--el-skeleton-color) 63%);background-size:400% 100%}.el-slider{--el-slider-main-bg-color:var(--el-color-primary);--el-slider-runway-bg-color:var(--el-border-color-light);--el-slider-stop-bg-color:var(--el-color-white);--el-slider-disabled-color:var(--el-text-color-placeholder);--el-slider-border-radius:3px;--el-slider-height:6px;--el-slider-button-size:20px;--el-slider-button-wrapper-size:36px;--el-slider-button-wrapper-offset:-15px;align-items:center;display:flex;height:32px;width:100%}.el-slider__runway{background-color:var(--el-slider-runway-bg-color);border-radius:var(--el-slider-border-radius);cursor:pointer;flex:1;height:var(--el-slider-height);position:relative}.el-slider__runway.show-input{margin-right:30px;width:auto}.el-slider__runway.is-disabled{cursor:default}.el-slider__runway.is-disabled .el-slider__bar{background-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button{border-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button-wrapper.dragging,.el-slider__runway.is-disabled .el-slider__button-wrapper.hover,.el-slider__runway.is-disabled .el-slider__button-wrapper:hover{cursor:not-allowed}.el-slider__runway.is-disabled .el-slider__button.dragging,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover{transform:scale(1)}.el-slider__runway.is-disabled .el-slider__button.dragging,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover{cursor:not-allowed}.el-slider__input{flex-shrink:0;width:130px}.el-slider__bar{background-color:var(--el-slider-main-bg-color);border-bottom-left-radius:var(--el-slider-border-radius);border-top-left-radius:var(--el-slider-border-radius);height:var(--el-slider-height);position:absolute}.el-slider__button-wrapper{background-color:transparent;height:var(--el-slider-button-wrapper-size);line-height:normal;outline:none;position:absolute;text-align:center;top:var(--el-slider-button-wrapper-offset);transform:translate(-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none;width:var(--el-slider-button-wrapper-size);z-index:1}.el-slider__button-wrapper:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-slider__button-wrapper.hover,.el-slider__button-wrapper:hover{cursor:grab}.el-slider__button-wrapper.dragging{cursor:grabbing}.el-slider__button{background-color:var(--el-color-white);border:2px solid var(--el-slider-main-bg-color);border-radius:50%;box-sizing:border-box;display:inline-block;height:var(--el-slider-button-size);transition:var(--el-transition-duration-fast);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:var(--el-slider-button-size)}.el-slider__button.dragging,.el-slider__button.hover,.el-slider__button:hover{transform:scale(1.2)}.el-slider__button.hover,.el-slider__button:hover{cursor:grab}.el-slider__button.dragging{cursor:grabbing}.el-slider__stop{background-color:var(--el-slider-stop-bg-color);border-radius:var(--el-border-radius-circle);height:var(--el-slider-height);position:absolute;transform:translate(-50%);width:var(--el-slider-height)}.el-slider__marks{height:100%;left:12px;top:0;width:18px}.el-slider__marks-text{color:var(--el-color-info);font-size:14px;margin-top:15px;position:absolute;transform:translate(-50%);white-space:pre}.el-slider.is-vertical{display:inline-flex;flex:0;height:100%;position:relative;width:auto}.el-slider.is-vertical .el-slider__runway{height:100%;margin:0 16px;width:var(--el-slider-height)}.el-slider.is-vertical .el-slider__bar{border-radius:0 0 3px 3px;height:auto;width:var(--el-slider-height)}.el-slider.is-vertical .el-slider__button-wrapper{left:var(--el-slider-button-wrapper-offset);top:auto;transform:translateY(50%)}.el-slider.is-vertical .el-slider__stop{transform:translateY(50%)}.el-slider.is-vertical .el-slider__marks-text{left:15px;margin-top:0;transform:translateY(50%)}.el-slider--large{height:40px}.el-slider--small{height:24px}.el-space{display:inline-flex;vertical-align:top}.el-space__item{display:flex;flex-wrap:wrap}.el-space__item>*{flex:1}.el-space--vertical{flex-direction:column}.el-time-spinner{white-space:nowrap;width:100%}.el-spinner{display:inline-block;vertical-align:middle}.el-spinner-inner{animation:rotate 2s linear infinite;height:50px;width:50px}.el-spinner-inner .path{animation:dash 1.5s ease-in-out infinite;stroke:var(--el-border-color-lighter);stroke-linecap:round}@keyframes rotate{to{transform:rotate(1turn)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.el-step{flex-shrink:1;position:relative}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{flex-basis:auto!important;flex-grow:0;flex-shrink:0}.el-step:last-of-type .el-step__description,.el-step:last-of-type .el-step__main{padding-right:0}.el-step__head{position:relative;width:100%}.el-step__head.is-process{border-color:var(--el-text-color-primary);color:var(--el-text-color-primary)}.el-step__head.is-wait{border-color:var(--el-text-color-placeholder);color:var(--el-text-color-placeholder)}.el-step__head.is-success{border-color:var(--el-color-success);color:var(--el-color-success)}.el-step__head.is-error{border-color:var(--el-color-danger);color:var(--el-color-danger)}.el-step__head.is-finish{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-step__icon{align-items:center;background:var(--el-bg-color);box-sizing:border-box;display:inline-flex;font-size:14px;height:24px;justify-content:center;position:relative;transition:.15s ease-out;width:24px;z-index:1}.el-step__icon.is-text{border:2px solid;border-radius:50%}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{color:inherit;display:inline-block;font-weight:700;line-height:1;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:25px;font-weight:400}.el-step__icon-inner.is-status{transform:translateY(1px)}.el-step__line{background-color:var(--el-text-color-placeholder);border-color:currentColor;position:absolute}.el-step__line-inner{border:1px solid;box-sizing:border-box;display:block;height:0;transition:.15s ease-out;width:0}.el-step__main{text-align:left;white-space:normal}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{color:var(--el-text-color-primary);font-weight:700}.el-step__title.is-wait{color:var(--el-text-color-placeholder)}.el-step__title.is-success{color:var(--el-color-success)}.el-step__title.is-error{color:var(--el-color-danger)}.el-step__title.is-finish{color:var(--el-color-primary)}.el-step__description{font-size:12px;font-weight:400;line-height:20px;margin-top:-5px;padding-right:10%}.el-step__description.is-process{color:var(--el-text-color-primary)}.el-step__description.is-wait{color:var(--el-text-color-placeholder)}.el-step__description.is-success{color:var(--el-color-success)}.el-step__description.is-error{color:var(--el-color-danger)}.el-step__description.is-finish{color:var(--el-color-primary)}.el-step.is-horizontal{display:inline-block}.el-step.is-horizontal .el-step__line{height:2px;left:0;right:0;top:11px}.el-step.is-vertical{display:flex}.el-step.is-vertical .el-step__head{flex-grow:0;width:24px}.el-step.is-vertical .el-step__main{flex-grow:1;padding-left:10px}.el-step.is-vertical .el-step__title{line-height:24px;padding-bottom:8px}.el-step.is-vertical .el-step__line{bottom:0;left:11px;top:0;width:2px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-vertical .el-step__description{padding-right:0}.el-step.is-center .el-step__head,.el-step.is-center .el-step__main{text-align:center}.el-step.is-center .el-step__description{padding-left:20%;padding-right:20%}.el-step.is-center .el-step__line{left:50%;right:-50%}.el-step.is-simple{align-items:center;display:flex}.el-step.is-simple .el-step__head{font-size:0;padding-right:10px;width:auto}.el-step.is-simple .el-step__icon{background:transparent;font-size:12px;height:16px;width:16px}.el-step.is-simple .el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:18px}.el-step.is-simple .el-step__icon-inner.is-status{transform:scale(.8) translateY(1px)}.el-step.is-simple .el-step__main{align-items:stretch;display:flex;flex-grow:1;position:relative}.el-step.is-simple .el-step__title{font-size:16px;line-height:20px}.el-step.is-simple:not(:last-of-type) .el-step__title{max-width:50%;overflow-wrap:break-word}.el-step.is-simple .el-step__arrow{align-items:center;display:flex;flex-grow:1;justify-content:center}.el-step.is-simple .el-step__arrow:after,.el-step.is-simple .el-step__arrow:before{background:var(--el-text-color-placeholder);content:"";display:inline-block;height:15px;position:absolute;width:1px}.el-step.is-simple .el-step__arrow:before{transform:rotate(-45deg) translateY(-4px);transform-origin:0 0}.el-step.is-simple .el-step__arrow:after{transform:rotate(45deg) translateY(4px);transform-origin:100% 100%}.el-step.is-simple:last-of-type .el-step__arrow{display:none}.el-steps{display:flex;line-height:normal}.el-steps--simple{background:var(--el-fill-color-light);border-radius:4px;padding:13px 8%}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{flex-flow:column;height:100%}.el-switch{--el-switch-on-color:var(--el-color-primary);--el-switch-off-color:var(--el-border-color);align-items:center;display:inline-flex;font-size:14px;height:32px;line-height:20px;position:relative;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{color:var(--el-text-color-primary);cursor:pointer;display:inline-block;font-size:14px;font-weight:500;height:20px;transition:var(--el-transition-duration-fast);vertical-align:middle}.el-switch__label.is-active{color:var(--el-color-primary)}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{display:inline-block;font-size:14px;line-height:1}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{height:0;margin:0;opacity:0;position:absolute;width:0}.el-switch__input:focus-visible~.el-switch__core{outline:2px solid var(--el-switch-on-color);outline-offset:1px}.el-switch__core{align-items:center;background:var(--el-switch-off-color);border:1px solid var(--el-switch-border-color,var(--el-switch-off-color));border-radius:10px;box-sizing:border-box;cursor:pointer;display:inline-flex;height:20px;min-width:40px;outline:none;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration)}.el-switch__core .el-switch__inner{align-items:center;display:flex;height:16px;justify-content:center;overflow:hidden;padding:0 4px 0 18px;transition:all var(--el-transition-duration);width:100%}.el-switch__core .el-switch__inner-wrapper{align-items:center;color:var(--el-color-white);display:flex;font-size:12px;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-switch__core .el-switch__action{align-items:center;background-color:var(--el-color-white);border-radius:var(--el-border-radius-circle);color:var(--el-switch-off-color);display:flex;height:16px;justify-content:center;left:1px;position:absolute;transition:all var(--el-transition-duration);width:16px}.el-switch.is-checked .el-switch__core{background-color:var(--el-switch-on-color);border-color:var(--el-switch-border-color,var(--el-switch-on-color))}.el-switch.is-checked .el-switch__core .el-switch__action{color:var(--el-switch-on-color);left:calc(100% - 17px)}.el-switch.is-checked .el-switch__core .el-switch__inner{padding:0 18px 0 4px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter-from,.el-switch .label-fade-leave-active{opacity:0}.el-switch--large{font-size:14px;height:40px;line-height:24px}.el-switch--large .el-switch__label{font-size:14px;height:24px}.el-switch--large .el-switch__label *{font-size:14px}.el-switch--large .el-switch__core{border-radius:12px;height:24px;min-width:50px}.el-switch--large .el-switch__core .el-switch__inner{height:20px;padding:0 6px 0 22px}.el-switch--large .el-switch__core .el-switch__action{height:20px;width:20px}.el-switch--large.is-checked .el-switch__core .el-switch__action{left:calc(100% - 21px)}.el-switch--large.is-checked .el-switch__core .el-switch__inner{padding:0 22px 0 6px}.el-switch--small{font-size:12px;height:24px;line-height:16px}.el-switch--small .el-switch__label{font-size:12px;height:16px}.el-switch--small .el-switch__label *{font-size:12px}.el-switch--small .el-switch__core{border-radius:8px;height:16px;min-width:30px}.el-switch--small .el-switch__core .el-switch__inner{height:12px;padding:0 2px 0 14px}.el-switch--small .el-switch__core .el-switch__action{height:12px;width:12px}.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 13px)}.el-switch--small.is-checked .el-switch__core .el-switch__inner{padding:0 14px 0 2px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{background-color:#fff;border:1px solid var(--el-border-color-lighter);border-radius:2px;box-shadow:var(--el-box-shadow-light);box-sizing:border-box}.el-table-filter__list{list-style:none;margin:0;min-width:100px;outline:none;padding:5px 0}.el-table-filter__list-item{cursor:pointer;font-size:var(--el-font-size-base);line-height:36px;outline:none;padding:0 10px}.el-table-filter__list-item:focus,.el-table-filter__list-item:hover{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#fff}.el-table-filter__multiple{outline:none}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid var(--el-border-color-lighter);padding:8px}.el-table-filter__bottom button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table-filter__bottom button:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-filter__bottom button{color:var(--el-text-color-regular);font-size:var(--el-font-size-small);padding:0 3px}.el-table-filter__bottom button:hover{color:var(--el-color-primary)}.el-table-filter__bottom button.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{align-items:center;display:flex;height:unset;margin-bottom:12px;margin-left:5px;margin-right:5px}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-table{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-fill-color-blank);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-fill-color-blank);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px rgba(0,0,0,.15);--el-table-fixed-right-column:inset -10px 0 10px -10px rgba(0,0,0,.15);--el-table-index:var(--el-index-normal);background-color:var(--el-table-bg-color);box-sizing:border-box;color:var(--el-table-text-color);font-size:var(--el-font-size-base);height:-moz-fit-content;height:fit-content;max-width:100%;overflow:hidden;position:relative;width:100%}.el-table__inner-wrapper{display:flex;flex-direction:column;height:100%;position:relative}.el-table__inner-wrapper:before{bottom:0;height:1px;left:0}.el-table tbody:focus-visible{outline:none}.el-table.has-footer.el-table--fluid-height tr:last-child td.el-table__cell,.el-table.has-footer.el-table--scrollable-y tr:last-child td.el-table__cell{border-bottom-color:transparent}.el-table__empty-block{align-items:center;display:flex;justify-content:center;left:0;min-height:60px;position:sticky;text-align:center;width:100%}.el-table__empty-text{color:var(--el-text-color-secondary);line-height:60px;width:50%}.el-table__expand-column .cell{padding:0;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table__expand-icon{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table__expand-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:-2px}.el-table__expand-icon{color:var(--el-text-color-regular);font-size:12px;height:23px;line-height:12px;width:min(23px,100%)}.el-table__expand-icon.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table__expand-icon--expanded{transform:rotate(90deg)}.el-table__expand-icon>.el-icon{font-size:12px}.el-table__expanded-cell{background-color:var(--el-table-expanded-cell-bg-color)}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:transparent!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-bottom:0;border-right:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table--fit .el-table__inner-wrapper:before{width:100%}.el-table thead{color:var(--el-table-header-text-color)}.el-table thead th{font-weight:600}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{box-sizing:border-box;min-width:0;padding:8px 0;position:relative;text-align:left;text-overflow:ellipsis;vertical-align:middle;z-index:var(--el-table-index)}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{border-bottom-width:0;border-right-width:0;padding:0;width:15px}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;line-height:23px;overflow:hidden;overflow-wrap:break-word;padding:0 12px;text-overflow:ellipsis;white-space:normal}.el-table .cell.el-tooltip{min-width:50px;white-space:nowrap}.el-table--large{font-size:var(--el-font-size-base)}.el-table--large .el-table__cell{padding:12px 0}.el-table--large .cell{padding:0 16px}.el-table--default{font-size:var(--el-font-size-base)}.el-table--default .el-table__cell{padding:8px 0}.el-table--default .cell{padding:0 12px}.el-table--small{font-size:var(--el-font-size-extra-small)}.el-table--small .el-table__cell{padding:4px 0}.el-table--small .cell{padding:0 8px}.el-table tr{background-color:var(--el-table-tr-bg-color)}.el-table tr input[type=checkbox]{margin:0}.el-table td.el-table__cell,.el-table th.el-table__cell.is-leaf{border-bottom:var(--el-table-border)}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{background:#ff4d51;border-radius:50%;content:"";display:inline-block;height:8px;margin-right:5px;vertical-align:middle;width:8px}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table--border .el-table__inner-wrapper:after,.el-table--border:after,.el-table--border:before,.el-table__inner-wrapper:before{background-color:var(--el-table-border-color);content:"";position:absolute;z-index:calc(var(--el-table-index) + 2)}.el-table--border .el-table__inner-wrapper:after{height:1px;left:0;top:0;width:100%;z-index:calc(var(--el-table-index) + 2)}.el-table--border:before{height:100%;left:0;top:-1px;width:1px}.el-table--border:after{height:100%;right:0;top:-1px;width:1px}.el-table--border .el-table__inner-wrapper{border-bottom:none;border-right:none}.el-table--border .el-table__footer-wrapper{flex-shrink:0;position:relative}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:var(--el-table-border);border-bottom-width:1px}.el-table--border th.el-table__cell{border-bottom:var(--el-table-border)}.el-table--hidden{visibility:hidden}.el-table__body-wrapper,.el-table__footer-wrapper,.el-table__header-wrapper{width:100%}.el-table__body-wrapper tr td.el-table-fixed-column--left,.el-table__body-wrapper tr td.el-table-fixed-column--right,.el-table__body-wrapper tr th.el-table-fixed-column--left,.el-table__body-wrapper tr th.el-table-fixed-column--right,.el-table__footer-wrapper tr td.el-table-fixed-column--left,.el-table__footer-wrapper tr td.el-table-fixed-column--right,.el-table__footer-wrapper tr th.el-table-fixed-column--left,.el-table__footer-wrapper tr th.el-table-fixed-column--right,.el-table__header-wrapper tr td.el-table-fixed-column--left,.el-table__header-wrapper tr td.el-table-fixed-column--right,.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background:inherit;position:sticky!important;z-index:calc(var(--el-table-index) + 1)}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{bottom:0;box-shadow:none;content:"";overflow-x:hidden;overflow-y:hidden;pointer-events:none;position:absolute;top:0;touch-action:none;width:10px}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before{left:-10px}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{right:-10px}.el-table__body-wrapper tr td.el-table__fixed-right-patch,.el-table__body-wrapper tr th.el-table__fixed-right-patch,.el-table__footer-wrapper tr td.el-table__fixed-right-patch,.el-table__footer-wrapper tr th.el-table__fixed-right-patch,.el-table__header-wrapper tr td.el-table__fixed-right-patch,.el-table__header-wrapper tr th.el-table__fixed-right-patch{background:#fff;position:sticky!important;right:0;z-index:calc(var(--el-table-index) + 1)}.el-table__header-wrapper{flex-shrink:0}.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body,.el-table__footer,.el-table__header{border-collapse:separate;table-layout:fixed}.el-table__header-wrapper{overflow:hidden}.el-table__header-wrapper tbody td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__footer-wrapper{flex-shrink:0;overflow:hidden}.el-table__footer-wrapper tfoot td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__body-wrapper .el-table-column--selection>.cell,.el-table__header-wrapper .el-table-column--selection>.cell{align-items:center;display:inline-flex;height:23px}.el-table__body-wrapper .el-table-column--selection .el-checkbox,.el-table__header-wrapper .el-table-column--selection .el-checkbox{height:unset}.el-table.is-scrolling-left .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-left.el-table--border .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:var(--el-table-border)}.el-table.is-scrolling-left th.el-table-fixed-column--left{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-right th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-middle .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-none .el-table-fixed-column--left.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--left.is-last-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-last-column:before{box-shadow:none}.el-table.is-scrolling-none th.el-table-fixed-column--left,.el-table.is-scrolling-none th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body-wrapper{flex:1;overflow:hidden;position:relative}.el-table__body-wrapper .el-scrollbar__bar{z-index:calc(var(--el-table-index) + 2)}.el-table .caret-wrapper{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table .caret-wrapper:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table .caret-wrapper{align-items:center;display:inline-flex;flex-direction:column;height:14px;overflow:initial;position:relative;vertical-align:middle;width:24px}.el-table .sort-caret{border:5px solid transparent;height:0;left:7px;position:absolute;width:0}.el-table .sort-caret.ascending{border-bottom-color:var(--el-text-color-placeholder);top:-5px}.el-table .sort-caret.descending{border-top-color:var(--el-text-color-placeholder);bottom:-3px}.el-table .ascending .sort-caret.ascending{border-bottom-color:var(--el-color-primary)}.el-table .descending .sort-caret.descending{border-top-color:var(--el-color-primary)}.el-table .hidden-columns{position:absolute;visibility:hidden;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:var(--el-fill-color-lighter)}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row>td.el-table__cell,.el-table__body tr>td.hover-cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr.current-row>td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table.el-table--scrollable-y .el-table__body-header{position:sticky;top:0;z-index:calc(var(--el-table-index) + 2)}.el-table.el-table--scrollable-y .el-table__body-footer{bottom:0;position:sticky;z-index:calc(var(--el-table-index) + 2)}.el-table__column-resize-proxy{border-left:var(--el-table-border);bottom:0;left:200px;position:absolute;top:0;width:0;z-index:calc(var(--el-table-index) + 9)}.el-table__column-filter-trigger{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table__column-filter-trigger:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table__column-filter-trigger{display:inline-block}.el-table__column-filter-trigger i{color:var(--el-color-info);font-size:14px;vertical-align:middle}.el-table__border-left-patch{height:100%;top:0;width:1px}.el-table__border-bottom-patch,.el-table__border-left-patch{background-color:var(--el-table-border-color);left:0;position:absolute;z-index:calc(var(--el-table-index) + 2)}.el-table__border-bottom-patch{height:1px}.el-table__border-right-patch{background-color:var(--el-table-border-color);height:100%;position:absolute;top:0;width:1px;z-index:calc(var(--el-table-index) + 2)}.el-table--enable-row-transition .el-table__body td.el-table__cell{transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;text-align:center;width:20px}.el-table .el-table.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table:not(.el-table--border) .el-table__cell{border-right:none}.el-table:not(.el-table--border)>.el-table__inner-wrapper:after{content:none}.el-table-v2{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-fill-color-blank);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-fill-color-blank);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px rgba(0,0,0,.15);--el-table-fixed-right-column:inset -10px 0 10px -10px rgba(0,0,0,.15);--el-table-index:var(--el-index-normal);font-size:var(--el-font-size-base)}.el-table-v2 *{box-sizing:border-box}.el-table-v2__root{position:relative}.el-table-v2__root:hover .el-table-v2__main .el-virtual-scrollbar{opacity:1}.el-table-v2__main{background-color:var(--el-bg-color);display:flex;flex-direction:column-reverse;left:0;overflow:hidden;position:absolute;top:0}.el-table-v2__main .el-vl__horizontal,.el-table-v2__main .el-vl__vertical{z-index:2}.el-table-v2__left{background-color:var(--el-bg-color);box-shadow:2px 0 4px #0000000f;display:flex;flex-direction:column-reverse;left:0;overflow:hidden;position:absolute;top:0}.el-table-v2__left .el-virtual-scrollbar{opacity:0}.el-table-v2__left .el-vl__horizontal,.el-table-v2__left .el-vl__vertical{z-index:-1}.el-table-v2__right{background-color:var(--el-bg-color);box-shadow:-2px 0 4px #0000000f;display:flex;flex-direction:column-reverse;overflow:hidden;position:absolute;right:0;top:0}.el-table-v2__right .el-virtual-scrollbar{opacity:0}.el-table-v2__right .el-vl__horizontal,.el-table-v2__right .el-vl__vertical{z-index:-1}.el-table-v2__header-row,.el-table-v2__row{padding-inline-end:var(--el-table-scrollbar-size)}.el-table-v2__header-wrapper{overflow:hidden}.el-table-v2__header{overflow:hidden;position:relative}.el-table-v2__header .el-checkbox{z-index:0}.el-table-v2__footer{bottom:0;overflow:hidden;right:0}.el-table-v2__empty,.el-table-v2__footer,.el-table-v2__overlay{left:0;position:absolute}.el-table-v2__overlay{bottom:0;right:0;top:0;z-index:9999}.el-table-v2__header-row{border-bottom:var(--el-table-border);display:flex}.el-table-v2__header-cell{align-items:center;background-color:var(--el-table-header-bg-color);color:var(--el-table-header-text-color);display:flex;font-weight:700;height:100%;overflow:hidden;padding:0 8px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table-v2__header-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__header-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__header-cell.is-sortable{cursor:pointer}.el-table-v2__header-cell:hover .el-icon{display:block}.el-table-v2__sort-icon{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table-v2__sort-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-v2__sort-icon{display:none;opacity:.6;transition:opacity,display var(--el-transition-duration)}.el-table-v2__sort-icon.is-sorting{display:flex;opacity:1}.el-table-v2__row{align-items:center;border-bottom:var(--el-table-border);display:flex;transition:background-color var(--el-transition-duration)}.el-table-v2__row.is-hovered,.el-table-v2__row:hover{background-color:var(--el-table-row-hover-bg-color)}.el-table-v2__row-cell{align-items:center;display:flex;height:100%;overflow:hidden;padding:0 8px}.el-table-v2__row-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__row-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__expand-icon{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table-v2__expand-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-v2__expand-icon{margin:0 4px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table-v2__expand-icon svg{transition:transform var(--el-transition-duration)}.el-table-v2__expand-icon.is-expanded svg{transform:rotate(90deg)}.el-table-v2:not(.is-dynamic) .el-table-v2__cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-table-v2.is-dynamic .el-table-v2__row{align-items:stretch;overflow:hidden}.el-table-v2.is-dynamic .el-table-v2__row .el-table-v2__row-cell{overflow-wrap:break-word}.el-tabs{--el-tabs-header-height:40px;display:flex}.el-tabs__header{align-items:center;display:flex;justify-content:space-between;margin:0 0 15px;padding:0;position:relative}.el-tabs__header-vertical{flex-direction:column}.el-tabs__active-bar{background-color:var(--el-color-primary);bottom:0;height:2px;left:0;list-style:none;position:absolute;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);z-index:1}.el-tabs__active-bar.is-bottom{bottom:auto}.el-tabs__new-tab{align-items:center;border:1px solid var(--el-border-color);border-radius:3px;color:var(--el-text-color-primary);cursor:pointer;display:flex;flex-shrink:0;font-size:12px;height:20px;justify-content:center;line-height:20px;margin:10px 0 10px 10px;text-align:center;transition:all .15s;width:20px}.el-tabs__new-tab .is-icon-plus{height:inherit;transform:scale(.8);width:inherit}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__new-tab-vertical{margin-left:0}.el-tabs__nav-wrap{flex:1 auto;margin-bottom:-1px;overflow:hidden;position:relative}.el-tabs__nav-wrap:after{background-color:var(--el-border-color-light);bottom:0;content:"";height:2px;left:0;position:absolute;width:100%;z-index:var(--el-index-normal)}.el-tabs__nav-wrap.is-bottom:after{bottom:auto;top:0}.el-tabs__nav-wrap.is-scrollable{box-sizing:border-box;padding:0 20px}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;line-height:44px;position:absolute;text-align:center;width:20px}.el-tabs__nav-next.is-disabled,.el-tabs__nav-prev.is-disabled{color:var(--el-text-color-disabled);cursor:not-allowed}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{display:flex;float:left;position:relative;transition:transform var(--el-transition-duration);white-space:nowrap;z-index:calc(var(--el-index-normal) + 1)}.el-tabs__nav.is-stretch{display:flex;min-width:100%}.el-tabs__nav.is-stretch>*{flex:1;text-align:center}.el-tabs__item{align-items:center;box-sizing:border-box;color:var(--el-text-color-primary);display:flex;font-size:var(--el-font-size-base);font-weight:500;height:var(--el-tabs-header-height);justify-content:center;list-style:none;padding:0 20px;position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:none}.el-tabs__item:focus-visible{border-radius:3px;box-shadow:0 0 2px 2px var(--el-color-primary) inset}.el-tabs__item .is-icon-close{border-radius:50%;margin-left:5px;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs__item .is-icon-close:before{display:inline-block;transform:scale(.9)}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item.is-active,.el-tabs__item:hover{color:var(--el-color-primary)}.el-tabs__item:hover{cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-tabs__content{flex-grow:1;overflow:hidden;position:relative}.el-tabs--bottom>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:0}.el-tabs--bottom>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top>.el-tabs__header .el-tabs__item:last-child{padding-right:0}.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light);box-sizing:border-box;height:var(--el-tabs-header-height)}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .is-icon-close{font-size:12px;height:14px;overflow:hidden;position:relative;right:-2px;transform-origin:100% 50%;width:0}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);margin-top:-1px;transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .is-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .is-icon-close{width:14px}.el-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{border:1px solid transparent;color:var(--el-text-color-secondary);margin-top:-1px;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item,.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{background-color:var(--el-bg-color-overlay);border-left-color:var(--el-border-color);border-right-color:var(--el-border-color);color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom{flex-direction:column}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-bottom:0;margin-top:-1px}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-scroll,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{bottom:auto;height:auto;top:0;width:2px}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{cursor:pointer;height:30px;line-height:30px;text-align:center;width:100%}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next.is-disabled,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev.is-disabled,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next.is-disabled,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev.is-disabled,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next.is-disabled,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev.is-disabled,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next.is-disabled,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev.is-disabled{cursor:not-allowed}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{bottom:0;right:auto}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{bottom:auto;height:100%;top:0;width:2px}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{flex-direction:column}.el-tabs--left .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-left{justify-content:flex-end}.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-right{justify-content:flex-start}.el-tabs--left{flex-direction:row}.el-tabs--left .el-tabs__header.is-left{margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-bottom:none;border-left:none;border-right:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:none;border-right:1px solid #fff}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-radius:4px 0 0 4px;border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:rgb(209,219,229) transparent}.el-tabs--left>.el-tabs__content+.el-tabs__header{order:-1}.el-tabs--right .el-tabs__header.is-right{margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:1px solid #fff;border-right:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-left:none;border-radius:0 4px 4px 0}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:rgb(209,219,229) transparent}.el-tabs--top{flex-direction:column}.el-tabs--top>.el-tabs__content+.el-tabs__header{order:-1}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{animation:slideInRight-leave var(--el-transition-duration);left:0;position:absolute;right:0}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{animation:slideInLeft-leave var(--el-transition-duration);left:0;position:absolute;right:0}@keyframes slideInRight-enter{0%{opacity:0;transform:translate(100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInRight-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(100%);transform-origin:0 0}}@keyframes slideInLeft-enter{0%{opacity:0;transform:translate(-100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInLeft-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(-100%);transform-origin:0 0}}.el-tag{--el-tag-font-size:12px;--el-tag-border-radius:4px;--el-tag-border-radius-rounded:9999px;align-items:center;background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);border-radius:var(--el-tag-border-radius);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--el-tag-text-color);display:inline-flex;font-size:var(--el-tag-font-size);height:24px;justify-content:center;line-height:1;padding:0 9px;vertical-align:middle;white-space:nowrap;--el-icon-size:14px}.el-tag,.el-tag.el-tag--primary{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-bg-color:var(--el-color-success-light-9);--el-tag-border-color:var(--el-color-success-light-8);--el-tag-hover-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-bg-color:var(--el-color-warning-light-9);--el-tag-border-color:var(--el-color-warning-light-8);--el-tag-hover-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-bg-color:var(--el-color-danger-light-9);--el-tag-border-color:var(--el-color-danger-light-8);--el-tag-hover-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-bg-color:var(--el-color-error-light-9);--el-tag-border-color:var(--el-color-error-light-8);--el-tag-hover-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-bg-color:var(--el-color-info-light-9);--el-tag-border-color:var(--el-color-info-light-8);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-hit{border-color:var(--el-color-primary)}.el-tag.is-round{border-radius:var(--el-tag-border-radius-rounded)}.el-tag .el-tag__close{color:var(--el-tag-text-color);flex-shrink:0}.el-tag .el-tag__close:hover{background-color:var(--el-tag-hover-color);color:var(--el-color-white)}.el-tag.el-tag--primary{--el-tag-text-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-text-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-text-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-text-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-text-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-text-color:var(--el-color-info)}.el-tag .el-icon{border-radius:50%;cursor:pointer;display:flex;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size)}.el-tag .el-tag__close{background-color:transparent;border:none;border-radius:50%;margin-left:6px;outline:none;overflow:hidden;padding:0}.el-tag .el-tag__close:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-tag--dark{--el-tag-text-color:var(--el-color-white)}.el-tag--dark,.el-tag--dark.el-tag--primary{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3)}.el-tag--dark.el-tag--success{--el-tag-bg-color:var(--el-color-success);--el-tag-border-color:var(--el-color-success);--el-tag-hover-color:var(--el-color-success-light-3)}.el-tag--dark.el-tag--warning{--el-tag-bg-color:var(--el-color-warning);--el-tag-border-color:var(--el-color-warning);--el-tag-hover-color:var(--el-color-warning-light-3)}.el-tag--dark.el-tag--danger{--el-tag-bg-color:var(--el-color-danger);--el-tag-border-color:var(--el-color-danger);--el-tag-hover-color:var(--el-color-danger-light-3)}.el-tag--dark.el-tag--error{--el-tag-bg-color:var(--el-color-error);--el-tag-border-color:var(--el-color-error);--el-tag-hover-color:var(--el-color-error-light-3)}.el-tag--dark.el-tag--info{--el-tag-bg-color:var(--el-color-info);--el-tag-border-color:var(--el-color-info);--el-tag-hover-color:var(--el-color-info-light-3)}.el-tag--dark.el-tag--danger,.el-tag--dark.el-tag--error,.el-tag--dark.el-tag--info,.el-tag--dark.el-tag--primary,.el-tag--dark.el-tag--success,.el-tag--dark.el-tag--warning{--el-tag-text-color:var(--el-color-white)}.el-tag--plain,.el-tag--plain.el-tag--primary{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-success-light-5);--el-tag-hover-color:var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-warning-light-5);--el-tag-hover-color:var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-danger-light-5);--el-tag-hover-color:var(--el-color-danger)}.el-tag--plain.el-tag--error{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-error-light-5);--el-tag-hover-color:var(--el-color-error)}.el-tag--plain.el-tag--info{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-info-light-5);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-closable{padding-right:5px}.el-tag--large{height:32px;padding:0 11px;--el-icon-size:16px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{height:20px;padding:0 7px;--el-icon-size:12px}.el-tag--small .el-tag__close{margin-left:4px}.el-tag--small.is-closable{padding-right:3px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag.el-tag--primary.is-hit{border-color:var(--el-color-primary)}.el-tag.el-tag--success.is-hit{border-color:var(--el-color-success)}.el-tag.el-tag--warning.is-hit{border-color:var(--el-color-warning)}.el-tag.el-tag--danger.is-hit{border-color:var(--el-color-danger)}.el-tag.el-tag--error.is-hit{border-color:var(--el-color-error)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}.el-text{--el-text-font-size:var(--el-font-size-base);--el-text-color:var(--el-text-color-regular);align-self:center;color:var(--el-text-color);font-size:var(--el-text-font-size);margin:0;overflow-wrap:break-word;padding:0}.el-text.is-truncated{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-text.is-line-clamp{display:-webkit-inline-box;-webkit-box-orient:vertical;overflow:hidden}.el-text--large{--el-text-font-size:var(--el-font-size-medium)}.el-text--default{--el-text-font-size:var(--el-font-size-base)}.el-text--small{--el-text-font-size:var(--el-font-size-extra-small)}.el-text.el-text--primary{--el-text-color:var(--el-color-primary)}.el-text.el-text--success{--el-text-color:var(--el-color-success)}.el-text.el-text--warning{--el-text-color:var(--el-color-warning)}.el-text.el-text--danger{--el-text-color:var(--el-color-danger)}.el-text.el-text--error{--el-text-color:var(--el-color-error)}.el-text.el-text--info{--el-text-color:var(--el-color-info)}.el-text>.el-icon{vertical-align:-2px}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{margin:0;max-height:200px}.time-select-item{font-size:14px;line-height:20px;padding:8px 10px}.time-select-item.disabled{color:var(--el-datepicker-border-color);cursor:not-allowed}.time-select-item:hover{background-color:var(--el-fill-color-light);cursor:pointer;font-weight:700}.time-select .time-select-item.selected:not(.disabled){color:var(--el-color-primary);font-weight:700}.el-timeline-item{padding-bottom:20px;position:relative}.el-timeline-item__wrapper{box-sizing:content-box;position:relative;top:-3px}.el-timeline-item__tail{border-left:2px solid var(--el-timeline-node-color);height:100%;position:absolute}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{align-items:center;background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);border-radius:50%;box-sizing:border-box;display:flex;justify-content:center;position:absolute}.el-timeline-item__node--normal{height:var(--el-timeline-node-size-normal);width:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{height:var(--el-timeline-node-size-large);width:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{align-items:center;display:flex;justify-content:center;position:absolute}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);font-size:var(--el-font-size-small);line-height:1}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline-item.is-start .el-timeline-item__wrapper{padding-left:28px}.el-timeline-item.is-start .el-timeline-item__tail{left:4px}.el-timeline-item.is-start .el-timeline-item__node--normal{left:-1px}.el-timeline-item.is-start .el-timeline-item__node--large{left:-2px}.el-timeline-item.is-end .el-timeline-item__wrapper{padding-right:28px;text-align:right}.el-timeline-item.is-end .el-timeline-item__tail{right:4px}.el-timeline-item.is-end .el-timeline-item__node--normal{right:-1px}.el-timeline-item.is-end .el-timeline-item__node--large{right:-2px}.el-timeline-item.is-alternate .el-timeline-item__node,.el-timeline-item.is-alternate .el-timeline-item__tail,.el-timeline-item.is-alternate-reverse .el-timeline-item__node,.el-timeline-item.is-alternate-reverse .el-timeline-item__tail{left:50%;transform:translate(-50%)}.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light);font-size:var(--el-font-size-base);list-style:none;margin:0}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{align-items:center;display:flex}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{display:block;height:calc(50% - 10px)}.el-timeline.is-start{padding-left:40px;padding-right:0}.el-timeline.is-end{padding-left:0;padding-right:40px}.el-timeline.is-alternate{padding-left:20px;padding-right:20px}.el-timeline.is-alternate .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{left:calc(50% - var(--el-timeline-node-size-large)/2);padding-left:28px;width:calc(50% - 28px)}.el-timeline.is-alternate .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{padding-right:28px;text-align:right;width:calc(50% - 28px + var(--el-timeline-node-size-large)/2)}.el-timeline.is-alternate-reverse{padding-left:20px;padding-right:20px}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{padding-right:28px;text-align:right;width:calc(50% - 28px + var(--el-timeline-node-size-large)/2)}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{left:calc(50% - var(--el-timeline-node-size-large)/2);padding-left:28px;width:calc(50% - 28px)}.el-transfer{--el-transfer-border-color:var(--el-border-color-lighter);--el-transfer-border-radius:var(--el-border-radius-base);--el-transfer-panel-width:200px;--el-transfer-panel-header-height:40px;--el-transfer-panel-header-bg-color:var(--el-fill-color-light);--el-transfer-panel-footer-height:40px;--el-transfer-panel-body-height:278px;--el-transfer-item-height:30px;--el-transfer-filter-height:32px;font-size:var(--el-font-size-base)}.el-transfer__buttons{display:inline-block;padding:0 30px;vertical-align:middle}.el-transfer__button{vertical-align:top}.el-transfer__button:nth-child(2){margin:0 0 0 10px}.el-transfer__button i,.el-transfer__button span{font-size:14px}.el-transfer__button .el-icon+span{margin-left:0}.el-transfer-panel{background:var(--el-bg-color-overlay);box-sizing:border-box;display:inline-block;max-height:100%;overflow:hidden;position:relative;text-align:left;vertical-align:middle;width:var(--el-transfer-panel-width)}.el-transfer-panel__body{border-bottom:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);border-left:1px solid var(--el-transfer-border-color);border-right:1px solid var(--el-transfer-border-color);height:var(--el-transfer-panel-body-height);overflow:hidden}.el-transfer-panel__body.is-with-footer{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.el-transfer-panel__list{box-sizing:border-box;height:var(--el-transfer-panel-body-height);list-style:none;margin:0;overflow:auto;padding:6px 0}.el-transfer-panel__list.is-filterable{height:calc(100% - var(--el-transfer-filter-height) - 30px);padding-top:0}.el-transfer-panel__item{display:block!important;height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding-left:15px}.el-transfer-panel__item+.el-transfer-panel__item{margin-left:0}.el-transfer-panel__item.el-checkbox{color:var(--el-text-color-regular);margin-right:30px}.el-transfer-panel__item:hover{color:var(--el-color-primary)}.el-transfer-panel__item.el-checkbox .el-checkbox__label{box-sizing:border-box;display:block;line-height:var(--el-transfer-item-height);overflow:hidden;padding-left:22px;text-overflow:ellipsis;white-space:nowrap;width:100%}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{box-sizing:border-box;padding:15px;text-align:center}.el-transfer-panel__filter .el-input__inner{box-sizing:border-box;display:inline-block;font-size:12px;height:var(--el-transfer-filter-height);width:100%}.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-transfer-panel .el-transfer-panel__header{align-items:center;background:var(--el-transfer-panel-header-bg-color);border:1px solid var(--el-transfer-border-color);border-top-left-radius:var(--el-transfer-border-radius);border-top-right-radius:var(--el-transfer-border-radius);box-sizing:border-box;color:var(--el-color-black);display:flex;height:var(--el-transfer-panel-header-height);margin:0;padding-left:15px}.el-transfer-panel .el-transfer-panel__header .el-checkbox{align-items:center;display:flex;position:relative;width:100%}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{align-items:center;color:var(--el-text-color-primary);display:flex;flex:1;font-size:16px;font-weight:400;min-width:0}.el-transfer-panel .el-transfer-panel__header-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-transfer-panel .el-transfer-panel__header-count{color:var(--el-text-color-secondary);flex-shrink:0;font-size:12px;margin-left:8px;margin-right:15px}.el-transfer-panel .el-transfer-panel__footer{background:var(--el-bg-color-overlay);border:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);height:var(--el-transfer-panel-footer-height);margin:0;padding:0}.el-transfer-panel .el-transfer-panel__footer:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{color:var(--el-text-color-regular);padding-left:20px}.el-transfer-panel .el-transfer-panel__empty{color:var(--el-text-color-secondary);height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);margin:0;padding:6px 15px 0;text-align:center}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-tree{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder);background:var(--el-fill-color-blank);color:var(--el-tree-text-color);cursor:default;font-size:var(--el-font-size-base);position:relative}.el-tree__empty-block{height:100%;min-height:60px;position:relative;text-align:center;width:100%}.el-tree__empty-text{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-tree__drop-indicator{background-color:var(--el-color-primary);height:1px;left:0;position:absolute;right:0}.el-tree-node{outline:none;white-space:nowrap}.el-tree-node:focus>.el-tree-node__content{background-color:var(--el-tree-node-hover-bg-color)}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:var(--el-color-primary);color:#fff}.el-tree-node__content{--el-checkbox-height:var(--el-tree-node-content-height);align-items:center;cursor:pointer;display:flex;height:var(--el-tree-node-content-height)}.el-tree-node__content>.el-tree-node__expand-icon{box-sizing:content-box;padding:6px}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:var(--el-tree-node-hover-bg-color)}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{color:var(--el-tree-expand-icon-color);cursor:pointer;font-size:12px;transform:rotate(0);transition:transform var(--el-transition-duration) ease-in-out}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:transparent;cursor:default;visibility:hidden}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__loading-icon{color:var(--el-tree-expand-icon-color);font-size:var(--el-font-size-base);margin-right:8px}.el-tree-node>.el-tree-node__children{background-color:transparent;overflow:hidden}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)}.el-tree-select{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree-select__popper .el-tree-node__expand-icon{margin-left:8px}.el-tree-select__popper .el-tree-node.is-checked>.el-tree-node__content .el-select-dropdown__item.selected:after{content:none}.el-tree-select__popper .el-select-dropdown__list>.el-select-dropdown__item{padding-left:32px}.el-tree-select__popper .el-select-dropdown__item{background:transparent!important;flex:1;height:20px;line-height:20px;padding-left:0}.el-upload{--el-upload-dragger-padding-horizontal:10px;--el-upload-dragger-padding-vertical:40px;--el-upload-list-picture-card-size:var(--el-upload-picture-card-size);--el-upload-picture-card-size:148px;align-items:center;cursor:pointer;display:inline-flex;justify-content:center;outline:none}.el-upload.is-disabled{cursor:not-allowed}.el-upload.is-disabled:focus{color:inherit}.el-upload.is-disabled:focus,.el-upload.is-disabled:focus .el-upload-dragger{border-color:var(--el-border-color-darker)}.el-upload.is-disabled .el-upload-dragger{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.el-upload.is-disabled .el-upload-dragger .el-upload__text{color:var(--el-text-color-placeholder)}.el-upload.is-disabled .el-upload-dragger .el-upload__text em{color:var(--el-disabled-text-color)}.el-upload.is-disabled .el-upload-dragger:hover{border-color:var(--el-border-color-darker)}.el-upload__input{display:none}.el-upload__tip{color:var(--el-text-color-regular);font-size:12px;margin-top:7px}.el-upload iframe{filter:alpha(opacity=0);left:0;opacity:0;position:absolute;top:0;z-index:-1}.el-upload--picture-card{align-items:center;background-color:var(--el-fill-color-lighter);border:1px dashed var(--el-border-color-darker);border-radius:6px;box-sizing:border-box;cursor:pointer;display:inline-flex;height:var(--el-upload-picture-card-size);justify-content:center;vertical-align:top;width:var(--el-upload-picture-card-size)}.el-upload--picture-card>i{color:var(--el-text-color-secondary);font-size:28px}.el-upload--picture-card:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload.is-drag{display:block}.el-upload:focus{color:var(--el-color-primary)}.el-upload:focus,.el-upload:focus .el-upload-dragger{border-color:var(--el-color-primary)}.el-upload-dragger{background-color:var(--el-fill-color-blank);border:1px dashed var(--el-border-color);border-radius:6px;box-sizing:border-box;cursor:pointer;overflow:hidden;padding:var(--el-upload-dragger-padding-vertical) var(--el-upload-dragger-padding-horizontal);position:relative;text-align:center}.el-upload-dragger .el-icon--upload{color:var(--el-text-color-placeholder);font-size:67px;line-height:50px;margin-bottom:16px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:var(--el-border);margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:var(--el-text-color-regular);font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:var(--el-color-primary);font-style:normal}.el-upload-dragger:hover{border-color:var(--el-color-primary)}.el-upload-dragger.is-dragover{background-color:var(--el-color-primary-light-9);border:2px dashed var(--el-color-primary);padding:calc(var(--el-upload-dragger-padding-vertical) - 1px) calc(var(--el-upload-dragger-padding-horizontal) - 1px)}.el-upload-list{--el-upload-dragger-padding-horizontal:10px;--el-upload-dragger-padding-vertical:40px;--el-upload-list-picture-card-size:var(--el-upload-picture-card-size);--el-upload-picture-card-size:148px;list-style:none;margin:10px 0 0;padding:0;position:relative}.el-upload-list__item{border-radius:4px;box-sizing:border-box;color:var(--el-text-color-regular);font-size:14px;margin-bottom:5px;position:relative;transition:all .5s cubic-bezier(.55,0,.1,1);width:100%}.el-upload-list__item .el-progress{position:absolute;top:20px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;right:0;top:-13px}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item .el-icon--upload-success{color:var(--el-color-success)}.el-upload-list__item .el-icon--close{color:var(--el-text-color-regular);cursor:pointer;display:none;opacity:.75;position:absolute;right:5px;top:50%;transform:translateY(-50%);transition:opacity var(--el-transition-duration)}.el-upload-list__item .el-icon--close:hover{color:var(--el-color-primary);opacity:1}.el-upload-list__item .el-icon--close-tip{color:var(--el-color-primary);cursor:pointer;display:none;font-size:12px;font-style:normal;opacity:1;position:absolute;right:5px;top:1px}.el-upload-list__item:focus-within,.el-upload-list__item:hover{background-color:var(--el-fill-color-light)}.el-upload-list__item:focus-within .el-icon--close,.el-upload-list__item:hover .el-icon--close{display:inline-flex}.el-upload-list__item:focus-within .el-icon--close-tip,.el-upload-list__item:hover .el-icon--close-tip{right:24px}.el-upload-list__item:focus-within .el-progress__text,.el-upload-list__item:hover .el-progress__text{display:none}.el-upload-list__item .el-upload-list__item-info{display:inline-flex;flex-direction:column;justify-content:center;margin-left:4px;width:calc(100% - 30px)}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:inline-flex}.el-upload-list__item.is-success .el-upload-list__item-name:focus,.el-upload-list__item.is-success .el-upload-list__item-name:hover{color:var(--el-color-primary);cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon--close-tip{display:inline-block}.el-upload-list__item.is-success:active,.el-upload-list__item.is-success:not(.focusing):focus{outline-width:0}.el-upload-list__item.is-success:active .el-icon--close-tip,.el-upload-list__item.is-success:not(.focusing):focus .el-icon--close-tip{display:none}.el-upload-list__item.is-success:focus .el-upload-list__item-status-label,.el-upload-list__item.is-success:focus-within .el-upload-list__item-status-label,.el-upload-list__item.is-success:hover .el-upload-list__item-status-label{display:none;opacity:0}.el-upload-list__item-name{align-items:center;color:var(--el-text-color-regular);display:inline-flex;font-size:var(--el-font-size-base);padding:0 4px;text-align:center;transition:color var(--el-transition-duration)}.el-upload-list__item-name .el-icon{color:var(--el-text-color-secondary);margin-right:6px}.el-upload-list__item-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-upload-list__item-status-label{align-items:center;display:none;height:100%;justify-content:center;line-height:inherit;position:absolute;right:5px;top:0;transition:opacity var(--el-transition-duration)}.el-upload-list__item-delete{color:var(--el-text-color-regular);display:none;font-size:12px;position:absolute;right:10px;top:0}.el-upload-list__item-delete:hover{color:var(--el-color-primary)}.el-upload-list--picture-card{display:inline-flex;flex-wrap:wrap;margin:0}.el-upload-list--picture-card .el-upload-list__item{background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;display:inline-flex;height:var(--el-upload-list-picture-card-size);margin:0 8px 8px 0;overflow:hidden;padding:0;width:var(--el-upload-list-picture-card-size)}.el-upload-list--picture-card .el-upload-list__item .el-icon--check,.el-upload-list--picture-card .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon--close{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{display:block;opacity:0}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{height:100%;-o-object-fit:contain;object-fit:contain;width:100%}.el-upload-list--picture-card .el-upload-list__item-status-label{background:var(--el-color-success);height:24px;right:-15px;text-align:center;top:-6px;transform:rotate(45deg);width:40px}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{align-items:center;background-color:var(--el-overlay-color-lighter);color:#fff;cursor:default;display:inline-flex;font-size:20px;height:100%;justify-content:center;left:0;opacity:0;position:absolute;top:0;transition:opacity var(--el-transition-duration);width:100%}.el-upload-list--picture-card .el-upload-list__item-actions span{cursor:pointer;display:none}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:16px}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{color:inherit;font-size:inherit;position:static}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-flex}.el-upload-list--picture-card .el-progress{bottom:auto;left:50%;top:50%;transform:translate(-50%,-50%);width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{align-items:center;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;display:flex;margin-top:10px;overflow:hidden;padding:10px;z-index:0}.el-upload-list--picture .el-upload-list__item .el-icon--check,.el-upload-list--picture .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{display:inline-flex;opacity:0}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item .el-icon--close{top:5px;transform:translateY(0)}.el-upload-list--picture .el-upload-list__item-thumbnail{align-items:center;background-color:var(--el-color-white);display:inline-flex;height:70px;justify-content:center;-o-object-fit:contain;object-fit:contain;position:relative;width:70px;z-index:1}.el-upload-list--picture .el-upload-list__item-status-label{background:var(--el-color-success);height:26px;position:absolute;right:-17px;text-align:center;top:-7px;transform:rotate(45deg);width:46px}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{cursor:default;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:10}.el-upload-cover:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-upload-cover img{display:block;height:100%;width:100%}.el-upload-cover__label{background:var(--el-color-success);height:24px;right:-15px;text-align:center;top:-6px;transform:rotate(45deg);width:40px}.el-upload-cover__label i{color:#fff;font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-cover__progress{display:inline-block;position:static;vertical-align:middle;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{height:100%;left:0;position:absolute;top:0;width:100%}.el-upload-cover__interact{background-color:var(--el-overlay-color-light);bottom:0;height:100%;left:0;position:absolute;text-align:center;width:100%}.el-upload-cover__interact .btn{color:#fff;cursor:pointer;display:inline-block;font-size:14px;margin-top:60px;transition:var(--el-transition-md-fade);vertical-align:middle}.el-upload-cover__interact .btn i{margin-top:0}.el-upload-cover__interact .btn span{opacity:0;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{background-color:#fff;bottom:0;color:var(--el-text-color-primary);font-size:14px;font-weight:400;height:36px;left:0;line-height:36px;margin:0;overflow:hidden;padding:0 10px;position:absolute;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-vl__wrapper{position:relative}.el-vl__wrapper.always-on .el-virtual-scrollbar,.el-vl__wrapper:hover .el-virtual-scrollbar{opacity:1}.el-vl__window{scrollbar-width:none}.el-vl__window::-webkit-scrollbar{display:none}.el-virtual-scrollbar{opacity:0;transition:opacity .34s ease-out}.el-virtual-scrollbar.always-on{opacity:1}.el-vg__wrapper{position:relative}.el-popper{--el-popper-border-radius:var(--el-popover-border-radius,4px);--el-popper-bg-color-light:var(--el-bg-color-overlay);--el-popper-bg-color-dark:var(--el-text-color-primary);border-radius:var(--el-popper-border-radius);font-size:12px;line-height:20px;min-width:10px;overflow-wrap:break-word;padding:5px 11px;position:absolute;visibility:visible;word-break:normal;z-index:2000}.el-popper.is-dark{--el-fill-color-blank:var(--el-popper-bg-color-dark);color:var(--el-bg-color)}.el-popper.is-dark,.el-popper.is-dark>.el-popper__arrow:before{background:var(--el-popper-bg-color-dark);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark>.el-popper__arrow:before{right:0}.el-popper.is-light{--el-fill-color-blank:var(--el-popper-bg-color-light)}.el-popper.is-light,.el-popper.is-light>.el-popper__arrow:before{background:var(--el-popper-bg-color-light);border:1px solid var(--el-border-color-light)}.el-popper.is-light>.el-popper__arrow:before{right:0}.el-popper.is-pure{padding:0}.el-popper__arrow,.el-popper__arrow:before{height:10px;position:absolute;width:10px;z-index:-1}.el-popper__arrow:before{background:var(--el-text-color-primary);box-sizing:border-box;content:" ";transform:rotate(45deg)}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-left-color:transparent!important;border-top-color:transparent!important}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-bottom-color:transparent!important;border-right-color:transparent!important}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-bottom-color:transparent!important;border-left-color:transparent!important}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}.el-statistic{--el-statistic-title-font-weight:400;--el-statistic-title-font-size:var(--el-font-size-extra-small);--el-statistic-title-color:var(--el-text-color-regular);--el-statistic-content-font-weight:400;--el-statistic-content-font-size:var(--el-font-size-extra-large);--el-statistic-content-color:var(--el-text-color-primary)}.el-statistic__head{color:var(--el-statistic-title-color);font-size:var(--el-statistic-title-font-size);font-weight:var(--el-statistic-title-font-weight);line-height:20px;margin-bottom:4px}.el-statistic__content{color:var(--el-statistic-content-color);font-size:var(--el-statistic-content-font-size);font-weight:var(--el-statistic-content-font-weight)}.el-statistic__value{display:inline-block}.el-statistic__prefix{display:inline-block;margin-right:4px}.el-statistic__suffix{display:inline-block;margin-left:4px}.el-tour{--el-tour-width:520px;--el-tour-padding-primary:12px;--el-tour-font-line-height:var(--el-font-line-height-primary);--el-tour-title-font-size:16px;--el-tour-title-text-color:var(--el-text-color-primary);--el-tour-title-font-weight:400;--el-tour-close-color:var(--el-color-info);--el-tour-font-size:14px;--el-tour-color:var(--el-text-color-primary);--el-tour-bg-color:var(--el-bg-color);--el-tour-border-radius:4px}.el-tour__hollow{transition:all var(--el-transition-duration) ease}.el-tour__content{border-radius:var(--el-tour-border-radius);box-shadow:var(--el-box-shadow-light);outline:none;overflow-wrap:break-word;padding:var(--el-tour-padding-primary);width:var(--el-tour-width)}.el-tour__arrow,.el-tour__content{background:var(--el-tour-bg-color);box-sizing:border-box}.el-tour__arrow{height:10px;pointer-events:none;position:absolute;transform:rotate(45deg);width:10px}.el-tour__content[data-side^=top] .el-tour__arrow{border-left-color:transparent;border-top-color:transparent}.el-tour__content[data-side^=bottom] .el-tour__arrow{border-bottom-color:transparent;border-right-color:transparent}.el-tour__content[data-side^=left] .el-tour__arrow{border-bottom-color:transparent;border-left-color:transparent}.el-tour__content[data-side^=right] .el-tour__arrow{border-right-color:transparent;border-top-color:transparent}.el-tour__content[data-side^=top] .el-tour__arrow{bottom:-5px}.el-tour__content[data-side^=bottom] .el-tour__arrow{top:-5px}.el-tour__content[data-side^=left] .el-tour__arrow{right:-5px}.el-tour__content[data-side^=right] .el-tour__arrow{left:-5px}.el-tour__closebtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-tour__closebtn .el-tour__close{color:var(--el-tour-close-color);font-size:inherit}.el-tour__closebtn:focus .el-tour__close,.el-tour__closebtn:hover .el-tour__close{color:var(--el-color-primary)}.el-tour__header{padding-bottom:var(--el-tour-padding-primary)}.el-tour__header.show-close{padding-right:calc(var(--el-tour-padding-primary) + var(--el-message-close-size, 16px))}.el-tour__title{color:var(--el-tour-title-text-color);font-size:var(--el-tour-title-font-size);font-weight:var(--el-tour-title-font-weight);line-height:var(--el-tour-font-line-height)}.el-tour__body{color:var(--el-tour-text-color);font-size:var(--el-tour-font-size)}.el-tour__body img,.el-tour__body video{max-width:100%}.el-tour__footer{box-sizing:border-box;display:flex;justify-content:space-between;padding-top:var(--el-tour-padding-primary)}.el-tour__content .el-tour-indicators{display:inline-block;flex:1}.el-tour__content .el-tour-indicator{background:var(--el-color-info-light-9);border-radius:50%;display:inline-block;height:6px;margin-right:6px;width:6px}.el-tour__content .el-tour-indicator.is-active{background:var(--el-color-primary)}.el-tour.el-tour--primary{--el-tour-title-text-color:#fff;--el-tour-text-color:#fff;--el-tour-bg-color:var(--el-color-primary);--el-tour-close-color:#fff}.el-tour.el-tour--primary .el-tour__closebtn:focus .el-tour__close,.el-tour.el-tour--primary .el-tour__closebtn:hover .el-tour__close{color:var(--el-tour-title-text-color)}.el-tour.el-tour--primary .el-button--default{background:#fff;border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-tour.el-tour--primary .el-button--primary{border-color:#fff}.el-tour.el-tour--primary .el-tour-indicator{background:#ffffff26}.el-tour.el-tour--primary .el-tour-indicator.is-active{background:#fff}.el-tour-parent--hidden{overflow:hidden}.el-anchor{--el-anchor-bg-color:var(--el-bg-color);--el-anchor-padding-indent:14px;--el-anchor-line-height:22px;--el-anchor-font-size:12px;--el-anchor-color:var(--el-text-color-secondary);--el-anchor-active-color:var(--el-color-primary);--el-anchor-hover-color:var(--el-text-color-regular);--el-anchor-marker-bg-color:var(--el-color-primary);background-color:var(--el-anchor-bg-color);position:relative}.el-anchor__marker{background-color:var(--el-anchor-marker-bg-color);border-radius:4px;opacity:0;position:absolute;z-index:0}.el-anchor.el-anchor--vertical .el-anchor__marker{height:14px;left:0;top:8px;transition:top .25s ease-in-out,opacity .25s;width:4px}.el-anchor.el-anchor--vertical .el-anchor__list{padding-left:var(--el-anchor-padding-indent)}.el-anchor.el-anchor--vertical.el-anchor--underline:before{background-color:#0505050f;content:"";height:100%;left:0;position:absolute;width:2px}.el-anchor.el-anchor--vertical.el-anchor--underline .el-anchor__marker{border-radius:unset;width:2px}.el-anchor.el-anchor--horizontal .el-anchor__marker{bottom:0;height:2px;transition:left .25s ease-in-out,opacity .25s,width .25s;width:20px}.el-anchor.el-anchor--horizontal .el-anchor__list{display:flex;padding-bottom:4px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item{padding-left:16px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item:first-child{padding-left:0}.el-anchor.el-anchor--horizontal.el-anchor--underline:before{background-color:#0505050f;bottom:0;content:"";height:2px;position:absolute;width:100%}.el-anchor.el-anchor--horizontal.el-anchor--underline .el-anchor__marker{border-radius:unset;height:2px}.el-anchor__item{display:flex;flex-direction:column}.el-anchor__link{color:var(--el-anchor-color);cursor:pointer;font-size:var(--el-anchor-font-size);line-height:var(--el-anchor-line-height);max-width:100%;outline:none;overflow:hidden;padding:4px 0;text-decoration:none;text-overflow:ellipsis;transition:color var(--el-transition-duration);white-space:nowrap}.el-anchor__link:focus,.el-anchor__link:hover{color:var(--el-hover-color)}.el-anchor__link:focus-visible{border-radius:var(--el-border-radius-base);outline:2px solid var(--el-color-primary)}.el-anchor__link.is-active{color:var(--el-anchor-active-color)}.el-anchor .el-anchor__list .el-anchor__item a{display:inline-block}.el-segmented--vertical{flex-direction:column}.el-segmented--vertical .el-segmented__item{padding:11px}.el-segmented{--el-segmented-color:var(--el-text-color-regular);--el-segmented-bg-color:var(--el-fill-color-light);--el-segmented-padding:2px;--el-segmented-item-selected-color:var(--el-color-white);--el-segmented-item-selected-bg-color:var(--el-color-primary);--el-segmented-item-selected-disabled-bg-color:var(--el-color-primary-light-5);--el-segmented-item-hover-color:var(--el-text-color-primary);--el-segmented-item-hover-bg-color:var(--el-fill-color-dark);--el-segmented-item-active-bg-color:var(--el-fill-color-darker);--el-segmented-item-disabled-color:var(--el-text-color-placeholder);align-items:stretch;background:var(--el-segmented-bg-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;color:var(--el-segmented-color);display:inline-flex;font-size:14px;min-height:32px;padding:var(--el-segmented-padding)}.el-segmented__group{align-items:stretch;display:flex;position:relative;width:100%}.el-segmented__item-selected{background:var(--el-segmented-item-selected-bg-color);border-radius:calc(var(--el-border-radius-base) - 2px);height:100%;left:0;pointer-events:none;position:absolute;top:0;transition:all .3s;width:10px}.el-segmented__item-selected.is-disabled{background:var(--el-segmented-item-selected-disabled-bg-color)}.el-segmented__item-selected.is-focus-visible:before{border-radius:inherit;bottom:0;content:"";left:0;outline:2px solid var(--el-segmented-item-selected-bg-color);outline-offset:1px;position:absolute;right:0;top:0}.el-segmented__item{align-items:center;border-radius:calc(var(--el-border-radius-base) - 2px);cursor:pointer;display:flex;flex:1;padding:0 11px}.el-segmented__item:not(.is-disabled):not(.is-selected):hover{background:var(--el-segmented-item-hover-bg-color);color:var(--el-segmented-item-hover-color)}.el-segmented__item:not(.is-disabled):not(.is-selected):active{background:var(--el-segmented-item-active-bg-color)}.el-segmented__item.is-selected,.el-segmented__item.is-selected.is-disabled{color:var(--el-segmented-item-selected-color)}.el-segmented__item.is-disabled{color:var(--el-segmented-item-disabled-color);cursor:not-allowed}.el-segmented__item-input{height:0;margin:0;opacity:0;pointer-events:none;position:absolute;width:0}.el-segmented__item-label{flex:1;line-height:normal;overflow:hidden;text-align:center;text-overflow:ellipsis;transition:color .3s;white-space:nowrap;z-index:1}.el-segmented.is-block{display:flex}.el-segmented.is-block .el-segmented__item{min-width:0}.el-segmented--large{border-radius:var(--el-border-radius-base);font-size:16px;min-height:40px}.el-segmented--large .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 2px)}.el-segmented--large .el-segmented--vertical .el-segmented__item{padding:11px}.el-segmented--large .el-segmented__item{border-radius:calc(var(--el-border-radius-base) - 2px);padding:0 11px}.el-segmented--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:14px;min-height:24px}.el-segmented--small .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 3px)}.el-segmented--small .el-segmented--vertical .el-segmented__item{padding:7px}.el-segmented--small .el-segmented__item{border-radius:calc(var(--el-border-radius-base) - 3px);padding:0 7px}.el-mention{position:relative;width:100%}.el-mention__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-mention__popper.el-popper,.el-mention__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-mention__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-mention-dropdown{--el-mention-font-size:var(--el-font-size-base);--el-mention-bg-color:var(--el-bg-color-overlay);--el-mention-shadow:var(--el-box-shadow-light);--el-mention-border:1px solid var(--el-border-color-light);--el-mention-option-color:var(--el-text-color-regular);--el-mention-option-height:34px;--el-mention-option-min-width:100px;--el-mention-option-hover-background:var(--el-fill-color-light);--el-mention-option-selected-color:var(--el-color-primary);--el-mention-option-disabled-color:var(--el-text-color-placeholder);--el-mention-option-loading-color:var(--el-text-color-secondary);--el-mention-option-loading-padding:10px 0;--el-mention-max-height:174px;--el-mention-padding:6px 0;--el-mention-header-padding:10px;--el-mention-footer-padding:10px}.el-mention-dropdown__item{box-sizing:border-box;color:var(--el-mention-option-color);cursor:pointer;font-size:var(--el-mention-font-size);height:var(--el-mention-option-height);line-height:var(--el-mention-option-height);min-width:var(--el-mention-option-min-width);overflow:hidden;padding:0 20px;position:relative;text-overflow:ellipsis;white-space:nowrap}.el-mention-dropdown__item.is-hovering{background-color:var(--el-mention-option-hover-background)}.el-mention-dropdown__item.is-selected{color:var(--el-mention-option-selected-color);font-weight:700}.el-mention-dropdown__item.is-disabled{background-color:unset;color:var(--el-mention-option-disabled-color);cursor:not-allowed}.el-mention-dropdown{border-radius:var(--el-border-radius-base);box-sizing:border-box;z-index:calc(var(--el-index-top) + 1)}.el-mention-dropdown__loading{color:var(--el-mention-option-loading-color);font-size:12px;margin:0;min-width:var(--el-mention-option-min-width);padding:10px 0;text-align:center}.el-mention-dropdown__wrap{max-height:var(--el-mention-max-height)}.el-mention-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:var(--el-mention-padding)}.el-mention-dropdown__header{border-bottom:var(--el-mention-border);padding:var(--el-mention-header-padding)}.el-mention-dropdown__footer{border-top:var(--el-mention-border);padding:var(--el-mention-footer-padding)}.el-splitter{display:flex;height:100%;margin:0;padding:0;position:relative;width:100%}.el-splitter__mask{bottom:0;left:0;position:absolute;right:0;top:0;z-index:999}.el-splitter__mask-horizontal{cursor:ew-resize}.el-splitter__mask-vertical{cursor:ns-resize}.el-splitter__horizontal{flex-direction:row}.el-splitter__vertical{flex-direction:column}.el-splitter-bar{flex:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-splitter-bar__dragger{background:transparent;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:1}.el-splitter-bar__dragger:after,.el-splitter-bar__dragger:before{background-color:var(--el-border-color-light);content:"";left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-splitter-bar__dragger:not(.is-lazy):after{display:none}.el-splitter-bar__dragger:after{opacity:.4}.el-splitter-bar__dragger:hover:not(.is-disabled):before{background-color:var(--el-color-primary-light-5)}.el-splitter-bar__dragger-horizontal:after,.el-splitter-bar__dragger-horizontal:before{height:100%;width:2px}.el-splitter-bar__dragger-vertical:after,.el-splitter-bar__dragger-vertical:before{height:2px;width:100%}.el-splitter-bar__dragger-active:after,.el-splitter-bar__dragger-active:before{background-color:var(--el-color-primary-light-3)}.el-splitter-bar__dragger-active.el-splitter-bar__dragger-horizontal:after{transform:translate(calc(-50% + var(--el-splitter-bar-offset)),-50%)}.el-splitter-bar__dragger-active.el-splitter-bar__dragger-vertical:after{transform:translate(-50%,calc(-50% + var(--el-splitter-bar-offset)))}.el-splitter-bar:hover .el-splitter-bar__collapse-icon{opacity:1}.el-splitter-bar__collapse-icon{align-items:center;background:var(--el-border-color-light);border-radius:2px;cursor:pointer;display:flex;justify-content:center;opacity:0;position:absolute;z-index:9}.el-splitter-bar__collapse-icon:hover{background-color:var(--el-color-primary-light-5);opacity:1}.el-splitter-bar__horizontal-collapse-icon-start{height:24px;left:-12px;top:50%;transform:translate(-50%,-50%);width:16px}.el-splitter-bar__horizontal-collapse-icon-end{height:24px;left:12px;top:50%;transform:translate(-50%,-50%);width:16px}.el-splitter-bar__vertical-collapse-icon-start{height:16px;right:50%;top:-12px;transform:translate(50%,-50%);width:24px}.el-splitter-bar__vertical-collapse-icon-end{height:16px;right:50%;top:12px;transform:translate(50%,-50%);width:24px}.el-splitter-panel{box-sizing:border-box;flex-grow:0;overflow:auto;scrollbar-width:thin}.config-panel[data-v-ea8390cb]{margin-bottom:24px}.panel-title[data-v-ea8390cb]{font-weight:600;font-size:16px;color:#303133;margin:0 0 20px}.config-form[data-v-ea8390cb]{width:100%}.form-item[data-v-ea8390cb]{margin-bottom:20px}.form-item label[data-v-ea8390cb]{font-size:14px;font-weight:500;color:#303133;margin-bottom:8px}.divider[data-v-ea8390cb]{height:1px;background-color:#e4e7ed;margin:24px 0}.section-title[data-v-ea8390cb]{font-weight:500;margin:0 0 16px;color:#303133;font-size:14px}.form-item-description[data-v-ea8390cb]{font-size:12px;color:#909399;margin-top:8px;line-height:1.4}.slider[data-v-ea8390cb] .el-slider__runway{background-color:#e4e7ed}.slider[data-v-ea8390cb] .el-slider__bar{background-color:#1677ff}.slider[data-v-ea8390cb] .el-slider__button{border-color:#1677ff}.select[data-v-ea8390cb] .el-select__input{color:#303133}.select[data-v-ea8390cb] .el-select__wrapper{border:1px solid #E4E7ED;border-radius:4px;box-shadow:none}.select[data-v-ea8390cb] .el-select__wrapper.is-focus{border-color:#1677ff;box-shadow:0 0 0 2px #1677ff33}.input[data-v-ea8390cb] .el-input__wrapper{border:1px solid #E4E7ED;border-radius:4px;box-shadow:none}.input[data-v-ea8390cb] .el-input__wrapper.is-focus{border-color:#1677ff;box-shadow:0 0 0 2px #1677ff33}.checkbox[data-v-ea8390cb] .el-checkbox__input.is-checked .el-checkbox__inner{background-color:#1677ff;border-color:#1677ff}.checkbox[data-v-ea8390cb] .el-checkbox__label{color:#303133}.markdown-renderer[data-v-38a7633c]{height:100%;overflow-y:auto}.markdown-content[data-v-38a7633c]{padding:20px;background:#fff;border-radius:4px;min-height:400px}.markdown-content[data-v-38a7633c] h1{font-size:2em;margin:.67em 0;font-weight:700}.markdown-content[data-v-38a7633c] h2{font-size:1.5em;margin:.83em 0;font-weight:700}.markdown-content[data-v-38a7633c] h3{font-size:1.17em;margin:1em 0;font-weight:700}.markdown-content[data-v-38a7633c] p{margin:1em 0;line-height:1.6}.markdown-content[data-v-38a7633c] code{background-color:#f5f7fa;padding:2px 4px;border-radius:3px;font-family:Monaco,Menlo,Ubuntu Mono,monospace}.markdown-content[data-v-38a7633c] pre{background-color:#f5f7fa;padding:16px;border-radius:4px;overflow-x:auto}.markdown-content[data-v-38a7633c] pre code{background:none;padding:0}.markdown-content[data-v-38a7633c] blockquote{margin:1em 0;padding:0 1em;border-left:4px solid #dcdfe6;color:#606266}.markdown-content[data-v-38a7633c] ul,.markdown-content[data-v-38a7633c] ol{margin:1em 0;padding-left:2em}.markdown-content[data-v-38a7633c] li{margin:.5em 0}.markdown-content[data-v-38a7633c] table{border-collapse:collapse;width:100%;margin:1em 0}.markdown-content[data-v-38a7633c] th,.markdown-content[data-v-38a7633c] td{border:1px solid #dcdfe6;padding:8px 12px;text-align:left}.markdown-content[data-v-38a7633c] th{background-color:#f5f7fa;font-weight:700}.markdown-content[data-v-38a7633c] img{max-width:100%;height:auto}.empty-state[data-v-38a7633c]{display:flex;align-items:center;justify-content:center;height:400px}.math-inline[data-v-38a7633c]{font-family:"Cambria Math","STIX Two Math",serif;font-size:1.1em}.mindmap-container[data-v-2bfafa87]{width:100%;height:100%;display:flex;flex-direction:column;background-color:#fff;border-radius:8px;box-shadow:0 2px 12px #00000014;overflow:hidden;min-height:0}.mindmap-actions[data-v-2bfafa87]{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;gap:12px}.mindmap-subtitle[data-v-2bfafa87]{font-size:12px;color:#86909c;background-color:#f2f3f5;padding:2px 8px;border-radius:10px;margin-right:auto}.action-button[data-v-2bfafa87]{border-radius:6px;transition:all .3s ease;height:32px;padding:0 12px}.action-button.primary[data-v-2bfafa87]{background-color:#165dff;border-color:#165dff;color:#fff}.action-button.primary[data-v-2bfafa87]:hover{background-color:#0e42d2;border-color:#0e42d2;transform:translateY(-1px);box-shadow:0 2px 8px #165dff4d}.action-button.secondary[data-v-2bfafa87]{background-color:#fff;border-color:#c9cdd4;color:#4e5969}.action-button.secondary[data-v-2bfafa87]:hover{border-color:#165dff;color:#165dff;transform:translateY(-1px)}.mindmap-content[data-v-2bfafa87]{flex:1;overflow:hidden;position:relative;background-color:#f9fafc;cursor:grab;min-height:0}.mindmap-content[data-v-2bfafa87]:active{cursor:grabbing}.empty-state[data-v-2bfafa87]{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px}.empty-icon[data-v-2bfafa87]{font-size:48px;color:#c9cdd4}.empty-text[data-v-2bfafa87]{font-size:16px;font-weight:500;color:#4e5969;margin:0}.empty-subtext[data-v-2bfafa87]{font-size:14px;color:#86909c;margin:0}.markmap-svg[data-v-2bfafa87]{width:100%;height:100%;transition:transform .2s ease}@media (max-width: 768px){.mindmap-header[data-v-2bfafa87]{padding:12px 16px}.mindmap-title[data-v-2bfafa87]{font-size:14px}.mindmap-subtitle[data-v-2bfafa87]{font-size:10px}.action-button[data-v-2bfafa87]{padding:0 8px;font-size:12px}.mindmap-actions[data-v-2bfafa87]{gap:4px}}.document-processor[data-v-b0552bec]{height:100%;min-height:100vh;display:flex;flex-direction:column;background-color:#f8f9fa;margin:0;padding:0;box-sizing:border-box}.top-header[data-v-b0552bec]{padding:16px 24px;display:flex;justify-content:space-between;align-items:center;background-color:transparent;border-bottom:none}.ellipsis[data-v-b0552bec]{font-size:18px;font-weight:500;color:#343a40;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.settings-button[data-v-b0552bec]{color:#6c757d;font-size:14px;padding:4px 12px}.settings-button[data-v-b0552bec]:hover{color:#165dff}.main-content[data-v-b0552bec]{flex:1;padding:24px;overflow:hidden;min-height:0;display:flex;flex-direction:column}.upload-section[data-v-b0552bec]{margin-bottom:16px;flex-shrink:0}.section-title[data-v-b0552bec]{font-size:16px;font-weight:500;color:#343a40;margin:0 0 16px}.drag-upload-area[data-v-b0552bec]{border:2px dashed #CED4DA;border-radius:8px;padding:20px 24px;text-align:center;cursor:pointer;transition:all .3s ease;background-color:#fff;margin-bottom:16px;overflow:hidden}.drag-upload-area.collapsed[data-v-b0552bec]{padding:8px 16px;min-height:36px;max-height:60px;display:block}.drag-upload-area[data-v-b0552bec]:hover,.drag-upload-area.drag-over[data-v-b0552bec]{border-color:#165dff;background-color:#f8f9ff}.upload-content[data-v-b0552bec]{display:flex;flex-direction:column;align-items:center;gap:12px}.upload-icon[data-v-b0552bec]{font-size:48px;color:#165dff}.upload-text[data-v-b0552bec]{font-size:16px;font-weight:500;color:#343a40}.upload-hint[data-v-b0552bec]{font-size:14px;color:#6c757d;line-height:1.5;max-width:400px}.uploaded-files[data-v-b0552bec]{margin-top:24px;text-align:left}.drag-upload-area.collapsed .uploaded-files[data-v-b0552bec]{margin-top:0;width:100%}.file-item[data-v-b0552bec]{display:flex;align-items:center;gap:8px;padding:6px 10px;background-color:#f8f9fa;border-radius:4px;margin-bottom:2px;transition:all .3s ease;width:100%;box-sizing:border-box;font-size:13px}.file-item[data-v-b0552bec]:hover{background-color:#e9ecef}.file-icon[data-v-b0552bec]{font-size:18px;color:#165dff}.file-name[data-v-b0552bec]{flex:1;font-size:13px;color:#343a40;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 40px)}.remove-button[data-v-b0552bec]{color:#6c757d;padding:4px}.remove-button[data-v-b0552bec]:hover{color:#dc3545}.action-buttons[data-v-b0552bec]{display:flex;gap:12px;margin-top:8px}.process-button[data-v-b0552bec]{flex:1;background-color:#165dff;border-color:#165dff;color:#fff;border-radius:6px;height:40px;font-size:14px;transition:all .3s ease}.process-button[data-v-b0552bec]:hover:not(:disabled){background-color:#0e42d2;border-color:#0e42d2}.clear-button[data-v-b0552bec]{flex:1;background-color:#fff;border-color:#ced4da;color:#495057;border-radius:6px;height:40px;font-size:14px;transition:all .3s ease}.clear-button[data-v-b0552bec]:hover:not(:disabled){border-color:#165dff;color:#165dff}.settings-panel[data-v-b0552bec]{position:fixed;top:0;right:0;width:320px;height:100vh;background-color:#fff;border-left:1px solid #E9ECEF;box-shadow:-4px 0 12px #0000001a;padding:24px;z-index:1000;transform:translate(100%);opacity:0;transition:transform .3s ease,opacity .4s ease;overflow-y:auto}.settings-panel.showing[data-v-b0552bec]{transform:translate(0);opacity:1;transition:transform .3s ease,opacity .4s ease}.settings-panel.hiding[data-v-b0552bec]{transform:translate(100%);opacity:0;transition:transform .3s ease,opacity .4s ease}.settings-header[data-v-b0552bec]{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #E9ECEF}.close-button[data-v-b0552bec]{color:#6c757d;padding:4px;font-size:16px}.close-button[data-v-b0552bec]:hover{color:#343a40}.settings-title[data-v-b0552bec]{font-size:16px;font-weight:500;color:#343a40;margin:0}.result-section[data-v-b0552bec]{background-color:#fff;border:1px solid #E9ECEF;border-radius:8px;overflow:hidden;flex:1;display:flex;flex-direction:column;min-height:0}.result-tabs[data-v-b0552bec]{border-bottom:1px solid #E9ECEF}.result-tabs[data-v-b0552bec] .el-tabs__nav{padding-left:16px}.result-tabs[data-v-b0552bec] .el-tabs__item{height:40px;line-height:40px;padding:0 16px;margin-right:0;color:#6c757d;font-size:14px;font-weight:400;transition:all .3s ease}.result-tabs[data-v-b0552bec] .el-tabs__item:hover{color:#165dff}.result-tabs[data-v-b0552bec] .el-tabs__item.is-active{color:#165dff;font-weight:500}.result-tabs[data-v-b0552bec] .el-tabs__active-bar{background-color:#165dff;height:2px}.result-content[data-v-b0552bec]{flex:1;min-height:0;padding:16px;display:flex;flex-direction:column}.loading-container[data-v-b0552bec]{display:flex;flex-direction:column;justify-content:center;align-items:center;height:400px;gap:16px}.loading-icon[data-v-b0552bec]{font-size:48px;color:#165dff;animation:spin-b0552bec 1s linear infinite}.loading-text[data-v-b0552bec]{font-size:14px;color:#6c757d;margin:0}@keyframes spin-b0552bec{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.empty-state[data-v-b0552bec]{display:flex;flex-direction:column;justify-content:center;align-items:center;height:400px;gap:16px}.empty-icon[data-v-b0552bec]{width:120px;height:120px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Crect x='20' y='30' width='80' height='60' rx='4' fill='%23F8F9FA' stroke='%23E9ECEF' stroke-width='2'/%3E%3Crect x='40' y='15' width='40' height='20' rx='2' fill='%23F8F9FA' stroke='%23E9ECEF' stroke-width='2'/%3E%3Crect x='30' y='40' width='60' height='10' rx='2' fill='%23E9ECEF'/%3E%3Crect x='30' y='55' width='50' height='8' rx='2' fill='%23E9ECEF'/%3E%3Crect x='30' y='70' width='40' height='8' rx='2' fill='%23E9ECEF'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center}.empty-text[data-v-b0552bec]{font-size:14px;color:#6c757d;margin:0}.result-tab-content[data-v-b0552bec]{flex:1;min-height:0;display:flex;flex-direction:column}.result-fade-in[data-v-b0552bec]{animation:fadeInScale-b0552bec .5s ease-out forwards}@keyframes fadeInScale-b0552bec{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.markdown-content[data-v-b0552bec]{flex:1;min-height:0}.markdown-box[data-v-b0552bec]{height:100%;min-height:0;border:1px solid #E9ECEF;border-radius:4px;box-shadow:none;padding:16px;overflow-y:auto;overflow-x:hidden;background-color:#fff}.mindmap-box[data-v-b0552bec]{height:100%;min-height:0;border:1px solid #E9ECEF;border-radius:4px;box-shadow:none;overflow:hidden;background-color:#fff}.source-content[data-v-b0552bec]{flex:1;min-height:0}.source-textarea[data-v-b0552bec]{height:100%;min-height:0}.source-textarea[data-v-b0552bec] .el-textarea__wrapper{border:1px solid #E9ECEF;border-radius:4px;box-shadow:none;height:100%;min-height:0}.source-textarea[data-v-b0552bec] .el-textarea__inner{height:100%;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:14px;line-height:1.5;color:#495057;padding:16px}.mindmap-content[data-v-b0552bec]{flex:1;min-height:0}@media (max-width: 768px){.main-content[data-v-b0552bec]{padding:16px}.top-header[data-v-b0552bec]{padding:12px 16px}.page-title[data-v-b0552bec]{font-size:16px}.drag-upload-area[data-v-b0552bec]{padding:32px 16px}.upload-icon[data-v-b0552bec]{font-size:32px}.upload-text[data-v-b0552bec]{font-size:14px}.upload-hint[data-v-b0552bec]{font-size:12px}.action-buttons[data-v-b0552bec]{flex-direction:column}.result-content[data-v-b0552bec]{padding:16px}.result-tabs[data-v-b0552bec] .el-tabs__nav{padding-left:16px}.result-tabs[data-v-b0552bec] .el-tabs__item{padding:0 16px;font-size:12px}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;line-height:1.5;color:#4e5969;background-color:#f2f3f5}#app{height:100%}.container{width:100%;height:100%;box-sizing:border-box;padding:0;margin:0}
diff --git a/mineru/cli/static/web/assets/index-zcV97yfy.js b/mineru/cli/static/web/assets/index-zcV97yfy.js
deleted file mode 100644
index 58cb054..0000000
--- a/mineru/cli/static/web/assets/index-zcV97yfy.js
+++ /dev/null
@@ -1,432 +0,0 @@
-import{e as ng,w as Da,i as kd,r as $t,s as Sd,c as Qt,d as _r,h as Ad,F as ms,g as ii,a as rg,o as Ed,b as Td,f as sg,j as Ne,T as ig,k as Pt,l as It,m as ze,t as dn,n as Ge,p as gt,q as Jl,u as vl,v as Ra,x as gr,y as Ql,z as Ct,A as ag,B as og,C as lg,D as Zl,E as Nd,G as cg,H as ug,I as fg,J as sa,K as ia,L as hg,M as dg,N as mg,O as pg,P as gg,Q as bg}from"./vendor-DSv9k51x.js";import{M as Cd}from"./markdown-_Dy2zPzC.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();/*!
-  * shared v9.14.5
-  * (c) 2025 kazuya kawaguchi
-  * Released under the MIT License.
-  */function yg(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Pa=typeof window<"u",xr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),wg=(e,t,n)=>vg({l:e,k:t,s:n}),vg=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),wt=e=>typeof e=="number"&&isFinite(e),_g=e=>Od(e)==="[object Date]",vr=e=>Od(e)==="[object RegExp]",so=e=>Re(e)&&Object.keys(e).length===0,Ht=Object.assign,xg=Object.create,rt=(e=null)=>xg(e);let uf;const Zn=()=>uf||(uf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:rt());function ff(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function hf(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function kg(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,s,i)=>`${s}="${hf(i)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,s,i)=>`${s}='${hf(i)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript:")}),e}const Sg=Object.prototype.hasOwnProperty;function Cn(e,t){return Sg.call(e,t)}const ut=Array.isArray,lt=e=>typeof e=="function",ue=e=>typeof e=="string",Ue=e=>typeof e=="boolean",Je=e=>e!==null&&typeof e=="object",Ag=e=>Je(e)&<(e.then)&<(e.catch),Id=Object.prototype.toString,Od=e=>Id.call(e),Re=e=>{if(!Je(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Eg=e=>e==null?"":ut(e)||Re(e)&&e.toString===Id?JSON.stringify(e,null,2):String(e);function Tg(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function io(e){let t=e;return()=>++t}const aa=e=>!Je(e)||ut(e);function xa(e,t){if(aa(e)||aa(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(i=>{i!=="__proto__"&&(Je(r[i])&&!Je(s[i])&&(s[i]=Array.isArray(r[i])?[]:rt()),aa(s[i])||aa(r[i])?s[i]=r[i]:n.push({src:r[i],des:s[i]}))})}}/*!
-  * message-compiler v9.14.5
-  * (c) 2025 kazuya kawaguchi
-  * Released under the MIT License.
-  */function Ng(e,t,n){return{line:e,column:t,offset:n}}function $a(e,t,n){return{start:e,end:t}}const Cg=/\{([0-9a-zA-Z]+)\}/g;function Md(e,...t){return t.length===1&&Ig(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Cg,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Ld=Object.assign,df=e=>typeof e=="string",Ig=e=>e!==null&&typeof e=="object";function Dd(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const q0={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Og={[q0.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Mg(e,t,...n){const r=Md(Og[e],...n||[]),s={message:String(r),code:e};return t&&(s.location=t),s}const Ce={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Lg={[Ce.EXPECTED_TOKEN]:"Expected token: '{0}'",[Ce.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Ce.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Ce.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Ce.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Ce.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Ce.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Ce.EMPTY_PLACEHOLDER]:"Empty placeholder",[Ce.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Ce.INVALID_LINKED_FORMAT]:"Invalid linked format",[Ce.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Ce.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Ce.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Ce.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Ce.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Ce.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Ts(e,t,n={}){const{domain:r,messages:s,args:i}=n,o=Md((s||Lg)[e]||"",...i||[]),u=new SyntaxError(String(o));return u.code=e,t&&(u.location=t),u.domain=r,u}function Dg(e){throw e}const Xn=" ",Rg="\r",Yt=`
-`,Pg="\u2028",$g="\u2029";function Bg(e){const t=e;let n=0,r=1,s=1,i=0;const o=j=>t[j]===Rg&&t[j+1]===Yt,u=j=>t[j]===Yt,h=j=>t[j]===$g,d=j=>t[j]===Pg,p=j=>o(j)||u(j)||h(j)||d(j),w=()=>n,v=()=>r,x=()=>s,k=()=>i,A=j=>o(j)||h(j)||d(j)?Yt:t[j],N=()=>A(n),I=()=>A(n+i);function V(){return i=0,p(n)&&(r++,s=0),o(n)&&n++,n++,s++,t[n]}function D(){return o(n+i)&&i++,i++,t[n+i]}function M(){n=0,r=1,s=1,i=0}function B(j=0){i=j}function P(){const j=n+i;for(;j!==n;)V();i=0}return{index:w,line:v,column:x,peekOffset:k,charAt:A,currentChar:N,currentPeek:I,next:V,peek:D,reset:M,resetPeek:B,skipToPeek:P}}const hr=void 0,Fg=".",mf="'",zg="tokenizer";function qg(e,t={}){const n=t.location!==!1,r=Bg(e),s=()=>r.index(),i=()=>Ng(r.line(),r.column(),r.index()),o=i(),u=s(),h={currentType:14,offset:u,startLoc:o,endLoc:o,lastType:14,lastOffset:u,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},d=()=>h,{onError:p}=t;function w($,F,ee,...we){const st=d();if(F.column+=ee,F.offset+=ee,p){const _e=n?$a(st.startLoc,F):null,J=Ts($,_e,{domain:zg,args:we});p(J)}}function v($,F,ee){$.endLoc=i(),$.currentType=F;const we={type:F};return n&&(we.loc=$a($.startLoc,$.endLoc)),ee!=null&&(we.value=ee),we}const x=$=>v($,14);function k($,F){return $.currentChar()===F?($.next(),F):(w(Ce.EXPECTED_TOKEN,i(),0,F),"")}function A($){let F="";for(;$.currentPeek()===Xn||$.currentPeek()===Yt;)F+=$.currentPeek(),$.peek();return F}function N($){const F=A($);return $.skipToPeek(),F}function I($){if($===hr)return!1;const F=$.charCodeAt(0);return F>=97&&F<=122||F>=65&&F<=90||F===95}function V($){if($===hr)return!1;const F=$.charCodeAt(0);return F>=48&&F<=57}function D($,F){const{currentType:ee}=F;if(ee!==2)return!1;A($);const we=I($.currentPeek());return $.resetPeek(),we}function M($,F){const{currentType:ee}=F;if(ee!==2)return!1;A($);const we=$.currentPeek()==="-"?$.peek():$.currentPeek(),st=V(we);return $.resetPeek(),st}function B($,F){const{currentType:ee}=F;if(ee!==2)return!1;A($);const we=$.currentPeek()===mf;return $.resetPeek(),we}function P($,F){const{currentType:ee}=F;if(ee!==8)return!1;A($);const we=$.currentPeek()===".";return $.resetPeek(),we}function j($,F){const{currentType:ee}=F;if(ee!==9)return!1;A($);const we=I($.currentPeek());return $.resetPeek(),we}function W($,F){const{currentType:ee}=F;if(!(ee===8||ee===12))return!1;A($);const we=$.currentPeek()===":";return $.resetPeek(),we}function Y($,F){const{currentType:ee}=F;if(ee!==10)return!1;const we=()=>{const _e=$.currentPeek();return _e==="{"?I($.peek()):_e==="@"||_e==="%"||_e==="|"||_e===":"||_e==="."||_e===Xn||!_e?!1:_e===Yt?($.peek(),we()):be($,!1)},st=we();return $.resetPeek(),st}function pe($){A($);const F=$.currentPeek()==="|";return $.resetPeek(),F}function Me($){const F=A($),ee=$.currentPeek()==="%"&&$.peek()==="{";return $.resetPeek(),{isModulo:ee,hasSpace:F.length>0}}function be($,F=!0){const ee=(st=!1,_e="",J=!1)=>{const re=$.currentPeek();return re==="{"?_e==="%"?!1:st:re==="@"||!re?_e==="%"?!0:st:re==="%"?($.peek(),ee(st,"%",!0)):re==="|"?_e==="%"||J?!0:!(_e===Xn||_e===Yt):re===Xn?($.peek(),ee(!0,Xn,J)):re===Yt?($.peek(),ee(!0,Yt,J)):!0},we=ee();return F&&$.resetPeek(),we}function xe($,F){const ee=$.currentChar();return ee===hr?hr:F(ee)?($.next(),ee):null}function G($){const F=$.charCodeAt(0);return F>=97&&F<=122||F>=65&&F<=90||F>=48&&F<=57||F===95||F===36}function he($){return xe($,G)}function Q($){const F=$.charCodeAt(0);return F>=97&&F<=122||F>=65&&F<=90||F>=48&&F<=57||F===95||F===36||F===45}function ge($){return xe($,Q)}function te($){const F=$.charCodeAt(0);return F>=48&&F<=57}function Ae($){return xe($,te)}function Le($){const F=$.charCodeAt(0);return F>=48&&F<=57||F>=65&&F<=70||F>=97&&F<=102}function ve($){return xe($,Le)}function U($){let F="",ee="";for(;F=Ae($);)ee+=F;return ee}function ce($){N($);const F=$.currentChar();return F!=="%"&&w(Ce.EXPECTED_TOKEN,i(),0,F),$.next(),"%"}function Ee($){let F="";for(;;){const ee=$.currentChar();if(ee==="{"||ee==="}"||ee==="@"||ee==="|"||!ee)break;if(ee==="%")if(be($))F+=ee,$.next();else break;else if(ee===Xn||ee===Yt)if(be($))F+=ee,$.next();else{if(pe($))break;F+=ee,$.next()}else F+=ee,$.next()}return F}function et($){N($);let F="",ee="";for(;F=ge($);)ee+=F;return $.currentChar()===hr&&w(Ce.UNTERMINATED_CLOSING_BRACE,i(),0),ee}function Et($){N($);let F="";return $.currentChar()==="-"?($.next(),F+=`-${U($)}`):F+=U($),$.currentChar()===hr&&w(Ce.UNTERMINATED_CLOSING_BRACE,i(),0),F}function Lt($){return $!==mf&&$!==Yt}function qt($){N($),k($,"'");let F="",ee="";for(;F=xe($,Lt);)F==="\\"?ee+=Sn($):ee+=F;const we=$.currentChar();return we===Yt||we===hr?(w(Ce.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),we===Yt&&($.next(),k($,"'")),ee):(k($,"'"),ee)}function Sn($){const F=$.currentChar();switch(F){case"\\":case"'":return $.next(),`\\${F}`;case"u":return ir($,F,4);case"U":return ir($,F,6);default:return w(Ce.UNKNOWN_ESCAPE_SEQUENCE,i(),0,F),""}}function ir($,F,ee){k($,F);let we="";for(let st=0;st{const we=$.currentChar();return we==="{"||we==="%"||we==="@"||we==="|"||we==="("||we===")"||!we||we===Xn?ee:(ee+=we,$.next(),F(ee))};return F("")}function $e($){N($);const F=k($,"|");return N($),F}function An($,F){let ee=null;switch($.currentChar()){case"{":return F.braceNest>=1&&w(Ce.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),$.next(),ee=v(F,2,"{"),N($),F.braceNest++,ee;case"}":return F.braceNest>0&&F.currentType===2&&w(Ce.EMPTY_PLACEHOLDER,i(),0),$.next(),ee=v(F,3,"}"),F.braceNest--,F.braceNest>0&&N($),F.inLinked&&F.braceNest===0&&(F.inLinked=!1),ee;case"@":return F.braceNest>0&&w(Ce.UNTERMINATED_CLOSING_BRACE,i(),0),ee=Vn($,F)||x(F),F.braceNest=0,ee;default:{let st=!0,_e=!0,J=!0;if(pe($))return F.braceNest>0&&w(Ce.UNTERMINATED_CLOSING_BRACE,i(),0),ee=v(F,1,$e($)),F.braceNest=0,F.inLinked=!1,ee;if(F.braceNest>0&&(F.currentType===5||F.currentType===6||F.currentType===7))return w(Ce.UNTERMINATED_CLOSING_BRACE,i(),0),F.braceNest=0,Nr($,F);if(st=D($,F))return ee=v(F,5,et($)),N($),ee;if(_e=M($,F))return ee=v(F,6,Et($)),N($),ee;if(J=B($,F))return ee=v(F,7,qt($)),N($),ee;if(!st&&!_e&&!J)return ee=v(F,13,Tr($)),w(Ce.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,ee.value),N($),ee;break}}return ee}function Vn($,F){const{currentType:ee}=F;let we=null;const st=$.currentChar();switch((ee===8||ee===9||ee===12||ee===10)&&(st===Yt||st===Xn)&&w(Ce.INVALID_LINKED_FORMAT,i(),0),st){case"@":return $.next(),we=v(F,8,"@"),F.inLinked=!0,we;case".":return N($),$.next(),v(F,9,".");case":":return N($),$.next(),v(F,10,":");default:return pe($)?(we=v(F,1,$e($)),F.braceNest=0,F.inLinked=!1,we):P($,F)||W($,F)?(N($),Vn($,F)):j($,F)?(N($),v(F,12,ar($))):Y($,F)?(N($),st==="{"?An($,F)||we:v(F,11,le($))):(ee===8&&w(Ce.INVALID_LINKED_FORMAT,i(),0),F.braceNest=0,F.inLinked=!1,Nr($,F))}}function Nr($,F){let ee={type:14};if(F.braceNest>0)return An($,F)||x(F);if(F.inLinked)return Vn($,F)||x(F);switch($.currentChar()){case"{":return An($,F)||x(F);case"}":return w(Ce.UNBALANCED_CLOSING_BRACE,i(),0),$.next(),v(F,3,"}");case"@":return Vn($,F)||x(F);default:{if(pe($))return ee=v(F,1,$e($)),F.braceNest=0,F.inLinked=!1,ee;const{isModulo:st,hasSpace:_e}=Me($);if(st)return _e?v(F,0,Ee($)):v(F,4,ce($));if(be($))return v(F,0,Ee($));break}}return ee}function Cr(){const{currentType:$,offset:F,startLoc:ee,endLoc:we}=h;return h.lastType=$,h.lastOffset=F,h.lastStartLoc=ee,h.lastEndLoc=we,h.offset=s(),h.startLoc=i(),r.currentChar()===hr?v(h,14):Nr(r,h)}return{nextToken:Cr,currentOffset:s,currentPosition:i,context:d}}const Ug="parser",Hg=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Vg(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function jg(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function s(D,M,B,P,...j){const W=D.currentPosition();if(W.offset+=P,W.column+=P,n){const Y=t?$a(B,W):null,pe=Ts(M,Y,{domain:Ug,args:j});n(pe)}}function i(D,M,B,P,...j){const W=D.currentPosition();if(W.offset+=P,W.column+=P,r){const Y=t?$a(B,W):null;r(Mg(M,Y,j))}}function o(D,M,B){const P={type:D};return t&&(P.start=M,P.end=M,P.loc={start:B,end:B}),P}function u(D,M,B,P){t&&(D.end=M,D.loc&&(D.loc.end=B))}function h(D,M){const B=D.context(),P=o(3,B.offset,B.startLoc);return P.value=M,u(P,D.currentOffset(),D.currentPosition()),P}function d(D,M){const B=D.context(),{lastOffset:P,lastStartLoc:j}=B,W=o(5,P,j);return W.index=parseInt(M,10),D.nextToken(),u(W,D.currentOffset(),D.currentPosition()),W}function p(D,M,B){const P=D.context(),{lastOffset:j,lastStartLoc:W}=P,Y=o(4,j,W);return Y.key=M,B===!0&&(Y.modulo=!0),D.nextToken(),u(Y,D.currentOffset(),D.currentPosition()),Y}function w(D,M){const B=D.context(),{lastOffset:P,lastStartLoc:j}=B,W=o(9,P,j);return W.value=M.replace(Hg,Vg),D.nextToken(),u(W,D.currentOffset(),D.currentPosition()),W}function v(D){const M=D.nextToken(),B=D.context(),{lastOffset:P,lastStartLoc:j}=B,W=o(8,P,j);return M.type!==12?(s(D,Ce.UNEXPECTED_EMPTY_LINKED_MODIFIER,B.lastStartLoc,0),W.value="",u(W,P,j),{nextConsumeToken:M,node:W}):(M.value==null&&s(D,Ce.UNEXPECTED_LEXICAL_ANALYSIS,B.lastStartLoc,0,En(M)),W.value=M.value||"",u(W,D.currentOffset(),D.currentPosition()),{node:W})}function x(D,M){const B=D.context(),P=o(7,B.offset,B.startLoc);return P.value=M,u(P,D.currentOffset(),D.currentPosition()),P}function k(D){const M=D.context(),B=o(6,M.offset,M.startLoc);let P=D.nextToken();if(P.type===9){const j=v(D);B.modifier=j.node,P=j.nextConsumeToken||D.nextToken()}switch(P.type!==10&&s(D,Ce.UNEXPECTED_LEXICAL_ANALYSIS,M.lastStartLoc,0,En(P)),P=D.nextToken(),P.type===2&&(P=D.nextToken()),P.type){case 11:P.value==null&&s(D,Ce.UNEXPECTED_LEXICAL_ANALYSIS,M.lastStartLoc,0,En(P)),B.key=x(D,P.value||"");break;case 5:P.value==null&&s(D,Ce.UNEXPECTED_LEXICAL_ANALYSIS,M.lastStartLoc,0,En(P)),B.key=p(D,P.value||"");break;case 6:P.value==null&&s(D,Ce.UNEXPECTED_LEXICAL_ANALYSIS,M.lastStartLoc,0,En(P)),B.key=d(D,P.value||"");break;case 7:P.value==null&&s(D,Ce.UNEXPECTED_LEXICAL_ANALYSIS,M.lastStartLoc,0,En(P)),B.key=w(D,P.value||"");break;default:{s(D,Ce.UNEXPECTED_EMPTY_LINKED_KEY,M.lastStartLoc,0);const j=D.context(),W=o(7,j.offset,j.startLoc);return W.value="",u(W,j.offset,j.startLoc),B.key=W,u(B,j.offset,j.startLoc),{nextConsumeToken:P,node:B}}}return u(B,D.currentOffset(),D.currentPosition()),{node:B}}function A(D){const M=D.context(),B=M.currentType===1?D.currentOffset():M.offset,P=M.currentType===1?M.endLoc:M.startLoc,j=o(2,B,P);j.items=[];let W=null,Y=null;do{const be=W||D.nextToken();switch(W=null,be.type){case 0:be.value==null&&s(D,Ce.UNEXPECTED_LEXICAL_ANALYSIS,M.lastStartLoc,0,En(be)),j.items.push(h(D,be.value||""));break;case 6:be.value==null&&s(D,Ce.UNEXPECTED_LEXICAL_ANALYSIS,M.lastStartLoc,0,En(be)),j.items.push(d(D,be.value||""));break;case 4:Y=!0;break;case 5:be.value==null&&s(D,Ce.UNEXPECTED_LEXICAL_ANALYSIS,M.lastStartLoc,0,En(be)),j.items.push(p(D,be.value||"",!!Y)),Y&&(i(D,q0.USE_MODULO_SYNTAX,M.lastStartLoc,0,En(be)),Y=null);break;case 7:be.value==null&&s(D,Ce.UNEXPECTED_LEXICAL_ANALYSIS,M.lastStartLoc,0,En(be)),j.items.push(w(D,be.value||""));break;case 8:{const xe=k(D);j.items.push(xe.node),W=xe.nextConsumeToken||null;break}}}while(M.currentType!==14&&M.currentType!==1);const pe=M.currentType===1?M.lastOffset:D.currentOffset(),Me=M.currentType===1?M.lastEndLoc:D.currentPosition();return u(j,pe,Me),j}function N(D,M,B,P){const j=D.context();let W=P.items.length===0;const Y=o(1,M,B);Y.cases=[],Y.cases.push(P);do{const pe=A(D);W||(W=pe.items.length===0),Y.cases.push(pe)}while(j.currentType!==14);return W&&s(D,Ce.MUST_HAVE_MESSAGES_IN_PLURAL,B,0),u(Y,D.currentOffset(),D.currentPosition()),Y}function I(D){const M=D.context(),{offset:B,startLoc:P}=M,j=A(D);return M.currentType===14?j:N(D,B,P,j)}function V(D){const M=qg(D,Ld({},e)),B=M.context(),P=o(0,B.offset,B.startLoc);return t&&P.loc&&(P.loc.source=D),P.body=I(M),e.onCacheKey&&(P.cacheKey=e.onCacheKey(D)),B.currentType!==14&&s(M,Ce.UNEXPECTED_LEXICAL_ANALYSIS,B.lastStartLoc,0,D[B.offset]||""),u(P,M.currentOffset(),M.currentPosition()),P}return{parse:V}}function En(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Wg(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function pf(e,t){for(let n=0;ngf(n)),e}function gf(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;no;function h(A,N){o.code+=A}function d(A,N=!0){const I=N?r:"";h(s?I+"  ".repeat(A):I)}function p(A=!0){const N=++o.indentLevel;A&&d(N)}function w(A=!0){const N=--o.indentLevel;A&&d(N)}function v(){d(o.indentLevel)}return{context:u,push:h,indent:p,deindent:w,newline:v,helper:A=>`_${A}`,needIndent:()=>o.needIndent}}function Qg(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ws(e,t.key),t.modifier?(e.push(", "),ws(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Zg(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let i=0;i1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let i=0;i{const n=df(t.mode)?t.mode:"normal",r=df(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
-`,i=t.needIndent?t.needIndent:n!=="arrow",o=e.helpers||[],u=Jg(e,{filename:r,breakLineCode:s,needIndent:i});u.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),u.indent(i),o.length>0&&(u.push(`const { ${Dd(o.map(p=>`${p}: _${p}`),", ")} } = ctx`),u.newline()),u.push("return "),ws(u,e),u.deindent(i),u.push("}"),delete e.helpers;const{code:h,map:d}=u.context();return{ast:e,code:h,map:d?d.toJSON():void 0}};function r2(e,t={}){const n=Ld({},t),r=!!n.jit,s=!!n.minify,i=n.optimize==null?!0:n.optimize,u=jg(n).parse(e);return r?(i&&Kg(u),s&&os(u),{ast:u,code:""}):(Gg(u,n),n2(u,n))}/*!
-  * core-base v9.14.5
-  * (c) 2025 kazuya kawaguchi
-  * Released under the MIT License.
-  */function s2(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Zn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Zn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Zn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function zn(e){return Je(e)&&H0(e)===0&&(Cn(e,"b")||Cn(e,"body"))}const Rd=["b","body"];function i2(e){return kr(e,Rd)}const Pd=["c","cases"];function a2(e){return kr(e,Pd,[])}const $d=["s","static"];function o2(e){return kr(e,$d)}const Bd=["i","items"];function l2(e){return kr(e,Bd,[])}const Fd=["t","type"];function H0(e){return kr(e,Fd)}const zd=["v","value"];function oa(e,t){const n=kr(e,zd);if(n!=null)return n;throw ai(t)}const qd=["m","modifier"];function c2(e){return kr(e,qd)}const Ud=["k","key"];function u2(e){const t=kr(e,Ud);if(t)return t;throw ai(6)}function kr(e,t,n){for(let r=0;r{o===void 0?o=u:o+=u},v[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},v[2]=()=>{v[0](),s++},v[3]=()=>{if(s>0)s--,r=4,v[0]();else{if(s=0,o===void 0||(o=p2(o),o===!1))return!1;v[1]()}};function x(){const k=e[n+1];if(r===5&&k==="'"||r===6&&k==='"')return n++,u="\\"+k,v[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&x())){if(h=m2(i),w=Sr[r],d=w[h]||w.l||8,d===8||(r=d[0],d[1]!==void 0&&(p=v[d[1]],p&&(u=i,p()===!1))))return;if(r===7)return t}}const bf=new Map;function b2(e,t){return Je(e)?e[t]:null}function y2(e,t){if(!Je(e))return null;let n=bf.get(t);if(n||(n=g2(t),n&&bf.set(t,n)),!n)return null;const r=n.length;let s=e,i=0;for(;ie,v2=e=>"",_2="text",x2=e=>e.length===0?"":Tg(e),k2=Eg;function yf(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function S2(e){const t=wt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(wt(e.named.count)||wt(e.named.n))?wt(e.named.count)?e.named.count:wt(e.named.n)?e.named.n:t:t}function A2(e,t){t.count||(t.count=e),t.n||(t.n=e)}function E2(e={}){const t=e.locale,n=S2(e),r=Je(e.pluralRules)&&ue(t)&<(e.pluralRules[t])?e.pluralRules[t]:yf,s=Je(e.pluralRules)&&ue(t)&<(e.pluralRules[t])?yf:void 0,i=I=>I[r(n,I.length,s)],o=e.list||[],u=I=>o[I],h=e.named||rt();wt(e.pluralIndex)&&A2(n,h);const d=I=>h[I];function p(I){const V=lt(e.messages)?e.messages(I):Je(e.messages)?e.messages[I]:!1;return V||(e.parent?e.parent.message(I):v2)}const w=I=>e.modifiers?e.modifiers[I]:w2,v=Re(e.processor)&<(e.processor.normalize)?e.processor.normalize:x2,x=Re(e.processor)&<(e.processor.interpolate)?e.processor.interpolate:k2,k=Re(e.processor)&&ue(e.processor.type)?e.processor.type:_2,N={list:u,named:d,plural:i,linked:(I,...V)=>{const[D,M]=V;let B="text",P="";V.length===1?Je(D)?(P=D.modifier||P,B=D.type||B):ue(D)&&(P=D||P):V.length===2&&(ue(D)&&(P=D||P),ue(M)&&(B=M||B));const j=p(I)(N),W=B==="vnode"&&ut(j)&&P?j[0]:j;return P?w(P)(W,B):W},message:p,type:k,interpolate:x,normalize:v,values:Ht(rt(),o,h)};return N}let oi=null;function T2(e){oi=e}function N2(e,t,n){oi&&oi.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const C2=I2("function:translate");function I2(e){return t=>oi&&oi.emit(e,t)}const O2=q0.__EXTEND_POINT__,Mr=io(O2),M2={FALLBACK_TO_TRANSLATE:Mr(),CANNOT_FORMAT_NUMBER:Mr(),FALLBACK_TO_NUMBER_FORMAT:Mr(),CANNOT_FORMAT_DATE:Mr(),FALLBACK_TO_DATE_FORMAT:Mr(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Mr(),__EXTEND_POINT__:Mr()},Vd=Ce.__EXTEND_POINT__,Lr=io(Vd),In={INVALID_ARGUMENT:Vd,INVALID_DATE_ARGUMENT:Lr(),INVALID_ISO_DATE_ARGUMENT:Lr(),NOT_SUPPORT_NON_STRING_MESSAGE:Lr(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Lr(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Lr(),NOT_SUPPORT_LOCALE_TYPE:Lr(),__EXTEND_POINT__:Lr()};function Fn(e){return Ts(e,null,void 0)}function V0(e,t){return t.locale!=null?wf(t.locale):wf(e.locale)}let _l;function wf(e){if(ue(e))return e;if(lt(e)){if(e.resolvedOnce&&_l!=null)return _l;if(e.constructor.name==="Function"){const t=e();if(Ag(t))throw Fn(In.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _l=t}else throw Fn(In.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Fn(In.NOT_SUPPORT_LOCALE_TYPE)}function L2(e,t,n){return[...new Set([n,...ut(t)?t:Je(t)?Object.keys(t):ue(t)?[t]:[n]])]}function jd(e,t,n){const r=ue(n)?n:vs,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let i=s.__localeChainCache.get(r);if(!i){i=[];let o=[n];for(;ut(o);)o=vf(i,o,t);const u=ut(t)||!Re(t)?t:t.default?t.default:null;o=ue(u)?[u]:u,ut(o)&&vf(i,o,!1),s.__localeChainCache.set(r,i)}return i}function vf(e,t,n){let r=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function $2(){return{upper:(e,t)=>t==="text"&&ue(e)?e.toUpperCase():t==="vnode"&&Je(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ue(e)?e.toLowerCase():t==="vnode"&&Je(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ue(e)?xf(e):t==="vnode"&&Je(e)&&"__v_isVNode"in e?xf(e.children):e}}let Wd;function kf(e){Wd=e}let Gd;function B2(e){Gd=e}let Kd;function F2(e){Kd=e}let Xd=null;const z2=e=>{Xd=e},q2=()=>Xd;let Yd=null;const Sf=e=>{Yd=e},U2=()=>Yd;let Af=0;function H2(e={}){const t=lt(e.onWarn)?e.onWarn:yg,n=ue(e.version)?e.version:P2,r=ue(e.locale)||lt(e.locale)?e.locale:vs,s=lt(r)?vs:r,i=ut(e.fallbackLocale)||Re(e.fallbackLocale)||ue(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,o=Re(e.messages)?e.messages:xl(s),u=Re(e.datetimeFormats)?e.datetimeFormats:xl(s),h=Re(e.numberFormats)?e.numberFormats:xl(s),d=Ht(rt(),e.modifiers,$2()),p=e.pluralRules||rt(),w=lt(e.missing)?e.missing:null,v=Ue(e.missingWarn)||vr(e.missingWarn)?e.missingWarn:!0,x=Ue(e.fallbackWarn)||vr(e.fallbackWarn)?e.fallbackWarn:!0,k=!!e.fallbackFormat,A=!!e.unresolving,N=lt(e.postTranslation)?e.postTranslation:null,I=Re(e.processor)?e.processor:null,V=Ue(e.warnHtmlMessage)?e.warnHtmlMessage:!0,D=!!e.escapeParameter,M=lt(e.messageCompiler)?e.messageCompiler:Wd,B=lt(e.messageResolver)?e.messageResolver:Gd||b2,P=lt(e.localeFallbacker)?e.localeFallbacker:Kd||L2,j=Je(e.fallbackContext)?e.fallbackContext:void 0,W=e,Y=Je(W.__datetimeFormatters)?W.__datetimeFormatters:new Map,pe=Je(W.__numberFormatters)?W.__numberFormatters:new Map,Me=Je(W.__meta)?W.__meta:{};Af++;const be={version:n,cid:Af,locale:r,fallbackLocale:i,messages:o,modifiers:d,pluralRules:p,missing:w,missingWarn:v,fallbackWarn:x,fallbackFormat:k,unresolving:A,postTranslation:N,processor:I,warnHtmlMessage:V,escapeParameter:D,messageCompiler:M,messageResolver:B,localeFallbacker:P,fallbackContext:j,onWarn:t,__meta:Me};return be.datetimeFormats=u,be.numberFormats=h,be.__datetimeFormatters=Y,be.__numberFormatters=pe,__INTLIFY_PROD_DEVTOOLS__&&N2(be,n,Me),be}const xl=e=>({[e]:rt()});function j0(e,t,n,r,s){const{missing:i,onWarn:o}=e;if(i!==null){const u=i(e,n,t,s);return ue(u)?u:t}else return t}function Us(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function V2(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function j2(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;rW2(n,e)}function W2(e,t){const n=i2(t);if(n==null)throw ai(0);if(H0(n)===1){const i=a2(n);return e.plural(i.reduce((o,u)=>[...o,Ef(e,u)],[]))}else return Ef(e,n)}function Ef(e,t){const n=o2(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=l2(t).reduce((s,i)=>[...s,e0(e,i)],[]);return e.normalize(r)}}function e0(e,t){const n=H0(t);switch(n){case 3:return oa(t,n);case 9:return oa(t,n);case 4:{const r=t;if(Cn(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Cn(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw ai(n)}case 5:{const r=t;if(Cn(r,"i")&&wt(r.i))return e.interpolate(e.list(r.i));if(Cn(r,"index")&&wt(r.index))return e.interpolate(e.list(r.index));throw ai(n)}case 6:{const r=t,s=c2(r),i=u2(r);return e.linked(e0(e,i),s?e0(e,s):void 0,e.type)}case 7:return oa(t,n);case 8:return oa(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Jd=e=>e;let cs=rt();function Qd(e,t={}){let n=!1;const r=t.onError||Dg;return t.onError=s=>{n=!0,r(s)},{...r2(e,t),detectError:n}}const G2=(e,t)=>{if(!ue(e))throw Fn(In.NOT_SUPPORT_NON_STRING_MESSAGE);{Ue(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Jd)(e),s=cs[r];if(s)return s;const{code:i,detectError:o}=Qd(e,t),u=new Function(`return ${i}`)();return o?u:cs[r]=u}};function K2(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&ue(e)){Ue(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Jd)(e),s=cs[r];if(s)return s;const{ast:i,detectError:o}=Qd(e,{...t,location:!1,jit:!0}),u=kl(i);return o?u:cs[r]=u}else{const n=e.cacheKey;if(n){const r=cs[n];return r||(cs[n]=kl(e))}else return kl(e)}}const Tf=()=>"",vn=e=>lt(e);function Nf(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:i,fallbackLocale:o,messages:u}=e,[h,d]=t0(...t),p=Ue(d.missingWarn)?d.missingWarn:e.missingWarn,w=Ue(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,v=Ue(d.escapeParameter)?d.escapeParameter:e.escapeParameter,x=!!d.resolvedMessage,k=ue(d.default)||Ue(d.default)?Ue(d.default)?i?h:()=>h:d.default:n?i?h:()=>h:"",A=n||k!=="",N=V0(e,d);v&&X2(d);let[I,V,D]=x?[h,N,u[N]||rt()]:Zd(e,h,N,o,w,p),M=I,B=h;if(!x&&!(ue(M)||zn(M)||vn(M))&&A&&(M=k,B=M),!x&&(!(ue(M)||zn(M)||vn(M))||!ue(V)))return s?ao:h;let P=!1;const j=()=>{P=!0},W=vn(M)?M:e1(e,h,V,M,B,j);if(P)return M;const Y=Q2(e,V,D,d),pe=E2(Y),Me=Y2(e,W,pe);let be=r?r(Me,h):Me;if(v&&ue(be)&&(be=kg(be)),__INTLIFY_PROD_DEVTOOLS__){const xe={timestamp:Date.now(),key:ue(h)?h:vn(M)?M.key:"",locale:V||(vn(M)?M.locale:""),format:ue(M)?M:vn(M)?M.source:"",message:be};xe.meta=Ht({},e.__meta,q2()||{}),C2(xe)}return be}function X2(e){ut(e.list)?e.list=e.list.map(t=>ue(t)?ff(t):t):Je(e.named)&&Object.keys(e.named).forEach(t=>{ue(e.named[t])&&(e.named[t]=ff(e.named[t]))})}function Zd(e,t,n,r,s,i){const{messages:o,onWarn:u,messageResolver:h,localeFallbacker:d}=e,p=d(e,r,n);let w=rt(),v,x=null;const k="translate";for(let A=0;Ar;return d.locale=n,d.key=t,d}const h=o(r,J2(e,n,s,r,u,i));return h.locale=n,h.key=t,h.source=r,h}function Y2(e,t,n){return t(n)}function t0(...e){const[t,n,r]=e,s=rt();if(!ue(t)&&!wt(t)&&!vn(t)&&!zn(t))throw Fn(In.INVALID_ARGUMENT);const i=wt(t)?String(t):(vn(t),t);return wt(n)?s.plural=n:ue(n)?s.default=n:Re(n)&&!so(n)?s.named=n:ut(n)&&(s.list=n),wt(r)?s.plural=r:ue(r)?s.default=r:Re(r)&&Ht(s,r),[i,s]}function J2(e,t,n,r,s,i){return{locale:t,key:n,warnHtmlMessage:s,onError:o=>{throw i&&i(o),o},onCacheKey:o=>wg(t,n,o)}}function Q2(e,t,n,r){const{modifiers:s,pluralRules:i,messageResolver:o,fallbackLocale:u,fallbackWarn:h,missingWarn:d,fallbackContext:p}=e,v={locale:t,modifiers:s,pluralRules:i,messages:x=>{let k=o(n,x);if(k==null&&p){const[,,A]=Zd(p,x,t,u,h,d);k=o(A,x)}if(ue(k)||zn(k)){let A=!1;const I=e1(e,x,t,k,x,()=>{A=!0});return A?Tf:I}else return vn(k)?k:Tf}};return e.processor&&(v.processor=e.processor),r.list&&(v.list=r.list),r.named&&(v.named=r.named),wt(r.plural)&&(v.pluralIndex=r.plural),v}function Cf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:i,localeFallbacker:o}=e,{__datetimeFormatters:u}=e,[h,d,p,w]=n0(...t),v=Ue(p.missingWarn)?p.missingWarn:e.missingWarn;Ue(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn;const x=!!p.part,k=V0(e,p),A=o(e,s,k);if(!ue(h)||h==="")return new Intl.DateTimeFormat(k,w).format(d);let N={},I,V=null;const D="datetime format";for(let P=0;P{t1.includes(h)?o[h]=n[h]:i[h]=n[h]}),ue(r)?i.locale=r:Re(r)&&(o=r),Re(s)&&(o=s),[i.key||"",u,i,o]}function If(e,t,n){const r=e;for(const s in n){const i=`${t}__${s}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function Of(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:i,localeFallbacker:o}=e,{__numberFormatters:u}=e,[h,d,p,w]=r0(...t),v=Ue(p.missingWarn)?p.missingWarn:e.missingWarn;Ue(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn;const x=!!p.part,k=V0(e,p),A=o(e,s,k);if(!ue(h)||h==="")return new Intl.NumberFormat(k,w).format(d);let N={},I,V=null;const D="number format";for(let P=0;P{n1.includes(h)?o[h]=n[h]:i[h]=n[h]}),ue(r)?i.locale=r:Re(r)&&(o=r),Re(s)&&(o=s),[i.key||"",u,i,o]}function Mf(e,t,n){const r=e;for(const s in n){const i=`${t}__${s}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}s2();/*!
-  * vue-i18n v9.14.5
-  * (c) 2025 kazuya kawaguchi
-  * Released under the MIT License.
-  */const Z2="9.14.5";function e5(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Zn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Zn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Zn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Zn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Zn().__INTLIFY_PROD_DEVTOOLS__=!1)}const t5=M2.__EXTEND_POINT__,Yn=io(t5);Yn(),Yn(),Yn(),Yn(),Yn(),Yn(),Yn(),Yn(),Yn();const r1=In.__EXTEND_POINT__,rn=io(r1),Mt={UNEXPECTED_RETURN_TYPE:r1,INVALID_ARGUMENT:rn(),MUST_BE_CALL_SETUP_TOP:rn(),NOT_INSTALLED:rn(),NOT_AVAILABLE_IN_LEGACY_MODE:rn(),REQUIRED_VALUE:rn(),INVALID_VALUE:rn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:rn(),NOT_INSTALLED_WITH_PROVIDE:rn(),UNEXPECTED_ERROR:rn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:rn(),BRIDGE_SUPPORT_VUE_2_ONLY:rn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:rn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:rn(),__EXTEND_POINT__:rn()};function Ft(e,...t){return Ts(e,null,void 0)}const s0=xr("__translateVNode"),i0=xr("__datetimeParts"),a0=xr("__numberParts"),s1=xr("__setPluralRules"),i1=xr("__injectWithOption"),o0=xr("__dispose");function li(e){if(!Je(e)||zn(e))return e;for(const t in e)if(Cn(e,t))if(!t.includes("."))Je(e[t])&&li(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,i=!1;for(let o=0;o{if("locale"in u&&"resource"in u){const{locale:h,resource:d}=u;h?(o[h]=o[h]||rt(),xa(d,o[h])):xa(d,o)}else ue(u)&&xa(JSON.parse(u),o)}),s==null&&i)for(const u in o)Cn(o,u)&&li(o[u]);return o}function a1(e){return e.type}function o1(e,t,n){let r=Je(t.messages)?t.messages:rt();"__i18nGlobal"in n&&(r=oo(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(Je(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(Je(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function Lf(e){return Ne(ig,null,e,0)}const Df="__INTLIFY_META__",Rf=()=>[],n5=()=>!1;let Pf=0;function $f(e){return(t,n,r,s)=>e(n,r,ii()||void 0,s)}const r5=()=>{const e=ii();let t=null;return e&&(t=a1(e)[Df])?{[Df]:t}:null};function W0(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,i=e.flatJson,o=Pa?$t:Sd,u=!!e.translateExistCompatible;let h=Ue(e.inheritLocale)?e.inheritLocale:!0;const d=o(n&&h?n.locale.value:ue(e.locale)?e.locale:vs),p=o(n&&h?n.fallbackLocale.value:ue(e.fallbackLocale)||ut(e.fallbackLocale)||Re(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:d.value),w=o(oo(d.value,e)),v=o(Re(e.datetimeFormats)?e.datetimeFormats:{[d.value]:{}}),x=o(Re(e.numberFormats)?e.numberFormats:{[d.value]:{}});let k=n?n.missingWarn:Ue(e.missingWarn)||vr(e.missingWarn)?e.missingWarn:!0,A=n?n.fallbackWarn:Ue(e.fallbackWarn)||vr(e.fallbackWarn)?e.fallbackWarn:!0,N=n?n.fallbackRoot:Ue(e.fallbackRoot)?e.fallbackRoot:!0,I=!!e.fallbackFormat,V=lt(e.missing)?e.missing:null,D=lt(e.missing)?$f(e.missing):null,M=lt(e.postTranslation)?e.postTranslation:null,B=n?n.warnHtmlMessage:Ue(e.warnHtmlMessage)?e.warnHtmlMessage:!0,P=!!e.escapeParameter;const j=n?n.modifiers:Re(e.modifiers)?e.modifiers:{};let W=e.pluralRules||n&&n.pluralRules,Y;Y=(()=>{s&&Sf(null);const J={version:Z2,locale:d.value,fallbackLocale:p.value,messages:w.value,modifiers:j,pluralRules:W,missing:D===null?void 0:D,missingWarn:k,fallbackWarn:A,fallbackFormat:I,unresolving:!0,postTranslation:M===null?void 0:M,warnHtmlMessage:B,escapeParameter:P,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};J.datetimeFormats=v.value,J.numberFormats=x.value,J.__datetimeFormatters=Re(Y)?Y.__datetimeFormatters:void 0,J.__numberFormatters=Re(Y)?Y.__numberFormatters:void 0;const re=H2(J);return s&&Sf(re),re})(),Us(Y,d.value,p.value);function Me(){return[d.value,p.value,w.value,v.value,x.value]}const be=Qt({get:()=>d.value,set:J=>{d.value=J,Y.locale=d.value}}),xe=Qt({get:()=>p.value,set:J=>{p.value=J,Y.fallbackLocale=p.value,Us(Y,d.value,J)}}),G=Qt(()=>w.value),he=Qt(()=>v.value),Q=Qt(()=>x.value);function ge(){return lt(M)?M:null}function te(J){M=J,Y.postTranslation=J}function Ae(){return V}function Le(J){J!==null&&(D=$f(J)),V=J,Y.missing=D}const ve=(J,re,tt,ft,Ke,oe)=>{Me();let jt;try{__INTLIFY_PROD_DEVTOOLS__,s||(Y.fallbackContext=n?U2():void 0),jt=J(Y)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(Y.fallbackContext=void 0)}if(tt!=="translate exists"&&wt(jt)&&jt===ao||tt==="translate exists"&&!jt){const[Di,Ro]=re();return n&&N?ft(n):Ke(Di)}else{if(oe(jt))return jt;throw Ft(Mt.UNEXPECTED_RETURN_TYPE)}};function U(...J){return ve(re=>Reflect.apply(Nf,null,[re,...J]),()=>t0(...J),"translate",re=>Reflect.apply(re.t,re,[...J]),re=>re,re=>ue(re))}function ce(...J){const[re,tt,ft]=J;if(ft&&!Je(ft))throw Ft(Mt.INVALID_ARGUMENT);return U(re,tt,Ht({resolvedMessage:!0},ft||{}))}function Ee(...J){return ve(re=>Reflect.apply(Cf,null,[re,...J]),()=>n0(...J),"datetime format",re=>Reflect.apply(re.d,re,[...J]),()=>_f,re=>ue(re))}function et(...J){return ve(re=>Reflect.apply(Of,null,[re,...J]),()=>r0(...J),"number format",re=>Reflect.apply(re.n,re,[...J]),()=>_f,re=>ue(re))}function Et(J){return J.map(re=>ue(re)||wt(re)||Ue(re)?Lf(String(re)):re)}const qt={normalize:Et,interpolate:J=>J,type:"vnode"};function Sn(...J){return ve(re=>{let tt;const ft=re;try{ft.processor=qt,tt=Reflect.apply(Nf,null,[ft,...J])}finally{ft.processor=null}return tt},()=>t0(...J),"translate",re=>re[s0](...J),re=>[Lf(re)],re=>ut(re))}function ir(...J){return ve(re=>Reflect.apply(Of,null,[re,...J]),()=>r0(...J),"number format",re=>re[a0](...J),Rf,re=>ue(re)||ut(re))}function Er(...J){return ve(re=>Reflect.apply(Cf,null,[re,...J]),()=>n0(...J),"datetime format",re=>re[i0](...J),Rf,re=>ue(re)||ut(re))}function Tr(J){W=J,Y.pluralRules=W}function ar(J,re){return ve(()=>{if(!J)return!1;const tt=ue(re)?re:d.value,ft=An(tt),Ke=Y.messageResolver(ft,J);return u?Ke!=null:zn(Ke)||vn(Ke)||ue(Ke)},()=>[J],"translate exists",tt=>Reflect.apply(tt.te,tt,[J,re]),n5,tt=>Ue(tt))}function le(J){let re=null;const tt=jd(Y,p.value,d.value);for(let ft=0;ft{h&&(d.value=J,Y.locale=J,Us(Y,d.value,p.value))}),Da(n.fallbackLocale,J=>{h&&(p.value=J,Y.fallbackLocale=J,Us(Y,d.value,p.value))}));const _e={id:Pf,locale:be,fallbackLocale:xe,get inheritLocale(){return h},set inheritLocale(J){h=J,J&&n&&(d.value=n.locale.value,p.value=n.fallbackLocale.value,Us(Y,d.value,p.value))},get availableLocales(){return Object.keys(w.value).sort()},messages:G,get modifiers(){return j},get pluralRules(){return W||{}},get isGlobal(){return s},get missingWarn(){return k},set missingWarn(J){k=J,Y.missingWarn=k},get fallbackWarn(){return A},set fallbackWarn(J){A=J,Y.fallbackWarn=A},get fallbackRoot(){return N},set fallbackRoot(J){N=J},get fallbackFormat(){return I},set fallbackFormat(J){I=J,Y.fallbackFormat=I},get warnHtmlMessage(){return B},set warnHtmlMessage(J){B=J,Y.warnHtmlMessage=J},get escapeParameter(){return P},set escapeParameter(J){P=J,Y.escapeParameter=J},t:U,getLocaleMessage:An,setLocaleMessage:Vn,mergeLocaleMessage:Nr,getPostTranslationHandler:ge,setPostTranslationHandler:te,getMissingHandler:Ae,setMissingHandler:Le,[s1]:Tr};return _e.datetimeFormats=he,_e.numberFormats=Q,_e.rt=ce,_e.te=ar,_e.tm=$e,_e.d=Ee,_e.n=et,_e.getDateTimeFormat=Cr,_e.setDateTimeFormat=$,_e.mergeDateTimeFormat=F,_e.getNumberFormat=ee,_e.setNumberFormat=we,_e.mergeNumberFormat=st,_e[i1]=r,_e[s0]=Sn,_e[i0]=Er,_e[a0]=ir,_e}function s5(e){const t=ue(e.locale)?e.locale:vs,n=ue(e.fallbackLocale)||ut(e.fallbackLocale)||Re(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=lt(e.missing)?e.missing:void 0,s=Ue(e.silentTranslationWarn)||vr(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=Ue(e.silentFallbackWarn)||vr(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=Ue(e.fallbackRoot)?e.fallbackRoot:!0,u=!!e.formatFallbackMessages,h=Re(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,p=lt(e.postTranslation)?e.postTranslation:void 0,w=ue(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,v=!!e.escapeParameterHtml,x=Ue(e.sync)?e.sync:!0;let k=e.messages;if(Re(e.sharedMessages)){const P=e.sharedMessages;k=Object.keys(P).reduce((W,Y)=>{const pe=W[Y]||(W[Y]={});return Ht(pe,P[Y]),W},k||{})}const{__i18n:A,__root:N,__injectWithOption:I}=e,V=e.datetimeFormats,D=e.numberFormats,M=e.flatJson,B=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:k,flatJson:M,datetimeFormats:V,numberFormats:D,missing:r,missingWarn:s,fallbackWarn:i,fallbackRoot:o,fallbackFormat:u,modifiers:h,pluralRules:d,postTranslation:p,warnHtmlMessage:w,escapeParameter:v,messageResolver:e.messageResolver,inheritLocale:x,translateExistCompatible:B,__i18n:A,__root:N,__injectWithOption:I}}function l0(e={},t){{const n=W0(s5(e)),{__extender:r}=e,s={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return Ue(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=Ue(i)?!i:i},get silentFallbackWarn(){return Ue(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=Ue(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[o,u,h]=i,d={};let p=null,w=null;if(!ue(o))throw Ft(Mt.INVALID_ARGUMENT);const v=o;return ue(u)?d.locale=u:ut(u)?p=u:Re(u)&&(w=u),ut(h)?p=h:Re(h)&&(w=h),Reflect.apply(n.t,n,[v,p||w||{},d])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[o,u,h]=i,d={plural:1};let p=null,w=null;if(!ue(o))throw Ft(Mt.INVALID_ARGUMENT);const v=o;return ue(u)?d.locale=u:wt(u)?d.plural=u:ut(u)?p=u:Re(u)&&(w=u),ue(h)?d.locale=h:ut(h)?p=h:Re(h)&&(w=h),Reflect.apply(n.t,n,[v,p||w||{},d])},te(i,o){return n.te(i,o)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,o){n.setLocaleMessage(i,o)},mergeLocaleMessage(i,o){n.mergeLocaleMessage(i,o)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,o){n.setDateTimeFormat(i,o)},mergeDateTimeFormat(i,o){n.mergeDateTimeFormat(i,o)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,o){n.setNumberFormat(i,o)},mergeNumberFormat(i,o){n.mergeNumberFormat(i,o)},getChoiceIndex(i,o){return-1}};return s.__extender=r,s}}const G0={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function i5({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===ms?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},rt())}function l1(e){return ms}const a5=_r({name:"i18n-t",props:Ht({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>wt(e)||!isNaN(e)}},G0),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||K0({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(w=>w!=="_"),o=rt();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=ue(e.plural)?+e.plural:e.plural);const u=i5(t,i),h=s[s0](e.keypath,u,o),d=Ht(rt(),r),p=ue(e.tag)||Je(e.tag)?e.tag:l1();return Ad(p,d,h)}}}),Bf=a5;function o5(e){return ut(e)&&!ue(e[0])}function c1(e,t,n,r){const{slots:s,attrs:i}=t;return()=>{const o={part:!0};let u=rt();e.locale&&(o.locale=e.locale),ue(e.format)?o.key=e.format:Je(e.format)&&(ue(e.format.key)&&(o.key=e.format.key),u=Object.keys(e.format).reduce((v,x)=>n.includes(x)?Ht(rt(),v,{[x]:e.format[x]}):v,rt()));const h=r(e.value,o,u);let d=[o.key];ut(h)?d=h.map((v,x)=>{const k=s[v.type],A=k?k({[v.type]:v.value,index:x,parts:h}):[v.value];return o5(A)&&(A[0].key=`${v.type}-${x}`),A}):ue(h)&&(d=[h]);const p=Ht(rt(),i),w=ue(e.tag)||Je(e.tag)?e.tag:l1();return Ad(w,p,d)}}const l5=_r({name:"i18n-n",props:Ht({value:{type:Number,required:!0},format:{type:[String,Object]}},G0),setup(e,t){const n=e.i18n||K0({useScope:e.scope,__useComponent:!0});return c1(e,t,n1,(...r)=>n[a0](...r))}}),Ff=l5,c5=_r({name:"i18n-d",props:Ht({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},G0),setup(e,t){const n=e.i18n||K0({useScope:e.scope,__useComponent:!0});return c1(e,t,t1,(...r)=>n[i0](...r))}}),zf=c5;function u5(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function f5(e){const t=o=>{const{instance:u,modifiers:h,value:d}=o;if(!u||!u.$)throw Ft(Mt.UNEXPECTED_ERROR);const p=u5(e,u.$),w=qf(d);return[Reflect.apply(p.t,p,[...Uf(w)]),p]};return{created:(o,u)=>{const[h,d]=t(u);Pa&&e.global===d&&(o.__i18nWatcher=Da(d.locale,()=>{u.instance&&u.instance.$forceUpdate()})),o.__composer=d,o.textContent=h},unmounted:o=>{Pa&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:u})=>{if(o.__composer){const h=o.__composer,d=qf(u);o.textContent=Reflect.apply(h.t,h,[...Uf(d)])}},getSSRProps:o=>{const[u]=t(o);return{textContent:u}}}}function qf(e){if(ue(e))return{path:e};if(Re(e)){if(!("path"in e))throw Ft(Mt.REQUIRED_VALUE,"path");return e}else throw Ft(Mt.INVALID_VALUE)}function Uf(e){const{path:t,locale:n,args:r,choice:s,plural:i}=e,o={},u=r||{};return ue(n)&&(o.locale=n),wt(s)&&(o.plural=s),wt(i)&&(o.plural=i),[t,u,o]}function h5(e,t,...n){const r=Re(n[0])?n[0]:{},s=!!r.useI18nComponentName;(Ue(r.globalInstall)?r.globalInstall:!0)&&([s?"i18n":Bf.name,"I18nT"].forEach(o=>e.component(o,Bf)),[Ff.name,"I18nN"].forEach(o=>e.component(o,Ff)),[zf.name,"I18nD"].forEach(o=>e.component(o,zf))),e.directive("t",f5(t))}function d5(e,t,n){return{beforeCreate(){const r=ii();if(!r)throw Ft(Mt.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const i=s.i18n;if(s.__i18n&&(i.__i18n=s.__i18n),i.__root=t,this===this.$root)this.$i18n=Hf(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=l0(i);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Hf(e,s);else{this.$i18n=l0({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&o1(t,s,s),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,o)=>this.$i18n.te(i,o),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=ii();if(!r)throw Ft(Mt.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Hf(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[s1](t.pluralizationRules||e.pluralizationRules);const n=oo(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const m5=xr("global-vue-i18n");function p5(e={},t){const n=__VUE_I18N_LEGACY_API__&&Ue(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=Ue(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[o,u]=g5(e,n),h=xr("");function d(v){return i.get(v)||null}function p(v,x){i.set(v,x)}function w(v){i.delete(v)}{const v={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(x,...k){if(x.__VUE_I18N_SYMBOL__=h,x.provide(x.__VUE_I18N_SYMBOL__,v),Re(k[0])){const I=k[0];v.__composerExtend=I.__composerExtend,v.__vueI18nExtend=I.__vueI18nExtend}let A=null;!n&&r&&(A=A5(x,v.global)),__VUE_I18N_FULL_INSTALL__&&h5(x,v,...k),__VUE_I18N_LEGACY_API__&&n&&x.mixin(d5(u,u.__composer,v));const N=x.unmount;x.unmount=()=>{A&&A(),v.dispose(),N()}},get global(){return u},dispose(){o.stop()},__instances:i,__getInstance:d,__setInstance:p,__deleteInstance:w};return v}}function K0(e={}){const t=ii();if(t==null)throw Ft(Mt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ft(Mt.NOT_INSTALLED);const n=b5(t),r=w5(n),s=a1(t),i=y5(e,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Ft(Mt.NOT_AVAILABLE_IN_LEGACY_MODE);return k5(t,i,r,e)}if(i==="global")return o1(r,e,s),r;if(i==="parent"){let h=v5(n,t,e.__useComponent);return h==null&&(h=r),h}const o=n;let u=o.__getInstance(t);if(u==null){const h=Ht({},e);"__i18n"in s&&(h.__i18n=s.__i18n),r&&(h.__root=r),u=W0(h),o.__composerExtend&&(u[o0]=o.__composerExtend(u)),x5(o,t,u),o.__setInstance(t,u)}return u}function g5(e,t,n){const r=ng();{const s=__VUE_I18N_LEGACY_API__&&t?r.run(()=>l0(e)):r.run(()=>W0(e));if(s==null)throw Ft(Mt.UNEXPECTED_ERROR);return[r,s]}}function b5(e){{const t=rg(e.isCE?m5:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ft(e.isCE?Mt.NOT_INSTALLED_WITH_PROVIDE:Mt.UNEXPECTED_ERROR);return t}}function y5(e,t){return so(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function w5(e){return e.mode==="composition"?e.global:e.global.__composer}function v5(e,t,n=!1){let r=null;const s=t.root;let i=_5(t,n);for(;i!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const u=o.__getInstance(i);u!=null&&(r=u.__composer,n&&r&&!r[i1]&&(r=null))}if(r!=null||s===i)break;i=i.parent}return r}function _5(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function x5(e,t,n){Ed(()=>{},t),Td(()=>{const r=n;e.__deleteInstance(t);const s=r[o0];s&&(s(),delete r[o0])},t)}function k5(e,t,n,r={}){const s=t==="local",i=Sd(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Ft(Mt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=Ue(r.inheritLocale)?r.inheritLocale:!ue(r.locale),u=$t(!s||o?n.locale.value:ue(r.locale)?r.locale:vs),h=$t(!s||o?n.fallbackLocale.value:ue(r.fallbackLocale)||ut(r.fallbackLocale)||Re(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:u.value),d=$t(oo(u.value,r)),p=$t(Re(r.datetimeFormats)?r.datetimeFormats:{[u.value]:{}}),w=$t(Re(r.numberFormats)?r.numberFormats:{[u.value]:{}}),v=s?n.missingWarn:Ue(r.missingWarn)||vr(r.missingWarn)?r.missingWarn:!0,x=s?n.fallbackWarn:Ue(r.fallbackWarn)||vr(r.fallbackWarn)?r.fallbackWarn:!0,k=s?n.fallbackRoot:Ue(r.fallbackRoot)?r.fallbackRoot:!0,A=!!r.fallbackFormat,N=lt(r.missing)?r.missing:null,I=lt(r.postTranslation)?r.postTranslation:null,V=s?n.warnHtmlMessage:Ue(r.warnHtmlMessage)?r.warnHtmlMessage:!0,D=!!r.escapeParameter,M=s?n.modifiers:Re(r.modifiers)?r.modifiers:{},B=r.pluralRules||s&&n.pluralRules;function P(){return[u.value,h.value,d.value,p.value,w.value]}const j=Qt({get:()=>i.value?i.value.locale.value:u.value,set:le=>{i.value&&(i.value.locale.value=le),u.value=le}}),W=Qt({get:()=>i.value?i.value.fallbackLocale.value:h.value,set:le=>{i.value&&(i.value.fallbackLocale.value=le),h.value=le}}),Y=Qt(()=>i.value?i.value.messages.value:d.value),pe=Qt(()=>p.value),Me=Qt(()=>w.value);function be(){return i.value?i.value.getPostTranslationHandler():I}function xe(le){i.value&&i.value.setPostTranslationHandler(le)}function G(){return i.value?i.value.getMissingHandler():N}function he(le){i.value&&i.value.setMissingHandler(le)}function Q(le){return P(),le()}function ge(...le){return i.value?Q(()=>Reflect.apply(i.value.t,null,[...le])):Q(()=>"")}function te(...le){return i.value?Reflect.apply(i.value.rt,null,[...le]):""}function Ae(...le){return i.value?Q(()=>Reflect.apply(i.value.d,null,[...le])):Q(()=>"")}function Le(...le){return i.value?Q(()=>Reflect.apply(i.value.n,null,[...le])):Q(()=>"")}function ve(le){return i.value?i.value.tm(le):{}}function U(le,$e){return i.value?i.value.te(le,$e):!1}function ce(le){return i.value?i.value.getLocaleMessage(le):{}}function Ee(le,$e){i.value&&(i.value.setLocaleMessage(le,$e),d.value[le]=$e)}function et(le,$e){i.value&&i.value.mergeLocaleMessage(le,$e)}function Et(le){return i.value?i.value.getDateTimeFormat(le):{}}function Lt(le,$e){i.value&&(i.value.setDateTimeFormat(le,$e),p.value[le]=$e)}function qt(le,$e){i.value&&i.value.mergeDateTimeFormat(le,$e)}function Sn(le){return i.value?i.value.getNumberFormat(le):{}}function ir(le,$e){i.value&&(i.value.setNumberFormat(le,$e),w.value[le]=$e)}function Er(le,$e){i.value&&i.value.mergeNumberFormat(le,$e)}const Tr={get id(){return i.value?i.value.id:-1},locale:j,fallbackLocale:W,messages:Y,datetimeFormats:pe,numberFormats:Me,get inheritLocale(){return i.value?i.value.inheritLocale:o},set inheritLocale(le){i.value&&(i.value.inheritLocale=le)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(d.value)},get modifiers(){return i.value?i.value.modifiers:M},get pluralRules(){return i.value?i.value.pluralRules:B},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:v},set missingWarn(le){i.value&&(i.value.missingWarn=le)},get fallbackWarn(){return i.value?i.value.fallbackWarn:x},set fallbackWarn(le){i.value&&(i.value.missingWarn=le)},get fallbackRoot(){return i.value?i.value.fallbackRoot:k},set fallbackRoot(le){i.value&&(i.value.fallbackRoot=le)},get fallbackFormat(){return i.value?i.value.fallbackFormat:A},set fallbackFormat(le){i.value&&(i.value.fallbackFormat=le)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:V},set warnHtmlMessage(le){i.value&&(i.value.warnHtmlMessage=le)},get escapeParameter(){return i.value?i.value.escapeParameter:D},set escapeParameter(le){i.value&&(i.value.escapeParameter=le)},t:ge,getPostTranslationHandler:be,setPostTranslationHandler:xe,getMissingHandler:G,setMissingHandler:he,rt:te,d:Ae,n:Le,tm:ve,te:U,getLocaleMessage:ce,setLocaleMessage:Ee,mergeLocaleMessage:et,getDateTimeFormat:Et,setDateTimeFormat:Lt,mergeDateTimeFormat:qt,getNumberFormat:Sn,setNumberFormat:ir,mergeNumberFormat:Er};function ar(le){le.locale.value=u.value,le.fallbackLocale.value=h.value,Object.keys(d.value).forEach($e=>{le.mergeLocaleMessage($e,d.value[$e])}),Object.keys(p.value).forEach($e=>{le.mergeDateTimeFormat($e,p.value[$e])}),Object.keys(w.value).forEach($e=>{le.mergeNumberFormat($e,w.value[$e])}),le.escapeParameter=D,le.fallbackFormat=A,le.fallbackRoot=k,le.fallbackWarn=x,le.missingWarn=v,le.warnHtmlMessage=V}return sg(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Ft(Mt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const le=i.value=e.proxy.$i18n.__composer;t==="global"?(u.value=le.locale.value,h.value=le.fallbackLocale.value,d.value=le.messages.value,p.value=le.datetimeFormats.value,w.value=le.numberFormats.value):s&&ar(le)}),Tr}const S5=["locale","fallbackLocale","availableLocales"],Vf=["t","rt","d","n","tm","te"];function A5(e,t){const n=Object.create(null);return S5.forEach(s=>{const i=Object.getOwnPropertyDescriptor(t,s);if(!i)throw Ft(Mt.UNEXPECTED_ERROR);const o=kd(i.value)?{get(){return i.value.value},set(u){i.value.value=u}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,s,o)}),e.config.globalProperties.$i18n=n,Vf.forEach(s=>{const i=Object.getOwnPropertyDescriptor(t,s);if(!i||!i.value)throw Ft(Mt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,i)}),()=>{delete e.config.globalProperties.$i18n,Vf.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}e5();__INTLIFY_JIT_COMPILATION__?kf(K2):kf(G2);B2(y2);F2(jd);if(__INTLIFY_PROD_DEVTOOLS__){const e=Zn();e.__INTLIFY__=!0,T2(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const E5={class:"config-panel"},T5={class:"panel-title"},N5={class:"form-item-description"},C5={class:"form-item-description"},I5={class:"section-title"},O5={class:"form-item-description"},M5={class:"form-item-description"},L5={class:"form-item-description"},D5={class:"form-item-description"},R5=_r({__name:"ConfigPanel",props:{modelValue:{},backendOptions:{},languageOptions:{}},emits:["update:modelValue","backendChange"],setup(e,{emit:t}){const n=e,r=t,s=Qt({get:()=>n.modelValue,set:w=>r("update:modelValue",w)}),i=Qt(()=>n.modelValue.backend.includes("http-client")),o=Qt(()=>n.modelValue.backend.startsWith("vlm")),u=w=>{r("backendChange",w)},h=w=>w.startsWith("vlm")?"启用行间公式识别":w==="pipeline"?"启用公式识别":w.startsWith("hybrid")?"启用行内公式识别":"启用公式识别",d=w=>w.startsWith("vlm")?"禁用后,行间公式将显示为图片。":w==="pipeline"?"禁用后,行间公式将显示为图片,行内公式将不会被检测或解析。":w.startsWith("hybrid")?"禁用后,行内公式将不会被检测或解析。":"",p=w=>({pipeline:"传统多模型管道解析,支持多语言,无幻觉。","vlm-auto-engine":"多模态大模型高精度解析,仅支持中英文文档。","hybrid-auto-engine":"高精度混合解析,支持多语言。","vlm-http-client":"多模态大模型高精度解析,通过远程服务器处理。","hybrid-http-client":"高精度混合解析,通过远程服务器处理。"})[w]||"选择文档解析的后端引擎。";return(w,v)=>{const x=Pt("el-slider"),k=Pt("el-form-item"),A=Pt("el-option"),N=Pt("el-select"),I=Pt("el-input"),V=Pt("el-checkbox"),D=Pt("el-form");return gt(),It("div",E5,[ze("h3",T5,dn(w.$t("config.title")),1),Ne(D,{model:s.value,"label-position":"top","label-width":"120px",class:"config-form"},{default:Ge(()=>[Ne(k,{label:w.$t("config.maxPages"),class:"form-item"},{default:Ge(()=>[Ne(x,{modelValue:s.value.maxPages,"onUpdate:modelValue":v[0]||(v[0]=M=>s.value.maxPages=M),min:1,max:1e3,"show-input":"",class:"slider"},null,8,["modelValue"])]),_:1},8,["label"]),Ne(k,{label:w.$t("config.backend"),class:"form-item"},{default:Ge(()=>[Ne(N,{modelValue:s.value.backend,"onUpdate:modelValue":v[1]||(v[1]=M=>s.value.backend=M),style:{width:"100%"},onChange:u,class:"select"},{default:Ge(()=>[(gt(!0),It(ms,null,Jl(e.backendOptions,M=>(gt(),vl(A,{key:M.value,label:M.label,value:M.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),ze("div",N5,dn(p(s.value.backend)),1)]),_:1},8,["label"]),i.value?(gt(),vl(k,{key:0,label:w.$t("config.serverUrl"),class:"form-item"},{default:Ge(()=>[Ne(I,{modelValue:s.value.serverUrl,"onUpdate:modelValue":v[2]||(v[2]=M=>s.value.serverUrl=M),placeholder:"http://localhost:30000",class:"input"},null,8,["modelValue"]),ze("div",C5,dn(w.$t("config.serverUrlInfo")),1)]),_:1},8,["label"])):Ra("",!0),v[8]||(v[8]=ze("div",{class:"divider"},null,-1)),ze("div",I5,dn(w.$t("config.recognitionOptions")),1),Ne(k,{class:"form-item"},{default:Ge(()=>[Ne(V,{modelValue:s.value.tableEnable,"onUpdate:modelValue":v[3]||(v[3]=M=>s.value.tableEnable=M),class:"checkbox"},{default:Ge(()=>[gr(dn(w.$t("config.tableEnable")),1)]),_:1},8,["modelValue"]),ze("div",O5,dn(w.$t("config.tableInfo")),1)]),_:1}),Ne(k,{class:"form-item"},{default:Ge(()=>[Ne(V,{modelValue:s.value.formulaEnable,"onUpdate:modelValue":v[4]||(v[4]=M=>s.value.formulaEnable=M),class:"checkbox"},{default:Ge(()=>[gr(dn(h(s.value.backend)),1)]),_:1},8,["modelValue"]),ze("div",M5,dn(d(s.value.backend)),1)]),_:1}),o.value?Ra("",!0):(gt(),It(ms,{key:1},[v[7]||(v[7]=ze("div",{class:"divider"},null,-1)),Ne(k,{label:w.$t("config.ocrLanguage"),class:"form-item"},{default:Ge(()=>[Ne(N,{modelValue:s.value.language,"onUpdate:modelValue":v[5]||(v[5]=M=>s.value.language=M),style:{width:"100%"},class:"select"},{default:Ge(()=>[(gt(!0),It(ms,null,Jl(e.languageOptions,M=>(gt(),vl(A,{key:M.value,label:M.label,value:M.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),ze("div",L5,dn(w.$t("config.ocrLanguageInfo")),1)]),_:1},8,["label"]),Ne(k,{class:"form-item"},{default:Ge(()=>[Ne(V,{modelValue:s.value.forceOcr,"onUpdate:modelValue":v[6]||(v[6]=M=>s.value.forceOcr=M),class:"checkbox"},{default:Ge(()=>[gr(dn(w.$t("config.forceOcr")),1)]),_:1},8,["modelValue"]),ze("div",D5,dn(w.$t("config.forceOcrInfo")),1)]),_:1})],64))]),_:1},8,["model"])])}}}),lo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},P5=lo(R5,[["__scopeId","data-v-ea8390cb"]]),$5={class:"markdown-renderer"},B5=["innerHTML"],F5={key:1,class:"empty-state"},z5=_r({__name:"MarkdownRenderer",props:{content:{type:String,default:""}},setup(e){const t=e,n=new Cd({html:!0,linkify:!0,typographer:!0,breaks:!0});n.use(function(s){s.inline.ruler.after("escape","math_inline",function(i,o){let u=i.pos;if(i.src.charCodeAt(u)!==36||i.src.charCodeAt(u+1)!==36)return!1;let h=u+2,d=!1;for(;h$$${s[i].content}$$`},n.renderer.rules.math_inline_single=function(s,i){return`$${s[i].content}$`};const r=Qt(()=>t.content?n.render(t.content):"");return(s,i)=>{const o=Pt("el-empty");return gt(),It("div",$5,[e.content?(gt(),It("div",{key:0,class:"markdown-content",innerHTML:r.value},null,8,B5)):(gt(),It("div",F5,[Ne(o,{description:s.$t("results.noResults")},null,8,["description"])]))])}}}),q5=lo(z5,[["__scopeId","data-v-38a7633c"]]),U5="npm2url/dist/index.cjs",H5={jsdelivr:e=>`https://cdn.jsdelivr.net/npm/${e}`,unpkg:e=>`https://unpkg.com/${e}`};async function V5(e,t){const n=await fetch(e,{signal:t});if(!n.ok)throw n;await n.text()}class j5{constructor(){this.providers={...H5},this.provider="jsdelivr"}async getFastestProvider(t=5e3,n=U5){const r=new AbortController;let s=0;try{return await new Promise((i,o)=>{Promise.all(Object.entries(this.providers).map(async([u,h])=>{try{await V5(h(n),r.signal),i(u)}catch{}})).then(()=>o(new Error("All providers failed"))),s=setTimeout(o,t,new Error("Timed out"))})}finally{r.abort(),clearTimeout(s)}}async findFastestProvider(t,n){return this.provider=await this.getFastestProvider(t,n),this.provider}setProvider(t,n){n?this.providers[t]=n:delete this.providers[t]}getFullUrl(t,n=this.provider){if(t.includes("://"))return t;const r=this.providers[n];if(!r)throw new Error(`Provider ${n} not found`);return r(t)}}class Ks{constructor(){this.listeners=[]}tap(t){return this.listeners.push(t),()=>this.revoke(t)}revoke(t){const n=this.listeners.indexOf(t);n>=0&&this.listeners.splice(n,1)}revokeAll(){this.listeners.splice(0)}call(...t){for(const n of this.listeners)n(...t)}}const W5=Math.random().toString(36).slice(2,8);let jf=0;function G5(){return jf+=1,`mm-${W5}-${jf}`}function us(){}function Xs(e,t){const n=(r,s)=>t(r,()=>{var i;return(i=r.children)==null?void 0:i.map(o=>n(o,r))},s);return n(e)}function K5(e,...t){const n=(e||"").split(" ").filter(Boolean);return t.forEach(r=>{r&&n.indexOf(r)<0&&n.push(r)}),n.join(" ")}function Wf(e,t){return(...n)=>t(e,...n)}function u1(){const e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}function X5(e){const t={};return function(...r){const s=`${r[0]}`;let i=t[s];return i||(i={value:e(...r)},t[s]=i),i.value}}function Y5(e,t){const n={timer:0};function r(){n.timer&&(window.clearTimeout(n.timer),n.timer=0)}function s(){r(),n.args&&(n.result=e(...n.args))}return function(...o){return r(),n.args=o,n.timer=window.setTimeout(s,t),n.result}}/*! @gera2ld/jsx-dom v2.2.2 | ISC License */const f1=1,h1=2,J5="http://www.w3.org/2000/svg",Sl="http://www.w3.org/1999/xlink",Q5={show:Sl,actuate:Sl,href:Sl},Z5=e=>typeof e=="string"||typeof e=="number",e3=e=>(e==null?void 0:e.vtype)===f1,t3=e=>(e==null?void 0:e.vtype)===h1;function n3(e,t,...n){return t=Object.assign({},t,{children:n.length===1?n[0]:n}),r3(e,t)}function r3(e,t){let n;if(typeof e=="string")n=f1;else if(typeof e=="function")n=h1;else throw new Error("Invalid VNode type");return{vtype:n,type:e,props:t}}function s3(e){return e.children}const i3={isSvg:!1};function Gf(e,t){Array.isArray(t)||(t=[t]),t=t.filter(Boolean),t.length&&e.append(...t)}function a3(e,t,n){for(const r in t)if(!(r==="key"||r==="children"||r==="ref"))if(r==="dangerouslySetInnerHTML")e.innerHTML=t[r].__html;else if(r==="innerHTML"||r==="textContent"||r==="innerText"||r==="value"&&["textarea","select"].includes(e.tagName)){const s=t[r];s!=null&&(e[r]=s)}else r.startsWith("on")?e[r.toLowerCase()]=t[r]:l3(e,r,t[r],n.isSvg)}const o3={className:"class",labelFor:"for"};function l3(e,t,n,r){if(t=o3[t]||t,n===!0)e.setAttribute(t,"");else if(n===!1)e.removeAttribute(t);else{const s=r?Q5[t]:void 0;s!==void 0?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}}function c3(e){return e.reduce((t,n)=>t.concat(n),[])}function c0(e,t){return Array.isArray(e)?c3(e.map(n=>c0(n,t))):X0(e,t)}function X0(e,t=i3){if(e==null||typeof e=="boolean")return null;if(e instanceof Node)return e;if(t3(e)){const{type:n,props:r}=e;if(n===s3){const i=document.createDocumentFragment();if(r.children){const o=c0(r.children,t);Gf(i,o)}return i}const s=n(r);return X0(s,t)}if(Z5(e))return document.createTextNode(`${e}`);if(e3(e)){let n;const{type:r,props:s}=e;if(!t.isSvg&&r==="svg"&&(t=Object.assign({},t,{isSvg:!0})),t.isSvg?n=document.createElementNS(J5,r):n=document.createElement(r),a3(n,s,t),s.children){let o=t;t.isSvg&&r==="foreignObject"&&(o=Object.assign({},o,{isSvg:!1}));const u=c0(s.children,o);u!=null&&Gf(n,u)}const{ref:i}=s;return typeof i=="function"&&i(n),n}throw new Error("mount: Invalid Vnode!")}function u3(e){return X0(e)}function Ba(...e){return u3(n3(...e))}const f3=X5(e=>{document.head.append(Ba("link",{rel:"preload",as:"script",href:e}))}),Kf={},Xf={};async function h3(e,t){var n;const r=e.type==="script"&&((n=e.data)==null?void 0:n.src)||"";if(e.loaded||(e.loaded=Kf[r]),!e.loaded){const s=u1();if(e.loaded=s.promise,e.type==="script"&&(document.head.append(Ba("script",{...e.data,onLoad:()=>s.resolve(),onError:s.reject})),r?Kf[r]=e.loaded:s.resolve()),e.type==="iife"){const{fn:i,getParams:o}=e.data;i(...(o==null?void 0:o(t))||[]),s.resolve()}}await e.loaded}async function d3(e){const t=e.type==="stylesheet"&&e.data.href||"";if(e.loaded||(e.loaded=Xf[t]),!e.loaded){const n=u1();e.loaded=n.promise,t&&(Xf[t]=e.loaded),e.type==="style"?(document.head.append(Ba("style",{textContent:e.data})),n.resolve()):t&&(document.head.append(Ba("link",{rel:"stylesheet",...e.data})),fetch(t).then(r=>{if(r.ok)return r.text();throw r}).then(()=>n.resolve(),n.reject))}await e.loaded}async function Y0(e,t){e.forEach(n=>{var r;n.type==="script"&&((r=n.data)!=null&&r.src)&&f3(n.data.src)}),t={getMarkmap:()=>window.markmap,...t};for(const n of e)await h3(n,t)}async function m3(e){await Promise.all(e.map(t=>d3(t)))}function J0(e){return{type:"script",data:{src:e}}}function d1(e){return{type:"stylesheet",data:{href:e}}}const p3={_useHtmlParser2:!1};function u0(e,t){if(!e)return t??p3;const n={_useHtmlParser2:!!e.xmlMode,...t,...e};return e.xml?(n._useHtmlParser2=!0,n.xmlMode=!0,e.xml!==!0&&Object.assign(n,e.xml)):e.xmlMode&&(n._useHtmlParser2=!0),n}var Qe;(function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"})(Qe||(Qe={}));function g3(e){return e.type===Qe.Tag||e.type===Qe.Script||e.type===Qe.Style}const b3=Qe.Root,y3=Qe.Text,w3=Qe.Directive,v3=Qe.Comment,_3=Qe.Script,x3=Qe.Style,k3=Qe.Tag,S3=Qe.CDATA,A3=Qe.Doctype;let m1=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return ui(this,t)}};class Q0 extends m1{constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}}class Fa extends Q0{constructor(){super(...arguments),this.type=Qe.Text}get nodeType(){return 3}}class p1 extends Q0{constructor(){super(...arguments),this.type=Qe.Comment}get nodeType(){return 8}}class g1 extends Q0{constructor(t,n){super(n),this.name=t,this.type=Qe.Directive}get nodeType(){return 1}}class Z0 extends m1{constructor(t){super(),this.children=t}get firstChild(){var t;return(t=this.children[0])!==null&&t!==void 0?t:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}}class b1 extends Z0{constructor(){super(...arguments),this.type=Qe.CDATA}get nodeType(){return 4}}let ci=class extends Z0{constructor(){super(...arguments),this.type=Qe.Root}get nodeType(){return 9}};class y1 extends Z0{constructor(t,n,r=[],s=t==="script"?Qe.Script:t==="style"?Qe.Style:Qe.Tag){super(r),this.name=t,this.attribs=n,this.type=s}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map(t=>{var n,r;return{name:t,value:this.attribs[t],namespace:(n=this["x-attribsNamespace"])===null||n===void 0?void 0:n[t],prefix:(r=this["x-attribsPrefix"])===null||r===void 0?void 0:r[t]}})}}function De(e){return g3(e)}function co(e){return e.type===Qe.CDATA}function jr(e){return e.type===Qe.Text}function ec(e){return e.type===Qe.Comment}function E3(e){return e.type===Qe.Directive}function Yr(e){return e.type===Qe.Root}function zt(e){return Object.prototype.hasOwnProperty.call(e,"children")}function ui(e,t=!1){let n;if(jr(e))n=new Fa(e.data);else if(ec(e))n=new p1(e.data);else if(De(e)){const r=t?Al(e.children):[],s=new y1(e.name,{...e.attribs},r);r.forEach(i=>i.parent=s),e.namespace!=null&&(s.namespace=e.namespace),e["x-attribsNamespace"]&&(s["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(s["x-attribsPrefix"]={...e["x-attribsPrefix"]}),n=s}else if(co(e)){const r=t?Al(e.children):[],s=new b1(r);r.forEach(i=>i.parent=s),n=s}else if(Yr(e)){const r=t?Al(e.children):[],s=new ci(r);r.forEach(i=>i.parent=s),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else if(E3(e)){const r=new g1(e.name,e.data);e["x-name"]!=null&&(r["x-name"]=e["x-name"],r["x-publicId"]=e["x-publicId"],r["x-systemId"]=e["x-systemId"]),n=r}else throw new Error(`Not implemented yet: ${e.type}`);return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function Al(e){const t=e.map(n=>ui(n,!0));for(let n=1;n䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),v1=new Uint16Array("Ȁaglq	\x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var El;const N3=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),f0=(El=String.fromCodePoint)!==null&&El!==void 0?El:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function C3(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=N3.get(e))!==null&&t!==void 0?t:e}var Bt;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Bt||(Bt={}));const I3=32;var br;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(br||(br={}));function h0(e){return e>=Bt.ZERO&&e<=Bt.NINE}function O3(e){return e>=Bt.UPPER_A&&e<=Bt.UPPER_F||e>=Bt.LOWER_A&&e<=Bt.LOWER_F}function M3(e){return e>=Bt.UPPER_A&&e<=Bt.UPPER_Z||e>=Bt.LOWER_A&&e<=Bt.LOWER_Z||h0(e)}function L3(e){return e===Bt.EQUALS||M3(e)}var Rt;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Rt||(Rt={}));var $n;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})($n||($n={}));class _1{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Rt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=$n.Strict}startEntity(t){this.decodeMode=t,this.state=Rt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Rt.EntityStart:return t.charCodeAt(n)===Bt.NUM?(this.state=Rt.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Rt.NamedEntity,this.stateNamedEntity(t,n));case Rt.NumericStart:return this.stateNumericStart(t,n);case Rt.NumericDecimal:return this.stateNumericDecimal(t,n);case Rt.NumericHex:return this.stateNumericHex(t,n);case Rt.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|I3)===Bt.LOWER_X?(this.state=Rt.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Rt.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,s){if(n!==r){const i=r-n;this.result=this.result*Math.pow(s,i)+parseInt(t.substr(n,i),s),this.consumed+=i}}stateNumericHex(t,n){const r=n;for(;n>14;for(;n>14,i!==0){if(o===Bt.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==$n.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,s=(r[n]&br.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,s,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:s}=this;return this.emitCodePoint(n===1?s[t]&~br.VALUE_LENGTH:s[t+1],r),n===3&&this.emitCodePoint(s[t+2],r),r}end(){var t;switch(this.state){case Rt.NamedEntity:return this.result!==0&&(this.decodeMode!==$n.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Rt.NumericDecimal:return this.emitNumericEntity(0,2);case Rt.NumericHex:return this.emitNumericEntity(0,3);case Rt.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Rt.EntityStart:return 0}}}function x1(e){let t="";const n=new _1(e,r=>t+=f0(r));return function(s,i){let o=0,u=0;for(;(u=s.indexOf("&",u))>=0;){t+=s.slice(o,u),n.startEntity(i);const d=n.write(s,u+1);if(d<0){o=u+n.end();break}o=u+d,u=d===0?o+1:o}const h=t+s.slice(o);return t="",h}}function D3(e,t,n,r){const s=(t&br.BRANCH_LENGTH)>>7,i=t&br.JUMP_TABLE;if(s===0)return i!==0&&r===i?n:-1;if(i){const h=r-i;return h<0||h>=s?-1:e[n+h]-1}let o=n,u=o+s-1;for(;o<=u;){const h=o+u>>>1,d=e[h];if(dr)u=h-1;else return e[h+s]}return-1}x1(w1);x1(v1);const Jf=/["&'<>$\x80-\uFFFF]/g,R3=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),P3=String.prototype.codePointAt!=null?(e,t)=>e.codePointAt(t):(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function k1(e){let t="",n=0,r;for(;(r=Jf.exec(e))!==null;){const s=r.index,i=e.charCodeAt(s),o=R3.get(i);o!==void 0?(t+=e.substring(n,s)+o,n=s+1):(t+=`${e.substring(n,s)}&#x${P3(e,s).toString(16)};`,n=Jf.lastIndex+=+((i&64512)===55296))}return t+e.substr(n)}function S1(e,t){return function(r){let s,i=0,o="";for(;s=e.exec(r);)i!==s.index&&(o+=r.substring(i,s.index)),o+=t.get(s[0].charCodeAt(0)),i=s.index+1;return o+r.substring(i)}}const $3=S1(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),B3=S1(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),F3=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),z3=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),q3=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function U3(e){return e.replace(/"/g,""")}function H3(e,t){var n;if(!e)return;const r=((n=t.encodeEntities)!==null&&n!==void 0?n:t.decodeEntities)===!1?U3:t.xmlMode||t.encodeEntities!=="utf8"?k1:$3;return Object.keys(e).map(s=>{var i,o;const u=(i=e[s])!==null&&i!==void 0?i:"";return t.xmlMode==="foreign"&&(s=(o=z3.get(s))!==null&&o!==void 0?o:s),!t.emptyAttrs&&!t.xmlMode&&u===""?s:`${s}="${r(u)}"`}).join(" ")}const Qf=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function uo(e,t={}){const n="length"in e?e:[e];let r="";for(let s=0;s0&&(r+=uo(e.children,t)),(t.xmlMode||!Qf.has(e.name))&&(r+=``)),r}function K3(e){return`<${e.data}>`}function X3(e,t){var n;let r=e.data||"";return((n=t.encodeEntities)!==null&&n!==void 0?n:t.decodeEntities)!==!1&&!(!t.xmlMode&&e.parent&&q3.has(e.parent.name))&&(r=t.xmlMode||t.encodeEntities!=="utf8"?k1(r):B3(r)),r}function Y3(e){return``}function J3(e){return``}function A1(e,t){return uo(e,t)}function Q3(e,t){return zt(e)?e.children.map(n=>A1(n,t)).join(""):""}function ka(e){return Array.isArray(e)?e.map(ka).join(""):De(e)?e.name==="br"?`
-`:ka(e.children):co(e)?ka(e.children):jr(e)?e.data:""}function _s(e){return Array.isArray(e)?e.map(_s).join(""):zt(e)&&!ec(e)?_s(e.children):jr(e)?e.data:""}function za(e){return Array.isArray(e)?e.map(za).join(""):zt(e)&&(e.type===Qe.Tag||co(e))?za(e.children):jr(e)?e.data:""}function fo(e){return zt(e)?e.children:[]}function E1(e){return e.parent||null}function T1(e){const t=E1(e);if(t!=null)return fo(t);const n=[e];let{prev:r,next:s}=e;for(;r!=null;)n.unshift(r),{prev:r}=r;for(;s!=null;)n.push(s),{next:s}=s;return n}function Z3(e,t){var n;return(n=e.attribs)===null||n===void 0?void 0:n[t]}function e6(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}function t6(e){return e.name}function tc(e){let{next:t}=e;for(;t!==null&&!De(t);)({next:t}=t);return t}function nc(e){let{prev:t}=e;for(;t!==null&&!De(t);)({prev:t}=t);return t}function Jr(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){const t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}function n6(e,t){const n=t.prev=e.prev;n&&(n.next=t);const r=t.next=e.next;r&&(r.prev=t);const s=t.parent=e.parent;if(s){const i=s.children;i[i.lastIndexOf(e)]=t,e.parent=null}}function r6(e,t){if(Jr(t),t.next=null,t.parent=e,e.children.push(t)>1){const n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null}function s6(e,t){Jr(t);const{parent:n}=e,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){const s=n.children;s.splice(s.lastIndexOf(r),0,t)}}else n&&n.children.push(t)}function i6(e,t){if(Jr(t),t.parent=e,t.prev=null,e.children.unshift(t)!==1){const n=e.children[1];n.prev=t,t.next=n}else t.next=null}function a6(e,t){Jr(t);const{parent:n}=e;if(n){const r=n.children;r.splice(r.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}function ho(e,t,n=!0,r=1/0){return rc(e,Array.isArray(t)?t:[t],n,r)}function rc(e,t,n,r){const s=[],i=[t],o=[0];for(;;){if(o[0]>=i[0].length){if(o.length===1)return s;i.shift(),o.shift();continue}const u=i[0][o[0]++];if(e(u)&&(s.push(u),--r<=0))return s;n&&zt(u)&&u.children.length>0&&(o.unshift(0),i.unshift(u.children))}}function o6(e,t){return t.find(e)}function sc(e,t,n=!0){let r=null;for(let s=0;s0&&(r=sc(e,i.children,!0));else continue}return r}function N1(e,t){return t.some(n=>De(n)&&(e(n)||N1(e,n.children)))}function l6(e,t){const n=[],r=[t],s=[0];for(;;){if(s[0]>=r[0].length){if(r.length===1)return n;r.shift(),s.shift();continue}const i=r[0][s[0]++];De(i)&&(e(i)&&n.push(i),i.children.length>0&&(s.unshift(0),r.unshift(i.children)))}}const qa={tag_name(e){return typeof e=="function"?t=>De(t)&&e(t.name):e==="*"?De:t=>De(t)&&t.name===e},tag_type(e){return typeof e=="function"?t=>e(t.type):t=>t.type===e},tag_contains(e){return typeof e=="function"?t=>jr(t)&&e(t.data):t=>jr(t)&&t.data===e}};function C1(e,t){return typeof t=="function"?n=>De(n)&&t(n.attribs[e]):n=>De(n)&&n.attribs[e]===t}function c6(e,t){return n=>e(n)||t(n)}function I1(e){const t=Object.keys(e).map(n=>{const r=e[n];return Object.prototype.hasOwnProperty.call(qa,n)?qa[n](r):C1(n,r)});return t.length===0?null:t.reduce(c6)}function u6(e,t){const n=I1(e);return n?n(t):!0}function f6(e,t,n,r=1/0){const s=I1(e);return s?ho(s,t,n,r):[]}function h6(e,t,n=!0){return Array.isArray(t)||(t=[t]),sc(C1("id",e),t,n)}function Ns(e,t,n=!0,r=1/0){return ho(qa.tag_name(e),t,n,r)}function d6(e,t,n=!0,r=1/0){return ho(qa.tag_type(e),t,n,r)}function m6(e){let t=e.length;for(;--t>=0;){const n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0){e.splice(t,1);continue}for(let r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e}var wn;(function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"})(wn||(wn={}));function O1(e,t){const n=[],r=[];if(e===t)return 0;let s=zt(e)?e:e.parent;for(;s;)n.unshift(s),s=s.parent;for(s=zt(t)?t:t.parent;s;)r.unshift(s),s=s.parent;const i=Math.min(n.length,r.length);let o=0;for(;oh.indexOf(p)?u===t?wn.FOLLOWING|wn.CONTAINED_BY:wn.FOLLOWING:u===e?wn.PRECEDING|wn.CONTAINS:wn.PRECEDING}function Cs(e){return e=e.filter((t,n,r)=>!r.includes(t,n+1)),e.sort((t,n)=>{const r=O1(t,n);return r&wn.PRECEDING?-1:r&wn.FOLLOWING?1:0}),e}function p6(e){const t=Ua(v6,e);return t?t.name==="feed"?g6(t):b6(t):null}function g6(e){var t;const n=e.children,r={type:"atom",items:Ns("entry",n).map(o=>{var u;const{children:h}=o,d={media:M1(h)};sn(d,"id","id",h),sn(d,"title","title",h);const p=(u=Ua("link",h))===null||u===void 0?void 0:u.attribs.href;p&&(d.link=p);const w=yr("summary",h)||yr("content",h);w&&(d.description=w);const v=yr("updated",h);return v&&(d.pubDate=new Date(v)),d})};sn(r,"id","id",n),sn(r,"title","title",n);const s=(t=Ua("link",n))===null||t===void 0?void 0:t.attribs.href;s&&(r.link=s),sn(r,"description","subtitle",n);const i=yr("updated",n);return i&&(r.updated=new Date(i)),sn(r,"author","email",n,!0),r}function b6(e){var t,n;const r=(n=(t=Ua("channel",e.children))===null||t===void 0?void 0:t.children)!==null&&n!==void 0?n:[],s={type:e.name.substr(0,3),id:"",items:Ns("item",e.children).map(o=>{const{children:u}=o,h={media:M1(u)};sn(h,"id","guid",u),sn(h,"title","title",u),sn(h,"link","link",u),sn(h,"description","description",u);const d=yr("pubDate",u)||yr("dc:date",u);return d&&(h.pubDate=new Date(d)),h})};sn(s,"title","title",r),sn(s,"link","link",r),sn(s,"description","description",r);const i=yr("lastBuildDate",r);return i&&(s.updated=new Date(i)),sn(s,"author","managingEditor",r,!0),s}const y6=["url","type","lang"],w6=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function M1(e){return Ns("media:content",e).map(t=>{const{attribs:n}=t,r={medium:n.medium,isDefault:!!n.isDefault};for(const s of y6)n[s]&&(r[s]=n[s]);for(const s of w6)n[s]&&(r[s]=parseInt(n[s],10));return n.expression&&(r.expression=n.expression),r})}function Ua(e,t){return Ns(e,t,!0,1)[0]}function yr(e,t,n=!1){return _s(Ns(e,t,n,1)).trim()}function sn(e,t,n,r,s=!1){const i=yr(n,r,s);i&&(e[t]=i)}function v6(e){return e==="rss"||e==="feed"||e==="rdf:RDF"}const mo=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return wn},append:s6,appendChild:r6,compareDocumentPosition:O1,existsOne:N1,filter:ho,find:rc,findAll:l6,findOne:sc,findOneChild:o6,getAttributeValue:Z3,getChildren:fo,getElementById:h6,getElements:f6,getElementsByTagName:Ns,getElementsByTagType:d6,getFeed:p6,getInnerHTML:Q3,getName:t6,getOuterHTML:A1,getParent:E1,getSiblings:T1,getText:ka,hasAttrib:e6,hasChildren:zt,innerText:za,isCDATA:co,isComment:ec,isDocument:Yr,isTag:De,isText:jr,nextElementSibling:tc,prepend:a6,prependChild:i6,prevElementSibling:nc,removeElement:Jr,removeSubsets:m6,replaceElement:n6,testElement:u6,textContent:_s,uniqueSort:Cs},Symbol.toStringTag,{value:"Module"}));function L1(e,t,n){return e?e(t??e._root.children,null,void 0,n).toString():""}function _6(e,t){return typeof e=="object"&&e!=null&&!("length"in e)&&!("type"in e)}function x6(e,t){const n=_6(e)?(t=e,void 0):e,r={...this===null||this===void 0?void 0:this._options,...u0(t)};return L1(this,n,r)}function k6(e){const t={...this._options,xmlMode:!0};return L1(this,e,t)}function fi(e){const t=e??(this?this.root():[]);let n="";for(let r=0;rn.toUpperCase())}function I6(e){return e.replace(/[A-Z]/g,"-$&").toLowerCase()}function pt(e,t){const n=e.length;for(let r=0;re.length-3)return!1;const n=e.charCodeAt(t+1);return(n>=Br.LowerA&&n<=Br.LowerZ||n>=Br.UpperA&&n<=Br.UpperZ||n===Br.Exclamation)&&e.includes(">",t+2)}const hi=Object.prototype.hasOwnProperty,di=/\s+/,m0="data-",ic=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,O6=/^{[^]*}$|^\[[^]*]$/;function Ha(e,t,n){var r;if(!(!e||!De(e))){if((r=e.attribs)!==null&&r!==void 0||(e.attribs={}),!t)return e.attribs;if(hi.call(e.attribs,t))return!n&&ic.test(t)?t:e.attribs[t];if(e.name==="option"&&t==="value")return fi(e.children);if(e.name==="input"&&(e.attribs.type==="radio"||e.attribs.type==="checkbox")&&t==="value")return"on"}}function ps(e,t,n){n===null?P1(e,t):e.attribs[t]=`${n}`}function M6(e,t){if(typeof e=="object"||t!==void 0){if(typeof t=="function"){if(typeof e!="string")throw new Error("Bad combination of arguments.");return pt(this,(n,r)=>{De(n)&&ps(n,e,t.call(n,r,n.attribs[e]))})}return pt(this,n=>{if(De(n))if(typeof e=="object")for(const r of Object.keys(e)){const s=e[r];ps(n,r,s)}else ps(n,e,t)})}return arguments.length>1?this:Ha(this[0],e,this.options.xmlMode)}function eh(e,t,n){return t in e?e[t]:!n&&ic.test(t)?Ha(e,t,!1)!==void 0:Ha(e,t,n)}function Tl(e,t,n,r){t in e?e[t]=n:ps(e,t,!r&&ic.test(t)?n?"":null:`${n}`)}function L6(e,t){var n;if(typeof e=="string"&&t===void 0){const r=this[0];if(!r||!De(r))return;switch(e){case"style":{const s=this.css(),i=Object.keys(s);for(let o=0;o").parent().html();case"innerHTML":return this.html();default:return eh(r,e,this.options.xmlMode)}}if(typeof e=="object"||t!==void 0){if(typeof t=="function"){if(typeof e=="object")throw new TypeError("Bad combination of arguments.");return pt(this,(r,s)=>{De(r)&&Tl(r,e,t.call(r,s,eh(r,e,this.options.xmlMode)),this.options.xmlMode)})}return pt(this,r=>{if(De(r))if(typeof e=="object")for(const s of Object.keys(e)){const i=e[s];Tl(r,s,i,this.options.xmlMode)}else Tl(r,e,t,this.options.xmlMode)})}}function th(e,t,n){var r;(r=e.data)!==null&&r!==void 0||(e.data={}),typeof t=="object"?Object.assign(e.data,t):typeof t=="string"&&n!==void 0&&(e.data[t]=n)}function D6(e){for(const t of Object.keys(e.attribs)){if(!t.startsWith(m0))continue;const n=C6(t.slice(m0.length));hi.call(e.data,n)||(e.data[n]=R1(e.attribs[t]))}return e.data}function R6(e,t){const n=m0+I6(t),r=e.data;if(hi.call(r,t))return r[t];if(hi.call(e.attribs,n))return r[t]=R1(e.attribs[n])}function R1(e){if(e==="null")return null;if(e==="true")return!0;if(e==="false")return!1;const t=Number(e);if(e===String(t))return t;if(O6.test(e))try{return JSON.parse(e)}catch{}return e}function P6(e,t){var n;const r=this[0];if(!r||!De(r))return;const s=r;return(n=s.data)!==null&&n!==void 0||(s.data={}),e==null?D6(s):typeof e=="object"||t!==void 0?(pt(this,i=>{De(i)&&(typeof e=="object"?th(i,e):th(i,e,t))}),this):R6(s,e)}function $6(e){const t=arguments.length===0,n=this[0];if(!n||!De(n))return t?void 0:this;switch(n.name){case"textarea":return this.text(e);case"select":{const r=this.find("option:selected");if(!t){if(this.attr("multiple")==null&&typeof e=="object")return this;this.find("option").removeAttr("selected");const s=typeof e=="object"?e:[e];for(const i of s)this.find(`option[value="${i}"]`).attr("selected","");return this}return this.attr("multiple")?r.toArray().map(s=>fi(s.children)):r.attr("value")}case"input":case"option":return t?this.attr("value"):this.attr("value",e)}}function P1(e,t){!e.attribs||!hi.call(e.attribs,t)||delete e.attribs[t]}function Va(e){return e?e.trim().split(di):[]}function B6(e){const t=Va(e);for(const n of t)pt(this,r=>{De(r)&&P1(r,n)});return this}function F6(e){return this.toArray().some(t=>{const n=De(t)&&t.attribs.class;let r=-1;if(n&&e.length>0)for(;(r=n.indexOf(e,r+1))>-1;){const s=r+e.length;if((r===0||di.test(n[r-1]))&&(s===n.length||di.test(n[s])))return!0}return!1})}function $1(e){if(typeof e=="function")return pt(this,(r,s)=>{if(De(r)){const i=r.attribs.class||"";$1.call([r],e.call(r,s,i))}});if(!e||typeof e!="string")return this;const t=e.split(di),n=this.length;for(let r=0;r{De(s)&&B1.call([s],e.call(s,i,s.attribs.class||""))});const t=Va(e),n=t.length,r=arguments.length===0;return pt(this,s=>{if(De(s))if(r)s.attribs.class="";else{const i=Va(s.attribs.class);let o=!1;for(let u=0;u=0&&(i.splice(h,1),o=!0,u--)}o&&(s.attribs.class=i.join(" "))}})}function F1(e,t){if(typeof e=="function")return pt(this,(o,u)=>{De(o)&&F1.call([o],e.call(o,u,o.attribs.class||"",t),t)});if(!e||typeof e!="string")return this;const n=e.split(di),r=n.length,s=typeof t=="boolean"?t?1:-1:0,i=this.length;for(let o=0;o=0&&p<0?h.push(n[d]):s<=0&&p>=0&&h.splice(p,1)}u.attribs.class=h.join(" ")}return this}const z6=Object.freeze(Object.defineProperty({__proto__:null,addClass:$1,attr:M6,data:P6,hasClass:F6,prop:L6,removeAttr:B6,removeClass:B1,toggleClass:F1,val:$6},Symbol.toStringTag,{value:"Module"}));var Se;(function(e){e.Attribute="attribute",e.Pseudo="pseudo",e.PseudoElement="pseudo-element",e.Tag="tag",e.Universal="universal",e.Adjacent="adjacent",e.Child="child",e.Descendant="descendant",e.Parent="parent",e.Sibling="sibling",e.ColumnCombinator="column-combinator"})(Se||(Se={}));var Ot;(function(e){e.Any="any",e.Element="element",e.End="end",e.Equals="equals",e.Exists="exists",e.Hyphen="hyphen",e.Not="not",e.Start="start"})(Ot||(Ot={}));const nh=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,q6=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,U6=new Map([[126,Ot.Element],[94,Ot.Start],[36,Ot.End],[42,Ot.Any],[33,Ot.Not],[124,Ot.Hyphen]]),H6=new Set(["has","not","matches","is","where","host","host-context"]);function ti(e){switch(e.type){case Se.Adjacent:case Se.Child:case Se.Descendant:case Se.Parent:case Se.Sibling:case Se.ColumnCombinator:return!0;default:return!1}}const V6=new Set(["contains","icontains"]);function j6(e,t,n){const r=parseInt(t,16)-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)}function Hs(e){return e.replace(q6,j6)}function Nl(e){return e===39||e===34}function rh(e){return e===32||e===9||e===10||e===12||e===13}function po(e){const t=[],n=z1(t,`${e}`,0);if(n0&&n0&&ti(r[r.length-1]))throw new Error("Did not expect successive traversals.")}function d(v){if(r.length>0&&r[r.length-1].type===Se.Descendant){r[r.length-1].type=v;return}h(),r.push({type:v})}function p(v,x){r.push({type:Se.Attribute,name:v,action:x,value:s(1),namespace:null,ignoreCase:"quirks"})}function w(){if(r.length&&r[r.length-1].type===Se.Descendant&&r.pop(),r.length===0)throw new Error("Empty sub-selector");e.push(r)}if(i(0),t.length===n)return n;e:for(;n=0&&r>=1)):e.type===Se.Pseudo&&(e.data?e.name==="has"||e.name==="contains"?r=0:Array.isArray(e.data)?(r=Math.min(...e.data.map(s=>Math.min(...s.map(U1)))),r<0&&(r=0)):r=2:r=3),r}const Y6=/[-[\]{}()*+?.,\\^$|#\s]/g;function ih(e){return e.replace(Y6,"\\$&")}const J6=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function Dr(e,t){return typeof e.ignoreCase=="boolean"?e.ignoreCase:e.ignoreCase==="quirks"?!!t.quirksMode:!t.xmlMode&&J6.has(e.name)}const Q6={equals(e,t,n){const{adapter:r}=n,{name:s}=t;let{value:i}=t;return Dr(t,n)?(i=i.toLowerCase(),o=>{const u=r.getAttributeValue(o,s);return u!=null&&u.length===i.length&&u.toLowerCase()===i&&e(o)}):o=>r.getAttributeValue(o,s)===i&&e(o)},hyphen(e,t,n){const{adapter:r}=n,{name:s}=t;let{value:i}=t;const o=i.length;return Dr(t,n)?(i=i.toLowerCase(),function(h){const d=r.getAttributeValue(h,s);return d!=null&&(d.length===o||d.charAt(o)==="-")&&d.substr(0,o).toLowerCase()===i&&e(h)}):function(h){const d=r.getAttributeValue(h,s);return d!=null&&(d.length===o||d.charAt(o)==="-")&&d.substr(0,o)===i&&e(h)}},element(e,t,n){const{adapter:r}=n,{name:s,value:i}=t;if(/\s/.test(i))return qe.falseFunc;const o=new RegExp(`(?:^|\\s)${ih(i)}(?:$|\\s)`,Dr(t,n)?"i":"");return function(h){const d=r.getAttributeValue(h,s);return d!=null&&d.length>=i.length&&o.test(d)&&e(h)}},exists(e,{name:t},{adapter:n}){return r=>n.hasAttrib(r,t)&&e(r)},start(e,t,n){const{adapter:r}=n,{name:s}=t;let{value:i}=t;const o=i.length;return o===0?qe.falseFunc:Dr(t,n)?(i=i.toLowerCase(),u=>{const h=r.getAttributeValue(u,s);return h!=null&&h.length>=o&&h.substr(0,o).toLowerCase()===i&&e(u)}):u=>{var h;return!!(!((h=r.getAttributeValue(u,s))===null||h===void 0)&&h.startsWith(i))&&e(u)}},end(e,t,n){const{adapter:r}=n,{name:s}=t;let{value:i}=t;const o=-i.length;return o===0?qe.falseFunc:Dr(t,n)?(i=i.toLowerCase(),u=>{var h;return((h=r.getAttributeValue(u,s))===null||h===void 0?void 0:h.substr(o).toLowerCase())===i&&e(u)}):u=>{var h;return!!(!((h=r.getAttributeValue(u,s))===null||h===void 0)&&h.endsWith(i))&&e(u)}},any(e,t,n){const{adapter:r}=n,{name:s,value:i}=t;if(i==="")return qe.falseFunc;if(Dr(t,n)){const o=new RegExp(ih(i),"i");return function(h){const d=r.getAttributeValue(h,s);return d!=null&&d.length>=i.length&&o.test(d)&&e(h)}}return o=>{var u;return!!(!((u=r.getAttributeValue(o,s))===null||u===void 0)&&u.includes(i))&&e(o)}},not(e,t,n){const{adapter:r}=n,{name:s}=t;let{value:i}=t;return i===""?o=>!!r.getAttributeValue(o,s)&&e(o):Dr(t,n)?(i=i.toLowerCase(),o=>{const u=r.getAttributeValue(o,s);return(u==null||u.length!==i.length||u.toLowerCase()!==i)&&e(o)}):o=>r.getAttributeValue(o,s)!==i&&e(o)}},Z6=new Set([9,10,12,13,32]),ah=48,e7=57;function t7(e){if(e=e.trim().toLowerCase(),e==="even")return[2,0];if(e==="odd")return[2,1];let t=0,n=0,r=i(),s=o();if(t=ah&&e.charCodeAt(t)<=e7;)d=d*10+(e.charCodeAt(t)-ah),t++;return t===h?null:d}function u(){for(;ti<=n;if(t===0)return i=>i===n;if(t===1)return n<0?qe.trueFunc:i=>i>=n;const r=Math.abs(t),s=(n%r+r)%r;return t>1?i=>i>=n&&i%r===s:i=>i<=n&&i%r===s}function la(e){return n7(t7(e))}function ca(e,t){return n=>{const r=t.getParent(n);return r!=null&&t.isTag(r)&&e(n)}}const p0={contains(e,t,{adapter:n}){return function(s){return e(s)&&n.getText(s).includes(t)}},icontains(e,t,{adapter:n}){const r=t.toLowerCase();return function(i){return e(i)&&n.getText(i).toLowerCase().includes(r)}},"nth-child"(e,t,{adapter:n,equals:r}){const s=la(t);return s===qe.falseFunc?qe.falseFunc:s===qe.trueFunc?ca(e,n):function(o){const u=n.getSiblings(o);let h=0;for(let d=0;d=0&&!r(o,u[d]);d--)n.isTag(u[d])&&h++;return s(h)&&e(o)}},"nth-of-type"(e,t,{adapter:n,equals:r}){const s=la(t);return s===qe.falseFunc?qe.falseFunc:s===qe.trueFunc?ca(e,n):function(o){const u=n.getSiblings(o);let h=0;for(let d=0;d=0;d--){const p=u[d];if(r(o,p))break;n.isTag(p)&&n.getName(p)===n.getName(o)&&h++}return s(h)&&e(o)}},root(e,t,{adapter:n}){return r=>{const s=n.getParent(r);return(s==null||!n.isTag(s))&&e(r)}},scope(e,t,n,r){const{equals:s}=n;return!r||r.length===0?p0.root(e,t,n):r.length===1?i=>s(r[0],i)&&e(i):i=>r.includes(i)&&e(i)},hover:Il("isHovered"),visited:Il("isVisited"),active:Il("isActive")};function Il(e){return function(n,r,{adapter:s}){const i=s[e];return typeof i!="function"?qe.falseFunc:function(u){return i(u)&&n(u)}}}const oh={empty(e,{adapter:t}){return!t.getChildren(e).some(n=>t.isTag(n)||t.getText(n)!=="")},"first-child"(e,{adapter:t,equals:n}){if(t.prevElementSibling)return t.prevElementSibling(e)==null;const r=t.getSiblings(e).find(s=>t.isTag(s));return r!=null&&n(e,r)},"last-child"(e,{adapter:t,equals:n}){const r=t.getSiblings(e);for(let s=r.length-1;s>=0;s--){if(n(e,r[s]))return!0;if(t.isTag(r[s]))break}return!1},"first-of-type"(e,{adapter:t,equals:n}){const r=t.getSiblings(e),s=t.getName(e);for(let i=0;i=0;i--){const o=r[i];if(n(e,o))return!0;if(t.isTag(o)&&t.getName(o)===s)break}return!1},"only-of-type"(e,{adapter:t,equals:n}){const r=t.getName(e);return t.getSiblings(e).every(s=>n(e,s)||!t.isTag(s)||t.getName(s)!==r)},"only-child"(e,{adapter:t,equals:n}){return t.getSiblings(e).every(r=>n(e,r)||!t.isTag(r))}};function lh(e,t,n,r){if(n===null){if(e.length>r)throw new Error(`Pseudo-class :${t} requires an argument`)}else if(e.length===r)throw new Error(`Pseudo-class :${t} doesn't have any arguments`)}const r7={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is(
-        :is(button, input, select, textarea, optgroup, option)[disabled],
-        optgroup[disabled] > option,
-        fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)
-    )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},H1={};function s7(e,t){return e===qe.falseFunc?qe.falseFunc:n=>t.isTag(n)&&e(n)}function V1(e,t){const n=t.getSiblings(e);if(n.length<=1)return[];const r=n.indexOf(e);return r<0||r===n.length-1?[]:n.slice(r+1).filter(t.isTag)}function g0(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}const Ol=(e,t,n,r,s)=>{const i=s(t,g0(n),r);return i===qe.trueFunc?e:i===qe.falseFunc?qe.falseFunc:o=>i(o)&&e(o)},Ml={is:Ol,matches:Ol,where:Ol,not(e,t,n,r,s){const i=s(t,g0(n),r);return i===qe.falseFunc?e:i===qe.trueFunc?qe.falseFunc:o=>!i(o)&&e(o)},has(e,t,n,r,s){const{adapter:i}=n,o=g0(n);o.relativeSelector=!0;const u=t.some(p=>p.some(ac))?[H1]:void 0,h=s(t,o,u);if(h===qe.falseFunc)return qe.falseFunc;const d=s7(h,i);if(u&&h!==qe.trueFunc){const{shouldTestNextSiblings:p=!1}=h;return w=>{if(!e(w))return!1;u[0]=w;const v=i.getChildren(w),x=p?[...v,...V1(w,i)]:v;return i.existsOne(d,x)}}return p=>e(p)&&i.existsOne(d,i.getChildren(p))}};function i7(e,t,n,r,s){var i;const{name:o,data:u}=t;if(Array.isArray(u)){if(!(o in Ml))throw new Error(`Unknown pseudo-class :${o}(${u})`);return Ml[o](e,u,n,r,s)}const h=(i=n.pseudos)===null||i===void 0?void 0:i[o],d=typeof h=="string"?h:r7[o];if(typeof d=="string"){if(u!=null)throw new Error(`Pseudo ${o} doesn't have any arguments`);const p=po(d);return Ml.is(e,p,n,r,s)}if(typeof h=="function")return lh(h,o,u,1),p=>h(p,u)&&e(p);if(o in p0)return p0[o](e,u,n,r);if(o in oh){const p=oh[o];return lh(p,o,u,2),w=>p(w,n,u)&&e(w)}throw new Error(`Unknown pseudo-class :${o}`)}function Ll(e,t){const n=t.getParent(e);return n&&t.isTag(n)?n:null}function a7(e,t,n,r,s){const{adapter:i,equals:o}=n;switch(t.type){case Se.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case Se.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case Se.Attribute:{if(t.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!n.xmlMode||n.lowerCaseAttributeNames)&&(t.name=t.name.toLowerCase()),Q6[t.action](e,t,n)}case Se.Pseudo:return i7(e,t,n,r,s);case Se.Tag:{if(t.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:u}=t;return(!n.xmlMode||n.lowerCaseTags)&&(u=u.toLowerCase()),function(d){return i.getName(d)===u&&e(d)}}case Se.Descendant:{if(n.cacheResults===!1||typeof WeakSet>"u")return function(d){let p=d;for(;p=Ll(p,i);)if(e(p))return!0;return!1};const u=new WeakSet;return function(d){let p=d;for(;p=Ll(p,i);)if(!u.has(p)){if(i.isTag(p)&&e(p))return!0;u.add(p)}return!1}}case"_flexibleDescendant":return function(h){let d=h;do if(e(d))return!0;while(d=Ll(d,i));return!1};case Se.Parent:return function(h){return i.getChildren(h).some(d=>i.isTag(d)&&e(d))};case Se.Child:return function(h){const d=i.getParent(h);return d!=null&&i.isTag(d)&&e(d)};case Se.Sibling:return function(h){const d=i.getSiblings(h);for(let p=0;pt.some(j1)))}const o7={type:Se.Descendant},l7={type:"_flexibleDescendant"},c7={type:Se.Pseudo,name:"scope",data:null};function u7(e,{adapter:t},n){const r=!!(n!=null&&n.every(s=>{const i=t.isTag(s)&&t.getParent(s);return s===H1||i&&t.isTag(i)}));for(const s of e){if(!(s.length>0&&ac(s[0])&&s[0].type!==Se.Descendant))if(r&&!s.some(j1))s.unshift(o7);else continue;s.unshift(c7)}}function W1(e,t,n){var r;e.forEach(X6),n=(r=t.context)!==null&&r!==void 0?r:n;const s=Array.isArray(n),i=n&&(Array.isArray(n)?n:[n]);if(t.relativeSelector!==!1)u7(e,t,i);else if(e.some(h=>h.length>0&&ac(h[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let o=!1;const u=e.map(h=>{if(h.length>=2){const[d,p]=h;d.type!==Se.Pseudo||d.name!=="scope"||(s&&p.type===Se.Descendant?h[1]=l7:(p.type===Se.Adjacent||p.type===Se.Sibling)&&(o=!0))}return f7(h,t,i)}).reduce(h7,qe.falseFunc);return u.shouldTestNextSiblings=o,u}function f7(e,t,n){var r;return e.reduce((s,i)=>s===qe.falseFunc?qe.falseFunc:a7(s,i,t,n,W1),(r=t.rootFunc)!==null&&r!==void 0?r:qe.trueFunc)}function h7(e,t){return t===qe.falseFunc||e===qe.trueFunc?e:e===qe.falseFunc||t===qe.trueFunc?t:function(r){return e(r)||t(r)}}const G1=(e,t)=>e===t,d7={adapter:mo,equals:G1};function m7(e){var t,n,r,s;const i=e??d7;return(t=i.adapter)!==null&&t!==void 0||(i.adapter=mo),(n=i.equals)!==null&&n!==void 0||(i.equals=(s=(r=i.adapter)===null||r===void 0?void 0:r.equals)!==null&&s!==void 0?s:G1),i}function p7(e){return function(n,r,s){const i=m7(r);return e(n,i,s)}}const oc=p7(W1);function K1(e,t,n=!1){return n&&(e=g7(e,t)),Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}function g7(e,t){const n=Array.isArray(e)?e.slice(0):[e],r=n.length;for(let s=0;st.some(Wa)):!1}function y7(e,t,n){const r=t!=null?parseInt(t,10):NaN;switch(e){case"first":return 1;case"nth":case"eq":return isFinite(r)?r>=0?r+1:1/0:0;case"lt":return isFinite(r)?r>=0?Math.min(r,n):1/0:0;case"gt":return isFinite(r)?1/0:0;case"odd":return 2*n;case"even":return 2*n-1;case"last":case"not":return 1/0}}function w7(e){for(;e.parent;)e=e.parent;return e}function lc(e){const t=[],n=[];for(const r of e)r.some(Wa)?t.push(r):n.push(r);return[n,t]}const v7={type:Se.Universal,namespace:null},_7={type:Se.Pseudo,name:"scope",data:null};function X1(e,t,n={}){return Y1([e],t,n)}function Y1(e,t,n={}){if(typeof t=="function")return e.some(t);const[r,s]=lc(po(t));return r.length>0&&e.some(oc(r,n))||s.some(i=>Z1(i,e,n).length>0)}function x7(e,t,n,r){const s=typeof n=="string"?parseInt(n,10):NaN;switch(e){case"first":case"lt":return t;case"last":return t.length>0?[t[t.length-1]]:t;case"nth":case"eq":return isFinite(s)&&Math.abs(s)o%2===0);case"odd":return t.filter((i,o)=>o%2===1);case"not":{const i=new Set(Q1(n,t,r));return t.filter(o=>!i.has(o))}}}function J1(e,t,n={}){return Q1(po(e),t,n)}function Q1(e,t,n){if(t.length===0)return[];const[r,s]=lc(e);let i;if(r.length){const o=y0(t,r,n);if(s.length===0)return o;o.length&&(i=new Set(o))}for(let o=0;oDe(p)&&!i.has(p)):t).length===0)break;const d=Z1(u,t,n);if(d.length)if(i)d.forEach(p=>i.add(p));else{if(o===s.length-1)return d;i=new Set(d)}}return typeof i<"u"?i.size===t.length?t:t.filter(o=>i.has(o)):[]}function Z1(e,t,n){var r;if(e.some(ti)){const s=(r=n.root)!==null&&r!==void 0?r:w7(t[0]),i={...n,context:t,relativeSelector:!1};return e.push(_7),Ga(s,e,i,!0,t.length)}return Ga(t,e,n,!1,t.length)}function k7(e,t,n={},r=1/0){if(typeof e=="function")return em(t,e);const[s,i]=lc(po(e)),o=i.map(u=>Ga(t,u,n,!0,r));return s.length&&o.push(b0(t,s,n,r)),o.length===0?[]:o.length===1?o[0]:Cs(o.reduce((u,h)=>[...u,...h]))}function Ga(e,t,n,r,s){const i=t.findIndex(Wa),o=t.slice(0,i),u=t[i],h=t.length-1===i?s:1/0,d=y7(u.name,u.data,h);if(d===0)return[];const w=(o.length===0&&!Array.isArray(e)?fo(e).filter(De):o.length===0?(Array.isArray(e)?e:[e]).filter(De):r||o.some(ti)?b0(e,[o],n,d):y0(e,[o],n)).slice(0,d);let v=x7(u.name,w,u.data,n);if(v.length===0||t.length===i+1)return v;const x=t.slice(i+1),k=x.some(ti);if(k){if(ti(x[0])){const{type:A}=x[0];(A===Se.Sibling||A===Se.Adjacent)&&(v=K1(v,mo,!0)),x.unshift(v7)}n={...n,relativeSelector:!1,rootFunc:A=>v.includes(A)}}else n.rootFunc&&n.rootFunc!==ja.trueFunc&&(n={...n,rootFunc:ja.trueFunc});return x.some(Wa)?Ga(v,x,n,!1,s):k?b0(v,[x],n,s):y0(v,[x],n)}function b0(e,t,n,r){const s=oc(t,n,e);return em(e,s,r)}function em(e,t,n=1/0){const r=K1(e,mo,t.shouldTestNextSiblings);return rc(s=>De(s)&&t(s),r,!0,n)}function y0(e,t,n){const r=(Array.isArray(e)?e:[e]).filter(De);if(r.length===0)return r;const s=oc(t,n);return s===ja.trueFunc?r:r.filter(s)}const S7=/^\s*[+~]/;function A7(e){if(!e)return this._make([]);if(typeof e!="string"){const t=nr(e)?e.toArray():[e],n=this.toArray();return this._make(t.filter(r=>n.some(s=>D1(s,r))))}return this._findBySelector(e,Number.POSITIVE_INFINITY)}function E7(e,t){var n;const r=this.toArray(),s=S7.test(e)?r:this.children().toArray(),i={context:r,root:(n=this._root)===null||n===void 0?void 0:n[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(k7(e,s,i,t))}function cc(e){return function(t,...n){return function(r){var s;let i=e(t,this);return r&&(i=hc(i,r,this.options.xmlMode,(s=this._root)===null||s===void 0?void 0:s[0])),this._make(this.length>1&&i.length>1?n.reduce((o,u)=>u(o),i):i)}}}const vi=cc((e,t)=>{let n=[];for(let r=0;r0&&(n=n.concat(s))}return n}),uc=cc((e,t)=>{const n=[];for(let r=0;r{const o=[];return pt(i,u=>{for(let h;(h=s(u))&&!(n!=null&&n(h,o.length));u=h)o.push(h)}),o})(e,...t);return function(s,i){n=typeof s=="string"?u=>X1(u,s,this.options):s?_i(s):null;const o=r.call(this,i);return n=null,o}}function Is(e){return e.length>1?Array.from(new Set(e)):e}const T7=uc(({parent:e})=>e&&!Yr(e)?e:null,Is),N7=vi(e=>{const t=[];for(;e.parent&&!Yr(e.parent);)t.push(e.parent),e=e.parent;return t},Cs,e=>e.reverse()),C7=fc(({parent:e})=>e&&!Yr(e)?e:null,Cs,e=>e.reverse());function I7(e){var t;const n=[];if(!e)return this._make(n);const r={xmlMode:this.options.xmlMode,root:(t=this._root)===null||t===void 0?void 0:t[0]},s=typeof e=="string"?i=>X1(i,e,r):_i(e);return pt(this,i=>{for(i&&!Yr(i)&&!De(i)&&(i=i.parent);i&&De(i);){if(s(i,0)){n.includes(i)||n.push(i);break}i=i.parent}}),this._make(n)}const O7=uc(e=>tc(e)),M7=vi(e=>{const t=[];for(;e.next;)e=e.next,De(e)&&t.push(e);return t},Is),L7=fc(e=>tc(e),Is),D7=uc(e=>nc(e)),R7=vi(e=>{const t=[];for(;e.prev;)e=e.prev,De(e)&&t.push(e);return t},Is),P7=fc(e=>nc(e),Is),$7=vi(e=>T1(e).filter(t=>De(t)&&t!==e),Cs),B7=vi(e=>fo(e).filter(De),Is);function F7(){const e=this.toArray().reduce((t,n)=>zt(n)?t.concat(n.children):t,[]);return this._make(e)}function z7(e){let t=0;const n=this.length;for(;te.call(t,n,t):nr(e)?t=>Array.prototype.includes.call(e,t):function(t){return e===t}}function U7(e){var t;return this._make(hc(this.toArray(),e,this.options.xmlMode,(t=this._root)===null||t===void 0?void 0:t[0]))}function hc(e,t,n,r){return typeof t=="string"?J1(t,e,{xmlMode:n,root:r}):e.filter(_i(t))}function H7(e){const t=this.toArray();return typeof e=="string"?Y1(t.filter(De),e,this.options):e?t.some(_i(e)):!1}function V7(e){let t=this.toArray();if(typeof e=="string"){const n=new Set(J1(e,t,this.options));t=t.filter(r=>!n.has(r))}else{const n=_i(e);t=t.filter((r,s)=>!n(r,s))}return this._make(t)}function j7(e){return this.filter(typeof e=="string"?`:has(${e})`:(t,n)=>this._make(n).find(e).length>0)}function W7(){return this.length>1?this._make(this[0]):this}function G7(){return this.length>0?this._make(this[this.length-1]):this}function K7(e){var t;return e=+e,e===0&&this.length<=1?this:(e<0&&(e=this.length+e),this._make((t=this[e])!==null&&t!==void 0?t:[]))}function X7(e){return e==null?this.toArray():this[e<0?this.length+e:e]}function Y7(){return Array.prototype.slice.call(this)}function J7(e){let t,n;return e==null?(t=this.parent().children(),n=this[0]):typeof e=="string"?(t=this._make(e),n=this[0]):(t=this,n=nr(e)?e[0]:e),Array.prototype.indexOf.call(t,n)}function Q7(e,t){return this._make(Array.prototype.slice.call(this,e,t))}function Z7(){var e;return(e=this.prevObject)!==null&&e!==void 0?e:this._make([])}function e8(e,t){const n=this._make(e,t),r=Cs([...this.get(),...n.get()]);return this._make(r)}function t8(e){return this.prevObject?this.add(e?this.prevObject.filter(e):this.prevObject):this}const n8=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector:E7,add:e8,addBack:t8,children:B7,closest:I7,contents:F7,each:z7,end:Z7,eq:K7,filter:U7,filterArray:hc,find:A7,first:W7,get:X7,has:j7,index:J7,is:H7,last:G7,map:q7,next:O7,nextAll:M7,nextUntil:L7,not:V7,parent:T7,parents:N7,parentsUntil:C7,prev:D7,prevAll:R7,prevUntil:P7,siblings:$7,slice:Q7,toArray:Y7},Symbol.toStringTag,{value:"Module"}));function r8(e){return function(n,r,s,i){if(typeof Buffer<"u"&&Buffer.isBuffer(n)&&(n=n.toString()),typeof n=="string")return e(n,r,s,i);const o=n;if(!Array.isArray(o)&&Yr(o))return o;const u=new ci([]);return Wr(o,u),u}}function Wr(e,t){const n=Array.isArray(e)?e:[e];t?t.children=n:t=null;for(let r=0;r{if(!zt(r))return;const i=typeof t[0]=="function"?t[0].call(r,s,this._render(r.children)):t,o=this._makeDomArray(i,s=e.length?null:e[t+n];for(let p=0;p-1&&(v.children.splice(k,1),s===v&&t>k&&u[0]--)}w.parent=s,w.prev&&(w.prev.next=(i=w.next)!==null&&i!==void 0?i:null),w.next&&(w.next.prev=(o=w.prev)!==null&&o!==void 0?o:null),w.prev=p===0?h:r[p-1],w.next=p===r.length-1?d:r[p+1]}return h&&(h.next=r[0]),d&&(d.prev=r[r.length-1]),e.splice(...u)}function i8(e){return(nr(e)?e:this._make(e)).append(this),this}function a8(e){return(nr(e)?e:this._make(e)).prepend(this),this}const o8=tm((e,t,n)=>{Ar(t,t.length,0,e,n)}),l8=tm((e,t,n)=>{Ar(t,0,0,e,n)});function nm(e){return function(t){const n=this.length-1,r=this.parents().last();for(let s=0;s{const{parent:r}=e;if(!r)return;const s=r.children,i=s.indexOf(e);Wr([e],t),Ar(s,i,0,n,r)}),u8=nm((e,t,n)=>{zt(e)&&(Wr(e.children,t),Wr(n,e))});function f8(e){return this.parent(e).not("body").each((t,n)=>{this._make(n).replaceWith(n.children)}),this}function h8(e){const t=this[0];if(t){const n=this._make(typeof e=="function"?e.call(t,0,t):e).insertBefore(t);let r;for(let i=0;i{if(!zt(n)||!n.parent)return;const s=n.parent.children,i=s.indexOf(n);if(i<0)return;const o=typeof e[0]=="function"?e[0].call(n,r,this._render(n.children)):e,u=this._makeDomArray(o,r{if(!zt(n)||!n.parent)return;const s=n.parent.children,i=s.indexOf(n);if(i<0)return;const o=typeof e[0]=="function"?e[0].call(n,r,this._render(n.children)):e,u=this._makeDomArray(o,r{const s=this.clone().toArray(),{parent:i}=r;if(!i)return;const o=i.children,u=o.indexOf(r);u<0||(Ar(o,u,0,s,i),n.push(...s))}),this._make(n)}function b8(e){const t=e?this.filter(e):this;return pt(t,n=>{Jr(n),n.prev=n.next=n.parent=null}),this}function y8(e){return pt(this,(t,n)=>{const{parent:r}=t;if(!r)return;const s=r.children,i=typeof e=="function"?e.call(t,n,t):e,o=this._makeDomArray(i);Wr(o,null);const u=s.indexOf(t);Ar(s,u,1,o,r),o.includes(t)||(t.parent=t.prev=t.next=null)})}function w8(){return pt(this,e=>{if(zt(e)){for(const t of e.children)t.next=t.prev=t.parent=null;e.children.length=0}})}function v8(e){if(e===void 0){const t=this[0];return!t||!zt(t)?null:this._render(t.children)}return pt(this,t=>{if(!zt(t))return;for(const r of t.children)r.next=r.prev=r.parent=null;const n=nr(e)?e.toArray():this._parse(`${e}`,this.options,!1,t).children;Wr(n,t)})}function _8(){return this._render(this)}function x8(e){return e===void 0?fi(this):typeof e=="function"?pt(this,(t,n)=>this._make(t).text(e.call(t,n,fi([t])))):pt(this,t=>{if(!zt(t))return;for(const r of t.children)r.next=r.prev=r.parent=null;const n=new Fa(`${e}`);Wr(n,t)})}function k8(){const e=Array.prototype.map.call(this.get(),n=>ui(n,!0)),t=new ci(e);for(const n of e)n.parent=t;return this._make(e)}const S8=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray:s8,after:d8,append:o8,appendTo:i8,before:p8,clone:k8,empty:w8,html:v8,insertAfter:m8,insertBefore:g8,prepend:l8,prependTo:a8,remove:b8,replaceWith:y8,text:x8,toString:_8,unwrap:f8,wrap:c8,wrapAll:h8,wrapInner:u8},Symbol.toStringTag,{value:"Module"}));function A8(e,t){if(e!=null&&t!=null||typeof e=="object"&&!Array.isArray(e))return pt(this,(n,r)=>{De(n)&&rm(n,e,t,r)});if(this.length!==0)return sm(this[0],e)}function rm(e,t,n,r){if(typeof t=="string"){const s=sm(e),i=typeof n=="function"?n.call(e,r,s[t]):n;i===""?delete s[t]:i!=null&&(s[t]=i),e.attribs.style=E8(s)}else if(typeof t=="object"){const s=Object.keys(t);for(let i=0;i`${t}${t?" ":""}${n}: ${e[n]};`,"")}function T8(e){if(e=(e||"").trim(),!e)return{};const t={};let n;for(const r of e.split(";")){const s=r.indexOf(":");if(s<1||s===r.length-1){const i=r.trimEnd();i.length>0&&n!==void 0&&(t[n]+=`;${i}`)}else n=r.slice(0,s).trim(),t[n]=r.slice(s+1).trim()}return t}const N8=Object.freeze(Object.defineProperty({__proto__:null,css:A8},Symbol.toStringTag,{value:"Module"})),ch="input,select,textarea,keygen",C8=/%20/g,uh=/\r?\n/g;function I8(){return this.serializeArray().map(n=>`${encodeURIComponent(n.name)}=${encodeURIComponent(n.value)}`).join("&").replace(C8,"+")}function O8(){return this.map((e,t)=>{const n=this._make(t);return De(t)&&t.name==="form"?n.find(ch).toArray():n.filter(ch).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((e,t)=>{var n;const r=this._make(t),s=r.attr("name"),i=(n=r.val())!==null&&n!==void 0?n:"";return Array.isArray(i)?i.map(o=>({name:s,value:o.replace(uh,`\r
-`)})):{name:s,value:i.replace(uh,`\r
-`)}}).toArray()}const M8=Object.freeze(Object.defineProperty({__proto__:null,serialize:I8,serializeArray:O8},Symbol.toStringTag,{value:"Module"}));function L8(e){var t;return typeof e=="string"?{selector:e,value:"textContent"}:{selector:e.selector,value:(t=e.value)!==null&&t!==void 0?t:"textContent"}}function D8(e){const t={};for(const n in e){const r=e[n],s=Array.isArray(r),{selector:i,value:o}=L8(s?r[0]:r),u=typeof o=="function"?o:typeof o=="string"?h=>this._make(h).prop(o):h=>this._make(h).extract(o);if(s)t[n]=this._findBySelector(i,Number.POSITIVE_INFINITY).map((h,d)=>u(d,n,t)).get();else{const h=this._findBySelector(i,1);t[n]=h.length>0?u(h[0],n,t):void 0}}return t}const R8=Object.freeze(Object.defineProperty({__proto__:null,extract:D8},Symbol.toStringTag,{value:"Module"}));class xi{constructor(t,n,r){if(this.length=0,this.options=r,this._root=n,t){for(let s=0;s=Te.LowerA&&e<=Te.LowerZ||e>=Te.UpperA&&e<=Te.UpperZ}var Bn;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(Bn||(Bn={}));const Ut={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class F8{constructor({xmlMode:t=!1,decodeEntities:n=!0},r){this.cbs=r,this.state=ie.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=ie.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=t,this.decodeEntities=n,this.entityDecoder=new _1(t?v1:w1,(s,i)=>this.emitCodePoint(s,i))}reset(){this.state=ie.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=ie.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=ie.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===Te.Amp&&this.startEntity()}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?ua(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=ie.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===Te.Gt||Qn(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart=0?(this.state=this.baseState,t===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===ie.Text||this.state===ie.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===ie.InAttributeValueDq||this.state===ie.InAttributeValueSq||this.state===ie.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index=t||(this.state===ie.InCommentLike?this.currentSequence===Ut.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===ie.InTagName||this.state===ie.BeforeAttributeName||this.state===ie.BeforeAttributeValue||this.state===ie.AfterAttributeName||this.state===ie.InAttributeName||this.state===ie.InAttributeValueSq||this.state===ie.InAttributeValueDq||this.state===ie.InAttributeValueNq||this.state===ie.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){this.baseState!==ie.Text&&this.baseState!==ie.InSpecialTag?(this.sectionStart0&&o.has(this.stack[0]);){const u=this.stack.shift();(r=(n=this.cbs).onclosetag)===null||r===void 0||r.call(n,u,!0)}this.isVoidElement(t)||(this.stack.unshift(t),this.htmlMode&&(mh.has(t)?this.foreignContext.unshift(!0):ph.has(t)&&this.foreignContext.unshift(!1))),(i=(s=this.cbs).onopentagname)===null||i===void 0||i.call(s,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var n,r;this.startIndex=this.openTagStart,this.attribs&&((r=(n=this.cbs).onopentag)===null||r===void 0||r.call(n,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,n){var r,s,i,o,u,h,d,p;this.endIndex=n;let w=this.getSlice(t,n);if(this.lowerCaseTagNames&&(w=w.toLowerCase()),this.htmlMode&&(mh.has(w)||ph.has(w))&&this.foreignContext.shift(),this.isVoidElement(w))this.htmlMode&&w==="br"&&((o=(i=this.cbs).onopentagname)===null||o===void 0||o.call(i,"br"),(h=(u=this.cbs).onopentag)===null||h===void 0||h.call(u,"br",{},!0),(p=(d=this.cbs).onclosetag)===null||p===void 0||p.call(d,"br",!1));else{const v=this.stack.indexOf(w);if(v!==-1)for(let x=0;x<=v;x++){const k=this.stack.shift();(s=(r=this.cbs).onclosetag)===null||s===void 0||s.call(r,k,x!==v)}else this.htmlMode&&w==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=n+1}onselfclosingtag(t){this.endIndex=t,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var n,r;const s=this.tagname;this.endOpenTag(t),this.stack[0]===s&&((r=(n=this.cbs).onclosetag)===null||r===void 0||r.call(n,s,!t),this.stack.shift())}onattribname(t,n){this.startIndex=t;const r=this.getSlice(t,n);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r}onattribdata(t,n){this.attribvalue+=this.getSlice(t,n)}onattribentity(t){this.attribvalue+=f0(t)}onattribend(t,n){var r,s;this.endIndex=n,(s=(r=this.cbs).onattribute)===null||s===void 0||s.call(r,this.attribname,this.attribvalue,t===Bn.Double?'"':t===Bn.Single?"'":t===Bn.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){const n=t.search(U8);let r=n<0?t:t.substr(0,n);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r}ondeclaration(t,n){this.endIndex=n;const r=this.getSlice(t,n);if(this.cbs.onprocessinginstruction){const s=this.getInstructionName(r);this.cbs.onprocessinginstruction(`!${s}`,`!${r}`)}this.startIndex=n+1}onprocessinginstruction(t,n){this.endIndex=n;const r=this.getSlice(t,n);if(this.cbs.onprocessinginstruction){const s=this.getInstructionName(r);this.cbs.onprocessinginstruction(`?${s}`,`?${r}`)}this.startIndex=n+1}oncomment(t,n,r){var s,i,o,u;this.endIndex=n,(i=(s=this.cbs).oncomment)===null||i===void 0||i.call(s,this.getSlice(t,n-r)),(u=(o=this.cbs).oncommentend)===null||u===void 0||u.call(o),this.startIndex=n+1}oncdata(t,n,r){var s,i,o,u,h,d,p,w,v,x;this.endIndex=n;const k=this.getSlice(t,n-r);!this.htmlMode||this.options.recognizeCDATA?((i=(s=this.cbs).oncdatastart)===null||i===void 0||i.call(s),(u=(o=this.cbs).ontext)===null||u===void 0||u.call(o,k),(d=(h=this.cbs).oncdataend)===null||d===void 0||d.call(h)):((w=(p=this.cbs).oncomment)===null||w===void 0||w.call(p,`[CDATA[${k}]]`),(x=(v=this.cbs).oncommentend)===null||x===void 0||x.call(v)),this.startIndex=n+1}onend(){var t,n;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let r=0;r=this.buffers[0].length;)this.shiftBuffer();let r=this.buffers[0].slice(t-this.bufferOffset,n-this.bufferOffset);for(;n-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,n-this.bufferOffset);return r}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var n,r;if(this.ended){(r=(n=this.cbs).onerror)===null||r===void 0||r.call(n,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)}end(t){var n,r;if(this.ended){(r=(n=this.cbs).onerror)===null||r===void 0||r.call(n,new Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex({queue:e.children()}),"h1,h2,h3,h4,h5,h6":({$node:e,getContent:t})=>({...t(e.contents())}),"ul,ol":({$node:e})=>({queue:e.children(),nesting:!0}),li:({$node:e,getContent:t})=>{const n=e.children().filter("ul,ol");let r;if(e.contents().first().is("div,p"))r=t(e.children().first());else{let s=e.contents();const i=s.index(n);i>=0&&(s=s.slice(0,i)),r=t(s)}return{queue:n,nesting:!0,...r}},"table,pre,p>img:only-child":({$node:e,getContent:t})=>({...t(e)})},G8={selector:"h1,h2,h3,h4,h5,h6,ul,ol,li,table,pre,p>img:only-child",selectorRules:W8},gh="markmap: ",K8=/^h[1-6]$/,X8=/^[uo]l$/,Y8=/^li$/;function J8(e){return K8.test(e)?+e[1]:X8.test(e)?8:Y8.test(e)?9:7}function Q8(e,t){const n={...G8,...t},r=j8(e);let s=r("body");s.length||(s=r.root());let i=0;const o={id:i,tag:"",html:"",level:0,parent:0,childrenLevel:0,children:[]},u=[];let h=0;return x(s.children()),o;function d(k){var A;const{parent:N}=k,I={id:++i,tag:k.tagName,level:k.level,html:k.html,childrenLevel:0,children:k.nesting?[]:void 0,parent:N.id};return(A=k.comments)!=null&&A.length&&(I.comments=k.comments),Object.keys(k.data||{}).length&&(I.data=k.data),N.children&&((N.childrenLevel===0||N.childrenLevel>I.level)&&(N.children=[],N.childrenLevel=I.level),N.childrenLevel===I.level&&N.children.push(I)),I}function p(k){let A;for(;(A=u[u.length-1])&&A.level>=k;)u.pop();return A||o}function w(k){var A;const N=v(k),I=(A=r.html(N.$node))==null?void 0:A.trimEnd();return{comments:N.comments,html:I}}function v(k){const A=[];return k=k.filter((N,I)=>{if(I.type==="comment"){const V=I.data.trim();if(V.startsWith(gh))return A.push(V.slice(gh.length).trim()),!1}return!0}),{$node:k,comments:A}}function x(k,A){k.each((N,I)=>{var V;const D=r(I),M=(V=Object.entries(n.selectorRules).find(([Me])=>D.is(Me)))==null?void 0:V[1],B=M==null?void 0:M({$node:D,$:r,getContent:w});if(B!=null&&B.queue&&!B.nesting){x(B.queue,A);return}const P=J8(I.tagName);if(!B){P<=6&&(h=P);return}if(h>0&&P>h||!D.is(n.selector))return;h=0;const j=P<=6;let W={...D.closest("p").data(),...D.data()},Y=B.html||"";if(D.is("ol>li")&&(A!=null&&A.children)){const be=+(D.parent().attr("start")||1)+A.children.length;Y=`${be}. ${Y}`,W={...W,listIndex:be}}const pe=d({parent:A||p(P),nesting:!!B.queue||j,tagName:I.tagName,level:P,html:Y,comments:B.comments,data:W});j&&u.push(pe),B.queue&&x(B.queue,pe)})}}function Z8(e){return Xs(e,(t,n)=>{const r={content:t.html,children:n()||[]};return t.data&&(r.payload={tag:t.tag,...t.data}),t.comments&&(t.comments.includes("foldAll")?r.payload={...r.payload,fold:2}:t.comments.includes("fold")&&(r.payload={...r.payload,fold:1})),r})}function eb(e,t){const n=Q8(e,t);return Z8(n)}function tb(e){function t(r,s){const i=r.pos,o=r.src.charCodeAt(i);if(s||o!==43)return!1;const u=r.scanDelims(r.pos,!0);let h=u.length;const d=String.fromCharCode(o);if(h<2)return!1;if(h%2){const p=r.push("text","",0);p.content=d,h--}for(let p=0;p?@[\]^_`{|}~-])/g;function sb(e,t){const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==126||t||r+2>=n)return!1;e.pos=r+1;let s=!1;for(;e.pos?@[\]^_`{|}~-])/g;function ob(e,t){const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==94||t||r+2>=n)return!1;e.pos=r+1;let s=!1;for(;e.pos!!e&&typeof e=="object"&&e[kn]===dc,go=e=>!!e&&typeof e=="object"&&e[kn]===w0,ki=e=>!!e&&typeof e=="object"&&e[kn]===wr,xt=e=>!!e&&typeof e=="object"&&e[kn]===im,ct=e=>!!e&&typeof e=="object"&&e[kn]===Un,Si=e=>!!e&&typeof e=="object"&&e[kn]===Os;function vt(e){if(e&&typeof e=="object")switch(e[kn]){case wr:case Os:return!0}return!1}function _t(e){if(e&&typeof e=="object")switch(e[kn]){case dc:case wr:case Un:case Os:return!0}return!1}const am=e=>(ct(e)||vt(e))&&!!e.anchor,Pr=Symbol("break visit"),cb=Symbol("skip children"),ni=Symbol("remove node");function Ms(e,t){const n=ub(t);go(e)?fs(null,e.contents,n,Object.freeze([e]))===ni&&(e.contents=null):fs(null,e,n,Object.freeze([]))}Ms.BREAK=Pr;Ms.SKIP=cb;Ms.REMOVE=ni;function fs(e,t,n,r){const s=fb(e,t,n,r);if(_t(s)||xt(s))return hb(e,r,s),fs(e,s,n,r);if(typeof s!="symbol"){if(vt(t)){r=Object.freeze(r.concat(t));for(let i=0;ie.replace(/[!,[\]{}]/g,t=>db[t]);class Jt{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},Jt.defaultYaml,t),this.tags=Object.assign({},Jt.defaultTags,n)}clone(){const t=new Jt(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new Jt(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:Jt.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},Jt.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:Jt.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},Jt.defaultTags),this.atNextDocument=!1);const r=t.trim().split(/[ \t]+/),s=r.shift();switch(s){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;const[i,o]=r;return this.tags[i]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[i]=r;if(i==="1.1"||i==="1.2")return this.yaml.version=i,!0;{const o=/^\d+\.\d+$/.test(i);return n(6,`Unsupported YAML version ${i}`,o),!1}}default:return n(0,`Unknown directive ${s}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const o=t.slice(2,-1);return o==="!"||o==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),o)}const[,r,s]=t.match(/^(.*!)([^!]*)$/s);s||n(`The ${t} tag has no suffix`);const i=this.tags[r];if(i)try{return i+decodeURIComponent(s)}catch(o){return n(String(o)),null}return r==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,r]of Object.entries(this.tags))if(t.startsWith(r))return n+mb(t.substring(r.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);let s;if(t&&r.length>0&&_t(t.contents)){const i={};Ms(t.contents,(o,u)=>{_t(u)&&u.tag&&(i[u.tag]=!0)}),s=Object.keys(i)}else s=[];for(const[i,o]of r)i==="!!"&&o==="tag:yaml.org,2002:"||(!t||s.some(u=>u.startsWith(o)))&&n.push(`%TAG ${i} ${o}`);return n.join(`
-`)}}Jt.defaultYaml={explicit:!1,version:"1.2"};Jt.defaultTags={"!!":"tag:yaml.org,2002:"};function om(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function lm(e){const t=new Set;return Ms(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}function cm(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function pb(e,t){const n=[],r=new Map;let s=null;return{onAnchor:i=>{n.push(i),s??(s=lm(e));const o=cm(t,s);return s.add(o),o},setAnchors:()=>{for(const i of n){const o=r.get(i);if(typeof o=="object"&&o.anchor&&(ct(o.node)||vt(o.node)))o.node.anchor=o.anchor;else{const u=new Error("Failed to resolve repeated object (this should not happen)");throw u.source=i,u}}},sourceObjects:r}}function hs(e,t,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let s=0,i=r.length;sxn(r,String(s),n));if(e&&typeof e.toJSON=="function"){if(!n||!am(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=i=>{r.res=i,delete n.onCreate};const s=e.toJSON(t,n);return n.onCreate&&n.onCreate(s),s}return typeof e=="bigint"&&!(n!=null&&n.keep)?Number(e):e}class mc{constructor(t){Object.defineProperty(this,kn,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:r,onAnchor:s,reviver:i}={}){if(!go(t))throw new TypeError("A document argument is required");const o={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},u=xn(this,"",o);if(typeof s=="function")for(const{count:h,res:d}of o.anchors.values())s(d,h);return typeof i=="function"?hs(i,{"":u},"",u):u}}class pc extends mc{constructor(t){super(dc),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t,n){let r;n!=null&&n.aliasResolveCache?r=n.aliasResolveCache:(r=[],Ms(t,{Node:(i,o)=>{(Qr(o)||am(o))&&r.push(o)}}),n&&(n.aliasResolveCache=r));let s;for(const i of r){if(i===this)break;i.anchor===this.source&&(s=i)}return s}toJSON(t,n){if(!n)return{source:this.source};const{anchors:r,doc:s,maxAliasCount:i}=n,o=this.resolve(s,n);if(!o){const h=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(h)}let u=r.get(o);if(u||(xn(o,null,n),u=r.get(o)),(u==null?void 0:u.res)===void 0){const h="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(h)}if(i>=0&&(u.count+=1,u.aliasCount===0&&(u.aliasCount=Sa(s,o,r)),u.count*u.aliasCount>i)){const h="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(h)}return u.res}toString(t,n,r){const s=`*${this.source}`;if(t){if(om(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const i=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(i)}if(t.implicitKey)return`${s} `}return s}}function Sa(e,t,n){if(Qr(t)){const r=t.resolve(e),s=n&&r&&n.get(r);return s?s.count*s.aliasCount:0}else if(vt(t)){let r=0;for(const s of t.items){const i=Sa(e,s,n);i>r&&(r=i)}return r}else if(xt(t)){const r=Sa(e,t.key,n),s=Sa(e,t.value,n);return Math.max(r,s)}return 1}const um=e=>!e||typeof e!="function"&&typeof e!="object";class Pe extends mc{constructor(t){super(Un),this.value=t}toJSON(t,n){return n!=null&&n.keep?this.value:xn(this.value,t,n)}toString(){return String(this.value)}}Pe.BLOCK_FOLDED="BLOCK_FOLDED";Pe.BLOCK_LITERAL="BLOCK_LITERAL";Pe.PLAIN="PLAIN";Pe.QUOTE_DOUBLE="QUOTE_DOUBLE";Pe.QUOTE_SINGLE="QUOTE_SINGLE";const gb="tag:yaml.org,2002:";function bb(e,t,n){if(t){const r=n.filter(i=>i.tag===t),s=r.find(i=>!i.format)??r[0];if(!s)throw new Error(`Tag ${t} not found`);return s}return n.find(r=>{var s;return((s=r.identify)==null?void 0:s.call(r,e))&&!r.format})}function mi(e,t,n){var w,v,x;if(go(e)&&(e=e.contents),_t(e))return e;if(xt(e)){const k=(v=(w=n.schema[wr]).createNode)==null?void 0:v.call(w,n.schema,null,n);return k.items.push(e),k}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:s,onTagObj:i,schema:o,sourceObjects:u}=n;let h;if(r&&e&&typeof e=="object"){if(h=u.get(e),h)return h.anchor??(h.anchor=s(e)),new pc(h.anchor);h={anchor:null,node:null},u.set(e,h)}t!=null&&t.startsWith("!!")&&(t=gb+t.slice(2));let d=bb(e,t,o.tags);if(!d){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const k=new Pe(e);return h&&(h.node=k),k}d=e instanceof Map?o[wr]:Symbol.iterator in Object(e)?o[Os]:o[wr]}i&&(i(d),delete n.onTagObj);const p=d!=null&&d.createNode?d.createNode(n.schema,e,n):typeof((x=d==null?void 0:d.nodeClass)==null?void 0:x.from)=="function"?d.nodeClass.from(n.schema,e,n):new Pe(e);return t?p.tag=t:d.default||(p.tag=d.tag),h&&(h.node=p),p}function Ka(e,t,n){let r=n;for(let s=t.length-1;s>=0;--s){const i=t[s];if(typeof i=="number"&&Number.isInteger(i)&&i>=0){const o=[];o[i]=r,r=o}else r=new Map([[i,r]])}return mi(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const Ys=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class fm extends mc{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(r=>_t(r)||xt(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(Ys(t))this.add(n);else{const[r,...s]=t,i=this.get(r,!0);if(vt(i))i.addIn(s,n);else if(i===void 0&&this.schema)this.set(r,Ka(this.schema,s,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${s}`)}}deleteIn(t){const[n,...r]=t;if(r.length===0)return this.delete(n);const s=this.get(n,!0);if(vt(s))return s.deleteIn(r);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}getIn(t,n){const[r,...s]=t,i=this.get(r,!0);return s.length===0?!n&&ct(i)?i.value:i:vt(i)?i.getIn(s,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!xt(n))return!1;const r=n.value;return r==null||t&&ct(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(t){const[n,...r]=t;if(r.length===0)return this.has(n);const s=this.get(n,!0);return vt(s)?s.hasIn(r):!1}setIn(t,n){const[r,...s]=t;if(s.length===0)this.set(r,n);else{const i=this.get(r,!0);if(vt(i))i.setIn(s,n);else if(i===void 0&&this.schema)this.set(r,Ka(this.schema,s,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${s}`)}}}const yb=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function er(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Fr=(e,t,n)=>e.endsWith(`
-`)?er(n,t):n.includes(`
-`)?`
-`+er(n,t):(e.endsWith(" ")?"":" ")+n,hm="flow",v0="block",Aa="quoted";function bo(e,t,n="flow",{indentAtStart:r,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:u}={}){if(!s||s<0)return e;ss-Math.max(2,i)?d.push(0):w=s-r);let v,x,k=!1,A=-1,N=-1,I=-1;n===v0&&(A=bh(e,A,t.length),A!==-1&&(w=A+h));for(let D;D=e[A+=1];){if(n===Aa&&D==="\\"){switch(N=A,e[A+1]){case"x":A+=3;break;case"u":A+=5;break;case"U":A+=9;break;default:A+=1}I=A}if(D===`
-`)n===v0&&(A=bh(e,A,t.length)),w=A+t.length+h,v=void 0;else{if(D===" "&&x&&x!==" "&&x!==`
-`&&x!=="	"){const M=e[A+1];M&&M!==" "&&M!==`
-`&&M!=="	"&&(v=A)}if(A>=w)if(v)d.push(v),w=v+h,v=void 0;else if(n===Aa){for(;x===" "||x==="	";)x=D,D=e[A+=1],k=!0;const M=A>I+1?A-2:N-1;if(p[M])return e;d.push(M),p[M]=!0,w=M+h,v=void 0}else k=!0}x=D}if(k&&u&&u(),d.length===0)return e;o&&o();let V=e.slice(0,d[0]);for(let D=0;D({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),wo=e=>/^(%|---|\.\.\.)/m.test(e);function wb(e,t,n){if(!t||t<0)return!1;const r=t-n,s=e.length;if(s<=r)return!1;for(let i=0,o=0;ir)return!0;if(o=i+1,s-o<=r)return!1}return!0}function ri(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,s=t.options.doubleQuotedMinMultiLineLength,i=t.indent||(wo(e)?"  ":"");let o="",u=0;for(let h=0,d=n[h];d;d=n[++h])if(d===" "&&n[h+1]==="\\"&&n[h+2]==="n"&&(o+=n.slice(u,h)+"\\ ",h+=1,u=h,d="\\"),d==="\\")switch(n[h+1]){case"u":{o+=n.slice(u,h);const p=n.substr(h+2,4);switch(p){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:p.substr(0,2)==="00"?o+="\\x"+p.substr(2):o+=n.substr(h,6)}h+=5,u=h+1}break;case"n":if(r||n[h+2]==='"'||n.length
-`;let w,v;for(v=n.length;v>0;--v){const B=n[v-1];if(B!==`
-`&&B!=="	"&&B!==" ")break}let x=n.substring(v);const k=x.indexOf(`
-`);k===-1?w="-":n===x||k!==x.length-1?(w="+",i&&i()):w="",x&&(n=n.slice(0,-x.length),x[x.length-1]===`
-`&&(x=x.slice(0,-1)),x=x.replace(x0,`$&${d}`));let A=!1,N,I=-1;for(N=0;N{P=!0});const W=bo(`${V}${B}${x}`,d,v0,j);if(!P)return`>${M}
-${d}${W}`}return n=n.replace(/\n+/g,`$&${d}`),`|${M}
-${d}${V}${n}${x}`}function vb(e,t,n,r){const{type:s,value:i}=e,{actualString:o,implicitKey:u,indent:h,indentStep:d,inFlow:p}=t;if(u&&i.includes(`
-`)||p&&/[[\]{},]/.test(i))return ds(i,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return u||p||!i.includes(`
-`)?ds(i,t):Ea(e,t,n,r);if(!u&&!p&&s!==Pe.PLAIN&&i.includes(`
-`))return Ea(e,t,n,r);if(wo(i)){if(h==="")return t.forceBlockIndent=!0,Ea(e,t,n,r);if(u&&h===d)return ds(i,t)}const w=i.replace(/\n+/g,`$&
-${h}`);if(o){const v=A=>{var N;return A.default&&A.tag!=="tag:yaml.org,2002:str"&&((N=A.test)==null?void 0:N.test(w))},{compat:x,tags:k}=t.doc.schema;if(k.some(v)||x!=null&&x.some(v))return ds(i,t)}return u?w:bo(w,h,hm,yo(t,!1))}function gc(e,t,n,r){const{implicitKey:s,inFlow:i}=t,o=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:u}=e;u!==Pe.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(u=Pe.QUOTE_DOUBLE);const h=p=>{switch(p){case Pe.BLOCK_FOLDED:case Pe.BLOCK_LITERAL:return s||i?ds(o.value,t):Ea(o,t,n,r);case Pe.QUOTE_DOUBLE:return ri(o.value,t);case Pe.QUOTE_SINGLE:return _0(o.value,t);case Pe.PLAIN:return vb(o,t,n,r);default:return null}};let d=h(u);if(d===null){const{defaultKeyType:p,defaultStringType:w}=t.options,v=s&&p||w;if(d=h(v),d===null)throw new Error(`Unsupported default string type ${v}`)}return d}function dm(e,t){const n=Object.assign({blockQuote:!0,commentString:yb,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):"  ",inFlow:r,options:n}}function _b(e,t){var s;if(t.tag){const i=e.filter(o=>o.tag===t.tag);if(i.length>0)return i.find(o=>o.format===t.format)??i[0]}let n,r;if(ct(t)){r=t.value;let i=e.filter(o=>{var u;return(u=o.identify)==null?void 0:u.call(o,r)});if(i.length>1){const o=i.filter(u=>u.test);o.length>0&&(i=o)}n=i.find(o=>o.format===t.format)??i.find(o=>!o.format)}else r=t,n=e.find(i=>i.nodeClass&&r instanceof i.nodeClass);if(!n){const i=((s=r==null?void 0:r.constructor)==null?void 0:s.name)??(r===null?"null":typeof r);throw new Error(`Tag not resolved for ${i} value`)}return n}function xb(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const s=[],i=(ct(e)||vt(e))&&e.anchor;i&&om(i)&&(n.add(i),s.push(`&${i}`));const o=e.tag??(t.default?null:t.tag);return o&&s.push(r.directives.tagString(o)),s.join(" ")}function xs(e,t,n,r){var h;if(xt(e))return e.toString(t,n,r);if(Qr(e)){if(t.doc.directives)return e.toString(t);if((h=t.resolvedAliases)!=null&&h.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let s;const i=_t(e)?e:t.doc.createNode(e,{onTagObj:d=>s=d});s??(s=_b(t.doc.schema.tags,i));const o=xb(i,s,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);const u=typeof s.stringify=="function"?s.stringify(i,t,n,r):ct(i)?gc(i,t,n,r):i.toString(t,n,r);return o?ct(i)||u[0]==="{"||u[0]==="["?`${o} ${u}`:`${o}
-${t.indent}${u}`:u}function kb({key:e,value:t},n,r,s){const{allNullValues:i,doc:o,indent:u,indentStep:h,options:{commentString:d,indentSeq:p,simpleKeys:w}}=n;let v=_t(e)&&e.comment||null;if(w){if(v)throw new Error("With simple keys, key nodes cannot have comments");if(vt(e)||!_t(e)&&typeof e=="object"){const j="With simple keys, collection cannot be used as a key value";throw new Error(j)}}let x=!w&&(!e||v&&t==null&&!n.inFlow||vt(e)||(ct(e)?e.type===Pe.BLOCK_FOLDED||e.type===Pe.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!x&&(w||!i),indent:u+h});let k=!1,A=!1,N=xs(e,n,()=>k=!0,()=>A=!0);if(!x&&!n.inFlow&&N.length>1024){if(w)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");x=!0}if(n.inFlow){if(i||t==null)return k&&r&&r(),N===""?"?":x?`? ${N}`:N}else if(i&&!w||t==null&&x)return N=`? ${N}`,v&&!k?N+=Fr(N,n.indent,d(v)):A&&s&&s(),N;k&&(v=null),x?(v&&(N+=Fr(N,n.indent,d(v))),N=`? ${N}
-${u}:`):(N=`${N}:`,v&&(N+=Fr(N,n.indent,d(v))));let I,V,D;_t(t)?(I=!!t.spaceBefore,V=t.commentBefore,D=t.comment):(I=!1,V=null,D=null,t&&typeof t=="object"&&(t=o.createNode(t))),n.implicitKey=!1,!x&&!v&&ct(t)&&(n.indentAtStart=N.length+1),A=!1,!p&&h.length>=2&&!n.inFlow&&!x&&Si(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let M=!1;const B=xs(t,n,()=>M=!0,()=>A=!0);let P=" ";if(v||I||V){if(P=I?`
-`:"",V){const j=d(V);P+=`
-${er(j,n.indent)}`}B===""&&!n.inFlow?P===`
-`&&D&&(P=`
-
-`):P+=`
-${n.indent}`}else if(!x&&vt(t)){const j=B[0],W=B.indexOf(`
-`),Y=W!==-1,pe=n.inFlow??t.flow??t.items.length===0;if(Y||!pe){let Me=!1;if(Y&&(j==="&"||j==="!")){let be=B.indexOf(" ");j==="&"&&be!==-1&&bee===fa||typeof e=="symbol"&&e.description===fa,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new Pe(Symbol(fa)),{addToJSMap:pm}),stringify:()=>fa},Sb=(e,t)=>(rr.identify(t)||ct(t)&&(!t.type||t.type===Pe.PLAIN)&&rr.identify(t.value))&&(e==null?void 0:e.doc.schema.tags.some(n=>n.tag===rr.tag&&n.default));function pm(e,t,n){if(n=e&&Qr(n)?n.resolve(e.doc):n,Si(n))for(const r of n.items)Dl(e,t,r);else if(Array.isArray(n))for(const r of n)Dl(e,t,r);else Dl(e,t,n)}function Dl(e,t,n){const r=e&&Qr(n)?n.resolve(e.doc):n;if(!ki(r))throw new Error("Merge sources must be maps or map aliases");const s=r.toJSON(null,e,Map);for(const[i,o]of s)t instanceof Map?t.has(i)||t.set(i,o):t instanceof Set?t.add(i):Object.prototype.hasOwnProperty.call(t,i)||Object.defineProperty(t,i,{value:o,writable:!0,enumerable:!0,configurable:!0});return t}function gm(e,t,{key:n,value:r}){if(_t(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(Sb(e,n))pm(e,t,r);else{const s=xn(n,"",e);if(t instanceof Map)t.set(s,xn(r,s,e));else if(t instanceof Set)t.add(s);else{const i=Ab(n,s,e),o=xn(r,i,e);i in t?Object.defineProperty(t,i,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[i]=o}}return t}function Ab(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(_t(e)&&(n!=null&&n.doc)){const r=dm(n.doc,{});r.anchors=new Set;for(const i of n.anchors.keys())r.anchors.add(i.anchor);r.inFlow=!0,r.inStringifyKey=!0;const s=e.toString(r);if(!n.mapKeyWarned){let i=JSON.stringify(s);i.length>40&&(i=i.substring(0,36)+'..."'),mm(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${i}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return s}return JSON.stringify(t)}function bc(e,t,n){const r=mi(e,void 0,n),s=mi(t,void 0,n);return new Zt(r,s)}class Zt{constructor(t,n=null){Object.defineProperty(this,kn,{value:im}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return _t(n)&&(n=n.clone(t)),_t(r)&&(r=r.clone(t)),new Zt(n,r)}toJSON(t,n){const r=n!=null&&n.mapAsMap?new Map:{};return gm(n,r,this)}toString(t,n,r){return t!=null&&t.doc?kb(this,t,n,r):JSON.stringify(this)}}function bm(e,t,n){return(t.inFlow??e.flow?Tb:Eb)(e,t,n)}function Eb({comment:e,items:t},n,{blockItemPrefix:r,flowChars:s,itemIndent:i,onChompKeep:o,onComment:u}){const{indent:h,options:{commentString:d}}=n,p=Object.assign({},n,{indent:i,type:null});let w=!1;const v=[];for(let k=0;kN=null,()=>w=!0);N&&(I+=Fr(I,i,d(N))),w&&N&&(w=!1),v.push(r+I)}let x;if(v.length===0)x=s.start+s.end;else{x=v[0];for(let k=1;kN=null);kp||I.includes(`
-`))&&(d=!0),w.push(I),p=w.length}const{start:v,end:x}=n;if(w.length===0)return v+x;if(!d){const k=w.reduce((A,N)=>A+N.length+2,2);d=t.options.lineWidth>0&&k>t.options.lineWidth}if(d){let k=v;for(const A of w)k+=A?`
-${i}${s}${A}`:`
-`;return`${k}
-${s}${x}`}else return`${v}${o}${w.join(" ")}${o}${x}`}function Xa({indent:e,options:{commentString:t}},n,r,s){if(r&&s&&(r=r.replace(/^\n+/,"")),r){const i=er(t(r),e);n.push(i.trimStart())}}function zr(e,t){const n=ct(t)?t.value:t;for(const r of e)if(xt(r)&&(r.key===t||r.key===n||ct(r.key)&&r.key.value===n))return r}class _n extends fm{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(wr,t),this.items=[]}static from(t,n,r){const{keepUndefined:s,replacer:i}=r,o=new this(t),u=(h,d)=>{if(typeof i=="function")d=i.call(n,h,d);else if(Array.isArray(i)&&!i.includes(h))return;(d!==void 0||s)&&o.items.push(bc(h,d,r))};if(n instanceof Map)for(const[h,d]of n)u(h,d);else if(n&&typeof n=="object")for(const h of Object.keys(n))u(h,n[h]);return typeof t.sortMapEntries=="function"&&o.items.sort(t.sortMapEntries),o}add(t,n){var o;let r;xt(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new Zt(t,t==null?void 0:t.value):r=new Zt(t.key,t.value);const s=zr(this.items,r.key),i=(o=this.schema)==null?void 0:o.sortMapEntries;if(s){if(!n)throw new Error(`Key ${r.key} already set`);ct(s.value)&&um(r.value)?s.value.value=r.value:s.value=r.value}else if(i){const u=this.items.findIndex(h=>i(r,h)<0);u===-1?this.items.push(r):this.items.splice(u,0,r)}else this.items.push(r)}delete(t){const n=zr(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const r=zr(this.items,t),s=r==null?void 0:r.value;return(!n&&ct(s)?s.value:s)??void 0}has(t){return!!zr(this.items,t)}set(t,n){this.add(new Zt(t,n),!0)}toJSON(t,n,r){const s=r?new r:n!=null&&n.mapAsMap?new Map:{};n!=null&&n.onCreate&&n.onCreate(s);for(const i of this.items)gm(n,s,i);return s}toString(t,n,r){if(!t)return JSON.stringify(this);for(const s of this.items)if(!xt(s))throw new Error(`Map items must all be pairs; found ${JSON.stringify(s)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),bm(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}}const Ls={collection:"map",default:!0,nodeClass:_n,tag:"tag:yaml.org,2002:map",resolve(e,t){return ki(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>_n.from(e,t,n)};class Gr extends fm{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(Os,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=ha(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const r=ha(t);if(typeof r!="number")return;const s=this.items[r];return!n&&ct(s)?s.value:s}has(t){const n=ha(t);return typeof n=="number"&&n=0?t:null}const Ds={collection:"seq",default:!0,nodeClass:Gr,tag:"tag:yaml.org,2002:seq",resolve(e,t){return Si(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>Gr.from(e,t,n)},vo={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),gc(e,t,n,r)}},_o={identify:e=>e==null,createNode:()=>new Pe(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Pe(null),stringify:({source:e},t)=>typeof e=="string"&&_o.test.test(e)?e:t.options.nullStr},yc={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new Pe(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&yc.test.test(e)){const r=e[0]==="t"||e[0]==="T";if(t===r)return e}return t?n.options.trueStr:n.options.falseStr}};function On({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r=="bigint")return String(r);const s=typeof r=="number"?r:Number(r);if(!isFinite(s))return isNaN(s)?".nan":s<0?"-.inf":".inf";let i=Object.is(r,-0)?"-0":JSON.stringify(r);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(i)){let o=i.indexOf(".");o<0&&(o=i.length,i+=".");let u=t-(i.length-o-1);for(;u-- >0;)i+="0"}return i}const ym={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:On},wm={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():On(e)}},vm={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new Pe(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:On},xo=e=>typeof e=="bigint"||Number.isInteger(e),wc=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function _m(e,t,n){const{value:r}=e;return xo(r)&&r>=0?n+r.toString(t):On(e)}const xm={identify:e=>xo(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>wc(e,2,8,n),stringify:e=>_m(e,8,"0o")},km={identify:xo,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>wc(e,0,10,n),stringify:On},Sm={identify:e=>xo(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>wc(e,2,16,n),stringify:e=>_m(e,16,"0x")},Nb=[Ls,Ds,vo,_o,yc,xm,km,Sm,ym,wm,vm];function yh(e){return typeof e=="bigint"||Number.isInteger(e)}const da=({value:e})=>JSON.stringify(e),Cb=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:da},{identify:e=>e==null,createNode:()=>new Pe(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:da},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>e==="true",stringify:da},{identify:yh,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>yh(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:da}],Ib={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},Ob=[Ls,Ds].concat(Cb,Ib),vc={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof atob=="function"){const n=atob(e.replace(/[\n\r]/g,"")),r=new Uint8Array(n.length);for(let s=0;s1&&t("Each pair must have its own sequence indicator");const s=r.items[0]||new Zt(new Pe(null));if(r.commentBefore&&(s.key.commentBefore=s.key.commentBefore?`${r.commentBefore}
-${s.key.commentBefore}`:r.commentBefore),r.comment){const i=s.value??s.key;i.comment=i.comment?`${r.comment}
-${i.comment}`:r.comment}r=s}e.items[n]=xt(r)?r:new Zt(r)}}else t("Expected a sequence for this tag");return e}function Em(e,t,n){const{replacer:r}=n,s=new Gr(e);s.tag="tag:yaml.org,2002:pairs";let i=0;if(t&&Symbol.iterator in Object(t))for(let o of t){typeof r=="function"&&(o=r.call(t,String(i++),o));let u,h;if(Array.isArray(o))if(o.length===2)u=o[0],h=o[1];else throw new TypeError(`Expected [key, value] tuple: ${o}`);else if(o&&o instanceof Object){const d=Object.keys(o);if(d.length===1)u=d[0],h=o[u];else throw new TypeError(`Expected tuple with one key, not ${d.length} keys`)}else u=o;s.items.push(bc(u,h,n))}return s}const _c={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Am,createNode:Em};class gs extends Gr{constructor(){super(),this.add=_n.prototype.add.bind(this),this.delete=_n.prototype.delete.bind(this),this.get=_n.prototype.get.bind(this),this.has=_n.prototype.has.bind(this),this.set=_n.prototype.set.bind(this),this.tag=gs.tag}toJSON(t,n){if(!n)return super.toJSON(t);const r=new Map;n!=null&&n.onCreate&&n.onCreate(r);for(const s of this.items){let i,o;if(xt(s)?(i=xn(s.key,"",n),o=xn(s.value,i,n)):i=xn(s,"",n),r.has(i))throw new Error("Ordered maps must not include duplicate keys");r.set(i,o)}return r}static from(t,n,r){const s=Em(t,n,r),i=new this;return i.items=s.items,i}}gs.tag="tag:yaml.org,2002:omap";const xc={collection:"seq",identify:e=>e instanceof Map,nodeClass:gs,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Am(e,t),r=[];for(const{key:s}of n.items)ct(s)&&(r.includes(s.value)?t(`Ordered maps must not include duplicate keys: ${s.value}`):r.push(s.value));return Object.assign(new gs,n)},createNode:(e,t,n)=>gs.from(e,t,n)};function Tm({value:e,source:t},n){return t&&(e?Nm:Cm).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const Nm={identify:e=>e===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Pe(!0),stringify:Tm},Cm={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Pe(!1),stringify:Tm},Mb={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:On},Lb={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():On(e)}},Db={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new Pe(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(n!==-1){const r=e.substring(n+1).replace(/_/g,"");r[r.length-1]==="0"&&(t.minFractionDigits=r.length)}return t},stringify:On},Ai=e=>typeof e=="bigint"||Number.isInteger(e);function ko(e,t,n,{intAsBigInt:r}){const s=e[0];if((s==="-"||s==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}const o=BigInt(e);return s==="-"?BigInt(-1)*o:o}const i=parseInt(e,n);return s==="-"?-1*i:i}function kc(e,t,n){const{value:r}=e;if(Ai(r)){const s=r.toString(t);return r<0?"-"+n+s.substr(1):n+s}return On(e)}const Rb={identify:Ai,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>ko(e,2,2,n),stringify:e=>kc(e,2,"0b")},Pb={identify:Ai,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>ko(e,1,8,n),stringify:e=>kc(e,8,"0")},$b={identify:Ai,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>ko(e,0,10,n),stringify:On},Bb={identify:Ai,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>ko(e,2,16,n),stringify:e=>kc(e,16,"0x")};class bs extends _n{constructor(t){super(t),this.tag=bs.tag}add(t){let n;xt(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new Zt(t.key,null):n=new Zt(t,null),zr(this.items,n.key)||this.items.push(n)}get(t,n){const r=zr(this.items,t);return!n&&xt(r)?ct(r.key)?r.key.value:r.key:r}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const r=zr(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new Zt(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,r);throw new Error("Set items must all have null values")}static from(t,n,r){const{replacer:s}=r,i=new this(t);if(n&&Symbol.iterator in Object(n))for(let o of n)typeof s=="function"&&(o=s.call(n,o,o)),i.items.push(bc(o,null,r));return i}}bs.tag="tag:yaml.org,2002:set";const Sc={collection:"map",identify:e=>e instanceof Set,nodeClass:bs,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>bs.from(e,t,n),resolve(e,t){if(ki(e)){if(e.hasAllNullValues(!0))return Object.assign(new bs,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function Ac(e,t){const n=e[0],r=n==="-"||n==="+"?e.substring(1):e,s=o=>t?BigInt(o):Number(o),i=r.replace(/_/g,"").split(":").reduce((o,u)=>o*s(60)+s(u),s(0));return n==="-"?s(-1)*i:i}function Im(e){let{value:t}=e,n=o=>o;if(typeof t=="bigint")n=o=>BigInt(o);else if(isNaN(t)||!isFinite(t))return On(e);let r="";t<0&&(r="-",t*=n(-1));const s=n(60),i=[t%s];return t<60?i.unshift(0):(t=(t-i[0])/s,i.unshift(t%s),t>=60&&(t=(t-i[0])/s,i.unshift(t))),r+i.map(o=>String(o).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const Om={identify:e=>typeof e=="bigint"||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>Ac(e,n),stringify:Im},Mm={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>Ac(e,!1),stringify:Im},So={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(So.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,s,i,o,u]=t.map(Number),h=t[7]?Number((t[7]+"00").substr(1,3)):0;let d=Date.UTC(n,r-1,s,i||0,o||0,u||0,h);const p=t[8];if(p&&p!=="Z"){let w=Ac(p,!1);Math.abs(w)<30&&(w*=60),d-=6e4*w}return new Date(d)},stringify:({value:e})=>(e==null?void 0:e.toISOString().replace(/(T00:00:00)?\.000Z$/,""))??""},wh=[Ls,Ds,vo,_o,Nm,Cm,Rb,Pb,$b,Bb,Mb,Lb,Db,vc,rr,xc,_c,Sc,Om,Mm,So],vh=new Map([["core",Nb],["failsafe",[Ls,Ds,vo]],["json",Ob],["yaml11",wh],["yaml-1.1",wh]]),_h={binary:vc,bool:yc,float:vm,floatExp:wm,floatNaN:ym,floatTime:Mm,int:km,intHex:Sm,intOct:xm,intTime:Om,map:Ls,merge:rr,null:_o,omap:xc,pairs:_c,seq:Ds,set:Sc,timestamp:So},Fb={"tag:yaml.org,2002:binary":vc,"tag:yaml.org,2002:merge":rr,"tag:yaml.org,2002:omap":xc,"tag:yaml.org,2002:pairs":_c,"tag:yaml.org,2002:set":Sc,"tag:yaml.org,2002:timestamp":So};function Rl(e,t,n){const r=vh.get(t);if(r&&!e)return n&&!r.includes(rr)?r.concat(rr):r.slice();let s=r;if(!s)if(Array.isArray(e))s=[];else{const i=Array.from(vh.keys()).filter(o=>o!=="yaml11").map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${i} or define customTags array`)}if(Array.isArray(e))for(const i of e)s=s.concat(i);else typeof e=="function"&&(s=e(s.slice()));return n&&(s=s.concat(rr)),s.reduce((i,o)=>{const u=typeof o=="string"?_h[o]:o;if(!u){const h=JSON.stringify(o),d=Object.keys(_h).map(p=>JSON.stringify(p)).join(", ");throw new Error(`Unknown custom tag ${h}; use one of ${d}`)}return i.includes(u)||i.push(u),i},[])}const zb=(e,t)=>e.keyt.key?1:0;class Ec{constructor({compat:t,customTags:n,merge:r,resolveKnownTags:s,schema:i,sortMapEntries:o,toStringDefaults:u}){this.compat=Array.isArray(t)?Rl(t,"compat"):t?Rl(null,t):null,this.name=typeof i=="string"&&i||"core",this.knownTags=s?Fb:{},this.tags=Rl(n,this.name,r),this.toStringOptions=u??null,Object.defineProperty(this,wr,{value:Ls}),Object.defineProperty(this,Un,{value:vo}),Object.defineProperty(this,Os,{value:Ds}),this.sortMapEntries=typeof o=="function"?o:o===!0?zb:null}clone(){const t=Object.create(Ec.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}function qb(e,t){var h;const n=[];let r=t.directives===!0;if(t.directives!==!1&&e.directives){const d=e.directives.toString(e);d?(n.push(d),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const s=dm(e,t),{commentString:i}=s.options;if(e.commentBefore){n.length!==1&&n.unshift("");const d=i(e.commentBefore);n.unshift(er(d,""))}let o=!1,u=null;if(e.contents){if(_t(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const w=i(e.contents.commentBefore);n.push(er(w,""))}s.forceBlockIndent=!!e.comment,u=e.contents.comment}const d=u?void 0:()=>o=!0;let p=xs(e.contents,s,()=>u=null,d);u&&(p+=Fr(p,"",i(u))),(p[0]==="|"||p[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${p}`:n.push(p)}else n.push(xs(e.contents,s));if((h=e.directives)!=null&&h.docEnd)if(e.comment){const d=i(e.comment);d.includes(`
-`)?(n.push("..."),n.push(er(d,""))):n.push(`... ${d}`)}else n.push("...");else{let d=e.comment;d&&o&&(d=d.replace(/^\n+/,"")),d&&((!o||u)&&n[n.length-1]!==""&&n.push(""),n.push(er(i(d),"")))}return n.join(`
-`)+`
-`}class Ao{constructor(t,n,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,kn,{value:w0});let s=null;typeof n=="function"||Array.isArray(n)?s=n:r===void 0&&n&&(r=n,n=void 0);const i=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},r);this.options=i;let{version:o}=i;r!=null&&r._directives?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new Jt({version:o}),this.setSchema(o,r),this.contents=t===void 0?null:this.createNode(t,s,r)}clone(){const t=Object.create(Ao.prototype,{[kn]:{value:w0}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=_t(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){is(this.contents)&&this.contents.add(t)}addIn(t,n){is(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const r=lm(this);t.anchor=!n||r.has(n)?cm(n||"a",r):n}return new pc(t.anchor)}createNode(t,n,r){let s;if(typeof n=="function")t=n.call({"":t},"",t),s=n;else if(Array.isArray(n)){const N=V=>typeof V=="number"||V instanceof String||V instanceof Number,I=n.filter(N).map(String);I.length>0&&(n=n.concat(I)),s=n}else r===void 0&&n&&(r=n,n=void 0);const{aliasDuplicateObjects:i,anchorPrefix:o,flow:u,keepUndefined:h,onTagObj:d,tag:p}=r??{},{onAnchor:w,setAnchors:v,sourceObjects:x}=pb(this,o||"a"),k={aliasDuplicateObjects:i??!0,keepUndefined:h??!1,onAnchor:w,onTagObj:d,replacer:s,schema:this.schema,sourceObjects:x},A=mi(t,p,k);return u&&vt(A)&&(A.flow=!0),v(),A}createPair(t,n,r={}){const s=this.createNode(t,null,r),i=this.createNode(n,null,r);return new Zt(s,i)}delete(t){return is(this.contents)?this.contents.delete(t):!1}deleteIn(t){return Ys(t)?this.contents==null?!1:(this.contents=null,!0):is(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return vt(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return Ys(t)?!n&&ct(this.contents)?this.contents.value:this.contents:vt(this.contents)?this.contents.getIn(t,n):void 0}has(t){return vt(this.contents)?this.contents.has(t):!1}hasIn(t){return Ys(t)?this.contents!==void 0:vt(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=Ka(this.schema,[t],n):is(this.contents)&&this.contents.set(t,n)}setIn(t,n){Ys(t)?this.contents=n:this.contents==null?this.contents=Ka(this.schema,Array.from(t),n):is(this.contents)&&this.contents.setIn(t,n)}setSchema(t,n={}){typeof t=="number"&&(t=String(t));let r;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Jt({version:"1.1"}),r={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new Jt({version:t}),r={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,r=null;break;default:{const s=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${s}`)}}if(n.schema instanceof Object)this.schema=n.schema;else if(r)this.schema=new Ec(Object.assign(r,n));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:t,jsonArg:n,mapAsMap:r,maxAliasCount:s,onAnchor:i,reviver:o}={}){const u={anchors:new Map,doc:this,keep:!t,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof s=="number"?s:100},h=xn(this.contents,n??"",u);if(typeof i=="function")for(const{count:d,res:p}of u.anchors.values())i(p,d);return typeof o=="function"?hs(o,{"":h},"",h):h}toJSON(t,n){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:n})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const n=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${n}`)}return qb(this,t)}}function is(e){if(vt(e))return!0;throw new Error("Expected a YAML collection as document contents")}class Lm extends Error{constructor(t,n,r,s){super(),this.name=t,this.code=r,this.message=s,this.pos=n}}class Js extends Lm{constructor(t,n,r){super("YAMLParseError",t,n,r)}}class Ub extends Lm{constructor(t,n,r){super("YAMLWarning",t,n,r)}}const xh=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(u=>t.linePos(u));const{line:r,col:s}=n.linePos[0];n.message+=` at line ${r}, column ${s}`;let i=s-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&o.length>80){const u=Math.min(i-39,o.length-79);o="…"+o.substring(u),i-=u-1}if(o.length>80&&(o=o.substring(0,79)+"…"),r>1&&/^ *$/.test(o.substring(0,i))){let u=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);u.length>80&&(u=u.substring(0,79)+`…
-`),o=u+o}if(/[^ ]/.test(o)){let u=1;const h=n.linePos[1];(h==null?void 0:h.line)===r&&h.col>s&&(u=Math.max(1,Math.min(h.col-s,80-i)));const d=" ".repeat(i)+"^".repeat(u);n.message+=`:
-
-${o}
-${d}
-`}};function ks(e,{flow:t,indicator:n,next:r,offset:s,onError:i,parentIndent:o,startOnNewline:u}){let h=!1,d=u,p=u,w="",v="",x=!1,k=!1,A=null,N=null,I=null,V=null,D=null,M=null,B=null;for(const W of e)switch(k&&(W.type!=="space"&&W.type!=="newline"&&W.type!=="comma"&&i(W.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),k=!1),A&&(d&&W.type!=="comment"&&W.type!=="newline"&&i(A,"TAB_AS_INDENT","Tabs are not allowed as indentation"),A=null),W.type){case"space":!t&&(n!=="doc-start"||(r==null?void 0:r.type)!=="flow-collection")&&W.source.includes("	")&&(A=W),p=!0;break;case"comment":{p||i(W,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const Y=W.source.substring(1)||" ";w?w+=v+Y:w=Y,v="",d=!1;break}case"newline":d?w?w+=W.source:(!M||n!=="seq-item-ind")&&(h=!0):v+=W.source,d=!0,x=!0,(N||I)&&(V=W),p=!0;break;case"anchor":N&&i(W,"MULTIPLE_ANCHORS","A node can have at most one anchor"),W.source.endsWith(":")&&i(W.offset+W.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),N=W,B??(B=W.offset),d=!1,p=!1,k=!0;break;case"tag":{I&&i(W,"MULTIPLE_TAGS","A node can have at most one tag"),I=W,B??(B=W.offset),d=!1,p=!1,k=!0;break}case n:(N||I)&&i(W,"BAD_PROP_ORDER",`Anchors and tags must be after the ${W.source} indicator`),M&&i(W,"UNEXPECTED_TOKEN",`Unexpected ${W.source} in ${t??"collection"}`),M=W,d=n==="seq-item-ind"||n==="explicit-key-ind",p=!1;break;case"comma":if(t){D&&i(W,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),D=W,d=!1,p=!1;break}default:i(W,"UNEXPECTED_TOKEN",`Unexpected ${W.type} token`),d=!1,p=!1}const P=e[e.length-1],j=P?P.offset+P.source.length:s;return k&&r&&r.type!=="space"&&r.type!=="newline"&&r.type!=="comma"&&(r.type!=="scalar"||r.source!=="")&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),A&&(d&&A.indent<=o||(r==null?void 0:r.type)==="block-map"||(r==null?void 0:r.type)==="block-seq")&&i(A,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:D,found:M,spaceBefore:h,comment:w,hasNewline:x,anchor:N,tag:I,newlineAfterProp:V,end:j,start:B??j}}function pi(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(`
-`))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if(pi(t.key)||pi(t.value))return!0}return!1;default:return!0}}function k0(e,t,n){if((t==null?void 0:t.type)==="flow-collection"){const r=t.end[0];r.indent===e&&(r.source==="]"||r.source==="}")&&pi(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function Dm(e,t,n){const{uniqueKeys:r}=e.options;if(r===!1)return!1;const s=typeof r=="function"?r:(i,o)=>i===o||ct(i)&&ct(o)&&i.value===o.value;return t.some(i=>s(i.key,n))}const kh="All mapping items must start at the same column";function Hb({composeNode:e,composeEmptyNode:t},n,r,s,i){var p;const o=(i==null?void 0:i.nodeClass)??_n,u=new o(n.schema);n.atRoot&&(n.atRoot=!1);let h=r.offset,d=null;for(const w of r.items){const{start:v,key:x,sep:k,value:A}=w,N=ks(v,{indicator:"explicit-key-ind",next:x??(k==null?void 0:k[0]),offset:h,onError:s,parentIndent:r.indent,startOnNewline:!0}),I=!N.found;if(I){if(x&&(x.type==="block-seq"?s(h,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in x&&x.indent!==r.indent&&s(h,"BAD_INDENT",kh)),!N.anchor&&!N.tag&&!k){d=N.end,N.comment&&(u.comment?u.comment+=`
-`+N.comment:u.comment=N.comment);continue}(N.newlineAfterProp||pi(x))&&s(x??v[v.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else((p=N.found)==null?void 0:p.indent)!==r.indent&&s(h,"BAD_INDENT",kh);n.atKey=!0;const V=N.end,D=x?e(n,x,N,s):t(n,V,v,null,N,s);n.schema.compat&&k0(r.indent,x,s),n.atKey=!1,Dm(n,u.items,D)&&s(V,"DUPLICATE_KEY","Map keys must be unique");const M=ks(k??[],{indicator:"map-value-ind",next:A,offset:D.range[2],onError:s,parentIndent:r.indent,startOnNewline:!x||x.type==="block-scalar"});if(h=M.end,M.found){I&&((A==null?void 0:A.type)==="block-map"&&!M.hasNewline&&s(h,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&N.starte&&(e.type==="block-map"||e.type==="block-seq");function jb({composeNode:e,composeEmptyNode:t},n,r,s,i){var N;const o=r.start.source==="{",u=o?"flow map":"flow sequence",h=(i==null?void 0:i.nodeClass)??(o?_n:Gr),d=new h(n.schema);d.flow=!0;const p=n.atRoot;p&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let w=r.offset+r.start.source.length;for(let I=0;I0){const I=Ei(k,A,n.options.strict,s);I.comment&&(d.comment?d.comment+=`
-`+I.comment:d.comment=I.comment),d.range=[r.offset,A,I.offset]}else d.range=[r.offset,A,A];return d}function Bl(e,t,n,r,s,i){const o=n.type==="block-map"?Hb(e,t,n,r,i):n.type==="block-seq"?Vb(e,t,n,r,i):jb(e,t,n,r,i),u=o.constructor;return s==="!"||s===u.tagName?(o.tag=u.tagName,o):(s&&(o.tag=s),o)}function Wb(e,t,n,r,s){var v;const i=r.tag,o=i?t.directives.tagName(i.source,x=>s(i,"TAG_RESOLVE_FAILED",x)):null;if(n.type==="block-seq"){const{anchor:x,newlineAfterProp:k}=r,A=x&&i?x.offset>i.offset?x:i:x??i;A&&(!k||k.offsetx.tag===o&&x.collection===u);if(!h){const x=t.schema.knownTags[o];if((x==null?void 0:x.collection)===u)t.schema.tags.push(Object.assign({},x,{default:!1})),h=x;else return x?s(i,"BAD_COLLECTION_TYPE",`${x.tag} used for ${u} collection, but expects ${x.collection??"scalar"}`,!0):s(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${o}`,!0),Bl(e,t,n,s,o)}const d=Bl(e,t,n,s,o,h),p=((v=h.resolve)==null?void 0:v.call(h,d,x=>s(i,"TAG_RESOLVE_FAILED",x),t.options))??d,w=_t(p)?p:new Pe(p);return w.range=d.range,w.tag=o,h!=null&&h.format&&(w.format=h.format),w}function Gb(e,t,n){const r=t.offset,s=Kb(t,e.options.strict,n);if(!s)return{value:"",type:null,comment:"",range:[r,r,r]};const i=s.mode===">"?Pe.BLOCK_FOLDED:Pe.BLOCK_LITERAL,o=t.source?Xb(t.source):[];let u=o.length;for(let A=o.length-1;A>=0;--A){const N=o[A][1];if(N===""||N==="\r")u=A;else break}if(u===0){const A=s.chomp==="+"&&o.length>0?`
-`.repeat(Math.max(1,o.length-1)):"";let N=r+s.length;return t.source&&(N+=t.source.length),{value:A,type:i,comment:s.comment,range:[r,N,N]}}let h=t.indent+s.indent,d=t.offset+s.length,p=0;for(let A=0;Ah&&(h=N.length);else{N.length=u;--A)o[A][0].length>h&&(u=A+1);let w="",v="",x=!1;for(let A=0;Ah||I[0]==="	"?(v===" "?v=`
-`:!x&&v===`
-`&&(v=`
-
-`),w+=v+N.slice(h)+I,v=`
-`,x=!0):I===""?v===`
-`?w+=`
-`:v=`
-`:(w+=v+I,v=" ",x=!1)}switch(s.chomp){case"-":break;case"+":for(let A=u;An(r+v,x,k);switch(s){case"scalar":u=Pe.PLAIN,h=Jb(i,d);break;case"single-quoted-scalar":u=Pe.QUOTE_SINGLE,h=Qb(i,d);break;case"double-quoted-scalar":u=Pe.QUOTE_DOUBLE,h=Zb(i,d);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${s}`),{value:"",type:null,comment:"",range:[r,r+i.length,r+i.length]}}const p=r+i.length,w=Ei(o,p,t,n);return{value:h,type:u,comment:w.comment,range:[r,p,w.offset]}}function Jb(e,t){let n="";switch(e[0]){case"	":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${e[0]}`;break}case"@":case"`":{n=`reserved character ${e[0]}`;break}}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),Rm(e)}function Qb(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),Rm(e.slice(1,-1)).replace(/''/g,"'")}function Rm(e){let t,n;try{t=new RegExp(`(.*?)(?i?e.slice(i,r+1):s)}else n+=s}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}function ey(e,t){let n="",r=e[t+1];for(;(r===" "||r==="	"||r===`
-`||r==="\r")&&!(r==="\r"&&e[t+2]!==`
-`);)r===`
-`&&(n+=`
-`),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}const ty={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
-`,r:"\r",t:"	",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","	":"	"};function ny(e,t,n,r){const s=e.substr(t,n),o=s.length===n&&/^[0-9a-fA-F]+$/.test(s)?parseInt(s,16):NaN;if(isNaN(o)){const u=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${u}`),u}return String.fromCodePoint(o)}function Pm(e,t,n,r){const{value:s,type:i,comment:o,range:u}=t.type==="block-scalar"?Gb(e,t,r):Yb(t,e.options.strict,r),h=n?e.directives.tagName(n.source,w=>r(n,"TAG_RESOLVE_FAILED",w)):null;let d;e.options.stringKeys&&e.atKey?d=e.schema[Un]:h?d=ry(e.schema,s,h,n,r):t.type==="scalar"?d=sy(e,s,t,r):d=e.schema[Un];let p;try{const w=d.resolve(s,v=>r(n??t,"TAG_RESOLVE_FAILED",v),e.options);p=ct(w)?w:new Pe(w)}catch(w){const v=w instanceof Error?w.message:String(w);r(n??t,"TAG_RESOLVE_FAILED",v),p=new Pe(s)}return p.range=u,p.source=s,i&&(p.type=i),h&&(p.tag=h),d.format&&(p.format=d.format),o&&(p.comment=o),p}function ry(e,t,n,r,s){var u;if(n==="!")return e[Un];const i=[];for(const h of e.tags)if(!h.collection&&h.tag===n)if(h.default&&h.test)i.push(h);else return h;for(const h of i)if((u=h.test)!=null&&u.test(t))return h;const o=e.knownTags[n];return o&&!o.collection?(e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(s(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[Un])}function sy({atKey:e,directives:t,schema:n},r,s,i){const o=n.tags.find(u=>{var h;return(u.default===!0||e&&u.default==="key")&&((h=u.test)==null?void 0:h.test(r))})||n[Un];if(n.compat){const u=n.compat.find(h=>{var d;return h.default&&((d=h.test)==null?void 0:d.test(r))})??n[Un];if(o.tag!==u.tag){const h=t.tagString(o.tag),d=t.tagString(u.tag),p=`Value may be parsed as either ${h} or ${d}`;i(s,"TAG_RESOLVE_FAILED",p,!0)}}return o}function iy(e,t,n){if(t){n??(n=t.length);for(let r=n-1;r>=0;--r){let s=t[r];switch(s.type){case"space":case"comment":case"newline":e-=s.source.length;continue}for(s=t[++r];(s==null?void 0:s.type)==="space";)e+=s.source.length,s=t[++r];break}}return e}const ay={composeNode:$m,composeEmptyNode:Tc};function $m(e,t,n,r){const s=e.atKey,{spaceBefore:i,comment:o,anchor:u,tag:h}=n;let d,p=!0;switch(t.type){case"alias":d=oy(e,t,r),(u||h)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":d=Pm(e,t,h,r),u&&(d.anchor=u.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":d=Wb(ay,e,t,n,r),u&&(d.anchor=u.source.substring(1));break;default:{const w=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",w),d=Tc(e,t.offset,void 0,null,n,r),p=!1}}return u&&d.anchor===""&&r(u,"BAD_ALIAS","Anchor cannot be an empty string"),s&&e.options.stringKeys&&(!ct(d)||typeof d.value!="string"||d.tag&&d.tag!=="tag:yaml.org,2002:str")&&r(h??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),i&&(d.spaceBefore=!0),o&&(t.type==="scalar"&&t.source===""?d.comment=o:d.commentBefore=o),e.options.keepSourceTokens&&p&&(d.srcToken=t),d}function Tc(e,t,n,r,{spaceBefore:s,comment:i,anchor:o,tag:u,end:h},d){const p={type:"scalar",offset:iy(t,n,r),indent:-1,source:""},w=Pm(e,p,u,d);return o&&(w.anchor=o.source.substring(1),w.anchor===""&&d(o,"BAD_ALIAS","Anchor cannot be an empty string")),s&&(w.spaceBefore=!0),i&&(w.comment=i,w.range[2]=h),w}function oy({options:e},{offset:t,source:n,end:r},s){const i=new pc(n.substring(1));i.source===""&&s(t,"BAD_ALIAS","Alias cannot be an empty string"),i.source.endsWith(":")&&s(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=t+n.length,u=Ei(r,o,e.strict,s);return i.range=[t,o,u.offset],u.comment&&(i.comment=u.comment),i}function ly(e,t,{offset:n,start:r,value:s,end:i},o){const u=Object.assign({_directives:t},e),h=new Ao(void 0,u),d={atKey:!1,atRoot:!0,directives:h.directives,options:h.options,schema:h.schema},p=ks(r,{indicator:"doc-start",next:s??(i==null?void 0:i[0]),offset:n,onError:o,parentIndent:0,startOnNewline:!0});p.found&&(h.directives.docStart=!0,s&&(s.type==="block-map"||s.type==="block-seq")&&!p.hasNewline&&o(p.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),h.contents=s?$m(d,s,p,o):Tc(d,p.end,r,null,p,o);const w=h.contents.range[2],v=Ei(i,w,!1,o);return v.comment&&(h.comment=v.comment),h.range=[n,w,v.offset],h}function Vs(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+(typeof n=="string"?n.length:1)]}function Sh(e){var s;let t="",n=!1,r=!1;for(let i=0;i{const o=Vs(n);i?this.warnings.push(new Ub(o,r,s)):this.errors.push(new Js(o,r,s))},this.directives=new Jt({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:r,afterEmptyLine:s}=Sh(this.prelude);if(r){const i=t.contents;if(n)t.comment=t.comment?`${t.comment}
-${r}`:r;else if(s||t.directives.docStart||!i)t.commentBefore=r;else if(vt(i)&&!i.flow&&i.items.length>0){let o=i.items[0];xt(o)&&(o=o.key);const u=o.commentBefore;o.commentBefore=u?`${r}
-${u}`:r}else{const o=i.commentBefore;i.commentBefore=o?`${r}
-${o}`:r}}n?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Sh(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,n=!1,r=-1){for(const s of t)yield*this.next(s);yield*this.end(n,r)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,(n,r,s)=>{const i=Vs(t);i[0]+=n,this.onError(i,"BAD_DIRECTIVE",r,s)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=ly(this.options,this.directives,t,this.onError);this.atDirectives&&!n.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(n,!1),this.doc&&(yield this.doc),this.doc=n,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const n=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,r=new Js(Vs(t),"UNEXPECTED_TOKEN",n);this.atDirectives||!this.doc?this.errors.push(r):this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){const r="Unexpected doc-end without preceding document";this.errors.push(new Js(Vs(t),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=!0;const n=Ei(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),n.comment){const r=this.doc.comment;this.doc.comment=r?`${r}
-${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new Js(Vs(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,n=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const r=Object.assign({_directives:this.directives},this.options),s=new Ao(void 0,r);this.atDirectives&&this.onError(n,"MISSING_CHAR","Missing directives-end indicator line"),s.range=[0,n,n],this.decorate(s,!1),yield s}}}const Bm="\uFEFF",Fm="",zm="",S0="";function uy(e){switch(e){case Bm:return"byte-order-mark";case Fm:return"doc-mode";case zm:return"flow-error-end";case S0:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
-`:case`\r
-`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"	":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function Tn(e){switch(e){case void 0:case" ":case`
-`:case"\r":case"	":return!0;default:return!1}}const Ah=new Set("0123456789ABCDEFabcdef"),fy=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),ma=new Set(",[]{}"),hy=new Set(` ,[]{}
-\r	`),Fl=e=>!e||hy.has(e);class dy{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,n=!1){if(t){if(typeof t!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!n;let r=this.next??"stream";for(;r&&(n||this.hasChars(1));)r=yield*this.parseNext(r)}atLineEnd(){let t=this.pos,n=this.buffer[t];for(;n===" "||n==="	";)n=this.buffer[++t];return!n||n==="#"||n===`
-`?!0:n==="\r"?this.buffer[t+1]===`
-`:!1}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let n=this.buffer[t];if(this.indentNext>0){let r=0;for(;n===" ";)n=this.buffer[++r+t];if(n==="\r"){const s=this.buffer[r+t+1];if(s===`
-`||!s&&!this.atEnd)return t+r+1}return n===`
-`||r>=this.indentNext||!n&&!this.atEnd?t+r:-1}if(n==="-"||n==="."){const r=this.buffer.substr(t,3);if((r==="---"||r==="...")&&Tn(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return(typeof t!="number"||t!==-1&&tthis.indentValue&&!Tn(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,n]=this.peek(2);if(!n&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&Tn(n)){const r=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=r,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(t===null)return this.setNext("doc");let n=yield*this.pushIndicators();switch(t[n]){case"#":yield*this.pushCount(t.length-n);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(Fl),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return n+=yield*this.parseBlockScalarHeader(),n+=yield*this.pushSpaces(!0),yield*this.pushCount(t.length-n),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,n,r=-1;do t=yield*this.pushNewline(),t>0?(n=yield*this.pushSpaces(!1),this.indentValue=r=n):n=0,n+=yield*this.pushSpaces(!0);while(t+n>0);const s=this.getLine();if(s===null)return this.setNext("flow");if((r!==-1&&r"0"&&n<="9")this.blockScalarIndent=Number(n)-1;else if(n!=="-")break}return yield*this.pushUntil(n=>Tn(n)||n==="#")}*parseBlockScalar(){let t=this.pos-1,n=0,r;e:for(let i=this.pos;r=this.buffer[i];++i)switch(r){case" ":n+=1;break;case`
-`:t=i,n=0;break;case"\r":{const o=this.buffer[i+1];if(!o&&!this.atEnd)return this.setNext("block-scalar");if(o===`
-`)break}default:break e}if(!r&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=n:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const i=this.continueScalar(t+1);if(i===-1)break;t=this.buffer.indexOf(`
-`,i)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let s=t+1;for(r=this.buffer[s];r===" ";)r=this.buffer[++s];if(r==="	"){for(;r==="	"||r===" "||r==="\r"||r===`
-`;)r=this.buffer[++s];t=s-1}else if(!this.blockScalarKeep)do{let i=t-1,o=this.buffer[i];o==="\r"&&(o=this.buffer[--i]);const u=i;for(;o===" ";)o=this.buffer[--i];if(o===`
-`&&i>=this.pos&&i+1+n>u)t=i;else break}while(!0);return yield S0,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let n=this.pos-1,r=this.pos-1,s;for(;s=this.buffer[++r];)if(s===":"){const i=this.buffer[r+1];if(Tn(i)||t&&ma.has(i))break;n=r}else if(Tn(s)){let i=this.buffer[r+1];if(s==="\r"&&(i===`
-`?(r+=1,s=`
-`,i=this.buffer[r+1]):n=r),i==="#"||t&&ma.has(i))break;if(s===`
-`){const o=this.continueScalar(r+1);if(o===-1)break;r=Math.max(r,o-2)}}else{if(t&&ma.has(s))break;n=r}return!s&&!this.atEnd?this.setNext("plain-scalar"):(yield S0,yield*this.pushToIndex(n+1,!0),t?"flow":"doc")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,n){const r=this.buffer.slice(this.pos,t);return r?(yield r,this.pos+=r.length,r.length):(n&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(Fl))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if(Tn(n)||t&&ma.has(n))return t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2,n=this.buffer[t];for(;!Tn(n)&&n!==">";)n=this.buffer[++t];return yield*this.pushToIndex(n===">"?t+1:t,!1)}else{let t=this.pos+1,n=this.buffer[t];for(;n;)if(fy.has(n))n=this.buffer[++t];else if(n==="%"&&Ah.has(this.buffer[t+1])&&Ah.has(this.buffer[t+2]))n=this.buffer[t+=3];else break;return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return t===`
-`?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===`
-`?yield*this.pushCount(2):0}*pushSpaces(t){let n=this.pos-1,r;do r=this.buffer[++n];while(r===" "||t&&r==="	");const s=n-this.pos;return s>0&&(yield this.buffer.substr(this.pos,s),this.pos=n),s}*pushUntil(t){let n=this.pos,r=this.buffer[n];for(;!t(r);)r=this.buffer[++n];return yield*this.pushToIndex(n,!1)}}class my{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let n=0,r=this.lineStarts.length;for(;n>1;this.lineStarts[i]=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;((n=e[++t])==null?void 0:n.type)==="space";);return e.splice(t,e.length)}function Th(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!dr(t.start,"explicit-key-ind")&&!dr(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,qm(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class py{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new dy,this.onNewLine=t}*parse(t,n=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const r of this.lexer.lex(t,n))yield*this.next(r);n||(yield*this.end())}*next(t){if(this.source=t,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}const n=uy(t);if(n)if(n==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=n,yield*this.step(),n){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&t[0]===" "&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const r=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:r,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if(this.type==="doc-end"&&(t==null?void 0:t.type)!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){const n=t??this.stack.pop();if(!n)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield n;else{const r=this.peek(1);switch(n.type==="block-scalar"?n.indent="indent"in r?r.indent:0:n.type==="flow-collection"&&r.type==="document"&&(n.indent=0),n.type==="flow-collection"&&Th(n),r.type){case"document":r.value=n;break;case"block-scalar":r.props.push(n);break;case"block-map":{const s=r.items[r.items.length-1];if(s.value){r.items.push({start:[],key:n,sep:[]}),this.onKeyLine=!0;return}else if(s.sep)s.value=n;else{Object.assign(s,{key:n,sep:[]}),this.onKeyLine=!s.explicitKey;return}break}case"block-seq":{const s=r.items[r.items.length-1];s.value?r.items.push({start:[],value:n}):s.value=n;break}case"flow-collection":{const s=r.items[r.items.length-1];!s||s.value?r.items.push({start:[],key:n,sep:[]}):s.sep?s.value=n:Object.assign(s,{key:n,sep:[]});return}default:yield*this.pop(),yield*this.pop(n)}if((r.type==="document"||r.type==="block-map"||r.type==="block-seq")&&(n.type==="block-map"||n.type==="block-seq")){const s=n.items[n.items.length-1];s&&!s.sep&&!s.value&&s.start.length>0&&Eh(s.start)===-1&&(n.indent===0||s.start.every(i=>i.type!=="comment"||i.indent=t.indent){const s=!this.onKeyLine&&this.indent===t.indent,i=s&&(n.sep||n.explicitKey)&&this.type!=="seq-item-ind";let o=[];if(i&&n.sep&&!n.value){const u=[];for(let h=0;ht.indent&&(u.length=0);break;default:u.length=0}}u.length>=2&&(o=n.sep.splice(u[1]))}switch(this.type){case"anchor":case"tag":i||n.value?(o.push(this.sourceToken),t.items.push({start:o}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"explicit-key-ind":!n.sep&&!n.explicitKey?(n.start.push(this.sourceToken),n.explicitKey=!0):i||n.value?(o.push(this.sourceToken),t.items.push({start:o,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(dr(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]});else if(qm(n.key)&&!dr(n.sep,"newline")){const u=as(n.start),h=n.key,d=n.sep;d.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:u,key:h,sep:d}]})}else o.length>0?n.sep=n.sep.concat(o,this.sourceToken):n.sep.push(this.sourceToken);else if(dr(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const u=as(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:u,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||i?t.items.push({start:o,key:null,sep:[this.sourceToken]}):dr(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const u=this.flowScalar(this.type);i||n.value?(t.items.push({start:o,key:u,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(u):(Object.assign(n,{key:u,sep:[]}),this.onKeyLine=!0);return}default:{const u=this.startBlockValue(t);if(u){if(u.type==="block-seq"){if(!n.explicitKey&&n.sep&&!dr(n.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else s&&t.items.push({start:o});this.stack.push(u);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){var r;const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const s="end"in n.value?n.value.end:void 0,i=Array.isArray(s)?s[s.length-1]:void 0;(i==null?void 0:i.type)==="comment"?s==null||s.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const s=t.items[t.items.length-2],i=(r=s==null?void 0:s.value)==null?void 0:r.end;if(Array.isArray(i)){Array.prototype.push.apply(i,n.start),i.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;n.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;n.value||dr(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return}if(this.indent>t.indent){const s=this.startBlockValue(t);if(s){this.stack.push(s);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){const n=t.items[t.items.length-1];if(this.type==="flow-error-end"){let r;do yield*this.pop(),r=this.peek(1);while((r==null?void 0:r.type)==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!n||n.sep?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return;case"map-value-ind":!n||n.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!n||n.value?t.items.push({start:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const s=this.flowScalar(this.type);!n||n.value?t.items.push({start:[],key:s,sep:[]}):n.sep?this.stack.push(s):Object.assign(n,{key:s,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const r=this.startBlockValue(t);r?this.stack.push(r):(yield*this.pop(),yield*this.step())}else{const r=this.peek(2);if(r.type==="block-map"&&(this.type==="map-value-ind"&&r.indent===t.indent||this.type==="newline"&&!r.items[r.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&r.type!=="flow-collection"){const s=pa(r),i=as(s);Th(t);const o=t.end.splice(1,t.end.length);o.push(this.sourceToken);const u={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:i,key:t,sep:o}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=u}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let n=this.source.indexOf(`
-`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
-`,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=pa(t),r=as(n);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const n=pa(t),r=as(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,n){return this.type!=="comment"||this.indent<=n?!1:t.every(r=>r.type==="newline"||r.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function gy(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new my||null,prettyErrors:t}}function by(e,t={}){const{lineCounter:n,prettyErrors:r}=gy(t),s=new py(n==null?void 0:n.addNewLine),i=new cy(t);let o=null;for(const u of i.compose(s.parse(e),!0,e.length))if(!o)o=u;else if(o.options.logLevel!=="silent"){o.errors.push(new Js(u.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return r&&n&&(o.errors.forEach(xh(e,n)),o.warnings.forEach(xh(e,n))),o}function yy(e,t,n){let r;const s=by(e,n);if(!s)return null;if(s.warnings.forEach(i=>mm(s.options.logLevel,i)),s.errors.length>0){if(s.options.logLevel!=="silent")throw s.errors[0];s.errors=[]}return s.toJS(Object.assign({reviver:r},n))}var Um={},Hm={exports:{}};(function(e,t){(function(r,s){e.exports=s()})(typeof self<"u"?self:Ql,function(){return function(){var n={};(function(){n.d=function(l,a){for(var c in a)n.o(a,c)&&!n.o(l,c)&&Object.defineProperty(l,c,{enumerable:!0,get:a[c]})}})(),function(){n.o=function(l,a){return Object.prototype.hasOwnProperty.call(l,a)}}();var r={};n.d(r,{default:function(){return eg}});class s{constructor(a,c){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;let f="KaTeX parse error: "+a,m,y;const _=c&&c.loc;if(_&&_.start<=_.end){const C=_.lexer.input;m=_.start,y=_.end,m===C.length?f+=" at end of input: ":f+=" at position "+(m+1)+": ";const R=C.slice(m,y).replace(/[^]/g,"$&̲");let q;m>15?q="…"+C.slice(m-15,m):q=C.slice(0,m);let H;y+15l.replace(o,"-$1").toLowerCase(),h={"&":"&",">":">","<":"<",'"':""","'":"'"},d=/[&><"']/g,p=l=>String(l).replace(d,a=>h[a]),w=l=>l.type==="ordgroup"||l.type==="color"?l.body.length===1?w(l.body[0]):l:l.type==="font"?w(l.body):l,v=new Set(["mathord","textord","atom"]),x=l=>v.has(w(l).type),k=l=>{const a=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(l);return a?a[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(a[1])?null:a[1].toLowerCase():"_relative"},A={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:l=>"#"+l},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(l,a)=>(a.push(l),a)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:l=>Math.max(0,l),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:l=>Math.max(0,l),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:l=>Math.max(0,l),cli:"-e, --max-expand ",cliProcessor:l=>l==="Infinity"?1/0:parseInt(l)},globalGroup:{type:"boolean",cli:!1}};function N(l){if(l.default)return l.default;const a=l.type,c=Array.isArray(a)?a[0]:a;if(typeof c!="string")return c.enum[0];switch(c){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class I{constructor(a){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,a=a||{};for(const c in A)if(A.hasOwnProperty(c)){const f=A[c];this[c]=a[c]!==void 0?f.processor?f.processor(a[c]):a[c]:N(f)}}reportNonstrict(a,c,f){let m=this.strict;if(typeof m=="function"&&(m=m(a,c,f)),!(!m||m==="ignore")){if(m===!0||m==="error")throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+(c+" ["+a+"]"),f);m==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(c+" ["+a+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+m+"': "+c+" ["+a+"]"))}}useStrictBehavior(a,c,f){let m=this.strict;if(typeof m=="function")try{m=m(a,c,f)}catch{m="error"}return!m||m==="ignore"?!1:m===!0||m==="error"?!0:m==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(c+" ["+a+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+m+"': "+c+" ["+a+"]")),!1)}isTrusted(a){if(a.url&&!a.protocol){const f=k(a.url);if(f==null)return!1;a.protocol=f}return!!(typeof this.trust=="function"?this.trust(a):this.trust)}}class V{constructor(a,c,f){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=a,this.size=c,this.cramped=f}sup(){return Me[be[this.id]]}sub(){return Me[xe[this.id]]}fracNum(){return Me[G[this.id]]}fracDen(){return Me[he[this.id]]}cramp(){return Me[Q[this.id]]}text(){return Me[ge[this.id]]}isTight(){return this.size>=2}}const D=0,M=1,B=2,P=3,j=4,W=5,Y=6,pe=7,Me=[new V(D,0,!1),new V(M,0,!0),new V(B,1,!1),new V(P,1,!0),new V(j,2,!1),new V(W,2,!0),new V(Y,3,!1),new V(pe,3,!0)],be=[j,W,j,W,Y,pe,Y,pe],xe=[W,W,W,W,pe,pe,pe,pe],G=[B,P,j,W,Y,pe,Y,pe],he=[P,P,W,W,pe,pe,pe,pe],Q=[M,M,P,P,W,W,pe,pe],ge=[D,M,B,P,B,P,B,P];var te={DISPLAY:Me[D],TEXT:Me[B],SCRIPT:Me[j],SCRIPTSCRIPT:Me[Y]};const Ae=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Le(l){for(let a=0;a=m[0]&&l<=m[1])return c.name}}return null}const ve=[];Ae.forEach(l=>l.blocks.forEach(a=>ve.push(...a)));function U(l){for(let a=0;a=ve[a]&&l<=ve[a+1])return!0;return!1}const ce=80,Ee=function(l,a){return"M95,"+(622+l+a)+`
-c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
-c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
-c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
-s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
-c69,-144,104.5,-217.7,106.5,-221
-l`+l/2.075+" -"+l+`
-c5.3,-9.3,12,-14,20,-14
-H400000v`+(40+l)+`H845.2724
-s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
-c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
-M`+(834+l)+" "+a+"h400000v"+(40+l)+"h-400000z"},et=function(l,a){return"M263,"+(601+l+a)+`c0.7,0,18,39.7,52,119
-c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
-c340,-704.7,510.7,-1060.3,512,-1067
-l`+l/2.084+" -"+l+`
-c4.7,-7.3,11,-11,19,-11
-H40000v`+(40+l)+`H1012.3
-s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
-c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
-s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
-c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
-M`+(1001+l)+" "+a+"h400000v"+(40+l)+"h-400000z"},Et=function(l,a){return"M983 "+(10+l+a)+`
-l`+l/3.13+" -"+l+`
-c4,-6.7,10,-10,18,-10 H400000v`+(40+l)+`
-H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
-s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
-c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
-c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
-c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
-c53.7,-170.3,84.5,-266.8,92.5,-289.5z
-M`+(1001+l)+" "+a+"h400000v"+(40+l)+"h-400000z"},Lt=function(l,a){return"M424,"+(2398+l+a)+`
-c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
-c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
-s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
-s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
-l`+l/4.223+" -"+l+`c4,-6.7,10,-10,18,-10 H400000
-v`+(40+l)+`H1014.6
-s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
-c-2,6,-10,9,-24,9
-c-8,0,-12,-0.7,-12,-2z M`+(1001+l)+" "+a+`
-h400000v`+(40+l)+"h-400000z"},qt=function(l,a){return"M473,"+(2713+l+a)+`
-c339.3,-1799.3,509.3,-2700,510,-2702 l`+l/5.298+" -"+l+`
-c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+l)+`H1017.7
-s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
-c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
-c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
-s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
-606zM`+(1001+l)+" "+a+"h400000v"+(40+l)+"H1017.7z"},Sn=function(l){const a=l/2;return"M400000 "+l+" H0 L"+a+" 0 l65 45 L145 "+(l-80)+" H400000z"},ir=function(l,a,c){const f=c-54-a-l;return"M702 "+(l+a)+"H400000"+(40+l)+`
-H742v`+f+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
-h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
-c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
-219 661 l218 661zM702 `+a+"H400000v"+(40+l)+"H742z"},Er=function(l,a,c){a=1e3*a;let f="";switch(l){case"sqrtMain":f=Ee(a,ce);break;case"sqrtSize1":f=et(a,ce);break;case"sqrtSize2":f=Et(a,ce);break;case"sqrtSize3":f=Lt(a,ce);break;case"sqrtSize4":f=qt(a,ce);break;case"sqrtTall":f=ir(a,ce,c)}return f},Tr=function(l,a){switch(l){case"⎜":return"M291 0 H417 V"+a+" H291z M291 0 H417 V"+a+" H291z";case"∣":return"M145 0 H188 V"+a+" H145z M145 0 H188 V"+a+" H145z";case"∥":return"M145 0 H188 V"+a+" H145z M145 0 H188 V"+a+" H145z"+("M367 0 H410 V"+a+" H367z M367 0 H410 V"+a+" H367z");case"⎟":return"M457 0 H583 V"+a+" H457z M457 0 H583 V"+a+" H457z";case"⎢":return"M319 0 H403 V"+a+" H319z M319 0 H403 V"+a+" H319z";case"⎥":return"M263 0 H347 V"+a+" H263z M263 0 H347 V"+a+" H263z";case"⎪":return"M384 0 H504 V"+a+" H384z M384 0 H504 V"+a+" H384z";case"⏐":return"M312 0 H355 V"+a+" H312z M312 0 H355 V"+a+" H312z";case"‖":return"M257 0 H300 V"+a+" H257z M257 0 H300 V"+a+" H257z"+("M478 0 H521 V"+a+" H478z M478 0 H521 V"+a+" H478z");default:return""}},ar={doubleleftarrow:`M262 157
-l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
- 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
- 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
-c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
- 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
--86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
--2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
-m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
--10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
- 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
--33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
--17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
--13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
-c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
--107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
- 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
--5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
-c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
- 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
- 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
- l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
--45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
- 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
- 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
- 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
--331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
-H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
- 435 0h399565z`,leftgroupunder:`M400000 262
-H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
- 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
--3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
--18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
--196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
- 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
--4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
--10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
-m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
- 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
- 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
--152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
- 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
--2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
-v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
--83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
--68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
- 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
-M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
-M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
--.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
-c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
- 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
-M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
-c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
--53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
- 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
- 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
-c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
- 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
- 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
--5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
--320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
-m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
-60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
--451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
-m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
-c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
--480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
-m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
-85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
--707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
-m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
-c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
--16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
- 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
- 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
--40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
--12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
- 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
--6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
-s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
-c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
- 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
--174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
- 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
- 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
--3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
--10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
- 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
--18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
- 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
-m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
- 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
--7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
--27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
- 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
- 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
--64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
-m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
- 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
--13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
- 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
-M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
- 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
--52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
--167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
- 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
--70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
--40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
--37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
- 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
-c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
- 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
- 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
--19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
- 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
--2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
- 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
- 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
--68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
--8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
- 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
-c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
- 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
--11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
- 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
- 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
- -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
--11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
- 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
- 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
- -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
-3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
-10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
--1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
--7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
-H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
-c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
-c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
--11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
--11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
--11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
--5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
--11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
--11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
--11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
-c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
-c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
-s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
-121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
-s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
-c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
-M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
--27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
-13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
--84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
--119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
--12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
-151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
-c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
-c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
-c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
-c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
-M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
-c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
--231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
-c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
-M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
-c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
-1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
--152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
-M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
-c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
--231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
-c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
-M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},le=function(l,a){switch(l){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+a+` v1759 h347 v-84
-H403z M403 1759 V0 H319 V1759 v`+a+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+a+` v1759 H0 v84 H347z
-M347 1759 V0 H263 V1759 v`+a+" v1759 h84z";case"vert":return"M145 15 v585 v"+a+` v585 c2.667,10,9.667,15,21,15
-c10,0,16.667,-5,20,-15 v-585 v`+-a+` v-585 c-2.667,-10,-9.667,-15,-21,-15
-c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+a+" v585 h43z";case"doublevert":return"M145 15 v585 v"+a+` v585 c2.667,10,9.667,15,21,15
-c10,0,16.667,-5,20,-15 v-585 v`+-a+` v-585 c-2.667,-10,-9.667,-15,-21,-15
-c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+a+` v585 h43z
-M367 15 v585 v`+a+` v585 c2.667,10,9.667,15,21,15
-c10,0,16.667,-5,20,-15 v-585 v`+-a+` v-585 c-2.667,-10,-9.667,-15,-21,-15
-c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+a+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+a+` v1715 h263 v84 H319z
-MM319 602 V0 H403 V602 v`+a+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+a+` v1799 H0 v-84 H319z
-MM319 602 V0 H403 V602 v`+a+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+a+` v602 h84z
-M403 1759 V0 H319 V1759 v`+a+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+a+` v602 h84z
-M347 1759 V0 h-84 V1759 v`+a+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
-c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
--36,557 l0,`+(a+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
-949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
-c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
--544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
-l0,-`+(a+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
--210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
-63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
-c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(a+9)+`
-c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
-c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
-c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
-c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
-l0,-`+(a+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
--470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};var $e={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}};const An={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Vn={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function Nr(l,a){$e[l]=a}function Cr(l,a,c){if(!$e[a])throw new Error("Font metrics not found for font: "+a+".");let f=l.charCodeAt(0),m=$e[a][f];if(!m&&l[0]in Vn&&(f=Vn[l[0]].charCodeAt(0),m=$e[a][f]),!m&&c==="text"&&U(f)&&(m=$e[a][77]),m)return{depth:m[0],height:m[1],italic:m[2],skew:m[3],width:m[4]}}const $={};function F(l){let a;if(l>=5?a=0:l>=3?a=1:a=2,!$[a]){const c=$[a]={cssEmPerMu:An.quad[a]/18};for(const f in An)An.hasOwnProperty(f)&&(c[f]=An[f][a])}return $[a]}const ee=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],we=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],st=function(l,a){return a.size<2?l:ee[l-1][a.size-1]};class _e{constructor(a){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=a.style,this.color=a.color,this.size=a.size||_e.BASESIZE,this.textSize=a.textSize||this.size,this.phantom=!!a.phantom,this.font=a.font||"",this.fontFamily=a.fontFamily||"",this.fontWeight=a.fontWeight||"",this.fontShape=a.fontShape||"",this.sizeMultiplier=we[this.size-1],this.maxSize=a.maxSize,this.minRuleThickness=a.minRuleThickness,this._fontMetrics=void 0}extend(a){const c={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(const f in a)a.hasOwnProperty(f)&&(c[f]=a[f]);return new _e(c)}havingStyle(a){return this.style===a?this:this.extend({style:a,size:st(this.textSize,a)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(a){return this.size===a&&this.textSize===a?this:this.extend({style:this.style.text(),size:a,textSize:a,sizeMultiplier:we[a-1]})}havingBaseStyle(a){a=a||this.style.text();const c=st(_e.BASESIZE,a);return this.size===c&&this.textSize===_e.BASESIZE&&this.style===a?this:this.extend({style:a,size:c})}havingBaseSizing(){let a;switch(this.style.id){case 4:case 5:a=3;break;case 6:case 7:a=1;break;default:a=6}return this.extend({style:this.style.text(),size:a})}withColor(a){return this.extend({color:a})}withPhantom(){return this.extend({phantom:!0})}withFont(a){return this.extend({font:a})}withTextFontFamily(a){return this.extend({fontFamily:a,font:""})}withTextFontWeight(a){return this.extend({fontWeight:a,font:""})}withTextFontShape(a){return this.extend({fontShape:a,font:""})}sizingClasses(a){return a.size!==this.size?["sizing","reset-size"+a.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==_e.BASESIZE?["sizing","reset-size"+this.size,"size"+_e.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=F(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}_e.BASESIZE=6;var J=_e;const re={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},tt={ex:!0,em:!0,mu:!0},ft=function(l){return typeof l!="string"&&(l=l.unit),l in re||l in tt||l==="ex"},Ke=function(l,a){let c;if(l.unit in re)c=re[l.unit]/a.fontMetrics().ptPerEm/a.sizeMultiplier;else if(l.unit==="mu")c=a.fontMetrics().cssEmPerMu;else{let f;if(a.style.isTight()?f=a.havingStyle(a.style.text()):f=a,l.unit==="ex")c=f.fontMetrics().xHeight;else if(l.unit==="em")c=f.fontMetrics().quad;else throw new i("Invalid unit: '"+l.unit+"'");f!==a&&(c*=f.sizeMultiplier/a.sizeMultiplier)}return Math.min(l.number*c,a.maxSize)},oe=function(l){return+l.toFixed(4)+"em"},jt=function(l){return l.filter(a=>a).join(" ")},Di=function(l,a,c){if(this.classes=l||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=c||{},a){a.style.isTight()&&this.classes.push("mtight");const f=a.getColor();f&&(this.style.color=f)}},Ro=function(l){const a=document.createElement(l);a.className=jt(this.classes);for(const c in this.style)this.style.hasOwnProperty(c)&&(a.style[c]=this.style[c]);for(const c in this.attributes)this.attributes.hasOwnProperty(c)&&a.setAttribute(c,this.attributes[c]);for(let c=0;c/=\x00-\x1f]/,Vc=function(l){let a="<"+l;this.classes.length&&(a+=' class="'+p(jt(this.classes))+'"');let c="";for(const f in this.style)this.style.hasOwnProperty(f)&&(c+=u(f)+":"+this.style[f]+";");c&&(a+=' style="'+p(c)+'"');for(const f in this.attributes)if(this.attributes.hasOwnProperty(f)){if(Wp.test(f))throw new i("Invalid attribute name '"+f+"'");a+=" "+f+'="'+p(this.attributes[f])+'"'}a+=">";for(let f=0;f",a};class Ps{constructor(a,c,f,m){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Di.call(this,a,f,m),this.children=c||[]}setAttribute(a,c){this.attributes[a]=c}hasClass(a){return this.classes.includes(a)}toNode(){return Ro.call(this,"span")}toMarkup(){return Vc.call(this,"span")}}class Po{constructor(a,c,f,m){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Di.call(this,c,m),this.children=f||[],this.setAttribute("href",a)}setAttribute(a,c){this.attributes[a]=c}hasClass(a){return this.classes.includes(a)}toNode(){return Ro.call(this,"a")}toMarkup(){return Vc.call(this,"a")}}class Gp{constructor(a,c,f){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=c,this.src=a,this.classes=["mord"],this.style=f}hasClass(a){return this.classes.includes(a)}toNode(){const a=document.createElement("img");a.src=this.src,a.alt=this.alt,a.className="mord";for(const c in this.style)this.style.hasOwnProperty(c)&&(a.style[c]=this.style[c]);return a}toMarkup(){let a=''+p(this.alt)+'0&&(c=document.createElement("span"),c.style.marginRight=oe(this.italic)),this.classes.length>0&&(c=c||document.createElement("span"),c.className=jt(this.classes));for(const f in this.style)this.style.hasOwnProperty(f)&&(c=c||document.createElement("span"),c.style[f]=this.style[f]);return c?(c.appendChild(a),c):a}toMarkup(){let a=!1,c="0&&(f+="margin-right:"+this.italic+"em;");for(const y in this.style)this.style.hasOwnProperty(y)&&(f+=u(y)+":"+this.style[y]+";");f&&(a=!0,c+=' style="'+p(f)+'"');const m=p(this.text);return a?(c+=">",c+=m,c+="",c):m}}class jn{constructor(a,c){this.children=void 0,this.attributes=void 0,this.children=a||[],this.attributes=c||{}}toNode(){const c=document.createElementNS("http://www.w3.org/2000/svg","svg");for(const f in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,f)&&c.setAttribute(f,this.attributes[f]);for(let f=0;f':''}}class $o{constructor(a){this.attributes=void 0,this.attributes=a||{}}toNode(){const c=document.createElementNS("http://www.w3.org/2000/svg","line");for(const f in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,f)&&c.setAttribute(f,this.attributes[f]);return c}toMarkup(){let a=" but got "+String(l)+".")}const Yp={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Jp={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Ri={math:{},text:{}};var dt=Ri;function g(l,a,c,f,m,y){Ri[l][m]={font:a,group:c,replace:f},y&&f&&(Ri[l][f]=Ri[l][m])}const b="math",ne="text",S="main",O="ams",ht="accent-token",me="bin",Wt="close",Zr="inner",ke="mathord",St="op-token",cn="open",Pi="punct",L="rel",Wn="spacing",z="textord";g(b,S,L,"≡","\\equiv",!0),g(b,S,L,"≺","\\prec",!0),g(b,S,L,"≻","\\succ",!0),g(b,S,L,"∼","\\sim",!0),g(b,S,L,"⊥","\\perp"),g(b,S,L,"⪯","\\preceq",!0),g(b,S,L,"⪰","\\succeq",!0),g(b,S,L,"≃","\\simeq",!0),g(b,S,L,"∣","\\mid",!0),g(b,S,L,"≪","\\ll",!0),g(b,S,L,"≫","\\gg",!0),g(b,S,L,"≍","\\asymp",!0),g(b,S,L,"∥","\\parallel"),g(b,S,L,"⋈","\\bowtie",!0),g(b,S,L,"⌣","\\smile",!0),g(b,S,L,"⊑","\\sqsubseteq",!0),g(b,S,L,"⊒","\\sqsupseteq",!0),g(b,S,L,"≐","\\doteq",!0),g(b,S,L,"⌢","\\frown",!0),g(b,S,L,"∋","\\ni",!0),g(b,S,L,"∝","\\propto",!0),g(b,S,L,"⊢","\\vdash",!0),g(b,S,L,"⊣","\\dashv",!0),g(b,S,L,"∋","\\owns"),g(b,S,Pi,".","\\ldotp"),g(b,S,Pi,"⋅","\\cdotp"),g(b,S,z,"#","\\#"),g(ne,S,z,"#","\\#"),g(b,S,z,"&","\\&"),g(ne,S,z,"&","\\&"),g(b,S,z,"ℵ","\\aleph",!0),g(b,S,z,"∀","\\forall",!0),g(b,S,z,"ℏ","\\hbar",!0),g(b,S,z,"∃","\\exists",!0),g(b,S,z,"∇","\\nabla",!0),g(b,S,z,"♭","\\flat",!0),g(b,S,z,"ℓ","\\ell",!0),g(b,S,z,"♮","\\natural",!0),g(b,S,z,"♣","\\clubsuit",!0),g(b,S,z,"℘","\\wp",!0),g(b,S,z,"♯","\\sharp",!0),g(b,S,z,"♢","\\diamondsuit",!0),g(b,S,z,"ℜ","\\Re",!0),g(b,S,z,"♡","\\heartsuit",!0),g(b,S,z,"ℑ","\\Im",!0),g(b,S,z,"♠","\\spadesuit",!0),g(b,S,z,"§","\\S",!0),g(ne,S,z,"§","\\S"),g(b,S,z,"¶","\\P",!0),g(ne,S,z,"¶","\\P"),g(b,S,z,"†","\\dag"),g(ne,S,z,"†","\\dag"),g(ne,S,z,"†","\\textdagger"),g(b,S,z,"‡","\\ddag"),g(ne,S,z,"‡","\\ddag"),g(ne,S,z,"‡","\\textdaggerdbl"),g(b,S,Wt,"⎱","\\rmoustache",!0),g(b,S,cn,"⎰","\\lmoustache",!0),g(b,S,Wt,"⟯","\\rgroup",!0),g(b,S,cn,"⟮","\\lgroup",!0),g(b,S,me,"∓","\\mp",!0),g(b,S,me,"⊖","\\ominus",!0),g(b,S,me,"⊎","\\uplus",!0),g(b,S,me,"⊓","\\sqcap",!0),g(b,S,me,"∗","\\ast"),g(b,S,me,"⊔","\\sqcup",!0),g(b,S,me,"◯","\\bigcirc",!0),g(b,S,me,"∙","\\bullet",!0),g(b,S,me,"‡","\\ddagger"),g(b,S,me,"≀","\\wr",!0),g(b,S,me,"⨿","\\amalg"),g(b,S,me,"&","\\And"),g(b,S,L,"⟵","\\longleftarrow",!0),g(b,S,L,"⇐","\\Leftarrow",!0),g(b,S,L,"⟸","\\Longleftarrow",!0),g(b,S,L,"⟶","\\longrightarrow",!0),g(b,S,L,"⇒","\\Rightarrow",!0),g(b,S,L,"⟹","\\Longrightarrow",!0),g(b,S,L,"↔","\\leftrightarrow",!0),g(b,S,L,"⟷","\\longleftrightarrow",!0),g(b,S,L,"⇔","\\Leftrightarrow",!0),g(b,S,L,"⟺","\\Longleftrightarrow",!0),g(b,S,L,"↦","\\mapsto",!0),g(b,S,L,"⟼","\\longmapsto",!0),g(b,S,L,"↗","\\nearrow",!0),g(b,S,L,"↩","\\hookleftarrow",!0),g(b,S,L,"↪","\\hookrightarrow",!0),g(b,S,L,"↘","\\searrow",!0),g(b,S,L,"↼","\\leftharpoonup",!0),g(b,S,L,"⇀","\\rightharpoonup",!0),g(b,S,L,"↙","\\swarrow",!0),g(b,S,L,"↽","\\leftharpoondown",!0),g(b,S,L,"⇁","\\rightharpoondown",!0),g(b,S,L,"↖","\\nwarrow",!0),g(b,S,L,"⇌","\\rightleftharpoons",!0),g(b,O,L,"≮","\\nless",!0),g(b,O,L,"","\\@nleqslant"),g(b,O,L,"","\\@nleqq"),g(b,O,L,"⪇","\\lneq",!0),g(b,O,L,"≨","\\lneqq",!0),g(b,O,L,"","\\@lvertneqq"),g(b,O,L,"⋦","\\lnsim",!0),g(b,O,L,"⪉","\\lnapprox",!0),g(b,O,L,"⊀","\\nprec",!0),g(b,O,L,"⋠","\\npreceq",!0),g(b,O,L,"⋨","\\precnsim",!0),g(b,O,L,"⪹","\\precnapprox",!0),g(b,O,L,"≁","\\nsim",!0),g(b,O,L,"","\\@nshortmid"),g(b,O,L,"∤","\\nmid",!0),g(b,O,L,"⊬","\\nvdash",!0),g(b,O,L,"⊭","\\nvDash",!0),g(b,O,L,"⋪","\\ntriangleleft"),g(b,O,L,"⋬","\\ntrianglelefteq",!0),g(b,O,L,"⊊","\\subsetneq",!0),g(b,O,L,"","\\@varsubsetneq"),g(b,O,L,"⫋","\\subsetneqq",!0),g(b,O,L,"","\\@varsubsetneqq"),g(b,O,L,"≯","\\ngtr",!0),g(b,O,L,"","\\@ngeqslant"),g(b,O,L,"","\\@ngeqq"),g(b,O,L,"⪈","\\gneq",!0),g(b,O,L,"≩","\\gneqq",!0),g(b,O,L,"","\\@gvertneqq"),g(b,O,L,"⋧","\\gnsim",!0),g(b,O,L,"⪊","\\gnapprox",!0),g(b,O,L,"⊁","\\nsucc",!0),g(b,O,L,"⋡","\\nsucceq",!0),g(b,O,L,"⋩","\\succnsim",!0),g(b,O,L,"⪺","\\succnapprox",!0),g(b,O,L,"≆","\\ncong",!0),g(b,O,L,"","\\@nshortparallel"),g(b,O,L,"∦","\\nparallel",!0),g(b,O,L,"⊯","\\nVDash",!0),g(b,O,L,"⋫","\\ntriangleright"),g(b,O,L,"⋭","\\ntrianglerighteq",!0),g(b,O,L,"","\\@nsupseteqq"),g(b,O,L,"⊋","\\supsetneq",!0),g(b,O,L,"","\\@varsupsetneq"),g(b,O,L,"⫌","\\supsetneqq",!0),g(b,O,L,"","\\@varsupsetneqq"),g(b,O,L,"⊮","\\nVdash",!0),g(b,O,L,"⪵","\\precneqq",!0),g(b,O,L,"⪶","\\succneqq",!0),g(b,O,L,"","\\@nsubseteqq"),g(b,O,me,"⊴","\\unlhd"),g(b,O,me,"⊵","\\unrhd"),g(b,O,L,"↚","\\nleftarrow",!0),g(b,O,L,"↛","\\nrightarrow",!0),g(b,O,L,"⇍","\\nLeftarrow",!0),g(b,O,L,"⇏","\\nRightarrow",!0),g(b,O,L,"↮","\\nleftrightarrow",!0),g(b,O,L,"⇎","\\nLeftrightarrow",!0),g(b,O,L,"△","\\vartriangle"),g(b,O,z,"ℏ","\\hslash"),g(b,O,z,"▽","\\triangledown"),g(b,O,z,"◊","\\lozenge"),g(b,O,z,"Ⓢ","\\circledS"),g(b,O,z,"®","\\circledR"),g(ne,O,z,"®","\\circledR"),g(b,O,z,"∡","\\measuredangle",!0),g(b,O,z,"∄","\\nexists"),g(b,O,z,"℧","\\mho"),g(b,O,z,"Ⅎ","\\Finv",!0),g(b,O,z,"⅁","\\Game",!0),g(b,O,z,"‵","\\backprime"),g(b,O,z,"▲","\\blacktriangle"),g(b,O,z,"▼","\\blacktriangledown"),g(b,O,z,"■","\\blacksquare"),g(b,O,z,"⧫","\\blacklozenge"),g(b,O,z,"★","\\bigstar"),g(b,O,z,"∢","\\sphericalangle",!0),g(b,O,z,"∁","\\complement",!0),g(b,O,z,"ð","\\eth",!0),g(ne,S,z,"ð","ð"),g(b,O,z,"╱","\\diagup"),g(b,O,z,"╲","\\diagdown"),g(b,O,z,"□","\\square"),g(b,O,z,"□","\\Box"),g(b,O,z,"◊","\\Diamond"),g(b,O,z,"¥","\\yen",!0),g(ne,O,z,"¥","\\yen",!0),g(b,O,z,"✓","\\checkmark",!0),g(ne,O,z,"✓","\\checkmark"),g(b,O,z,"ℶ","\\beth",!0),g(b,O,z,"ℸ","\\daleth",!0),g(b,O,z,"ℷ","\\gimel",!0),g(b,O,z,"ϝ","\\digamma",!0),g(b,O,z,"ϰ","\\varkappa"),g(b,O,cn,"┌","\\@ulcorner",!0),g(b,O,Wt,"┐","\\@urcorner",!0),g(b,O,cn,"└","\\@llcorner",!0),g(b,O,Wt,"┘","\\@lrcorner",!0),g(b,O,L,"≦","\\leqq",!0),g(b,O,L,"⩽","\\leqslant",!0),g(b,O,L,"⪕","\\eqslantless",!0),g(b,O,L,"≲","\\lesssim",!0),g(b,O,L,"⪅","\\lessapprox",!0),g(b,O,L,"≊","\\approxeq",!0),g(b,O,me,"⋖","\\lessdot"),g(b,O,L,"⋘","\\lll",!0),g(b,O,L,"≶","\\lessgtr",!0),g(b,O,L,"⋚","\\lesseqgtr",!0),g(b,O,L,"⪋","\\lesseqqgtr",!0),g(b,O,L,"≑","\\doteqdot"),g(b,O,L,"≓","\\risingdotseq",!0),g(b,O,L,"≒","\\fallingdotseq",!0),g(b,O,L,"∽","\\backsim",!0),g(b,O,L,"⋍","\\backsimeq",!0),g(b,O,L,"⫅","\\subseteqq",!0),g(b,O,L,"⋐","\\Subset",!0),g(b,O,L,"⊏","\\sqsubset",!0),g(b,O,L,"≼","\\preccurlyeq",!0),g(b,O,L,"⋞","\\curlyeqprec",!0),g(b,O,L,"≾","\\precsim",!0),g(b,O,L,"⪷","\\precapprox",!0),g(b,O,L,"⊲","\\vartriangleleft"),g(b,O,L,"⊴","\\trianglelefteq"),g(b,O,L,"⊨","\\vDash",!0),g(b,O,L,"⊪","\\Vvdash",!0),g(b,O,L,"⌣","\\smallsmile"),g(b,O,L,"⌢","\\smallfrown"),g(b,O,L,"≏","\\bumpeq",!0),g(b,O,L,"≎","\\Bumpeq",!0),g(b,O,L,"≧","\\geqq",!0),g(b,O,L,"⩾","\\geqslant",!0),g(b,O,L,"⪖","\\eqslantgtr",!0),g(b,O,L,"≳","\\gtrsim",!0),g(b,O,L,"⪆","\\gtrapprox",!0),g(b,O,me,"⋗","\\gtrdot"),g(b,O,L,"⋙","\\ggg",!0),g(b,O,L,"≷","\\gtrless",!0),g(b,O,L,"⋛","\\gtreqless",!0),g(b,O,L,"⪌","\\gtreqqless",!0),g(b,O,L,"≖","\\eqcirc",!0),g(b,O,L,"≗","\\circeq",!0),g(b,O,L,"≜","\\triangleq",!0),g(b,O,L,"∼","\\thicksim"),g(b,O,L,"≈","\\thickapprox"),g(b,O,L,"⫆","\\supseteqq",!0),g(b,O,L,"⋑","\\Supset",!0),g(b,O,L,"⊐","\\sqsupset",!0),g(b,O,L,"≽","\\succcurlyeq",!0),g(b,O,L,"⋟","\\curlyeqsucc",!0),g(b,O,L,"≿","\\succsim",!0),g(b,O,L,"⪸","\\succapprox",!0),g(b,O,L,"⊳","\\vartriangleright"),g(b,O,L,"⊵","\\trianglerighteq"),g(b,O,L,"⊩","\\Vdash",!0),g(b,O,L,"∣","\\shortmid"),g(b,O,L,"∥","\\shortparallel"),g(b,O,L,"≬","\\between",!0),g(b,O,L,"⋔","\\pitchfork",!0),g(b,O,L,"∝","\\varpropto"),g(b,O,L,"◀","\\blacktriangleleft"),g(b,O,L,"∴","\\therefore",!0),g(b,O,L,"∍","\\backepsilon"),g(b,O,L,"▶","\\blacktriangleright"),g(b,O,L,"∵","\\because",!0),g(b,O,L,"⋘","\\llless"),g(b,O,L,"⋙","\\gggtr"),g(b,O,me,"⊲","\\lhd"),g(b,O,me,"⊳","\\rhd"),g(b,O,L,"≂","\\eqsim",!0),g(b,S,L,"⋈","\\Join"),g(b,O,L,"≑","\\Doteq",!0),g(b,O,me,"∔","\\dotplus",!0),g(b,O,me,"∖","\\smallsetminus"),g(b,O,me,"⋒","\\Cap",!0),g(b,O,me,"⋓","\\Cup",!0),g(b,O,me,"⩞","\\doublebarwedge",!0),g(b,O,me,"⊟","\\boxminus",!0),g(b,O,me,"⊞","\\boxplus",!0),g(b,O,me,"⋇","\\divideontimes",!0),g(b,O,me,"⋉","\\ltimes",!0),g(b,O,me,"⋊","\\rtimes",!0),g(b,O,me,"⋋","\\leftthreetimes",!0),g(b,O,me,"⋌","\\rightthreetimes",!0),g(b,O,me,"⋏","\\curlywedge",!0),g(b,O,me,"⋎","\\curlyvee",!0),g(b,O,me,"⊝","\\circleddash",!0),g(b,O,me,"⊛","\\circledast",!0),g(b,O,me,"⋅","\\centerdot"),g(b,O,me,"⊺","\\intercal",!0),g(b,O,me,"⋒","\\doublecap"),g(b,O,me,"⋓","\\doublecup"),g(b,O,me,"⊠","\\boxtimes",!0),g(b,O,L,"⇢","\\dashrightarrow",!0),g(b,O,L,"⇠","\\dashleftarrow",!0),g(b,O,L,"⇇","\\leftleftarrows",!0),g(b,O,L,"⇆","\\leftrightarrows",!0),g(b,O,L,"⇚","\\Lleftarrow",!0),g(b,O,L,"↞","\\twoheadleftarrow",!0),g(b,O,L,"↢","\\leftarrowtail",!0),g(b,O,L,"↫","\\looparrowleft",!0),g(b,O,L,"⇋","\\leftrightharpoons",!0),g(b,O,L,"↶","\\curvearrowleft",!0),g(b,O,L,"↺","\\circlearrowleft",!0),g(b,O,L,"↰","\\Lsh",!0),g(b,O,L,"⇈","\\upuparrows",!0),g(b,O,L,"↿","\\upharpoonleft",!0),g(b,O,L,"⇃","\\downharpoonleft",!0),g(b,S,L,"⊶","\\origof",!0),g(b,S,L,"⊷","\\imageof",!0),g(b,O,L,"⊸","\\multimap",!0),g(b,O,L,"↭","\\leftrightsquigarrow",!0),g(b,O,L,"⇉","\\rightrightarrows",!0),g(b,O,L,"⇄","\\rightleftarrows",!0),g(b,O,L,"↠","\\twoheadrightarrow",!0),g(b,O,L,"↣","\\rightarrowtail",!0),g(b,O,L,"↬","\\looparrowright",!0),g(b,O,L,"↷","\\curvearrowright",!0),g(b,O,L,"↻","\\circlearrowright",!0),g(b,O,L,"↱","\\Rsh",!0),g(b,O,L,"⇊","\\downdownarrows",!0),g(b,O,L,"↾","\\upharpoonright",!0),g(b,O,L,"⇂","\\downharpoonright",!0),g(b,O,L,"⇝","\\rightsquigarrow",!0),g(b,O,L,"⇝","\\leadsto"),g(b,O,L,"⇛","\\Rrightarrow",!0),g(b,O,L,"↾","\\restriction"),g(b,S,z,"‘","`"),g(b,S,z,"$","\\$"),g(ne,S,z,"$","\\$"),g(ne,S,z,"$","\\textdollar"),g(b,S,z,"%","\\%"),g(ne,S,z,"%","\\%"),g(b,S,z,"_","\\_"),g(ne,S,z,"_","\\_"),g(ne,S,z,"_","\\textunderscore"),g(b,S,z,"∠","\\angle",!0),g(b,S,z,"∞","\\infty",!0),g(b,S,z,"′","\\prime"),g(b,S,z,"△","\\triangle"),g(b,S,z,"Γ","\\Gamma",!0),g(b,S,z,"Δ","\\Delta",!0),g(b,S,z,"Θ","\\Theta",!0),g(b,S,z,"Λ","\\Lambda",!0),g(b,S,z,"Ξ","\\Xi",!0),g(b,S,z,"Π","\\Pi",!0),g(b,S,z,"Σ","\\Sigma",!0),g(b,S,z,"Υ","\\Upsilon",!0),g(b,S,z,"Φ","\\Phi",!0),g(b,S,z,"Ψ","\\Psi",!0),g(b,S,z,"Ω","\\Omega",!0),g(b,S,z,"A","Α"),g(b,S,z,"B","Β"),g(b,S,z,"E","Ε"),g(b,S,z,"Z","Ζ"),g(b,S,z,"H","Η"),g(b,S,z,"I","Ι"),g(b,S,z,"K","Κ"),g(b,S,z,"M","Μ"),g(b,S,z,"N","Ν"),g(b,S,z,"O","Ο"),g(b,S,z,"P","Ρ"),g(b,S,z,"T","Τ"),g(b,S,z,"X","Χ"),g(b,S,z,"¬","\\neg",!0),g(b,S,z,"¬","\\lnot"),g(b,S,z,"⊤","\\top"),g(b,S,z,"⊥","\\bot"),g(b,S,z,"∅","\\emptyset"),g(b,O,z,"∅","\\varnothing"),g(b,S,ke,"α","\\alpha",!0),g(b,S,ke,"β","\\beta",!0),g(b,S,ke,"γ","\\gamma",!0),g(b,S,ke,"δ","\\delta",!0),g(b,S,ke,"ϵ","\\epsilon",!0),g(b,S,ke,"ζ","\\zeta",!0),g(b,S,ke,"η","\\eta",!0),g(b,S,ke,"θ","\\theta",!0),g(b,S,ke,"ι","\\iota",!0),g(b,S,ke,"κ","\\kappa",!0),g(b,S,ke,"λ","\\lambda",!0),g(b,S,ke,"μ","\\mu",!0),g(b,S,ke,"ν","\\nu",!0),g(b,S,ke,"ξ","\\xi",!0),g(b,S,ke,"ο","\\omicron",!0),g(b,S,ke,"π","\\pi",!0),g(b,S,ke,"ρ","\\rho",!0),g(b,S,ke,"σ","\\sigma",!0),g(b,S,ke,"τ","\\tau",!0),g(b,S,ke,"υ","\\upsilon",!0),g(b,S,ke,"ϕ","\\phi",!0),g(b,S,ke,"χ","\\chi",!0),g(b,S,ke,"ψ","\\psi",!0),g(b,S,ke,"ω","\\omega",!0),g(b,S,ke,"ε","\\varepsilon",!0),g(b,S,ke,"ϑ","\\vartheta",!0),g(b,S,ke,"ϖ","\\varpi",!0),g(b,S,ke,"ϱ","\\varrho",!0),g(b,S,ke,"ς","\\varsigma",!0),g(b,S,ke,"φ","\\varphi",!0),g(b,S,me,"∗","*",!0),g(b,S,me,"+","+"),g(b,S,me,"−","-",!0),g(b,S,me,"⋅","\\cdot",!0),g(b,S,me,"∘","\\circ",!0),g(b,S,me,"÷","\\div",!0),g(b,S,me,"±","\\pm",!0),g(b,S,me,"×","\\times",!0),g(b,S,me,"∩","\\cap",!0),g(b,S,me,"∪","\\cup",!0),g(b,S,me,"∖","\\setminus",!0),g(b,S,me,"∧","\\land"),g(b,S,me,"∨","\\lor"),g(b,S,me,"∧","\\wedge",!0),g(b,S,me,"∨","\\vee",!0),g(b,S,z,"√","\\surd"),g(b,S,cn,"⟨","\\langle",!0),g(b,S,cn,"∣","\\lvert"),g(b,S,cn,"∥","\\lVert"),g(b,S,Wt,"?","?"),g(b,S,Wt,"!","!"),g(b,S,Wt,"⟩","\\rangle",!0),g(b,S,Wt,"∣","\\rvert"),g(b,S,Wt,"∥","\\rVert"),g(b,S,L,"=","="),g(b,S,L,":",":"),g(b,S,L,"≈","\\approx",!0),g(b,S,L,"≅","\\cong",!0),g(b,S,L,"≥","\\ge"),g(b,S,L,"≥","\\geq",!0),g(b,S,L,"←","\\gets"),g(b,S,L,">","\\gt",!0),g(b,S,L,"∈","\\in",!0),g(b,S,L,"","\\@not"),g(b,S,L,"⊂","\\subset",!0),g(b,S,L,"⊃","\\supset",!0),g(b,S,L,"⊆","\\subseteq",!0),g(b,S,L,"⊇","\\supseteq",!0),g(b,O,L,"⊈","\\nsubseteq",!0),g(b,O,L,"⊉","\\nsupseteq",!0),g(b,S,L,"⊨","\\models"),g(b,S,L,"←","\\leftarrow",!0),g(b,S,L,"≤","\\le"),g(b,S,L,"≤","\\leq",!0),g(b,S,L,"<","\\lt",!0),g(b,S,L,"→","\\rightarrow",!0),g(b,S,L,"→","\\to"),g(b,O,L,"≱","\\ngeq",!0),g(b,O,L,"≰","\\nleq",!0),g(b,S,Wn," ","\\ "),g(b,S,Wn," ","\\space"),g(b,S,Wn," ","\\nobreakspace"),g(ne,S,Wn," ","\\ "),g(ne,S,Wn," "," "),g(ne,S,Wn," ","\\space"),g(ne,S,Wn," ","\\nobreakspace"),g(b,S,Wn,null,"\\nobreak"),g(b,S,Wn,null,"\\allowbreak"),g(b,S,Pi,",",","),g(b,S,Pi,";",";"),g(b,O,me,"⊼","\\barwedge",!0),g(b,O,me,"⊻","\\veebar",!0),g(b,S,me,"⊙","\\odot",!0),g(b,S,me,"⊕","\\oplus",!0),g(b,S,me,"⊗","\\otimes",!0),g(b,S,z,"∂","\\partial",!0),g(b,S,me,"⊘","\\oslash",!0),g(b,O,me,"⊚","\\circledcirc",!0),g(b,O,me,"⊡","\\boxdot",!0),g(b,S,me,"△","\\bigtriangleup"),g(b,S,me,"▽","\\bigtriangledown"),g(b,S,me,"†","\\dagger"),g(b,S,me,"⋄","\\diamond"),g(b,S,me,"⋆","\\star"),g(b,S,me,"◃","\\triangleleft"),g(b,S,me,"▹","\\triangleright"),g(b,S,cn,"{","\\{"),g(ne,S,z,"{","\\{"),g(ne,S,z,"{","\\textbraceleft"),g(b,S,Wt,"}","\\}"),g(ne,S,z,"}","\\}"),g(ne,S,z,"}","\\textbraceright"),g(b,S,cn,"{","\\lbrace"),g(b,S,Wt,"}","\\rbrace"),g(b,S,cn,"[","\\lbrack",!0),g(ne,S,z,"[","\\lbrack",!0),g(b,S,Wt,"]","\\rbrack",!0),g(ne,S,z,"]","\\rbrack",!0),g(b,S,cn,"(","\\lparen",!0),g(b,S,Wt,")","\\rparen",!0),g(ne,S,z,"<","\\textless",!0),g(ne,S,z,">","\\textgreater",!0),g(b,S,cn,"⌊","\\lfloor",!0),g(b,S,Wt,"⌋","\\rfloor",!0),g(b,S,cn,"⌈","\\lceil",!0),g(b,S,Wt,"⌉","\\rceil",!0),g(b,S,z,"\\","\\backslash"),g(b,S,z,"∣","|"),g(b,S,z,"∣","\\vert"),g(ne,S,z,"|","\\textbar",!0),g(b,S,z,"∥","\\|"),g(b,S,z,"∥","\\Vert"),g(ne,S,z,"∥","\\textbardbl"),g(ne,S,z,"~","\\textasciitilde"),g(ne,S,z,"\\","\\textbackslash"),g(ne,S,z,"^","\\textasciicircum"),g(b,S,L,"↑","\\uparrow",!0),g(b,S,L,"⇑","\\Uparrow",!0),g(b,S,L,"↓","\\downarrow",!0),g(b,S,L,"⇓","\\Downarrow",!0),g(b,S,L,"↕","\\updownarrow",!0),g(b,S,L,"⇕","\\Updownarrow",!0),g(b,S,St,"∐","\\coprod"),g(b,S,St,"⋁","\\bigvee"),g(b,S,St,"⋀","\\bigwedge"),g(b,S,St,"⨄","\\biguplus"),g(b,S,St,"⋂","\\bigcap"),g(b,S,St,"⋃","\\bigcup"),g(b,S,St,"∫","\\int"),g(b,S,St,"∫","\\intop"),g(b,S,St,"∬","\\iint"),g(b,S,St,"∭","\\iiint"),g(b,S,St,"∏","\\prod"),g(b,S,St,"∑","\\sum"),g(b,S,St,"⨂","\\bigotimes"),g(b,S,St,"⨁","\\bigoplus"),g(b,S,St,"⨀","\\bigodot"),g(b,S,St,"∮","\\oint"),g(b,S,St,"∯","\\oiint"),g(b,S,St,"∰","\\oiiint"),g(b,S,St,"⨆","\\bigsqcup"),g(b,S,St,"∫","\\smallint"),g(ne,S,Zr,"…","\\textellipsis"),g(b,S,Zr,"…","\\mathellipsis"),g(ne,S,Zr,"…","\\ldots",!0),g(b,S,Zr,"…","\\ldots",!0),g(b,S,Zr,"⋯","\\@cdots",!0),g(b,S,Zr,"⋱","\\ddots",!0),g(b,S,z,"⋮","\\varvdots"),g(ne,S,z,"⋮","\\varvdots"),g(b,S,ht,"ˊ","\\acute"),g(b,S,ht,"ˋ","\\grave"),g(b,S,ht,"¨","\\ddot"),g(b,S,ht,"~","\\tilde"),g(b,S,ht,"ˉ","\\bar"),g(b,S,ht,"˘","\\breve"),g(b,S,ht,"ˇ","\\check"),g(b,S,ht,"^","\\hat"),g(b,S,ht,"⃗","\\vec"),g(b,S,ht,"˙","\\dot"),g(b,S,ht,"˚","\\mathring"),g(b,S,ke,"","\\@imath"),g(b,S,ke,"","\\@jmath"),g(b,S,z,"ı","ı"),g(b,S,z,"ȷ","ȷ"),g(ne,S,z,"ı","\\i",!0),g(ne,S,z,"ȷ","\\j",!0),g(ne,S,z,"ß","\\ss",!0),g(ne,S,z,"æ","\\ae",!0),g(ne,S,z,"œ","\\oe",!0),g(ne,S,z,"ø","\\o",!0),g(ne,S,z,"Æ","\\AE",!0),g(ne,S,z,"Œ","\\OE",!0),g(ne,S,z,"Ø","\\O",!0),g(ne,S,ht,"ˊ","\\'"),g(ne,S,ht,"ˋ","\\`"),g(ne,S,ht,"ˆ","\\^"),g(ne,S,ht,"˜","\\~"),g(ne,S,ht,"ˉ","\\="),g(ne,S,ht,"˘","\\u"),g(ne,S,ht,"˙","\\."),g(ne,S,ht,"¸","\\c"),g(ne,S,ht,"˚","\\r"),g(ne,S,ht,"ˇ","\\v"),g(ne,S,ht,"¨",'\\"'),g(ne,S,ht,"˝","\\H"),g(ne,S,ht,"◯","\\textcircled");const Wc={"--":!0,"---":!0,"``":!0,"''":!0};g(ne,S,z,"–","--",!0),g(ne,S,z,"–","\\textendash"),g(ne,S,z,"—","---",!0),g(ne,S,z,"—","\\textemdash"),g(ne,S,z,"‘","`",!0),g(ne,S,z,"‘","\\textquoteleft"),g(ne,S,z,"’","'",!0),g(ne,S,z,"’","\\textquoteright"),g(ne,S,z,"“","``",!0),g(ne,S,z,"“","\\textquotedblleft"),g(ne,S,z,"”","''",!0),g(ne,S,z,"”","\\textquotedblright"),g(b,S,z,"°","\\degree",!0),g(ne,S,z,"°","\\degree"),g(ne,S,z,"°","\\textdegree",!0),g(b,S,z,"£","\\pounds"),g(b,S,z,"£","\\mathsterling",!0),g(ne,S,z,"£","\\pounds"),g(ne,S,z,"£","\\textsterling",!0),g(b,O,z,"✠","\\maltese"),g(ne,O,z,"✠","\\maltese");const Gc='0123456789/@."';for(let l=0;lc.toText();return this.children.map(a).join("")}}const Fi=function(l,a,c){return dt[c][l]&&dt[c][l].replace&&(l=dt[c][l].replace),{value:l,metrics:Cr(l,a,c)}},Gt=function(l,a,c,f,m){const y=Fi(l,a,c),_=y.metrics;l=y.value;let E;if(_){let C=_.italic;(c==="text"||f&&f.font==="mathit")&&(C=0),E=new pn(l,_.height,_.depth,C,_.skew,_.width,m)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+l+"' in style '"+a+"' and mode '"+c+"'")),E=new pn(l,0,0,0,0,0,m);if(f){E.maxFontSize=f.sizeMultiplier,f.style.isTight()&&E.classes.push("mtight");const C=f.getColor();C&&(E.style.color=C)}return E},Fo=function(l,a,c,f){return f===void 0&&(f=[]),c.font==="boldsymbol"&&Fi(l,"Main-Bold",a).metrics?Gt(l,"Main-Bold",a,c,f.concat(["mathbf"])):l==="\\"||dt[a][l].font==="main"?Gt(l,"Main-Regular",a,c,f):Gt(l,"AMS-Regular",a,c,f.concat(["amsrm"]))},Zp=function(l,a,c,f,m){return m!=="textord"&&Fi(l,"Math-BoldItalic",a).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},zi=function(l,a,c){const f=l.mode,m=l.text,y=["mord"],_=f==="math"||f==="text"&&a.font,E=_?a.font:a.fontFamily;let C="",R="";if(m.charCodeAt(0)===55349&&([C,R]=Qp(m,f)),C.length>0)return Gt(m,C,f,a,y.concat(R));if(E){let q,H;if(E==="boldsymbol"){const K=Zp(m,f,a,y,c);q=K.fontName,H=[K.fontClass]}else _?(q=qo[E].fontName,H=[E]):(q=qi(E,a.fontWeight,a.fontShape),H=[E,a.fontWeight,a.fontShape]);if(Fi(m,q,f).metrics)return Gt(m,q,f,a,y.concat(H));if(Wc.hasOwnProperty(m)&&q.slice(0,10)==="Typewriter"){const K=[];for(let Z=0;Z{if(jt(l.classes)!==jt(a.classes)||l.skew!==a.skew||l.maxFontSize!==a.maxFontSize||l.italic!==0&&l.hasClass("mathnormal"))return!1;if(l.classes.length===1){const c=l.classes[0];if(c==="mbin"||c==="mord")return!1}for(const c in l.style)if(l.style.hasOwnProperty(c)&&l.style[c]!==a.style[c])return!1;for(const c in a.style)if(a.style.hasOwnProperty(c)&&l.style[c]!==a.style[c])return!1;return!0},Yc=l=>{for(let a=0;aa&&(a=y.height),y.depth>c&&(c=y.depth),y.maxFontSize>f&&(f=y.maxFontSize)}l.height=a,l.depth=c,l.maxFontSize=f},se=function(l,a,c,f){const m=new Ps(l,a,c,f);return zo(m),m},lr=(l,a,c,f)=>new Ps(l,a,c,f),es=function(l,a,c){const f=se([l],[],a);return f.height=Math.max(c||a.fontMetrics().defaultRuleThickness,a.minRuleThickness),f.style.borderBottomWidth=oe(f.height),f.maxFontSize=1,f},t4=function(l,a,c,f){const m=new Po(l,a,c,f);return zo(m),m},Gn=function(l){const a=new $s(l);return zo(a),a},ts=function(l,a){return l instanceof $s?se([],[l],a):l},n4=function(l){if(l.positionType==="individualShift"){const c=l.children,f=[c[0]],m=-c[0].shift-c[0].elem.depth;let y=m;for(let _=1;_{const c=se(["mspace"],[],a),f=Ke(l,a);return c.style.marginRight=oe(f),c},qi=function(l,a,c){let f="";switch(l){case"amsrm":f="AMS";break;case"textrm":f="Main";break;case"textsf":f="SansSerif";break;case"texttt":f="Typewriter";break;default:f=l}let m;return a==="textbf"&&c==="textit"?m="BoldItalic":a==="textbf"?m="Bold":a==="textit"?m="Italic":m="Regular",f+"-"+m},qo={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Qc={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Zc=function(l,a){const[c,f,m]=Qc[l],y=new or(c),_=new jn([y],{width:oe(f),height:oe(m),style:"width:"+oe(f),viewBox:"0 0 "+1e3*f+" "+1e3*m,preserveAspectRatio:"xMinYMin"}),E=lr(["overlay"],[_],a);return E.height=m,E.style.height=oe(m),E.style.width=oe(f),E},mt={number:3,unit:"mu"},Ir={number:4,unit:"mu"},Kn={number:5,unit:"mu"},r4={mord:{mop:mt,mbin:Ir,mrel:Kn,minner:mt},mop:{mord:mt,mop:mt,mrel:Kn,minner:mt},mbin:{mord:Ir,mop:Ir,mopen:Ir,minner:Ir},mrel:{mord:Kn,mop:Kn,mopen:Kn,minner:Kn},mopen:{},mclose:{mop:mt,mbin:Ir,mrel:Kn,minner:mt},mpunct:{mord:mt,mop:mt,mrel:Kn,mopen:mt,mclose:mt,mpunct:mt,minner:mt},minner:{mord:mt,mop:mt,mbin:Ir,mrel:Kn,mopen:mt,mpunct:mt,minner:mt}},s4={mord:{mop:mt},mop:{mord:mt,mop:mt},mbin:{},mrel:{},mopen:{},mclose:{mop:mt},mpunct:{},minner:{mop:mt}},eu={},Ui={},Hi={};function fe(l){let{type:a,names:c,props:f,handler:m,htmlBuilder:y,mathmlBuilder:_}=l;const E={type:a,numArgs:f.numArgs,argTypes:f.argTypes,allowedInArgument:!!f.allowedInArgument,allowedInText:!!f.allowedInText,allowedInMath:f.allowedInMath===void 0?!0:f.allowedInMath,numOptionalArgs:f.numOptionalArgs||0,infix:!!f.infix,primitive:!!f.primitive,handler:m};for(let C=0;C{const H=q.classes[0],K=R.classes[0];H==="mbin"&&a4.has(K)?q.classes[0]="mord":K==="mbin"&&i4.has(H)&&(R.classes[0]="mord")},{node:_},E,C),Uo(m,(R,q)=>{const H=Vo(q),K=Vo(R),Z=H&&K?R.hasClass("mtight")?s4[H][K]:r4[H][K]:null;if(Z)return Jc(Z,y)},{node:_},E,C),m},Uo=function(l,a,c,f,m){f&&l.push(f);let y=0;for(;yq=>{l.splice(R+1,0,q),y++})(y)}f&&l.pop()},tu=function(l){return l instanceof $s||l instanceof Po||l instanceof Ps&&l.hasClass("enclosing")?l:null},Ho=function(l,a){const c=tu(l);if(c){const f=c.children;if(f.length){if(a==="right")return Ho(f[f.length-1],"right");if(a==="left")return Ho(f[0],"left")}}return l},Vo=function(l,a){return l?(a&&(l=Ho(l,a)),l4[l.classes[0]]||null):null},Bs=function(l,a){const c=["nulldelimiter"].concat(l.baseSizingClasses());return se(a.concat(c))},je=function(l,a,c){if(!l)return se();if(Ui[l.type]){let f=Ui[l.type](l,a);if(c&&a.size!==c.size){f=se(a.sizingClasses(c),[f],a);const m=a.sizeMultiplier/c.sizeMultiplier;f.height*=m,f.depth*=m}return f}else throw new i("Got group of unknown type: '"+l.type+"'")};function ji(l,a){const c=se(["base"],l,a),f=se(["strut"]);return f.style.height=oe(c.height+c.depth),c.depth&&(f.style.verticalAlign=oe(-c.depth)),c.children.unshift(f),c}function jo(l,a){let c=null;l.length===1&&l[0].type==="tag"&&(c=l[0].tag,l=l[0].body);const f=Tt(l,a,"root");let m;f.length===2&&f[1].hasClass("tag")&&(m=f.pop());const y=[];let _=[];for(let R=0;R0&&(y.push(ji(_,a)),_=[]),y.push(f[R]));_.length>0&&y.push(ji(_,a));let E;c?(E=ji(Tt(c,a,!0)),E.classes=["tag"],y.push(E)):m&&y.push(m);const C=se(["katex-html"],y);if(C.setAttribute("aria-hidden","true"),E){const R=E.children[0];R.style.height=oe(C.height+C.depth),C.depth&&(R.style.verticalAlign=oe(-C.depth))}return C}function nu(l){return new $s(l)}class ae{constructor(a,c,f){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=a,this.attributes={},this.children=c||[],this.classes=f||[]}setAttribute(a,c){this.attributes[a]=c}getAttribute(a){return this.attributes[a]}toNode(){const a=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const c in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,c)&&a.setAttribute(c,this.attributes[c]);this.classes.length>0&&(a.className=jt(this.classes));for(let c=0;c0&&(a+=' class ="'+p(jt(this.classes))+'"'),a+=">";for(let c=0;c",a}toText(){return this.children.map(a=>a.toText()).join("")}}class At{constructor(a){this.text=void 0,this.text=a}toNode(){return document.createTextNode(this.text)}toMarkup(){return p(this.toText())}toText(){return this.text}}class ru{constructor(a){this.width=void 0,this.character=void 0,this.width=a,a>=.05555&&a<=.05556?this.character=" ":a>=.1666&&a<=.1667?this.character=" ":a>=.2222&&a<=.2223?this.character=" ":a>=.2777&&a<=.2778?this.character="  ":a>=-.05556&&a<=-.05555?this.character=" ⁣":a>=-.1667&&a<=-.1666?this.character=" ⁣":a>=-.2223&&a<=-.2222?this.character=" ⁣":a>=-.2778&&a<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);{const a=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return a.setAttribute("width",oe(this.width)),a}}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}const c4=new Set(["\\imath","\\jmath"]),u4=new Set(["mrow","mtable"]),gn=function(l,a,c){return dt[a][l]&&dt[a][l].replace&&l.charCodeAt(0)!==55349&&!(Wc.hasOwnProperty(l)&&c&&(c.fontFamily&&c.fontFamily.slice(4,6)==="tt"||c.font&&c.font.slice(4,6)==="tt"))&&(l=dt[a][l].replace),new At(l)},Wo=function(l){return l.length===1?l[0]:new ae("mrow",l)},Go=function(l,a){if(a.fontFamily==="texttt")return"monospace";if(a.fontFamily==="textsf")return a.fontShape==="textit"&&a.fontWeight==="textbf"?"sans-serif-bold-italic":a.fontShape==="textit"?"sans-serif-italic":a.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(a.fontShape==="textit"&&a.fontWeight==="textbf")return"bold-italic";if(a.fontShape==="textit")return"italic";if(a.fontWeight==="textbf")return"bold";const c=a.font;if(!c||c==="mathnormal")return null;const f=l.mode;if(c==="mathit")return"italic";if(c==="boldsymbol")return l.type==="textord"?"bold":"bold-italic";if(c==="mathbf")return"bold";if(c==="mathbb")return"double-struck";if(c==="mathsfit")return"sans-serif-italic";if(c==="mathfrak")return"fraktur";if(c==="mathscr"||c==="mathcal")return"script";if(c==="mathsf")return"sans-serif";if(c==="mathtt")return"monospace";let m=l.text;if(c4.has(m))return null;dt[f][m]&&dt[f][m].replace&&(m=dt[f][m].replace);const y=qo[c].fontName;return Cr(m,y,f)?qo[c].variant:null};function Ko(l){if(!l)return!1;if(l.type==="mi"&&l.children.length===1){const a=l.children[0];return a instanceof At&&a.text==="."}else if(l.type==="mo"&&l.children.length===1&&l.getAttribute("separator")==="true"&&l.getAttribute("lspace")==="0em"&&l.getAttribute("rspace")==="0em"){const a=l.children[0];return a instanceof At&&a.text===","}else return!1}const en=function(l,a,c){if(l.length===1){const y=it(l[0],a);return c&&y instanceof ae&&y.type==="mo"&&(y.setAttribute("lspace","0em"),y.setAttribute("rspace","0em")),[y]}const f=[];let m;for(let y=0;y=1&&(m.type==="mn"||Ko(m))){const E=_.children[0];E instanceof ae&&E.type==="mn"&&(E.children=[...m.children,...E.children],f.pop())}else if(m.type==="mi"&&m.children.length===1){const E=m.children[0];if(E instanceof At&&E.text==="̸"&&(_.type==="mo"||_.type==="mi"||_.type==="mn")){const C=_.children[0];C instanceof At&&C.text.length>0&&(C.text=C.text.slice(0,1)+"̸"+C.text.slice(1),f.pop())}}}f.push(_),m=_}return f},cr=function(l,a,c){return Wo(en(l,a,c))},it=function(l,a){if(!l)return new ae("mrow");if(Hi[l.type])return Hi[l.type](l,a);throw new i("Got group of unknown type: '"+l.type+"'")};function su(l,a,c,f,m){const y=en(l,c);let _;y.length===1&&y[0]instanceof ae&&u4.has(y[0].type)?_=y[0]:_=new ae("mrow",y);const E=new ae("annotation",[new At(a)]);E.setAttribute("encoding","application/x-tex");const C=new ae("semantics",[_,E]),R=new ae("math",[C]);return R.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),f&&R.setAttribute("display","block"),se([m?"katex":"katex-mathml"],[R])}const iu=function(l){return new J({style:l.displayMode?te.DISPLAY:te.TEXT,maxSize:l.maxSize,minRuleThickness:l.minRuleThickness})},au=function(l,a){if(a.displayMode){const c=["katex-display"];a.leqno&&c.push("leqno"),a.fleqn&&c.push("fleqn"),l=se(c,[l])}return l},f4=function(l,a,c){const f=iu(c);let m;if(c.output==="mathml")return su(l,a,f,c.displayMode,!0);if(c.output==="html"){const y=jo(l,f);m=se(["katex"],[y])}else{const y=su(l,a,f,c.displayMode,!1),_=jo(l,f);m=se(["katex"],[y,_])}return au(m,c)},h4=function(l,a,c){const f=iu(c),m=jo(l,f),y=se(["katex"],[m]);return au(y,c)},d4={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Wi=function(l){const a=new ae("mo",[new At(d4[l.replace(/^\\/,"")])]);return a.setAttribute("stretchy","true"),a},m4={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},p4=new Set(["widehat","widecheck","widetilde","utilde"]),Gi=function(l,a){function c(){let _=4e5;const E=l.label.slice(1);if(p4.has(E)){const C=l,R=C.base.type==="ordgroup"?C.base.body.length:1;let q,H,K;if(R>5)E==="widehat"||E==="widecheck"?(q=420,_=2364,K=.42,H=E+"4"):(q=312,_=2340,K=.34,H="tilde4");else{const ye=[1,1,2,2,3,3][R];E==="widehat"||E==="widecheck"?(_=[0,1062,2364,2364,2364][ye],q=[0,239,300,360,420][ye],K=[0,.24,.3,.3,.36,.42][ye],H=E+ye):(_=[0,600,1033,2339,2340][ye],q=[0,260,286,306,312][ye],K=[0,.26,.286,.3,.306,.34][ye],H="tilde"+ye)}const Z=new or(H),de=new jn([Z],{width:"100%",height:oe(K),viewBox:"0 0 "+_+" "+q,preserveAspectRatio:"none"});return{span:lr([],[de],a),minWidth:0,height:K}}else{const C=[],R=m4[E],[q,H,K]=R,Z=K/1e3,de=q.length;let ye,He;if(de===1){const Fe=R[3];ye=["hide-tail"],He=[Fe]}else if(de===2)ye=["halfarrow-left","halfarrow-right"],He=["xMinYMin","xMaxYMin"];else if(de===3)ye=["brace-left","brace-center","brace-right"],He=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
-                    `+de+" children.");for(let Fe=0;Fe0&&(f.style.minWidth=oe(m)),f},g4=function(l,a,c,f,m){let y;const _=l.height+l.depth+c+f;if(/fbox|color|angl/.test(a)){if(y=se(["stretchy",a],[],m),a==="fbox"){const E=m.color&&m.getColor();E&&(y.style.borderColor=E)}}else{const E=[];/^[bx]cancel$/.test(a)&&E.push(new $o({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(a)&&E.push(new $o({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const C=new jn(E,{width:"100%",height:oe(_)});y=lr([],[C],m)}return y.height=_,y.style.height=oe(_),y};function Be(l,a){if(!l||l.type!==a)throw new Error("Expected node of type "+a+", but got "+(l?"node of type "+l.type:String(l)));return l}function Xo(l){const a=Ki(l);if(!a)throw new Error("Expected node of symbol group type, but got "+(l?"node of type "+l.type:String(l)));return a}function Ki(l){return l&&(l.type==="atom"||Jp.hasOwnProperty(l.type))?l:null}const Yo=(l,a)=>{let c,f,m;l&&l.type==="supsub"?(f=Be(l.base,"accent"),c=f.base,l.base=c,m=Xp(je(l,a)),l.base=f):(f=Be(l,"accent"),c=f.base);const y=je(c,a.havingCrampedStyle()),_=f.isShifty&&x(c);let E=0;if(_){const K=w(c),Z=je(K,a.havingCrampedStyle());E=jc(Z).skew}const C=f.label==="\\c";let R=C?y.height+y.depth:Math.min(y.height,a.fontMetrics().xHeight),q;if(f.isStretchy)q=Gi(f,a),q=Xe({positionType:"firstBaseline",children:[{type:"elem",elem:y},{type:"elem",elem:q,wrapperClasses:["svg-align"],wrapperStyle:E>0?{width:"calc(100% - "+oe(2*E)+")",marginLeft:oe(2*E)}:void 0}]});else{let K,Z;f.label==="\\vec"?(K=Zc("vec",a),Z=Qc.vec[1]):(K=zi({mode:f.mode,text:f.label},a,"textord"),K=jc(K),K.italic=0,Z=K.width,C&&(R+=K.depth)),q=se(["accent-body"],[K]);const de=f.label==="\\textcircled";de&&(q.classes.push("accent-full"),R=y.height);let ye=E;de||(ye-=Z/2),q.style.left=oe(ye),f.label==="\\textcircled"&&(q.style.top=".2em"),q=Xe({positionType:"firstBaseline",children:[{type:"elem",elem:y},{type:"kern",size:-R},{type:"elem",elem:q}]})}const H=se(["mord","accent"],[q],a);return m?(m.children[0]=H,m.height=Math.max(H.height,m.height),m.classes[0]="mord",m):H},ou=(l,a)=>{const c=l.isStretchy?Wi(l.label):new ae("mo",[gn(l.label,l.mode)]),f=new ae("mover",[it(l.base,a),c]);return f.setAttribute("accent","true"),f},b4=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(l=>"\\"+l).join("|"));fe({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(l,a)=>{const c=Vi(a[0]),f=!b4.test(l.funcName),m=!f||l.funcName==="\\widehat"||l.funcName==="\\widetilde"||l.funcName==="\\widecheck";return{type:"accent",mode:l.parser.mode,label:l.funcName,isStretchy:f,isShifty:m,base:c}},htmlBuilder:Yo,mathmlBuilder:ou}),fe({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(l,a)=>{const c=a[0];let f=l.parser.mode;return f==="math"&&(l.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+l.funcName+" works only in text mode"),f="text"),{type:"accent",mode:f,label:l.funcName,isStretchy:!1,isShifty:!0,base:c}},htmlBuilder:Yo,mathmlBuilder:ou}),fe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(l,a)=>{let{parser:c,funcName:f}=l;const m=a[0];return{type:"accentUnder",mode:c.mode,label:f,base:m}},htmlBuilder:(l,a)=>{const c=je(l.base,a),f=Gi(l,a),m=l.label==="\\utilde"?.12:0,y=Xe({positionType:"top",positionData:c.height,children:[{type:"elem",elem:f,wrapperClasses:["svg-align"]},{type:"kern",size:m},{type:"elem",elem:c}]});return se(["mord","accentunder"],[y],a)},mathmlBuilder:(l,a)=>{const c=Wi(l.label),f=new ae("munder",[it(l.base,a),c]);return f.setAttribute("accentunder","true"),f}});const Xi=l=>{const a=new ae("mpadded",l?[l]:[]);return a.setAttribute("width","+0.6em"),a.setAttribute("lspace","0.3em"),a};fe({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(l,a,c){let{parser:f,funcName:m}=l;return{type:"xArrow",mode:f.mode,label:m,body:a[0],below:c[0]}},htmlBuilder(l,a){const c=a.style;let f=a.havingStyle(c.sup());const m=ts(je(l.body,f,a),a),y=l.label.slice(0,2)==="\\x"?"x":"cd";m.classes.push(y+"-arrow-pad");let _;l.below&&(f=a.havingStyle(c.sub()),_=ts(je(l.below,f,a),a),_.classes.push(y+"-arrow-pad"));const E=Gi(l,a),C=-a.fontMetrics().axisHeight+.5*E.height;let R=-a.fontMetrics().axisHeight-.5*E.height-.111;(m.depth>.25||l.label==="\\xleftequilibrium")&&(R-=m.depth);let q;if(_){const H=-a.fontMetrics().axisHeight+_.height+.5*E.height+.111;q=Xe({positionType:"individualShift",children:[{type:"elem",elem:m,shift:R},{type:"elem",elem:E,shift:C},{type:"elem",elem:_,shift:H}]})}else q=Xe({positionType:"individualShift",children:[{type:"elem",elem:m,shift:R},{type:"elem",elem:E,shift:C}]});return q.children[0].children[0].children[1].classes.push("svg-align"),se(["mrel","x-arrow"],[q],a)},mathmlBuilder(l,a){const c=Wi(l.label);c.setAttribute("minsize",l.label.charAt(0)==="x"?"1.75em":"3.0em");let f;if(l.body){const m=Xi(it(l.body,a));if(l.below){const y=Xi(it(l.below,a));f=new ae("munderover",[c,y,m])}else f=new ae("mover",[c,m])}else if(l.below){const m=Xi(it(l.below,a));f=new ae("munder",[c,m])}else f=Xi(),f=new ae("mover",[c,f]);return f}});function lu(l,a){const c=Tt(l.body,a,!0);return se([l.mclass],c,a)}function cu(l,a){let c;const f=en(l.body,a);return l.mclass==="minner"?c=new ae("mpadded",f):l.mclass==="mord"?l.isCharacterBox?(c=f[0],c.type="mi"):c=new ae("mi",f):(l.isCharacterBox?(c=f[0],c.type="mo"):c=new ae("mo",f),l.mclass==="mbin"?(c.attributes.lspace="0.22em",c.attributes.rspace="0.22em"):l.mclass==="mpunct"?(c.attributes.lspace="0em",c.attributes.rspace="0.17em"):l.mclass==="mopen"||l.mclass==="mclose"?(c.attributes.lspace="0em",c.attributes.rspace="0em"):l.mclass==="minner"&&(c.attributes.lspace="0.0556em",c.attributes.width="+0.1111em")),c}fe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(l,a){let{parser:c,funcName:f}=l;const m=a[0];return{type:"mclass",mode:c.mode,mclass:"m"+f.slice(5),body:bt(m),isCharacterBox:x(m)}},htmlBuilder:lu,mathmlBuilder:cu});const Yi=l=>{const a=l.type==="ordgroup"&&l.body.length?l.body[0]:l;return a.type==="atom"&&(a.family==="bin"||a.family==="rel")?"m"+a.family:"mord"};fe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(l,a){let{parser:c}=l;return{type:"mclass",mode:c.mode,mclass:Yi(a[0]),body:bt(a[1]),isCharacterBox:x(a[1])}}}),fe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(l,a){let{parser:c,funcName:f}=l;const m=a[1],y=a[0];let _;f!=="\\stackrel"?_=Yi(m):_="mrel";const E={type:"op",mode:m.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:f!=="\\stackrel",body:bt(m)},C={type:"supsub",mode:y.mode,base:E,sup:f==="\\underset"?null:y,sub:f==="\\underset"?y:null};return{type:"mclass",mode:c.mode,mclass:_,body:[C],isCharacterBox:x(C)}},htmlBuilder:lu,mathmlBuilder:cu}),fe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(l,a){let{parser:c}=l;return{type:"pmb",mode:c.mode,mclass:Yi(a[0]),body:bt(a[0])}},htmlBuilder(l,a){const c=Tt(l.body,a,!0),f=se([l.mclass],c,a);return f.style.textShadow="0.02em 0.01em 0.04px",f},mathmlBuilder(l,a){const c=en(l.body,a),f=new ae("mstyle",c);return f.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),f}});const y4={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},uu=()=>({type:"styling",body:[],mode:"math",style:"display"}),fu=l=>l.type==="textord"&&l.text==="@",w4=(l,a)=>(l.type==="mathord"||l.type==="atom")&&l.text===a;function v4(l,a,c){const f=y4[l];switch(f){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return c.callFunction(f,[a[0]],[a[1]]);case"\\uparrow":case"\\downarrow":{const m=c.callFunction("\\\\cdleft",[a[0]],[]),y={type:"atom",text:f,mode:"math",family:"rel"},_=c.callFunction("\\Big",[y],[]),E=c.callFunction("\\\\cdright",[a[1]],[]),C={type:"ordgroup",mode:"math",body:[m,_,E]};return c.callFunction("\\\\cdparent",[C],[])}case"\\\\cdlongequal":return c.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{const m={type:"textord",text:"\\Vert",mode:"math"};return c.callFunction("\\Big",[m],[])}default:return{type:"textord",text:" ",mode:"math"}}}function _4(l){const a=[];for(l.gullet.beginGroup(),l.gullet.macros.set("\\cr","\\\\\\relax"),l.gullet.beginGroup();;){a.push(l.parseExpression(!1,"\\\\")),l.gullet.endGroup(),l.gullet.beginGroup();const y=l.fetch().text;if(y==="&"||y==="\\\\")l.consume();else if(y==="\\end"){a[a.length-1].length===0&&a.pop();break}else throw new i("Expected \\\\ or \\cr or \\end",l.nextToken)}let c=[];const f=[c];for(let y=0;yAV".includes(R))for(let Z=0;Z<2;Z++){let de=!0;for(let ye=C+1;ye<_.length;ye++){if(w4(_[ye],R)){de=!1,C=ye;break}if(fu(_[ye]))throw new i("Missing a "+R+" character to complete a CD arrow.",_[ye]);q[Z].body.push(_[ye])}if(de)throw new i("Missing a "+R+" character to complete a CD arrow.",_[C])}else throw new i('Expected one of "<>AV=|." after @',_[C]);const K={type:"styling",body:[v4(R,q,l)],mode:"math",style:"display"};c.push(K),E=uu()}y%2===0?c.push(E):c.shift(),c=[],f.push(c)}l.gullet.endGroup(),l.gullet.endGroup();const m=new Array(f[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:f,arraystretch:1,addJot:!0,rowGaps:[null],cols:m,colSeparationType:"CD",hLinesBeforeRow:new Array(f.length+1).fill([])}}fe({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(l,a){let{parser:c,funcName:f}=l;return{type:"cdlabel",mode:c.mode,side:f.slice(4),label:a[0]}},htmlBuilder(l,a){const c=a.havingStyle(a.style.sup()),f=ts(je(l.label,c,a),a);return f.classes.push("cd-label-"+l.side),f.style.bottom=oe(.8-f.depth),f.height=0,f.depth=0,f},mathmlBuilder(l,a){let c=new ae("mrow",[it(l.label,a)]);return c=new ae("mpadded",[c]),c.setAttribute("width","0"),l.side==="left"&&c.setAttribute("lspace","-1width"),c.setAttribute("voffset","0.7em"),c=new ae("mstyle",[c]),c.setAttribute("displaystyle","false"),c.setAttribute("scriptlevel","1"),c}}),fe({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(l,a){let{parser:c}=l;return{type:"cdlabelparent",mode:c.mode,fragment:a[0]}},htmlBuilder(l,a){const c=ts(je(l.fragment,a),a);return c.classes.push("cd-vert-arrow"),c},mathmlBuilder(l,a){return new ae("mrow",[it(l.fragment,a)])}}),fe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(l,a){let{parser:c}=l;const m=Be(a[0],"ordgroup").body;let y="";for(let C=0;C=1114111)throw new i("\\@char with invalid code point "+y);return _<=65535?E=String.fromCharCode(_):(_-=65536,E=String.fromCharCode((_>>10)+55296,(_&1023)+56320)),{type:"textord",mode:c.mode,text:E}}});const hu=(l,a)=>{const c=Tt(l.body,a.withColor(l.color),!1);return Gn(c)},du=(l,a)=>{const c=en(l.body,a.withColor(l.color)),f=new ae("mstyle",c);return f.setAttribute("mathcolor",l.color),f};fe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(l,a){let{parser:c}=l;const f=Be(a[0],"color-token").color,m=a[1];return{type:"color",mode:c.mode,color:f,body:bt(m)}},htmlBuilder:hu,mathmlBuilder:du}),fe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(l,a){let{parser:c,breakOnTokenText:f}=l;const m=Be(a[0],"color-token").color;c.gullet.macros.set("\\current@color",m);const y=c.parseExpression(!0,f);return{type:"color",mode:c.mode,color:m,body:y}},htmlBuilder:hu,mathmlBuilder:du}),fe({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(l,a,c){let{parser:f}=l;const m=f.gullet.future().text==="["?f.parseSizeGroup(!0):null,y=!f.settings.displayMode||!f.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:f.mode,newLine:y,size:m&&Be(m,"size").value}},htmlBuilder(l,a){const c=se(["mspace"],[],a);return l.newLine&&(c.classes.push("newline"),l.size&&(c.style.marginTop=oe(Ke(l.size,a)))),c},mathmlBuilder(l,a){const c=new ae("mspace");return l.newLine&&(c.setAttribute("linebreak","newline"),l.size&&c.setAttribute("height",oe(Ke(l.size,a)))),c}});const Jo={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},mu=l=>{const a=l.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new i("Expected a control sequence",l);return a},x4=l=>{let a=l.gullet.popToken();return a.text==="="&&(a=l.gullet.popToken(),a.text===" "&&(a=l.gullet.popToken())),a},pu=(l,a,c,f)=>{let m=l.gullet.macros.get(c.text);m==null&&(c.noexpand=!0,m={tokens:[c],numArgs:0,unexpandable:!l.gullet.isExpandable(c.text)}),l.gullet.macros.set(a,m,f)};fe({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(l){let{parser:a,funcName:c}=l;a.consumeSpaces();const f=a.fetch();if(Jo[f.text])return(c==="\\global"||c==="\\\\globallong")&&(f.text=Jo[f.text]),Be(a.parseFunction(),"internal");throw new i("Invalid token after macro prefix",f)}}),fe({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l){let{parser:a,funcName:c}=l,f=a.gullet.popToken();const m=f.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(m))throw new i("Expected a control sequence",f);let y=0,_;const E=[[]];for(;a.gullet.future().text!=="{";)if(f=a.gullet.popToken(),f.text==="#"){if(a.gullet.future().text==="{"){_=a.gullet.future(),E[y].push("{");break}if(f=a.gullet.popToken(),!/^[1-9]$/.test(f.text))throw new i('Invalid argument number "'+f.text+'"');if(parseInt(f.text)!==y+1)throw new i('Argument number "'+f.text+'" out of order');y++,E.push([])}else{if(f.text==="EOF")throw new i("Expected a macro definition");E[y].push(f.text)}let{tokens:C}=a.gullet.consumeArg();return _&&C.unshift(_),(c==="\\edef"||c==="\\xdef")&&(C=a.gullet.expandTokens(C),C.reverse()),a.gullet.macros.set(m,{tokens:C,numArgs:y,delimiters:E},c===Jo[c]),{type:"internal",mode:a.mode}}}),fe({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l){let{parser:a,funcName:c}=l;const f=mu(a.gullet.popToken());a.gullet.consumeSpaces();const m=x4(a);return pu(a,f,m,c==="\\\\globallet"),{type:"internal",mode:a.mode}}}),fe({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l){let{parser:a,funcName:c}=l;const f=mu(a.gullet.popToken()),m=a.gullet.popToken(),y=a.gullet.popToken();return pu(a,f,y,c==="\\\\globalfuture"),a.gullet.pushToken(y),a.gullet.pushToken(m),{type:"internal",mode:a.mode}}});const Fs=function(l,a,c){const f=dt.math[l]&&dt.math[l].replace,m=Cr(f||l,a,c);if(!m)throw new Error("Unsupported symbol "+l+" and font size "+a+".");return m},Qo=function(l,a,c,f){const m=c.havingBaseStyle(a),y=se(f.concat(m.sizingClasses(c)),[l],c),_=m.sizeMultiplier/c.sizeMultiplier;return y.height*=_,y.depth*=_,y.maxFontSize=m.sizeMultiplier,y},gu=function(l,a,c){const f=a.havingBaseStyle(c),m=(1-a.sizeMultiplier/f.sizeMultiplier)*a.fontMetrics().axisHeight;l.classes.push("delimcenter"),l.style.top=oe(m),l.height-=m,l.depth+=m},k4=function(l,a,c,f,m,y){const _=Gt(l,"Main-Regular",m,f),E=Qo(_,a,f,y);return gu(E,f,a),E},S4=function(l,a,c,f){return Gt(l,"Size"+a+"-Regular",c,f)},bu=function(l,a,c,f,m,y){const _=S4(l,a,m,f),E=Qo(se(["delimsizing","size"+a],[_],f),te.TEXT,f,y);return c&&gu(E,f,te.TEXT),E},Zo=function(l,a,c){let f;return a==="Size1-Regular"?f="delim-size1":f="delim-size4",{type:"elem",elem:se(["delimsizinginner",f],[se([],[Gt(l,a,c)])])}},el=function(l,a,c){const f=$e["Size4-Regular"][l.charCodeAt(0)]?$e["Size4-Regular"][l.charCodeAt(0)][4]:$e["Size1-Regular"][l.charCodeAt(0)][4],m=new or("inner",Tr(l,Math.round(1e3*a))),y=new jn([m],{width:oe(f),height:oe(a),style:"width:"+oe(f),viewBox:"0 0 "+1e3*f+" "+Math.round(1e3*a),preserveAspectRatio:"xMinYMin"}),_=lr([],[y],c);return _.height=a,_.style.height=oe(a),_.style.width=oe(f),{type:"elem",elem:_}},tl=.008,Ji={type:"kern",size:-1*tl},A4=new Set(["|","\\lvert","\\rvert","\\vert"]),E4=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),yu=function(l,a,c,f,m,y){let _,E,C,R,q="",H=0;_=C=R=l,E=null;let K="Size1-Regular";l==="\\uparrow"?C=R="⏐":l==="\\Uparrow"?C=R="‖":l==="\\downarrow"?_=C="⏐":l==="\\Downarrow"?_=C="‖":l==="\\updownarrow"?(_="\\uparrow",C="⏐",R="\\downarrow"):l==="\\Updownarrow"?(_="\\Uparrow",C="‖",R="\\Downarrow"):A4.has(l)?(C="∣",q="vert",H=333):E4.has(l)?(C="∥",q="doublevert",H=556):l==="["||l==="\\lbrack"?(_="⎡",C="⎢",R="⎣",K="Size4-Regular",q="lbrack",H=667):l==="]"||l==="\\rbrack"?(_="⎤",C="⎥",R="⎦",K="Size4-Regular",q="rbrack",H=667):l==="\\lfloor"||l==="⌊"?(C=_="⎢",R="⎣",K="Size4-Regular",q="lfloor",H=667):l==="\\lceil"||l==="⌈"?(_="⎡",C=R="⎢",K="Size4-Regular",q="lceil",H=667):l==="\\rfloor"||l==="⌋"?(C=_="⎥",R="⎦",K="Size4-Regular",q="rfloor",H=667):l==="\\rceil"||l==="⌉"?(_="⎤",C=R="⎥",K="Size4-Regular",q="rceil",H=667):l==="("||l==="\\lparen"?(_="⎛",C="⎜",R="⎝",K="Size4-Regular",q="lparen",H=875):l===")"||l==="\\rparen"?(_="⎞",C="⎟",R="⎠",K="Size4-Regular",q="rparen",H=875):l==="\\{"||l==="\\lbrace"?(_="⎧",E="⎨",R="⎩",C="⎪",K="Size4-Regular"):l==="\\}"||l==="\\rbrace"?(_="⎫",E="⎬",R="⎭",C="⎪",K="Size4-Regular"):l==="\\lgroup"||l==="⟮"?(_="⎧",R="⎩",C="⎪",K="Size4-Regular"):l==="\\rgroup"||l==="⟯"?(_="⎫",R="⎭",C="⎪",K="Size4-Regular"):l==="\\lmoustache"||l==="⎰"?(_="⎧",R="⎭",C="⎪",K="Size4-Regular"):(l==="\\rmoustache"||l==="⎱")&&(_="⎫",R="⎩",C="⎪",K="Size4-Regular");const Z=Fs(_,K,m),de=Z.height+Z.depth,ye=Fs(C,K,m),He=ye.height+ye.depth,Fe=Fs(R,K,m),Ve=Fe.height+Fe.depth;let Ze=0,at=1;if(E!==null){const Ye=Fs(E,K,m);Ze=Ye.height+Ye.depth,at=2}const Kt=de+Ve+Ze,Nt=Math.max(0,Math.ceil((a-Kt)/(at*He))),bn=Kt+Nt*at*He;let rs=f.fontMetrics().axisHeight;c&&(rs*=f.sizeMultiplier);const na=bn/2-rs,Xt=[];if(q.length>0){const Ye=bn-de-Ve,ot=Math.round(bn*1e3),nn=le(q,Math.round(Ye*1e3)),yt=new or(q,nn),fn=(H/1e3).toFixed(3)+"em",cf=(ot/1e3).toFixed(3)+"em",tg=new jn([yt],{width:fn,height:cf,viewBox:"0 0 "+H+" "+ot}),ra=lr([],[tg],f);ra.height=ot/1e3,ra.style.width=fn,ra.style.height=cf,Xt.push({type:"elem",elem:ra})}else{if(Xt.push(Zo(R,K,m)),Xt.push(Ji),E===null){const Ye=bn-de-Ve+2*tl;Xt.push(el(C,Ye,f))}else{const Ye=(bn-de-Ve-Ze)/2+2*tl;Xt.push(el(C,Ye,f)),Xt.push(Ji),Xt.push(Zo(E,K,m)),Xt.push(Ji),Xt.push(el(C,Ye,f))}Xt.push(Ji),Xt.push(Zo(_,K,m))}const We=f.havingBaseStyle(te.TEXT),Dt=Xe({positionType:"bottom",positionData:na,children:Xt});return Qo(se(["delimsizing","mult"],[Dt],We),te.TEXT,f,y)},nl=80,rl=.08,sl=function(l,a,c,f,m){const y=Er(l,f,c),_=new or(l,y),E=new jn([_],{width:"400em",height:oe(a),viewBox:"0 0 400000 "+c,preserveAspectRatio:"xMinYMin slice"});return lr(["hide-tail"],[E],m)},T4=function(l,a){const c=a.havingBaseSizing(),f=ku("\\surd",l*c.sizeMultiplier,xu,c);let m=c.sizeMultiplier;const y=Math.max(0,a.minRuleThickness-a.fontMetrics().sqrtRuleThickness);let _,E=0,C=0,R=0,q;return f.type==="small"?(R=1e3+1e3*y+nl,l<1?m=1:l<1.4&&(m=.7),E=(1+y+rl)/m,C=(1+y)/m,_=sl("sqrtMain",E,R,y,a),_.style.minWidth="0.853em",q=.833/m):f.type==="large"?(R=(1e3+nl)*zs[f.size],C=(zs[f.size]+y)/m,E=(zs[f.size]+y+rl)/m,_=sl("sqrtSize"+f.size,E,R,y,a),_.style.minWidth="1.02em",q=1/m):(E=l+y+rl,C=l+y,R=Math.floor(1e3*l+y)+nl,_=sl("sqrtTall",E,R,y,a),_.style.minWidth="0.742em",q=1.056),_.height=C,_.style.height=oe(E),{span:_,advanceWidth:q,ruleWidth:(a.fontMetrics().sqrtRuleThickness+y)*m}},wu=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),N4=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),vu=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),zs=[0,1.2,1.8,2.4,3],_u=function(l,a,c,f,m){if(l==="<"||l==="\\lt"||l==="⟨"?l="\\langle":(l===">"||l==="\\gt"||l==="⟩")&&(l="\\rangle"),wu.has(l)||vu.has(l))return bu(l,a,!1,c,f,m);if(N4.has(l))return yu(l,zs[a],!1,c,f,m);throw new i("Illegal delimiter: '"+l+"'")},C4=[{type:"small",style:te.SCRIPTSCRIPT},{type:"small",style:te.SCRIPT},{type:"small",style:te.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],I4=[{type:"small",style:te.SCRIPTSCRIPT},{type:"small",style:te.SCRIPT},{type:"small",style:te.TEXT},{type:"stack"}],xu=[{type:"small",style:te.SCRIPTSCRIPT},{type:"small",style:te.SCRIPT},{type:"small",style:te.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],O4=function(l){if(l.type==="small")return"Main-Regular";if(l.type==="large")return"Size"+l.size+"-Regular";if(l.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+l.type+"' here.")},ku=function(l,a,c,f){const m=Math.min(2,3-f.style.size);for(let y=m;ya)return c[y]}return c[c.length-1]},il=function(l,a,c,f,m,y){l==="<"||l==="\\lt"||l==="⟨"?l="\\langle":(l===">"||l==="\\gt"||l==="⟩")&&(l="\\rangle");let _;vu.has(l)?_=C4:wu.has(l)?_=xu:_=I4;const E=ku(l,a,_,f);return E.type==="small"?k4(l,E.style,c,f,m,y):E.type==="large"?bu(l,E.size,c,f,m,y):yu(l,a,c,f,m,y)},al=function(l,a,c,f,m,y){const _=f.fontMetrics().axisHeight*f.sizeMultiplier,E=901,C=5/f.fontMetrics().ptPerEm,R=Math.max(a-_,c+_),q=Math.max(R/500*E,2*R-C);return il(l,q,!0,f,m,y)},Su={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},M4=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function Qi(l,a){const c=Ki(l);if(c&&M4.has(c.text))return c;throw c?new i("Invalid delimiter '"+c.text+"' after '"+a.funcName+"'",l):new i("Invalid delimiter type '"+l.type+"'",l)}fe({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(l,a)=>{const c=Qi(a[0],l);return{type:"delimsizing",mode:l.parser.mode,size:Su[l.funcName].size,mclass:Su[l.funcName].mclass,delim:c.text}},htmlBuilder:(l,a)=>l.delim==="."?se([l.mclass]):_u(l.delim,l.size,a,l.mode,[l.mclass]),mathmlBuilder:l=>{const a=[];l.delim!=="."&&a.push(gn(l.delim,l.mode));const c=new ae("mo",a);l.mclass==="mopen"||l.mclass==="mclose"?c.setAttribute("fence","true"):c.setAttribute("fence","false"),c.setAttribute("stretchy","true");const f=oe(zs[l.size]);return c.setAttribute("minsize",f),c.setAttribute("maxsize",f),c}});function Au(l){if(!l.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}fe({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(l,a)=>{const c=l.parser.gullet.macros.get("\\current@color");if(c&&typeof c!="string")throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:l.parser.mode,delim:Qi(a[0],l).text,color:c}}}),fe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(l,a)=>{const c=Qi(a[0],l),f=l.parser;++f.leftrightDepth;const m=f.parseExpression(!1);--f.leftrightDepth,f.expect("\\right",!1);const y=Be(f.parseFunction(),"leftright-right");return{type:"leftright",mode:f.mode,body:m,left:c.text,right:y.delim,rightColor:y.color}},htmlBuilder:(l,a)=>{Au(l);const c=Tt(l.body,a,!0,["mopen","mclose"]);let f=0,m=0,y=!1;for(let C=0;C{Au(l);const c=en(l.body,a);if(l.left!=="."){const f=new ae("mo",[gn(l.left,l.mode)]);f.setAttribute("fence","true"),c.unshift(f)}if(l.right!=="."){const f=new ae("mo",[gn(l.right,l.mode)]);f.setAttribute("fence","true"),l.rightColor&&f.setAttribute("mathcolor",l.rightColor),c.push(f)}return Wo(c)}}),fe({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(l,a)=>{const c=Qi(a[0],l);if(!l.parser.leftrightDepth)throw new i("\\middle without preceding \\left",c);return{type:"middle",mode:l.parser.mode,delim:c.text}},htmlBuilder:(l,a)=>{let c;if(l.delim===".")c=Bs(a,[]);else{c=_u(l.delim,1,a,l.mode,[]);const f={delim:l.delim,options:a};c.isMiddle=f}return c},mathmlBuilder:(l,a)=>{const c=l.delim==="\\vert"||l.delim==="|"?gn("|","text"):gn(l.delim,l.mode),f=new ae("mo",[c]);return f.setAttribute("fence","true"),f.setAttribute("lspace","0.05em"),f.setAttribute("rspace","0.05em"),f}});const ol=(l,a)=>{const c=ts(je(l.body,a),a),f=l.label.slice(1);let m=a.sizeMultiplier,y,_=0;const E=x(l.body);if(f==="sout")y=se(["stretchy","sout"]),y.height=a.fontMetrics().defaultRuleThickness/m,_=-.5*a.fontMetrics().xHeight;else if(f==="phase"){const R=Ke({number:.6,unit:"pt"},a),q=Ke({number:.35,unit:"ex"},a),H=a.havingBaseSizing();m=m/H.sizeMultiplier;const K=c.height+c.depth+R+q;c.style.paddingLeft=oe(K/2+R);const Z=Math.floor(1e3*K*m),de=Sn(Z),ye=new jn([new or("phase",de)],{width:"400em",height:oe(Z/1e3),viewBox:"0 0 400000 "+Z,preserveAspectRatio:"xMinYMin slice"});y=lr(["hide-tail"],[ye],a),y.style.height=oe(K),_=c.depth+R+q}else{/cancel/.test(f)?E||c.classes.push("cancel-pad"):f==="angl"?c.classes.push("anglpad"):c.classes.push("boxpad");let R=0,q=0,H=0;/box/.test(f)?(H=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness),R=a.fontMetrics().fboxsep+(f==="colorbox"?0:H),q=R):f==="angl"?(H=Math.max(a.fontMetrics().defaultRuleThickness,a.minRuleThickness),R=4*H,q=Math.max(0,.25-c.depth)):(R=E?.2:0,q=R),y=g4(c,f,R,q,a),/fbox|boxed|fcolorbox/.test(f)?(y.style.borderStyle="solid",y.style.borderWidth=oe(H)):f==="angl"&&H!==.049&&(y.style.borderTopWidth=oe(H),y.style.borderRightWidth=oe(H)),_=c.depth+q,l.backgroundColor&&(y.style.backgroundColor=l.backgroundColor,l.borderColor&&(y.style.borderColor=l.borderColor))}let C;if(l.backgroundColor)C=Xe({positionType:"individualShift",children:[{type:"elem",elem:y,shift:_},{type:"elem",elem:c,shift:0}]});else{const R=/cancel|phase/.test(f)?["svg-align"]:[];C=Xe({positionType:"individualShift",children:[{type:"elem",elem:c,shift:0},{type:"elem",elem:y,shift:_,wrapperClasses:R}]})}return/cancel/.test(f)&&(C.height=c.height,C.depth=c.depth),/cancel/.test(f)&&!E?se(["mord","cancel-lap"],[C],a):se(["mord"],[C],a)},ll=(l,a)=>{let c=0;const f=new ae(l.label.includes("colorbox")?"mpadded":"menclose",[it(l.body,a)]);switch(l.label){case"\\cancel":f.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":f.setAttribute("notation","downdiagonalstrike");break;case"\\phase":f.setAttribute("notation","phasorangle");break;case"\\sout":f.setAttribute("notation","horizontalstrike");break;case"\\fbox":f.setAttribute("notation","box");break;case"\\angl":f.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(c=a.fontMetrics().fboxsep*a.fontMetrics().ptPerEm,f.setAttribute("width","+"+2*c+"pt"),f.setAttribute("height","+"+2*c+"pt"),f.setAttribute("lspace",c+"pt"),f.setAttribute("voffset",c+"pt"),l.label==="\\fcolorbox"){const m=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness);f.setAttribute("style","border: "+m+"em solid "+String(l.borderColor))}break;case"\\xcancel":f.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return l.backgroundColor&&f.setAttribute("mathbackground",l.backgroundColor),f};fe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(l,a,c){let{parser:f,funcName:m}=l;const y=Be(a[0],"color-token").color,_=a[1];return{type:"enclose",mode:f.mode,label:m,backgroundColor:y,body:_}},htmlBuilder:ol,mathmlBuilder:ll}),fe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(l,a,c){let{parser:f,funcName:m}=l;const y=Be(a[0],"color-token").color,_=Be(a[1],"color-token").color,E=a[2];return{type:"enclose",mode:f.mode,label:m,backgroundColor:_,borderColor:y,body:E}},htmlBuilder:ol,mathmlBuilder:ll}),fe({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(l,a){let{parser:c}=l;return{type:"enclose",mode:c.mode,label:"\\fbox",body:a[0]}}}),fe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(l,a){let{parser:c,funcName:f}=l;const m=a[0];return{type:"enclose",mode:c.mode,label:f,body:m}},htmlBuilder:ol,mathmlBuilder:ll}),fe({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(l,a){let{parser:c}=l;return{type:"enclose",mode:c.mode,label:"\\angl",body:a[0]}}});const Eu={};function Dn(l){let{type:a,names:c,props:f,handler:m,htmlBuilder:y,mathmlBuilder:_}=l;const E={type:a,numArgs:f.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:m};for(let C=0;C{if(!l.parser.settings.displayMode)throw new i("{"+l.envName+"} can be used only in display mode.")},L4=new Set(["gather","gather*"]);function cl(l){if(!l.includes("ed"))return!l.includes("*")}function ur(l,a,c){let{hskipBeforeAndAfter:f,addJot:m,cols:y,arraystretch:_,colSeparationType:E,autoTag:C,singleRow:R,emptySingleRow:q,maxNumCols:H,leqno:K}=a;if(l.gullet.beginGroup(),R||l.gullet.macros.set("\\cr","\\\\\\relax"),!_){const at=l.gullet.expandMacroAsText("\\arraystretch");if(at==null)_=1;else if(_=parseFloat(at),!_||_<0)throw new i("Invalid \\arraystretch: "+at)}l.gullet.beginGroup();let Z=[];const de=[Z],ye=[],He=[],Fe=C!=null?[]:void 0;function Ve(){C&&l.gullet.macros.set("\\@eqnsw","1",!0)}function Ze(){Fe&&(l.gullet.macros.get("\\df@tag")?(Fe.push(l.subparse([new un("\\df@tag")])),l.gullet.macros.set("\\df@tag",void 0,!0)):Fe.push(!!C&&l.gullet.macros.get("\\@eqnsw")==="1"))}for(Ve(),He.push(Nu(l));;){let at=l.parseExpression(!1,R?"\\end":"\\\\");l.gullet.endGroup(),l.gullet.beginGroup(),at={type:"ordgroup",mode:l.mode,body:at},c&&(at={type:"styling",mode:l.mode,style:c,body:[at]}),Z.push(at);const Kt=l.fetch().text;if(Kt==="&"){if(H&&Z.length===H){if(R||E)throw new i("Too many tab characters: &",l.nextToken);l.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}l.consume()}else if(Kt==="\\end"){Ze(),Z.length===1&&at.type==="styling"&&at.body[0].body.length===0&&(de.length>1||!q)&&de.pop(),He.length0&&(Fe+=.25),C.push({pos:Fe,isDashed:We[Dt]})}for(Ve(y[0]),c=0;c0&&(yt+=He,YeWe))for(c=0;c=_)continue;let Ye;if(f>0||l.hskipBeforeAndAfter){var na;Ye=(na=We.pregap)!=null?na:H,Ye!==0&&(Nt=se(["arraycolsep"],[]),Nt.style.width=oe(Ye),Kt.push(Nt))}let ot=[];for(c=0;c0){const We=es("hline",a,R),Dt=es("hdashline",a,R),Ye=[{type:"elem",elem:E,shift:0}];for(;C.length>0;){const ot=C.pop(),nn=ot.pos-Ze;ot.isDashed?Ye.push({type:"elem",elem:Dt,shift:nn}):Ye.push({type:"elem",elem:We,shift:nn})}E=Xe({positionType:"individualShift",children:Ye})}if(rs.length===0)return se(["mord"],[E],a);{let We=Xe({positionType:"individualShift",children:rs});return We=se(["tag"],[We],a),Gn([E,We])}},D4={c:"center ",l:"left ",r:"right "},Pn=function(l,a){const c=[],f=new ae("mtd",[],["mtr-glue"]),m=new ae("mtd",[],["mml-eqn-num"]);for(let H=0;H0){const H=l.cols;let K="",Z=!1,de=0,ye=H.length;H[0].type==="separator"&&(E+="top ",de=1),H[H.length-1].type==="separator"&&(E+="bottom ",ye-=1);for(let He=de;He0?"left ":"",E+=q[q.length-1].length>0?"right ":"";for(let H=1;H0&&R&&(K=1),c[q]={type:"align",align:H,pregap:K,postgap:0}}return y.colSeparationType=R?"align":"alignat",y};Dn({type:"array",names:["array","darray"],props:{numArgs:1},handler(l,a){const m=(Ki(a[0])?[a[0]]:Be(a[0],"ordgroup").body).map(function(_){const C=Xo(_).text;if("lcr".includes(C))return{type:"align",align:C};if(C==="|")return{type:"separator",separator:"|"};if(C===":")return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+C,_)}),y={cols:m,hskipBeforeAndAfter:!0,maxNumCols:m.length};return ur(l.parser,y,ul(l.envName))},htmlBuilder:Rn,mathmlBuilder:Pn}),Dn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(l){const a={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[l.envName.replace("*","")];let c="c";const f={hskipBeforeAndAfter:!1,cols:[{type:"align",align:c}]};if(l.envName.charAt(l.envName.length-1)==="*"){const _=l.parser;if(_.consumeSpaces(),_.fetch().text==="["){if(_.consume(),_.consumeSpaces(),c=_.fetch().text,!"lcr".includes(c))throw new i("Expected l or c or r",_.nextToken);_.consume(),_.consumeSpaces(),_.expect("]"),_.consume(),f.cols=[{type:"align",align:c}]}}const m=ur(l.parser,f,ul(l.envName)),y=Math.max(0,...m.body.map(_=>_.length));return m.cols=new Array(y).fill({type:"align",align:c}),a?{type:"leftright",mode:l.mode,body:[m],left:a[0],right:a[1],rightColor:void 0}:m},htmlBuilder:Rn,mathmlBuilder:Pn}),Dn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(l){const a={arraystretch:.5},c=ur(l.parser,a,"script");return c.colSeparationType="small",c},htmlBuilder:Rn,mathmlBuilder:Pn}),Dn({type:"array",names:["subarray"],props:{numArgs:1},handler(l,a){const m=(Ki(a[0])?[a[0]]:Be(a[0],"ordgroup").body).map(function(_){const C=Xo(_).text;if("lc".includes(C))return{type:"align",align:C};throw new i("Unknown column alignment: "+C,_)});if(m.length>1)throw new i("{subarray} can contain only one column");let y={cols:m,hskipBeforeAndAfter:!1,arraystretch:.5};if(y=ur(l.parser,y,"script"),y.body.length>0&&y.body[0].length>1)throw new i("{subarray} can contain only one column");return y},htmlBuilder:Rn,mathmlBuilder:Pn}),Dn({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(l){const a={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},c=ur(l.parser,a,ul(l.envName));return{type:"leftright",mode:l.mode,body:[c],left:l.envName.includes("r")?".":"\\{",right:l.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:Rn,mathmlBuilder:Pn}),Dn({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Cu,htmlBuilder:Rn,mathmlBuilder:Pn}),Dn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(l){L4.has(l.envName)&&Zi(l);const a={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:cl(l.envName),emptySingleRow:!0,leqno:l.parser.settings.leqno};return ur(l.parser,a,"display")},htmlBuilder:Rn,mathmlBuilder:Pn}),Dn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Cu,htmlBuilder:Rn,mathmlBuilder:Pn}),Dn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(l){Zi(l);const a={autoTag:cl(l.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:l.parser.settings.leqno};return ur(l.parser,a,"display")},htmlBuilder:Rn,mathmlBuilder:Pn}),Dn({type:"array",names:["CD"],props:{numArgs:0},handler(l){return Zi(l),_4(l.parser)},htmlBuilder:Rn,mathmlBuilder:Pn}),T("\\nonumber","\\gdef\\@eqnsw{0}"),T("\\notag","\\nonumber"),fe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(l,a){throw new i(l.funcName+" valid only within array environment")}});var Iu=Eu;fe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(l,a){let{parser:c,funcName:f}=l;const m=a[0];if(m.type!=="ordgroup")throw new i("Invalid environment name",m);let y="";for(let _=0;_{const c=l.font,f=a.withFont(c);return je(l.body,f)},Mu=(l,a)=>{const c=l.font,f=a.withFont(c);return it(l.body,f)},Lu={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};fe({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(l,a)=>{let{parser:c,funcName:f}=l;const m=Vi(a[0]);let y=f;return y in Lu&&(y=Lu[y]),{type:"font",mode:c.mode,font:y.slice(1),body:m}},htmlBuilder:Ou,mathmlBuilder:Mu}),fe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(l,a)=>{let{parser:c}=l;const f=a[0];return{type:"mclass",mode:c.mode,mclass:Yi(f),body:[{type:"font",mode:c.mode,font:"boldsymbol",body:f}],isCharacterBox:x(f)}}}),fe({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(l,a)=>{let{parser:c,funcName:f,breakOnTokenText:m}=l;const{mode:y}=c,_=c.parseExpression(!0,m),E="math"+f.slice(1);return{type:"font",mode:y,font:E,body:{type:"ordgroup",mode:c.mode,body:_}}},htmlBuilder:Ou,mathmlBuilder:Mu});const R4=(l,a)=>{const c=a.style,f=c.fracNum(),m=c.fracDen();let y;y=a.havingStyle(f);const _=je(l.numer,y,a);if(l.continued){const Ve=8.5/a.fontMetrics().ptPerEm,Ze=3.5/a.fontMetrics().ptPerEm;_.height=_.height0?K=3*q:K=7*q,Z=a.fontMetrics().denom1):(R>0?(H=a.fontMetrics().num2,K=q):(H=a.fontMetrics().num3,K=3*q),Z=a.fontMetrics().denom2);let de;if(C){const Ve=a.fontMetrics().axisHeight;H-_.depth-(Ve+.5*R){const c=new ae("mfrac",[it(l.numer,a),it(l.denom,a)]);if(!l.hasBarLine)c.setAttribute("linethickness","0px");else if(l.barSize){const f=Ke(l.barSize,a);c.setAttribute("linethickness",oe(f))}if(l.leftDelim!=null||l.rightDelim!=null){const f=[];if(l.leftDelim!=null){const m=new ae("mo",[new At(l.leftDelim.replace("\\",""))]);m.setAttribute("fence","true"),f.push(m)}if(f.push(c),l.rightDelim!=null){const m=new ae("mo",[new At(l.rightDelim.replace("\\",""))]);m.setAttribute("fence","true"),f.push(m)}return Wo(f)}return c},Du=(l,a)=>a?{type:"styling",mode:l.mode,style:a,body:[l]}:l;fe({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(l,a)=>{let{parser:c,funcName:f}=l;const m=a[0],y=a[1];let _,E=null,C=null;switch(f){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":_=!0;break;case"\\\\atopfrac":_=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":_=!1,E="(",C=")";break;case"\\\\bracefrac":_=!1,E="\\{",C="\\}";break;case"\\\\brackfrac":_=!1,E="[",C="]";break;default:throw new Error("Unrecognized genfrac command")}const R=f==="\\cfrac";let q=null;return R||f.startsWith("\\d")?q="display":f.startsWith("\\t")&&(q="text"),Du({type:"genfrac",mode:c.mode,numer:m,denom:y,continued:R,hasBarLine:_,leftDelim:E,rightDelim:C,barSize:null},q)},htmlBuilder:R4,mathmlBuilder:P4}),fe({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(l){let{parser:a,funcName:c,token:f}=l,m;switch(c){case"\\over":m="\\frac";break;case"\\choose":m="\\binom";break;case"\\atop":m="\\\\atopfrac";break;case"\\brace":m="\\\\bracefrac";break;case"\\brack":m="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:a.mode,replaceWith:m,token:f}}});const Ru=["display","text","script","scriptscript"],Pu=function(l){let a=null;return l.length>0&&(a=l,a=a==="."?null:a),a};fe({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(l,a){let{parser:c}=l;const f=a[4],m=a[5],y=Vi(a[0]),_=y.type==="atom"&&y.family==="open"?Pu(y.text):null,E=Vi(a[1]),C=E.type==="atom"&&E.family==="close"?Pu(E.text):null,R=Be(a[2],"size");let q,H=null;R.isBlank?q=!0:(H=R.value,q=H.number>0);let K=null,Z=a[3];if(Z.type==="ordgroup"){if(Z.body.length>0){const de=Be(Z.body[0],"textord");K=Ru[Number(de.text)]}}else Z=Be(Z,"textord"),K=Ru[Number(Z.text)];return Du({type:"genfrac",mode:c.mode,numer:f,denom:m,continued:!1,hasBarLine:q,barSize:H,leftDelim:_,rightDelim:C},K)}}),fe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(l,a){let{parser:c,funcName:f,token:m}=l;return{type:"infix",mode:c.mode,replaceWith:"\\\\abovefrac",size:Be(a[0],"size").value,token:m}}}),fe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(l,a)=>{let{parser:c,funcName:f}=l;const m=a[0],y=Be(a[1],"infix").size;if(!y)throw new Error("\\\\abovefrac expected size, but got "+String(y));const _=a[2],E=y.number>0;return{type:"genfrac",mode:c.mode,numer:m,denom:_,continued:!1,hasBarLine:E,barSize:y,leftDelim:null,rightDelim:null}}});const $u=(l,a)=>{const c=a.style;let f,m;l.type==="supsub"?(f=l.sup?je(l.sup,a.havingStyle(c.sup()),a):je(l.sub,a.havingStyle(c.sub()),a),m=Be(l.base,"horizBrace")):m=Be(l,"horizBrace");const y=je(m.base,a.havingBaseStyle(te.DISPLAY)),_=Gi(m,a);let E;if(m.isOver?(E=Xe({positionType:"firstBaseline",children:[{type:"elem",elem:y},{type:"kern",size:.1},{type:"elem",elem:_}]}),E.children[0].children[0].children[1].classes.push("svg-align")):(E=Xe({positionType:"bottom",positionData:y.depth+.1+_.height,children:[{type:"elem",elem:_},{type:"kern",size:.1},{type:"elem",elem:y}]}),E.children[0].children[0].children[0].classes.push("svg-align")),f){const C=se(["mord",m.isOver?"mover":"munder"],[E],a);m.isOver?E=Xe({positionType:"firstBaseline",children:[{type:"elem",elem:C},{type:"kern",size:.2},{type:"elem",elem:f}]}):E=Xe({positionType:"bottom",positionData:C.depth+.2+f.height+f.depth,children:[{type:"elem",elem:f},{type:"kern",size:.2},{type:"elem",elem:C}]})}return se(["mord",m.isOver?"mover":"munder"],[E],a)};fe({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(l,a){let{parser:c,funcName:f}=l;return{type:"horizBrace",mode:c.mode,label:f,isOver:/^\\over/.test(f),base:a[0]}},htmlBuilder:$u,mathmlBuilder:(l,a)=>{const c=Wi(l.label);return new ae(l.isOver?"mover":"munder",[it(l.base,a),c])}}),fe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(l,a)=>{let{parser:c}=l;const f=a[1],m=Be(a[0],"url").url;return c.settings.isTrusted({command:"\\href",url:m})?{type:"href",mode:c.mode,href:m,body:bt(f)}:c.formatUnsupportedCmd("\\href")},htmlBuilder:(l,a)=>{const c=Tt(l.body,a,!1);return t4(l.href,[],c,a)},mathmlBuilder:(l,a)=>{let c=cr(l.body,a);return c instanceof ae||(c=new ae("mrow",[c])),c.setAttribute("href",l.href),c}}),fe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(l,a)=>{let{parser:c}=l;const f=Be(a[0],"url").url;if(!c.settings.isTrusted({command:"\\url",url:f}))return c.formatUnsupportedCmd("\\url");const m=[];for(let _=0;_{let{parser:c,funcName:f,token:m}=l;const y=Be(a[0],"raw").string,_=a[1];c.settings.strict&&c.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");let E;const C={};switch(f){case"\\htmlClass":C.class=y,E={command:"\\htmlClass",class:y};break;case"\\htmlId":C.id=y,E={command:"\\htmlId",id:y};break;case"\\htmlStyle":C.style=y,E={command:"\\htmlStyle",style:y};break;case"\\htmlData":{const R=y.split(",");for(let q=0;q{const c=Tt(l.body,a,!1),f=["enclosing"];l.attributes.class&&f.push(...l.attributes.class.trim().split(/\s+/));const m=se(f,c,a);for(const y in l.attributes)y!=="class"&&l.attributes.hasOwnProperty(y)&&m.setAttribute(y,l.attributes[y]);return m},mathmlBuilder:(l,a)=>cr(l.body,a)}),fe({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(l,a)=>{let{parser:c}=l;return{type:"htmlmathml",mode:c.mode,html:bt(a[0]),mathml:bt(a[1])}},htmlBuilder:(l,a)=>{const c=Tt(l.html,a,!1);return Gn(c)},mathmlBuilder:(l,a)=>cr(l.mathml,a)});const fl=function(l){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(l))return{number:+l,unit:"bp"};{const a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(l);if(!a)throw new i("Invalid size: '"+l+"' in \\includegraphics");const c={number:+(a[1]+a[2]),unit:a[3]};if(!ft(c))throw new i("Invalid unit: '"+c.unit+"' in \\includegraphics.");return c}};fe({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(l,a,c)=>{let{parser:f}=l,m={number:0,unit:"em"},y={number:.9,unit:"em"},_={number:0,unit:"em"},E="";if(c[0]){const q=Be(c[0],"raw").string.split(",");for(let H=0;H{const c=Ke(l.height,a);let f=0;l.totalheight.number>0&&(f=Ke(l.totalheight,a)-c);let m=0;l.width.number>0&&(m=Ke(l.width,a));const y={height:oe(c+f)};m>0&&(y.width=oe(m)),f>0&&(y.verticalAlign=oe(-f));const _=new Gp(l.src,l.alt,y);return _.height=c,_.depth=f,_},mathmlBuilder:(l,a)=>{const c=new ae("mglyph",[]);c.setAttribute("alt",l.alt);const f=Ke(l.height,a);let m=0;if(l.totalheight.number>0&&(m=Ke(l.totalheight,a)-f,c.setAttribute("valign",oe(-m))),c.setAttribute("height",oe(f+m)),l.width.number>0){const y=Ke(l.width,a);c.setAttribute("width",oe(y))}return c.setAttribute("src",l.src),c}}),fe({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(l,a){let{parser:c,funcName:f}=l;const m=Be(a[0],"size");if(c.settings.strict){const y=f[1]==="m",_=m.value.unit==="mu";y?(_||c.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+f+" supports only mu units, "+("not "+m.value.unit+" units")),c.mode!=="math"&&c.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+f+" works only in math mode")):_&&c.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+f+" doesn't support mu units")}return{type:"kern",mode:c.mode,dimension:m.value}},htmlBuilder(l,a){return Jc(l.dimension,a)},mathmlBuilder(l,a){const c=Ke(l.dimension,a);return new ru(c)}}),fe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(l,a)=>{let{parser:c,funcName:f}=l;const m=a[0];return{type:"lap",mode:c.mode,alignment:f.slice(5),body:m}},htmlBuilder:(l,a)=>{let c;l.alignment==="clap"?(c=se([],[je(l.body,a)]),c=se(["inner"],[c],a)):c=se(["inner"],[je(l.body,a)]);const f=se(["fix"],[]);let m=se([l.alignment],[c,f],a);const y=se(["strut"]);return y.style.height=oe(m.height+m.depth),m.depth&&(y.style.verticalAlign=oe(-m.depth)),m.children.unshift(y),m=se(["thinbox"],[m],a),se(["mord","vbox"],[m],a)},mathmlBuilder:(l,a)=>{const c=new ae("mpadded",[it(l.body,a)]);if(l.alignment!=="rlap"){const f=l.alignment==="llap"?"-1":"-0.5";c.setAttribute("lspace",f+"width")}return c.setAttribute("width","0px"),c}}),fe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(l,a){let{funcName:c,parser:f}=l;const m=f.mode;f.switchMode("math");const y=c==="\\("?"\\)":"$",_=f.parseExpression(!1,y);return f.expect(y),f.switchMode(m),{type:"styling",mode:f.mode,style:"text",body:_}}}),fe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(l,a){throw new i("Mismatched "+l.funcName)}});const Bu=(l,a)=>{switch(a.style.size){case te.DISPLAY.size:return l.display;case te.TEXT.size:return l.text;case te.SCRIPT.size:return l.script;case te.SCRIPTSCRIPT.size:return l.scriptscript;default:return l.text}};fe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(l,a)=>{let{parser:c}=l;return{type:"mathchoice",mode:c.mode,display:bt(a[0]),text:bt(a[1]),script:bt(a[2]),scriptscript:bt(a[3])}},htmlBuilder:(l,a)=>{const c=Bu(l,a),f=Tt(c,a,!1);return Gn(f)},mathmlBuilder:(l,a)=>{const c=Bu(l,a);return cr(c,a)}});const Fu=(l,a,c,f,m,y,_)=>{l=se([],[l]);const E=c&&x(c);let C,R;if(a){const K=je(a,f.havingStyle(m.sup()),f);R={elem:K,kern:Math.max(f.fontMetrics().bigOpSpacing1,f.fontMetrics().bigOpSpacing3-K.depth)}}if(c){const K=je(c,f.havingStyle(m.sub()),f);C={elem:K,kern:Math.max(f.fontMetrics().bigOpSpacing2,f.fontMetrics().bigOpSpacing4-K.height)}}let q;if(R&&C){const K=f.fontMetrics().bigOpSpacing5+C.elem.height+C.elem.depth+C.kern+l.depth+_;q=Xe({positionType:"bottom",positionData:K,children:[{type:"kern",size:f.fontMetrics().bigOpSpacing5},{type:"elem",elem:C.elem,marginLeft:oe(-y)},{type:"kern",size:C.kern},{type:"elem",elem:l},{type:"kern",size:R.kern},{type:"elem",elem:R.elem,marginLeft:oe(y)},{type:"kern",size:f.fontMetrics().bigOpSpacing5}]})}else if(C){const K=l.height-_;q=Xe({positionType:"top",positionData:K,children:[{type:"kern",size:f.fontMetrics().bigOpSpacing5},{type:"elem",elem:C.elem,marginLeft:oe(-y)},{type:"kern",size:C.kern},{type:"elem",elem:l}]})}else if(R){const K=l.depth+_;q=Xe({positionType:"bottom",positionData:K,children:[{type:"elem",elem:l},{type:"kern",size:R.kern},{type:"elem",elem:R.elem,marginLeft:oe(y)},{type:"kern",size:f.fontMetrics().bigOpSpacing5}]})}else return l;const H=[q];if(C&&y!==0&&!E){const K=se(["mspace"],[],f);K.style.marginRight=oe(y),H.unshift(K)}return se(["mop","op-limits"],H,f)},zu=new Set(["\\smallint"]),ns=(l,a)=>{let c,f,m=!1,y;l.type==="supsub"?(c=l.sup,f=l.sub,y=Be(l.base,"op"),m=!0):y=Be(l,"op");const _=a.style;let E=!1;_.size===te.DISPLAY.size&&y.symbol&&!zu.has(y.name)&&(E=!0);let C;if(y.symbol){const H=E?"Size2-Regular":"Size1-Regular";let K="";if((y.name==="\\oiint"||y.name==="\\oiiint")&&(K=y.name.slice(1),y.name=K==="oiint"?"\\iint":"\\iiint"),C=Gt(y.name,H,"math",a,["mop","op-symbol",E?"large-op":"small-op"]),K.length>0){const Z=C.italic,de=Zc(K+"Size"+(E?"2":"1"),a);C=Xe({positionType:"individualShift",children:[{type:"elem",elem:C,shift:0},{type:"elem",elem:de,shift:E?.08:0}]}),y.name="\\"+K,C.classes.unshift("mop"),C.italic=Z}}else if(y.body){const H=Tt(y.body,a,!0);H.length===1&&H[0]instanceof pn?(C=H[0],C.classes[0]="mop"):C=se(["mop"],H,a)}else{const H=[];for(let K=1;K{let c;if(l.symbol)c=new ae("mo",[gn(l.name,l.mode)]),zu.has(l.name)&&c.setAttribute("largeop","false");else if(l.body)c=new ae("mo",en(l.body,a));else{c=new ae("mi",[new At(l.name.slice(1))]);const f=new ae("mo",[gn("⁡","text")]);l.parentIsSupSub?c=new ae("mrow",[c,f]):c=nu([c,f])}return c},$4={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};fe({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(l,a)=>{let{parser:c,funcName:f}=l,m=f;return m.length===1&&(m=$4[m]),{type:"op",mode:c.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:m}},htmlBuilder:ns,mathmlBuilder:qs}),fe({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(l,a)=>{let{parser:c}=l;const f=a[0];return{type:"op",mode:c.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:bt(f)}},htmlBuilder:ns,mathmlBuilder:qs});const B4={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};fe({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(l){let{parser:a,funcName:c}=l;return{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:c}},htmlBuilder:ns,mathmlBuilder:qs}),fe({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(l){let{parser:a,funcName:c}=l;return{type:"op",mode:a.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:c}},htmlBuilder:ns,mathmlBuilder:qs}),fe({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(l){let{parser:a,funcName:c}=l,f=c;return f.length===1&&(f=B4[f]),{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:f}},htmlBuilder:ns,mathmlBuilder:qs});const qu=(l,a)=>{let c,f,m=!1,y;l.type==="supsub"?(c=l.sup,f=l.sub,y=Be(l.base,"operatorname"),m=!0):y=Be(l,"operatorname");let _;if(y.body.length>0){const E=y.body.map(R=>{const q=R.text;return typeof q=="string"?{type:"textord",mode:R.mode,text:q}:R}),C=Tt(E,a.withFont("mathrm"),!0);for(let R=0;R{let{parser:c,funcName:f}=l;const m=a[0];return{type:"operatorname",mode:c.mode,body:bt(m),alwaysHandleSupSub:f==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:qu,mathmlBuilder:(l,a)=>{let c=en(l.body,a.withFont("mathrm")),f=!0;for(let _=0;_E.toText()).join("");c=[new At(_)]}const m=new ae("mi",c);m.setAttribute("mathvariant","normal");const y=new ae("mo",[gn("⁡","text")]);return l.parentIsSupSub?new ae("mrow",[m,y]):nu([m,y])}}),T("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Or({type:"ordgroup",htmlBuilder(l,a){return l.semisimple?Gn(Tt(l.body,a,!1)):se(["mord"],Tt(l.body,a,!0),a)},mathmlBuilder(l,a){return cr(l.body,a,!0)}}),fe({type:"overline",names:["\\overline"],props:{numArgs:1},handler(l,a){let{parser:c}=l;const f=a[0];return{type:"overline",mode:c.mode,body:f}},htmlBuilder(l,a){const c=je(l.body,a.havingCrampedStyle()),f=es("overline-line",a),m=a.fontMetrics().defaultRuleThickness,y=Xe({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:3*m},{type:"elem",elem:f},{type:"kern",size:m}]});return se(["mord","overline"],[y],a)},mathmlBuilder(l,a){const c=new ae("mo",[new At("‾")]);c.setAttribute("stretchy","true");const f=new ae("mover",[it(l.body,a),c]);return f.setAttribute("accent","true"),f}}),fe({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(l,a)=>{let{parser:c}=l;const f=a[0];return{type:"phantom",mode:c.mode,body:bt(f)}},htmlBuilder:(l,a)=>{const c=Tt(l.body,a.withPhantom(),!1);return Gn(c)},mathmlBuilder:(l,a)=>{const c=en(l.body,a);return new ae("mphantom",c)}}),fe({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(l,a)=>{let{parser:c}=l;const f=a[0];return{type:"hphantom",mode:c.mode,body:f}},htmlBuilder:(l,a)=>{let c=se([],[je(l.body,a.withPhantom())]);if(c.height=0,c.depth=0,c.children)for(let f=0;f{const c=en(bt(l.body),a),f=new ae("mphantom",c),m=new ae("mpadded",[f]);return m.setAttribute("height","0px"),m.setAttribute("depth","0px"),m}}),fe({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(l,a)=>{let{parser:c}=l;const f=a[0];return{type:"vphantom",mode:c.mode,body:f}},htmlBuilder:(l,a)=>{const c=se(["inner"],[je(l.body,a.withPhantom())]),f=se(["fix"],[]);return se(["mord","rlap"],[c,f],a)},mathmlBuilder:(l,a)=>{const c=en(bt(l.body),a),f=new ae("mphantom",c),m=new ae("mpadded",[f]);return m.setAttribute("width","0px"),m}}),fe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(l,a){let{parser:c}=l;const f=Be(a[0],"size").value,m=a[1];return{type:"raisebox",mode:c.mode,dy:f,body:m}},htmlBuilder(l,a){const c=je(l.body,a),f=Ke(l.dy,a);return Xe({positionType:"shift",positionData:-f,children:[{type:"elem",elem:c}]})},mathmlBuilder(l,a){const c=new ae("mpadded",[it(l.body,a)]),f=l.dy.number+l.dy.unit;return c.setAttribute("voffset",f),c}}),fe({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(l){let{parser:a}=l;return{type:"internal",mode:a.mode}}}),fe({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(l,a,c){let{parser:f}=l;const m=c[0],y=Be(a[0],"size"),_=Be(a[1],"size");return{type:"rule",mode:f.mode,shift:m&&Be(m,"size").value,width:y.value,height:_.value}},htmlBuilder(l,a){const c=se(["mord","rule"],[],a),f=Ke(l.width,a),m=Ke(l.height,a),y=l.shift?Ke(l.shift,a):0;return c.style.borderRightWidth=oe(f),c.style.borderTopWidth=oe(m),c.style.bottom=oe(y),c.width=f,c.height=m+y,c.depth=-y,c.maxFontSize=m*1.125*a.sizeMultiplier,c},mathmlBuilder(l,a){const c=Ke(l.width,a),f=Ke(l.height,a),m=l.shift?Ke(l.shift,a):0,y=a.color&&a.getColor()||"black",_=new ae("mspace");_.setAttribute("mathbackground",y),_.setAttribute("width",oe(c)),_.setAttribute("height",oe(f));const E=new ae("mpadded",[_]);return m>=0?E.setAttribute("height",oe(m)):(E.setAttribute("height",oe(m)),E.setAttribute("depth",oe(-m))),E.setAttribute("voffset",oe(m)),E}});function Uu(l,a,c){const f=Tt(l,a,!1),m=a.sizeMultiplier/c.sizeMultiplier;for(let y=0;y{let{breakOnTokenText:c,funcName:f,parser:m}=l;const y=m.parseExpression(!1,c);return{type:"sizing",mode:m.mode,size:Hu.indexOf(f)+1,body:y}},htmlBuilder:(l,a)=>{const c=a.havingSize(l.size);return Uu(l.body,c,a)},mathmlBuilder:(l,a)=>{const c=a.havingSize(l.size),f=en(l.body,c),m=new ae("mstyle",f);return m.setAttribute("mathsize",oe(c.sizeMultiplier)),m}}),fe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(l,a,c)=>{let{parser:f}=l,m=!1,y=!1;const _=c[0]&&Be(c[0],"ordgroup");if(_){let C="";for(let R=0;R<_.body.length;++R)if(C=_.body[R].text,C==="t")m=!0;else if(C==="b")y=!0;else{m=!1,y=!1;break}}else m=!0,y=!0;const E=a[0];return{type:"smash",mode:f.mode,body:E,smashHeight:m,smashDepth:y}},htmlBuilder:(l,a)=>{const c=se([],[je(l.body,a)]);if(!l.smashHeight&&!l.smashDepth)return c;if(l.smashHeight&&(c.height=0,c.children))for(let m=0;m{const c=new ae("mpadded",[it(l.body,a)]);return l.smashHeight&&c.setAttribute("height","0px"),l.smashDepth&&c.setAttribute("depth","0px"),c}}),fe({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(l,a,c){let{parser:f}=l;const m=c[0],y=a[0];return{type:"sqrt",mode:f.mode,body:y,index:m}},htmlBuilder(l,a){let c=je(l.body,a.havingCrampedStyle());c.height===0&&(c.height=a.fontMetrics().xHeight),c=ts(c,a);const m=a.fontMetrics().defaultRuleThickness;let y=m;a.style.idc.height+c.depth+_&&(_=(_+H-c.height-c.depth)/2);const K=C.height-c.height-_-R;c.style.paddingLeft=oe(q);const Z=Xe({positionType:"firstBaseline",children:[{type:"elem",elem:c,wrapperClasses:["svg-align"]},{type:"kern",size:-(c.height+K)},{type:"elem",elem:C},{type:"kern",size:R}]});if(l.index){const de=a.havingStyle(te.SCRIPTSCRIPT),ye=je(l.index,de,a),He=.6*(Z.height-Z.depth),Fe=Xe({positionType:"shift",positionData:-He,children:[{type:"elem",elem:ye}]}),Ve=se(["root"],[Fe]);return se(["mord","sqrt"],[Ve,Z],a)}else return se(["mord","sqrt"],[Z],a)},mathmlBuilder(l,a){const{body:c,index:f}=l;return f?new ae("mroot",[it(c,a),it(f,a)]):new ae("msqrt",[it(c,a)])}});const Vu={display:te.DISPLAY,text:te.TEXT,script:te.SCRIPT,scriptscript:te.SCRIPTSCRIPT};fe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(l,a){let{breakOnTokenText:c,funcName:f,parser:m}=l;const y=m.parseExpression(!0,c),_=f.slice(1,f.length-5);return{type:"styling",mode:m.mode,style:_,body:y}},htmlBuilder(l,a){const c=Vu[l.style],f=a.havingStyle(c).withFont("");return Uu(l.body,f,a)},mathmlBuilder(l,a){const c=Vu[l.style],f=a.havingStyle(c),m=en(l.body,f),y=new ae("mstyle",m),E={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[l.style];return y.setAttribute("scriptlevel",E[0]),y.setAttribute("displaystyle",E[1]),y}});const F4=function(l,a){const c=l.base;return c?c.type==="op"?c.limits&&(a.style.size===te.DISPLAY.size||c.alwaysHandleSupSub)?ns:null:c.type==="operatorname"?c.alwaysHandleSupSub&&(a.style.size===te.DISPLAY.size||c.limits)?qu:null:c.type==="accent"?x(c.base)?Yo:null:c.type==="horizBrace"&&!l.sub===c.isOver?$u:null:null};Or({type:"supsub",htmlBuilder(l,a){const c=F4(l,a);if(c)return c(l,a);const{base:f,sup:m,sub:y}=l,_=je(f,a);let E,C;const R=a.fontMetrics();let q=0,H=0;const K=f&&x(f);if(m){const Ze=a.havingStyle(a.style.sup());E=je(m,Ze,a),K||(q=_.height-Ze.fontMetrics().supDrop*Ze.sizeMultiplier/a.sizeMultiplier)}if(y){const Ze=a.havingStyle(a.style.sub());C=je(y,Ze,a),K||(H=_.depth+Ze.fontMetrics().subDrop*Ze.sizeMultiplier/a.sizeMultiplier)}let Z;a.style===te.DISPLAY?Z=R.sup1:a.style.cramped?Z=R.sup3:Z=R.sup2;const de=a.sizeMultiplier,ye=oe(.5/R.ptPerEm/de);let He=null;if(C){const Ze=l.base&&l.base.type==="op"&&l.base.name&&(l.base.name==="\\oiint"||l.base.name==="\\oiiint");(_ instanceof pn||Ze)&&(He=oe(-_.italic))}let Fe;if(E&&C){q=Math.max(q,Z,E.depth+.25*R.xHeight),H=Math.max(H,R.sub2);const at=4*R.defaultRuleThickness;if(q-E.depth-(C.height-H)0&&(q+=Nt,H-=Nt)}const Kt=[{type:"elem",elem:C,shift:H,marginRight:ye,marginLeft:He},{type:"elem",elem:E,shift:-q,marginRight:ye}];Fe=Xe({positionType:"individualShift",children:Kt})}else if(C)H=Math.max(H,R.sub1,C.height-.8*R.xHeight),Fe=Xe({positionType:"shift",positionData:H,children:[{type:"elem",elem:C,marginLeft:He,marginRight:ye}]});else if(E)q=Math.max(q,Z,E.depth+.25*R.xHeight),Fe=Xe({positionType:"shift",positionData:-q,children:[{type:"elem",elem:E,marginRight:ye}]});else throw new Error("supsub must have either sup or sub.");const Ve=Vo(_,"right")||"mord";return se([Ve],[_,se(["msupsub"],[Fe])],a)},mathmlBuilder(l,a){let c=!1,f,m;l.base&&l.base.type==="horizBrace"&&(m=!!l.sup,m===l.base.isOver&&(c=!0,f=l.base.isOver)),l.base&&(l.base.type==="op"||l.base.type==="operatorname")&&(l.base.parentIsSupSub=!0);const y=[it(l.base,a)];l.sub&&y.push(it(l.sub,a)),l.sup&&y.push(it(l.sup,a));let _;if(c)_=f?"mover":"munder";else if(l.sub)if(l.sup){const E=l.base;E&&E.type==="op"&&E.limits&&a.style===te.DISPLAY||E&&E.type==="operatorname"&&E.alwaysHandleSupSub&&(a.style===te.DISPLAY||E.limits)?_="munderover":_="msubsup"}else{const E=l.base;E&&E.type==="op"&&E.limits&&(a.style===te.DISPLAY||E.alwaysHandleSupSub)||E&&E.type==="operatorname"&&E.alwaysHandleSupSub&&(E.limits||a.style===te.DISPLAY)?_="munder":_="msub"}else{const E=l.base;E&&E.type==="op"&&E.limits&&(a.style===te.DISPLAY||E.alwaysHandleSupSub)||E&&E.type==="operatorname"&&E.alwaysHandleSupSub&&(E.limits||a.style===te.DISPLAY)?_="mover":_="msup"}return new ae(_,y)}}),Or({type:"atom",htmlBuilder(l,a){return Fo(l.text,l.mode,a,["m"+l.family])},mathmlBuilder(l,a){const c=new ae("mo",[gn(l.text,l.mode)]);if(l.family==="bin"){const f=Go(l,a);f==="bold-italic"&&c.setAttribute("mathvariant",f)}else l.family==="punct"?c.setAttribute("separator","true"):(l.family==="open"||l.family==="close")&&c.setAttribute("stretchy","false");return c}});const ju={mi:"italic",mn:"normal",mtext:"normal"};Or({type:"mathord",htmlBuilder(l,a){return zi(l,a,"mathord")},mathmlBuilder(l,a){const c=new ae("mi",[gn(l.text,l.mode,a)]),f=Go(l,a)||"italic";return f!==ju[c.type]&&c.setAttribute("mathvariant",f),c}}),Or({type:"textord",htmlBuilder(l,a){return zi(l,a,"textord")},mathmlBuilder(l,a){const c=gn(l.text,l.mode,a),f=Go(l,a)||"normal";let m;return l.mode==="text"?m=new ae("mtext",[c]):/[0-9]/.test(l.text)?m=new ae("mn",[c]):l.text==="\\prime"?m=new ae("mo",[c]):m=new ae("mi",[c]),f!==ju[m.type]&&m.setAttribute("mathvariant",f),m}});const hl={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},dl={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Or({type:"spacing",htmlBuilder(l,a){if(dl.hasOwnProperty(l.text)){const c=dl[l.text].className||"";if(l.mode==="text"){const f=zi(l,a,"textord");return f.classes.push(c),f}else return se(["mspace",c],[Fo(l.text,l.mode,a)],a)}else{if(hl.hasOwnProperty(l.text))return se(["mspace",hl[l.text]],[],a);throw new i('Unknown type of space "'+l.text+'"')}},mathmlBuilder(l,a){let c;if(dl.hasOwnProperty(l.text))c=new ae("mtext",[new At(" ")]);else{if(hl.hasOwnProperty(l.text))return new ae("mspace");throw new i('Unknown type of space "'+l.text+'"')}return c}});const Wu=()=>{const l=new ae("mtd",[]);return l.setAttribute("width","50%"),l};Or({type:"tag",mathmlBuilder(l,a){const c=new ae("mtable",[new ae("mtr",[Wu(),new ae("mtd",[cr(l.body,a)]),Wu(),new ae("mtd",[cr(l.tag,a)])])]);return c.setAttribute("width","100%"),c}});const Gu={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ku={"\\textbf":"textbf","\\textmd":"textmd"},z4={"\\textit":"textit","\\textup":"textup"},Xu=(l,a)=>{const c=l.font;if(c){if(Gu[c])return a.withTextFontFamily(Gu[c]);if(Ku[c])return a.withTextFontWeight(Ku[c]);if(c==="\\emph")return a.fontShape==="textit"?a.withTextFontShape("textup"):a.withTextFontShape("textit")}else return a;return a.withTextFontShape(z4[c])};fe({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(l,a){let{parser:c,funcName:f}=l;const m=a[0];return{type:"text",mode:c.mode,body:bt(m),font:f}},htmlBuilder(l,a){const c=Xu(l,a),f=Tt(l.body,c,!0);return se(["mord","text"],f,c)},mathmlBuilder(l,a){const c=Xu(l,a);return cr(l.body,c)}}),fe({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(l,a){let{parser:c}=l;return{type:"underline",mode:c.mode,body:a[0]}},htmlBuilder(l,a){const c=je(l.body,a),f=es("underline-line",a),m=a.fontMetrics().defaultRuleThickness,y=Xe({positionType:"top",positionData:c.height,children:[{type:"kern",size:m},{type:"elem",elem:f},{type:"kern",size:3*m},{type:"elem",elem:c}]});return se(["mord","underline"],[y],a)},mathmlBuilder(l,a){const c=new ae("mo",[new At("‾")]);c.setAttribute("stretchy","true");const f=new ae("munder",[it(l.body,a),c]);return f.setAttribute("accentunder","true"),f}}),fe({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(l,a){let{parser:c}=l;return{type:"vcenter",mode:c.mode,body:a[0]}},htmlBuilder(l,a){const c=je(l.body,a),f=a.fontMetrics().axisHeight,m=.5*(c.height-f-(c.depth+f));return Xe({positionType:"shift",positionData:m,children:[{type:"elem",elem:c}]})},mathmlBuilder(l,a){return new ae("mpadded",[it(l.body,a)],["vcenter"])}}),fe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(l,a,c){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(l,a){const c=Yu(l),f=[],m=a.havingStyle(a.style.text());for(let y=0;yl.body.replace(/ /g,l.star?"␣":" ");var fr=eu;const Ju=`[ \r
-	]`,q4="\\\\[a-zA-Z@]+",U4="\\\\[^\uD800-\uDFFF]",H4="("+q4+")"+Ju+"*",V4=`\\\\(
-|[ \r	]+
-?)[ \r	]*`,ml="[̀-ͯ]",j4=new RegExp(ml+"+$"),W4="("+Ju+"+)|"+(V4+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(ml+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ml+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+H4)+("|"+U4+")");class Qu{constructor(a,c){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=a,this.settings=c,this.tokenRegex=new RegExp(W4,"g"),this.catcodes={"%":14,"~":13}}setCatcode(a,c){this.catcodes[a]=c}lex(){const a=this.input,c=this.tokenRegex.lastIndex;if(c===a.length)return new un("EOF",new tn(this,c,c));const f=this.tokenRegex.exec(a);if(f===null||f.index!==c)throw new i("Unexpected character: '"+a[c]+"'",new un(a[c],new tn(this,c,c+1)));const m=f[6]||f[3]||(f[2]?"\\ ":" ");if(this.catcodes[m]===14){const y=a.indexOf(`
-`,this.tokenRegex.lastIndex);return y===-1?(this.tokenRegex.lastIndex=a.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=y+1,this.lex()}return new un(m,new tn(this,c,this.tokenRegex.lastIndex))}}class G4{constructor(a,c){a===void 0&&(a={}),c===void 0&&(c={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=c,this.builtins=a,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new i("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const a=this.undefStack.pop();for(const c in a)a.hasOwnProperty(c)&&(a[c]==null?delete this.current[c]:this.current[c]=a[c])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(a){return this.current.hasOwnProperty(a)||this.builtins.hasOwnProperty(a)}get(a){return this.current.hasOwnProperty(a)?this.current[a]:this.builtins[a]}set(a,c,f){if(f===void 0&&(f=!1),f){for(let m=0;m0&&(this.undefStack[this.undefStack.length-1][a]=c)}else{const m=this.undefStack[this.undefStack.length-1];m&&!m.hasOwnProperty(a)&&(m[a]=this.current[a])}c==null?delete this.current[a]:this.current[a]=c}}var K4=Tu;T("\\noexpand",function(l){const a=l.popToken();return l.isExpandable(a.text)&&(a.noexpand=!0,a.treatAsRelax=!0),{tokens:[a],numArgs:0}}),T("\\expandafter",function(l){const a=l.popToken();return l.expandOnce(!0),{tokens:[a],numArgs:0}}),T("\\@firstoftwo",function(l){return{tokens:l.consumeArgs(2)[0],numArgs:0}}),T("\\@secondoftwo",function(l){return{tokens:l.consumeArgs(2)[1],numArgs:0}}),T("\\@ifnextchar",function(l){const a=l.consumeArgs(3);l.consumeSpaces();const c=l.future();return a[0].length===1&&a[0][0].text===c.text?{tokens:a[1],numArgs:0}:{tokens:a[2],numArgs:0}}),T("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),T("\\TextOrMath",function(l){const a=l.consumeArgs(2);return l.mode==="text"?{tokens:a[0],numArgs:0}:{tokens:a[1],numArgs:0}});const Zu={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};T("\\char",function(l){let a=l.popToken(),c,f="";if(a.text==="'")c=8,a=l.popToken();else if(a.text==='"')c=16,a=l.popToken();else if(a.text==="`")if(a=l.popToken(),a.text[0]==="\\")f=a.text.charCodeAt(1);else{if(a.text==="EOF")throw new i("\\char` missing argument");f=a.text.charCodeAt(0)}else c=10;if(c){if(f=Zu[a.text],f==null||f>=c)throw new i("Invalid base-"+c+" digit "+a.text);let m;for(;(m=Zu[l.future().text])!=null&&m{let m=l.consumeArg().tokens;if(m.length!==1)throw new i("\\newcommand's first argument must be a macro name");const y=m[0].text,_=l.isDefined(y);if(_&&!a)throw new i("\\newcommand{"+y+"} attempting to redefine "+(y+"; use \\renewcommand"));if(!_&&!c)throw new i("\\renewcommand{"+y+"} when command "+y+" does not yet exist; use \\newcommand");let E=0;if(m=l.consumeArg().tokens,m.length===1&&m[0].text==="["){let C="",R=l.expandNextToken();for(;R.text!=="]"&&R.text!=="EOF";)C+=R.text,R=l.expandNextToken();if(!C.match(/^\s*[0-9]+\s*$/))throw new i("Invalid number of arguments: "+C);E=parseInt(C),m=l.consumeArg().tokens}return _&&f||l.macros.set(y,{tokens:m,numArgs:E}),""};T("\\newcommand",l=>pl(l,!1,!0,!1)),T("\\renewcommand",l=>pl(l,!0,!1,!1)),T("\\providecommand",l=>pl(l,!0,!0,!0)),T("\\message",l=>{const a=l.consumeArgs(1)[0];return console.log(a.reverse().map(c=>c.text).join("")),""}),T("\\errmessage",l=>{const a=l.consumeArgs(1)[0];return console.error(a.reverse().map(c=>c.text).join("")),""}),T("\\show",l=>{const a=l.popToken(),c=a.text;return console.log(a,l.macros.get(c),fr[c],dt.math[c],dt.text[c]),""}),T("\\bgroup","{"),T("\\egroup","}"),T("~","\\nobreakspace"),T("\\lq","`"),T("\\rq","'"),T("\\aa","\\r a"),T("\\AA","\\r A"),T("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),T("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),T("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),T("ℬ","\\mathscr{B}"),T("ℰ","\\mathscr{E}"),T("ℱ","\\mathscr{F}"),T("ℋ","\\mathscr{H}"),T("ℐ","\\mathscr{I}"),T("ℒ","\\mathscr{L}"),T("ℳ","\\mathscr{M}"),T("ℛ","\\mathscr{R}"),T("ℭ","\\mathfrak{C}"),T("ℌ","\\mathfrak{H}"),T("ℨ","\\mathfrak{Z}"),T("\\Bbbk","\\Bbb{k}"),T("·","\\cdotp"),T("\\llap","\\mathllap{\\textrm{#1}}"),T("\\rlap","\\mathrlap{\\textrm{#1}}"),T("\\clap","\\mathclap{\\textrm{#1}}"),T("\\mathstrut","\\vphantom{(}"),T("\\underbar","\\underline{\\text{#1}}"),T("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}'),T("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),T("\\ne","\\neq"),T("≠","\\neq"),T("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),T("∉","\\notin"),T("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),T("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),T("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),T("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),T("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),T("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),T("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),T("⟂","\\perp"),T("‼","\\mathclose{!\\mkern-0.8mu!}"),T("∌","\\notni"),T("⌜","\\ulcorner"),T("⌝","\\urcorner"),T("⌞","\\llcorner"),T("⌟","\\lrcorner"),T("©","\\copyright"),T("®","\\textregistered"),T("️","\\textregistered"),T("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),T("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),T("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),T("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),T("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),T("⋮","\\vdots"),T("\\varGamma","\\mathit{\\Gamma}"),T("\\varDelta","\\mathit{\\Delta}"),T("\\varTheta","\\mathit{\\Theta}"),T("\\varLambda","\\mathit{\\Lambda}"),T("\\varXi","\\mathit{\\Xi}"),T("\\varPi","\\mathit{\\Pi}"),T("\\varSigma","\\mathit{\\Sigma}"),T("\\varUpsilon","\\mathit{\\Upsilon}"),T("\\varPhi","\\mathit{\\Phi}"),T("\\varPsi","\\mathit{\\Psi}"),T("\\varOmega","\\mathit{\\Omega}"),T("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),T("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),T("\\boxed","\\fbox{$\\displaystyle{#1}$}"),T("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),T("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),T("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),T("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),T("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");const ef={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"},X4=new Set(["bin","rel"]);T("\\dots",function(l){let a="\\dotso";const c=l.expandAfterFuture().text;return c in ef?a=ef[c]:(c.slice(0,4)==="\\not"||c in dt.math&&X4.has(dt.math[c].group))&&(a="\\dotsb"),a});const gl={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};T("\\dotso",function(l){return l.future().text in gl?"\\ldots\\,":"\\ldots"}),T("\\dotsc",function(l){const a=l.future().text;return a in gl&&a!==","?"\\ldots\\,":"\\ldots"}),T("\\cdots",function(l){return l.future().text in gl?"\\@cdots\\,":"\\@cdots"}),T("\\dotsb","\\cdots"),T("\\dotsm","\\cdots"),T("\\dotsi","\\!\\cdots"),T("\\dotsx","\\ldots\\,"),T("\\DOTSI","\\relax"),T("\\DOTSB","\\relax"),T("\\DOTSX","\\relax"),T("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),T("\\,","\\tmspace+{3mu}{.1667em}"),T("\\thinspace","\\,"),T("\\>","\\mskip{4mu}"),T("\\:","\\tmspace+{4mu}{.2222em}"),T("\\medspace","\\:"),T("\\;","\\tmspace+{5mu}{.2777em}"),T("\\thickspace","\\;"),T("\\!","\\tmspace-{3mu}{.1667em}"),T("\\negthinspace","\\!"),T("\\negmedspace","\\tmspace-{4mu}{.2222em}"),T("\\negthickspace","\\tmspace-{5mu}{.277em}"),T("\\enspace","\\kern.5em "),T("\\enskip","\\hskip.5em\\relax"),T("\\quad","\\hskip1em\\relax"),T("\\qquad","\\hskip2em\\relax"),T("\\tag","\\@ifstar\\tag@literal\\tag@paren"),T("\\tag@paren","\\tag@literal{({#1})}"),T("\\tag@literal",l=>{if(l.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),T("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),T("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),T("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),T("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),T("\\newline","\\\\\\relax"),T("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const tf=oe($e["Main-Regular"][84][1]-.7*$e["Main-Regular"][65][1]);T("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+tf+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),T("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+tf+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),T("\\hspace","\\@ifstar\\@hspacer\\@hspace"),T("\\@hspace","\\hskip #1\\relax"),T("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),T("\\ordinarycolon",":"),T("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),T("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),T("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),T("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),T("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),T("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),T("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),T("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),T("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),T("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),T("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),T("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),T("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),T("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),T("∷","\\dblcolon"),T("∹","\\eqcolon"),T("≔","\\coloneqq"),T("≕","\\eqqcolon"),T("⩴","\\Coloneqq"),T("\\ratio","\\vcentcolon"),T("\\coloncolon","\\dblcolon"),T("\\colonequals","\\coloneqq"),T("\\coloncolonequals","\\Coloneqq"),T("\\equalscolon","\\eqqcolon"),T("\\equalscoloncolon","\\Eqqcolon"),T("\\colonminus","\\coloneq"),T("\\coloncolonminus","\\Coloneq"),T("\\minuscolon","\\eqcolon"),T("\\minuscoloncolon","\\Eqcolon"),T("\\coloncolonapprox","\\Colonapprox"),T("\\coloncolonsim","\\Colonsim"),T("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),T("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),T("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),T("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),T("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),T("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),T("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),T("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),T("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),T("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),T("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),T("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),T("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),T("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),T("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),T("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),T("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),T("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),T("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),T("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),T("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),T("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),T("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),T("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),T("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),T("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),T("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),T("\\imath","\\html@mathml{\\@imath}{ı}"),T("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),T("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),T("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),T("⟦","\\llbracket"),T("⟧","\\rrbracket"),T("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),T("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),T("⦃","\\lBrace"),T("⦄","\\rBrace"),T("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),T("⦵","\\minuso"),T("\\darr","\\downarrow"),T("\\dArr","\\Downarrow"),T("\\Darr","\\Downarrow"),T("\\lang","\\langle"),T("\\rang","\\rangle"),T("\\uarr","\\uparrow"),T("\\uArr","\\Uparrow"),T("\\Uarr","\\Uparrow"),T("\\N","\\mathbb{N}"),T("\\R","\\mathbb{R}"),T("\\Z","\\mathbb{Z}"),T("\\alef","\\aleph"),T("\\alefsym","\\aleph"),T("\\Alpha","\\mathrm{A}"),T("\\Beta","\\mathrm{B}"),T("\\bull","\\bullet"),T("\\Chi","\\mathrm{X}"),T("\\clubs","\\clubsuit"),T("\\cnums","\\mathbb{C}"),T("\\Complex","\\mathbb{C}"),T("\\Dagger","\\ddagger"),T("\\diamonds","\\diamondsuit"),T("\\empty","\\emptyset"),T("\\Epsilon","\\mathrm{E}"),T("\\Eta","\\mathrm{H}"),T("\\exist","\\exists"),T("\\harr","\\leftrightarrow"),T("\\hArr","\\Leftrightarrow"),T("\\Harr","\\Leftrightarrow"),T("\\hearts","\\heartsuit"),T("\\image","\\Im"),T("\\infin","\\infty"),T("\\Iota","\\mathrm{I}"),T("\\isin","\\in"),T("\\Kappa","\\mathrm{K}"),T("\\larr","\\leftarrow"),T("\\lArr","\\Leftarrow"),T("\\Larr","\\Leftarrow"),T("\\lrarr","\\leftrightarrow"),T("\\lrArr","\\Leftrightarrow"),T("\\Lrarr","\\Leftrightarrow"),T("\\Mu","\\mathrm{M}"),T("\\natnums","\\mathbb{N}"),T("\\Nu","\\mathrm{N}"),T("\\Omicron","\\mathrm{O}"),T("\\plusmn","\\pm"),T("\\rarr","\\rightarrow"),T("\\rArr","\\Rightarrow"),T("\\Rarr","\\Rightarrow"),T("\\real","\\Re"),T("\\reals","\\mathbb{R}"),T("\\Reals","\\mathbb{R}"),T("\\Rho","\\mathrm{P}"),T("\\sdot","\\cdot"),T("\\sect","\\S"),T("\\spades","\\spadesuit"),T("\\sub","\\subset"),T("\\sube","\\subseteq"),T("\\supe","\\supseteq"),T("\\Tau","\\mathrm{T}"),T("\\thetasym","\\vartheta"),T("\\weierp","\\wp"),T("\\Zeta","\\mathrm{Z}"),T("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),T("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),T("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),T("\\bra","\\mathinner{\\langle{#1}|}"),T("\\ket","\\mathinner{|{#1}\\rangle}"),T("\\braket","\\mathinner{\\langle{#1}\\rangle}"),T("\\Bra","\\left\\langle#1\\right|"),T("\\Ket","\\left|#1\\right\\rangle");const nf=l=>a=>{const c=a.consumeArg().tokens,f=a.consumeArg().tokens,m=a.consumeArg().tokens,y=a.consumeArg().tokens,_=a.macros.get("|"),E=a.macros.get("\\|");a.macros.beginGroup();const C=H=>K=>{l&&(K.macros.set("|",_),m.length&&K.macros.set("\\|",E));let Z=H;return!H&&m.length&&K.future().text==="|"&&(K.popToken(),Z=!0),{tokens:Z?m:f,numArgs:0}};a.macros.set("|",C(!1)),m.length&&a.macros.set("\\|",C(!0));const R=a.consumeArg().tokens,q=a.expandTokens([...y,...R,...c]);return a.macros.endGroup(),{tokens:q.reverse(),numArgs:0}};T("\\bra@ket",nf(!1)),T("\\bra@set",nf(!0)),T("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),T("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),T("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),T("\\angln","{\\angl n}"),T("\\blue","\\textcolor{##6495ed}{#1}"),T("\\orange","\\textcolor{##ffa500}{#1}"),T("\\pink","\\textcolor{##ff00af}{#1}"),T("\\red","\\textcolor{##df0030}{#1}"),T("\\green","\\textcolor{##28ae7b}{#1}"),T("\\gray","\\textcolor{gray}{#1}"),T("\\purple","\\textcolor{##9d38bd}{#1}"),T("\\blueA","\\textcolor{##ccfaff}{#1}"),T("\\blueB","\\textcolor{##80f6ff}{#1}"),T("\\blueC","\\textcolor{##63d9ea}{#1}"),T("\\blueD","\\textcolor{##11accd}{#1}"),T("\\blueE","\\textcolor{##0c7f99}{#1}"),T("\\tealA","\\textcolor{##94fff5}{#1}"),T("\\tealB","\\textcolor{##26edd5}{#1}"),T("\\tealC","\\textcolor{##01d1c1}{#1}"),T("\\tealD","\\textcolor{##01a995}{#1}"),T("\\tealE","\\textcolor{##208170}{#1}"),T("\\greenA","\\textcolor{##b6ffb0}{#1}"),T("\\greenB","\\textcolor{##8af281}{#1}"),T("\\greenC","\\textcolor{##74cf70}{#1}"),T("\\greenD","\\textcolor{##1fab54}{#1}"),T("\\greenE","\\textcolor{##0d923f}{#1}"),T("\\goldA","\\textcolor{##ffd0a9}{#1}"),T("\\goldB","\\textcolor{##ffbb71}{#1}"),T("\\goldC","\\textcolor{##ff9c39}{#1}"),T("\\goldD","\\textcolor{##e07d10}{#1}"),T("\\goldE","\\textcolor{##a75a05}{#1}"),T("\\redA","\\textcolor{##fca9a9}{#1}"),T("\\redB","\\textcolor{##ff8482}{#1}"),T("\\redC","\\textcolor{##f9685d}{#1}"),T("\\redD","\\textcolor{##e84d39}{#1}"),T("\\redE","\\textcolor{##bc2612}{#1}"),T("\\maroonA","\\textcolor{##ffbde0}{#1}"),T("\\maroonB","\\textcolor{##ff92c6}{#1}"),T("\\maroonC","\\textcolor{##ed5fa6}{#1}"),T("\\maroonD","\\textcolor{##ca337c}{#1}"),T("\\maroonE","\\textcolor{##9e034e}{#1}"),T("\\purpleA","\\textcolor{##ddd7ff}{#1}"),T("\\purpleB","\\textcolor{##c6b9fc}{#1}"),T("\\purpleC","\\textcolor{##aa87ff}{#1}"),T("\\purpleD","\\textcolor{##7854ab}{#1}"),T("\\purpleE","\\textcolor{##543b78}{#1}"),T("\\mintA","\\textcolor{##f5f9e8}{#1}"),T("\\mintB","\\textcolor{##edf2df}{#1}"),T("\\mintC","\\textcolor{##e0e5cc}{#1}"),T("\\grayA","\\textcolor{##f6f7f7}{#1}"),T("\\grayB","\\textcolor{##f0f1f2}{#1}"),T("\\grayC","\\textcolor{##e3e5e6}{#1}"),T("\\grayD","\\textcolor{##d6d8da}{#1}"),T("\\grayE","\\textcolor{##babec2}{#1}"),T("\\grayF","\\textcolor{##888d93}{#1}"),T("\\grayG","\\textcolor{##626569}{#1}"),T("\\grayH","\\textcolor{##3b3e40}{#1}"),T("\\grayI","\\textcolor{##21242c}{#1}"),T("\\kaBlue","\\textcolor{##314453}{#1}"),T("\\kaGreen","\\textcolor{##71B307}{#1}");const rf={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Y4{constructor(a,c,f){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=c,this.expansionCount=0,this.feed(a),this.macros=new G4(K4,c.macros),this.mode=f,this.stack=[]}feed(a){this.lexer=new Qu(a,this.settings)}switchMode(a){this.mode=a}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(a){this.stack.push(a)}pushTokens(a){this.stack.push(...a)}scanArgument(a){let c,f,m;if(a){if(this.consumeSpaces(),this.future().text!=="[")return null;c=this.popToken(),{tokens:m,end:f}=this.consumeArg(["]"])}else({tokens:m,start:c,end:f}=this.consumeArg());return this.pushToken(new un("EOF",f.loc)),this.pushTokens(m),new un("",tn.range(c,f))}consumeSpaces(){for(;this.future().text===" ";)this.stack.pop()}consumeArg(a){const c=[],f=a&&a.length>0;f||this.consumeSpaces();const m=this.future();let y,_=0,E=0;do{if(y=this.popToken(),c.push(y),y.text==="{")++_;else if(y.text==="}"){if(--_,_===-1)throw new i("Extra }",y)}else if(y.text==="EOF")throw new i("Unexpected end of input in a macro argument, expected '"+(a&&f?a[E]:"}")+"'",y);if(a&&f)if((_===0||_===1&&a[E]==="{")&&y.text===a[E]){if(++E,E===a.length){c.splice(-E,E);break}}else E=0}while(_!==0||f);return m.text==="{"&&c[c.length-1].text==="}"&&(c.pop(),c.shift()),c.reverse(),{tokens:c,start:m,end:y}}consumeArgs(a,c){if(c){if(c.length!==a+1)throw new i("The length of delimiters doesn't match the number of args!");const m=c[0];for(let y=0;ythis.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(a){const c=this.popToken(),f=c.text,m=c.noexpand?null:this._getExpansion(f);if(m==null||a&&m.unexpandable){if(a&&m==null&&f[0]==="\\"&&!this.isDefined(f))throw new i("Undefined control sequence: "+f);return this.pushToken(c),!1}this.countExpansion(1);let y=m.tokens;const _=this.consumeArgs(m.numArgs,m.delimiters);if(m.numArgs){y=y.slice();for(let E=y.length-1;E>=0;--E){let C=y[E];if(C.text==="#"){if(E===0)throw new i("Incomplete placeholder at end of macro body",C);if(C=y[--E],C.text==="#")y.splice(E+1,1);else if(/^[1-9]$/.test(C.text))y.splice(E,2,..._[+C.text-1]);else throw new i("Not a valid argument number",C)}}}return this.pushTokens(y),y.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){const a=this.stack.pop();return a.treatAsRelax&&(a.text="\\relax"),a}throw new Error}expandMacro(a){return this.macros.has(a)?this.expandTokens([new un(a)]):void 0}expandTokens(a){const c=[],f=this.stack.length;for(this.pushTokens(a);this.stack.length>f;)if(this.expandOnce(!0)===!1){const m=this.stack.pop();m.treatAsRelax&&(m.noexpand=!1,m.treatAsRelax=!1),c.push(m)}return this.countExpansion(c.length),c}expandMacroAsText(a){const c=this.expandMacro(a);return c&&c.map(f=>f.text).join("")}_getExpansion(a){const c=this.macros.get(a);if(c==null)return c;if(a.length===1){const m=this.lexer.catcodes[a];if(m!=null&&m!==13)return}const f=typeof c=="function"?c(this):c;if(typeof f=="string"){let m=0;if(f.includes("#")){const R=f.replace(/##/g,"");for(;R.includes("#"+(m+1));)++m}const y=new Qu(f,this.settings),_=[];let E=y.lex();for(;E.text!=="EOF";)_.push(E),E=y.lex();return _.reverse(),{tokens:_,numArgs:m}}return f}isDefined(a){return this.macros.has(a)||fr.hasOwnProperty(a)||dt.math.hasOwnProperty(a)||dt.text.hasOwnProperty(a)||rf.hasOwnProperty(a)}isExpandable(a){const c=this.macros.get(a);return c!=null?typeof c=="string"||typeof c=="function"||!c.unexpandable:fr.hasOwnProperty(a)&&!fr[a].primitive}}const sf=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,ea=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),bl={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},af={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class ta{constructor(a,c){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Y4(a,c,this.mode),this.settings=c,this.leftrightDepth=0}expect(a,c){if(c===void 0&&(c=!0),this.fetch().text!==a)throw new i("Expected '"+a+"', got '"+this.fetch().text+"'",this.fetch());c&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(a){this.mode=a,this.gullet.switchMode(a)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{const a=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),a}finally{this.gullet.endGroups()}}subparse(a){const c=this.nextToken;this.consume(),this.gullet.pushToken(new un("}")),this.gullet.pushTokens(a);const f=this.parseExpression(!1);return this.expect("}"),this.nextToken=c,f}parseExpression(a,c){const f=[];for(;;){this.mode==="math"&&this.consumeSpaces();const m=this.fetch();if(ta.endOfExpression.has(m.text)||c&&m.text===c||a&&fr[m.text]&&fr[m.text].infix)break;const y=this.parseAtom(c);if(y){if(y.type==="internal")continue}else break;f.push(y)}return this.mode==="text"&&this.formLigatures(f),this.handleInfixNodes(f)}handleInfixNodes(a){let c=-1,f;for(let m=0;m=128)this.settings.strict&&(U(c.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+c[0]+'" used in math mode',a):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+c[0]+'"'+(" ("+c.charCodeAt(0)+")"),a)),m={type:"textord",mode:"text",loc:tn.range(a),text:c};else return null;if(this.consume(),f)for(let y=0;y$/.test(n.content))return!1;let r=Nh(e,e.pos);if(!r.can_open)return t||(e.pending+="$"),e.pos+=1,!0;let s=e.pos+1,i=s,o;for(;(i=e.src.indexOf("$",i))!==-1;){for(o=i-1;e.src[o]==="\\";)o-=1;if((i-o)%2==1)break;i+=1}if(i===-1)return t||(e.pending+="$"),e.pos=s,!0;if(i-s===0)return t||(e.pending+="$$"),e.pos=s+1,!0;if(r=Nh(e,i),!r.can_close)return t||(e.pending+="$"),e.pos=s,!0;if(!t){const u=e.push("math_inline","math",0);u.markup="$",u.content=e.src.slice(s,i)}return e.pos=i+1,!0}function ky(e,t,n,r){let s=!1,i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(i+2>o||e.src.slice(i,i+2)!=="$$")return!1;i+=2;let u=e.src.slice(i,o);const h=[...u.matchAll(/\$\$/g)];if(h.length===1&&h[0].index===u.length-2)u=u.trim().slice(0,-2),s=!0;else if(h.length>1)return!1;if(r)return!0;let d,p,w;for(p=t;!s&&(p++,!(p>=n||(i=e.bMarks[p]+e.tShift[p],o=e.eMarks[p],i0){const x=e.bMarks[t-1]+e.tShift[t-1],k=e.eMarks[t-1],A=e.src.slice(x,k);if(!/^\s*$/.test(A))return!1}if(r)return!0;const h=[];let d=t,p,w=!1;e:for(;!w&&!(d>=n);d++){const x=e.bMarks[d]+e.tShift[d],k=e.eMarks[d];if(x"u")return!1;const u=r.slice(0,s+1).reduce((d,p)=>d+p.length,0)+s+1,h=e.push("math_inline_bare_block","math",0);return h.block=!0,h.markup="$$",h.content=n.slice(1,u),e.pos=e.pos+u,!0}function Mh(e,t,n,r){const s=e.tokens;for(let i=s.length-1;i>=0;i--){const o=s[i],u=[];if(o.type!=="html_block")continue;const h=o.content;for(const d of h.matchAll(r)){if(!d.groups)continue;const p=d.groups.html_before_math,w=d.groups.math,v=d.groups.html_after_math;p&&u.push({...o,type:"html_block",map:null,content:p}),w&&u.push({...o,type:t,map:null,content:w,markup:n,block:!0,tag:"math"}),v&&u.push({...o,type:"html_block",map:null,content:v})}u.length>0&&s.splice(i,1,...u)}return!0}function ga(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Ty(e,t){const n=(t==null?void 0:t.katex)??_y.default,r=t==null?void 0:t.enableBareBlocks,s=t==null?void 0:t.enableMathBlockInHtml,i=t==null?void 0:t.enableMathInlineInHtml,o=t==null?void 0:t.enableFencedBlocks;e.inline.ruler.after("escape","math_inline",xy),e.inline.ruler.after("escape","math_inline_block",Ay),r&&e.inline.ruler.before("text","math_inline_bare_block",Ey),e.block.ruler.after("blockquote","math_block",(x,k,A,N)=>r&&Sy(x,k,A,N)?!0:ky(x,k,A,N),{alt:["paragraph","reference","blockquote","list"]});const u=/(?[\s\S]*?)\$\$(?[\s\S]+?)\$\$(?(?:(?!\$\$[\s\S]+?\$\$)[\s\S])*)/gm,h=/(?[\s\S]*?)\$(?.*?)\$(?(?:(?!\$.*?\$)[\s\S])*)/gm;s&&e.core.ruler.push("math_block_in_html_block",x=>Mh(x,"math_block","$$",u)),i&&e.core.ruler.push("math_inline_in_html_block",x=>Mh(x,"math_inline","$",h));const d=x=>{const k=/\\begin\{(align|equation|gather|cd|alignat)\}/ig.test(x);try{return n.renderToString(x,{...t,displayMode:k})}catch(A){return t!=null&&t.throwOnError&&console.log(A),`${ga(A+"")}`}},p=(x,k)=>{const A=x[k].content,I=A.length>2&&A[0]==="`"&&A[A.length-1]==="`"?A.slice(1,-1):A;return d(I)},w=x=>{try{return`

${n.renderToString(x,{...t,displayMode:!0})}

`}catch(k){return t!=null&&t.throwOnError&&console.log(k),`

${ga(k+"")}

`}},v=(x,k)=>w(x[k].content)+` -`;if(e.renderer.rules.math_inline=p,e.renderer.rules.math_inline_block=v,e.renderer.rules.math_inline_bare_block=v,e.renderer.rules.math_block=v,o){const x="math",k=e.renderer.rules.fence;e.renderer.rules.fence=function(A,N,I,V,D){const M=A[N];return M.info.trim().toLowerCase()===x&&o?w(M.content)+` -`:(k==null?void 0:k.call(this,A,N,I,V,D))||""}}}var Ny=Um.default=Ty;function Cy(){const e=Cd({html:!0,breaks:!0});return e.use(tb).use(nb).use(ib).use(lb),e}function Iy(e){return{transformer:e,parser:new Ks,beforeParse:new Ks,afterParse:new Ks,retransform:new Ks}}const Oy=` -`,My=` -`,Ly="checkbox",Lh={" ":My.trim(),x:Oy.trim()},Dy={name:Ly,transform(e){return e.parser.tap(t=>{t.core.ruler.before("inline","checkbox",n=>{for(let r=2;rLh[h]?`${Lh[h]} `:u))}}return!1})}),{}}},Ry="frontmatter",Py={name:Ry,transform(e){return e.beforeParse.tap((t,n)=>{var r;const{content:s}=n;if(!/^---\r?\n/.test(s))return;const i=/\n---\r?\n/.exec(s);if(!i)return;const o=s.slice(4,i.index).trimEnd();let u;try{u=yy(o.replace(/\r?\n|\r/g,` -`)),u!=null&&u.markmap&&(u.markmap=$y(u.markmap))}catch{return}n.frontmatter=u,n.parserOptions={...n.parserOptions,...(r=u==null?void 0:u.markmap)==null?void 0:r.htmlParser},n.frontmatterInfo={lines:s.slice(0,i.index).split(` -`).length+1,offset:i.index+i[0].length}}),{}}};function $y(e){if(e)return["color","extraJs","extraCss"].forEach(t=>{e[t]!=null&&(e[t]=By(e[t]))}),["duration","maxWidth","initialExpandLevel"].forEach(t=>{e[t]!=null&&(e[t]=Fy(e[t]))}),e}function By(e){let t;return typeof e=="string"?t=[e]:Array.isArray(e)&&(t=e.filter(n=>n&&typeof n=="string")),t!=null&&t.length?t:void 0}function Fy(e){if(!isNaN(+e))return+e}function Nc(e,t){return t.type==="script"&&t.data.src?{...t,data:{...t.data,src:e.getFullUrl(t.data.src)}}:t}function zy(e,t){return t.type==="stylesheet"&&t.data.href?{...t,data:{...t.data,href:e.getFullUrl(t.data.href)}}:t}const Dh="hljs",qy=["@highlightjs/cdn-assets@11.11.1/highlight.min.js"].map(e=>J0(e)),Uy=["@highlightjs/cdn-assets@11.11.1/styles/default.min.css"].map(e=>d1(e)),Hy={versions:{hljs:"11.11.1"},preloadScripts:qy,styles:Uy},A0={name:Dh,config:Hy,transform(e){var t,n,r;let s;const i=((n=(t=A0.config)==null?void 0:t.preloadScripts)==null?void 0:n.map(h=>Nc(e.transformer.urlBuilder,h)))||[],o=()=>(s||(s=Y0(i)),s);let u=us;return e.parser.tap(h=>{h.set({highlight:(d,p)=>{u();const{hljs:w}=window;return w?w.highlightAuto(d,p?[p]:void 0).value:(o().then(()=>{e.retransform.call()}),d)}})}),e.beforeParse.tap((h,d)=>{u=()=>{d.features[Dh]=!0}}),{styles:(r=A0.config)==null?void 0:r.styles}}};function Vy(e,t,n){return e.map(r=>{if(typeof r=="string"&&!r.includes("://")){r.startsWith("npm:")||(r=`npm:${r}`);const s=4+t.length;r.startsWith(`npm:${t}/`)&&(r=`${r.slice(0,s)}@${n}${r.slice(s)}`)}return r})}var jy=["katex@0.16.18/dist/fonts/KaTeX_AMS-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Caligraphic-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Caligraphic-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Fraktur-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Fraktur-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-BoldItalic.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Math-BoldItalic.woff2","katex@0.16.18/dist/fonts/KaTeX_Math-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Script-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size1-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size2-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size3-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size4-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Typewriter-Regular.woff2"];const zl="katex",Wy=["katex@0.16.18/dist/katex.min.js"].map(e=>J0(e)),Vm=J0("webfontloader@1.6.28/webfontloader.js");Vm.data.defer=!0;const Gy=["katex@0.16.18/dist/katex.min.css"].map(e=>d1(e)),Ky={versions:{katex:"0.16.18",webfontloader:"1.6.28"},preloadScripts:Wy,scripts:[{type:"iife",data:{fn:e=>{window.WebFontConfig={custom:{families:["KaTeX_AMS","KaTeX_Caligraphic:n4,n7","KaTeX_Fraktur:n4,n7","KaTeX_Main:n4,n7,i4,i7","KaTeX_Math:i4,i7","KaTeX_Script","KaTeX_SansSerif:n4,n7,i4","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4","KaTeX_Typewriter"]},active:()=>{e().refreshHook.call()}}},getParams({getMarkmap:e}){return[e]}}},Vm],styles:Gy,resources:jy};function Xy(e){return e.default||e}const Yy=Xy(Ny),Qs={name:zl,config:Ky,transform(e){var t,n,r,s;let i;const o=((n=(t=Qs.config)==null?void 0:t.preloadScripts)==null?void 0:n.map(p=>Nc(e.transformer.urlBuilder,p)))||[],u=()=>(i||(i=Y0(o)),i),h=(p,w)=>{const{katex:v}=window;return v?v.renderToString(p,{displayMode:w,throwOnError:!1}):(u().then(()=>{e.retransform.call()}),p)};let d=us;return e.parser.tap(p=>{p.use(Yy),["math_block","math_inline"].forEach(w=>{const v=(x,k)=>(d(),h(x[k].content,!!x[k].block));p.renderer.rules[w]=v})}),e.beforeParse.tap((p,w)=>{d=()=>{w.features[zl]=!0}}),e.afterParse.tap((p,w)=>{var v;const x=(v=w.frontmatter)==null?void 0:v.markmap;x&&["extraJs","extraCss"].forEach(k=>{var A,N;const I=x[k];I&&(x[k]=Vy(I,zl,((N=(A=Qs.config)==null?void 0:A.versions)==null?void 0:N.katex)||""))})}),{styles:(r=Qs.config)==null?void 0:r.styles,scripts:(s=Qs.config)==null?void 0:s.scripts}}},Jy="npmUrl",Qy={name:Jy,transform(e){return e.afterParse.tap((t,n)=>{const{frontmatter:r}=n,s=r==null?void 0:r.markmap;s&&["extraJs","extraCss"].forEach(i=>{const o=s[i];o&&(s[i]=o.map(u=>u.startsWith("npm:")?e.transformer.urlBuilder.getFullUrl(u.slice(4)):u))})}),{}}},Zy="sourceLines",e9={name:Zy,transform(e){let t=0;return e.beforeParse.tap((n,r)=>{var s;t=((s=r.frontmatterInfo)==null?void 0:s.lines)||0}),e.parser.tap(n=>{n.renderer.renderAttrs=Wf(n.renderer.renderAttrs,(r,s)=>{if(s.block&&s.map){const i=s.map.map(o=>o+t);s.attrSet("data-lines",i.join(","))}return r(s)}),n.renderer.rules.fence&&(n.renderer.rules.fence=Wf(n.renderer.rules.fence,(r,s,i,...o)=>{let u=r(s,i,...o);const h=s[i];if(u.startsWith("
")&&h.map){const d=h.map.map(p=>p+t);u=u.slice(0,4)+` data-lines="${d.join(",")}"`+u.slice(4)}return u}))}),{}}},t9=[Py,Qs,A0,Qy,Dy,e9],n9=t9;function jm(e){for(;!e.content&&e.children.length===1;)e=e.children[0];for(;e.children.length===1&&!e.children[0].content;)e={...e,children:e.children[0].children};return{...e,children:e.children.map(jm)}}class r9{constructor(t=n9){this.assetsMap={},this.urlBuilder=new j5,this.hooks=Iy(this),this.plugins=t.map(s=>typeof s=="function"?s():s);const n={};for(const{name:s,transform:i}of this.plugins)n[s]=i(this.hooks);this.assetsMap=n;const r=Cy();this.md=r,this.hooks.parser.call(r)}transform(t,n){var r;const s={content:t,features:{},parserOptions:n};this.hooks.beforeParse.call(this.md,s);let{content:i}=s;s.frontmatterInfo&&(i=i.slice(s.frontmatterInfo.offset));const o=this.md.render(i,{});this.hooks.afterParse.call(this.md,s);const u=jm(eb(o,s.parserOptions));return u.content||(u.content=`${((r=s.frontmatter)==null?void 0:r.title)||""}`),{...s,root:u}}resolveJS(t){return Nc(this.urlBuilder,t)}resolveCSS(t){return zy(this.urlBuilder,t)}getAssets(t){const n=[],r=[];t??(t=this.plugins.map(s=>s.name));for(const s of t.map(i=>this.assetsMap[i]))s&&(s.styles&&n.push(...s.styles),s.scripts&&r.push(...s.scripts));return{styles:n.map(s=>this.resolveCSS(s)),scripts:r.map(s=>this.resolveJS(s))}}getUsedAssets(t){const n=this.plugins.map(r=>r.name).filter(r=>t[r]);return this.getAssets(n)}}class Rh extends Map{constructor(t,n=a9){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,s]of t)this.set(r,s)}get(t){return super.get(Ph(this,t))}has(t){return super.has(Ph(this,t))}set(t,n){return super.set(s9(this,t),n)}delete(t){return super.delete(i9(this,t))}}function Ph({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function s9({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function i9({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function a9(e){return e!==null&&typeof e=="object"?e.valueOf():e}function $h(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n=r)&&(n=r);else{let r=-1;for(let s of e)(s=t(s,++r,e))!=null&&(n=s)&&(n=s)}return n}function Bh(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let s of e)(s=t(s,++r,e))!=null&&(n>s||n===void 0&&s>=s)&&(n=s)}return n}function o9(e,t){let n,r=-1,s=-1;if(t===void 0)for(const i of e)++s,i!=null&&(n>i||n===void 0&&i>=i)&&(n=i,r=s);else for(let i of e)(i=t(i,++s,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i,r=s);return r}var l9={value:()=>{}};function Cc(){for(var e=0,t=arguments.length,n={},r;e=0&&(r=n.slice(s+1),n=n.slice(0,s)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}Ta.prototype=Cc.prototype={constructor:Ta,on:function(e,t){var n=this._,r=c9(e+"",n),s,i=-1,o=r.length;if(arguments.length<2){for(;++i0)for(var n=new Array(s),r=0,s,i;r=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),zh.hasOwnProperty(t)?{space:zh[t],local:e}:e}function f9(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===E0&&t.documentElement.namespaceURI===E0?t.createElement(e):t.createElementNS(n,e)}}function h9(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Wm(e){var t=Eo(e);return(t.local?h9:f9)(t)}function d9(){}function Ic(e){return e==null?d9:function(){return this.querySelector(e)}}function m9(e){typeof e!="function"&&(e=Ic(e));for(var t=this._groups,n=t.length,r=new Array(n),s=0;s=D&&(D=V+1);!(B=N[D])&&++D=0;)(o=r[s])&&(i&&o.compareDocumentPosition(i)^4&&i.parentNode.insertBefore(o,i),i=o);return this}function F9(e){e||(e=z9);function t(w,v){return w&&v?e(w.__data__,v.__data__):!w-!v}for(var n=this._groups,r=n.length,s=new Array(r),i=0;it?1:e>=t?0:NaN}function q9(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function U9(){return Array.from(this)}function H9(){for(var e=this._groups,t=0,n=e.length;t1?this.each((t==null?ew:typeof t=="function"?nw:tw)(e,t,n??"")):Ss(this.node(),e)}function Ss(e,t){return e.style.getPropertyValue(t)||Jm(e).getComputedStyle(e,null).getPropertyValue(t)}function sw(e){return function(){delete this[e]}}function iw(e,t){return function(){this[e]=t}}function aw(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function ow(e,t){return arguments.length>1?this.each((t==null?sw:typeof t=="function"?aw:iw)(e,t)):this.node()[e]}function Qm(e){return e.trim().split(/^|\s+/)}function Oc(e){return e.classList||new Zm(e)}function Zm(e){this._node=e,this._names=Qm(e.getAttribute("class")||"")}Zm.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function ep(e,t){for(var n=Oc(e),r=-1,s=t.length;++r=0&&(n=t.slice(r+1),t=t.slice(0,r)),{type:t,name:n}})}function Rw(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,s=t.length,i;n>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?ba(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?ba(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Gw.exec(e))?new an(t[1],t[2],t[3],1):(t=Kw.exec(e))?new an(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Xw.exec(e))?ba(t[1],t[2],t[3],t[4]):(t=Yw.exec(e))?ba(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Jw.exec(e))?Gh(t[1],t[2]/100,t[3]/100,1):(t=Qw.exec(e))?Gh(t[1],t[2]/100,t[3]/100,t[4]):qh.hasOwnProperty(e)?Vh(qh[e]):e==="transparent"?new an(NaN,NaN,NaN,0):null}function Vh(e){return new an(e>>16&255,e>>8&255,e&255,1)}function ba(e,t,n,r){return r<=0&&(e=t=n=NaN),new an(e,t,n,r)}function tv(e){return e instanceof Ni||(e=yi(e)),e?(e=e.rgb(),new an(e.r,e.g,e.b,e.opacity)):new an}function C0(e,t,n,r){return arguments.length===1?tv(e):new an(e,t,n,r??1)}function an(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}Mc(an,C0,sp(Ni,{brighter(e){return e=e==null?Ja:Math.pow(Ja,e),new an(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?gi:Math.pow(gi,e),new an(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new an(Hr(this.r),Hr(this.g),Hr(this.b),Qa(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:jh,formatHex:jh,formatHex8:nv,formatRgb:Wh,toString:Wh}));function jh(){return`#${qr(this.r)}${qr(this.g)}${qr(this.b)}`}function nv(){return`#${qr(this.r)}${qr(this.g)}${qr(this.b)}${qr((isNaN(this.opacity)?1:this.opacity)*255)}`}function Wh(){const e=Qa(this.opacity);return`${e===1?"rgb(":"rgba("}${Hr(this.r)}, ${Hr(this.g)}, ${Hr(this.b)}${e===1?")":`, ${e})`}`}function Qa(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Hr(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function qr(e){return e=Hr(e),(e<16?"0":"")+e.toString(16)}function Gh(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Nn(e,t,n,r)}function ip(e){if(e instanceof Nn)return new Nn(e.h,e.s,e.l,e.opacity);if(e instanceof Ni||(e=yi(e)),!e)return new Nn;if(e instanceof Nn)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,s=Math.min(t,n,r),i=Math.max(t,n,r),o=NaN,u=i-s,h=(i+s)/2;return u?(t===i?o=(n-r)/u+(n0&&h<1?0:o,new Nn(o,u,h,e.opacity)}function rv(e,t,n,r){return arguments.length===1?ip(e):new Nn(e,t,n,r??1)}function Nn(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Mc(Nn,rv,sp(Ni,{brighter(e){return e=e==null?Ja:Math.pow(Ja,e),new Nn(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?gi:Math.pow(gi,e),new Nn(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,s=2*n-r;return new an(ql(e>=240?e-240:e+120,s,r),ql(e,s,r),ql(e<120?e+240:e-120,s,r),this.opacity)},clamp(){return new Nn(Kh(this.h),ya(this.s),ya(this.l),Qa(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Qa(this.opacity);return`${e===1?"hsl(":"hsla("}${Kh(this.h)}, ${ya(this.s)*100}%, ${ya(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Kh(e){return e=(e||0)%360,e<0?e+360:e}function ya(e){return Math.max(0,Math.min(1,e||0))}function ql(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const ap=e=>()=>e;function sv(e,t){return function(n){return e+n*t}}function iv(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function av(e){return(e=+e)==1?op:function(t,n){return n-t?iv(t,n,e):ap(isNaN(t)?n:t)}}function op(e,t){var n=t-e;return n?sv(e,n):ap(isNaN(e)?t:e)}const Xh=function e(t){var n=av(t);function r(s,i){var o=n((s=C0(s)).r,(i=C0(i)).r),u=n(s.g,i.g),h=n(s.b,i.b),d=op(s.opacity,i.opacity);return function(p){return s.r=o(p),s.g=u(p),s.b=h(p),s.opacity=d(p),s+""}}return r.gamma=e,r}(1);function mr(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var I0=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ul=new RegExp(I0.source,"g");function ov(e){return function(){return e}}function lv(e){return function(t){return e(t)+""}}function cv(e,t){var n=I0.lastIndex=Ul.lastIndex=0,r,s,i,o=-1,u=[],h=[];for(e=e+"",t=t+"";(r=I0.exec(e))&&(s=Ul.exec(t));)(i=s.index)>n&&(i=t.slice(n,i),u[o]?u[o]+=i:u[++o]=i),(r=r[0])===(s=s[0])?u[o]?u[o]+=s:u[++o]=s:(u[++o]=null,h.push({i:o,x:mr(r,s)})),n=Ul.lastIndex;return n180?p+=360:p-d>180&&(d+=360),v.push({i:w.push(s(w)+"rotate(",null,r)-2,x:mr(d,p)})):p&&w.push(s(w)+"rotate("+p+r)}function u(d,p,w,v){d!==p?v.push({i:w.push(s(w)+"skewX(",null,r)-2,x:mr(d,p)}):p&&w.push(s(w)+"skewX("+p+r)}function h(d,p,w,v,x,k){if(d!==w||p!==v){var A=x.push(s(x)+"scale(",null,",",null,")");k.push({i:A-4,x:mr(d,w)},{i:A-2,x:mr(p,v)})}else(w!==1||v!==1)&&x.push(s(x)+"scale("+w+","+v+")")}return function(d,p){var w=[],v=[];return d=e(d),p=e(p),i(d.translateX,d.translateY,p.translateX,p.translateY,w,v),o(d.rotate,p.rotate,w,v),u(d.skewX,p.skewX,w,v),h(d.scaleX,d.scaleY,p.scaleX,p.scaleY,w,v),d=p=null,function(x){for(var k=-1,A=v.length,N;++k=0&&e._call.call(void 0,t),e=e._next;--As}function Qh(){Kr=(eo=wi.now())+To,As=Zs=0;try{wv()}finally{As=0,_v(),Kr=0}}function vv(){var e=wi.now(),t=e-eo;t>up&&(To-=t,eo=e)}function _v(){for(var e,t=Za,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:Za=n);ei=e,M0(r)}function M0(e){if(!As){Zs&&(Zs=clearTimeout(Zs));var t=e-Kr;t>24?(e<1/0&&(Zs=setTimeout(Qh,e-wi.now()-To)),js&&(js=clearInterval(js))):(js||(eo=wi.now(),js=setInterval(vv,up)),As=1,fp(Qh))}}function Zh(e,t,n){var r=new to;return t=t==null?0:+t,r.restart(s=>{r.stop(),e(s+t)},t,n),r}var xv=Cc("start","end","cancel","interrupt"),kv=[],dp=0,ed=1,L0=2,Na=3,td=4,D0=5,Ca=6;function No(e,t,n,r,s,i){var o=e.__transition;if(!o)e.__transition={};else if(n in o)return;Sv(e,n,{name:t,index:r,group:s,on:xv,tween:kv,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:dp})}function Dc(e,t){var n=Mn(e,t);if(n.state>dp)throw new Error("too late; already scheduled");return n}function Hn(e,t){var n=Mn(e,t);if(n.state>Na)throw new Error("too late; already running");return n}function Mn(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function Sv(e,t,n){var r=e.__transition,s;r[t]=n,n.timer=hp(i,0,n.time);function i(d){n.state=ed,n.timer.restart(o,n.delay,n.time),n.delay<=d&&o(d-n.delay)}function o(d){var p,w,v,x;if(n.state!==ed)return h();for(p in r)if(x=r[p],x.name===n.name){if(x.state===Na)return Zh(o);x.state===td?(x.state=Ca,x.timer.stop(),x.on.call("interrupt",e,e.__data__,x.index,x.group),delete r[p]):+pL0&&r.state=0&&(t=t.slice(0,n)),!t||t==="start"})}function e_(e,t,n){var r,s,i=Zv(t)?Dc:Hn;return function(){var o=i(this,e),u=o.on;u!==r&&(s=(r=u).copy()).on(t,n),o.on=s}}function t_(e,t){var n=this._id;return arguments.length<2?Mn(this.node(),n).on.on(e):this.each(e_(n,e,t))}function n_(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function r_(){return this.on("end.remove",n_(this._id))}function s_(e){var t=this._name,n=this._id;typeof e!="function"&&(e=Ic(e));for(var r=this._groups,s=r.length,i=new Array(s),o=0;o=0))throw new Error(`invalid digits: ${e}`);if(t>15)return bp;const n=10**t;return function(r){this._+=r[0];for(let s=1,i=r.length;s$r)if(!(Math.abs(w*h-d*p)>$r)||!i)this._append`L${this._x1=t},${this._y1=n}`;else{let x=r-o,k=s-u,A=h*h+d*d,N=x*x+k*k,I=Math.sqrt(A),V=Math.sqrt(v),D=i*Math.tan((R0-Math.acos((A+v-N)/(2*I*V)))/2),M=D/V,B=D/I;Math.abs(M-1)>$r&&this._append`L${t+M*p},${n+M*w}`,this._append`A${i},${i},0,0,${+(w*x>p*k)},${this._x1=t+B*h},${this._y1=n+B*d}`}}arc(t,n,r,s,i,o){if(t=+t,n=+n,r=+r,o=!!o,r<0)throw new Error(`negative radius: ${r}`);let u=r*Math.cos(s),h=r*Math.sin(s),d=t+u,p=n+h,w=1^o,v=o?s-i:i-s;this._x1===null?this._append`M${d},${p}`:(Math.abs(this._x1-d)>$r||Math.abs(this._y1-p)>$r)&&this._append`L${d},${p}`,r&&(v<0&&(v=v%P0+P0),v>C_?this._append`A${r},${r},0,1,${w},${t-u},${n-h}A${r},${r},0,1,${w},${this._x1=d},${this._y1=p}`:v>$r&&this._append`A${r},${r},0,${+(v>=R0)},${w},${this._x1=t+r*Math.cos(i)},${this._y1=n+r*Math.sin(i)}`)}rect(t,n,r,s){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+s}h${-r}Z`}toString(){return this._}}function M_(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}const nd=Symbol("implicit");function yp(){var e=new Rh,t=[],n=[],r=nd;function s(i){let o=e.get(i);if(o===void 0){if(r!==nd)return r;e.set(i,o=t.push(i)-1)}return n[o%n.length]}return s.domain=function(i){if(!arguments.length)return t.slice();t=[],e=new Rh;for(const o of i)e.has(o)||e.set(o,t.push(o)-1);return s},s.range=function(i){return arguments.length?(n=Array.from(i),s):n.slice()},s.unknown=function(i){return arguments.length?(r=i,s):r},s.copy=function(){return yp(t,n).unknown(r)},M_.apply(s,arguments),s}function L_(e){for(var t=e.length/6|0,n=new Array(t),r=0;r=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new O_(t)}var P_=Array.prototype.slice;function $_(e){return e[0]}function B_(e){return e[1]}class F_{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n);break}}this._x0=t,this._y0=n}}function z_(e){return new F_(e,!0)}function q_(e){return e.source}function U_(e){return e.target}function H_(e){let t=q_,n=U_,r=$_,s=B_,i=null,o=null,u=R_(h);function h(){let d;const p=P_.call(arguments),w=t.apply(this,p),v=n.apply(this,p);if(i==null&&(o=e(d=u())),o.lineStart(),p[0]=w,o.point(+r.apply(this,p),+s.apply(this,p)),p[0]=v,o.point(+r.apply(this,p),+s.apply(this,p)),o.lineEnd(),d)return o=null,d+""||null}return h.source=function(d){return arguments.length?(t=d,h):t},h.target=function(d){return arguments.length?(n=d,h):n},h.x=function(d){return arguments.length?(r=typeof d=="function"?d:rd(+d),h):r},h.y=function(d){return arguments.length?(s=typeof d=="function"?d:rd(+d),h):s},h.context=function(d){return arguments.length?(d==null?i=o=null:o=e(i=d),h):i},h}function V_(){return H_(z_)}const va=e=>()=>e;function j_(e,{sourceEvent:t,target:n,transform:r,dispatch:s}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:s}})}function tr(e,t,n){this.k=e,this.x=t,this.y=n}tr.prototype={constructor:tr,scale:function(e){return e===1?this:new tr(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new tr(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Co=new tr(1,0,0);ls.prototype=tr.prototype;function ls(e){for(;!e.__zoom;)if(!(e=e.parentNode))return Co;return e.__zoom}function Hl(e){e.stopImmediatePropagation()}function Ws(e){e.preventDefault(),e.stopImmediatePropagation()}function W_(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function G_(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function sd(){return this.__zoom||Co}function K_(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function X_(){return navigator.maxTouchPoints||"ontouchstart"in this}function Y_(e,t,n){var r=e.invertX(t[0][0])-n[0][0],s=e.invertX(t[1][0])-n[1][0],i=e.invertY(t[0][1])-n[0][1],o=e.invertY(t[1][1])-n[1][1];return e.translate(s>r?(r+s)/2:Math.min(0,r)||Math.max(0,s),o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o))}function J_(){var e=W_,t=G_,n=Y_,r=K_,s=X_,i=[0,1/0],o=[[-1/0,-1/0],[1/0,1/0]],u=250,h=bv,d=Cc("start","zoom","end"),p,w,v,x=500,k=150,A=0,N=10;function I(G){G.property("__zoom",sd).on("wheel.zoom",W,{passive:!1}).on("mousedown.zoom",Y).on("dblclick.zoom",pe).filter(s).on("touchstart.zoom",Me).on("touchmove.zoom",be).on("touchend.zoom touchcancel.zoom",xe).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}I.transform=function(G,he,Q,ge){var te=G.selection?G.selection():G;te.property("__zoom",sd),G!==te?B(G,he,Q,ge):te.interrupt().each(function(){P(this,arguments).event(ge).start().zoom(null,typeof he=="function"?he.apply(this,arguments):he).end()})},I.scaleBy=function(G,he,Q,ge){I.scaleTo(G,function(){var te=this.__zoom.k,Ae=typeof he=="function"?he.apply(this,arguments):he;return te*Ae},Q,ge)},I.scaleTo=function(G,he,Q,ge){I.transform(G,function(){var te=t.apply(this,arguments),Ae=this.__zoom,Le=Q==null?M(te):typeof Q=="function"?Q.apply(this,arguments):Q,ve=Ae.invert(Le),U=typeof he=="function"?he.apply(this,arguments):he;return n(D(V(Ae,U),Le,ve),te,o)},Q,ge)},I.translateBy=function(G,he,Q,ge){I.transform(G,function(){return n(this.__zoom.translate(typeof he=="function"?he.apply(this,arguments):he,typeof Q=="function"?Q.apply(this,arguments):Q),t.apply(this,arguments),o)},null,ge)},I.translateTo=function(G,he,Q,ge,te){I.transform(G,function(){var Ae=t.apply(this,arguments),Le=this.__zoom,ve=ge==null?M(Ae):typeof ge=="function"?ge.apply(this,arguments):ge;return n(Co.translate(ve[0],ve[1]).scale(Le.k).translate(typeof he=="function"?-he.apply(this,arguments):-he,typeof Q=="function"?-Q.apply(this,arguments):-Q),Ae,o)},ge,te)};function V(G,he){return he=Math.max(i[0],Math.min(i[1],he)),he===G.k?G:new tr(he,G.x,G.y)}function D(G,he,Q){var ge=he[0]-Q[0]*G.k,te=he[1]-Q[1]*G.k;return ge===G.x&&te===G.y?G:new tr(G.k,ge,te)}function M(G){return[(+G[0][0]+ +G[1][0])/2,(+G[0][1]+ +G[1][1])/2]}function B(G,he,Q,ge){G.on("start.zoom",function(){P(this,arguments).event(ge).start()}).on("interrupt.zoom end.zoom",function(){P(this,arguments).event(ge).end()}).tween("zoom",function(){var te=this,Ae=arguments,Le=P(te,Ae).event(ge),ve=t.apply(te,Ae),U=Q==null?M(ve):typeof Q=="function"?Q.apply(te,Ae):Q,ce=Math.max(ve[1][0]-ve[0][0],ve[1][1]-ve[0][1]),Ee=te.__zoom,et=typeof he=="function"?he.apply(te,Ae):he,Et=h(Ee.invert(U).concat(ce/Ee.k),et.invert(U).concat(ce/et.k));return function(Lt){if(Lt===1)Lt=et;else{var qt=Et(Lt),Sn=ce/qt[2];Lt=new tr(Sn,U[0]-qt[0]*Sn,U[1]-qt[1]*Sn)}Le.zoom(null,Lt)}})}function P(G,he,Q){return!Q&&G.__zooming||new j(G,he)}function j(G,he){this.that=G,this.args=he,this.active=0,this.sourceEvent=null,this.extent=t.apply(G,he),this.taps=0}j.prototype={event:function(G){return G&&(this.sourceEvent=G),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(G,he){return this.mouse&&G!=="mouse"&&(this.mouse[1]=he.invert(this.mouse[0])),this.touch0&&G!=="touch"&&(this.touch0[1]=he.invert(this.touch0[0])),this.touch1&&G!=="touch"&&(this.touch1[1]=he.invert(this.touch1[0])),this.that.__zoom=he,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(G){var he=pr(this.that).datum();d.call(G,this.that,new j_(G,{sourceEvent:this.sourceEvent,target:I,transform:this.that.__zoom,dispatch:d}),he)}};function W(G,...he){if(!e.apply(this,arguments))return;var Q=P(this,he).event(G),ge=this.__zoom,te=Math.max(i[0],Math.min(i[1],ge.k*Math.pow(2,r.apply(this,arguments)))),Ae=Rr(G);if(Q.wheel)(Q.mouse[0][0]!==Ae[0]||Q.mouse[0][1]!==Ae[1])&&(Q.mouse[1]=ge.invert(Q.mouse[0]=Ae)),clearTimeout(Q.wheel);else{if(ge.k===te)return;Q.mouse=[Ae,ge.invert(Ae)],Ia(this),Q.start()}Ws(G),Q.wheel=setTimeout(Le,k),Q.zoom("mouse",n(D(V(ge,te),Q.mouse[0],Q.mouse[1]),Q.extent,o));function Le(){Q.wheel=null,Q.end()}}function Y(G,...he){if(v||!e.apply(this,arguments))return;var Q=G.currentTarget,ge=P(this,he,!0).event(G),te=pr(G.view).on("mousemove.zoom",U,!0).on("mouseup.zoom",ce,!0),Ae=Rr(G,Q),Le=G.clientX,ve=G.clientY;Vw(G.view),Hl(G),ge.mouse=[Ae,this.__zoom.invert(Ae)],Ia(this),ge.start();function U(Ee){if(Ws(Ee),!ge.moved){var et=Ee.clientX-Le,Et=Ee.clientY-ve;ge.moved=et*et+Et*Et>A}ge.event(Ee).zoom("mouse",n(D(ge.that.__zoom,ge.mouse[0]=Rr(Ee,Q),ge.mouse[1]),ge.extent,o))}function ce(Ee){te.on("mousemove.zoom mouseup.zoom",null),jw(Ee.view,ge.moved),Ws(Ee),ge.event(Ee).end()}}function pe(G,...he){if(e.apply(this,arguments)){var Q=this.__zoom,ge=Rr(G.changedTouches?G.changedTouches[0]:G,this),te=Q.invert(ge),Ae=Q.k*(G.shiftKey?.5:2),Le=n(D(V(Q,Ae),ge,te),t.apply(this,he),o);Ws(G),u>0?pr(this).transition().duration(u).call(B,Le,ge,G):pr(this).call(I.transform,Le,ge,G)}}function Me(G,...he){if(e.apply(this,arguments)){var Q=G.touches,ge=Q.length,te=P(this,he,G.changedTouches.length===ge).event(G),Ae,Le,ve,U;for(Hl(G),Le=0;Ler=>e+t/n**r.state.depth,ex={autoFit:!1,duration:500,embedGlobalCSS:!0,fitRatio:.95,maxInitialScale:2,scrollForPan:wp,initialExpandLevel:-1,zoom:!0,pan:!0,toggleRecursively:!1,color:e=>{var t;return Q_(`${((t=e.state)==null?void 0:t.path)||""}`)},lineWidth:Z_(),maxWidth:0,nodeMinHeight:16,paddingX:8,spacingHorizontal:80,spacingVertical:5};function tx(e){let t=0;for(let n=0;n>>0).toString(36)}function hn(e){if(typeof e=="string"){const n=e;e=r=>r.matches(n)}const t=e;return function(){let n=Array.from(this.childNodes);return t&&(n=n.filter(r=>t(r))),n}}function nx(e){var t=0,n=e.children,r=n&&n.length;if(!r)t=1;else for(;--r>=0;)t+=n[r].value;e.value=t}function rx(){return this.eachAfter(nx)}function sx(e){var t=this,n,r=[t],s,i,o;do for(n=r.reverse(),r=[];t=n.pop();)if(e(t),s=t.children,s)for(i=0,o=s.length;i=0;--s)n.push(r[s]);return this}function ax(e){for(var t=this,n=[t],r=[],s,i,o;t=n.pop();)if(r.push(t),s=t.children,s)for(i=0,o=s.length;i=0;)n+=r[s].value;t.value=n})}function lx(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function cx(e){for(var t=this,n=ux(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var s=r.length;e!==n;)r.splice(s,0,e),e=e.parent;return r}function ux(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),s=null;for(e=n.pop(),t=r.pop();e===t;)s=e,e=n.pop(),t=r.pop();return s}function fx(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function hx(){var e=[];return this.each(function(t){e.push(t)}),e}function dx(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function mx(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}function Pc(e,t){var n=new no(e),r=+e.value&&(n.value=e.value),s,i=[n],o,u,h,d;for(t==null&&(t=gx);s=i.pop();)if(r&&(s.value=+s.data.value),(u=t(s.data))&&(d=u.length))for(s.children=new Array(d),h=d-1;h>=0;--h)i.push(o=s.children[h]=new no(u[h])),o.parent=s,o.depth=s.depth+1;return n.eachBefore(yx)}function px(){return Pc(this).eachBefore(bx)}function gx(e){return e.children}function bx(e){e.data=e.data.data}function yx(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function no(e){this.data=e,this.depth=this.height=0,this.parent=null}no.prototype=Pc.prototype={constructor:no,count:rx,each:sx,eachAfter:ax,eachBefore:ix,sum:ox,sort:lx,path:cx,ancestors:fx,descendants:hx,leaves:dx,links:mx,copy:px};const wx="2.1.2",vx={version:wx},{version:_x}=vx,xx=Object.freeze({children:e=>e.children,nodeSize:e=>e.data.size,spacing:0});function _p(e){const t=Object.assign({},xx,e);function n(u){const h=t[u];return typeof h=="function"?h:()=>h}function r(u){const h=o(i(),u,d=>d.children);return h.update(),h.data}function s(){const u=n("nodeSize"),h=n("spacing");return class vp extends Pc.prototype.constructor{constructor(p){super(p)}copy(){const p=o(this.constructor,this,w=>w.children);return p.each(w=>w.data=w.data.data),p}get size(){return u(this)}spacing(p){return h(this,p)}get nodes(){return this.descendants()}get xSize(){return this.size[0]}get ySize(){return this.size[1]}get top(){return this.y}get bottom(){return this.y+this.ySize}get left(){return this.x-this.xSize/2}get right(){return this.x+this.xSize/2}get root(){const p=this.ancestors();return p[p.length-1]}get numChildren(){return this.hasChildren?this.children.length:0}get hasChildren(){return!this.noChildren}get noChildren(){return this.children===null}get firstChild(){return this.hasChildren?this.children[0]:null}get lastChild(){return this.hasChildren?this.children[this.numChildren-1]:null}get extents(){return(this.children||[]).reduce((p,w)=>vp.maxExtents(p,w.extents),this.nodeExtents)}get nodeExtents(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}static maxExtents(p,w){return{top:Math.min(p.top,w.top),bottom:Math.max(p.bottom,w.bottom),left:Math.min(p.left,w.left),right:Math.max(p.right,w.right)}}}}function i(){const u=s(),h=n("nodeSize"),d=n("spacing");return class extends u{constructor(p){super(p),Object.assign(this,{x:0,y:0,relX:0,prelim:0,shift:0,change:0,lExt:this,lExtRelX:0,lThr:null,rExt:this,rExtRelX:0,rThr:null})}get size(){return h(this.data)}spacing(p){return d(this.data,p.data)}get x(){return this.data.x}set x(p){this.data.x=p}get y(){return this.data.y}set y(p){this.data.y=p}update(){return xp(this),kp(this),this}}}function o(u,h,d){const p=(w,v)=>{const x=new u(w);Object.assign(x,{parent:v,depth:v===null?0:v.depth+1,height:0,length:1});const k=d(w)||[];return x.children=k.length===0?null:k.map(A=>p(A,x)),x.children&&Object.assign(x,x.children.reduce((A,N)=>({height:Math.max(A.height,N.height+1),length:A.length+N.length}),x)),x};return p(h,null)}return Object.assign(r,{nodeSize(u){return arguments.length?(t.nodeSize=u,r):t.nodeSize},spacing(u){return arguments.length?(t.spacing=u,r):t.spacing},children(u){return arguments.length?(t.children=u,r):t.children},hierarchy(u,h){const d=typeof h>"u"?t.children:h;return o(s(),u,d)},dump(u){const h=n("nodeSize"),d=p=>w=>{const v=p+"  ",x=p+"    ",{x:k,y:A}=w,N=h(w),I=w.children||[],V=I.length===0?" ":`,${v}children: [${x}${I.map(d(x)).join(x)}${v}],${p}`;return`{ size: [${N.join(", ")}],${v}x: ${k}, y: ${A}${V}},`};return d(`
-`)(u)}}),r}_p.version=_x;const xp=(e,t=0)=>(e.y=t,(e.children||[]).reduce((n,r)=>{const[s,i]=n;xp(r,e.y+e.ySize);const o=(s===0?r.lExt:r.rExt).bottom;s!==0&&Sx(e,s,i);const u=Mx(o,s,i);return[s+1,u]},[0,null]),kx(e),Ox(e),e),kp=(e,t,n)=>{typeof t>"u"&&(t=-e.relX-e.prelim,n=0);const r=t+e.relX;return e.relX=r+e.prelim-n,e.prelim=0,e.x=n+e.relX,(e.children||[]).forEach(s=>kp(s,r,e.x)),e},kx=e=>{(e.children||[]).reduce((t,n)=>{const[r,s]=t,i=r+n.shift,o=s+i+n.change;return n.relX+=o,[i,o]},[0,0])},Sx=(e,t,n)=>{const r=e.children[t-1],s=e.children[t];let i=r,o=r.relX,u=s,h=s.relX,d=!0;for(;i&&u;){i.bottom>n.lowY&&(n=n.next);const p=o+i.prelim-(h+u.prelim)+i.xSize/2+u.xSize/2+i.spacing(u);(p>0||p<0&&d)&&(h+=p,Ax(s,p),Ex(e,t,n.index,p)),d=!1;const w=i.bottom,v=u.bottom;w<=v&&(i=Nx(i),i&&(o+=i.relX)),w>=v&&(u=Tx(u),u&&(h+=u.relX))}!i&&u?Cx(e,t,u,h):i&&!u&&Ix(e,t,i,o)},Ax=(e,t)=>{e.relX+=t,e.lExtRelX+=t,e.rExtRelX+=t},Ex=(e,t,n,r)=>{const s=e.children[t],i=t-n;if(i>1){const o=r/i;e.children[n+1].shift+=o,s.shift-=o,s.change-=r-o}},Tx=e=>e.hasChildren?e.firstChild:e.lThr,Nx=e=>e.hasChildren?e.lastChild:e.rThr,Cx=(e,t,n,r)=>{const s=e.firstChild,i=s.lExt,o=e.children[t];i.lThr=n;const u=r-n.relX-s.lExtRelX;i.relX+=u,i.prelim-=u,s.lExt=o.lExt,s.lExtRelX=o.lExtRelX},Ix=(e,t,n,r)=>{const s=e.children[t],i=s.rExt,o=e.children[t-1];i.rThr=n;const u=r-n.relX-s.rExtRelX;i.relX+=u,i.prelim-=u,s.rExt=o.rExt,s.rExtRelX=o.rExtRelX},Ox=e=>{if(e.hasChildren){const t=e.firstChild,n=e.lastChild,r=(t.prelim+t.relX-t.xSize/2+n.relX+n.prelim+n.xSize/2)/2;Object.assign(e,{prelim:r,lExt:t.lExt,lExtRelX:t.lExtRelX,rExt:n.rExt,rExtRelX:n.rExtRelX})}},Mx=(e,t,n)=>{for(;n!==null&&e>=n.lowY;)n=n.next;return{lowY:e,index:t,next:n}},Lx=".markmap{--markmap-max-width: 9999px;--markmap-a-color: #0097e6;--markmap-a-hover-color: #00a8ff;--markmap-code-bg: #f0f0f0;--markmap-code-color: #555;--markmap-highlight-bg: #ffeaa7;--markmap-table-border: 1px solid currentColor;--markmap-font: 300 16px/20px sans-serif;--markmap-circle-open-bg: #fff;--markmap-text-color: #333;--markmap-highlight-node-bg: #ff02;font:var(--markmap-font);color:var(--markmap-text-color)}.markmap-link{fill:none}.markmap-node>circle{cursor:pointer}.markmap-foreign{display:inline-block}.markmap-foreign p{margin:0}.markmap-foreign a{color:var(--markmap-a-color)}.markmap-foreign a:hover{color:var(--markmap-a-hover-color)}.markmap-foreign code{padding:.25em;font-size:calc(1em - 2px);color:var(--markmap-code-color);background-color:var(--markmap-code-bg);border-radius:2px}.markmap-foreign pre{margin:0}.markmap-foreign pre>code{display:block}.markmap-foreign del{text-decoration:line-through}.markmap-foreign em{font-style:italic}.markmap-foreign strong{font-weight:700}.markmap-foreign mark{background:var(--markmap-highlight-bg)}.markmap-foreign table,.markmap-foreign th,.markmap-foreign td{border-collapse:collapse;border:var(--markmap-table-border)}.markmap-foreign img{display:inline-block}.markmap-foreign svg{fill:currentColor}.markmap-foreign>div{width:var(--markmap-max-width);text-align:left}.markmap-foreign>div>div{display:inline-block}.markmap-highlight rect{fill:var(--markmap-highlight-node-bg)}.markmap-dark .markmap{--markmap-code-bg: #1a1b26;--markmap-code-color: #ddd;--markmap-circle-open-bg: #444;--markmap-text-color: #eee}",Vl="g.markmap-node",Dx="path.markmap-link",Rx="g.markmap-highlight",jl=V_();function id(e,t){const n=o9(e,t);return e[n]}function Wl(e){e.stopPropagation()}const Px=new Ks;class si{constructor(t,n){this.options={...ex},this._disposeList=[],this.handleZoom=r=>{const{transform:s}=r;this.g.attr("transform",s)},this.handlePan=r=>{r.preventDefault();const s=ls(this.svg.node()),i=s.translate(-r.deltaX/s.k,-r.deltaY/s.k);this.svg.call(this.zoom.transform,i)},this.handleClick=(r,s)=>{let i=this.options.toggleRecursively;(wp?r.metaKey:r.ctrlKey)&&(i=!i),this.toggleNode(s,i)},this.ensureView=this.ensureVisible,this.svg=t.datum?t:pr(t),this.styleNode=this.svg.append("style"),this.zoom=J_().filter(r=>this.options.scrollForPan&&r.type==="wheel"?r.ctrlKey&&!r.button:(!r.ctrlKey||r.type==="wheel")&&!r.button).on("zoom",this.handleZoom),this.setOptions(n),this.state={id:this.options.id||this.svg.attr("id")||G5(),rect:{x1:0,y1:0,x2:0,y2:0}},this.g=this.svg.append("g"),this.g.append("g").attr("class","markmap-highlight"),this._observer=new ResizeObserver(Y5(()=>{this.renderData()},100)),this._disposeList.push(Px.tap(()=>{this.setData()}),()=>this._observer.disconnect())}getStyleContent(){const{style:t}=this.options,{id:n}=this.state,r=typeof t=="function"?t(n):"";return[this.options.embedGlobalCSS&&Lx,r].filter(Boolean).join(`
-`)}updateStyle(){this.svg.attr("class",K5(this.svg.attr("class"),"markmap",this.state.id));const t=this.getStyleContent();this.styleNode.text(t)}async toggleNode(t,n=!1){var r,s;const i=(r=t.payload)!=null&&r.fold?0:1;n?Xs(t,(o,u)=>{o.payload={...o.payload,fold:i},u()}):t.payload={...t.payload,fold:(s=t.payload)!=null&&s.fold?0:1},await this.renderData(t)}_initializeData(t){let n=0;const{color:r,initialExpandLevel:s}=this.options;let i=0,o=0;return Xs(t,(u,h,d)=>{var p,w,v,x;o+=1,u.children=(p=u.children)==null?void 0:p.map(A=>({...A})),n+=1,u.state={...u.state,depth:o,id:n,rect:{x:0,y:0,width:0,height:0},size:[0,0]},u.state.key=[(w=d==null?void 0:d.state)==null?void 0:w.id,u.state.id].filter(Boolean).join(".")+tx(u.content),u.state.path=[(v=d==null?void 0:d.state)==null?void 0:v.path,u.state.id].filter(Boolean).join("."),r(u);const k=((x=u.payload)==null?void 0:x.fold)===2;k?i+=1:(i||s>=0&&u.state.depth>=s)&&(u.payload={...u.payload,fold:1}),h(),k&&(i-=1),o-=1}),t}_relayout(){if(!this.state.data)return;this.g.selectAll(hn(Vl)).selectAll(hn("foreignObject")).each(function(h){var d;const p=(d=this.firstChild)==null?void 0:d.firstChild,w=[p.scrollWidth,p.scrollHeight];h.state.size=w});const{lineWidth:t,paddingX:n,spacingHorizontal:r,spacingVertical:s}=this.options,i=_p({}).children(h=>{var d;if(!((d=h.payload)!=null&&d.fold))return h.children}).nodeSize(h=>{const[d,p]=h.data.state.size;return[p,d+(d?n*2:0)+r]}).spacing((h,d)=>(h.parent===d.parent?s:s*2)+t(h.data)),o=i.hierarchy(this.state.data);i(o);const u=o.descendants();u.forEach(h=>{const d=h.data;d.state.rect={x:h.y,y:h.x-h.xSize/2,width:h.ySize-r,height:h.xSize}}),this.state.rect={x1:Bh(u,h=>h.data.state.rect.x)||0,y1:Bh(u,h=>h.data.state.rect.y)||0,x2:$h(u,h=>h.data.state.rect.x+h.data.state.rect.width)||0,y2:$h(u,h=>h.data.state.rect.y+h.data.state.rect.height)||0}}setOptions(t){this.options={...this.options,...t},this.options.zoom?this.svg.call(this.zoom):this.svg.on(".zoom",null),this.options.pan?this.svg.on("wheel",this.handlePan):this.svg.on("wheel",null)}async setData(t,n){n&&this.setOptions(n),t&&(this.state.data=this._initializeData(t)),this.state.data&&(this.updateStyle(),await this.renderData())}async setHighlight(t){this.state.highlight=t||void 0,await this.renderData()}_getHighlightRect(t){const n=this.svg.node(),r=4/ls(n).k,s={...t.state.rect};return s.x-=r,s.y-=r,s.width+=2*r,s.height+=2*r,s}async renderData(t){const{paddingX:n,autoFit:r,color:s,maxWidth:i,lineWidth:o}=this.options,u=this.state.data;if(!u)return;const h={},d={},p=[];Xs(u,(U,ce,Ee)=>{var et;(et=U.payload)!=null&&et.fold||ce(),h[U.state.id]=U,Ee&&(d[U.state.id]=Ee.state.id),p.push(U)});const w={},v={},x=U=>{!U||w[U.state.id]||Xs(U,(ce,Ee)=>{w[ce.state.id]=U.state.id,Ee()})},k=U=>v[w[U.state.id]]||u.state.rect,A=U=>(h[w[U.state.id]]||u).state.rect;v[u.state.id]=u.state.rect,t&&x(t);let{highlight:N}=this.state;N&&!h[N.state.id]&&(N=void 0);let I=this.g.selectAll(hn(Rx)).selectAll(hn("rect")).data(N?[this._getHighlightRect(N)]:[]).join("rect").attr("x",U=>U.x).attr("y",U=>U.y).attr("width",U=>U.width).attr("height",U=>U.height);const V=this.g.selectAll(hn(Vl)).each(U=>{v[U.state.id]=U.state.rect}).data(p,U=>U.state.key),D=V.enter().append("g").attr("data-depth",U=>U.state.depth).attr("data-path",U=>U.state.path).each(U=>{x(h[d[U.state.id]])}),M=V.exit().each(U=>{x(h[d[U.state.id]])}),B=V.merge(D).attr("class",U=>{var ce;return["markmap-node",((ce=U.payload)==null?void 0:ce.fold)&&"markmap-fold"].filter(Boolean).join(" ")}),P=B.selectAll(hn("line")).data(U=>[U],U=>U.state.key),j=P.enter().append("line").attr("stroke",U=>s(U)).attr("stroke-width",0),W=P.merge(j),Y=B.selectAll(hn("circle")).data(U=>{var ce;return(ce=U.children)!=null&&ce.length?[U]:[]},U=>U.state.key),pe=Y.enter().append("circle").attr("stroke-width",0).attr("r",0).on("click",(U,ce)=>this.handleClick(U,ce)).on("mousedown",Wl).merge(Y).attr("stroke",U=>s(U)).attr("fill",U=>{var ce;return(ce=U.payload)!=null&&ce.fold&&U.children?s(U):"var(--markmap-circle-open-bg)"}),Me=this._observer,be=B.selectAll(hn("foreignObject")).data(U=>[U],U=>U.state.key),xe=be.enter().append("foreignObject").attr("class","markmap-foreign").attr("x",n).attr("y",0).style("opacity",0).on("mousedown",Wl).on("dblclick",Wl);xe.append("xhtml:div").append("xhtml:div").html(U=>U.content).attr("xmlns","http://www.w3.org/1999/xhtml"),xe.each(function(){var U;const ce=(U=this.firstChild)==null?void 0:U.firstChild;Me.observe(ce)});const G=M.selectAll(hn("foreignObject"));G.each(function(){var U;const ce=(U=this.firstChild)==null?void 0:U.firstChild;Me.unobserve(ce)});const he=xe.merge(be),Q=p.flatMap(U=>{var ce;return(ce=U.payload)!=null&&ce.fold?[]:U.children.map(Ee=>({source:U,target:Ee}))}),ge=this.g.selectAll(hn(Dx)).data(Q,U=>U.target.state.key),te=ge.exit(),Ae=ge.enter().insert("path","g").attr("class","markmap-link").attr("data-depth",U=>U.target.state.depth).attr("data-path",U=>U.target.state.path).attr("d",U=>{const ce=k(U.target),Ee=[ce.x+ce.width,ce.y+ce.height];return jl({source:Ee,target:Ee})}).attr("stroke-width",0).merge(ge);this.svg.style("--markmap-max-width",i?`${i}px`:null),await new Promise(requestAnimationFrame),this._relayout(),I=I.data(N?[this._getHighlightRect(N)]:[]).join("rect"),this.transition(I).attr("x",U=>U.x).attr("y",U=>U.y).attr("width",U=>U.width).attr("height",U=>U.height),D.attr("transform",U=>{const ce=k(U);return`translate(${ce.x+ce.width-U.state.rect.width},${ce.y+ce.height-U.state.rect.height})`}),this.transition(M).attr("transform",U=>{const ce=A(U),Ee=ce.x+ce.width-U.state.rect.width,et=ce.y+ce.height-U.state.rect.height;return`translate(${Ee},${et})`}).remove(),this.transition(B).attr("transform",U=>`translate(${U.state.rect.x},${U.state.rect.y})`);const Le=M.selectAll(hn("line"));this.transition(Le).attr("x1",U=>U.state.rect.width).attr("stroke-width",0),j.attr("x1",U=>U.state.rect.width).attr("x2",U=>U.state.rect.width),W.attr("y1",U=>U.state.rect.height+o(U)/2).attr("y2",U=>U.state.rect.height+o(U)/2),this.transition(W).attr("x1",-1).attr("x2",U=>U.state.rect.width+2).attr("stroke",U=>s(U)).attr("stroke-width",o);const ve=M.selectAll(hn("circle"));this.transition(ve).attr("r",0).attr("stroke-width",0),pe.attr("cx",U=>U.state.rect.width).attr("cy",U=>U.state.rect.height+o(U)/2),this.transition(pe).attr("r",6).attr("stroke-width","1.5"),this.transition(G).style("opacity",0),he.attr("width",U=>Math.max(0,U.state.rect.width-n*2)).attr("height",U=>U.state.rect.height),this.transition(he).style("opacity",1),this.transition(te).attr("d",U=>{const ce=A(U.target),Ee=[ce.x+ce.width,ce.y+ce.height+o(U.target)/2];return jl({source:Ee,target:Ee})}).attr("stroke-width",0).remove(),this.transition(Ae).attr("stroke",U=>s(U.target)).attr("stroke-width",U=>o(U.target)).attr("d",U=>{const ce=U.source,Ee=U.target,et=[ce.state.rect.x+ce.state.rect.width,ce.state.rect.y+ce.state.rect.height+o(ce)/2],Et=[Ee.state.rect.x,Ee.state.rect.y+Ee.state.rect.height+o(Ee)/2];return jl({source:et,target:Et})}),r&&this.fit()}transition(t){const{duration:n}=this.options;return t.transition().duration(n)}async fit(t=this.options.maxInitialScale){const n=this.svg.node(),{width:r,height:s}=n.getBoundingClientRect(),{fitRatio:i}=this.options,{x1:o,y1:u,x2:h,y2:d}=this.state.rect,p=h-o,w=d-u,v=Math.min(r/p*i,s/w*i,t),x=Co.translate((r-p*v)/2-o*v,(s-w*v)/2-u*v).scale(v);return this.transition(this.svg).call(this.zoom.transform,x).end().catch(us)}findElement(t){let n;return this.g.selectAll(hn(Vl)).each(function(r){r===t&&(n={data:r,g:this})}),n}async ensureVisible(t,n){var r;const s=(r=this.findElement(t))==null?void 0:r.data;if(!s)return;const i=this.svg.node(),o=i.getBoundingClientRect(),u=ls(i),[h,d]=[s.state.rect.x,s.state.rect.x+s.state.rect.width+2].map(I=>I*u.k+u.x),[p,w]=[s.state.rect.y,s.state.rect.y+s.state.rect.height].map(I=>I*u.k+u.y),v={left:0,right:0,top:0,bottom:0,...n},x=[v.left-h,o.width-v.right-d],k=[v.top-p,o.height-v.bottom-w],A=x[0]*x[1]>0?id(x,Math.abs)/u.k:0,N=k[0]*k[1]>0?id(k,Math.abs)/u.k:0;if(A||N){const I=u.translate(A,N);return this.transition(this.svg).call(this.zoom.transform,I).end().catch(us)}}async centerNode(t,n){var r;const s=(r=this.findElement(t))==null?void 0:r.data;if(!s)return;const i=this.svg.node(),o=i.getBoundingClientRect(),u=ls(i),h=(s.state.rect.x+s.state.rect.width/2)*u.k+u.x,d=(s.state.rect.y+s.state.rect.height/2)*u.k+u.y,p={left:0,right:0,top:0,bottom:0,...n},w=(p.left+o.width-p.right)/2,v=(p.top+o.height-p.bottom)/2,x=(w-h)/u.k,k=(v-d)/u.k;if(x||k){const A=u.translate(x,k);return this.transition(this.svg).call(this.zoom.transform,A).end().catch(us)}}async rescale(t){const n=this.svg.node(),{width:r,height:s}=n.getBoundingClientRect(),i=r/2,o=s/2,u=ls(n),h=u.translate((i-u.x)*(1-t)/u.k,(o-u.y)*(1-t)/u.k).scale(t);return this.transition(this.svg).call(this.zoom.transform,h).end().catch(us)}destroy(){this.svg.on(".zoom",null),this.svg.html(null),this._disposeList.forEach(t=>{t()})}static create(t,n,r=null){const s=new si(t,n);return r&&s.setData(r).then(()=>{s.fit()}),s}}const $x={class:"mindmap-container"},Bx={class:"mindmap-actions"},Fx={key:0,class:"mindmap-subtitle"},zx={key:0,class:"empty-state"},qx=_r({__name:"MindMapRenderer",props:{content:{type:String,default:""}},setup(e){const t=e,n=$t(null);let r=null;const s=new r9,i=$t(1),o=Qt(()=>t.content?(t.content.match(/^#{1,6}\s+/gm)||[]).length:0),u=async()=>{if(!(!t.content||!n.value))try{console.log("Initializing markmap with content:",t.content.substring(0,100)+"...");const{root:k,features:A}=s.transform(t.content);console.log("Transformed root:",k);const{styles:N,scripts:I}=s.getAssets();console.log("Styles:",N),console.log("Scripts:",I),N&&m3(N),I&&Y0(I),await cg(),console.log("SVG ref:",n.value),console.log("Markmap.create:",si.create),r?(console.log("Updating existing instance"),typeof r.setData=="function"?(r.setData(k),r.fit()):(console.error("mmInstance does not have setData method:",r),r=si.create(n.value,{autoFit:!0,fitRatio:.9,initialExpandLevel:-1},k),console.log("Created new instance after setData error:",r))):(console.log("Creating new instance"),r=si.create(n.value,{autoFit:!0,fitRatio:.9,initialExpandLevel:-1},k),console.log("Created instance using Markmap.create:",r),console.log("mmInstance methods:",Object.keys(r)))}catch(k){console.error("Error initializing markmap:",k),r=null}};Da(()=>t.content,()=>{u()}),Ed(()=>{u(),window.addEventListener("resize",h)}),Td(()=>{window.removeEventListener("resize",h),r&&typeof r.destroy=="function"?r.destroy():r&&console.error("mmInstance does not have destroy method:",r)});const h=()=>{r==null||r.fit()},d=(k="svg")=>{if(n.value){if(r&&r.fit(),k==="svg"){const A=n.value,N=A.cloneNode(!0);N.getAttribute("xmlns")||N.setAttribute("xmlns","http://www.w3.org/2000/svg");const I=A.getBoundingClientRect();N.setAttribute("width",I.width.toString()),N.setAttribute("height",I.height.toString());const V=new XMLSerializer().serializeToString(N),D=new Blob([V],{type:"image/svg+xml"}),M=URL.createObjectURL(D),B=document.createElement("a");B.href=M,B.download=`mindmap_${new Date().getTime()}.svg`,document.body.appendChild(B),B.click(),document.body.removeChild(B),URL.revokeObjectURL(M)}else if(k==="png"){const A=n.value,N=A.cloneNode(!0);N.getAttribute("xmlns")||N.setAttribute("xmlns","http://www.w3.org/2000/svg");const I=A.getBoundingClientRect();N.setAttribute("width",I.width.toString()),N.setAttribute("height",I.height.toString());const V=new XMLSerializer().serializeToString(N),D=document.createElement("canvas"),M=D.getContext("2d");if(!M)return;D.width=I.width,D.height=I.height;const B=new Image;B.onload=()=>{M.drawImage(B,0,0),D.toBlob(P=>{if(P){const j=URL.createObjectURL(P),W=document.createElement("a");W.href=j,W.download=`mindmap_${new Date().getTime()}.png`,document.body.appendChild(W),W.click(),document.body.removeChild(W),URL.revokeObjectURL(j)}},"image/png")},B.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(V)}}},p=k=>{(k==="svg"||k==="png")&&d(k)},w=()=>{r==null||r.fit(),i.value=1},v=()=>{r&&typeof r.setScale=="function"?r.setScale(i.value):r&&console.error("mmInstance does not have setScale method:",r)},x=k=>{k.preventDefault();const A=k.deltaY>0?-.1:.1;(i.value>.5||A>0)&&(i.value<2||A<0)&&(i.value+=A,v())};return(k,A)=>{const N=Pt("el-icon"),I=Pt("el-button"),V=Pt("el-dropdown-item"),D=Pt("el-dropdown-menu"),M=Pt("el-dropdown");return gt(),It("div",$x,[ze("div",Bx,[e.content?(gt(),It("span",Fx,"已生成 "+dn(o.value)+" 个节点",1)):Ra("",!0),Ne(M,{onCommand:p},{dropdown:Ge(()=>[Ne(D,null,{default:Ge(()=>[Ne(V,{command:"svg"},{default:Ge(()=>[...A[1]||(A[1]=[gr("SVG 格式",-1)])]),_:1}),Ne(V,{command:"png"},{default:Ge(()=>[...A[2]||(A[2]=[gr("PNG 格式",-1)])]),_:1})]),_:1})]),default:Ge(()=>[Ne(I,{type:"primary",size:"small",class:"action-button primary"},{icon:Ge(()=>[Ne(N,null,{default:Ge(()=>[Ne(Ct(og))]),_:1})]),default:Ge(()=>[A[0]||(A[0]=gr(" 下载 ",-1)),Ne(N,{class:"el-icon--right"},{default:Ge(()=>[Ne(Ct(ag))]),_:1})]),_:1})]),_:1}),Ne(I,{type:"default",size:"small",onClick:w,class:"action-button secondary"},{icon:Ge(()=>[Ne(N,null,{default:Ge(()=>[Ne(Ct(lg))]),_:1})]),default:Ge(()=>[A[3]||(A[3]=gr(" 重置视图 ",-1))]),_:1})]),ze("div",{class:"mindmap-content",onWheel:Zl(x,["prevent"])},[e.content?(gt(),It("svg",{key:1,ref_key:"svgRef",ref:n,class:"markmap-svg"},null,512)):(gt(),It("div",zx,[Ne(N,{class:"empty-icon"},{default:Ge(()=>[Ne(Ct(Nd))]),_:1}),A[4]||(A[4]=ze("p",{class:"empty-text"},"暂无思维导图内容",-1)),A[5]||(A[5]=ze("p",{class:"empty-subtext"},"请先上传并转换文档",-1))]))],32)])}}}),Ux=lo(qx,[["__scopeId","data-v-2bfafa87"]]);function Sp(e,t){return function(){return e.apply(t,arguments)}}const{toString:Hx}=Object.prototype,{getPrototypeOf:$c}=Object,{iterator:Io,toStringTag:Ap}=Symbol,Oo=(e=>t=>{const n=Hx.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ln=e=>(e=e.toLowerCase(),t=>Oo(t)===e),Mo=e=>t=>typeof t===e,{isArray:Rs}=Array,Es=Mo("undefined");function Ci(e){return e!==null&&!Es(e)&&e.constructor!==null&&!Es(e.constructor)&&on(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ep=Ln("ArrayBuffer");function Vx(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ep(e.buffer),t}const jx=Mo("string"),on=Mo("function"),Tp=Mo("number"),Ii=e=>e!==null&&typeof e=="object",Wx=e=>e===!0||e===!1,Oa=e=>{if(Oo(e)!=="object")return!1;const t=$c(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Ap in e)&&!(Io in e)},Gx=e=>{if(!Ii(e)||Ci(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Kx=Ln("Date"),Xx=Ln("File"),Yx=e=>!!(e&&typeof e.uri<"u"),Jx=e=>e&&typeof e.getParts<"u",Qx=Ln("Blob"),Zx=Ln("FileList"),ek=e=>Ii(e)&&on(e.pipe);function tk(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const ad=tk(),od=typeof ad.FormData<"u"?ad.FormData:void 0,nk=e=>{let t;return e&&(od&&e instanceof od||on(e.append)&&((t=Oo(e))==="formdata"||t==="object"&&on(e.toString)&&e.toString()==="[object FormData]"))},rk=Ln("URLSearchParams"),[sk,ik,ak,ok]=["ReadableStream","Request","Response","Headers"].map(Ln),lk=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Oi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),Rs(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Ur=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Cp=e=>!Es(e)&&e!==Ur;function $0(){const{caseless:e,skipUndefined:t}=Cp(this)&&this||{},n={},r=(s,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const o=e&&Np(n,i)||i;Oa(n[o])&&Oa(s)?n[o]=$0(n[o],s):Oa(s)?n[o]=$0({},s):Rs(s)?n[o]=s.slice():(!t||!Es(s))&&(n[o]=s)};for(let s=0,i=arguments.length;s(Oi(t,(s,i)=>{n&&on(s)?Object.defineProperty(e,i,{value:Sp(s,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{value:s,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),uk=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),fk=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},hk=(e,t,n,r)=>{let s,i,o;const u={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)o=s[i],(!r||r(o,e,t))&&!u[o]&&(t[o]=e[o],u[o]=!0);e=n!==!1&&$c(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},dk=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},mk=e=>{if(!e)return null;if(Rs(e))return e;let t=e.length;if(!Tp(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},pk=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&$c(Uint8Array)),gk=(e,t)=>{const r=(e&&e[Io]).call(e);let s;for(;(s=r.next())&&!s.done;){const i=s.value;t.call(e,i[0],i[1])}},bk=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},yk=Ln("HTMLFormElement"),wk=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),ld=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),vk=Ln("RegExp"),Ip=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Oi(n,(s,i)=>{let o;(o=t(s,i,e))!==!1&&(r[i]=o||s)}),Object.defineProperties(e,r)},_k=e=>{Ip(e,(t,n)=>{if(on(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(on(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},xk=(e,t)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return Rs(e)?r(e):r(String(e).split(t)),n},kk=()=>{},Sk=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Ak(e){return!!(e&&on(e.append)&&e[Ap]==="FormData"&&e[Io])}const Ek=e=>{const t=new Array(10),n=(r,s)=>{if(Ii(r)){if(t.indexOf(r)>=0)return;if(Ci(r))return r;if(!("toJSON"in r)){t[s]=r;const i=Rs(r)?[]:{};return Oi(r,(o,u)=>{const h=n(o,s+1);!Es(h)&&(i[u]=h)}),t[s]=void 0,i}}return r};return n(e,0)},Tk=Ln("AsyncFunction"),Nk=e=>e&&(Ii(e)||on(e))&&on(e.then)&&on(e.catch),Op=((e,t)=>e?setImmediate:t?((n,r)=>(Ur.addEventListener("message",({source:s,data:i})=>{s===Ur&&i===n&&r.length&&r.shift()()},!1),s=>{r.push(s),Ur.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",on(Ur.postMessage)),Ck=typeof queueMicrotask<"u"?queueMicrotask.bind(Ur):typeof process<"u"&&process.nextTick||Op,Ik=e=>e!=null&&on(e[Io]),X={isArray:Rs,isArrayBuffer:Ep,isBuffer:Ci,isFormData:nk,isArrayBufferView:Vx,isString:jx,isNumber:Tp,isBoolean:Wx,isObject:Ii,isPlainObject:Oa,isEmptyObject:Gx,isReadableStream:sk,isRequest:ik,isResponse:ak,isHeaders:ok,isUndefined:Es,isDate:Kx,isFile:Xx,isReactNativeBlob:Yx,isReactNative:Jx,isBlob:Qx,isRegExp:vk,isFunction:on,isStream:ek,isURLSearchParams:rk,isTypedArray:pk,isFileList:Zx,forEach:Oi,merge:$0,extend:ck,trim:lk,stripBOM:uk,inherits:fk,toFlatObject:hk,kindOf:Oo,kindOfTest:Ln,endsWith:dk,toArray:mk,forEachEntry:gk,matchAll:bk,isHTMLForm:yk,hasOwnProperty:ld,hasOwnProp:ld,reduceDescriptors:Ip,freezeMethods:_k,toObjectSet:xk,toCamelCase:wk,noop:kk,toFiniteNumber:Sk,findKey:Np,global:Ur,isContextDefined:Cp,isSpecCompliantForm:Ak,toJSONObject:Ek,isAsyncFn:Tk,isThenable:Nk,setImmediate:Op,asap:Ck,isIterable:Ik};let Oe=class Mp extends Error{static from(t,n,r,s,i,o){const u=new Mp(t.message,n||t.code,r,s,i);return u.cause=t,u.name=t.name,t.status!=null&&u.status==null&&(u.status=t.status),o&&Object.assign(u,o),u}constructor(t,n,r,s,i){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),s&&(this.request=s),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.status}}};Oe.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Oe.ERR_BAD_OPTION="ERR_BAD_OPTION";Oe.ECONNABORTED="ECONNABORTED";Oe.ETIMEDOUT="ETIMEDOUT";Oe.ERR_NETWORK="ERR_NETWORK";Oe.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Oe.ERR_DEPRECATED="ERR_DEPRECATED";Oe.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Oe.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Oe.ERR_CANCELED="ERR_CANCELED";Oe.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Oe.ERR_INVALID_URL="ERR_INVALID_URL";const Ok=null;function B0(e){return X.isPlainObject(e)||X.isArray(e)}function Lp(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function Gl(e,t,n){return e?e.concat(t).map(function(s,i){return s=Lp(s),!n&&i?"["+s+"]":s}).join(n?".":""):t}function Mk(e){return X.isArray(e)&&!e.some(B0)}const Lk=X.toFlatObject(X,{},null,function(t){return/^is[A-Z]/.test(t)});function Lo(e,t,n){if(!X.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=X.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(A,N){return!X.isUndefined(N[A])});const r=n.metaTokens,s=n.visitor||p,i=n.dots,o=n.indexes,h=(n.Blob||typeof Blob<"u"&&Blob)&&X.isSpecCompliantForm(t);if(!X.isFunction(s))throw new TypeError("visitor must be a function");function d(k){if(k===null)return"";if(X.isDate(k))return k.toISOString();if(X.isBoolean(k))return k.toString();if(!h&&X.isBlob(k))throw new Oe("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(k)||X.isTypedArray(k)?h&&typeof Blob=="function"?new Blob([k]):Buffer.from(k):k}function p(k,A,N){let I=k;if(X.isReactNative(t)&&X.isReactNativeBlob(k))return t.append(Gl(N,A,i),d(k)),!1;if(k&&!N&&typeof k=="object"){if(X.endsWith(A,"{}"))A=r?A:A.slice(0,-2),k=JSON.stringify(k);else if(X.isArray(k)&&Mk(k)||(X.isFileList(k)||X.endsWith(A,"[]"))&&(I=X.toArray(k)))return A=Lp(A),I.forEach(function(D,M){!(X.isUndefined(D)||D===null)&&t.append(o===!0?Gl([A],M,i):o===null?A:A+"[]",d(D))}),!1}return B0(k)?!0:(t.append(Gl(N,A,i),d(k)),!1)}const w=[],v=Object.assign(Lk,{defaultVisitor:p,convertValue:d,isVisitable:B0});function x(k,A){if(!X.isUndefined(k)){if(w.indexOf(k)!==-1)throw Error("Circular reference detected in "+A.join("."));w.push(k),X.forEach(k,function(I,V){(!(X.isUndefined(I)||I===null)&&s.call(t,I,X.isString(V)?V.trim():V,A,v))===!0&&x(I,A?A.concat(V):[V])}),w.pop()}}if(!X.isObject(e))throw new TypeError("data must be an object");return x(e),t}function cd(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Bc(e,t){this._pairs=[],e&&Lo(e,this,t)}const Dp=Bc.prototype;Dp.append=function(t,n){this._pairs.push([t,n])};Dp.toString=function(t){const n=t?function(r){return t.call(this,r,cd)}:cd;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Dk(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Rp(e,t,n){if(!t)return e;const r=n&&n.encode||Dk,s=X.isFunction(n)?{serialize:n}:n,i=s&&s.serialize;let o;if(i?o=i(t,s):o=X.isURLSearchParams(t)?t.toString():new Bc(t,s).toString(r),o){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class ud{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){X.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Fc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Rk=typeof URLSearchParams<"u"?URLSearchParams:Bc,Pk=typeof FormData<"u"?FormData:null,$k=typeof Blob<"u"?Blob:null,Bk={isBrowser:!0,classes:{URLSearchParams:Rk,FormData:Pk,Blob:$k},protocols:["http","https","file","blob","url","data"]},zc=typeof window<"u"&&typeof document<"u",F0=typeof navigator=="object"&&navigator||void 0,Fk=zc&&(!F0||["ReactNative","NativeScript","NS"].indexOf(F0.product)<0),zk=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",qk=zc&&window.location.href||"http://localhost",Uk=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:zc,hasStandardBrowserEnv:Fk,hasStandardBrowserWebWorkerEnv:zk,navigator:F0,origin:qk},Symbol.toStringTag,{value:"Module"})),Vt={...Uk,...Bk};function Hk(e,t){return Lo(e,new Vt.classes.URLSearchParams,{visitor:function(n,r,s,i){return Vt.isNode&&X.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function Vk(e){return X.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function jk(e){const t={},n=Object.keys(e);let r;const s=n.length;let i;for(r=0;r=n.length;return o=!o&&X.isArray(s)?s.length:o,h?(X.hasOwnProp(s,o)?s[o]=[s[o],r]:s[o]=r,!u):((!s[o]||!X.isObject(s[o]))&&(s[o]=[]),t(n,r,s[o],i)&&X.isArray(s[o])&&(s[o]=jk(s[o])),!u)}if(X.isFormData(e)&&X.isFunction(e.entries)){const n={};return X.forEachEntry(e,(r,s)=>{t(Vk(r),s,n,0)}),n}return null}function Wk(e,t,n){if(X.isString(e))try{return(t||JSON.parse)(e),X.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Mi={transitional:Fc,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=X.isObject(t);if(i&&X.isHTMLForm(t)&&(t=new FormData(t)),X.isFormData(t))return s?JSON.stringify(Pp(t)):t;if(X.isArrayBuffer(t)||X.isBuffer(t)||X.isStream(t)||X.isFile(t)||X.isBlob(t)||X.isReadableStream(t))return t;if(X.isArrayBufferView(t))return t.buffer;if(X.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Hk(t,this.formSerializer).toString();if((u=X.isFileList(t))||r.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return Lo(u?{"files[]":t}:t,h&&new h,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),Wk(t)):t}],transformResponse:[function(t){const n=this.transitional||Mi.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(X.isResponse(t)||X.isReadableStream(t))return t;if(t&&X.isString(t)&&(r&&!this.responseType||s)){const o=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t,this.parseReviver)}catch(u){if(o)throw u.name==="SyntaxError"?Oe.from(u,Oe.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Vt.classes.FormData,Blob:Vt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],e=>{Mi.headers[e]={}});const Gk=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Kk=e=>{const t={};let n,r,s;return e&&e.split(`
-`).forEach(function(o){s=o.indexOf(":"),n=o.substring(0,s).trim().toLowerCase(),r=o.substring(s+1).trim(),!(!n||t[n]&&Gk[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},fd=Symbol("internals");function Gs(e){return e&&String(e).trim().toLowerCase()}function Ma(e){return e===!1||e==null?e:X.isArray(e)?e.map(Ma):String(e)}function Xk(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Yk=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Kl(e,t,n,r,s){if(X.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!X.isString(t)){if(X.isString(r))return t.indexOf(r)!==-1;if(X.isRegExp(r))return r.test(t)}}function Jk(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Qk(e,t){const n=X.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,i,o){return this[r].call(this,t,s,i,o)},configurable:!0})})}let ln=class{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function i(u,h,d){const p=Gs(h);if(!p)throw new Error("header name must be a non-empty string");const w=X.findKey(s,p);(!w||s[w]===void 0||d===!0||d===void 0&&s[w]!==!1)&&(s[w||h]=Ma(u))}const o=(u,h)=>X.forEach(u,(d,p)=>i(d,p,h));if(X.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(X.isString(t)&&(t=t.trim())&&!Yk(t))o(Kk(t),n);else if(X.isObject(t)&&X.isIterable(t)){let u={},h,d;for(const p of t){if(!X.isArray(p))throw TypeError("Object iterator must return a key-value pair");u[d=p[0]]=(h=u[d])?X.isArray(h)?[...h,p[1]]:[h,p[1]]:p[1]}o(u,n)}else t!=null&&i(n,t,r);return this}get(t,n){if(t=Gs(t),t){const r=X.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return Xk(s);if(X.isFunction(n))return n.call(this,s,r);if(X.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Gs(t),t){const r=X.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Kl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function i(o){if(o=Gs(o),o){const u=X.findKey(r,o);u&&(!n||Kl(r,r[u],u,n))&&(delete r[u],s=!0)}}return X.isArray(t)?t.forEach(i):i(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!t||Kl(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const n=this,r={};return X.forEach(this,(s,i)=>{const o=X.findKey(r,i);if(o){n[o]=Ma(s),delete n[i];return}const u=t?Jk(i):String(i).trim();u!==i&&delete n[i],n[u]=Ma(s),r[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return X.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&X.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
-`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[fd]=this[fd]={accessors:{}}).accessors,s=this.prototype;function i(o){const u=Gs(o);r[u]||(Qk(s,o),r[u]=!0)}return X.isArray(t)?t.forEach(i):i(t),this}};ln.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);X.reduceDescriptors(ln.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});X.freezeMethods(ln);function Xl(e,t){const n=this||Mi,r=t||n,s=ln.from(r.headers);let i=r.data;return X.forEach(e,function(u){i=u.call(n,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function $p(e){return!!(e&&e.__CANCEL__)}let Li=class extends Oe{constructor(t,n,r){super(t??"canceled",Oe.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function Bp(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Oe("Request failed with status code "+n.status,[Oe.ERR_BAD_REQUEST,Oe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Zk(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function eS(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,i=0,o;return t=t!==void 0?t:1e3,function(h){const d=Date.now(),p=r[i];o||(o=d),n[s]=h,r[s]=d;let w=i,v=0;for(;w!==s;)v+=n[w++],w=w%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),d-o{n=p,s=null,i&&(clearTimeout(i),i=null),e(...d)};return[(...d)=>{const p=Date.now(),w=p-n;w>=r?o(d,p):(s=d,i||(i=setTimeout(()=>{i=null,o(s)},r-w)))},()=>s&&o(s)]}const ro=(e,t,n=3)=>{let r=0;const s=eS(50,250);return tS(i=>{const o=i.loaded,u=i.lengthComputable?i.total:void 0,h=o-r,d=s(h),p=o<=u;r=o;const w={loaded:o,total:u,progress:u?o/u:void 0,bytes:h,rate:d||void 0,estimated:d&&u&&p?(u-o)/d:void 0,event:i,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(w)},n)},hd=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},dd=e=>(...t)=>X.asap(()=>e(...t)),nS=Vt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Vt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Vt.origin),Vt.navigator&&/(msie|trident)/i.test(Vt.navigator.userAgent)):()=>!0,rS=Vt.hasStandardBrowserEnv?{write(e,t,n,r,s,i,o){if(typeof document>"u")return;const u=[`${e}=${encodeURIComponent(t)}`];X.isNumber(n)&&u.push(`expires=${new Date(n).toUTCString()}`),X.isString(r)&&u.push(`path=${r}`),X.isString(s)&&u.push(`domain=${s}`),i===!0&&u.push("secure"),X.isString(o)&&u.push(`SameSite=${o}`),document.cookie=u.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function sS(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function iS(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Fp(e,t,n){let r=!sS(t);return e&&(r||n==!1)?iS(e,t):t}const md=e=>e instanceof ln?{...e}:e;function Xr(e,t){t=t||{};const n={};function r(d,p,w,v){return X.isPlainObject(d)&&X.isPlainObject(p)?X.merge.call({caseless:v},d,p):X.isPlainObject(p)?X.merge({},p):X.isArray(p)?p.slice():p}function s(d,p,w,v){if(X.isUndefined(p)){if(!X.isUndefined(d))return r(void 0,d,w,v)}else return r(d,p,w,v)}function i(d,p){if(!X.isUndefined(p))return r(void 0,p)}function o(d,p){if(X.isUndefined(p)){if(!X.isUndefined(d))return r(void 0,d)}else return r(void 0,p)}function u(d,p,w){if(w in t)return r(d,p);if(w in e)return r(void 0,d)}const h={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:u,headers:(d,p,w)=>s(md(d),md(p),w,!0)};return X.forEach(Object.keys({...e,...t}),function(p){if(p==="__proto__"||p==="constructor"||p==="prototype")return;const w=X.hasOwnProp(h,p)?h[p]:s,v=w(e[p],t[p],p);X.isUndefined(v)&&w!==u||(n[p]=v)}),n}const zp=e=>{const t=Xr({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:i,headers:o,auth:u}=t;if(t.headers=o=ln.from(o),t.url=Rp(Fp(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&o.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),X.isFormData(n)){if(Vt.hasStandardBrowserEnv||Vt.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(X.isFunction(n.getHeaders)){const h=n.getHeaders(),d=["content-type","content-length"];Object.entries(h).forEach(([p,w])=>{d.includes(p.toLowerCase())&&o.set(p,w)})}}if(Vt.hasStandardBrowserEnv&&(r&&X.isFunction(r)&&(r=r(t)),r||r!==!1&&nS(t.url))){const h=s&&i&&rS.read(i);h&&o.set(s,h)}return t},aS=typeof XMLHttpRequest<"u",oS=aS&&function(e){return new Promise(function(n,r){const s=zp(e);let i=s.data;const o=ln.from(s.headers).normalize();let{responseType:u,onUploadProgress:h,onDownloadProgress:d}=s,p,w,v,x,k;function A(){x&&x(),k&&k(),s.cancelToken&&s.cancelToken.unsubscribe(p),s.signal&&s.signal.removeEventListener("abort",p)}let N=new XMLHttpRequest;N.open(s.method.toUpperCase(),s.url,!0),N.timeout=s.timeout;function I(){if(!N)return;const D=ln.from("getAllResponseHeaders"in N&&N.getAllResponseHeaders()),B={data:!u||u==="text"||u==="json"?N.responseText:N.response,status:N.status,statusText:N.statusText,headers:D,config:e,request:N};Bp(function(j){n(j),A()},function(j){r(j),A()},B),N=null}"onloadend"in N?N.onloadend=I:N.onreadystatechange=function(){!N||N.readyState!==4||N.status===0&&!(N.responseURL&&N.responseURL.indexOf("file:")===0)||setTimeout(I)},N.onabort=function(){N&&(r(new Oe("Request aborted",Oe.ECONNABORTED,e,N)),N=null)},N.onerror=function(M){const B=M&&M.message?M.message:"Network Error",P=new Oe(B,Oe.ERR_NETWORK,e,N);P.event=M||null,r(P),N=null},N.ontimeout=function(){let M=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const B=s.transitional||Fc;s.timeoutErrorMessage&&(M=s.timeoutErrorMessage),r(new Oe(M,B.clarifyTimeoutError?Oe.ETIMEDOUT:Oe.ECONNABORTED,e,N)),N=null},i===void 0&&o.setContentType(null),"setRequestHeader"in N&&X.forEach(o.toJSON(),function(M,B){N.setRequestHeader(B,M)}),X.isUndefined(s.withCredentials)||(N.withCredentials=!!s.withCredentials),u&&u!=="json"&&(N.responseType=s.responseType),d&&([v,k]=ro(d,!0),N.addEventListener("progress",v)),h&&N.upload&&([w,x]=ro(h),N.upload.addEventListener("progress",w),N.upload.addEventListener("loadend",x)),(s.cancelToken||s.signal)&&(p=D=>{N&&(r(!D||D.type?new Li(null,e,N):D),N.abort(),N=null)},s.cancelToken&&s.cancelToken.subscribe(p),s.signal&&(s.signal.aborted?p():s.signal.addEventListener("abort",p)));const V=Zk(s.url);if(V&&Vt.protocols.indexOf(V)===-1){r(new Oe("Unsupported protocol "+V+":",Oe.ERR_BAD_REQUEST,e));return}N.send(i||null)})},lS=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,s;const i=function(d){if(!s){s=!0,u();const p=d instanceof Error?d:this.reason;r.abort(p instanceof Oe?p:new Li(p instanceof Error?p.message:p))}};let o=t&&setTimeout(()=>{o=null,i(new Oe(`timeout of ${t}ms exceeded`,Oe.ETIMEDOUT))},t);const u=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(i):d.removeEventListener("abort",i)}),e=null)};e.forEach(d=>d.addEventListener("abort",i));const{signal:h}=r;return h.unsubscribe=()=>X.asap(u),h}},cS=function*(e,t){let n=e.byteLength;if(n{const s=uS(e,t);let i=0,o,u=h=>{o||(o=!0,r&&r(h))};return new ReadableStream({async pull(h){try{const{done:d,value:p}=await s.next();if(d){u(),h.close();return}let w=p.byteLength;if(n){let v=i+=w;n(v)}h.enqueue(new Uint8Array(p))}catch(d){throw u(d),d}},cancel(h){return u(h),s.return()}},{highWaterMark:2})},gd=64*1024,{isFunction:_a}=X,hS=(({Request:e,Response:t})=>({Request:e,Response:t}))(X.global),{ReadableStream:bd,TextEncoder:yd}=X.global,wd=(e,...t)=>{try{return!!e(...t)}catch{return!1}},dS=e=>{e=X.merge.call({skipUndefined:!0},hS,e);const{fetch:t,Request:n,Response:r}=e,s=t?_a(t):typeof fetch=="function",i=_a(n),o=_a(r);if(!s)return!1;const u=s&&_a(bd),h=s&&(typeof yd=="function"?(k=>A=>k.encode(A))(new yd):async k=>new Uint8Array(await new n(k).arrayBuffer())),d=i&&u&&wd(()=>{let k=!1;const A=new n(Vt.origin,{body:new bd,method:"POST",get duplex(){return k=!0,"half"}}).headers.has("Content-Type");return k&&!A}),p=o&&u&&wd(()=>X.isReadableStream(new r("").body)),w={stream:p&&(k=>k.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(k=>{!w[k]&&(w[k]=(A,N)=>{let I=A&&A[k];if(I)return I.call(A);throw new Oe(`Response type '${k}' is not supported`,Oe.ERR_NOT_SUPPORT,N)})});const v=async k=>{if(k==null)return 0;if(X.isBlob(k))return k.size;if(X.isSpecCompliantForm(k))return(await new n(Vt.origin,{method:"POST",body:k}).arrayBuffer()).byteLength;if(X.isArrayBufferView(k)||X.isArrayBuffer(k))return k.byteLength;if(X.isURLSearchParams(k)&&(k=k+""),X.isString(k))return(await h(k)).byteLength},x=async(k,A)=>{const N=X.toFiniteNumber(k.getContentLength());return N??v(A)};return async k=>{let{url:A,method:N,data:I,signal:V,cancelToken:D,timeout:M,onDownloadProgress:B,onUploadProgress:P,responseType:j,headers:W,withCredentials:Y="same-origin",fetchOptions:pe}=zp(k),Me=t||fetch;j=j?(j+"").toLowerCase():"text";let be=lS([V,D&&D.toAbortSignal()],M),xe=null;const G=be&&be.unsubscribe&&(()=>{be.unsubscribe()});let he;try{if(P&&d&&N!=="get"&&N!=="head"&&(he=await x(W,I))!==0){let ve=new n(A,{method:"POST",body:I,duplex:"half"}),U;if(X.isFormData(I)&&(U=ve.headers.get("content-type"))&&W.setContentType(U),ve.body){const[ce,Ee]=hd(he,ro(dd(P)));I=pd(ve.body,gd,ce,Ee)}}X.isString(Y)||(Y=Y?"include":"omit");const Q=i&&"credentials"in n.prototype,ge={...pe,signal:be,method:N.toUpperCase(),headers:W.normalize().toJSON(),body:I,duplex:"half",credentials:Q?Y:void 0};xe=i&&new n(A,ge);let te=await(i?Me(xe,pe):Me(A,ge));const Ae=p&&(j==="stream"||j==="response");if(p&&(B||Ae&&G)){const ve={};["status","statusText","headers"].forEach(et=>{ve[et]=te[et]});const U=X.toFiniteNumber(te.headers.get("content-length")),[ce,Ee]=B&&hd(U,ro(dd(B),!0))||[];te=new r(pd(te.body,gd,ce,()=>{Ee&&Ee(),G&&G()}),ve)}j=j||"text";let Le=await w[X.findKey(w,j)||"text"](te,k);return!Ae&&G&&G(),await new Promise((ve,U)=>{Bp(ve,U,{data:Le,headers:ln.from(te.headers),status:te.status,statusText:te.statusText,config:k,request:xe})})}catch(Q){throw G&&G(),Q&&Q.name==="TypeError"&&/Load failed|fetch/i.test(Q.message)?Object.assign(new Oe("Network Error",Oe.ERR_NETWORK,k,xe,Q&&Q.response),{cause:Q.cause||Q}):Oe.from(Q,Q&&Q.code,k,xe,Q&&Q.response)}}},mS=new Map,qp=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:s}=t,i=[r,s,n];let o=i.length,u=o,h,d,p=mS;for(;u--;)h=i[u],d=p.get(h),d===void 0&&p.set(h,d=u?new Map:dS(t)),p=d;return d};qp();const qc={http:Ok,xhr:oS,fetch:{get:qp}};X.forEach(qc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const vd=e=>`- ${e}`,pS=e=>X.isFunction(e)||e===null||e===!1;function gS(e,t){e=X.isArray(e)?e:[e];const{length:n}=e;let r,s;const i={};for(let o=0;o`adapter ${h} `+(d===!1?"is not supported by the environment":"is not available in the build"));let u=n?o.length>1?`since :
-`+o.map(vd).join(`
-`):" "+vd(o[0]):"as no adapter specified";throw new Oe("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return s}const Up={getAdapter:gS,adapters:qc};function Yl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Li(null,e)}function _d(e){return Yl(e),e.headers=ln.from(e.headers),e.data=Xl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Up.getAdapter(e.adapter||Mi.adapter,e)(e).then(function(r){return Yl(e),r.data=Xl.call(e,e.transformResponse,r),r.headers=ln.from(r.headers),r},function(r){return $p(r)||(Yl(e),r&&r.response&&(r.response.data=Xl.call(e,e.transformResponse,r.response),r.response.headers=ln.from(r.response.headers))),Promise.reject(r)})}const Hp="1.13.6",Do={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Do[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const xd={};Do.transitional=function(t,n,r){function s(i,o){return"[Axios v"+Hp+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,u)=>{if(t===!1)throw new Oe(s(o," has been removed"+(n?" in "+n:"")),Oe.ERR_DEPRECATED);return n&&!xd[o]&&(xd[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,u):!0}};Do.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function bS(e,t,n){if(typeof e!="object")throw new Oe("options must be an object",Oe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const i=r[s],o=t[i];if(o){const u=e[i],h=u===void 0||o(u,i,e);if(h!==!0)throw new Oe("option "+i+" must be "+h,Oe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Oe("Unknown option "+i,Oe.ERR_BAD_OPTION)}}const La={assertOptions:bS,validators:Do},yn=La.validators;let Vr=class{constructor(t){this.defaults=t||{},this.interceptors={request:new ud,response:new ud}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
-`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Xr(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&La.assertOptions(r,{silentJSONParsing:yn.transitional(yn.boolean),forcedJSONParsing:yn.transitional(yn.boolean),clarifyTimeoutError:yn.transitional(yn.boolean),legacyInterceptorReqResOrdering:yn.transitional(yn.boolean)},!1),s!=null&&(X.isFunction(s)?n.paramsSerializer={serialize:s}:La.assertOptions(s,{encode:yn.function,serialize:yn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),La.assertOptions(n,{baseUrl:yn.spelling("baseURL"),withXsrfToken:yn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&X.merge(i.common,i[n.method]);i&&X.forEach(["delete","get","head","post","put","patch","common"],k=>{delete i[k]}),n.headers=ln.concat(o,i);const u=[];let h=!0;this.interceptors.request.forEach(function(A){if(typeof A.runWhen=="function"&&A.runWhen(n)===!1)return;h=h&&A.synchronous;const N=n.transitional||Fc;N&&N.legacyInterceptorReqResOrdering?u.unshift(A.fulfilled,A.rejected):u.push(A.fulfilled,A.rejected)});const d=[];this.interceptors.response.forEach(function(A){d.push(A.fulfilled,A.rejected)});let p,w=0,v;if(!h){const k=[_d.bind(this),void 0];for(k.unshift(...u),k.push(...d),v=k.length,p=Promise.resolve(n);w{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const o=new Promise(u=>{r.subscribe(u),i=u}).then(s);return o.cancel=function(){r.unsubscribe(i)},o},t(function(i,o,u){r.reason||(r.reason=new Li(i,o,u),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Vp(function(s){t=s}),cancel:t}}};function wS(e){return function(n){return e.apply(null,n)}}function vS(e){return X.isObject(e)&&e.isAxiosError===!0}const z0={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(z0).forEach(([e,t])=>{z0[t]=e});function jp(e){const t=new Vr(e),n=Sp(Vr.prototype.request,t);return X.extend(n,Vr.prototype,t,{allOwnKeys:!0}),X.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return jp(Xr(e,s))},n}const kt=jp(Mi);kt.Axios=Vr;kt.CanceledError=Li;kt.CancelToken=yS;kt.isCancel=$p;kt.VERSION=Hp;kt.toFormData=Lo;kt.AxiosError=Oe;kt.Cancel=kt.CanceledError;kt.all=function(t){return Promise.all(t)};kt.spread=wS;kt.isAxiosError=vS;kt.mergeConfig=Xr;kt.AxiosHeaders=ln;kt.formToJSON=e=>Pp(X.isHTMLForm(e)?new FormData(e):e);kt.getAdapter=Up.getAdapter;kt.HttpStatusCode=z0;kt.default=kt;const{Axios:pA,AxiosError:gA,CanceledError:bA,isCancel:yA,CancelToken:wA,VERSION:vA,all:_A,Cancel:xA,isAxiosError:kA,spread:SA,toFormData:AA,AxiosHeaders:EA,HttpStatusCode:TA,formToJSON:NA,getAdapter:CA,mergeConfig:IA}=kt,Uc=kt.create({baseURL:"/api",timeout:3e5,headers:{"Content-Type":"application/json"}});Uc.interceptors.request.use(e=>e,e=>Promise.reject(e));Uc.interceptors.response.use(e=>e.data,e=>{if(e.response)switch(e.response.status){case 400:e.message="请求参数错误";break;case 401:e.message="未授权,请重新登录";break;case 403:e.message="拒绝访问";break;case 404:e.message="请求资源不存在";break;case 500:e.message="服务器内部错误";break;case 502:e.message="网关错误";break;case 503:e.message="服务不可用";break;case 504:e.message="网关超时";break;default:e.message=`连接错误${e.response.status}`}else e.message="网络连接异常";return Promise.reject(e)});const _S={parseDocument(e){const t=new FormData;return e.files.forEach(n=>{t.append("files",n)}),t.append("output_dir",e.output_dir),t.append("lang_list",e.lang_list),t.append("backend",e.backend),t.append("parse_method",e.parse_method),t.append("formula_enable",e.formula_enable.toString()),t.append("table_enable",e.table_enable.toString()),t.append("start_page_id",e.start_page_id.toString()),t.append("end_page_id",e.end_page_id.toString()),t.append("return_md",e.return_md.toString()),t.append("return_middle_json",e.return_middle_json.toString()),t.append("response_format_zip",e.response_format_zip.toString()),e.server_url&&t.append("server_url",e.server_url),Uc.post("/file_parse",t,{headers:{"Content-Type":"multipart/form-data"}})}};function xS(e){const t=e.split(`
-`),n=[];let r=!1,s=0;for(const i of t){const o=i.trim();if(o.startsWith("#")){const u=o.match(/^#+/);u?s=u[0].length:s=0,n.push(i),r=!0;continue}if(!o){n.push(i);continue}if(o.startsWith("![")){n.push(i);continue}if(r&&s>0&&s<6){const u=s+1,h="#".repeat(u);n.push(h+" "+o)}else n.push(i)}return n.join(`
-`)}function kS(){const e=$t([]),t=$t(!1),n=ug({maxPages:1e3,backend:"hybrid-auto-engine",serverUrl:"http://localhost:30000",tableEnable:!0,formulaEnable:!0,language:"ch",forceOcr:!1}),r=$t(null),s=$t(!1),i=$t(null);return{uploadedFiles:e,config:n,results:r,isUploading:t,isProcessing:s,error:i,backendOptions:[{value:"pipeline",label:"传统管道解析"},{value:"vlm-auto-engine",label:"VLM本地引擎"},{value:"hybrid-auto-engine",label:"混合本地引擎"},{value:"vlm-http-client",label:"VLM远程客户端"},{value:"hybrid-http-client",label:"混合远程客户端"}],languageOptions:[{value:"ch",label:"中文(简体)"},{value:"en",label:"英语"},{value:"korean",label:"韩语"},{value:"japan",label:"日语"},{value:"chinese_cht",label:"中文(繁体)"},{value:"ta",label:"泰米尔语"},{value:"te",label:"泰卢固语"},{value:"ka",label:"卡纳达语"},{value:"th",label:"泰语"},{value:"el",label:"希腊语"},{value:"latin",label:"拉丁语系"},{value:"arabic",label:"阿拉伯语系"},{value:"east_slavic",label:"东斯拉夫语系"},{value:"cyrillic",label:"西里尔语系"},{value:"devanagari",label:"梵文字母语系"}],handleFileUpload:x=>{if(!x||x.length===0)return;const k=[];for(let A=0;A100*1024*1024){i.value="文件大小超出限制";continue}k.push(N)}e.value=k,i.value=null},clearAll:()=>{e.value=[],r.value=null,i.value=null},processDocument:async()=>{if(e.value.length===0){i.value="请先上传文件";return}s.value=!0,i.value=null;try{const x={files:e.value,output_dir:"./output",lang_list:[n.language],backend:n.backend,parse_method:n.forceOcr?"ocr":"auto",formula_enable:n.formulaEnable,table_enable:n.tableEnable,start_page_id:0,end_page_id:n.maxPages-1,return_md:!0,return_middle_json:!1,response_format_zip:!1};n.backend.includes("http-client")&&n.serverUrl&&(x.server_url=n.serverUrl);const k=await _S.parseDocument(x);if(k.results){const N=Object.values(k.results)[0].md_content||"",I=xS(N);r.value={markdown:N,source:I,mindmap:I}}}catch(x){i.value=x.message||"转换失败"}finally{s.value=!1}},getFormulaLabel:x=>x.startsWith("vlm")?"启用行间公式识别":x==="pipeline"?"启用公式识别":x.startsWith("hybrid")?"启用行内公式识别":"启用公式识别",getFormulaInfo:x=>x.startsWith("vlm")?"禁用后,行间公式将显示为图片。":x==="pipeline"?"禁用后,行间公式将显示为图片,行内公式将不会被检测或解析。":x.startsWith("hybrid")?"禁用后,行内公式将不会被检测或解析。":""}}const SS={class:"document-processor"},AS={class:"top-header"},ES={class:"main-content"},TS={class:"upload-section"},NS={class:"upload-content"},CS={class:"uploaded-files"},IS={class:"file-name"},OS={key:0,class:"settings-panel"},MS={class:"settings-header"},LS={class:"result-section"},DS={class:"result-content"},RS={key:0,class:"loading-container"},PS={key:1,class:"empty-state"},$S={key:2,class:"result-tab-content result-fade-in"},BS={class:"markdown-content"},FS={class:"markdown-box"},zS={class:"source-content"},qS={class:"mindmap-content"},US={class:"mindmap-box"},HS=_r({__name:"DocumentProcessor",setup(e){const{uploadedFiles:t,config:n,results:r,isProcessing:s,backendOptions:i,languageOptions:o,processDocument:u}=kS(),h=$t(!1),d=$t(null),p=$t(!1),w=$t("markdown"),v=$t(!1),x=()=>{if(h.value){const B=document.querySelector(".settings-panel");B&&(B.classList.remove("showing"),B.classList.add("hiding"),setTimeout(()=>{h.value=!1,B.classList.remove("hiding"),document.removeEventListener("click",k)},400))}else h.value=!0,setTimeout(()=>{const B=document.querySelector(".settings-panel");B&&B.classList.add("showing"),document.addEventListener("click",k)},10)},k=B=>{const P=document.querySelector(".settings-panel"),j=document.querySelector(".settings-button");P&&!P.contains(B.target)&&j&&!j.contains(B.target)&&(P.classList.remove("showing"),P.classList.add("hiding"),setTimeout(()=>{h.value=!1,P.classList.remove("hiding"),document.removeEventListener("click",k)},400))},A=B=>{console.log("Backend changed to:",B)},N=()=>{d.value&&d.value.click()},I=B=>{const P=B.target;P.files&&(Array.from(P.files).forEach(W=>{t.value.push(W)}),P.value="",v.value=!0,M())},V=B=>{var P;B.preventDefault(),p.value=!1,(P=B.dataTransfer)!=null&&P.files&&(Array.from(B.dataTransfer.files).forEach(W=>{t.value.push(W)}),v.value=!0,M())},D=B=>{t.value.splice(B,1),t.value.length===0&&(v.value=!1)},M=async()=>{await u(),w.value="mindmap"};return(B,P)=>{var be;const j=Pt("el-button"),W=Pt("el-icon"),Y=Pt("el-tab-pane"),pe=Pt("el-tabs"),Me=Pt("el-input");return gt(),It("div",SS,[ze("header",AS,[P[6]||(P[6]=ze("h2",{class:"ellipsis",title:"思维导图"},"思维导图",-1)),Ne(j,{type:"text",onClick:x,class:"settings-button"},{default:Ge(()=>[...P[5]||(P[5]=[gr(" 设置 ",-1)])]),_:1})]),ze("div",ES,[ze("div",TS,[ze("div",{class:fg(["drag-upload-area",{"drag-over":p.value,collapsed:v.value}]),onDrop:V,onDragover:P[0]||(P[0]=Zl(xe=>p.value=!0,["prevent"])),onDragleave:P[1]||(P[1]=xe=>p.value=!1),onClick:N},[sa(ze("div",NS,[Ne(W,{class:"upload-icon"},{default:Ge(()=>[Ne(Ct(hg))]),_:1}),P[7]||(P[7]=ze("div",{class:"upload-text"},"文件导入",-1)),P[8]||(P[8]=ze("div",{class:"upload-hint"},"支持PDF、Word、PNG格式文件,点击或拖拽文件至此处上传",-1))],512),[[ia,!v.value]]),ze("div",CS,[(gt(!0),It(ms,null,Jl(Ct(t),(xe,G)=>(gt(),It("div",{class:"file-item",key:G},[Ne(W,{class:"file-icon"},{default:Ge(()=>[Ne(Ct(Nd))]),_:1}),ze("span",IS,dn(xe.name),1),Ne(j,{type:"text",icon:Ct(pg),onClick:Zl(he=>D(G),["stop"]),class:"remove-button"},null,8,["icon","onClick"])]))),128))])],34),h.value?(gt(),It("div",OS,[ze("div",MS,[P[9]||(P[9]=ze("h3",{class:"settings-title"},"设置",-1)),Ne(j,{type:"text",onClick:x,class:"close-button"},{default:Ge(()=>[Ne(W,null,{default:Ge(()=>[Ne(Ct(dg))]),_:1})]),_:1})]),Ne(P5,{modelValue:Ct(n),"onUpdate:modelValue":P[2]||(P[2]=xe=>kd(n)?n.value=xe:null),"backend-options":Ct(i),"language-options":Ct(o),onBackendChange:A},null,8,["modelValue","backend-options","language-options"])])):Ra("",!0)]),ze("div",LS,[Ne(pe,{modelValue:w.value,"onUpdate:modelValue":P[3]||(P[3]=xe=>w.value=xe),class:"result-tabs"},{default:Ge(()=>[Ne(Y,{label:"Markdown 渲染",name:"markdown"}),Ne(Y,{label:"Markdown 源码",name:"source"}),Ne(Y,{label:"思维导图",name:"mindmap"})]),_:1},8,["modelValue"]),ze("div",DS,[Ct(s)?(gt(),It("div",RS,[Ne(W,{class:"loading-icon"},{default:Ge(()=>[Ne(Ct(mg))]),_:1}),P[10]||(P[10]=ze("p",{class:"loading-text"},"正在处理文档...",-1))])):Ct(r)?(gt(),It("div",$S,[sa(ze("div",BS,[ze("div",FS,[Ne(q5,{content:Ct(r).markdown||""},null,8,["content"])])],512),[[ia,w.value==="markdown"]]),sa(ze("div",zS,[Ne(Me,{modelValue:Ct(r).source,"onUpdate:modelValue":P[4]||(P[4]=xe=>Ct(r).source=xe),type:"textarea",rows:20,class:"source-textarea"},null,8,["modelValue"])],512),[[ia,w.value==="source"]]),sa(ze("div",qS,[ze("div",US,[Ne(Ux,{content:((be=Ct(r))==null?void 0:be.mindmap)||""},null,8,["content"])])],512),[[ia,w.value==="mindmap"]])])):(gt(),It("div",PS,[...P[11]||(P[11]=[ze("div",{class:"empty-icon"},null,-1),ze("p",{class:"empty-text"},"暂无转换结果",-1)])]))])])]),ze("input",{ref_key:"fileInput",ref:d,type:"file",multiple:"",accept:".pdf,.doc,.docx,.png",style:{position:"absolute",width:"0",height:"0",overflow:"hidden"},onChange:I},null,544)])}}}),VS=lo(HS,[["__scopeId","data-v-b0552bec"]]),jS={id:"app"},WS={class:"container"},GS=_r({__name:"App",setup(e){return(t,n)=>(gt(),It("div",jS,[ze("div",WS,[Ne(VS)])]))}}),KS={app:{title:"多模态思维导图助手"},common:{upload:"上传",clear:"清除",convert:"转换",cancel:"取消",confirm:"确定",loading:"加载中...",success:"成功",error:"错误",warning:"警告"},upload:{title:"请上传 PDF 或图片",placeholder:"点击上传或将文件拖拽到此处",supportedTypes:"支持的文件类型: PDF, PNG, JPG, JPEG",maxSize:"最大文件大小: 100MB"},config:{title:"配置选项",maxPages:"最大转换页数",backend:"解析后端",serverUrl:"服务器地址",serverUrlInfo:"http-client 后端的 OpenAI 兼容服务器地址。",recognitionOptions:"识别选项",tableEnable:"启用表格识别",tableInfo:"禁用后,表格将显示为图片。",formulaLabelVlm:"启用行间公式识别",formulaLabelPipeline:"启用公式识别",formulaLabelHybrid:"启用行内公式识别",formulaInfoVlm:"禁用后,行间公式将显示为图片。",formulaInfoPipeline:"禁用后,行间公式将显示为图片,行内公式将不会被检测或解析。",formulaInfoHybrid:"禁用后,行内公式将不会被检测或解析。",ocrLanguage:"OCR 语言",ocrLanguageInfo:"为扫描版 PDF 和图片选择 OCR 语言。",forceOcr:"强制启用 OCR",forceOcrInfo:"仅在识别效果极差时启用,需选择正确的 OCR 语言。",backendInfoVlm:"多模态大模型高精度解析,仅支持中英文文档。",backendInfoPipeline:"传统多模型管道解析,支持多语言,无幻觉。",backendInfoHybrid:"高精度混合解析,支持多语言。",backendInfoDefault:"选择文档解析的后端引擎。"},results:{title:"转换结果",tabs:{markdown:"Markdown 渲染",source:"Markdown 源码",mindmap:"思维导图"},download:"下载结果",noResults:"暂无转换结果"},languages:{ch:"中文(简体)",en:"英语",korean:"韩语",japan:"日语",chinese_cht:"中文(繁体)",ta:"泰米尔语",te:"泰卢固语",ka:"卡纳达语",th:"泰语",el:"希腊语",latin:"拉丁语系",arabic:"阿拉伯语系",east_slavic:"东斯拉夫语系",cyrillic:"西里尔语系",devanagari:"梵文字母语系"},backends:{pipeline:"传统管道解析","vlm-auto-engine":"VLM本地引擎","hybrid-auto-engine":"混合本地引擎","vlm-http-client":"VLM远程客户端","hybrid-http-client":"混合远程客户端"},errors:{uploadFailed:"文件上传失败",conversionFailed:"转换失败",invalidFileType:"不支持的文件类型",fileSizeExceeded:"文件大小超出限制",networkError:"网络连接错误"}},XS={app:{title:"Multimodal Mind Map Assistant"},common:{upload:"Upload",clear:"Clear",convert:"Convert",cancel:"Cancel",confirm:"Confirm",loading:"Loading...",success:"Success",error:"Error",warning:"Warning"},upload:{title:"Please upload PDF or image",placeholder:"Click to upload or drag files here",supportedTypes:"Supported file types: PDF, PNG, JPG, JPEG",maxSize:"Maximum file size: 100MB"},config:{title:"Configuration Options",maxPages:"Max convert pages",backend:"Backend",serverUrl:"Server URL",serverUrlInfo:"OpenAI-compatible server URL for http-client backend.",recognitionOptions:"Recognition Options",tableEnable:"Enable table recognition",tableInfo:"If disabled, tables will be shown as images.",formulaLabelVlm:"Enable display formula recognition",formulaLabelPipeline:"Enable formula recognition",formulaLabelHybrid:"Enable inline formula recognition",formulaInfoVlm:"If disabled, display formulas will be shown as images.",formulaInfoPipeline:"If disabled, display formulas will be shown as images, and inline formulas will not be detected or parsed.",formulaInfoHybrid:"If disabled, inline formulas will not be detected or parsed.",ocrLanguage:"OCR Language",ocrLanguageInfo:"Select the OCR language for image-based PDFs and images.",forceOcr:"Force enable OCR",forceOcrInfo:"Enable only if the result is extremely poor. Requires correct OCR language.",backendInfoVlm:"High-precision parsing via VLM, supports Chinese and English documents only.",backendInfoPipeline:"Traditional Multi-model pipeline parsing, supports multiple languages, hallucination-free.",backendInfoHybrid:"High-precision hybrid parsing, supports multiple languages.",backendInfoDefault:"Select the backend engine for document parsing."},results:{title:"Convert Result",tabs:{markdown:"Markdown Rendering",source:"Markdown Source",mindmap:"Mind Map"},download:"Download Result",noResults:"No conversion results yet"},languages:{ch:"Chinese (Simplified)",en:"English",korean:"Korean",japan:"Japanese",chinese_cht:"Chinese (Traditional)",ta:"Tamil",te:"Telugu",ka:"Kannada",th:"Thai",el:"Greek",latin:"Latin Languages",arabic:"Arabic Languages",east_slavic:"East Slavic Languages",cyrillic:"Cyrillic Languages",devanagari:"Devanagari Languages"},backends:{pipeline:"Traditional Pipeline Parsing","vlm-auto-engine":"VLM Local Engine","hybrid-auto-engine":"Hybrid Local Engine","vlm-http-client":"VLM Remote Client","hybrid-http-client":"Hybrid Remote Client"},errors:{uploadFailed:"File upload failed",conversionFailed:"Conversion failed",invalidFileType:"Unsupported file type",fileSizeExceeded:"File size exceeded limit",networkError:"Network connection error"}},YS=p5({legacy:!1,locale:navigator.language.includes("zh")?"zh":"en",fallbackLocale:"en",messages:{zh:KS,en:XS}}),Hc=gg(GS);Hc.use(bg);Hc.use(YS);Hc.mount("#app");
diff --git a/mineru/cli/static/web/assets/markdown-_Dy2zPzC.js b/mineru/cli/static/web/assets/markdown-_Dy2zPzC.js
deleted file mode 100644
index dee1147..0000000
--- a/mineru/cli/static/web/assets/markdown-_Dy2zPzC.js
+++ /dev/null
@@ -1,16 +0,0 @@
-const Bu={};function C0(u){let e=Bu[u];if(e)return e;e=Bu[u]=[];for(let r=0;r<128;r++){const t=String.fromCharCode(r);e.push(t)}for(let r=0;r=55296&&s<=57343?n+="���":n+=String.fromCharCode(s),c+=6;continue}}if((i&248)===240&&c+91114111?n+="����":(d-=65536,n+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),c+=9;continue}}n+="�"}return n})}Z.defaultChars=";/?:@&=+$,#";Z.componentChars="";const Tu={};function E0(u){let e=Tu[u];if(e)return e;e=Tu[u]=[];for(let r=0;r<128;r++){const t=String.fromCharCode(r);/^[0-9a-z]$/i.test(t)?e.push(t):e.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2))}for(let r=0;r"u"&&(r=!0);const t=E0(e);let n="";for(let c=0,o=u.length;c=55296&&i<=57343){if(i>=55296&&i<=56319&&c+1=56320&&a<=57343){n+=encodeURIComponent(u[c]+u[c+1]),c++;continue}}n+="%EF%BF%BD";continue}n+=encodeURIComponent(u[c])}return n}Y.defaultChars=";/?:@&=+$,-_.!~*'()#";Y.componentChars="-_.!~*'()";function Du(u){let e="";return e+=u.protocol||"",e+=u.slashes?"//":"",e+=u.auth?u.auth+"@":"",u.hostname&&u.hostname.indexOf(":")!==-1?e+="["+u.hostname+"]":e+=u.hostname||"",e+=u.port?":"+u.port:"",e+=u.pathname||"",e+=u.search||"",e+=u.hash||"",e}function nu(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const F0=/^([a-z0-9.+-]+:)/i,A0=/:[0-9]*$/,y0=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,w0=["<",">",'"',"`"," ","\r",`
-`,"	"],S0=["{","}","|","\\","^","`"].concat(w0),v0=["'"].concat(S0),zu=["%","/","?",";","#"].concat(v0),Iu=["/","?","#"],B0=255,Mu=/^[+a-z0-9A-Z_-]{0,63}$/,T0=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,qu={javascript:!0,"javascript:":!0},Ru={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Cu(u,e){if(u&&u instanceof nu)return u;const r=new nu;return r.parse(u,e),r}nu.prototype.parse=function(u,e){let r,t,n,c=u;if(c=c.trim(),!e&&u.split("#").length===1){const f=y0.exec(c);if(f)return this.pathname=f[1],f[2]&&(this.search=f[2]),this}let o=F0.exec(c);if(o&&(o=o[0],r=o.toLowerCase(),this.protocol=o,c=c.substr(o.length)),(e||o||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(n=c.substr(0,2)==="//",n&&!(o&&qu[o])&&(c=c.substr(2),this.slashes=!0)),!qu[o]&&(n||o&&!Ru[o])){let f=-1;for(let l=0;l127?p+="x":p+=C[_];if(!p.match(Mu)){const _=l.slice(0,k),x=l.slice(k+1),m=C.match(T0);m&&(_.push(m[1]),x.unshift(m[2])),x.length&&(c=x.join(".")+c),this.hostname=_.join(".");break}}}}this.hostname.length>B0&&(this.hostname=""),h&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const i=c.indexOf("#");i!==-1&&(this.hash=c.substr(i),c=c.slice(0,i));const a=c.indexOf("?");return a!==-1&&(this.search=c.substr(a),c=c.slice(0,a)),c&&(this.pathname=c),Ru[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};nu.prototype.parseHost=function(u){let e=A0.exec(u);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),u=u.substr(0,u.length-e.length)),u&&(this.hostname=u)};const z0=Object.freeze(Object.defineProperty({__proto__:null,decode:Z,encode:Y,format:Du,parse:Cu},Symbol.toStringTag,{value:"Module"})),Wu=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Ju=/[\0-\x1F\x7F-\x9F]/,I0=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Eu=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Qu=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Xu=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,M0=Object.freeze(Object.defineProperty({__proto__:null,Any:Wu,Cc:Ju,Cf:I0,P:Eu,S:Qu,Z:Xu},Symbol.toStringTag,{value:"Module"})),q0=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(u=>u.charCodeAt(0))),R0=new Uint16Array("Ȁaglq	\x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(u=>u.charCodeAt(0)));var lu;const L0=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),P0=(lu=String.fromCodePoint)!==null&&lu!==void 0?lu:function(u){let e="";return u>65535&&(u-=65536,e+=String.fromCharCode(u>>>10&1023|55296),u=56320|u&1023),e+=String.fromCharCode(u),e};function O0(u){var e;return u>=55296&&u<=57343||u>1114111?65533:(e=L0.get(u))!==null&&e!==void 0?e:u}var A;(function(u){u[u.NUM=35]="NUM",u[u.SEMI=59]="SEMI",u[u.EQUALS=61]="EQUALS",u[u.ZERO=48]="ZERO",u[u.NINE=57]="NINE",u[u.LOWER_A=97]="LOWER_A",u[u.LOWER_F=102]="LOWER_F",u[u.LOWER_X=120]="LOWER_X",u[u.LOWER_Z=122]="LOWER_Z",u[u.UPPER_A=65]="UPPER_A",u[u.UPPER_F=70]="UPPER_F",u[u.UPPER_Z=90]="UPPER_Z"})(A||(A={}));const N0=32;var O;(function(u){u[u.VALUE_LENGTH=49152]="VALUE_LENGTH",u[u.BRANCH_LENGTH=16256]="BRANCH_LENGTH",u[u.JUMP_TABLE=127]="JUMP_TABLE"})(O||(O={}));function mu(u){return u>=A.ZERO&&u<=A.NINE}function j0(u){return u>=A.UPPER_A&&u<=A.UPPER_F||u>=A.LOWER_A&&u<=A.LOWER_F}function $0(u){return u>=A.UPPER_A&&u<=A.UPPER_Z||u>=A.LOWER_A&&u<=A.LOWER_Z||mu(u)}function U0(u){return u===A.EQUALS||$0(u)}var F;(function(u){u[u.EntityStart=0]="EntityStart",u[u.NumericStart=1]="NumericStart",u[u.NumericDecimal=2]="NumericDecimal",u[u.NumericHex=3]="NumericHex",u[u.NamedEntity=4]="NamedEntity"})(F||(F={}));var P;(function(u){u[u.Legacy=0]="Legacy",u[u.Strict=1]="Strict",u[u.Attribute=2]="Attribute"})(P||(P={}));class Z0{constructor(e,r,t){this.decodeTree=e,this.emitCodePoint=r,this.errors=t,this.state=F.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=P.Strict}startEntity(e){this.decodeMode=e,this.state=F.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,r){switch(this.state){case F.EntityStart:return e.charCodeAt(r)===A.NUM?(this.state=F.NumericStart,this.consumed+=1,this.stateNumericStart(e,r+1)):(this.state=F.NamedEntity,this.stateNamedEntity(e,r));case F.NumericStart:return this.stateNumericStart(e,r);case F.NumericDecimal:return this.stateNumericDecimal(e,r);case F.NumericHex:return this.stateNumericHex(e,r);case F.NamedEntity:return this.stateNamedEntity(e,r)}}stateNumericStart(e,r){return r>=e.length?-1:(e.charCodeAt(r)|N0)===A.LOWER_X?(this.state=F.NumericHex,this.consumed+=1,this.stateNumericHex(e,r+1)):(this.state=F.NumericDecimal,this.stateNumericDecimal(e,r))}addToNumericResult(e,r,t,n){if(r!==t){const c=t-r;this.result=this.result*Math.pow(n,c)+parseInt(e.substr(r,c),n),this.consumed+=c}}stateNumericHex(e,r){const t=r;for(;r>14;for(;r>14,c!==0){if(o===A.SEMI)return this.emitNamedEntityData(this.treeIndex,c,this.consumed+this.excess);this.decodeMode!==P.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:r,decodeTree:t}=this,n=(t[r]&O.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,n,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,r,t){const{decodeTree:n}=this;return this.emitCodePoint(r===1?n[e]&~O.VALUE_LENGTH:n[e+1],t),r===3&&this.emitCodePoint(n[e+2],t),t}end(){var e;switch(this.state){case F.NamedEntity:return this.result!==0&&(this.decodeMode!==P.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case F.NumericDecimal:return this.emitNumericEntity(0,2);case F.NumericHex:return this.emitNumericEntity(0,3);case F.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case F.EntityStart:return 0}}}function Yu(u){let e="";const r=new Z0(u,t=>e+=P0(t));return function(n,c){let o=0,i=0;for(;(i=n.indexOf("&",i))>=0;){e+=n.slice(o,i),r.startEntity(c);const f=r.write(n,i+1);if(f<0){o=i+r.end();break}o=i+f,i=f===0?o+1:o}const a=e+n.slice(o);return e="",a}}function H0(u,e,r,t){const n=(e&O.BRANCH_LENGTH)>>7,c=e&O.JUMP_TABLE;if(n===0)return c!==0&&t===c?r:-1;if(c){const a=t-c;return a<0||a>=n?-1:u[r+a]-1}let o=r,i=o+n-1;for(;o<=i;){const a=o+i>>>1,f=u[a];if(ft)i=a-1;else return u[a+n]}return-1}const V0=Yu(q0);Yu(R0);function Ku(u,e=P.Legacy){return V0(u,e)}function G0(u){return Object.prototype.toString.call(u)}function Fu(u){return G0(u)==="[object String]"}const W0=Object.prototype.hasOwnProperty;function J0(u,e){return W0.call(u,e)}function iu(u){return Array.prototype.slice.call(arguments,1).forEach(function(r){if(r){if(typeof r!="object")throw new TypeError(r+"must be object");Object.keys(r).forEach(function(t){u[t]=r[t]})}}),u}function u0(u,e,r){return[].concat(u.slice(0,e),r,u.slice(e+1))}function Au(u){return!(u>=55296&&u<=57343||u>=64976&&u<=65007||(u&65535)===65535||(u&65535)===65534||u>=0&&u<=8||u===11||u>=14&&u<=31||u>=127&&u<=159||u>1114111)}function tu(u){if(u>65535){u-=65536;const e=55296+(u>>10),r=56320+(u&1023);return String.fromCharCode(e,r)}return String.fromCharCode(u)}const e0=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Q0=/&([a-z#][a-z0-9]{1,31});/gi,X0=new RegExp(e0.source+"|"+Q0.source,"gi"),Y0=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function K0(u,e){if(e.charCodeAt(0)===35&&Y0.test(e)){const t=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return Au(t)?tu(t):u}const r=Ku(u);return r!==u?r:u}function ue(u){return u.indexOf("\\")<0?u:u.replace(e0,"$1")}function H(u){return u.indexOf("\\")<0&&u.indexOf("&")<0?u:u.replace(X0,function(e,r,t){return r||K0(e,t)})}const ee=/[&<>"]/,re=/[&<>"]/g,ne={"&":"&","<":"<",">":">",'"':"""};function te(u){return ne[u]}function N(u){return ee.test(u)?u.replace(re,te):u}const ce=/[.?*+^$[\]\\(){}|-]/g;function ie(u){return u.replace(ce,"\\$&")}function E(u){switch(u){case 9:case 32:return!0}return!1}function W(u){if(u>=8192&&u<=8202)return!0;switch(u){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function J(u){return Eu.test(u)||Qu.test(u)}function Q(u){switch(u){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ou(u){return u=u.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(u=u.replace(/ẞ/g,"ß")),u.toLowerCase().toUpperCase()}const oe={mdurl:z0,ucmicro:M0},ae=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:u0,assign:iu,escapeHtml:N,escapeRE:ie,fromCodePoint:tu,has:J0,isMdAsciiPunct:Q,isPunctChar:J,isSpace:E,isString:Fu,isValidEntityCode:Au,isWhiteSpace:W,lib:oe,normalizeReference:ou,unescapeAll:H,unescapeMd:ue},Symbol.toStringTag,{value:"Module"}));function fe(u,e,r){let t,n,c,o;const i=u.posMax,a=u.pos;for(u.pos=e+1,t=1;u.pos32))return c;if(t===41){if(o===0)break;o--}n++}return e===n||o!==0||(c.str=H(u.slice(e,n)),c.pos=n,c.ok=!0),c}function le(u,e,r,t){let n,c=e;const o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(t)o.str=t.str,o.marker=t.marker;else{if(c>=r)return o;let i=u.charCodeAt(c);if(i!==34&&i!==39&&i!==40)return o;e++,c++,i===40&&(i=41),o.marker=i}for(;c"+N(c.content)+""};M.code_block=function(u,e,r,t,n){const c=u[e];return""+N(u[e].content)+`
-`};M.fence=function(u,e,r,t,n){const c=u[e],o=c.info?H(c.info).trim():"";let i="",a="";if(o){const s=o.split(/(\s+)/g);i=s[0],a=s.slice(2).join("")}let f;if(r.highlight?f=r.highlight(c.content,i,a)||N(c.content):f=N(c.content),f.indexOf("${f}
-`}return`
${f}
-`};M.image=function(u,e,r,t,n){const c=u[e];return c.attrs[c.attrIndex("alt")][1]=n.renderInlineAsText(c.children,r,t),n.renderToken(u,e,r)};M.hardbreak=function(u,e,r){return r.xhtmlOut?`
-`:`
-`};M.softbreak=function(u,e,r){return r.breaks?r.xhtmlOut?`
-`:`
-`:` -`};M.text=function(u,e){return N(u[e].content)};M.html_block=function(u,e){return u[e].content};M.html_inline=function(u,e){return u[e].content};function V(){this.rules=iu({},M)}V.prototype.renderAttrs=function(e){let r,t,n;if(!e.attrs)return"";for(n="",r=0,t=e.attrs.length;r -`:">",c};V.prototype.renderInline=function(u,e,r){let t="";const n=this.rules;for(let c=0,o=u.length;c=0&&(t=this.attrs[r][1]),t};T.prototype.attrJoin=function(e,r){const t=this.attrIndex(e);t<0?this.attrPush([e,r]):this.attrs[t][1]=this.attrs[t][1]+" "+r};function r0(u,e,r){this.src=u,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=e}r0.prototype.Token=T;const he=/\r\n?|\n/g,be=/\0/g;function pe(u){let e;e=u.src.replace(he,` -`),e=e.replace(be,"�"),u.src=e}function xe(u){let e;u.inlineMode?(e=new u.Token("inline","",0),e.content=u.src,e.map=[0,1],e.children=[],u.tokens.push(e)):u.md.block.parse(u.src,u.md,u.env,u.tokens)}function _e(u){const e=u.tokens;for(let r=0,t=e.length;r\s]/i.test(u)}function ke(u){return/^<\/a\s*>/i.test(u)}function ge(u){const e=u.tokens;if(u.md.options.linkify)for(let r=0,t=e.length;r=0;o--){const i=n[o];if(i.type==="link_close"){for(o--;n[o].level!==i.level&&n[o].type!=="link_open";)o--;continue}if(i.type==="html_inline"&&(me(i.content)&&c>0&&c--,ke(i.content)&&c++),!(c>0)&&i.type==="text"&&u.md.linkify.test(i.content)){const a=i.content;let f=u.md.linkify.match(a);const s=[];let d=i.level,b=0;f.length>0&&f[0].index===0&&o>0&&n[o-1].type==="text_special"&&(f=f.slice(1));for(let h=0;hb){const m=new u.Token("text","",0);m.content=a.slice(b,C),m.level=d,s.push(m)}const p=new u.Token("link_open","a",1);p.attrs=[["href",k]],p.level=d++,p.markup="linkify",p.info="auto",s.push(p);const _=new u.Token("text","",0);_.content=g,_.level=d,s.push(_);const x=new u.Token("link_close","a",-1);x.level=--d,x.markup="linkify",x.info="auto",s.push(x),b=f[h].lastIndex}if(b=0;r--){const t=u[r];t.type==="text"&&!e&&(t.content=t.content.replace(Ce,Fe)),t.type==="link_open"&&t.info==="auto"&&e--,t.type==="link_close"&&t.info==="auto"&&e++}}function ye(u){let e=0;for(let r=u.length-1;r>=0;r--){const t=u[r];t.type==="text"&&!e&&n0.test(t.content)&&(t.content=t.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),t.type==="link_open"&&t.info==="auto"&&e--,t.type==="link_close"&&t.info==="auto"&&e++}}function we(u){let e;if(u.md.options.typographer)for(e=u.tokens.length-1;e>=0;e--)u.tokens[e].type==="inline"&&(De.test(u.tokens[e].content)&&Ae(u.tokens[e].children),n0.test(u.tokens[e].content)&&ye(u.tokens[e].children))}const Se=/['"]/,Lu=/['"]/g,Pu="’";function eu(u,e,r){return u.slice(0,e)+r+u.slice(e+1)}function ve(u,e){let r;const t=[];for(let n=0;n=0&&!(t[r].level<=o);r--);if(t.length=r+1,c.type!=="text")continue;let i=c.content,a=0,f=i.length;u:for(;a=0)l=i.charCodeAt(s.index-1);else for(r=n-1;r>=0&&!(u[r].type==="softbreak"||u[r].type==="hardbreak");r--)if(u[r].content){l=u[r].content.charCodeAt(u[r].content.length-1);break}let k=32;if(a=48&&l<=57&&(b=d=!1),d&&b&&(d=g,b=C),!d&&!b){h&&(c.content=eu(c.content,s.index,Pu));continue}if(b)for(r=t.length-1;r>=0;r--){let x=t[r];if(t[r].level=0;e--)u.tokens[e].type!=="inline"||!Se.test(u.tokens[e].content)||ve(u.tokens[e].children,u)}function Te(u){let e,r;const t=u.tokens,n=t.length;for(let c=0;c0&&this.level++,this.tokens.push(t),t};q.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};q.prototype.skipEmptyLines=function(e){for(let r=this.lineMax;er;)if(!E(this.src.charCodeAt(--e)))return e+1;return e};q.prototype.skipChars=function(e,r){for(let t=this.src.length;et;)if(r!==this.src.charCodeAt(--e))return e+1;return e};q.prototype.getLines=function(e,r,t,n){if(e>=r)return"";const c=new Array(r-e);for(let o=0,i=e;it?c[o]=new Array(a-t+1).join(" ")+this.src.slice(s,d):c[o]=this.src.slice(s,d)}return c.join("")};q.prototype.Token=T;const ze=65536;function hu(u,e){const r=u.bMarks[e]+u.tShift[e],t=u.eMarks[e];return u.src.slice(r,t)}function Ou(u){const e=[],r=u.length;let t=0,n=u.charCodeAt(t),c=!1,o=0,i="";for(;tr)return!1;let n=e+1;if(u.sCount[n]=4)return!1;let c=u.bMarks[n]+u.tShift[n];if(c>=u.eMarks[n])return!1;const o=u.src.charCodeAt(c++);if(o!==124&&o!==45&&o!==58||c>=u.eMarks[n])return!1;const i=u.src.charCodeAt(c++);if(i!==124&&i!==45&&i!==58&&!E(i)||o===45&&E(i))return!1;for(;c=4)return!1;f=Ou(a),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop();const d=f.length;if(d===0||d!==s.length)return!1;if(t)return!0;const b=u.parentType;u.parentType="table";const h=u.md.block.ruler.getRules("blockquote"),l=u.push("table_open","table",1),k=[e,0];l.map=k;const g=u.push("thead_open","thead",1);g.map=[e,e+1];const C=u.push("tr_open","tr",1);C.map=[e,e+1];for(let x=0;x=4||(f=Ou(a),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),_+=d-f.length,_>ze))break;if(n===e+2){const D=u.push("tbody_open","tbody",1);D.map=p=[e+2,0]}const m=u.push("tr_open","tr",1);m.map=[n,n+1];for(let D=0;D=4){t++,n=t;continue}break}u.line=n;const c=u.push("code_block","code",0);return c.content=u.getLines(e,n,4+u.blkIndent,!1)+` -`,c.map=[e,u.line],!0}function qe(u,e,r,t){let n=u.bMarks[e]+u.tShift[e],c=u.eMarks[e];if(u.sCount[e]-u.blkIndent>=4||n+3>c)return!1;const o=u.src.charCodeAt(n);if(o!==126&&o!==96)return!1;let i=n;n=u.skipChars(n,o);let a=n-i;if(a<3)return!1;const f=u.src.slice(i,n),s=u.src.slice(n,c);if(o===96&&s.indexOf(String.fromCharCode(o))>=0)return!1;if(t)return!0;let d=e,b=!1;for(;d++,!(d>=r||(n=i=u.bMarks[d]+u.tShift[d],c=u.eMarks[d],n=4)&&(n=u.skipChars(n,o),!(n-i=4||u.src.charCodeAt(n)!==62)return!1;if(t)return!0;const i=[],a=[],f=[],s=[],d=u.md.block.ruler.getRules("blockquote"),b=u.parentType;u.parentType="blockquote";let h=!1,l;for(l=e;l=c)break;if(u.src.charCodeAt(n++)===62&&!_){let m=u.sCount[l]+1,D,y;u.src.charCodeAt(n)===32?(n++,m++,y=!1,D=!0):u.src.charCodeAt(n)===9?(D=!0,(u.bsCount[l]+m)%4===3?(n++,m++,y=!1):y=!0):D=!1;let v=m;for(i.push(u.bMarks[l]),u.bMarks[l]=n;n=c,a.push(u.bsCount[l]),u.bsCount[l]=u.sCount[l]+1+(D?1:0),f.push(u.sCount[l]),u.sCount[l]=v-m,s.push(u.tShift[l]),u.tShift[l]=n-u.bMarks[l];continue}if(h)break;let x=!1;for(let m=0,D=d.length;m";const C=[e,0];g.map=C,u.md.block.tokenize(u,e,l);const p=u.push("blockquote_close","blockquote",-1);p.markup=">",u.lineMax=o,u.parentType=b,C[1]=u.line;for(let _=0;_=4)return!1;let c=u.bMarks[e]+u.tShift[e];const o=u.src.charCodeAt(c++);if(o!==42&&o!==45&&o!==95)return!1;let i=1;for(;c=t)return-1;let c=u.src.charCodeAt(n++);if(c<48||c>57)return-1;for(;;){if(n>=t)return-1;if(c=u.src.charCodeAt(n++),c>=48&&c<=57){if(n-r>=10)return-1;continue}if(c===41||c===46)break;return-1}return n=4||u.listIndent>=0&&u.sCount[a]-u.listIndent>=4&&u.sCount[a]=u.blkIndent&&(s=!0);let d,b,h;if((h=ju(u,a))>=0){if(d=!0,o=u.bMarks[a]+u.tShift[a],b=Number(u.src.slice(o,h-1)),s&&b!==1)return!1}else if((h=Nu(u,a))>=0)d=!1;else return!1;if(s&&u.skipSpaces(h)>=u.eMarks[a])return!1;if(t)return!0;const l=u.src.charCodeAt(h-1),k=u.tokens.length;d?(i=u.push("ordered_list_open","ol",1),b!==1&&(i.attrs=[["start",b]])):i=u.push("bullet_list_open","ul",1);const g=[a,0];i.map=g,i.markup=String.fromCharCode(l);let C=!1;const p=u.md.block.ruler.getRules("list"),_=u.parentType;for(u.parentType="list";a=n?y=1:y=m-x,y>4&&(y=1);const v=x+y;i=u.push("list_item_open","li",1),i.markup=String.fromCharCode(l);const R=[a,0];i.map=R,d&&(i.info=u.src.slice(o,h-1));const G=u.tight,su=u.tShift[a],k0=u.sCount[a],g0=u.listIndent;if(u.listIndent=u.blkIndent,u.blkIndent=v,u.tight=!0,u.tShift[a]=D-u.bMarks[a],u.sCount[a]=m,D>=n&&u.isEmpty(a+1)?u.line=Math.min(u.line+2,r):u.md.block.tokenize(u,a,r,!0),(!u.tight||C)&&(f=!1),C=u.line-a>1&&u.isEmpty(u.line-1),u.blkIndent=u.listIndent,u.listIndent=g0,u.tShift[a]=su,u.sCount[a]=k0,u.tight=G,i=u.push("list_item_close","li",-1),i.markup=String.fromCharCode(l),a=u.line,R[1]=a,a>=r||u.sCount[a]=4)break;let vu=!1;for(let j=0,D0=p.length;j=4||u.src.charCodeAt(n)!==91)return!1;function i(p){const _=u.lineMax;if(p>=_||u.isEmpty(p))return null;let x=!1;if(u.sCount[p]-u.blkIndent>3&&(x=!0),u.sCount[p]<0&&(x=!0),!x){const y=u.md.block.ruler.getRules("reference"),v=u.parentType;u.parentType="reference";let R=!1;for(let G=0,su=y.length;G"u"&&(u.env.references={}),typeof u.env.references[C]>"u"&&(u.env.references[C]={title:g,href:d}),u.line=o),!0):!1}const je=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],$e="[a-zA-Z_:][a-zA-Z0-9:._-]*",Ue="[^\"'=<>`\\x00-\\x20]+",Ze="'[^']*'",He='"[^"]*"',Ve="(?:"+Ue+"|"+Ze+"|"+He+")",Ge="(?:\\s+"+$e+"(?:\\s*=\\s*"+Ve+")?)",t0="<[A-Za-z][A-Za-z0-9\\-]*"+Ge+"*\\s*\\/?>",c0="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",We="",Je="<[?][\\s\\S]*?[?]>",Qe="]*>",Xe="",Ye=new RegExp("^(?:"+t0+"|"+c0+"|"+We+"|"+Je+"|"+Qe+"|"+Xe+")"),Ke=new RegExp("^(?:"+t0+"|"+c0+")"),$=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Ke.source+"\\s*$"),/^$/,!1]];function ur(u,e,r,t){let n=u.bMarks[e]+u.tShift[e],c=u.eMarks[e];if(u.sCount[e]-u.blkIndent>=4||!u.md.options.html||u.src.charCodeAt(n)!==60)return!1;let o=u.src.slice(n,c),i=0;for(;i<$.length&&!$[i][0].test(o);i++);if(i===$.length)return!1;if(t)return $[i][2];let a=e+1;if(!$[i][1].test(o)){for(;a=4)return!1;let o=u.src.charCodeAt(n);if(o!==35||n>=c)return!1;let i=1;for(o=u.src.charCodeAt(++n);o===35&&n6||nn&&E(u.src.charCodeAt(a-1))&&(c=a),u.line=e+1;const f=u.push("heading_open","h"+String(i),1);f.markup="########".slice(0,i),f.map=[e,u.line];const s=u.push("inline","",0);s.content=u.src.slice(n,c).trim(),s.map=[e,u.line],s.children=[];const d=u.push("heading_close","h"+String(i),-1);return d.markup="########".slice(0,i),!0}function rr(u,e,r){const t=u.md.block.ruler.getRules("paragraph");if(u.sCount[e]-u.blkIndent>=4)return!1;const n=u.parentType;u.parentType="paragraph";let c=0,o,i=e+1;for(;i3)continue;if(u.sCount[i]>=u.blkIndent){let h=u.bMarks[i]+u.tShift[i];const l=u.eMarks[i];if(h=l))){c=o===61?1:2;break}}if(u.sCount[i]<0)continue;let b=!1;for(let h=0,l=t.length;h3||u.sCount[c]<0)continue;let f=!1;for(let s=0,d=t.length;s=r||u.sCount[o]=c){u.line=r;break}const a=u.line;let f=!1;for(let s=0;s=u.line)throw new Error("block rule didn't increment state.line");break}if(!f)throw new Error("none of the block rules matched");u.tight=!i,u.isEmpty(u.line-1)&&(i=!0),o=u.line,o0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],n={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(t),this.tokens_meta.push(n),t};K.prototype.scanDelims=function(u,e){const r=this.posMax,t=this.src.charCodeAt(u),n=u>0?this.src.charCodeAt(u-1):32;let c=u;for(;c0)return!1;const r=u.pos,t=u.posMax;if(r+3>t||u.src.charCodeAt(r)!==58||u.src.charCodeAt(r+1)!==47||u.src.charCodeAt(r+2)!==47)return!1;const n=u.pending.match(ir);if(!n)return!1;const c=n[1],o=u.md.linkify.matchAtStart(u.src.slice(r-c.length));if(!o)return!1;let i=o.url;if(i.length<=c.length)return!1;let a=i.length;for(;a>0&&i.charCodeAt(a-1)===42;)a--;a!==i.length&&(i=i.slice(0,a));const f=u.md.normalizeLink(i);if(!u.md.validateLink(f))return!1;if(!e){u.pending=u.pending.slice(0,-c.length);const s=u.push("link_open","a",1);s.attrs=[["href",f]],s.markup="linkify",s.info="auto";const d=u.push("text","",0);d.content=u.md.normalizeLinkText(i);const b=u.push("link_close","a",-1);b.markup="linkify",b.info="auto"}return u.pos+=i.length-c.length,!0}function ar(u,e){let r=u.pos;if(u.src.charCodeAt(r)!==10)return!1;const t=u.pending.length-1,n=u.posMax;if(!e)if(t>=0&&u.pending.charCodeAt(t)===32)if(t>=1&&u.pending.charCodeAt(t-1)===32){let c=t-1;for(;c>=1&&u.pending.charCodeAt(c-1)===32;)c--;u.pending=u.pending.slice(0,c),u.push("hardbreak","br",0)}else u.pending=u.pending.slice(0,-1),u.push("softbreak","br",0);else u.push("softbreak","br",0);for(r++;r?@[]^_`{|}~-".split("").forEach(function(u){wu[u.charCodeAt(0)]=1});function fr(u,e){let r=u.pos;const t=u.posMax;if(u.src.charCodeAt(r)!==92||(r++,r>=t))return!1;let n=u.src.charCodeAt(r);if(n===10){for(e||u.push("hardbreak","br",0),r++;r=55296&&n<=56319&&r+1=56320&&i<=57343&&(c+=u.src[r+1],r++)}const o="\\"+c;if(!e){const i=u.push("text_special","",0);n<256&&wu[n]!==0?i.content=c:i.content=o,i.markup=o,i.info="escape"}return u.pos=r+1,!0}function sr(u,e){let r=u.pos;if(u.src.charCodeAt(r)!==96)return!1;const n=r;r++;const c=u.posMax;for(;r=0;t--){const n=e[t];if(n.marker!==95&&n.marker!==42||n.end===-1)continue;const c=e[n.end],o=t>0&&e[t-1].end===n.end+1&&e[t-1].marker===n.marker&&e[t-1].token===n.token-1&&e[n.end+1].token===c.token+1,i=String.fromCharCode(n.marker),a=u.tokens[n.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?i+i:i,a.content="";const f=u.tokens[c.token];f.type=o?"strong_close":"em_close",f.tag=o?"strong":"em",f.nesting=-1,f.markup=o?i+i:i,f.content="",o&&(u.tokens[e[t-1].token].content="",u.tokens[e[n.end+1].token].content="",t--)}}function br(u){const e=u.tokens_meta,r=u.tokens_meta.length;Uu(u,u.delimiters);for(let t=0;t=d)return!1;if(a=l,n=u.md.helpers.parseLinkDestination(u.src,l,u.posMax),n.ok){for(o=u.md.normalizeLink(n.str),u.md.validateLink(o)?l=n.pos:o="",a=l;l=d||u.src.charCodeAt(l)!==41)&&(f=!0),l++}if(f){if(typeof u.env.references>"u")return!1;if(l=0?t=u.src.slice(a,l++):l=h+1):l=h+1,t||(t=u.src.slice(b,h)),c=u.env.references[ou(t)],!c)return u.pos=s,!1;o=c.href,i=c.title}if(!e){u.pos=b,u.posMax=h;const k=u.push("link_open","a",1),g=[["href",o]];k.attrs=g,i&&g.push(["title",i]),u.linkLevel++,u.md.inline.tokenize(u),u.linkLevel--,u.push("link_close","a",-1)}return u.pos=l,u.posMax=d,!0}function xr(u,e){let r,t,n,c,o,i,a,f,s="";const d=u.pos,b=u.posMax;if(u.src.charCodeAt(u.pos)!==33||u.src.charCodeAt(u.pos+1)!==91)return!1;const h=u.pos+2,l=u.md.helpers.parseLinkLabel(u,u.pos+1,!1);if(l<0)return!1;if(c=l+1,c=b)return!1;for(f=c,i=u.md.helpers.parseLinkDestination(u.src,c,u.posMax),i.ok&&(s=u.md.normalizeLink(i.str),u.md.validateLink(s)?c=i.pos:s=""),f=c;c=b||u.src.charCodeAt(c)!==41)return u.pos=d,!1;c++}else{if(typeof u.env.references>"u")return!1;if(c=0?n=u.src.slice(f,c++):c=l+1):c=l+1,n||(n=u.src.slice(h,l)),o=u.env.references[ou(n)],!o)return u.pos=d,!1;s=o.href,a=o.title}if(!e){t=u.src.slice(h,l);const k=[];u.md.inline.parse(t,u.md,u.env,k);const g=u.push("image","img",0),C=[["src",s],["alt",""]];g.attrs=C,g.children=k,g.content=t,a&&C.push(["title",a])}return u.pos=c,u.posMax=b,!0}const _r=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,mr=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function kr(u,e){let r=u.pos;if(u.src.charCodeAt(r)!==60)return!1;const t=u.pos,n=u.posMax;for(;;){if(++r>=n)return!1;const o=u.src.charCodeAt(r);if(o===60)return!1;if(o===62)break}const c=u.src.slice(t+1,r);if(mr.test(c)){const o=u.md.normalizeLink(c);if(!u.md.validateLink(o))return!1;if(!e){const i=u.push("link_open","a",1);i.attrs=[["href",o]],i.markup="autolink",i.info="auto";const a=u.push("text","",0);a.content=u.md.normalizeLinkText(c);const f=u.push("link_close","a",-1);f.markup="autolink",f.info="auto"}return u.pos+=c.length+2,!0}if(_r.test(c)){const o=u.md.normalizeLink("mailto:"+c);if(!u.md.validateLink(o))return!1;if(!e){const i=u.push("link_open","a",1);i.attrs=[["href",o]],i.markup="autolink",i.info="auto";const a=u.push("text","",0);a.content=u.md.normalizeLinkText(c);const f=u.push("link_close","a",-1);f.markup="autolink",f.info="auto"}return u.pos+=c.length+2,!0}return!1}function gr(u){return/^\s]/i.test(u)}function Dr(u){return/^<\/a\s*>/i.test(u)}function Cr(u){const e=u|32;return e>=97&&e<=122}function Er(u,e){if(!u.md.options.html)return!1;const r=u.posMax,t=u.pos;if(u.src.charCodeAt(t)!==60||t+2>=r)return!1;const n=u.src.charCodeAt(t+1);if(n!==33&&n!==63&&n!==47&&!Cr(n))return!1;const c=u.src.slice(t).match(Ye);if(!c)return!1;if(!e){const o=u.push("html_inline","",0);o.content=c[0],gr(o.content)&&u.linkLevel++,Dr(o.content)&&u.linkLevel--}return u.pos+=c[0].length,!0}const Fr=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Ar=/^&([a-z][a-z0-9]{1,31});/i;function yr(u,e){const r=u.pos,t=u.posMax;if(u.src.charCodeAt(r)!==38||r+1>=t)return!1;if(u.src.charCodeAt(r+1)===35){const c=u.src.slice(r).match(Fr);if(c){if(!e){const o=c[1][0].toLowerCase()==="x"?parseInt(c[1].slice(1),16):parseInt(c[1],10),i=u.push("text_special","",0);i.content=Au(o)?tu(o):tu(65533),i.markup=c[0],i.info="entity"}return u.pos+=c[0].length,!0}}else{const c=u.src.slice(r).match(Ar);if(c){const o=Ku(c[0]);if(o!==c[0]){if(!e){const i=u.push("text_special","",0);i.content=o,i.markup=c[0],i.info="entity"}return u.pos+=c[0].length,!0}}}return!1}function Zu(u){const e={},r=u.length;if(!r)return;let t=0,n=-2;const c=[];for(let o=0;oa;f-=c[f]+1){const d=u[f];if(d.marker===i.marker&&d.open&&d.end<0){let b=!1;if((d.close||i.open)&&(d.length+i.length)%3===0&&(d.length%3!==0||i.length%3!==0)&&(b=!0),!b){const h=f>0&&!u[f-1].open?c[f-1]+1:0;c[o]=o-f+h,c[f]=h,i.open=!1,d.end=o,d.close=!1,s=-1,n=-2;break}}}s!==-1&&(e[i.marker][(i.open?3:0)+(i.length||0)%3]=s)}}function wr(u){const e=u.tokens_meta,r=u.tokens_meta.length;Zu(u.delimiters);for(let t=0;t0&&t++,n[e].type==="text"&&e+1=u.pos)throw new Error("inline rule didn't increment state.pos");break}}else u.pos=u.posMax;o||u.pos++,c[e]=u.pos};uu.prototype.tokenize=function(u){const e=this.ruler.getRules(""),r=e.length,t=u.posMax,n=u.md.options.maxNesting;for(;u.pos=u.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(u.pos>=t)break;continue}u.pending+=u.src[u.pos++]}u.pending&&u.pushPending()};uu.prototype.parse=function(u,e,r,t){const n=new this.State(u,e,r,t);this.tokenize(n);const c=this.ruler2.getRules(""),o=c.length;for(let i=0;i|$))",e.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}function ku(u){return Array.prototype.slice.call(arguments,1).forEach(function(r){r&&Object.keys(r).forEach(function(t){u[t]=r[t]})}),u}function fu(u){return Object.prototype.toString.call(u)}function Br(u){return fu(u)==="[object String]"}function Tr(u){return fu(u)==="[object Object]"}function zr(u){return fu(u)==="[object RegExp]"}function Hu(u){return fu(u)==="[object Function]"}function Ir(u){return u.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const a0={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Mr(u){return Object.keys(u||{}).reduce(function(e,r){return e||a0.hasOwnProperty(r)},!1)}const qr={"http:":{validate:function(u,e,r){const t=u.slice(e);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(t)?t.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(u,e,r){const t=u.slice(e);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(t)?e>=3&&u[e-3]===":"||e>=3&&u[e-3]==="/"?0:t.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(u,e,r){const t=u.slice(e);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(t)?t.match(r.re.mailto)[0].length:0}}},Rr="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Lr="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Pr(u){u.__index__=-1,u.__text_cache__=""}function Or(u){return function(e,r){const t=e.slice(r);return u.test(t)?t.match(u)[0].length:0}}function Vu(){return function(u,e){e.normalize(u)}}function cu(u){const e=u.re=vr(u.__opts__),r=u.__tlds__.slice();u.onCompile(),u.__tlds_replaced__||r.push(Rr),r.push(e.src_xn),e.src_tlds=r.join("|");function t(i){return i.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(t(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(t(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(t(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(t(e.tpl_host_fuzzy_test),"i");const n=[];u.__compiled__={};function c(i,a){throw new Error('(LinkifyIt) Invalid schema "'+i+'": '+a)}Object.keys(u.__schemas__).forEach(function(i){const a=u.__schemas__[i];if(a===null)return;const f={validate:null,link:null};if(u.__compiled__[i]=f,Tr(a)){zr(a.validate)?f.validate=Or(a.validate):Hu(a.validate)?f.validate=a.validate:c(i,a),Hu(a.normalize)?f.normalize=a.normalize:a.normalize?c(i,a):f.normalize=Vu();return}if(Br(a)){n.push(i);return}c(i,a)}),n.forEach(function(i){u.__compiled__[u.__schemas__[i]]&&(u.__compiled__[i].validate=u.__compiled__[u.__schemas__[i]].validate,u.__compiled__[i].normalize=u.__compiled__[u.__schemas__[i]].normalize)}),u.__compiled__[""]={validate:null,normalize:Vu()};const o=Object.keys(u.__compiled__).filter(function(i){return i.length>0&&u.__compiled__[i]}).map(Ir).join("|");u.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","i"),u.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","ig"),u.re.schema_at_start=RegExp("^"+u.re.schema_search.source,"i"),u.re.pretest=RegExp("("+u.re.schema_test.source+")|("+u.re.host_fuzzy_test.source+")|@","i"),Pr(u)}function Nr(u,e){const r=u.__index__,t=u.__last_index__,n=u.__text_cache__.slice(r,t);this.schema=u.__schema__.toLowerCase(),this.index=r+e,this.lastIndex=t+e,this.raw=n,this.text=n,this.url=n}function gu(u,e){const r=new Nr(u,e);return u.__compiled__[r.schema].normalize(r,u),r}function S(u,e){if(!(this instanceof S))return new S(u,e);e||Mr(u)&&(e=u,u={}),this.__opts__=ku({},a0,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ku({},qr,u),this.__compiled__={},this.__tlds__=Lr,this.__tlds_replaced__=!1,this.re={},cu(this)}S.prototype.add=function(e,r){return this.__schemas__[e]=r,cu(this),this};S.prototype.set=function(e){return this.__opts__=ku(this.__opts__,e),this};S.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let r,t,n,c,o,i,a,f,s;if(this.re.schema_test.test(e)){for(a=this.re.schema_search,a.lastIndex=0;(r=a.exec(e))!==null;)if(c=this.testSchemaAt(e,r[2],a.lastIndex),c){this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+c;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(f=e.search(this.re.host_fuzzy_test),f>=0&&(this.__index__<0||f=0&&(n=e.match(this.re.email_fuzzy))!==null&&(o=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i))),this.__index__>=0};S.prototype.pretest=function(e){return this.re.pretest.test(e)};S.prototype.testSchemaAt=function(e,r,t){return this.__compiled__[r.toLowerCase()]?this.__compiled__[r.toLowerCase()].validate(e,t,this):0};S.prototype.match=function(e){const r=[];let t=0;this.__index__>=0&&this.__text_cache__===e&&(r.push(gu(this,t)),t=this.__last_index__);let n=t?e.slice(t):e;for(;this.test(n);)r.push(gu(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null};S.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const r=this.re.schema_at_start.exec(e);if(!r)return null;const t=this.testSchemaAt(e,r[2],r[0].length);return t?(this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+t,gu(this,0)):null};S.prototype.tlds=function(e,r){return e=Array.isArray(e)?e:[e],r?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(t,n,c){return t!==c[n-1]}).reverse(),cu(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,cu(this),this)};S.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};S.prototype.onCompile=function(){};const U=2147483647,z=36,Su=1,X=26,jr=38,$r=700,f0=72,s0=128,l0="-",Ur=/^xn--/,Zr=/[^\0-\x7F]/,Hr=/[\x2E\u3002\uFF0E\uFF61]/g,Vr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},xu=z-Su,I=Math.floor,_u=String.fromCharCode;function L(u){throw new RangeError(Vr[u])}function Gr(u,e){const r=[];let t=u.length;for(;t--;)r[t]=e(u[t]);return r}function d0(u,e){const r=u.split("@");let t="";r.length>1&&(t=r[0]+"@",u=r[1]),u=u.replace(Hr,".");const n=u.split("."),c=Gr(n,e).join(".");return t+c}function h0(u){const e=[];let r=0;const t=u.length;for(;r=55296&&n<=56319&&rString.fromCodePoint(...u),Jr=function(u){return u>=48&&u<58?26+(u-48):u>=65&&u<91?u-65:u>=97&&u<123?u-97:z},Gu=function(u,e){return u+22+75*(u<26)-((e!=0)<<5)},b0=function(u,e,r){let t=0;for(u=r?I(u/$r):u>>1,u+=I(u/e);u>xu*X>>1;t+=z)u=I(u/xu);return I(t+(xu+1)*u/(u+jr))},p0=function(u){const e=[],r=u.length;let t=0,n=s0,c=f0,o=u.lastIndexOf(l0);o<0&&(o=0);for(let i=0;i=128&&L("not-basic"),e.push(u.charCodeAt(i));for(let i=o>0?o+1:0;i=r&&L("invalid-input");const b=Jr(u.charCodeAt(i++));b>=z&&L("invalid-input"),b>I((U-t)/s)&&L("overflow"),t+=b*s;const h=d<=c?Su:d>=c+X?X:d-c;if(bI(U/l)&&L("overflow"),s*=l}const f=e.length+1;c=b0(t-a,f,a==0),I(t/f)>U-n&&L("overflow"),n+=I(t/f),t%=f,e.splice(t++,0,n)}return String.fromCodePoint(...e)},x0=function(u){const e=[];u=h0(u);const r=u.length;let t=s0,n=0,c=f0;for(const a of u)a<128&&e.push(_u(a));const o=e.length;let i=o;for(o&&e.push(l0);i=t&&sI((U-n)/f)&&L("overflow"),n+=(a-t)*f,t=a;for(const s of u)if(sU&&L("overflow"),s===t){let d=n;for(let b=z;;b+=z){const h=b<=c?Su:b>=c+X?X:b-c;if(d=0))try{e.hostname=_0.toASCII(e.hostname)}catch{}return Y(Du(e))}function on(u){const e=Cu(u,!0);if(e.hostname&&(!e.protocol||m0.indexOf(e.protocol)>=0))try{e.hostname=_0.toUnicode(e.hostname)}catch{}return Z(Du(e),Z.defaultChars+"%")}function B(u,e){if(!(this instanceof B))return new B(u,e);e||Fu(u)||(e=u||{},u="default"),this.inline=new uu,this.block=new au,this.core=new yu,this.renderer=new V,this.linkify=new S,this.validateLink=tn,this.normalizeLink=cn,this.normalizeLinkText=on,this.utils=ae,this.helpers=iu({},de),this.options={},this.configure(u),e&&this.set(e)}B.prototype.set=function(u){return iu(this.options,u),this};B.prototype.configure=function(u){const e=this;if(Fu(u)){const r=u;if(u=en[r],!u)throw new Error('Wrong `markdown-it` preset "'+r+'", check name')}if(!u)throw new Error("Wrong `markdown-it` preset, can't be empty");return u.options&&e.set(u.options),u.components&&Object.keys(u.components).forEach(function(r){u.components[r].rules&&e[r].ruler.enableOnly(u.components[r].rules),u.components[r].rules2&&e[r].ruler2.enableOnly(u.components[r].rules2)}),this};B.prototype.enable=function(u,e){let r=[];Array.isArray(u)||(u=[u]),["core","block","inline"].forEach(function(n){r=r.concat(this[n].ruler.enable(u,!0))},this),r=r.concat(this.inline.ruler2.enable(u,!0));const t=u.filter(function(n){return r.indexOf(n)<0});if(t.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+t);return this};B.prototype.disable=function(u,e){let r=[];Array.isArray(u)||(u=[u]),["core","block","inline"].forEach(function(n){r=r.concat(this[n].ruler.disable(u,!0))},this),r=r.concat(this.inline.ruler2.disable(u,!0));const t=u.filter(function(n){return r.indexOf(n)<0});if(t.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+t);return this};B.prototype.use=function(u){const e=[this].concat(Array.prototype.slice.call(arguments,1));return u.apply(u,e),this};B.prototype.parse=function(u,e){if(typeof u!="string")throw new Error("Input data should be a String");const r=new this.core.State(u,this,e);return this.core.process(r),r.tokens};B.prototype.render=function(u,e){return e=e||{},this.renderer.render(this.parse(u,e),this.options,e)};B.prototype.parseInline=function(u,e){const r=new this.core.State(u,this,e);return r.inlineMode=!0,this.core.process(r),r.tokens};B.prototype.renderInline=function(u,e){return e=e||{},this.renderer.render(this.parseInline(u,e),this.options,e)};export{B as M}; diff --git a/mineru/cli/static/web/assets/vendor-DSv9k51x.js b/mineru/cli/static/web/assets/vendor-DSv9k51x.js deleted file mode 100644 index 92ac2bc..0000000 --- a/mineru/cli/static/web/assets/vendor-DSv9k51x.js +++ /dev/null @@ -1,53 +0,0 @@ -/** -* @vue/shared v3.5.29 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function Wv(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ln={},Bs=[],Rt=()=>{},P0=()=>!1,Fc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),jv=e=>e.startsWith("onUpdate:"),Sn=Object.assign,Yv=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},_k=Object.prototype.hasOwnProperty,xt=(e,t)=>_k.call(e,t),ye=Array.isArray,Vs=e=>Pi(e)==="[object Map]",zc=e=>Pi(e)==="[object Set]",xa=e=>Pi(e)==="[object Date]",He=e=>typeof e=="function",Ve=e=>typeof e=="string",zl=e=>typeof e=="symbol",nt=e=>e!==null&&typeof e=="object",as=e=>(nt(e)||He(e))&&He(e.then)&&He(e.catch),R0=Object.prototype.toString,Pi=e=>R0.call(e),Fk=e=>Pi(e).slice(8,-1),ti=e=>Pi(e)==="[object Object]",Hc=e=>Ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_r=Wv(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Kc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},zk=/-\w/g,nl=Kc(e=>e.replace(zk,t=>t.slice(1).toUpperCase())),Hk=/\B([A-Z])/g,Zo=Kc(e=>e.replace(Hk,"-$1").toLowerCase()),Ri=Kc(e=>e.charAt(0).toUpperCase()+e.slice(1)),Fr=Kc(e=>e?`on${Ri(e)}`:""),Sa=(e,t)=>!Object.is(e,t),Du=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:l,value:n})},Uv=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Kk=e=>{const t=Ve(e)?Number(e):NaN;return isNaN(t)?e:t};let tm;const Wc=()=>tm||(tm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function je(e){if(ye(e)){const t={};for(let n=0;n{if(n){const l=n.split(jk);l.length>1&&(t[l[0].trim()]=l[1].trim())}}),t}function P(e){let t="";if(Ve(e))t=e;else if(ye(e))for(let n=0;nss(n,t))}const B0=e=>!!(e&&e.__v_isRef===!0),ke=e=>Ve(e)?e:e==null?"":ye(e)||nt(e)&&(e.toString===R0||!He(e.toString))?B0(e)?ke(e.value):JSON.stringify(e,V0,2):String(e),V0=(e,t)=>B0(t)?V0(e,t.value):Vs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[l,o],a)=>(n[Ld(l,a)+" =>"]=o,n),{})}:zc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ld(n))}:zl(t)?Ld(t):nt(t)&&!ye(t)&&!ti(t)?String(t):t,Ld=(e,t="")=>{var n;return zl(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.29 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Hn;class _0{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Hn,!t&&Hn&&(this.index=(Hn.scopes||(Hn.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(Hn=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,l;for(n=0,l=this.effects.length;n0)return;if(Hr){let t=Hr;for(Hr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;zr;){let t=zr;for(zr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(l){e||(e=l)}t=n}}if(e)throw e}function j0(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Y0(e){let t,n=e.depsTail,l=n;for(;l;){const o=l.prevDep;l.version===-1?(l===n&&(n=o),Xv(l),Jk(l)):t=l,l.dep.activeLink=l.prevActiveLink,l.prevActiveLink=void 0,l=o}e.deps=t,e.depsTail=n}function xf(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(U0(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function U0(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ni)||(e.globalVersion=ni,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xf(e))))return;e.flags|=2;const t=e.dep,n=sn,l=Bl;sn=e,Bl=!0;try{j0(e);const o=e.fn(e._value);(t.version===0||Sa(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{sn=n,Bl=l,Y0(e),e.flags&=-3}}function Xv(e,t=!1){const{dep:n,prevSub:l,nextSub:o}=e;if(l&&(l.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=l,e.nextSub=void 0),n.subs===e&&(n.subs=l,!l&&n.computed)){n.computed.flags&=-5;for(let a=n.computed.deps;a;a=a.nextDep)Xv(a,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Jk(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Bl=!0;const q0=[];function Ko(){q0.push(Bl),Bl=!1}function Wo(){const e=q0.pop();Bl=e===void 0?!0:e}function nm(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=sn;sn=void 0;try{t()}finally{sn=n}}}let ni=0;class Qk{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Zv{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!sn||!Bl||sn===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==sn)n=this.activeLink=new Qk(sn,this),sn.deps?(n.prevDep=sn.depsTail,sn.depsTail.nextDep=n,sn.depsTail=n):sn.deps=sn.depsTail=n,G0(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const l=n.nextDep;l.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=l),n.prevDep=sn.depsTail,n.nextDep=void 0,sn.depsTail.nextDep=n,sn.depsTail=n,sn.deps===n&&(sn.deps=l)}return n}trigger(t){this.version++,ni++,this.notify(t)}notify(t){qv();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Gv()}}}function G0(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let l=t.deps;l;l=l.nextDep)G0(l)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const lc=new WeakMap,es=Symbol(""),Tf=Symbol(""),li=Symbol("");function Wn(e,t,n){if(Bl&&sn){let l=lc.get(e);l||lc.set(e,l=new Map);let o=l.get(n);o||(l.set(n,o=new Zv),o.map=l,o.key=n),o.track()}}function Ao(e,t,n,l,o,a){const s=lc.get(e);if(!s){ni++;return}const r=u=>{u&&u.trigger()};if(qv(),t==="clear")s.forEach(r);else{const u=ye(e),c=u&&Hc(n);if(u&&n==="length"){const d=Number(l);s.forEach((f,h)=>{(h==="length"||h===li||!zl(h)&&h>=d)&&r(f)})}else switch((n!==void 0||s.has(void 0))&&r(s.get(n)),c&&r(s.get(li)),t){case"add":u?c&&r(s.get("length")):(r(s.get(es)),Vs(e)&&r(s.get(Tf)));break;case"delete":u||(r(s.get(es)),Vs(e)&&r(s.get(Tf)));break;case"set":Vs(e)&&r(s.get(es));break}}Gv()}function eE(e,t){const n=lc.get(e);return n&&n.get(t)}function ks(e){const t=Ht(e);return t===e?t:(Wn(t,"iterate",li),wl(e)?t:t.map(Hl))}function jc(e){return Wn(e=Ht(e),"iterate",li),e}function va(e,t){return jo(e)?qs(ts(e)?Hl(t):t):Hl(t)}const tE={__proto__:null,[Symbol.iterator](){return Bd(this,Symbol.iterator,e=>va(this,e))},concat(...e){return ks(this).concat(...e.map(t=>ye(t)?ks(t):t))},entries(){return Bd(this,"entries",e=>(e[1]=va(this,e[1]),e))},every(e,t){return No(this,"every",e,t,void 0,arguments)},filter(e,t){return No(this,"filter",e,t,n=>n.map(l=>va(this,l)),arguments)},find(e,t){return No(this,"find",e,t,n=>va(this,n),arguments)},findIndex(e,t){return No(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return No(this,"findLast",e,t,n=>va(this,n),arguments)},findLastIndex(e,t){return No(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return No(this,"forEach",e,t,void 0,arguments)},includes(...e){return Vd(this,"includes",e)},indexOf(...e){return Vd(this,"indexOf",e)},join(e){return ks(this).join(e)},lastIndexOf(...e){return Vd(this,"lastIndexOf",e)},map(e,t){return No(this,"map",e,t,void 0,arguments)},pop(){return Er(this,"pop")},push(...e){return Er(this,"push",e)},reduce(e,...t){return lm(this,"reduce",e,t)},reduceRight(e,...t){return lm(this,"reduceRight",e,t)},shift(){return Er(this,"shift")},some(e,t){return No(this,"some",e,t,void 0,arguments)},splice(...e){return Er(this,"splice",e)},toReversed(){return ks(this).toReversed()},toSorted(e){return ks(this).toSorted(e)},toSpliced(...e){return ks(this).toSpliced(...e)},unshift(...e){return Er(this,"unshift",e)},values(){return Bd(this,"values",e=>va(this,e))}};function Bd(e,t,n){const l=jc(e),o=l[t]();return l!==e&&!wl(e)&&(o._next=o.next,o.next=()=>{const a=o._next();return a.done||(a.value=n(a.value)),a}),o}const nE=Array.prototype;function No(e,t,n,l,o,a){const s=jc(e),r=s!==e&&!wl(e),u=s[t];if(u!==nE[t]){const f=u.apply(e,a);return r?Hl(f):f}let c=n;s!==e&&(r?c=function(f,h){return n.call(this,va(e,f),h,e)}:n.length>2&&(c=function(f,h){return n.call(this,f,h,e)}));const d=u.call(s,c,l);return r&&o?o(d):d}function lm(e,t,n,l){const o=jc(e);let a=n;return o!==e&&(wl(e)?n.length>3&&(a=function(s,r,u){return n.call(this,s,r,u,e)}):a=function(s,r,u){return n.call(this,s,va(e,r),u,e)}),o[t](a,...l)}function Vd(e,t,n){const l=Ht(e);Wn(l,"iterate",li);const o=l[t](...n);return(o===-1||o===!1)&&Yc(n[0])?(n[0]=Ht(n[0]),l[t](...n)):o}function Er(e,t,n=[]){Ko(),qv();const l=Ht(e)[t].apply(e,n);return Gv(),Wo(),l}const lE=Wv("__proto__,__v_isRef,__isVue"),X0=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zl));function oE(e){zl(e)||(e=String(e));const t=Ht(this);return Wn(t,"has",e),t.hasOwnProperty(e)}class Z0{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,l){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,a=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return a;if(n==="__v_raw")return l===(o?a?pE:ty:a?ey:Q0).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(l)?t:void 0;const s=ye(t);if(!o){let u;if(s&&(u=tE[n]))return u;if(n==="hasOwnProperty")return oE}const r=Reflect.get(t,n,jt(t)?t:l);if((zl(n)?X0.has(n):lE(n))||(o||Wn(t,"get",n),a))return r;if(jt(r)){const u=s&&Hc(n)?r:r.value;return o&&nt(u)?rs(u):u}return nt(r)?o?rs(r):Nt(r):r}}class J0 extends Z0{constructor(t=!1){super(!1,t)}set(t,n,l,o){let a=t[n];const s=ye(t)&&Hc(n);if(!this._isShallow){const c=jo(a);if(!wl(l)&&!jo(l)&&(a=Ht(a),l=Ht(l)),!s&&jt(a)&&!jt(l))return c||(a.value=l),!0}const r=s?Number(n)e,vu=e=>Reflect.getPrototypeOf(e);function uE(e,t,n){return function(...l){const o=this.__v_raw,a=Ht(o),s=Vs(a),r=e==="entries"||e===Symbol.iterator&&s,u=e==="keys"&&s,c=o[e](...l),d=n?$f:t?qs:Hl;return!t&&Wn(a,"iterate",u?Tf:es),Sn(Object.create(c),{next(){const{value:f,done:h}=c.next();return h?{value:f,done:h}:{value:r?[d(f[0]),d(f[1])]:d(f),done:h}}})}}function pu(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function cE(e,t){const n={get(o){const a=this.__v_raw,s=Ht(a),r=Ht(o);e||(Sa(o,r)&&Wn(s,"get",o),Wn(s,"get",r));const{has:u}=vu(s),c=t?$f:e?qs:Hl;if(u.call(s,o))return c(a.get(o));if(u.call(s,r))return c(a.get(r));a!==s&&a.get(o)},get size(){const o=this.__v_raw;return!e&&Wn(Ht(o),"iterate",es),o.size},has(o){const a=this.__v_raw,s=Ht(a),r=Ht(o);return e||(Sa(o,r)&&Wn(s,"has",o),Wn(s,"has",r)),o===r?a.has(o):a.has(o)||a.has(r)},forEach(o,a){const s=this,r=s.__v_raw,u=Ht(r),c=t?$f:e?qs:Hl;return!e&&Wn(u,"iterate",es),r.forEach((d,f)=>o.call(a,c(d),c(f),s))}};return Sn(n,e?{add:pu("add"),set:pu("set"),delete:pu("delete"),clear:pu("clear")}:{add(o){!t&&!wl(o)&&!jo(o)&&(o=Ht(o));const a=Ht(this);return vu(a).has.call(a,o)||(a.add(o),Ao(a,"add",o,o)),this},set(o,a){!t&&!wl(a)&&!jo(a)&&(a=Ht(a));const s=Ht(this),{has:r,get:u}=vu(s);let c=r.call(s,o);c||(o=Ht(o),c=r.call(s,o));const d=u.call(s,o);return s.set(o,a),c?Sa(a,d)&&Ao(s,"set",o,a):Ao(s,"add",o,a),this},delete(o){const a=Ht(this),{has:s,get:r}=vu(a);let u=s.call(a,o);u||(o=Ht(o),u=s.call(a,o)),r&&r.call(a,o);const c=a.delete(o);return u&&Ao(a,"delete",o,void 0),c},clear(){const o=Ht(this),a=o.size!==0,s=o.clear();return a&&Ao(o,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=uE(o,e,t)}),n}function Jv(e,t){const n=cE(e,t);return(l,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?l:Reflect.get(xt(n,o)&&o in l?n:l,o,a)}const dE={get:Jv(!1,!1)},fE={get:Jv(!1,!0)},vE={get:Jv(!0,!1)};const Q0=new WeakMap,ey=new WeakMap,ty=new WeakMap,pE=new WeakMap;function hE(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function mE(e){return e.__v_skip||!Object.isExtensible(e)?0:hE(Fk(e))}function Nt(e){return jo(e)?e:ep(e,!1,sE,dE,Q0)}function Qv(e){return ep(e,!1,iE,fE,ey)}function rs(e){return ep(e,!0,rE,vE,ty)}function ep(e,t,n,l,o){if(!nt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=mE(e);if(a===0)return e;const s=o.get(e);if(s)return s;const r=new Proxy(e,a===2?l:n);return o.set(e,r),r}function ts(e){return jo(e)?ts(e.__v_raw):!!(e&&e.__v_isReactive)}function jo(e){return!!(e&&e.__v_isReadonly)}function wl(e){return!!(e&&e.__v_isShallow)}function Yc(e){return e?!!e.__v_raw:!1}function Ht(e){const t=e&&e.__v_raw;return t?Ht(t):e}function uo(e){return!xt(e,"__v_skip")&&Object.isExtensible(e)&&A0(e,"__v_skip",!0),e}const Hl=e=>nt(e)?Nt(e):e,qs=e=>nt(e)?rs(e):e;function jt(e){return e?e.__v_isRef===!0:!1}function L(e){return ny(e,!1)}function Wt(e){return ny(e,!0)}function ny(e,t){return jt(e)?e:new gE(e,t)}class gE{constructor(t,n){this.dep=new Zv,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ht(t),this._value=n?t:Hl(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,l=this.__v_isShallow||wl(t)||jo(t);t=l?t:Ht(t),Sa(t,n)&&(this._rawValue=t,this._value=l?t:Hl(t),this.dep.trigger())}}function Bu(e){e.dep&&e.dep.trigger()}function i(e){return jt(e)?e.value:e}const bE={get:(e,t,n)=>t==="__v_raw"?e:i(Reflect.get(e,t,n)),set:(e,t,n,l)=>{const o=e[t];return jt(o)&&!jt(n)?(o.value=n,!0):Reflect.set(e,t,n,l)}};function ly(e){return ts(e)?e:new Proxy(e,bE)}function kn(e){const t=ye(e)?new Array(e.length):{};for(const n in e)t[n]=oy(e,n);return t}class yE{constructor(t,n,l){this._object=t,this._key=n,this._defaultValue=l,this.__v_isRef=!0,this._value=void 0,this._raw=Ht(t);let o=!0,a=t;if(!ye(t)||!Hc(String(n)))do o=!Yc(a)||wl(a);while(o&&(a=a.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=i(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&jt(this._raw[this._key])){const n=this._object[this._key];if(jt(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return eE(this._raw,this._key)}}class wE{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Lt(e,t,n){return jt(e)?e:He(e)?new wE(e):nt(e)&&arguments.length>1?oy(e,t,n):L(e)}function oy(e,t,n){return new yE(e,t,n)}class CE{constructor(t,n,l){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Zv(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ni-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=l}notify(){if(this.flags|=16,!(this.flags&8)&&sn!==this)return W0(this,!0),!0}get value(){const t=this.dep.track();return U0(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function SE(e,t,n=!1){let l,o;return He(e)?l=e:(l=e.get,o=e.set),new CE(l,o,n)}const hu={},oc=new WeakMap;let za;function kE(e,t=!1,n=za){if(n){let l=oc.get(n);l||oc.set(n,l=[]),l.push(e)}}function EE(e,t,n=ln){const{immediate:l,deep:o,once:a,scheduler:s,augmentJob:r,call:u}=n,c=y=>o?y:wl(y)||o===!1||o===0?Lo(y,1):Lo(y);let d,f,h,m,v=!1,p=!1;if(jt(e)?(f=()=>e.value,v=wl(e)):ts(e)?(f=()=>c(e),v=!0):ye(e)?(p=!0,v=e.some(y=>ts(y)||wl(y)),f=()=>e.map(y=>{if(jt(y))return y.value;if(ts(y))return c(y);if(He(y))return u?u(y,2):y()})):He(e)?t?f=u?()=>u(e,2):e:f=()=>{if(h){Ko();try{h()}finally{Wo()}}const y=za;za=d;try{return u?u(e,3,[m]):e(m)}finally{za=y}}:f=Rt,t&&o){const y=f,k=o===!0?1/0:o;f=()=>Lo(y(),k)}const g=F0(),b=()=>{d.stop(),g&&g.active&&Yv(g.effects,d)};if(a&&t){const y=t;t=(...k)=>{y(...k),b()}}let C=p?new Array(e.length).fill(hu):hu;const w=y=>{if(!(!(d.flags&1)||!d.dirty&&!y))if(t){const k=d.run();if(o||v||(p?k.some((E,x)=>Sa(E,C[x])):Sa(k,C))){h&&h();const E=za;za=d;try{const x=[k,C===hu?void 0:p&&C[0]===hu?[]:C,m];C=k,u?u(t,3,x):t(...x)}finally{za=E}}}else d.run()};return r&&r(w),d=new H0(f),d.scheduler=s?()=>s(w,!1):w,m=y=>kE(y,!1,d),h=d.onStop=()=>{const y=oc.get(d);if(y){if(u)u(y,4);else for(const k of y)k();oc.delete(d)}},t?l?w(!0):C=d.run():s?s(w.bind(null,!0),!0):d.run(),b.pause=d.pause.bind(d),b.resume=d.resume.bind(d),b.stop=b,b}function Lo(e,t=1/0,n){if(t<=0||!nt(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,jt(e))Lo(e.value,t,n);else if(ye(e))for(let l=0;l{Lo(l,t,n)});else if(ti(e)){for(const l in e)Lo(e[l],t,n);for(const l of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,l)&&Lo(e[l],t,n)}return e}/** -* @vue/runtime-core v3.5.29 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function Ai(e,t,n,l){try{return l?e(...l):e()}catch(o){Uc(o,t,n)}}function Kl(e,t,n,l){if(He(e)){const o=Ai(e,t,n,l);return o&&as(o)&&o.catch(a=>{Uc(a,t,n)}),o}if(ye(e)){const o=[];for(let a=0;a>>1,o=el[l],a=oi(o);a=oi(n)?el.push(e):el.splice(TE(t),0,e),e.flags|=1,sy()}}function sy(){ac||(ac=ay.then(iy))}function $E(e){ye(e)?_s.push(...e):pa&&e.id===-1?pa.splice(Is+1,0,e):e.flags&1||(_s.push(e),e.flags|=1),sy()}function om(e,t,n=ao+1){for(;noi(n)-oi(l));if(_s.length=0,pa){pa.push(...t);return}for(pa=t,Is=0;Ise.id==null?e.flags&2?-1:1/0:e.id;function iy(e){try{for(ao=0;ao{l._d&&uc(-1);const a=sc(t);let s;try{s=e(...o)}finally{sc(a),l._d&&uc(1)}return s};return l._n=!0,l._c=!0,l._d=!0,l}function it(e,t){if(Ln===null)return e;const n=Jc(Ln),l=e.dirs||(e.dirs=[]);for(let o=0;o1)return n&&He(t)?t.call(l&&l.proxy):t}}const OE=Symbol.for("v-scx"),NE=()=>Le(OE);function vl(e,t){return np(e,null,t)}function ue(e,t,n){return np(e,t,n)}function np(e,t,n=ln){const{immediate:l,deep:o,flush:a,once:s}=n,r=Sn({},n),u=t&&l||!t&&a!=="post";let c;if(ri){if(a==="sync"){const m=NE();c=m.__watcherHandles||(m.__watcherHandles=[])}else if(!u){const m=()=>{};return m.stop=Rt,m.resume=Rt,m.pause=Rt,m}}const d=jn;r.call=(m,v,p)=>Kl(m,d,v,p);let f=!1;a==="post"?r.scheduler=m=>{Fn(m,d&&d.suspense)}:a!=="sync"&&(f=!0,r.scheduler=(m,v)=>{v?m():tp(m)}),r.augmentJob=m=>{t&&(m.flags|=4),f&&(m.flags|=2,d&&(m.id=d.uid,m.i=d))};const h=EE(e,t,r);return ri&&(c?c.push(h):u&&h()),h}function IE(e,t,n){const l=this.proxy,o=Ve(e)?e.includes(".")?cy(l,e):()=>l[e]:e.bind(l,l);let a;He(t)?a=t:(a=t.handler,n=t);const s=Di(this),r=np(o,a.bind(l),n);return s(),r}function cy(e,t){const n=t.split(".");return()=>{let l=e;for(let o=0;oe.__isTeleport,Kr=e=>e&&(e.disabled||e.disabled===""),am=e=>e&&(e.defer||e.defer===""),sm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,rm=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Of=(e,t)=>{const n=e&&e.to;return Ve(n)?t?t(n):null:n},vy={name:"Teleport",__isTeleport:!0,process(e,t,n,l,o,a,s,r,u,c){const{mc:d,pc:f,pbc:h,o:{insert:m,querySelector:v,createText:p,createComment:g}}=c,b=Kr(t.props);let{shapeFlag:C,children:w,dynamicChildren:y}=t;if(e==null){const k=t.el=p(""),E=t.anchor=p("");m(k,n,l),m(E,n,l);const x=(R,I)=>{C&16&&d(w,R,I,o,a,s,r,u)},$=()=>{const R=t.target=Of(t.props,v),I=Nf(R,t,p,m);R&&(s!=="svg"&&sm(R)?s="svg":s!=="mathml"&&rm(R)&&(s="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(R),b||(x(R,I),Vu(t,!1)))};b&&(x(n,E),Vu(t,!0)),am(t.props)?(t.el.__isMounted=!1,Fn(()=>{$(),delete t.el.__isMounted},a)):$()}else{if(am(t.props)&&e.el.__isMounted===!1){Fn(()=>{vy.process(e,t,n,l,o,a,s,r,u,c)},a);return}t.el=e.el,t.targetStart=e.targetStart;const k=t.anchor=e.anchor,E=t.target=e.target,x=t.targetAnchor=e.targetAnchor,$=Kr(e.props),R=$?n:E,I=$?k:x;if(s==="svg"||sm(E)?s="svg":(s==="mathml"||rm(E))&&(s="mathml"),y?(h(e.dynamicChildren,y,R,o,a,s,r),dp(e,t,!0)):u||f(e,t,R,I,o,a,s,r,!1),b)$?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):mu(t,n,k,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const A=t.target=Of(t.props,v);A&&mu(t,A,null,c,0)}else $&&mu(t,E,x,c,1);Vu(t,b)}},remove(e,t,n,{um:l,o:{remove:o}},a){const{shapeFlag:s,children:r,anchor:u,targetStart:c,targetAnchor:d,target:f,props:h}=e;if(f&&(o(c),o(d)),a&&o(u),s&16){const m=a||!Kr(h);for(let v=0;v{e.isMounted=!0}),Pt(()=>{e.isUnmounting=!0}),e}const xl=[Function,Array],hy={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xl,onEnter:xl,onAfterEnter:xl,onEnterCancelled:xl,onBeforeLeave:xl,onLeave:xl,onAfterLeave:xl,onLeaveCancelled:xl,onBeforeAppear:xl,onAppear:xl,onAfterAppear:xl,onAppearCancelled:xl},my=e=>{const t=e.subTree;return t.component?my(t.component):t},RE={name:"BaseTransition",props:hy,setup(e,{slots:t}){const n=ct(),l=py();return()=>{const o=t.default&&lp(t.default(),!0);if(!o||!o.length)return;const a=gy(o),s=Ht(e),{mode:r}=s;if(l.isLeaving)return _d(a);const u=im(a);if(!u)return _d(a);let c=ai(u,s,l,n,f=>c=f);u.type!==cn&&is(u,c);let d=n.subTree&&im(n.subTree);if(d&&d.type!==cn&&!Ka(d,u)&&my(n).type!==cn){let f=ai(d,s,l,n);if(is(d,f),r==="out-in"&&u.type!==cn)return l.isLeaving=!0,f.afterLeave=()=>{l.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,d=void 0},_d(a);r==="in-out"&&u.type!==cn?f.delayLeave=(h,m,v)=>{const p=by(l,d);p[String(d.key)]=d,h[so]=()=>{m(),h[so]=void 0,delete c.delayedLeave,d=void 0},c.delayedLeave=()=>{v(),delete c.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return a}}};function gy(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==cn){t=n;break}}return t}const AE=RE;function by(e,t){const{leavingVNodes:n}=e;let l=n.get(t.type);return l||(l=Object.create(null),n.set(t.type,l)),l}function ai(e,t,n,l,o){const{appear:a,mode:s,persisted:r=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:d,onEnterCancelled:f,onBeforeLeave:h,onLeave:m,onAfterLeave:v,onLeaveCancelled:p,onBeforeAppear:g,onAppear:b,onAfterAppear:C,onAppearCancelled:w}=t,y=String(e.key),k=by(n,e),E=(R,I)=>{R&&Kl(R,l,9,I)},x=(R,I)=>{const A=I[1];E(R,I),ye(R)?R.every(O=>O.length<=1)&&A():R.length<=1&&A()},$={mode:s,persisted:r,beforeEnter(R){let I=u;if(!n.isMounted)if(a)I=g||u;else return;R[so]&&R[so](!0);const A=k[y];A&&Ka(e,A)&&A.el[so]&&A.el[so](),E(I,[R])},enter(R){if(k[y]===e)return;let I=c,A=d,O=f;if(!n.isMounted)if(a)I=b||c,A=C||d,O=w||f;else return;let D=!1;R[xr]=Z=>{D||(D=!0,Z?E(O,[R]):E(A,[R]),$.delayedLeave&&$.delayedLeave(),R[xr]=void 0)};const K=R[xr].bind(null,!1);I?x(I,[R,K]):K()},leave(R,I){const A=String(e.key);if(R[xr]&&R[xr](!0),n.isUnmounting)return I();E(h,[R]);let O=!1;R[so]=K=>{O||(O=!0,I(),K?E(p,[R]):E(v,[R]),R[so]=void 0,k[A]===e&&delete k[A])};const D=R[so].bind(null,!1);k[A]=e,m?x(m,[R,D]):D()},clone(R){const I=ai(R,t,n,l,o);return o&&o(I),I}};return $}function _d(e){if(qc(e))return e=mo(e),e.children=null,e}function im(e){if(!qc(e))return fy(e.type)&&e.children?gy(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&He(n.default))return n.default()}}function is(e,t){e.shapeFlag&6&&e.component?(e.transition=t,is(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function lp(e,t=!1,n){let l=[],o=0;for(let a=0;a1)for(let a=0;aWr(p,t&&(ye(t)?t[g]:t),n,l,o));return}if(Fs(l)&&!o){l.shapeFlag&512&&l.type.__asyncResolved&&l.component.subTree.component&&Wr(e,t,n,l.component.subTree);return}const a=l.shapeFlag&4?Jc(l.component):l.el,s=o?null:a,{i:r,r:u}=e,c=t&&t.r,d=r.refs===ln?r.refs={}:r.refs,f=r.setupState,h=Ht(f),m=f===ln?P0:p=>um(d,p)?!1:xt(h,p),v=(p,g)=>!(g&&um(d,g));if(c!=null&&c!==u){if(cm(t),Ve(c))d[c]=null,m(c)&&(f[c]=null);else if(jt(c)){const p=t;v(c,p.k)&&(c.value=null),p.k&&(d[p.k]=null)}}if(He(u))Ai(u,r,12,[s,d]);else{const p=Ve(u),g=jt(u);if(p||g){const b=()=>{if(e.f){const C=p?m(u)?f[u]:d[u]:v()||!e.k?u.value:d[e.k];if(o)ye(C)&&Yv(C,a);else if(ye(C))C.includes(a)||C.push(a);else if(p)d[u]=[a],m(u)&&(f[u]=d[u]);else{const w=[a];v(u,e.k)&&(u.value=w),e.k&&(d[e.k]=w)}}else p?(d[u]=s,m(u)&&(f[u]=s)):g&&(v(u,e.k)&&(u.value=s),e.k&&(d[e.k]=s))};if(s){const C=()=>{b(),rc.delete(e)};C.id=-1,rc.set(e,C),Fn(C,n)}else cm(e),b()}}}function cm(e){const t=rc.get(e);t&&(t.flags|=8,rc.delete(e))}Wc().requestIdleCallback;Wc().cancelIdleCallback;const Fs=e=>!!e.type.__asyncLoader,qc=e=>e.type.__isKeepAlive;function Li(e,t){wy(e,"a",t)}function op(e,t){wy(e,"da",t)}function wy(e,t,n=jn){const l=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Gc(t,l,n),n){let o=n.parent;for(;o&&o.parent;)qc(o.parent.vnode)&&LE(l,t,n,o),o=o.parent}}function LE(e,t,n,l){const o=Gc(t,e,l,!0);fr(()=>{Yv(l[t],o)},n)}function Gc(e,t,n=jn,l=!1){if(n){const o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...s)=>{Ko();const r=Di(n),u=Kl(t,n,e,s);return r(),Wo(),u});return l?o.unshift(a):o.push(a),a}}const Jo=e=>(t,n=jn)=>{(!ri||e==="sp")&&Gc(e,(...l)=>t(...l),n)},Xc=Jo("bm"),ft=Jo("m"),ap=Jo("bu"),Gl=Jo("u"),Pt=Jo("bum"),fr=Jo("um"),DE=Jo("sp"),BE=Jo("rtg"),VE=Jo("rtc");function _E(e,t=jn){Gc("ec",e,t)}const sp="components",FE="directives";function Tt(e,t){return ip(sp,e,!0,t)||e}const Cy=Symbol.for("v-ndc");function rt(e){return Ve(e)?ip(sp,e,!1)||e:e||Cy}function rp(e){return ip(FE,e)}function ip(e,t,n=!0,l=!1){const o=Ln||jn;if(o){const a=o.type;if(e===sp){const r=Sx(a,!1);if(r&&(r===t||r===nl(t)||r===Ri(nl(t))))return a}const s=dm(o[e]||a[e],t)||dm(o.appContext[e],t);return!s&&l?a:s}}function dm(e,t){return e&&(e[t]||e[nl(t)]||e[Ri(nl(t))])}function gt(e,t,n,l){let o;const a=n,s=ye(e);if(s||Ve(e)){const r=s&&ts(e);let u=!1,c=!1;r&&(u=!wl(e),c=jo(e),e=jc(e)),o=new Array(e.length);for(let d=0,f=e.length;dt(r,u,void 0,a));else{const r=Object.keys(e);o=new Array(r.length);for(let u=0,c=r.length;u{const a=l.fn(...o);return a&&(a.key=l.key),a}:l.fn)}return e}function te(e,t,n={},l,o){if(Ln.ce||Ln.parent&&Fs(Ln.parent)&&Ln.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),T(),le(ze,null,[q("slot",n,l&&l())],c?-2:64)}let a=e[t];a&&a._c&&(a._d=!1),T();const s=a&&Sy(a(n)),r=n.key||s&&s.key,u=le(ze,{key:(r&&!zl(r)?r:`_${t}`)+(!s&&l?"_fb":"")},s||(l?l():[]),s&&e._===1?64:-2);return u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),a&&a._c&&(a._d=!0),u}function Sy(e){return e.some(t=>zt(t)?!(t.type===cn||t.type===ze&&!Sy(t.children)):!0)?e:null}function zE(e,t){const n={};for(const l in e)n[Fr(l)]=e[l];return n}const If=e=>e?Hy(e)?Jc(e):If(e.parent):null,jr=Sn(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>If(e.parent),$root:e=>If(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>xy(e),$forceUpdate:e=>e.f||(e.f=()=>{tp(e.update)}),$nextTick:e=>e.n||(e.n=Re.bind(e.proxy)),$watch:e=>IE.bind(e)}),Fd=(e,t)=>e!==ln&&!e.__isScriptSetup&&xt(e,t),HE={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:l,data:o,props:a,accessCache:s,type:r,appContext:u}=e;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return l[t];case 2:return o[t];case 4:return n[t];case 3:return a[t]}else{if(Fd(l,t))return s[t]=1,l[t];if(o!==ln&&xt(o,t))return s[t]=2,o[t];if(xt(a,t))return s[t]=3,a[t];if(n!==ln&&xt(n,t))return s[t]=4,n[t];Mf&&(s[t]=0)}}const c=jr[t];let d,f;if(c)return t==="$attrs"&&Wn(e.attrs,"get",""),c(e);if((d=r.__cssModules)&&(d=d[t]))return d;if(n!==ln&&xt(n,t))return s[t]=4,n[t];if(f=u.config.globalProperties,xt(f,t))return f[t]},set({_:e},t,n){const{data:l,setupState:o,ctx:a}=e;return Fd(o,t)?(o[t]=n,!0):l!==ln&&xt(l,t)?(l[t]=n,!0):xt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:l,appContext:o,props:a,type:s}},r){let u;return!!(n[r]||e!==ln&&r[0]!=="$"&&xt(e,r)||Fd(t,r)||xt(a,r)||xt(l,r)||xt(jr,r)||xt(o.config.globalProperties,r)||(u=s.__cssModules)&&u[r])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:xt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function rn(){return ky().slots}function Qo(){return ky().attrs}function ky(e){const t=ct();return t.setupContext||(t.setupContext=Wy(t))}function fm(e){return ye(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Mf=!0;function KE(e){const t=xy(e),n=e.proxy,l=e.ctx;Mf=!1,t.beforeCreate&&vm(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:s,watch:r,provide:u,inject:c,created:d,beforeMount:f,mounted:h,beforeUpdate:m,updated:v,activated:p,deactivated:g,beforeDestroy:b,beforeUnmount:C,destroyed:w,unmounted:y,render:k,renderTracked:E,renderTriggered:x,errorCaptured:$,serverPrefetch:R,expose:I,inheritAttrs:A,components:O,directives:D,filters:K}=t;if(c&&WE(c,l,null),s)for(const M in s){const N=s[M];He(N)&&(l[M]=N.bind(n))}if(o){const M=o.call(n,n);nt(M)&&(e.data=Nt(M))}if(Mf=!0,a)for(const M in a){const N=a[M],B=He(N)?N.bind(n,n):He(N.get)?N.get.bind(n,n):Rt,V=!He(N)&&He(N.set)?N.set.bind(n):Rt,z=S({get:B,set:V});Object.defineProperty(l,M,{enumerable:!0,configurable:!0,get:()=>z.value,set:Y=>z.value=Y})}if(r)for(const M in r)Ey(r[M],l,n,M);if(u){const M=He(u)?u.call(n):u;Reflect.ownKeys(M).forEach(N=>{yt(N,M[N])})}d&&vm(d,e,"c");function W(M,N){ye(N)?N.forEach(B=>M(B.bind(n))):N&&M(N.bind(n))}if(W(Xc,f),W(ft,h),W(ap,m),W(Gl,v),W(Li,p),W(op,g),W(_E,$),W(VE,E),W(BE,x),W(Pt,C),W(fr,y),W(DE,R),ye(I))if(I.length){const M=e.exposed||(e.exposed={});I.forEach(N=>{Object.defineProperty(M,N,{get:()=>n[N],set:B=>n[N]=B,enumerable:!0})})}else e.exposed||(e.exposed={});k&&e.render===Rt&&(e.render=k),A!=null&&(e.inheritAttrs=A),O&&(e.components=O),D&&(e.directives=D),R&&yy(e)}function WE(e,t,n=Rt){ye(e)&&(e=Pf(e));for(const l in e){const o=e[l];let a;nt(o)?"default"in o?a=Le(o.from||l,o.default,!0):a=Le(o.from||l):a=Le(o),jt(a)?Object.defineProperty(t,l,{enumerable:!0,configurable:!0,get:()=>a.value,set:s=>a.value=s}):t[l]=a}}function vm(e,t,n){Kl(ye(e)?e.map(l=>l.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ey(e,t,n,l){let o=l.includes(".")?cy(n,l):()=>n[l];if(Ve(e)){const a=t[e];He(a)&&ue(o,a)}else if(He(e))ue(o,e.bind(n));else if(nt(e))if(ye(e))e.forEach(a=>Ey(a,t,n,l));else{const a=He(e.handler)?e.handler.bind(n):t[e.handler];He(a)&&ue(o,a,e)}}function xy(e){const t=e.type,{mixins:n,extends:l}=t,{mixins:o,optionsCache:a,config:{optionMergeStrategies:s}}=e.appContext,r=a.get(t);let u;return r?u=r:!o.length&&!n&&!l?u=t:(u={},o.length&&o.forEach(c=>ic(u,c,s,!0)),ic(u,t,s)),nt(t)&&a.set(t,u),u}function ic(e,t,n,l=!1){const{mixins:o,extends:a}=t;a&&ic(e,a,n,!0),o&&o.forEach(s=>ic(e,s,n,!0));for(const s in t)if(!(l&&s==="expose")){const r=jE[s]||n&&n[s];e[s]=r?r(e[s],t[s]):t[s]}return e}const jE={data:pm,props:hm,emits:hm,methods:Ar,computed:Ar,beforeCreate:Qn,created:Qn,beforeMount:Qn,mounted:Qn,beforeUpdate:Qn,updated:Qn,beforeDestroy:Qn,beforeUnmount:Qn,destroyed:Qn,unmounted:Qn,activated:Qn,deactivated:Qn,errorCaptured:Qn,serverPrefetch:Qn,components:Ar,directives:Ar,watch:UE,provide:pm,inject:YE};function pm(e,t){return t?e?function(){return Sn(He(e)?e.call(this,this):e,He(t)?t.call(this,this):t)}:t:e}function YE(e,t){return Ar(Pf(e),Pf(t))}function Pf(e){if(ye(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${nl(t)}Modifiers`]||e[`${Zo(t)}Modifiers`];function ZE(e,t,...n){if(e.isUnmounted)return;const l=e.vnode.props||ln;let o=n;const a=t.startsWith("update:"),s=a&&XE(l,t.slice(7));s&&(s.trim&&(o=n.map(d=>Ve(d)?d.trim():d)),s.number&&(o=n.map(Uv)));let r,u=l[r=Fr(t)]||l[r=Fr(nl(t))];!u&&a&&(u=l[r=Fr(Zo(t))]),u&&Kl(u,e,6,o);const c=l[r+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,Kl(c,e,6,o)}}const JE=new WeakMap;function $y(e,t,n=!1){const l=n?JE:t.emitsCache,o=l.get(e);if(o!==void 0)return o;const a=e.emits;let s={},r=!1;if(!He(e)){const u=c=>{const d=$y(c,t,!0);d&&(r=!0,Sn(s,d))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!a&&!r?(nt(e)&&l.set(e,null),null):(ye(a)?a.forEach(u=>s[u]=null):Sn(s,a),nt(e)&&l.set(e,s),s)}function Zc(e,t){return!e||!Fc(t)?!1:(t=t.slice(2).replace(/Once$/,""),xt(e,t[0].toLowerCase()+t.slice(1))||xt(e,Zo(t))||xt(e,t))}function mm(e){const{type:t,vnode:n,proxy:l,withProxy:o,propsOptions:[a],slots:s,attrs:r,emit:u,render:c,renderCache:d,props:f,data:h,setupState:m,ctx:v,inheritAttrs:p}=e,g=sc(e);let b,C;try{if(n.shapeFlag&4){const y=o||l,k=y;b=ro(c.call(k,y,d,f,m,h,v)),C=r}else{const y=t;b=ro(y.length>1?y(f,{attrs:r,slots:s,emit:u}):y(f,null)),C=t.props?r:QE(r)}}catch(y){Yr.length=0,Uc(y,e,1),b=q(cn)}let w=b;if(C&&p!==!1){const y=Object.keys(C),{shapeFlag:k}=w;y.length&&k&7&&(a&&y.some(jv)&&(C=ex(C,a)),w=mo(w,C,!1,!0))}return n.dirs&&(w=mo(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&is(w,n.transition),b=w,sc(g),b}const QE=e=>{let t;for(const n in e)(n==="class"||n==="style"||Fc(n))&&((t||(t={}))[n]=e[n]);return t},ex=(e,t)=>{const n={};for(const l in e)(!jv(l)||!(l.slice(9)in t))&&(n[l]=e[l]);return n};function tx(e,t,n){const{props:l,children:o,component:a}=e,{props:s,children:r,patchFlag:u}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return l?gm(l,s,c):!!s;if(u&8){const d=t.dynamicProps;for(let f=0;fObject.create(Ny),My=e=>Object.getPrototypeOf(e)===Ny;function lx(e,t,n,l=!1){const o={},a=Iy();e.propsDefaults=Object.create(null),Py(e,t,o,a);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=l?o:Qv(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function ox(e,t,n,l){const{props:o,attrs:a,vnode:{patchFlag:s}}=e,r=Ht(o),[u]=e.propsOptions;let c=!1;if((l||s>0)&&!(s&16)){if(s&8){const d=e.vnode.dynamicProps;for(let f=0;f{u=!0;const[h,m]=Ry(f,t,!0);Sn(s,h),m&&r.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!a&&!u)return nt(e)&&l.set(e,Bs),Bs;if(ye(a))for(let d=0;de==="_"||e==="_ctx"||e==="$stable",cp=e=>ye(e)?e.map(ro):[ro(e)],sx=(e,t,n)=>{if(t._n)return t;const l=ee((...o)=>cp(t(...o)),n);return l._c=!1,l},Ay=(e,t,n)=>{const l=e._ctx;for(const o in e){if(up(o))continue;const a=e[o];if(He(a))t[o]=sx(o,a,l);else if(a!=null){const s=cp(a);t[o]=()=>s}}},Ly=(e,t)=>{const n=cp(t);e.slots.default=()=>n},Dy=(e,t,n)=>{for(const l in t)(n||!up(l))&&(e[l]=t[l])},rx=(e,t,n)=>{const l=e.slots=Iy();if(e.vnode.shapeFlag&32){const o=t._;o?(Dy(l,t,n),n&&A0(l,"_",o,!0)):Ay(t,l)}else t&&Ly(e,t)},ix=(e,t,n)=>{const{vnode:l,slots:o}=e;let a=!0,s=ln;if(l.shapeFlag&32){const r=t._;r?n&&r===1?a=!1:Dy(o,t,n):(a=!t.$stable,Ay(t,o)),s=t}else t&&(Ly(e,t),s={default:1});if(a)for(const r in o)!up(r)&&s[r]==null&&delete o[r]},Fn=vx;function ux(e){return cx(e)}function cx(e,t){const n=Wc();n.__VUE__=!0;const{insert:l,remove:o,patchProp:a,createElement:s,createText:r,createComment:u,setText:c,setElementText:d,parentNode:f,nextSibling:h,setScopeId:m=Rt,insertStaticContent:v}=e,p=(_,Q,ie,he=null,pe=null,be=null,$e=void 0,Me=null,Ne=!!Q.dynamicChildren)=>{if(_===Q)return;_&&!Ka(_,Q)&&(he=re(_),Y(_,pe,be,!0),_=null),Q.patchFlag===-2&&(Ne=!1,Q.dynamicChildren=null);const{type:ge,ref:Te,shapeFlag:we}=Q;switch(ge){case vr:g(_,Q,ie,he);break;case cn:b(_,Q,ie,he);break;case Hd:_==null&&C(Q,ie,he,$e);break;case ze:O(_,Q,ie,he,pe,be,$e,Me,Ne);break;default:we&1?k(_,Q,ie,he,pe,be,$e,Me,Ne):we&6?D(_,Q,ie,he,pe,be,$e,Me,Ne):(we&64||we&128)&&ge.process(_,Q,ie,he,pe,be,$e,Me,Ne,oe)}Te!=null&&pe?Wr(Te,_&&_.ref,be,Q||_,!Q):Te==null&&_&&_.ref!=null&&Wr(_.ref,null,be,_,!0)},g=(_,Q,ie,he)=>{if(_==null)l(Q.el=r(Q.children),ie,he);else{const pe=Q.el=_.el;Q.children!==_.children&&c(pe,Q.children)}},b=(_,Q,ie,he)=>{_==null?l(Q.el=u(Q.children||""),ie,he):Q.el=_.el},C=(_,Q,ie,he)=>{[_.el,_.anchor]=v(_.children,Q,ie,he,_.el,_.anchor)},w=({el:_,anchor:Q},ie,he)=>{let pe;for(;_&&_!==Q;)pe=h(_),l(_,ie,he),_=pe;l(Q,ie,he)},y=({el:_,anchor:Q})=>{let ie;for(;_&&_!==Q;)ie=h(_),o(_),_=ie;o(Q)},k=(_,Q,ie,he,pe,be,$e,Me,Ne)=>{if(Q.type==="svg"?$e="svg":Q.type==="math"&&($e="mathml"),_==null)E(Q,ie,he,pe,be,$e,Me,Ne);else{const ge=_.el&&_.el._isVueCE?_.el:null;try{ge&&ge._beginPatch(),R(_,Q,pe,be,$e,Me,Ne)}finally{ge&&ge._endPatch()}}},E=(_,Q,ie,he,pe,be,$e,Me)=>{let Ne,ge;const{props:Te,shapeFlag:we,transition:Pe,dirs:Fe}=_;if(Ne=_.el=s(_.type,be,Te&&Te.is,Te),we&8?d(Ne,_.children):we&16&&$(_.children,Ne,null,he,pe,zd(_,be),$e,Me),Fe&&Da(_,null,he,"created"),x(Ne,_,_.scopeId,$e,he),Te){for(const Oe in Te)Oe!=="value"&&!_r(Oe)&&a(Ne,Oe,null,Te[Oe],be,he);"value"in Te&&a(Ne,"value",null,Te.value,be),(ge=Te.onVnodeBeforeMount)&&no(ge,he,_)}Fe&&Da(_,null,he,"beforeMount");const Ze=dx(pe,Pe);Ze&&Pe.beforeEnter(Ne),l(Ne,Q,ie),((ge=Te&&Te.onVnodeMounted)||Ze||Fe)&&Fn(()=>{ge&&no(ge,he,_),Ze&&Pe.enter(Ne),Fe&&Da(_,null,he,"mounted")},pe)},x=(_,Q,ie,he,pe)=>{if(ie&&m(_,ie),he)for(let be=0;be{for(let ge=Ne;ge<_.length;ge++){const Te=_[ge]=Me?Po(_[ge]):ro(_[ge]);p(null,Te,Q,ie,he,pe,be,$e,Me)}},R=(_,Q,ie,he,pe,be,$e)=>{const Me=Q.el=_.el;let{patchFlag:Ne,dynamicChildren:ge,dirs:Te}=Q;Ne|=_.patchFlag&16;const we=_.props||ln,Pe=Q.props||ln;let Fe;if(ie&&Ba(ie,!1),(Fe=Pe.onVnodeBeforeUpdate)&&no(Fe,ie,Q,_),Te&&Da(Q,_,ie,"beforeUpdate"),ie&&Ba(ie,!0),(we.innerHTML&&Pe.innerHTML==null||we.textContent&&Pe.textContent==null)&&d(Me,""),ge?I(_.dynamicChildren,ge,Me,ie,he,zd(Q,pe),be):$e||N(_,Q,Me,null,ie,he,zd(Q,pe),be,!1),Ne>0){if(Ne&16)A(Me,we,Pe,ie,pe);else if(Ne&2&&we.class!==Pe.class&&a(Me,"class",null,Pe.class,pe),Ne&4&&a(Me,"style",we.style,Pe.style,pe),Ne&8){const Ze=Q.dynamicProps;for(let Oe=0;Oe{Fe&&no(Fe,ie,Q,_),Te&&Da(Q,_,ie,"updated")},he)},I=(_,Q,ie,he,pe,be,$e)=>{for(let Me=0;Me{if(Q!==ie){if(Q!==ln)for(const be in Q)!_r(be)&&!(be in ie)&&a(_,be,Q[be],null,pe,he);for(const be in ie){if(_r(be))continue;const $e=ie[be],Me=Q[be];$e!==Me&&be!=="value"&&a(_,be,Me,$e,pe,he)}"value"in ie&&a(_,"value",Q.value,ie.value,pe)}},O=(_,Q,ie,he,pe,be,$e,Me,Ne)=>{const ge=Q.el=_?_.el:r(""),Te=Q.anchor=_?_.anchor:r("");let{patchFlag:we,dynamicChildren:Pe,slotScopeIds:Fe}=Q;Fe&&(Me=Me?Me.concat(Fe):Fe),_==null?(l(ge,ie,he),l(Te,ie,he),$(Q.children||[],ie,Te,pe,be,$e,Me,Ne)):we>0&&we&64&&Pe&&_.dynamicChildren&&_.dynamicChildren.length===Pe.length?(I(_.dynamicChildren,Pe,ie,pe,be,$e,Me),(Q.key!=null||pe&&Q===pe.subTree)&&dp(_,Q,!0)):N(_,Q,ie,Te,pe,be,$e,Me,Ne)},D=(_,Q,ie,he,pe,be,$e,Me,Ne)=>{Q.slotScopeIds=Me,_==null?Q.shapeFlag&512?pe.ctx.activate(Q,ie,he,$e,Ne):K(Q,ie,he,pe,be,$e,Ne):Z(_,Q,Ne)},K=(_,Q,ie,he,pe,be,$e)=>{const Me=_.component=bx(_,he,pe);if(qc(_)&&(Me.ctx.renderer=oe),yx(Me,!1,$e),Me.asyncDep){if(pe&&pe.registerDep(Me,W,$e),!_.el){const Ne=Me.subTree=q(cn);b(null,Ne,Q,ie),_.placeholder=Ne.el}}else W(Me,_,Q,ie,pe,be,$e)},Z=(_,Q,ie)=>{const he=Q.component=_.component;if(tx(_,Q,ie))if(he.asyncDep&&!he.asyncResolved){M(he,Q,ie);return}else he.next=Q,he.update();else Q.el=_.el,he.vnode=Q},W=(_,Q,ie,he,pe,be,$e)=>{const Me=()=>{if(_.isMounted){let{next:we,bu:Pe,u:Fe,parent:Ze,vnode:Oe}=_;{const qe=By(_);if(qe){we&&(we.el=Oe.el,M(_,we,$e)),qe.asyncDep.then(()=>{Fn(()=>{_.isUnmounted||ge()},pe)});return}}let Ae=we,Ke;Ba(_,!1),we?(we.el=Oe.el,M(_,we,$e)):we=Oe,Pe&&Du(Pe),(Ke=we.props&&we.props.onVnodeBeforeUpdate)&&no(Ke,Ze,we,Oe),Ba(_,!0);const Et=mm(_),It=_.subTree;_.subTree=Et,p(It,Et,f(It.el),re(It),_,pe,be),we.el=Et.el,Ae===null&&nx(_,Et.el),Fe&&Fn(Fe,pe),(Ke=we.props&&we.props.onVnodeUpdated)&&Fn(()=>no(Ke,Ze,we,Oe),pe)}else{let we;const{el:Pe,props:Fe}=Q,{bm:Ze,m:Oe,parent:Ae,root:Ke,type:Et}=_,It=Fs(Q);Ba(_,!1),Ze&&Du(Ze),!It&&(we=Fe&&Fe.onVnodeBeforeMount)&&no(we,Ae,Q),Ba(_,!0);{Ke.ce&&Ke.ce._hasShadowRoot()&&Ke.ce._injectChildStyle(Et);const qe=_.subTree=mm(_);p(null,qe,ie,he,_,pe,be),Q.el=qe.el}if(Oe&&Fn(Oe,pe),!It&&(we=Fe&&Fe.onVnodeMounted)){const qe=Q;Fn(()=>no(we,Ae,qe),pe)}(Q.shapeFlag&256||Ae&&Fs(Ae.vnode)&&Ae.vnode.shapeFlag&256)&&_.a&&Fn(_.a,pe),_.isMounted=!0,Q=ie=he=null}};_.scope.on();const Ne=_.effect=new H0(Me);_.scope.off();const ge=_.update=Ne.run.bind(Ne),Te=_.job=Ne.runIfDirty.bind(Ne);Te.i=_,Te.id=_.uid,Ne.scheduler=()=>tp(Te),Ba(_,!0),ge()},M=(_,Q,ie)=>{Q.component=_;const he=_.vnode.props;_.vnode=Q,_.next=null,ox(_,Q.props,he,ie),ix(_,Q.children,ie),Ko(),om(_),Wo()},N=(_,Q,ie,he,pe,be,$e,Me,Ne=!1)=>{const ge=_&&_.children,Te=_?_.shapeFlag:0,we=Q.children,{patchFlag:Pe,shapeFlag:Fe}=Q;if(Pe>0){if(Pe&128){V(ge,we,ie,he,pe,be,$e,Me,Ne);return}else if(Pe&256){B(ge,we,ie,he,pe,be,$e,Me,Ne);return}}Fe&8?(Te&16&&se(ge,pe,be),we!==ge&&d(ie,we)):Te&16?Fe&16?V(ge,we,ie,he,pe,be,$e,Me,Ne):se(ge,pe,be,!0):(Te&8&&d(ie,""),Fe&16&&$(we,ie,he,pe,be,$e,Me,Ne))},B=(_,Q,ie,he,pe,be,$e,Me,Ne)=>{_=_||Bs,Q=Q||Bs;const ge=_.length,Te=Q.length,we=Math.min(ge,Te);let Pe;for(Pe=0;PeTe?se(_,pe,be,!0,!1,we):$(Q,ie,he,pe,be,$e,Me,Ne,we)},V=(_,Q,ie,he,pe,be,$e,Me,Ne)=>{let ge=0;const Te=Q.length;let we=_.length-1,Pe=Te-1;for(;ge<=we&&ge<=Pe;){const Fe=_[ge],Ze=Q[ge]=Ne?Po(Q[ge]):ro(Q[ge]);if(Ka(Fe,Ze))p(Fe,Ze,ie,null,pe,be,$e,Me,Ne);else break;ge++}for(;ge<=we&&ge<=Pe;){const Fe=_[we],Ze=Q[Pe]=Ne?Po(Q[Pe]):ro(Q[Pe]);if(Ka(Fe,Ze))p(Fe,Ze,ie,null,pe,be,$e,Me,Ne);else break;we--,Pe--}if(ge>we){if(ge<=Pe){const Fe=Pe+1,Ze=FePe)for(;ge<=we;)Y(_[ge],pe,be,!0),ge++;else{const Fe=ge,Ze=ge,Oe=new Map;for(ge=Ze;ge<=Pe;ge++){const ve=Q[ge]=Ne?Po(Q[ge]):ro(Q[ge]);ve.key!=null&&Oe.set(ve.key,ge)}let Ae,Ke=0;const Et=Pe-Ze+1;let It=!1,qe=0;const st=new Array(Et);for(ge=0;ge=Et){Y(ve,pe,be,!0);continue}let De;if(ve.key!=null)De=Oe.get(ve.key);else for(Ae=Ze;Ae<=Pe;Ae++)if(st[Ae-Ze]===0&&Ka(ve,Q[Ae])){De=Ae;break}De===void 0?Y(ve,pe,be,!0):(st[De-Ze]=ge+1,De>=qe?qe=De:It=!0,p(ve,Q[De],ie,null,pe,be,$e,Me,Ne),Ke++)}const mt=It?fx(st):Bs;for(Ae=mt.length-1,ge=Et-1;ge>=0;ge--){const ve=Ze+ge,De=Q[ve],de=Q[ve+1],Be=ve+1{const{el:be,type:$e,transition:Me,children:Ne,shapeFlag:ge}=_;if(ge&6){z(_.component.subTree,Q,ie,he);return}if(ge&128){_.suspense.move(Q,ie,he);return}if(ge&64){$e.move(_,Q,ie,oe);return}if($e===ze){l(be,Q,ie);for(let we=0;weMe.enter(be),pe);else{const{leave:we,delayLeave:Pe,afterLeave:Fe}=Me,Ze=()=>{_.ctx.isUnmounted?o(be):l(be,Q,ie)},Oe=()=>{be._isLeaving&&be[so](!0),we(be,()=>{Ze(),Fe&&Fe()})};Pe?Pe(be,Ze,Oe):Oe()}else l(be,Q,ie)},Y=(_,Q,ie,he=!1,pe=!1)=>{const{type:be,props:$e,ref:Me,children:Ne,dynamicChildren:ge,shapeFlag:Te,patchFlag:we,dirs:Pe,cacheIndex:Fe}=_;if(we===-2&&(pe=!1),Me!=null&&(Ko(),Wr(Me,null,ie,_,!0),Wo()),Fe!=null&&(Q.renderCache[Fe]=void 0),Te&256){Q.ctx.deactivate(_);return}const Ze=Te&1&&Pe,Oe=!Fs(_);let Ae;if(Oe&&(Ae=$e&&$e.onVnodeBeforeUnmount)&&no(Ae,Q,_),Te&6)J(_.component,ie,he);else{if(Te&128){_.suspense.unmount(ie,he);return}Ze&&Da(_,null,Q,"beforeUnmount"),Te&64?_.type.remove(_,Q,ie,oe,he):ge&&!ge.hasOnce&&(be!==ze||we>0&&we&64)?se(ge,Q,ie,!1,!0):(be===ze&&we&384||!pe&&Te&16)&&se(Ne,Q,ie),he&&H(_)}(Oe&&(Ae=$e&&$e.onVnodeUnmounted)||Ze)&&Fn(()=>{Ae&&no(Ae,Q,_),Ze&&Da(_,null,Q,"unmounted")},ie)},H=_=>{const{type:Q,el:ie,anchor:he,transition:pe}=_;if(Q===ze){X(ie,he);return}if(Q===Hd){y(_);return}const be=()=>{o(ie),pe&&!pe.persisted&&pe.afterLeave&&pe.afterLeave()};if(_.shapeFlag&1&&pe&&!pe.persisted){const{leave:$e,delayLeave:Me}=pe,Ne=()=>$e(ie,be);Me?Me(_.el,be,Ne):Ne()}else be()},X=(_,Q)=>{let ie;for(;_!==Q;)ie=h(_),o(_),_=ie;o(Q)},J=(_,Q,ie)=>{const{bum:he,scope:pe,job:be,subTree:$e,um:Me,m:Ne,a:ge}=_;ym(Ne),ym(ge),he&&Du(he),pe.stop(),be&&(be.flags|=8,Y($e,_,Q,ie)),Me&&Fn(Me,Q),Fn(()=>{_.isUnmounted=!0},Q)},se=(_,Q,ie,he=!1,pe=!1,be=0)=>{for(let $e=be;$e<_.length;$e++)Y(_[$e],Q,ie,he,pe)},re=_=>{if(_.shapeFlag&6)return re(_.component.subTree);if(_.shapeFlag&128)return _.suspense.next();const Q=h(_.anchor||_.el),ie=Q&&Q[dy];return ie?h(ie):Q};let fe=!1;const ce=(_,Q,ie)=>{let he;_==null?Q._vnode&&(Y(Q._vnode,null,null,!0),he=Q._vnode.component):p(Q._vnode||null,_,Q,null,null,null,ie),Q._vnode=_,fe||(fe=!0,om(he),ry(),fe=!1)},oe={p,um:Y,m:z,r:H,mt:K,mc:$,pc:N,pbc:I,n:re,o:e};return{render:ce,hydrate:void 0,createApp:GE(ce)}}function zd({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ba({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function dx(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function dp(e,t,n=!1){const l=e.children,o=t.children;if(ye(l)&&ye(o))for(let a=0;a>1,e[n[r]]0&&(t[l]=n[a-1]),n[a]=l)}}for(a=n.length,s=n[a-1];a-- >0;)n[a]=s,s=t[s];return n}function By(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:By(t)}function ym(e){if(e)for(let t=0;te.__isSuspense;function vx(e,t){t&&t.pendingBranch?ye(e)?t.effects.push(...e):t.effects.push(e):$E(e)}const ze=Symbol.for("v-fgt"),vr=Symbol.for("v-txt"),cn=Symbol.for("v-cmt"),Hd=Symbol.for("v-stc"),Yr=[];let ml=null;function T(e=!1){Yr.push(ml=e?null:[])}function px(){Yr.pop(),ml=Yr[Yr.length-1]||null}let si=1;function uc(e,t=!1){si+=e,e<0&&ml&&t&&(ml.hasOnce=!0)}function Fy(e){return e.dynamicChildren=si>0?ml||Bs:null,px(),si>0&&ml&&ml.push(e),e}function F(e,t,n,l,o,a){return Fy(j(e,t,n,l,o,a,!0))}function le(e,t,n,l,o){return Fy(q(e,t,n,l,o,!0))}function zt(e){return e?e.__v_isVNode===!0:!1}function Ka(e,t){return e.type===t.type&&e.key===t.key}const zy=({key:e})=>e??null,_u=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ve(e)||jt(e)||He(e)?{i:Ln,r:e,k:t,f:!!n}:e:null);function j(e,t=null,n=null,l=0,o=null,a=e===ze?0:1,s=!1,r=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zy(t),ref:t&&_u(t),scopeId:uy,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:l,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ln};return r?(fp(u,n),a&128&&e.normalize(u)):n&&(u.shapeFlag|=Ve(n)?8:16),si>0&&!s&&ml&&(u.patchFlag>0||a&6)&&u.patchFlag!==32&&ml.push(u),u}const q=hx;function hx(e,t=null,n=null,l=0,o=null,a=!1){if((!e||e===Cy)&&(e=cn),zt(e)){const r=mo(e,t,!0);return n&&fp(r,n),si>0&&!a&&ml&&(r.shapeFlag&6?ml[ml.indexOf(e)]=r:ml.push(r)),r.patchFlag=-2,r}if(kx(e)&&(e=e.__vccOpts),t){t=_o(t);let{class:r,style:u}=t;r&&!Ve(r)&&(t.class=P(r)),nt(u)&&(Yc(u)&&!ye(u)&&(u=Sn({},u)),t.style=je(u))}const s=Ve(e)?1:_y(e)?128:fy(e)?64:nt(e)?4:He(e)?2:0;return j(e,t,n,l,o,s,a,!0)}function _o(e){return e?Yc(e)||My(e)?Sn({},e):e:null}function mo(e,t,n=!1,l=!1){const{props:o,ref:a,patchFlag:s,children:r,transition:u}=e,c=t?ut(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&zy(c),ref:t&&t.ref?n&&a?ye(a)?a.concat(_u(t)):[a,_u(t)]:_u(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ze?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mo(e.ssContent),ssFallback:e.ssFallback&&mo(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&l&&is(d,u.clone(d)),d}function bt(e=" ",t=0){return q(vr,null,e,t)}function ne(e="",t=!1){return t?(T(),le(cn,null,e)):q(cn,null,e)}function ro(e){return e==null||typeof e=="boolean"?q(cn):ye(e)?q(ze,null,e.slice()):zt(e)?Po(e):q(vr,null,String(e))}function Po(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mo(e)}function fp(e,t){let n=0;const{shapeFlag:l}=e;if(t==null)t=null;else if(ye(t))n=16;else if(typeof t=="object")if(l&65){const o=t.default;o&&(o._c&&(o._d=!1),fp(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!My(t)?t._ctx=Ln:o===3&&Ln&&(Ln.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else He(t)?(t={default:t,_ctx:Ln},n=32):(t=String(t),l&64?(n=16,t=[bt(t)]):n=8);e.children=t,e.shapeFlag|=n}function ut(...e){const t={};for(let n=0;njn||Ln;let cc,Af;{const e=Wc(),t=(n,l)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(l),a=>{o.length>1?o.forEach(s=>s(a)):o[0](a)}};cc=t("__VUE_INSTANCE_SETTERS__",n=>jn=n),Af=t("__VUE_SSR_SETTERS__",n=>ri=n)}const Di=e=>{const t=jn;return cc(e),e.scope.on(),()=>{e.scope.off(),cc(t)}},wm=()=>{jn&&jn.scope.off(),cc(null)};function Hy(e){return e.vnode.shapeFlag&4}let ri=!1;function yx(e,t=!1,n=!1){t&&Af(t);const{props:l,children:o}=e.vnode,a=Hy(e);lx(e,l,a,t),rx(e,o,n||t);const s=a?wx(e,t):void 0;return t&&Af(!1),s}function wx(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,HE);const{setup:l}=n;if(l){Ko();const o=e.setupContext=l.length>1?Wy(e):null,a=Di(e),s=Ai(l,e,0,[e.props,o]),r=as(s);if(Wo(),a(),(r||e.sp)&&!Fs(e)&&yy(e),r){if(s.then(wm,wm),t)return s.then(u=>{Cm(e,u)}).catch(u=>{Uc(u,e,0)});e.asyncDep=s}else Cm(e,s)}else Ky(e)}function Cm(e,t,n){He(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:nt(t)&&(e.setupState=ly(t)),Ky(e)}function Ky(e,t,n){const l=e.type;e.render||(e.render=l.render||Rt);{const o=Di(e);Ko();try{KE(e)}finally{Wo(),o()}}}const Cx={get(e,t){return Wn(e,"get",""),e[t]}};function Wy(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Cx),slots:e.slots,emit:e.emit,expose:t}}function Jc(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ly(uo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in jr)return jr[n](e)},has(t,n){return n in t||n in jr}})):e.proxy}function Sx(e,t=!0){return He(e)?e.displayName||e.name:e.name||t&&e.__name}function kx(e){return He(e)&&"__vccOpts"in e}const S=(e,t)=>SE(e,t,ri);function Ge(e,t,n){try{uc(-1);const l=arguments.length;return l===2?nt(t)&&!ye(t)?zt(t)?q(e,null,[t]):q(e,t):q(e,null,t):(l>3?n=Array.prototype.slice.call(arguments,2):l===3&&zt(n)&&(n=[n]),q(e,t,n))}finally{uc(1)}}const Ex="3.5.29",xx=Rt;/** -* @vue/runtime-dom v3.5.29 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Lf;const Sm=typeof window<"u"&&window.trustedTypes;if(Sm)try{Lf=Sm.createPolicy("vue",{createHTML:e=>e})}catch{}const jy=Lf?e=>Lf.createHTML(e):e=>e,Tx="http://www.w3.org/2000/svg",$x="http://www.w3.org/1998/Math/MathML",Mo=typeof document<"u"?document:null,km=Mo&&Mo.createElement("template"),Ox={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,l)=>{const o=t==="svg"?Mo.createElementNS(Tx,e):t==="mathml"?Mo.createElementNS($x,e):n?Mo.createElement(e,{is:n}):Mo.createElement(e);return e==="select"&&l&&l.multiple!=null&&o.setAttribute("multiple",l.multiple),o},createText:e=>Mo.createTextNode(e),createComment:e=>Mo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,l,o,a){const s=n?n.previousSibling:t.lastChild;if(o&&(o===a||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===a||!(o=o.nextSibling)););else{km.innerHTML=jy(l==="svg"?`${e}`:l==="mathml"?`${e}`:e);const r=km.content;if(l==="svg"||l==="mathml"){const u=r.firstChild;for(;u.firstChild;)r.appendChild(u.firstChild);r.removeChild(u)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ra="transition",Tr="animation",Gs=Symbol("_vtc"),Yy={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Uy=Sn({},hy,Yy),Nx=e=>(e.displayName="Transition",e.props=Uy,e),In=Nx((e,{slots:t})=>Ge(AE,qy(e),t)),Va=(e,t=[])=>{ye(e)?e.forEach(n=>n(...t)):e&&e(...t)},Em=e=>e?ye(e)?e.some(t=>t.length>1):e.length>1:!1;function qy(e){const t={};for(const O in e)O in Yy||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:l,duration:o,enterFromClass:a=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:r=`${n}-enter-to`,appearFromClass:u=a,appearActiveClass:c=s,appearToClass:d=r,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,v=Ix(o),p=v&&v[0],g=v&&v[1],{onBeforeEnter:b,onEnter:C,onEnterCancelled:w,onLeave:y,onLeaveCancelled:k,onBeforeAppear:E=b,onAppear:x=C,onAppearCancelled:$=w}=t,R=(O,D,K,Z)=>{O._enterCancelled=Z,ua(O,D?d:r),ua(O,D?c:s),K&&K()},I=(O,D)=>{O._isLeaving=!1,ua(O,f),ua(O,m),ua(O,h),D&&D()},A=O=>(D,K)=>{const Z=O?x:C,W=()=>R(D,O,K);Va(Z,[D,W]),xm(()=>{ua(D,O?u:a),oo(D,O?d:r),Em(Z)||Tm(D,l,p,W)})};return Sn(t,{onBeforeEnter(O){Va(b,[O]),oo(O,a),oo(O,s)},onBeforeAppear(O){Va(E,[O]),oo(O,u),oo(O,c)},onEnter:A(!1),onAppear:A(!0),onLeave(O,D){O._isLeaving=!0;const K=()=>I(O,D);oo(O,f),O._enterCancelled?(oo(O,h),Df(O)):(Df(O),oo(O,h)),xm(()=>{O._isLeaving&&(ua(O,f),oo(O,m),Em(y)||Tm(O,l,g,K))}),Va(y,[O,K])},onEnterCancelled(O){R(O,!1,void 0,!0),Va(w,[O])},onAppearCancelled(O){R(O,!0,void 0,!0),Va($,[O])},onLeaveCancelled(O){I(O),Va(k,[O])}})}function Ix(e){if(e==null)return null;if(nt(e))return[Kd(e.enter),Kd(e.leave)];{const t=Kd(e);return[t,t]}}function Kd(e){return Kk(e)}function oo(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Gs]||(e[Gs]=new Set)).add(t)}function ua(e,t){t.split(/\s+/).forEach(l=>l&&e.classList.remove(l));const n=e[Gs];n&&(n.delete(t),n.size||(e[Gs]=void 0))}function xm(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Mx=0;function Tm(e,t,n,l){const o=e._endId=++Mx,a=()=>{o===e._endId&&l()};if(n!=null)return setTimeout(a,n);const{type:s,timeout:r,propCount:u}=Gy(e,t);if(!s)return l();const c=s+"end";let d=0;const f=()=>{e.removeEventListener(c,h),a()},h=m=>{m.target===e&&++d>=u&&f()};setTimeout(()=>{d(n[v]||"").split(", "),o=l(`${ra}Delay`),a=l(`${ra}Duration`),s=$m(o,a),r=l(`${Tr}Delay`),u=l(`${Tr}Duration`),c=$m(r,u);let d=null,f=0,h=0;t===ra?s>0&&(d=ra,f=s,h=a.length):t===Tr?c>0&&(d=Tr,f=c,h=u.length):(f=Math.max(s,c),d=f>0?s>c?ra:Tr:null,h=d?d===ra?a.length:u.length:0);const m=d===ra&&/\b(?:transform|all)(?:,|$)/.test(l(`${ra}Property`).toString());return{type:d,timeout:f,propCount:h,hasTransform:m}}function $m(e,t){for(;e.lengthOm(n)+Om(e[l])))}function Om(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Df(e){return(e?e.ownerDocument:document).body.offsetHeight}function Px(e,t,n){const l=e[Gs];l&&(t=(t?[t,...l]:[...l]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const dc=Symbol("_vod"),Xy=Symbol("_vsh"),$t={name:"show",beforeMount(e,{value:t},{transition:n}){e[dc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):$r(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:l}){!t!=!n&&(l?t?(l.beforeEnter(e),$r(e,!0),l.enter(e)):l.leave(e,()=>{$r(e,!1)}):$r(e,t))},beforeUnmount(e,{value:t}){$r(e,t)}};function $r(e,t){e.style.display=t?e[dc]:"none",e[Xy]=!t}const Rx=Symbol(""),Ax=/(?:^|;)\s*display\s*:/;function Lx(e,t,n){const l=e.style,o=Ve(n);let a=!1;if(n&&!o){if(t)if(Ve(t))for(const s of t.split(";")){const r=s.slice(0,s.indexOf(":")).trim();n[r]==null&&Fu(l,r,"")}else for(const s in t)n[s]==null&&Fu(l,s,"");for(const s in n)s==="display"&&(a=!0),Fu(l,s,n[s])}else if(o){if(t!==n){const s=l[Rx];s&&(n+=";"+s),l.cssText=n,a=Ax.test(n)}}else t&&e.removeAttribute("style");dc in e&&(e[dc]=a?l.display:"",e[Xy]&&(l.display="none"))}const Nm=/\s*!important$/;function Fu(e,t,n){if(ye(n))n.forEach(l=>Fu(e,t,l));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const l=Dx(e,t);Nm.test(n)?e.setProperty(Zo(l),n.replace(Nm,""),"important"):e[l]=n}}const Im=["Webkit","Moz","ms"],Wd={};function Dx(e,t){const n=Wd[t];if(n)return n;let l=nl(t);if(l!=="filter"&&l in e)return Wd[t]=l;l=Ri(l);for(let o=0;ojd||(Fx.then(()=>jd=0),jd=Date.now());function Hx(e,t){const n=l=>{if(!l._vts)l._vts=Date.now();else if(l._vts<=n.attached)return;Kl(Kx(l,n.value),t,5,[l])};return n.value=e,n.attached=zx(),n}function Kx(e,t){if(ye(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(l=>o=>!o._stopped&&l&&l(o))}else return t}const Dm=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wx=(e,t,n,l,o,a)=>{const s=o==="svg";t==="class"?Px(e,l,s):t==="style"?Lx(e,n,l):Fc(t)?jv(t)||Vx(e,t,n,l,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):jx(e,t,l,s))?(Rm(e,t,l),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Pm(e,t,l,s,a,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ve(l))?Rm(e,nl(t),l,a,t):(t==="true-value"?e._trueValue=l:t==="false-value"&&(e._falseValue=l),Pm(e,t,l,s))};function jx(e,t,n,l){if(l)return!!(t==="innerHTML"||t==="textContent"||t in e&&Dm(t)&&He(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Dm(t)&&Ve(n)?!1:t in e}const Zy=new WeakMap,Jy=new WeakMap,fc=Symbol("_moveCb"),Bm=Symbol("_enterCb"),Yx=e=>(delete e.props.mode,e),Ux=Yx({name:"TransitionGroup",props:Sn({},Uy,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ct(),l=py();let o,a;return Gl(()=>{if(!o.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!Zx(o[0].el,n.vnode.el,s)){o=[];return}o.forEach(qx),o.forEach(Gx);const r=o.filter(Xx);Df(n.vnode.el),r.forEach(u=>{const c=u.el,d=c.style;oo(c,s),d.transform=d.webkitTransform=d.transitionDuration="";const f=c[fc]=h=>{h&&h.target!==c||(!h||h.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",f),c[fc]=null,ua(c,s))};c.addEventListener("transitionend",f)}),o=[]}),()=>{const s=Ht(e),r=qy(s);let u=s.tag||ze;if(o=[],a)for(let c=0;c{r.split(/\s+/).forEach(u=>u&&l.classList.remove(u))}),n.split(/\s+/).forEach(r=>r&&l.classList.add(r)),l.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(l);const{hasTransform:s}=Gy(l);return a.removeChild(l),s}const Xs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ye(t)?n=>Du(t,n):t};function Jx(e){e.target.composing=!0}function Vm(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Fo=Symbol("_assign");function _m(e,t,n){return t&&(e=e.trim()),n&&(e=Uv(e)),e}const tw={created(e,{modifiers:{lazy:t,trim:n,number:l}},o){e[Fo]=Xs(o);const a=l||o.props&&o.props.type==="number";ha(e,t?"change":"input",s=>{s.target.composing||e[Fo](_m(e.value,n,a))}),(n||a)&&ha(e,"change",()=>{e.value=_m(e.value,n,a)}),t||(ha(e,"compositionstart",Jx),ha(e,"compositionend",Vm),ha(e,"change",Vm))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:l,trim:o,number:a}},s){if(e[Fo]=Xs(s),e.composing)return;const r=(a||e.type==="number")&&!/^0\d/.test(e.value)?Uv(e.value):e.value,u=t??"";r!==u&&(document.activeElement===e&&e.type!=="range"&&(l&&t===n||o&&e.value.trim()===u)||(e.value=u))}},nw={deep:!0,created(e,t,n){e[Fo]=Xs(n),ha(e,"change",()=>{const l=e._modelValue,o=ow(e),a=e.checked,s=e[Fo];if(ye(l)){const r=D0(l,o),u=r!==-1;if(a&&!u)s(l.concat(o));else if(!a&&u){const c=[...l];c.splice(r,1),s(c)}}else if(zc(l)){const r=new Set(l);a?r.add(o):r.delete(o),s(r)}else s(aw(e,a))})},mounted:Fm,beforeUpdate(e,t,n){e[Fo]=Xs(n),Fm(e,t,n)}};function Fm(e,{value:t,oldValue:n},l){e._modelValue=t;let o;if(ye(t))o=D0(t,l.props.value)>-1;else if(zc(t))o=t.has(l.props.value);else{if(t===n)return;o=ss(t,aw(e,!0))}e.checked!==o&&(e.checked=o)}const lw={created(e,{value:t},n){e.checked=ss(t,n.props.value),e[Fo]=Xs(n),ha(e,"change",()=>{e[Fo](ow(e))})},beforeUpdate(e,{value:t,oldValue:n},l){e[Fo]=Xs(l),t!==n&&(e.checked=ss(t,l.props.value))}};function ow(e){return"_value"in e?e._value:e.value}function aw(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Qx=["ctrl","shift","alt","meta"],eT={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Qx.some(n=>e[`${n}Key`]&&!t.includes(n))},Je=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),l=t.join(".");return n[l]||(n[l]=(o,...a)=>{for(let s=0;s{const n=e._withKeys||(e._withKeys={}),l=t.join(".");return n[l]||(n[l]=o=>{if(!("key"in o))return;const a=Zo(o.key);if(t.some(s=>s===a||tT[s]===a))return e(o)})},nT=Sn({patchProp:Wx},Ox);let zm;function sw(){return zm||(zm=ux(nT))}const Ta=(...e)=>{sw().render(...e)},lT=(...e)=>{const t=sw().createApp(...e),{mount:n}=t;return t.mount=l=>{const o=aT(l);if(!o)return;const a=t._component;!He(a)&&!a.render&&!a.template&&(a.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=n(o,!1,oT(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t};function oT(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function aT(e){return Ve(e)?document.querySelector(e):e}const sT="2.13.3",Hm=Symbol("INSTALLED_KEY"),rw=Symbol();var iw=typeof global=="object"&&global&&global.Object===Object&&global,rT=typeof self=="object"&&self&&self.Object===Object&&self,Xl=iw||rT||Function("return this")(),Il=Xl.Symbol,uw=Object.prototype,iT=uw.hasOwnProperty,uT=uw.toString,Or=Il?Il.toStringTag:void 0;function cT(e){var t=iT.call(e,Or),n=e[Or];try{e[Or]=void 0;var l=!0}catch{}var o=uT.call(e);return l&&(t?e[Or]=n:delete e[Or]),o}var dT=Object.prototype,fT=dT.toString;function vT(e){return fT.call(e)}var pT="[object Null]",hT="[object Undefined]",Km=Il?Il.toStringTag:void 0;function ms(e){return e==null?e===void 0?hT:pT:Km&&Km in Object(e)?cT(e):vT(e)}function go(e){return e!=null&&typeof e=="object"}var mT="[object Symbol]";function Qc(e){return typeof e=="symbol"||go(e)&&ms(e)==mT}function vp(e,t){for(var n=-1,l=e==null?0:e.length,o=Array(l);++n0){if(++t>=WT)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function qT(e){return function(){return e}}var vc=function(){try{var e=bs(Object,"defineProperty");return e({},"",{}),e}catch{}}(),GT=vc?function(e,t){return vc(e,"toString",{configurable:!0,enumerable:!1,value:qT(t),writable:!0})}:pp,fw=UT(GT);function XT(e,t){for(var n=-1,l=e==null?0:e.length;++n-1}var t$=9007199254740991,n$=/^(?:0|[1-9]\d*)$/;function ed(e,t){var n=typeof e;return t=t??t$,!!t&&(n=="number"||n!="symbol"&&n$.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=a$}function hr(e){return e!=null&&bp(e.length)&&!hp(e)}function s$(e,t,n){if(!al(n))return!1;var l=typeof t;return(l=="number"?hr(n)&&ed(t,n.length):l=="string"&&t in n)?Bi(n[t],e):!1}function r$(e){return hw(function(t,n){var l=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(o--,a):void 0,s&&s$(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++l-1}function gO(e,t){var n=this.__data__,l=td(n,e);return l<0?(++this.size,n.push([e,t])):n[l][1]=t,this}function ea(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(r)?t>1?Fi(r,t-1,n,l,o):kp(o,r):l||(o[o.length]=r)}return o}function pc(e){var t=e==null?0:e.length;return t?Fi(e,1):[]}function Cw(e){return fw(pw(e,void 0,pc),e+"")}var Ep=ww(Object.getPrototypeOf,Object),PO="[object Object]",RO=Function.prototype,AO=Object.prototype,Sw=RO.toString,LO=AO.hasOwnProperty,DO=Sw.call(Object);function xp(e){if(!go(e)||ms(e)!=PO)return!1;var t=Ep(e);if(t===null)return!0;var n=LO.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Sw.call(n)==DO}function BO(e,t,n){var l=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++l=t?e:t)),e}function Ua(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=Ur(n),n=n===n?n:0),t!==void 0&&(t=Ur(t),t=t===t?t:0),VO(Ur(e),t,n)}function _O(){this.__data__=new ea,this.size=0}function FO(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function zO(e){return this.__data__.get(e)}function HO(e){return this.__data__.has(e)}var KO=200;function WO(e,t){var n=this.__data__;if(n instanceof ea){var l=n.__data__;if(!di||l.lengthr))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var f=-1,h=!0,m=n&bI?new fi:void 0;for(a.set(e,t),a.set(t,e);++f=t||x<0||f&&$>=a}function b(){var E=Gd();if(g(E))return C(E);r=setTimeout(b,p(E))}function C(E){return r=void 0,h&&l?m(E):(l=o=void 0,s)}function w(){r!==void 0&&clearTimeout(r),c=0,l=u=o=r=void 0}function y(){return r===void 0?s:C(Gd())}function k(){var E=Gd(),x=g(E);if(l=arguments,o=this,u=E,x){if(r===void 0)return v(u);if(f)return clearTimeout(r),r=setTimeout(b,t),m(u)}return r===void 0&&(r=setTimeout(b,t)),s}return k.cancel=w,k.flush=y,k}function zf(e,t,n){(n!==void 0&&!Bi(e[t],n)||n===void 0&&!(t in e))&&mp(e,t,n)}function zw(e){return go(e)&&hr(e)}function Hf(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function rM(e){return pr(e,_i(e))}function iM(e,t,n,l,o,a,s){var r=Hf(e,n),u=Hf(t,n),c=s.get(u);if(c){zf(e,n,c);return}var d=a?a(r,u,n+"",e,t,s):void 0,f=d===void 0;if(f){var h=ol(u),m=!h&&ui(u),v=!h&&!m&&Cp(u);d=u,h||m||v?ol(r)?d=r:zw(r)?d=dw(r):m?(f=!1,d=Ew(u,!0)):v?(f=!1,d=Nw(u,!0)):d=[]:xp(u)||ii(u)?(d=r,ii(r)?d=rM(r):(!al(r)||hp(r))&&(d=Iw(u))):f=!1}f&&(s.set(u,d),o(d,u,l,a,s),s.delete(u)),zf(e,n,d)}function Hw(e,t,n,l,o){e!==t&&Fw(t,function(a,s){if(o||(o=new Vl),al(a))iM(e,t,s,n,Hw,l,o);else{var r=l?l(Hf(e,s),a,s+"",e,t,o):void 0;r===void 0&&(r=a),zf(e,s,r)}},_i)}function uM(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Kw(e,t,n){var l=e==null?0:e.length;if(!l)return-1;var o=l-1;return vw(e,_w(t),o,!0)}function cM(e,t){var n=-1,l=hr(e)?Array(e.length):[];return lM(e,function(o,a,s){l[++n]=t(o,a,s)}),l}function dM(e,t){var n=ol(e)?vp:cM;return n(e,_w(t))}function Ww(e,t){return Fi(dM(e,t),1)}var fM=1/0;function vM(e){var t=e==null?0:e.length;return t?Fi(e,fM):[]}function Js(e){for(var t=-1,n=e==null?0:e.length,l={};++t1),a}),pr(e,Ow(e),n),l&&(n=Gr(n,wM|CM|SM,yM));for(var o=t.length;o--;)bM(n,t[o]);return n});function Yw(e,t,n,l){if(!al(e))return e;t=mr(t,e);for(var o=-1,a=t.length,s=a-1,r=e;r!=null&&++o=NM){var c=OM(e);if(c)return Op(c);s=!1,o=Aw,u=new fi}else u=r;e:for(;++l(t,n)=>RM(t,n,i(e)),RM=(e,t,n)=>fn(n,e,e).replace(/\{(\w+)\}/g,(l,o)=>{var a;return`${(a=t==null?void 0:t[o])!=null?a:`{${o}}`}`}),AM=e=>({lang:S(()=>i(e).name),locale:jt(e)?e:L(e),t:PM(e)}),Uw=Symbol("localeContextKey"),wt=e=>{const t=e||Le(Uw,L());return AM(S(()=>t.value||MM))},Xr="el",LM="is-",_a=(e,t,n,l,o)=>{let a=`${e}-${t}`;return n&&(a+=`-${n}`),l&&(a+=`__${l}`),o&&(a+=`--${o}`),a},qw=Symbol("namespaceContextKey"),Np=e=>{const t=e||(ct()?Le(qw,L(Xr)):L(Xr));return S(()=>i(t)||Xr)},me=(e,t)=>{const n=Np(t);return{namespace:n,b:(p="")=>_a(n.value,e,p,"",""),e:p=>p?_a(n.value,e,"",p,""):"",m:p=>p?_a(n.value,e,"","",p):"",be:(p,g)=>p&&g?_a(n.value,e,p,g,""):"",em:(p,g)=>p&&g?_a(n.value,e,"",p,g):"",bm:(p,g)=>p&&g?_a(n.value,e,p,"",g):"",bem:(p,g,b)=>p&&g&&b?_a(n.value,e,p,g,b):"",is:(p,...g)=>{const b=g.length>=1?g[0]:!0;return p&&b?`${LM}${p}`:""},cssVar:p=>{const g={};for(const b in p)p[b]&&(g[`--${n.value}-${b}`]=p[b]);return g},cssVarName:p=>`--${n.value}-${p}`,cssVarBlock:p=>{const g={};for(const b in p)p[b]&&(g[`--${n.value}-${e}-${b}`]=p[b]);return g},cssVarBlockName:p=>`--${n.value}-${e}-${p}`}},St=e=>e===void 0,Vt=e=>typeof e=="boolean",We=e=>typeof e=="number",tl=e=>!e&&e!==0||ye(e)&&e.length===0||nt(e)&&!Object.keys(e).length,ul=e=>typeof Element>"u"?!1:e instanceof Element,cl=e=>dn(e),DM=e=>Ve(e)?!Number.isNaN(Number(e)):!1,Hi=e=>e===window;function Gw(e,t){var n;const l=Wt();return vl(()=>{l.value=e()},{...t,flush:(n=void 0)!=null?n:"sync"}),rs(l)}function ys(e){return F0()?(z0(e),!0):!1}function gl(e){return typeof e=="function"?e():i(e)}function BM(e){if(!jt(e))return Nt(e);const t=new Proxy({},{get(n,l,o){return i(Reflect.get(e.value,l,o))},set(n,l,o){return jt(e.value[l])&&!jt(o)?e.value[l].value=o:e.value[l]=o,!0},deleteProperty(n,l){return Reflect.deleteProperty(e.value,l)},has(n,l){return Reflect.has(e.value,l)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Nt(t)}function VM(e){return BM(S(e))}const Ot=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const _M=e=>typeof e<"u",Xw=e=>e!=null,FM=Object.prototype.toString,zM=e=>FM.call(e)==="[object Object]",Zw=(e,t,n)=>Math.min(n,Math.max(t,e)),_l=()=>{},mc=HM();function HM(){var e,t;return Ot&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Jw(e,t){function n(...l){return new Promise((o,a)=>{Promise.resolve(e(()=>t.apply(this,l),{fn:t,thisArg:this,args:l})).then(o).catch(a)})}return n}function KM(e,t={}){let n,l,o=_l;const a=r=>{clearTimeout(r),o(),o=_l};return r=>{const u=gl(e),c=gl(t.maxWait);return n&&a(n),u<=0||c!==void 0&&c<=0?(l&&(a(l),l=null),Promise.resolve(r())):new Promise((d,f)=>{o=t.rejectOnCancel?f:d,c&&!l&&(l=setTimeout(()=>{n&&a(n),l=null,d(r())},c)),n=setTimeout(()=>{l&&a(l),l=null,d(r())},u)})}}function WM(...e){let t=0,n,l=!0,o=_l,a,s,r,u,c;!jt(e[0])&&typeof e[0]=="object"?{delay:s,trailing:r=!0,leading:u=!0,rejectOnCancel:c=!1}=e[0]:[s,r=!0,u=!0,c=!1]=e;const d=()=>{n&&(clearTimeout(n),n=void 0,o(),o=_l)};return h=>{const m=gl(s),v=Date.now()-t,p=()=>a=h();return d(),m<=0?(t=Date.now(),p()):(v>m&&(u||!l)?(t=Date.now(),p()):r&&(a=new Promise((g,b)=>{o=c?b:g,n=setTimeout(()=>{t=Date.now(),l=!0,g(p()),d()},Math.max(0,m-v))})),!u&&!n&&(n=setTimeout(()=>l=!0,m)),l=!1,a)}}function jM(e){return ct()}function Ki(e,t=200,n={}){return Jw(KM(t,n),e)}function YM(e,t=200,n={}){const l=L(e.value),o=Ki(()=>{l.value=e.value},t,n);return ue(e,()=>o()),l}function Qw(e,t=200,n=!1,l=!0,o=!1){return Jw(WM(t,n,l,o),e)}function Ip(e,t=!0,n){jM()?ft(e,n):t?e():Re(e)}function Qs(e,t,n={}){const{immediate:l=!0}=n,o=L(!1);let a=null;function s(){a&&(clearTimeout(a),a=null)}function r(){o.value=!1,s()}function u(...c){s(),o.value=!0,a=setTimeout(()=>{o.value=!1,a=null,e(...c)},gl(t))}return l&&(o.value=!0,Ot&&u()),ys(r),{isPending:rs(o),start:u,stop:r}}function mn(e){var t;const n=gl(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Zl=Ot?window:void 0,UM=Ot?window.document:void 0;function At(...e){let t,n,l,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,l,o]=e,t=Zl):[t,n,l,o]=e,!t)return _l;Array.isArray(n)||(n=[n]),Array.isArray(l)||(l=[l]);const a=[],s=()=>{a.forEach(d=>d()),a.length=0},r=(d,f,h,m)=>(d.addEventListener(f,h,m),()=>d.removeEventListener(f,h,m)),u=ue(()=>[mn(t),gl(o)],([d,f])=>{if(s(),!d)return;const h=zM(f)?{...f}:f;a.push(...n.flatMap(m=>l.map(v=>r(d,m,v,h))))},{immediate:!0,flush:"post"}),c=()=>{u(),s()};return ys(c),c}let bg=!1;function Mp(e,t,n={}){const{window:l=Zl,ignore:o=[],capture:a=!0,detectIframe:s=!1}=n;if(!l)return _l;mc&&!bg&&(bg=!0,Array.from(l.document.body.children).forEach(h=>h.addEventListener("click",_l)),l.document.documentElement.addEventListener("click",_l));let r=!0;const u=h=>o.some(m=>{if(typeof m=="string")return Array.from(l.document.querySelectorAll(m)).some(v=>v===h.target||h.composedPath().includes(v));{const v=mn(m);return v&&(h.target===v||h.composedPath().includes(v))}}),d=[At(l,"click",h=>{const m=mn(e);if(!(!m||m===h.target||h.composedPath().includes(m))){if(h.detail===0&&(r=!u(h)),!r){r=!0;return}t(h)}},{passive:!0,capture:a}),At(l,"pointerdown",h=>{const m=mn(e);r=!u(h)&&!!(m&&!h.composedPath().includes(m))},{passive:!0}),s&&At(l,"blur",h=>{setTimeout(()=>{var m;const v=mn(e);((m=l.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(v!=null&&v.contains(l.document.activeElement))&&t(h)},0)})].filter(Boolean);return()=>d.forEach(h=>h())}function qM(){const e=L(!1),t=ct();return t&&ft(()=>{e.value=!0},t),e}function rd(e){const t=qM();return S(()=>(t.value,!!e()))}function Wi(e,t,n={}){const{window:l=Zl,...o}=n;let a;const s=rd(()=>l&&"MutationObserver"in l),r=()=>{a&&(a.disconnect(),a=void 0)},u=S(()=>{const h=gl(e),m=(Array.isArray(h)?h:[h]).map(mn).filter(Xw);return new Set(m)}),c=ue(()=>u.value,h=>{r(),s.value&&h.size&&(a=new MutationObserver(t),h.forEach(m=>a.observe(m,o)))},{immediate:!0,flush:"post"}),d=()=>a==null?void 0:a.takeRecords(),f=()=>{r(),c()};return ys(f),{isSupported:s,stop:f,takeRecords:d}}function GM(e={}){var t;const{window:n=Zl,deep:l=!0,triggerOnRemoval:o=!1}=e,a=(t=e.document)!=null?t:n==null?void 0:n.document,s=()=>{var c;let d=a==null?void 0:a.activeElement;if(l)for(;d!=null&&d.shadowRoot;)d=(c=d==null?void 0:d.shadowRoot)==null?void 0:c.activeElement;return d},r=L(),u=()=>{r.value=s()};return n&&(At(n,"blur",c=>{c.relatedTarget===null&&u()},!0),At(n,"focus",u,!0)),o&&Wi(a,c=>{c.filter(d=>d.removedNodes.length).map(d=>Array.from(d.removedNodes)).flat().forEach(d=>{d===r.value&&u()})},{childList:!0,subtree:!0}),u(),r}function XM(e,t={}){const{window:n=Zl}=t,l=rd(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const a=L(!1),s=c=>{a.value=c.matches},r=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",s):o.removeListener(s))},u=vl(()=>{l.value&&(r(),o=n.matchMedia(gl(e)),"addEventListener"in o?o.addEventListener("change",s):o.addListener(s),a.value=o.matches)});return ys(()=>{u(),r(),o=void 0}),a}function ZM(e){return JSON.parse(JSON.stringify(e))}function JM(e,t,n={}){const{window:l=Zl,initialValue:o="",observe:a=!1}=n,s=L(o),r=S(()=>{var c;return mn(t)||((c=l==null?void 0:l.document)==null?void 0:c.documentElement)});function u(){var c;const d=gl(e),f=gl(r);if(f&&l){const h=(c=l.getComputedStyle(f).getPropertyValue(d))==null?void 0:c.trim();s.value=h||o}}return a&&Wi(r,u,{attributeFilter:["style","class"],window:l}),ue([r,()=>gl(e)],u,{immediate:!0}),ue(s,c=>{var d;(d=r.value)!=null&&d.style&&r.value.style.setProperty(gl(e),c)}),s}function QM(e={}){const{document:t=UM}=e;if(!t)return L("visible");const n=L(t.visibilityState);return At(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function Yt(e,t,n={}){const{window:l=Zl,...o}=n;let a;const s=rd(()=>l&&"ResizeObserver"in l),r=()=>{a&&(a.disconnect(),a=void 0)},u=S(()=>Array.isArray(e)?e.map(f=>mn(f)):[mn(e)]),c=ue(u,f=>{if(r(),s.value&&l){a=new ResizeObserver(t);for(const h of f)h&&a.observe(h,o)}},{immediate:!0,flush:"post"}),d=()=>{r(),c()};return ys(d),{isSupported:s,stop:d}}function yg(e,t={}){const{reset:n=!0,windowResize:l=!0,windowScroll:o=!0,immediate:a=!0}=t,s=L(0),r=L(0),u=L(0),c=L(0),d=L(0),f=L(0),h=L(0),m=L(0);function v(){const p=mn(e);if(!p){n&&(s.value=0,r.value=0,u.value=0,c.value=0,d.value=0,f.value=0,h.value=0,m.value=0);return}const g=p.getBoundingClientRect();s.value=g.height,r.value=g.bottom,u.value=g.left,c.value=g.right,d.value=g.top,f.value=g.width,h.value=g.x,m.value=g.y}return Yt(e,v),ue(()=>mn(e),p=>!p&&v()),Wi(e,v,{attributeFilter:["style","class"]}),o&&At("scroll",v,{capture:!0,passive:!0}),l&&At("resize",v,{passive:!0}),Ip(()=>{a&&v()}),{height:s,bottom:r,left:u,right:c,top:d,width:f,x:h,y:m,update:v}}function Kf(e,t={width:0,height:0},n={}){const{window:l=Zl,box:o="content-box"}=n,a=S(()=>{var f,h;return(h=(f=mn(e))==null?void 0:f.namespaceURI)==null?void 0:h.includes("svg")}),s=L(t.width),r=L(t.height),{stop:u}=Yt(e,([f])=>{const h=o==="border-box"?f.borderBoxSize:o==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(l&&a.value){const m=mn(e);if(m){const v=m.getBoundingClientRect();s.value=v.width,r.value=v.height}}else if(h){const m=Array.isArray(h)?h:[h];s.value=m.reduce((v,{inlineSize:p})=>v+p,0),r.value=m.reduce((v,{blockSize:p})=>v+p,0)}else s.value=f.contentRect.width,r.value=f.contentRect.height},n);Ip(()=>{const f=mn(e);f&&(s.value="offsetWidth"in f?f.offsetWidth:t.width,r.value="offsetHeight"in f?f.offsetHeight:t.height)});const c=ue(()=>mn(e),f=>{s.value=f?t.width:0,r.value=f?t.height:0});function d(){u(),c()}return{width:s,height:r,stop:d}}function eP(e,t,n={}){const{root:l,rootMargin:o="0px",threshold:a=.1,window:s=Zl,immediate:r=!0}=n,u=rd(()=>s&&"IntersectionObserver"in s),c=S(()=>{const v=gl(e);return(Array.isArray(v)?v:[v]).map(mn).filter(Xw)});let d=_l;const f=L(r),h=u.value?ue(()=>[c.value,mn(l),f.value],([v,p])=>{if(d(),!f.value||!v.length)return;const g=new IntersectionObserver(t,{root:mn(p),rootMargin:o,threshold:a});v.forEach(b=>b&&g.observe(b)),d=()=>{g.disconnect(),d=_l}},{immediate:r,flush:"post"}):_l,m=()=>{d(),h(),f.value=!1};return ys(m),{isSupported:u,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:m}}function e1(e,t,n,l={}){var o,a,s;const{clone:r=!1,passive:u=!1,eventName:c,deep:d=!1,defaultValue:f,shouldEmit:h}=l,m=ct(),v=n||(m==null?void 0:m.emit)||((o=m==null?void 0:m.$emit)==null?void 0:o.bind(m))||((s=(a=m==null?void 0:m.proxy)==null?void 0:a.$emit)==null?void 0:s.bind(m==null?void 0:m.proxy));let p=c;t||(t="modelValue"),p=p||`update:${t.toString()}`;const g=w=>r?typeof r=="function"?r(w):ZM(w):w,b=()=>_M(e[t])?g(e[t]):f,C=w=>{h?h(w)&&v(p,w):v(p,w)};if(u){const w=b(),y=L(w);let k=!1;return ue(()=>e[t],E=>{k||(k=!0,y.value=g(E),Re(()=>k=!1))}),ue(y,E=>{!k&&(E!==e[t]||d)&&C(E)},{deep:d}),y}else return S({get(){return b()},set(w){C(w)}})}function tP(e={}){const{window:t=Zl}=e;if(!t)return L(!1);const n=L(t.document.hasFocus());return At(t,"blur",()=>{n.value=!1}),At(t,"focus",()=>{n.value=!0}),n}function Pp(e={}){const{window:t=Zl,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:l=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:a=!0}=e,s=L(n),r=L(l),u=()=>{t&&(a?(s.value=t.innerWidth,r.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,r.value=t.document.documentElement.clientHeight))};if(u(),Ip(u),At("resize",u,{passive:!0}),o){const c=XM("(orientation: portrait)");ue(c,()=>u())}return{width:s,height:r}}class nP extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function pn(e,t){throw new nP(`[${e}] ${t}`)}const wg={current:0},Cg=L(0),t1=2e3,Sg=Symbol("elZIndexContextKey"),n1=Symbol("zIndexContextKey"),ji=e=>{const t=ct()?Le(Sg,wg):wg,n=e||(ct()?Le(n1,void 0):void 0),l=S(()=>{const s=i(n);return We(s)?s:t1}),o=S(()=>l.value+Cg.value),a=()=>(t.current++,Cg.value=t.current,o.value);return!Ot&&Le(Sg),{initialZIndex:l,currentZIndex:o,nextZIndex:a}},l1="__epPropKey",G=e=>e,lP=e=>nt(e)&&!!e[l1],Jl=(e,t)=>{if(!nt(e)||lP(e))return e;const{values:n,required:l,default:o,type:a,validator:s}=e,u={type:a,required:!!l,validator:n||s?c=>{let d=!1,f=[];if(n&&(f=Array.from(n),xt(e,"default")&&f.push(o),d||(d=f.includes(c))),s&&(d||(d=s(c))),!d&&f.length>0){const h=[...new Set(f)].map(m=>JSON.stringify(m)).join(", ");xx(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${h}], got value ${JSON.stringify(c)}.`)}return d}:void 0,[l1]:!0};return xt(e,"default")&&(u.default=o),u},Se=e=>Js(Object.entries(e).map(([t,n])=>[t,Jl(n,t)])),Ql=["","default","small","large"],gn=Jl({type:String,values:Ql,required:!1}),o1=Symbol("size"),a1=()=>{const e=Le(o1,{});return S(()=>i(e.size)||"")},s1=Symbol("emptyValuesContextKey"),oP=["",void 0,null],aP=void 0,ws=Se({emptyValues:Array,valueOnClear:{type:G([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=He(e)?e():e,ye(e)?e.every(t=>!t):!e)}}),Yi=(e,t)=>{const n=ct()?Le(s1,L({})):L({}),l=S(()=>e.emptyValues||n.value.emptyValues||oP),o=S(()=>He(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:He(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:aP),a=s=>{let r=!0;return ye(s)?r=l.value.some(u=>Qt(s,u)):r=l.value.includes(s),r};return a(o.value),{emptyValues:l,valueOnClear:o,isEmptyValue:a}},vi=e=>Object.keys(e),r1=e=>Object.entries(e),ka=(e,t,n)=>({get value(){return fn(e,t,n)},set value(l){xM(e,t,l)}}),gc=L();function na(e,t=void 0){const n=ct()?Le(rw,gc):gc;return e?S(()=>{var l,o;return(o=(l=n.value)==null?void 0:l[e])!=null?o:t}):n}function id(e,t){const n=na(),l=me(e,S(()=>{var r;return((r=n.value)==null?void 0:r.namespace)||Xr})),o=wt(S(()=>{var r;return(r=n.value)==null?void 0:r.locale})),a=ji(S(()=>{var r;return((r=n.value)==null?void 0:r.zIndex)||t1})),s=S(()=>{var r;return i(t)||((r=n.value)==null?void 0:r.size)||""});return Rp(S(()=>i(n)||{})),{ns:l,locale:o,zIndex:a,size:s}}const Rp=(e,t,n=!1)=>{var l;const o=!!ct(),a=o?na():void 0,s=(l=t==null?void 0:t.provide)!=null?l:o?yt:void 0;if(!s)return;const r=S(()=>{const u=i(e);return a!=null&&a.value?sP(a.value,u):u});return s(rw,r),s(Uw,S(()=>r.value.locale)),s(qw,S(()=>r.value.namespace)),s(n1,S(()=>r.value.zIndex)),s(o1,{size:S(()=>r.value.size||"")}),s(s1,S(()=>({emptyValues:r.value.emptyValues,valueOnClear:r.value.valueOnClear}))),(n||!gc.value)&&(gc.value=r.value),r},sP=(e,t)=>{const n=[...new Set([...vi(e),...vi(t)])],l={};for(const o of n)l[o]=t[o]!==void 0?t[o]:e[o];return l},rP=(e=[])=>({version:sT,install:(n,l)=>{n[Hm]||(n[Hm]=!0,e.forEach(o=>n.use(o)),l&&Rp(l,n,!0))}}),Ui=Se({to:{type:G([String,Object]),required:!0},disabled:Boolean}),et="update:modelValue",ht="change",vn="input",iP=Se({zIndex:{type:G([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"},teleported:Boolean,appendTo:{type:Ui.to.type,default:"body"}}),uP={scroll:({scrollTop:e,fixed:t})=>We(e)&&Vt(t),[ht]:e=>Vt(e)};var cP=ae({__name:"teleport",props:Ui,setup(e){return(t,n)=>t.disabled?te(t.$slots,"default",{key:0}):(T(),le(PE,{key:1,to:t.to},[te(t.$slots,"default")],8,["to"]))}});const i1=e=>{const t=e.props,n=ye(t)?Js(t.map(l=>[l,{}])):t;e.setPropsDefaults=l=>{if(n){for(const[o,a]of Object.entries(l)){const s=n[o];if(xt(n,o)){if(xp(s)){n[o]={...s,default:a};continue}n[o]={type:s,default:a}}}e.props=n}}},ot=(e,t)=>{if(e.install=n=>{for(const l of[e,...Object.values(t??{})])n.component(l.name,l)},t)for(const[n,l]of Object.entries(t))e[n]=l;return i1(e),e},u1=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),dP=(e,t)=>(e.install=n=>{n.directive(t,e)},e),Xt=e=>(e.install=Rt,i1(e),e),br=ot(cP);function fP(e,t,n,l){const o=n-t;return e/=l/2,e<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}const yo=e=>Ot?window.requestAnimationFrame(e):setTimeout(e,16),Uo=e=>Ot?window.cancelAnimationFrame(e):clearTimeout(e),vP='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',c1=e=>typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot,kg=e=>typeof Element>"u"?!1:e instanceof Element,pP=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,Eg=e=>Array.from(e.querySelectorAll(vP)).filter(t=>pi(t)&&pP(t)),pi=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},zu=function(e,t,...n){let l;t.includes("mouse")||t.includes("click")?l="MouseEvents":t.includes("key")?l="KeyboardEvent":l="HTMLEvents";const o=document.createEvent(l);return o.initEvent(t,...n),e.dispatchEvent(o),e},d1=e=>!e.getAttribute("aria-owns"),f1=(e,t,n)=>{const{parentNode:l}=e;if(!l)return null;const o=l.querySelectorAll(n),a=Array.prototype.indexOf.call(o,e);return o[a+t]||null},qi=(e,t)=>{if(!e||!e.focus)return;let n=!1;kg(e)&&!pi(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),kg(e)&&n&&e.removeAttribute("tabindex")},Hu=e=>{e&&(qi(e),!d1(e)&&e.click())},v1=(e="")=>e.split(" ").filter(t=>!!t.trim()),co=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},$l=(e,t)=>{!e||!t.trim()||e.classList.add(...v1(t))},qn=(e,t)=>{!e||!t.trim()||e.classList.remove(...v1(t))},Do=(e,t)=>{var n;if(!Ot||!e||!t||c1(e))return"";let l=nl(t);l==="float"&&(l="cssFloat");try{const o=e.style[l];if(o)return o;const a=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return a?a[l]:""}catch{return e.style[l]}},p1=(e,t,n)=>{if(!(!e||!t))if(nt(t))r1(t).forEach(([l,o])=>p1(e,l,o));else{const l=nl(t);e.style[l]=n}};function tn(e,t="px"){if(!e&&e!==0)return"";if(We(e)||DM(e))return`${e}${t}`;if(Ve(e))return e}const hP=(e,t)=>{if(!Ot)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],l=Do(e,n);return["scroll","auto","overlay"].some(o=>l.includes(o))},Ap=(e,t)=>{if(!Ot)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(hP(n,t))return n;c1(n)?n=n.host:n=n.parentNode}return n};let bu;const h1=e=>{var t;if(!Ot)return 0;if(bu!==void 0)return bu;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const l=n.offsetWidth;n.style.overflow="scroll";const o=document.createElement("div");o.style.width="100%",n.appendChild(o);const a=o.offsetWidth;return(t=n.parentNode)==null||t.removeChild(n),bu=l-a,bu};function Lp(e,t){if(!Ot)return;if(!t){e.scrollTop=0;return}const n=[];let l=t.offsetParent;for(;l!==null&&e!==l&&e.contains(l);)n.push(l),l=l.offsetParent;const o=t.offsetTop+n.reduce((u,c)=>u+c.offsetTop,0),a=o+t.offsetHeight,s=e.scrollTop,r=s+e.clientHeight;or&&(e.scrollTop=a-e.clientHeight)}function mP(e,t,n,l,o){const a=Date.now();let s;const r=()=>{const c=Date.now()-a,d=fP(c>l?l:c,t,n,l);Hi(e)?e.scrollTo(window.pageXOffset,d):e.scrollTop=d,c{s&&Uo(s)}}const xg=(e,t)=>Hi(t)?e.ownerDocument.documentElement:t,Tg=e=>Hi(e)?window.scrollY:e.scrollTop,$g="ElAffix";var gP=ae({name:$g,__name:"affix",props:iP,emits:uP,setup(e,{expose:t,emit:n}){const l=e,o=n,a=me("affix"),s=Wt(),r=Wt(),u=Wt(),{height:c}=Pp(),{height:d,width:f,top:h,bottom:m,left:v,update:p}=yg(r,{windowScroll:!1}),g=yg(s),b=L(!1),C=L(0),w=L(0),y=S(()=>!l.teleported||!b.value),k=S(()=>({display:"flow-root",height:b.value?`${d.value}px`:"",width:b.value?`${f.value}px`:""})),E=S(()=>{if(!b.value)return{};const I=tn(l.offset);return{height:`${d.value}px`,width:`${f.value}px`,top:l.position==="top"?I:"",bottom:l.position==="bottom"?I:"",left:l.teleported?`${v.value}px`:"",transform:w.value?`translateY(${w.value}px)`:"",zIndex:l.zIndex}}),x=()=>{if(!u.value)return;C.value=u.value instanceof Window?document.documentElement.scrollTop:u.value.scrollTop||0;const{position:I,target:A,offset:O}=l,D=O+d.value;if(I==="top")if(A){const K=g.bottom.value-D;b.value=O>h.value&&g.bottom.value>0,w.value=K<0?K:0}else b.value=O>h.value;else if(A){const K=c.value-g.top.value-D;b.value=c.value-Og.top.value,w.value=K<0?-K:0}else b.value=c.value-O{if(!b.value){p();return}b.value=!1,await Re(),p(),b.value=!0},R=async()=>{p(),await Re(),o("scroll",{scrollTop:C.value,fixed:b.value})};return ue(b,I=>o(ht,I)),ft(()=>{var I;l.target?(s.value=(I=document.querySelector(l.target))!=null?I:void 0,s.value||pn($g,`Target does not exist: ${l.target}`)):s.value=document.documentElement,u.value=Ap(r.value,!0),p()}),Li(()=>{Re($)}),op(()=>{b.value=!1}),At(u,"scroll",R),vl(x),t({update:x,updateRoot:$}),(I,A)=>(T(),F("div",{ref_key:"root",ref:r,class:P(i(a).b()),style:je(k.value)},[q(i(br),{disabled:y.value,to:e.appendTo},{default:ee(()=>[j("div",{class:P({[i(a).m("fixed")]:b.value}),style:je(E.value)},[te(I.$slots,"default")],6)]),_:3},8,["disabled","to"])],6))}});const bP=ot(gP);/*! Element Plus Icons Vue v2.3.2 */var yP=ae({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),ko=yP,wP=ae({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"})]))}}),qo=wP,CP=ae({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),Gn=CP,SP=ae({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),ud=SP,kP=ae({name:"Back",__name:"back",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),j("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),EP=kP,xP=ae({name:"Calendar",__name:"calendar",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),TP=xP,$P=ae({name:"CaretRight",__name:"caret-right",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),m1=$P,OP=ae({name:"CaretTop",__name:"caret-top",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),NP=OP,IP=ae({name:"Check",__name:"check",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),Gi=IP,MP=ae({name:"CircleCheckFilled",__name:"circle-check-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),PP=MP,RP=ae({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),j("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),Dp=RP,AP=ae({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),Bp=AP,LP=ae({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),j("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),Eo=LP,DP=ae({name:"Clock",__name:"clock",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),j("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),j("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),g1=DP,BP=ae({name:"Close",__name:"close",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),Ml=BP,VP=ae({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672zm256 0a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672z"})]))}}),$a=VP,_P=ae({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L764.736 512 452.864 192a30.59 30.59 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L508.736 512 196.864 192a30.59 30.59 0 0 1 0-42.688"})]))}}),Oa=_P,FP=ae({name:"Delete",__name:"delete",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),zP=FP,HP=ae({name:"Document",__name:"document",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),KP=HP,WP=ae({name:"Download",__name:"download",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}}),cq=WP,jP=ae({name:"Folder",__name:"folder",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"})]))}}),dq=jP,YP=ae({name:"FullScreen",__name:"full-screen",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),UP=YP,qP=ae({name:"Hide",__name:"hide",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176S0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6q-43.2 72-153.6 172.8c-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176S1024 528 1024 512s-48.001-73.6-134.401-176"}),j("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112s-67.2 48-112 48"})]))}}),GP=qP,XP=ae({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),hi=XP,ZP=ae({name:"Loading",__name:"loading",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"})]))}}),wo=ZP,JP=ae({name:"Minus",__name:"minus",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),QP=JP,eR=ae({name:"MoreFilled",__name:"more-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),Og=eR,tR=ae({name:"More",__name:"more",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),nR=tR,lR=ae({name:"PictureFilled",__name:"picture-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),oR=lR,aR=ae({name:"Plus",__name:"plus",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),b1=aR,sR=ae({name:"QuestionFilled",__name:"question-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592q0-64.416-42.24-101.376c-28.16-25.344-65.472-37.312-111.232-37.312m-12.672 406.208a54.27 54.27 0 0 0-38.72 14.784 49.4 49.4 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.85 54.85 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.97 51.97 0 0 0-15.488-38.016 55.94 55.94 0 0 0-39.424-14.784"})]))}}),rR=sR,iR=ae({name:"RefreshLeft",__name:"refresh-left",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),uR=iR,cR=ae({name:"RefreshRight",__name:"refresh-right",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88"})]))}}),dR=cR,fR=ae({name:"Refresh",__name:"refresh",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),fq=fR,vR=ae({name:"ScaleToOriginal",__name:"scale-to-original",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118m-361.412 0a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118M512 361.412a30.12 30.12 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.12 30.12 0 0 0 512 361.412M512 512a30.12 30.12 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.12 30.12 0 0 0 512 512"})]))}}),pR=vR,hR=ae({name:"Search",__name:"search",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),mR=hR,gR=ae({name:"SortDown",__name:"sort-down",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),bR=gR,yR=ae({name:"SortUp",__name:"sort-up",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),wR=yR,CR=ae({name:"StarFilled",__name:"star-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M313.6 924.48a70.4 70.4 0 0 1-74.152-5.365 70.4 70.4 0 0 1-27.992-68.875l37.888-220.928L88.96 472.96a70.4 70.4 0 0 1 3.788-104.225A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 100.246-28.595 70.4 70.4 0 0 1 25.962 28.595l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),yu=CR,SR=ae({name:"Star",__name:"star",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),kR=SR,ER=ae({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),y1=ER,xR=ae({name:"View",__name:"view",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),TR=xR,$R=ae({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),cd=$R,OR=ae({name:"ZoomIn",__name:"zoom-in",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),w1=OR,NR=ae({name:"ZoomOut",__name:"zoom-out",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[j("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),IR=NR;const _t=G([String,Object,Function]),C1={Close:Ml},Vp={Close:Ml,SuccessFilled:y1,InfoFilled:hi,WarningFilled:cd,CircleCloseFilled:Bp},Na={primary:hi,success:y1,warning:cd,error:Bp,info:hi},dd={validating:wo,success:Dp,error:Eo},MR=["light","dark"],PR=Se({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:vi(Na),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:MR,default:"light"}}),RR={close:e=>e instanceof MouseEvent},AR=Se({size:{type:G([Number,String])},color:{type:String}});var LR=ae({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:AR,setup(e){const t=e,n=me("icon"),l=S(()=>{const{size:o,color:a}=t,s=tn(o);return!s&&!a?{}:{fontSize:s,"--color":a}});return(o,a)=>(T(),F("i",ut({class:i(n).b(),style:l.value},o.$attrs),[te(o.$slots,"default")],16))}});const _e=ot(LR);var Tl=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(Tl||{});function Wf(e){return zt(e)&&e.type===ze}function S1(e){return zt(e)&&e.type===cn}function DR(e){return zt(e)&&!Wf(e)&&!S1(e)}const BR=e=>{if(!zt(e))return{};const t=e.props||{},n=(zt(e.type)?e.type.props:void 0)||{},l={};return Object.keys(n).forEach(o=>{xt(n[o],"default")&&(l[o]=n[o].default)}),Object.keys(t).forEach(o=>{l[nl(o)]=t[o]}),l},bl=e=>{const t=ye(e)?e:[e],n=[];return t.forEach(l=>{var o;ye(l)?n.push(...bl(l)):zt(l)&&((o=l.component)!=null&&o.subTree)?n.push(l,...bl(l.component.subTree)):zt(l)&&ye(l.children)?n.push(...bl(l.children)):zt(l)&&l.shapeFlag===2?n.push(...bl(l.type())):n.push(l)}),n};var VR=ae({name:"ElAlert",__name:"alert",props:PR,emits:RR,setup(e,{emit:t}){const{Close:n}=Vp,l=e,o=t,a=rn(),s=me("alert"),r=L(!0),u=S(()=>Na[l.type]),c=S(()=>{var f;if(l.description)return!0;const h=(f=a.default)==null?void 0:f.call(a);return h?bl(h).some(v=>!S1(v)):!1}),d=f=>{r.value=!1,o("close",f)};return(f,h)=>(T(),le(In,{name:i(s).b("fade"),persisted:""},{default:ee(()=>[it(j("div",{class:P([i(s).b(),i(s).m(e.type),i(s).is("center",e.center),i(s).is(e.effect)]),role:"alert"},[e.showIcon&&(f.$slots.icon||u.value)?(T(),le(i(_e),{key:0,class:P([i(s).e("icon"),i(s).is("big",c.value)])},{default:ee(()=>[te(f.$slots,"icon",{},()=>[(T(),le(rt(u.value)))])]),_:3},8,["class"])):ne("v-if",!0),j("div",{class:P(i(s).e("content"))},[e.title||f.$slots.title?(T(),F("span",{key:0,class:P([i(s).e("title"),{"with-description":c.value}])},[te(f.$slots,"title",{},()=>[bt(ke(e.title),1)])],2)):ne("v-if",!0),c.value?(T(),F("p",{key:1,class:P(i(s).e("description"))},[te(f.$slots,"default",{},()=>[bt(ke(e.description),1)])],2)):ne("v-if",!0),e.closable?(T(),F(ze,{key:2},[e.closeText?(T(),F("div",{key:0,class:P([i(s).e("close-btn"),i(s).is("customed")]),onClick:d},ke(e.closeText),3)):(T(),le(i(_e),{key:1,class:P(i(s).e("close-btn")),onClick:d},{default:ee(()=>[q(i(n))]),_:1},8,["class"]))],64)):ne("v-if",!0)],2)],2),[[$t,r.value]])]),_:3},8,["name"]))}});const _R=ot(VR);var dl="top",Pl="bottom",Rl="right",fl="left",_p="auto",Xi=[dl,Pl,Rl,fl],er="start",mi="end",FR="clippingParents",k1="viewport",Nr="popper",zR="reference",Ng=Xi.reduce(function(e,t){return e.concat([t+"-"+er,t+"-"+mi])},[]),xo=[].concat(Xi,[_p]).reduce(function(e,t){return e.concat([t,t+"-"+er,t+"-"+mi])},[]),HR="beforeRead",KR="read",WR="afterRead",jR="beforeMain",YR="main",UR="afterMain",qR="beforeWrite",GR="write",XR="afterWrite",ZR=[HR,KR,WR,jR,YR,UR,qR,GR,XR];function Co(e){return e?(e.nodeName||"").toLowerCase():null}function Sl(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function cs(e){var t=Sl(e).Element;return e instanceof t||e instanceof Element}function Nl(e){var t=Sl(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Fp(e){if(typeof ShadowRoot>"u")return!1;var t=Sl(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function JR(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var l=t.styles[n]||{},o=t.attributes[n]||{},a=t.elements[n];!Nl(a)||!Co(a)||(Object.assign(a.style,l),Object.keys(o).forEach(function(s){var r=o[s];r===!1?a.removeAttribute(s):a.setAttribute(s,r===!0?"":r)}))})}function QR(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(l){var o=t.elements[l],a=t.attributes[l]||{},s=Object.keys(t.styles.hasOwnProperty(l)?t.styles[l]:n[l]),r=s.reduce(function(u,c){return u[c]="",u},{});!Nl(o)||!Co(o)||(Object.assign(o.style,r),Object.keys(a).forEach(function(u){o.removeAttribute(u)}))})}}var E1={name:"applyStyles",enabled:!0,phase:"write",fn:JR,effect:QR,requires:["computeStyles"]};function fo(e){return e.split("-")[0]}var ns=Math.max,bc=Math.min,tr=Math.round;function jf(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function x1(){return!/^((?!chrome|android).)*safari/i.test(jf())}function nr(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var l=e.getBoundingClientRect(),o=1,a=1;t&&Nl(e)&&(o=e.offsetWidth>0&&tr(l.width)/e.offsetWidth||1,a=e.offsetHeight>0&&tr(l.height)/e.offsetHeight||1);var s=cs(e)?Sl(e):window,r=s.visualViewport,u=!x1()&&n,c=(l.left+(u&&r?r.offsetLeft:0))/o,d=(l.top+(u&&r?r.offsetTop:0))/a,f=l.width/o,h=l.height/a;return{width:f,height:h,top:d,right:c+f,bottom:d+h,left:c,x:c,y:d}}function zp(e){var t=nr(e),n=e.offsetWidth,l=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-l)<=1&&(l=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:l}}function T1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Fp(n)){var l=t;do{if(l&&e.isSameNode(l))return!0;l=l.parentNode||l.host}while(l)}return!1}function Go(e){return Sl(e).getComputedStyle(e)}function e3(e){return["table","td","th"].indexOf(Co(e))>=0}function Ra(e){return((cs(e)?e.ownerDocument:e.document)||window.document).documentElement}function fd(e){return Co(e)==="html"?e:e.assignedSlot||e.parentNode||(Fp(e)?e.host:null)||Ra(e)}function Ig(e){return!Nl(e)||Go(e).position==="fixed"?null:e.offsetParent}function t3(e){var t=/firefox/i.test(jf()),n=/Trident/i.test(jf());if(n&&Nl(e)){var l=Go(e);if(l.position==="fixed")return null}var o=fd(e);for(Fp(o)&&(o=o.host);Nl(o)&&["html","body"].indexOf(Co(o))<0;){var a=Go(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function Zi(e){for(var t=Sl(e),n=Ig(e);n&&e3(n)&&Go(n).position==="static";)n=Ig(n);return n&&(Co(n)==="html"||Co(n)==="body"&&Go(n).position==="static")?t:n||t3(e)||t}function Hp(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Zr(e,t,n){return ns(e,bc(t,n))}function n3(e,t,n){var l=Zr(e,t,n);return l>n?n:l}function $1(){return{top:0,right:0,bottom:0,left:0}}function O1(e){return Object.assign({},$1(),e)}function N1(e,t){return t.reduce(function(n,l){return n[l]=e,n},{})}var l3=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,O1(typeof e!="number"?e:N1(e,Xi))};function o3(e){var t,n=e.state,l=e.name,o=e.options,a=n.elements.arrow,s=n.modifiersData.popperOffsets,r=fo(n.placement),u=Hp(r),c=[fl,Rl].indexOf(r)>=0,d=c?"height":"width";if(!(!a||!s)){var f=l3(o.padding,n),h=zp(a),m=u==="y"?dl:fl,v=u==="y"?Pl:Rl,p=n.rects.reference[d]+n.rects.reference[u]-s[u]-n.rects.popper[d],g=s[u]-n.rects.reference[u],b=Zi(a),C=b?u==="y"?b.clientHeight||0:b.clientWidth||0:0,w=p/2-g/2,y=f[m],k=C-h[d]-f[v],E=C/2-h[d]/2+w,x=Zr(y,E,k),$=u;n.modifiersData[l]=(t={},t[$]=x,t.centerOffset=x-E,t)}}function a3(e){var t=e.state,n=e.options,l=n.element,o=l===void 0?"[data-popper-arrow]":l;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||T1(t.elements.popper,o)&&(t.elements.arrow=o))}var s3={name:"arrow",enabled:!0,phase:"main",fn:o3,effect:a3,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function lr(e){return e.split("-")[1]}var r3={top:"auto",right:"auto",bottom:"auto",left:"auto"};function i3(e,t){var n=e.x,l=e.y,o=t.devicePixelRatio||1;return{x:tr(n*o)/o||0,y:tr(l*o)/o||0}}function Mg(e){var t,n=e.popper,l=e.popperRect,o=e.placement,a=e.variation,s=e.offsets,r=e.position,u=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,f=e.isFixed,h=s.x,m=h===void 0?0:h,v=s.y,p=v===void 0?0:v,g=typeof d=="function"?d({x:m,y:p}):{x:m,y:p};m=g.x,p=g.y;var b=s.hasOwnProperty("x"),C=s.hasOwnProperty("y"),w=fl,y=dl,k=window;if(c){var E=Zi(n),x="clientHeight",$="clientWidth";if(E===Sl(n)&&(E=Ra(n),Go(E).position!=="static"&&r==="absolute"&&(x="scrollHeight",$="scrollWidth")),E=E,o===dl||(o===fl||o===Rl)&&a===mi){y=Pl;var R=f&&E===k&&k.visualViewport?k.visualViewport.height:E[x];p-=R-l.height,p*=u?1:-1}if(o===fl||(o===dl||o===Pl)&&a===mi){w=Rl;var I=f&&E===k&&k.visualViewport?k.visualViewport.width:E[$];m-=I-l.width,m*=u?1:-1}}var A=Object.assign({position:r},c&&r3),O=d===!0?i3({x:m,y:p},Sl(n)):{x:m,y:p};if(m=O.x,p=O.y,u){var D;return Object.assign({},A,(D={},D[y]=C?"0":"",D[w]=b?"0":"",D.transform=(k.devicePixelRatio||1)<=1?"translate("+m+"px, "+p+"px)":"translate3d("+m+"px, "+p+"px, 0)",D))}return Object.assign({},A,(t={},t[y]=C?p+"px":"",t[w]=b?m+"px":"",t.transform="",t))}function u3(e){var t=e.state,n=e.options,l=n.gpuAcceleration,o=l===void 0?!0:l,a=n.adaptive,s=a===void 0?!0:a,r=n.roundOffsets,u=r===void 0?!0:r,c={placement:fo(t.placement),variation:lr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Mg(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Mg(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var I1={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:u3,data:{}},wu={passive:!0};function c3(e){var t=e.state,n=e.instance,l=e.options,o=l.scroll,a=o===void 0?!0:o,s=l.resize,r=s===void 0?!0:s,u=Sl(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(d){d.addEventListener("scroll",n.update,wu)}),r&&u.addEventListener("resize",n.update,wu),function(){a&&c.forEach(function(d){d.removeEventListener("scroll",n.update,wu)}),r&&u.removeEventListener("resize",n.update,wu)}}var M1={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:c3,data:{}},d3={left:"right",right:"left",bottom:"top",top:"bottom"};function Ku(e){return e.replace(/left|right|bottom|top/g,function(t){return d3[t]})}var f3={start:"end",end:"start"};function Pg(e){return e.replace(/start|end/g,function(t){return f3[t]})}function Kp(e){var t=Sl(e),n=t.pageXOffset,l=t.pageYOffset;return{scrollLeft:n,scrollTop:l}}function Wp(e){return nr(Ra(e)).left+Kp(e).scrollLeft}function v3(e,t){var n=Sl(e),l=Ra(e),o=n.visualViewport,a=l.clientWidth,s=l.clientHeight,r=0,u=0;if(o){a=o.width,s=o.height;var c=x1();(c||!c&&t==="fixed")&&(r=o.offsetLeft,u=o.offsetTop)}return{width:a,height:s,x:r+Wp(e),y:u}}function p3(e){var t,n=Ra(e),l=Kp(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=ns(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=ns(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),r=-l.scrollLeft+Wp(e),u=-l.scrollTop;return Go(o||n).direction==="rtl"&&(r+=ns(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:r,y:u}}function jp(e){var t=Go(e),n=t.overflow,l=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+l)}function P1(e){return["html","body","#document"].indexOf(Co(e))>=0?e.ownerDocument.body:Nl(e)&&jp(e)?e:P1(fd(e))}function Jr(e,t){var n;t===void 0&&(t=[]);var l=P1(e),o=l===((n=e.ownerDocument)==null?void 0:n.body),a=Sl(l),s=o?[a].concat(a.visualViewport||[],jp(l)?l:[]):l,r=t.concat(s);return o?r:r.concat(Jr(fd(s)))}function Yf(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function h3(e,t){var n=nr(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Rg(e,t,n){return t===k1?Yf(v3(e,n)):cs(t)?h3(t,n):Yf(p3(Ra(e)))}function m3(e){var t=Jr(fd(e)),n=["absolute","fixed"].indexOf(Go(e).position)>=0,l=n&&Nl(e)?Zi(e):e;return cs(l)?t.filter(function(o){return cs(o)&&T1(o,l)&&Co(o)!=="body"}):[]}function g3(e,t,n,l){var o=t==="clippingParents"?m3(e):[].concat(t),a=[].concat(o,[n]),s=a[0],r=a.reduce(function(u,c){var d=Rg(e,c,l);return u.top=ns(d.top,u.top),u.right=bc(d.right,u.right),u.bottom=bc(d.bottom,u.bottom),u.left=ns(d.left,u.left),u},Rg(e,s,l));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}function R1(e){var t=e.reference,n=e.element,l=e.placement,o=l?fo(l):null,a=l?lr(l):null,s=t.x+t.width/2-n.width/2,r=t.y+t.height/2-n.height/2,u;switch(o){case dl:u={x:s,y:t.y-n.height};break;case Pl:u={x:s,y:t.y+t.height};break;case Rl:u={x:t.x+t.width,y:r};break;case fl:u={x:t.x-n.width,y:r};break;default:u={x:t.x,y:t.y}}var c=o?Hp(o):null;if(c!=null){var d=c==="y"?"height":"width";switch(a){case er:u[c]=u[c]-(t[d]/2-n[d]/2);break;case mi:u[c]=u[c]+(t[d]/2-n[d]/2);break}}return u}function gi(e,t){t===void 0&&(t={});var n=t,l=n.placement,o=l===void 0?e.placement:l,a=n.strategy,s=a===void 0?e.strategy:a,r=n.boundary,u=r===void 0?FR:r,c=n.rootBoundary,d=c===void 0?k1:c,f=n.elementContext,h=f===void 0?Nr:f,m=n.altBoundary,v=m===void 0?!1:m,p=n.padding,g=p===void 0?0:p,b=O1(typeof g!="number"?g:N1(g,Xi)),C=h===Nr?zR:Nr,w=e.rects.popper,y=e.elements[v?C:h],k=g3(cs(y)?y:y.contextElement||Ra(e.elements.popper),u,d,s),E=nr(e.elements.reference),x=R1({reference:E,element:w,placement:o}),$=Yf(Object.assign({},w,x)),R=h===Nr?$:E,I={top:k.top-R.top+b.top,bottom:R.bottom-k.bottom+b.bottom,left:k.left-R.left+b.left,right:R.right-k.right+b.right},A=e.modifiersData.offset;if(h===Nr&&A){var O=A[o];Object.keys(I).forEach(function(D){var K=[Rl,Pl].indexOf(D)>=0?1:-1,Z=[dl,Pl].indexOf(D)>=0?"y":"x";I[D]+=O[Z]*K})}return I}function b3(e,t){t===void 0&&(t={});var n=t,l=n.placement,o=n.boundary,a=n.rootBoundary,s=n.padding,r=n.flipVariations,u=n.allowedAutoPlacements,c=u===void 0?xo:u,d=lr(l),f=d?r?Ng:Ng.filter(function(v){return lr(v)===d}):Xi,h=f.filter(function(v){return c.indexOf(v)>=0});h.length===0&&(h=f);var m=h.reduce(function(v,p){return v[p]=gi(e,{placement:p,boundary:o,rootBoundary:a,padding:s})[fo(p)],v},{});return Object.keys(m).sort(function(v,p){return m[v]-m[p]})}function y3(e){if(fo(e)===_p)return[];var t=Ku(e);return[Pg(e),t,Pg(t)]}function w3(e){var t=e.state,n=e.options,l=e.name;if(!t.modifiersData[l]._skip){for(var o=n.mainAxis,a=o===void 0?!0:o,s=n.altAxis,r=s===void 0?!0:s,u=n.fallbackPlacements,c=n.padding,d=n.boundary,f=n.rootBoundary,h=n.altBoundary,m=n.flipVariations,v=m===void 0?!0:m,p=n.allowedAutoPlacements,g=t.options.placement,b=fo(g),C=b===g,w=u||(C||!v?[Ku(g)]:y3(g)),y=[g].concat(w).reduce(function(X,J){return X.concat(fo(J)===_p?b3(t,{placement:J,boundary:d,rootBoundary:f,padding:c,flipVariations:v,allowedAutoPlacements:p}):J)},[]),k=t.rects.reference,E=t.rects.popper,x=new Map,$=!0,R=y[0],I=0;I=0,Z=K?"width":"height",W=gi(t,{placement:A,boundary:d,rootBoundary:f,altBoundary:h,padding:c}),M=K?D?Rl:fl:D?Pl:dl;k[Z]>E[Z]&&(M=Ku(M));var N=Ku(M),B=[];if(a&&B.push(W[O]<=0),r&&B.push(W[M]<=0,W[N]<=0),B.every(function(X){return X})){R=A,$=!1;break}x.set(A,B)}if($)for(var V=v?3:1,z=function(X){var J=y.find(function(se){var re=x.get(se);if(re)return re.slice(0,X).every(function(fe){return fe})});if(J)return R=J,"break"},Y=V;Y>0;Y--){var H=z(Y);if(H==="break")break}t.placement!==R&&(t.modifiersData[l]._skip=!0,t.placement=R,t.reset=!0)}}var C3={name:"flip",enabled:!0,phase:"main",fn:w3,requiresIfExists:["offset"],data:{_skip:!1}};function Ag(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Lg(e){return[dl,Rl,Pl,fl].some(function(t){return e[t]>=0})}function S3(e){var t=e.state,n=e.name,l=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,s=gi(t,{elementContext:"reference"}),r=gi(t,{altBoundary:!0}),u=Ag(s,l),c=Ag(r,o,a),d=Lg(u),f=Lg(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}var k3={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:S3};function E3(e,t,n){var l=fo(e),o=[fl,dl].indexOf(l)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=a[0],r=a[1];return s=s||0,r=(r||0)*o,[fl,Rl].indexOf(l)>=0?{x:r,y:s}:{x:s,y:r}}function x3(e){var t=e.state,n=e.options,l=e.name,o=n.offset,a=o===void 0?[0,0]:o,s=xo.reduce(function(d,f){return d[f]=E3(f,t.rects,a),d},{}),r=s[t.placement],u=r.x,c=r.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[l]=s}var T3={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:x3};function $3(e){var t=e.state,n=e.name;t.modifiersData[n]=R1({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var A1={name:"popperOffsets",enabled:!0,phase:"read",fn:$3,data:{}};function O3(e){return e==="x"?"y":"x"}function N3(e){var t=e.state,n=e.options,l=e.name,o=n.mainAxis,a=o===void 0?!0:o,s=n.altAxis,r=s===void 0?!1:s,u=n.boundary,c=n.rootBoundary,d=n.altBoundary,f=n.padding,h=n.tether,m=h===void 0?!0:h,v=n.tetherOffset,p=v===void 0?0:v,g=gi(t,{boundary:u,rootBoundary:c,padding:f,altBoundary:d}),b=fo(t.placement),C=lr(t.placement),w=!C,y=Hp(b),k=O3(y),E=t.modifiersData.popperOffsets,x=t.rects.reference,$=t.rects.popper,R=typeof p=="function"?p(Object.assign({},t.rects,{placement:t.placement})):p,I=typeof R=="number"?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(E){if(a){var D,K=y==="y"?dl:fl,Z=y==="y"?Pl:Rl,W=y==="y"?"height":"width",M=E[y],N=M+g[K],B=M-g[Z],V=m?-$[W]/2:0,z=C===er?x[W]:$[W],Y=C===er?-$[W]:-x[W],H=t.elements.arrow,X=m&&H?zp(H):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:$1(),se=J[K],re=J[Z],fe=Zr(0,x[W],X[W]),ce=w?x[W]/2-V-fe-se-I.mainAxis:z-fe-se-I.mainAxis,oe=w?-x[W]/2+V+fe+re+I.mainAxis:Y+fe+re+I.mainAxis,U=t.elements.arrow&&Zi(t.elements.arrow),_=U?y==="y"?U.clientTop||0:U.clientLeft||0:0,Q=(D=A==null?void 0:A[y])!=null?D:0,ie=M+ce-Q-_,he=M+oe-Q,pe=Zr(m?bc(N,ie):N,M,m?ns(B,he):B);E[y]=pe,O[y]=pe-M}if(r){var be,$e=y==="x"?dl:fl,Me=y==="x"?Pl:Rl,Ne=E[k],ge=k==="y"?"height":"width",Te=Ne+g[$e],we=Ne-g[Me],Pe=[dl,fl].indexOf(b)!==-1,Fe=(be=A==null?void 0:A[k])!=null?be:0,Ze=Pe?Te:Ne-x[ge]-$[ge]-Fe+I.altAxis,Oe=Pe?Ne+x[ge]+$[ge]-Fe-I.altAxis:we,Ae=m&&Pe?n3(Ze,Ne,Oe):Zr(m?Ze:Te,Ne,m?Oe:we);E[k]=Ae,O[k]=Ae-Ne}t.modifiersData[l]=O}}var I3={name:"preventOverflow",enabled:!0,phase:"main",fn:N3,requiresIfExists:["offset"]};function M3(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function P3(e){return e===Sl(e)||!Nl(e)?Kp(e):M3(e)}function R3(e){var t=e.getBoundingClientRect(),n=tr(t.width)/e.offsetWidth||1,l=tr(t.height)/e.offsetHeight||1;return n!==1||l!==1}function A3(e,t,n){n===void 0&&(n=!1);var l=Nl(t),o=Nl(t)&&R3(t),a=Ra(t),s=nr(e,o,n),r={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(l||!l&&!n)&&((Co(t)!=="body"||jp(a))&&(r=P3(t)),Nl(t)?(u=nr(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=Wp(a))),{x:s.left+r.scrollLeft-u.x,y:s.top+r.scrollTop-u.y,width:s.width,height:s.height}}function L3(e){var t=new Map,n=new Set,l=[];e.forEach(function(a){t.set(a.name,a)});function o(a){n.add(a.name);var s=[].concat(a.requires||[],a.requiresIfExists||[]);s.forEach(function(r){if(!n.has(r)){var u=t.get(r);u&&o(u)}}),l.push(a)}return e.forEach(function(a){n.has(a.name)||o(a)}),l}function D3(e){var t=L3(e);return ZR.reduce(function(n,l){return n.concat(t.filter(function(o){return o.phase===l}))},[])}function B3(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function V3(e){var t=e.reduce(function(n,l){var o=n[l.name];return n[l.name]=o?Object.assign({},o,l,{options:Object.assign({},o.options,l.options),data:Object.assign({},o.data,l.data)}):l,n},{});return Object.keys(t).map(function(n){return t[n]})}var Dg={placement:"bottom",modifiers:[],strategy:"absolute"};function Bg(){for(var e=arguments.length,t=new Array(e),n=0;nYo(H3,e),K3=["fixed","absolute"],W3=Se({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:G(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:xo,default:"bottom"},popperOptions:{type:G(Object),default:()=>({})},strategy:{type:String,values:K3,default:"absolute"}}),D1=Se({...W3,...L1,id:String,style:{type:G([String,Array,Object])},className:{type:G([String,Array,Object])},effect:{type:G(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:G([String,Array,Object])},popperStyle:{type:G([String,Array,Object])},referenceEl:{type:G(Object)},triggerTargetEl:{type:G(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...Xn(["ariaLabel"]),loop:Boolean}),j3={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0};function Vg(){let e;const t=(l,o)=>{n(),e=window.setTimeout(l,o)},n=()=>window.clearTimeout(e);return ys(()=>n()),{registerTimeout:t,cancelTimeout:n}}const Y3=Se({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),U3=({showAfter:e,hideAfter:t,autoClose:n,open:l,close:o})=>{const{registerTimeout:a}=Vg(),{registerTimeout:s,cancelTimeout:r}=Vg();return{onOpen:(d,f=i(e))=>{a(()=>{l(d);const h=i(n);We(h)&&h>0&&s(()=>{o(d)},h)},f)},onClose:(d,f=i(t))=>{r(),a(()=>{o(d)},f)}}},Bt=Se({...Y3,...D1,appendTo:{type:Ui.to.type},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:G(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...Xn(["ariaLabel"])}),en=e=>e,Ji=Se({id:{type:String,default:void 0},size:gn,disabled:{type:Boolean,default:void 0},modelValue:{type:G([String,Number,Object]),default:""},modelModifiers:{type:G(Object),default:()=>({})},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:G(String),default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:G([Boolean,Object]),default:!1},autocomplete:{type:G(String),default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,clearIcon:{type:_t,default:Eo},showPassword:Boolean,showWordLimit:Boolean,wordLimitPosition:{type:String,values:["inside","outside"],default:"inside"},suffixIcon:{type:_t},prefixIcon:{type:_t},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:G([Object,Array,String]),default:()=>en({})},autofocus:Boolean,rows:{type:Number,default:2},...Xn(["ariaLabel"]),inputmode:{type:G(String),default:void 0},name:String}),q3={[et]:e=>Ve(e),input:e=>Ve(e),change:(e,t)=>Ve(e)&&(t instanceof Event||t===void 0),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent};uo(Eo);const G3=Se({...Ji,valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:G(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:G([Function,Array]),default:Rt},popperClass:Bt.popperClass,popperStyle:Bt.popperStyle,triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:Boolean,hideLoading:Boolean,teleported:Bt.teleported,appendTo:Bt.appendTo,highlightFirstItem:Boolean,fitInputWidth:Boolean,loopNavigation:{type:Boolean,default:!0}}),X3={[et]:e=>Ve(e)||We(e),[vn]:e=>Ve(e)||We(e),[ht]:e=>Ve(e)||We(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,select:e=>nt(e)},vd=()=>Ot&&/firefox/i.test(window.navigator.userAgent),B1=()=>Ot&&/android/i.test(window.navigator.userAgent);let sl;const Z3={height:"0",visibility:"hidden",overflow:vd()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},J3=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],_g=e=>{const t=Number.parseFloat(e);return Number.isNaN(t)?e:t};function Q3(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),l=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),o=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:J3.map(s=>[s,t.getPropertyValue(s)]),paddingSize:l,borderSize:o,boxSizing:n}}function Fg(e,t=1,n){var l;if(!sl){sl=document.createElement("textarea");let f=document.body;!vd()&&e.parentNode&&(f=e.parentNode),f.appendChild(sl)}const{paddingSize:o,borderSize:a,boxSizing:s,contextStyle:r}=Q3(e);r.forEach(([f,h])=>sl==null?void 0:sl.style.setProperty(f,h)),Object.entries(Z3).forEach(([f,h])=>sl==null?void 0:sl.style.setProperty(f,h,"important")),sl.value=e.value||e.placeholder||"";let u=sl.scrollHeight;const c={};s==="border-box"?u=u+a:s==="content-box"&&(u=u-o),sl.value="";const d=sl.scrollHeight-o;if(We(t)){let f=d*t;s==="border-box"&&(f=f+o+a),u=Math.max(f,u),c.minHeight=`${f}px`}if(We(n)){let f=d*n;s==="border-box"&&(f=f+o+a),u=Math.min(f,u)}return c.height=`${u}px`,(l=sl.parentNode)==null||l.removeChild(sl),sl=void 0,c}const e4=["class","style"],t4=/^on[A-Z]/,pd=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,l=S(()=>((n==null?void 0:n.value)||[]).concat(e4)),o=ct();return S(o?()=>{var a;return Js(Object.entries((a=o.proxy)==null?void 0:a.$attrs).filter(([s])=>!l.value.includes(s)&&!(t&&t4.test(s))))}:()=>({}))},V1=e=>{const t=ct();return S(()=>{var n,l;return(l=(n=t==null?void 0:t.proxy)==null?void 0:n.$props)==null?void 0:l[e]})},Cs=Symbol("formContextKey"),So=Symbol("formItemContextKey"),hn=(e,t={})=>{const n=L(void 0),l=t.prop?n:V1("size"),o=t.global?n:a1(),a=t.form?{size:void 0}:Le(Cs,void 0),s=t.formItem?{size:void 0}:Le(So,void 0);return S(()=>l.value||i(e)||(s==null?void 0:s.size)||(a==null?void 0:a.size)||o.value||"")},nn=e=>{const t=V1("disabled"),n=Le(Cs,void 0);return S(()=>{var l,o,a;return(a=(o=(l=t.value)!=null?l:i(e))!=null?o:n==null?void 0:n.disabled)!=null?a:!1})};function la(e,{disabled:t,beforeFocus:n,afterFocus:l,beforeBlur:o,afterBlur:a}={}){const s=ct(),{emit:r}=s,u=Wt(),c=L(!1),d=m=>{const v=He(n)?n(m):!1;i(t)||c.value||v||(c.value=!0,r("focus",m),l==null||l())},f=m=>{var v;const p=He(o)?o(m):!1;i(t)||m.relatedTarget&&((v=u.value)!=null&&v.contains(m.relatedTarget))||p||(c.value=!1,r("blur",m),a==null||a())},h=m=>{var v,p;i(t)||pi(m.target)||(v=u.value)!=null&&v.contains(document.activeElement)&&u.value!==document.activeElement||(p=e.value)==null||p.focus()};return ue([u,()=>i(t)],([m,v])=>{m&&(v?m.removeAttribute("tabindex"):m.setAttribute("tabindex","-1"))}),At(u,"focus",d,!0),At(u,"blur",f,!0),At(u,"click",h,!0),{isFocused:c,wrapperRef:u,handleFocus:d,handleBlur:f}}const zg={prefix:Math.floor(Math.random()*1e4),current:0},n4=Symbol("elIdInjection"),Up=()=>ct()?Le(n4,zg):zg,Mn=e=>{const t=Up(),n=Np();return Gw(()=>i(e)||`${n.value}-id-${t.prefix}-${t.current++}`)},$n=()=>{const e=Le(Cs,void 0),t=Le(So,void 0);return{form:e,formItem:t}},kl=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:l})=>{n||(n=L(!1)),l||(l=L(!1));const o=ct(),a=()=>{let c=o==null?void 0:o.parent;for(;c;){if(c.type.name==="ElFormItem")return!1;if(c.type.name==="ElLabelWrap")return!0;c=c.parent}return!1},s=L();let r;const u=S(()=>{var c;return!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&((c=t.inputIds)==null?void 0:c.length)<=1)});return ft(()=>{r=ue([Lt(e,"id"),n],([c,d])=>{const f=c??(d?void 0:Mn().value);f!==s.value&&(t!=null&&t.removeInputId&&!a()&&(s.value&&t.removeInputId(s.value),!(l!=null&&l.value)&&!d&&f&&t.addInputId(f)),s.value=f)},{immediate:!0})}),fr(()=>{r&&r(),t!=null&&t.removeInputId&&s.value&&t.removeInputId(s.value)}),{isLabeledByFormItem:u,inputId:s}},l4=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e);function Qi({afterComposition:e,emit:t}){const n=L(!1),l=r=>{t==null||t("compositionstart",r),n.value=!0},o=r=>{var u;t==null||t("compositionupdate",r);const c=(u=r.target)==null?void 0:u.value,d=c[c.length-1]||"";n.value=!l4(d)},a=r=>{t==null||t("compositionend",r),n.value&&(n.value=!1,Re(()=>e(r)))};return{isComposing:n,handleComposition:r=>{r.type==="compositionend"?a(r):o(r)},handleCompositionStart:l,handleCompositionUpdate:o,handleCompositionEnd:a}}function o4(e){let t;function n(){if(e.value==null)return;const{selectionStart:o,selectionEnd:a,value:s}=e.value;if(o==null||a==null)return;const r=s.slice(0,Math.max(0,o)),u=s.slice(Math.max(0,a));t={selectionStart:o,selectionEnd:a,value:s,beforeTxt:r,afterTxt:u}}function l(){if(e.value==null||t==null)return;const{value:o}=e.value,{beforeTxt:a,afterTxt:s,selectionStart:r}=t;if(a==null||s==null||r==null)return;let u=o.length;if(o.endsWith(s))u=o.length-s.length;else if(o.startsWith(a))u=a.length;else{const c=a[r-1],d=o.indexOf(c,r-1);d!==-1&&(u=d+1)}e.value.setSelectionRange(u,u)}return[n,l]}const a4=["id","name","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","inputmode"],s4=["id","name","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role"],r4="ElInput";var i4=ae({name:r4,inheritAttrs:!1,__name:"input",props:Ji,emits:q3,setup(e,{expose:t,emit:n}){const l=e,o=n,a=Qo(),s=pd(),r=rn(),u=S(()=>[l.type==="textarea"?g.b():p.b(),p.m(m.value),p.is("disabled",v.value),p.is("exceed",H.value),{[p.b("group")]:r.prepend||r.append,[p.m("prefix")]:r.prefix||l.prefixIcon,[p.m("suffix")]:r.suffix||l.suffixIcon||l.clearable||l.showPassword,[p.bm("suffix","password-clear")]:B.value&&V.value,[p.b("hidden")]:l.type==="hidden"},a.class]),c=S(()=>[p.e("wrapper"),p.is("focus",R.value)]),{form:d,formItem:f}=$n(),{inputId:h}=kl(l,{formItemContext:f}),m=hn(),v=nn(),p=me("input"),g=me("textarea"),b=Wt(),C=Wt(),w=L(!1),y=L(!1),k=L(),E=Wt(l.inputStyle),x=S(()=>b.value||C.value),{wrapperRef:$,isFocused:R,handleFocus:I,handleBlur:A}=la(x,{disabled:v,afterBlur(){var Oe;l.validateEvent&&((Oe=f==null?void 0:f.validate)==null||Oe.call(f,"blur").catch(Ae=>void 0))}}),O=S(()=>{var Oe;return(Oe=d==null?void 0:d.statusIcon)!=null?Oe:!1}),D=S(()=>(f==null?void 0:f.validateState)||""),K=S(()=>D.value&&dd[D.value]),Z=S(()=>y.value?TR:GP),W=S(()=>[a.style]),M=S(()=>[l.inputStyle,E.value,{resize:l.resize}]),N=S(()=>dn(l.modelValue)?"":String(l.modelValue)),B=S(()=>l.clearable&&!v.value&&!l.readonly&&!!N.value&&(R.value||w.value)),V=S(()=>l.showPassword&&!v.value&&!!N.value),z=S(()=>l.showWordLimit&&!!l.maxlength&&(l.type==="text"||l.type==="textarea")&&!v.value&&!l.readonly&&!l.showPassword),Y=S(()=>N.value.length),H=S(()=>!!z.value&&Y.value>Number(l.maxlength)),X=S(()=>!!r.suffix||!!l.suffixIcon||B.value||l.showPassword||z.value||!!D.value&&O.value),J=S(()=>!!Object.keys(l.modelModifiers).length),[se,re]=o4(b);Yt(C,Oe=>{if(oe(),!z.value||l.resize!=="both"&&l.resize!=="horizontal")return;const Ae=Oe[0],{width:Ke}=Ae.contentRect;k.value={right:`calc(100% - ${Ke+22-10}px)`}});const fe=()=>{const{type:Oe,autosize:Ae}=l;if(!(!Ot||Oe!=="textarea"||!C.value))if(Ae){const Ke=nt(Ae)?Ae.minRows:void 0,Et=nt(Ae)?Ae.maxRows:void 0,It=Fg(C.value,Ke,Et);E.value={overflowY:"hidden",...It},Re(()=>{C.value.offsetHeight,E.value=It})}else E.value={minHeight:Fg(C.value).minHeight}},oe=(Oe=>{let Ae=!1;return()=>{var Ke;if(Ae||!l.autosize)return;((Ke=C.value)==null?void 0:Ke.offsetParent)===null||(setTimeout(Oe),Ae=!0)}})(fe),U=()=>{const Oe=x.value,Ae=l.formatter?l.formatter(N.value):N.value;!Oe||Oe.value===Ae||l.type==="file"||(Oe.value=Ae)},_=Oe=>{const{trim:Ae,number:Ke}=l.modelModifiers;return Ae&&(Oe=Oe.trim()),Ke&&(Oe=`${_g(Oe)}`),l.formatter&&l.parser&&(Oe=l.parser(Oe)),Oe},Q=async Oe=>{if(he.value)return;const{lazy:Ae}=l.modelModifiers;let{value:Ke}=Oe.target;if(Ae){o(vn,Ke);return}if(Ke=_(Ke),String(Ke)===N.value){l.formatter&&U();return}se(),o(et,Ke),o(vn,Ke),await Re(),(l.formatter&&l.parser||!J.value)&&U(),re()},ie=async Oe=>{let{value:Ae}=Oe.target;Ae=_(Ae),l.modelModifiers.lazy&&o(et,Ae),o(ht,Ae,Oe),await Re(),U()},{isComposing:he,handleCompositionStart:pe,handleCompositionUpdate:be,handleCompositionEnd:$e}=Qi({emit:o,afterComposition:Q}),Me=()=>{y.value=!y.value},Ne=()=>{var Oe;return(Oe=x.value)==null?void 0:Oe.focus()},ge=()=>{var Oe;return(Oe=x.value)==null?void 0:Oe.blur()},Te=Oe=>{w.value=!1,o("mouseleave",Oe)},we=Oe=>{w.value=!0,o("mouseenter",Oe)},Pe=Oe=>{o("keydown",Oe)},Fe=()=>{var Oe;(Oe=x.value)==null||Oe.select()},Ze=()=>{o(et,""),o(ht,""),o("clear"),o(vn,"")};return ue(()=>l.modelValue,()=>{var Oe;Re(()=>fe()),l.validateEvent&&((Oe=f==null?void 0:f.validate)==null||Oe.call(f,"change").catch(Ae=>void 0))}),ue(N,Oe=>{if(!x.value)return;const{trim:Ae,number:Ke}=l.modelModifiers,Et=x.value.value,It=(Ke||l.type==="number")&&!/^0\d/.test(Et)?`${_g(Et)}`:Et;It!==Oe&&(document.activeElement===x.value&&x.value.type!=="range"&&Ae&&It.trim()===Oe||U())}),ue(()=>l.type,async()=>{await Re(),U(),fe()}),ft(()=>{!l.formatter&&l.parser,U(),Re(fe)}),t({input:b,textarea:C,ref:x,textareaStyle:M,autosize:Lt(l,"autosize"),isComposing:he,focus:Ne,blur:ge,select:Fe,clear:Ze,resizeTextarea:fe}),(Oe,Ae)=>(T(),F("div",{class:P([u.value,{[i(p).bm("group","append")]:Oe.$slots.append,[i(p).bm("group","prepend")]:Oe.$slots.prepend}]),style:je(W.value),onMouseenter:we,onMouseleave:Te},[ne(" input "),e.type!=="textarea"?(T(),F(ze,{key:0},[ne(" prepend slot "),Oe.$slots.prepend?(T(),F("div",{key:0,class:P(i(p).be("group","prepend"))},[te(Oe.$slots,"prepend")],2)):ne("v-if",!0),j("div",{ref_key:"wrapperRef",ref:$,class:P(c.value)},[ne(" prefix slot "),Oe.$slots.prefix||e.prefixIcon?(T(),F("span",{key:0,class:P(i(p).e("prefix"))},[j("span",{class:P(i(p).e("prefix-inner"))},[te(Oe.$slots,"prefix"),e.prefixIcon?(T(),le(i(_e),{key:0,class:P(i(p).e("icon"))},{default:ee(()=>[(T(),le(rt(e.prefixIcon)))]),_:1},8,["class"])):ne("v-if",!0)],2)],2)):ne("v-if",!0),j("input",ut({id:i(h),ref_key:"input",ref:b,class:i(p).e("inner")},i(s),{name:e.name,minlength:e.minlength,maxlength:e.maxlength,type:e.showPassword?y.value?"text":"password":e.type,disabled:i(v),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,role:e.containerRole,inputmode:e.inputmode,onCompositionstart:Ae[0]||(Ae[0]=(...Ke)=>i(pe)&&i(pe)(...Ke)),onCompositionupdate:Ae[1]||(Ae[1]=(...Ke)=>i(be)&&i(be)(...Ke)),onCompositionend:Ae[2]||(Ae[2]=(...Ke)=>i($e)&&i($e)(...Ke)),onInput:Q,onChange:ie,onKeydown:Pe}),null,16,a4),ne(" suffix slot "),X.value?(T(),F("span",{key:1,class:P(i(p).e("suffix"))},[j("span",{class:P(i(p).e("suffix-inner"))},[!B.value||!V.value||!z.value?(T(),F(ze,{key:0},[te(Oe.$slots,"suffix"),e.suffixIcon?(T(),le(i(_e),{key:0,class:P(i(p).e("icon"))},{default:ee(()=>[(T(),le(rt(e.suffixIcon)))]),_:1},8,["class"])):ne("v-if",!0)],64)):ne("v-if",!0),B.value?(T(),le(i(_e),{key:1,class:P([i(p).e("icon"),i(p).e("clear")]),onMousedown:Je(i(Rt),["prevent"]),onClick:Ze},{default:ee(()=>[(T(),le(rt(e.clearIcon)))]),_:1},8,["class","onMousedown"])):ne("v-if",!0),V.value?(T(),le(i(_e),{key:2,class:P([i(p).e("icon"),i(p).e("password")]),onClick:Me,onMousedown:Je(i(Rt),["prevent"]),onMouseup:Je(i(Rt),["prevent"])},{default:ee(()=>[(T(),le(rt(Z.value)))]),_:1},8,["class","onMousedown","onMouseup"])):ne("v-if",!0),z.value?(T(),F("span",{key:3,class:P([i(p).e("count"),i(p).is("outside",e.wordLimitPosition==="outside")])},[j("span",{class:P(i(p).e("count-inner"))},ke(Y.value)+" / "+ke(e.maxlength),3)],2)):ne("v-if",!0),D.value&&K.value&&O.value?(T(),le(i(_e),{key:4,class:P([i(p).e("icon"),i(p).e("validateIcon"),i(p).is("loading",D.value==="validating")])},{default:ee(()=>[(T(),le(rt(K.value)))]),_:1},8,["class"])):ne("v-if",!0)],2)],2)):ne("v-if",!0)],2),ne(" append slot "),Oe.$slots.append?(T(),F("div",{key:1,class:P(i(p).be("group","append"))},[te(Oe.$slots,"append")],2)):ne("v-if",!0)],64)):(T(),F(ze,{key:1},[ne(" textarea "),j("textarea",ut({id:i(h),ref_key:"textarea",ref:C,class:[i(g).e("inner"),i(p).is("focus",i(R))]},i(s),{name:e.name,minlength:e.minlength,maxlength:e.maxlength,tabindex:e.tabindex,disabled:i(v),readonly:e.readonly,autocomplete:e.autocomplete,style:M.value,"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,role:e.containerRole,onCompositionstart:Ae[3]||(Ae[3]=(...Ke)=>i(pe)&&i(pe)(...Ke)),onCompositionupdate:Ae[4]||(Ae[4]=(...Ke)=>i(be)&&i(be)(...Ke)),onCompositionend:Ae[5]||(Ae[5]=(...Ke)=>i($e)&&i($e)(...Ke)),onInput:Q,onFocus:Ae[6]||(Ae[6]=(...Ke)=>i(I)&&i(I)(...Ke)),onBlur:Ae[7]||(Ae[7]=(...Ke)=>i(A)&&i(A)(...Ke)),onChange:ie,onKeydown:Pe}),null,16,s4),z.value?(T(),F("span",{key:0,style:je(k.value),class:P([i(p).e("count"),i(p).is("outside",e.wordLimitPosition==="outside")])},ke(Y.value)+" / "+ke(e.maxlength),7)):ne("v-if",!0)],64))],38))}});const Un=ot(i4),u4=Se({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:G([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...Xn(["ariaLabel","ariaOrientation"])}),_1={"end-reached":e=>["left","right","top","bottom"].includes(e),scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(We)},c4=Se({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),Es=4,F1={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},d4=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),f4=Se({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),qp=Symbol("scrollbarContextKey"),v4="Thumb";var Hg=ae({__name:"thumb",props:f4,setup(e){const t=e,n=Le(qp),l=me("scrollbar");n||pn(v4,"can not inject scrollbar context");const o=L(),a=L(),s=L({}),r=L(!1);let u=!1,c=!1,d=0,f=0,h=Ot?document.onselectstart:null;const m=S(()=>F1[t.vertical?"vertical":"horizontal"]),v=S(()=>d4({size:t.size,move:t.move,bar:m.value})),p=S(()=>o.value[m.value.offset]**2/n.wrapElement[m.value.scrollSize]/t.ratio/a.value[m.value.offset]),g=$=>{var R;if($.stopPropagation(),$.ctrlKey||[1,2].includes($.button))return;(R=window.getSelection())==null||R.removeAllRanges(),C($);const I=$.currentTarget;I&&(s.value[m.value.axis]=I[m.value.offset]-($[m.value.client]-I.getBoundingClientRect()[m.value.direction]))},b=$=>{if(!a.value||!o.value||!n.wrapElement)return;const R=Math.abs($.target.getBoundingClientRect()[m.value.direction]-$[m.value.client]),I=a.value[m.value.offset]/2,A=(R-I)*100*p.value/o.value[m.value.offset];n.wrapElement[m.value.scroll]=A*n.wrapElement[m.value.scrollSize]/100},C=$=>{$.stopImmediatePropagation(),u=!0,d=n.wrapElement.scrollHeight,f=n.wrapElement.scrollWidth,document.addEventListener("mousemove",w),document.addEventListener("mouseup",y),h=document.onselectstart,document.onselectstart=()=>!1},w=$=>{if(!o.value||!a.value||u===!1)return;const R=s.value[m.value.axis];if(!R)return;const I=(o.value.getBoundingClientRect()[m.value.direction]-$[m.value.client])*-1,A=a.value[m.value.offset]-R,O=(I-A)*100*p.value/o.value[m.value.offset];m.value.scroll==="scrollLeft"?n.wrapElement[m.value.scroll]=O*f/100:n.wrapElement[m.value.scroll]=O*d/100},y=()=>{u=!1,s.value[m.value.axis]=0,document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",y),x(),c&&(r.value=!1)},k=()=>{c=!1,r.value=!!t.size},E=()=>{c=!0,r.value=u};Pt(()=>{x(),document.removeEventListener("mouseup",y)});const x=()=>{document.onselectstart!==h&&(document.onselectstart=h)};return At(Lt(n,"scrollbarElement"),"mousemove",k),At(Lt(n,"scrollbarElement"),"mouseleave",E),($,R)=>(T(),le(In,{name:i(l).b("fade"),persisted:""},{default:ee(()=>[it(j("div",{ref_key:"instance",ref:o,class:P([i(l).e("bar"),i(l).is(m.value.key)]),onMousedown:b,onClick:R[0]||(R[0]=Je(()=>{},["stop"]))},[j("div",{ref_key:"thumb",ref:a,class:P(i(l).e("thumb")),style:je(v.value),onMousedown:g},null,38)],34),[[$t,e.always||r.value]])]),_:1},8,["name"]))}}),p4=ae({__name:"bar",props:c4,setup(e,{expose:t}){const n=e,l=Le(qp),o=L(0),a=L(0),s=L(""),r=L(""),u=L(1),c=L(1);return t({handleScroll:h=>{if(h){const m=h.offsetHeight-Es,v=h.offsetWidth-Es;a.value=h.scrollTop*100/m*u.value,o.value=h.scrollLeft*100/v*c.value}},update:()=>{const h=l==null?void 0:l.wrapElement;if(!h)return;const m=h.offsetHeight-Es,v=h.offsetWidth-Es,p=m**2/h.scrollHeight,g=v**2/h.scrollWidth,b=Math.max(p,n.minSize),C=Math.max(g,n.minSize);u.value=p/(m-p)/(b/(m-b)),c.value=g/(v-g)/(C/(v-C)),r.value=b+Es(T(),F(ze,null,[q(Hg,{move:o.value,ratio:c.value,size:s.value,always:e.always},null,8,["move","ratio","size","always"]),q(Hg,{move:a.value,ratio:u.value,size:r.value,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}});const h4=["tabindex"],m4="ElScrollbar";var g4=ae({name:m4,__name:"scrollbar",props:u4,emits:_1,setup(e,{expose:t,emit:n}){const l=e,o=n,a=me("scrollbar");let s,r,u,c=0,d=0,f="";const h={bottom:!1,top:!1,right:!1,left:!1},m=L(),v=L(),p=L(),g=L(),b=S(()=>{const O={},D=tn(l.height),K=tn(l.maxHeight);return D&&(O.height=D),K&&(O.maxHeight=K),[l.wrapStyle,O]}),C=S(()=>[l.wrapClass,a.e("wrap"),{[a.em("wrap","hidden-default")]:!l.native}]),w=S(()=>[a.e("view"),l.viewClass]),y=O=>{var D;return(D=h[O])!=null?D:!1},k={top:"bottom",bottom:"top",left:"right",right:"left"},E=O=>{const D=k[f];if(!D)return;const K=O[f],Z=O[D];K&&!h[f]&&(h[f]=!0),!Z&&h[D]&&(h[D]=!1)},x=()=>{var O;if(v.value){(O=g.value)==null||O.handleScroll(v.value);const D=c,K=d;c=v.value.scrollTop,d=v.value.scrollLeft;const Z={bottom:c+v.value.clientHeight>=v.value.scrollHeight-l.distance,top:c<=l.distance&&D!==0,right:d+v.value.clientWidth>=v.value.scrollWidth-l.distance&&K!==d,left:d<=l.distance&&K!==0};if(o("scroll",{scrollTop:c,scrollLeft:d}),D!==c&&(f=c>D?"bottom":"top"),K!==d&&(f=d>K?"right":"left"),l.distance>0){if(y(f))return;E(Z)}Z[f]&&o("end-reached",f)}};function $(O,D){nt(O)?v.value.scrollTo(O):We(O)&&We(D)&&v.value.scrollTo(O,D)}const R=O=>{We(O)&&(v.value.scrollTop=O)},I=O=>{We(O)&&(v.value.scrollLeft=O)},A=()=>{var O;(O=g.value)==null||O.update(),h[f]=!1};return ue(()=>l.noresize,O=>{O?(s==null||s(),r==null||r(),u==null||u()):({stop:s}=Yt(p,A),{stop:r}=Yt(v,A),u=At("resize",A))},{immediate:!0}),ue(()=>[l.maxHeight,l.height],()=>{l.native||Re(()=>{var O;A(),v.value&&((O=g.value)==null||O.handleScroll(v.value))})}),yt(qp,Nt({scrollbarElement:m,wrapElement:v})),Li(()=>{v.value&&(v.value.scrollTop=c,v.value.scrollLeft=d)}),ft(()=>{l.native||Re(()=>{A()})}),Gl(()=>A()),t({wrapRef:v,update:A,scrollTo:$,setScrollTop:R,setScrollLeft:I,handleScroll:x}),(O,D)=>(T(),F("div",{ref_key:"scrollbarRef",ref:m,class:P(i(a).b())},[j("div",{ref_key:"wrapRef",ref:v,class:P(C.value),style:je(b.value),tabindex:e.tabindex,onScroll:x},[(T(),le(rt(e.tag),{id:e.id,ref_key:"resizeRef",ref:p,class:P(w.value),style:je(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:ee(()=>[te(O.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,h4),e.native?ne("v-if",!0):(T(),le(p4,{key:0,ref_key:"barRef",ref:g,always:e.always,"min-size":e.minSize},null,8,["always","min-size"]))],2))}});const Wl=ot(g4),z1=Se({virtualRef:{type:G(Object)},virtualTriggering:Boolean,onMouseenter:{type:G(Function)},onMouseleave:{type:G(Function)},onClick:{type:G(Function)},onKeydown:{type:G(Function)},onFocus:{type:G(Function)},onBlur:{type:G(Function)},onContextmenu:{type:G(Function)},id:String,open:Boolean}),Ce={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},vo=Se({...z1,disabled:Boolean,trigger:{type:G([String,Array]),default:"hover"},triggerKeys:{type:G(Array),default:()=>[Ce.enter,Ce.numpadEnter,Ce.space]},focusOnTarget:Boolean}),b4=Jl({type:G(Boolean),default:null}),y4=Jl({type:G(Function)}),w4=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,l=[t],o={[e]:b4,[n]:y4};return{useModelToggle:({indicator:s,toggleReason:r,shouldHideWhenRouteChanges:u,shouldProceed:c,onShow:d,onHide:f})=>{const h=ct(),{emit:m}=h,v=h.props,p=S(()=>He(v[n])),g=S(()=>v[e]===null),b=x=>{s.value!==!0&&(s.value=!0,r&&(r.value=x),He(d)&&d(x))},C=x=>{s.value!==!1&&(s.value=!1,r&&(r.value=x),He(f)&&f(x))},w=x=>{if(v.disabled===!0||He(c)&&!c())return;const $=p.value&&Ot;$&&m(t,!0),(g.value||!$)&&b(x)},y=x=>{if(v.disabled===!0||!Ot)return;const $=p.value&&Ot;$&&m(t,!1),(g.value||!$)&&C(x)},k=x=>{Vt(x)&&(v.disabled&&x?p.value&&m(t,!1):s.value!==x&&(x?b():C()))},E=()=>{s.value?y():w()};return ue(()=>v[e],k),u&&h.appContext.config.globalProperties.$route!==void 0&&ue(()=>({...h.proxy.$route}),()=>{u.value&&s.value&&y()}),ft(()=>{k(v[e])}),{hide:y,show:w,toggle:E,hasUpdateHandler:p}},useModelToggleProps:o,useModelToggleEmits:l}},H1=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],K1=Se({role:{type:String,values:H1,default:"tooltip"}}),{useModelToggleProps:C4,useModelToggleEmits:S4,useModelToggle:k4}=w4("visible"),E4=Se({...K1,...C4,...Bt,...vo,...L1,showArrow:{type:Boolean,default:!0}}),x4=[...S4,"before-show","before-hide","show","hide","open","close"],Gp=Symbol("popper"),W1=Symbol("popperContent");var T4=ae({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:K1,setup(e,{expose:t}){const n=e,l=L(),o=L(),a=L(),s=L(),r=S(()=>n.role),u={triggerRef:l,popperInstanceRef:o,contentRef:a,referenceRef:s,role:r};return t(u),yt(Gp,u),(c,d)=>te(c.$slots,"default")}}),$4=ae({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(e,{expose:t}){const n=me("popper"),{arrowRef:l,arrowStyle:o}=Le(W1,void 0);return Pt(()=>{l.value=void 0}),t({arrowRef:l}),(a,s)=>(T(),F("span",{ref_key:"arrowRef",ref:l,class:P(i(n).e("arrow")),style:je(i(o)),"data-popper-arrow":""},null,6))}});const j1=Symbol("elForwardRef"),O4=e=>{yt(j1,{setForwardRef:n=>{e.value=n}})},N4=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),I4="ElOnlyChild",Y1=ae({name:I4,setup(e,{slots:t,attrs:n}){var l;const o=Le(j1),a=N4((l=o==null?void 0:o.setForwardRef)!=null?l:Rt);return()=>{var s;const r=(s=t.default)==null?void 0:s.call(t,n);if(!r)return null;const[u,c]=U1(r);return u?it(mo(u,n),[[a]]):null}}});function U1(e){if(!e)return[null,0];const t=e,n=t.filter(l=>l.type!==cn).length;for(const l of t){if(nt(l))switch(l.type){case cn:continue;case vr:case"svg":return[Kg(l),n];case ze:return U1(l.children);default:return[l,n]}return[Kg(l),n]}return[null,0]}function Kg(e){const t=me("only-child");return q("span",{class:t.e("content")},[e])}var M4=ae({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:z1,setup(e,{expose:t}){const n=e,{role:l,triggerRef:o}=Le(Gp,void 0);O4(o);const a=S(()=>r.value?n.id:void 0),s=S(()=>{if(l&&l.value==="tooltip")return n.open&&n.id?n.id:void 0}),r=S(()=>{if(l&&l.value!=="tooltip")return l.value}),u=S(()=>r.value?`${n.open}`:void 0);let c;const d=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return ft(()=>{ue(()=>n.virtualRef,f=>{f&&(o.value=mn(f))},{immediate:!0}),ue(o,(f,h)=>{c==null||c(),c=void 0,ul(h)&&d.forEach(m=>{const v=n[m];v&&h.removeEventListener(m.slice(2).toLowerCase(),v,["onFocus","onBlur"].includes(m))}),ul(f)&&(d.forEach(m=>{const v=n[m];v&&f.addEventListener(m.slice(2).toLowerCase(),v,["onFocus","onBlur"].includes(m))}),pi(f)&&(c=ue([a,s,r,u],m=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((v,p)=>{dn(m[p])?f.removeAttribute(v):f.setAttribute(v,m[p])})},{immediate:!0}))),ul(h)&&pi(h)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(m=>h.removeAttribute(m))},{immediate:!0})}),Pt(()=>{if(c==null||c(),c=void 0,o.value&&ul(o.value)){const f=o.value;d.forEach(h=>{const m=n[h];m&&f.removeEventListener(h.slice(2).toLowerCase(),m,["onFocus","onBlur"].includes(h))}),o.value=void 0}}),t({triggerRef:o}),(f,h)=>e.virtualTriggering?ne("v-if",!0):(T(),le(i(Y1),ut({key:0},f.$attrs,{"aria-controls":a.value,"aria-describedby":s.value,"aria-expanded":u.value,"aria-haspopup":r.value}),{default:ee(()=>[te(f.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});const Zd="focus-trap.focus-after-trapped",Jd="focus-trap.focus-after-released",P4="focus-trap.focusout-prevented",Wg={cancelable:!0,bubbles:!1},R4={cancelable:!0,bubbles:!1},jg="focusAfterTrapped",Yg="focusAfterReleased",q1=Symbol("elFocusTrap"),Xp=L(),hd=L(0),Zp=L(0);let Cu=0;const G1=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:l=>{const o=l.tagName==="INPUT"&&l.type==="hidden";return l.disabled||l.hidden||o?NodeFilter.FILTER_SKIP:l.tabIndex>=0||l===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},Ug=(e,t)=>{for(const n of e)if(!A4(n,t))return n},A4=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},L4=e=>{const t=G1(e),n=Ug(t,e),l=Ug(t.reverse(),e);return[n,l]},D4=e=>e instanceof HTMLInputElement&&"select"in e,ca=(e,t)=>{if(e){const n=document.activeElement;qi(e,{preventScroll:!0}),Zp.value=window.performance.now(),e!==n&&D4(e)&&t&&e.select()}};function qg(e,t){const n=[...e],l=e.indexOf(t);return l!==-1&&n.splice(l,1),n}const B4=()=>{let e=[];return{push:l=>{const o=e[0];o&&l!==o&&o.pause(),e=qg(e,l),e.unshift(l)},remove:l=>{var o,a;e=qg(e,l),(a=(o=e[0])==null?void 0:o.resume)==null||a.call(o)}}},V4=(e,t=!1)=>{const n=document.activeElement;for(const l of e)if(ca(l,t),document.activeElement!==n)return},Gg=B4(),_4=()=>hd.value>Zp.value,Su=()=>{Xp.value="pointer",hd.value=window.performance.now()},Xg=()=>{Xp.value="keyboard",hd.value=window.performance.now()},F4=()=>(ft(()=>{Cu===0&&(document.addEventListener("mousedown",Su),document.addEventListener("touchstart",Su),document.addEventListener("keydown",Xg)),Cu++}),Pt(()=>{Cu--,Cu<=0&&(document.removeEventListener("mousedown",Su),document.removeEventListener("touchstart",Su),document.removeEventListener("keydown",Xg))}),{focusReason:Xp,lastUserFocusTimestamp:hd,lastAutomatedFocusTimestamp:Zp}),ku=e=>new CustomEvent(P4,{...R4,detail:e}),yn=(e,t,{checkForDefaultPrevented:n=!0}={})=>o=>{const a=e==null?void 0:e(o);if(n===!1||!a)return t==null?void 0:t(o)},Zg=e=>t=>t.pointerType==="mouse"?e(t):void 0,Ft=e=>{if(e.code&&e.code!=="Unidentified")return e.code;const t=X1(e);if(t){if(Object.values(Ce).includes(t))return t;switch(t){case" ":return Ce.space;default:return""}}return""},X1=e=>{let t=e.key&&e.key!=="Unidentified"?e.key:"";if(!t&&e.type==="keyup"&&B1()){const n=e.target;t=n.value.charAt(n.selectionStart-1)}return t};let Ms=[];const Jg=e=>{Ft(e)===Ce.esc&&Ms.forEach(n=>n(e))},z4=e=>{ft(()=>{Ms.length===0&&document.addEventListener("keydown",Jg),Ot&&Ms.push(e)}),Pt(()=>{Ms=Ms.filter(t=>t!==e),Ms.length===0&&Ot&&document.removeEventListener("keydown",Jg)})};var H4=ae({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[jg,Yg,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=L();let l,o;const{focusReason:a}=F4();z4(v=>{e.trapped&&!s.paused&&t("release-requested",v)});const s={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},r=v=>{if(!e.loop&&!e.trapped||s.paused)return;const{altKey:p,ctrlKey:g,metaKey:b,currentTarget:C,shiftKey:w}=v,{loop:y}=e,E=Ft(v)===Ce.tab&&!p&&!g&&!b,x=document.activeElement;if(E&&x){const $=C,[R,I]=L4($);if(R&&I){if(!w&&x===I){const O=ku({focusReason:a.value});t("focusout-prevented",O),O.defaultPrevented||(v.preventDefault(),y&&ca(R,!0))}else if(w&&[R,$].includes(x)){const O=ku({focusReason:a.value});t("focusout-prevented",O),O.defaultPrevented||(v.preventDefault(),y&&ca(I,!0))}}else if(x===$){const O=ku({focusReason:a.value});t("focusout-prevented",O),O.defaultPrevented||v.preventDefault()}}};yt(q1,{focusTrapRef:n,onKeydown:r}),ue(()=>e.focusTrapEl,v=>{v&&(n.value=v)},{immediate:!0}),ue([n],([v],[p])=>{v&&(v.addEventListener("keydown",r),v.addEventListener("focusin",d),v.addEventListener("focusout",f)),p&&(p.removeEventListener("keydown",r),p.removeEventListener("focusin",d),p.removeEventListener("focusout",f))});const u=v=>{t(jg,v)},c=v=>t(Yg,v),d=v=>{const p=i(n);if(!p)return;const g=v.target,b=v.relatedTarget,C=g&&p.contains(g);e.trapped||b&&p.contains(b)||(l=b),C&&t("focusin",v),!s.paused&&e.trapped&&(C?o=g:ca(o,!0))},f=v=>{const p=i(n);if(!(s.paused||!p))if(e.trapped){const g=v.relatedTarget;!dn(g)&&!p.contains(g)&&setTimeout(()=>{if(!s.paused&&e.trapped){const b=ku({focusReason:a.value});t("focusout-prevented",b),b.defaultPrevented||ca(o,!0)}},0)}else{const g=v.target;g&&p.contains(g)||t("focusout",v)}};async function h(){await Re();const v=i(n);if(v){Gg.push(s);const p=v.contains(document.activeElement)?l:document.activeElement;if(l=p,!v.contains(p)){const b=new Event(Zd,Wg);v.addEventListener(Zd,u),v.dispatchEvent(b),b.defaultPrevented||Re(()=>{let C=e.focusStartEl;Ve(C)||(ca(C),document.activeElement!==C&&(C="first")),C==="first"&&V4(G1(v),!0),(document.activeElement===p||C==="container")&&ca(v)})}}}function m(){const v=i(n);if(v){v.removeEventListener(Zd,u);const p=new CustomEvent(Jd,{...Wg,detail:{focusReason:a.value}});v.addEventListener(Jd,c),v.dispatchEvent(p),!p.defaultPrevented&&(a.value=="keyboard"||!_4()||v.contains(document.activeElement))&&ca(l??document.body),v.removeEventListener(Jd,c),Gg.remove(s),l=null,o=null}}return ft(()=>{e.trapped&&h(),ue(()=>e.trapped,v=>{v?h():m()})}),Pt(()=>{e.trapped&&m(),n.value&&(n.value.removeEventListener("keydown",r),n.value.removeEventListener("focusin",d),n.value.removeEventListener("focusout",f),n.value=void 0),l=null,o=null}),{onKeydown:r}}}),bn=(e,t)=>{const n=e.__vccOpts||e;for(const[l,o]of t)n[l]=o;return n};function K4(e,t,n,l,o,a){return te(e.$slots,"default",{handleKeydown:e.onKeydown})}var yr=bn(H4,[["render",K4]]);const W4=(e,t)=>{const n=L(!1),l=L(),o=()=>{t("focus")},a=c=>{var d;((d=c.detail)==null?void 0:d.focusReason)!=="pointer"&&(l.value="first",t("blur"))},s=c=>{e.visible&&!n.value&&(c.target&&(l.value=c.target),n.value=!0)},r=c=>{e.trapping||(c.detail.focusReason==="pointer"&&c.preventDefault(),n.value=!1)},u=()=>{n.value=!1,t("close")};return Pt(()=>{l.value=void 0}),{focusStartRef:l,trapped:n,onFocusAfterReleased:a,onFocusAfterTrapped:o,onFocusInTrap:s,onFocusoutPrevented:r,onReleaseRequested:u}},j4=(e,t=[])=>{const{placement:n,strategy:l,popperOptions:o}=e,a={placement:n,strategy:l,...o,modifiers:[...U4(e),...t]};return q4(a,o==null?void 0:o.modifiers),a},Y4=e=>{if(Ot)return mn(e)};function U4(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:l}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:l}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function q4(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const G4=(e,t,n={})=>{const l={name:"updateState",enabled:!0,phase:"write",fn:({state:u})=>{const c=X4(u);Object.assign(s.value,c)},requires:["computeStyles"]},o=S(()=>{const{onFirstUpdate:u,placement:c,strategy:d,modifiers:f}=i(n);return{onFirstUpdate:u,placement:c||"bottom",strategy:d||"absolute",modifiers:[...f||[],l,{name:"applyStyles",enabled:!1}]}}),a=Wt(),s=L({styles:{popper:{position:i(o).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),r=()=>{a.value&&(a.value.destroy(),a.value=void 0)};return ue(o,u=>{const c=i(a);c&&c.setOptions(u)},{deep:!0}),ue([e,t],([u,c])=>{r(),!(!u||!c)&&(a.value=z3(u,c,i(o)))}),Pt(()=>{r()}),{state:S(()=>{var u;return{...((u=i(a))==null?void 0:u.state)||{}}}),styles:S(()=>i(s).styles),attributes:S(()=>i(s).attributes),update:()=>{var u;return(u=i(a))==null?void 0:u.update()},forceUpdate:()=>{var u;return(u=i(a))==null?void 0:u.forceUpdate()},instanceRef:S(()=>i(a))}};function X4(e){const t=Object.keys(e.elements),n=Js(t.map(o=>[o,e.styles[o]||{}])),l=Js(t.map(o=>[o,e.attributes[o]]));return{styles:n,attributes:l}}const Z4=0,J4=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:l,role:o}=Le(Gp,void 0),a=L(),s=S(()=>e.arrowOffset),r=S(()=>({name:"eventListeners",enabled:!!e.visible})),u=S(()=>{var b;const C=i(a),w=(b=i(s))!=null?b:Z4;return{name:"arrow",enabled:!hM(C),options:{element:C,padding:w}}}),c=S(()=>({onFirstUpdate:()=>{v()},...j4(e,[i(u),i(r)])})),d=S(()=>Y4(e.referenceEl)||i(l)),{attributes:f,state:h,styles:m,update:v,forceUpdate:p,instanceRef:g}=G4(d,n,c);return ue(g,b=>t.value=b,{flush:"sync"}),ft(()=>{ue(()=>{var b,C;return(C=(b=i(d))==null?void 0:b.getBoundingClientRect)==null?void 0:C.call(b)},()=>{v()})}),Pt(()=>{t.value=void 0}),{attributes:f,arrowRef:a,contentRef:n,instanceRef:g,state:h,styles:m,role:o,forceUpdate:p,update:v}},Q4=(e,{attributes:t,styles:n,role:l})=>{const{nextZIndex:o}=ji(),a=me("popper"),s=S(()=>i(t).popper),r=L(We(e.zIndex)?e.zIndex:o()),u=S(()=>[a.b(),a.is("pure",e.pure),a.is(e.effect),e.popperClass]),c=S(()=>[{zIndex:i(r)},i(n).popper,e.popperStyle||{}]),d=S(()=>l.value==="dialog"?"false":void 0),f=S(()=>i(n).arrow||{});return{ariaModal:d,arrowStyle:f,contentAttrs:s,contentClass:u,contentStyle:c,contentZIndex:r,updateZIndex:()=>{r.value=We(e.zIndex)?e.zIndex:o()}}};var eA=ae({name:"ElPopperContent",__name:"content",props:D1,emits:j3,setup(e,{expose:t,emit:n}){const l=n,o=e,{focusStartRef:a,trapped:s,onFocusAfterReleased:r,onFocusAfterTrapped:u,onFocusInTrap:c,onFocusoutPrevented:d,onReleaseRequested:f}=W4(o,l),{attributes:h,arrowRef:m,contentRef:v,styles:p,instanceRef:g,role:b,update:C}=J4(o),{ariaModal:w,arrowStyle:y,contentAttrs:k,contentClass:E,contentStyle:x,updateZIndex:$}=Q4(o,{styles:p,attributes:h,role:b}),R=Le(So,void 0);yt(W1,{arrowStyle:y,arrowRef:m}),R&&yt(So,{...R,addInputId:Rt,removeInputId:Rt});let I;const A=(D=!0)=>{C(),D&&$()},O=()=>{A(!1),o.visible&&o.focusOnShow?s.value=!0:o.visible===!1&&(s.value=!1)};return ft(()=>{ue(()=>o.triggerTargetEl,(D,K)=>{I==null||I(),I=void 0;const Z=i(D||v.value),W=i(K||v.value);ul(Z)&&(I=ue([b,()=>o.ariaLabel,w,()=>o.id],M=>{["role","aria-label","aria-modal","id"].forEach((N,B)=>{dn(M[B])?Z.removeAttribute(N):Z.setAttribute(N,M[B])})},{immediate:!0})),W!==Z&&ul(W)&&["role","aria-label","aria-modal","id"].forEach(M=>{W.removeAttribute(M)})},{immediate:!0}),ue(()=>o.visible,O,{immediate:!0})}),Pt(()=>{I==null||I(),I=void 0,v.value=void 0}),t({popperContentRef:v,popperInstanceRef:g,updatePopper:A,contentStyle:x}),(D,K)=>(T(),F("div",ut({ref_key:"contentRef",ref:v},i(k),{style:i(x),class:i(E),tabindex:"-1",onMouseenter:K[0]||(K[0]=Z=>D.$emit("mouseenter",Z)),onMouseleave:K[1]||(K[1]=Z=>D.$emit("mouseleave",Z))}),[q(i(yr),{loop:e.loop,trapped:i(s),"trap-on-focus-in":!0,"focus-trap-el":i(v),"focus-start-el":i(a),onFocusAfterTrapped:i(u),onFocusAfterReleased:i(r),onFocusin:i(c),onFocusoutPrevented:i(d),onReleaseRequested:i(f)},{default:ee(()=>[te(D.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});const Z1=ot(T4),Jp=Symbol("elTooltip"),Uf=(e,t)=>ye(e)?e.includes(t):e===t,xs=(e,t,n)=>l=>{Uf(i(e),t)&&n(l)};var tA=ae({name:"ElTooltipTrigger",__name:"trigger",props:vo,setup(e,{expose:t}){const n=e,l=me("tooltip"),{controlled:o,id:a,open:s,onOpen:r,onClose:u,onToggle:c}=Le(Jp,void 0),d=L(null),f=()=>{if(i(o)||n.disabled)return!0},h=Lt(n,"trigger"),m=yn(f,xs(h,"hover",y=>{r(y),n.focusOnTarget&&y.target&&Re(()=>{qi(y.target,{preventScroll:!0})})})),v=yn(f,xs(h,"hover",u)),p=yn(f,xs(h,"click",y=>{y.button===0&&c(y)})),g=yn(f,xs(h,"focus",r)),b=yn(f,xs(h,"focus",u)),C=yn(f,xs(h,"contextmenu",y=>{y.preventDefault(),c(y)})),w=yn(f,y=>{const k=Ft(y);n.triggerKeys.includes(k)&&(y.preventDefault(),c(y))});return t({triggerRef:d}),(y,k)=>(T(),le(i(M4),{id:i(a),"virtual-ref":e.virtualRef,open:i(s),"virtual-triggering":e.virtualTriggering,class:P(i(l).e("trigger")),onBlur:i(b),onClick:i(p),onContextmenu:i(C),onFocus:i(g),onMouseenter:i(m),onMouseleave:i(v),onKeydown:i(w)},{default:ee(()=>[te(y.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});const J1=()=>{const e=Np(),t=Up(),n=S(()=>`${e.value}-popper-container-${t.prefix}`),l=S(()=>`#${n.value}`);return{id:n,selector:l}},nA=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},lA=()=>{const{id:e,selector:t}=J1();return Xc(()=>{Ot&&(document.body.querySelector(t.value)||nA(e.value))}),{id:e,selector:t}},Qg=e=>[...new Set(e)],Ir=e=>ye(e)?e[0]:e,Yn=e=>!e&&e!==0?[]:ye(e)?e:[e];var oA=ae({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:Bt,setup(e,{expose:t}){const n=e,{selector:l}=J1(),o=me("tooltip"),a=L(),s=Gw(()=>{var N;return(N=a.value)==null?void 0:N.popperContentRef});let r;const{controlled:u,id:c,open:d,trigger:f,onClose:h,onOpen:m,onShow:v,onHide:p,onBeforeShow:g,onBeforeHide:b}=Le(Jp,void 0),C=S(()=>n.transition||`${o.namespace.value}-fade-in-linear`),w=S(()=>n.persistent);Pt(()=>{r==null||r()});const y=S(()=>i(w)?!0:i(d)),k=S(()=>n.disabled?!1:i(d)),E=S(()=>n.appendTo||l.value),x=S(()=>{var N;return(N=n.style)!=null?N:{}}),$=L(!0),R=()=>{p(),M()&&qi(document.body,{preventScroll:!0}),$.value=!0},I=()=>{if(i(u))return!0},A=yn(I,()=>{n.enterable&&Uf(i(f),"hover")&&m()}),O=yn(I,()=>{Uf(i(f),"hover")&&h()}),D=()=>{var N,B;(B=(N=a.value)==null?void 0:N.updatePopper)==null||B.call(N),g==null||g()},K=()=>{b==null||b()},Z=()=>{v()},W=()=>{n.virtualTriggering||h()},M=N=>{var B;const V=(B=a.value)==null?void 0:B.popperContentRef,z=(N==null?void 0:N.relatedTarget)||document.activeElement;return V==null?void 0:V.contains(z)};return ue(()=>i(d),N=>{N?($.value=!1,r=Mp(s,()=>{if(i(u))return;Yn(i(f)).every(V=>V!=="hover"&&V!=="focus")&&h()},{detectIframe:!0})):r==null||r()},{flush:"post"}),ue(()=>n.content,()=>{var N,B;(B=(N=a.value)==null?void 0:N.updatePopper)==null||B.call(N)}),t({contentRef:a,isFocusInsideContent:M}),(N,B)=>(T(),le(i(br),{disabled:!e.teleported,to:E.value},{default:ee(()=>[y.value||!$.value?(T(),le(In,{key:0,name:C.value,appear:!w.value,onAfterLeave:R,onBeforeEnter:D,onAfterEnter:Z,onBeforeLeave:K,persisted:""},{default:ee(()=>[it(q(i(eA),ut({id:i(c),ref_key:"contentRef",ref:a},N.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":$.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,x.value],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:k.value,"z-index":e.zIndex,loop:e.loop,onMouseenter:i(A),onMouseleave:i(O),onBlur:W,onClose:i(h)}),{default:ee(()=>[te(N.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","loop","onMouseenter","onMouseleave","onClose"]),[[$t,k.value]])]),_:3},8,["name","appear"])):ne("v-if",!0)]),_:3},8,["disabled","to"]))}});const aA=["innerHTML"],sA={key:1};var rA=ae({name:"ElTooltip",__name:"tooltip",props:E4,emits:x4,setup(e,{expose:t,emit:n}){const l=e,o=n;lA();const a=me("tooltip"),s=Mn(),r=L(),u=L(),c=()=>{var y;const k=i(r);k&&((y=k.popperInstanceRef)==null||y.update())},d=L(!1),f=L(),{show:h,hide:m,hasUpdateHandler:v}=k4({indicator:d,toggleReason:f}),{onOpen:p,onClose:g}=U3({showAfter:Lt(l,"showAfter"),hideAfter:Lt(l,"hideAfter"),autoClose:Lt(l,"autoClose"),open:h,close:m}),b=S(()=>Vt(l.visible)&&!v.value),C=S(()=>[a.b(),l.popperClass]);yt(Jp,{controlled:b,id:s,open:rs(d),trigger:Lt(l,"trigger"),onOpen:p,onClose:g,onToggle:y=>{i(d)?g(y):p(y)},onShow:()=>{o("show",f.value)},onHide:()=>{o("hide",f.value)},onBeforeShow:()=>{o("before-show",f.value)},onBeforeHide:()=>{o("before-hide",f.value)},updatePopper:c}),ue(()=>l.disabled,y=>{y&&d.value&&(d.value=!1)});const w=y=>{var k;return(k=u.value)==null?void 0:k.isFocusInsideContent(y)};return op(()=>d.value&&m()),Pt(()=>{f.value=void 0}),t({popperRef:r,contentRef:u,isFocusInsideContent:w,updatePopper:c,onOpen:p,onClose:g,hide:m}),(y,k)=>(T(),le(i(Z1),{ref_key:"popperRef",ref:r,role:e.role},{default:ee(()=>[q(tA,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering,"focus-on-target":e.focusOnTarget},{default:ee(()=>[y.$slots.default?te(y.$slots,"default",{key:0}):ne("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),q(oA,{ref_key:"contentRef",ref:u,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":C.value,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo,loop:e.loop},{default:ee(()=>[te(y.$slots,"content",{},()=>[e.rawContent?(T(),F("span",{key:0,innerHTML:e.content},null,8,aA)):(T(),F("span",sA,ke(e.content),1))]),e.showArrow?(T(),le(i($4),{key:0})):ne("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to","loop"])]),_:3},8,["role"]))}});const xn=ot(rA),iA=["aria-expanded","aria-owns"],uA={key:0},cA=["id","aria-selected","onClick"],eb="ElAutocomplete";var dA=ae({name:eb,inheritAttrs:!1,__name:"autocomplete",props:G3,emits:X3,setup(e,{expose:t,emit:n}){const l=e,o=n,a=S(()=>Yo(l,Object.keys(Ji))),s=Qo(),r=nn(),u=me("autocomplete"),c=L(),d=L(),f=L(),h=L();let m=!1,v=!1;const p=L([]),g=L(-1),b=L(""),C=L(!1),w=L(!1),y=L(!1),k=Mn(),E=S(()=>s.style),x=S(()=>(p.value.length>0||y.value)&&C.value),$=S(()=>!l.hideLoading&&y.value),R=S(()=>c.value?Array.from(c.value.$el.querySelectorAll("input")):[]),I=()=>{x.value&&(b.value=`${c.value.$el.offsetWidth}px`)},A=()=>{g.value=-1},O=async U=>{if(w.value)return;const _=Q=>{y.value=!1,!w.value&&(ye(Q)?(p.value=Q,g.value=l.highlightFirstItem?0:-1):pn(eb,"autocomplete suggestions must be an array"))};if(y.value=!0,ye(l.fetchSuggestions))_(l.fetchSuggestions);else{const Q=await l.fetchSuggestions(U,_);ye(Q)&&_(Q)}},D=S(()=>l.debounce),K=Ki(O,D),Z=U=>{const _=!!U;if(o(vn,U),o(et,U),w.value=!1,C.value||(C.value=_),!l.triggerOnFocus&&!U){w.value=!0,p.value=[];return}K(U)},W=U=>{var _;r.value||(((_=U.target)==null?void 0:_.tagName)!=="INPUT"||R.value.includes(document.activeElement))&&(C.value=!0)},M=U=>{o(ht,U)},N=U=>{var _;if(v)v=!1;else{C.value=!0,o("focus",U);const Q=(_=l.modelValue)!=null?_:"";l.triggerOnFocus&&!m&&K(String(Q))}},B=U=>{setTimeout(()=>{var _;if((_=f.value)!=null&&_.isFocusInsideContent()){v=!0;return}C.value&&H(),o("blur",U)})},V=()=>{C.value=!1,o(et,""),o("clear")},z=async()=>{var U;(U=c.value)!=null&&U.isComposing||(x.value&&g.value>=0&&g.value{x.value&&(U.preventDefault(),U.stopPropagation(),H())},H=()=>{C.value=!1},X=()=>{var U;(U=c.value)==null||U.focus()},J=()=>{var U;(U=c.value)==null||U.blur()},se=async U=>{o(vn,U[l.valueKey]),o(et,U[l.valueKey]),o("select",U),p.value=[],g.value=-1},re=U=>{var _,Q;if(!x.value||y.value)return;if(U<0){if(!l.loopNavigation){g.value=-1;return}U=p.value.length-1}U>=p.value.length&&(U=l.loopNavigation?0:p.value.length-1);const[ie,he]=fe(),pe=he[U],be=ie.scrollTop,{offsetTop:$e,scrollHeight:Me}=pe;$e+Me>be+ie.clientHeight&&(ie.scrollTop=$e+Me-ie.clientHeight),$e{const U=d.value.querySelector(`.${u.be("suggestion","wrap")}`),_=U.querySelectorAll(`.${u.be("suggestion","list")} li`);return[U,_]},ce=Mp(h,U=>{var _;if((_=f.value)!=null&&_.isFocusInsideContent())return;const Q=v;v=!1,x.value&&(Q?B(new FocusEvent("blur",U)):H())}),oe=U=>{switch(Ft(U)){case Ce.up:U.preventDefault(),re(g.value-1);break;case Ce.down:U.preventDefault(),re(g.value+1);break;case Ce.enter:case Ce.numpadEnter:U.preventDefault(),z();break;case Ce.tab:H();break;case Ce.esc:Y(U);break;case Ce.home:U.preventDefault(),re(0);break;case Ce.end:U.preventDefault(),re(p.value.length-1);break;case Ce.pageUp:U.preventDefault(),re(Math.max(0,g.value-10));break;case Ce.pageDown:U.preventDefault(),re(Math.min(p.value.length-1,g.value+10));break}};return Pt(()=>{ce==null||ce()}),ft(()=>{var U;const _=(U=c.value)==null?void 0:U.ref;_&&([{key:"role",value:"textbox"},{key:"aria-autocomplete",value:"list"},{key:"aria-controls",value:k.value},{key:"aria-activedescendant",value:`${k.value}-item-${g.value}`}].forEach(({key:Q,value:ie})=>_.setAttribute(Q,ie)),m=_.hasAttribute("readonly"))}),t({highlightedIndex:g,activated:C,loading:y,inputRef:c,popperRef:f,suggestions:p,handleSelect:se,handleKeyEnter:z,focus:X,blur:J,close:H,highlight:re,getData:O}),(U,_)=>(T(),le(i(xn),{ref_key:"popperRef",ref:f,visible:x.value,placement:e.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[i(u).e("popper"),e.popperClass],"popper-style":e.popperStyle,teleported:e.teleported,"append-to":e.appendTo,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${i(u).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:I,onHide:A},{content:ee(()=>[j("div",{ref_key:"regionRef",ref:d,class:P([i(u).b("suggestion"),i(u).is("loading",$.value)]),style:je({[e.fitInputWidth?"width":"minWidth"]:b.value,outline:"none"}),role:"region"},[U.$slots.header?(T(),F("div",{key:0,class:P(i(u).be("suggestion","header")),onClick:_[0]||(_[0]=Je(()=>{},["stop"]))},[te(U.$slots,"header")],2)):ne("v-if",!0),q(i(Wl),{id:i(k),tag:"ul","wrap-class":i(u).be("suggestion","wrap"),"view-class":i(u).be("suggestion","list"),role:"listbox"},{default:ee(()=>[$.value?(T(),F("li",uA,[te(U.$slots,"loading",{},()=>[q(i(_e),{class:P(i(u).is("loading"))},{default:ee(()=>[q(i(wo))]),_:1},8,["class"])])])):(T(!0),F(ze,{key:1},gt(p.value,(Q,ie)=>(T(),F("li",{id:`${i(k)}-item-${ie}`,key:ie,class:P({highlighted:g.value===ie}),role:"option","aria-selected":g.value===ie,onClick:he=>se(Q)},[te(U.$slots,"default",{item:Q},()=>[bt(ke(Q[e.valueKey]),1)])],10,cA))),128))]),_:3},8,["id","wrap-class","view-class"]),U.$slots.footer?(T(),F("div",{key:1,class:P(i(u).be("suggestion","footer")),onClick:_[1]||(_[1]=Je(()=>{},["stop"]))},[te(U.$slots,"footer")],2)):ne("v-if",!0)],6)]),default:ee(()=>[j("div",{ref_key:"listboxRef",ref:h,class:P([i(u).b(),U.$attrs.class]),style:je(E.value),role:"combobox","aria-haspopup":"listbox","aria-expanded":x.value,"aria-owns":i(k)},[q(i(Un),ut({ref_key:"inputRef",ref:c},ut(a.value,U.$attrs),{"model-value":e.modelValue,disabled:i(r),onInput:Z,onChange:M,onFocus:N,onBlur:B,onClear:V,onKeydown:oe,onMousedown:W}),ll({_:2},[U.$slots.prepend?{name:"prepend",fn:ee(()=>[te(U.$slots,"prepend")]),key:"0"}:void 0,U.$slots.append?{name:"append",fn:ee(()=>[te(U.$slots,"append")]),key:"1"}:void 0,U.$slots.prefix?{name:"prefix",fn:ee(()=>[te(U.$slots,"prefix")]),key:"2"}:void 0,U.$slots.suffix?{name:"suffix",fn:ee(()=>[te(U.$slots,"suffix")]),key:"3"}:void 0]),1040,["model-value","disabled"])],14,iA)]),_:3},8,["visible","placement","popper-class","popper-style","teleported","append-to","transition"]))}});const fA=ot(dA),vA=Se({size:{type:[Number,String],values:Ql,validator:e=>We(e)},shape:{type:String,values:["circle","square"]},icon:{type:_t},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:G(String),default:"cover"}}),pA={error:e=>e instanceof Event},Q1=Symbol("avatarGroupContextKey"),hA=["src","alt","srcset"];var eC=ae({name:"ElAvatar",__name:"avatar",props:vA,emits:pA,setup(e,{emit:t}){const n=e,l=t,o=Le(Q1,void 0),a=me("avatar"),s=L(!1),r=S(()=>{var m;return(m=n.size)!=null?m:o==null?void 0:o.size}),u=S(()=>{var m,v;return(v=(m=n.shape)!=null?m:o==null?void 0:o.shape)!=null?v:"circle"}),c=S(()=>{const{icon:m}=n,v=[a.b()];return Ve(r.value)&&v.push(a.m(r.value)),m&&v.push(a.m("icon")),u.value&&v.push(a.m(u.value)),v}),d=S(()=>We(r.value)?a.cssVarBlock({size:tn(r.value)}):void 0),f=S(()=>({objectFit:n.fit}));ue(()=>[n.src,n.srcSet],()=>s.value=!1);function h(m){s.value=!0,l("error",m)}return(m,v)=>(T(),F("span",{class:P(c.value),style:je(d.value)},[(e.src||e.srcSet)&&!s.value?(T(),F("img",{key:0,src:e.src,alt:e.alt,srcset:e.srcSet,style:je(f.value),onError:h},null,44,hA)):e.icon?(T(),le(i(_e),{key:1},{default:ee(()=>[(T(),le(rt(e.icon)))]),_:1})):te(m.$slots,"default",{key:2})],6))}});const mA={size:{type:G([Number,String]),values:Ql,validator:e=>We(e)},shape:{type:G(String),values:["circle","square"]},collapseAvatars:Boolean,collapseAvatarsTooltip:Boolean,maxCollapseAvatars:{type:Number,default:1},effect:{type:G(String),default:"light"},placement:{type:G(String),values:xo,default:"top"},popperClass:Bt.popperClass,popperStyle:Bt.popperStyle,collapseClass:String,collapseStyle:{type:G([String,Array,Object])}};var tC=ae({name:"ElAvatarGroup",props:mA,setup(e,{slots:t}){const n=me("avatar-group");return yt(Q1,Nt({size:Lt(e,"size"),shape:Lt(e,"shape")})),()=>{var l,o;const a=bl((o=(l=t.default)==null?void 0:l.call(t))!=null?o:[]);let s=a;if(e.collapseAvatars&&a.length>e.maxCollapseAvatars){s=a.slice(0,e.maxCollapseAvatars);const u=a.slice(e.maxCollapseAvatars);s.push(q(xn,{popperClass:e.popperClass,popperStyle:e.popperStyle,placement:e.placement,effect:e.effect,disabled:!e.collapseAvatarsTooltip},{default:()=>q(eC,{size:e.size,shape:e.shape,class:e.collapseClass,style:e.collapseStyle},{default:()=>[bt("+ "),u.length]}),content:()=>q("div",{class:n.e("collapse-avatars")},[u.map((c,d)=>{var f;return zt(c)?mo(c,{key:(f=c.key)!=null?f:d}):c})])}))}return q("div",{class:n.b()},[s])}}});const gA=ot(eC,{AvatarGroup:tC}),bA=Xt(tC),yA={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},wA={click:e=>e instanceof MouseEvent},CA=(e,t,n)=>{const l=Wt(),o=Wt(),a=L(!1),s=()=>{l.value&&(a.value=l.value.scrollTop>=e.visibilityHeight)},r=c=>{var d;(d=l.value)==null||d.scrollTo({top:0,behavior:"smooth"}),t("click",c)},u=Qw(s,300,!0);return At(o,"scroll",u),ft(()=>{var c;o.value=document,l.value=document.documentElement,e.target&&(l.value=(c=document.querySelector(e.target))!=null?c:void 0,l.value||pn(n,`target does not exist: ${e.target}`),o.value=l.value),s()}),{visible:a,handleClick:r}},tb="ElBacktop";var SA=ae({name:tb,__name:"backtop",props:yA,emits:wA,setup(e,{emit:t}){const n=e,l=t,o=me("backtop"),{handleClick:a,visible:s}=CA(n,l,tb),r=S(()=>({right:`${n.right}px`,bottom:`${n.bottom}px`}));return(u,c)=>(T(),le(In,{name:`${i(o).namespace.value}-fade-in`},{default:ee(()=>[i(s)?(T(),F("div",{key:0,style:je(r.value),class:P(i(o).b()),onClick:c[0]||(c[0]=Je((...d)=>i(a)&&i(a)(...d),["stop"]))},[te(u.$slots,"default",{},()=>[q(i(_e),{class:P(i(o).e("icon"))},{default:ee(()=>[q(i(NP))]),_:1},8,["class"])])],6)):ne("v-if",!0)]),_:3},8,["name"]))}});const kA=ot(SA),EA=Se({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:G([String,Object,Array])},offset:{type:G(Array),default:()=>[0,0]},badgeClass:{type:String}});var xA=ae({name:"ElBadge",__name:"badge",props:EA,setup(e,{expose:t}){const n=e,l=me("badge"),o=S(()=>n.isDot?"":We(n.value)&&We(n.max)?n.max{var s;return[{backgroundColor:n.color,marginRight:tn(-n.offset[0]),marginTop:tn(n.offset[1])},(s=n.badgeStyle)!=null?s:{}]});return t({content:o}),(s,r)=>(T(),F("div",{class:P(i(l).b())},[te(s.$slots,"default"),q(In,{name:`${i(l).namespace.value}-zoom-in-center`},{default:ee(()=>[!e.hidden&&(o.value||e.isDot||s.$slots.content)?(T(),F("sup",{key:0,class:P([i(l).e("content"),i(l).em("content",e.type),i(l).is("fixed",!!s.$slots.default),i(l).is("dot",e.isDot),i(l).is("hide-zero",!e.showZero&&e.value===0),e.badgeClass]),style:je(a.value)},[te(s.$slots,"content",{value:o.value},()=>[bt(ke(o.value),1)])],6)):ne("v-if",!0)]),_:3},8,["name"])],2))}});const nC=ot(xA),TA=Se({separator:{type:String,default:"/"},separatorIcon:{type:_t}}),lC=Symbol("breadcrumbKey"),$A=["aria-label"];var OA=ae({name:"ElBreadcrumb",__name:"breadcrumb",props:TA,setup(e){const{t}=wt(),n=e,l=me("breadcrumb"),o=L();return yt(lC,n),ft(()=>{const a=o.value.querySelectorAll(`.${l.e("item")}`);a.length&&a[a.length-1].setAttribute("aria-current","page")}),(a,s)=>(T(),F("div",{ref_key:"breadcrumb",ref:o,class:P(i(l).b()),"aria-label":i(t)("el.breadcrumb.label"),role:"navigation"},[te(a.$slots,"default")],10,$A))}});const NA=Se({to:{type:G([String,Object]),default:""},replace:Boolean});var oC=ae({name:"ElBreadcrumbItem",__name:"breadcrumb-item",props:NA,setup(e){const t=e,n=ct(),l=Le(lC,void 0),o=me("breadcrumb"),a=n.appContext.config.globalProperties.$router,s=()=>{!t.to||!a||(t.replace?a.replace(t.to):a.push(t.to))};return(r,u)=>{var c,d;return T(),F("span",{class:P(i(o).e("item"))},[j("span",{class:P([i(o).e("inner"),i(o).is("link",!!e.to)]),role:"link",onClick:s},[te(r.$slots,"default")],2),(c=i(l))!=null&&c.separatorIcon?(T(),le(i(_e),{key:0,class:P(i(o).e("separator"))},{default:ee(()=>[(T(),le(rt(i(l).separatorIcon)))]),_:1},8,["class"])):(T(),F("span",{key:1,class:P(i(o).e("separator")),role:"presentation"},ke((d=i(l))==null?void 0:d.separator),3))],2)}}});const IA=ot(OA,{BreadcrumbItem:oC}),MA=Xt(oC),qf=["default","primary","success","warning","info","danger","text",""],PA=["button","submit","reset"],Gf=Se({size:gn,disabled:{type:Boolean,default:void 0},type:{type:String,values:qf,default:""},icon:{type:_t},nativeType:{type:String,values:PA,default:"button"},loading:Boolean,loadingIcon:{type:_t,default:()=>wo},plain:{type:Boolean,default:void 0},text:{type:Boolean,default:void 0},link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,dashed:{type:Boolean,default:void 0},color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:G([String,Object]),default:"button"}}),RA={click:e=>e instanceof MouseEvent},aC=Symbol("buttonGroupContextKey"),po=({from:e,replacement:t,scope:n,version:l,ref:o,type:a="API"},s)=>{ue(()=>i(s),r=>{},{immediate:!0})},AA=(e,t)=>{po({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},S(()=>e.type==="text"));const n=Le(aC,void 0),l=na("button"),{form:o}=$n(),a=hn(S(()=>n==null?void 0:n.size)),s=nn(),r=L(),u=rn(),c=S(()=>{var C;return e.type||(n==null?void 0:n.type)||((C=l.value)==null?void 0:C.type)||""}),d=S(()=>{var C,w,y;return(y=(w=e.autoInsertSpace)!=null?w:(C=l.value)==null?void 0:C.autoInsertSpace)!=null?y:!1}),f=S(()=>{var C,w,y;return(y=(w=e.plain)!=null?w:(C=l.value)==null?void 0:C.plain)!=null?y:!1}),h=S(()=>{var C,w,y;return(y=(w=e.round)!=null?w:(C=l.value)==null?void 0:C.round)!=null?y:!1}),m=S(()=>{var C,w,y;return(y=(w=e.text)!=null?w:(C=l.value)==null?void 0:C.text)!=null?y:!1}),v=S(()=>{var C,w,y;return(y=(w=e.dashed)!=null?w:(C=l.value)==null?void 0:C.dashed)!=null?y:!1}),p=S(()=>e.tag==="button"?{ariaDisabled:s.value||e.loading,disabled:s.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),g=S(()=>{var C;const w=(C=u.default)==null?void 0:C.call(u);if(d.value&&(w==null?void 0:w.length)===1){const y=w[0];if((y==null?void 0:y.type)===vr){const k=y.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(k.trim())}}return!1});return{_disabled:s,_size:a,_type:c,_ref:r,_props:p,_plain:f,_round:h,_text:m,_dashed:v,shouldAddSpace:g,handleClick:C=>{if(s.value||e.loading){C.stopPropagation();return}e.nativeType==="reset"&&(o==null||o.resetFields()),t("click",C)}}};function Dn(e,t){LA(e)&&(e="100%");var n=DA(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Eu(e){return Math.min(1,Math.max(0,e))}function LA(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function DA(e){return typeof e=="string"&&e.indexOf("%")!==-1}function sC(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function xu(e){return e<=1?"".concat(Number(e)*100,"%"):e}function qa(e){return e.length===1?"0"+e:String(e)}function BA(e,t,n){return{r:Dn(e,255)*255,g:Dn(t,255)*255,b:Dn(n,255)*255}}function nb(e,t,n){e=Dn(e,255),t=Dn(t,255),n=Dn(n,255);var l=Math.max(e,t,n),o=Math.min(e,t,n),a=0,s=0,r=(l+o)/2;if(l===o)s=0,a=0;else{var u=l-o;switch(s=r>.5?u/(2-l-o):u/(l+o),l){case e:a=(t-n)/u+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function VA(e,t,n){var l,o,a;if(e=Dn(e,360),t=Dn(t,100),n=Dn(n,100),t===0)o=n,a=n,l=n;else{var s=n<.5?n*(1+t):n+t-n*t,r=2*n-s;l=Qd(r,s,e+1/3),o=Qd(r,s,e),a=Qd(r,s,e-1/3)}return{r:l*255,g:o*255,b:a*255}}function lb(e,t,n){e=Dn(e,255),t=Dn(t,255),n=Dn(n,255);var l=Math.max(e,t,n),o=Math.min(e,t,n),a=0,s=l,r=l-o,u=l===0?0:r/l;if(l===o)a=0;else{switch(l){case e:a=(t-n)/r+(t>16,g:(e&65280)>>8,b:e&255}}var Xf={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function KA(e){var t={r:0,g:0,b:0},n=1,l=null,o=null,a=null,s=!1,r=!1;return typeof e=="string"&&(e=YA(e)),typeof e=="object"&&(Io(e.r)&&Io(e.g)&&Io(e.b)?(t=BA(e.r,e.g,e.b),s=!0,r=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Io(e.h)&&Io(e.s)&&Io(e.v)?(l=xu(e.s),o=xu(e.v),t=_A(e.h,l,o),s=!0,r="hsv"):Io(e.h)&&Io(e.s)&&Io(e.l)&&(l=xu(e.s),a=xu(e.l),t=VA(e.h,l,a),s=!0,r="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=sC(n),{ok:s,format:e.format||r,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var WA="[-\\+]?\\d+%?",jA="[-\\+]?\\d*\\.\\d+%?",ya="(?:".concat(jA,")|(?:").concat(WA,")"),ef="[\\s|\\(]+(".concat(ya,")[,|\\s]+(").concat(ya,")[,|\\s]+(").concat(ya,")\\s*\\)?"),tf="[\\s|\\(]+(".concat(ya,")[,|\\s]+(").concat(ya,")[,|\\s]+(").concat(ya,")[,|\\s]+(").concat(ya,")\\s*\\)?"),Ll={CSS_UNIT:new RegExp(ya),rgb:new RegExp("rgb"+ef),rgba:new RegExp("rgba"+tf),hsl:new RegExp("hsl"+ef),hsla:new RegExp("hsla"+tf),hsv:new RegExp("hsv"+ef),hsva:new RegExp("hsva"+tf),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function YA(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Xf[e])e=Xf[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ll.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ll.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ll.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Ll.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ll.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Ll.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ll.hex8.exec(e),n?{r:pl(n[1]),g:pl(n[2]),b:pl(n[3]),a:ab(n[4]),format:t?"name":"hex8"}:(n=Ll.hex6.exec(e),n?{r:pl(n[1]),g:pl(n[2]),b:pl(n[3]),format:t?"name":"hex"}:(n=Ll.hex4.exec(e),n?{r:pl(n[1]+n[1]),g:pl(n[2]+n[2]),b:pl(n[3]+n[3]),a:ab(n[4]+n[4]),format:t?"name":"hex8"}:(n=Ll.hex3.exec(e),n?{r:pl(n[1]+n[1]),g:pl(n[2]+n[2]),b:pl(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Io(e){return!!Ll.CSS_UNIT.exec(String(e))}var As=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var l;if(t instanceof e)return t;typeof t=="number"&&(t=HA(t)),this.originalInput=t;var o=KA(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(l=n.format)!==null&&l!==void 0?l:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,l,o,a=t.r/255,s=t.g/255,r=t.b/255;return a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),s<=.03928?l=s/12.92:l=Math.pow((s+.055)/1.055,2.4),r<=.03928?o=r/12.92:o=Math.pow((r+.055)/1.055,2.4),.2126*n+.7152*l+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=sC(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=lb(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=lb(this.r,this.g,this.b),n=Math.round(t.h*360),l=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(l,"%, ").concat(o,"%)"):"hsva(".concat(n,", ").concat(l,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=nb(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=nb(this.r,this.g,this.b),n=Math.round(t.h*360),l=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(l,"%, ").concat(o,"%)"):"hsla(".concat(n,", ").concat(l,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),ob(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),FA(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),l=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(l,")"):"rgba(".concat(t,", ").concat(n,", ").concat(l,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Dn(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Dn(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+ob(this.r,this.g,this.b,!1),n=0,l=Object.entries(Xf);n=0,a=!n&&o&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(l=this.toRgbString()),t==="prgb"&&(l=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(l=this.toHexString()),t==="hex3"&&(l=this.toHexString(!0)),t==="hex4"&&(l=this.toHex8String(!0)),t==="hex8"&&(l=this.toHex8String()),t==="name"&&(l=this.toName()),t==="hsl"&&(l=this.toHslString()),t==="hsv"&&(l=this.toHsvString()),l||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Eu(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Eu(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Eu(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Eu(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),l=(n.h+t)%360;return n.h=l<0?360+l:l,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var l=this.toRgb(),o=new e(t).toRgb(),a=n/100,s={r:(o.r-l.r)*a+l.r,g:(o.g-l.g)*a+l.g,b:(o.b-l.b)*a+l.b,a:(o.a-l.a)*a+l.a};return new e(s)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var l=this.toHsl(),o=360/n,a=[this];for(l.h=(l.h-(o*t>>1)+720)%360;--t;)l.h=(l.h+o)%360,a.push(new e(l));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),l=n.h,o=n.s,a=n.v,s=[],r=1/t;t--;)s.push(new e({h:l,s:o,v:a})),a=(a+r)%1;return s},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),l=new e(t).toRgb(),o=n.a+l.a*(1-n.a);return new e({r:(n.r*n.a+l.r*l.a*(1-n.a))/o,g:(n.g*n.a+l.g*l.a*(1-n.a))/o,b:(n.b*n.a+l.b*l.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),l=n.h,o=[this],a=360/t,s=1;s{let l={},o=e.color;if(o){const a=o.match(/var\((.*?)\)/);a&&(o=window.getComputedStyle(window.document.documentElement).getPropertyValue(a[1]));const s=new As(o),r=e.dark?s.tint(20).toString():ia(s,20);if(e.plain)l=n.cssVarBlock({"bg-color":e.dark?ia(s,90):s.tint(90).toString(),"text-color":o,"border-color":e.dark?ia(s,50):s.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":o,"hover-border-color":o,"active-bg-color":r,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":r}),t.value&&(l[n.cssVarBlockName("disabled-bg-color")]=e.dark?ia(s,90):s.tint(90).toString(),l[n.cssVarBlockName("disabled-text-color")]=e.dark?ia(s,50):s.tint(50).toString(),l[n.cssVarBlockName("disabled-border-color")]=e.dark?ia(s,80):s.tint(80).toString());else{const u=e.dark?ia(s,30):s.tint(30).toString(),c=s.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(l=n.cssVarBlock({"bg-color":o,"text-color":c,"border-color":o,"hover-bg-color":u,"hover-text-color":c,"hover-border-color":u,"active-bg-color":r,"active-border-color":r}),t.value){const d=e.dark?ia(s,50):s.tint(50).toString();l[n.cssVarBlockName("disabled-bg-color")]=d,l[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,l[n.cssVarBlockName("disabled-border-color")]=d}}}return l})}var qA=ae({name:"ElButton",__name:"button",props:Gf,emits:RA,setup(e,{expose:t,emit:n}){const l=e,o=n,a=UA(l),s=me("button"),{_ref:r,_size:u,_type:c,_disabled:d,_props:f,_plain:h,_round:m,_text:v,_dashed:p,shouldAddSpace:g,handleClick:b}=AA(l,o),C=S(()=>[s.b(),s.m(c.value),s.m(u.value),s.is("disabled",d.value),s.is("loading",l.loading),s.is("plain",h.value),s.is("round",m.value),s.is("circle",l.circle),s.is("text",v.value),s.is("dashed",p.value),s.is("link",l.link),s.is("has-bg",l.bg)]);return t({ref:r,size:u,type:c,disabled:d,shouldAddSpace:g}),(w,y)=>(T(),le(rt(e.tag),ut({ref_key:"_ref",ref:r},i(f),{class:C.value,style:i(a),onClick:i(b)}),{default:ee(()=>[e.loading?(T(),F(ze,{key:0},[w.$slots.loading?te(w.$slots,"loading",{key:0}):(T(),le(i(_e),{key:1,class:P(i(s).is("loading"))},{default:ee(()=>[(T(),le(rt(e.loadingIcon)))]),_:1},8,["class"]))],64)):e.icon||w.$slots.icon?(T(),le(i(_e),{key:1},{default:ee(()=>[e.icon?(T(),le(rt(e.icon),{key:0})):te(w.$slots,"icon",{key:1})]),_:3})):ne("v-if",!0),w.$slots.default?(T(),F("span",{key:2,class:P({[i(s).em("text","expand")]:i(g)})},[te(w.$slots,"default")],2)):ne("v-if",!0)]),_:3},16,["class","style","onClick"]))}});const GA={size:Gf.size,type:Gf.type,direction:{type:G(String),values:["horizontal","vertical"],default:"horizontal"}};var rC=ae({name:"ElButtonGroup",__name:"button-group",props:GA,setup(e){const t=e;yt(aC,Nt({size:Lt(t,"size"),type:Lt(t,"type")}));const n=me("button");return(l,o)=>(T(),F("div",{class:P([i(n).b("group"),i(n).bm("group",t.direction)])},[te(l.$slots,"default")],2))}});const Cn=ot(qA,{ButtonGroup:rC}),iC=Xt(rC),XA=e=>ye(e)&&e.length===2&&e.every(t=>xa(t)),ZA=Se({modelValue:{type:Date},range:{type:G(Array),validator:XA},controllerType:{type:String,values:["button","select"],default:"button"},formatter:{type:G(Function)}}),JA={[et]:e=>xa(e),[vn]:e=>xa(e)};var oa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function aa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var uC={exports:{}};(function(e,t){(function(n,l){e.exports=l()})(oa,function(){var n=1e3,l=6e4,o=36e5,a="millisecond",s="second",r="minute",u="hour",c="day",d="week",f="month",h="quarter",m="year",v="date",p="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(K){var Z=["th","st","nd","rd"],W=K%100;return"["+K+(Z[(W-20)%10]||Z[W]||Z[0])+"]"}},w=function(K,Z,W){var M=String(K);return!M||M.length>=Z?K:""+Array(Z+1-M.length).join(W)+K},y={s:w,z:function(K){var Z=-K.utcOffset(),W=Math.abs(Z),M=Math.floor(W/60),N=W%60;return(Z<=0?"+":"-")+w(M,2,"0")+":"+w(N,2,"0")},m:function K(Z,W){if(Z.date()1)return K(V[0])}else{var z=Z.name;E[z]=Z,N=z}return!M&&N&&(k=N),N||!M&&k},I=function(K,Z){if($(K))return K.clone();var W=typeof Z=="object"?Z:{};return W.date=K,W.args=arguments,new O(W)},A=y;A.l=R,A.i=$,A.w=function(K,Z){return I(K,{locale:Z.$L,utc:Z.$u,x:Z.$x,$offset:Z.$offset})};var O=function(){function K(W){this.$L=R(W.locale,null,!0),this.parse(W),this.$x=this.$x||W.x||{},this[x]=!0}var Z=K.prototype;return Z.parse=function(W){this.$d=function(M){var N=M.date,B=M.utc;if(N===null)return new Date(NaN);if(A.u(N))return new Date;if(N instanceof Date)return new Date(N);if(typeof N=="string"&&!/Z$/i.test(N)){var V=N.match(g);if(V){var z=V[2]-1||0,Y=(V[7]||"0").substring(0,3);return B?new Date(Date.UTC(V[1],z,V[3]||1,V[4]||0,V[5]||0,V[6]||0,Y)):new Date(V[1],z,V[3]||1,V[4]||0,V[5]||0,V[6]||0,Y)}}return new Date(N)}(W),this.init()},Z.init=function(){var W=this.$d;this.$y=W.getFullYear(),this.$M=W.getMonth(),this.$D=W.getDate(),this.$W=W.getDay(),this.$H=W.getHours(),this.$m=W.getMinutes(),this.$s=W.getSeconds(),this.$ms=W.getMilliseconds()},Z.$utils=function(){return A},Z.isValid=function(){return this.$d.toString()!==p},Z.isSame=function(W,M){var N=I(W);return this.startOf(M)<=N&&N<=this.endOf(M)},Z.isAfter=function(W,M){return I(W)[e>0?e-1:void 0,e,eArray.from(Array.from({length:e}).keys()),cC=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),dC=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),sb=function(e,t){const n=xa(e),l=xa(t);return n&&l?e.getTime()===t.getTime():!n&&!l?e===t:!1},fC=function(e,t){const n=ye(e),l=ye(t);return n&&l?e.length!==t.length?!1:e.every((o,a)=>sb(o,t[a])):!n&&!l?sb(e,t):!1},rb=function(e,t,n){const l=tl(t)||t==="x"?lt(e).locale(n):lt(e,t).locale(n);return l.isValid()?l:void 0},ib=function(e,t,n){return tl(t)?e:t==="x"?+e:lt(e).locale(n).format(t)},lf=(e,t)=>{var n;const l=[],o=t==null?void 0:t();for(let a=0;aye(e)?e.map(t=>t.toDate()):e.toDate(),eL=(e,t)=>{const n=e.subtract(1,"month").endOf("month").date();return Ea(t).map((l,o)=>n-(t-o-1))},tL=e=>{const t=e.daysInMonth();return Ea(t).map((n,l)=>l+1)},nL=e=>Ea(e.length/7).map(t=>{const n=t*7;return e.slice(n,n+7)}),lL=Se({selectedDay:{type:G(Object)},range:{type:G(Array)},date:{type:G(Object),required:!0},hideHeader:{type:Boolean}}),oL={pick:e=>nt(e)};var vC={exports:{}};(function(e,t){(function(n,l){e.exports=l()})(oa,function(){return function(n,l,o){var a=l.prototype,s=function(f){return f&&(f.indexOf?f:f.s)},r=function(f,h,m,v,p){var g=f.name?f:f.$locale(),b=s(g[h]),C=s(g[m]),w=b||C.map(function(k){return k.slice(0,v)});if(!p)return w;var y=g.weekStart;return w.map(function(k,E){return w[(E+(y||0))%7]})},u=function(){return o.Ls[o.locale()]},c=function(f,h){return f.formats[h]||function(m){return m.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(v,p,g){return p||g.slice(1)})}(f.formats[h.toUpperCase()])},d=function(){var f=this;return{months:function(h){return h?h.format("MMMM"):r(f,"months")},monthsShort:function(h){return h?h.format("MMM"):r(f,"monthsShort","months",3)},firstDayOfWeek:function(){return f.$locale().weekStart||0},weekdays:function(h){return h?h.format("dddd"):r(f,"weekdays")},weekdaysMin:function(h){return h?h.format("dd"):r(f,"weekdaysMin","weekdays",2)},weekdaysShort:function(h){return h?h.format("ddd"):r(f,"weekdaysShort","weekdays",3)},longDateFormat:function(h){return c(f.$locale(),h)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};a.localeData=function(){return d.bind(this)()},o.localeData=function(){var f=u();return{firstDayOfWeek:function(){return f.weekStart||0},weekdays:function(){return o.weekdays()},weekdaysShort:function(){return o.weekdaysShort()},weekdaysMin:function(){return o.weekdaysMin()},months:function(){return o.months()},monthsShort:function(){return o.monthsShort()},longDateFormat:function(h){return c(f,h)},meridiem:f.meridiem,ordinal:f.ordinal}},o.months=function(){return r(u(),"months")},o.monthsShort=function(){return r(u(),"monthsShort","months",3)},o.weekdays=function(f){return r(u(),"weekdays",null,null,f)},o.weekdaysShort=function(f){return r(u(),"weekdaysShort","weekdays",3,f)},o.weekdaysMin=function(f){return r(u(),"weekdaysMin","weekdays",2,f)}}})})(vC);var aL=vC.exports;const pC=aa(aL),sL=["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"],of=["sun","mon","tue","wed","thu","fri","sat"],rL=(e,t)=>{lt.extend(pC);const n=lt.localeData().firstDayOfWeek(),{t:l,lang:o}=wt(),a=lt().locale(o.value),s=S(()=>!!e.range&&!!e.range.length),r=S(()=>{let h=[];if(s.value){const[m,v]=e.range,p=Ea(v.date()-m.date()+1).map(C=>({text:m.date()+C,type:"current"}));let g=p.length%7;g=g===0?0:7-g;const b=Ea(g).map((C,w)=>({text:w+1,type:"next"}));h=p.concat(b)}else{const m=e.date.startOf("month").day(),v=eL(e.date,(m-n+7)%7).map(C=>({text:C,type:"prev"})),p=tL(e.date).map(C=>({text:C,type:"current"}));h=[...v,...p];const g=7-(h.length%7||7),b=Ea(g).map((C,w)=>({text:w+1,type:"next"}));h=h.concat(b)}return nL(h)}),u=S(()=>{const h=n;return h===0?of.map(m=>l(`el.datepicker.weeks.${m}`)):of.slice(h).concat(of.slice(0,h)).map(m=>l(`el.datepicker.weeks.${m}`))}),c=(h,m)=>{switch(m){case"prev":return e.date.startOf("month").subtract(1,"month").date(h);case"next":return e.date.startOf("month").add(1,"month").date(h);case"current":return e.date.date(h)}};return{now:a,isInRange:s,rows:r,weekDays:u,getFormattedDate:c,handlePickDay:({text:h,type:m})=>{const v=c(h,m);t("pick",v)},getSlotData:({text:h,type:m})=>{const v=c(h,m);return{isSelected:v.isSame(e.selectedDay),type:`${m}-month`,day:v.format("YYYY-MM-DD"),date:v.toDate()}}}},iL={key:0},uL=["onClick"];var ub=ae({name:"DateTable",__name:"date-table",props:lL,emits:oL,setup(e,{expose:t,emit:n}){const l=e,o=n,{isInRange:a,now:s,rows:r,weekDays:u,getFormattedDate:c,handlePickDay:d,getSlotData:f}=rL(l,o),h=me("calendar-table"),m=me("calendar-day"),v=({text:p,type:g})=>{const b=[g];if(g==="current"){const C=c(p,g);C.isSame(l.selectedDay,"day")&&b.push(m.is("selected")),C.isSame(s,"day")&&b.push(m.is("today"))}return b};return t({getFormattedDate:c}),(p,g)=>(T(),F("table",{class:P([i(h).b(),i(h).is("range",i(a))]),cellspacing:"0",cellpadding:"0"},[e.hideHeader?ne("v-if",!0):(T(),F("thead",iL,[j("tr",null,[(T(!0),F(ze,null,gt(i(u),b=>(T(),F("th",{key:b,scope:"col"},ke(b),1))),128))])])),j("tbody",null,[(T(!0),F(ze,null,gt(i(r),(b,C)=>(T(),F("tr",{key:C,class:P({[i(h).e("row")]:!0,[i(h).em("row","hide-border")]:C===0&&e.hideHeader})},[(T(!0),F(ze,null,gt(b,(w,y)=>(T(),F("td",{key:y,class:P(v(w)),onClick:k=>i(d)(w)},[j("div",{class:P(i(m).b())},[te(p.$slots,"date-cell",{data:i(f)(w)},()=>[j("span",null,ke(w.text),1)])],2)],10,uL))),128))],2))),128))])],2))}});const cL=(e,t)=>{const n=e.endOf("month"),l=t.startOf("month"),a=n.isSame(l,"week")?l.add(1,"week"):l;return[[e,n],[a.startOf("week"),t]]},dL=(e,t)=>{const n=e.endOf("month"),l=e.add(1,"month").startOf("month"),o=n.isSame(l,"week")?l.add(1,"week"):l,a=o.endOf("month"),s=t.startOf("month"),r=a.isSame(s,"week")?s.add(1,"week"):s;return[[e,n],[o.startOf("week"),a],[r.startOf("week"),t]]},fL=(e,t,n)=>{const{lang:l}=wt(),o=L(),a=lt().locale(l.value),s=S({get(){return e.modelValue?u.value:o.value},set(b){if(!b)return;o.value=b;const C=b.toDate();t(vn,C),t(et,C)}}),r=S(()=>{if(!e.range||!ye(e.range)||e.range.length!==2||e.range.some(y=>!xa(y)))return[];const b=e.range.map(y=>lt(y).locale(l.value)),[C,w]=b;return C.isAfter(w)?[]:C.isSame(w,"month")?m(C,w):C.add(1,"month").month()!==w.month()?[]:m(C,w)}),u=S(()=>e.modelValue?lt(e.modelValue).locale(l.value):s.value||(r.value.length?r.value[0][0]:a)),c=S(()=>u.value.subtract(1,"month").date(1)),d=S(()=>u.value.add(1,"month").date(1)),f=S(()=>u.value.subtract(1,"year").date(1)),h=S(()=>u.value.add(1,"year").date(1)),m=(b,C)=>{const w=b.startOf("week"),y=C.endOf("week"),k=w.get("month"),E=y.get("month");return k===E?[[w,y]]:(k+1)%12===E?cL(w,y):k+2===E||(k+1)%11===E?dL(w,y):[]},v=b=>{s.value=b},p=b=>{const w={"prev-month":c.value,"next-month":d.value,"prev-year":f.value,"next-year":h.value,today:a}[b];w.isSame(u.value,"day")||v(w)};return{calculateValidatedDateRange:m,date:u,realSelectedDay:s,pickDay:v,selectDate:p,validatedRange:r,handleDateChange:b=>{b==="today"?p("today"):v(b)}}},vL=Se({date:{type:G(Object),required:!0},formatter:{type:G(Function)}}),pL={"date-change":e=>nt(e)||Ve(e)},Xo=Se({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:Ql},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),hL={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},mL=["aria-label"],gL=["aria-label"];var bL=ae({name:"ElTag",__name:"tag",props:Xo,emits:hL,setup(e,{emit:t}){const n=e,l=t,o=hn(),{t:a}=wt(),s=me("tag"),r=S(()=>{const{type:f,hit:h,effect:m,closable:v,round:p}=n;return[s.b(),s.is("closable",v),s.m(f||"primary"),s.m(o.value),s.m(m),s.is("hit",h),s.is("round",p)]}),u=f=>{l("close",f)},c=f=>{l("click",f)},d=f=>{var h,m,v;(v=(m=(h=f==null?void 0:f.component)==null?void 0:h.subTree)==null?void 0:m.component)!=null&&v.bum&&(f.component.subTree.component.bum=null)};return(f,h)=>e.disableTransitions?(T(),F("span",{key:0,class:P(r.value),style:je({backgroundColor:e.color}),onClick:c},[j("span",{class:P(i(s).e("content"))},[te(f.$slots,"default")],2),e.closable?(T(),F("button",{key:0,"aria-label":i(a)("el.tag.close"),class:P(i(s).e("close")),type:"button",onClick:Je(u,["stop"])},[q(i(_e),null,{default:ee(()=>[q(i(Ml))]),_:1})],10,mL)):ne("v-if",!0)],6)):(T(),le(In,{key:1,name:`${i(s).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:d},{default:ee(()=>[j("span",{class:P(r.value),style:je({backgroundColor:e.color}),onClick:c},[j("span",{class:P(i(s).e("content"))},[te(f.$slots,"default")],2),e.closable?(T(),F("button",{key:0,"aria-label":i(a)("el.tag.close"),class:P(i(s).e("close")),type:"button",onClick:Je(u,["stop"])},[q(i(_e),null,{default:ee(()=>[q(i(Ml))]),_:1})],10,gL)):ne("v-if",!0)],6)]),_:3},8,["name"]))}});const Ho=ot(bL),yc={label:"label",value:"value",disabled:"disabled",options:"options"};function eu(e){const t=L({...yc,...e.props});let n={...e.props};return ue(()=>e.props,r=>{Qt(r,n)||(t.value={...yc,...r},n={...r})},{deep:!0}),{aliasProps:t,getLabel:r=>fn(r,t.value.label),getValue:r=>fn(r,t.value.value),getDisabled:r=>fn(r,t.value.disabled),getOptions:r=>fn(r,t.value.options)}}const hC=Symbol("ElSelectGroup"),tu=Symbol("ElSelect"),Zf="ElOption",yL=Se({value:{type:[String,Number,Boolean,Object],required:!0},label:{type:[String,Number]},created:Boolean,disabled:Boolean}),Qp=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),ma=e=>Ri(e);function wL(e,t){const n=Le(tu);n||pn(Zf,"usage: ");const l=Le(hC,{disabled:!1}),o=S(()=>d(wn(n.props.modelValue),e.value)),a=S(()=>{var m;if(n.props.multiple){const v=wn((m=n.props.modelValue)!=null?m:[]);return!o.value&&v.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),s=S(()=>{var m;return(m=e.label)!=null?m:nt(e.value)?"":e.value}),r=S(()=>e.value||e.label||""),u=S(()=>e.disabled||t.groupDisabled||a.value),c=ct(),d=(m=[],v)=>{if(nt(e.value)){const p=n.props.valueKey;return m&&m.some(g=>Ht(fn(g,p))===fn(v,p))}else return m&&m.includes(v)},f=()=>{u.value||(n.states.hoveringIndex=n.optionsArray.indexOf(c.proxy))},h=m=>{const v=new RegExp(Qp(m),"i");t.visible=v.test(String(s.value))||e.created};return ue(()=>s.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),ue(()=>e.value,(m,v)=>{const{remote:p,valueKey:g}=n.props;if((p?m!==v:!Qt(m,v))&&(n.onOptionDestroy(v,c.proxy),n.onOptionCreate(c.proxy)),!e.created&&!p){if(g&&nt(m)&&nt(v)&&m[g]===v[g])return;n.setSelected()}}),ue(()=>l.disabled,()=>{t.groupDisabled=l.disabled},{immediate:!0}),{select:n,currentLabel:s,currentValue:r,itemSelected:o,isDisabled:u,hoverItem:f,updateOption:h}}var CL=ae({name:Zf,componentName:Zf,props:yL,setup(e){const t=me("select"),n=Mn(),l=S(()=>[t.be("dropdown","item"),t.is("disabled",i(r)),t.is("selected",i(s)),t.is("hovering",i(h))]),o=Nt({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:a,itemSelected:s,isDisabled:r,select:u,hoverItem:c,updateOption:d}=wL(e,o),{visible:f,hover:h}=kn(o),m=ct().proxy;u.onOptionCreate(m),Pt(()=>{const p=m.value;Re(()=>{const{selected:g}=u.states,b=g.some(C=>C.value===m.value);u.states.cachedOptions.get(p)===m&&!b&&u.states.cachedOptions.delete(p)}),u.onOptionDestroy(p,m)});function v(){r.value||u.handleOptionSelect(m)}return{ns:t,id:n,containerKls:l,currentLabel:a,itemSelected:s,isDisabled:r,select:u,visible:f,hover:h,states:o,hoverItem:c,updateOption:d,selectOptionClick:v}}});const SL=["id","aria-disabled","aria-selected"];function kL(e,t,n,l,o,a){return it((T(),F("li",{id:e.id,class:P(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMousemove:t[0]||(t[0]=(...s)=>e.hoverItem&&e.hoverItem(...s)),onClick:t[1]||(t[1]=Je((...s)=>e.selectOptionClick&&e.selectOptionClick(...s),["stop"]))},[te(e.$slots,"default",{},()=>[j("span",null,ke(e.currentLabel),1)])],42,SL)),[[$t,e.visible]])}var eh=bn(CL,[["render",kL]]);const md=11,mC=2;var EL=ae({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=Le(tu),t=me("select"),n=S(()=>e.props.popperClass),l=S(()=>e.props.multiple),o=S(()=>e.props.fitInputWidth),a=L("");function s(){var r;const u=(r=e.selectRef)==null?void 0:r.offsetWidth;u?a.value=`${u-mC}px`:a.value=""}return ft(()=>{s(),Yt(e.selectRef,s)}),{ns:t,minWidth:a,popperClass:n,isMultiple:l,isFitInputWidth:o}}});function xL(e,t,n,l,o,a){return T(),F("div",{class:P([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:je({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(T(),F("div",{key:0,class:P(e.ns.be("dropdown","header"))},[te(e.$slots,"header")],2)):ne("v-if",!0),te(e.$slots,"default"),e.$slots.footer?(T(),F("div",{key:1,class:P(e.ns.be("dropdown","footer"))},[te(e.$slots,"footer")],2)):ne("v-if",!0)],6)}var TL=bn(EL,[["render",xL]]);const $L=(e,t)=>{const{t:n}=wt(),l=rn(),o=Mn(),a=me("select"),s=me("input"),r=Nt({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),u=L(),c=L(),d=L(),f=L(),h=L(),m=L(),v=L(),p=L(),g=L(),b=L(),C=L(),w=L(!1),y=L(),k=L(!1),{form:E,formItem:x}=$n(),{inputId:$}=kl(e,{formItemContext:x}),{valueOnClear:R,isEmptyValue:I}=Yi(e),{isComposing:A,handleCompositionStart:O,handleCompositionUpdate:D,handleCompositionEnd:K}=Qi({afterComposition:Ee=>Et(Ee)}),Z=nn(),{wrapperRef:W,isFocused:M,handleBlur:N}=la(h,{disabled:Z,afterFocus(){e.automaticDropdown&&!w.value&&(w.value=!0,r.menuVisibleOnFocus=!0)},beforeBlur(Ee){var Qe,kt;return((Qe=d.value)==null?void 0:Qe.isFocusInsideContent(Ee))||((kt=f.value)==null?void 0:kt.isFocusInsideContent(Ee))},afterBlur(){var Ee;w.value=!1,r.menuVisibleOnFocus=!1,e.validateEvent&&((Ee=x==null?void 0:x.validate)==null||Ee.call(x,"blur").catch(Qe=>void 0))}}),B=S(()=>ye(e.modelValue)?e.modelValue.length>0:!I(e.modelValue)),V=S(()=>{var Ee;return(Ee=E==null?void 0:E.statusIcon)!=null?Ee:!1}),z=S(()=>e.clearable&&!Z.value&&B.value&&(M.value||r.inputHovering)),Y=S(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),H=S(()=>a.is("reverse",!!(Y.value&&w.value))),X=S(()=>(x==null?void 0:x.validateState)||""),J=S(()=>X.value&&dd[X.value]),se=S(()=>e.remote?e.debounce:0),re=S(()=>e.remote&&!r.inputValue&&r.options.size===0),fe=S(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&r.inputValue&&r.options.size>0&&ce.value===0?e.noMatchText||n("el.select.noMatch"):r.options.size===0?e.noDataText||n("el.select.noData"):null),ce=S(()=>oe.value.filter(Ee=>Ee.visible).length),oe=S(()=>{const Ee=Array.from(r.options.values()),Qe=[];return r.optionValues.forEach(kt=>{const qt=Ee.findIndex(on=>on.value===kt);qt>-1&&Qe.push(Ee[qt])}),Qe.length>=Ee.length?Qe:Ee}),U=S(()=>Array.from(r.cachedOptions.values())),_=S(()=>{const Ee=oe.value.filter(Qe=>!Qe.created).some(Qe=>Qe.currentLabel===r.inputValue);return e.filterable&&e.allowCreate&&r.inputValue!==""&&!Ee}),Q=()=>{e.filterable&&He(e.filterMethod)||e.filterable&&e.remote&&He(e.remoteMethod)||oe.value.forEach(Ee=>{var Qe;(Qe=Ee.updateOption)==null||Qe.call(Ee,r.inputValue)})},ie=hn(),he=S(()=>["small"].includes(ie.value)?"small":"default"),pe=S({get(){return w.value&&(e.loading||!re.value||e.remote&&!!l.empty)&&(!k.value||!tl(r.previousQuery))},set(Ee){w.value=Ee}}),be=S(()=>{if(e.multiple&&!St(e.modelValue))return wn(e.modelValue).length===0&&!r.inputValue;const Ee=ye(e.modelValue)?e.modelValue[0]:e.modelValue;return e.filterable||St(Ee)?!r.inputValue:!0}),$e=S(()=>{var Ee;const Qe=(Ee=e.placeholder)!=null?Ee:n("el.select.placeholder");return e.multiple||!B.value?Qe:r.selectedLabel}),Me=S(()=>mc?null:"mouseenter");ue(()=>e.modelValue,(Ee,Qe)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(r.inputValue="",Ne("")),Te(),!Qt(Ee,Qe)&&e.validateEvent&&(x==null||x.validate("change").catch(kt=>void 0))},{flush:"post",deep:!0}),ue(()=>w.value,Ee=>{Ee?Ne(r.inputValue):(r.inputValue="",r.previousQuery=null,r.isBeforeHide=!0,r.menuVisibleOnFocus=!1)}),ue(()=>r.options.entries(),()=>{Ot&&(Te(),e.defaultFirstOption&&(e.filterable||e.remote)&&ce.value&&ge())},{flush:"post"}),ue([()=>r.hoveringIndex,oe],([Ee])=>{We(Ee)&&Ee>-1?y.value=oe.value[Ee]||{}:y.value={},oe.value.forEach(Qe=>{Qe.hover=y.value===Qe})}),vl(()=>{r.isBeforeHide||Q()});const Ne=Ee=>{r.previousQuery===Ee||A.value||(r.previousQuery=Ee,e.filterable&&He(e.filterMethod)?e.filterMethod(Ee):e.filterable&&e.remote&&He(e.remoteMethod)&&e.remoteMethod(Ee),e.defaultFirstOption&&(e.filterable||e.remote)&&ce.value?Re(ge):Re(Pe))},ge=()=>{const Ee=oe.value.filter(on=>on.visible&&!on.disabled&&!on.states.groupDisabled),Qe=Ee.find(on=>on.created),kt=Ee[0],qt=oe.value.map(on=>on.value);r.hoveringIndex=Be(qt,Qe||kt)},Te=()=>{if(e.multiple)r.selectedLabel="";else{const Qe=ye(e.modelValue)?e.modelValue[0]:e.modelValue,kt=we(Qe);r.selectedLabel=kt.currentLabel,r.selected=[kt];return}const Ee=[];St(e.modelValue)||wn(e.modelValue).forEach(Qe=>{Ee.push(we(Qe))}),r.selected=Ee},we=Ee=>{let Qe;const kt=ti(Ee);for(let Bn=r.cachedOptions.size-1;Bn>=0;Bn--){const Pn=U.value[Bn];if(kt?fn(Pn.value,e.valueKey)===fn(Ee,e.valueKey):Pn.value===Ee){Qe={index:oe.value.filter(Oo=>!Oo.created).indexOf(Pn),value:Ee,currentLabel:Pn.currentLabel,get isDisabled(){return Pn.isDisabled}};break}}if(Qe)return Qe;const qt=kt?Ee.label:Ee??"";return{index:-1,value:Ee,currentLabel:qt}},Pe=()=>{const Ee=r.selected.length;if(Ee>0){const Qe=r.selected[Ee-1];r.hoveringIndex=oe.value.findIndex(kt=>On(Qe)===On(kt))}else r.hoveringIndex=-1},Fe=()=>{r.selectionWidth=Number.parseFloat(window.getComputedStyle(c.value).width)},Ze=()=>{r.collapseItemWidth=b.value.getBoundingClientRect().width},Oe=()=>{var Ee,Qe;(Qe=(Ee=d.value)==null?void 0:Ee.updatePopper)==null||Qe.call(Ee)},Ae=()=>{var Ee,Qe;(Qe=(Ee=f.value)==null?void 0:Ee.updatePopper)==null||Qe.call(Ee)},Ke=()=>{r.inputValue.length>0&&!w.value&&(w.value=!0),Ne(r.inputValue)},Et=Ee=>{if(r.inputValue=Ee.target.value,e.remote)k.value=!0,It();else return Ke()},It=Ki(()=>{Ke(),k.value=!1},se),qe=Ee=>{Qt(e.modelValue,Ee)||t(ht,Ee)},st=Ee=>Kw(Ee,Qe=>{const kt=r.cachedOptions.get(Qe);return!(kt!=null&&kt.disabled)&&!(kt!=null&&kt.states.groupDisabled)}),mt=Ee=>{const Qe=Ft(Ee);if(e.multiple&&Qe!==Ce.delete&&Ee.target.value.length<=0){const kt=wn(e.modelValue).slice(),qt=st(kt);if(qt<0)return;const on=kt[qt];kt.splice(qt,1),t(et,kt),qe(kt),t("remove-tag",on)}},ve=(Ee,Qe)=>{const kt=r.selected.indexOf(Qe);if(kt>-1&&!Z.value){const qt=wn(e.modelValue).slice();qt.splice(kt,1),t(et,qt),qe(qt),t("remove-tag",Qe.value)}Ee.stopPropagation(),Ye()},De=Ee=>{Ee.stopPropagation();const Qe=e.multiple?[]:R.value;if(e.multiple)for(const kt of r.selected)kt.isDisabled&&Qe.push(kt.value);t(et,Qe),qe(Qe),r.hoveringIndex=-1,w.value=!1,t("clear"),Ye()},de=Ee=>{var Qe;if(e.multiple){const kt=wn((Qe=e.modelValue)!=null?Qe:[]).slice(),qt=Be(kt,Ee);qt>-1?kt.splice(qt,1):(e.multipleLimit<=0||kt.length{dt(Ee)})},Be=(Ee,Qe)=>St(Qe)?-1:nt(Qe.value)?Ee.findIndex(kt=>Qt(fn(kt,e.valueKey),On(Qe))):Ee.indexOf(Qe.value),dt=Ee=>{var Qe,kt,qt,on,Bn;const Pn=ye(Ee)?Ee[Ee.length-1]:Ee;let to=null;if(!dn(Pn==null?void 0:Pn.value)){const Oo=oe.value.filter(Ss=>Ss.value===Pn.value);Oo.length>0&&(to=Oo[0].$el)}if(d.value&&to){const Oo=(on=(qt=(kt=(Qe=d.value)==null?void 0:Qe.popperRef)==null?void 0:kt.contentRef)==null?void 0:qt.querySelector)==null?void 0:on.call(qt,`.${a.be("dropdown","wrap")}`);Oo&&Lp(Oo,to)}(Bn=C.value)==null||Bn.handleScroll()},Dt=Ee=>{r.options.set(Ee.value,Ee),r.cachedOptions.set(Ee.value,Ee)},Gt=(Ee,Qe)=>{r.options.get(Ee)===Qe&&r.options.delete(Ee)},Zt=S(()=>{var Ee,Qe;return(Qe=(Ee=d.value)==null?void 0:Ee.popperRef)==null?void 0:Qe.contentRef}),Ie=()=>{r.isBeforeHide=!1,Re(()=>{var Ee;(Ee=C.value)==null||Ee.update(),dt(r.selected)})},Ye=()=>{var Ee;(Ee=h.value)==null||Ee.focus()},at=()=>{var Ee;if(w.value){w.value=!1,Re(()=>{var Qe;return(Qe=h.value)==null?void 0:Qe.blur()});return}(Ee=h.value)==null||Ee.blur()},Ut=Ee=>{De(Ee)},Mt=Ee=>{if(w.value=!1,M.value){const Qe=new FocusEvent("blur",Ee);Re(()=>N(Qe))}},Ue=()=>{r.inputValue.length>0?r.inputValue="":w.value=!1},Xe=Ee=>{var Qe;Z.value||e.filterable&&w.value&&Ee&&!((Qe=v.value)!=null&&Qe.contains(Ee.target))||(mc&&(r.inputHovering=!0),r.menuVisibleOnFocus?r.menuVisibleOnFocus=!1:w.value=!w.value)},vt=()=>{if(!w.value)Xe();else{const Ee=oe.value[r.hoveringIndex];Ee&&!Ee.isDisabled&&de(Ee)}},On=Ee=>nt(Ee.value)?fn(Ee.value,e.valueKey):Ee.value,Zn=S(()=>oe.value.filter(Ee=>Ee.visible).every(Ee=>Ee.isDisabled)),Al=S(()=>e.multiple?e.collapseTags?r.selected.slice(0,e.maxCollapseTags):r.selected:[]),uu=S(()=>e.multiple?e.collapseTags?r.selected.slice(e.maxCollapseTags):[]:[]),Aa=Ee=>{if(!w.value){w.value=!0;return}if(!(r.options.size===0||ce.value===0||A.value)&&!Zn.value){Ee==="next"?(r.hoveringIndex++,r.hoveringIndex===r.options.size&&(r.hoveringIndex=0)):Ee==="prev"&&(r.hoveringIndex--,r.hoveringIndex<0&&(r.hoveringIndex=r.options.size-1));const Qe=oe.value[r.hoveringIndex];(Qe.isDisabled||!Qe.visible)&&Aa(Ee),Re(()=>dt(y.value))}},cu=(Ee,Qe,kt,qt)=>{for(let on=Qe;on>=0&&on{var kt;const qt=r.options.size;if(qt===0)return;const on=Ua(Ee,0,qt-1),Bn=oe.value,Pn=Qe==="up"?-1:1,to=(kt=cu(Bn,on,Pn,qt))!=null?kt:cu(Bn,on-Pn,-Pn,qt);to!=null&&(r.hoveringIndex=to,Re(()=>dt(y.value)))},Id=Ee=>{const Qe=Ft(Ee);let kt=!0;switch(Qe){case Ce.up:Aa("prev");break;case Ce.down:Aa("next");break;case Ce.enter:case Ce.numpadEnter:A.value||vt();break;case Ce.esc:Ue();break;case Ce.backspace:kt=!1,mt(Ee);return;case Ce.home:if(!w.value)return;$o(0,"down");break;case Ce.end:if(!w.value)return;$o(r.options.size-1,"up");break;case Ce.pageUp:if(!w.value)return;$o(r.hoveringIndex-10,"up");break;case Ce.pageDown:if(!w.value)return;$o(r.hoveringIndex+10,"down");break;default:kt=!1;break}kt&&(Ee.preventDefault(),Ee.stopPropagation())},Md=()=>{if(!c.value)return 0;const Ee=window.getComputedStyle(c.value);return Number.parseFloat(Ee.gap||"6px")},Pd=S(()=>{const Ee=Md(),Qe=e.filterable?Ee+md:0;return{maxWidth:`${b.value&&e.maxCollapseTags===1?r.selectionWidth-r.collapseItemWidth-Ee-Qe:r.selectionWidth-Qe}px`}}),Rd=S(()=>({maxWidth:`${r.selectionWidth}px`})),Ad=Ee=>{t("popup-scroll",Ee)};Yt(c,Fe),Yt(W,Oe),Yt(g,Ae),Yt(b,Ze);let La;return ue(()=>pe.value,Ee=>{Ee?La=Yt(p,Oe).stop:(La==null||La(),La=void 0),t("visible-change",Ee)}),ft(()=>{Te()}),{inputId:$,contentId:o,nsSelect:a,nsInput:s,states:r,isFocused:M,expanded:w,optionsArray:oe,hoverOption:y,selectSize:ie,filteredOptionsCount:ce,updateTooltip:Oe,updateTagTooltip:Ae,debouncedOnInputChange:It,onInput:Et,deletePrevTag:mt,deleteTag:ve,deleteSelected:De,handleOptionSelect:de,scrollToOption:dt,hasModelValue:B,shouldShowPlaceholder:be,currentPlaceholder:$e,mouseEnterEventName:Me,needStatusIcon:V,showClearBtn:z,iconComponent:Y,iconReverse:H,validateState:X,validateIcon:J,showNewOption:_,updateOptions:Q,collapseTagSize:he,setSelected:Te,selectDisabled:Z,emptyText:fe,handleCompositionStart:O,handleCompositionUpdate:D,handleCompositionEnd:K,handleKeydown:Id,onOptionCreate:Dt,onOptionDestroy:Gt,handleMenuEnter:Ie,focus:Ye,blur:at,handleClearClick:Ut,handleClickOutside:Mt,handleEsc:Ue,toggleMenu:Xe,selectOption:vt,getValueKey:On,navigateOptions:Aa,dropdownMenuVisible:pe,showTagList:Al,collapseTagList:uu,popupScroll:Ad,getOption:we,tagStyle:Pd,collapseTagStyle:Rd,popperRef:Zt,inputRef:h,tooltipRef:d,tagTooltipRef:f,prefixRef:m,suffixRef:v,selectRef:u,wrapperRef:W,selectionRef:c,scrollbarRef:C,menuRef:p,tagMenuRef:g,collapseItemRef:b}};var OL=ae({name:"ElOptions",setup(e,{slots:t}){const n=Le(tu);let l=[];return()=>{var o,a;const s=(o=t.default)==null?void 0:o.call(t),r=[];function u(c){ye(c)&&c.forEach(d=>{var f,h,m,v;const p=(f=(d==null?void 0:d.type)||{})==null?void 0:f.name;p==="ElOptionGroup"?u(!Ve(d.children)&&!ye(d.children)&&He((h=d.children)==null?void 0:h.default)?(m=d.children)==null?void 0:m.default():d.children):p==="ElOption"?r.push((v=d.props)==null?void 0:v.value):ye(d.children)&&u(d.children)})}return s.length&&u((a=s[0])==null?void 0:a.children),Qt(r,l)||(l=r,n&&(n.states.optionValues=r)),s}}});const gC=Se({name:String,id:String,modelValue:{type:G([Array,String,Number,Boolean,Object]),default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:gn,effect:{type:G(String),default:"light"},disabled:{type:Boolean,default:void 0},clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperStyle:{type:G([String,Object])},popperOptions:{type:G(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},loadingText:String,noMatchText:String,noDataText:String,remoteMethod:{type:G(Function)},filterMethod:{type:G(Function)},multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,tagTooltip:{type:G(Object),default:()=>({})},maxCollapseTags:{type:Number,default:1},teleported:Bt.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:_t,default:Eo},fitInputWidth:Boolean,suffixIcon:{type:_t,default:ko},tagType:{...Xo.type,default:"info"},tagEffect:{...Xo.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:G(String),values:xo,default:"bottom-start"},fallbackPlacements:{type:G(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:Bt.appendTo,options:{type:G(Array)},props:{type:G(Object),default:()=>yc},...ws,...Xn(["ariaLabel"])});_1.scroll;var NL=ae({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=me("select"),n=L(),l=ct(),o=L([]);yt(hC,Nt({...kn(e)}));const a=S(()=>o.value.some(c=>c.visible===!0)),s=c=>{var d;return c.type.name==="ElOption"&&!!((d=c.component)!=null&&d.proxy)},r=c=>{const d=wn(c),f=[];return d.forEach(h=>{var m;zt(h)&&(s(h)?f.push(h.component.proxy):ye(h.children)&&h.children.length?f.push(...r(h.children)):(m=h.component)!=null&&m.subTree&&f.push(...r(h.component.subTree)))}),f},u=()=>{o.value=r(l.subTree)};return ft(()=>{u()}),Wi(n,u,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:a,ns:t}}});function IL(e,t,n,l,o,a){return it((T(),F("ul",{ref:"groupRef",class:P(e.ns.be("group","wrap"))},[j("li",{class:P(e.ns.be("group","title"))},ke(e.label),3),j("li",null,[j("ul",{class:P(e.ns.b("group"))},[te(e.$slots,"default")],2)])],2)),[[$t,e.visible]])}var th=bn(NL,[["render",IL]]);const da=new Map;if(Ot){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of da.values())for(const{documentHandler:l}of n)l(t,e);e=void 0}})}function cb(e,t){let n=[];return ye(t.arg)?n=t.arg:ul(t.arg)&&n.push(t.arg),function(l,o){const a=t.instance.popperRef,s=l.target,r=o==null?void 0:o.target,u=!t||!t.instance,c=!s||!r,d=e.contains(s)||e.contains(r),f=e===s,h=n.length&&n.some(v=>v==null?void 0:v.contains(s))||n.length&&n.includes(r),m=a&&(a.contains(s)||a.contains(r));u||c||d||f||h||m||t.value(l,o)}}const Ia={beforeMount(e,t){da.has(e)||da.set(e,[]),da.get(e).push({documentHandler:cb(e,t),bindingFn:t.value})},updated(e,t){da.has(e)||da.set(e,[]);const n=da.get(e),l=n.findIndex(a=>a.bindingFn===t.oldValue),o={documentHandler:cb(e,t),bindingFn:t.value};l>=0?n.splice(l,1,o):n.push(o)},unmounted(e){da.delete(e)}};function nh(){const e=Wt(),t=L(0),n=S(()=>({minWidth:`${Math.max(t.value,md)}px`}));return Yt(e,()=>{var o,a;t.value=(a=(o=e.value)==null?void 0:o.getBoundingClientRect().width)!=null?a:0}),{calculatorRef:e,calculatorWidth:t,inputStyle:n}}const db="ElSelect",bi=new WeakMap,ML=e=>(...t)=>{var n,l;const o=t[0];if(!o||o.includes('Slot "default" invoked outside of the render function')&&((n=t[2])!=null&&n.includes("ElTreeSelect")))return;const a=(l=bi.get(e))==null?void 0:l.originalWarnHandler;if(a){a(...t);return}console.warn(...t)},PL=e=>{let t=bi.get(e);return t||(t={originalWarnHandler:e.config.warnHandler,handler:ML(e),count:0},bi.set(e,t)),t};var RL=ae({name:db,componentName:db,components:{ElSelectMenu:TL,ElOption:eh,ElOptions:OL,ElOptionGroup:th,ElTag:Ho,ElScrollbar:Wl,ElTooltip:xn,ElIcon:_e},directives:{ClickOutside:Ia},props:gC,emits:[et,ht,"remove-tag","clear","visible-change","focus","blur","popup-scroll"],setup(e,{emit:t,slots:n}){const l=ct(),o=PL(l.appContext);o.count+=1,l.appContext.config.warnHandler=o.handler;const a=S(()=>{const{modelValue:C,multiple:w}=e,y=w?[]:void 0;return ye(C)?w?C:y:w?y:C}),s=Nt({...kn(e),modelValue:a}),r=$L(s,t),{calculatorRef:u,inputStyle:c}=nh(),{getLabel:d,getValue:f,getOptions:h,getDisabled:m}=eu(e),v=C=>({label:d(C),value:f(C),disabled:m(C)}),p=C=>C.reduce((w,y)=>(w.push(y),y.children&&y.children.length>0&&w.push(...p(y.children)),w),[]),g=C=>{bl(C||[]).forEach(y=>{var k;if(nt(y)&&(y.type.name==="ElOption"||y.type.name==="ElTree")){const E=y.type.name;if(E==="ElTree"){const x=((k=y.props)==null?void 0:k.data)||[];p(x).forEach(R=>{R.currentLabel=R.label||(nt(R.value)?"":R.value),r.onOptionCreate(R)})}else if(E==="ElOption"){const x={...y.props};x.currentLabel=x.label||(nt(x.value)?"":x.value),r.onOptionCreate(x)}}})};ue(()=>{var C;return[e.persistent||r.expanded.value||!n.default||(C=n.default)==null?void 0:C.call(n),a.value]},()=>{var C;e.persistent||r.expanded.value||(r.states.options.clear(),g((C=n.default)==null?void 0:C.call(n)))},{immediate:!0}),yt(tu,Nt({props:s,states:r.states,selectRef:r.selectRef,optionsArray:r.optionsArray,setSelected:r.setSelected,handleOptionSelect:r.handleOptionSelect,onOptionCreate:r.onOptionCreate,onOptionDestroy:r.onOptionDestroy}));const b=S(()=>e.multiple?r.states.selected.map(C=>C.currentLabel):r.states.selectedLabel);return Pt(()=>{const C=bi.get(l.appContext);C&&(C.count-=1,C.count<=0&&(l.appContext.config.warnHandler=C.originalWarnHandler,bi.delete(l.appContext)))}),{...r,modelValue:a,selectedLabel:b,calculatorRef:u,inputStyle:c,getLabel:d,getValue:f,getOptions:h,getDisabled:m,getOptionProps:v}}});const AL=["id","value","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],LL=["textContent"],DL={key:1};function BL(e,t,n,l,o,a){const s=Tt("el-tag"),r=Tt("el-tooltip"),u=Tt("el-icon"),c=Tt("el-option"),d=Tt("el-option-group"),f=Tt("el-options"),h=Tt("el-scrollbar"),m=Tt("el-select-menu"),v=rp("click-outside");return it((T(),F("div",ut({ref:"selectRef",class:[e.nsSelect.b(),e.nsSelect.m(e.selectSize)]},{[Fr(e.mouseEnterEventName)]:t[11]||(t[11]=p=>e.states.inputHovering=!0)},{onMouseleave:t[12]||(t[12]=p=>e.states.inputHovering=!1)}),[q(r,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t[10]||(t[10]=p=>e.states.isBeforeHide=!1)},{default:ee(()=>{var p;return[j("div",{ref:"wrapperRef",class:P([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:t[7]||(t[7]=Je((...g)=>e.toggleMenu&&e.toggleMenu(...g),["prevent"]))},[e.$slots.prefix?(T(),F("div",{key:0,ref:"prefixRef",class:P(e.nsSelect.e("prefix"))},[te(e.$slots,"prefix")],2)):ne("v-if",!0),j("div",{ref:"selectionRef",class:P([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?te(e.$slots,"tag",{key:0,data:e.states.selected,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>{var g,b,C,w,y,k,E,x,$,R,I,A,O,D,K,Z,W,M,N,B,V;return[(T(!0),F(ze,null,gt(e.showTagList,z=>(T(),F("div",{key:e.getValueKey(z),class:P(e.nsSelect.e("selected-item"))},[q(s,{closable:!e.selectDisabled&&!z.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:je(e.tagStyle),onClose:Y=>e.deleteTag(Y,z)},{default:ee(()=>[j("span",{class:P(e.nsSelect.e("tags-text"))},[te(e.$slots,"label",{index:z.index,label:z.currentLabel,value:z.value},()=>[bt(ke(z.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(T(),le(r,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":(b=(g=e.tagTooltip)==null?void 0:g.fallbackPlacements)!=null?b:["bottom","top","right","left"],effect:(w=(C=e.tagTooltip)==null?void 0:C.effect)!=null?w:e.effect,placement:(k=(y=e.tagTooltip)==null?void 0:y.placement)!=null?k:"bottom","popper-class":(x=(E=e.tagTooltip)==null?void 0:E.popperClass)!=null?x:e.popperClass,"popper-style":(R=($=e.tagTooltip)==null?void 0:$.popperStyle)!=null?R:e.popperStyle,teleported:(A=(I=e.tagTooltip)==null?void 0:I.teleported)!=null?A:e.teleported,"append-to":(D=(O=e.tagTooltip)==null?void 0:O.appendTo)!=null?D:e.appendTo,"popper-options":(Z=(K=e.tagTooltip)==null?void 0:K.popperOptions)!=null?Z:e.popperOptions,transition:(W=e.tagTooltip)==null?void 0:W.transition,"show-after":(M=e.tagTooltip)==null?void 0:M.showAfter,"hide-after":(N=e.tagTooltip)==null?void 0:N.hideAfter,"auto-close":(B=e.tagTooltip)==null?void 0:B.autoClose,offset:(V=e.tagTooltip)==null?void 0:V.offset},{default:ee(()=>[j("div",{ref:"collapseItemRef",class:P(e.nsSelect.e("selected-item"))},[q(s,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:je(e.collapseTagStyle)},{default:ee(()=>[j("span",{class:P(e.nsSelect.e("tags-text"))}," + "+ke(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:ee(()=>[j("div",{ref:"tagMenuRef",class:P(e.nsSelect.e("selection"))},[(T(!0),F(ze,null,gt(e.collapseTagList,z=>(T(),F("div",{key:e.getValueKey(z),class:P(e.nsSelect.e("selected-item"))},[q(s,{class:"in-tooltip",closable:!e.selectDisabled&&!z.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:Y=>e.deleteTag(Y,z)},{default:ee(()=>[j("span",{class:P(e.nsSelect.e("tags-text"))},[te(e.$slots,"label",{index:z.index,label:z.currentLabel,value:z.value},()=>[bt(ke(z.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","fallback-placements","effect","placement","popper-class","popper-style","teleported","append-to","popper-options","transition","show-after","hide-after","auto-close","offset"])):ne("v-if",!0)]}):ne("v-if",!0),j("div",{class:P([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable||e.selectDisabled||!e.states.inputValue&&!e.isFocused)])},[j("input",{id:e.inputId,ref:"inputRef",value:e.states.inputValue,type:"text",name:e.name,class:P([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:je(e.inputStyle),tabindex:e.tabindex,role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":((p=e.hoverOption)==null?void 0:p.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:t[0]||(t[0]=(...g)=>e.handleKeydown&&e.handleKeydown(...g)),onCompositionstart:t[1]||(t[1]=(...g)=>e.handleCompositionStart&&e.handleCompositionStart(...g)),onCompositionupdate:t[2]||(t[2]=(...g)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...g)),onCompositionend:t[3]||(t[3]=(...g)=>e.handleCompositionEnd&&e.handleCompositionEnd(...g)),onInput:t[4]||(t[4]=(...g)=>e.onInput&&e.onInput(...g)),onChange:t[5]||(t[5]=Je(()=>{},["stop"])),onClick:t[6]||(t[6]=Je((...g)=>e.toggleMenu&&e.toggleMenu(...g),["stop"]))},null,46,AL),e.filterable?(T(),F("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:P(e.nsSelect.e("input-calculator")),textContent:ke(e.states.inputValue)},null,10,LL)):ne("v-if",!0)],2),e.shouldShowPlaceholder?(T(),F("div",{key:1,class:P([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?te(e.$slots,"label",{key:0,index:e.getOption(e.modelValue).index,label:e.currentPlaceholder,value:e.modelValue},()=>[j("span",null,ke(e.currentPlaceholder),1)]):(T(),F("span",DL,ke(e.currentPlaceholder),1))],2)):ne("v-if",!0)],2),j("div",{ref:"suffixRef",class:P(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClearBtn?(T(),le(u,{key:0,class:P([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:ee(()=>[(T(),le(rt(e.iconComponent)))]),_:1},8,["class"])):ne("v-if",!0),e.showClearBtn&&e.clearIcon?(T(),le(u,{key:1,class:P([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:ee(()=>[(T(),le(rt(e.clearIcon)))]),_:1},8,["class","onClick"])):ne("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(T(),le(u,{key:2,class:P([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:ee(()=>[(T(),le(rt(e.validateIcon)))]),_:1},8,["class"])):ne("v-if",!0)],2)],2)]}),content:ee(()=>[q(m,{ref:"menuRef"},{default:ee(()=>[e.$slots.header?(T(),F("div",{key:0,class:P(e.nsSelect.be("dropdown","header")),onClick:t[8]||(t[8]=Je(()=>{},["stop"]))},[te(e.$slots,"header")],2)):ne("v-if",!0),it(q(h,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:P([e.nsSelect.is("empty",e.filteredOptionsCount===0)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical",onScroll:e.popupScroll},{default:ee(()=>[e.showNewOption?(T(),le(c,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):ne("v-if",!0),q(f,null,{default:ee(()=>[te(e.$slots,"default",{},()=>[(T(!0),F(ze,null,gt(e.options,(p,g)=>{var b;return T(),F(ze,{key:g},[(b=e.getOptions(p))!=null&&b.length?(T(),le(d,{key:0,label:e.getLabel(p),disabled:e.getDisabled(p)},{default:ee(()=>[(T(!0),F(ze,null,gt(e.getOptions(p),C=>(T(),le(c,ut({key:e.getValue(C)},{ref_for:!0},e.getOptionProps(C)),null,16))),128))]),_:2},1032,["label","disabled"])):(T(),le(c,ut({key:1,ref_for:!0},e.getOptionProps(p)),null,16))],64)}),128))])]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll"]),[[$t,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(T(),F("div",{key:1,class:P(e.nsSelect.be("dropdown","loading"))},[te(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(T(),F("div",{key:2,class:P(e.nsSelect.be("dropdown","empty"))},[te(e.$slots,"empty",{},()=>[j("span",null,ke(e.emptyText),1)])],2)):ne("v-if",!0),e.$slots.footer?(T(),F("div",{key:3,class:P(e.nsSelect.be("dropdown","footer")),onClick:t[9]||(t[9]=Je(()=>{},["stop"]))},[te(e.$slots,"footer")],2)):ne("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],16)),[[v,e.handleClickOutside,e.popperRef]])}var VL=bn(RL,[["render",BL]]);const Ma=ot(VL,{Option:eh,OptionGroup:th}),wc=Xt(eh),_L=Xt(th);var FL=ae({name:"SelectController",__name:"select-controller",props:vL,emits:pL,setup(e,{emit:t}){const n=e,l=t,o=me("calendar-select"),{t:a,lang:s}=wt(),r=Array.from({length:12},(v,p)=>{const g=p+1,b=He(n.formatter)?n.formatter(g,"month"):g;return{value:g,label:b}}),u=S(()=>n.date.year()),c=S(()=>n.date.month()+1),d=S(()=>{const v=[];for(let p=-10;p<10;p++){const g=u.value+p;if(g>0){const b=He(n.formatter)?n.formatter(g,"year"):g;v.push({value:g,label:b})}}return v}),f=v=>{l("date-change",lt(new Date(v,c.value-1,1)).locale(s.value))},h=v=>{l("date-change",lt(new Date(u.value,v-1,1)).locale(s.value))},m=()=>{l("date-change","today")};return(v,p)=>(T(),F(ze,null,[q(i(Ma),{"model-value":u.value,size:"small",class:P(i(o).e("year")),"validate-event":!1,options:d.value,onChange:f},null,8,["model-value","class","options"]),q(i(Ma),{"model-value":c.value,size:"small",class:P(i(o).e("month")),"validate-event":!1,options:i(r),onChange:h},null,8,["model-value","class","options"]),q(i(Cn),{size:"small",onClick:m},{default:ee(()=>[bt(ke(i(a)("el.datepicker.today")),1)]),_:1})],64))}});const zL="ElCalendar";var HL=ae({name:zL,__name:"calendar",props:ZA,emits:JA,setup(e,{expose:t,emit:n}){const l=me("calendar"),o=e,a=n,{calculateValidatedDateRange:s,date:r,pickDay:u,realSelectedDay:c,selectDate:d,validatedRange:f,handleDateChange:h}=fL(o,a),{t:m}=wt(),v=S(()=>{const p=`el.datepicker.month${r.value.format("M")}`;return`${r.value.year()} ${m("el.datepicker.year")} ${m(p)}`});return t({selectedDay:c,pickDay:u,selectDate:d,calculateValidatedDateRange:s}),(p,g)=>(T(),F("div",{class:P(i(l).b())},[j("div",{class:P(i(l).e("header"))},[te(p.$slots,"header",{date:v.value},()=>[j("div",{class:P(i(l).e("title"))},ke(v.value),3),i(f).length===0&&e.controllerType==="button"?(T(),F("div",{key:0,class:P(i(l).e("button-group"))},[q(i(iC),null,{default:ee(()=>[q(i(Cn),{size:"small",onClick:g[0]||(g[0]=b=>i(d)("prev-month"))},{default:ee(()=>[bt(ke(i(m)("el.datepicker.prevMonth")),1)]),_:1}),q(i(Cn),{size:"small",onClick:g[1]||(g[1]=b=>i(d)("today"))},{default:ee(()=>[bt(ke(i(m)("el.datepicker.today")),1)]),_:1}),q(i(Cn),{size:"small",onClick:g[2]||(g[2]=b=>i(d)("next-month"))},{default:ee(()=>[bt(ke(i(m)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):i(f).length===0&&e.controllerType==="select"?(T(),F("div",{key:1,class:P(i(l).e("select-controller"))},[q(FL,{date:i(r),formatter:e.formatter,onDateChange:i(h)},null,8,["date","formatter","onDateChange"])],2)):ne("v-if",!0)])],2),i(f).length===0?(T(),F("div",{key:0,class:P(i(l).e("body"))},[q(ub,{date:i(r),"selected-day":i(c),onPick:i(u)},ll({_:2},[p.$slots["date-cell"]?{name:"date-cell",fn:ee(b=>[te(p.$slots,"date-cell",Vo(_o(b)))]),key:"0"}:void 0]),1032,["date","selected-day","onPick"])],2)):(T(),F("div",{key:1,class:P(i(l).e("body"))},[(T(!0),F(ze,null,gt(i(f),(b,C)=>(T(),le(ub,{key:C,date:b[0],"selected-day":i(c),range:b,"hide-header":C!==0,onPick:i(u)},ll({_:2},[p.$slots["date-cell"]?{name:"date-cell",fn:ee(w=>[te(p.$slots,"date-cell",ut({ref_for:!0},w))]),key:"0"}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});const KL=ot(HL),WL=Se({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:G([String,Object,Array]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}});var jL=ae({name:"ElCard",__name:"card",props:WL,setup(e){const t=na("card"),n=me("card");return(l,o)=>{var a;return T(),F("div",{class:P([i(n).b(),i(n).is(`${e.shadow||((a=i(t))==null?void 0:a.shadow)||"always"}-shadow`)])},[l.$slots.header||e.header?(T(),F("div",{key:0,class:P([i(n).e("header"),e.headerClass])},[te(l.$slots,"header",{},()=>[bt(ke(e.header),1)])],2)):ne("v-if",!0),j("div",{class:P([i(n).e("body"),e.bodyClass]),style:je(e.bodyStyle)},[te(l.$slots,"default")],6),l.$slots.footer||e.footer?(T(),F("div",{key:1,class:P([i(n).e("footer"),e.footerClass])},[te(l.$slots,"footer",{},()=>[bt(ke(e.footer),1)])],2)):ne("v-if",!0)],2)}}});const YL=ot(jL),UL=Se({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},cardScale:{type:Number,default:.83},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:Boolean}),qL={change:(e,t)=>[e,t].every(We)},bC=Symbol("carouselContextKey"),Jf="ElCarouselItem",GL=(e,t,n)=>bl(e.subTree).filter(a=>{var s;return zt(a)&&((s=a.type)==null?void 0:s.name)===t&&!!a.component}).map(a=>a.component.uid).map(a=>n[a]).filter(a=>!!a),gd=(e,t)=>{const n=Wt({}),l=Wt([]),o=new WeakMap,a=d=>{n.value[d.uid]=d,Bu(n),ft(()=>{const f=d.getVnode().el,h=f.parentNode;if(!o.has(h)){o.set(h,[]);const m=h.insertBefore.bind(h);h.insertBefore=(v,p)=>(o.get(h).some(b=>v===b||p===b)&&Bu(n),m(v,p))}o.get(h).push(f)})},s=d=>{delete n.value[d.uid],Bu(n);const f=d.getVnode().el,h=f.parentNode,m=o.get(h),v=m.indexOf(f);m.splice(v,1)},r=()=>{l.value=GL(e,t,n.value)},u=d=>d.render();return{children:l,addChild:a,removeChild:s,ChildrenSorter:ae({setup(d,{slots:f}){return()=>(r(),f.default?Ge(u,{render:f.default}):null)}})}},fb=300,XL=(e,t,n)=>{const{children:l,addChild:o,removeChild:a,ChildrenSorter:s}=gd(ct(),Jf),r=rn(),u=L(-1),c=L(null),d=L(!1),f=L(),h=L(0),m=L(!0),v=S(()=>e.arrow!=="never"&&!i(b)),p=S(()=>l.value.some(J=>J.props.label.toString().length>0)),g=S(()=>e.type==="card"),b=S(()=>e.direction==="vertical"),C=S(()=>e.height!=="auto"?{height:e.height}:{height:`${h.value}px`,overflow:"hidden"}),w=ba(J=>{R(J)},fb,{trailing:!0}),y=ba(J=>{M(J)},fb),k=J=>m.value?u.value<=1?J<=1:J>1:!0;function E(){c.value&&(clearInterval(c.value),c.value=null)}function x(){e.interval<=0||!e.autoplay||c.value||(c.value=setInterval(()=>$(),e.interval))}const $=()=>{u.valuece.props.name===J);fe.length>0&&(J=l.value.indexOf(fe[0]))}if(J=Number(J),Number.isNaN(J)||J!==Math.floor(J))return;const se=l.value.length,re=u.value;J<0?u.value=e.loop?se-1:0:J>=se?u.value=e.loop?0:se-1:u.value=J,re===u.value&&I(re),V()}function I(J){l.value.forEach((se,re)=>{se.translateItem(re,u.value,J)})}function A(J,se){var re,fe,ce,oe;const U=i(l),_=U.length;if(_===0||!J.states.inStage)return!1;const Q=se+1,ie=se-1,he=_-1,pe=U[he].states.active,be=U[0].states.active,$e=(fe=(re=U[Q])==null?void 0:re.states)==null?void 0:fe.active,Me=(oe=(ce=U[ie])==null?void 0:ce.states)==null?void 0:oe.active;return se===he&&be||$e?"left":se===0&&pe||Me?"right":!1}function O(){d.value=!0,e.pauseOnHover&&E()}function D(){d.value=!1,x()}function K(J){i(b)||l.value.forEach((se,re)=>{J===A(se,re)&&(se.states.hover=!0)})}function Z(){i(b)||l.value.forEach(J=>{J.states.hover=!1})}function W(J){u.value=J}function M(J){e.trigger==="hover"&&J!==u.value&&(u.value=J)}function N(){R(u.value-1)}function B(){R(u.value+1)}function V(){E(),(!e.pauseOnHover||!d.value)&&x()}function z(J){e.height==="auto"&&(h.value=J)}function Y(){var J;const se=(J=r.default)==null?void 0:J.call(r);if(!se)return null;const fe=bl(se).filter(ce=>zt(ce)&&ce.type.name===Jf);return(fe==null?void 0:fe.length)===2&&e.loop&&!g.value?(m.value=!0,fe):(m.value=!1,null)}ue(()=>u.value,(J,se)=>{I(se),m.value&&(J=J%2,se=se%2),se>-1&&t(ht,J,se)});const H=S({get:()=>m.value?u.value%2:u.value,set:J=>u.value=J});ue(()=>e.autoplay,J=>{J?x():E()}),ue(()=>e.loop,()=>{R(u.value)}),ue(()=>e.interval,()=>{V()});const X=Wt();return ft(()=>{ue(()=>l.value,()=>{l.value.length>0&&R(e.initialIndex)},{immediate:!0}),X.value=Yt(f.value,()=>{I()}),x()}),Pt(()=>{E(),f.value&&X.value&&X.value.stop()}),yt(bC,{root:f,isCardType:g,isVertical:b,items:l,loop:e.loop,cardScale:e.cardScale,addItem:o,removeItem:a,setActiveItem:R,setContainerHeight:z}),{root:f,activeIndex:u,exposeActiveIndex:H,arrowDisplay:v,hasLabel:p,hover:d,isCardType:g,items:l,isVertical:b,containerStyle:C,isItemsTwoLength:m,handleButtonEnter:K,handleButtonLeave:Z,handleIndicatorClick:W,handleMouseEnter:O,handleMouseLeave:D,setActiveItem:R,prev:N,next:B,PlaceholderItem:Y,isTwoLengthShow:k,ItemsSorter:s,throttledArrowClick:w,throttledIndicatorHover:y}},ZL=["aria-label"],JL=["aria-label"],QL=["onMouseenter","onClick"],eD=["aria-label"],tD={key:0},nD={key:2,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},lD="ElCarousel";var oD=ae({name:lD,__name:"carousel",props:UL,emits:qL,setup(e,{expose:t,emit:n}){const l=e,o=n,{root:a,activeIndex:s,exposeActiveIndex:r,arrowDisplay:u,hasLabel:c,hover:d,isCardType:f,items:h,isVertical:m,containerStyle:v,handleButtonEnter:p,handleButtonLeave:g,handleIndicatorClick:b,handleMouseEnter:C,handleMouseLeave:w,setActiveItem:y,prev:k,next:E,PlaceholderItem:x,isTwoLengthShow:$,ItemsSorter:R,throttledArrowClick:I,throttledIndicatorHover:A}=XL(l,o),O=me("carousel"),{t:D}=wt(),K=S(()=>{const N=[O.b(),O.m(l.direction)];return i(f)&&N.push(O.m("card")),N.push(O.is("vertical-outside",i(m)&&l.indicatorPosition==="outside")),N}),Z=S(()=>{const N=[O.e("indicators"),O.em("indicators",l.direction)];return i(c)&&N.push(O.em("indicators","labels")),l.indicatorPosition==="outside"&&N.push(O.em("indicators","outside")),i(m)&&N.push(O.em("indicators","right")),N});function W(N){if(!l.motionBlur)return;const B=i(m)?`${O.namespace.value}-transitioning-vertical`:`${O.namespace.value}-transitioning`;N.currentTarget.classList.add(B)}function M(N){if(!l.motionBlur)return;const B=i(m)?`${O.namespace.value}-transitioning-vertical`:`${O.namespace.value}-transitioning`;N.currentTarget.classList.remove(B)}return t({activeIndex:r,setActiveItem:y,prev:k,next:E}),(N,B)=>(T(),F("div",{ref_key:"root",ref:a,class:P(K.value),onMouseenter:B[6]||(B[6]=Je((...V)=>i(C)&&i(C)(...V),["stop"])),onMouseleave:B[7]||(B[7]=Je((...V)=>i(w)&&i(w)(...V),["stop"]))},[i(u)?(T(),le(In,{key:0,name:"carousel-arrow-left",persisted:""},{default:ee(()=>[it(j("button",{type:"button",class:P([i(O).e("arrow"),i(O).em("arrow","left")]),"aria-label":i(D)("el.carousel.leftArrow"),onMouseenter:B[0]||(B[0]=V=>i(p)("left")),onMouseleave:B[1]||(B[1]=(...V)=>i(g)&&i(g)(...V)),onClick:B[2]||(B[2]=Je(V=>i(I)(i(s)-1),["stop"]))},[q(i(_e),null,{default:ee(()=>[q(i(qo))]),_:1})],42,ZL),[[$t,(e.arrow==="always"||i(d))&&(e.loop||i(s)>0)]])]),_:1})):ne("v-if",!0),i(u)?(T(),le(In,{key:1,name:"carousel-arrow-right",persisted:""},{default:ee(()=>[it(j("button",{type:"button",class:P([i(O).e("arrow"),i(O).em("arrow","right")]),"aria-label":i(D)("el.carousel.rightArrow"),onMouseenter:B[3]||(B[3]=V=>i(p)("right")),onMouseleave:B[4]||(B[4]=(...V)=>i(g)&&i(g)(...V)),onClick:B[5]||(B[5]=Je(V=>i(I)(i(s)+1),["stop"]))},[q(i(_e),null,{default:ee(()=>[q(i(Gn))]),_:1})],42,JL),[[$t,(e.arrow==="always"||i(d))&&(e.loop||i(s)[e.indicatorPosition!=="none"?(T(),F("ul",{key:0,class:P(Z.value)},[(T(!0),F(ze,null,gt(i(h),(V,z)=>it((T(),F("li",{key:z,class:P([i(O).e("indicator"),i(O).em("indicator",e.direction),i(O).is("active",z===i(s))]),onMouseenter:Y=>i(A)(z),onClick:Je(Y=>i(b)(z),["stop"])},[j("button",{class:P(i(O).e("button")),"aria-label":i(D)("el.carousel.indicator",{index:z+1})},[i(c)?(T(),F("span",tD,ke(V.props.label),1)):ne("v-if",!0)],10,eD)],42,QL)),[[$t,i($)(z)]])),128))],2)):ne("v-if",!0)]),_:1}),e.motionBlur?(T(),F("svg",nD,[...B[8]||(B[8]=[j("defs",null,[j("filter",{id:"elCarouselHorizontal"},[j("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),j("filter",{id:"elCarouselVertical"},[j("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])],-1)])])):ne("v-if",!0)],34))}});const aD=Se({name:{type:String,default:""},label:{type:[String,Number],default:""}}),sD=e=>{const t=Le(bC),n=ct(),l=L(),o=L(!1),a=L(0),s=L(1),r=L(!1),u=L(!1),c=L(!1),d=L(!1),{isCardType:f,isVertical:h,cardScale:m}=t;function v(y,k,E){const x=E-1,$=k-1,R=k+1,I=E/2;return k===0&&y===x?-1:k===x&&y===0?E:y<$&&k-y>=I?E+1:y>R&&y-k>=I?-2:y}function p(y,k){var E,x;const $=i(h)?((E=t.root.value)==null?void 0:E.offsetHeight)||0:((x=t.root.value)==null?void 0:x.offsetWidth)||0;return c.value?$*((2-m)*(y-k)+1)/4:y{var x;const $=i(f),R=(x=t.items.value.length)!=null?x:Number.NaN,I=y===k;!$&&!St(E)&&(d.value=I||y===E),!I&&R>2&&t.loop&&(y=v(y,k,R));const A=i(h);r.value=I,$?(c.value=Math.round(Math.abs(y-k))<=1,a.value=p(y,k),s.value=i(r)?1:m):a.value=g(y,k,A),u.value=!0,I&&l.value&&t.setContainerHeight(l.value.offsetHeight)};function C(){if(t&&i(f)){const y=t.items.value.findIndex(({uid:k})=>k===n.uid);t.setActiveItem(y)}}const w={props:e,states:Nt({hover:o,translate:a,scale:s,active:r,ready:u,inStage:c,animating:d}),uid:n.uid,getVnode:()=>n.vnode,translateItem:b};return t.addItem(w),Pt(()=>{t.removeItem(w)}),{carouselItemRef:l,active:r,animating:d,hover:o,inStage:c,isVertical:h,translate:a,isCardType:f,scale:s,ready:u,handleItemClick:C}};var yC=ae({name:Jf,__name:"carousel-item",props:aD,setup(e){const t=e,n=me("carousel"),{carouselItemRef:l,active:o,animating:a,hover:s,inStage:r,isVertical:u,translate:c,isCardType:d,scale:f,ready:h,handleItemClick:m}=sD(t),v=S(()=>[n.e("item"),n.is("active",o.value),n.is("in-stage",r.value),n.is("hover",s.value),n.is("animating",a.value),{[n.em("item","card")]:d.value,[n.em("item","card-vertical")]:d.value&&u.value}]),p=S(()=>{const b=`${`translate${i(u)?"Y":"X"}`}(${i(c)}px)`,C=`scale(${i(f)})`;return{transform:[b,C].join(" ")}});return(g,b)=>it((T(),F("div",{ref_key:"carouselItemRef",ref:l,class:P(v.value),style:je(p.value),onClick:b[0]||(b[0]=(...C)=>i(m)&&i(m)(...C))},[i(d)?it((T(),F("div",{key:0,class:P(i(n).e("mask"))},null,2)),[[$t,!i(o)]]):ne("v-if",!0),te(g.$slots,"default")],6)),[[$t,i(h)]])}});const rD=ot(oD,{CarouselItem:yC}),iD=Xt(yC),wC=Se({modelValue:{type:G([Number,String,Array,Object])},options:{type:G(Array),default:()=>[]},props:{type:G(Object),default:()=>({})}}),uD={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:Rt,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500,checkOnClickNode:!1,checkOnClickLeaf:!0,showPrefix:!0},cD=Se({...wC,border:{type:Boolean,default:!0},renderLabel:{type:Function}}),vb=e=>!0,dD={[et]:vb,[ht]:vb,close:()=>!0,"expand-change":e=>e},fD=e=>S(()=>({...uD,...e.props})),vD=Se({...wC,size:gn,placeholder:String,disabled:{type:Boolean,default:void 0},clearable:Boolean,clearIcon:{type:_t,default:Eo},filterable:Boolean,filterMethod:{type:G(Function),default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:Boolean,maxCollapseTagsTooltipHeight:{type:[String,Number]},debounce:{type:Number,default:300},beforeFilter:{type:G(Function),default:()=>!0},placement:{type:G(String),values:xo,default:"bottom-start"},fallbackPlacements:{type:G(Array),default:["bottom-start","bottom","top-start","top","right","left"]},popperClass:Bt.popperClass,popperStyle:Bt.popperStyle,teleported:Bt.teleported,effect:{type:G(String),default:"light"},tagType:{...Xo.type,default:"info"},tagEffect:{...Xo.effect,default:"light"},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},showCheckedStrategy:{type:String,values:["parent","child"],default:"child"},checkOnClickNode:Boolean,showPrefix:{type:Boolean,default:!0},...ws}),pb=e=>!0,pD={[et]:pb,[ht]:pb,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,visibleChange:e=>Vt(e),expandChange:e=>!!e,removeTag:e=>!!e},CC={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:{type:Boolean,default:void 0},checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:gn,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...Xn(["ariaControls"])},SC={[et]:e=>Ve(e)||We(e)||Vt(e),change:e=>Ve(e)||We(e)||Vt(e)},wr=Symbol("checkboxGroupContextKey"),hD=({model:e,isChecked:t})=>{const n=Le(wr,void 0),l=Le(Cs,void 0),o=S(()=>{var s,r;const u=(s=n==null?void 0:n.max)==null?void 0:s.value,c=(r=n==null?void 0:n.min)==null?void 0:r.value;return!St(u)&&e.value.length>=u&&!t.value||!St(c)&&e.value.length<=c&&t.value});return{isDisabled:nn(S(()=>{var s,r;return n===void 0?(s=l==null?void 0:l.disabled)!=null?s:o.value:((r=n.disabled)==null?void 0:r.value)||o.value})),isLimitDisabled:o}},mD=(e,{model:t,isLimitExceeded:n,hasOwnLabel:l,isDisabled:o,isLabeledByFormItem:a})=>{const s=Le(wr,void 0),{formItem:r}=$n(),{emit:u}=ct();function c(v){var p,g,b,C;return[!0,e.trueValue,e.trueLabel].includes(v)?(g=(p=e.trueValue)!=null?p:e.trueLabel)!=null?g:!0:(C=(b=e.falseValue)!=null?b:e.falseLabel)!=null?C:!1}function d(v,p){u(ht,c(v),p)}function f(v){if(n.value)return;const p=v.target;u(ht,c(p.checked),v)}async function h(v){n.value||!l.value&&!o.value&&a.value&&(v.composedPath().some(b=>b.tagName==="LABEL")||(t.value=c([!1,e.falseValue,e.falseLabel].includes(t.value)),await Re(),d(t.value,v)))}const m=S(()=>(s==null?void 0:s.validateEvent)||e.validateEvent);return ue(()=>e.modelValue,()=>{m.value&&(r==null||r.validate("change").catch(v=>void 0))}),{handleChange:f,onClickRoot:h}},gD=e=>{const t=L(!1),{emit:n}=ct(),l=Le(wr,void 0),o=S(()=>St(l)===!1),a=L(!1),s=S({get(){var r,u;return o.value?(r=l==null?void 0:l.modelValue)==null?void 0:r.value:(u=e.modelValue)!=null?u:t.value},set(r){var u,c;o.value&&ye(r)?(a.value=((u=l==null?void 0:l.max)==null?void 0:u.value)!==void 0&&r.length>(l==null?void 0:l.max.value)&&r.length>s.value.length,a.value===!1&&((c=l==null?void 0:l.changeEvent)==null||c.call(l,r))):(n(et,r),t.value=r)}});return{model:s,isGroup:o,isLimitExceeded:a}},bD=(e,t,{model:n})=>{const l=Le(wr,void 0),o=L(!1),a=S(()=>cl(e.value)?e.label:e.value),s=S(()=>{const d=n.value;return Vt(d)?d:ye(d)?nt(a.value)?d.map(Ht).some(f=>Qt(f,a.value)):d.map(Ht).includes(a.value):d!=null?d===e.trueValue||d===e.trueLabel:!!d}),r=hn(S(()=>{var d;return(d=l==null?void 0:l.size)==null?void 0:d.value}),{prop:!0}),u=hn(S(()=>{var d;return(d=l==null?void 0:l.size)==null?void 0:d.value})),c=S(()=>!!t.default||!cl(a.value));return{checkboxButtonSize:r,isChecked:s,isFocused:o,checkboxSize:u,hasOwnLabel:c,actualValue:a}},kC=(e,t)=>{const{formItem:n}=$n(),{model:l,isGroup:o,isLimitExceeded:a}=gD(e),{isFocused:s,isChecked:r,checkboxButtonSize:u,checkboxSize:c,hasOwnLabel:d,actualValue:f}=bD(e,t,{model:l}),{isDisabled:h}=hD({model:l,isChecked:r}),{inputId:m,isLabeledByFormItem:v}=kl(e,{formItemContext:n,disableIdGeneration:d,disableIdManagement:o}),{handleChange:p,onClickRoot:g}=mD(e,{model:l,isLimitExceeded:a,hasOwnLabel:d,isDisabled:h,isLabeledByFormItem:v});return(()=>{function C(){var w,y;ye(l.value)&&!l.value.includes(f.value)?l.value.push(f.value):l.value=(y=(w=e.trueValue)!=null?w:e.trueLabel)!=null?y:!0}e.checked&&C()})(),po({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},S(()=>o.value&&cl(e.value))),po({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},S(()=>!!e.trueLabel)),po({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},S(()=>!!e.falseLabel)),{inputId:m,isLabeledByFormItem:v,isChecked:r,isDisabled:h,isFocused:s,checkboxButtonSize:u,checkboxSize:c,hasOwnLabel:d,model:l,actualValue:f,handleChange:p,onClickRoot:g}},yD=["id","indeterminate","name","tabindex","disabled"];var EC=ae({name:"ElCheckbox",__name:"checkbox",props:CC,emits:SC,setup(e){const t=e,n=rn(),{inputId:l,isLabeledByFormItem:o,isChecked:a,isDisabled:s,isFocused:r,checkboxSize:u,hasOwnLabel:c,model:d,actualValue:f,handleChange:h,onClickRoot:m}=kC(t,n),v=S(()=>{var C,w,y,k;return t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":(w=(C=t.trueValue)!=null?C:t.trueLabel)!=null?w:!0,"false-value":(k=(y=t.falseValue)!=null?y:t.falseLabel)!=null?k:!1}:{value:f.value}}),p=me("checkbox"),g=S(()=>[p.b(),p.m(u.value),p.is("disabled",s.value),p.is("bordered",t.border),p.is("checked",a.value)]),b=S(()=>[p.e("input"),p.is("disabled",s.value),p.is("checked",a.value),p.is("indeterminate",t.indeterminate),p.is("focus",r.value)]);return(C,w)=>(T(),le(rt(!i(c)&&i(o)?"span":"label"),{for:!i(c)&&i(o)?null:i(l),class:P(g.value),"aria-controls":e.indeterminate?e.ariaControls:null,"aria-checked":e.indeterminate?"mixed":void 0,"aria-label":e.ariaLabel,onClick:i(m)},{default:ee(()=>[j("span",{class:P(b.value)},[it(j("input",ut({id:i(l),"onUpdate:modelValue":w[0]||(w[0]=y=>jt(d)?d.value=y:null),class:i(p).e("original"),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:i(s)},v.value,{onChange:w[1]||(w[1]=(...y)=>i(h)&&i(h)(...y)),onFocus:w[2]||(w[2]=y=>r.value=!0),onBlur:w[3]||(w[3]=y=>r.value=!1),onClick:w[4]||(w[4]=Je(()=>{},["stop"]))}),null,16,yD),[[nw,i(d)]]),j("span",{class:P(i(p).e("inner"))},null,2)],2),i(c)?(T(),F("span",{key:0,class:P(i(p).e("label"))},[te(C.$slots,"default"),C.$slots.default?ne("v-if",!0):(T(),F(ze,{key:0},[bt(ke(e.label),1)],64))],2)):ne("v-if",!0)]),_:3},8,["for","class","aria-controls","aria-checked","aria-label","onClick"]))}});const wD=["name","tabindex","disabled"];var lh=ae({name:"ElCheckboxButton",__name:"checkbox-button",props:CC,emits:SC,setup(e){const t=e,n=rn(),{isFocused:l,isChecked:o,isDisabled:a,checkboxButtonSize:s,model:r,actualValue:u,handleChange:c}=kC(t,n),d=S(()=>{var p,g,b,C;return t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":(g=(p=t.trueValue)!=null?p:t.trueLabel)!=null?g:!0,"false-value":(C=(b=t.falseValue)!=null?b:t.falseLabel)!=null?C:!1}:{value:u.value}}),f=Le(wr,void 0),h=me("checkbox"),m=S(()=>{var p,g,b,C;const w=(g=(p=f==null?void 0:f.fill)==null?void 0:p.value)!=null?g:"";return{backgroundColor:w,borderColor:w,color:(C=(b=f==null?void 0:f.textColor)==null?void 0:b.value)!=null?C:"",boxShadow:w?`-1px 0 0 0 ${w}`:void 0}}),v=S(()=>[h.b("button"),h.bm("button",s.value),h.is("disabled",a.value),h.is("checked",o.value),h.is("focus",l.value)]);return(p,g)=>(T(),F("label",{class:P(v.value)},[it(j("input",ut({"onUpdate:modelValue":g[0]||(g[0]=b=>jt(r)?r.value=b:null),class:i(h).be("button","original"),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:i(a)},d.value,{onChange:g[1]||(g[1]=(...b)=>i(c)&&i(c)(...b)),onFocus:g[2]||(g[2]=b=>l.value=!0),onBlur:g[3]||(g[3]=b=>l.value=!1),onClick:g[4]||(g[4]=Je(()=>{},["stop"]))}),null,16,wD),[[nw,i(r)]]),p.$slots.default||e.label?(T(),F("span",{key:0,class:P(i(h).be("button","inner")),style:je(i(o)?m.value:void 0)},[te(p.$slots,"default",{},()=>[bt(ke(e.label),1)])],6)):ne("v-if",!0)],2))}});const CD=Se({modelValue:{type:G(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:gn,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:G(Array)},props:{type:G(Object),default:()=>xC},type:{type:String,values:["checkbox","button"],default:"checkbox"},...Xn(["ariaLabel"])}),SD={[et]:e=>ye(e),change:e=>ye(e)},xC={label:"label",value:"value",disabled:"disabled"};var TC=ae({name:"ElCheckboxGroup",__name:"checkbox-group",props:CD,emits:SD,setup(e,{emit:t}){const n=e,l=t,o=me("checkbox"),a=nn(),{formItem:s}=$n(),{inputId:r,isLabeledByFormItem:u}=kl(n,{formItemContext:s}),c=async v=>{l(et,v),await Re(),l(ht,v)},d=S({get(){return n.modelValue},set(v){c(v)}}),f=S(()=>({...xC,...n.props})),h=v=>{const{label:p,value:g,disabled:b}=f.value,C={label:v[p],value:v[g],disabled:v[b]};return{...zi(v,[p,g,b]),...C}},m=S(()=>n.type==="button"?lh:EC);return yt(wr,{...Yo(kn(n),["size","min","max","validateEvent","fill","textColor"]),disabled:a,modelValue:d,changeEvent:c}),ue(()=>n.modelValue,(v,p)=>{n.validateEvent&&!Qt(v,p)&&(s==null||s.validate("change").catch(g=>void 0))}),(v,p)=>{var g;return T(),le(rt(e.tag),{id:i(r),class:P(i(o).b("group")),role:"group","aria-label":i(u)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":i(u)?(g=i(s))==null?void 0:g.labelId:void 0},{default:ee(()=>[te(v.$slots,"default",{},()=>[(T(!0),F(ze,null,gt(e.options,(b,C)=>(T(),le(rt(m.value),ut({key:C},{ref_for:!0},h(b)),null,16))),128))])]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});const jl=ot(EC,{CheckboxButton:lh,CheckboxGroup:TC}),kD=Xt(lh),oh=Xt(TC),$C=Se({modelValue:{type:[String,Number,Boolean],default:void 0},size:gn,disabled:{type:Boolean,default:void 0},label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),ED=Se({...$C,border:Boolean}),OC={[et]:e=>Ve(e)||We(e)||Vt(e),[ht]:e=>Ve(e)||We(e)||Vt(e)},NC=Symbol("radioGroupKey"),IC=(e,t)=>{const n=L(),l=Le(NC,void 0),o=S(()=>!!l),a=S(()=>cl(e.value)?e.label:e.value),s=S({get(){return o.value?l.modelValue:e.modelValue},set(f){o.value?l.changeEvent(f):t&&t(et,f),n.value.checked=e.modelValue===a.value}}),r=hn(S(()=>l==null?void 0:l.size)),u=nn(S(()=>l==null?void 0:l.disabled)),c=L(!1),d=S(()=>u.value||o.value&&s.value!==a.value?-1:0);return po({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},S(()=>o.value&&cl(e.value))),{radioRef:n,isGroup:o,radioGroup:l,focus:c,size:r,disabled:u,tabIndex:d,modelValue:s,actualValue:a}},xD=["value","name","disabled","checked"];var MC=ae({name:"ElRadio",__name:"radio",props:ED,emits:OC,setup(e,{emit:t}){const n=e,l=t,o=me("radio"),{radioRef:a,radioGroup:s,focus:r,size:u,disabled:c,modelValue:d,actualValue:f}=IC(n,l);function h(){Re(()=>l(ht,d.value))}return(m,v)=>{var p;return T(),F("label",{class:P([i(o).b(),i(o).is("disabled",i(c)),i(o).is("focus",i(r)),i(o).is("bordered",e.border),i(o).is("checked",i(d)===i(f)),i(o).m(i(u))])},[j("span",{class:P([i(o).e("input"),i(o).is("disabled",i(c)),i(o).is("checked",i(d)===i(f))])},[it(j("input",{ref_key:"radioRef",ref:a,"onUpdate:modelValue":v[0]||(v[0]=g=>jt(d)?d.value=g:null),class:P(i(o).e("original")),value:i(f),name:e.name||((p=i(s))==null?void 0:p.name),disabled:i(c),checked:i(d)===i(f),type:"radio",onFocus:v[1]||(v[1]=g=>r.value=!0),onBlur:v[2]||(v[2]=g=>r.value=!1),onChange:h,onClick:v[3]||(v[3]=Je(()=>{},["stop"]))},null,42,xD),[[lw,i(d)]]),j("span",{class:P(i(o).e("inner"))},null,2)],2),j("span",{class:P(i(o).e("label")),onKeydown:v[4]||(v[4]=Je(()=>{},["stop"]))},[te(m.$slots,"default",{},()=>[bt(ke(e.label),1)])],34)],2)}}});const TD=Se({...$C}),$D=["value","name","disabled"];var ah=ae({name:"ElRadioButton",__name:"radio-button",props:TD,setup(e){const t=e,n=me("radio"),{radioRef:l,focus:o,size:a,disabled:s,modelValue:r,radioGroup:u,actualValue:c}=IC(t),d=S(()=>({backgroundColor:(u==null?void 0:u.fill)||"",borderColor:(u==null?void 0:u.fill)||"",boxShadow:u!=null&&u.fill?`-1px 0 0 0 ${u.fill}`:"",color:(u==null?void 0:u.textColor)||""}));return(f,h)=>{var m;return T(),F("label",{class:P([i(n).b("button"),i(n).is("active",i(r)===i(c)),i(n).is("disabled",i(s)),i(n).is("focus",i(o)),i(n).bm("button",i(a))])},[it(j("input",{ref_key:"radioRef",ref:l,"onUpdate:modelValue":h[0]||(h[0]=v=>jt(r)?r.value=v:null),class:P(i(n).be("button","original-radio")),value:i(c),type:"radio",name:e.name||((m=i(u))==null?void 0:m.name),disabled:i(s),onFocus:h[1]||(h[1]=v=>o.value=!0),onBlur:h[2]||(h[2]=v=>o.value=!1),onClick:h[3]||(h[3]=Je(()=>{},["stop"]))},null,42,$D),[[lw,i(r)]]),j("span",{class:P(i(n).be("button","inner")),style:je(i(r)===i(c)?d.value:{}),onKeydown:h[4]||(h[4]=Je(()=>{},["stop"]))},[te(f.$slots,"default",{},()=>[bt(ke(e.label),1)])],38)],2)}}});const PC={label:"label",value:"value",disabled:"disabled"},OD=Se({id:{type:String,default:void 0},size:gn,disabled:{type:Boolean,default:void 0},modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},options:{type:G(Array)},props:{type:G(Object),default:()=>PC},type:{type:String,values:["radio","button"],default:"radio"},...Xn(["ariaLabel"])}),ND=OC,ID=["id","aria-label","aria-labelledby"];var RC=ae({name:"ElRadioGroup",__name:"radio-group",props:OD,emits:ND,setup(e,{emit:t}){const n=e,l=t,o=me("radio"),a=Mn(),s=L(),{formItem:r}=$n(),{inputId:u,isLabeledByFormItem:c}=kl(n,{formItemContext:r}),d=p=>{l(et,p),Re(()=>l(ht,p))};ft(()=>{const p=s.value.querySelectorAll("[type=radio]"),g=p[0];!Array.from(p).some(b=>b.checked)&&g&&(g.tabIndex=0)});const f=S(()=>n.name||a.value),h=S(()=>({...PC,...n.props})),m=p=>{const{label:g,value:b,disabled:C}=h.value,w={label:p[g],value:p[b],disabled:p[C]};return{...zi(p,[g,b,C]),...w}},v=S(()=>n.type==="button"?ah:MC);return yt(NC,Nt({...kn(n),changeEvent:d,name:f})),ue(()=>n.modelValue,(p,g)=>{n.validateEvent&&!Qt(p,g)&&(r==null||r.validate("change").catch(b=>void 0))}),(p,g)=>(T(),F("div",{id:i(u),ref_key:"radioGroupRef",ref:s,class:P(i(o).b("group")),role:"radiogroup","aria-label":i(c)?void 0:e.ariaLabel||"radio-group","aria-labelledby":i(c)?i(r).labelId:void 0},[te(p.$slots,"default",{},()=>[(T(!0),F(ze,null,gt(e.options,(b,C)=>(T(),le(rt(v.value),ut({key:C},{ref_for:!0},m(b)),null,16))),128))])],10,ID))}});const AC=ot(MC,{RadioButton:ah,RadioGroup:RC}),MD=Xt(RC),PD=Xt(ah),bd=Symbol();function RD(e){return!!(ye(e)?e.every(({type:t})=>t===cn):(e==null?void 0:e.type)===cn)}var AD=ae({name:"NodeContent",props:{node:{type:Object,required:!0}},setup(e){const t=me("cascader-node"),{renderLabelFn:n}=Le(bd),{node:l}=e,{data:o,label:a}=l,s=()=>{const r=n==null?void 0:n({node:l,data:o});return RD(r)?a:r??a};return()=>q("span",{class:t.e("label")},[s()])}});const LD=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"];var DD=ae({name:"ElCascaderNode",__name:"node",props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const n=e,l=t,o=Le(bd),a=me("cascader-node"),s=S(()=>o.isHoverMenu),r=S(()=>o.config.multiple),u=S(()=>o.config.checkStrictly),c=S(()=>o.config.showPrefix),d=S(()=>{var R;return(R=o.checkedNodes[0])==null?void 0:R.uid}),f=S(()=>n.node.isDisabled),h=S(()=>n.node.isLeaf),m=S(()=>u.value&&!h.value||!f.value),v=S(()=>g(o.expandingNode)),p=S(()=>u.value&&o.checkedNodes.some(g)),g=R=>{var I;const{level:A,uid:O}=n.node;return((I=R==null?void 0:R.pathNodes[A-1])==null?void 0:I.uid)===O},b=()=>{v.value||o.expandNode(n.node)},C=R=>{const{node:I}=n;R!==I.checked&&o.handleCheckChange(I,R)},w=()=>{o.lazyLoad(n.node,()=>{h.value||b()})},y=R=>{s.value&&(k(),!h.value&&l("expand",R))},k=()=>{const{node:R}=n;!m.value||R.loading||(R.loaded?b():w())},E=()=>{h.value&&!f.value&&!u.value&&!r.value?$(!0):(o.config.checkOnClickNode&&(r.value||u.value)||h.value&&o.config.checkOnClickLeaf)&&!f.value?x(!n.node.checked):s.value||k()},x=R=>{u.value?(C(R),n.node.loaded&&b()):$(R)},$=R=>{n.node.loaded?(C(R),!u.value&&b()):w()};return(R,I)=>(T(),F("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!h.value,"aria-owns":h.value?void 0:e.menuId,"aria-expanded":v.value,tabindex:m.value?-1:void 0,class:P([i(a).b(),i(a).is("selectable",u.value),i(a).is("active",e.node.checked),i(a).is("disabled",!m.value),v.value&&"in-active-path",p.value&&"in-checked-path"]),onMouseenter:y,onFocus:y,onClick:E},[ne(" prefix "),r.value&&c.value?(T(),le(i(jl),{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:f.value,onClick:I[0]||(I[0]=Je(()=>{},["stop"])),"onUpdate:modelValue":x},null,8,["model-value","indeterminate","disabled"])):u.value&&c.value?(T(),le(i(AC),{key:1,"model-value":d.value,label:e.node.uid,disabled:f.value,"onUpdate:modelValue":x,onClick:I[1]||(I[1]=Je(()=>{},["stop"]))},{default:ee(()=>[ne(` - Add an empty element to avoid render label, - do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485 - `),I[2]||(I[2]=j("span",null,null,-1))]),_:1},8,["model-value","label","disabled"])):h.value&&e.node.checked?(T(),le(i(_e),{key:2,class:P(i(a).e("prefix"))},{default:ee(()=>[q(i(Gi))]),_:1},8,["class"])):ne("v-if",!0),ne(" content "),q(i(AD),{node:e.node},null,8,["node"]),ne(" postfix "),h.value?ne("v-if",!0):(T(),F(ze,{key:3},[e.node.loading?(T(),le(i(_e),{key:0,class:P([i(a).is("loading"),i(a).e("postfix")])},{default:ee(()=>[q(i(wo))]),_:1},8,["class"])):(T(),le(i(_e),{key:1,class:P(["arrow-right",i(a).e("postfix")])},{default:ee(()=>[q(i(Gn))]),_:1},8,["class"]))],64))],42,LD))}}),BD=ae({name:"ElCascaderMenu",__name:"menu",props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=e,n=ct(),l=me("cascader-menu"),{t:o}=wt(),a=Mn();let s,r;const u=Le(bd),c=L(),d=S(()=>!t.nodes.length),f=S(()=>!u.initialLoaded),h=S(()=>`${a.value}-${t.index}`),m=b=>{s=b.target},v=b=>{var C;if(!(!u.isHoverMenu||!s||!c.value))if(s.contains(b.target)){p();const w=n.vnode.el,{left:y}=w.getBoundingClientRect(),{offsetWidth:k,offsetHeight:E}=w,x=b.clientX-y,$=s.offsetTop,R=$+s.offsetHeight,I=((C=w.querySelector(`.${l.e("wrap")}`))==null?void 0:C.scrollTop)||0;c.value.innerHTML=` - - - `}else r||(r=window.setTimeout(g,u.config.hoverThreshold))},p=()=>{r&&(clearTimeout(r),r=void 0)},g=()=>{c.value&&(c.value.innerHTML="",p())};return(b,C)=>(T(),le(i(Wl),{key:h.value,tag:"ul",role:"menu",class:P(i(l).b()),"wrap-class":i(l).e("wrap"),"view-class":[i(l).e("list"),i(l).is("empty",d.value)],onMousemove:v,onMouseleave:g},{default:ee(()=>{var w;return[(T(!0),F(ze,null,gt(e.nodes,y=>(T(),le(DD,{key:y.uid,node:y,"menu-id":h.value,onExpand:m},null,8,["node","menu-id"]))),128)),f.value?(T(),F("div",{key:0,class:P(i(l).e("empty-text"))},[q(i(_e),{size:"14",class:P(i(l).is("loading"))},{default:ee(()=>[q(i(wo))]),_:1},8,["class"]),bt(" "+ke(i(o)("el.cascader.loading")),1)],2)):d.value?(T(),F("div",{key:1,class:P(i(l).e("empty-text"))},[te(b.$slots,"empty",{},()=>[bt(ke(i(o)("el.cascader.noData")),1)])],2)):(w=i(u))!=null&&w.isHoverMenu?(T(),F(ze,{key:2},[ne(" eslint-disable vue/html-self-closing "),(T(),F("svg",{ref_key:"hoverZone",ref:c,class:P(i(l).e("hover-zone"))},null,2))],2112)):ne("v-if",!0),ne(" eslint-enable vue/html-self-closing ")]}),_:3},8,["class","wrap-class","view-class"]))}}),VD=Object.defineProperty,_D=(e,t,n)=>t in e?VD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rl=(e,t,n)=>_D(e,typeof t!="symbol"?t+"":t,n);let FD=0;const zD=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};let Qf=class ev{constructor(t,n,l,o=!1){this.data=t,this.config=n,this.parent=l,this.root=o,rl(this,"uid",FD++),rl(this,"level"),rl(this,"value"),rl(this,"label"),rl(this,"pathNodes"),rl(this,"pathValues"),rl(this,"pathLabels"),rl(this,"childrenData"),rl(this,"children"),rl(this,"text"),rl(this,"loaded"),rl(this,"checked",!1),rl(this,"indeterminate",!1),rl(this,"loading",!1);const{value:a,label:s,children:r}=n,u=t[r],c=zD(this);this.level=o?0:l?l.level+1:1,this.value=t[a],this.label=t[s],this.pathNodes=c,this.pathValues=c.map(d=>d.value),this.pathLabels=c.map(d=>d.label),this.childrenData=u,this.children=(u||[]).map(d=>new ev(d,n,this)),this.loaded=!n.lazy||this.isLeaf||!tl(u),this.text=""}get isDisabled(){const{data:t,parent:n,config:l}=this,{disabled:o,checkStrictly:a}=l;return(He(o)?o(t,this):!!t[o])||!a&&!!(n!=null&&n.isDisabled)}get isLeaf(){const{data:t,config:n,childrenData:l,loaded:o}=this,{lazy:a,leaf:s}=n,r=He(s)?s(t,this):t[s];return St(r)?a&&!o?!1:!(ye(l)&&l.length):!!r}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:l}=this,o=new ev(t,this.config,this);return ye(n)?n.push(t):this.childrenData=[t],l.push(o),o}calcText(t,n){const l=t?this.pathLabels.join(n):this.label;return this.text=l,l}broadcast(t){this.children.forEach(n=>{var l;n&&(n.broadcast(t),(l=n.onParentCheck)==null||l.call(n,t))})}emit(){var t;const{parent:n}=this;n&&((t=n.onChildCheck)==null||t.call(n),n.emit())}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(o=>!o.isDisabled),l=n.length?n.every(o=>o.checked):!1;this.setCheckState(l)}setCheckState(t){const n=this.children.length,l=this.children.reduce((o,a)=>{const s=a.checked?1:a.indeterminate?.5:0;return o+s},0);this.checked=this.loaded&&this.children.filter(o=>!o.isDisabled).every(o=>o.loaded&&o.checked)&&t,this.indeterminate=this.loaded&&l!==n&&l>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:l}=this.config;n||!l?this.checked=t:(this.broadcast(t),this.setCheckState(t),this.emit())}};var HD=Object.defineProperty,KD=(e,t,n)=>t in e?HD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,af=(e,t,n)=>KD(e,typeof t!="symbol"?t+"":t,n);const tv=(e,t)=>e.reduce((n,l)=>(l.isLeaf?n.push(l):(!t&&n.push(l),n=n.concat(tv(l.children,t))),n),[]);class hb{constructor(t,n){this.config=n,af(this,"nodes"),af(this,"allNodes"),af(this,"leafNodes");const l=(t||[]).map(o=>new Qf(o,this.config));this.nodes=l,this.allNodes=tv(l,!1),this.leafNodes=tv(l,!0)}getNodes(){return this.nodes}getFlattedNodes(t){return t?this.leafNodes:this.allNodes}appendNode(t,n){const l=n?n.appendChild(t):new Qf(t,this.config);n||this.nodes.push(l),this.appendAllNodesAndLeafNodes(l)}appendNodes(t,n){t.length>0?t.forEach(l=>this.appendNode(l,n)):n&&n.isLeaf&&this.leafNodes.push(n)}appendAllNodesAndLeafNodes(t){this.allNodes.push(t),t.isLeaf&&this.leafNodes.push(t),t.children&&t.children.forEach(n=>{this.appendAllNodesAndLeafNodes(n)})}getNodeByValue(t,n=!1){return cl(t)?null:this.getFlattedNodes(n).find(o=>Qt(o.value,t)||Qt(o.pathValues,t))||null}getSameNode(t){return t&&this.getFlattedNodes(!1).find(({value:l,level:o})=>Qt(t.value,l)&&t.level===o)||null}}const mb=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},WD=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():d1(e)&&e.click()},jD=(e,t)=>{const n=t.slice(0),l=n.map(a=>a.uid),o=e.reduce((a,s)=>{const r=l.indexOf(s.uid);return r>-1&&(a.push(s),n.splice(r,1),l.splice(r,1)),a},[]);return o.push(...n),o};var YD=ae({name:"ElCascaderPanel",__name:"index",props:cD,emits:dD,setup(e,{expose:t,emit:n}){const l=e,o=n;let a=!1;const s=me("cascader"),r=fD(l),u=rn();let c;const d=L(!0),f=L(!1),h=L([]),m=L(),v=L([]),p=L(),g=L([]),b=S(()=>r.value.expandTrigger==="hover"),C=S(()=>l.renderLabel||u.default),w=()=>{const{options:M}=l,N=r.value;a=!1,c=new hb(M,N),v.value=[c.getNodes()],N.lazy&&tl(l.options)?(d.value=!1,y(void 0,B=>{B&&(c=new hb(B,N),v.value=[c.getNodes()]),d.value=!0,O(!1,!0)})):O(!1,!0)},y=(M,N)=>{const B=r.value;M=M||new Qf({},B,void 0,!0),M.loading=!0;const V=Y=>{const H=M,X=H.root?null:H;H.loading=!1,H.loaded=!0,H.childrenData=H.childrenData||[],Y&&(c==null||c.appendNodes(Y,X)),Y&&(N==null||N(Y)),M.level===0&&(f.value=!0)},z=()=>{M.loading=!1,M.loaded=!1,M.level===0&&(d.value=!0)};B.lazyLoad(M,V,z)},k=(M,N)=>{var B;const{level:V}=M,z=v.value.slice(0,V);let Y;M.isLeaf?Y=M.pathNodes[V-2]:(Y=M,z.push(M.children)),((B=p.value)==null?void 0:B.uid)!==(Y==null?void 0:Y.uid)&&(p.value=M,v.value=z,!N&&o("expand-change",(M==null?void 0:M.pathValues)||[]))},E=(M,N,B=!0)=>{const{checkStrictly:V,multiple:z}=r.value,Y=g.value[0];a=!0,!z&&(Y==null||Y.doCheck(!1)),M.doCheck(N),A(),B&&!z&&!V&&o("close"),!B&&!z&&x(M)},x=M=>{M&&(M=M.parent,x(M),M&&k(M))},$=M=>c==null?void 0:c.getFlattedNodes(M),R=M=>{var N;return(N=$(M))==null?void 0:N.filter(({checked:B})=>B!==!1)},I=()=>{g.value.forEach(M=>M.doCheck(!1)),A(),v.value=v.value.slice(0,1),p.value=void 0,o("expand-change",[])},A=()=>{var M;const{checkStrictly:N,multiple:B}=r.value,V=g.value,z=R(!N),Y=jD(V,z),H=Y.map(X=>X.valueByOption);g.value=Y,m.value=B?H:(M=H[0])!=null?M:null},O=(M=!1,N=!1)=>{const{modelValue:B}=l,{lazy:V,multiple:z,checkStrictly:Y}=r.value,H=!Y;if(!(!d.value||a||!N&&Qt(B,m.value)))if(V&&!M){const J=Qg(vM(Yn(B))).map(se=>c==null?void 0:c.getNodeByValue(se)).filter(se=>!!se&&!se.loaded&&!se.loading);J.length?J.forEach(se=>{y(se,()=>O(!1,N))}):O(!0,N)}else{const X=z?Yn(B):[B],J=Qg(X.map(se=>c==null?void 0:c.getNodeByValue(se,H)));D(J,N),m.value=zo(B??void 0)}},D=(M,N=!0)=>{const{checkStrictly:B}=r.value,V=g.value,z=M.filter(X=>!!X&&(B||X.isLeaf)),Y=c==null?void 0:c.getSameNode(p.value),H=N&&Y||z[0];H?H.pathNodes.forEach(X=>k(X,!0)):p.value=void 0,V.forEach(X=>X.doCheck(!1)),Nt(z).forEach(X=>X.doCheck(!0)),g.value=z,Re(K)},K=()=>{Ot&&h.value.forEach(M=>{const N=M==null?void 0:M.$el;if(N){const B=N.querySelector(`.${s.namespace.value}-scrollbar__wrap`);let V=N.querySelector(`.${s.b("node")}.in-active-path`);if(!V){const z=N.querySelectorAll(`.${s.b("node")}.${s.is("active")}`);V=z[z.length-1]}Lp(B,V)}})},Z=M=>{const N=M.target,B=Ft(M);switch(B){case Ce.up:case Ce.down:{M.preventDefault();const V=B===Ce.up?-1:1;Hu(f1(N,V,`.${s.b("node")}[tabindex="-1"]`));break}case Ce.left:{M.preventDefault();const V=h.value[mb(N)-1],z=V==null?void 0:V.$el.querySelector(`.${s.b("node")}[aria-expanded="true"]`);Hu(z);break}case Ce.right:{M.preventDefault();const V=h.value[mb(N)+1],z=V==null?void 0:V.$el.querySelector(`.${s.b("node")}[tabindex="-1"]`);Hu(z);break}case Ce.enter:case Ce.numpadEnter:WD(N);break}};yt(bd,Nt({config:r,expandingNode:p,checkedNodes:g,isHoverMenu:b,initialLoaded:d,renderLabelFn:C,lazyLoad:y,expandNode:k,handleCheckChange:E})),ue(r,(M,N)=>{Qt(M,N)||w()},{immediate:!0}),ue(()=>l.options,w,{deep:!0}),ue(()=>l.modelValue,()=>{a=!1,O()},{deep:!0}),ue(()=>m.value,M=>{Qt(M,l.modelValue)||(o(et,M),o(ht,M))});const W=()=>{f.value||w()};return ap(()=>h.value=[]),ft(()=>!tl(l.modelValue)&&O()),t({menuList:h,menus:v,checkedNodes:g,handleKeyDown:Z,handleCheckChange:E,getFlattedNodes:$,getCheckedNodes:R,clearCheckedNodes:I,calculateCheckedValue:A,scrollToExpandingNode:K,loadLazyRootNodes:W}),(M,N)=>(T(),F("div",{class:P([i(s).b("panel"),i(s).is("bordered",e.border)]),onKeydown:Z},[(T(!0),F(ze,null,gt(v.value,(B,V)=>(T(),le(BD,{key:V,ref_for:!0,ref:z=>h.value[V]=z,index:V,nodes:[...B]},{empty:ee(()=>[te(M.$slots,"empty")]),_:3},8,["index","nodes"]))),128))],34))}});const LC=ot(YD),UD=["placeholder"],qD=["onClick"];var GD=ae({name:"ElCascader",__name:"cascader",props:vD,emits:pD,setup(e,{expose:t,emit:n}){const l={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:Ie})=>{const{modifiersData:Ye,placement:at}=Ie;["right","left","bottom","top"].includes(at)||Ye.arrow&&(Ye.arrow.x=35)},requires:["arrow"]}]},o=e,a=n,s=Qo(),r=rn();let u=0,c=0;const d=me("cascader"),f=me("input"),h={small:7,default:11,large:15},{t:m}=wt(),{formItem:v}=$n(),p=nn(),{valueOnClear:g}=Yi(o),{isComposing:b,handleComposition:C}=Qi({afterComposition(Ie){var Ye;const at=(Ye=Ie.target)==null?void 0:Ye.value;dt(at)}}),w=L(),y=L(),k=L(),E=L(),x=L(),$=L(),R=L(!1),I=L(!1),A=L(!1),O=L(""),D=L(""),K=L([]),Z=L([]),W=S(()=>o.props.multiple?o.collapseTags?K.value.slice(0,o.maxCollapseTags):K.value:[]),M=S(()=>o.props.multiple?o.collapseTags?K.value.slice(o.maxCollapseTags):[]:[]),N=S(()=>s.style),B=S(()=>{var Ie;return(Ie=o.placeholder)!=null?Ie:m("el.cascader.placeholder")}),V=S(()=>D.value||K.value.length>0||b.value?"":B.value),z=hn(),Y=S(()=>z.value==="small"?"small":"default"),H=S(()=>!!o.props.multiple),X=S(()=>!o.filterable||H.value),J=S(()=>H.value?D.value:O.value),se=S(()=>{var Ie;return((Ie=x.value)==null?void 0:Ie.checkedNodes)||[]}),{wrapperRef:re,isFocused:fe,handleBlur:ce}=la(k,{disabled:p,beforeBlur(Ie){var Ye,at;return((Ye=w.value)==null?void 0:Ye.isFocusInsideContent(Ie))||((at=y.value)==null?void 0:at.isFocusInsideContent(Ie))},afterBlur(){var Ie;o.validateEvent&&((Ie=v==null?void 0:v.validate)==null||Ie.call(v,"blur").catch(Ye=>void 0))}}),oe=S(()=>!o.clearable||p.value||A.value||!I.value&&!fe.value?!1:!!se.value.length),U=S(()=>{const{showAllLevels:Ie,separator:Ye}=o,at=se.value;return at.length?H.value?"":at[0].calcText(Ie,Ye):""}),_=S(()=>(v==null?void 0:v.validateState)||""),Q=S({get(){return zo(o.modelValue)},set(Ie){const Ye=Ie??g.value;a(et,Ye),a(ht,Ye),o.validateEvent&&(v==null||v.validate("change").catch(at=>void 0))}}),ie=S(()=>[d.b(),d.m(z.value),d.is("disabled",p.value),s.class]),he=S(()=>[f.e("icon"),"icon-arrow-down",d.is("reverse",R.value)]),pe=S(()=>d.is("focus",fe.value)),be=S(()=>{var Ie,Ye;return(Ye=(Ie=w.value)==null?void 0:Ie.popperRef)==null?void 0:Ye.contentRef}),$e=Ie=>{if(fe.value){const Ye=new FocusEvent("blur",Ie);ce(Ye)}Me(!1)},Me=Ie=>{var Ye,at;p.value||(Ie=Ie??!R.value,Ie!==R.value&&(R.value=Ie,(at=(Ye=k.value)==null?void 0:Ye.input)==null||at.setAttribute("aria-expanded",`${Ie}`),Ie?(Ne(),x.value&&Re(x.value.scrollToExpandingNode)):o.filterable&&st(),a("visibleChange",Ie)))},Ne=()=>{Re(()=>{var Ie;(Ie=w.value)==null||Ie.updatePopper()})},ge=()=>{A.value=!1},Te=Ie=>{const{showAllLevels:Ye,separator:at}=o;return{node:Ie,key:Ie.uid,text:Ie.calcText(Ye,at),hitState:!1,closable:!p.value&&!Ie.isDisabled}},we=Ie=>{var Ye;const at=Ie.node;at.doCheck(!1),(Ye=x.value)==null||Ye.calculateCheckedValue(),a("removeTag",at.valueByOption)},Pe=()=>{switch(o.showCheckedStrategy){case"child":return se.value;case"parent":{const Ie=Ke(!1),Ye=Ie.map(Ut=>Ut.value);return Ie.filter(Ut=>!Ut.parent||!Ye.includes(Ut.parent.value))}default:return[]}},Fe=()=>{if(!H.value)return;const Ie=Pe(),Ye=[];Ie.forEach(at=>Ye.push(Te(at))),K.value=Ye},Ze=()=>{var Ie,Ye;const{filterMethod:at,showAllLevels:Ut,separator:Mt}=o,Ue=(Ye=(Ie=x.value)==null?void 0:Ie.getFlattedNodes(!o.props.checkStrictly))==null?void 0:Ye.filter(Xe=>Xe.isDisabled?!1:(Xe.calcText(Ut,Mt),at(Xe,J.value)));H.value&&K.value.forEach(Xe=>{Xe.hitState=!1}),A.value=!0,Z.value=Ue,Ne()},Oe=()=>{var Ie;let Ye;A.value&&$.value?Ye=$.value.$el.querySelector(`.${d.e("suggestion-item")}`):Ye=(Ie=x.value)==null?void 0:Ie.$el.querySelector(`.${d.b("node")}[tabindex="-1"]`),Ye&&(Ye.focus(),!A.value&&Ye.click())},Ae=()=>{var Ie,Ye,at;const Ut=(Ie=k.value)==null?void 0:Ie.input,Mt=E.value,Ue=(Ye=$.value)==null?void 0:Ye.$el;if(!(!Ot||!Ut)){if(Ue){const Xe=Ue.querySelector(`.${d.e("suggestion-list")}`);Xe.style.minWidth=`${Ut.offsetWidth}px`}if(Mt){const{offsetHeight:Xe}=Mt,vt=K.value.length>0?`${Math.max(Xe,u)-2}px`:`${u}px`;if(Ut.style.height=vt,r.prefix){const On=(at=k.value)==null?void 0:at.$el.querySelector(`.${f.e("prefix")}`);let Zn=0;On&&(Zn=On.offsetWidth,Zn>0&&(Zn+=h[z.value||"default"])),Mt.style.left=`${Zn}px`}else Mt.style.left="0";Ne()}}},Ke=Ie=>{var Ye;return(Ye=x.value)==null?void 0:Ye.getCheckedNodes(Ie)},Et=Ie=>{Ne(),a("expandChange",Ie)},It=Ie=>{if(b.value)return;switch(Ft(Ie)){case Ce.enter:case Ce.numpadEnter:Me();break;case Ce.down:Me(!0),Re(Oe),Ie.preventDefault();break;case Ce.esc:R.value===!0&&(Ie.preventDefault(),Ie.stopPropagation(),Me(!1));break;case Ce.tab:Me(!1);break}},qe=()=>{var Ie;(Ie=x.value)==null||Ie.clearCheckedNodes(),!R.value&&o.filterable&&st(),Me(!1),a("clear")},st=()=>{const{value:Ie}=U;O.value=Ie,D.value=Ie},mt=Ie=>{var Ye,at;const{checked:Ut}=Ie;H.value?(Ye=x.value)==null||Ye.handleCheckChange(Ie,!Ut,!1):(!Ut&&((at=x.value)==null||at.handleCheckChange(Ie,!0,!1)),Me(!1))},ve=Ie=>{const Ye=Ie.target,at=Ft(Ie);switch(at){case Ce.up:case Ce.down:{Ie.preventDefault();const Ut=at===Ce.up?-1:1;Hu(f1(Ye,Ut,`.${d.e("suggestion-item")}[tabindex="-1"]`));break}case Ce.enter:case Ce.numpadEnter:Ye.click();break}},De=()=>{const Ie=K.value[K.value.length-1];c=D.value?0:c+1,!(!Ie||!c||o.collapseTags&&K.value.length>1)&&(Ie.hitState?we(Ie):Ie.hitState=!0)},de=S(()=>o.debounce),Be=Ki(()=>{const{value:Ie}=J;if(!Ie)return;const Ye=o.beforeFilter(Ie);as(Ye)?Ye.then(Ze).catch(()=>{}):Ye!==!1?Ze():ge()},de),dt=(Ie,Ye)=>{!R.value&&Me(!0),!(Ye!=null&&Ye.isComposing)&&(Ie?Be():ge())},Dt=Ie=>Number.parseFloat(JM(f.cssVarName("input-height"),Ie).value)-2,Gt=()=>{var Ie;(Ie=k.value)==null||Ie.focus()},Zt=()=>{var Ie;(Ie=k.value)==null||Ie.blur()};return ue(A,Ne),ue([se,p,()=>o.collapseTags,()=>o.maxCollapseTags],Fe),ue(K,()=>{Re(()=>Ae())}),ue(z,async()=>{await Re();const Ie=k.value.input;u=Dt(Ie)||u,Ae()}),ue(U,st,{immediate:!0}),ue(()=>R.value,Ie=>{var Ye;Ie&&o.props.lazy&&o.props.lazyLoad&&((Ye=x.value)==null||Ye.loadLazyRootNodes())}),ft(()=>{const Ie=k.value.input,Ye=Dt(Ie);u=Ie.offsetHeight||Ye,Yt(Ie,Ae)}),t({getCheckedNodes:Ke,cascaderPanelRef:x,togglePopperVisible:Me,contentRef:be,presentText:U,focus:Gt,blur:Zt}),(Ie,Ye)=>(T(),le(i(xn),{ref_key:"tooltipRef",ref:w,visible:R.value,teleported:e.teleported,"popper-class":[i(d).e("dropdown"),e.popperClass],"popper-style":e.popperStyle,"popper-options":l,"fallback-placements":e.fallbackPlacements,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:e.placement,transition:`${i(d).namespace.value}-zoom-in-top`,effect:e.effect,pure:"",persistent:e.persistent,onHide:ge},{default:ee(()=>[it((T(),F("div",{ref_key:"wrapperRef",ref:re,class:P(ie.value),style:je(N.value),onClick:Ye[8]||(Ye[8]=()=>Me(X.value?void 0:!0)),onKeydown:It,onMouseenter:Ye[9]||(Ye[9]=at=>I.value=!0),onMouseleave:Ye[10]||(Ye[10]=at=>I.value=!1)},[q(i(Un),{ref_key:"inputRef",ref:k,modelValue:O.value,"onUpdate:modelValue":Ye[1]||(Ye[1]=at=>O.value=at),placeholder:V.value,readonly:X.value,disabled:i(p),"validate-event":!1,size:i(z),class:P(pe.value),tabindex:H.value&&e.filterable&&!i(p)?-1:void 0,onCompositionstart:i(C),onCompositionupdate:i(C),onCompositionend:i(C),onInput:dt},ll({suffix:ee(()=>[oe.value?(T(),le(i(_e),{key:"clear",class:P([i(f).e("icon"),"icon-circle-close"]),onClick:Je(qe,["stop"])},{default:ee(()=>[(T(),le(rt(e.clearIcon)))]),_:1},8,["class"])):(T(),le(i(_e),{key:"arrow-down",class:P(he.value),onClick:Ye[0]||(Ye[0]=Je(at=>Me(),["stop"]))},{default:ee(()=>[q(i(ko))]),_:1},8,["class"]))]),_:2},[Ie.$slots.prefix?{name:"prefix",fn:ee(()=>[te(Ie.$slots,"prefix")]),key:"0"}:void 0]),1032,["modelValue","placeholder","readonly","disabled","size","class","tabindex","onCompositionstart","onCompositionupdate","onCompositionend"]),H.value?(T(),F("div",{key:0,ref_key:"tagWrapper",ref:E,class:P([i(d).e("tags"),i(d).is("validate",!!_.value)])},[te(Ie.$slots,"tag",{data:K.value,deleteTag:we},()=>[(T(!0),F(ze,null,gt(W.value,at=>(T(),le(i(Ho),{key:at.key,type:e.tagType,size:Y.value,effect:e.tagEffect,hit:at.hitState,closable:at.closable,"disable-transitions":"",onClose:Ut=>we(at)},{default:ee(()=>[j("span",null,ke(at.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))),128))]),e.collapseTags&&K.value.length>e.maxCollapseTags?(T(),le(i(xn),{key:0,ref_key:"tagTooltipRef",ref:y,disabled:R.value||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom","popper-class":e.popperClass,"popper-style":e.popperStyle,effect:e.effect,persistent:e.persistent},{default:ee(()=>[q(i(Ho),{closable:!1,size:Y.value,type:e.tagType,effect:e.tagEffect,"disable-transitions":""},{default:ee(()=>[j("span",{class:P(i(d).e("tags-text"))}," + "+ke(K.value.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect"])]),content:ee(()=>[q(i(Wl),{"max-height":e.maxCollapseTagsTooltipHeight},{default:ee(()=>[j("div",{class:P(i(d).e("collapse-tags"))},[(T(!0),F(ze,null,gt(M.value,(at,Ut)=>(T(),F("div",{key:Ut,class:P(i(d).e("collapse-tag"))},[(T(),le(i(Ho),{key:at.key,class:"in-tooltip",type:e.tagType,size:Y.value,effect:e.tagEffect,hit:at.hitState,closable:at.closable,"disable-transitions":"",onClose:Mt=>we(at)},{default:ee(()=>[j("span",null,ke(at.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))],2))),128))],2)]),_:1},8,["max-height"])]),_:1},8,["disabled","popper-class","popper-style","effect","persistent"])):ne("v-if",!0),e.filterable&&!i(p)?it((T(),F("input",{key:1,"onUpdate:modelValue":Ye[2]||(Ye[2]=at=>D.value=at),type:"text",class:P(i(d).e("search-input")),placeholder:U.value?"":B.value,onInput:Ye[3]||(Ye[3]=at=>dt(D.value,at)),onClick:Ye[4]||(Ye[4]=Je(at=>Me(!0),["stop"])),onKeydown:Jt(De,["delete"]),onCompositionstart:Ye[5]||(Ye[5]=(...at)=>i(C)&&i(C)(...at)),onCompositionupdate:Ye[6]||(Ye[6]=(...at)=>i(C)&&i(C)(...at)),onCompositionend:Ye[7]||(Ye[7]=(...at)=>i(C)&&i(C)(...at))},null,42,UD)),[[tw,D.value]]):ne("v-if",!0)],2)):ne("v-if",!0)],38)),[[i(Ia),$e,be.value]])]),content:ee(()=>[Ie.$slots.header?(T(),F("div",{key:0,class:P(i(d).e("header")),onClick:Ye[11]||(Ye[11]=Je(()=>{},["stop"]))},[te(Ie.$slots,"header")],2)):ne("v-if",!0),it(q(i(LC),{ref_key:"cascaderPanelRef",ref:x,modelValue:Q.value,"onUpdate:modelValue":Ye[12]||(Ye[12]=at=>Q.value=at),options:e.options,props:o.props,border:!1,"render-label":Ie.$slots.default,onExpandChange:Et,onClose:Ye[13]||(Ye[13]=at=>Ie.$nextTick(()=>Me(!1)))},{empty:ee(()=>[te(Ie.$slots,"empty")]),_:3},8,["modelValue","options","props","render-label"]),[[$t,!A.value]]),e.filterable?it((T(),le(i(Wl),{key:1,ref_key:"suggestionPanel",ref:$,tag:"ul",class:P(i(d).e("suggestion-panel")),"view-class":i(d).e("suggestion-list"),onKeydown:ve},{default:ee(()=>[Z.value.length?(T(!0),F(ze,{key:0},gt(Z.value,at=>(T(),F("li",{key:at.uid,class:P([i(d).e("suggestion-item"),i(d).is("checked",at.checked)]),tabindex:-1,onClick:Ut=>mt(at)},[te(Ie.$slots,"suggestion-item",{item:at},()=>[j("span",null,ke(at.text),1),at.checked?(T(),le(i(_e),{key:0},{default:ee(()=>[q(i(Gi))]),_:1})):ne("v-if",!0)])],10,qD))),128)):te(Ie.$slots,"empty",{key:1},()=>[j("li",{class:P(i(d).e("empty-text"))},ke(i(m)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[$t,A.value]]):ne("v-if",!0),Ie.$slots.footer?(T(),F("div",{key:2,class:P(i(d).e("footer")),onClick:Ye[14]||(Ye[14]=Je(()=>{},["stop"]))},[te(Ie.$slots,"footer")],2)):ne("v-if",!0)]),_:3},8,["visible","teleported","popper-class","popper-style","fallback-placements","placement","transition","effect","persistent"]))}});const XD=ot(GD),ZD=Se({checked:Boolean,disabled:Boolean,type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),JD={"update:checked":e=>Vt(e),[ht]:e=>Vt(e)};var QD=ae({name:"ElCheckTag",__name:"check-tag",props:ZD,emits:JD,setup(e,{emit:t}){const n=e,l=t,o=me("check-tag"),a=S(()=>[o.b(),o.is("checked",n.checked),o.is("disabled",n.disabled),o.m(n.type||"primary")]),s=()=>{if(n.disabled)return;const r=!n.checked;l(ht,r),l("update:checked",r)};return(r,u)=>(T(),F("span",{class:P(a.value),onClick:s},[te(r.$slots,"default")],2))}});const e8=ot(QD),t8=Se({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:G([Number,Object]),default:()=>en({})},sm:{type:G([Number,Object]),default:()=>en({})},md:{type:G([Number,Object]),default:()=>en({})},lg:{type:G([Number,Object]),default:()=>en({})},xl:{type:G([Number,Object]),default:()=>en({})}}),DC=Symbol("rowContextKey");var n8=ae({name:"ElCol",__name:"col",props:t8,setup(e){const t=e,{gutter:n}=Le(DC,{gutter:S(()=>0)}),l=me("col"),o=S(()=>{const s={};return n.value&&(s.paddingLeft=s.paddingRight=`${n.value/2}px`),s}),a=S(()=>{const s=[];return["span","offset","pull","push"].forEach(c=>{const d=t[c];We(d)&&(c==="span"?s.push(l.b(`${t[c]}`)):d>0&&s.push(l.b(`${c}-${t[c]}`)))}),["xs","sm","md","lg","xl"].forEach(c=>{We(t[c])?s.push(l.b(`${c}-${t[c]}`)):nt(t[c])&&Object.entries(t[c]).forEach(([d,f])=>{s.push(d!=="span"?l.b(`${c}-${d}-${f}`):l.b(`${c}-${f}`))})}),n.value&&s.push(l.is("guttered")),[l.b(),s]});return(s,r)=>(T(),le(rt(e.tag),{class:P(a.value),style:je(o.value)},{default:ee(()=>[te(s.$slots,"default")]),_:3},8,["class","style"]))}});const l8=ot(n8),gb=e=>We(e)||Ve(e)||ye(e),o8=Se({accordion:Boolean,modelValue:{type:G([Array,String,Number]),default:()=>en([])},expandIconPosition:{type:G([String]),default:"right"},beforeCollapse:{type:G(Function)}}),a8={[et]:gb,[ht]:gb},BC=Symbol("collapseContextKey"),s8="ElCollapse",r8=(e,t)=>{const n=L(wn(e.modelValue)),l=s=>{n.value=s;const r=e.accordion?n.value[0]:n.value;t(et,r),t(ht,r)},o=s=>{if(e.accordion)l([n.value[0]===s?"":s]);else{const r=[...n.value],u=r.indexOf(s);u>-1?r.splice(u,1):r.push(s),l(r)}},a=async s=>{const{beforeCollapse:r}=e;if(!r){o(s);return}const u=r(s);[as(u),Vt(u)].includes(!0)||pn(s8,"beforeCollapse must return type `Promise` or `boolean`"),as(u)?u.then(d=>{d!==!1&&o(s)}).catch(d=>{}):u&&o(s)};return ue(()=>e.modelValue,()=>n.value=wn(e.modelValue),{deep:!0}),yt(BC,{activeNames:n,handleItemClick:a}),{activeNames:n,setActiveNames:l}},i8=e=>{const t=me("collapse");return{rootKls:S(()=>[t.b(),t.b(`icon-position-${e.expandIconPosition}`)])}};var u8=ae({name:"ElCollapse",__name:"collapse",props:o8,emits:a8,setup(e,{expose:t,emit:n}){const l=e,o=n,{activeNames:a,setActiveNames:s}=r8(l,o),{rootKls:r}=i8(l);return t({activeNames:a,setActiveNames:s}),(u,c)=>(T(),F("div",{class:P(i(r))},[te(u.$slots,"default")],2))}});const c8=Se({title:{type:String,default:""},name:{type:G([String,Number]),default:void 0},icon:{type:_t,default:Gn},disabled:Boolean});var d8=ae({name:"ElCollapseTransition",__name:"collapse-transition",setup(e){const t=me("collapse-transition"),n=o=>{o.style.maxHeight="",o.style.overflow=o.dataset.oldOverflow,o.style.paddingTop=o.dataset.oldPaddingTop,o.style.paddingBottom=o.dataset.oldPaddingBottom},l={beforeEnter(o){o.dataset||(o.dataset={}),o.dataset.oldPaddingTop=o.style.paddingTop,o.dataset.oldPaddingBottom=o.style.paddingBottom,o.style.height&&(o.dataset.elExistsHeight=o.style.height),o.style.maxHeight=0,o.style.paddingTop=0,o.style.paddingBottom=0},enter(o){requestAnimationFrame(()=>{o.dataset.oldOverflow=o.style.overflow,o.dataset.elExistsHeight?o.style.maxHeight=o.dataset.elExistsHeight:o.scrollHeight!==0?o.style.maxHeight=`${o.scrollHeight}px`:o.style.maxHeight=0,o.style.paddingTop=o.dataset.oldPaddingTop,o.style.paddingBottom=o.dataset.oldPaddingBottom,o.style.overflow="hidden"})},afterEnter(o){o.style.maxHeight="",o.style.overflow=o.dataset.oldOverflow},enterCancelled(o){n(o)},beforeLeave(o){o.dataset||(o.dataset={}),o.dataset.oldPaddingTop=o.style.paddingTop,o.dataset.oldPaddingBottom=o.style.paddingBottom,o.dataset.oldOverflow=o.style.overflow,o.style.maxHeight=`${o.scrollHeight}px`,o.style.overflow="hidden"},leave(o){o.scrollHeight!==0&&(o.style.maxHeight=0,o.style.paddingTop=0,o.style.paddingBottom=0)},afterLeave(o){n(o)},leaveCancelled(o){n(o)}};return(o,a)=>(T(),le(In,ut({name:i(t).b()},zE(l)),{default:ee(()=>[te(o.$slots,"default")]),_:3},16,["name"]))}});const yd=ot(d8),f8=e=>{const t=Le(BC),{namespace:n}=me("collapse"),l=L(!1),o=L(!1),a=Up(),s=S(()=>a.current++),r=S(()=>{var h;return(h=e.name)!=null?h:`${n.value}-id-${a.prefix}-${i(s)}`}),u=S(()=>t==null?void 0:t.activeNames.value.includes(i(r)));return{focusing:l,id:s,isActive:u,handleFocus:()=>{setTimeout(()=>{o.value?o.value=!1:l.value=!0},50)},handleHeaderClick:h=>{if(e.disabled)return;const m=h.target;m!=null&&m.closest("input, textarea, select")||(t==null||t.handleItemClick(i(r)),l.value=!1,o.value=!0)},handleEnterClick:h=>{const m=h.target;m!=null&&m.closest("input, textarea, select")||(h.preventDefault(),t==null||t.handleItemClick(i(r)))}}},v8=(e,{focusing:t,isActive:n,id:l})=>{const o=me("collapse"),a=S(()=>[o.b("item"),o.is("active",i(n)),o.is("disabled",e.disabled)]),s=S(()=>[o.be("item","header"),o.is("active",i(n)),{focusing:i(t)&&!e.disabled}]),r=S(()=>[o.be("item","arrow"),o.is("active",i(n))]),u=S(()=>[o.be("item","title")]),c=S(()=>o.be("item","wrap")),d=S(()=>o.be("item","content")),f=S(()=>o.b(`content-${i(l)}`)),h=S(()=>o.b(`head-${i(l)}`));return{itemTitleKls:u,arrowKls:r,headKls:s,rootKls:a,itemWrapperKls:c,itemContentKls:d,scopedContentId:f,scopedHeadId:h}},p8=["id","aria-expanded","aria-controls","aria-describedby","tabindex","aria-disabled"],h8=["id","aria-hidden","aria-labelledby"];var VC=ae({name:"ElCollapseItem",__name:"collapse-item",props:c8,setup(e,{expose:t}){const n=e,{focusing:l,id:o,isActive:a,handleFocus:s,handleHeaderClick:r,handleEnterClick:u}=f8(n),{arrowKls:c,headKls:d,rootKls:f,itemTitleKls:h,itemWrapperKls:m,itemContentKls:v,scopedContentId:p,scopedHeadId:g}=v8(n,{focusing:l,isActive:a,id:o});return t({isActive:a}),(b,C)=>(T(),F("div",{class:P(i(f))},[j("div",{id:i(g),class:P(i(d)),"aria-expanded":i(a),"aria-controls":i(p),"aria-describedby":i(p),tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,role:"button",onClick:C[0]||(C[0]=(...w)=>i(r)&&i(r)(...w)),onKeydown:C[1]||(C[1]=Jt(Je((...w)=>i(u)&&i(u)(...w),["stop"]),["space","enter"])),onFocus:C[2]||(C[2]=(...w)=>i(s)&&i(s)(...w)),onBlur:C[3]||(C[3]=w=>l.value=!1)},[j("span",{class:P(i(h))},[te(b.$slots,"title",{isActive:i(a)},()=>[bt(ke(e.title),1)])],2),te(b.$slots,"icon",{isActive:i(a)},()=>[q(i(_e),{class:P(i(c))},{default:ee(()=>[(T(),le(rt(e.icon)))]),_:1},8,["class"])])],42,p8),q(i(yd),null,{default:ee(()=>[it(j("div",{id:i(p),role:"region",class:P(i(m)),"aria-hidden":!i(a),"aria-labelledby":i(g)},[j("div",{class:P(i(v))},[te(b.$slots,"default")],2)],10,h8),[[$t,i(a)]])]),_:3})],2))}});const m8=ot(u8,{CollapseItem:VC}),g8=Xt(VC),_C=Se({modelValue:{type:G(String),default:void 0},border:{type:Boolean,default:!0},showAlpha:Boolean,colorFormat:{type:G(String)},disabled:Boolean,predefine:{type:G(Array)},validateEvent:{type:Boolean,default:!0}}),b8={[et]:e=>Ve(e)||dn(e)},FC=Symbol("colorCommonPickerKey"),zC=Symbol("colorPickerPanelContextKey"),HC=Se({color:{type:G(Object),required:!0},vertical:Boolean,disabled:Boolean}),y8=HC;let sf=!1;function nv(e,t){if(!Ot)return;const n=function(a){var s;(s=t.drag)==null||s.call(t,a)},l=function(a){var s;document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",l),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",l),document.onselectstart=null,document.ondragstart=null,sf=!1,(s=t.end)==null||s.call(t,a)},o=function(a){var s;sf||(document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n),document.addEventListener("mouseup",l),document.addEventListener("touchmove",n),document.addEventListener("touchend",l),sf=!0,(s=t.start)==null||s.call(t,a))};e.addEventListener("mousedown",o),e.addEventListener("touchstart",o,{passive:!1})}const bb=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},lv=(e,t)=>Math.abs(bb(e)-bb(t)),KC=e=>{let t,n;return e.type==="touchend"?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},WC=(e,{key:t,minValue:n,maxValue:l})=>{const o=ct(),a=Wt(),s=Wt(),r=S(()=>e.color.get(t));function u(h){var m;if(e.disabled)return;h.target!==a.value&&c(h),(m=a.value)==null||m.focus()}function c(h){if(!s.value||!a.value||e.disabled)return;const v=o.vnode.el.getBoundingClientRect(),{clientX:p,clientY:g}=KC(h);let b;if(e.vertical){let C=g-v.top;C=Math.max(a.value.offsetHeight/2,C),C=Math.min(C,v.height-a.value.offsetHeight/2),b=Math.round((C-a.value.offsetHeight/2)/(v.height-a.value.offsetHeight)*l)}else{let C=p-v.left;C=Math.max(a.value.offsetWidth/2,C),C=Math.min(C,v.width-a.value.offsetWidth/2),b=Math.round((C-a.value.offsetWidth/2)/(v.width-a.value.offsetWidth)*l)}e.color.set(t,b)}function d(h){if(e.disabled)return;const{shiftKey:m}=h,v=Ft(h),p=m?10:1,g=t==="hue"?-1:1;let b=!0;switch(v){case Ce.left:case Ce.down:f(-p*g);break;case Ce.right:case Ce.up:f(p*g);break;case Ce.home:e.color.set(t,t==="hue"?l:n);break;case Ce.end:e.color.set(t,t==="hue"?n:l);break;case Ce.pageDown:f(-4*g);break;case Ce.pageUp:f(4*g);break;default:b=!1;break}b&&h.preventDefault()}function f(h){let m=r.value+h;m=ml?l:m,e.color.set(t,m)}return{thumb:a,bar:s,currentValue:r,handleDrag:c,handleClick:u,handleKeydown:d}},jC=(e,{namespace:t,maxValue:n,bar:l,thumb:o,currentValue:a,handleDrag:s,getBackground:r})=>{const u=ct(),c=me(t),d=L(0),f=L(0),h=L();function m(){if(!o.value||e.vertical)return 0;const k=u.vnode.el,E=a.value;return k?Math.round(E*(k.offsetWidth-o.value.offsetWidth/2)/n):0}function v(){if(!o.value)return 0;const k=u.vnode.el;if(!e.vertical)return 0;const E=a.value;return k?Math.round(E*(k.offsetHeight-o.value.offsetHeight/2)/n):0}function p(){d.value=m(),f.value=v(),h.value=r==null?void 0:r()}ft(()=>{if(!l.value||!o.value)return;const k={drag:E=>{s(E)},end:E=>{s(E)}};nv(l.value,k),nv(o.value,k),p()}),ue(a,()=>p()),ue(()=>e.color.value,()=>p());const g=S(()=>[c.b(),c.is("vertical",e.vertical),c.is("disabled",e.disabled)]),b=S(()=>c.e("bar")),C=S(()=>c.e("thumb")),w=S(()=>({background:h.value})),y=S(()=>({left:tn(d.value),top:tn(f.value)}));return{rootKls:g,barKls:b,barStyle:w,thumbKls:C,thumbStyle:y,thumbLeft:d,thumbTop:f,update:p}},w8=["aria-label","aria-valuenow","aria-valuetext","aria-orientation","tabindex","aria-disabled"],yb=0,rf=100;var C8=ae({name:"ElColorAlphaSlider",__name:"alpha-slider",props:HC,setup(e,{expose:t}){const n=e,{currentValue:l,bar:o,thumb:a,handleDrag:s,handleClick:r,handleKeydown:u}=WC(n,{key:"alpha",minValue:yb,maxValue:rf}),{rootKls:c,barKls:d,barStyle:f,thumbKls:h,thumbStyle:m,update:v}=jC(n,{namespace:"color-alpha-slider",maxValue:rf,currentValue:l,bar:o,thumb:a,handleDrag:s,getBackground:C}),{t:p}=wt(),g=S(()=>p("el.colorpicker.alphaLabel")),b=S(()=>p("el.colorpicker.alphaDescription",{alpha:l.value,color:n.color.value}));function C(){if(n.color&&n.color.value){const{r:w,g:y,b:k}=n.color.toRgb();return`linear-gradient(to right, rgba(${w}, ${y}, ${k}, 0) 0%, rgba(${w}, ${y}, ${k}, 1) 100%)`}return""}return t({update:v,bar:o,thumb:a}),(w,y)=>(T(),F("div",{class:P(i(c))},[j("div",{ref_key:"bar",ref:o,class:P(i(d)),style:je(i(f)),onClick:y[0]||(y[0]=(...k)=>i(r)&&i(r)(...k))},null,6),j("div",{ref_key:"thumb",ref:a,class:P(i(h)),style:je(i(m)),"aria-label":g.value,"aria-valuenow":i(l),"aria-valuetext":b.value,"aria-orientation":e.vertical?"vertical":"horizontal","aria-valuemin":yb,"aria-valuemax":rf,role:"slider",tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,onKeydown:y[1]||(y[1]=(...k)=>i(u)&&i(u)(...k))},null,46,w8)],2))}});const S8=["aria-label","aria-valuenow","aria-valuetext","aria-orientation","tabindex","aria-disabled"],wb=0,uf=360;var k8=ae({name:"ElColorHueSlider",__name:"hue-slider",props:y8,setup(e,{expose:t}){const n=e,{currentValue:l,bar:o,thumb:a,handleDrag:s,handleClick:r,handleKeydown:u}=WC(n,{key:"hue",minValue:wb,maxValue:uf}),{rootKls:c,barKls:d,thumbKls:f,thumbStyle:h,thumbTop:m,update:v}=jC(n,{namespace:"color-hue-slider",maxValue:uf,currentValue:l,bar:o,thumb:a,handleDrag:s}),{t:p}=wt(),g=S(()=>p("el.colorpicker.hueLabel")),b=S(()=>p("el.colorpicker.hueDescription",{hue:l.value,color:n.color.value}));return t({bar:o,thumb:a,thumbTop:m,update:v}),(C,w)=>(T(),F("div",{class:P(i(c))},[j("div",{ref_key:"bar",ref:o,class:P(i(d)),onClick:w[0]||(w[0]=(...y)=>i(r)&&i(r)(...y))},null,2),j("div",{ref_key:"thumb",ref:a,class:P(i(f)),style:je(i(h)),"aria-label":g.value,"aria-valuenow":i(l),"aria-valuetext":b.value,"aria-orientation":e.vertical?"vertical":"horizontal","aria-valuemin":wb,"aria-valuemax":uf,role:"slider",tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,onKeydown:w[1]||(w[1]=(...y)=>i(u)&&i(u)(...y))},null,46,S8)],2))}});const E8=Se({colors:{type:G(Array),required:!0},color:{type:G(Object),required:!0},enableAlpha:{type:Boolean,required:!0},disabled:Boolean});var x8=Object.defineProperty,T8=(e,t,n)=>t in e?x8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,lo=(e,t,n)=>T8(e,typeof t!="symbol"?t+"":t,n);class Cc{constructor(t={}){lo(this,"_hue",0),lo(this,"_saturation",100),lo(this,"_value",100),lo(this,"_alpha",100),lo(this,"_tiny",new As),lo(this,"_isValid",!1),lo(this,"enableAlpha",!1),lo(this,"format",""),lo(this,"value",""),lo(this,"selected");for(const n in t)xt(t,n)&&(this[n]=t[n]);t.value?this.fromString(t.value):this.doOnChange()}set(t,n){if(arguments.length===1&&typeof t=="object"){for(const l in t)xt(t,l)&&this.set(l,t[l]);return}this[`_${t}`]=n,this._isValid=!0,this.doOnChange()}get(t){return["hue","saturation","value","alpha"].includes(t)?Math.round(this[`_${t}`]):this[`_${t}`]}toRgb(){return this._isValid?this._tiny.toRgb():{r:255,g:255,b:255,a:0}}fromString(t){const n=new As(t);if(this._isValid=n.isValid,n.isValid){const{h:l,s:o,v:a,a:s}=n.toHsv();this._hue=l,this._saturation=o*100,this._value=a*100,this._alpha=s*100}else this._hue=0,this._saturation=100,this._value=100,this._alpha=100;this.doOnChange()}clear(){this._isValid=!1,this.value="",this._hue=0,this._saturation=100,this._value=100,this._alpha=100}compare(t){const n=new As({h:t._hue,s:t._saturation/100,v:t._value/100,a:t._alpha/100});return this._tiny.equals(n)}doOnChange(){const{_hue:t,_saturation:n,_value:l,_alpha:o,format:a,enableAlpha:s}=this;let r=a||(s?"rgb":"hex");a==="hex"&&s&&(r="hex8"),this._tiny=new As({h:t,s:n/100,v:l/100,a:o/100}),this.value=this._isValid?this._tiny.toString(r):""}}const $8=e=>{const{currentColor:t}=Le(zC),n=L(o(e.colors,e.color));ue(()=>t.value,a=>{const s=new Cc({value:a,enableAlpha:e.enableAlpha});n.value.forEach(r=>{r.selected=s.compare(r)})}),vl(()=>{n.value=o(e.colors,e.color)});function l(a){e.color.fromString(e.colors[a])}function o(a,s){return a.map(r=>{const u=new Cc({value:r,enableAlpha:e.enableAlpha});return u.selected=u.compare(s),u})}return{rgbaColors:n,handleSelect:l}},O8=e=>{const t=me("color-predefine"),n=S(()=>[t.b(),t.is("disabled",e.disabled)]),l=S(()=>t.e("colors"));function o(a){return[t.e("color-selector"),t.is("alpha",a.get("alpha")<100),{selected:a.selected}]}return{rootKls:n,colorsKls:l,colorSelectorKls:o}},N8=["disabled","aria-label","onClick"];var I8=ae({name:"ElColorPredefine",__name:"predefine",props:E8,setup(e){const t=e,{rgbaColors:n,handleSelect:l}=$8(t),{rootKls:o,colorsKls:a,colorSelectorKls:s}=O8(t),{t:r}=wt(),u=c=>r("el.colorpicker.predefineDescription",{value:c});return(c,d)=>(T(),F("div",{class:P(i(o))},[j("div",{class:P(i(a))},[(T(!0),F(ze,null,gt(i(n),(f,h)=>(T(),F("button",{key:e.colors[h],type:"button",disabled:e.disabled,"aria-label":u(f.value),class:P(i(s)(f)),onClick:m=>i(l)(h)},[j("div",{style:je({backgroundColor:f.value})},null,4)],10,N8))),128))],2)],2))}});const M8=Se({color:{type:G(Object),required:!0},disabled:Boolean}),P8=e=>{const t=ct(),n=L(),l=L(0),o=L(0),a=L("hsl(0, 100%, 50%)"),s=S(()=>e.color.get("saturation")),r=S(()=>e.color.get("value")),u=S(()=>e.color.get("hue"));function c(v){var p;if(e.disabled)return;v.target!==n.value&&d(v),(p=n.value)==null||p.focus({preventScroll:!0})}function d(v){if(e.disabled)return;const g=t.vnode.el.getBoundingClientRect(),{clientX:b,clientY:C}=KC(v);let w=b-g.left,y=C-g.top;w=Math.max(0,w),w=Math.min(w,g.width),y=Math.max(0,y),y=Math.min(y,g.height),o.value=w,l.value=y,e.color.set({saturation:w/g.width*100,value:100-y/g.height*100})}function f(v){if(e.disabled)return;const{shiftKey:p}=v,g=Ft(v),b=p?10:1;let C=!0;switch(g){case Ce.left:h(-b);break;case Ce.right:h(b);break;case Ce.up:m(b);break;case Ce.down:m(-b);break;default:C=!1;break}C&&v.preventDefault()}function h(v){let p=s.value+v;p=p<0?0:p>100?100:p,e.color.set("saturation",p)}function m(v){let p=r.value+v;p=p<0?0:p>100?100:p,e.color.set("value",p)}return{cursorRef:n,cursorTop:l,cursorLeft:o,background:a,saturation:s,brightness:r,hue:u,handleClick:c,handleDrag:d,handleKeydown:f}},R8=(e,{cursorTop:t,cursorLeft:n,background:l,handleDrag:o})=>{const a=ct(),s=me("color-svpanel");function r(){const h=e.color.get("saturation"),m=e.color.get("value"),v=a.vnode.el,{clientWidth:p,clientHeight:g}=v;n.value=h*p/100,t.value=(100-m)*g/100,l.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}ft(()=>{nv(a.vnode.el,{drag:h=>{o(h)},end:h=>{o(h)}}),r()}),ue([()=>e.color.get("hue"),()=>e.color.get("value"),()=>e.color.value],()=>r());const u=S(()=>s.b()),c=S(()=>s.e("cursor")),d=S(()=>({backgroundColor:l.value})),f=S(()=>({top:tn(t.value),left:tn(n.value)}));return{rootKls:u,cursorKls:c,rootStyle:d,cursorStyle:f,update:r}},A8=["tabindex","aria-disabled","aria-label","aria-valuenow","aria-valuetext"];var L8=ae({name:"ElSvPanel",__name:"sv-panel",props:M8,setup(e,{expose:t}){const n=e,{cursorRef:l,cursorTop:o,cursorLeft:a,background:s,saturation:r,brightness:u,handleClick:c,handleDrag:d,handleKeydown:f}=P8(n),{rootKls:h,cursorKls:m,rootStyle:v,cursorStyle:p,update:g}=R8(n,{cursorTop:o,cursorLeft:a,background:s,handleDrag:d}),{t:b}=wt(),C=S(()=>b("el.colorpicker.svLabel")),w=S(()=>b("el.colorpicker.svDescription",{saturation:r.value,brightness:u.value,color:n.color.value}));return t({update:g}),(y,k)=>(T(),F("div",{class:P(i(h)),style:je(i(v)),onClick:k[1]||(k[1]=(...E)=>i(c)&&i(c)(...E))},[j("div",{ref_key:"cursorRef",ref:l,class:P(i(m)),style:je(i(p)),tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,role:"slider","aria-valuemin":"0,0","aria-valuemax":"100,100","aria-label":C.value,"aria-valuenow":`${i(r)},${i(u)}`,"aria-valuetext":w.value,onKeydown:k[0]||(k[0]=(...E)=>i(f)&&i(f)(...E))},null,46,A8)],6))}});const YC=(e,t)=>{const n=Nt(new Cc({enableAlpha:e.showAlpha,format:e.colorFormat||"",value:e.modelValue}));return ue(()=>[e.colorFormat,e.showAlpha],()=>{n.enableAlpha=e.showAlpha,n.format=e.colorFormat||n.format,n.doOnChange(),t(et,n.value)}),{color:n}};var D8=ae({name:"ElColorPickerPanel",__name:"color-picker-panel",props:_C,emits:b8,setup(e,{expose:t,emit:n}){const l=e,o=n,a=me("color-picker-panel"),{formItem:s}=$n(),r=nn(),u=L(),c=L(),d=L(),f=L(),h=L(""),{color:m}=Le(FC,()=>YC(l,o),!0);function v(){m.fromString(h.value),m.value!==h.value&&(h.value=m.value)}function p(){var b;l.validateEvent&&((b=s==null?void 0:s.validate)==null||b.call(s,"blur").catch(C=>void 0))}function g(){var b,C,w;(b=u.value)==null||b.update(),(C=c.value)==null||C.update(),(w=d.value)==null||w.update()}return ft(()=>{l.modelValue&&(h.value=m.value),Re(g)}),ue(()=>l.modelValue,b=>{b!==m.value&&(b?m.fromString(b):m.clear())}),ue(()=>m.value,b=>{o(et,b),h.value=b,l.validateEvent&&(s==null||s.validate("change").catch(C=>void 0))}),yt(zC,{currentColor:S(()=>m.value)}),t({color:m,inputRef:f,update:g}),(b,C)=>(T(),F("div",{class:P([i(a).b(),i(a).is("disabled",i(r)),i(a).is("border",e.border)]),onFocusout:p},[j("div",{class:P(i(a).e("wrapper"))},[q(k8,{ref_key:"hueRef",ref:u,class:"hue-slider",color:i(m),vertical:"",disabled:i(r)},null,8,["color","disabled"]),q(L8,{ref_key:"svRef",ref:c,color:i(m),disabled:i(r)},null,8,["color","disabled"])],2),e.showAlpha?(T(),le(C8,{key:0,ref_key:"alphaRef",ref:d,color:i(m),disabled:i(r)},null,8,["color","disabled"])):ne("v-if",!0),e.predefine?(T(),le(I8,{key:1,ref:"predefine","enable-alpha":e.showAlpha,color:i(m),colors:e.predefine,disabled:i(r)},null,8,["enable-alpha","color","colors","disabled"])):ne("v-if",!0),j("div",{class:P(i(a).e("footer"))},[q(i(Un),{ref_key:"inputRef",ref:f,modelValue:h.value,"onUpdate:modelValue":C[0]||(C[0]=w=>h.value=w),"validate-event":!1,size:"small",disabled:i(r),onChange:v},null,8,["modelValue","disabled"]),te(b.$slots,"footer")],2)],34))}});const UC=ot(D8),B8=Se({persistent:{type:Boolean,default:!0},modelValue:{type:G(String),default:void 0},id:String,showAlpha:Boolean,colorFormat:{type:G(String)},disabled:{type:Boolean,default:void 0},clearable:{type:Boolean,default:!0},size:gn,popperClass:Bt.popperClass,popperStyle:Bt.popperStyle,tabindex:{type:[String,Number],default:0},teleported:Bt.teleported,appendTo:Bt.appendTo,predefine:{type:G(Array)},validateEvent:{type:Boolean,default:!0},...ws,...Xn(["ariaLabel"])}),V8={[et]:e=>Ve(e)||dn(e),[ht]:e=>Ve(e)||dn(e),activeChange:e=>Ve(e)||dn(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},_8=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"];var F8=ae({name:"ElColorPicker",__name:"color-picker",props:B8,emits:V8,setup(e,{expose:t,emit:n}){const l=e,o=n,{t:a}=wt(),s=me("color"),{formItem:r}=$n(),u=hn(),c=nn(),{valueOnClear:d,isEmptyValue:f}=Yi(l,null),h=YC(l,o),{inputId:m,isLabeledByFormItem:v}=kl(l,{formItemContext:r}),p=L(),g=L(),b=L(),C=L(!1),w=L(!1);let y=!0;const{isFocused:k,handleFocus:E,handleBlur:x}=la(g,{disabled:c,beforeBlur(oe){var U;return(U=p.value)==null?void 0:U.isFocusInsideContent(oe)},afterBlur(){var oe;W(!1),V(),l.validateEvent&&((oe=r==null?void 0:r.validate)==null||oe.call(r,"blur").catch(U=>void 0))}}),$=VM(()=>{var oe,U;return(U=(oe=b.value)==null?void 0:oe.color)!=null?U:h.color}),R=S(()=>Yo(l,Object.keys(_C))),I=S(()=>!l.modelValue&&!w.value?"transparent":Z($,l.showAlpha)),A=S(()=>!l.modelValue&&!w.value?"":$.value),O=S(()=>v.value?void 0:l.ariaLabel||a("el.colorpicker.defaultLabel")),D=S(()=>v.value?r==null?void 0:r.labelId:void 0),K=S(()=>[s.b("picker"),s.is("disabled",c.value),s.bm("picker",u.value),s.is("focused",k.value)]);function Z(oe,U){const{r:_,g:Q,b:ie,a:he}=oe.toRgb();return U?`rgba(${_}, ${Q}, ${ie}, ${he})`:`rgb(${_}, ${Q}, ${ie})`}function W(oe){C.value=oe}const M=bo(W,100,{leading:!0});function N(){c.value||W(!0)}function B(){M(!1),V()}function V(){Re(()=>{l.modelValue?$.fromString(l.modelValue):($.value="",Re(()=>{w.value=!1}))})}function z(){c.value||(C.value&&V(),M(!C.value))}function Y(){const oe=f($.value)?d.value:$.value;o(et,oe),o(ht,oe),l.validateEvent&&(r==null||r.validate("change").catch(U=>void 0)),M(!1),Re(()=>{const U=new Cc({enableAlpha:l.showAlpha,format:l.colorFormat||"",value:l.modelValue});$.compare(U)||V()})}function H(){M(!1),o(et,d.value),o(ht,d.value),l.modelValue!==d.value&&l.validateEvent&&(r==null||r.validate("change").catch(oe=>void 0)),V(),o("clear")}function X(){var oe,U;(U=(oe=b==null?void 0:b.value)==null?void 0:oe.inputRef)==null||U.focus()}function J(){C.value&&(B(),k.value&&fe())}function se(oe){oe.preventDefault(),oe.stopPropagation(),W(!1),V()}function re(oe){switch(Ft(oe)){case Ce.enter:case Ce.numpadEnter:case Ce.space:oe.preventDefault(),oe.stopPropagation(),N();break;case Ce.esc:se(oe);break}}function fe(){g.value.focus()}function ce(){g.value.blur()}return ue(()=>A.value,oe=>{y&&o("activeChange",oe),y=!0}),ue(()=>$.value,()=>{!l.modelValue&&!w.value&&(w.value=!0)}),ue(()=>l.modelValue,oe=>{oe?oe&&oe!==$.value&&(y=!1,$.fromString(oe)):w.value=!1}),ue(()=>C.value,()=>{b.value&&Re(b.value.update)}),yt(FC,h),t({color:$,show:N,hide:B,focus:fe,blur:ce}),(oe,U)=>(T(),le(i(xn),{ref_key:"popper",ref:p,visible:C.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[i(s).be("picker","panel"),e.popperClass],"popper-style":e.popperStyle,"stop-popper-mouse-event":!1,pure:"",loop:"",role:"dialog",effect:"light",trigger:"click",teleported:e.teleported,transition:`${i(s).namespace.value}-zoom-in-top`,persistent:e.persistent,"append-to":e.appendTo,onShow:X,onHide:U[2]||(U[2]=_=>W(!1))},{content:ee(()=>[it((T(),le(i(UC),ut({ref_key:"pickerPanelRef",ref:b},R.value,{border:!1,"validate-event":!1,onKeydown:Jt(se,["esc"])}),{footer:ee(()=>[j("div",null,[e.clearable?(T(),le(i(Cn),{key:0,class:P(i(s).be("footer","link-btn")),text:"",size:"small",onClick:H},{default:ee(()=>[bt(ke(i(a)("el.colorpicker.clear")),1)]),_:1},8,["class"])):ne("v-if",!0),q(i(Cn),{plain:"",size:"small",class:P(i(s).be("footer","btn")),onClick:Y},{default:ee(()=>[bt(ke(i(a)("el.colorpicker.confirm")),1)]),_:1},8,["class"])])]),_:1},16)),[[i(Ia),J,g.value]])]),default:ee(()=>[j("div",ut({id:i(m),ref_key:"triggerRef",ref:g},oe.$attrs,{class:K.value,role:"button","aria-label":O.value,"aria-labelledby":D.value,"aria-description":i(a)("el.colorpicker.description",{color:e.modelValue||""}),"aria-disabled":i(c),tabindex:i(c)?void 0:e.tabindex,onKeydown:re,onFocus:U[0]||(U[0]=(..._)=>i(E)&&i(E)(..._)),onBlur:U[1]||(U[1]=(..._)=>i(x)&&i(x)(..._))}),[j("div",{class:P(i(s).be("picker","trigger")),onClick:z},[j("span",{class:P([i(s).be("picker","color"),i(s).is("alpha",e.showAlpha)])},[j("span",{class:P(i(s).be("picker","color-inner")),style:je({backgroundColor:I.value})},[it(q(i(_e),{class:P([i(s).be("picker","icon"),i(s).is("icon-arrow-down")])},{default:ee(()=>[q(i(ko))]),_:1},8,["class"]),[[$t,e.modelValue||w.value]]),it(q(i(_e),{class:P([i(s).be("picker","empty"),i(s).is("icon-close")])},{default:ee(()=>[q(i(Ml))]),_:1},8,["class"]),[[$t,!e.modelValue&&!w.value]])],6)],2)],2)],16,_8)]),_:1},8,["visible","popper-class","popper-style","teleported","transition","persistent","append-to"]))}});const z8=ot(F8),H8=Se({a11y:{type:Boolean,default:!0},locale:{type:G(Object)},size:gn,button:{type:G(Object)},card:{type:G(Object)},dialog:{type:G(Object)},link:{type:G(Object)},experimentalFeatures:{type:G(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:G(Object)},zIndex:Number,namespace:{type:String,default:"el"},table:{type:G(Object)},...ws}),Kn={placement:"top"},K8=ae({name:"ElConfigProvider",props:H8,setup(e,{slots:t}){const n=Rp(e);return ue(()=>e.message,l=>{var o,a;Object.assign(Kn,(a=(o=n==null?void 0:n.value)==null?void 0:o.message)!=null?a:{},l??{})},{immediate:!0,deep:!0}),()=>te(t,"default",{config:n==null?void 0:n.value})}}),W8=ot(K8);var j8=ae({name:"ElContainer",__name:"container",props:{direction:{type:String,required:!1}},setup(e){const t=e,n=rn(),l=me("container"),o=S(()=>t.direction==="vertical"?!0:t.direction==="horizontal"?!1:n&&n.default?n.default().some(s=>{const r=s.type.name;return r==="ElHeader"||r==="ElFooter"}):!1);return(a,s)=>(T(),F("section",{class:P([i(l).b(),i(l).is("vertical",o.value)])},[te(a.$slots,"default")],2))}}),qC=ae({name:"ElAside",__name:"aside",props:{width:{type:[String,null],required:!1,default:null}},setup(e){const t=e,n=me("aside"),l=S(()=>t.width?n.cssVarBlock({width:t.width}):{});return(o,a)=>(T(),F("aside",{class:P(i(n).b()),style:je(l.value)},[te(o.$slots,"default")],6))}}),GC=ae({name:"ElFooter",__name:"footer",props:{height:{type:[String,null],required:!1,default:null}},setup(e){const t=e,n=me("footer"),l=S(()=>t.height?n.cssVarBlock({height:t.height}):{});return(o,a)=>(T(),F("footer",{class:P(i(n).b()),style:je(l.value)},[te(o.$slots,"default")],6))}}),XC=ae({name:"ElHeader",__name:"header",props:{height:{type:[String,null],required:!1,default:null}},setup(e){const t=e,n=me("header"),l=S(()=>t.height?n.cssVarBlock({height:t.height}):{});return(o,a)=>(T(),F("header",{class:P(i(n).b()),style:je(l.value)},[te(o.$slots,"default")],6))}}),ZC=ae({name:"ElMain",__name:"main",setup(e){const t=me("main");return(n,l)=>(T(),F("main",{class:P(i(t).b())},[te(n.$slots,"default")],2))}});const Y8=ot(j8,{Aside:qC,Footer:GC,Header:XC,Main:ZC}),U8=Xt(qC),q8=Xt(GC),G8=Xt(XC),X8=Xt(ZC);var JC={exports:{}};(function(e,t){(function(n,l){e.exports=l()})(oa,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},l=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,a=/\d\d/,s=/\d\d?/,r=/\d*[^-_:/,()\s\d]+/,u={},c=function(g){return(g=+g)+(g>68?1900:2e3)},d=function(g){return function(b){this[g]=+b}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var C=b.match(/([+-]|\d\d)/g),w=60*C[1]+(+C[2]||0);return w===0?0:C[0]==="+"?-w:w}(g)}],h=function(g){var b=u[g];return b&&(b.indexOf?b:b.s.concat(b.f))},m=function(g,b){var C,w=u.meridiem;if(w){for(var y=1;y<=24;y+=1)if(g.indexOf(w(y,0,b))>-1){C=y>12;break}}else C=g===(b?"pm":"PM");return C},v={A:[r,function(g){this.afternoon=m(g,!1)}],a:[r,function(g){this.afternoon=m(g,!0)}],Q:[o,function(g){this.month=3*(g-1)+1}],S:[o,function(g){this.milliseconds=100*+g}],SS:[a,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[s,d("seconds")],ss:[s,d("seconds")],m:[s,d("minutes")],mm:[s,d("minutes")],H:[s,d("hours")],h:[s,d("hours")],HH:[s,d("hours")],hh:[s,d("hours")],D:[s,d("day")],DD:[a,d("day")],Do:[r,function(g){var b=u.ordinal,C=g.match(/\d+/);if(this.day=C[0],b)for(var w=1;w<=31;w+=1)b(w).replace(/\[|\]/g,"")===g&&(this.day=w)}],w:[s,d("week")],ww:[a,d("week")],M:[s,d("month")],MM:[a,d("month")],MMM:[r,function(g){var b=h("months"),C=(h("monthsShort")||b.map(function(w){return w.slice(0,3)})).indexOf(g)+1;if(C<1)throw new Error;this.month=C%12||C}],MMMM:[r,function(g){var b=h("months").indexOf(g)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,d("year")],YY:[a,function(g){this.year=c(g)}],YYYY:[/\d{4}/,d("year")],Z:f,ZZ:f};function p(g){var b,C;b=g,C=u&&u.formats;for(var w=(g=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(I,A,O){var D=O&&O.toUpperCase();return A||C[O]||n[O]||C[D].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(K,Z,W){return Z||W.slice(1)})})).match(l),y=w.length,k=0;k-1)return new Date((N==="X"?1e3:1)*M);var z=p(N)(M),Y=z.year,H=z.month,X=z.day,J=z.hours,se=z.minutes,re=z.seconds,fe=z.milliseconds,ce=z.zone,oe=z.week,U=new Date,_=X||(Y||H?1:U.getDate()),Q=Y||U.getFullYear(),ie=0;Y&&!H||(ie=H>0?H-1:U.getMonth());var he,pe=J||0,be=se||0,$e=re||0,Me=fe||0;return ce?new Date(Date.UTC(Q,ie,_,pe,be,$e,Me+60*ce.offset*1e3)):B?new Date(Date.UTC(Q,ie,_,pe,be,$e,Me)):(he=new Date(Q,ie,_,pe,be,$e,Me),oe&&(he=V(he).week(oe).toDate()),he)}catch{return new Date("")}}(E,R,x,C),this.init(),D&&D!==!0&&(this.$L=this.locale(D).$L),O&&E!=this.format(R)&&(this.$d=new Date("")),u={}}else if(R instanceof Array)for(var K=R.length,Z=1;Z<=K;Z+=1){$[1]=R[Z-1];var W=C.apply(this,$);if(W.isValid()){this.$d=W.$d,this.$L=W.$L,this.init();break}Z===K&&(this.$d=new Date(""))}else y.call(this,k)}}})})(JC);var Z8=JC.exports;const sh=aa(Z8),Cb=["hours","minutes","seconds"],Yl="EP_PICKER_BASE",rh="ElPopperOptions",QC=Symbol("commonPickerContextKey"),or="HH:mm:ss",ga="YYYY-MM-DD",J8={date:ga,dates:ga,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",datetime:`${ga} ${or}`,monthrange:"YYYY-MM",yearrange:"YYYY",daterange:ga,datetimerange:`${ga} ${or}`},eS=(e,t)=>{const{lang:n}=wt(),l=L(!1),o=L(!1),a=L(null),s=S(()=>{const{modelValue:v}=e;return!v||ye(v)&&!v.filter(Boolean).length}),r=v=>{if(!fC(e.modelValue,v)){let p;ye(v)?p=v.map(b=>ib(b,e.valueFormat,n.value)):v&&(p=ib(v,e.valueFormat,n.value)),t(et,v&&p,n.value)}},u=S(()=>{var v;let p;if(s.value?c.value.getDefaultValue&&(p=c.value.getDefaultValue()):ye(e.modelValue)?p=e.modelValue.map(g=>rb(g,e.valueFormat,n.value)):p=rb((v=e.modelValue)!=null?v:"",e.valueFormat,n.value),c.value.getRangeAvailableTime){const g=c.value.getRangeAvailableTime(p);Qt(g,p)||(p=g,s.value||r(Wu(p)))}return ye(p)&&p.some(g=>!g)&&(p=[]),p}),c=L({});return{parsedValue:u,pickerActualVisible:o,pickerOptions:c,pickerVisible:l,userInput:a,valueIsEmpty:s,emitInput:r,onCalendarChange:v=>{t("calendar-change",v)},onPanelChange:(v,p,g)=>{t("panel-change",v,p,g)},onPick:(v="",p=!1)=>{l.value=p;let g;ye(v)?g=v.map(b=>b.toDate()):g=v&&v.toDate(),a.value=null,r(g)},onSetPickerOption:v=>{c.value[v[0]]=v[1],c.value.panelReady=!0}}},ih=Se({disabledHours:{type:G(Function)},disabledMinutes:{type:G(Function)},disabledSeconds:{type:G(Function)}}),tS=Se({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),uh=Se({automaticDropdown:{type:Boolean,default:!0},id:{type:G([Array,String])},name:{type:G([Array,String])},popperClass:Bt.popperClass,popperStyle:Bt.popperStyle,format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:G([String,Object]),default:Eo},editable:{type:Boolean,default:!0},prefixIcon:{type:G([String,Object]),default:""},size:gn,readonly:Boolean,disabled:{type:Boolean,default:void 0},placeholder:{type:String,default:""},popperOptions:{type:G(Object),default:()=>({})},modelValue:{type:G([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:G([Date,Array])},defaultTime:{type:G([Date,Array])},isRange:Boolean,...ih,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,tabindex:{type:G([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,placement:{type:G(String),values:xo,default:"bottom"},fallbackPlacements:{type:G(Array),default:["bottom","top","right","left"]},...ws,...Xn(["ariaLabel"]),showNow:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean}),Q8=Se({id:{type:G(Array)},name:{type:G(Array)},modelValue:{type:G([Array,String])},startPlaceholder:String,endPlaceholder:String,disabled:Boolean}),e6=["id","name","placeholder","value","disabled"],t6=["id","name","placeholder","value","disabled"];var n6=ae({name:"PickerRangeTrigger",inheritAttrs:!1,__name:"picker-range-trigger",props:Q8,emits:["mouseenter","mouseleave","click","touchstart","focus","blur","startInput","endInput","startChange","endChange"],setup(e,{expose:t,emit:n}){const l=e,o=n,{formItem:a}=$n(),{inputId:s}=kl(Nt({id:S(()=>{var $;return($=l.id)==null?void 0:$[0]})}),{formItemContext:a}),r=pd(),u=me("date"),c=me("range"),d=L(),f=L(),{wrapperRef:h,isFocused:m}=la(d,{disabled:S(()=>l.disabled)}),v=$=>{o("click",$)},p=$=>{o("mouseenter",$)},g=$=>{o("mouseleave",$)},b=$=>{o("touchstart",$)},C=$=>{o("startInput",$)},w=$=>{o("endInput",$)},y=$=>{o("startChange",$)},k=$=>{o("endChange",$)};return t({focus:()=>{var $;($=d.value)==null||$.focus()},blur:()=>{var $,R;($=d.value)==null||$.blur(),(R=f.value)==null||R.blur()}}),($,R)=>(T(),F("div",{ref_key:"wrapperRef",ref:h,class:P([i(u).is("active",i(m)),$.$attrs.class]),style:je($.$attrs.style),onClick:v,onMouseenter:p,onMouseleave:g,onTouchstartPassive:b},[te($.$slots,"prefix"),j("input",ut(i(r),{id:i(s),ref_key:"inputRef",ref:d,name:$.name&&$.name[0],placeholder:$.startPlaceholder,value:$.modelValue&&$.modelValue[0],class:i(c).b("input"),disabled:$.disabled,onInput:C,onChange:y}),null,16,e6),te($.$slots,"range-separator"),j("input",ut(i(r),{id:$.id&&$.id[1],ref_key:"endInputRef",ref:f,name:$.name&&$.name[1],placeholder:$.endPlaceholder,value:$.modelValue&&$.modelValue[1],class:i(c).b("input"),disabled:$.disabled,onInput:w,onChange:k}),null,16,t6),te($.$slots,"suffix")],38))}}),nS=ae({name:"Picker",__name:"picker",props:uh,emits:[et,ht,"focus","blur","clear","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:t,emit:n}){const l=e,o=n,a=Qo(),s=me("date"),r=me("input"),u=me("range"),{formItem:c}=$n(),d=Le(rh,{}),f=Yi(l,null),h=L(),m=L(),v=L(null);let p=!1;const g=nn(),b=eS(l,o),{parsedValue:C,pickerActualVisible:w,userInput:y,pickerVisible:k,pickerOptions:E,valueIsEmpty:x,emitInput:$,onPick:R,onSetPickerOption:I,onCalendarChange:A,onPanelChange:O}=b,{isFocused:D,handleFocus:K,handleBlur:Z}=la(m,{disabled:g,beforeFocus(){return l.readonly},afterFocus(){l.automaticDropdown&&(k.value=!0)},beforeBlur(de){var Be;return!p&&((Be=h.value)==null?void 0:Be.isFocusInsideContent(de))},afterBlur(){Fe(),k.value=!1,p=!1,l.validateEvent&&(c==null||c.validate("blur").catch(de=>void 0))}}),W=L(!1),M=S(()=>[s.b("editor"),s.bm("editor",l.type),r.e("wrapper"),s.is("disabled",g.value),s.is("active",k.value),u.b("editor"),Te?u.bm("editor",Te.value):"",a.class]),N=S(()=>[r.e("icon"),u.e("close-icon"),he.value?"":u.em("close-icon","hidden")]);ue(k,de=>{de?Re(()=>{de&&(v.value=l.modelValue)}):(y.value=null,Re(()=>{B(l.modelValue)}))});const B=(de,Be)=>{(Be||!fC(de,v.value))&&(o(ht,de),Be&&(v.value=de),l.validateEvent&&(c==null||c.validate("change").catch(dt=>void 0)))},V=de=>{o("keydown",de)},z=S(()=>m.value?Array.from(m.value.$el.querySelectorAll("input")):[]),Y=(de,Be,dt)=>{const Dt=z.value;Dt.length&&(!dt||dt==="min"?(Dt[0].setSelectionRange(de,Be),Dt[0].focus()):dt==="max"&&(Dt[1].setSelectionRange(de,Be),Dt[1].focus()))},H=()=>{w.value=!0},X=()=>{o("visible-change",!0)},J=()=>{w.value=!1,k.value=!1,o("visible-change",!1)},se=()=>{k.value=!0},re=()=>{k.value=!1},fe=S(()=>{const de=Oe(C.value);return ye(y.value)?[y.value[0]||de&&de[0]||"",y.value[1]||de&&de[1]||""]:y.value!==null?y.value:!oe.value&&x.value||!k.value&&x.value?"":de?U.value||_.value||Q.value?de.join(", "):de:""}),ce=S(()=>l.type.includes("time")),oe=S(()=>l.type.startsWith("time")),U=S(()=>l.type==="dates"),_=S(()=>l.type==="months"),Q=S(()=>l.type==="years"),ie=S(()=>l.prefixIcon||(ce.value?g1:TP)),he=S(()=>l.clearable&&!g.value&&!l.readonly&&!x.value&&(W.value||D.value)),pe=de=>{l.readonly||g.value||(he.value&&(de==null||de.stopPropagation(),E.value.handleClear?E.value.handleClear():$(f.valueOnClear.value),B(f.valueOnClear.value,!0),J()),o("clear"))},be=async de=>{var Be;l.readonly||g.value||(((Be=de.target)==null?void 0:Be.tagName)!=="INPUT"||D.value||!l.automaticDropdown)&&(k.value=!0)},$e=()=>{l.readonly||g.value||!x.value&&l.clearable&&(W.value=!0)},Me=()=>{W.value=!1},Ne=de=>{var Be;l.readonly||g.value||(((Be=de.touches[0].target)==null?void 0:Be.tagName)!=="INPUT"||D.value||!l.automaticDropdown)&&(k.value=!0)},ge=S(()=>l.type.includes("range")),Te=hn(),we=S(()=>{var de,Be;return(Be=(de=i(h))==null?void 0:de.popperRef)==null?void 0:Be.contentRef}),Pe=Mp(m,de=>{const Be=i(we),dt=mn(m);Be&&(de.target===Be||de.composedPath().includes(Be))||de.target===dt||dt&&de.composedPath().includes(dt)||(k.value=!1)});Pt(()=>{Pe==null||Pe()});const Fe=()=>{if(y.value){const de=Ze(fe.value);de&&(Ae(de)&&$(Wu(de)),y.value=null)}y.value===""&&($(f.valueOnClear.value),B(f.valueOnClear.value,!0),y.value=null)},Ze=de=>de?E.value.parseUserInput(de):null,Oe=de=>de?ye(de)?de.map(dt=>dt.format(l.format)):de.format(l.format):null,Ae=de=>E.value.isValidValue(de),Ke=async de=>{if(l.readonly||g.value)return;const Be=Ft(de);if(V(de),Be===Ce.esc){k.value===!0&&(k.value=!1,de.preventDefault(),de.stopPropagation());return}if(Be===Ce.down&&(E.value.handleFocusPicker&&(de.preventDefault(),de.stopPropagation()),k.value===!1&&(k.value=!0,await Re()),E.value.handleFocusPicker)){E.value.handleFocusPicker();return}if(Be===Ce.tab){p=!0;return}if(Be===Ce.enter||Be===Ce.numpadEnter){k.value?(y.value===null||y.value===""||Ae(Ze(fe.value)))&&(Fe(),k.value=!1):k.value=!0,de.preventDefault(),de.stopPropagation();return}if(y.value){de.stopPropagation();return}E.value.handleKeydownInput&&E.value.handleKeydownInput(de)},Et=de=>{y.value=de,k.value||(k.value=!0)},It=de=>{const Be=de.target;y.value?y.value=[Be.value,y.value[1]]:y.value=[Be.value,null]},qe=de=>{const Be=de.target;y.value?y.value=[y.value[0],Be.value]:y.value=[null,Be.value]},st=()=>{var de;const Be=y.value,dt=Ze(Be&&Be[0]),Dt=i(C);if(dt&&dt.isValid()){y.value=[Oe(dt),((de=fe.value)==null?void 0:de[1])||null];const Gt=[dt,Dt&&(Dt[1]||null)];Ae(Gt)&&($(Wu(Gt)),y.value=null)}},mt=()=>{var de;const Be=i(y),dt=Ze(Be&&Be[1]),Dt=i(C);if(dt&&dt.isValid()){y.value=[((de=i(fe))==null?void 0:de[0])||null,Oe(dt)];const Gt=[Dt&&Dt[0],dt];Ae(Gt)&&($(Wu(Gt)),y.value=null)}},ve=()=>{var de;(de=m.value)==null||de.focus()},De=()=>{var de;(de=m.value)==null||de.blur()};return yt(Yl,{props:l,emptyValues:f}),yt(QC,b),t({focus:ve,blur:De,handleOpen:se,handleClose:re,onPick:R}),(de,Be)=>(T(),le(i(xn),ut({ref_key:"refPopper",ref:h,visible:i(k),effect:"light",pure:"",trigger:"click"},de.$attrs,{role:"dialog",teleported:"",transition:`${i(s).namespace.value}-zoom-in-top`,"popper-class":[`${i(s).namespace.value}-picker__popper`,de.popperClass],"popper-style":de.popperStyle,"popper-options":i(d),"fallback-placements":de.fallbackPlacements,"gpu-acceleration":!1,placement:de.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:H,onShow:X,onHide:J}),{default:ee(()=>[ge.value?(T(),le(n6,{key:1,id:de.id,ref_key:"inputRef",ref:m,"model-value":fe.value,name:de.name,disabled:i(g),readonly:!de.editable||de.readonly,"start-placeholder":de.startPlaceholder,"end-placeholder":de.endPlaceholder,class:P(M.value),style:je(de.$attrs.style),"aria-label":de.ariaLabel,tabindex:de.tabindex,autocomplete:"off",role:"combobox",onClick:be,onFocus:i(K),onBlur:i(Z),onStartInput:It,onStartChange:st,onEndInput:qe,onEndChange:mt,onMousedown:be,onMouseenter:$e,onMouseleave:Me,onTouchstartPassive:Ne,onKeydown:Ke},{prefix:ee(()=>[ie.value?(T(),le(i(_e),{key:0,class:P([i(r).e("icon"),i(u).e("icon")])},{default:ee(()=>[(T(),le(rt(ie.value)))]),_:1},8,["class"])):ne("v-if",!0)]),"range-separator":ee(()=>[te(de.$slots,"range-separator",{},()=>[j("span",{class:P(i(u).b("separator"))},ke(de.rangeSeparator),3)])]),suffix:ee(()=>[de.clearIcon?(T(),le(i(_e),{key:0,class:P(N.value),onMousedown:Je(i(Rt),["prevent"]),onClick:pe},{default:ee(()=>[(T(),le(rt(de.clearIcon)))]),_:1},8,["class","onMousedown"])):ne("v-if",!0)]),_:3},8,["id","model-value","name","disabled","readonly","start-placeholder","end-placeholder","class","style","aria-label","tabindex","onFocus","onBlur"])):(T(),le(i(Un),{key:0,id:de.id,ref_key:"inputRef",ref:m,"container-role":"combobox","model-value":fe.value,name:de.name,size:i(Te),disabled:i(g),placeholder:de.placeholder,class:P([i(s).b("editor"),i(s).bm("editor",de.type),i(s).is("focus",i(k)),de.$attrs.class]),style:je(de.$attrs.style),readonly:!de.editable||de.readonly||U.value||_.value||Q.value||de.type==="week","aria-label":de.ariaLabel,tabindex:de.tabindex,"validate-event":!1,onInput:Et,onFocus:i(K),onBlur:i(Z),onKeydown:Ke,onChange:Fe,onMousedown:be,onMouseenter:$e,onMouseleave:Me,onTouchstartPassive:Ne,onClick:Be[0]||(Be[0]=Je(()=>{},["stop"]))},{prefix:ee(()=>[ie.value?(T(),le(i(_e),{key:0,class:P(i(r).e("icon")),onMousedown:Je(be,["prevent"]),onTouchstartPassive:Ne},{default:ee(()=>[(T(),le(rt(ie.value)))]),_:1},8,["class"])):ne("v-if",!0)]),suffix:ee(()=>[he.value&&de.clearIcon?(T(),le(i(_e),{key:0,class:P(`${i(r).e("icon")} clear-icon`),onMousedown:Je(i(Rt),["prevent"]),onClick:pe},{default:ee(()=>[(T(),le(rt(de.clearIcon)))]),_:1},8,["class","onMousedown"])):ne("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onFocus","onBlur"]))]),content:ee(()=>[te(de.$slots,"default",{visible:i(k),actualVisible:i(w),parsedValue:i(C),format:de.format,dateFormat:de.dateFormat,timeFormat:de.timeFormat,unlinkPanels:de.unlinkPanels,type:de.type,defaultValue:de.defaultValue,showNow:de.showNow,showConfirm:de.showConfirm,showFooter:de.showFooter,showWeekNumber:de.showWeekNumber,onPick:Be[1]||(Be[1]=(...dt)=>i(R)&&i(R)(...dt)),onSelectRange:Y,onSetPickerOption:Be[2]||(Be[2]=(...dt)=>i(I)&&i(I)(...dt)),onCalendarChange:Be[3]||(Be[3]=(...dt)=>i(A)&&i(A)(...dt)),onClear:pe,onPanelChange:Be[4]||(Be[4]=(...dt)=>i(O)&&i(O)(...dt)),onMousedown:Be[5]||(Be[5]=Je(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-style","popper-options","fallback-placements","placement"]))}});const l6=Se({...tS,datetimeRole:String,parsedValue:{type:G(Object)}}),lS=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:n})=>{const l=(s,r,u,c)=>{const d={hour:e,minute:t,second:n};let f=s;return["hour","minute","second"].forEach(h=>{if(d[h]){let m;const v=d[h];switch(h){case"minute":{m=v(f.hour(),r,c);break}case"second":{m=v(f.hour(),f.minute(),r,c);break}default:{m=v(r,c);break}}if(m!=null&&m.length&&!m.includes(f[h]())){const p=u?0:m.length-1;f=f[h](m[p])}}}),f},o={};return{timePickerOptions:o,getAvailableTime:l,onSetOption:([s,r])=>{o[s]=r}}},cf=e=>{const t=(l,o)=>l||o,n=l=>l!==!0;return e.map(t).filter(n)},oS=(e,t,n)=>({getHoursList:(s,r)=>lf(24,e&&(()=>e==null?void 0:e(s,r))),getMinutesList:(s,r,u)=>lf(60,t&&(()=>t==null?void 0:t(s,r,u))),getSecondsList:(s,r,u,c)=>lf(60,n&&(()=>n==null?void 0:n(s,r,u,c)))}),aS=(e,t,n)=>{const{getHoursList:l,getMinutesList:o,getSecondsList:a}=oS(e,t,n);return{getAvailableHours:(c,d)=>cf(l(c,d)),getAvailableMinutes:(c,d,f)=>cf(o(c,d,f)),getAvailableSeconds:(c,d,f,h)=>cf(a(c,d,f,h))}},sS=e=>{const t=L(e.parsedValue);return ue(()=>e.visible,n=>{n||(t.value=e.parsedValue)}),t},o6=Se({role:{type:String,required:!0},spinnerDate:{type:G(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:G(String),default:""},...ih}),a6=100,s6=600,Tu="_RepeatClick",Sc={beforeMount(e,t){const n=t.value,{interval:l=a6,delay:o=s6}=He(n)?{}:n;let a,s;const r=()=>He(n)?n():n.handler(),u=()=>{s&&(clearTimeout(s),s=void 0),a&&(clearInterval(a),a=void 0)},c=d=>{d.button===0&&(u(),r(),document.addEventListener("mouseup",u,{once:!0}),s=setTimeout(()=>{a=setInterval(()=>{r()},l)},o))};e[Tu]={start:c,clear:u},e.addEventListener("mousedown",c)},unmounted(e){if(!e[Tu])return;const{start:t,clear:n}=e[Tu];t&&e.removeEventListener("mousedown",t),n&&(n(),document.removeEventListener("mouseup",n)),e[Tu]=null}},r6=["onClick"],i6=["onMouseenter"];var ov=ae({__name:"basic-time-spinner",props:o6,emits:[ht,"select-range","set-option"],setup(e,{emit:t}){const n=e,l=Le(Yl),{isRange:o,format:a}=l.props,s=t,r=me("time"),{getHoursList:u,getMinutesList:c,getSecondsList:d}=oS(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let f=!1;const h=L(),g={hours:L(),minutes:L(),seconds:L()},b=S(()=>n.showSeconds?Cb:Cb.slice(0,2)),C=S(()=>{const{spinnerDate:H}=n,X=H.hour(),J=H.minute(),se=H.second();return{hours:X,minutes:J,seconds:se}}),w=S(()=>{const{hours:H,minutes:X}=i(C),{role:J,spinnerDate:se}=n,re=o?void 0:se;return{hours:u(J,re),minutes:c(H,J,re),seconds:d(H,X,J,re)}}),y=S(()=>{const{hours:H,minutes:X,seconds:J}=i(C);return{hours:nf(H,23),minutes:nf(X,59),seconds:nf(J,59)}}),k=bo(H=>{f=!1,$(H)},200),E=H=>{if(!!!n.amPmMode)return"";const J=n.amPmMode==="A";let se=H<12?" am":" pm";return J&&(se=se.toUpperCase()),se},x=H=>{let X=[0,0];const J=a||or,se=J.indexOf("HH"),re=J.indexOf("mm"),fe=J.indexOf("ss");switch(H){case"hours":se!==-1&&(X=[se,se+2]);break;case"minutes":re!==-1&&(X=[re,re+2]);break;case"seconds":fe!==-1&&(X=[fe,fe+2]);break}const[ce,oe]=X;s("select-range",ce,oe),h.value=H},$=H=>{A(H,i(C)[H])},R=()=>{$("hours"),$("minutes"),$("seconds")},I=H=>H.querySelector(`.${r.namespace.value}-scrollbar__wrap`),A=(H,X)=>{if(n.arrowControl)return;const J=i(g[H]);J&&J.$el&&(I(J.$el).scrollTop=Math.max(0,X*O(H)))},O=H=>{const X=i(g[H]),J=X==null?void 0:X.$el.querySelector("li");return J&&Number.parseFloat(Do(J,"height"))||0},D=()=>{Z(1)},K=()=>{Z(-1)},Z=H=>{h.value||x("hours");const X=h.value,J=i(C)[X],se=h.value==="hours"?24:60,re=W(X,J,H,se);M(X,re),A(X,re),Re(()=>x(X))},W=(H,X,J,se)=>{let re=(X+J+se)%se;const fe=i(w)[H];for(;fe[re]&&re!==X;)re=(re+J+se)%se;return re},M=(H,X)=>{if(i(w)[H][X])return;const{hours:re,minutes:fe,seconds:ce}=i(C);let oe;switch(H){case"hours":oe=n.spinnerDate.hour(X).minute(fe).second(ce);break;case"minutes":oe=n.spinnerDate.hour(re).minute(X).second(ce);break;case"seconds":oe=n.spinnerDate.hour(re).minute(fe).second(X);break}s(ht,oe)},N=(H,{value:X,disabled:J})=>{J||(M(H,X),x(H),A(H,X))},B=H=>{const X=i(g[H]);if(!X)return;f=!0,k(H);const J=Math.min(Math.round((I(X.$el).scrollTop-(V(H)*.5-10)/O(H)+3)/O(H)),H==="hours"?23:59);M(H,J)},V=H=>i(g[H]).$el.offsetHeight,z=()=>{const H=X=>{const J=i(g[X]);J&&J.$el&&(I(J.$el).onscroll=()=>{B(X)})};H("hours"),H("minutes"),H("seconds")};ft(()=>{Re(()=>{!n.arrowControl&&z(),R(),n.role==="start"&&x("hours")})});const Y=(H,X)=>{g[X].value=H??void 0};return s("set-option",[`${n.role}_scrollDown`,Z]),s("set-option",[`${n.role}_emitSelectRange`,x]),ue(()=>n.spinnerDate,()=>{f||R()}),(H,X)=>(T(),F("div",{class:P([i(r).b("spinner"),{"has-seconds":H.showSeconds}])},[H.arrowControl?ne("v-if",!0):(T(!0),F(ze,{key:0},gt(b.value,J=>(T(),le(i(Wl),{key:J,ref_for:!0,ref:se=>Y(se,J),class:P(i(r).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":i(r).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:se=>x(J),onMousemove:se=>$(J)},{default:ee(()=>[(T(!0),F(ze,null,gt(w.value[J],(se,re)=>(T(),F("li",{key:re,class:P([i(r).be("spinner","item"),i(r).is("active",re===C.value[J]),i(r).is("disabled",se)]),onClick:fe=>N(J,{value:re,disabled:se})},[J==="hours"?(T(),F(ze,{key:0},[bt(ke(("0"+(H.amPmMode?re%12||12:re)).slice(-2))+ke(E(re)),1)],64)):(T(),F(ze,{key:1},[bt(ke(("0"+re).slice(-2)),1)],64))],10,r6))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),H.arrowControl?(T(!0),F(ze,{key:1},gt(b.value,J=>(T(),F("div",{key:J,class:P([i(r).be("spinner","wrapper"),i(r).is("arrow")]),onMouseenter:se=>x(J)},[it((T(),le(i(_e),{class:P(["arrow-up",i(r).be("spinner","arrow")])},{default:ee(()=>[q(i(ud))]),_:1},8,["class"])),[[i(Sc),K]]),it((T(),le(i(_e),{class:P(["arrow-down",i(r).be("spinner","arrow")])},{default:ee(()=>[q(i(ko))]),_:1},8,["class"])),[[i(Sc),D]]),j("ul",{class:P(i(r).be("spinner","list"))},[(T(!0),F(ze,null,gt(y.value[J],(se,re)=>(T(),F("li",{key:re,class:P([i(r).be("spinner","item"),i(r).is("active",se===C.value[J]),i(r).is("disabled",w.value[J][se])])},[i(We)(se)?(T(),F(ze,{key:0},[J==="hours"?(T(),F(ze,{key:0},[bt(ke(("0"+(H.amPmMode?se%12||12:se)).slice(-2))+ke(E(se)),1)],64)):(T(),F(ze,{key:1},[bt(ke(("0"+se).slice(-2)),1)],64))],64)):ne("v-if",!0)],2))),128))],2)],42,i6))),128)):ne("v-if",!0)],2))}}),kc=ae({__name:"panel-time-pick",props:l6,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,l=t,o=Le(Yl),{arrowControl:a,disabledHours:s,disabledMinutes:r,disabledSeconds:u,defaultValue:c}=o.props,{getAvailableHours:d,getAvailableMinutes:f,getAvailableSeconds:h}=aS(s,r,u),m=me("time"),{t:v,lang:p}=wt(),g=L([0,2]),b=sS(n),C=S(()=>St(n.actualVisible)?`${m.namespace.value}-zoom-in-top`:""),w=S(()=>n.format.includes("ss")),y=S(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),k=N=>{const B=lt(N).locale(p.value),V=Z(B);return B.isSame(V)},E=()=>{const N=b.value;l("pick",N,!1),Re(()=>{b.value=N})},x=(N=!1,B=!1)=>{B||l("pick",n.parsedValue,N)},$=N=>{if(!n.visible)return;const B=Z(N).millisecond(0);l("pick",B,!0)},R=(N,B)=>{l("select-range",N,B),g.value=[N,B]},I=N=>{const B=n.format,V=B.indexOf("HH"),z=B.indexOf("mm"),Y=B.indexOf("ss"),H=[],X=[];V!==-1&&(H.push(V),X.push("hours")),z!==-1&&(H.push(z),X.push("minutes")),Y!==-1&&w.value&&(H.push(Y),X.push("seconds"));const se=(H.indexOf(g.value[0])+N+H.length)%H.length;O.start_emitSelectRange(X[se])},A=N=>{const B=Ft(N),{left:V,right:z,up:Y,down:H}=Ce;if([V,z].includes(B)){I(B===V?-1:1),N.preventDefault();return}if([Y,H].includes(B)){const X=B===Y?-1:1;O.start_scrollDown(X),N.preventDefault();return}},{timePickerOptions:O,onSetOption:D,getAvailableTime:K}=lS({getAvailableHours:d,getAvailableMinutes:f,getAvailableSeconds:h}),Z=N=>K(N,n.datetimeRole||"",!0),W=N=>N?lt(N,n.format).locale(p.value):null,M=()=>lt(c).locale(p.value);return l("set-picker-option",["isValidValue",k]),l("set-picker-option",["parseUserInput",W]),l("set-picker-option",["handleKeydownInput",A]),l("set-picker-option",["getRangeAvailableTime",Z]),l("set-picker-option",["getDefaultValue",M]),(N,B)=>(T(),le(In,{name:C.value},{default:ee(()=>[N.actualVisible||N.visible?(T(),F("div",{key:0,class:P(i(m).b("panel"))},[j("div",{class:P([i(m).be("panel","content"),{"has-seconds":w.value}])},[q(ov,{ref:"spinner",role:N.datetimeRole||"start","arrow-control":i(a),"show-seconds":w.value,"am-pm-mode":y.value,"spinner-date":N.parsedValue,"disabled-hours":i(s),"disabled-minutes":i(r),"disabled-seconds":i(u),onChange:$,onSetOption:i(D),onSelectRange:R},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),j("div",{class:P(i(m).be("panel","footer"))},[j("button",{type:"button",class:P([i(m).be("panel","btn"),"cancel"]),onClick:E},ke(i(v)("el.datepicker.cancel")),3),j("button",{type:"button",class:P([i(m).be("panel","btn"),"confirm"]),onClick:B[0]||(B[0]=V=>x())},ke(i(v)("el.datepicker.confirm")),3)],2)],2)):ne("v-if",!0)]),_:1},8,["name"]))}});const u6=Se({...tS,parsedValue:{type:G(Array)}}),c6=["disabled"];var d6=ae({__name:"panel-time-range",props:u6,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,l=t,o=(U,_)=>{const Q=[];for(let ie=U;ie<=_;ie++)Q.push(ie);return Q},{t:a,lang:s}=wt(),r=me("time"),u=me("picker"),c=Le(Yl),{arrowControl:d,disabledHours:f,disabledMinutes:h,disabledSeconds:m,defaultValue:v}=c.props,p=S(()=>[r.be("range-picker","body"),r.be("panel","content"),r.is("arrow",d),k.value?"has-seconds":""]),g=S(()=>[r.be("range-picker","body"),r.be("panel","content"),r.is("arrow",d),k.value?"has-seconds":""]),b=S(()=>n.parsedValue[0]),C=S(()=>n.parsedValue[1]),w=sS(n),y=()=>{const U=w.value;l("pick",U,!1),Re(()=>{w.value=U})},k=S(()=>n.format.includes("ss")),E=S(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),x=(U=!1)=>{l("pick",[b.value,C.value],U)},$=U=>{A(U.millisecond(0),C.value)},R=U=>{A(b.value,U.millisecond(0))},I=U=>{const _=U.map(ie=>lt(ie).locale(s.value)),Q=Y(_);return _[0].isSame(Q[0])&&_[1].isSame(Q[1])},A=(U,_)=>{n.visible&&l("pick",[U,_],!0)},O=S(()=>b.value>C.value),D=L([0,2]),K=(U,_)=>{l("select-range",U,_,"min"),D.value=[U,_]},Z=S(()=>k.value?11:8),W=(U,_)=>{l("select-range",U,_,"max");const Q=i(Z);D.value=[U+Q,_+Q]},M=U=>{const _=k.value?[0,3,6,11,14,17]:[0,3,8,11],Q=["hours","minutes"].concat(k.value?["seconds"]:[]),he=(_.indexOf(D.value[0])+U+_.length)%_.length,pe=_.length/2;he{const _=Ft(U),{left:Q,right:ie,up:he,down:pe}=Ce;if([Q,ie].includes(_)){M(_===Q?-1:1),U.preventDefault();return}if([he,pe].includes(_)){const be=_===he?-1:1,$e=D.value[0]{const Q=f?f(U):[],ie=U==="start",pe=(_||(ie?C.value:b.value)).hour(),be=ie?o(pe+1,23):o(0,pe-1);return Xd(Q,be)},V=(U,_,Q)=>{const ie=h?h(U,_):[],he=_==="start",pe=Q||(he?C.value:b.value),be=pe.hour();if(U!==be)return ie;const $e=pe.minute(),Me=he?o($e+1,59):o(0,$e-1);return Xd(ie,Me)},z=(U,_,Q,ie)=>{const he=m?m(U,_,Q):[],pe=Q==="start",be=ie||(pe?C.value:b.value),$e=be.hour(),Me=be.minute();if(U!==$e||_!==Me)return he;const Ne=be.second(),ge=pe?o(Ne+1,59):o(0,Ne-1);return Xd(he,ge)},Y=([U,_])=>[re(U,"start",!0,_),re(_,"end",!1,U)],{getAvailableHours:H,getAvailableMinutes:X,getAvailableSeconds:J}=aS(B,V,z),{timePickerOptions:se,getAvailableTime:re,onSetOption:fe}=lS({getAvailableHours:H,getAvailableMinutes:X,getAvailableSeconds:J}),ce=U=>U?ye(U)?U.map(_=>lt(_,n.format).locale(s.value)):lt(U,n.format).locale(s.value):null,oe=()=>{if(ye(v))return v.map(_=>lt(_).locale(s.value));const U=lt(v).locale(s.value);return[U,U.add(60,"m")]};return l("set-picker-option",["parseUserInput",ce]),l("set-picker-option",["isValidValue",I]),l("set-picker-option",["handleKeydownInput",N]),l("set-picker-option",["getDefaultValue",oe]),l("set-picker-option",["getRangeAvailableTime",Y]),(U,_)=>U.actualVisible?(T(),F("div",{key:0,class:P([i(r).b("range-picker"),i(u).b("panel")])},[j("div",{class:P(i(r).be("range-picker","content"))},[j("div",{class:P(i(r).be("range-picker","cell"))},[j("div",{class:P(i(r).be("range-picker","header"))},ke(i(a)("el.datepicker.startTime")),3),j("div",{class:P(p.value)},[q(ov,{ref:"minSpinner",role:"start","show-seconds":k.value,"am-pm-mode":E.value,"arrow-control":i(d),"spinner-date":b.value,"disabled-hours":B,"disabled-minutes":V,"disabled-seconds":z,onChange:$,onSetOption:i(fe),onSelectRange:K},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),j("div",{class:P(i(r).be("range-picker","cell"))},[j("div",{class:P(i(r).be("range-picker","header"))},ke(i(a)("el.datepicker.endTime")),3),j("div",{class:P(g.value)},[q(ov,{ref:"maxSpinner",role:"end","show-seconds":k.value,"am-pm-mode":E.value,"arrow-control":i(d),"spinner-date":C.value,"disabled-hours":B,"disabled-minutes":V,"disabled-seconds":z,onChange:R,onSetOption:i(fe),onSelectRange:W},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),j("div",{class:P(i(r).be("panel","footer"))},[j("button",{type:"button",class:P([i(r).be("panel","btn"),"cancel"]),onClick:_[0]||(_[0]=Q=>y())},ke(i(a)("el.datepicker.cancel")),3),j("button",{type:"button",class:P([i(r).be("panel","btn"),"confirm"]),disabled:O.value,onClick:_[1]||(_[1]=Q=>x())},ke(i(a)("el.datepicker.confirm")),11,c6)],2)],2)):ne("v-if",!0)}});lt.extend(sh);var f6=ae({name:"ElTimePicker",install:null,props:{...uh,isRange:Boolean},emits:[et],setup(e,t){const n=L(),[l,o]=e.isRange?["timerange",d6]:["time",kc],a=s=>t.emit(et,s);return yt(rh,e.popperOptions),t.expose({focus:()=>{var s;(s=n.value)==null||s.focus()},blur:()=>{var s;(s=n.value)==null||s.blur()},handleOpen:()=>{var s;(s=n.value)==null||s.handleOpen()},handleClose:()=>{var s;(s=n.value)==null||s.handleClose()}}),()=>{var s;const r=(s=e.format)!=null?s:or;return q(nS,ut(e,{ref:n,type:l,format:r,"onUpdate:modelValue":a}),{default:u=>q(o,u,null)})}}});const v6=ot(f6);var rS={exports:{}};(function(e,t){(function(n,l){e.exports=l()})(oa,function(){return function(n,l){var o=l.prototype,a=o.format;o.format=function(s){var r=this,u=this.$locale();if(!this.isValid())return a.bind(this)(s);var c=this.$utils(),d=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(f){switch(f){case"Q":return Math.ceil((r.$M+1)/3);case"Do":return u.ordinal(r.$D);case"gggg":return r.weekYear();case"GGGG":return r.isoWeekYear();case"wo":return u.ordinal(r.week(),"W");case"w":case"ww":return c.s(r.week(),f==="w"?1:2,"0");case"W":case"WW":return c.s(r.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return c.s(String(r.$H===0?24:r.$H),f==="k"?1:2,"0");case"X":return Math.floor(r.$d.getTime()/1e3);case"x":return r.$d.getTime();case"z":return"["+r.offsetName()+"]";case"zzz":return"["+r.offsetName("long")+"]";default:return f}});return a.bind(this)(d)}}})})(rS);var p6=rS.exports;const h6=aa(p6);var iS={exports:{}};(function(e,t){(function(n,l){e.exports=l()})(oa,function(){var n="week",l="year";return function(o,a,s){var r=a.prototype;r.week=function(u){if(u===void 0&&(u=null),u!==null)return this.add(7*(u-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var d=s(this).startOf(l).add(1,l).date(c),f=s(this).endOf(n);if(d.isBefore(f))return 1}var h=s(this).startOf(l).date(c).startOf(n).subtract(1,"millisecond"),m=this.diff(h,n,!0);return m<0?s(this).startOf("week").week():Math.ceil(m)},r.weeks=function(u){return u===void 0&&(u=null),this.week(u)}}})})(iS);var m6=iS.exports;const g6=aa(m6);var uS={exports:{}};(function(e,t){(function(n,l){e.exports=l()})(oa,function(){return function(n,l){l.prototype.weekYear=function(){var o=this.month(),a=this.week(),s=this.year();return a===1&&o===11?s+1:o===0&&a>=52?s-1:s}}})})(uS);var b6=uS.exports;const y6=aa(b6);var cS={exports:{}};(function(e,t){(function(n,l){e.exports=l()})(oa,function(){return function(n,l,o){l.prototype.dayOfYear=function(a){var s=Math.round((o(this).startOf("day")-o(this).startOf("year"))/864e5)+1;return a==null?s:this.add(a-s,"day")}}})})(cS);var w6=cS.exports;const C6=aa(w6);var dS={exports:{}};(function(e,t){(function(n,l){e.exports=l()})(oa,function(){return function(n,l){l.prototype.isSameOrAfter=function(o,a){return this.isSame(o,a)||this.isAfter(o,a)}}})})(dS);var S6=dS.exports;const k6=aa(S6);var fS={exports:{}};(function(e,t){(function(n,l){e.exports=l()})(oa,function(){return function(n,l){l.prototype.isSameOrBefore=function(o,a){return this.isSame(o,a)||this.isBefore(o,a)}}})})(fS);var E6=fS.exports;const x6=aa(E6),T6=Se({valueFormat:String,dateFormat:String,timeFormat:String,disabled:{type:Boolean,default:void 0},modelValue:{type:G([Date,Array,String,Number]),default:""},defaultValue:{type:G([Date,Array])},defaultTime:{type:G([Date,Array])},isRange:Boolean,...ih,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,unlinkPanels:Boolean,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:Boolean,showWeekNumber:Boolean,type:{type:G(String),default:"date"},clearable:{type:Boolean,default:!0},border:{type:Boolean,default:!0},editable:{type:Boolean,default:!0}}),ch=Symbol("rootPickerContextKey"),nu="ElIsDefaultFormat",$6=["date","dates","year","years","month","months","week","range"],dh=Se({cellClassName:{type:G(Function)},disabledDate:{type:G(Function)},date:{type:G(Object),required:!0},minDate:{type:G(Object)},maxDate:{type:G(Object)},parsedValue:{type:G([Object,Array])},rangeState:{type:G(Object),default:()=>({endDate:null,selecting:!1})},disabled:Boolean}),vS=Se({type:{type:G(String),required:!0,values:sL},dateFormat:String,timeFormat:String,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean,border:Boolean,disabled:Boolean,editable:{type:Boolean,default:!0}}),fh=Se({unlinkPanels:Boolean,visible:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},border:Boolean,disabled:Boolean,parsedValue:{type:G(Array)}}),vh=e=>({type:String,values:$6,default:e}),O6=Se({...vS,parsedValue:{type:G([Object,Array])},visible:{type:Boolean,default:!0},format:{type:String,default:""}}),yi=e=>{if(!ye(e))return!1;const[t,n]=e;return lt.isDayjs(t)&<.isDayjs(n)&<(t).isValid()&<(n).isValid()&&t.isSameOrBefore(n)},wd=(e,{lang:t,step:n=1,unit:l,unlinkPanels:o})=>{let a;if(ye(e)){let[s,r]=e.map(u=>lt(u).locale(t));return o||(r=s.add(n,l)),[s,r]}else e?a=lt(e):a=lt();return a=a.locale(t),[a,a.add(n,l)]},N6=(e,t,{columnIndexOffset:n,startDate:l,nextEndDate:o,now:a,unit:s,relativeDateGetter:r,setCellMetadata:u,setRowMetadata:c})=>{for(let d=0;d{const o=lt().locale(l).startOf("month").month(n).year(t).hour(e.hour()).minute(e.minute()).second(e.second()),a=o.daysInMonth();return Ea(a).map(s=>o.add(s,"day").toDate())},ar=(e,t,n,l,o)=>{const a=lt().year(t).month(n).startOf("month").hour(e.hour()).minute(e.minute()).second(e.second()),s=Ec(e,t,n,l).find(r=>!(o!=null&&o(r)));return s?lt(s).locale(l):a.locale(l)},xc=(e,t,n)=>{const l=e.year();if(!(n!=null&&n(e.toDate())))return e.locale(t);const o=e.month();if(!Ec(e,l,o,t).every(n))return ar(e,l,o,t,n);for(let a=0;a<12;a++)if(!Ec(e,l,a,t).every(n))return ar(e,l,a,t,n);return e},sr=(e,t,n,l)=>{if(ye(e))return e.map(o=>sr(o,t,n,l));if(Ve(e)){const o=l!=null&&l.value?lt(e):lt(e,t);if(!o.isValid())return o}return lt(e,t).locale(n)},I6=Se({...dh,showWeekNumber:Boolean,selectionMode:vh("date")}),M6=["changerange","pick","select"],Tc=(e="")=>["normal","today"].includes(e),P6=(e,t)=>{const{lang:n}=wt(),l=L(),o=L(),a=L(),s=L(),r=L([[],[],[],[],[],[]]);let u=!1;const c=e.date.$locale().weekStart||7,d=e.date.locale("en").localeData().weekdaysShort().map(B=>B.toLowerCase()),f=S(()=>c>3?7-c:-c),h=S(()=>{const B=e.date.startOf("month");return B.subtract(B.day()||7,"day")}),m=S(()=>d.concat(d).slice(c,c+7)),v=S(()=>pc(i(y)).some(B=>B.isCurrent)),p=S(()=>{const B=e.date.startOf("month"),V=B.day()||7,z=B.daysInMonth(),Y=B.subtract(1,"month").daysInMonth();return{startOfMonthDay:V,dateCountOfMonth:z,dateCountOfLastMonth:Y}}),g=S(()=>e.selectionMode==="dates"?Yn(e.parsedValue):[]),b=(B,{count:V,rowIndex:z,columnIndex:Y})=>{const{startOfMonthDay:H,dateCountOfMonth:X,dateCountOfLastMonth:J}=i(p),se=i(f);if(z>=0&&z<=1){const re=H+se<0?7+H+se:H+se;if(Y+z*7>=re)return B.text=V,!0;B.text=J-(re-Y%7)+1+z*7,B.type="prev-month"}else return V<=X?B.text=V:(B.text=V-X,B.type="next-month"),!0;return!1},C=(B,{columnIndex:V,rowIndex:z},Y)=>{const{disabledDate:H,cellClassName:X}=e,J=i(g),se=b(B,{count:Y,rowIndex:z,columnIndex:V}),re=B.dayjs.toDate();return B.selected=J.find(fe=>fe.isSame(B.dayjs,"day")),B.isSelected=!!B.selected,B.isCurrent=E(B),B.disabled=H==null?void 0:H(re),B.customClass=X==null?void 0:X(re),se},w=B=>{if(e.selectionMode==="week"){const[V,z]=e.showWeekNumber?[1,7]:[0,6],Y=N(B[V+1]);B[V].inRange=Y,B[V].start=Y,B[z].inRange=Y,B[z].end=Y}},y=S(()=>{const{minDate:B,maxDate:V,rangeState:z,showWeekNumber:Y}=e,H=i(f),X=i(r),J="day";let se=1;if(N6({row:6,column:7},X,{startDate:B,columnIndexOffset:Y?1:0,nextEndDate:z.endDate||V||z.selecting&&B||null,now:lt().locale(i(n)).startOf(J),unit:J,relativeDateGetter:re=>i(h).add(re-H,J),setCellMetadata:(...re)=>{C(...re,se)&&(se+=1)},setRowMetadata:w}),Y)for(let re=0;re<6;re++)X[re][1].dayjs&&(X[re][0]={type:"week",text:X[re][1].dayjs.week()});return X});ue(()=>e.date,async()=>{var B;(B=i(l))!=null&&B.contains(document.activeElement)&&(await Re(),await k())});const k=async()=>{var B;return(B=i(o))==null?void 0:B.focus()},E=B=>e.selectionMode==="date"&&Tc(B.type)&&x(B,e.parsedValue),x=(B,V)=>V?lt(V).locale(i(n)).isSame(e.date.date(Number(B.text)),"day"):!1,$=(B,V)=>{const z=i(p).startOfMonthDay,Y=i(f),H=z+Y<0?7+z+Y:z+Y,X=B*7+(V-(e.showWeekNumber?1:0));return e.date.startOf("month").subtract(H,"day").add(X,"day")},R=B=>{var V;if(!e.rangeState.selecting)return;let z=B.target;if(z.tagName==="SPAN"&&(z=(V=z.parentNode)==null?void 0:V.parentNode),z.tagName==="DIV"&&(z=z.parentNode),z.tagName!=="TD")return;const Y=z.parentNode.rowIndex-1,H=z.cellIndex;i(y)[Y][H].disabled||(Y!==i(a)||H!==i(s))&&(a.value=Y,s.value=H,t("changerange",{selecting:!0,endDate:$(Y,H)}))},I=B=>!i(v)&&(B==null?void 0:B.text)===1&&Tc(B.type)||B.isCurrent,A=B=>{u||i(v)||e.selectionMode!=="date"||M(B,!0)},O=B=>{B.target.closest("td")&&(u=!0)},D=B=>{B.target.closest("td")&&(u=!1)},K=B=>{!e.rangeState.selecting||!e.minDate?(t("pick",{minDate:B,maxDate:null}),t("select",!0)):(B>=e.minDate?t("pick",{minDate:e.minDate,maxDate:B}):t("pick",{minDate:B,maxDate:e.minDate}),t("select",!1))},Z=B=>{const V=B.week(),z=`${B.year()}w${V}`;t("pick",{year:B.year(),week:V,value:z,date:B.startOf("week")})},W=(B,V)=>{const z=V?Yn(e.parsedValue).filter(Y=>(Y==null?void 0:Y.valueOf())!==B.valueOf()):Yn(e.parsedValue).concat([B]);t("pick",z)},M=(B,V=!1)=>{if(e.disabled)return;const z=B.target.closest("td");if(!z)return;const Y=z.parentNode.rowIndex-1,H=z.cellIndex,X=i(y)[Y][H];if(X.disabled||X.type==="week")return;const J=$(Y,H);switch(e.selectionMode){case"range":{K(J);break}case"date":{t("pick",J,V);break}case"week":{Z(J);break}case"dates":{W(J,!!X.selected);break}}},N=B=>{if(e.selectionMode!=="week")return!1;let V=e.date.startOf("day");if(B.type==="prev-month"&&(V=V.subtract(1,"month")),B.type==="next-month"&&(V=V.add(1,"month")),V=V.date(Number.parseInt(B.text,10)),e.parsedValue&&!ye(e.parsedValue)){const z=(e.parsedValue.day()-c+7)%7-1;return e.parsedValue.subtract(z,"day").isSame(V,"day")}return!1};return{WEEKS:m,rows:y,tbodyRef:l,currentCellRef:o,focus:k,isCurrent:E,isWeekActive:N,isSelectedCell:I,handlePickDate:M,handleMouseUp:D,handleMouseDown:O,handleMouseMove:R,handleFocus:A}},R6=(e,{isCurrent:t,isWeekActive:n})=>{const l=me("date-table"),{t:o}=wt(),a=S(()=>[l.b(),l.is("week-mode",e.selectionMode==="week"&&!e.disabled)]),s=S(()=>o("el.datepicker.dateTablePrompt")),r=c=>{const d=[];return Tc(c.type)&&!c.disabled?(d.push("available"),c.type==="today"&&d.push("today")):d.push(c.type),t(c)&&d.push("current"),c.inRange&&(Tc(c.type)||e.selectionMode==="week")&&(d.push("in-range"),c.start&&d.push("start-date"),c.end&&d.push("end-date")),(c.disabled||e.disabled)&&d.push("disabled"),c.selected&&d.push("selected"),c.customClass&&d.push(c.customClass),d.join(" ")},u=c=>[l.e("row"),{current:n(c)}];return{tableKls:a,tableLabel:s,weekHeaderClass:l.e("week-header"),getCellClasses:r,getRowKls:u,t:o}},A6=Se({cell:{type:G(Object)}});var ph=ae({name:"ElDatePickerCell",props:A6,setup(e){const t=me("date-table-cell"),{slots:n}=Le(ch);return()=>{const{cell:l}=e;return te(n,"default",{...l},()=>{var o;return[q("div",{class:t.b()},[q("span",{class:t.e("text")},[(o=l==null?void 0:l.renderText)!=null?o:l==null?void 0:l.text])])]})}}});const L6=["aria-label"],D6=["aria-label"],B6=["aria-current","aria-selected","tabindex","aria-disabled"];var av=ae({__name:"basic-date-table",props:I6,emits:M6,setup(e,{expose:t,emit:n}){const l=e,o=n,{WEEKS:a,rows:s,tbodyRef:r,currentCellRef:u,focus:c,isCurrent:d,isWeekActive:f,isSelectedCell:h,handlePickDate:m,handleMouseUp:v,handleMouseDown:p,handleMouseMove:g,handleFocus:b}=P6(l,o),{tableLabel:C,tableKls:w,getCellClasses:y,getRowKls:k,weekHeaderClass:E,t:x}=R6(l,{isCurrent:d,isWeekActive:f});let $=!1;return Pt(()=>{$=!0}),t({focus:c}),(R,I)=>(T(),F("table",{"aria-label":i(C),class:P(i(w)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:I[1]||(I[1]=(...A)=>i(m)&&i(m)(...A)),onMousemove:I[2]||(I[2]=(...A)=>i(g)&&i(g)(...A)),onMousedown:I[3]||(I[3]=(...A)=>i(p)&&i(p)(...A)),onMouseup:I[4]||(I[4]=(...A)=>i(v)&&i(v)(...A))},[j("tbody",{ref_key:"tbodyRef",ref:r},[j("tr",null,[R.showWeekNumber?(T(),F("th",{key:0,scope:"col",class:P(i(E))},null,2)):ne("v-if",!0),(T(!0),F(ze,null,gt(i(a),(A,O)=>(T(),F("th",{key:O,"aria-label":i(x)("el.datepicker.weeksFull."+A),scope:"col"},ke(i(x)("el.datepicker.weeks."+A)),9,D6))),128))]),(T(!0),F(ze,null,gt(i(s),(A,O)=>(T(),F("tr",{key:O,class:P(i(k)(R.showWeekNumber?A[2]:A[1]))},[(T(!0),F(ze,null,gt(A,(D,K)=>(T(),F("td",{key:`${O}.${K}`,ref_for:!0,ref:Z=>!i($)&&i(h)(D)&&(u.value=Z),class:P(i(y)(D)),"aria-current":D.isCurrent?"date":void 0,"aria-selected":D.isCurrent,tabindex:R.disabled?void 0:i(h)(D)?0:-1,"aria-disabled":R.disabled,onFocus:I[0]||(I[0]=(...Z)=>i(b)&&i(b)(...Z))},[q(i(ph),{cell:D},null,8,["cell"])],42,B6))),128))],2))),128))],512)],42,L6))}});const V6=Se({...dh,selectionMode:vh("month")}),_6=["aria-label"],F6=["aria-selected","aria-label","tabindex","onKeydown"];var wi=ae({__name:"basic-month-table",props:V6,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const l=e,o=n,a=me("month-table"),{t:s,lang:r}=wt(),u=L(),c=L(),d=L(l.date.locale("en").localeData().monthsShort().map(y=>y.toLowerCase())),f=L([[],[],[]]),h=L(),m=L(),v=S(()=>{var y,k,E;const x=f.value,$=lt().locale(r.value).startOf("month");for(let R=0;R<3;R++){const I=x[R];for(let A=0;A<4;A++){const O=I[A]||(I[A]={row:R,column:A,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0});O.type="normal";const D=R*4+A,K=l.date.startOf("year").month(D),Z=l.rangeState.endDate||l.maxDate||l.rangeState.selecting&&l.minDate||null;O.inRange=!!(l.minDate&&K.isSameOrAfter(l.minDate,"month")&&Z&&K.isSameOrBefore(Z,"month"))||!!(l.minDate&&K.isSameOrBefore(l.minDate,"month")&&Z&&K.isSameOrAfter(Z,"month")),(y=l.minDate)!=null&&y.isSameOrAfter(Z)?(O.start=!!(Z&&K.isSame(Z,"month")),O.end=l.minDate&&K.isSame(l.minDate,"month")):(O.start=!!(l.minDate&&K.isSame(l.minDate,"month")),O.end=!!(Z&&K.isSame(Z,"month"))),$.isSame(K)&&(O.type="today");const M=K.toDate();O.text=D,O.disabled=((k=l.disabledDate)==null?void 0:k.call(l,M))||!1,O.date=M,O.customClass=(E=l.cellClassName)==null?void 0:E.call(l,M),O.dayjs=K,O.timestamp=K.valueOf(),O.isSelected=b(O)}}return x}),p=()=>{var y;(y=c.value)==null||y.focus()},g=y=>{const k={},E=l.date.year(),x=new Date,$=y.text;return k.disabled=l.disabled||(l.disabledDate?Ec(l.date,E,$,r.value).every(l.disabledDate):!1),k.current=Yn(l.parsedValue).some(R=>lt.isDayjs(R)&&R.year()===E&&R.month()===$),k.today=x.getFullYear()===E&&x.getMonth()===$,y.customClass&&(k[y.customClass]=!0),y.inRange&&(k["in-range"]=!0,y.start&&(k["start-date"]=!0),y.end&&(k["end-date"]=!0)),k},b=y=>{const k=l.date.year(),E=y.text;return Yn(l.date).some(x=>x.year()===k&&x.month()===E)},C=y=>{var k;if(!l.rangeState.selecting)return;let E=y.target;if(E.tagName==="SPAN"&&(E=(k=E.parentNode)==null?void 0:k.parentNode),E.tagName==="DIV"&&(E=E.parentNode),E.tagName!=="TD")return;const x=E.parentNode.rowIndex,$=E.cellIndex;v.value[x][$].disabled||(x!==h.value||$!==m.value)&&(h.value=x,m.value=$,o("changerange",{selecting:!0,endDate:l.date.startOf("year").month(x*4+$)}))},w=y=>{var k;if(l.disabled)return;const E=(k=y.target)==null?void 0:k.closest("td");if((E==null?void 0:E.tagName)!=="TD"||co(E,"disabled"))return;const x=E.cellIndex,R=E.parentNode.rowIndex*4+x,I=l.date.startOf("year").month(R);if(l.selectionMode==="months"){if(y.type==="keydown"){o("pick",Yn(l.parsedValue),!1);return}const A=ar(l.date,l.date.year(),R,r.value,l.disabledDate),O=co(E,"current")?Yn(l.parsedValue).filter(D=>(D==null?void 0:D.year())!==A.year()||(D==null?void 0:D.month())!==A.month()):Yn(l.parsedValue).concat([lt(A)]);o("pick",O)}else l.selectionMode==="range"?l.rangeState.selecting?(l.minDate&&I>=l.minDate?o("pick",{minDate:l.minDate,maxDate:I}):o("pick",{minDate:I,maxDate:l.minDate}),o("select",!1)):(o("pick",{minDate:I,maxDate:null}),o("select",!0)):o("pick",R)};return ue(()=>l.date,async()=>{var y,k;(y=u.value)!=null&&y.contains(document.activeElement)&&(await Re(),(k=c.value)==null||k.focus())}),t({focus:p}),(y,k)=>(T(),F("table",{role:"grid","aria-label":i(s)("el.datepicker.monthTablePrompt"),class:P(i(a).b()),onClick:w,onMousemove:C},[j("tbody",{ref_key:"tbodyRef",ref:u},[(T(!0),F(ze,null,gt(v.value,(E,x)=>(T(),F("tr",{key:x},[(T(!0),F(ze,null,gt(E,($,R)=>(T(),F("td",{key:R,ref_for:!0,ref:I=>$.isSelected&&(c.value=I),class:P(g($)),"aria-selected":!!$.isSelected,"aria-label":i(s)(`el.datepicker.month${+$.text+1}`),tabindex:$.isSelected?0:-1,onKeydown:[Jt(Je(w,["prevent","stop"]),["space"]),Jt(Je(w,["prevent","stop"]),["enter"])]},[q(i(ph),{cell:{...$,renderText:i(s)("el.datepicker.months."+d.value[$.text])}},null,8,["cell"])],42,F6))),128))]))),128))],512)],42,_6))}});const z6=Se({...dh,selectionMode:vh("year")}),H6=["aria-label"],K6=["aria-selected","aria-label","tabindex","onKeydown"];var Ci=ae({__name:"basic-year-table",props:z6,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const l=(k,E)=>{const x=lt(String(k)).locale(E).startOf("year"),R=x.endOf("year").dayOfYear();return Ea(R).map(I=>x.add(I,"day").toDate())},o=e,a=n,s=me("year-table"),{t:r,lang:u}=wt(),c=L(),d=L(),f=S(()=>Math.floor(o.date.year()/10)*10),h=L([[],[],[]]),m=L(),v=L(),p=S(()=>{var k,E,x;const $=h.value,R=lt().locale(u.value).startOf("year");for(let I=0;I<3;I++){const A=$[I];for(let O=0;O<4&&!(I*4+O>=10);O++){let D=A[O];D||(D={row:I,column:O,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0}),D.type="normal";const K=I*4+O+f.value,Z=lt().year(K),W=o.rangeState.endDate||o.maxDate||o.rangeState.selecting&&o.minDate||null;D.inRange=!!(o.minDate&&Z.isSameOrAfter(o.minDate,"year")&&W&&Z.isSameOrBefore(W,"year"))||!!(o.minDate&&Z.isSameOrBefore(o.minDate,"year")&&W&&Z.isSameOrAfter(W,"year")),(k=o.minDate)!=null&&k.isSameOrAfter(W)?(D.start=!!(W&&Z.isSame(W,"year")),D.end=!!(o.minDate&&Z.isSame(o.minDate,"year"))):(D.start=!!(o.minDate&&Z.isSame(o.minDate,"year")),D.end=!!(W&&Z.isSame(W,"year"))),R.isSame(Z)&&(D.type="today"),D.text=K;const N=Z.toDate();D.disabled=((E=o.disabledDate)==null?void 0:E.call(o,N))||!1,D.date=N,D.customClass=(x=o.cellClassName)==null?void 0:x.call(o,N),D.dayjs=Z,D.timestamp=Z.valueOf(),D.isSelected=C(D),A[O]=D}}return $}),g=()=>{var k;(k=d.value)==null||k.focus()},b=k=>{const E={},x=lt().locale(u.value),$=k.text;return E.disabled=o.disabled||(o.disabledDate?l($,u.value).every(o.disabledDate):!1),E.today=x.year()===$,E.current=Yn(o.parsedValue).some(R=>R.year()===$),k.customClass&&(E[k.customClass]=!0),k.inRange&&(E["in-range"]=!0,k.start&&(E["start-date"]=!0),k.end&&(E["end-date"]=!0)),E},C=k=>{const E=k.text;return Yn(o.date).some(x=>x.year()===E)},w=k=>{var E;if(o.disabled)return;const x=(E=k.target)==null?void 0:E.closest("td");if(!x||!x.textContent||co(x,"disabled"))return;const $=x.cellIndex,I=x.parentNode.rowIndex*4+$+f.value,A=lt().year(I);if(o.selectionMode==="range")o.rangeState.selecting?(o.minDate&&A>=o.minDate?a("pick",{minDate:o.minDate,maxDate:A}):a("pick",{minDate:A,maxDate:o.minDate}),a("select",!1)):(a("pick",{minDate:A,maxDate:null}),a("select",!0));else if(o.selectionMode==="years"){if(k.type==="keydown"){a("pick",Yn(o.parsedValue),!1);return}const O=xc(A.startOf("year"),u.value,o.disabledDate),D=co(x,"current")?Yn(o.parsedValue).filter(K=>(K==null?void 0:K.year())!==I):Yn(o.parsedValue).concat([O]);a("pick",D)}else a("pick",I)},y=k=>{var E;if(!o.rangeState.selecting)return;const x=(E=k.target)==null?void 0:E.closest("td");if(!x)return;const $=x.parentNode.rowIndex,R=x.cellIndex;p.value[$][R].disabled||($!==m.value||R!==v.value)&&(m.value=$,v.value=R,a("changerange",{selecting:!0,endDate:lt().year(f.value).add($*4+R,"year")}))};return ue(()=>o.date,async()=>{var k,E;(k=c.value)!=null&&k.contains(document.activeElement)&&(await Re(),(E=d.value)==null||E.focus())}),t({focus:g}),(k,E)=>(T(),F("table",{role:"grid","aria-label":i(r)("el.datepicker.yearTablePrompt"),class:P(i(s).b()),onClick:w,onMousemove:y},[j("tbody",{ref_key:"tbodyRef",ref:c},[(T(!0),F(ze,null,gt(p.value,(x,$)=>(T(),F("tr",{key:$},[(T(!0),F(ze,null,gt(x,(R,I)=>(T(),F("td",{key:`${$}_${I}`,ref_for:!0,ref:A=>R.isSelected&&(d.value=A),class:P(["available",b(R)]),"aria-selected":R.isSelected,"aria-label":String(R.text),tabindex:R.isSelected?0:-1,onKeydown:[Jt(Je(w,["prevent","stop"]),["space"]),Jt(Je(w,["prevent","stop"]),["enter"])]},[q(i(ph),{cell:R},null,8,["cell"])],42,K6))),128))]))),128))],512)],42,H6))}});const W6=["disabled","onClick"],j6=["aria-label","disabled"],Y6=["aria-label","disabled"],U6=["tabindex","aria-disabled"],q6=["tabindex","aria-disabled"],G6=["aria-label","disabled"],X6=["aria-label","disabled"];var Z6=ae({__name:"panel-date-pick",props:O6,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const n=(ve,De,de)=>!0,l=e,o=t,a=me("picker-panel"),s=me("date-picker"),r=Qo(),u=rn(),{t:c,lang:d}=wt(),f=Le(Yl),h=Le(nu,void 0),{shortcuts:m,disabledDate:v,cellClassName:p,defaultTime:g}=f.props,b=Lt(f.props,"defaultValue"),C=L(),w=L(lt().locale(d.value)),y=L(!1);let k=!1;const E=S(()=>lt(g).locale(d.value)),x=S(()=>w.value.month()),$=S(()=>w.value.year()),R=L([]),I=L(null),A=L(null),O=ve=>R.value.length>0?n(ve,R.value,l.format||"HH:mm:ss"):!0,D=ve=>g&&!$e.value&&!y.value&&!k?E.value.year(ve.year()).month(ve.month()).date(ve.date()):ce.value?ve.millisecond(0):ve.startOf("day"),K=(ve,...De)=>{if(!ve)o("pick",ve,...De);else if(ye(ve)){const de=ve.map(D);o("pick",de,...De)}else o("pick",D(ve),...De);I.value=null,A.value=null,y.value=!1,k=!1},Z=async(ve,De)=>{if(z.value==="date"&<.isDayjs(ve)){const de=Ir(l.parsedValue);let Be=de?de.year(ve.year()).month(ve.month()).date(ve.date()):ve;O(Be),w.value=Be,K(Be,ce.value||De)}else z.value==="week"?K(ve.date):z.value==="dates"&&K(ve,!0)},W=ve=>{const De=ve?"add":"subtract";w.value=w.value[De](1,"month"),mt("month")},M=ve=>{const De=w.value,de=ve?"add":"subtract";w.value=N.value==="year"?De[de](10,"year"):De[de](1,"year"),mt("year")},N=L("date"),B=S(()=>{const ve=c("el.datepicker.year");if(N.value==="year"){const De=Math.floor($.value/10)*10;return ve?`${De} ${ve} - ${De+9} ${ve}`:`${De} - ${De+9}`}return`${$.value} ${ve}`}),V=ve=>{const De=He(ve.value)?ve.value():ve.value;if(De){k=!0,K(lt(De).locale(d.value));return}ve.onClick&&ve.onClick({attrs:r,slots:u,emit:o})},z=S(()=>{const{type:ve}=l;return["week","month","months","year","years","dates"].includes(ve)?ve:"date"}),Y=S(()=>z.value==="dates"||z.value==="months"||z.value==="years"),H=S(()=>z.value==="date"?N.value:z.value),X=S(()=>!!m.length),J=async(ve,De)=>{z.value==="month"?(w.value=ar(w.value,w.value.year(),ve,d.value,v),K(w.value,!1)):z.value==="months"?K(ve,De??!0):(w.value=ar(w.value,w.value.year(),ve,d.value,v),N.value="date",["month","year","date","week"].includes(z.value)&&(K(w.value,!0),await Re(),Et())),mt("month")},se=async(ve,De)=>{if(z.value==="year"){const de=w.value.startOf("year").year(ve);w.value=xc(de,d.value,v),K(w.value,!1)}else if(z.value==="years")K(ve,De??!0);else{const de=w.value.year(ve);w.value=xc(de,d.value,v),N.value="month",["month","year","date","week"].includes(z.value)&&(K(w.value,!0),await Re(),Et())}mt("year")},re=nn(),fe=async ve=>{re.value||(N.value=ve,await Re(),Et())},ce=S(()=>l.type==="datetime"||l.type==="datetimerange"),oe=S(()=>{const ve=ce.value||z.value==="dates",De=z.value==="years",de=z.value==="months",Be=N.value==="date",dt=N.value==="year",Dt=N.value==="month";return ve&&Be||De&&dt||de&&Dt}),U=S(()=>!Y.value&&l.showNow||l.showConfirm),_=S(()=>v?l.parsedValue?ye(l.parsedValue)?v(l.parsedValue[0].toDate()):v(l.parsedValue.toDate()):!0:!1),Q=()=>{if(Y.value)K(l.parsedValue);else{let ve=Ir(l.parsedValue);if(!ve){const De=lt(g).locale(d.value),de=Ke();ve=De.year(de.year()).month(de.month()).date(de.date())}w.value=ve,K(ve)}},ie=S(()=>v?v(lt().locale(d.value).toDate()):!1),he=()=>{const De=lt().locale(d.value).toDate();y.value=!0,(!v||!v(De))&&O(De)&&(w.value=lt().locale(d.value),K(w.value))},pe=S(()=>l.timeFormat||dC(l.format)||or),be=S(()=>l.dateFormat||cC(l.format)||ga),$e=S(()=>A.value?A.value:!l.parsedValue&&!b.value?void 0:(Ir(l.parsedValue)||w.value).format(pe.value)),Me=S(()=>I.value?I.value:!l.parsedValue&&!b.value?void 0:(Ir(l.parsedValue)||w.value).format(be.value)),Ne=L(!1),ge=()=>{Ne.value=!0},Te=()=>{Ne.value=!1},we=ve=>({hour:ve.hour(),minute:ve.minute(),second:ve.second(),year:ve.year(),month:ve.month(),date:ve.date()}),Pe=(ve,De,de)=>{const{hour:Be,minute:dt,second:Dt}=we(ve),Gt=Ir(l.parsedValue),Zt=Gt?Gt.hour(Be).minute(dt).second(Dt):ve;w.value=Zt,K(w.value,!0),de||(Ne.value=De)},Fe=ve=>{const De=lt(ve,pe.value).locale(d.value);if(De.isValid()&&O(De)){const{year:de,month:Be,date:dt}=we(w.value);w.value=De.year(de).month(Be).date(dt),A.value=null,Ne.value=!1,K(w.value,!0)}},Ze=ve=>{const De=sr(ve,be.value,d.value,h);if(De.isValid()){if(v&&v(De.toDate()))return;const{hour:de,minute:Be,second:dt}=we(w.value);w.value=De.hour(de).minute(Be).second(dt),I.value=null,K(w.value,!0)}},Oe=ve=>lt.isDayjs(ve)&&ve.isValid()&&(v?!v(ve.toDate()):!0),Ae=ve=>sr(ve,l.format,d.value,h),Ke=()=>{const ve=lt(b.value).locale(d.value);if(!b.value){const De=E.value;return lt().hour(De.hour()).minute(De.minute()).second(De.second()).locale(d.value)}return ve},Et=()=>{var ve;["week","month","year","date"].includes(z.value)&&((ve=C.value)==null||ve.focus())},It=()=>{Et(),z.value==="week"&&st(Ce.down)},qe=ve=>{const De=Ft(ve);[Ce.up,Ce.down,Ce.left,Ce.right,Ce.home,Ce.end,Ce.pageUp,Ce.pageDown].includes(De)&&(st(De),ve.stopPropagation(),ve.preventDefault()),[Ce.enter,Ce.space,Ce.numpadEnter].includes(De)&&I.value===null&&A.value===null&&(ve.preventDefault(),K(w.value,!1))},st=ve=>{var De;const{up:de,down:Be,left:dt,right:Dt,home:Gt,end:Zt,pageUp:Ie,pageDown:Ye}=Ce,at={year:{[de]:-4,[Be]:4,[dt]:-1,[Dt]:1,offset:(Mt,Ue)=>Mt.setFullYear(Mt.getFullYear()+Ue)},month:{[de]:-4,[Be]:4,[dt]:-1,[Dt]:1,offset:(Mt,Ue)=>Mt.setMonth(Mt.getMonth()+Ue)},week:{[de]:-1,[Be]:1,[dt]:-1,[Dt]:1,offset:(Mt,Ue)=>Mt.setDate(Mt.getDate()+Ue*7)},date:{[de]:-7,[Be]:7,[dt]:-1,[Dt]:1,[Gt]:Mt=>-Mt.getDay(),[Zt]:Mt=>-Mt.getDay()+6,[Ie]:Mt=>-new Date(Mt.getFullYear(),Mt.getMonth(),0).getDate(),[Ye]:Mt=>new Date(Mt.getFullYear(),Mt.getMonth()+1,0).getDate(),offset:(Mt,Ue)=>Mt.setDate(Mt.getDate()+Ue)}},Ut=w.value.toDate();for(;Math.abs(w.value.diff(Ut,"year",!0))<1;){const Mt=at[H.value];if(!Mt)return;if(Mt.offset(Ut,He(Mt[ve])?Mt[ve](Ut):(De=Mt[ve])!=null?De:0),v&&v(Ut))break;const Ue=lt(Ut).locale(d.value);w.value=Ue,o("pick",Ue,!0);break}},mt=ve=>{o("panel-change",w.value.toDate(),ve,N.value)};return ue(()=>z.value,ve=>{if(["month","year"].includes(ve)){N.value=ve;return}else if(ve==="years"){N.value="year";return}else if(ve==="months"){N.value="month";return}N.value="date"},{immediate:!0}),ue(()=>b.value,ve=>{ve&&(w.value=Ke())},{immediate:!0}),ue(()=>l.parsedValue,ve=>{if(ve){if(Y.value||ye(ve))return;w.value=ve}else w.value=Ke()},{immediate:!0}),o("set-picker-option",["isValidValue",Oe]),o("set-picker-option",["parseUserInput",Ae]),o("set-picker-option",["handleFocusPicker",It]),(ve,De)=>(T(),F("div",{class:P([i(a).b(),i(s).b(),i(a).is("border",ve.border),i(a).is("disabled",i(re)),{"has-sidebar":ve.$slots.sidebar||X.value,"has-time":ce.value}])},[j("div",{class:P(i(a).e("body-wrapper"))},[te(ve.$slots,"sidebar",{class:P(i(a).e("sidebar"))}),X.value?(T(),F("div",{key:0,class:P(i(a).e("sidebar"))},[(T(!0),F(ze,null,gt(i(m),(de,Be)=>(T(),F("button",{key:Be,type:"button",disabled:i(re),class:P(i(a).e("shortcut")),onClick:dt=>V(de)},ke(de.text),11,W6))),128))],2)):ne("v-if",!0),j("div",{class:P(i(a).e("body"))},[ce.value?(T(),F("div",{key:0,class:P(i(s).e("time-header"))},[j("span",{class:P(i(s).e("editor-wrap"))},[q(i(Un),{placeholder:i(c)("el.datepicker.selectDate"),"model-value":Me.value,size:"small","validate-event":!1,disabled:i(re),readonly:!ve.editable,onInput:De[0]||(De[0]=de=>I.value=de),onChange:Ze},null,8,["placeholder","model-value","disabled","readonly"])],2),it((T(),F("span",{class:P(i(s).e("editor-wrap"))},[q(i(Un),{placeholder:i(c)("el.datepicker.selectTime"),"model-value":$e.value,size:"small","validate-event":!1,disabled:i(re),readonly:!ve.editable,onFocus:ge,onInput:De[1]||(De[1]=de=>A.value=de),onChange:Fe},null,8,["placeholder","model-value","disabled","readonly"]),q(i(kc),{visible:Ne.value,format:pe.value,"parsed-value":w.value,onPick:Pe},null,8,["visible","format","parsed-value"])],2)),[[i(Ia),Te]])],2)):ne("v-if",!0),it(j("div",{class:P([i(s).e("header"),(N.value==="year"||N.value==="month")&&i(s).em("header","bordered")])},[j("span",{class:P(i(s).e("prev-btn"))},[j("button",{type:"button","aria-label":i(c)("el.datepicker.prevYear"),class:P(["d-arrow-left",i(a).e("icon-btn")]),disabled:i(re),onClick:De[2]||(De[2]=de=>M(!1))},[te(ve.$slots,"prev-year",{},()=>[q(i(_e),null,{default:ee(()=>[q(i($a))]),_:1})])],10,j6),it(j("button",{type:"button","aria-label":i(c)("el.datepicker.prevMonth"),class:P([i(a).e("icon-btn"),"arrow-left"]),disabled:i(re),onClick:De[3]||(De[3]=de=>W(!1))},[te(ve.$slots,"prev-month",{},()=>[q(i(_e),null,{default:ee(()=>[q(i(qo))]),_:1})])],10,Y6),[[$t,N.value==="date"]])],2),j("span",{role:"button",class:P(i(s).e("header-label")),"aria-live":"polite",tabindex:ve.disabled?void 0:0,"aria-disabled":ve.disabled,onKeydown:De[4]||(De[4]=Jt(de=>fe("year"),["enter"])),onClick:De[5]||(De[5]=de=>fe("year"))},ke(B.value),43,U6),it(j("span",{role:"button","aria-live":"polite",tabindex:ve.disabled?void 0:0,"aria-disabled":ve.disabled,class:P([i(s).e("header-label"),{active:N.value==="month"}]),onKeydown:De[6]||(De[6]=Jt(de=>fe("month"),["enter"])),onClick:De[7]||(De[7]=de=>fe("month"))},ke(i(c)(`el.datepicker.month${x.value+1}`)),43,q6),[[$t,N.value==="date"]]),j("span",{class:P(i(s).e("next-btn"))},[it(j("button",{type:"button","aria-label":i(c)("el.datepicker.nextMonth"),class:P([i(a).e("icon-btn"),"arrow-right"]),disabled:i(re),onClick:De[8]||(De[8]=de=>W(!0))},[te(ve.$slots,"next-month",{},()=>[q(i(_e),null,{default:ee(()=>[q(i(Gn))]),_:1})])],10,G6),[[$t,N.value==="date"]]),j("button",{type:"button","aria-label":i(c)("el.datepicker.nextYear"),class:P([i(a).e("icon-btn"),"d-arrow-right"]),disabled:i(re),onClick:De[9]||(De[9]=de=>M(!0))},[te(ve.$slots,"next-year",{},()=>[q(i(_e),null,{default:ee(()=>[q(i(Oa))]),_:1})])],10,X6)],2)],2),[[$t,N.value!=="time"]]),j("div",{class:P(i(a).e("content")),onKeydown:qe},[N.value==="date"?(T(),le(av,{key:0,ref_key:"currentViewRef",ref:C,"selection-mode":z.value,date:w.value,"parsed-value":ve.parsedValue,"disabled-date":i(v),disabled:i(re),"cell-class-name":i(p),"show-week-number":ve.showWeekNumber,onPick:Z},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name","show-week-number"])):ne("v-if",!0),N.value==="year"?(T(),le(Ci,{key:1,ref_key:"currentViewRef",ref:C,"selection-mode":z.value,date:w.value,"disabled-date":i(v),disabled:i(re),"parsed-value":ve.parsedValue,"cell-class-name":i(p),onPick:se},null,8,["selection-mode","date","disabled-date","disabled","parsed-value","cell-class-name"])):ne("v-if",!0),N.value==="month"?(T(),le(wi,{key:2,ref_key:"currentViewRef",ref:C,"selection-mode":z.value,date:w.value,"parsed-value":ve.parsedValue,"disabled-date":i(v),disabled:i(re),"cell-class-name":i(p),onPick:J},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name"])):ne("v-if",!0)],34)],2)],2),ve.showFooter&&oe.value&&U.value?(T(),F("div",{key:0,class:P(i(a).e("footer"))},[it(q(i(Cn),{text:"",size:"small",class:P(i(a).e("link-btn")),disabled:ie.value,onClick:he},{default:ee(()=>[bt(ke(i(c)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[$t,!Y.value&&ve.showNow]]),ve.showConfirm?(T(),le(i(Cn),{key:0,plain:"",size:"small",class:P(i(a).e("link-btn")),disabled:_.value,onClick:Q},{default:ee(()=>[bt(ke(i(c)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):ne("v-if",!0)],2)):ne("v-if",!0)],2))}});const J6=Se({...vS,...fh}),Q6=e=>{const{emit:t}=ct(),n=Qo(),l=rn();return a=>{const s=He(a.value)?a.value():a.value;if(s){t("pick",[lt(s[0]).locale(e.value),lt(s[1]).locale(e.value)]);return}a.onClick&&a.onClick({attrs:n,slots:l,emit:t})}},hh=(e,{defaultValue:t,defaultTime:n,leftDate:l,rightDate:o,step:a,unit:s,sortDates:r})=>{const{emit:u}=ct(),{pickerNs:c}=Le(ch),d=me("date-range-picker"),{t:f,lang:h}=wt(),m=Q6(h),v=L(),p=L(),g=L({endDate:null,selecting:!1}),b=E=>{g.value=E},C=(E=!1)=>{const x=i(v),$=i(p);yi([x,$])&&u("pick",[x,$],E)},w=E=>{g.value.selecting=E,E||(g.value.endDate=null)},y=E=>{if(ye(E)&&E.length===2){const[x,$]=E;v.value=x,l.value=x,p.value=$,r(i(v),i(p))}else k()},k=()=>{let[E,x]=wd(i(t),{lang:i(h),step:a,unit:s,unlinkPanels:e.unlinkPanels});const $=I=>I.diff(I.startOf("d"),"ms"),R=i(n);if(R){let I=0,A=0;if(ye(R)){const[O,D]=R.map(lt);I=$(O),A=$(D)}else{const O=$(lt(R));I=O,A=O}E=E.startOf("d").add(I,"ms"),x=x.startOf("d").add(A,"ms")}v.value=void 0,p.value=void 0,l.value=E,o.value=x};return ue(t,E=>{E&&k()},{immediate:!0}),ue(()=>e.parsedValue,E=>{(!(E!=null&&E.length)||!Qt(E,[v.value,p.value]))&&y(E)},{immediate:!0}),ue(()=>e.visible,()=>{e.visible&&y(e.parsedValue)},{immediate:!0}),{minDate:v,maxDate:p,rangeState:g,lang:h,ppNs:c,drpNs:d,handleChangeRange:b,handleRangeConfirm:C,handleShortcutClick:m,onSelect:w,parseValue:y,t:f}},eB=(e,t,n,l)=>{const o=L("date"),a=L(),s=L("date"),r=L(),u=Le(Yl),{disabledDate:c}=u.props,{t:d,lang:f}=wt(),h=S(()=>n.value.year()),m=S(()=>n.value.month()),v=S(()=>l.value.year()),p=S(()=>l.value.month());function g(E,x){const $=d("el.datepicker.year");if(E.value==="year"){const R=Math.floor(x.value/10)*10;return $?`${R} ${$} - ${R+9} ${$}`:`${R} - ${R+9}`}return`${x.value} ${$}`}function b(E){E==null||E.focus()}async function C(E,x){if(e.disabled)return;const $=E==="left"?o:s,R=E==="left"?a:r;$.value=x,await Re(),b(R.value)}async function w(E,x,$){if(e.disabled)return;const R=x==="left",I=R?n:l,A=R?l:n,O=R?o:s,D=R?a:r;if(E==="year"){const K=I.value.year($);I.value=xc(K,f.value,c)}E==="month"&&(I.value=ar(I.value,I.value.year(),$,f.value,c)),e.unlinkPanels||(A.value=x==="left"?I.value.add(1,"month"):I.value.subtract(1,"month")),O.value=E==="year"?"month":"date",await Re(),b(D.value),y(E)}function y(E){t("panel-change",[n.value.toDate(),l.value.toDate()],E)}function k(E,x,$){const R=$?"add":"subtract";return E==="year"?x[R](10,"year"):x[R](1,"year")}return{leftCurrentView:o,rightCurrentView:s,leftCurrentViewRef:a,rightCurrentViewRef:r,leftYear:h,rightYear:v,leftMonth:m,rightMonth:p,leftYearLabel:S(()=>g(o,h)),rightYearLabel:S(()=>g(s,v)),showLeftPicker:E=>C("left",E),showRightPicker:E=>C("right",E),handleLeftYearPick:E=>w("year","left",E),handleRightYearPick:E=>w("year","right",E),handleLeftMonthPick:E=>w("month","left",E),handleRightMonthPick:E=>w("month","right",E),handlePanelChange:y,adjustDateByView:k}},tB=["disabled","onClick"],nB=["aria-label","disabled"],lB=["aria-label","disabled"],oB=["disabled","aria-label"],aB=["disabled","aria-label"],sB=["tabindex","aria-disabled"],rB=["tabindex","aria-disabled"],iB=["disabled","aria-label"],uB=["disabled","aria-label"],cB=["aria-label","disabled"],dB=["disabled","aria-label"],fB=["tabindex","aria-disabled"],vB=["tabindex","aria-disabled"],$u="month";var pB=ae({__name:"panel-date-range",props:J6,emits:["pick","set-picker-option","calendar-change","panel-change","clear"],setup(e,{emit:t}){const n=e,l=t,o=Le(Yl),a=Le(nu,void 0),{disabledDate:s,cellClassName:r,defaultTime:u,clearable:c}=o.props,d=Lt(o.props,"format"),f=Lt(o.props,"shortcuts"),h=Lt(o.props,"defaultValue"),{lang:m}=wt(),v=L(lt().locale(m.value)),p=L(lt().locale(m.value).add(1,$u)),{minDate:g,maxDate:b,rangeState:C,ppNs:w,drpNs:y,handleChangeRange:k,handleRangeConfirm:E,handleShortcutClick:x,onSelect:$,parseValue:R,t:I}=hh(n,{defaultValue:h,defaultTime:u,leftDate:v,rightDate:p,unit:$u,sortDates:Mt});ue(()=>n.visible,Ue=>{!Ue&&C.value.selecting&&(R(n.parsedValue),$(!1))});const A=L({min:null,max:null}),O=L({min:null,max:null}),{leftCurrentView:D,rightCurrentView:K,leftCurrentViewRef:Z,rightCurrentViewRef:W,leftYear:M,rightYear:N,leftMonth:B,rightMonth:V,leftYearLabel:z,rightYearLabel:Y,showLeftPicker:H,showRightPicker:X,handleLeftYearPick:J,handleRightYearPick:se,handleLeftMonthPick:re,handleRightMonthPick:fe,handlePanelChange:ce,adjustDateByView:oe}=eB(n,l,v,p),U=S(()=>!!f.value.length),_=S(()=>A.value.min!==null?A.value.min:g.value?g.value.format(be.value):""),Q=S(()=>A.value.max!==null?A.value.max:b.value||g.value?(b.value||g.value).format(be.value):""),ie=S(()=>O.value.min!==null?O.value.min:g.value?g.value.format(pe.value):""),he=S(()=>O.value.max!==null?O.value.max:b.value||g.value?(b.value||g.value).format(pe.value):""),pe=S(()=>n.timeFormat||dC(d.value||"")||or),be=S(()=>n.dateFormat||cC(d.value||"")||ga),$e=Ue=>yi(Ue)&&(s?!s(Ue[0].toDate())&&!s(Ue[1].toDate()):!0),Me=()=>{v.value=oe(D.value,v.value,!1),n.unlinkPanels||(p.value=v.value.add(1,"month")),ce("year")},Ne=()=>{v.value=v.value.subtract(1,"month"),n.unlinkPanels||(p.value=v.value.add(1,"month")),ce("month")},ge=()=>{n.unlinkPanels?p.value=oe(K.value,p.value,!0):(v.value=oe(K.value,v.value,!0),p.value=v.value.add(1,"month")),ce("year")},Te=()=>{n.unlinkPanels?p.value=p.value.add(1,"month"):(v.value=v.value.add(1,"month"),p.value=v.value.add(1,"month")),ce("month")},we=()=>{v.value=oe(D.value,v.value,!0),ce("year")},Pe=()=>{v.value=v.value.add(1,"month"),ce("month")},Fe=()=>{p.value=oe(K.value,p.value,!1),ce("year")},Ze=()=>{p.value=p.value.subtract(1,"month"),ce("month")},Oe=S(()=>{const Ue=(B.value+1)%12,Xe=B.value+1>=12?1:0;return n.unlinkPanels&&new Date(M.value+Xe,Ue)n.unlinkPanels&&N.value*12+V.value-(M.value*12+B.value+1)>=12),Ke=nn(),Et=S(()=>!(g.value&&b.value&&!C.value.selecting&&yi([g.value,b.value])&&!Ke.value)),It=S(()=>n.type==="datetime"||n.type==="datetimerange"),qe=(Ue,Xe)=>{if(Ue)return u?lt(u[Xe]||u).locale(m.value).year(Ue.year()).month(Ue.month()).date(Ue.date()):Ue},st=(Ue,Xe=!0)=>{const vt=Ue.minDate,On=Ue.maxDate,Zn=qe(vt,0),Al=qe(On,1);b.value===Al&&g.value===Zn||(l("calendar-change",[vt.toDate(),On&&On.toDate()]),b.value=Al,g.value=Zn,!It.value&&Xe&&(Xe=!Zn||!Al),E(Xe))},mt=L(!1),ve=L(!1),De=()=>{mt.value=!1},de=()=>{ve.value=!1},Be=(Ue,Xe)=>{A.value[Xe]=Ue;const vt=lt(Ue,be.value).locale(m.value);if(vt.isValid()){if(s&&s(vt.toDate()))return;Xe==="min"?(v.value=vt,g.value=(g.value||v.value).year(vt.year()).month(vt.month()).date(vt.date()),!n.unlinkPanels&&(!b.value||b.value.isBefore(g.value))&&(p.value=vt.add(1,"month"),b.value=g.value.add(1,"month"))):(p.value=vt,b.value=(b.value||p.value).year(vt.year()).month(vt.month()).date(vt.date()),!n.unlinkPanels&&(!g.value||g.value.isAfter(b.value))&&(v.value=vt.subtract(1,"month"),g.value=b.value.subtract(1,"month"))),Mt(g.value,b.value),E(!0)}},dt=(Ue,Xe)=>{A.value[Xe]=null},Dt=(Ue,Xe)=>{O.value[Xe]=Ue;const vt=lt(Ue,pe.value).locale(m.value);vt.isValid()&&(Xe==="min"?(mt.value=!0,g.value=(g.value||v.value).hour(vt.hour()).minute(vt.minute()).second(vt.second()),v.value=g.value):(ve.value=!0,b.value=(b.value||p.value).hour(vt.hour()).minute(vt.minute()).second(vt.second()),p.value=b.value))},Gt=(Ue,Xe)=>{O.value[Xe]=null,Xe==="min"?(v.value=g.value,mt.value=!1,(!b.value||b.value.isBefore(g.value))&&(b.value=g.value)):(p.value=b.value,ve.value=!1,b.value&&b.value.isBefore(g.value)&&(g.value=b.value)),E(!0)},Zt=(Ue,Xe,vt)=>{O.value.min||(Ue&&(g.value=(g.value||v.value).hour(Ue.hour()).minute(Ue.minute()).second(Ue.second())),vt||(mt.value=Xe),(!b.value||b.value.isBefore(g.value))&&(b.value=g.value,p.value=Ue,Re(()=>{R(n.parsedValue)})),E(!0))},Ie=(Ue,Xe,vt)=>{O.value.max||(Ue&&(b.value=(b.value||p.value).hour(Ue.hour()).minute(Ue.minute()).second(Ue.second())),vt||(ve.value=Xe),b.value&&b.value.isBefore(g.value)&&(g.value=b.value),E(!0))},Ye=()=>{at(),l("clear")},at=()=>{let Ue=null;o!=null&&o.emptyValues&&(Ue=o.emptyValues.valueOnClear.value),v.value=wd(i(h),{lang:i(m),unit:"month",unlinkPanels:n.unlinkPanels})[0],p.value=v.value.add(1,"month"),b.value=void 0,g.value=void 0,E(!0),l("pick",Ue)},Ut=Ue=>sr(Ue,d.value||"",m.value,a);function Mt(Ue,Xe){if(n.unlinkPanels&&Xe){const vt=(Ue==null?void 0:Ue.year())||0,On=(Ue==null?void 0:Ue.month())||0,Zn=Xe.year(),Al=Xe.month();p.value=vt===Zn&&On===Al?Xe.add(1,$u):Xe}else p.value=v.value.add(1,$u),Xe&&(p.value=p.value.hour(Xe.hour()).minute(Xe.minute()).second(Xe.second()))}return l("set-picker-option",["isValidValue",$e]),l("set-picker-option",["parseUserInput",Ut]),l("set-picker-option",["handleClear",at]),(Ue,Xe)=>(T(),F("div",{class:P([i(w).b(),i(y).b(),i(w).is("border",Ue.border),i(w).is("disabled",i(Ke)),{"has-sidebar":Ue.$slots.sidebar||U.value,"has-time":It.value}])},[j("div",{class:P(i(w).e("body-wrapper"))},[te(Ue.$slots,"sidebar",{class:P(i(w).e("sidebar"))}),U.value?(T(),F("div",{key:0,class:P(i(w).e("sidebar"))},[(T(!0),F(ze,null,gt(f.value,(vt,On)=>(T(),F("button",{key:On,type:"button",disabled:i(Ke),class:P(i(w).e("shortcut")),onClick:Zn=>i(x)(vt)},ke(vt.text),11,tB))),128))],2)):ne("v-if",!0),j("div",{class:P(i(w).e("body"))},[It.value?(T(),F("div",{key:0,class:P(i(y).e("time-header"))},[j("span",{class:P(i(y).e("editors-wrap"))},[j("span",{class:P(i(y).e("time-picker-wrap"))},[q(i(Un),{size:"small",disabled:i(C).selecting||i(Ke),placeholder:i(I)("el.datepicker.startDate"),class:P(i(y).e("editor")),"model-value":_.value,"validate-event":!1,readonly:!Ue.editable,onInput:Xe[0]||(Xe[0]=vt=>Be(vt,"min")),onChange:Xe[1]||(Xe[1]=vt=>dt(vt,"min"))},null,8,["disabled","placeholder","class","model-value","readonly"])],2),it((T(),F("span",{class:P(i(y).e("time-picker-wrap"))},[q(i(Un),{size:"small",class:P(i(y).e("editor")),disabled:i(C).selecting||i(Ke),placeholder:i(I)("el.datepicker.startTime"),"model-value":ie.value,"validate-event":!1,readonly:!Ue.editable,onFocus:Xe[2]||(Xe[2]=vt=>mt.value=!0),onInput:Xe[3]||(Xe[3]=vt=>Dt(vt,"min")),onChange:Xe[4]||(Xe[4]=vt=>Gt(vt,"min"))},null,8,["class","disabled","placeholder","model-value","readonly"]),q(i(kc),{visible:mt.value,format:pe.value,"datetime-role":"start","parsed-value":i(g)||v.value,onPick:Zt},null,8,["visible","format","parsed-value"])],2)),[[i(Ia),De]])],2),j("span",null,[q(i(_e),null,{default:ee(()=>[q(i(Gn))]),_:1})]),j("span",{class:P([i(y).e("editors-wrap"),"is-right"])},[j("span",{class:P(i(y).e("time-picker-wrap"))},[q(i(Un),{size:"small",class:P(i(y).e("editor")),disabled:i(C).selecting||i(Ke),placeholder:i(I)("el.datepicker.endDate"),"model-value":Q.value,readonly:!i(g)||!Ue.editable,"validate-event":!1,onInput:Xe[5]||(Xe[5]=vt=>Be(vt,"max")),onChange:Xe[6]||(Xe[6]=vt=>dt(vt,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),it((T(),F("span",{class:P(i(y).e("time-picker-wrap"))},[q(i(Un),{size:"small",class:P(i(y).e("editor")),disabled:i(C).selecting||i(Ke),placeholder:i(I)("el.datepicker.endTime"),"model-value":he.value,readonly:!i(g)||!Ue.editable,"validate-event":!1,onFocus:Xe[7]||(Xe[7]=vt=>i(g)&&(ve.value=!0)),onInput:Xe[8]||(Xe[8]=vt=>Dt(vt,"max")),onChange:Xe[9]||(Xe[9]=vt=>Gt(vt,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),q(i(kc),{"datetime-role":"end",visible:ve.value,format:pe.value,"parsed-value":i(b)||p.value,onPick:Ie},null,8,["visible","format","parsed-value"])],2)),[[i(Ia),de]])],2)],2)):ne("v-if",!0),j("div",{class:P([[i(w).e("content"),i(y).e("content")],"is-left"])},[j("div",{class:P(i(y).e("header"))},[j("button",{type:"button",class:P([i(w).e("icon-btn"),"d-arrow-left"]),"aria-label":i(I)("el.datepicker.prevYear"),disabled:i(Ke),onClick:Me},[te(Ue.$slots,"prev-year",{},()=>[q(i(_e),null,{default:ee(()=>[q(i($a))]),_:1})])],10,nB),it(j("button",{type:"button",class:P([i(w).e("icon-btn"),"arrow-left"]),"aria-label":i(I)("el.datepicker.prevMonth"),disabled:i(Ke),onClick:Ne},[te(Ue.$slots,"prev-month",{},()=>[q(i(_e),null,{default:ee(()=>[q(i(qo))]),_:1})])],10,lB),[[$t,i(D)==="date"]]),Ue.unlinkPanels?(T(),F("button",{key:0,type:"button",disabled:!Ae.value||i(Ke),class:P([[i(w).e("icon-btn"),i(w).is("disabled",!Ae.value||i(Ke))],"d-arrow-right"]),"aria-label":i(I)("el.datepicker.nextYear"),onClick:we},[te(Ue.$slots,"next-year",{},()=>[q(i(_e),null,{default:ee(()=>[q(i(Oa))]),_:1})])],10,oB)):ne("v-if",!0),Ue.unlinkPanels&&i(D)==="date"?(T(),F("button",{key:1,type:"button",disabled:!Oe.value||i(Ke),class:P([[i(w).e("icon-btn"),i(w).is("disabled",!Oe.value||i(Ke))],"arrow-right"]),"aria-label":i(I)("el.datepicker.nextMonth"),onClick:Pe},[te(Ue.$slots,"next-month",{},()=>[q(i(_e),null,{default:ee(()=>[q(i(Gn))]),_:1})])],10,aB)):ne("v-if",!0),j("div",null,[j("span",{role:"button",class:P(i(y).e("header-label")),"aria-live":"polite",tabindex:Ue.disabled?void 0:0,"aria-disabled":Ue.disabled,onKeydown:Xe[10]||(Xe[10]=Jt(vt=>i(H)("year"),["enter"])),onClick:Xe[11]||(Xe[11]=vt=>i(H)("year"))},ke(i(z)),43,sB),it(j("span",{role:"button","aria-live":"polite",tabindex:Ue.disabled?void 0:0,"aria-disabled":Ue.disabled,class:P([i(y).e("header-label"),{active:i(D)==="month"}]),onKeydown:Xe[12]||(Xe[12]=Jt(vt=>i(H)("month"),["enter"])),onClick:Xe[13]||(Xe[13]=vt=>i(H)("month"))},ke(i(I)(`el.datepicker.month${v.value.month()+1}`)),43,rB),[[$t,i(D)==="date"]])])],2),i(D)==="date"?(T(),le(av,{key:0,ref_key:"leftCurrentViewRef",ref:Z,"selection-mode":"range",date:v.value,"min-date":i(g),"max-date":i(b),"range-state":i(C),"disabled-date":i(s),"cell-class-name":i(r),"show-week-number":Ue.showWeekNumber,disabled:i(Ke),onChangerange:i(k),onPick:st,onSelect:i($)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):ne("v-if",!0),i(D)==="year"?(T(),le(Ci,{key:1,ref_key:"leftCurrentViewRef",ref:Z,"selection-mode":"year",date:v.value,"disabled-date":i(s),"parsed-value":Ue.parsedValue,disabled:i(Ke),onPick:i(J)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):ne("v-if",!0),i(D)==="month"?(T(),le(wi,{key:2,ref_key:"leftCurrentViewRef",ref:Z,"selection-mode":"month",date:v.value,"parsed-value":Ue.parsedValue,"disabled-date":i(s),disabled:i(Ke),onPick:i(re)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):ne("v-if",!0)],2),j("div",{class:P([[i(w).e("content"),i(y).e("content")],"is-right"])},[j("div",{class:P(i(y).e("header"))},[Ue.unlinkPanels?(T(),F("button",{key:0,type:"button",disabled:!Ae.value||i(Ke),class:P([[i(w).e("icon-btn"),i(w).is("disabled",!Ae.value||i(Ke))],"d-arrow-left"]),"aria-label":i(I)("el.datepicker.prevYear"),onClick:Fe},[te(Ue.$slots,"prev-year",{},()=>[q(i(_e),null,{default:ee(()=>[q(i($a))]),_:1})])],10,iB)):ne("v-if",!0),Ue.unlinkPanels&&i(K)==="date"?(T(),F("button",{key:1,type:"button",disabled:!Oe.value||i(Ke),class:P([[i(w).e("icon-btn"),i(w).is("disabled",!Oe.value||i(Ke))],"arrow-left"]),"aria-label":i(I)("el.datepicker.prevMonth"),onClick:Ze},[te(Ue.$slots,"prev-month",{},()=>[q(i(_e),null,{default:ee(()=>[q(i(qo))]),_:1})])],10,uB)):ne("v-if",!0),j("button",{type:"button","aria-label":i(I)("el.datepicker.nextYear"),class:P([i(w).e("icon-btn"),"d-arrow-right"]),disabled:i(Ke),onClick:ge},[te(Ue.$slots,"next-year",{},()=>[q(i(_e),null,{default:ee(()=>[q(i(Oa))]),_:1})])],10,cB),it(j("button",{type:"button",class:P([i(w).e("icon-btn"),"arrow-right"]),disabled:i(Ke),"aria-label":i(I)("el.datepicker.nextMonth"),onClick:Te},[te(Ue.$slots,"next-month",{},()=>[q(i(_e),null,{default:ee(()=>[q(i(Gn))]),_:1})])],10,dB),[[$t,i(K)==="date"]]),j("div",null,[j("span",{role:"button",class:P(i(y).e("header-label")),"aria-live":"polite",tabindex:Ue.disabled?void 0:0,"aria-disabled":Ue.disabled,onKeydown:Xe[14]||(Xe[14]=Jt(vt=>i(X)("year"),["enter"])),onClick:Xe[15]||(Xe[15]=vt=>i(X)("year"))},ke(i(Y)),43,fB),it(j("span",{role:"button","aria-live":"polite",tabindex:Ue.disabled?void 0:0,"aria-disabled":Ue.disabled,class:P([i(y).e("header-label"),{active:i(K)==="month"}]),onKeydown:Xe[16]||(Xe[16]=Jt(vt=>i(X)("month"),["enter"])),onClick:Xe[17]||(Xe[17]=vt=>i(X)("month"))},ke(i(I)(`el.datepicker.month${p.value.month()+1}`)),43,vB),[[$t,i(K)==="date"]])])],2),i(K)==="date"?(T(),le(av,{key:0,ref_key:"rightCurrentViewRef",ref:W,"selection-mode":"range",date:p.value,"min-date":i(g),"max-date":i(b),"range-state":i(C),"disabled-date":i(s),"cell-class-name":i(r),"show-week-number":Ue.showWeekNumber,disabled:i(Ke),onChangerange:i(k),onPick:st,onSelect:i($)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):ne("v-if",!0),i(K)==="year"?(T(),le(Ci,{key:1,ref_key:"rightCurrentViewRef",ref:W,"selection-mode":"year",date:p.value,"disabled-date":i(s),"parsed-value":Ue.parsedValue,disabled:i(Ke),onPick:i(se)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):ne("v-if",!0),i(K)==="month"?(T(),le(wi,{key:2,ref_key:"rightCurrentViewRef",ref:W,"selection-mode":"month",date:p.value,"parsed-value":Ue.parsedValue,"disabled-date":i(s),disabled:i(Ke),onPick:i(fe)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):ne("v-if",!0)],2)],2)],2),Ue.showFooter&&It.value&&(Ue.showConfirm||i(c))?(T(),F("div",{key:0,class:P(i(w).e("footer"))},[i(c)?(T(),le(i(Cn),{key:0,text:"",size:"small",class:P(i(w).e("link-btn")),onClick:Ye},{default:ee(()=>[bt(ke(i(I)("el.datepicker.clear")),1)]),_:1},8,["class"])):ne("v-if",!0),Ue.showConfirm?(T(),le(i(Cn),{key:1,plain:"",size:"small",class:P(i(w).e("link-btn")),disabled:Et.value,onClick:Xe[18]||(Xe[18]=vt=>i(E)(!1))},{default:ee(()=>[bt(ke(i(I)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):ne("v-if",!0)],2)):ne("v-if",!0)],2))}});const hB=Se({...fh}),mB=["pick","set-picker-option","calendar-change"],gB=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const{t:l}=wt(),o=()=>{t.value=t.value.subtract(1,"year"),e.value||(n.value=n.value.subtract(1,"year"))},a=()=>{e.value||(t.value=t.value.add(1,"year")),n.value=n.value.add(1,"year")},s=()=>{t.value=t.value.add(1,"year")},r=()=>{n.value=n.value.subtract(1,"year")},u=S(()=>`${t.value.year()} ${l("el.datepicker.year")}`),c=S(()=>`${n.value.year()} ${l("el.datepicker.year")}`),d=S(()=>t.value.year()),f=S(()=>n.value.year()===t.value.year()?t.value.year()+1:n.value.year());return{leftPrevYear:o,rightNextYear:a,leftNextYear:s,rightPrevYear:r,leftLabel:u,rightLabel:c,leftYear:d,rightYear:f}},bB=["disabled","onClick"],yB=["disabled"],wB=["disabled"],CB=["disabled"],SB=["disabled"],Ou="year";var kB=ae({name:"DatePickerMonthRange",__name:"panel-month-range",props:hB,emits:mB,setup(e,{emit:t}){const n=e,l=t,{lang:o}=wt(),a=Le(Yl),s=Le(nu,void 0),{shortcuts:r,disabledDate:u,cellClassName:c}=a.props,d=Lt(a.props,"format"),f=Lt(a.props,"defaultValue"),h=L(lt().locale(o.value)),m=L(lt().locale(o.value).add(1,Ou)),{minDate:v,maxDate:p,rangeState:g,ppNs:b,drpNs:C,handleChangeRange:w,handleRangeConfirm:y,handleShortcutClick:k,onSelect:E,parseValue:x}=hh(n,{defaultValue:f,leftDate:h,rightDate:m,unit:Ou,sortDates:z}),$=S(()=>!!r.length),{leftPrevYear:R,rightNextYear:I,leftNextYear:A,rightPrevYear:O,leftLabel:D,rightLabel:K,leftYear:Z,rightYear:W}=gB({unlinkPanels:Lt(n,"unlinkPanels"),leftDate:h,rightDate:m}),M=S(()=>n.unlinkPanels&&W.value>Z.value+1),N=(H,X=!0)=>{const J=H.minDate,se=H.maxDate;p.value===se&&v.value===J||(l("calendar-change",[J.toDate(),se&&se.toDate()]),p.value=se,v.value=J,X&&y())},B=()=>{let H=null;a!=null&&a.emptyValues&&(H=a.emptyValues.valueOnClear.value),h.value=wd(i(f),{lang:i(o),unit:"year",unlinkPanels:n.unlinkPanels})[0],m.value=h.value.add(1,"year"),l("pick",H)},V=H=>sr(H,d.value,o.value,s);function z(H,X){if(n.unlinkPanels&&X){const J=(H==null?void 0:H.year())||0,se=X.year();m.value=J===se?X.add(1,Ou):X}else m.value=h.value.add(1,Ou)}const Y=nn();return ue(()=>n.visible,H=>{!H&&g.value.selecting&&(x(n.parsedValue),E(!1))}),l("set-picker-option",["isValidValue",yi]),l("set-picker-option",["parseUserInput",V]),l("set-picker-option",["handleClear",B]),(H,X)=>(T(),F("div",{class:P([i(b).b(),i(C).b(),i(b).is("border",H.border),i(b).is("disabled",i(Y)),{"has-sidebar":!!H.$slots.sidebar||$.value}])},[j("div",{class:P(i(b).e("body-wrapper"))},[te(H.$slots,"sidebar",{class:P(i(b).e("sidebar"))}),$.value?(T(),F("div",{key:0,class:P(i(b).e("sidebar"))},[(T(!0),F(ze,null,gt(i(r),(J,se)=>(T(),F("button",{key:se,type:"button",class:P(i(b).e("shortcut")),disabled:i(Y),onClick:re=>i(k)(J)},ke(J.text),11,bB))),128))],2)):ne("v-if",!0),j("div",{class:P(i(b).e("body"))},[j("div",{class:P([[i(b).e("content"),i(C).e("content")],"is-left"])},[j("div",{class:P(i(C).e("header"))},[j("button",{type:"button",class:P([i(b).e("icon-btn"),"d-arrow-left"]),disabled:i(Y),onClick:X[0]||(X[0]=(...J)=>i(R)&&i(R)(...J))},[te(H.$slots,"prev-year",{},()=>[q(i(_e),null,{default:ee(()=>[q(i($a))]),_:1})])],10,yB),H.unlinkPanels?(T(),F("button",{key:0,type:"button",disabled:!M.value||i(Y),class:P([[i(b).e("icon-btn"),i(b).is("disabled",!M.value||i(Y))],"d-arrow-right"]),onClick:X[1]||(X[1]=(...J)=>i(A)&&i(A)(...J))},[te(H.$slots,"next-year",{},()=>[q(i(_e),null,{default:ee(()=>[q(i(Oa))]),_:1})])],10,wB)):ne("v-if",!0),j("div",null,ke(i(D)),1)],2),q(wi,{"selection-mode":"range",date:h.value,"min-date":i(v),"max-date":i(p),"range-state":i(g),"disabled-date":i(u),disabled:i(Y),"cell-class-name":i(c),onChangerange:i(w),onPick:N,onSelect:i(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),j("div",{class:P([[i(b).e("content"),i(C).e("content")],"is-right"])},[j("div",{class:P(i(C).e("header"))},[H.unlinkPanels?(T(),F("button",{key:0,type:"button",disabled:!M.value||i(Y),class:P([[i(b).e("icon-btn"),i(b).is("disabled",!M.value||i(Y))],"d-arrow-left"]),onClick:X[2]||(X[2]=(...J)=>i(O)&&i(O)(...J))},[te(H.$slots,"prev-year",{},()=>[q(i(_e),null,{default:ee(()=>[q(i($a))]),_:1})])],10,CB)):ne("v-if",!0),j("button",{type:"button",class:P([i(b).e("icon-btn"),"d-arrow-right"]),disabled:i(Y),onClick:X[3]||(X[3]=(...J)=>i(I)&&i(I)(...J))},[te(H.$slots,"next-year",{},()=>[q(i(_e),null,{default:ee(()=>[q(i(Oa))]),_:1})])],10,SB),j("div",null,ke(i(K)),1)],2),q(wi,{"selection-mode":"range",date:m.value,"min-date":i(v),"max-date":i(p),"range-state":i(g),"disabled-date":i(u),disabled:i(Y),"cell-class-name":i(c),onChangerange:i(w),onPick:N,onSelect:i(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}});const EB=Se({...fh}),xB=["pick","set-picker-option","calendar-change"],TB=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const l=()=>{t.value=t.value.subtract(10,"year"),e.value||(n.value=n.value.subtract(10,"year"))},o=()=>{e.value||(t.value=t.value.add(10,"year")),n.value=n.value.add(10,"year")},a=()=>{t.value=t.value.add(10,"year")},s=()=>{n.value=n.value.subtract(10,"year")},r=S(()=>{const f=Math.floor(t.value.year()/10)*10;return`${f}-${f+9}`}),u=S(()=>{const f=Math.floor(n.value.year()/10)*10;return`${f}-${f+9}`}),c=S(()=>Math.floor(t.value.year()/10)*10+9),d=S(()=>Math.floor(n.value.year()/10)*10);return{leftPrevYear:l,rightNextYear:o,leftNextYear:a,rightPrevYear:s,leftLabel:r,rightLabel:u,leftYear:c,rightYear:d}},$B=["disabled","onClick"],OB=["disabled"],NB=["disabled"],IB=["disabled"],MB=["disabled"],Ts=10,Mr="year";var PB=ae({name:"DatePickerYearRange",__name:"panel-year-range",props:EB,emits:xB,setup(e,{emit:t}){const n=e,l=t,{lang:o}=wt(),a=L(lt().locale(o.value)),s=L(lt().locale(o.value).add(Ts,Mr)),r=Le(nu,void 0),u=Le(Yl),{shortcuts:c,disabledDate:d,cellClassName:f}=u.props,h=Lt(u.props,"format"),m=Lt(u.props,"defaultValue"),{minDate:v,maxDate:p,rangeState:g,ppNs:b,drpNs:C,handleChangeRange:w,handleRangeConfirm:y,handleShortcutClick:k,onSelect:E,parseValue:x}=hh(n,{defaultValue:m,leftDate:a,rightDate:s,step:Ts,unit:Mr,sortDates:se}),{leftPrevYear:$,rightNextYear:R,leftNextYear:I,rightPrevYear:A,leftLabel:O,rightLabel:D,leftYear:K,rightYear:Z}=TB({unlinkPanels:Lt(n,"unlinkPanels"),leftDate:a,rightDate:s}),W=nn(),M=S(()=>!!c.length),N=S(()=>[b.b(),C.b(),b.is("border",n.border),b.is("disabled",W.value),{"has-sidebar":!!rn().sidebar||M.value}]),B=S(()=>({content:[b.e("content"),C.e("content"),"is-left"],arrowLeftBtn:[b.e("icon-btn"),"d-arrow-left"],arrowRightBtn:[b.e("icon-btn"),b.is("disabled",!z.value||W.value),"d-arrow-right"]})),V=S(()=>({content:[b.e("content"),C.e("content"),"is-right"],arrowLeftBtn:[b.e("icon-btn"),b.is("disabled",!z.value||W.value),"d-arrow-left"],arrowRightBtn:[b.e("icon-btn"),"d-arrow-right"]})),z=S(()=>n.unlinkPanels&&Z.value>K.value+1),Y=(re,fe=!0)=>{const ce=re.minDate,oe=re.maxDate;p.value===oe&&v.value===ce||(l("calendar-change",[ce.toDate(),oe&&oe.toDate()]),p.value=oe,v.value=ce,fe&&y())},H=re=>sr(re,h.value,o.value,r),X=re=>yi(re)&&(d?!d(re[0].toDate())&&!d(re[1].toDate()):!0),J=()=>{let re=null;u!=null&&u.emptyValues&&(re=u.emptyValues.valueOnClear.value);const fe=wd(i(m),{lang:i(o),step:Ts,unit:Mr,unlinkPanels:n.unlinkPanels});a.value=fe[0],s.value=fe[1],l("pick",re)};function se(re,fe){if(n.unlinkPanels&&fe){const ce=(re==null?void 0:re.year())||0,oe=fe.year();s.value=ce+Ts>oe?fe.add(Ts,Mr):fe}else s.value=a.value.add(Ts,Mr)}return ue(()=>n.visible,re=>{!re&&g.value.selecting&&(x(n.parsedValue),E(!1))}),l("set-picker-option",["isValidValue",X]),l("set-picker-option",["parseUserInput",H]),l("set-picker-option",["handleClear",J]),(re,fe)=>(T(),F("div",{class:P(N.value)},[j("div",{class:P(i(b).e("body-wrapper"))},[te(re.$slots,"sidebar",{class:P(i(b).e("sidebar"))}),M.value?(T(),F("div",{key:0,class:P(i(b).e("sidebar"))},[(T(!0),F(ze,null,gt(i(c),(ce,oe)=>(T(),F("button",{key:oe,type:"button",class:P(i(b).e("shortcut")),disabled:i(W),onClick:U=>i(k)(ce)},ke(ce.text),11,$B))),128))],2)):ne("v-if",!0),j("div",{class:P(i(b).e("body"))},[j("div",{class:P(B.value.content)},[j("div",{class:P(i(C).e("header"))},[j("button",{type:"button",class:P(B.value.arrowLeftBtn),disabled:i(W),onClick:fe[0]||(fe[0]=(...ce)=>i($)&&i($)(...ce))},[te(re.$slots,"prev-year",{},()=>[q(i(_e),null,{default:ee(()=>[q(i($a))]),_:1})])],10,OB),re.unlinkPanels?(T(),F("button",{key:0,type:"button",disabled:!z.value||i(W),class:P(B.value.arrowRightBtn),onClick:fe[1]||(fe[1]=(...ce)=>i(I)&&i(I)(...ce))},[te(re.$slots,"next-year",{},()=>[q(i(_e),null,{default:ee(()=>[q(i(Oa))]),_:1})])],10,NB)):ne("v-if",!0),j("div",null,ke(i(O)),1)],2),q(Ci,{"selection-mode":"range",date:a.value,"min-date":i(v),"max-date":i(p),"range-state":i(g),"disabled-date":i(d),disabled:i(W),"cell-class-name":i(f),onChangerange:i(w),onPick:Y,onSelect:i(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),j("div",{class:P(V.value.content)},[j("div",{class:P(i(C).e("header"))},[re.unlinkPanels?(T(),F("button",{key:0,type:"button",disabled:!z.value||i(W),class:P(V.value.arrowLeftBtn),onClick:fe[2]||(fe[2]=(...ce)=>i(A)&&i(A)(...ce))},[te(re.$slots,"prev-year",{},()=>[q(i(_e),null,{default:ee(()=>[q(i($a))]),_:1})])],10,IB)):ne("v-if",!0),j("button",{type:"button",class:P(V.value.arrowRightBtn),disabled:i(W),onClick:fe[3]||(fe[3]=(...ce)=>i(R)&&i(R)(...ce))},[te(re.$slots,"next-year",{},()=>[q(i(_e),null,{default:ee(()=>[q(i(Oa))]),_:1})])],10,MB),j("div",null,ke(i(D)),1)],2),q(Ci,{"selection-mode":"range",date:s.value,"min-date":i(v),"max-date":i(p),"range-state":i(g),"disabled-date":i(d),disabled:i(W),"cell-class-name":i(f),onChangerange:i(w),onPick:Y,onSelect:i(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}});const RB=function(e){switch(e){case"daterange":case"datetimerange":return pB;case"monthrange":return kB;case"yearrange":return PB;default:return Z6}};function AB(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!zt(e)}lt.extend(pC);lt.extend(h6);lt.extend(sh);lt.extend(g6);lt.extend(y6);lt.extend(C6);lt.extend(k6);lt.extend(x6);var LB=ae({name:"ElDatePickerPanel",install:null,inheritAttrs:!1,props:T6,emits:[et,"calendar-change","panel-change","visible-change","clear"],setup(e,{slots:t,emit:n,attrs:l}){const o=me("picker-panel"),a=Le(Yl,void 0);if(St(a)){const f=Nt({...kn(e)});yt(Yl,{props:f})}yt(ch,{slots:t,pickerNs:o});const{parsedValue:s,onCalendarChange:r,onPanelChange:u,onSetPickerOption:c,onPick:d}=Le(QC,()=>eS(e,n),!0);return()=>{const f=RB(e.type);return q(f,ut(zi(l,"onPick"),e,{parsedValue:s.value,"onSet-picker-option":c,"onCalendar-change":r,"onPanel-change":u,onClear:()=>n("clear"),onPick:d}),AB(t)?t:{default:()=>[t]})}}});const pS=ot(LB),DB=Se({...uh,type:{type:G(String),default:"date"}});function BB(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!zt(e)}var VB=ae({name:"ElDatePicker",install:null,props:DB,emits:[et],setup(e,{expose:t,emit:n,slots:l}){const o=S(()=>!e.format);yt(nu,o),yt(rh,Nt(Lt(e,"popperOptions")));const a=L();t({focus:()=>{var u;(u=a.value)==null||u.focus()},blur:()=>{var u;(u=a.value)==null||u.blur()},handleOpen:()=>{var u;(u=a.value)==null||u.handleOpen()},handleClose:()=>{var u;(u=a.value)==null||u.handleClose()}});const r=u=>{n(et,u)};return()=>{var u;const c=(u=e.format)!=null?u:J8[e.type]||ga;return q(nS,ut(e,{format:c,type:e.type,ref:a,"onUpdate:modelValue":r}),{default:d=>q(pS,ut({disabled:e.disabled,editable:e.editable,border:!1},d),BB(l)?l:{default:()=>[l]}),"range-separator":l["range-separator"]})}}});const _B=ot(VB),FB=Se({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:gn,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number]}}),zB=Se({row:{type:G(Array),default:()=>[]}}),mh=Symbol("elDescriptions");var Pr=ae({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:Le(mh,{})}},render(){var e,t,n,l;const o=BR(this.cell),a=(((e=this.cell)==null?void 0:e.dirs)||[]).map(y=>{const{dir:k,arg:E,modifiers:x,value:$}=y;return[k,$,E,x]}),{border:s,direction:r}=this.descriptions,u=r==="vertical",c=()=>{var y,k,E;return((E=(k=(y=this.cell)==null?void 0:y.children)==null?void 0:k.label)==null?void 0:E.call(k))||o.label},d=()=>{var y,k,E;return(E=(k=(y=this.cell)==null?void 0:y.children)==null?void 0:k.default)==null?void 0:E.call(k)},f=o.span,h=o.rowspan,m=o.align?`is-${o.align}`:"",v=o.labelAlign?`is-${o.labelAlign}`:m,p=o.className,g=o.labelClassName,b=this.type==="label"&&(n=(t=o.labelWidth)!=null?t:this.descriptions.labelWidth)!=null?n:o.width,C={width:tn(b),minWidth:tn(o.minWidth)},w=me("descriptions");switch(this.type){case"label":return it(Ge(this.tag,{style:C,class:[w.e("cell"),w.e("label"),w.is("bordered-label",s),w.is("vertical-label",u),v,g],colSpan:u?f:1,rowspan:u?1:h},c()),a);case"content":return it(Ge(this.tag,{style:C,class:[w.e("cell"),w.e("content"),w.is("bordered-content",s),w.is("vertical-content",u),m,p],colSpan:u?f:f*2-1,rowspan:u?h*2-1:h},d()),a);default:{const y=c(),k={},E=tn((l=o.labelWidth)!=null?l:this.descriptions.labelWidth);return E&&(k.width=E,k.display="inline-block"),it(Ge("td",{style:C,class:[w.e("cell"),m],colSpan:f,rowspan:h},[dn(y)?void 0:Ge("span",{style:k,class:[w.e("label"),g]},y),Ge("span",{class:[w.e("content"),p]},d())]),a)}}}});const HB={key:1};var KB=ae({name:"ElDescriptionsRow",__name:"descriptions-row",props:zB,setup(e){const t=Le(mh,{});return(n,l)=>i(t).direction==="vertical"?(T(),F(ze,{key:0},[j("tr",null,[(T(!0),F(ze,null,gt(e.row,(o,a)=>(T(),le(i(Pr),{key:`tr1-${a}`,cell:o,tag:"th",type:"label"},null,8,["cell"]))),128))]),j("tr",null,[(T(!0),F(ze,null,gt(e.row,(o,a)=>(T(),le(i(Pr),{key:`tr2-${a}`,cell:o,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(T(),F("tr",HB,[(T(!0),F(ze,null,gt(e.row,(o,a)=>(T(),F(ze,{key:`tr3-${a}`},[i(t).border?(T(),F(ze,{key:0},[q(i(Pr),{cell:o,tag:"td",type:"label"},null,8,["cell"]),q(i(Pr),{cell:o,tag:"td",type:"content"},null,8,["cell"])],64)):(T(),le(i(Pr),{key:1,cell:o,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});const hS="ElDescriptionsItem";var WB=ae({name:"ElDescriptions",__name:"description",props:FB,setup(e){const t=e,n=me("descriptions"),l=hn(),o=rn();yt(mh,t);const a=S(()=>[n.b(),n.m(l.value)]),s=(u,c,d,f=!1)=>(u.props||(u.props={}),c>d&&(u.props.span=d),f&&(u.props.span=c),u),r=()=>{if(!o.default)return[];const u=bl(o.default()).filter(v=>{var p;return((p=v==null?void 0:v.type)==null?void 0:p.name)===hS}),c=[];let d=[],f=t.column,h=0;const m=[];return u.forEach((v,p)=>{var g,b,C;const w=((g=v.props)==null?void 0:g.span)||1,y=((b=v.props)==null?void 0:b.rowspan)||1,k=c.length;if(m[k]||(m[k]=0),y>1)for(let E=1;E0&&(f-=m[k],m[k]=0),pf?f:w),p===u.length-1){const E=t.column-h%t.column;d.push(s(v,E,f,!0)),c.push(d);return}w(T(),F("div",{class:P(a.value)},[e.title||e.extra||u.$slots.title||u.$slots.extra?(T(),F("div",{key:0,class:P(i(n).e("header"))},[j("div",{class:P(i(n).e("title"))},[te(u.$slots,"title",{},()=>[bt(ke(e.title),1)])],2),j("div",{class:P(i(n).e("extra"))},[te(u.$slots,"extra",{},()=>[bt(ke(e.extra),1)])],2)],2)):ne("v-if",!0),j("div",{class:P(i(n).e("body"))},[j("table",{class:P([i(n).e("table"),i(n).is("bordered",e.border)])},[j("tbody",null,[(T(!0),F(ze,null,gt(r(),(d,f)=>(T(),le(KB,{key:f,row:d},null,8,["row"]))),128))])],2)],2)],2))}});const Sb=["left","center","right"],jB=Se({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},labelWidth:{type:[String,Number]},align:{type:String,values:Sb,default:"left"},labelAlign:{type:String,values:Sb},className:{type:String,default:""},labelClassName:{type:String,default:""}}),mS=ae({name:hS,props:jB}),YB=ot(WB,{DescriptionsItem:mS}),UB=Xt(mS),gS=Se({center:Boolean,alignCenter:{type:Boolean,default:void 0},closeIcon:{type:_t},draggable:{type:Boolean,default:void 0},overflow:{type:Boolean,default:void 0},fullscreen:Boolean,headerClass:String,bodyClass:String,footerClass:String,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),qB={close:()=>!0},bS=Se({...gS,appendToBody:Boolean,appendTo:{type:Ui.to.type,default:"body"},beforeClose:{type:G(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},modalPenetrable:Boolean,openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,headerClass:String,bodyClass:String,footerClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"},transition:{type:G([String,Object]),default:void 0}}),yS={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[et]:e=>Vt(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},gh=e=>{if(!e)return{onClick:Rt,onMousedown:Rt,onMouseup:Rt};let t=!1,n=!1;return{onClick:s=>{t&&n&&e(s),t=n=!1},onMousedown:s=>{t=s.target===s.currentTarget},onMouseup:s=>{n=s.target===s.currentTarget}}},GB=Se({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:G([String,Array,Object])},zIndex:{type:G([String,Number])}}),XB={click:e=>e instanceof MouseEvent},ZB="overlay";var JB=ae({name:"ElOverlay",props:GB,emits:XB,setup(e,{slots:t,emit:n}){const l=me(ZB),o=u=>{n("click",u)},{onClick:a,onMousedown:s,onMouseup:r}=gh(e.customMaskEvent?void 0:o);return()=>e.mask?q("div",{class:[l.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:a,onMousedown:s,onMouseup:r},[te(t,"default")],Tl.STYLE|Tl.CLASS|Tl.PROPS,["onClick","onMouseup","onMousedown"]):Ge("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[te(t,"default")])}});const bh=JB,wS=Symbol("dialogInjectionKey"),kb="dialog-fade",yh=(...e)=>t=>{e.forEach(n=>{n.value=t})},CS=(e,t,n,l)=>{const o={offsetX:0,offsetY:0},a=L(!1),s=(h,m)=>{if(e.value){const{offsetX:v,offsetY:p}=o,g=e.value.getBoundingClientRect(),b=g.left,C=g.top,w=g.width,y=g.height,k=document.documentElement.clientWidth,E=document.documentElement.clientHeight,x=-b+v,$=-C+p,R=k-b-w+v,I=E-C-(y{const m=h.clientX,v=h.clientY,{offsetX:p,offsetY:g}=o,b=w=>{a.value||(a.value=!0);const y=p+w.clientX-m,k=g+w.clientY-v;s(y,k)},C=()=>{a.value=!1,document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",C)};document.addEventListener("mousemove",b),document.addEventListener("mouseup",C)},u=()=>{t.value&&e.value&&(t.value.addEventListener("mousedown",r),window.addEventListener("resize",f))},c=()=>{t.value&&e.value&&(t.value.removeEventListener("mousedown",r),window.removeEventListener("resize",f))},d=()=>{o.offsetX=0,o.offsetY=0,e.value&&(e.value.style.transform="")},f=()=>{const{offsetX:h,offsetY:m}=o;s(h,m)};return ft(()=>{vl(()=>{n.value?u():c()})}),Pt(()=>{c()}),{isDragging:a,resetPosition:d,updatePosition:f}},QB=["aria-level"],eV=["aria-label"],tV=["id"];var nV=ae({name:"ElDialogContent",__name:"dialog-content",props:gS,emits:qB,setup(e,{expose:t}){const{t:n}=wt(),{Close:l}=C1,o=e,{dialogRef:a,headerRef:s,bodyId:r,ns:u,style:c}=Le(wS),{focusTrapRef:d}=Le(q1),f=yh(d,a),h=S(()=>!!o.draggable),m=S(()=>!!o.overflow),{resetPosition:v,updatePosition:p,isDragging:g}=CS(a,s,h,m),b=S(()=>[u.b(),u.is("fullscreen",o.fullscreen),u.is("draggable",h.value),u.is("dragging",g.value),u.is("align-center",!!o.alignCenter),{[u.m("center")]:o.center}]);return t({resetPosition:v,updatePosition:p}),(C,w)=>(T(),F("div",{ref:i(f),class:P(b.value),style:je(i(c)),tabindex:"-1"},[j("header",{ref_key:"headerRef",ref:s,class:P([i(u).e("header"),e.headerClass,{"show-close":e.showClose}])},[te(C.$slots,"header",{},()=>[j("span",{role:"heading","aria-level":e.ariaLevel,class:P(i(u).e("title"))},ke(e.title),11,QB)]),e.showClose?(T(),F("button",{key:0,"aria-label":i(n)("el.dialog.close"),class:P(i(u).e("headerbtn")),type:"button",onClick:w[0]||(w[0]=y=>C.$emit("close"))},[q(i(_e),{class:P(i(u).e("close"))},{default:ee(()=>[(T(),le(rt(e.closeIcon||i(l))))]),_:1},8,["class"])],10,eV)):ne("v-if",!0)],2),j("div",{id:i(r),class:P([i(u).e("body"),e.bodyClass])},[te(C.$slots,"default")],10,tV),C.$slots.footer?(T(),F("footer",{key:0,class:P([i(u).e("footer"),e.footerClass])},[te(C.$slots,"footer")],2)):ne("v-if",!0)],6))}});const Cd=(e,t={})=>{jt(e)||pn("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||me("popup"),l=S(()=>n.bm("parent","hidden"));let o=0,a=!1,s="0",r=!1;const u=()=>{r||(r=!0,setTimeout(()=>{typeof document>"u"||a&&document&&(document.body.style.width=s,qn(document.body,l.value))},200))};ue(e,c=>{if(!c){u();return}r=!1,a=!co(document.body,l.value),a&&(s=document.body.style.width,$l(document.body,l.value)),o=h1(n.namespace.value);const d=document.documentElement.clientHeight0&&(d||f==="scroll")&&a&&(document.body.style.width=`calc(100% - ${o}px)`)}),z0(()=>u())},SS=(e,t)=>{var n;const o=ct().emit,{nextZIndex:a}=ji();let s="";const r=Mn(),u=Mn(),c=L(!1),d=L(!1),f=L(!1),h=L((n=e.zIndex)!=null?n:a()),m=L(!1);let v,p;const g=na(),b=S(()=>{var Y,H;return(H=(Y=g.value)==null?void 0:Y.namespace)!=null?H:Xr}),C=S(()=>{var Y;return(Y=g.value)==null?void 0:Y.dialog}),w=S(()=>{const Y={},H=`--${b.value}-dialog`;if(!e.fullscreen){e.top&&(Y[`${H}-margin-top`]=e.top);const X=tn(e.width);X&&(Y[`${H}-width`]=X)}return Y}),y=S(()=>{var Y,H,X;return((X=(H=e.draggable)!=null?H:(Y=C.value)==null?void 0:Y.draggable)!=null?X:!1)&&!e.fullscreen}),k=S(()=>{var Y,H,X;return(X=(H=e.alignCenter)!=null?H:(Y=C.value)==null?void 0:Y.alignCenter)!=null?X:!1}),E=S(()=>{var Y,H,X;return(X=(H=e.overflow)!=null?H:(Y=C.value)==null?void 0:Y.overflow)!=null?X:!1}),x=S(()=>k.value?{display:"flex"}:{}),$=S(()=>{var Y,H,X;const J=(X=(H=e.transition)!=null?H:(Y=C.value)==null?void 0:Y.transition)!=null?X:kb,se={name:J,onAfterEnter:R,onBeforeLeave:A,onAfterLeave:I};if(nt(J)){const re={...J},fe=(ce,oe)=>U=>{ye(ce)?ce.forEach(_=>{He(_)&&_(U)}):He(ce)&&ce(U),oe()};return re.onAfterEnter=fe(re.onAfterEnter,R),re.onBeforeLeave=fe(re.onBeforeLeave,A),re.onAfterLeave=fe(re.onAfterLeave,I),re.name||(re.name=kb),re}return se});function R(){o("opened")}function I(){o("closed"),o(et,!1),e.destroyOnClose&&(f.value=!1),m.value=!1}function A(){m.value=!0,o("close")}function O(){p==null||p(),v==null||v(),e.openDelay&&e.openDelay>0?{stop:v}=Qs(()=>W(),e.openDelay):W()}function D(){v==null||v(),p==null||p(),e.closeDelay&&e.closeDelay>0?{stop:p}=Qs(()=>M(),e.closeDelay):M()}function K(){function Y(H){H||(d.value=!0,c.value=!1)}e.beforeClose?e.beforeClose(Y):D()}function Z(){e.closeOnClickModal&&K()}function W(){Ot&&(c.value=!0)}function M(){c.value=!1}function N(){o("openAutoFocus")}function B(){o("closeAutoFocus")}function V(Y){var H;((H=Y.detail)==null?void 0:H.focusReason)==="pointer"&&Y.preventDefault()}e.lockScroll&&Cd(c);function z(){e.closeOnPressEscape&&K()}return ue(()=>e.zIndex,()=>{var Y;h.value=(Y=e.zIndex)!=null?Y:a()}),ue(()=>e.modelValue,Y=>{var H;Y?(d.value=!1,m.value=!1,O(),f.value=!0,h.value=(H=e.zIndex)!=null?H:a(),Re(()=>{o("open"),t.value&&(t.value.parentElement.scrollTop=0,t.value.parentElement.scrollLeft=0,t.value.scrollTop=0)})):c.value&&D()}),ue(()=>e.fullscreen,Y=>{t.value&&(Y?(s=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=s)}),ft(()=>{e.modelValue&&(c.value=!0,f.value=!0,O())}),{afterEnter:R,afterLeave:I,beforeLeave:A,handleClose:K,onModalClick:Z,close:D,doClose:M,onOpenAutoFocus:N,onCloseAutoFocus:B,onCloseRequested:z,onFocusoutPrevented:V,titleId:r,bodyId:u,closed:d,style:w,overlayDialogStyle:x,rendered:f,visible:c,zIndex:h,transitionConfig:$,_draggable:y,_alignCenter:k,_overflow:E,closing:m}},lV=["aria-label","aria-labelledby","aria-describedby"];var oV=ae({name:"ElDialog",inheritAttrs:!1,__name:"dialog",props:bS,emits:yS,setup(e,{expose:t}){const n=e,l=rn();po({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},S(()=>!!l.title));const o=me("dialog"),a=L(),s=L(),r=L(),{visible:u,titleId:c,bodyId:d,style:f,overlayDialogStyle:h,rendered:m,transitionConfig:v,zIndex:p,_draggable:g,_alignCenter:b,_overflow:C,handleClose:w,onModalClick:y,onOpenAutoFocus:k,onCloseAutoFocus:E,onCloseRequested:x,onFocusoutPrevented:$,closing:R}=SS(n,a);yt(wS,{dialogRef:a,headerRef:s,bodyId:d,ns:o,rendered:m,style:f});const I=gh(y),A=S(()=>n.modalPenetrable&&!n.modal&&!n.fullscreen);return t({visible:u,dialogContentRef:r,resetPosition:()=>{var D;(D=r.value)==null||D.resetPosition()},handleClose:w}),(D,K)=>(T(),le(i(br),{to:e.appendTo,disabled:e.appendTo!=="body"?!1:!e.appendToBody},{default:ee(()=>[q(In,ut(i(v),{persisted:""}),{default:ee(()=>{var Z;return[it(q(i(bh),{"custom-mask-event":"",mask:e.modal,"overlay-class":[(Z=e.modalClass)!=null?Z:"",`${i(o).namespace.value}-modal-dialog`,i(o).is("penetrable",A.value)],"z-index":i(p)},{default:ee(()=>[j("div",{role:"dialog","aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:i(c),"aria-describedby":i(d),class:P([`${i(o).namespace.value}-overlay-dialog`,i(o).is("closing",i(R))]),style:je(i(h)),onClick:K[0]||(K[0]=(...W)=>i(I).onClick&&i(I).onClick(...W)),onMousedown:K[1]||(K[1]=(...W)=>i(I).onMousedown&&i(I).onMousedown(...W)),onMouseup:K[2]||(K[2]=(...W)=>i(I).onMouseup&&i(I).onMouseup(...W))},[q(i(yr),{loop:"",trapped:i(u),"focus-start-el":"container",onFocusAfterTrapped:i(k),onFocusAfterReleased:i(E),onFocusoutPrevented:i($),onReleaseRequested:i(x)},{default:ee(()=>[i(m)?(T(),le(nV,ut({key:0,ref_key:"dialogContentRef",ref:r},D.$attrs,{center:e.center,"align-center":i(b),"close-icon":e.closeIcon,draggable:i(g),overflow:i(C),fullscreen:e.fullscreen,"header-class":e.headerClass,"body-class":e.bodyClass,"footer-class":e.footerClass,"show-close":e.showClose,title:e.title,"aria-level":e.headerAriaLevel,onClose:i(w)}),ll({header:ee(()=>[D.$slots.title?te(D.$slots,"title",{key:1}):te(D.$slots,"header",{key:0,close:i(w),titleId:i(c),titleClass:i(o).e("title")})]),default:ee(()=>[te(D.$slots,"default")]),_:2},[D.$slots.footer?{name:"footer",fn:ee(()=>[te(D.$slots,"footer")]),key:"0"}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","header-class","body-class","footer-class","show-close","title","aria-level","onClose"])):ne("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,lV)]),_:3},8,["mask","overlay-class","z-index"]),[[$t,i(u)]])]}),_:3},16)]),_:3},8,["to","disabled"]))}});const aV=ot(oV),sV=Se({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:G(String),default:"solid"}});var rV=ae({name:"ElDivider",__name:"divider",props:sV,setup(e){const t=e,n=me("divider"),l=S(()=>n.cssVar({"border-style":t.borderStyle}));return(o,a)=>(T(),F("div",{class:P([i(n).b(),i(n).m(e.direction)]),style:je(l.value),role:"separator"},[o.$slots.default&&e.direction!=="vertical"?(T(),F("div",{key:0,class:P([i(n).e("text"),i(n).is(e.contentPosition)])},[te(o.$slots,"default")],2)):ne("v-if",!0)],6))}});const kS=ot(rV),iV=Se({...bS,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},resizable:Boolean,size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),uV={...yS,"resize-start":(e,t)=>e instanceof MouseEvent&&typeof t=="number",resize:(e,t)=>e instanceof MouseEvent&&typeof t=="number","resize-end":(e,t)=>e instanceof MouseEvent&&typeof t=="number"};function cV(e,t,n){const{width:l,height:o}=Pp(),a=S(()=>["ltr","rtl"].includes(e.direction)),s=S(()=>["ltr","ttb"].includes(e.direction)?1:-1),r=S(()=>a.value?l.value:o.value),u=S(()=>Zw(c.value+s.value*d.value,4,r.value)),c=L(0),d=L(0),f=L(!1),h=L(!1);let m=[],v=[];const p=()=>{var y;const k=(y=t.value)==null?void 0:y.closest('[aria-modal="true"]');return k?a.value?k.offsetWidth:k.offsetHeight:100};ue(()=>[e.size,e.resizable],()=>{h.value=!1,c.value=0,d.value=0,C()});const g=y=>{e.resizable&&(h.value||(c.value=p(),h.value=!0),m=[y.pageX,y.pageY],f.value=!0,n("resize-start",y,c.value),v.push(At(window,"mouseup",C),At(window,"mousemove",b)))},b=y=>{const{pageX:k,pageY:E}=y,x=k-m[0],$=E-m[1];d.value=a.value?x:$,n("resize",y,u.value)},C=y=>{f.value&&(m=[],c.value=u.value,d.value=0,f.value=!1,v.forEach(k=>k==null?void 0:k()),v=[],y&&n("resize-end",y,c.value))},w=At(t,"mousedown",g);return Pt(()=>{w(),C()}),{size:S(()=>h.value?`${u.value}px`:tn(e.size)),isResizing:f,isHorizontal:a}}const dV=["aria-label","aria-labelledby","aria-describedby"],fV=["id","aria-level"],vV=["aria-label"],pV=["id"];var hV=ae({name:"ElDrawer",inheritAttrs:!1,__name:"drawer",props:iV,emits:uV,setup(e,{expose:t,emit:n}){const l=e,o=n,a=rn();po({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},S(()=>!!a.title));const s=L(),r=L(),u=L(),c=me("drawer"),{t:d}=wt(),{afterEnter:f,afterLeave:h,beforeLeave:m,visible:v,rendered:p,titleId:g,bodyId:b,zIndex:C,onModalClick:w,onOpenAutoFocus:y,onCloseAutoFocus:k,onFocusoutPrevented:E,onCloseRequested:x,handleClose:$}=SS(l,s),{isHorizontal:R,size:I,isResizing:A}=cV(l,u,o),O=S(()=>l.modalPenetrable&&!l.modal);return t({handleClose:$,afterEnter:f,afterLeave:h}),(D,K)=>(T(),le(i(br),{to:e.appendTo,disabled:e.appendTo!=="body"?!1:!e.appendToBody},{default:ee(()=>[q(In,{name:i(c).b("fade"),onAfterEnter:i(f),onAfterLeave:i(h),onBeforeLeave:i(m),persisted:""},{default:ee(()=>{var Z;return[it(q(i(bh),{mask:e.modal,"overlay-class":[i(c).is("drawer"),(Z=e.modalClass)!=null?Z:"",`${i(c).namespace.value}-modal-drawer`,i(c).is("penetrable",O.value)],"z-index":i(C),onClick:i(w)},{default:ee(()=>[q(i(yr),{loop:"",trapped:i(v),"focus-trap-el":s.value,"focus-start-el":r.value,onFocusAfterTrapped:i(y),onFocusAfterReleased:i(k),onFocusoutPrevented:i(E),onReleaseRequested:i(x)},{default:ee(()=>[j("div",ut({ref_key:"drawerRef",ref:s,"aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:i(g),"aria-describedby":i(b)},D.$attrs,{class:[i(c).b(),e.direction,i(v)&&"open",i(c).is("dragging",i(A))],style:{[i(R)?"width":"height"]:i(I)},role:"dialog",onClick:K[1]||(K[1]=Je(()=>{},["stop"]))}),[j("span",{ref_key:"focusStartRef",ref:r,class:P(i(c).e("sr-focus")),tabindex:"-1"},null,2),e.withHeader?(T(),F("header",{key:0,class:P([i(c).e("header"),e.headerClass])},[D.$slots.title?te(D.$slots,"title",{key:1},()=>[ne(" DEPRECATED SLOT ")]):te(D.$slots,"header",{key:0,close:i($),titleId:i(g),titleClass:i(c).e("title")},()=>[j("span",{id:i(g),role:"heading","aria-level":e.headerAriaLevel,class:P(i(c).e("title"))},ke(e.title),11,fV)]),e.showClose?(T(),F("button",{key:2,"aria-label":i(d)("el.drawer.close"),class:P(i(c).e("close-btn")),type:"button",onClick:K[0]||(K[0]=(...W)=>i($)&&i($)(...W))},[q(i(_e),{class:P(i(c).e("close"))},{default:ee(()=>[q(i(Ml))]),_:1},8,["class"])],10,vV)):ne("v-if",!0)],2)):ne("v-if",!0),i(p)?(T(),F("div",{key:1,id:i(b),class:P([i(c).e("body"),e.bodyClass])},[te(D.$slots,"default")],10,pV)):ne("v-if",!0),D.$slots.footer?(T(),F("div",{key:2,class:P([i(c).e("footer"),e.footerClass])},[te(D.$slots,"footer")],2)):ne("v-if",!0),e.resizable?(T(),F("div",{key:3,ref_key:"draggerRef",ref:u,style:je({zIndex:i(C)}),class:P(i(c).e("dragger"))},null,6)):ne("v-if",!0)],16,dV)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[$t,i(v)]])]}),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}});const mV=ot(hV);var gV=ae({inheritAttrs:!1});function bV(e,t,n,l,o,a){return te(e.$slots,"default")}var yV=bn(gV,[["render",bV]]),wV=ae({name:"ElCollectionItem",inheritAttrs:!1});function CV(e,t,n,l,o,a){return te(e.$slots,"default")}var SV=bn(wV,[["render",CV]]);const ES="data-el-collection-item",kV=e=>{const t=`El${e}Collection`,n=`${t}Item`,l=Symbol(t),o=Symbol(n),a=Object.assign({},yV,{name:t,setup(){const r=L(),u=new Map;yt(l,{itemMap:u,getItems:()=>{const d=i(r);if(!d)return[];const f=Array.from(d.querySelectorAll(`[${ES}]`));return[...u.values()].sort((m,v)=>f.indexOf(m.ref)-f.indexOf(v.ref))},collectionRef:r})}}),s=Object.assign({},SV,{name:n,setup(r,{attrs:u}){const c=L(),d=Le(l,void 0);yt(o,{collectionItemRef:c}),ft(()=>{const f=i(c);f&&d.itemMap.set(f,{ref:f,...u})}),Pt(()=>{const f=i(c);d.itemMap.delete(f)})}});return{COLLECTION_INJECTION_KEY:l,COLLECTION_ITEM_INJECTION_KEY:o,ElCollection:a,ElCollectionItem:s}},EV=Se({style:{type:G([String,Array,Object])},currentTabId:{type:G(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:G(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:xV,ElCollectionItem:TV,COLLECTION_INJECTION_KEY:xS,COLLECTION_ITEM_INJECTION_KEY:$V}=kV("RovingFocusGroup"),wh=Symbol("elRovingFocusGroup"),TS=Symbol("elRovingFocusGroupItem"),OV={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},NV=(e,t)=>e,IV=(e,t,n)=>{const l=Ft(e),o=NV(l);return OV[o]},MV=(e,t)=>e.map((n,l)=>e[(l+t)%e.length]),Eb=e=>{const{activeElement:t}=document;for(const n of e)if(n===t||(n.focus(),t!==document.activeElement))return},xb="currentTabIdChange",Tb="rovingFocusGroup.entryFocus",PV={bubbles:!1,cancelable:!0};var RV=ae({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:EV,emits:[xb,"entryFocus"],setup(e,{emit:t}){var n;const l=L((n=e.currentTabId||e.defaultCurrentTabId)!=null?n:null),o=L(!1),a=L(!1),s=L(),{getItems:r}=Le(xS,void 0),u=S(()=>[{outline:"none"},e.style]),c=g=>{t(xb,g)},d=()=>{o.value=!0},f=yn(g=>{var b;(b=e.onMousedown)==null||b.call(e,g)},()=>{a.value=!0}),h=yn(g=>{var b;(b=e.onFocus)==null||b.call(e,g)},g=>{const b=!i(a),{target:C,currentTarget:w}=g;if(C===w&&b&&!i(o)){const y=new Event(Tb,PV);if(w==null||w.dispatchEvent(y),!y.defaultPrevented){const k=r().filter(I=>I.focusable),E=k.find(I=>I.active),x=k.find(I=>I.id===i(l)),R=[E,x,...k].filter(Boolean).map(I=>I.ref);Eb(R)}}a.value=!1}),m=yn(g=>{var b;(b=e.onBlur)==null||b.call(e,g)},()=>{o.value=!1}),v=(...g)=>{t("entryFocus",...g)},p=g=>{const b=IV(g);if(b){g.preventDefault();let w=r().filter(y=>y.focusable).map(y=>y.ref);switch(b){case"last":{w.reverse();break}case"prev":case"next":{b==="prev"&&w.reverse();const y=w.indexOf(g.currentTarget);w=e.loop?MV(w,y+1):w.slice(y+1);break}}Re(()=>{Eb(w)})}};yt(wh,{currentTabbedId:rs(l),loop:Lt(e,"loop"),tabIndex:S(()=>i(o)?-1:0),rovingFocusGroupRef:s,rovingFocusGroupRootStyle:u,orientation:Lt(e,"orientation"),dir:Lt(e,"dir"),onItemFocus:c,onItemShiftTab:d,onBlur:m,onFocus:h,onMousedown:f,onKeydown:p}),ue(()=>e.currentTabId,g=>{l.value=g??null}),At(s,Tb,v)}});function AV(e,t,n,l,o,a){return te(e.$slots,"default")}var LV=bn(RV,[["render",AV]]),DV=ae({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:xV,ElRovingFocusGroupImpl:LV}});function BV(e,t,n,l,o,a){const s=Tt("el-roving-focus-group-impl"),r=Tt("el-focus-group-collection");return T(),le(r,null,{default:ee(()=>[q(s,Vo(_o(e.$attrs)),{default:ee(()=>[te(e.$slots,"default")]),_:3},16)]),_:3})}var VV=bn(DV,[["render",BV]]);const ju=Se({trigger:{...vo.trigger,type:G([String,Array])},triggerKeys:{type:G(Array),default:()=>[Ce.enter,Ce.numpadEnter,Ce.space,Ce.down]},virtualTriggering:vo.virtualTriggering,virtualRef:vo.virtualRef,effect:{...Bt.effect,default:"light"},type:{type:G(String)},placement:{type:G(String),default:"bottom"},popperOptions:{type:G(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:G([Number,String]),default:0},maxHeight:{type:G([Number,String]),default:""},popperClass:Bt.popperClass,popperStyle:Bt.popperStyle,disabled:Boolean,role:{type:String,values:H1,default:"menu"},buttonProps:{type:G(Object)},teleported:Bt.teleported,appendTo:Bt.appendTo,persistent:{type:Boolean,default:!0}}),$S=Se({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:_t}}),_V=Se({onKeydown:{type:G(Function)}}),Sd=Symbol("elDropdown"),OS="elDropdown",{ButtonGroup:FV}=Cn;var zV=ae({name:"ElDropdown",components:{ElButton:Cn,ElButtonGroup:FV,ElScrollbar:Wl,ElTooltip:xn,ElRovingFocusGroup:VV,ElOnlyChild:Y1,ElIcon:_e,ArrowDown:ko},props:ju,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=ct(),l=me("dropdown"),{t:o}=wt(),a=L(),s=L(),r=L(),u=L(),c=L(null),d=L(null),f=L(!1),h=S(()=>({maxHeight:tn(e.maxHeight)})),m=S(()=>[l.m(y.value)]),v=S(()=>wn(e.trigger)),p=Mn().value,g=S(()=>e.id||p);function b(){var D;(D=r.value)==null||D.onClose(void 0,0)}function C(){var D;(D=r.value)==null||D.onClose()}function w(){var D;(D=r.value)==null||D.onOpen()}const y=hn();function k(...D){t("command",...D)}function E(){}function x(){const D=i(u);v.value.includes("hover")&&(D==null||D.focus({preventScroll:!0})),d.value=null}function $(D){d.value=D}function R(){t("visible-change",!0)}function I(D){var K;f.value=(D==null?void 0:D.type)==="keydown",(K=u.value)==null||K.focus()}function A(){t("visible-change",!1)}return yt(Sd,{contentRef:u,role:S(()=>e.role),triggerId:g,isUsingKeyboard:f,onItemEnter:E,onItemLeave:x,handleClose:C}),yt(OS,{instance:n,dropdownSize:y,handleClick:b,commandHandler:k,trigger:Lt(e,"trigger"),hideOnClick:Lt(e,"hideOnClick")}),{t:o,ns:l,scrollbar:c,wrapStyle:h,dropdownTriggerKls:m,dropdownSize:y,triggerId:g,currentTabId:d,handleCurrentTabIdChange:$,handlerMainButtonClick:D=>{t("click",D)},handleClose:C,handleOpen:w,handleBeforeShowTooltip:R,handleShowTooltip:I,handleBeforeHideTooltip:A,popperRef:r,contentRef:u,triggeringElementRef:a,referenceElementRef:s}}});function HV(e,t,n,l,o,a){var s;const r=Tt("el-roving-focus-group"),u=Tt("el-scrollbar"),c=Tt("el-only-child"),d=Tt("el-tooltip"),f=Tt("el-button"),h=Tt("arrow-down"),m=Tt("el-icon"),v=Tt("el-button-group");return T(),F("div",{class:P([e.ns.b(),e.ns.is("disabled",e.disabled)])},[q(d,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"popper-style":e.popperStyle,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-arrow":e.showArrow,"show-after":e.trigger==="hover"?e.showTimeout:0,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"virtual-ref":(s=e.virtualRef)!=null?s:e.triggeringElementRef,"virtual-triggering":e.virtualTriggering||e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,"append-to":e.appendTo,pure:"","focus-on-target":"",persistent:e.persistent,onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},ll({content:ee(()=>[q(u,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:ee(()=>[q(r,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange},{default:ee(()=>[te(e.$slots,"dropdown")]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:ee(()=>[q(c,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:ee(()=>[te(e.$slots,"default")]),_:3},8,["id","tabindex"])]),key:"0"}]),1032,["role","effect","popper-options","placement","popper-class","popper-style","trigger","trigger-keys","trigger-target-el","show-arrow","show-after","hide-after","virtual-ref","virtual-triggering","disabled","transition","teleported","append-to","persistent","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(T(),le(v,{key:0},{default:ee(()=>[q(f,ut({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:ee(()=>[te(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),q(f,ut({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:ee(()=>[q(m,{class:P(e.ns.e("icon"))},{default:ee(()=>[q(h)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):ne("v-if",!0)],2)}var KV=bn(zV,[["render",HV]]),WV=ae({components:{ElRovingFocusCollectionItem:TV},props:{focusable:{type:Boolean,default:!0},active:Boolean},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,onItemFocus:l,onItemShiftTab:o,onKeydown:a}=Le(wh,void 0),s=Mn(),r=L(),u=yn(h=>{t("mousedown",h)},h=>{e.focusable?l(i(s)):h.preventDefault()}),c=yn(h=>{t("focus",h)},()=>{l(i(s))}),d=yn(h=>{t("keydown",h)},h=>{const{shiftKey:m,target:v,currentTarget:p}=h;if(Ft(h)===Ce.tab&&m){o();return}v===p&&a(h)}),f=S(()=>n.value===i(s));return yt(TS,{rovingFocusGroupItemRef:r,tabIndex:S(()=>i(f)?0:-1),handleMousedown:u,handleFocus:c,handleKeydown:d}),{id:s,handleKeydown:d,handleFocus:c,handleMousedown:u}}});function jV(e,t,n,l,o,a){const s=Tt("el-roving-focus-collection-item");return T(),le(s,{id:e.id,focusable:e.focusable,active:e.active},{default:ee(()=>[te(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var YV=bn(WV,[["render",jV]]),UV=ae({name:"DropdownItemImpl",components:{ElIcon:_e},props:$S,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=me("dropdown"),{role:l}=Le(Sd,void 0),{collectionItemRef:o}=Le($V,void 0),{rovingFocusGroupItemRef:a,tabIndex:s,handleFocus:r,handleKeydown:u,handleMousedown:c}=Le(TS,void 0),d=yh(o,a),f=S(()=>l.value==="menu"?"menuitem":l.value==="navigation"?"link":"button"),h=yn(m=>{const v=Ft(m);if([Ce.enter,Ce.numpadEnter,Ce.space].includes(v))return m.preventDefault(),m.stopImmediatePropagation(),t("clickimpl",m),!0},u);return{ns:n,itemRef:d,dataset:{[ES]:""},role:f,tabIndex:s,handleFocus:r,handleKeydown:h,handleMousedown:c}}});const qV=["aria-disabled","tabindex","role"];function GV(e,t,n,l,o,a){const s=Tt("el-icon");return T(),F(ze,null,[e.divided?(T(),F("li",{key:0,role:"separator",class:P(e.ns.bem("menu","item","divided"))},null,2)):ne("v-if",!0),j("li",ut({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:t[0]||(t[0]=r=>e.$emit("clickimpl",r)),onFocus:t[1]||(t[1]=(...r)=>e.handleFocus&&e.handleFocus(...r)),onKeydown:t[2]||(t[2]=Je((...r)=>e.handleKeydown&&e.handleKeydown(...r),["self"])),onMousedown:t[3]||(t[3]=(...r)=>e.handleMousedown&&e.handleMousedown(...r)),onPointermove:t[4]||(t[4]=r=>e.$emit("pointermove",r)),onPointerleave:t[5]||(t[5]=r=>e.$emit("pointerleave",r))}),[e.icon||e.$slots.icon?(T(),le(s,{key:0},{default:ee(()=>[te(e.$slots,"icon",{},()=>[(T(),le(rt(e.icon)))])]),_:3})):ne("v-if",!0),te(e.$slots,"default")],16,qV)],64)}var XV=bn(UV,[["render",GV]]);const NS=()=>{const e=Le(OS,{}),t=S(()=>e==null?void 0:e.dropdownSize);return{elDropdown:e,_elDropdownSize:t}};var ZV=ae({name:"ElDropdownItem",components:{ElRovingFocusItem:YV,ElDropdownItemImpl:XV},inheritAttrs:!1,props:$S,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:l}=NS(),o=ct(),{onItemEnter:a,onItemLeave:s}=Le(Sd,void 0),r=yn(f=>(t("pointermove",f),f.defaultPrevented),Zg(f=>{if(e.disabled){s(f);return}const h=f.currentTarget;h===document.activeElement||h.contains(document.activeElement)||(a(f),f.defaultPrevented||h==null||h.focus({preventScroll:!0}))})),u=yn(f=>(t("pointerleave",f),f.defaultPrevented),Zg(s)),c=yn(f=>{if(!e.disabled)return t("click",f),f.type!=="keydown"&&f.defaultPrevented},f=>{var h,m,v;if(e.disabled){f.stopImmediatePropagation();return}(h=l==null?void 0:l.hideOnClick)!=null&&h.value&&((m=l.handleClick)==null||m.call(l)),(v=l.commandHandler)==null||v.call(l,e.command,o,f)}),d=S(()=>({...e,...n}));return{handleClick:c,handlePointerMove:r,handlePointerLeave:u,propsAndAttrs:d}}});function JV(e,t,n,l,o,a){const s=Tt("el-dropdown-item-impl"),r=Tt("el-roving-focus-item");return T(),le(r,{focusable:!e.disabled},{default:ee(()=>[q(s,ut(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),ll({default:ee(()=>[te(e.$slots,"default")]),_:2},[e.$slots.icon?{name:"icon",fn:ee(()=>[te(e.$slots,"icon")]),key:"0"}:void 0]),1040,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])}var IS=bn(ZV,[["render",JV]]),QV=ae({name:"ElDropdownMenu",props:_V,setup(e){const t=me("dropdown"),{_elDropdownSize:n}=NS(),l=n.value,{contentRef:o,role:a,triggerId:s,isUsingKeyboard:r,handleClose:u}=Le(Sd,void 0),{rovingFocusGroupRef:c,rovingFocusGroupRootStyle:d,onBlur:f,onFocus:h,onKeydown:m,onMousedown:v}=Le(wh,void 0),{collectionRef:p}=Le(xS,void 0),g=S(()=>[t.b("menu"),t.bm("menu",l==null?void 0:l.value)]),b=yh(o,c,p),C=yn(y=>{var k;(k=e.onKeydown)==null||k.call(e,y)},y=>{const{currentTarget:k,target:E}=y,x=Ft(y);if(k.contains(E),Ce.tab===x)return u();m(y)});function w(y){r.value&&h(y)}return{size:l,rovingFocusGroupRootStyle:d,dropdownKls:g,role:a,triggerId:s,dropdownListWrapperRef:b,handleKeydown:C,onBlur:f,handleFocus:w,onMousedown:v}}});const e_=["role","aria-labelledby"];function t_(e,t,n,l,o,a){return T(),F("ul",{ref:e.dropdownListWrapperRef,class:P(e.dropdownKls),style:je(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onFocusin:t[0]||(t[0]=(...s)=>e.handleFocus&&e.handleFocus(...s)),onFocusout:t[1]||(t[1]=(...s)=>e.onBlur&&e.onBlur(...s)),onKeydown:t[2]||(t[2]=Je((...s)=>e.handleKeydown&&e.handleKeydown(...s),["self"])),onMousedown:t[3]||(t[3]=Je((...s)=>e.onMousedown&&e.onMousedown(...s),["self"]))},[te(e.$slots,"default")],46,e_)}var MS=bn(QV,[["render",t_]]);const n_=ot(KV,{DropdownItem:IS,DropdownMenu:MS}),l_=Xt(IS),o_=Xt(MS),a_=Se({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),s_={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},r_=["id"],i_=["stop-color"],u_=["stop-color"],c_=["id"],d_=["stop-color"],f_=["stop-color"],v_=["id"],p_={stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},h_={transform:"translate(-1268.000000, -535.000000)"},m_={transform:"translate(1268.000000, 535.000000)"},g_=["fill"],b_=["fill"],y_={transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},w_=["fill"],C_=["fill"],S_=["fill"],k_=["fill"],E_=["fill"],x_={transform:"translate(53.000000, 45.000000)"},T_=["fill","xlink:href"],$_=["fill","mask"],O_=["fill"];var N_=ae({name:"ImgEmpty",__name:"img-empty",setup(e){const t=me("empty"),n=Mn();return(l,o)=>(T(),F("svg",s_,[j("defs",null,[j("linearGradient",{id:`linearGradient-1-${i(n)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[j("stop",{"stop-color":`var(${i(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,i_),j("stop",{"stop-color":`var(${i(t).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,u_)],8,r_),j("linearGradient",{id:`linearGradient-2-${i(n)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[j("stop",{"stop-color":`var(${i(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,d_),j("stop",{"stop-color":`var(${i(t).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,f_)],8,c_),j("rect",{id:`path-3-${i(n)}`,x:"0",y:"0",width:"17",height:"36"},null,8,v_)]),j("g",p_,[j("g",h_,[j("g",m_,[j("path",{d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${i(t).cssVarBlockName("fill-color-3")})`},null,8,g_),j("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,b_),j("g",y_,[j("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,w_),j("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,C_),j("rect",{fill:`url(#linearGradient-1-${i(n)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,S_),j("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,k_)]),j("rect",{fill:`url(#linearGradient-2-${i(n)})`,x:"13",y:"45",width:"40",height:"36"},null,8,E_),j("g",x_,[j("use",{fill:`var(${i(t).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${i(n)}`},null,8,T_),j("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${i(n)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,$_)]),j("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,O_)])])])]))}});const I_=["src"],M_={key:1};var P_=ae({name:"ElEmpty",__name:"empty",props:a_,setup(e){const t=e,{t:n}=wt(),l=me("empty"),o=S(()=>t.description||n("el.table.emptyText")),a=S(()=>({width:tn(t.imageSize)}));return(s,r)=>(T(),F("div",{class:P(i(l).b())},[j("div",{class:P(i(l).e("image")),style:je(a.value)},[e.image?(T(),F("img",{key:0,src:e.image,ondragstart:"return false"},null,8,I_)):te(s.$slots,"image",{key:1},()=>[q(N_)])],6),j("div",{class:P(i(l).e("description"))},[s.$slots.description?te(s.$slots,"description",{key:0}):(T(),F("p",M_,ke(o.value),1))],2),s.$slots.default?(T(),F("div",{key:0,class:P(i(l).e("bottom"))},[te(s.$slots,"default")],2)):ne("v-if",!0)],2))}});const PS=ot(P_),R_=Se({size:{type:String,values:Ql},disabled:Boolean}),A_=Se({...R_,model:Object,rules:{type:G(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:G([Object,Boolean]),default:!0}}),L_={validate:(e,t,n)=>(ye(e)||Ve(e))&&Vt(t)&&Ve(n)};function D_(){const e=L([]),t=S(()=>{if(!e.value.length)return"0";const a=Math.max(...e.value);return a?`${a}px`:""});function n(a){const s=e.value.indexOf(a);return s===-1&&t.value,s}function l(a,s){if(a&&s){const r=n(s);e.value.splice(r,1,a)}else a&&e.value.push(a)}function o(a){const s=n(a);s>-1&&e.value.splice(s,1)}return{autoLabelWidth:t,registerLabelWidth:l,deregisterLabelWidth:o}}const Nu=(e,t)=>{const n=wn(t).map(l=>ye(l)?l.join("."):l);return n.length>0?e.filter(l=>l.propString&&n.includes(l.propString)):e},B_="ElForm";var V_=ae({name:B_,__name:"form",props:A_,emits:L_,setup(e,{expose:t,emit:n}){const l=e,o=n,a=L(),s=Nt([]),r=new Map,u=hn(),c=me("form"),d=S(()=>{const{labelPosition:x,inline:$}=l;return[c.b(),c.m(u.value||"default"),{[c.m(`label-${x}`)]:x,[c.m("inline")]:$}]}),f=x=>Nu(s,[x])[0],h=x=>{s.push(x),x.propString&&(r.has(x.propString)?x.setInitialValue(r.get(x.propString)):r.set(x.propString,zo(x.fieldValue)))},m=x=>{x.prop&&s.splice(s.indexOf(x),1)},v=x=>{if(l.model&&x){for(const $ of r.keys())r.set($,zo(ka(x,$).value));s.forEach($=>{$.prop&&$.setInitialValue(ka(x,$.prop).value)})}},p=(x=[])=>{if(!l.model)return;Nu(s,x).forEach(I=>I.resetField());const $=new Set(s.map(I=>I.propString).filter(Boolean)),R=x.length>0?wn(x).map(I=>ye(I)?I.join("."):I):[...r.keys()];for(const I of R)!$.has(I)&&r.has(I)&&(ka(l.model,I).value=zo(r.get(I)))},g=(x=[])=>{Nu(s,x).forEach($=>$.clearValidate())},b=S(()=>!!l.model),C=x=>{if(s.length===0)return[];const $=Nu(s,x);return $.length?$:[]},w=async x=>k(void 0,x),y=async(x=[])=>{if(!b.value)return!1;const $=C(x);if($.length===0)return!0;let R={};for(const I of $)try{await I.validate(""),I.validateState==="error"&&!I.error&&I.resetField()}catch(A){R={...R,...A}}return Object.keys(R).length===0?!0:Promise.reject(R)},k=async(x=[],$)=>{let R=!1;const I=!He($);try{return R=await y(x),R===!0&&await($==null?void 0:$(R)),R}catch(A){if(A instanceof Error)throw A;const O=A;if(l.scrollToError&&a.value){const D=a.value.querySelector(`.${c.b()}-item.is-error`);D==null||D.scrollIntoView(l.scrollIntoViewOptions)}return!R&&await($==null?void 0:$(!1,O)),I&&Promise.reject(O)}},E=x=>{var $;const R=f(x);R&&(($=R.$el)==null||$.scrollIntoView(l.scrollIntoViewOptions))};return ue(()=>l.rules,()=>{l.validateOnRuleChange&&w().catch(x=>void 0)},{deep:!0,flush:"post"}),yt(Cs,Nt({...kn(l),emit:o,resetFields:p,clearValidate:g,validateField:k,getField:f,addField:h,removeField:m,setInitialValues:v,...D_()})),t({validate:w,validateField:k,resetFields:p,clearValidate:g,scrollToField:E,getField:f,fields:s,setInitialValues:v}),(x,$)=>(T(),F("form",{ref_key:"formRef",ref:a,class:P(d.value)},[te(x.$slots,"default")],2))}});const __=["","error","validating","success"],F_=Se({label:String,labelWidth:{type:[String,Number]},labelPosition:{type:String,values:["left","right","top",""],default:""},prop:{type:G([String,Array])},required:{type:Boolean,default:void 0},rules:{type:G([Object,Array])},error:String,validateStatus:{type:String,values:__},for:String,inlineMessage:{type:Boolean,default:void 0},showMessage:{type:Boolean,default:!0},size:{type:String,values:Ql}});function Ga(){return Ga=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Yu(e,t,n){return H_()?Yu=Reflect.construct.bind():Yu=function(o,a,s){var r=[null];r.push.apply(r,a);var u=Function.bind.apply(o,r),c=new u;return s&&Si(c,s.prototype),c},Yu.apply(null,arguments)}function K_(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function rv(e){var t=typeof Map=="function"?new Map:void 0;return rv=function(l){if(l===null||!K_(l))return l;if(typeof l!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(l))return t.get(l);t.set(l,o)}function o(){return Yu(l,arguments,sv(this).constructor)}return o.prototype=Object.create(l.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Si(o,l)},rv(e)}var W_=/%[sdj%]/g,j_=function(){};function iv(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var l=n.field;t[l]=t[l]||[],t[l].push(n)}),t}function yl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),l=1;l=a)return r;switch(r){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch{return"[Circular]"}break;default:return r}});return s}return e}function Y_(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Tn(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Y_(t)&&typeof e=="string"&&!e)}function U_(e,t,n){var l=[],o=0,a=e.length;function s(r){l.push.apply(l,r||[]),o++,o===a&&n(l)}e.forEach(function(r){t(r,s)})}function $b(e,t,n){var l=0,o=e.length;function a(s){if(s&&s.length){n(s);return}var r=l;l=l+1,r()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Lr={integer:function(t){return Lr.number(t)&&parseInt(t,10)===t},float:function(t){return Lr.number(t)&&!Lr.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Lr.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Mb.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Q_())},hex:function(t){return typeof t=="string"&&!!t.match(Mb.hex)}},eF=function(t,n,l,o,a){if(t.required&&n===void 0){RS(t,n,l,o,a);return}var s=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;s.indexOf(r)>-1?Lr[r](n)||o.push(yl(a.messages.types[r],t.fullField,t.type)):r&&typeof n!==t.type&&o.push(yl(a.messages.types[r],t.fullField,t.type))},tF=function(t,n,l,o,a){var s=typeof t.len=="number",r=typeof t.min=="number",u=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,f=null,h=typeof n=="number",m=typeof n=="string",v=Array.isArray(n);if(h?f="number":m?f="string":v&&(f="array"),!f)return!1;v&&(d=n.length),m&&(d=n.replace(c,"_").length),s?d!==t.len&&o.push(yl(a.messages[f].len,t.fullField,t.len)):r&&!u&&dt.max?o.push(yl(a.messages[f].max,t.fullField,t.max)):r&&u&&(dt.max)&&o.push(yl(a.messages[f].range,t.fullField,t.min,t.max))},$s="enum",nF=function(t,n,l,o,a){t[$s]=Array.isArray(t[$s])?t[$s]:[],t[$s].indexOf(n)===-1&&o.push(yl(a.messages[$s],t.fullField,t[$s].join(", ")))},lF=function(t,n,l,o,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(yl(a.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var s=new RegExp(t.pattern);s.test(n)||o.push(yl(a.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},Kt={required:RS,whitespace:J_,type:eF,range:tF,enum:nF,pattern:lF},oF=function(t,n,l,o,a){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Tn(n,"string")&&!t.required)return l();Kt.required(t,n,o,s,a,"string"),Tn(n,"string")||(Kt.type(t,n,o,s,a),Kt.range(t,n,o,s,a),Kt.pattern(t,n,o,s,a),t.whitespace===!0&&Kt.whitespace(t,n,o,s,a))}l(s)},aF=function(t,n,l,o,a){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Tn(n)&&!t.required)return l();Kt.required(t,n,o,s,a),n!==void 0&&Kt.type(t,n,o,s,a)}l(s)},sF=function(t,n,l,o,a){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(n===""&&(n=void 0),Tn(n)&&!t.required)return l();Kt.required(t,n,o,s,a),n!==void 0&&(Kt.type(t,n,o,s,a),Kt.range(t,n,o,s,a))}l(s)},rF=function(t,n,l,o,a){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Tn(n)&&!t.required)return l();Kt.required(t,n,o,s,a),n!==void 0&&Kt.type(t,n,o,s,a)}l(s)},iF=function(t,n,l,o,a){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Tn(n)&&!t.required)return l();Kt.required(t,n,o,s,a),Tn(n)||Kt.type(t,n,o,s,a)}l(s)},uF=function(t,n,l,o,a){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Tn(n)&&!t.required)return l();Kt.required(t,n,o,s,a),n!==void 0&&(Kt.type(t,n,o,s,a),Kt.range(t,n,o,s,a))}l(s)},cF=function(t,n,l,o,a){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Tn(n)&&!t.required)return l();Kt.required(t,n,o,s,a),n!==void 0&&(Kt.type(t,n,o,s,a),Kt.range(t,n,o,s,a))}l(s)},dF=function(t,n,l,o,a){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(n==null&&!t.required)return l();Kt.required(t,n,o,s,a,"array"),n!=null&&(Kt.type(t,n,o,s,a),Kt.range(t,n,o,s,a))}l(s)},fF=function(t,n,l,o,a){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Tn(n)&&!t.required)return l();Kt.required(t,n,o,s,a),n!==void 0&&Kt.type(t,n,o,s,a)}l(s)},vF="enum",pF=function(t,n,l,o,a){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Tn(n)&&!t.required)return l();Kt.required(t,n,o,s,a),n!==void 0&&Kt[vF](t,n,o,s,a)}l(s)},hF=function(t,n,l,o,a){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Tn(n,"string")&&!t.required)return l();Kt.required(t,n,o,s,a),Tn(n,"string")||Kt.pattern(t,n,o,s,a)}l(s)},mF=function(t,n,l,o,a){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Tn(n,"date")&&!t.required)return l();if(Kt.required(t,n,o,s,a),!Tn(n,"date")){var u;n instanceof Date?u=n:u=new Date(n),Kt.type(t,u,o,s,a),u&&Kt.range(t,u.getTime(),o,s,a)}}l(s)},gF=function(t,n,l,o,a){var s=[],r=Array.isArray(n)?"array":typeof n;Kt.required(t,n,o,s,a,r),l(s)},df=function(t,n,l,o,a){var s=t.type,r=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(Tn(n,s)&&!t.required)return l();Kt.required(t,n,o,r,a,s),Tn(n,s)||Kt.type(t,n,o,r,a)}l(r)},bF=function(t,n,l,o,a){var s=[],r=t.required||!t.required&&o.hasOwnProperty(t.field);if(r){if(Tn(n)&&!t.required)return l();Kt.required(t,n,o,s,a)}l(s)},Qr={string:oF,method:aF,number:sF,boolean:rF,regexp:iF,integer:uF,float:cF,array:dF,object:fF,enum:pF,pattern:hF,date:mF,url:df,hex:df,email:df,required:gF,any:bF};function uv(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var cv=uv(),lu=function(){function e(n){this.rules=null,this._messages=cv,this.define(n)}var t=e.prototype;return t.define=function(l){var o=this;if(!l)throw new Error("Cannot configure a schema with no rules");if(typeof l!="object"||Array.isArray(l))throw new Error("Rules must be an object");this.rules={},Object.keys(l).forEach(function(a){var s=l[a];o.rules[a]=Array.isArray(s)?s:[s]})},t.messages=function(l){return l&&(this._messages=Ib(uv(),l)),this._messages},t.validate=function(l,o,a){var s=this;o===void 0&&(o={}),a===void 0&&(a=function(){});var r=l,u=o,c=a;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,r),Promise.resolve(r);function d(p){var g=[],b={};function C(y){if(Array.isArray(y)){var k;g=(k=g).concat.apply(k,y)}else g.push(y)}for(var w=0;w");const o=me("form"),a=L(),s=L(0),r=()=>{var d;if((d=a.value)!=null&&d.firstElementChild){const f=window.getComputedStyle(a.value.firstElementChild).width;return Math.ceil(Number.parseFloat(f))}else return 0},u=(d="update")=>{Re(()=>{t.default&&e.isAutoWidth&&(d==="update"?s.value=r():d==="remove"&&(n==null||n.deregisterLabelWidth(s.value)))})},c=()=>u("update");return ft(()=>{c()}),Pt(()=>{u("remove")}),Gl(()=>c()),ue(s,(d,f)=>{e.updateAll&&(n==null||n.registerLabelWidth(d,f))}),Yt(S(()=>{var d,f;return(f=(d=a.value)==null?void 0:d.firstElementChild)!=null?f:null}),c),()=>{var d,f;if(!t)return null;const{isAutoWidth:h}=e;if(h){const m=n==null?void 0:n.autoLabelWidth,v=l==null?void 0:l.hasLabel,p={};if(v&&m&&m!=="auto"){const g=Math.max(0,Number.parseInt(m,10)-s.value),C=(l.labelPosition||n.labelPosition)==="left"?"marginRight":"marginLeft";g&&(p[C]=`${g}px`)}return q("div",{ref:a,class:[o.be("item","label-wrap")],style:p},[(d=t.default)==null?void 0:d.call(t)])}else return q(ze,{ref:a},[(f=t.default)==null?void 0:f.call(t)])}}});const wF=["role","aria-labelledby"];var AS=ae({name:"ElFormItem",__name:"form-item",props:F_,setup(e,{expose:t}){const n=e,l=rn(),o=Le(Cs,void 0),a=Le(So,void 0),s=hn(void 0,{formItem:!1}),r=me("form-item"),u=Mn().value,c=L([]),d=L(""),f=YM(d,100),h=L(""),m=L();let v,p=!1;const g=S(()=>n.labelPosition||(o==null?void 0:o.labelPosition)),b=S(()=>{var ce;return g.value==="top"?{}:{width:tn((ce=n.labelWidth)!=null?ce:o==null?void 0:o.labelWidth)}}),C=S(()=>{var ce;if(g.value==="top"||o!=null&&o.inline)return{};if(!n.label&&!n.labelWidth&&I)return{};const oe=tn((ce=n.labelWidth)!=null?ce:o==null?void 0:o.labelWidth);return!n.label&&!l.label?{marginLeft:oe}:{}}),w=S(()=>[r.b(),r.m(s.value),r.is("error",d.value==="error"),r.is("validating",d.value==="validating"),r.is("success",d.value==="success"),r.is("required",Z.value||n.required),r.is("no-asterisk",o==null?void 0:o.hideRequiredAsterisk),(o==null?void 0:o.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[r.m("feedback")]:o==null?void 0:o.statusIcon,[r.m(`label-${g.value}`)]:g.value}]),y=S(()=>Vt(n.inlineMessage)?n.inlineMessage:(o==null?void 0:o.inlineMessage)||!1),k=S(()=>[r.e("error"),{[r.em("error","inline")]:y.value}]),E=S(()=>n.prop?ye(n.prop)?n.prop.join("."):n.prop:""),x=S(()=>!!(n.label||l.label)),$=S(()=>{var ce;return(ce=n.for)!=null?ce:c.value.length===1?c.value[0]:void 0}),R=S(()=>!$.value&&x.value),I=!!a,A=S(()=>{const ce=o==null?void 0:o.model;if(!(!ce||!n.prop))return ka(ce,n.prop).value}),O=S(()=>{const{required:ce}=n,oe=[];n.rules&&oe.push(...wn(n.rules));const U=o==null?void 0:o.rules;if(U&&n.prop){const _=ka(U,n.prop).value;_&&oe.push(...wn(_))}if(ce!==void 0){const _=oe.map((Q,ie)=>[Q,ie]).filter(([Q])=>"required"in Q);if(_.length>0)for(const[Q,ie]of _)Q.required!==ce&&(oe[ie]={...Q,required:ce});else oe.push({required:ce})}return oe}),D=S(()=>O.value.length>0),K=ce=>O.value.filter(U=>!U.trigger||!ce?!0:ye(U.trigger)?U.trigger.includes(ce):U.trigger===ce).map(({trigger:U,..._})=>_),Z=S(()=>O.value.some(ce=>ce.required)),W=S(()=>{var ce;return f.value==="error"&&n.showMessage&&((ce=o==null?void 0:o.showMessage)!=null?ce:!0)}),M=S(()=>`${n.label||""}${(o==null?void 0:o.labelSuffix)||""}`),N=ce=>{d.value=ce},B=ce=>{var oe,U;const{errors:_,fields:Q}=ce;(!_||!Q)&&console.error(ce),N("error"),h.value=_?(U=(oe=_==null?void 0:_[0])==null?void 0:oe.message)!=null?U:`${n.prop} is required`:"",o==null||o.emit("validate",n.prop,!1,h.value)},V=()=>{N("success"),o==null||o.emit("validate",n.prop,!0,"")},z=async ce=>{const oe=E.value;return new lu({[oe]:ce}).validate({[oe]:A.value},{firstFields:!0}).then(()=>(V(),!0)).catch(_=>(B(_),Promise.reject(_)))},Y=async(ce,oe)=>{if(p||!n.prop)return!1;const U=He(oe);if(!D.value)return oe==null||oe(!1),!1;const _=K(ce);return _.length===0?(oe==null||oe(!0),!0):(N("validating"),z(_).then(()=>(oe==null||oe(!0),!0)).catch(Q=>{const{fields:ie}=Q;return oe==null||oe(!1,ie),U?!1:Promise.reject(ie)}))},H=()=>{N(""),h.value="",p=!1},X=async()=>{const ce=o==null?void 0:o.model;if(!ce||!n.prop)return;const oe=ka(ce,n.prop);p=!0,oe.value=zo(v),await Re(),H(),p=!1},J=ce=>{c.value.includes(ce)||c.value.push(ce)},se=ce=>{c.value=c.value.filter(oe=>oe!==ce)},re=ce=>{v=zo(ce)};ue(()=>n.error,ce=>{h.value=ce||"",N(ce?"error":"")},{immediate:!0}),ue(()=>n.validateStatus,ce=>N(ce||""));const fe=Nt({...kn(n),$el:m,size:s,validateMessage:h,validateState:d,labelId:u,inputIds:c,isGroup:R,hasLabel:x,fieldValue:A,addInputId:J,removeInputId:se,resetField:X,clearValidate:H,validate:Y,propString:E,setInitialValue:re});return yt(So,fe),ft(()=>{n.prop&&(re(A.value),o==null||o.addField(fe))}),Pt(()=>{o==null||o.removeField(fe)}),t({size:s,validateMessage:h,validateState:d,validate:Y,clearValidate:H,resetField:X,setInitialValue:re}),(ce,oe)=>{var U;return T(),F("div",{ref_key:"formItemRef",ref:m,class:P(w.value),role:R.value?"group":void 0,"aria-labelledby":R.value?i(u):void 0},[q(i(yF),{"is-auto-width":b.value.width==="auto","update-all":((U=i(o))==null?void 0:U.labelWidth)==="auto"},{default:ee(()=>[e.label||ce.$slots.label?(T(),le(rt($.value?"label":"div"),{key:0,id:i(u),for:$.value,class:P(i(r).e("label")),style:je(b.value)},{default:ee(()=>[te(ce.$slots,"label",{label:M.value},()=>[bt(ke(M.value),1)])]),_:3},8,["id","for","class","style"])):ne("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),j("div",{class:P(i(r).e("content")),style:je(C.value)},[te(ce.$slots,"default"),q(Qy,{name:`${i(r).namespace.value}-zoom-in-top`},{default:ee(()=>[W.value?te(ce.$slots,"error",{key:0,error:h.value},()=>[j("div",{class:P(k.value)},ke(h.value),3)]):ne("v-if",!0)]),_:3},8,["name"])],6)],10,wF)}}});const CF=ot(V_,{FormItem:AS}),SF=Xt(AS),kF=Se({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:G([String,Object])},previewSrcList:{type:G(Array),default:()=>en([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:G(String)}}),EF={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>We(e),close:()=>!0,show:()=>!0},xF=Se({urlList:{type:G(Array),default:()=>en([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:G(String)}}),TF={close:()=>!0,error:e=>e instanceof Event,switch:e=>We(e),rotate:e=>We(e)},$F=["src","crossorigin"];var OF=ae({name:"ElImageViewer",__name:"image-viewer",props:xF,emits:TF,setup(e,{expose:t,emit:n}){var l;const o={CONTAIN:{name:"contain",icon:uo(UP)},ORIGINAL:{name:"original",icon:uo(pR)}},a=e,s=n;let r;const{t:u}=wt(),c=me("image-viewer"),{nextZIndex:d}=ji(),f=L(),h=L(),m=Zk(),v=S(()=>{const{scale:oe,minScale:U,maxScale:_}=a;return Zw(oe,U,_)}),p=L(!0),g=L(!1),b=L(!1),C=L(a.initialIndex),w=Wt(o.CONTAIN),y=L({scale:v.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),k=L((l=a.zIndex)!=null?l:d());Cd(b,{ns:c});const E=S(()=>{const{urlList:oe}=a;return oe.length<=1}),x=S(()=>C.value===0),$=S(()=>C.value===a.urlList.length-1),R=S(()=>a.urlList[C.value]),I=S(()=>[c.e("btn"),c.e("prev"),c.is("disabled",!a.infinite&&x.value)]),A=S(()=>[c.e("btn"),c.e("next"),c.is("disabled",!a.infinite&&$.value)]),O=S(()=>{const{scale:oe,deg:U,offsetX:_,offsetY:Q,enableTransition:ie}=y.value;let he=_/oe,pe=Q/oe;const be=U*Math.PI/180,$e=Math.cos(be),Me=Math.sin(be);he=he*$e+pe*Me,pe=pe*$e-_/oe*Me;const Ne={transform:`scale(${oe}) rotate(${U}deg) translate(${he}px, ${pe}px)`,transition:ie?"transform .3s":""};return w.value.name===o.CONTAIN.name&&(Ne.maxWidth=Ne.maxHeight="100%"),Ne}),D=S(()=>`${C.value+1} / ${a.urlList.length}`);function K(){W(),r==null||r(),b.value=!1,s("close")}function Z(){const oe=ba(_=>{switch(Ft(_)){case Ce.esc:a.closeOnPressEscape&&K();break;case Ce.space:Y();break;case Ce.left:X();break;case Ce.up:se("zoomIn");break;case Ce.right:J();break;case Ce.down:se("zoomOut");break}}),U=ba(_=>{const Q=_.deltaY||_.deltaX;se(Q<0?"zoomIn":"zoomOut",{zoomRate:a.zoomRate,enableTransition:!1})});m.run(()=>{At(document,"keydown",oe),At(f,"wheel",U)})}function W(){m.stop()}function M(){p.value=!1}function N(oe){g.value=!0,p.value=!1,s("error",oe),oe.target.alt=u("el.image.error")}function B(oe){if(p.value||oe.button!==0||!f.value)return;y.value.enableTransition=!1;const{offsetX:U,offsetY:_}=y.value,Q=oe.pageX,ie=oe.pageY,he=ba($e=>{y.value={...y.value,offsetX:U+$e.pageX-Q,offsetY:_+$e.pageY-ie}}),pe=At(document,"mousemove",he),be=At(document,"mouseup",()=>{pe(),be()});oe.preventDefault()}function V(oe){if(p.value||!f.value||oe.touches.length!==1)return;y.value.enableTransition=!1;const{offsetX:U,offsetY:_}=y.value,{pageX:Q,pageY:ie}=oe.touches[0],he=ba($e=>{const Me=$e.touches[0];y.value={...y.value,offsetX:U+Me.pageX-Q,offsetY:_+Me.pageY-ie}}),pe=At(document,"touchmove",he),be=At(document,"touchend",()=>{pe(),be()});oe.preventDefault()}function z(){y.value={scale:v.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function Y(){if(p.value||g.value)return;const oe=vi(o),U=Object.values(o),_=w.value.name,ie=(U.findIndex(he=>he.name===_)+1)%oe.length;w.value=o[oe[ie]],z()}function H(oe){g.value=!1;const U=a.urlList.length;C.value=(oe+U)%U}function X(){x.value&&!a.infinite||H(C.value-1)}function J(){$.value&&!a.infinite||H(C.value+1)}function se(oe,U={}){if(p.value||g.value)return;const{minScale:_,maxScale:Q}=a,{zoomRate:ie,rotateDeg:he,enableTransition:pe}={zoomRate:a.zoomRate,rotateDeg:90,enableTransition:!0,...U};switch(oe){case"zoomOut":y.value.scale>_&&(y.value.scale=Number.parseFloat((y.value.scale/ie).toFixed(3)));break;case"zoomIn":y.value.scale0)return oe.preventDefault(),!1}}return ue(()=>v.value,oe=>{y.value.scale=oe}),ue(R,()=>{Re(()=>{const oe=h.value;oe!=null&&oe.complete||(p.value=!0)})}),ue(C,oe=>{z(),s("switch",oe)}),ft(()=>{b.value=!0,Z(),r=At("wheel",ce,{passive:!1})}),t({setActiveItem:H}),(oe,U)=>(T(),le(i(br),{to:"body",disabled:!e.teleported},{default:ee(()=>[q(In,{name:"viewer-fade",appear:""},{default:ee(()=>[j("div",{ref_key:"wrapper",ref:f,tabindex:-1,class:P(i(c).e("wrapper")),style:je({zIndex:k.value})},[q(i(yr),{loop:"",trapped:"","focus-trap-el":f.value,"focus-start-el":"container",onFocusoutPrevented:re,onReleaseRequested:fe},{default:ee(()=>[j("div",{class:P(i(c).e("mask")),onClick:U[0]||(U[0]=Je(_=>e.hideOnClickModal&&K(),["self"]))},null,2),ne(" CLOSE "),j("span",{class:P([i(c).e("btn"),i(c).e("close")]),onClick:K},[q(i(_e),null,{default:ee(()=>[q(i(Ml))]),_:1})],2),ne(" ARROW "),E.value?ne("v-if",!0):(T(),F(ze,{key:0},[j("span",{class:P(I.value),onClick:X},[q(i(_e),null,{default:ee(()=>[q(i(qo))]),_:1})],2),j("span",{class:P(A.value),onClick:J},[q(i(_e),null,{default:ee(()=>[q(i(Gn))]),_:1})],2)],64)),oe.$slots.progress||e.showProgress?(T(),F("div",{key:1,class:P([i(c).e("btn"),i(c).e("progress")])},[te(oe.$slots,"progress",{activeIndex:C.value,total:e.urlList.length},()=>[bt(ke(D.value),1)])],2)):ne("v-if",!0),ne(" ACTIONS "),j("div",{class:P([i(c).e("btn"),i(c).e("actions")])},[j("div",{class:P(i(c).e("actions__inner"))},[te(oe.$slots,"toolbar",{actions:se,prev:X,next:J,reset:Y,activeIndex:C.value,setActiveItem:H},()=>[q(i(_e),{onClick:U[1]||(U[1]=_=>se("zoomOut"))},{default:ee(()=>[q(i(IR))]),_:1}),q(i(_e),{onClick:U[2]||(U[2]=_=>se("zoomIn"))},{default:ee(()=>[q(i(w1))]),_:1}),j("i",{class:P(i(c).e("actions__divider"))},null,2),q(i(_e),{onClick:Y},{default:ee(()=>[(T(),le(rt(w.value.icon)))]),_:1}),j("i",{class:P(i(c).e("actions__divider"))},null,2),q(i(_e),{onClick:U[3]||(U[3]=_=>se("anticlockwise"))},{default:ee(()=>[q(i(uR))]),_:1}),q(i(_e),{onClick:U[4]||(U[4]=_=>se("clockwise"))},{default:ee(()=>[q(i(dR))]),_:1})])],2)],2),ne(" CANVAS "),j("div",{class:P(i(c).e("canvas"))},[g.value&&oe.$slots["viewer-error"]?te(oe.$slots,"viewer-error",{key:0,activeIndex:C.value,src:R.value}):(T(),F("img",{ref_key:"imgRef",ref:h,key:R.value,src:R.value,style:je(O.value),class:P(i(c).e("img")),crossorigin:e.crossorigin,onLoad:M,onError:N,onMousedown:B,onTouchstart:V},null,46,$F))],2),te(oe.$slots,"default")]),_:3},8,["focus-trap-el"])],6)]),_:3})]),_:3},8,["disabled"]))}});const LS=ot(OF),NF=["src","loading","crossorigin"],IF={key:0};var MF=ae({name:"ElImage",inheritAttrs:!1,__name:"image",props:kF,emits:EF,setup(e,{expose:t,emit:n}){const l=e,o=n,{t:a}=wt(),s=me("image"),r=Qo(),u=S(()=>Js(Object.entries(r).filter(([M])=>/^(data-|on[A-Z])/i.test(M)||["id","style"].includes(M)))),c=pd({excludeListeners:!0,excludeKeys:S(()=>Object.keys(u.value))}),d=L(),f=L(!1),h=L(!0),m=L(!1),v=L(),p=L(),g=Ot&&"loading"in HTMLImageElement.prototype;let b;const C=S(()=>[s.e("inner"),y.value&&s.e("preview"),h.value&&s.is("loading")]),w=S(()=>{const{fit:M}=l;return Ot&&M?{objectFit:M}:{}}),y=S(()=>{const{previewSrcList:M}=l;return ye(M)&&M.length>0}),k=S(()=>{const{previewSrcList:M,initialIndex:N}=l;let B=N;return N>M.length-1&&(B=0),B}),E=S(()=>l.loading==="eager"?!1:!g&&l.loading==="lazy"||l.lazy),x=()=>{Ot&&(h.value=!0,f.value=!1,d.value=l.src)};function $(M){h.value=!1,f.value=!1,o("load",M)}function R(M){h.value=!1,f.value=!0,o("error",M)}function I(M){M&&(x(),D())}const A=Qw(I,200,!0);async function O(){var M;if(!Ot)return;await Re();const{scrollContainer:N}=l;if(ul(N))p.value=N;else if(Ve(N)&&N!=="")p.value=(M=document.querySelector(N))!=null?M:void 0;else if(v.value){const V=Ap(v.value);p.value=Hi(V)?void 0:V}const{stop:B}=eP(v,([V])=>{A(V.isIntersecting)},{root:p});b=B}function D(){!Ot||!A||(b==null||b(),p.value=void 0,b=void 0)}function K(){y.value&&(m.value=!0,o("show"))}function Z(){m.value=!1,o("close")}function W(M){o("switch",M)}return ue(()=>l.src,()=>{E.value?(h.value=!0,f.value=!1,D(),O()):x()}),ft(()=>{E.value?O():x()}),t({showPreview:K}),(M,N)=>(T(),F("div",ut({ref_key:"container",ref:v},u.value,{class:[i(s).b(),M.$attrs.class]}),[f.value?te(M.$slots,"error",{key:0},()=>[j("div",{class:P(i(s).e("error"))},ke(i(a)("el.image.error")),3)]):(T(),F(ze,{key:1},[d.value!==void 0?(T(),F("img",ut({key:0},i(c),{src:d.value,loading:e.loading,style:w.value,class:C.value,crossorigin:e.crossorigin,onClick:K,onLoad:$,onError:R}),null,16,NF)):ne("v-if",!0),h.value?(T(),F("div",{key:1,class:P(i(s).e("wrapper"))},[te(M.$slots,"placeholder",{},()=>[j("div",{class:P(i(s).e("placeholder"))},null,2)])],2)):ne("v-if",!0)],64)),y.value?(T(),F(ze,{key:2},[m.value?(T(),le(i(LS),{key:0,"z-index":e.zIndex,"initial-index":k.value,infinite:e.infinite,"zoom-rate":e.zoomRate,"min-scale":e.minScale,"max-scale":e.maxScale,"show-progress":e.showProgress,"url-list":e.previewSrcList,scale:e.scale,crossorigin:e.crossorigin,"hide-on-click-modal":e.hideOnClickModal,teleported:e.previewTeleported,"close-on-press-escape":e.closeOnPressEscape,onClose:Z,onSwitch:W},ll({toolbar:ee(B=>[te(M.$slots,"toolbar",Vo(_o(B)))]),default:ee(()=>[M.$slots.viewer?(T(),F("div",IF,[te(M.$slots,"viewer")])):ne("v-if",!0)]),_:2},[M.$slots.progress?{name:"progress",fn:ee(B=>[te(M.$slots,"progress",Vo(_o(B)))]),key:"0"}:void 0,M.$slots["viewer-error"]?{name:"viewer-error",fn:ee(B=>[te(M.$slots,"viewer-error",Vo(_o(B)))]),key:"1"}:void 0]),1032,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","show-progress","url-list","scale","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):ne("v-if",!0)],64)):ne("v-if",!0)],16))}});const PF=ot(MF),RF=Se({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.MAX_SAFE_INTEGER},min:{type:Number,default:Number.MIN_SAFE_INTEGER},modelValue:{type:[Number,null]},readonly:Boolean,disabled:{type:Boolean,default:void 0},size:gn,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:G([String,Number,null]),validator:e=>e===null||We(e)||["min","max"].includes(e),default:null},name:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0},...Xn(["ariaLabel"]),inputmode:{type:G(String),default:void 0},align:{type:G(String),default:"center"},disabledScientific:Boolean}),AF={[ht]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[vn]:e=>We(e)||dn(e),[et]:e=>We(e)||dn(e)},LF=["aria-label"],DF=["aria-label"];var BF=ae({name:"ElInputNumber",__name:"input-number",props:RF,emits:AF,setup(e,{expose:t,emit:n}){const l=e,o=n,{t:a}=wt(),s=me("input-number"),r=L(),u=Nt({currentValue:l.modelValue,userInput:null}),{formItem:c}=$n(),d=S(()=>We(l.modelValue)&&l.modelValue<=l.min),f=S(()=>We(l.modelValue)&&l.modelValue>=l.max),h=S(()=>{const M=C(l.step);return St(l.precision)?Math.max(C(l.modelValue),M):(M>l.precision,l.precision)}),m=S(()=>l.controls&&l.controlsPosition==="right"),v=hn(),p=nn(),g=S(()=>{if(u.userInput!==null)return u.userInput;let M=u.currentValue;if(dn(M))return"";if(We(M)){if(Number.isNaN(M))return"";St(l.precision)||(M=M.toFixed(l.precision))}return M}),b=(M,N)=>{if(St(N)&&(N=h.value),N===0)return Math.round(M);let B=String(M);const V=B.indexOf(".");if(V===-1||!B.replace(".","").split("")[V+N])return M;const H=B.length;return B.charAt(H-1)==="5"&&(B=`${B.slice(0,Math.max(0,H-1))}6`),Number.parseFloat(Number(B).toFixed(N))},C=M=>{if(dn(M))return 0;const N=M.toString(),B=N.indexOf(".");let V=0;return B!==-1&&(V=N.length-B-1),V},w=(M,N=1)=>We(M)?M>=Number.MAX_SAFE_INTEGER&&N===1||M<=Number.MIN_SAFE_INTEGER&&N===-1?M:b(M+l.step*N):u.currentValue,y=M=>{const N=Ft(M),B=X1(M);if(l.disabledScientific&&["e","E"].includes(B)){M.preventDefault();return}switch(N){case Ce.up:{M.preventDefault(),k();break}case Ce.down:{M.preventDefault(),E();break}}},k=()=>{if(l.readonly||p.value||f.value)return;const M=Number(g.value)||0,N=w(M);$(N),o(vn,u.currentValue),Z()},E=()=>{if(l.readonly||p.value||d.value)return;const M=Number(g.value)||0,N=w(M,-1);$(N),o(vn,u.currentValue),Z()},x=(M,N)=>{const{max:B,min:V,step:z,precision:Y,stepStrictly:H,valueOnClear:X}=l;BB||JB?B:V,N&&o(et,J)),J},$=(M,N=!0)=>{var B;const V=u.currentValue,z=x(M);if(!N){o(et,z);return}u.userInput=null,!(V===z&&M)&&(o(et,z),V!==z&&o(ht,z,V),l.validateEvent&&((B=c==null?void 0:c.validate)==null||B.call(c,"change").catch(Y=>void 0)),u.currentValue=z)},R=M=>{u.userInput=M;const N=M===""?null:Number(M);o(vn,N),$(N,!1)},I=M=>{const N=M!==""?Number(M):"";(We(N)&&!Number.isNaN(N)||M==="")&&$(N),Z(),u.userInput=null},A=()=>{var M,N;(N=(M=r.value)==null?void 0:M.focus)==null||N.call(M)},O=()=>{var M,N;(N=(M=r.value)==null?void 0:M.blur)==null||N.call(M)},D=M=>{o("focus",M)},K=M=>{var N,B;u.userInput=null,u.currentValue===null&&((N=r.value)!=null&&N.input)&&(r.value.input.value=""),o("blur",M),l.validateEvent&&((B=c==null?void 0:c.validate)==null||B.call(c,"blur").catch(V=>void 0))},Z=()=>{u.currentValue!==l.modelValue&&(u.currentValue=l.modelValue)},W=M=>{document.activeElement===M.target&&M.preventDefault()};return ue(()=>l.modelValue,(M,N)=>{const B=x(M,!0);u.userInput===null&&B!==N&&(u.currentValue=B)},{immediate:!0}),ue(()=>l.precision,()=>{u.currentValue=x(l.modelValue)}),ft(()=>{var M;const{min:N,max:B,modelValue:V}=l,z=(M=r.value)==null?void 0:M.input;if(z.setAttribute("role","spinbutton"),Number.isFinite(B)?z.setAttribute("aria-valuemax",String(B)):z.removeAttribute("aria-valuemax"),Number.isFinite(N)?z.setAttribute("aria-valuemin",String(N)):z.removeAttribute("aria-valuemin"),z.setAttribute("aria-valuenow",u.currentValue||u.currentValue===0?String(u.currentValue):""),z.setAttribute("aria-disabled",String(p.value)),!We(V)&&V!=null){let Y=Number(V);Number.isNaN(Y)&&(Y=null),o(et,Y)}z.addEventListener("wheel",W,{passive:!1})}),Gl(()=>{var M,N;const B=(M=r.value)==null?void 0:M.input;B==null||B.setAttribute("aria-valuenow",`${(N=u.currentValue)!=null?N:""}`)}),t({focus:A,blur:O}),(M,N)=>(T(),F("div",{class:P([i(s).b(),i(s).m(i(v)),i(s).is("disabled",i(p)),i(s).is("without-controls",!e.controls),i(s).is("controls-right",m.value),i(s).is(e.align,!!e.align)]),onDragstart:N[0]||(N[0]=Je(()=>{},["prevent"]))},[e.controls?it((T(),F("span",{key:0,role:"button","aria-label":i(a)("el.inputNumber.decrease"),class:P([i(s).e("decrease"),i(s).is("disabled",d.value)]),onKeydown:Jt(E,["enter"])},[te(M.$slots,"decrease-icon",{},()=>[q(i(_e),null,{default:ee(()=>[m.value?(T(),le(i(ko),{key:0})):(T(),le(i(QP),{key:1}))]),_:1})])],42,LF)),[[i(Sc),E]]):ne("v-if",!0),e.controls?it((T(),F("span",{key:1,role:"button","aria-label":i(a)("el.inputNumber.increase"),class:P([i(s).e("increase"),i(s).is("disabled",f.value)]),onKeydown:Jt(k,["enter"])},[te(M.$slots,"increase-icon",{},()=>[q(i(_e),null,{default:ee(()=>[m.value?(T(),le(i(ud),{key:0})):(T(),le(i(b1),{key:1}))]),_:1})])],42,DF)),[[i(Sc),k]]):ne("v-if",!0),q(i(Un),{id:e.id,ref_key:"input",ref:r,type:"number",step:e.step,"model-value":g.value,placeholder:e.placeholder,readonly:e.readonly,disabled:i(p),size:i(v),max:e.max,min:e.min,name:e.name,"aria-label":e.ariaLabel,"validate-event":!1,inputmode:e.inputmode,onKeydown:y,onBlur:K,onFocus:D,onInput:R,onChange:I},ll({_:2},[M.$slots.prefix?{name:"prefix",fn:ee(()=>[te(M.$slots,"prefix")]),key:"0"}:void 0,M.$slots.suffix?{name:"suffix",fn:ee(()=>[te(M.$slots,"suffix")]),key:"1"}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode"])],34))}});const DS=ot(BF),VF=Se({modelValue:{type:G(Array)},max:Number,tagType:{...Xo.type,default:"info"},tagEffect:Xo.effect,effect:{type:G(String),default:"light"},trigger:{type:G(String),default:Ce.enter},draggable:Boolean,delimiter:{type:[String,RegExp],default:""},size:gn,clearable:Boolean,clearIcon:{type:_t,default:Eo},disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},readonly:Boolean,autofocus:Boolean,id:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},placeholder:String,autocomplete:{type:G(String),default:"off"},saveOnBlur:{type:Boolean,default:!0},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},ariaLabel:String}),_F={[et]:e=>ye(e)||St(e),[ht]:e=>ye(e)||St(e),[vn]:e=>Ve(e),"add-tag":e=>Ve(e)||ye(e),"remove-tag":(e,t)=>Ve(e)&&We(t),"drag-tag":(e,t,n)=>We(e)&&We(t)&&Ve(n),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0};function FF({props:e,emit:t,formItem:n}){const l=nn(),o=hn(),a=Wt(),s=L(),r=L(),u=S(()=>["small"].includes(o.value)?"small":"default"),c=S(()=>{var W;return(W=e.modelValue)!=null&&W.length?void 0:e.placeholder}),d=S(()=>!(e.readonly||l.value)),f=S(()=>{var W,M;return St(e.max)?!1:((M=(W=e.modelValue)==null?void 0:W.length)!=null?M:0)>=e.max}),h=S(()=>{var W;return e.collapseTags?(W=e.modelValue)==null?void 0:W.slice(0,e.maxCollapseTags):e.modelValue}),m=S(()=>{var W;return e.collapseTags?(W=e.modelValue)==null?void 0:W.slice(e.maxCollapseTags):[]}),v=W=>{var M;const N=[...(M=e.modelValue)!=null?M:[],...wn(W)];t(et,N),t(ht,N),t("add-tag",W),s.value=void 0},p=W=>{var M,N;const B=W.split(e.delimiter),V=B.length>1?B.map(z=>z.trim()).filter(Boolean):[];if(e.max){const z=e.max-((N=(M=e.modelValue)==null?void 0:M.length)!=null?N:0);V.splice(z)}return V.length===1?V[0]:V},g=W=>{var M;const N=(M=W.clipboardData)==null?void 0:M.getData("text");if(e.readonly||f.value||!e.delimiter||!N)return;const{selectionStart:B=0,selectionEnd:V=0,value:z}=W.target,Y=z.slice(0,B)+N+z.slice(V),H=p(Y);H.length&&(v(H),t(vn,Y),W.preventDefault())},b=W=>{if(f.value){s.value=void 0;return}if(!O.value){if(e.delimiter&&s.value){const M=p(s.value);M.length&&v(M)}t(vn,W.target.value)}},C=W=>{var M;if(O.value)return;switch(Ft(W)){case e.trigger:W.preventDefault(),W.stopPropagation(),y();break;case Ce.numpadEnter:e.trigger===Ce.enter&&(W.preventDefault(),W.stopPropagation(),y());break;case Ce.backspace:!s.value&&((M=e.modelValue)!=null&&M.length)&&(W.preventDefault(),W.stopPropagation(),k(e.modelValue.length-1));break}},w=W=>{if(O.value||!B1())return;switch(Ft(W)){case Ce.space:e.trigger===Ce.space&&(W.preventDefault(),W.stopPropagation(),y());break}},y=()=>{var W;const M=(W=s.value)==null?void 0:W.trim();!M||f.value||v(M)},k=W=>{var M;const N=((M=e.modelValue)!=null?M:[]).slice(),[B]=N.splice(W,1);t(et,N),t(ht,N),t("remove-tag",B,W)},E=()=>{s.value=void 0,t(et,void 0),t(ht,void 0),t("clear")},x=(W,M,N)=>{var B;const V=((B=e.modelValue)!=null?B:[]).slice(),[z]=V.splice(W,1),Y=M>W&&N==="before"?-1:M{var W;(W=a.value)==null||W.focus()},R=()=>{var W;(W=a.value)==null||W.blur()},{wrapperRef:I,isFocused:A}=la(a,{disabled:l,beforeBlur(W){var M;return(M=r.value)==null?void 0:M.isFocusInsideContent(W)},afterBlur(){var W;e.saveOnBlur?y():s.value=void 0,e.validateEvent&&((W=n==null?void 0:n.validate)==null||W.call(n,"blur").catch(M=>void 0))}}),{isComposing:O,handleCompositionStart:D,handleCompositionUpdate:K,handleCompositionEnd:Z}=Qi({afterComposition:b});return ue(()=>e.modelValue,()=>{var W;e.validateEvent&&((W=n==null?void 0:n.validate)==null||W.call(n,ht).catch(M=>void 0))}),{inputRef:a,wrapperRef:I,tagTooltipRef:r,isFocused:A,isComposing:O,inputValue:s,size:o,tagSize:u,placeholder:c,closable:d,disabled:l,inputLimit:f,showTagList:h,collapseTagList:m,handleDragged:x,handlePaste:g,handleInput:b,handleKeydown:C,handleKeyup:w,handleAddTag:y,handleRemoveTag:k,handleClear:E,handleCompositionStart:D,handleCompositionUpdate:K,handleCompositionEnd:Z,focus:$,blur:R}}function zF(){const e=L(!1);return{hovering:e,handleMouseEnter:()=>{e.value=!0},handleMouseLeave:()=>{e.value=!1}}}function HF({wrapperRef:e,handleDragged:t,afterDragged:n}){const l=me("input-tag"),o=Wt(),a=L(!1);let s,r,u,c;function d(v){return`.${l.e("inner")} .${l.namespace.value}-tag:nth-child(${v+1})`}function f(v,p){s=p,r=e.value.querySelector(d(p)),r&&(r.style.opacity="0.5"),v.dataTransfer.effectAllowed="move"}function h(v,p){if(u=p,v.preventDefault(),v.dataTransfer.dropEffect="move",St(s)||s===p){a.value=!1;return}const g=e.value.querySelector(d(p)).getBoundingClientRect(),b=s+1!==p,C=s-1!==p,w=v.clientX-g.left,y=b?C?.5:1:-1,k=C?b?.5:0:1;w<=g.width*y?c="before":w>g.width*k?c="after":c=void 0;const E=e.value.querySelector(`.${l.e("inner")}`),x=E.getBoundingClientRect(),$=Number.parseFloat(Do(E,"gap"))/2,R=g.top-x.top;let I=-9999;if(c==="before")I=Math.max(g.left-x.left-$,Math.floor(-$/2));else if(c==="after"){const A=g.right-x.left;I=A+(x.width===A?Math.floor($/2):$)}p1(o.value,{top:`${R}px`,left:`${I}px`}),a.value=!!c}function m(v){v.preventDefault(),r&&(r.style.opacity=""),c&&!St(s)&&!St(u)&&s!==u&&t(s,u,c),a.value=!1,s=void 0,r=null,u=void 0,c=void 0,n==null||n()}return{dropIndicatorRef:o,showDropIndicator:a,handleDragStart:f,handleDragOver:h,handleDragEnd:m}}function KF({props:e,isFocused:t,hovering:n,disabled:l,inputValue:o,size:a,validateState:s,validateIcon:r,needStatusIcon:u}){const c=Qo(),d=rn(),f=me("input-tag"),h=me("input"),m=L(),v=L(),p=S(()=>[f.b(),f.is("focused",t.value),f.is("hovering",n.value),f.is("disabled",l.value),f.m(a.value),f.e("wrapper"),c.class]),g=S(()=>[c.style]),b=S(()=>{var R,I;return[f.e("inner"),f.is("draggable",e.draggable),f.is("left-space",!((R=e.modelValue)!=null&&R.length)&&!d.prefix),f.is("right-space",!((I=e.modelValue)!=null&&I.length)&&!w.value)]}),C=S(()=>{var R;return e.clearable&&!l.value&&!e.readonly&&(((R=e.modelValue)==null?void 0:R.length)||o.value)&&(t.value||n.value)}),w=S(()=>d.suffix||C.value||s.value&&r.value&&u.value),y=Nt({innerWidth:0,collapseItemWidth:0}),k=()=>{if(!v.value)return 0;const R=window.getComputedStyle(v.value);return Number.parseFloat(R.gap||"6px")},E=()=>{y.innerWidth=Number.parseFloat(window.getComputedStyle(v.value).width)},x=()=>{y.collapseItemWidth=m.value.getBoundingClientRect().width},$=S(()=>{if(!e.collapseTags)return{};const R=k(),I=R+md,A=m.value&&e.maxCollapseTags===1?y.innerWidth-y.collapseItemWidth-R-I:y.innerWidth-I;return{maxWidth:`${Math.max(A,0)}px`}});return Yt(v,E),Yt(m,x),{ns:f,nsInput:h,containerKls:p,containerStyle:g,innerKls:b,showClear:C,showSuffix:w,tagStyle:$,collapseItemRef:m,innerRef:v}}const WF=["id","minlength","maxlength","disabled","readonly","autocomplete","tabindex","placeholder","autofocus","ariaLabel"],jF=["textContent"];var YF=ae({name:"ElInputTag",inheritAttrs:!1,__name:"input-tag",props:VF,emits:_F,setup(e,{expose:t,emit:n}){const l=e,o=n,a=pd(),s=rn(),{form:r,formItem:u}=$n(),{inputId:c}=kl(l,{formItemContext:u}),d=S(()=>{var ge;return(ge=r==null?void 0:r.statusIcon)!=null?ge:!1}),f=S(()=>(u==null?void 0:u.validateState)||""),h=S(()=>f.value&&dd[f.value]),{inputRef:m,wrapperRef:v,tagTooltipRef:p,isFocused:g,inputValue:b,size:C,tagSize:w,placeholder:y,closable:k,disabled:E,showTagList:x,collapseTagList:$,handleDragged:R,handlePaste:I,handleInput:A,handleKeydown:O,handleKeyup:D,handleRemoveTag:K,handleClear:Z,handleCompositionStart:W,handleCompositionUpdate:M,handleCompositionEnd:N,focus:B,blur:V}=FF({props:l,emit:o,formItem:u}),{hovering:z,handleMouseEnter:Y,handleMouseLeave:H}=zF(),{calculatorRef:X,inputStyle:J}=nh(),{dropIndicatorRef:se,showDropIndicator:re,handleDragStart:fe,handleDragOver:ce,handleDragEnd:oe}=HF({wrapperRef:v,handleDragged:R,afterDragged:B}),{ns:U,nsInput:_,containerKls:Q,containerStyle:ie,innerKls:he,showClear:pe,showSuffix:be,tagStyle:$e,collapseItemRef:Me,innerRef:Ne}=KF({props:l,hovering:z,isFocused:g,inputValue:b,disabled:E,size:C,validateState:f,validateIcon:h,needStatusIcon:d});return t({focus:B,blur:V}),(ge,Te)=>(T(),F("div",{ref_key:"wrapperRef",ref:v,class:P(i(Q)),style:je(i(ie)),onMouseenter:Te[9]||(Te[9]=(...we)=>i(Y)&&i(Y)(...we)),onMouseleave:Te[10]||(Te[10]=(...we)=>i(H)&&i(H)(...we))},[i(s).prefix?(T(),F("div",{key:0,class:P(i(U).e("prefix"))},[te(ge.$slots,"prefix")],2)):ne("v-if",!0),j("div",{ref_key:"innerRef",ref:Ne,class:P(i(he))},[(T(!0),F(ze,null,gt(i(x),(we,Pe)=>(T(),le(i(Ho),{key:Pe,size:i(w),closable:i(k),type:e.tagType,effect:e.tagEffect,draggable:i(k)&&e.draggable,style:je(i($e)),"disable-transitions":"",onClose:Fe=>i(K)(Pe),onDragstart:Fe=>i(fe)(Fe,Pe),onDragover:Fe=>i(ce)(Fe,Pe),onDragend:i(oe),onDrop:Te[0]||(Te[0]=Je(()=>{},["stop"]))},{default:ee(()=>[te(ge.$slots,"tag",{value:we,index:Pe},()=>[bt(ke(we),1)])]),_:2},1032,["size","closable","type","effect","draggable","style","onClose","onDragstart","onDragover","onDragend"]))),128)),e.collapseTags&&e.modelValue&&e.modelValue.length>e.maxCollapseTags?(T(),le(i(xn),{key:0,ref_key:"tagTooltipRef",ref:p,disabled:!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom"},{default:ee(()=>[j("div",{ref_key:"collapseItemRef",ref:Me,class:P(i(U).e("collapse-tag"))},[q(i(Ho),{closable:!1,size:i(w),type:e.tagType,effect:e.tagEffect,"disable-transitions":""},{default:ee(()=>[bt(" + "+ke(e.modelValue.length-e.maxCollapseTags),1)]),_:1},8,["size","type","effect"])],2)]),content:ee(()=>[j("div",{class:P(i(U).e("input-tag-list"))},[(T(!0),F(ze,null,gt(i($),(we,Pe)=>(T(),le(i(Ho),{key:Pe,size:i(w),closable:i(k),type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:Fe=>i(K)(Pe+e.maxCollapseTags)},{default:ee(()=>[te(ge.$slots,"tag",{value:we,index:Pe+e.maxCollapseTags},()=>[bt(ke(we),1)])]),_:2},1032,["size","closable","type","effect","onClose"]))),128))],2)]),_:3},8,["disabled","effect"])):ne("v-if",!0),j("div",{class:P(i(U).e("input-wrapper"))},[it(j("input",ut({id:i(c),ref_key:"inputRef",ref:m,"onUpdate:modelValue":Te[1]||(Te[1]=we=>jt(b)?b.value=we:null)},i(a),{type:"text",minlength:e.minlength,maxlength:e.maxlength,disabled:i(E),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,placeholder:i(y),autofocus:e.autofocus,ariaLabel:e.ariaLabel,class:i(U).e("input"),style:i(J),onCompositionstart:Te[2]||(Te[2]=(...we)=>i(W)&&i(W)(...we)),onCompositionupdate:Te[3]||(Te[3]=(...we)=>i(M)&&i(M)(...we)),onCompositionend:Te[4]||(Te[4]=(...we)=>i(N)&&i(N)(...we)),onPaste:Te[5]||(Te[5]=(...we)=>i(I)&&i(I)(...we)),onInput:Te[6]||(Te[6]=(...we)=>i(A)&&i(A)(...we)),onKeydown:Te[7]||(Te[7]=(...we)=>i(O)&&i(O)(...we)),onKeyup:Te[8]||(Te[8]=(...we)=>i(D)&&i(D)(...we))}),null,16,WF),[[tw,i(b)]]),j("span",{ref_key:"calculatorRef",ref:X,"aria-hidden":"true",class:P(i(U).e("input-calculator")),textContent:ke(i(b))},null,10,jF)],2),it(j("div",{ref_key:"dropIndicatorRef",ref:se,class:P(i(U).e("drop-indicator"))},null,2),[[$t,i(re)]])],2),i(be)?(T(),F("div",{key:1,class:P(i(U).e("suffix"))},[te(ge.$slots,"suffix"),i(pe)?(T(),le(i(_e),{key:0,class:P([i(U).e("icon"),i(U).e("clear")]),onMousedown:Je(i(Rt),["prevent"]),onClick:i(Z)},{default:ee(()=>[(T(),le(rt(e.clearIcon)))]),_:1},8,["class","onMousedown","onClick"])):ne("v-if",!0),f.value&&h.value&&d.value?(T(),le(i(_e),{key:1,class:P([i(_).e("icon"),i(_).e("validateIcon"),i(_).is("loading",f.value==="validating")])},{default:ee(()=>[(T(),le(rt(h.value)))]),_:1},8,["class"])):ne("v-if",!0)],2)):ne("v-if",!0)],38))}});const UF=ot(YF),qF=Se({type:{type:String,values:["primary","success","warning","info","danger","default"],default:void 0},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:void 0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:_t}}),GF={click:e=>e instanceof MouseEvent},XF=["href","target"];var ZF=ae({name:"ElLink",__name:"link",props:qF,emits:GF,setup(e,{emit:t}){const n=e,l=t,o=na("link");po({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},S(()=>Vt(n.underline)));const a=me("link"),s=S(()=>{var c,d,f;return[a.b(),a.m((f=(d=n.type)!=null?d:(c=o.value)==null?void 0:c.type)!=null?f:"default"),a.is("disabled",n.disabled),a.is("underline",r.value==="always"),a.is("hover-underline",r.value==="hover"&&!n.disabled)]}),r=S(()=>{var c,d,f;return Vt(n.underline)?n.underline?"hover":"never":(f=(d=n.underline)!=null?d:(c=o.value)==null?void 0:c.underline)!=null?f:"hover"});function u(c){n.disabled||l("click",c)}return(c,d)=>(T(),F("a",{class:P(s.value),href:e.disabled||!e.href?void 0:e.href,target:e.disabled||!e.href?void 0:e.target,onClick:u},[e.icon?(T(),le(i(_e),{key:0},{default:ee(()=>[(T(),le(rt(e.icon)))]),_:1})):ne("v-if",!0),c.$slots.default?(T(),F("span",{key:1,class:P(i(a).e("inner"))},[te(c.$slots,"default")],2)):ne("v-if",!0),c.$slots.icon?te(c.$slots,"icon",{key:2}):ne("v-if",!0)],10,XF))}});const JF=ot(ZF);var QF=Object.defineProperty,ez=(e,t,n)=>t in e?QF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Rb=(e,t,n)=>ez(e,typeof t!="symbol"?t+"":t,n);let tz=class{constructor(t,n){this.parent=t,this.domNode=n,Rb(this,"subMenuItems"),Rb(this,"subIndex",0),this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(t){t===this.subMenuItems.length?t=0:t<0&&(t=this.subMenuItems.length-1),this.subMenuItems[t].focus(),this.subIndex=t}addListeners(){const t=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,n=>{n.addEventListener("keydown",l=>{const o=Ft(l);let a=!1;switch(o){case Ce.down:{this.gotoSubIndex(this.subIndex+1),a=!0;break}case Ce.up:{this.gotoSubIndex(this.subIndex-1),a=!0;break}case Ce.tab:{zu(t,"mouseleave");break}case Ce.enter:case Ce.numpadEnter:case Ce.space:{a=!0,l.currentTarget.click();break}}return a&&(l.preventDefault(),l.stopPropagation()),!1})})}};var nz=Object.defineProperty,lz=(e,t,n)=>t in e?nz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,oz=(e,t,n)=>lz(e,t+"",n);class az{constructor(t,n){this.domNode=t,oz(this,"submenu",null),this.submenu=null,this.init(n)}init(t){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${t}-menu`);n&&(this.submenu=new tz(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",t=>{const n=Ft(t);let l=!1;switch(n){case Ce.down:{zu(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),l=!0;break}case Ce.up:{zu(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),l=!0;break}case Ce.tab:{zu(t.currentTarget,"mouseleave");break}case Ce.enter:case Ce.numpadEnter:case Ce.space:{l=!0,t.currentTarget.click();break}}l&&t.preventDefault()})}}let sz=class{constructor(t,n){this.domNode=t,this.init(n)}init(t){const n=this.domNode.childNodes;Array.from(n).forEach(l=>{l.nodeType===1&&new az(l,t)})}};var rz=ae({name:"ElMenuCollapseTransition",__name:"menu-collapse-transition",setup(e){const t=me("menu"),n={onBeforeEnter:l=>l.style.opacity="0.2",onEnter(l,o){$l(l,`${t.namespace.value}-opacity-transition`),l.style.opacity="1",o()},onAfterEnter(l){qn(l,`${t.namespace.value}-opacity-transition`),l.style.opacity=""},onBeforeLeave(l){l.dataset||(l.dataset={}),co(l,t.m("collapse"))?(qn(l,t.m("collapse")),l.dataset.oldOverflow=l.style.overflow,l.dataset.scrollWidth=l.clientWidth.toString(),$l(l,t.m("collapse"))):($l(l,t.m("collapse")),l.dataset.oldOverflow=l.style.overflow,l.dataset.scrollWidth=l.clientWidth.toString(),qn(l,t.m("collapse"))),l.style.width=`${l.scrollWidth}px`,l.style.overflow="hidden"},onLeave(l){$l(l,"horizontal-collapse-transition"),l.style.width=`${l.dataset.scrollWidth}px`}};return(l,o)=>(T(),le(In,ut({mode:"out-in"},n),{default:ee(()=>[te(l.$slots,"default")]),_:3},16))}});function BS(e,t){const n=S(()=>{let o=e.parent;const a=[t.value];for(;o.type.name!=="ElMenu";)o.props.index&&a.unshift(o.props.index),o=o.parent;return a});return{parentMenu:S(()=>{let o=e.parent;for(;o&&!["ElMenu","ElSubMenu"].includes(o.type.name);)o=o.parent;return o}),indexPath:n}}function iz(e){return S(()=>{const n=e.backgroundColor;return n?new As(n).shade(20).toString():""})}const VS=(e,t)=>{const n=me("menu");return S(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":iz(e).value||"","active-color":e.activeTextColor||"",level:`${t}`}))},Ch="rootMenu",$c="subMenu:",uz=Se({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,popperStyle:{type:G([String,Object])},disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:_t},expandOpenIcon:{type:_t},collapseCloseIcon:{type:_t},collapseOpenIcon:{type:_t}}),ff="ElSubMenu";var Sh=ae({name:ff,props:uz,setup(e,{slots:t,expose:n}){const l=ct(),{indexPath:o,parentMenu:a}=BS(l,S(()=>e.index)),s=me("menu"),r=me("sub-menu"),u=Le(Ch);u||pn(ff,"can not inject root menu");const c=Le(`${$c}${a.value.uid}`);c||pn(ff,"can not inject sub menu");const d=L({}),f=L({});let h;const m=L(!1),v=L(),p=L(),g=S(()=>c.level===0),b=S(()=>$.value==="horizontal"&&g.value?"bottom-start":"right-start"),C=S(()=>$.value==="horizontal"&&g.value||$.value==="vertical"&&!u.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?E.value?e.expandOpenIcon:e.expandCloseIcon:ko:e.collapseCloseIcon&&e.collapseOpenIcon?E.value?e.collapseOpenIcon:e.collapseCloseIcon:Gn),w=S(()=>{const Y=e.teleported;return St(Y)?g.value:Y}),y=S(()=>u.props.collapse?`${s.namespace.value}-zoom-in-left`:`${s.namespace.value}-zoom-in-top`),k=S(()=>$.value==="horizontal"&&g.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),E=S(()=>u.openedMenus.includes(e.index)),x=S(()=>[...Object.values(d.value),...Object.values(f.value)].some(({active:Y})=>Y)),$=S(()=>u.props.mode),R=S(()=>u.props.persistent),I=Nt({index:e.index,indexPath:o,active:x}),A=VS(u.props,c.level+1),O=S(()=>{var Y;return(Y=e.popperOffset)!=null?Y:u.props.popperOffset}),D=S(()=>{var Y;return(Y=e.popperClass)!=null?Y:u.props.popperClass}),K=S(()=>{var Y;return(Y=e.popperStyle)!=null?Y:u.props.popperStyle}),Z=S(()=>{var Y;return(Y=e.showTimeout)!=null?Y:u.props.showTimeout}),W=S(()=>{var Y;return(Y=e.hideTimeout)!=null?Y:u.props.hideTimeout}),M=()=>{var Y,H,X;return(X=(H=(Y=p.value)==null?void 0:Y.popperRef)==null?void 0:H.popperInstanceRef)==null?void 0:X.destroy()},N=Y=>{Y||M()},B=()=>{u.props.menuTrigger==="hover"&&u.props.mode==="horizontal"||u.props.collapse&&u.props.mode==="vertical"||e.disabled||u.handleSubMenuClick({index:e.index,indexPath:o.value,active:x.value})},V=(Y,H=Z.value)=>{var X;if(Y.type!=="focus"){if(u.props.menuTrigger==="click"&&u.props.mode==="horizontal"||!u.props.collapse&&u.props.mode==="vertical"||e.disabled){c.mouseInChild.value=!0;return}c.mouseInChild.value=!0,h==null||h(),{stop:h}=Qs(()=>{u.openMenu(e.index,o.value)},H),w.value&&((X=a.value.vnode.el)==null||X.dispatchEvent(new MouseEvent("mouseenter"))),Y.type==="mouseenter"&&Y.target&&Re(()=>{qi(Y.target,{preventScroll:!0})})}},z=(Y=!1)=>{var H;if(u.props.menuTrigger==="click"&&u.props.mode==="horizontal"||!u.props.collapse&&u.props.mode==="vertical"){c.mouseInChild.value=!1;return}h==null||h(),c.mouseInChild.value=!1,{stop:h}=Qs(()=>!m.value&&u.closeMenu(e.index,o.value),W.value),w.value&&Y&&((H=c.handleMouseleave)==null||H.call(c,!0))};ue(()=>u.props.collapse,Y=>N(!!Y));{const Y=X=>{f.value[X.index]=X},H=X=>{delete f.value[X.index]};yt(`${$c}${l.uid}`,{addSubMenu:Y,removeSubMenu:H,handleMouseleave:z,mouseInChild:m,level:c.level+1})}return n({opened:E}),ft(()=>{u.addSubMenu(I),c.addSubMenu(I)}),Pt(()=>{c.removeSubMenu(I),u.removeSubMenu(I)}),()=>{var Y;const H=[(Y=t.title)==null?void 0:Y.call(t),Ge(_e,{class:r.e("icon-arrow"),style:{transform:E.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&u.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>Ve(C.value)?Ge(l.appContext.components[C.value]):Ge(C.value)})],X=u.isMenuPopup?Ge(xn,{ref:p,visible:E.value,effect:"light",pure:!0,offset:O.value,showArrow:!1,persistent:R.value,popperClass:D.value,popperStyle:K.value,placement:b.value,teleported:w.value,fallbackPlacements:k.value,transition:y.value,gpuAcceleration:!1},{content:()=>{var J;return Ge("div",{class:[s.m($.value),s.m("popup-container"),D.value],onMouseenter:se=>V(se,100),onMouseleave:()=>z(!0),onFocus:se=>V(se,100)},[Ge("ul",{class:[s.b(),s.m("popup"),s.m(`popup-${b.value}`)],style:A.value},[(J=t.default)==null?void 0:J.call(t)])])},default:()=>Ge("div",{class:r.e("title"),onClick:B},H)}):Ge(ze,{},[Ge("div",{class:r.e("title"),ref:v,onClick:B},H),Ge(yd,{},{default:()=>{var J;return it(Ge("ul",{role:"menu",class:[s.b(),s.m("inline")],style:A.value},[(J=t.default)==null?void 0:J.call(t)]),[[$t,E.value]])}})]);return Ge("li",{class:[r.b(),r.is("active",x.value),r.is("opened",E.value),r.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:E.value,onMouseenter:V,onMouseleave:()=>z(),onFocus:V},[X])}}});const cz=Se({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:G(Array),default:()=>en([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:_t,default:()=>nR},popperEffect:{type:G(String),default:"dark"},popperClass:String,popperStyle:{type:G([String,Object])},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),vf=e=>ye(e)&&e.every(t=>Ve(t)),dz={close:(e,t)=>Ve(e)&&vf(t),open:(e,t)=>Ve(e)&&vf(t),select:(e,t,n,l)=>Ve(e)&&vf(t)&&nt(n)&&(St(l)||l instanceof Promise)},Ab=64;var fz=ae({name:"ElMenu",props:cz,emits:dz,setup(e,{emit:t,slots:n,expose:l}){const o=ct(),a=o.appContext.config.globalProperties.$router,s=L(),r=L(),u=me("menu"),c=me("sub-menu");let d=Ab;const f=L(-1),h=L(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),m=L(e.defaultActive),v=L({}),p=L({}),g=S(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),b=()=>{const M=m.value&&v.value[m.value];if(!M||e.mode==="horizontal"||e.collapse)return;M.indexPath.forEach(B=>{const V=p.value[B];V&&C(B,V.indexPath)})},C=(M,N)=>{h.value.includes(M)||(e.uniqueOpened&&(h.value=h.value.filter(B=>N.includes(B))),h.value.push(M),t("open",M,N))},w=M=>{const N=h.value.indexOf(M);N!==-1&&h.value.splice(N,1)},y=(M,N)=>{w(M),t("close",M,N)},k=({index:M,indexPath:N})=>{h.value.includes(M)?y(M,N):C(M,N)},E=M=>{(e.mode==="horizontal"||e.collapse)&&(h.value=[]);const{index:N,indexPath:B}=M;if(!(dn(N)||dn(B)))if(e.router&&a){const V=M.route||N,z=a.push(V).then(Y=>(Y||(m.value=N),Y));t("select",N,B,{index:N,indexPath:B,route:V},z)}else m.value=N,t("select",N,B,{index:N,indexPath:B})},x=M=>{var N;const B=v.value,V=B[M]||m.value&&B[m.value]||B[e.defaultActive];m.value=(N=V==null?void 0:V.index)!=null?N:M},$=M=>{const N=getComputedStyle(M),B=Number.parseInt(N.marginLeft,10),V=Number.parseInt(N.marginRight,10);return M.offsetWidth+B+V||0},R=()=>{if(!s.value)return-1;const M=Array.from(s.value.childNodes).filter(X=>X.nodeName!=="#comment"&&(X.nodeName!=="#text"||X.nodeValue)),N=getComputedStyle(s.value),B=Number.parseInt(N.paddingLeft,10),V=Number.parseInt(N.paddingRight,10),z=s.value.clientWidth-B-V;let Y=0,H=0;return M.forEach((X,J)=>{Y+=$(X),Y<=z-d&&(H=J+1)}),H===M.length?-1:H},I=M=>p.value[M].indexPath,A=(M,N=33.34)=>{let B;return()=>{B&&clearTimeout(B),B=setTimeout(()=>{M()},N)}};let O=!0;const D=()=>{const M=mn(r);if(M&&(d=$(M)||Ab),f.value===R())return;const N=()=>{f.value=-1,Re(()=>{f.value=R()})};O?N():A(N)(),O=!1};ue(()=>e.defaultActive,M=>{v.value[M]||(m.value=""),x(M)}),ue(()=>e.collapse,M=>{M&&(h.value=[])}),ue(v.value,b);let K;vl(()=>{e.mode==="horizontal"&&e.ellipsis?K=Yt(s,D).stop:K==null||K()});const Z=L(!1);{const M=z=>{p.value[z.index]=z},N=z=>{delete p.value[z.index]};yt(Ch,Nt({props:e,openedMenus:h,items:v,subMenus:p,activeIndex:m,isMenuPopup:g,addMenuItem:z=>{v.value[z.index]=z},removeMenuItem:z=>{delete v.value[z.index]},addSubMenu:M,removeSubMenu:N,openMenu:C,closeMenu:y,handleMenuItemClick:E,handleSubMenuClick:k})),yt(`${$c}${o.uid}`,{addSubMenu:M,removeSubMenu:N,mouseInChild:Z,level:0})}ft(()=>{e.mode==="horizontal"&&new sz(o.vnode.el,u.namespace.value)}),l({open:N=>{const{indexPath:B}=p.value[N];B.forEach(V=>C(V,B))},close:w,updateActiveIndex:x,handleResize:D});const W=VS(e,0);return()=>{var M,N;let B=(N=(M=n.default)==null?void 0:M.call(n))!=null?N:[];const V=[];if(e.mode==="horizontal"&&s.value){const H=bl(B).filter(se=>(se==null?void 0:se.shapeFlag)!==8),X=f.value===-1?H:H.slice(0,f.value),J=f.value===-1?[]:H.slice(f.value);J!=null&&J.length&&e.ellipsis&&(B=X,V.push(Ge(Sh,{ref:r,index:"sub-menu-more",class:c.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>Ge(_e,{class:c.e("icon-more")},{default:()=>Ge(e.ellipsisIcon)}),default:()=>J})))}const z=e.closeOnClickOutside?[[Ia,()=>{h.value.length&&(Z.value||(h.value.forEach(H=>t("close",H,I(H))),h.value=[]))}]]:[],Y=it(Ge("ul",{key:String(e.collapse),role:"menubar",ref:s,style:W.value,class:{[u.b()]:!0,[u.m(e.mode)]:!0,[u.m("collapse")]:e.collapse}},[...B,...V]),z);return e.collapseTransition&&e.mode==="vertical"?Ge(rz,()=>Y):Y}}});const vz=Se({index:{type:G([String,null]),default:null},route:{type:G([String,Object])},disabled:Boolean}),pz={click:e=>Ve(e.index)&&ye(e.indexPath)},pf="ElMenuItem";var _S=ae({name:pf,__name:"menu-item",props:vz,emits:pz,setup(e,{expose:t,emit:n}){const l=e,o=n;cl(l.index)&&void 0;const a=ct(),s=Le(Ch),r=me("menu"),u=me("menu-item");s||pn(pf,"can not inject root menu");const{parentMenu:c,indexPath:d}=BS(a,Lt(l,"index")),f=Le(`${$c}${c.value.uid}`);f||pn(pf,"can not inject sub menu");const h=S(()=>l.index===s.activeIndex),m=Nt({index:l.index,indexPath:d,active:h}),v=()=>{l.disabled||(s.handleMenuItemClick({index:l.index,indexPath:d.value,route:l.route}),o("click",m))};return ft(()=>{f.addSubMenu(m),s.addMenuItem(m)}),Pt(()=>{f.removeSubMenu(m),s.removeMenuItem(m)}),t({parentMenu:c,rootMenu:s,active:h,nsMenu:r,nsMenuItem:u,handleClick:v}),(p,g)=>(T(),F("li",{class:P([i(u).b(),i(u).is("active",h.value),i(u).is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:v},[i(c).type.name==="ElMenu"&&i(s).props.collapse&&p.$slots.title?(T(),le(i(xn),{key:0,effect:i(s).props.popperEffect,placement:"right","fallback-placements":["left"],"popper-class":i(s).props.popperClass,"popper-style":i(s).props.popperStyle,persistent:i(s).props.persistent,"focus-on-target":""},{content:ee(()=>[te(p.$slots,"title")]),default:ee(()=>[j("div",{class:P(i(r).be("tooltip","trigger"))},[te(p.$slots,"default")],2)]),_:3},8,["effect","popper-class","popper-style","persistent"])):(T(),F(ze,{key:1},[te(p.$slots,"default"),te(p.$slots,"title")],64))],2))}});const hz={title:String};var FS=ae({name:"ElMenuItemGroup",__name:"menu-item-group",props:hz,setup(e){const t=me("menu-item-group");return(n,l)=>(T(),F("li",{class:P(i(t).b())},[j("div",{class:P(i(t).e("title"))},[n.$slots.title?te(n.$slots,"title",{key:1}):(T(),F(ze,{key:0},[bt(ke(e.title),1)],64))],2),j("ul",null,[te(n.$slots,"default")])],2))}});const mz=ot(fz,{MenuItem:_S,MenuItemGroup:FS,SubMenu:Sh}),gz=Xt(_S),bz=Xt(FS),yz=Xt(Sh),wz=Se({icon:{type:_t,default:()=>EP},title:String,content:{type:String,default:""}}),Cz={back:()=>!0},Sz=["aria-label"];var kz=ae({name:"ElPageHeader",__name:"page-header",props:wz,emits:Cz,setup(e,{emit:t}){const n=t,{t:l}=wt(),o=me("page-header");function a(){n("back")}return(s,r)=>(T(),F("div",{class:P([i(o).b(),i(o).is("contentful",!!s.$slots.default),{[i(o).m("has-breadcrumb")]:!!s.$slots.breadcrumb,[i(o).m("has-extra")]:!!s.$slots.extra}])},[s.$slots.breadcrumb?(T(),F("div",{key:0,class:P(i(o).e("breadcrumb"))},[te(s.$slots,"breadcrumb")],2)):ne("v-if",!0),j("div",{class:P(i(o).e("header"))},[j("div",{class:P(i(o).e("left"))},[j("div",{class:P(i(o).e("back")),role:"button",tabindex:"0",onClick:a},[e.icon||s.$slots.icon?(T(),F("div",{key:0,"aria-label":e.title||i(l)("el.pageHeader.title"),class:P(i(o).e("icon"))},[te(s.$slots,"icon",{},()=>[e.icon?(T(),le(i(_e),{key:0},{default:ee(()=>[(T(),le(rt(e.icon)))]),_:1})):ne("v-if",!0)])],10,Sz)):ne("v-if",!0),j("div",{class:P(i(o).e("title"))},[te(s.$slots,"title",{},()=>[bt(ke(e.title||i(l)("el.pageHeader.title")),1)])],2)],2),q(i(kS),{direction:"vertical"}),j("div",{class:P(i(o).e("content"))},[te(s.$slots,"content",{},()=>[bt(ke(e.content),1)])],2)],2),s.$slots.extra?(T(),F("div",{key:0,class:P(i(o).e("extra"))},[te(s.$slots,"extra")],2)):ne("v-if",!0)],2),s.$slots.default?(T(),F("div",{key:1,class:P(i(o).e("main"))},[te(s.$slots,"default")],2)):ne("v-if",!0)],2))}});const Ez=ot(kz),zS=Symbol("elPaginationKey"),xz=Se({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:_t}}),Tz={click:e=>e instanceof MouseEvent},$z=["disabled","aria-label","aria-disabled"],Oz={key:0};var Nz=ae({name:"ElPaginationPrev",__name:"prev",props:xz,emits:Tz,setup(e){const t=e,{t:n}=wt(),l=S(()=>t.disabled||t.currentPage<=1);return(o,a)=>(T(),F("button",{type:"button",class:"btn-prev",disabled:l.value,"aria-label":o.prevText||i(n)("el.pagination.prev"),"aria-disabled":l.value,onClick:a[0]||(a[0]=s=>o.$emit("click",s))},[o.prevText?(T(),F("span",Oz,ke(o.prevText),1)):(T(),le(i(_e),{key:1},{default:ee(()=>[(T(),le(rt(o.prevIcon)))]),_:1}))],8,$z))}});const Iz=Se({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:_t}}),Mz=["disabled","aria-label","aria-disabled"],Pz={key:0};var Rz=ae({name:"ElPaginationNext",__name:"next",props:Iz,emits:["click"],setup(e){const t=e,{t:n}=wt(),l=S(()=>t.disabled||t.currentPage===t.pageCount||t.pageCount===0);return(o,a)=>(T(),F("button",{type:"button",class:"btn-next",disabled:l.value,"aria-label":o.nextText||i(n)("el.pagination.next"),"aria-disabled":l.value,onClick:a[0]||(a[0]=s=>o.$emit("click",s))},[o.nextText?(T(),F("span",Pz,ke(o.nextText),1)):(T(),le(i(_e),{key:1},{default:ee(()=>[(T(),le(rt(o.nextIcon)))]),_:1}))],8,Mz))}});const kh=()=>Le(zS,{}),Az=Se({pageSize:{type:Number,required:!0},pageSizes:{type:G(Array),default:()=>en([10,20,30,40,50,100])},popperClass:{type:String},popperStyle:{type:G([String,Object])},disabled:Boolean,teleported:Boolean,size:{type:String,values:Ql},appendSizeTo:String});var Lz=ae({name:"ElPaginationSizes",__name:"sizes",props:Az,emits:["page-size-change"],setup(e,{emit:t}){const n=e,l=t,{t:o}=wt(),a=me("pagination"),s=kh(),r=L(n.pageSize);ue(()=>n.pageSizes,(d,f)=>{if(!Qt(d,f)&&ye(d)){const h=d.includes(n.pageSize)?n.pageSize:n.pageSizes[0];l("page-size-change",h)}}),ue(()=>n.pageSize,d=>{r.value=d});const u=S(()=>n.pageSizes);function c(d){var f;d!==r.value&&(r.value=d,(f=s.handleSizeChange)==null||f.call(s,Number(d)))}return(d,f)=>(T(),F("span",{class:P(i(a).e("sizes"))},[q(i(Ma),{"model-value":r.value,disabled:d.disabled,"popper-class":d.popperClass,"popper-style":d.popperStyle,size:d.size,teleported:d.teleported,"validate-event":!1,"append-to":d.appendSizeTo,onChange:c},{default:ee(()=>[(T(!0),F(ze,null,gt(u.value,h=>(T(),le(i(wc),{key:h,value:h,label:h+i(o)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","popper-style","size","teleported","append-to"])],2))}});const Dz=Se({size:{type:String,values:Ql}}),Bz=["disabled"];var Vz=ae({name:"ElPaginationJumper",__name:"jumper",props:Dz,setup(e){const{t}=wt(),n=me("pagination"),{pageCount:l,disabled:o,currentPage:a,changeEvent:s}=kh(),r=L(),u=S(()=>{var f;return(f=r.value)!=null?f:a==null?void 0:a.value});function c(f){r.value=f?+f:""}function d(f){f=Math.trunc(+f),s==null||s(f),r.value=void 0}return(f,h)=>(T(),F("span",{class:P(i(n).e("jump")),disabled:i(o)},[j("span",{class:P([i(n).e("goto")])},ke(i(t)("el.pagination.goto")),3),q(i(Un),{size:f.size,class:P([i(n).e("editor"),i(n).is("in-pagination")]),min:1,max:i(l),disabled:i(o),"model-value":u.value,"validate-event":!1,"aria-label":i(t)("el.pagination.page"),type:"number","onUpdate:modelValue":c,onChange:d},null,8,["size","class","max","disabled","model-value","aria-label"]),j("span",{class:P([i(n).e("classifier")])},ke(i(t)("el.pagination.pageClassifier")),3)],10,Bz))}});const _z=Se({total:{type:Number,default:1e3}}),Fz=["disabled"];var zz=ae({name:"ElPaginationTotal",__name:"total",props:_z,setup(e){const{t}=wt(),n=me("pagination"),{disabled:l}=kh();return(o,a)=>(T(),F("span",{class:P(i(n).e("total")),disabled:i(l)},ke(i(t)("el.pagination.total",{total:o.total})),11,Fz))}});const Hz=Se({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),Kz=["aria-current","aria-label","tabindex"],Wz=["tabindex","aria-label"],jz=["aria-current","aria-label","tabindex"],Yz=["tabindex","aria-label"],Uz=["aria-current","aria-label","tabindex"];var qz=ae({name:"ElPaginationPager",__name:"pager",props:Hz,emits:[ht],setup(e,{emit:t}){const n=e,l=t,o=me("pager"),a=me("icon"),{t:s}=wt(),r=L(!1),u=L(!1),c=L(!1),d=L(!1),f=L(!1),h=L(!1),m=S(()=>{const k=n.pagerCount,E=(k-1)/2,x=Number(n.currentPage),$=Number(n.pageCount);let R=!1,I=!1;$>k&&(x>k-E&&(R=!0),x<$-E&&(I=!0));const A=[];if(R&&!I){const O=$-(k-2);for(let D=O;D<$;D++)A.push(D)}else if(!R&&I)for(let O=2;O["more","btn-quickprev",a.b(),o.is("disabled",n.disabled)]),p=S(()=>["more","btn-quicknext",a.b(),o.is("disabled",n.disabled)]),g=S(()=>n.disabled?-1:0);ue(()=>[n.pageCount,n.pagerCount,n.currentPage],([k,E,x])=>{const $=(E-1)/2;let R=!1,I=!1;k>E&&(R=x>E-$,I=x$&&(x=$)),x!==R&&l(ht,x)}return(k,E)=>(T(),F("ul",{class:P(i(o).b()),onClick:y,onKeyup:Jt(w,["enter"])},[k.pageCount>0?(T(),F("li",{key:0,class:P([[i(o).is("active",k.currentPage===1),i(o).is("disabled",k.disabled)],"number"]),"aria-current":k.currentPage===1,"aria-label":i(s)("el.pagination.currentPage",{pager:1}),tabindex:g.value}," 1 ",10,Kz)):ne("v-if",!0),r.value?(T(),F("li",{key:1,class:P(v.value),tabindex:g.value,"aria-label":i(s)("el.pagination.prevPages",{pager:k.pagerCount-2}),onMouseenter:E[0]||(E[0]=x=>b(!0)),onMouseleave:E[1]||(E[1]=x=>c.value=!1),onFocus:E[2]||(E[2]=x=>C(!0)),onBlur:E[3]||(E[3]=x=>f.value=!1)},[(c.value||f.value)&&!k.disabled?(T(),le(i($a),{key:0})):(T(),le(i(Og),{key:1}))],42,Wz)):ne("v-if",!0),(T(!0),F(ze,null,gt(m.value,x=>(T(),F("li",{key:x,class:P([[i(o).is("active",k.currentPage===x),i(o).is("disabled",k.disabled)],"number"]),"aria-current":k.currentPage===x,"aria-label":i(s)("el.pagination.currentPage",{pager:x}),tabindex:g.value},ke(x),11,jz))),128)),u.value?(T(),F("li",{key:2,class:P(p.value),tabindex:g.value,"aria-label":i(s)("el.pagination.nextPages",{pager:k.pagerCount-2}),onMouseenter:E[4]||(E[4]=x=>b()),onMouseleave:E[5]||(E[5]=x=>d.value=!1),onFocus:E[6]||(E[6]=x=>C()),onBlur:E[7]||(E[7]=x=>h.value=!1)},[(d.value||h.value)&&!k.disabled?(T(),le(i(Oa),{key:0})):(T(),le(i(Og),{key:1}))],42,Yz)):ne("v-if",!0),k.pageCount>1?(T(),F("li",{key:3,class:P([[i(o).is("active",k.currentPage===k.pageCount),i(o).is("disabled",k.disabled)],"number"]),"aria-current":k.currentPage===k.pageCount,"aria-label":i(s)("el.pagination.currentPage",{pager:k.pageCount}),tabindex:g.value},ke(k.pageCount),11,Uz)):ne("v-if",!0)],34))}});const Jn=e=>typeof e!="number",Gz=Se({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>We(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:G(Array),default:()=>en([10,20,30,40,50,100])},popperClass:{type:String,default:""},popperStyle:{type:G([String,Object])},prevText:{type:String,default:""},prevIcon:{type:_t,default:()=>qo},nextText:{type:String,default:""},nextIcon:{type:_t,default:()=>Gn},teleported:{type:Boolean,default:!0},small:Boolean,size:gn,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),Xz={"update:current-page":e=>We(e),"update:page-size":e=>We(e),"size-change":e=>We(e),change:(e,t)=>We(e)&&We(t),"current-change":e=>We(e),"prev-click":e=>We(e),"next-click":e=>We(e)},Lb="ElPagination";var Zz=ae({name:Lb,props:Gz,emits:Xz,setup(e,{emit:t,slots:n}){const{t:l}=wt(),o=me("pagination"),a=ct().vnode.props||{},s=a1(),r=S(()=>{var k;return e.small?"small":(k=e.size)!=null?k:s.value});po({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},S(()=>!!e.small));const u="onUpdate:currentPage"in a||"onUpdate:current-page"in a||"onCurrentChange"in a,c="onUpdate:pageSize"in a||"onUpdate:page-size"in a||"onSizeChange"in a,d=S(()=>{if(Jn(e.total)&&Jn(e.pageCount)||!Jn(e.currentPage)&&!u)return!1;if(e.layout.includes("sizes")){if(Jn(e.pageCount)){if(!Jn(e.total)&&!Jn(e.pageSize)&&!c)return!1}else if(!c)return!1}return!0}),f=L(Jn(e.defaultPageSize)?10:e.defaultPageSize),h=L(Jn(e.defaultCurrentPage)?1:e.defaultCurrentPage),m=S({get(){return Jn(e.pageSize)?f.value:e.pageSize},set(k){Jn(e.pageSize)&&(f.value=k),c&&(t("update:page-size",k),t("size-change",k))}}),v=S(()=>{let k=0;return Jn(e.pageCount)?Jn(e.total)||(k=Math.max(1,Math.ceil(e.total/m.value))):k=e.pageCount,k}),p=S({get(){return Jn(e.currentPage)?h.value:e.currentPage},set(k){let E=k;k<1?E=1:k>v.value&&(E=v.value),Jn(e.currentPage)&&(h.value=E),u&&(t("update:current-page",E),t("current-change",E))}});ue(v,k=>{p.value>k&&(p.value=k)}),ue([p,m],k=>{t(ht,...k)},{flush:"post"});function g(k){p.value=k}function b(k){m.value=k;const E=v.value;p.value>E&&(p.value=E)}function C(){e.disabled||(p.value-=1,t("prev-click",p.value))}function w(){e.disabled||(p.value+=1,t("next-click",p.value))}function y(k,E){k&&(k.props||(k.props={}),k.props.class=[k.props.class,E].join(" "))}return yt(zS,{pageCount:v,disabled:S(()=>e.disabled),currentPage:p,changeEvent:g,handleSizeChange:b}),()=>{var k,E;if(!d.value)return l("el.pagination.deprecationWarning"),null;if(!e.layout||e.hideOnSinglePage&&v.value<=1)return null;const x=[],$=[],R=Ge("div",{class:o.e("rightwrapper")},$),I={prev:Ge(Nz,{disabled:e.disabled,currentPage:p.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:C}),jumper:Ge(Vz,{size:r.value}),pager:Ge(qz,{currentPage:p.value,pageCount:v.value,pagerCount:e.pagerCount,onChange:g,disabled:e.disabled}),next:Ge(Rz,{disabled:e.disabled,currentPage:p.value,pageCount:v.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:w}),sizes:Ge(Lz,{pageSize:m.value,pageSizes:e.pageSizes,popperClass:e.popperClass,popperStyle:e.popperStyle,disabled:e.disabled,teleported:e.teleported,size:r.value,appendSizeTo:e.appendSizeTo}),slot:(E=(k=n==null?void 0:n.default)==null?void 0:k.call(n))!=null?E:null,total:Ge(zz,{total:Jn(e.total)?0:e.total})},A=e.layout.split(",").map(D=>D.trim());let O=!1;return A.forEach(D=>{if(D==="->"){O=!0;return}O?$.push(I[D]):x.push(I[D])}),y(x[0],o.is("first")),y(x[x.length-1],o.is("last")),O&&$.length>0&&(y($[0],o.is("first")),y($[$.length-1],o.is("last")),x.push(R)),Ge("div",{class:[o.b(),o.is("background",e.background),o.m(r.value)]},x)}}});const Jz=ot(Zz),Qz=Se({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:qf,default:"primary"},cancelButtonType:{type:String,values:qf,default:"text"},icon:{type:_t,default:()=>rR},iconColor:{type:String,default:"#f90"},hideIcon:Boolean,hideAfter:{type:Number,default:200},effect:{...Bt.effect,default:"light"},teleported:Bt.teleported,persistent:Bt.persistent,width:{type:[String,Number],default:150},virtualTriggering:vo.virtualTriggering,virtualRef:vo.virtualRef}),e5={confirm:e=>e instanceof MouseEvent,cancel:e=>e instanceof MouseEvent};var t5=ae({name:"ElPopconfirm",__name:"popconfirm",props:Qz,emits:e5,setup(e,{expose:t,emit:n}){const l=e,o=n,{t:a}=wt(),s=me("popconfirm"),r=L(),u=L(),c=S(()=>{var b;return(b=i(r))==null?void 0:b.popperRef}),d=()=>{var b,C;(C=(b=u.value)==null?void 0:b.focus)==null||C.call(b)},f=()=>{var b,C;(C=(b=r.value)==null?void 0:b.onClose)==null||C.call(b)},h=S(()=>({width:tn(l.width)})),m=b=>{o("confirm",b),f()},v=b=>{o("cancel",b),f()},p=S(()=>l.confirmButtonText||a("el.popconfirm.confirmButtonText")),g=S(()=>l.cancelButtonText||a("el.popconfirm.cancelButtonText"));return t({popperRef:c,hide:f}),(b,C)=>(T(),le(i(xn),ut({ref_key:"tooltipRef",ref:r,trigger:"click",effect:e.effect},b.$attrs,{"virtual-triggering":e.virtualTriggering,"virtual-ref":e.virtualRef,"popper-class":`${i(s).namespace.value}-popover`,"popper-style":h.value,teleported:e.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":e.hideAfter,persistent:e.persistent,loop:"",onShow:d}),{content:ee(()=>[j("div",{ref_key:"rootRef",ref:u,tabindex:"-1",class:P(i(s).b())},[j("div",{class:P(i(s).e("main"))},[!e.hideIcon&&e.icon?(T(),le(i(_e),{key:0,class:P(i(s).e("icon")),style:je({color:e.iconColor})},{default:ee(()=>[(T(),le(rt(e.icon)))]),_:1},8,["class","style"])):ne("v-if",!0),bt(" "+ke(e.title),1)],2),j("div",{class:P(i(s).e("action"))},[te(b.$slots,"actions",{confirm:m,cancel:v},()=>[q(i(Cn),{size:"small",type:e.cancelButtonType==="text"?"":e.cancelButtonType,text:e.cancelButtonType==="text",onClick:v},{default:ee(()=>[bt(ke(g.value),1)]),_:1},8,["type","text"]),q(i(Cn),{size:"small",type:e.confirmButtonType==="text"?"":e.confirmButtonType,text:e.confirmButtonType==="text",onClick:m},{default:ee(()=>[bt(ke(p.value),1)]),_:1},8,["type","text"])])],2)],2)]),default:ee(()=>[b.$slots.reference?te(b.$slots,"reference",{key:0}):ne("v-if",!0)]),_:3},16,["effect","virtual-triggering","virtual-ref","popper-class","popper-style","teleported","hide-after","persistent"]))}});const n5=ot(t5),l5=Se({trigger:vo.trigger,triggerKeys:vo.triggerKeys,placement:ju.placement,disabled:vo.disabled,visible:Bt.visible,transition:Bt.transition,popperOptions:ju.popperOptions,tabindex:ju.tabindex,content:Bt.content,popperStyle:Bt.popperStyle,popperClass:Bt.popperClass,enterable:{...Bt.enterable,default:!0},effect:{...Bt.effect,default:"light"},teleported:Bt.teleported,appendTo:Bt.appendTo,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),o5={"update:visible":e=>Vt(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},a5="onUpdate:visible";var s5=ae({name:"ElPopover",__name:"popover",props:l5,emits:o5,setup(e,{expose:t,emit:n}){const l=e,o=n,a=S(()=>l[a5]),s=me("popover"),r=L(),u=S(()=>{var b;return(b=i(r))==null?void 0:b.popperRef}),c=S(()=>[{width:tn(l.width)},l.popperStyle]),d=S(()=>[s.b(),l.popperClass,{[s.m("plain")]:!!l.content}]),f=S(()=>l.transition===`${s.namespace.value}-fade-in-linear`),h=()=>{var b;(b=r.value)==null||b.hide()},m=()=>{o("before-enter")},v=()=>{o("before-leave")},p=()=>{o("after-enter")},g=()=>{o("update:visible",!1),o("after-leave")};return t({popperRef:u,hide:h}),(b,C)=>(T(),le(i(xn),ut({ref_key:"tooltipRef",ref:r},b.$attrs,{trigger:e.trigger,"trigger-keys":e.triggerKeys,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":d.value,"popper-style":c.value,teleported:e.teleported,"append-to":e.appendTo,persistent:e.persistent,"gpu-acceleration":f.value,"onUpdate:visible":a.value,onBeforeShow:m,onBeforeHide:v,onShow:p,onHide:g}),{content:ee(()=>[e.title?(T(),F("div",{key:0,class:P(i(s).e("title")),role:"title"},ke(e.title),3)):ne("v-if",!0),te(b.$slots,"default",{},()=>[bt(ke(e.content),1)])]),default:ee(()=>[b.$slots.reference?te(b.$slots,"reference",{key:0}):ne("v-if",!0)]),_:3},16,["trigger","trigger-keys","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","append-to","persistent","gpu-acceleration","onUpdate:visible"]))}});const Db=(e,t)=>{const n=t.arg||t.value,l=n==null?void 0:n.popperRef;l&&(l.triggerRef=e)};var r5={mounted(e,t){Db(e,t)},updated(e,t){Db(e,t)}};const i5="popover",HS=dP(r5,i5),u5=ot(s5,{directive:HS}),c5=Se({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:G(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:G([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:G(Function),default:e=>`${e}%`}}),d5=["aria-valuenow"],f5={viewBox:"0 0 100 100"},v5=["d","stroke","stroke-linecap","stroke-width"],p5=["d","stroke","opacity","stroke-linecap","stroke-width"],h5={key:0};var m5=ae({name:"ElProgress",__name:"progress",props:c5,setup(e){const t={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},n=e,l=me("progress"),o=S(()=>{const w={width:`${n.percentage}%`,animationDuration:`${n.duration}s`},y=C(n.percentage);return y.includes("gradient")?w.background=y:w.backgroundColor=y,w}),a=S(()=>(n.strokeWidth/n.width*100).toFixed(1)),s=S(()=>["circle","dashboard"].includes(n.type)?Number.parseInt(`${50-Number.parseFloat(a.value)/2}`,10):0),r=S(()=>{const w=s.value,y=n.type==="dashboard";return` - M 50 50 - m 0 ${y?"":"-"}${w} - a ${w} ${w} 0 1 1 0 ${y?"-":""}${w*2} - a ${w} ${w} 0 1 1 0 ${y?"":"-"}${w*2} - `}),u=S(()=>2*Math.PI*s.value),c=S(()=>n.type==="dashboard"?.75:1),d=S(()=>`${-1*u.value*(1-c.value)/2}px`),f=S(()=>({strokeDasharray:`${u.value*c.value}px, ${u.value}px`,strokeDashoffset:d.value})),h=S(()=>({strokeDasharray:`${u.value*c.value*(n.percentage/100)}px, ${u.value}px`,strokeDashoffset:d.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),m=S(()=>{let w;return n.color?w=C(n.percentage):w=t[n.status]||t.default,w}),v=S(()=>n.status==="warning"?cd:n.type==="line"?n.status==="success"?Dp:Eo:n.status==="success"?Gi:Ml),p=S(()=>n.type==="line"?12+n.strokeWidth*.4:n.width*.111111+2),g=S(()=>n.format(n.percentage));function b(w){const y=100/w.length;return w.map((E,x)=>Ve(E)?{color:E,percentage:(x+1)*y}:E).sort((E,x)=>E.percentage-x.percentage)}const C=w=>{var y;const{color:k}=n;if(He(k))return k(w);if(Ve(k))return k;{const E=b(k);for(const x of E)if(x.percentage>w)return x.color;return(y=E[E.length-1])==null?void 0:y.color}};return(w,y)=>(T(),F("div",{class:P([i(l).b(),i(l).m(e.type),i(l).is(e.status),{[i(l).m("without-text")]:!e.showText,[i(l).m("text-inside")]:e.textInside}]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[e.type==="line"?(T(),F("div",{key:0,class:P(i(l).b("bar"))},[j("div",{class:P(i(l).be("bar","outer")),style:je({height:`${e.strokeWidth}px`})},[j("div",{class:P([i(l).be("bar","inner"),{[i(l).bem("bar","inner","indeterminate")]:e.indeterminate},{[i(l).bem("bar","inner","striped")]:e.striped},{[i(l).bem("bar","inner","striped-flow")]:e.stripedFlow}]),style:je(o.value)},[(e.showText||w.$slots.default)&&e.textInside?(T(),F("div",{key:0,class:P(i(l).be("bar","innerText"))},[te(w.$slots,"default",{percentage:e.percentage},()=>[j("span",null,ke(g.value),1)])],2)):ne("v-if",!0)],6)],6)],2)):(T(),F("div",{key:1,class:P(i(l).b("circle")),style:je({height:`${e.width}px`,width:`${e.width}px`})},[(T(),F("svg",f5,[j("path",{class:P(i(l).be("circle","track")),d:r.value,stroke:`var(${i(l).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":e.strokeLinecap,"stroke-width":a.value,fill:"none",style:je(f.value)},null,14,v5),j("path",{class:P(i(l).be("circle","path")),d:r.value,stroke:m.value,fill:"none",opacity:e.percentage?1:0,"stroke-linecap":e.strokeLinecap,"stroke-width":a.value,style:je(h.value)},null,14,p5)]))],6)),(e.showText||w.$slots.default)&&!e.textInside?(T(),F("div",{key:2,class:P(i(l).e("text")),style:je({fontSize:`${p.value}px`})},[te(w.$slots,"default",{percentage:e.percentage},()=>[e.status?(T(),le(i(_e),{key:1},{default:ee(()=>[(T(),le(rt(v.value)))]),_:1})):(T(),F("span",h5,ke(g.value),1))])],6)):ne("v-if",!0)],10,d5))}});const KS=ot(m5),g5=Se({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:G([Array,Object]),default:()=>en(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:G([Array,Object]),default:()=>[yu,yu,yu]},voidIcon:{type:_t,default:()=>kR},disabledVoidIcon:{type:_t,default:()=>yu},disabled:{type:Boolean,default:void 0},allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:G(Array),default:()=>en(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:gn,clearable:Boolean,...Xn(["ariaLabel"])}),b5={[ht]:e=>We(e),[et]:e=>We(e)},y5=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax","tabindex","aria-disabled"],w5=["onMousemove","onClick"];var C5=ae({name:"ElRate",__name:"rate",props:g5,emits:b5,setup(e,{expose:t,emit:n}){function l(N,B){const V=H=>nt(H),z=Object.keys(B).map(H=>+H).filter(H=>{const X=B[H];return(V(X)?X.excluded:!1)?NH-X),Y=B[z[0]];return V(Y)&&Y.value||Y}const o=e,a=n,s=Le(So,void 0),r=hn(),u=me("rate"),{inputId:c,isLabeledByFormItem:d}=kl(o,{formItemContext:s}),f=L(Ua(o.modelValue,0,o.max)),h=L(-1),m=L(!0),v=L([]),p=S(()=>v.value.map(N=>N.$el.clientWidth)),g=S(()=>[u.b(),u.m(r.value)]),b=nn(),C=S(()=>u.cssVarBlock({"void-color":o.voidColor,"disabled-void-color":o.disabledVoidColor,"fill-color":E.value})),w=S(()=>{let N="";return o.showScore?N=o.scoreTemplate.replace(/\{\s*value\s*\}/,b.value?`${o.modelValue}`:`${f.value}`):o.showText&&(N=o.texts[Math.ceil(f.value)-1]),N}),y=S(()=>o.modelValue*100-Math.floor(o.modelValue)*100),k=S(()=>ye(o.colors)?{[o.lowThreshold]:o.colors[0],[o.highThreshold]:{value:o.colors[1],excluded:!0},[o.max]:o.colors[2]}:o.colors),E=S(()=>{const N=l(f.value,k.value);return nt(N)?"":N}),x=S(()=>{let N="";return b.value?N=`${y.value}%`:o.allowHalf&&(N="50%"),{color:E.value,width:N}}),$=S(()=>{let N=ye(o.icons)?[...o.icons]:{...o.icons};return N=uo(N),ye(N)?{[o.lowThreshold]:N[0],[o.highThreshold]:{value:N[1],excluded:!0},[o.max]:N[2]}:N}),R=S(()=>l(o.modelValue,$.value)),I=S(()=>b.value?Ve(o.disabledVoidIcon)?o.disabledVoidIcon:uo(o.disabledVoidIcon):Ve(o.voidIcon)?o.voidIcon:uo(o.voidIcon)),A=S(()=>l(f.value,$.value));function O(N){const B=b.value&&y.value>0&&N-1o.modelValue,V=o.allowHalf&&m.value&&N-.5<=f.value&&N>f.value;return B||V}function D(N){o.clearable&&N===o.modelValue&&(N=0),a(et,N),o.modelValue!==N&&a(ht,N)}function K(N){b.value||(o.allowHalf&&m.value?D(f.value):D(N))}function Z(N){if(b.value)return;const B=Ft(N),V=o.allowHalf?.5:1;let z=f.value;switch(B){case Ce.up:case Ce.right:z+=V;break;case Ce.left:case Ce.down:z-=V;break}if(z=Ua(z,0,o.max),z!==f.value)return N.stopPropagation(),N.preventDefault(),a(et,z),a(ht,z),z}function W(N,B){b.value||(o.allowHalf&&B?(m.value=B.offsetX*2<=p.value[N-1],f.value=m.value?N-.5:N):f.value=N,h.value=N)}function M(){b.value||(o.allowHalf&&(m.value=o.modelValue!==Math.floor(o.modelValue)),f.value=Ua(o.modelValue,0,o.max),h.value=-1)}return ue(()=>o.modelValue,N=>{f.value=Ua(N,0,o.max),m.value=o.modelValue!==Math.floor(o.modelValue)}),o.modelValue||a(et,0),t({setCurrentValue:W,resetCurrentValue:M}),(N,B)=>{var V;return T(),F("div",{id:i(c),class:P([g.value,i(u).is("disabled",i(b))]),role:"slider","aria-label":i(d)?void 0:e.ariaLabel||"rating","aria-labelledby":i(d)?(V=i(s))==null?void 0:V.labelId:void 0,"aria-valuenow":f.value,"aria-valuetext":w.value||void 0,"aria-valuemin":"0","aria-valuemax":e.max,style:je(C.value),tabindex:i(b)?void 0:0,"aria-disabled":i(b),onKeydown:Z},[(T(!0),F(ze,null,gt(e.max,(z,Y)=>(T(),F("span",{key:Y,class:P(i(u).e("item")),onMousemove:H=>W(z,H),onMouseleave:M,onClick:H=>K(z)},[q(i(_e),{ref_for:!0,ref_key:"iconRefs",ref:v,class:P([i(u).e("icon"),{hover:h.value===z},i(u).is("active",z<=f.value),i(u).is("focus-visible",z===Math.ceil(f.value||1))])},{default:ee(()=>[it((T(),le(rt(A.value),null,null,512)),[[$t,!O(z)&&z<=f.value]]),it((T(),le(rt(I.value),null,null,512)),[[$t,!O(z)&&z>f.value]]),it((T(),le(rt(I.value),{class:P([i(u).em("decimal","box")])},null,8,["class"])),[[$t,O(z)]]),it(q(i(_e),{style:je(x.value),class:P([i(u).e("icon"),i(u).e("decimal")])},{default:ee(()=>[(T(),le(rt(R.value)))]),_:1},8,["style","class"]),[[$t,O(z)]])]),_:2},1032,["class"])],42,w5))),128)),e.showText||e.showScore?(T(),F("span",{key:0,class:P(i(u).e("text")),style:je({color:e.textColor})},ke(w.value),7)):ne("v-if",!0)],46,y5)}}});const S5=ot(C5),Wa={primary:"icon-primary",success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},Bb={[Wa.primary]:hi,[Wa.success]:PP,[Wa.warning]:cd,[Wa.error]:Bp,[Wa.info]:hi},k5=Se({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["primary","success","warning","info","error"],default:"info"}});var E5=ae({name:"ElResult",__name:"result",props:k5,setup(e){const t=e,n=me("result"),l=S(()=>{const o=t.icon,a=o&&Wa[o]?Wa[o]:"icon-info",s=Bb[a]||Bb["icon-info"];return{class:a,component:s}});return(o,a)=>(T(),F("div",{class:P(i(n).b())},[j("div",{class:P(i(n).e("icon"))},[te(o.$slots,"icon",{},()=>[l.value.component?(T(),le(rt(l.value.component),{key:0,class:P(l.value.class)},null,8,["class"])):ne("v-if",!0)])],2),e.title||o.$slots.title?(T(),F("div",{key:0,class:P(i(n).e("title"))},[te(o.$slots,"title",{},()=>[j("p",null,ke(e.title),1)])],2)):ne("v-if",!0),e.subTitle||o.$slots["sub-title"]?(T(),F("div",{key:1,class:P(i(n).e("subtitle"))},[te(o.$slots,"sub-title",{},()=>[j("p",null,ke(e.subTitle),1)])],2)):ne("v-if",!0),o.$slots.extra?(T(),F("div",{key:2,class:P(i(n).e("extra"))},[te(o.$slots,"extra")],2)):ne("v-if",!0)],2))}});const x5=ot(E5),T5=["start","center","end","space-around","space-between","space-evenly"],$5=["top","middle","bottom"],O5=Se({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:T5,default:"start"},align:{type:String,values:$5}});var N5=ae({name:"ElRow",__name:"row",props:O5,setup(e){const t=e,n=me("row"),l=S(()=>t.gutter);yt(DC,{gutter:l});const o=S(()=>{const s={};return t.gutter&&(s.marginRight=s.marginLeft=`-${t.gutter/2}px`),s}),a=S(()=>[n.b(),n.is(`justify-${t.justify}`,t.justify!=="start"),n.is(`align-${t.align}`,!!t.align)]);return(s,r)=>(T(),le(rt(e.tag),{class:P(a.value),style:je(o.value)},{default:ee(()=>[te(s.$slots,"default")]),_:3},8,["class","style"]))}});const I5=ot(N5);var M5=ae({props:{item:{type:Object,required:!0},style:{type:Object},height:Number},setup(){return{ns:me("select")}}});function P5(e,t,n,l,o,a){return T(),F("div",{class:P(e.ns.be("group","title")),style:je({...e.style,lineHeight:`${e.height}px`})},ke(e.item.label),7)}var R5=bn(M5,[["render",P5]]);function A5(e,{emit:t}){return{hoverItem:()=>{e.disabled||t("hover",e.index)},selectOptionClick:()=>{e.disabled||t("select",e.item,e.index)}}}const L5=Se({allowCreate:Boolean,autocomplete:{type:G(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:_t,default:Eo},effect:{type:G(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,tagTooltip:{type:G(Object),default:()=>({})},maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:{type:Boolean,default:void 0},estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:{type:G(Function)},height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:G([Array,String,Number,Boolean,Object]),default:void 0},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:{type:G(Function)},reserveKeyword:{type:Boolean,default:!0},options:{type:G(Array),required:!0},placeholder:{type:String},teleported:Bt.teleported,persistent:{type:Boolean,default:!0},popperClass:Bt.popperClass,popperStyle:Bt.popperStyle,popperOptions:{type:G(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},size:gn,props:{type:G(Object),default:()=>yc},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},offset:{type:Number,default:12},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},placement:{type:G(String),values:xo,default:"bottom-start"},fallbackPlacements:{type:G(Array),default:["bottom-start","top-start","right","left"]},tagType:{...Xo.type,default:"info"},tagEffect:{...Xo.effect,default:"light"},tabindex:{type:[String,Number],default:0},appendTo:Bt.appendTo,fitInputWidth:{type:[Boolean,Number],default:!0,validator(e){return Vt(e)||We(e)}},suffixIcon:{type:_t,default:ko},...ws,...Xn(["ariaLabel"])}),D5=Se({data:Array,disabled:Boolean,hovering:Boolean,item:{type:G(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),B5={[et]:e=>!0,[ht]:e=>!0,"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},V5={hover:e=>We(e),select:(e,t)=>!0},Eh=Symbol("ElSelectV2Injection");var _5=ae({props:D5,emits:V5,setup(e,{emit:t}){const n=Le(Eh),l=me("select"),{hoverItem:o,selectOptionClick:a}=A5(e,{emit:t}),{getLabel:s}=eu(n.props),r=n.contentId;return{ns:l,contentId:r,hoverItem:o,selectOptionClick:a,getLabel:s}}});const F5=["id","aria-selected","aria-disabled"];function z5(e,t,n,l,o,a){return T(),F("li",{id:`${e.contentId}-${e.index}`,role:"option","aria-selected":e.selected,"aria-disabled":e.disabled||void 0,style:je(e.style),class:P([e.ns.be("dropdown","item"),e.ns.is("selected",e.selected),e.ns.is("disabled",e.disabled),e.ns.is("created",e.created),e.ns.is("hovering",e.hovering)]),onMousemove:t[0]||(t[0]=(...s)=>e.hoverItem&&e.hoverItem(...s)),onClick:t[1]||(t[1]=Je((...s)=>e.selectOptionClick&&e.selectOptionClick(...s),["stop"]))},[te(e.$slots,"default",{item:e.item,index:e.index,disabled:e.disabled},()=>[j("span",null,ke(e.getLabel(e.item)),1)])],46,F5)}var H5=bn(_5,[["render",z5]]),Vb=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function K5(e,t){return!!(e===t||Vb(e)&&Vb(t))}function W5(e,t){if(e.length!==t.length)return!1;for(var n=0;n{const t=ct().proxy.$props;return S(()=>{const n=(l,o,a)=>({});return t.perfMode?ld(n):j5(n)})},dv=50,Oc="itemRendered",Nc="scroll",Ls="forward",Ic="backward",Ol="auto",kd="smart",ki="start",io="center",Ei="end",rr="horizontal",jS="vertical",Y5="ltr",Ks="rtl",xi="negative",xh="positive-ascending",Th="positive-descending",U5={[rr]:"left",[jS]:"top"},q5=20,YS=({atEndEdge:e,atStartEdge:t,layout:n},l)=>{let o,a=0;const s=u=>u<0&&t.value||u>0&&e.value;return{hasReachedEdge:s,onWheel:u=>{Uo(o);let{deltaX:c,deltaY:d}=u;u.shiftKey&&d!==0&&(c=d,d=0);const f=n.value===rr?c:d;s(f)||(a+=f,!vd()&&f!==0&&u.preventDefault(),o=yo(()=>{l(a),a=0}))}}},fv=Jl({type:G([Number,Function]),required:!0}),vv=Jl({type:Number}),pv=Jl({type:Number,default:2}),G5=Jl({type:String,values:["ltr","rtl"],default:"ltr"}),hv=Jl({type:Number,default:0}),Mc=Jl({type:Number,required:!0}),US=Jl({type:String,values:["horizontal","vertical"],default:jS}),qS=Se({className:{type:String,default:""},containerElement:{type:G([String,Object]),default:"div"},data:{type:G(Array),default:()=>en([])},direction:G5,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},innerProps:{type:G(Object),default:()=>({})},style:{type:G([Object,String,Array])},useIsScrolling:Boolean,width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),GS=Se({cache:pv,estimatedItemSize:vv,layout:US,initScrollOffset:hv,total:Mc,itemSize:fv,...qS}),mv={type:Number,default:6},XS={type:Number,default:0},ZS={type:Number,default:2},ls=Se({columnCache:pv,columnWidth:fv,estimatedColumnWidth:vv,estimatedRowHeight:vv,initScrollLeft:hv,initScrollTop:hv,itemKey:{type:G(Function),default:({columnIndex:e,rowIndex:t})=>`${t}:${e}`},rowCache:pv,rowHeight:fv,totalColumn:Mc,totalRow:Mc,hScrollbarSize:mv,vScrollbarSize:mv,scrollbarStartGap:XS,scrollbarEndGap:ZS,role:String,...qS}),JS=Se({alwaysOn:Boolean,class:String,layout:US,total:Mc,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize:mv,startGap:XS,endGap:ZS,visible:Boolean}),Xa=(e,t)=>ee===Y5||e===Ks||e===rr,_b=e=>e===Ks;let Os=null;function Pc(e=!1){if(Os===null||e){const t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";const l=document.createElement("div"),o=l.style;return o.width="100px",o.height="100px",t.appendChild(l),document.body.appendChild(t),t.scrollLeft>0?Os=Th:(t.scrollLeft=1,t.scrollLeft===0?Os=xi:Os=xh),document.body.removeChild(t),Os}return Os}function X5({move:e,size:t,bar:n},l){const o={},a=`translate${n.axis}(${e}px)`;return o[n.size]=t,o.transform=a,l==="horizontal"?o.height="100%":o.width="100%",o}const gv=ae({name:"ElVirtualScrollBar",props:JS,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const n=S(()=>e.startGap+e.endGap),l=me("virtual-scrollbar"),o=me("scrollbar"),a=L(),s=L();let r=null,u=null;const c=Nt({isDragging:!1,traveled:0}),d=S(()=>F1[e.layout]),f=S(()=>e.clientSize-i(n)),h=S(()=>({position:"absolute",width:`${rr===e.layout?f.value:e.scrollbarSize}px`,height:`${rr===e.layout?e.scrollbarSize:f.value}px`,[U5[e.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),m=S(()=>{const E=e.ratio;if(E>=100)return Number.POSITIVE_INFINITY;if(E>=50)return E*f.value/100;const x=f.value/3;return Math.floor(Math.min(Math.max(E*f.value/100,q5),x))}),v=S(()=>{if(!Number.isFinite(m.value))return{display:"none"};const E=`${m.value}px`;return X5({bar:d.value,size:E,move:c.traveled},e.layout)}),p=S(()=>Math.ceil(e.clientSize-m.value-i(n))),g=()=>{window.addEventListener("mousemove",y),window.addEventListener("mouseup",w);const E=i(s);E&&(u=document.onselectstart,document.onselectstart=()=>!1,E.addEventListener("touchmove",y,{passive:!0}),E.addEventListener("touchend",w))},b=()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",w),document.onselectstart=u,u=null;const E=i(s);E&&(E.removeEventListener("touchmove",y),E.removeEventListener("touchend",w))},C=E=>{E.stopImmediatePropagation(),!(E.ctrlKey||[1,2].includes(E.button))&&(c.isDragging=!0,c[d.value.axis]=E.currentTarget[d.value.offset]-(E[d.value.client]-E.currentTarget.getBoundingClientRect()[d.value.direction]),t("start-move"),g())},w=()=>{c.isDragging=!1,c[d.value.axis]=0,t("stop-move"),b()},y=E=>{const{isDragging:x}=c;if(!x||!s.value||!a.value)return;const $=c[d.value.axis];if(!$)return;Uo(r);const R=(a.value.getBoundingClientRect()[d.value.direction]-E[d.value.client])*-1,I=s.value[d.value.offset]-$,A=R-I;r=yo(()=>{c.traveled=Math.max(0,Math.min(A,p.value)),t("scroll",A,p.value)})},k=E=>{const x=Math.abs(E.target.getBoundingClientRect()[d.value.direction]-E[d.value.client]),$=s.value[d.value.offset]/2,R=x-$;c.traveled=Math.max(0,Math.min(R,p.value)),t("scroll",R,p.value)};return ue(()=>e.scrollFrom,E=>{c.isDragging||(c.traveled=Math.ceil(E*p.value))}),Pt(()=>{b()}),()=>Ge("div",{role:"presentation",ref:a,class:[l.b(),e.class,(e.alwaysOn||c.isDragging)&&"always-on"],style:h.value,onMousedown:Je(k,["stop","prevent"]),onTouchstartPrevent:C},Ge("div",{ref:s,class:o.e("thumb"),style:v.value,onMousedown:C},[]))}}),QS=({name:e,getOffset:t,getItemSize:n,getItemOffset:l,getEstimatedTotalSize:o,getStartIndexForOffset:a,getStopIndexForStartIndex:s,initCache:r,clearCache:u,validateProps:c})=>ae({name:e??"ElVirtualList",props:GS,emits:[Oc,Nc],setup(d,{emit:f,expose:h}){c(d);const m=ct(),v=me("vl"),p=L(r(d,m)),g=WS(),b=L(),C=L(),w=L(),y=L({isScrolling:!1,scrollDir:"forward",scrollOffset:We(d.initScrollOffset)?d.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:d.scrollbarAlwaysOn}),k=S(()=>{const{total:H,cache:X}=d,{isScrolling:J,scrollDir:se,scrollOffset:re}=i(y);if(H===0)return[0,0,0,0];const fe=a(d,re,i(p)),ce=s(d,fe,re,i(p)),oe=!J||se===Ic?Math.max(1,X):1,U=!J||se===Ls?Math.max(1,X):1;return[Math.max(0,fe-oe),Math.max(0,Math.min(H-1,ce+U)),fe,ce]}),E=S(()=>o(d,i(p))),x=S(()=>Ti(d.layout)),$=S(()=>[{position:"relative",[`overflow-${x.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:d.direction,height:We(d.height)?`${d.height}px`:d.height,width:We(d.width)?`${d.width}px`:d.width},d.style]),R=S(()=>{const H=i(E),X=i(x);return{height:X?"100%":`${H}px`,pointerEvents:i(y).isScrolling?"none":void 0,width:X?`${H}px`:"100%",margin:0,boxSizing:"border-box"}}),I=S(()=>x.value?d.width:d.height),{onWheel:A}=YS({atStartEdge:S(()=>y.value.scrollOffset<=0),atEndEdge:S(()=>y.value.scrollOffset>=E.value),layout:S(()=>d.layout)},H=>{var X,J;(J=(X=w.value).onMouseUp)==null||J.call(X),M(Math.min(y.value.scrollOffset+H,E.value-I.value))});At(b,"wheel",A,{passive:!1});const O=()=>{const{total:H}=d;if(H>0){const[re,fe,ce,oe]=i(k);f(Oc,re,fe,ce,oe)}const{scrollDir:X,scrollOffset:J,updateRequested:se}=i(y);f(Nc,X,J,se)},D=H=>{const{clientHeight:X,scrollHeight:J,scrollTop:se}=H.currentTarget,re=i(y);if(re.scrollOffset===se)return;const fe=Math.max(0,Math.min(se,J-X));y.value={...re,isScrolling:!0,scrollDir:Xa(re.scrollOffset,fe),scrollOffset:fe,updateRequested:!1},Re(V)},K=H=>{const{clientWidth:X,scrollLeft:J,scrollWidth:se}=H.currentTarget,re=i(y);if(re.scrollOffset===J)return;const{direction:fe}=d;let ce=J;if(fe===Ks)switch(Pc()){case xi:{ce=-J;break}case Th:{ce=se-X-J;break}}ce=Math.max(0,Math.min(ce,se-X)),y.value={...re,isScrolling:!0,scrollDir:Xa(re.scrollOffset,ce),scrollOffset:ce,updateRequested:!1},Re(V)},Z=H=>{i(x)?K(H):D(H),O()},W=(H,X)=>{const J=(E.value-I.value)/X*H;M(Math.min(E.value-I.value,J))},M=H=>{H=Math.max(H,0),H!==i(y).scrollOffset&&(y.value={...i(y),scrollOffset:H,scrollDir:Xa(i(y).scrollOffset,H),updateRequested:!0},Re(V))},N=(H,X=Ol)=>{const{scrollOffset:J}=i(y);H=Math.max(0,Math.min(H,d.total-1)),M(t(d,H,X,J,i(p)))},B=H=>{const{direction:X,itemSize:J,layout:se}=d,re=g.value(u&&J,u&&se,u&&X);let fe;if(xt(re,String(H)))fe=re[H];else{const ce=l(d,H,i(p)),oe=n(d,H,i(p)),U=i(x),_=X===Ks,Q=U?ce:0;re[H]=fe={position:"absolute",left:_?void 0:`${Q}px`,right:_?`${Q}px`:void 0,top:U?0:`${ce}px`,height:U?"100%":`${oe}px`,width:U?`${oe}px`:"100%"}}return fe},V=()=>{y.value.isScrolling=!1,Re(()=>{g.value(-1,null,null)})},z=()=>{const H=b.value;H&&(H.scrollTop=0)};ft(()=>{if(!Ot)return;const{initScrollOffset:H}=d,X=i(b);We(H)&&X&&(i(x)?X.scrollLeft=H:X.scrollTop=H),O()}),Gl(()=>{const{direction:H,layout:X}=d,{scrollOffset:J,updateRequested:se}=i(y),re=i(b);if(se&&re)if(X===rr)if(H===Ks)switch(Pc()){case xi:{re.scrollLeft=-J;break}case xh:{re.scrollLeft=J;break}default:{const{clientWidth:fe,scrollWidth:ce}=re;re.scrollLeft=ce-fe-J;break}}else re.scrollLeft=J;else re.scrollTop=J}),Li(()=>{i(b).scrollTop=i(y).scrollOffset});const Y={ns:v,clientSize:I,estimatedTotalSize:E,windowStyle:$,windowRef:b,innerRef:C,innerStyle:R,itemsToRender:k,scrollbarRef:w,states:y,getItemStyle:B,onScroll:Z,onScrollbarScroll:W,onWheel:A,scrollTo:M,scrollToItem:N,resetScrollTop:z};return h({windowRef:b,innerRef:C,getItemStyleCache:g,scrollTo:M,scrollToItem:N,resetScrollTop:z,states:y}),Y},render(d){var f;const{$slots:h,className:m,clientSize:v,containerElement:p,data:g,getItemStyle:b,innerElement:C,itemsToRender:w,innerStyle:y,layout:k,total:E,onScroll:x,onScrollbarScroll:$,states:R,useIsScrolling:I,windowStyle:A,ns:O}=d,[D,K]=w,Z=rt(p),W=rt(C),M=[];if(E>0)for(let z=D;z<=K;z++)M.push(Ge(ze,{key:z},(f=h.default)==null?void 0:f.call(h,{data:g,index:z,isScrolling:I?R.isScrolling:void 0,style:b(z)})));const N=[Ge(W,ut(d.innerProps,{style:y,ref:"innerRef"}),Ve(W)?M:{default:()=>M})],B=Ge(gv,{ref:"scrollbarRef",clientSize:v,layout:k,onScroll:$,ratio:v*100/this.estimatedTotalSize,scrollFrom:R.scrollOffset/(this.estimatedTotalSize-v),total:E,alwaysOn:R.scrollbarAlwaysOn}),V=Ge(Z,{class:[O.e("window"),m],style:A,onScroll:x,ref:"windowRef",key:0},Ve(Z)?[N]:{default:()=>[N]});return Ge("div",{key:0,class:[O.e("wrapper"),R.scrollbarAlwaysOn?"always-on":""]},[V,B])}}),e2=QS({name:"ElFixedSizeList",getItemOffset:({itemSize:e},t)=>t*e,getItemSize:({itemSize:e})=>e,getEstimatedTotalSize:({total:e,itemSize:t})=>t*e,getOffset:({height:e,total:t,itemSize:n,layout:l,width:o},a,s,r)=>{const u=Ti(l)?o:e,c=Math.max(0,t*n-u),d=Math.min(c,a*n),f=Math.max(0,(a+1)*n-u);switch(s===kd&&(r>=f-u&&r<=d+u?s=Ol:s=io),s){case ki:return d;case Ei:return f;case io:{const h=Math.round(f+(d-f)/2);return hc+Math.floor(u/2)?c:h}case Ol:default:return r>=f&&r<=d?r:rMath.max(0,Math.min(e-1,Math.floor(n/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:n,layout:l,width:o},a,s)=>{const r=a*n,u=Ti(l)?o:e,c=Math.ceil((u+s-r)/n);return Math.max(0,Math.min(t-1,a+c-1))},initCache(){},clearCache:!0,validateProps(){}}),Ds=(e,t,n)=>{const{itemSize:l}=e,{items:o,lastVisitedIndex:a}=n;if(t>a){let s=0;if(a>=0){const r=o[a];s=r.offset+r.size}for(let r=a+1;r<=t;r++){const u=l(r);o[r]={offset:s,size:u},s+=u}n.lastVisitedIndex=t}return o[t]},Z5=(e,t,n)=>{const{items:l,lastVisitedIndex:o}=t;return(o>0?l[o].offset:0)>=n?t2(e,t,0,o,n):J5(e,t,Math.max(0,o),n)},t2=(e,t,n,l,o)=>{for(;n<=l;){const a=n+Math.floor((l-n)/2),s=Ds(e,a,t).offset;if(s===o)return a;so&&(l=a-1)}return Math.max(0,n-1)},J5=(e,t,n,l)=>{const{total:o}=e;let a=1;for(;n{let o=0;if(l>=e&&(l=e-1),l>=0){const r=t[l];o=r.offset+r.size}const s=(e-l-1)*n;return o+s},Q5=QS({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>Ds(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:Fb,getOffset:(e,t,n,l,o)=>{const{height:a,layout:s,width:r}=e,u=Ti(s)?r:a,c=Ds(e,t,o),d=Fb(e,o),f=Math.max(0,Math.min(d-u,c.offset)),h=Math.max(0,c.offset-u+c.size);switch(n===kd&&(l>=h-u&&l<=f+u?n=Ol:n=io),n){case ki:return f;case Ei:return h;case io:return Math.round(h+(f-h)/2);case Ol:default:return l>=h&&l<=f?l:lZ5(e,n,t),getStopIndexForStartIndex:(e,t,n,l)=>{const{height:o,total:a,layout:s,width:r}=e,u=Ti(s)?r:o,c=Ds(e,t,l),d=n+u;let f=c.offset+c.size,h=t;for(;h{var a,s;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,l-1),(a=t.exposed)==null||a.getItemStyleCache(-1),o&&((s=t.proxy)==null||s.$forceUpdate())},n},clearCache:!1,validateProps:({itemSize:e})=>{}}),eH={loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number,id:String,ariaLabel:String};var tH=ae({name:"ElSelectDropdown",props:eH,setup(e,{slots:t,expose:n}){const l=Le(Eh),o=me("select"),{getLabel:a,getValue:s,getDisabled:r}=eu(l.props),u=L([]),c=L(),d=S(()=>e.data.length);ue(()=>d.value,()=>{var A,O;(O=(A=l.tooltipRef.value)==null?void 0:A.updatePopper)==null||O.call(A)});const f=S(()=>St(l.props.estimatedOptionHeight)),h=S(()=>f.value?{itemSize:l.props.itemHeight}:{estimatedSize:l.props.estimatedOptionHeight,itemSize:A=>u.value[A]}),m=(A=[],O)=>{const{props:{valueKey:D}}=l;return nt(O)?A&&A.some(K=>Ht(fn(K,D))===fn(O,D)):A.includes(O)},v=(A,O)=>{if(nt(O)){const{valueKey:D}=l.props;return fn(A,D)===fn(O,D)}else return A===O},p=(A,O)=>l.props.multiple?m(A,s(O)):v(A,s(O)),g=(A,O)=>{const{disabled:D,multiple:K,multipleLimit:Z}=l.props;return D||!O&&(K?Z>0&&A.length>=Z:!1)},b=A=>e.hoveringIndex===A;n({listRef:c,isSized:f,isItemDisabled:g,isItemHovering:b,isItemSelected:p,scrollToItem:A=>{const O=c.value;O&&O.scrollToItem(A)},resetScrollTop:()=>{const A=c.value;A&&A.resetScrollTop()}});const k=A=>{const{index:O,data:D,style:K}=A,Z=i(f),{itemSize:W,estimatedSize:M}=i(h),{modelValue:N}=l.props,{onSelect:B,onHover:V}=l,z=D[O];if(z.type==="Group")return q(R5,{item:z,style:K,height:Z?W:M},null);const Y=p(N,z),H=g(N,Y),X=b(O);return q(H5,ut(A,{selected:Y,disabled:r(z)||H,created:!!z.created,hovering:X,item:z,onSelect:B,onHover:V}),{default:J=>{var se;return((se=t.default)==null?void 0:se.call(t,J))||q("span",null,[a(z)])}})},{onKeyboardNavigate:E,onKeyboardSelect:x}=l,$=()=>{E("forward")},R=()=>{E("backward")},I=A=>{const O=Ft(A),{tab:D,esc:K,down:Z,up:W,enter:M,numpadEnter:N}=Ce;switch([K,Z,W,M,N].includes(O)&&(A.preventDefault(),A.stopPropagation()),O){case D:case K:break;case Z:$();break;case W:R();break;case M:case N:x();break}};return()=>{var A,O,D,K;const{data:Z,width:W}=e,{height:M,multiple:N,scrollbarAlwaysOn:B}=l.props,V=S(()=>mc?!0:B),z=i(f)?e2:Q5;return q("div",{class:[o.b("dropdown"),o.is("multiple",N)],style:{width:`${W}px`}},[(A=t.header)==null?void 0:A.call(t),((O=t.loading)==null?void 0:O.call(t))||((D=t.empty)==null?void 0:D.call(t))||q(z,ut({ref:c},i(h),{className:o.be("dropdown","list"),scrollbarAlwaysOn:V.value,data:Z,height:M,width:W,total:Z.length,innerElement:"ul",innerProps:{id:e.id,role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},onKeydown:I}),{default:Y=>q(k,Y,null)}),(K=t.footer)==null?void 0:K.call(t)])}}});function nH(e,t){const{aliasProps:n,getLabel:l,getValue:o}=eu(e),a=L(0),s=L(),r=S(()=>e.allowCreate&&e.filterable);ue(()=>e.options,m=>{const v=new Set(m.map(p=>l(p)));t.createdOptions=t.createdOptions.filter(p=>!v.has(l(p)))});function u(m){const v=p=>l(p)===m;return e.options&&e.options.some(v)||t.createdOptions.some(v)}function c(m){r.value&&(e.multiple&&m.created?a.value++:s.value=m)}function d(m){if(r.value)if(m&&m.length>0){if(u(m)){t.createdOptions=t.createdOptions.filter(p=>l(p)!==t.previousQuery);return}const v={[n.value.value]:m,[n.value.label]:m,created:!0,[n.value.disabled]:!1};t.createdOptions.length>=a.value?t.createdOptions[a.value]=v:t.createdOptions.push(v)}else if(e.multiple)t.createdOptions.length=a.value;else{const v=s.value;t.createdOptions.length=0,v&&v.created&&t.createdOptions.push(v)}}function f(m){if(!r.value||!m||!m.created||m.created&&e.reserveKeyword&&t.inputValue===l(m))return;const v=t.createdOptions.findIndex(p=>o(p)===o(m));~v&&(t.createdOptions.splice(v,1),a.value--)}function h(){r.value&&(t.createdOptions.length=0,a.value=0)}return{createNewOption:d,removeNewOption:f,selectNewOption:c,clearAllNewOption:h}}const lH=(e,t)=>{const{t:n}=wt(),l=rn(),o=me("select"),a=me("input"),{form:s,formItem:r}=$n(),{inputId:u}=kl(e,{formItemContext:r}),{aliasProps:c,getLabel:d,getValue:f,getDisabled:h,getOptions:m}=eu(e),{valueOnClear:v,isEmptyValue:p}=Yi(e),g=Nt({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),b=L(-1),C=L(!1),w=L(),y=L(),k=L(),E=L(),x=L(),$=L(),R=L(),I=L(),A=L(),O=L(),{isComposing:D,handleCompositionStart:K,handleCompositionEnd:Z,handleCompositionUpdate:W}=Qi({afterComposition:xe=>qt(xe)}),M=nn(),{wrapperRef:N,isFocused:B,handleBlur:V}=la(x,{disabled:M,afterFocus(){e.automaticDropdown&&!X.value&&(X.value=!0,g.menuVisibleOnFocus=!0)},beforeBlur(xe){var tt,pt;return((tt=k.value)==null?void 0:tt.isFocusInsideContent(xe))||((pt=E.value)==null?void 0:pt.isFocusInsideContent(xe))},afterBlur(){var xe;X.value=!1,g.menuVisibleOnFocus=!1,e.validateEvent&&((xe=r==null?void 0:r.validate)==null||xe.call(r,"blur").catch(tt=>void 0))}}),z=S(()=>$e("")),Y=S(()=>e.loading?!1:e.options.length>0||g.createdOptions.length>0),H=L([]),X=L(!1),J=S(()=>{var xe;return(xe=s==null?void 0:s.statusIcon)!=null?xe:!1}),se=S(()=>{const xe=H.value.length*e.itemHeight;return xe>e.height?e.height:xe}),re=S(()=>e.multiple?ye(e.modelValue)&&e.modelValue.length>0:!p(e.modelValue)),fe=S(()=>e.clearable&&!M.value&&re.value&&(B.value||g.inputHovering)),ce=S(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),oe=S(()=>ce.value&&o.is("reverse",X.value)),U=S(()=>(r==null?void 0:r.validateState)||""),_=S(()=>{if(U.value)return dd[U.value]}),Q=S(()=>e.remote?e.debounce:0),ie=S(()=>e.remote&&!g.inputValue&&!Y.value),he=S(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&g.inputValue&&Y.value&&H.value.length===0?e.noMatchText||n("el.select.noMatch"):Y.value?null:e.noDataText||n("el.select.noData")),pe=S(()=>e.filterable&&He(e.filterMethod)),be=S(()=>e.filterable&&e.remote&&He(e.remoteMethod)),$e=xe=>{const tt=new RegExp(Qp(xe),"i"),pt=Ct=>pe.value||be.value?!0:xe?tt.test(d(Ct)||""):!0;return e.loading?[]:[...g.createdOptions,...e.options].reduce((Ct,En)=>{const El=m(En);if(ye(El)){const kr=El.filter(pt);kr.length>0&&Ct.push({label:d(En),type:"Group"},...kr)}else(e.remote||pt(En))&&Ct.push(En);return Ct},[])},Me=()=>{H.value=$e(g.inputValue)},Ne=S(()=>{const xe=new Map;return z.value.forEach((tt,pt)=>{xe.set(Xe(f(tt)),{option:tt,index:pt})}),xe}),ge=S(()=>{const xe=new Map;return H.value.forEach((tt,pt)=>{xe.set(Xe(f(tt)),{option:tt,index:pt})}),xe}),Te=S(()=>H.value.every(xe=>h(xe))),we=hn(),Pe=S(()=>we.value==="small"?"small":"default"),Fe=()=>{var xe;if(We(e.fitInputWidth)){b.value=e.fitInputWidth;return}const tt=((xe=w.value)==null?void 0:xe.offsetWidth)||200;!e.fitInputWidth&&Y.value?Re(()=>{b.value=Math.max(tt,Ze())}):b.value=tt},Ze=()=>{var xe,tt;const Ct=document.createElement("canvas").getContext("2d"),En=o.be("dropdown","item"),kr=(((tt=(xe=I.value)==null?void 0:xe.listRef)==null?void 0:tt.innerRef)||document).querySelector(`.${En}`);if(kr===null||Ct===null)return 0;const fu=getComputedStyle(kr),Lk=Number.parseFloat(fu.paddingLeft)+Number.parseFloat(fu.paddingRight);return Ct.font=`bold ${fu.font.replace(new RegExp(`\\b${fu.fontWeight}\\b`),"")}`,H.value.reduce((Dk,Bk)=>{const Vk=Ct.measureText(d(Bk));return Math.max(Vk.width,Dk)},0)+Lk},Oe=()=>{if(!y.value)return 0;const xe=window.getComputedStyle(y.value);return Number.parseFloat(xe.gap||"6px")},Ae=S(()=>{const xe=Oe(),tt=e.filterable?xe+md:0;return{maxWidth:`${O.value&&e.maxCollapseTags===1?g.selectionWidth-g.collapseItemWidth-xe-tt:g.selectionWidth-tt}px`}}),Ke=S(()=>({maxWidth:`${g.selectionWidth}px`})),Et=S(()=>ye(e.modelValue)?e.modelValue.length===0&&!g.inputValue:e.filterable?!g.inputValue:!0),It=S(()=>{var xe;const tt=(xe=e.placeholder)!=null?xe:n("el.select.placeholder");return e.multiple||!re.value?tt:g.selectedLabel}),qe=S(()=>{var xe,tt;return(tt=(xe=k.value)==null?void 0:xe.popperRef)==null?void 0:tt.contentRef}),st=S(()=>{if(e.multiple){const xe=e.modelValue.length;if(xe>0&&ge.value.has(e.modelValue[xe-1])){const{index:tt}=ge.value.get(e.modelValue[xe-1]);return tt}}else if(!p(e.modelValue)&&ge.value.has(e.modelValue)){const{index:xe}=ge.value.get(e.modelValue);return xe}return-1}),mt=S({get(){return X.value&&(e.loading||!ie.value||e.remote&&!!l.empty)&&(!C.value||!tl(g.previousQuery))},set(xe){X.value=xe}}),ve=S(()=>e.multiple?e.collapseTags?g.cachedOptions.slice(0,e.maxCollapseTags):g.cachedOptions:[]),De=S(()=>e.multiple?e.collapseTags?g.cachedOptions.slice(e.maxCollapseTags):[]:[]),{createNewOption:de,removeNewOption:Be,selectNewOption:dt,clearAllNewOption:Dt}=nH(e,g),Gt=xe=>{var tt;M.value||e.filterable&&X.value&&xe&&!((tt=R.value)!=null&&tt.contains(xe.target))||(g.menuVisibleOnFocus?g.menuVisibleOnFocus=!1:X.value=!X.value)},Zt=()=>{g.inputValue.length>0&&!X.value&&(X.value=!0),de(g.inputValue),Re(()=>{Ye(g.inputValue)})},Ie=Ki(()=>{Zt(),C.value=!1},Q),Ye=xe=>{g.previousQuery===xe||D.value||(g.previousQuery=xe,e.filterable&&He(e.filterMethod)?e.filterMethod(xe):e.filterable&&e.remote&&He(e.remoteMethod)&&e.remoteMethod(xe),e.defaultFirstOption&&(e.filterable||e.remote)&&H.value.length?Re(at):Re(kt))},at=()=>{const xe=H.value.filter(Ct=>!Ct.disabled&&Ct.type!=="Group"),tt=xe.find(Ct=>Ct.created),pt=xe[0];g.hoveringIndex=Ue(H.value,tt||pt)},Ut=xe=>{Qt(e.modelValue,xe)||t(ht,xe)},Mt=xe=>{t(et,xe),Ut(xe),g.previousValue=e.multiple?String(xe):xe,Re(()=>{if(e.multiple&&ye(e.modelValue)){const tt=g.cachedOptions.slice(),pt=e.modelValue.map(Ct=>to(Ct,tt));Qt(g.cachedOptions,pt)||(g.cachedOptions=pt)}else Ss(!0)})},Ue=(xe=[],tt)=>{if(!nt(tt))return xe.indexOf(tt);const pt=e.valueKey;let Ct=-1;return xe.some((En,El)=>fn(En,pt)===fn(tt,pt)?(Ct=El,!0):!1),Ct},Xe=xe=>nt(xe)?fn(xe,e.valueKey):xe,vt=()=>{Fe()},On=()=>{g.selectionWidth=Number.parseFloat(window.getComputedStyle(y.value).width)},Zn=()=>{g.collapseItemWidth=O.value.getBoundingClientRect().width},Al=()=>{var xe,tt;(tt=(xe=k.value)==null?void 0:xe.updatePopper)==null||tt.call(xe)},uu=()=>{var xe,tt;(tt=(xe=E.value)==null?void 0:xe.updatePopper)==null||tt.call(xe)},Aa=xe=>{const tt=f(xe);if(e.multiple){let pt=e.modelValue.slice();const Ct=Ue(pt,tt);Ct>-1?(pt=[...pt.slice(0,Ct),...pt.slice(Ct+1)],g.cachedOptions.splice(Ct,1),Be(xe)):(e.multipleLimit<=0||pt.length{let pt=e.modelValue.slice();const Ct=Ue(pt,f(tt));Ct>-1&&!M.value&&(pt=[...e.modelValue.slice(0,Ct),...e.modelValue.slice(Ct+1)],g.cachedOptions.splice(Ct,1),Mt(pt),t("remove-tag",f(tt)),Be(tt)),xe.stopPropagation(),$o()},$o=()=>{var xe;(xe=x.value)==null||xe.focus()},Id=()=>{var xe;if(X.value){X.value=!1,Re(()=>{var tt;return(tt=x.value)==null?void 0:tt.blur()});return}(xe=x.value)==null||xe.blur()},Md=()=>{g.inputValue.length>0?g.inputValue="":X.value=!1},Pd=xe=>Kw(xe,tt=>!g.cachedOptions.some(pt=>f(pt)===tt&&h(pt))),Rd=xe=>{const tt=Ft(xe);if(e.multiple&&tt!==Ce.delete&&g.inputValue.length===0){xe.preventDefault();const pt=e.modelValue.slice(),Ct=Pd(pt);if(Ct<0)return;const En=pt[Ct];pt.splice(Ct,1);const El=g.cachedOptions[Ct];g.cachedOptions.splice(Ct,1),Be(El),Mt(pt),t("remove-tag",En)}},Ad=()=>{let xe;ye(e.modelValue)?xe=[]:xe=v.value,g.selectedLabel="",X.value=!1,Mt(xe),t("clear"),Dt(),$o()},La=(xe,tt=void 0)=>{const pt=H.value;if(!["forward","backward"].includes(xe)||M.value||pt.length<=0||Te.value||D.value)return;if(!X.value)return Gt();St(tt)&&(tt=g.hoveringIndex);let Ct=-1;xe==="forward"?(Ct=tt+1,Ct>=pt.length&&(Ct=0)):xe==="backward"&&(Ct=tt-1,(Ct<0||Ct>=pt.length)&&(Ct=pt.length-1));const En=pt[Ct];if(h(En)||En.type==="Group")return La(xe,Ct);g.hoveringIndex=Ct,Pn(Ct)},Ee=()=>{if(X.value)~g.hoveringIndex&&H.value[g.hoveringIndex]&&Aa(H.value[g.hoveringIndex]);else return Gt()},Qe=xe=>{g.hoveringIndex=xe??-1},kt=()=>{if(!e.multiple)g.hoveringIndex=H.value.findIndex(xe=>Xe(f(xe))===Xe(e.modelValue));else{const xe=e.modelValue.length;if(xe>0){const tt=e.modelValue[xe-1];g.hoveringIndex=H.value.findIndex(pt=>Xe(tt)===Xe(f(pt)))}else g.hoveringIndex=-1}},qt=xe=>{if(g.inputValue=xe.target.value,e.remote)C.value=!0,Ie();else return Zt()},on=xe=>{if(X.value=!1,B.value){const tt=new FocusEvent("blur",xe);V(tt)}},Bn=()=>(g.isBeforeHide=!1,Re(()=>{~st.value&&Pn(st.value)})),Pn=xe=>{I.value.scrollToItem(xe)},to=(xe,tt)=>{const pt=Xe(xe);if(Ne.value.has(pt)){const{option:Ct}=Ne.value.get(pt);return Ct}if(tt&&tt.length){const Ct=tt.find(En=>Xe(f(En))===pt);if(Ct)return Ct}return{[c.value.value]:xe,[c.value.label]:xe}},Oo=xe=>{var tt,pt;return(pt=(tt=Ne.value.get(f(xe)))==null?void 0:tt.index)!=null?pt:-1},Ss=(xe=!1)=>{if(e.multiple)if(e.modelValue.length>0){const tt=g.cachedOptions.slice();g.cachedOptions.length=0,g.previousValue=e.modelValue.toString();for(const pt of e.modelValue){const Ct=to(pt,tt);g.cachedOptions.push(Ct)}}else g.cachedOptions=[],g.previousValue=void 0;else if(re.value){g.previousValue=e.modelValue;const tt=H.value,pt=tt.findIndex(Ct=>Xe(f(Ct))===Xe(e.modelValue));~pt?g.selectedLabel=d(tt[pt]):(!g.selectedLabel||xe)&&(g.selectedLabel=Xe(e.modelValue))}else g.selectedLabel="",g.previousValue=void 0;Dt(),Fe()};ue(()=>e.fitInputWidth,()=>{Fe()}),ue(X,xe=>{xe?(e.persistent||Fe(),Ye("")):(g.inputValue="",g.previousQuery=null,g.isBeforeHide=!0,g.menuVisibleOnFocus=!1,de(""))}),ue(()=>e.modelValue,(xe,tt)=>{var pt;(!xe||ye(xe)&&xe.length===0||e.multiple&&!Qt(xe.toString(),g.previousValue)||!e.multiple&&Xe(xe)!==Xe(g.previousValue))&&Ss(!0),!Qt(xe,tt)&&e.validateEvent&&((pt=r==null?void 0:r.validate)==null||pt.call(r,"change").catch(En=>void 0))},{deep:!0}),ue(()=>e.options,()=>{const xe=x.value;(!xe||xe&&document.activeElement!==xe)&&Ss()},{deep:!0,flush:"post"}),ue(()=>H.value,()=>(Fe(),I.value&&Re(I.value.resetScrollTop))),vl(()=>{g.isBeforeHide||Me()}),vl(()=>{const{valueKey:xe,options:tt}=e,pt=new Map;for(const Ct of tt){const En=f(Ct);let El=En;if(nt(El)&&(El=fn(En,xe)),pt.get(El))break;pt.set(El,!0)}}),ft(()=>{Ss()}),Yt(w,vt),Yt(y,On),Yt(N,Al),Yt(A,uu),Yt(O,Zn);let du;return ue(()=>mt.value,xe=>{xe?du=Yt(I,Al).stop:(du==null||du(),du=void 0),t("visible-change",xe)}),{inputId:u,collapseTagSize:Pe,currentPlaceholder:It,expanded:X,emptyText:he,popupHeight:se,debounce:Q,allOptions:z,allOptionsValueMap:Ne,filteredOptions:H,iconComponent:ce,iconReverse:oe,tagStyle:Ae,collapseTagStyle:Ke,popperSize:b,dropdownMenuVisible:mt,hasModelValue:re,shouldShowPlaceholder:Et,selectDisabled:M,selectSize:we,needStatusIcon:J,showClearBtn:fe,states:g,isFocused:B,nsSelect:o,nsInput:a,inputRef:x,menuRef:I,tagMenuRef:A,tooltipRef:k,tagTooltipRef:E,selectRef:w,wrapperRef:N,selectionRef:y,prefixRef:$,suffixRef:R,collapseItemRef:O,popperRef:qe,validateState:U,validateIcon:_,showTagList:ve,collapseTagList:De,debouncedOnInputChange:Ie,deleteTag:cu,getLabel:d,getValue:f,getDisabled:h,getValueKey:Xe,getIndex:Oo,handleClear:Ad,handleClickOutside:on,handleDel:Rd,handleEsc:Md,focus:$o,blur:Id,handleMenuEnter:Bn,handleResize:vt,resetSelectionWidth:On,updateTooltip:Al,updateTagTooltip:uu,updateOptions:Me,toggleMenu:Gt,scrollTo:Pn,onInput:qt,onKeyboardNavigate:La,onKeyboardSelect:Ee,onSelect:Aa,onHover:Qe,handleCompositionStart:K,handleCompositionEnd:Z,handleCompositionUpdate:W}};var oH=ae({name:"ElSelectV2",components:{ElSelectMenu:tH,ElTag:Ho,ElTooltip:xn,ElIcon:_e},directives:{ClickOutside:Ia},props:L5,emits:B5,setup(e,{emit:t}){const n=S(()=>{const{modelValue:u,multiple:c}=e,d=c?[]:void 0;return ye(u)?c?u:d:c?d:u}),l=lH(Nt({...kn(e),modelValue:n}),t),{calculatorRef:o,inputStyle:a}=nh(),s=Mn();yt(Eh,{props:Nt({...kn(e),height:l.popupHeight,modelValue:n}),expanded:l.expanded,tooltipRef:l.tooltipRef,contentId:s,onSelect:l.onSelect,onHover:l.onHover,onKeyboardNavigate:l.onKeyboardNavigate,onKeyboardSelect:l.onKeyboardSelect});const r=S(()=>e.multiple?l.states.cachedOptions.map(u=>l.getLabel(u)):l.states.selectedLabel);return{...l,modelValue:n,selectedLabel:r,calculatorRef:o,inputStyle:a,contentId:s,BORDER_HORIZONTAL_WIDTH:mC}}});const aH=["id","value","autocomplete","tabindex","aria-expanded","aria-label","disabled","aria-controls","aria-activedescendant","readonly","name"],sH=["textContent"],rH={key:1};function iH(e,t,n,l,o,a){const s=Tt("el-tag"),r=Tt("el-tooltip"),u=Tt("el-icon"),c=Tt("el-select-menu"),d=rp("click-outside");return it((T(),F("div",{ref:"selectRef",class:P([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),onMouseenter:t[15]||(t[15]=f=>e.states.inputHovering=!0),onMouseleave:t[16]||(t[16]=f=>e.states.inputHovering=!1)},[q(r,{ref:"tooltipRef",visible:e.dropdownMenuVisible,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,placement:e.placement,pure:"",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t[14]||(t[14]=f=>e.states.isBeforeHide=!1)},{default:ee(()=>{var f,h;return[j("div",{ref:"wrapperRef",class:P([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:t[11]||(t[11]=Je((...m)=>e.toggleMenu&&e.toggleMenu(...m),["prevent"]))},[e.$slots.prefix?(T(),F("div",{key:0,ref:"prefixRef",class:P(e.nsSelect.e("prefix"))},[te(e.$slots,"prefix")],2)):ne("v-if",!0),j("div",{ref:"selectionRef",class:P([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.modelValue.length)])},[e.multiple?te(e.$slots,"tag",{key:0,data:e.states.cachedOptions,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>{var m,v,p,g,b,C,w,y,k,E,x,$,R,I,A,O,D,K,Z,W,M;return[(T(!0),F(ze,null,gt(e.showTagList,N=>(T(),F("div",{key:e.getValueKey(e.getValue(N)),class:P(e.nsSelect.e("selected-item"))},[q(s,{closable:!e.selectDisabled&&!e.getDisabled(N),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:je(e.tagStyle),onClose:B=>e.deleteTag(B,N)},{default:ee(()=>[j("span",{class:P(e.nsSelect.e("tags-text"))},[te(e.$slots,"label",{index:e.getIndex(N),label:e.getLabel(N),value:e.getValue(N)},()=>[bt(ke(e.getLabel(N)),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.cachedOptions.length>e.maxCollapseTags?(T(),le(r,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":(v=(m=e.tagTooltip)==null?void 0:m.fallbackPlacements)!=null?v:["bottom","top","right","left"],effect:(g=(p=e.tagTooltip)==null?void 0:p.effect)!=null?g:e.effect,placement:(C=(b=e.tagTooltip)==null?void 0:b.placement)!=null?C:"bottom","popper-class":(y=(w=e.tagTooltip)==null?void 0:w.popperClass)!=null?y:e.popperClass,"popper-style":(E=(k=e.tagTooltip)==null?void 0:k.popperStyle)!=null?E:e.popperStyle,teleported:($=(x=e.tagTooltip)==null?void 0:x.teleported)!=null?$:e.teleported,"append-to":(I=(R=e.tagTooltip)==null?void 0:R.appendTo)!=null?I:e.appendTo,"popper-options":(O=(A=e.tagTooltip)==null?void 0:A.popperOptions)!=null?O:e.popperOptions,transition:(D=e.tagTooltip)==null?void 0:D.transition,"show-after":(K=e.tagTooltip)==null?void 0:K.showAfter,"hide-after":(Z=e.tagTooltip)==null?void 0:Z.hideAfter,"auto-close":(W=e.tagTooltip)==null?void 0:W.autoClose,offset:(M=e.tagTooltip)==null?void 0:M.offset},{default:ee(()=>[j("div",{ref:"collapseItemRef",class:P(e.nsSelect.e("selected-item"))},[q(s,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,style:je(e.collapseTagStyle),"disable-transitions":""},{default:ee(()=>[j("span",{class:P(e.nsSelect.e("tags-text"))}," + "+ke(e.states.cachedOptions.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:ee(()=>[j("div",{ref:"tagMenuRef",class:P(e.nsSelect.e("selection"))},[(T(!0),F(ze,null,gt(e.collapseTagList,N=>(T(),F("div",{key:e.getValueKey(e.getValue(N)),class:P(e.nsSelect.e("selected-item"))},[q(s,{class:"in-tooltip",closable:!e.selectDisabled&&!e.getDisabled(N),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:B=>e.deleteTag(B,N)},{default:ee(()=>[j("span",{class:P(e.nsSelect.e("tags-text"))},[te(e.$slots,"label",{index:e.getIndex(N),label:e.getLabel(N),value:e.getValue(N)},()=>[bt(ke(e.getLabel(N)),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","fallback-placements","effect","placement","popper-class","popper-style","teleported","append-to","popper-options","transition","show-after","hide-after","auto-close","offset"])):ne("v-if",!0)]}):ne("v-if",!0),j("div",{class:P([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable||e.selectDisabled||!e.states.inputValue&&!e.isFocused)])},[j("input",{id:e.inputId,ref:"inputRef",value:e.states.inputValue,style:je(e.inputStyle),autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-autocomplete":"none","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":e.expanded,"aria-label":e.ariaLabel,class:P([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,role:"combobox","aria-controls":e.contentId,"aria-activedescendant":e.states.hoveringIndex>=0?`${e.contentId}-${e.states.hoveringIndex}`:"",readonly:!e.filterable,spellcheck:"false",type:"text",name:e.name,onInput:t[0]||(t[0]=(...m)=>e.onInput&&e.onInput(...m)),onChange:t[1]||(t[1]=Je(()=>{},["stop"])),onCompositionstart:t[2]||(t[2]=(...m)=>e.handleCompositionStart&&e.handleCompositionStart(...m)),onCompositionupdate:t[3]||(t[3]=(...m)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...m)),onCompositionend:t[4]||(t[4]=(...m)=>e.handleCompositionEnd&&e.handleCompositionEnd(...m)),onKeydown:[t[5]||(t[5]=Jt(Je(m=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),t[6]||(t[6]=Jt(Je(m=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),t[7]||(t[7]=Jt(Je((...m)=>e.onKeyboardSelect&&e.onKeyboardSelect(...m),["stop","prevent"]),["enter"])),t[8]||(t[8]=Jt(Je((...m)=>e.handleEsc&&e.handleEsc(...m),["stop","prevent"]),["esc"])),t[9]||(t[9]=Jt(Je((...m)=>e.handleDel&&e.handleDel(...m),["stop"]),["delete"]))],onClick:t[10]||(t[10]=Je((...m)=>e.toggleMenu&&e.toggleMenu(...m),["stop"]))},null,46,aH),e.filterable?(T(),F("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:P(e.nsSelect.e("input-calculator")),textContent:ke(e.states.inputValue)},null,10,sH)):ne("v-if",!0)],2),e.shouldShowPlaceholder?(T(),F("div",{key:1,class:P([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?te(e.$slots,"label",{key:0,index:(h=(f=e.allOptionsValueMap.get(e.modelValue))==null?void 0:f.index)!=null?h:-1,label:e.currentPlaceholder,value:e.modelValue},()=>[j("span",null,ke(e.currentPlaceholder),1)]):(T(),F("span",rH,ke(e.currentPlaceholder),1))],2)):ne("v-if",!0)],2),j("div",{ref:"suffixRef",class:P(e.nsSelect.e("suffix"))},[e.iconComponent?it((T(),le(u,{key:0,class:P([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.iconReverse])},{default:ee(()=>[(T(),le(rt(e.iconComponent)))]),_:1},8,["class"])),[[$t,!e.showClearBtn]]):ne("v-if",!0),e.showClearBtn&&e.clearIcon?(T(),le(u,{key:1,class:P([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.nsSelect.e("clear")]),onClick:Je(e.handleClear,["prevent","stop"])},{default:ee(()=>[(T(),le(rt(e.clearIcon)))]),_:1},8,["class","onClick"])):ne("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(T(),le(u,{key:2,class:P([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:ee(()=>[(T(),le(rt(e.validateIcon)))]),_:1},8,["class"])):ne("v-if",!0)],2)],2)]}),content:ee(()=>[q(c,{id:e.contentId,ref:"menuRef",data:e.filteredOptions,width:e.popperSize-e.BORDER_HORIZONTAL_WIDTH,"hovering-index":e.states.hoveringIndex,"scrollbar-always-on":e.scrollbarAlwaysOn,"aria-label":e.ariaLabel},ll({default:ee(f=>[te(e.$slots,"default",Vo(_o(f)))]),_:2},[e.$slots.header?{name:"header",fn:ee(()=>[j("div",{class:P(e.nsSelect.be("dropdown","header")),onClick:t[12]||(t[12]=Je(()=>{},["stop"]))},[te(e.$slots,"header")],2)]),key:"0"}:void 0,e.$slots.loading&&e.loading?{name:"loading",fn:ee(()=>[j("div",{class:P(e.nsSelect.be("dropdown","loading"))},[te(e.$slots,"loading")],2)]),key:"1"}:e.loading||e.filteredOptions.length===0?{name:"empty",fn:ee(()=>[j("div",{class:P(e.nsSelect.be("dropdown","empty"))},[te(e.$slots,"empty",{},()=>[j("span",null,ke(e.emptyText),1)])],2)]),key:"2"}:void 0,e.$slots.footer?{name:"footer",fn:ee(()=>[j("div",{class:P(e.nsSelect.be("dropdown","footer")),onClick:t[13]||(t[13]=Je(()=>{},["stop"]))},[te(e.$slots,"footer")],2)]),key:"3"}:void 0]),1032,["id","data","width","hovering-index","scrollbar-always-on","aria-label"])]),_:3},8,["visible","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","placement","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],34)),[[d,e.handleClickOutside,e.popperRef]])}var uH=bn(oH,[["render",iH]]);const cH=ot(uH),dH=Se({animated:Boolean,count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:G([Number,Object])}}),fH=Se({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}});var Rc=ae({name:"ElSkeletonItem",__name:"skeleton-item",props:fH,setup(e){const t=me("skeleton");return(n,l)=>(T(),F("div",{class:P([i(t).e("item"),i(t).e(e.variant)])},[e.variant==="image"?(T(),le(i(oR),{key:0})):ne("v-if",!0)],2))}});const vH=(e,t=0)=>{if(t===0)return e;const n=nt(t)&&!!t.initVal,l=L(n);let o=null;const a=r=>{if(St(r)){l.value=e.value;return}o&&clearTimeout(o),o=setTimeout(()=>{l.value=e.value},r)},s=r=>{r==="leading"?We(t)?a(t):a(t.leading):nt(t)?a(t.trailing):l.value=!1};return ft(()=>s("leading")),ue(()=>e.value,r=>{s(r?"leading":"trailing")}),l};var pH=ae({name:"ElSkeleton",__name:"skeleton",props:dH,setup(e,{expose:t}){const n=e,l=me("skeleton"),o=vH(Lt(n,"loading"),n.throttle);return t({uiLoading:o}),(a,s)=>i(o)?(T(),F("div",ut({key:0,class:[i(l).b(),i(l).is("animated",e.animated)]},a.$attrs),[(T(!0),F(ze,null,gt(e.count,r=>(T(),F(ze,{key:r},[i(o)?te(a.$slots,"template",{key:r},()=>[q(Rc,{class:P(i(l).is("first")),variant:"p"},null,8,["class"]),(T(!0),F(ze,null,gt(e.rows,u=>(T(),le(Rc,{key:u,class:P([i(l).e("paragraph"),i(l).is("last",u===e.rows&&e.rows>1)]),variant:"p"},null,8,["class"]))),128))]):ne("v-if",!0)],64))),128))],16)):te(a.$slots,"default",Vo(ut({key:1},a.$attrs)))}});const hH=ot(pH,{SkeletonItem:Rc}),mH=Xt(Rc),n2=Symbol("sliderContextKey"),gH=Se({modelValue:{type:G([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:gn,inputSize:gn,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:G(Function),default:void 0},disabled:{type:Boolean,default:void 0},range:Boolean,vertical:Boolean,height:String,rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:G(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:xo,default:"top"},marks:{type:G(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...Xn(["ariaLabel"])}),hf=e=>We(e)||ye(e)&&e.every(We),bH={[et]:hf,[vn]:hf,[ht]:hf},yH=Se({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:xo,default:"top"}}),wH={[et]:e=>We(e)},CH=(e,t,n)=>{const l=L(),o=L(!1),a=S(()=>t.value instanceof Function),s=S(()=>a.value&&t.value(e.modelValue)||e.modelValue),r=bo(()=>{n.value&&(o.value=!0)},50),u=bo(()=>{n.value&&(o.value=!1)},50);return{tooltip:l,tooltipVisible:o,formatValue:s,displayTooltip:r,hideTooltip:u}},SH=(e,t,n)=>{const{disabled:l,min:o,max:a,step:s,showTooltip:r,persistent:u,precision:c,sliderSize:d,formatTooltip:f,emitChange:h,resetSize:m,updateDragging:v}=Le(n2),{tooltip:p,tooltipVisible:g,formatValue:b,displayTooltip:C,hideTooltip:w}=CH(e,f,r),y=L(),k=S(()=>`${(e.modelValue-o.value)/(a.value-o.value)*100}%`),E=S(()=>e.vertical?{bottom:k.value}:{left:k.value}),x=()=>{t.hovering=!0,C()},$=()=>{t.hovering=!1,t.dragging||w()},R=H=>{l.value||(H.preventDefault(),B(H),window.addEventListener("mousemove",V),window.addEventListener("touchmove",V),window.addEventListener("mouseup",z),window.addEventListener("touchend",z),window.addEventListener("contextmenu",z),y.value.focus())},I=H=>{l.value||(t.newPosition=Number.parseFloat(k.value)+H/(a.value-o.value)*100,Y(t.newPosition),h())},A=()=>{I(-s.value)},O=()=>{I(s.value)},D=()=>{I(-s.value*4)},K=()=>{I(s.value*4)},Z=()=>{l.value||(Y(0),h())},W=()=>{l.value||(Y(100),h())},M=H=>{const X=Ft(H);let J=!0;switch(X){case Ce.left:case Ce.down:A();break;case Ce.right:case Ce.up:O();break;case Ce.home:Z();break;case Ce.end:W();break;case Ce.pageDown:D();break;case Ce.pageUp:K();break;default:J=!1;break}J&&H.preventDefault()},N=H=>{let X,J;return H.type.startsWith("touch")?(J=H.touches[0].clientY,X=H.touches[0].clientX):(J=H.clientY,X=H.clientX),{clientX:X,clientY:J}},B=H=>{t.dragging=!0,t.isClick=!0;const{clientX:X,clientY:J}=N(H);e.vertical?t.startY=J:t.startX=X,t.startPosition=Number.parseFloat(k.value),t.newPosition=t.startPosition},V=H=>{if(t.dragging){t.isClick=!1,C(),m();let X;const{clientX:J,clientY:se}=N(H);e.vertical?(t.currentY=se,X=(t.startY-t.currentY)/d.value*100):(t.currentX=J,X=(t.currentX-t.startX)/d.value*100),t.newPosition=t.startPosition+X,Y(t.newPosition)}},z=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||w(),t.isClick||Y(t.newPosition),h()},0),window.removeEventListener("mousemove",V),window.removeEventListener("touchmove",V),window.removeEventListener("mouseup",z),window.removeEventListener("touchend",z),window.removeEventListener("contextmenu",z))},Y=async H=>{if(H===null||Number.isNaN(+H))return;H=Ua(H,0,100);const X=Math.floor((a.value-o.value)/s.value),J=X*s.value/(a.value-o.value)*100,se=J+(100-J)/2;let re;if(Ht.dragging,H=>{v(H)}),At(y,"touchstart",R,{passive:!1}),{disabled:l,button:y,tooltip:p,tooltipVisible:g,showTooltip:r,persistent:u,wrapperStyle:E,formatValue:b,handleMouseEnter:x,handleMouseLeave:$,onButtonDown:R,onKeyDown:M,setPosition:Y}},kH=["tabindex"];var zb=ae({name:"ElSliderButton",__name:"button",props:yH,emits:wH,setup(e,{expose:t,emit:n}){const l=e,o=n,a=me("slider"),s=Nt({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:l.modelValue}),r=S(()=>f.value?h.value:!1),{disabled:u,button:c,tooltip:d,showTooltip:f,persistent:h,tooltipVisible:m,wrapperStyle:v,formatValue:p,handleMouseEnter:g,handleMouseLeave:b,onButtonDown:C,onKeyDown:w,setPosition:y}=SH(l,s,o),{hovering:k,dragging:E}=kn(s);return t({onButtonDown:C,onKeyDown:w,setPosition:y,hovering:k,dragging:E}),(x,$)=>(T(),F("div",{ref_key:"button",ref:c,class:P([i(a).e("button-wrapper"),{hover:i(k),dragging:i(E)}]),style:je(i(v)),tabindex:i(u)?void 0:0,onMouseenter:$[0]||($[0]=(...R)=>i(g)&&i(g)(...R)),onMouseleave:$[1]||($[1]=(...R)=>i(b)&&i(b)(...R)),onMousedown:$[2]||($[2]=(...R)=>i(C)&&i(C)(...R)),onFocus:$[3]||($[3]=(...R)=>i(g)&&i(g)(...R)),onBlur:$[4]||($[4]=(...R)=>i(b)&&i(b)(...R)),onKeydown:$[5]||($[5]=(...R)=>i(w)&&i(w)(...R))},[q(i(xn),{ref_key:"tooltip",ref:d,visible:i(m),placement:x.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":x.tooltipClass,disabled:!i(f),persistent:r.value},{content:ee(()=>[j("span",null,ke(i(p)),1)]),default:ee(()=>[j("div",{class:P([i(a).e("button"),{hover:i(k),dragging:i(E)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,kH))}});const EH=Se({mark:{type:G([String,Object]),default:void 0}});var xH=ae({name:"ElSliderMarker",props:EH,setup(e){const t=me("slider"),n=S(()=>Ve(e.mark)?e.mark:e.mark.label),l=S(()=>Ve(e.mark)?void 0:e.mark.style);return()=>Ge("div",{class:t.e("marks-text"),style:l.value},n.value)}});const TH=(e,t,n)=>{const{formItem:l}=$n(),o=Wt(),a=L(),s=L(),r={firstButton:a,secondButton:s},u=nn(),c=S(()=>Math.min(t.firstValue,t.secondValue)),d=S(()=>Math.max(t.firstValue,t.secondValue)),f=S(()=>e.range?`${100*(d.value-c.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),h=S(()=>e.range?`${100*(c.value-e.min)/(e.max-e.min)}%`:"0%"),m=S(()=>e.vertical?{height:e.height}:{}),v=S(()=>e.vertical?{height:f.value,bottom:h.value}:{width:f.value,left:h.value}),p=()=>{if(o.value){const A=o.value.getBoundingClientRect();t.sliderSize=A[e.vertical?"height":"width"]}},g=A=>{const O=e.min+A*(e.max-e.min)/100;if(!e.range)return a;let D;return Math.abs(c.value-O)t.secondValue?"firstButton":"secondButton",r[D]},b=A=>{const O=g(A);return O.value.setPosition(A),O},C=A=>{t.firstValue=A??e.min,y(e.range?[c.value,d.value]:A??e.min)},w=A=>{t.secondValue=A,e.range&&y([c.value,d.value])},y=A=>{n(et,A),n(vn,A)},k=async()=>{await Re(),n(ht,e.range?[c.value,d.value]:e.modelValue)},E=A=>{var O,D,K,Z,W,M;if(u.value||t.dragging)return;p();let N=0;if(e.vertical){const B=(K=(D=(O=A.touches)==null?void 0:O.item(0))==null?void 0:D.clientY)!=null?K:A.clientY;N=(o.value.getBoundingClientRect().bottom-B)/t.sliderSize*100}else{const B=(M=(W=(Z=A.touches)==null?void 0:Z.item(0))==null?void 0:W.clientX)!=null?M:A.clientX,V=o.value.getBoundingClientRect().left;N=(B-V)/t.sliderSize*100}if(!(N<0||N>100))return b(N)};return{elFormItem:l,slider:o,firstButton:a,secondButton:s,sliderDisabled:u,minValue:c,maxValue:d,runwayStyle:m,barStyle:v,resetSize:p,setPosition:b,emitChange:k,onSliderWrapperPrevent:A=>{var O,D;((O=r.firstButton.value)!=null&&O.dragging||(D=r.secondButton.value)!=null&&D.dragging)&&A.preventDefault()},onSliderClick:A=>{E(A)&&k()},onSliderDown:async A=>{const O=E(A);O&&(await Re(),O.value.onButtonDown(A))},onSliderMarkerDown:A=>{if(u.value||t.dragging)return;b(A)&&k()},setFirstValue:C,setSecondValue:w}},$H=(e,t,n,l)=>({stops:S(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return[];const s=Math.ceil((e.max-e.min)/e.step),r=100*e.step/(e.max-e.min),u=Array.from({length:s-1}).map((c,d)=>(d+1)*r);return e.range?u.filter(c=>c<100*(n.value-e.min)/(e.max-e.min)||c>100*(l.value-e.min)/(e.max-e.min)):u.filter(c=>c>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:s=>e.vertical?{bottom:`${s}%`}:{left:`${s}%`}}),OH=e=>S(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((n,l)=>n-l).filter(n=>n<=e.max&&n>=e.min).map(n=>({point:n,position:(n-e.min)*100/(e.max-e.min),mark:e.marks[n]})):[]),NH=(e,t,n,l,o,a)=>{const s=c=>{o(et,c),o(vn,c)},r=()=>e.range?![n.value,l.value].every((c,d)=>c===t.oldValue[d]):e.modelValue!==t.oldValue,u=()=>{var c,d;e.min>e.max&&pn("Slider","min should not be greater than max.");const f=e.modelValue;e.range&&ye(f)?f[1]e.max?s([e.max,e.max]):f[0]e.max?s([f[0],e.max]):(t.firstValue=f[0],t.secondValue=f[1],r()&&(e.validateEvent&&((c=a==null?void 0:a.validate)==null||c.call(a,"change").catch(h=>void 0)),t.oldValue=f.slice())):!e.range&&We(f)&&!Number.isNaN(f)&&(fe.max?s(e.max):(t.firstValue=f,r()&&(e.validateEvent&&((d=a==null?void 0:a.validate)==null||d.call(a,"change").catch(h=>void 0)),t.oldValue=f)))};u(),ue(()=>t.dragging,c=>{c||u()}),ue(()=>e.modelValue,(c,d)=>{t.dragging||ye(c)&&ye(d)&&c.every((f,h)=>f===d[h])&&t.firstValue===c[0]&&t.secondValue===c[1]||u()},{deep:!0}),ue(()=>[e.min,e.max],()=>{u()})},IH=(e,t,n)=>{const l=L();return ft(async()=>{e.range?(ye(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(!We(e.modelValue)||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),At(window,"resize",n),await Re(),n()}),{sliderWrapper:l}},MH=["id","role","aria-label","aria-labelledby"],PH={key:1};var RH=ae({name:"ElSlider",__name:"slider",props:gH,emits:bH,setup(e,{expose:t,emit:n}){const l=e,o=n,a=me("slider"),{t:s}=wt(),r=Nt({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:u,slider:c,firstButton:d,secondButton:f,sliderDisabled:h,minValue:m,maxValue:v,runwayStyle:p,barStyle:g,resetSize:b,emitChange:C,onSliderWrapperPrevent:w,onSliderClick:y,onSliderDown:k,onSliderMarkerDown:E,setFirstValue:x,setSecondValue:$}=TH(l,r,o),{stops:R,getStopStyle:I}=$H(l,r,m,v),{inputId:A,isLabeledByFormItem:O}=kl(l,{formItemContext:u}),D=hn(),K=S(()=>l.inputSize||D.value),Z=S(()=>l.ariaLabel||s("el.slider.defaultLabel",{min:l.min,max:l.max})),W=S(()=>l.range?l.rangeStartLabel||s("el.slider.defaultRangeStartLabel"):Z.value),M=S(()=>l.formatValueText?l.formatValueText(X.value):`${X.value}`),N=S(()=>l.rangeEndLabel||s("el.slider.defaultRangeEndLabel")),B=S(()=>l.formatValueText?l.formatValueText(J.value):`${J.value}`),V=S(()=>[a.b(),a.m(D.value),a.is("vertical",l.vertical),{[a.m("with-input")]:l.showInput}]),z=OH(l);NH(l,r,m,v,o,u);const Y=S(()=>{const fe=[l.min,l.max,l.step].map(ce=>{const oe=`${ce}`.split(".")[1];return oe?oe.length:0});return Math.max.apply(null,fe)}),{sliderWrapper:H}=IH(l,r,b),{firstValue:X,secondValue:J,sliderSize:se}=kn(r),re=fe=>{r.dragging=fe};return At(H,"touchstart",w,{passive:!1}),At(H,"touchmove",w,{passive:!1}),yt(n2,{...kn(l),sliderSize:se,disabled:h,precision:Y,emitChange:C,resetSize:b,updateDragging:re}),t({onSliderClick:y}),(fe,ce)=>{var oe,U;return T(),F("div",{id:fe.range?i(A):void 0,ref_key:"sliderWrapper",ref:H,class:P(V.value),role:fe.range?"group":void 0,"aria-label":fe.range&&!i(O)?Z.value:void 0,"aria-labelledby":fe.range&&i(O)?(oe=i(u))==null?void 0:oe.labelId:void 0},[j("div",{ref_key:"slider",ref:c,class:P([i(a).e("runway"),{"show-input":fe.showInput&&!fe.range},i(a).is("disabled",i(h))]),style:je(i(p)),onMousedown:ce[0]||(ce[0]=(..._)=>i(k)&&i(k)(..._)),onTouchstartPassive:ce[1]||(ce[1]=(..._)=>i(k)&&i(k)(..._))},[j("div",{class:P(i(a).e("bar")),style:je(i(g))},null,6),q(zb,{id:fe.range?void 0:i(A),ref_key:"firstButton",ref:d,"model-value":i(X),vertical:fe.vertical,"tooltip-class":fe.tooltipClass,placement:fe.placement,role:"slider","aria-label":fe.range||!i(O)?W.value:void 0,"aria-labelledby":!fe.range&&i(O)?(U=i(u))==null?void 0:U.labelId:void 0,"aria-valuemin":fe.min,"aria-valuemax":fe.range?i(J):fe.max,"aria-valuenow":i(X),"aria-valuetext":M.value,"aria-orientation":fe.vertical?"vertical":"horizontal","aria-disabled":i(h),"onUpdate:modelValue":i(x)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),fe.range?(T(),le(zb,{key:0,ref_key:"secondButton",ref:f,"model-value":i(J),vertical:fe.vertical,"tooltip-class":fe.tooltipClass,placement:fe.placement,role:"slider","aria-label":N.value,"aria-valuemin":i(X),"aria-valuemax":fe.max,"aria-valuenow":i(J),"aria-valuetext":B.value,"aria-orientation":fe.vertical?"vertical":"horizontal","aria-disabled":i(h),"onUpdate:modelValue":i($)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):ne("v-if",!0),fe.showStops?(T(),F("div",PH,[(T(!0),F(ze,null,gt(i(R),(_,Q)=>(T(),F("div",{key:Q,class:P(i(a).e("stop")),style:je(i(I)(_))},null,6))),128))])):ne("v-if",!0),i(z).length>0?(T(),F(ze,{key:2},[j("div",null,[(T(!0),F(ze,null,gt(i(z),(_,Q)=>(T(),F("div",{key:Q,style:je(i(I)(_.position)),class:P([i(a).e("stop"),i(a).e("marks-stop")])},null,6))),128))]),j("div",{class:P(i(a).e("marks"))},[(T(!0),F(ze,null,gt(i(z),(_,Q)=>(T(),le(i(xH),{key:Q,mark:_.mark,style:je(i(I)(_.position)),onMousedown:Je(ie=>i(E)(_.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):ne("v-if",!0)],38),fe.showInput&&!fe.range?(T(),le(i(DS),{key:0,ref:"input","model-value":i(X),class:P(i(a).e("input")),step:fe.step,disabled:i(h),controls:fe.showInputControls,min:fe.min,max:fe.max,precision:Y.value,size:K.value,"onUpdate:modelValue":i(x),onChange:i(C)},null,8,["model-value","class","step","disabled","controls","min","max","precision","size","onUpdate:modelValue","onChange"])):ne("v-if",!0)],10,MH)}}});const AH=ot(RH),LH=Se({prefixCls:{type:String}}),Hb=ae({name:"ElSpaceItem",props:LH,setup(e,{slots:t}){const n=me("space"),l=S(()=>`${e.prefixCls||n.b()}__item`);return()=>Ge("div",{class:l.value},te(t,"default"))}}),Kb={small:8,default:12,large:16};function DH(e){const t=me("space"),n=S(()=>[t.b(),t.m(e.direction),e.class]),l=L(0),o=L(0),a=S(()=>{const r=e.wrap||e.fill?{flexWrap:"wrap"}:{},u={alignItems:e.alignment},c={rowGap:`${o.value}px`,columnGap:`${l.value}px`};return[r,u,c,e.style]}),s=S(()=>e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{});return vl(()=>{const{size:r="small",wrap:u,direction:c,fill:d}=e;if(ye(r)){const[f=0,h=0]=r;l.value=f,o.value=h}else{let f;We(r)?f=r:f=Kb[r||"small"]||Kb.small,(u||d)&&c==="horizontal"?l.value=o.value=f:c==="horizontal"?(l.value=f,o.value=0):(o.value=f,l.value=0)}}),{classes:n,containerStyle:a,itemStyle:s}}const BH=Se({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:G([String,Object,Array]),default:""},style:{type:G([String,Array,Object]),default:""},alignment:{type:G(String),default:"center"},prefixCls:{type:String},spacer:{type:G([Object,String,Number,Array]),default:null,validator:e=>zt(e)||We(e)||Ve(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:Ql,validator:e=>We(e)||ye(e)&&e.length===2&&e.every(We)}}),VH=ae({name:"ElSpace",props:BH,setup(e,{slots:t}){const{classes:n,containerStyle:l,itemStyle:o}=DH(e);function a(s,r="",u=[]){const{prefixCls:c}=e;return s.forEach((d,f)=>{Wf(d)?ye(d.children)&&d.children.forEach((h,m)=>{Wf(h)&&ye(h.children)?a(h.children,`${r+m}-`,u):zt(h)&&(h==null?void 0:h.type)===cn?u.push(h):u.push(q(Hb,{style:o.value,prefixCls:c,key:`nested-${r+m}`},{default:()=>[h]},Tl.PROPS|Tl.STYLE,["style","prefixCls"]))}):DR(d)&&u.push(q(Hb,{style:o.value,prefixCls:c,key:`LoopKey${r+f}`},{default:()=>[d]},Tl.PROPS|Tl.STYLE,["style","prefixCls"]))}),u}return()=>{var s;const{spacer:r,direction:u}=e,c=te(t,"default",{key:0},()=>[]);if(((s=c.children)!=null?s:[]).length===0)return null;if(ye(c.children)){let d=a(c.children);if(r){const f=d.length-1;d=d.reduce((h,m,v)=>{const p=[...h,m];return v!==f&&p.push(q("span",{style:[o.value,u==="vertical"?"width: 100%":null],key:v},[zt(r)?r:bt(r,Tl.TEXT)],Tl.STYLE)),p},[])}return q("div",{class:n.value,style:l.value},d,Tl.STYLE|Tl.CLASS)}return c.children}}}),_H=ot(VH),FH=Se({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:G([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:G([String,Object,Array])}});var zH=ae({name:"ElStatistic",__name:"statistic",props:FH,setup(e,{expose:t}){const n=e,l=me("statistic"),o=S(()=>{const{value:a,formatter:s,precision:r,decimalSeparator:u,groupSeparator:c}=n;if(He(s))return s(a);if(!We(a)||Number.isNaN(a))return a;let[d,f=""]=String(a).split(".");return f=f.padEnd(r,"0").slice(0,r>0?r:0),d=d.replace(/\B(?=(\d{3})+(?!\d))/g,c),[d,f].join(f?u:"")});return t({displayValue:o}),(a,s)=>(T(),F("div",{class:P(i(l).b())},[a.$slots.title||e.title?(T(),F("div",{key:0,class:P(i(l).e("head"))},[te(a.$slots,"title",{},()=>[bt(ke(e.title),1)])],2)):ne("v-if",!0),j("div",{class:P(i(l).e("content"))},[a.$slots.prefix||e.prefix?(T(),F("div",{key:0,class:P(i(l).e("prefix"))},[te(a.$slots,"prefix",{},()=>[j("span",null,ke(e.prefix),1)])],2)):ne("v-if",!0),j("span",{class:P(i(l).e("number")),style:je(e.valueStyle)},ke(o.value),7),a.$slots.suffix||e.suffix?(T(),F("div",{key:1,class:P(i(l).e("suffix"))},[te(a.$slots,"suffix",{},()=>[j("span",null,ke(e.suffix),1)])],2)):ne("v-if",!0)],2)],2))}});const l2=ot(zH),HH=Se({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:G([Number,Object]),default:0},valueStyle:{type:G([String,Object,Array])}}),KH={finish:()=>!0,[ht]:e=>We(e)},WH=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],Wb=e=>We(e)?new Date(e).getTime():e.valueOf(),jb=(e,t)=>{let n=e;const l=/\[([^\]]*)]/g;return WH.reduce((a,[s,r])=>{const u=new RegExp(`${s}+(?![^\\[\\]]*\\])`,"g");if(u.test(a)){const c=Math.floor(n/r);return n-=c*r,a.replace(u,d=>String(c).padStart(d.length,"0"))}return a},t).replace(l,"$1")};var jH=ae({name:"ElCountdown",__name:"countdown",props:HH,emits:KH,setup(e,{expose:t,emit:n}){const l=e,o=n;let a;const s=L(0),r=S(()=>jb(s.value,l.format)),u=f=>jb(f,l.format),c=()=>{a&&(Uo(a),a=void 0)},d=()=>{const f=Wb(l.value),h=()=>{let m=f-Date.now();o(ht,m),m<=0?(m=0,c(),o("finish")):a=yo(h),s.value=m};a=yo(h)};return ft(()=>{s.value=Wb(l.value)-Date.now(),ue(()=>[l.value,l.format],()=>{c(),d()},{immediate:!0})}),Pt(()=>{c()}),t({displayValue:r}),(f,h)=>(T(),le(i(l2),{value:s.value,title:e.title,prefix:e.prefix,suffix:e.suffix,"value-style":e.valueStyle,formatter:u},ll({_:2},[gt(f.$slots,(m,v)=>({name:v,fn:ee(()=>[te(f.$slots,v)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});const YH=ot(jH),UH=Se({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),qH={[ht]:(e,t)=>[e,t].every(We)},o2="ElSteps";var GH=ae({name:"ElSteps",__name:"steps",props:UH,emits:qH,setup(e,{emit:t}){const n=e,l=t,o=me("steps"),{children:a,addChild:s,removeChild:r,ChildrenSorter:u}=gd(ct(),"ElStep");return ue(a,()=>{a.value.forEach((c,d)=>{c.setIndex(d)})}),yt(o2,{props:n,steps:a,addStep:s,removeStep:r}),ue(()=>n.active,(c,d)=>{l(ht,c,d)}),(c,d)=>(T(),F("div",{class:P([i(o).b(),i(o).m(e.simple?"simple":e.direction)])},[te(c.$slots,"default"),q(i(u))],2))}});const XH=Se({title:{type:String,default:""},icon:{type:_t},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}});var a2=ae({name:"ElStep",__name:"item",props:XH,setup(e){const t=e,n=me("step"),l=L(-1),o=L({}),a=L(""),s=Le(o2),r=ct();let u=0,c=0;ft(()=>{ue([()=>s.props.active,()=>s.props.processStatus,()=>s.props.finishStatus],([$],[R])=>{c=R||0,u=$-c,E($)},{immediate:!0})});const d=S(()=>t.status||a.value),f=S(()=>{const $=s.steps.value[l.value-1];return $?$.internalStatus.value:"wait"}),h=S(()=>s.props.alignCenter),m=S(()=>s.props.direction==="vertical"),v=S(()=>s.props.simple),p=S(()=>s.steps.value.length),g=S(()=>{var $;return(($=s.steps.value[p.value-1])==null?void 0:$.uid)===r.uid}),b=S(()=>v.value?"":s.props.space),C=S(()=>[n.b(),n.is(v.value?"simple":s.props.direction),n.is("flex",g.value&&!b.value&&!h.value),n.is("center",h.value&&!m.value&&!v.value)]),w=S(()=>{const $={flexBasis:We(b.value)?`${b.value}px`:b.value?b.value:`${100/(p.value-(h.value?0:1))}%`};return m.value||g.value&&($.maxWidth=`${100/p.value}%`),$}),y=$=>{l.value=$},k=$=>{const R=$==="wait",A={transitionDelay:`${Math.abs(u)===1?0:u>0?(l.value+1-c)*150:-(l.value+1-s.props.active)*150}ms`},O=$===s.props.processStatus||R?0:100;A.borderWidth=O&&!v.value?"1px":0,A[s.props.direction==="vertical"?"height":"width"]=`${O}%`,o.value=A},E=$=>{$>l.value?a.value=s.props.finishStatus:$===l.value&&f.value!=="error"?a.value=s.props.processStatus:a.value="wait";const R=s.steps.value[l.value-1];R&&R.calcProgress(a.value)},x={uid:r.uid,getVnode:()=>r.vnode,currentStatus:d,internalStatus:a,setIndex:y,calcProgress:k};return s.addStep(x),Pt(()=>{s.removeStep(x)}),($,R)=>(T(),F("div",{style:je(w.value),class:P(C.value)},[ne(" icon & line "),j("div",{class:P([i(n).e("head"),i(n).is(d.value)])},[v.value?ne("v-if",!0):(T(),F("div",{key:0,class:P(i(n).e("line"))},[j("i",{class:P(i(n).e("line-inner")),style:je(o.value)},null,6)],2)),j("div",{class:P([i(n).e("icon"),i(n).is(e.icon||$.$slots.icon?"icon":"text")])},[te($.$slots,"icon",{},()=>[e.icon?(T(),le(i(_e),{key:0,class:P(i(n).e("icon-inner"))},{default:ee(()=>[(T(),le(rt(e.icon)))]),_:1},8,["class"])):d.value==="success"?(T(),le(i(_e),{key:1,class:P([i(n).e("icon-inner"),i(n).is("status")])},{default:ee(()=>[q(i(Gi))]),_:1},8,["class"])):d.value==="error"?(T(),le(i(_e),{key:2,class:P([i(n).e("icon-inner"),i(n).is("status")])},{default:ee(()=>[q(i(Ml))]),_:1},8,["class"])):v.value?ne("v-if",!0):(T(),F("div",{key:3,class:P(i(n).e("icon-inner"))},ke(l.value+1),3))])],2)],2),ne(" title & description "),j("div",{class:P(i(n).e("main"))},[j("div",{class:P([i(n).e("title"),i(n).is(d.value)])},[te($.$slots,"title",{},()=>[bt(ke(e.title),1)])],2),v.value?(T(),F("div",{key:0,class:P(i(n).e("arrow"))},null,2)):(T(),F("div",{key:1,class:P([i(n).e("description"),i(n).is(d.value)])},[te($.$slots,"description",{},()=>[bt(ke(e.description),1)])],2))],2)],6))}});const ZH=ot(GH,{Step:a2}),JH=Xt(a2),s2=e=>["",...Ql].includes(e),QH=Se({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:void 0},loading:Boolean,size:{type:String,validator:s2},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:_t},activeActionIcon:{type:_t},activeIcon:{type:_t},inactiveIcon:{type:_t},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:G(Function)},id:String,tabindex:{type:[String,Number]},...Xn(["ariaLabel"])}),eK={[et]:e=>Vt(e)||Ve(e)||We(e),[ht]:e=>Vt(e)||Ve(e)||We(e),[vn]:e=>Vt(e)||Ve(e)||We(e)},tK=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex"],nK=["aria-hidden"],lK={key:1},oK={key:1},aK=["aria-hidden"],Yb="ElSwitch";var sK=ae({name:Yb,__name:"switch",props:QH,emits:eK,setup(e,{expose:t,emit:n}){const l=e,o=n,{formItem:a}=$n(),s=hn(),r=me("switch"),{inputId:u}=kl(l,{formItemContext:a}),c=nn(S(()=>{if(l.loading)return!0})),d=L(l.modelValue!==!1),f=Wt(),h=S(()=>[r.b(),r.m(s.value),r.is("disabled",c.value),r.is("checked",b.value)]),m=S(()=>[r.e("label"),r.em("label","left"),r.is("active",!b.value)]),v=S(()=>[r.e("label"),r.em("label","right"),r.is("active",b.value)]),p=S(()=>({width:tn(l.width)}));ue(()=>l.modelValue,()=>{d.value=!0});const g=S(()=>d.value?l.modelValue:!1),b=S(()=>g.value===l.activeValue);[l.activeValue,l.inactiveValue].includes(g.value)||(o(et,l.inactiveValue),o(ht,l.inactiveValue),o(vn,l.inactiveValue)),ue(b,k=>{var E;f.value.checked=k,l.validateEvent&&((E=a==null?void 0:a.validate)==null||E.call(a,"change").catch(x=>void 0))});const C=()=>{const k=b.value?l.inactiveValue:l.activeValue;o(et,k),o(ht,k),o(vn,k),Re(()=>{f.value.checked=b.value})},w=()=>{if(c.value)return;const{beforeChange:k}=l;if(!k){C();return}const E=k();[as(E),Vt(E)].includes(!0)||pn(Yb,"beforeChange must return type `Promise` or `boolean`"),as(E)?E.then($=>{$&&C()}).catch($=>{}):E&&C()},y=()=>{var k,E;(E=(k=f.value)==null?void 0:k.focus)==null||E.call(k)};return ft(()=>{f.value.checked=b.value}),t({focus:y,checked:b}),(k,E)=>(T(),F("div",{class:P(h.value),onClick:Je(w,["prevent"])},[j("input",{id:i(u),ref_key:"input",ref:f,class:P(i(r).e("input")),type:"checkbox",role:"switch","aria-checked":b.value,"aria-disabled":i(c),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:i(c),tabindex:e.tabindex,onChange:C,onKeydown:Jt(w,["enter"])},null,42,tK),!e.inlinePrompt&&(e.inactiveIcon||e.inactiveText||k.$slots.inactive)?(T(),F("span",{key:0,class:P(m.value)},[te(k.$slots,"inactive",{},()=>[e.inactiveIcon?(T(),le(i(_e),{key:0},{default:ee(()=>[(T(),le(rt(e.inactiveIcon)))]),_:1})):ne("v-if",!0),!e.inactiveIcon&&e.inactiveText?(T(),F("span",{key:1,"aria-hidden":b.value},ke(e.inactiveText),9,nK)):ne("v-if",!0)])],2)):ne("v-if",!0),j("span",{class:P(i(r).e("core")),style:je(p.value)},[e.inlinePrompt?(T(),F("div",{key:0,class:P(i(r).e("inner"))},[b.value?(T(),F("div",{key:1,class:P(i(r).e("inner-wrapper"))},[te(k.$slots,"active",{},()=>[e.activeIcon?(T(),le(i(_e),{key:0},{default:ee(()=>[(T(),le(rt(e.activeIcon)))]),_:1})):ne("v-if",!0),!e.activeIcon&&e.activeText?(T(),F("span",oK,ke(e.activeText),1)):ne("v-if",!0)])],2)):(T(),F("div",{key:0,class:P(i(r).e("inner-wrapper"))},[te(k.$slots,"inactive",{},()=>[e.inactiveIcon?(T(),le(i(_e),{key:0},{default:ee(()=>[(T(),le(rt(e.inactiveIcon)))]),_:1})):ne("v-if",!0),!e.inactiveIcon&&e.inactiveText?(T(),F("span",lK,ke(e.inactiveText),1)):ne("v-if",!0)])],2))],2)):ne("v-if",!0),j("div",{class:P(i(r).e("action"))},[e.loading?(T(),le(i(_e),{key:0,class:P(i(r).is("loading"))},{default:ee(()=>[q(i(wo))]),_:1},8,["class"])):b.value?te(k.$slots,"active-action",{key:1},()=>[e.activeActionIcon?(T(),le(i(_e),{key:0},{default:ee(()=>[(T(),le(rt(e.activeActionIcon)))]),_:1})):ne("v-if",!0)]):b.value?ne("v-if",!0):te(k.$slots,"inactive-action",{key:2},()=>[e.inactiveActionIcon?(T(),le(i(_e),{key:0},{default:ee(()=>[(T(),le(rt(e.inactiveActionIcon)))]),_:1})):ne("v-if",!0)])],2)],6),!e.inlinePrompt&&(e.activeIcon||e.activeText||k.$slots.active)?(T(),F("span",{key:1,class:P(v.value)},[te(k.$slots,"active",{},()=>[e.activeIcon?(T(),le(i(_e),{key:0},{default:ee(()=>[(T(),le(rt(e.activeIcon)))]),_:1})):ne("v-if",!0),!e.activeIcon&&e.activeText?(T(),F("span",{key:1,"aria-hidden":!b.value},ke(e.activeText),9,aK)):ne("v-if",!0)])],2)):ne("v-if",!0)],2))}});const rK=ot(sK),mf=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},iK=function(e,t,n,l,o){if(!t&&!l&&(!o||ye(o)&&!o.length))return e;Ve(n)?n=n==="descending"?-1:1:n=n&&n<0?-1:1;const a=l?null:function(r,u){return o?Ww(wn(o),c=>Ve(c)?fn(r,c):c(r,u,e)):(t!=="$key"&&nt(r)&&"$value"in r&&(r=r.$value),[nt(r)?t?fn(r,t):null:r])},s=function(r,u){var c,d,f,h,m,v;if(l)return l(r.value,u.value);for(let p=0,g=(d=(c=r.key)==null?void 0:c.length)!=null?d:0;p((v=u.key)==null?void 0:v[p]))return 1}return 0};return e.map((r,u)=>({value:r,index:u,key:a?a(r,u):null})).sort((r,u)=>{let c=s(r,u);return c||(c=r.index-u.index),c*+n}).map(r=>r.value)},r2=function(e,t){let n=null;return e.columns.forEach(l=>{l.id===t&&(n=l)}),n},uK=function(e,t){let n=null;for(let l=0;l{if(!e)throw new Error("Row is required when get row identity");if(Ve(t)){if(!t.includes("."))return`${e[t]}`;const n=t.split(".");let l=e;for(const o of n)l=l[o];return`${l}`}else if(He(t))return t.call(null,e);return""},Ws=function(e,t,n=!1,l="children"){const o=e||[],a={};return o.forEach((s,r)=>{if(a[An(s,t)]={row:s,index:r},n){const u=s[l];ye(u)&&Object.assign(a,Ws(u,t,!0,l))}}),a};function cK(e,t){const n={};let l;for(l in e)n[l]=e[l];for(l in t)if(xt(t,l)){const o=t[l];St(o)||(n[l]=o)}return n}function $h(e){return e===""||St(e)||(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function i2(e){return e===""||St(e)||(e=$h(e),Number.isNaN(e)&&(e=80)),e}function dK(e){return We(e)?e:Ve(e)?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function fK(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...l)=>t(n(...l)))}function Ac(e,t,n,l,o,a,s){let r=a??0,u=!1;const d=(()=>{if(!s)return e.indexOf(t);const p=An(t,s);return e.findIndex(g=>An(g,s)===p)})(),f=d!==-1,h=o==null?void 0:o.call(null,t,r),m=p=>{p==="add"?e.push(t):e.splice(d,1),u=!0},v=p=>{let g=0;const b=(l==null?void 0:l.children)&&p[l.children];return b&&ye(b)&&(g+=b.length,b.forEach(C=>{g+=v(C)})),g};return(!o||h)&&(Vt(n)?n&&!f?m("add"):!n&&f&&m("remove"):m(f?"remove":"add")),!(l!=null&&l.checkStrictly)&&(l!=null&&l.children)&&ye(t[l.children])&&t[l.children].forEach(p=>{const g=Ac(e,p,n??!f,l,o,r+1,s);r+=v(p)+1,g&&(u=g)}),u}function vK(e,t,n="children",l="hasChildren",o=!1){const a=r=>!(ye(r)&&r.length);function s(r,u,c){t(r,u,c),u.forEach(d=>{if(d[l]&&o){t(d,null,c+1);return}const f=d[n];a(f)||s(d,f,c+1)})}e.forEach(r=>{if(r[l]&&o){t(r,null,0);return}const u=r[n];a(u)||s(r,u,0)})}const pK=(e,t,n,l)=>{const o={strategy:"fixed",...e.popperOptions},a=He(l==null?void 0:l.tooltipFormatter)?l.tooltipFormatter({row:n,column:l,cellValue:ka(n,l.property).value}):void 0;return zt(a)?{slotContent:a,content:null,...e,popperOptions:o}:{slotContent:null,content:a??t,...e,popperOptions:o}};let zn=null;function hK(e,t,n,l,o,a){var s;const r=pK(e,t,n,l),u={...r,slotContent:void 0};if((zn==null?void 0:zn.trigger)===o){const v=(s=zn.vm)==null?void 0:s.component;jw(v==null?void 0:v.props,u),v&&r.slotContent&&(v.slots.content=()=>[r.slotContent]);return}zn==null||zn();const c=a==null?void 0:a.refs.tableWrapper,d=c==null?void 0:c.dataset.prefix,f=q(xn,{virtualTriggering:!0,virtualRef:o,appendTo:c,placement:"top",transition:"none",offset:0,hideAfter:0,...u},r.slotContent?{content:()=>r.slotContent}:void 0);f.appContext={...a.appContext,...a};const h=document.createElement("div");Ta(f,h),f.component.exposed.onOpen();const m=c==null?void 0:c.querySelector(`.${d}-scrollbar__wrap`);zn=()=>{var v,p;(p=(v=f.component)==null?void 0:v.exposed)!=null&&p.onClose&&f.component.exposed.onClose(),Ta(null,h);const g=zn;m==null||m.removeEventListener("scroll",g),g.trigger=void 0,g.vm=void 0,zn=null},zn.trigger=o??void 0,zn.vm=f,m==null||m.addEventListener("scroll",zn)}function u2(e){return e.children?Ww(e.children,u2):[e]}function qb(e,t){return e+t.colSpan}const c2=(e,t,n,l)=>{let o=0,a=e;const s=n.states.columns.value;if(l){const u=u2(l[e]);o=s.slice(0,s.indexOf(u[0])).reduce(qb,0),a=o+u.reduce(qb,0)-1}else o=e;let r;switch(t){case"left":a=s.length-n.states.rightFixedLeafColumnsLength.value&&(r="right");break;default:a=s.length-n.states.rightFixedLeafColumnsLength.value&&(r="right")}return r?{direction:r,start:o,after:a}:{}},Oh=(e,t,n,l,o,a=0)=>{const s=[],{direction:r,start:u,after:c}=c2(t,n,l,o);if(r){const d=r==="left";s.push(`${e}-fixed-column--${r}`),d&&c+a===l.states.fixedLeafColumnsLength.value-1?s.push("is-last-column"):!d&&u-a===l.states.columns.value.length-l.states.rightFixedLeafColumnsLength.value&&s.push("is-first-column")}return s};function Gb(e,t){return e+(sd(t.realWidth)||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const Nh=(e,t,n,l)=>{const{direction:o,start:a=0,after:s=0}=c2(e,t,n,l);if(!o)return;const r={},u=o==="left",c=n.states.columns.value;return u?r.left=c.slice(0,a).reduce(Gb,0):r.right=c.slice(s+1).reverse().reduce(Gb,0),r},ir=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))};function d2(e){return e.some(t=>zt(t)?!(t.type===cn||t.type===ze&&!d2(t.children)):!0)?e:null}function mK(e){const t=ct(),n=L(!1),l=L([]),o=(c,d)=>{var f;const h=t.store.states.rowExpandable.value;return(f=h==null?void 0:h(c,d))!=null?f:!0};return{updateExpandRows:()=>{const c=e.data.value||[],d=e.rowKey.value;if(n.value)l.value=t.store.states.rowExpandable.value?c.filter(o):c.slice();else if(d){const f=Ws(l.value,d);l.value=c.filter((h,m)=>{const v=An(h,d);return!!f[v]&&o(h,m)})}else l.value=[]},toggleRowExpansion:(c,d)=>{const h=(e.data.value||[]).indexOf(c);if(h>-1&&!o(c,h))return;Ac(l.value,c,d,void 0,void 0,void 0,e.rowKey.value)&&t.emit("expand-change",c,l.value.slice())},setExpandRowKeys:c=>{t.store.assertRowKey();const d=e.data.value||[],f=e.rowKey.value,h=Ws(d,f);l.value=c.reduce((m,v)=>{const p=h[v];return p&&o(p.row,p.index)&&m.push(p.row),m},[])},isRowExpanded:c=>{const d=e.rowKey.value;return d?!!Ws(l.value,d)[An(c,d)]:l.value.includes(c)},states:{expandRows:l,defaultExpandAll:n}}}function gK(e){const t=ct(),n=L(null),l=L(null),o=c=>{t.store.assertRowKey(),n.value=c,s(c)},a=()=>{n.value=null},s=c=>{var d;const{data:f,rowKey:h}=e,m=l.value;let v=null;h.value&&(v=(d=(i(f)||[]).find(p=>An(p,h.value)===c))!=null?d:null),l.value=v??null,t.emit("current-change",l.value,m)};return{setCurrentRowKey:o,restoreCurrentRowKey:a,setCurrentRowByKey:s,updateCurrentRow:c=>{const d=l.value;if(c&&c!==d){l.value=c,t.emit("current-change",l.value,d);return}!c&&d&&(l.value=null,t.emit("current-change",null,d))},updateCurrentRowData:()=>{const c=e.rowKey.value,d=e.data.value||[],f=l.value;if(f&&!d.includes(f))if(c){const h=An(f,c);s(h)}else l.value=null,t.emit("current-change",null,f);else n.value&&(s(n.value),a())},states:{_currentRowKey:n,currentRow:l}}}function bK(e){const t=L([]),n=L({}),l=L(16),o=L(!1),a=L({}),s=L("hasChildren"),r=L("children"),u=L(!1),c=ct(),d=S(()=>{if(!e.rowKey.value)return{};const y=e.data.value||[];return h(y)}),f=S(()=>{const y=e.rowKey.value,k=Object.keys(a.value),E={};return k.length&&k.forEach(x=>{if(a.value[x].length){const $={children:[]};a.value[x].forEach(R=>{const I=An(R,y);$.children.push(I),R[s.value]&&!E[I]&&(E[I]={children:[]})}),E[x]=$}}),E}),h=y=>{const k=e.rowKey.value,E={};return vK(y,(x,$,R)=>{const I=An(x,k);ye($)?E[I]={children:$.map(A=>An(A,k)),level:R}:o.value&&(E[I]={children:[],lazy:!0,level:R})},r.value,s.value,o.value),E},m=(y=!1,k)=>{var E,x;k||(k=(E=c.store)==null?void 0:E.states.defaultExpandAll.value);const $=d.value,R=f.value,I=Object.keys($),A={};if(I.length){const O=i(n),D=[],K=(W,M)=>{if(y)return t.value?k||t.value.includes(M):!!(k||W!=null&&W.expanded);{const N=k||t.value&&t.value.includes(M);return!!(W!=null&&W.expanded||N)}};I.forEach(W=>{const M=O[W],N={...$[W]};if(N.expanded=K(M,W),N.lazy){const{loaded:B=!1,loading:V=!1}=M||{};N.loaded=!!B,N.loading=!!V,D.push(W)}A[W]=N});const Z=Object.keys(R);o.value&&Z.length&&D.length&&Z.forEach(W=>{var M;const N=O[W],B=R[W].children;if(D.includes(W)){if(((M=A[W].children)==null?void 0:M.length)!==0)throw new Error("[ElTable]children must be an empty array.");A[W].children=B}else{const{loaded:V=!1,loading:z=!1}=N||{};A[W]={lazy:!0,loaded:!!V,loading:!!z,expanded:K(N,W),children:B,level:void 0}}})}n.value=A,(x=c.store)==null||x.updateTableScrollY()};ue(()=>t.value,()=>{m(!0)}),ue(()=>d.value,()=>{m()}),ue(()=>f.value,()=>{m()});const v=y=>{t.value=y,m()},p=y=>o.value&&y&&"loaded"in y&&!y.loaded,g=(y,k)=>{c.store.assertRowKey();const E=e.rowKey.value,x=An(y,E),$=x&&n.value[x];if(x&&$&&"expanded"in $){const R=$.expanded;k=St(k)?!$.expanded:k,n.value[x].expanded=k,R!==k&&c.emit("expand-change",y,k),k&&p($)&&C(y,x,$),c.store.updateTableScrollY()}},b=y=>{c.store.assertRowKey();const k=e.rowKey.value,E=An(y,k),x=n.value[E];p(x)?C(y,E,x):g(y,void 0)},C=(y,k,E)=>{const{load:x}=c.props;x&&!n.value[k].loaded&&(n.value[k].loading=!0,x(y,E,$=>{if(!ye($))throw new TypeError("[ElTable] data must be an array");n.value[k].loading=!1,n.value[k].loaded=!0,n.value[k].expanded=!0,$.length&&(a.value[k]=$),c.emit("expand-change",y,!0)}))};return{loadData:C,loadOrToggle:b,toggleTreeExpansion:g,updateTreeExpandKeys:v,updateTreeData:m,updateKeyChildren:(y,k)=>{const{lazy:E,rowKey:x}=c.props;if(E){if(!x)throw new Error("[Table] rowKey is required in updateKeyChild");a.value[y]&&(a.value[y]=k)}},normalize:h,states:{expandRowKeys:t,treeData:n,indent:l,lazy:o,lazyTreeNodeMap:a,lazyColumnIdentifier:s,childrenColumnName:r,checkStrictly:u}}}const yK=(e,t)=>{const n=t.sortingColumn;return!n||Ve(n.sortable)?e:iK(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)},Uu=e=>{const t=[];return e.forEach(n=>{n.children&&n.children.length>0?t.push.apply(t,Uu(n.children)):t.push(n)}),t};function wK(){var e;const t=ct(),{size:n}=kn((e=t.proxy)==null?void 0:e.$props),l=L(null),o=L([]),a=L([]),s=L(!1),r=L([]),u=L([]),c=L([]),d=L([]),f=L([]),h=L([]),m=L([]),v=L([]),p=[],g=L(0),b=L(0),C=L(0),w=L(!1),y=L([]),k=L(!1),E=L(!1),x=L(null),$=L(null),R=L({}),I=L(null),A=L(null),O=L(null),D=L(null),K=L(null),Z=S(()=>l.value?Ws(y.value,l.value):void 0);ue(o,()=>{var qe;t.state&&(B(!1),t.props.tableLayout==="auto"&&((qe=t.refs.tableHeaderRef)==null||qe.updateFixedColumnStyle()))},{deep:!0});const W=()=>{if(!l.value)throw new Error("[ElTable] prop row-key is required")},M=qe=>{var st;(st=qe.children)==null||st.forEach(mt=>{mt.fixed=qe.fixed,M(mt)})},N=()=>{r.value.forEach(Be=>{M(Be)}),d.value=r.value.filter(Be=>[!0,"left"].includes(Be.fixed));const qe=r.value.find(Be=>Be.type==="selection");let st;qe&&qe.fixed!=="right"&&!d.value.includes(qe)&&r.value.indexOf(qe)===0&&d.value.length&&(d.value.unshift(qe),st=!0),f.value=r.value.filter(Be=>Be.fixed==="right");const mt=r.value.filter(Be=>(st?Be.type!=="selection":!0)&&!Be.fixed);u.value=Array.from(d.value).concat(mt).concat(f.value);const ve=Uu(mt),De=Uu(d.value),de=Uu(f.value);g.value=ve.length,b.value=De.length,C.value=de.length,c.value=Array.from(De).concat(ve).concat(de),s.value=d.value.length>0||f.value.length>0},B=(qe,st=!1)=>{qe&&N(),st?t.state.doLayout():t.state.debouncedUpdateLayout()},V=qe=>Z.value?!!Z.value[An(qe,l.value)]:y.value.includes(qe),z=()=>{w.value=!1;const qe=y.value;y.value=[],qe.length&&t.emit("selection-change",[])},Y=()=>{var qe,st;let mt;if(l.value){mt=[];const ve=(st=(qe=t==null?void 0:t.store)==null?void 0:qe.states)==null?void 0:st.childrenColumnName.value,De=Ws(o.value,l.value,!0,ve);for(const de in Z.value)xt(Z.value,de)&&!De[de]&&mt.push(Z.value[de].row)}else mt=y.value.filter(ve=>!o.value.includes(ve));if(mt.length){const ve=y.value.filter(De=>!mt.includes(De));y.value=ve,t.emit("selection-change",ve.slice())}},H=()=>(y.value||[]).slice(),X=(qe,st,mt=!0,ve=!1)=>{var De,de,Be,dt;const Dt={children:(de=(De=t==null?void 0:t.store)==null?void 0:De.states)==null?void 0:de.childrenColumnName.value,checkStrictly:(dt=(Be=t==null?void 0:t.store)==null?void 0:Be.states)==null?void 0:dt.checkStrictly.value};if(Ac(y.value,qe,st,Dt,ve?void 0:x.value,o.value.indexOf(qe),l.value)){const Zt=(y.value||[]).slice();mt&&t.emit("select",Zt,qe),t.emit("selection-change",Zt)}},J=()=>{var qe,st;const mt=E.value?!w.value:!(w.value||y.value.length);w.value=mt;let ve=!1,De=0;const de=(st=(qe=t==null?void 0:t.store)==null?void 0:qe.states)==null?void 0:st.rowKey.value,{childrenColumnName:Be}=t.store.states,dt={children:Be.value,checkStrictly:!1};o.value.forEach((Dt,Gt)=>{const Zt=Gt+De;Ac(y.value,Dt,mt,dt,x.value,Zt,de)&&(ve=!0),De+=re(An(Dt,de))}),ve&&t.emit("selection-change",y.value?y.value.slice():[]),t.emit("select-all",(y.value||[]).slice())},se=()=>{var qe;if(((qe=o.value)==null?void 0:qe.length)===0){w.value=!1;return}const{childrenColumnName:st}=t.store.states;let mt=0,ve=0;const De=Be=>{var dt;for(const Dt of Be){const Gt=x.value&&x.value.call(null,Dt,mt);if(V(Dt))ve++;else if(!x.value||Gt)return!1;if(mt++,(dt=Dt[st.value])!=null&&dt.length&&!De(Dt[st.value]))return!1}return!0},de=De(o.value||[]);w.value=ve===0?!1:de},re=qe=>{var st;if(!t||!t.store)return 0;const{treeData:mt}=t.store.states;let ve=0;const De=(st=mt.value[qe])==null?void 0:st.children;return De&&(ve+=De.length,De.forEach(de=>{ve+=re(de)})),ve},fe=(qe,st)=>{const mt={};return wn(qe).forEach(ve=>{R.value[ve.id]=st,mt[ve.columnKey||ve.id]=st}),mt},ce=(qe,st,mt)=>{A.value&&A.value!==qe&&(A.value.order=null),A.value=qe,O.value=st,D.value=mt},oe=()=>{let qe=i(a);Object.keys(R.value).forEach(st=>{const mt=R.value[st];if(!mt||mt.length===0)return;const ve=r2({columns:c.value},st);ve&&ve.filterMethod&&(qe=qe.filter(De=>mt.some(de=>ve.filterMethod.call(null,de,De,ve))))}),I.value=qe},U=()=>{var qe;o.value=yK((qe=I.value)!=null?qe:[],{sortingColumn:A.value,sortProp:O.value,sortOrder:D.value})},_=(qe=void 0)=>{qe!=null&&qe.filter||oe(),U()},Q=qe=>{const{tableHeaderRef:st}=t.refs;if(!st)return;const mt=Object.assign({},st.filterPanels),ve=Object.keys(mt);if(ve.length)if(Ve(qe)&&(qe=[qe]),ye(qe)){const De=qe.map(de=>uK({columns:c.value},de));ve.forEach(de=>{const Be=De.find(dt=>dt.id===de);Be&&(Be.filteredValue=[])}),t.store.commit("filterChange",{column:De,values:[],silent:!0,multi:!0})}else ve.forEach(De=>{const de=c.value.find(Be=>Be.id===De);de&&(de.filteredValue=[])}),R.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},ie=()=>{A.value&&(ce(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:he,toggleRowExpansion:pe,updateExpandRows:be,states:$e,isRowExpanded:Me}=mK({data:o,rowKey:l}),{updateTreeExpandKeys:Ne,toggleTreeExpansion:ge,updateTreeData:Te,updateKeyChildren:we,loadOrToggle:Pe,states:Fe}=bK({data:o,rowKey:l}),{updateCurrentRowData:Ze,updateCurrentRow:Oe,setCurrentRowKey:Ae,states:Ke}=gK({data:o,rowKey:l});return{assertRowKey:W,updateColumns:N,scheduleLayout:B,isSelected:V,clearSelection:z,cleanSelection:Y,getSelectionRows:H,toggleRowSelection:X,_toggleAllSelection:J,toggleAllSelection:null,updateAllSelected:se,updateFilters:fe,updateCurrentRow:Oe,updateSort:ce,execFilter:oe,execSort:U,execQuery:_,clearFilter:Q,clearSort:ie,toggleRowExpansion:pe,setExpandRowKeysAdapter:qe=>{he(qe),Ne(qe)},setCurrentRowKey:Ae,toggleRowExpansionAdapter:(qe,st)=>{c.value.some(({type:ve})=>ve==="expand")?pe(qe,st):ge(qe,st)},isRowExpanded:Me,updateExpandRows:be,updateCurrentRowData:Ze,loadOrToggle:Pe,updateTreeData:Te,updateKeyChildren:we,states:{tableSize:n,rowKey:l,data:o,_data:a,isComplex:s,_columns:r,originColumns:u,columns:c,fixedColumns:d,rightFixedColumns:f,leafColumns:h,fixedLeafColumns:m,rightFixedLeafColumns:v,updateOrderFns:p,leafColumnsLength:g,fixedLeafColumnsLength:b,rightFixedLeafColumnsLength:C,isAllSelected:w,selection:y,reserveSelection:k,selectOnIndeterminate:E,selectable:x,rowExpandable:$,filters:R,filteredData:I,sortingColumn:A,sortProp:O,sortOrder:D,hoverRow:K,...$e,...Fe,...Ke}}}function bv(e,t){return e.map(n=>{var l;return n.id===t.id?t:((l=n.children)!=null&&l.length&&(n.children=bv(n.children,t)),n)})}function yv(e){e.forEach(t=>{var n,l;t.no=(n=t.getColumnIndex)==null?void 0:n.call(t),(l=t.children)!=null&&l.length&&yv(t.children)}),e.sort((t,n)=>t.no-n.no)}function CK(){const e=ct(),t=wK(),n=me("table"),{t:l}=wt();return{ns:n,t:l,...t,mutations:{setData(r,u){const c=i(r._data)!==u;r.data.value=u,r._data.value=u,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),i(r.reserveSelection)?e.store.assertRowKey():c?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(r,u,c,d){var f;const h=i(r._columns);let m=[];c?(c&&!c.children&&(c.children=[]),(f=c.children)==null||f.push(u),m=bv(h,c)):(h.push(u),m=h),yv(m),r._columns.value=m,r.updateOrderFns.push(d),u.type==="selection"&&(r.selectable.value=u.selectable,r.reserveSelection.value=u.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(r,u){var c;((c=u.getColumnIndex)==null?void 0:c.call(u))!==u.no&&(yv(r._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(r,u,c,d){var f;const h=i(r._columns)||[];if(c)(f=c.children)==null||f.splice(c.children.findIndex(v=>v.id===u.id),1),Re(()=>{var v;((v=c.children)==null?void 0:v.length)===0&&delete c.children}),r._columns.value=bv(h,c);else{const v=h.indexOf(u);v>-1&&(h.splice(v,1),r._columns.value=h)}const m=r.updateOrderFns.indexOf(d);m>-1&&r.updateOrderFns.splice(m,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(r,u){const{prop:c,order:d,init:f}=u;if(c){const h=i(r.columns).find(m=>m.property===c);h&&(h.order=d,e.store.updateSort(h,c,d),e.store.commit("changeSortCondition",{init:f}))}},changeSortCondition(r,u){const{sortingColumn:c,sortProp:d,sortOrder:f}=r,h=i(c),m=i(d),v=i(f);sd(v)&&(r.sortingColumn.value=null,r.sortProp.value=null);const p={filter:!0};e.store.execQuery(p),(!u||!(u.silent||u.init))&&e.emit("sort-change",{column:h,prop:m,order:v}),e.store.updateTableScrollY()},filterChange(r,u){const{column:c,values:d,silent:f}=u,h=e.store.updateFilters(c,d);e.store.execQuery(),f||e.emit("filter-change",h),e.store.updateTableScrollY()},toggleAllSelection(){var r,u;(u=(r=e.store).toggleAllSelection)==null||u.call(r)},rowSelectedChanged(r,u){e.store.toggleRowSelection(u),e.store.updateAllSelected()},setHoverRow(r,u){r.hoverRow.value=u},setCurrentRow(r,u){e.store.updateCurrentRow(u)}},commit:function(r,...u){const c=e.store.mutations;if(c[r])c[r].apply(e,[e.store.states,...u]);else throw new Error(`Action not found: ${r}`)},updateTableScrollY:function(){Re(()=>e.layout.updateScrollY.apply(e.layout))}}}const Ih={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",rowExpandable:"rowExpandable",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"},"treeProps.checkStrictly":{key:"checkStrictly",default:!1}};function SK(e,t){if(!e)throw new Error("Table is required.");const n=CK();return n.toggleAllSelection=bo(n._toggleAllSelection,10),Object.keys(Ih).forEach(l=>{f2(v2(t,l),l,n)}),kK(n,t),n}function kK(e,t){Object.keys(Ih).forEach(n=>{ue(()=>v2(t,n),l=>{f2(l,n,e)})})}function f2(e,t,n){let l=e,o=Ih[t];nt(o)&&(l=l||o.default,o=o.key),n.states[o].value=l}function v2(e,t){if(t.includes(".")){const n=t.split(".");let l=e;return n.forEach(o=>{l=l[o]}),l}else return e[t]}var EK=Object.defineProperty,xK=(e,t,n)=>t in e?EK(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Rn=(e,t,n)=>xK(e,typeof t!="symbol"?t+"":t,n);class TK{constructor(t){Rn(this,"observers"),Rn(this,"table"),Rn(this,"store"),Rn(this,"columns"),Rn(this,"fit"),Rn(this,"showHeader"),Rn(this,"height"),Rn(this,"scrollX"),Rn(this,"scrollY"),Rn(this,"bodyWidth"),Rn(this,"fixedWidth"),Rn(this,"rightFixedWidth"),Rn(this,"tableHeight"),Rn(this,"headerHeight"),Rn(this,"appendHeight"),Rn(this,"footerHeight"),Rn(this,"gutterWidth"),this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=L(null),this.scrollX=L(!1),this.scrollY=L(!1),this.bodyWidth=L(null),this.fixedWidth=L(null),this.rightFixedWidth=L(null),this.gutterWidth=0;for(const n in t)xt(t,n)&&(jt(this[n])?this[n].value=t[n]:this[n]=t[n]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){const t=this.height.value;if(sd(t))return!1;const n=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(n!=null&&n.wrapRef)){let l=!0;const o=this.scrollY.value;return l=n.wrapRef.scrollHeight>n.wrapRef.clientHeight,this.scrollY.value=l,o!==l}return!1}setHeight(t,n="height"){if(!Ot)return;const l=this.table.vnode.el;if(t=dK(t),this.height.value=Number(t),!l&&(t||t===0)){Re(()=>this.setHeight(t,n));return}l&&We(t)?(l.style[n]=`${t}px`,this.updateElsHeight()):l&&Ve(t)&&(l.style[n]=t,this.updateElsHeight())}setMaxHeight(t){this.setHeight(t,"max-height")}getFlattenColumns(){const t=[];return this.table.store.states.columns.value.forEach(l=>{l.isColumnGroup?t.push.apply(t,l.columns):t.push(l)}),t}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(t){if(!t)return!0;let n=t;for(;n.tagName!=="DIV";){if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}updateColumnsWidth(){var t;if(!Ot)return;const n=this.fit,l=(t=this.table.vnode.el)==null?void 0:t.clientWidth;let o=0;const a=this.getFlattenColumns(),s=a.filter(c=>!We(c.width));if(a.forEach(c=>{We(c.width)&&c.realWidth&&(c.realWidth=null)}),s.length>0&&n){if(a.forEach(c=>{o+=Number(c.width||c.minWidth||80)}),o<=l){this.scrollX.value=!1;const c=l-o;if(s.length===1)s[0].realWidth=Number(s[0].minWidth||80)+c;else{const d=s.reduce((m,v)=>m+Number(v.minWidth||80),0),f=c/d;let h=0;s.forEach((m,v)=>{if(v===0)return;const p=Math.floor(Number(m.minWidth||80)*f);h+=p,m.realWidth=Number(m.minWidth||80)+p}),s[0].realWidth=Number(s[0].minWidth||80)+c-h}}else this.scrollX.value=!0,s.forEach(c=>{c.realWidth=Number(c.minWidth)});this.bodyWidth.value=Math.max(o,l),this.table.state.resizeState.value.width=this.bodyWidth.value}else a.forEach(c=>{!c.width&&!c.minWidth?c.realWidth=80:c.realWidth=Number(c.width||c.minWidth),o+=c.realWidth}),this.scrollX.value=o>l,this.bodyWidth.value=o;const r=this.store.states.fixedColumns.value;if(r.length>0){let c=0;r.forEach(d=>{c+=Number(d.realWidth||d.width)}),this.fixedWidth.value=c}const u=this.store.states.rightFixedColumns.value;if(u.length>0){let c=0;u.forEach(d=>{c+=Number(d.realWidth||d.width)}),this.rightFixedWidth.value=c}this.notifyObservers("columns")}addObserver(t){this.observers.push(t)}removeObserver(t){const n=this.observers.indexOf(t);n!==-1&&this.observers.splice(n,1)}notifyObservers(t){this.observers.forEach(l=>{var o,a;switch(t){case"columns":(o=l.state)==null||o.onColumnsChange(this);break;case"scrollable":(a=l.state)==null||a.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${t}.`)}})}}var $K=ae({name:"ElTableFilterPanel",components:{ElCheckbox:jl,ElCheckboxGroup:oh,ElScrollbar:Wl,ElTooltip:xn,ElIcon:_e,ArrowDown:ko,ArrowUp:ud},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:Bt.appendTo},setup(e){const t=ct(),{t:n}=wt(),l=me("table-filter"),o=t==null?void 0:t.parent;e.column&&!o.filterPanels.value[e.column.id]&&(o.filterPanels.value[e.column.id]=t);const a=L(null),s=L(null),r=L(0),u=S(()=>e.column&&e.column.filters),c=S(()=>e.column&&e.column.filterClassName?`${l.b()} ${e.column.filterClassName}`:l.b()),d=S({get:()=>{var x;return(((x=e.column)==null?void 0:x.filteredValue)||[])[0]},set:x=>{f.value&&(cl(x)?f.value.splice(0,1):f.value.splice(0,1,x))}}),f=S({get(){return e.column?e.column.filteredValue||[]:[]},set(x){var $;e.column&&(($=e.upDataColumn)==null||$.call(e,"filteredValue",x))}}),h=S(()=>e.column?e.column.filterMultiple:!0),m=x=>x.value===d.value,v=()=>{var x;(x=a.value)==null||x.onClose()},p=()=>{C(f.value),v()},g=()=>{f.value=[],C(f.value),v()},b=(x,$)=>{d.value=x,r.value=$,cl(x)?C([]):C(f.value),v()},C=x=>{var $,R;($=e.store)==null||$.commit("filterChange",{column:e.column,values:x}),(R=e.store)==null||R.updateAllSelected()},w=()=>{var x,$;(x=s.value)==null||x.focus(),!h.value&&k(),e.column&&(($=e.upDataColumn)==null||$.call(e,"filterOpened",!0))},y=()=>{var x;e.column&&((x=e.upDataColumn)==null||x.call(e,"filterOpened",!1))},k=()=>{if(cl(d)){r.value=0;return}const x=(u.value||[]).findIndex($=>$.value===d.value);r.value=x>=0?x+1:0};return{multiple:h,filterClassName:c,filteredValue:f,filterValue:d,filters:u,handleConfirm:p,handleReset:g,handleSelect:b,isPropAbsent:cl,isActive:m,t:n,ns:l,tooltipRef:a,rootRef:s,checkedIndex:r,handleShowTooltip:w,handleHideTooltip:y,handleKeydown:x=>{var $,R;const I=Ft(x),A=(u.value?u.value.length:0)+1;let O=r.value,D=!0;switch(I){case Ce.down:case Ce.right:O=(O+1)%A;break;case Ce.up:case Ce.left:O=(O-1+A)%A;break;case Ce.tab:v(),D=!1;break;case Ce.enter:case Ce.space:if(O===0)b(null,0);else{const K=(u.value||[])[O-1];K.value&&b(K.value,O)}break;default:D=!1;break}D&&x.preventDefault(),r.value=O,(R=($=s.value)==null?void 0:$.querySelector(`.${l.e("list-item")}:nth-child(${O+1})`))==null||R.focus()}}}});const OK=["disabled"],NK=["tabindex","aria-checked"],IK=["tabindex","aria-checked","onClick"],MK=["aria-label"];function PK(e,t,n,l,o,a){const s=Tt("el-checkbox"),r=Tt("el-checkbox-group"),u=Tt("el-scrollbar"),c=Tt("arrow-up"),d=Tt("arrow-down"),f=Tt("el-icon"),h=Tt("el-tooltip");return T(),le(h,{ref:"tooltipRef",offset:0,placement:e.placement,"show-arrow":!1,trigger:"click",role:"dialog",teleported:"",effect:"light",pure:"",loop:"","popper-class":e.filterClassName,persistent:"","append-to":e.appendTo,onShow:e.handleShowTooltip,onHide:e.handleHideTooltip},{content:ee(()=>[e.multiple?(T(),F("div",{key:0,ref:"rootRef",tabindex:"-1",class:P(e.ns.e("multiple"))},[j("div",{class:P(e.ns.e("content"))},[q(u,{"wrap-class":e.ns.e("wrap")},{default:ee(()=>[q(r,{modelValue:e.filteredValue,"onUpdate:modelValue":t[0]||(t[0]=m=>e.filteredValue=m),class:P(e.ns.e("checkbox-group"))},{default:ee(()=>[(T(!0),F(ze,null,gt(e.filters,m=>(T(),le(s,{key:m.value,value:m.value},{default:ee(()=>[bt(ke(m.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),j("div",{class:P(e.ns.e("bottom"))},[j("button",{class:P(e.ns.is("disabled",e.filteredValue.length===0)),disabled:e.filteredValue.length===0,type:"button",onClick:t[1]||(t[1]=(...m)=>e.handleConfirm&&e.handleConfirm(...m))},ke(e.t("el.table.confirmFilter")),11,OK),j("button",{type:"button",onClick:t[2]||(t[2]=(...m)=>e.handleReset&&e.handleReset(...m))},ke(e.t("el.table.resetFilter")),1)],2)],2)):(T(),F("ul",{key:1,ref:"rootRef",tabindex:"-1",role:"radiogroup",class:P(e.ns.e("list")),onKeydown:t[4]||(t[4]=(...m)=>e.handleKeydown&&e.handleKeydown(...m))},[j("li",{role:"radio",class:P([e.ns.e("list-item"),e.ns.is("active",e.isPropAbsent(e.filterValue))]),tabindex:e.checkedIndex===0?0:-1,"aria-checked":e.isPropAbsent(e.filterValue),onClick:t[3]||(t[3]=m=>e.handleSelect(null,0))},ke(e.t("el.table.clearFilter")),11,NK),(T(!0),F(ze,null,gt(e.filters,(m,v)=>(T(),F("li",{key:m.value,role:"radio",class:P([e.ns.e("list-item"),e.ns.is("active",e.isActive(m))]),tabindex:e.checkedIndex===v+1?0:-1,"aria-checked":e.isActive(m),onClick:p=>e.handleSelect(m.value,v+1)},ke(m.text),11,IK))),128))],34))]),default:ee(()=>{var m;return[j("button",{type:"button",class:P(`${e.ns.namespace.value}-table__column-filter-trigger`),"aria-label":e.t("el.table.filterLabel",{column:((m=e.column)==null?void 0:m.label)||""})},[q(f,null,{default:ee(()=>[te(e.$slots,"filter-icon",{},()=>{var v;return[(v=e.column)!=null&&v.filterOpened?(T(),le(c,{key:0})):(T(),le(d,{key:1}))]})]),_:3})],10,MK)]}),_:3},8,["placement","popper-class","append-to","onShow","onHide"])}var RK=bn($K,[["render",PK]]);function Mh(e){const t=ct();Xc(()=>{n.value.addObserver(t)}),ft(()=>{l(n.value),o(n.value)}),Gl(()=>{l(n.value),o(n.value)}),fr(()=>{n.value.removeObserver(t)});const n=S(()=>{const a=e.layout;if(!a)throw new Error("Can not find table layout.");return a}),l=a=>{var s;const r=((s=e.vnode.el)==null?void 0:s.querySelectorAll("colgroup > col"))||[];if(!r.length)return;const u=a.getFlattenColumns(),c={};u.forEach(d=>{c[d.id]=d});for(let d=0,f=r.length;d{var s,r;const u=((s=e.vnode.el)==null?void 0:s.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let d=0,f=u.length;d{p.stopPropagation()},a=(p,g)=>{!g.filters&&g.sortable?v(p,g,!1):g.filterable&&!g.sortable&&o(p),l==null||l.emit("header-click",g,p)},s=(p,g)=>{l==null||l.emit("header-contextmenu",g,p)},r=L(null),u=L(!1),c=L(),d=(p,g)=>{var b,C;if(Ot&&!(g.children&&g.children.length>0)&&r.value&&e.border&&r.value.id===g.id){u.value=!0;const w=l;t("set-drag-visible",!0);const y=w==null?void 0:w.vnode.el,k=y==null?void 0:y.getBoundingClientRect().left,E=(C=(b=n==null?void 0:n.vnode)==null?void 0:b.el)==null?void 0:C.querySelector(`th.${g.id}`),x=E.getBoundingClientRect(),$=x.left-k+30;$l(E,"noclick"),c.value={startMouseLeft:p.clientX,startLeft:x.right-k,startColumnLeft:x.left-k,tableLeft:k};const R=w==null?void 0:w.refs.resizeProxy;R.style.left=`${c.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const I=O=>{const D=O.clientX-c.value.startMouseLeft,K=c.value.startLeft+D;R.style.left=`${Math.max($,K)}px`},A=()=>{if(u.value){const{startColumnLeft:O,startLeft:D}=c.value,Z=Number.parseInt(R.style.left,10)-O;g.width=g.realWidth=Z,w==null||w.emit("header-dragend",g.width,D-O,g,p),requestAnimationFrame(()=>{e.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",u.value=!1,r.value=null,c.value=void 0,t("set-drag-visible",!1)}document.removeEventListener("mousemove",I),document.removeEventListener("mouseup",A),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{qn(E,"noclick")},0)};document.addEventListener("mousemove",I),document.addEventListener("mouseup",A)}},f=(p,g)=>{var b;if(!e.border||g.children&&g.children.length>0)return;const C=p.target,w=ul(C)?C.closest("th"):null;if(!w)return;const y=co(w,"is-sortable");if(y){const I=u.value?"col-resize":"";w.style.cursor=I;const A=w.querySelector(".caret-wrapper");A&&(A.style.cursor=I)}if(!g.resizable||u.value){r.value=null;return}const k=w.getBoundingClientRect(),E=((b=w.parentNode)==null?void 0:b.lastElementChild)===w,x=e.allowDragLastColumn||!E,$=k.width>12&&k.right-p.clientX<8&&x,R=$?"col-resize":"";document.body.style.cursor=R,r.value=$?g:null,y&&(w.style.cursor=R)},h=()=>{!Ot||u.value||(document.body.style.cursor="")},m=({order:p,sortOrders:g})=>{if(p==="")return g[0];const b=g.indexOf(p||null);return g[b>g.length-2?0:b+1]},v=(p,g,b)=>{var C;p.stopPropagation();const w=g.order===b?null:b||m(g),y=(C=p.target)==null?void 0:C.closest("th");if(y&&co(y,"noclick")){qn(y,"noclick");return}if(!g.sortable)return;const k=p.currentTarget;if(["ascending","descending"].some(I=>co(k,I)&&!g.sortOrders.includes(I)))return;const E=e.store.states;let x=E.sortProp.value,$;const R=E.sortingColumn.value;(R!==g||R===g&&sd(R.order))&&(R&&(R.order=null),E.sortingColumn.value=g,x=g.property),w?$=g.order=w:$=g.order=null,E.sortProp.value=x,E.sortOrder.value=$,l==null||l.store.commit("changeSortCondition")};return{handleHeaderClick:a,handleHeaderContextMenu:s,handleMouseDown:d,handleMouseMove:f,handleMouseOut:h,handleSortClick:v,handleFilterClick:o}}function LK(e){const t=Le(eo),n=me("table");return{getHeaderRowStyle:r=>{const u=t==null?void 0:t.props.headerRowStyle;return He(u)?u.call(null,{rowIndex:r}):u},getHeaderRowClass:r=>{const u=[],c=t==null?void 0:t.props.headerRowClassName;return Ve(c)?u.push(c):He(c)&&u.push(c.call(null,{rowIndex:r})),u.join(" ")},getHeaderCellStyle:(r,u,c,d)=>{var f;let h=(f=t==null?void 0:t.props.headerCellStyle)!=null?f:{};He(h)&&(h=h.call(null,{rowIndex:r,columnIndex:u,row:c,column:d}));const m=Nh(u,d.fixed,e.store,c);return ir(m,"left"),ir(m,"right"),Object.assign({},h,m)},getHeaderCellClass:(r,u,c,d)=>{const f=Oh(n.b(),u,d.fixed,e.store,c),h=[d.id,d.order,d.headerAlign,d.className,d.labelClassName,...f];d.children||h.push("is-leaf"),d.sortable&&h.push("is-sortable");const m=t==null?void 0:t.props.headerCellClassName;return Ve(m)?h.push(m):He(m)&&h.push(m.call(null,{rowIndex:r,columnIndex:u,row:c,column:d})),h.push(n.e("cell")),h.filter(v=>!!v).join(" ")}}}const p2=e=>{const t=[];return e.forEach(n=>{n.children?(t.push(n),t.push.apply(t,p2(n.children))):t.push(n)}),t},h2=e=>{let t=1;const n=(a,s)=>{if(s&&(a.level=s.level+1,t{n(u,a),r+=u.colSpan}),a.colSpan=r}else a.colSpan=1};e.forEach(a=>{a.level=1,n(a,void 0)});const l=[];for(let a=0;a{a.children?(a.rowSpan=1,a.children.forEach(s=>s.isSubColumn=!0)):a.rowSpan=t-a.level+1,l[a.level-1].push(a)}),l};function DK(e){const t=Le(eo),n=S(()=>h2(e.store.states.originColumns.value));return{isGroup:S(()=>{const a=n.value.length>1;return a&&t&&(t.state.isGroup.value=!0),a}),toggleAllSelection:a=>{a.stopPropagation(),t==null||t.store.commit("toggleAllSelection")},columnRows:n}}var BK=ae({name:"ElTableHeader",components:{ElCheckbox:jl},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})},appendFilterPanelTo:{type:String},allowDragLastColumn:{type:Boolean}},setup(e,{emit:t}){const n=ct(),l=Le(eo),o=me("table"),a=L({}),{onColumnsChange:s,onScrollableChange:r}=Mh(l),u=(l==null?void 0:l.props.tableLayout)==="auto",c=Nt(new Map),d=L();let f;const h=()=>{f=setTimeout(()=>{c.size>0&&(c.forEach((O,D)=>{const K=d.value.querySelector(`.${D.replace(/\s/g,".")}`);if(K){const Z=K.getBoundingClientRect().width;O.width=Z||O.width}}),c.clear())})};ue(c,h),Pt(()=>{f&&(clearTimeout(f),f=void 0)}),ft(async()=>{await Re(),await Re();const{prop:O,order:D}=e.defaultSort;l==null||l.store.commit("sort",{prop:O,order:D,init:!0}),h()});const{handleHeaderClick:m,handleHeaderContextMenu:v,handleMouseDown:p,handleMouseMove:g,handleMouseOut:b,handleSortClick:C,handleFilterClick:w}=AK(e,t),{getHeaderRowStyle:y,getHeaderRowClass:k,getHeaderCellStyle:E,getHeaderCellClass:x}=LK(e),{isGroup:$,toggleAllSelection:R,columnRows:I}=DK(e),{t:A}=wt();return n.state={onColumnsChange:s,onScrollableChange:r},n.filterPanels=a,{ns:o,t:A,filterPanels:a,onColumnsChange:s,onScrollableChange:r,columnRows:I,getHeaderRowClass:k,getHeaderRowStyle:y,getHeaderCellClass:x,getHeaderCellStyle:E,handleHeaderClick:m,handleHeaderContextMenu:v,handleMouseDown:p,handleMouseMove:g,handleMouseOut:b,handleSortClick:C,handleFilterClick:w,isGroup:$,toggleAllSelection:R,saveIndexSelection:c,isTableLayoutAuto:u,theadRef:d,updateFixedColumnStyle:h}},render(){const{ns:e,t,isGroup:n,columnRows:l,getHeaderCellStyle:o,getHeaderCellClass:a,getHeaderRowClass:s,getHeaderRowStyle:r,handleHeaderClick:u,handleHeaderContextMenu:c,handleMouseDown:d,handleMouseMove:f,handleSortClick:h,handleMouseOut:m,store:v,$parent:p,saveIndexSelection:g,isTableLayoutAuto:b}=this;let C=1;return Ge("thead",{ref:"theadRef",class:e.is("group",n)},l.map((w,y)=>Ge("tr",{class:s(y),key:y,style:r(y)},w.map((k,E)=>{k.rowSpan>C&&(C=k.rowSpan);const x=a(y,E,w,k);return b&&k.fixed&&g.set(x,k),Ge("th",{class:x,colspan:k.colSpan,key:`${k.id}-thead`,rowspan:k.rowSpan,scope:k.colSpan>1?"colgroup":"col",ariaSort:k.sortable?k.order:void 0,style:o(y,E,w,k),onClick:$=>{var R;(R=$.currentTarget)!=null&&R.classList.contains("noclick")||u($,k)},onContextmenu:$=>c($,k),onMousedown:$=>d($,k),onMousemove:$=>f($,k),onMouseout:m},[Ge("div",{class:["cell",k.filteredValue&&k.filteredValue.length>0?"highlight":""]},[k.renderHeader?k.renderHeader({column:k,$index:E,store:v,_self:p}):k.label,k.sortable&&Ge("button",{type:"button",class:"caret-wrapper","aria-label":t("el.table.sortLabel",{column:k.label||""}),onClick:$=>h($,k)},[Ge("i",{onClick:$=>h($,k,"ascending"),class:"sort-caret ascending"}),Ge("i",{onClick:$=>h($,k,"descending"),class:"sort-caret descending"})]),k.filterable&&Ge(RK,{store:v,placement:k.filterPlacement||"bottom-start",appendTo:p==null?void 0:p.appendFilterPanelTo,column:k,upDataColumn:($,R)=>{k[$]=R}},{"filter-icon":()=>k.renderFilterIcon?k.renderFilterIcon({filterOpened:k.filterOpened}):null})])])}))))}});function gf(e,t,n=.03){return e-t>n}function VK(e){const t=Le(eo),n=L(""),l=L(Ge("div")),o=(v,p,g)=>{var b,C,w;const y=t,k=mf(v);let E=null;const x=(b=y==null?void 0:y.vnode.el)==null?void 0:b.dataset.prefix;k&&(E=Ub({columns:(w=(C=e.store)==null?void 0:C.states.columns.value)!=null?w:[]},k,x),E&&(y==null||y.emit(`cell-${g}`,p,E,k,v))),y==null||y.emit(`row-${g}`,p,E,v)},a=(v,p)=>{o(v,p,"dblclick")},s=(v,p)=>{var g;(g=e.store)==null||g.commit("setCurrentRow",p),o(v,p,"click")},r=(v,p)=>{o(v,p,"contextmenu")},u=bo(v=>{var p;(p=e.store)==null||p.commit("setHoverRow",v)},30),c=bo(()=>{var v;(v=e.store)==null||v.commit("setHoverRow",null)},30),d=v=>{const p=window.getComputedStyle(v,null),g=Number.parseInt(p.paddingLeft,10)||0,b=Number.parseInt(p.paddingRight,10)||0,C=Number.parseInt(p.paddingTop,10)||0,w=Number.parseInt(p.paddingBottom,10)||0;return{left:g,right:b,top:C,bottom:w}},f=(v,p,g)=>{var b;let C=(b=p==null?void 0:p.target)==null?void 0:b.parentNode;for(;v>1&&(C=C==null?void 0:C.nextSibling,!(!C||C.nodeName!=="TR"));)g(C,"hover-row hover-fixed-row"),v--};return{handleDoubleClick:a,handleClick:s,handleContextMenu:r,handleMouseEnter:u,handleMouseLeave:c,handleCellMouseEnter:(v,p,g)=>{var b,C,w,y,k,E,x,$,R;if(!t)return;const I=t,A=mf(v),O=(b=I==null?void 0:I.vnode.el)==null?void 0:b.dataset.prefix;let D=null;if(A){if(D=Ub({columns:(w=(C=e.store)==null?void 0:C.states.columns.value)!=null?w:[]},A,O),!D)return;A.rowSpan>1&&f(A.rowSpan,v,$l);const se=I.hoverState={cell:A,column:D,row:p};I==null||I.emit("cell-mouse-enter",se.row,se.column,se.cell,v)}if(!g){((y=zn)==null?void 0:y.trigger)===A&&((k=zn)==null||k());return}const K=v.target.querySelector(".cell");if(!(co(K,`${O}-tooltip`)&&K.childNodes.length&&((E=K.textContent)!=null&&E.trim())))return;const Z=document.createRange();Z.setStart(K,0),Z.setEnd(K,K.childNodes.length);const{width:W,height:M}=Z.getBoundingClientRect(),{width:N,height:B}=K.getBoundingClientRect(),{top:V,left:z,right:Y,bottom:H}=d(K),X=z+Y,J=V+H;gf(W+X,N)||gf(M+J,B)||gf(K.scrollWidth,N)?hK(g,(x=(A==null?void 0:A.innerText)||(A==null?void 0:A.textContent))!=null?x:"",p,D,A,I):(($=zn)==null?void 0:$.trigger)===A&&((R=zn)==null||R())},handleCellMouseLeave:v=>{const p=mf(v);if(!p)return;p.rowSpan>1&&f(p.rowSpan,v,qn);const g=t==null?void 0:t.hoverState;t==null||t.emit("cell-mouse-leave",g==null?void 0:g.row,g==null?void 0:g.column,g==null?void 0:g.cell,v)},tooltipContent:n,tooltipTrigger:l}}function _K(e){const t=Le(eo),n=me("table");return{getRowStyle:(c,d)=>{const f=t==null?void 0:t.props.rowStyle;return He(f)?f.call(null,{row:c,rowIndex:d}):f||null},getRowClass:(c,d,f)=>{var h;const m=[n.e("row")];t!=null&&t.props.highlightCurrentRow&&c===((h=e.store)==null?void 0:h.states.currentRow.value)&&m.push("current-row"),e.stripe&&f%2===1&&m.push(n.em("row","striped"));const v=t==null?void 0:t.props.rowClassName;return Ve(v)?m.push(v):He(v)&&m.push(v.call(null,{row:c,rowIndex:d})),m},getCellStyle:(c,d,f,h)=>{const m=t==null?void 0:t.props.cellStyle;let v=m??{};He(m)&&(v=m.call(null,{rowIndex:c,columnIndex:d,row:f,column:h}));const p=Nh(d,e==null?void 0:e.fixed,e.store);return ir(p,"left"),ir(p,"right"),Object.assign({},v,p)},getCellClass:(c,d,f,h,m)=>{const v=Oh(n.b(),d,e==null?void 0:e.fixed,e.store,void 0,m),p=[h.id,h.align,h.className,...v],g=t==null?void 0:t.props.cellClassName;return Ve(g)?p.push(g):He(g)&&p.push(g.call(null,{rowIndex:c,columnIndex:d,row:f,column:h})),p.push(n.e("cell")),p.filter(b=>!!b).join(" ")},getSpan:(c,d,f,h)=>{let m=1,v=1;const p=t==null?void 0:t.props.spanMethod;if(He(p)){const g=p({row:c,column:d,rowIndex:f,columnIndex:h});ye(g)?(m=g[0],v=g[1]):nt(g)&&(m=g.rowspan,v=g.colspan)}return{rowspan:m,colspan:v}},getColspanRealWidth:(c,d,f)=>{if(d<1)return c[f].realWidth;const h=c.map(({realWidth:m,width:v})=>m||v).slice(f,f+d);return Number(h.reduce((m,v)=>Number(m)+Number(v),-1))}}}const FK=["colspan","rowspan"];var zK=ae({name:"TableTdWrapper",__name:"td-wrapper",props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup(e){return(t,n)=>(T(),F("td",{colspan:e.colspan,rowspan:e.rowspan},[te(t.$slots,"default")],8,FK))}});function HK(e){const t=Le(eo),n=me("table"),{handleDoubleClick:l,handleClick:o,handleContextMenu:a,handleMouseEnter:s,handleMouseLeave:r,handleCellMouseEnter:u,handleCellMouseLeave:c,tooltipContent:d,tooltipTrigger:f}=VK(e),{getRowStyle:h,getRowClass:m,getCellStyle:v,getCellClass:p,getSpan:g,getColspanRealWidth:b}=_K(e);let C=-1;const w=S(()=>{var $;return($=e.store)==null?void 0:$.states.columns.value.findIndex(({type:R})=>R==="default")}),y=($,R)=>{var I;const A=(I=t==null?void 0:t.props)==null?void 0:I.rowKey;return A?An($,A):R},k=($,R,I,A=!1)=>{const{tooltipEffect:O,tooltipOptions:D,store:K}=e,{indent:Z,columns:W}=K.states,M=[];let N=!0;return I&&(M.push(n.em("row",`level-${I.level}`)),N=!!I.display),R===0&&(C=-1),e.stripe&&N&&C++,M.push(...m($,R,C)),Ge("tr",{style:[N?null:{display:"none"},h($,R)],class:M,key:y($,R),onDblclick:V=>l(V,$),onClick:V=>o(V,$),onContextmenu:V=>a(V,$),onMouseenter:()=>s(R),onMouseleave:r},W.value.map((V,z)=>{const{rowspan:Y,colspan:H}=g($,V,R,z);if(!Y||!H)return null;const X=Object.assign({},V);X.realWidth=b(W.value,H,z);const J={store:K,_self:e.context||t,column:X,row:$,$index:R,cellIndex:z,expanded:A};z===w.value&&I&&(J.treeNode={indent:I.level&&I.level*Z.value,level:I.level},Vt(I.expanded)&&(J.treeNode.expanded=I.expanded,"loading"in I&&(J.treeNode.loading=I.loading),"noLazyChildren"in I&&(J.treeNode.noLazyChildren=I.noLazyChildren)));const se=`${y($,R)},${z}`,re=X.columnKey||X.rawColumnKey||"",fe=V.showOverflowTooltip&&jw({effect:O},D,V.showOverflowTooltip);return Ge(zK,{style:v(R,z,$,V),class:p(R,z,$,V,H-1),key:`${re}${se}`,rowspan:Y,colspan:H,onMouseenter:ce=>u(ce,$,fe),onMouseleave:c},{default:()=>E(z,V,J)})}))},E=($,R,I)=>R.renderCell(I);return{wrappedRowRender:($,R)=>{const I=e.store,{isRowExpanded:A,assertRowKey:O}=I,{treeData:D,lazyTreeNodeMap:K,childrenColumnName:Z,rowKey:W}=I.states,M=I.states.columns.value;if(M.some(({type:B})=>B==="expand")){const B=A($),V=k($,R,void 0,B),z=t==null?void 0:t.renderExpanded;if(!z)return console.error("[Element Error]renderExpanded is required."),V;const Y=[[V]];return(t.props.preserveExpandedContent||B)&&Y[0].push(Ge("tr",{key:`expanded-row__${V.key}`,style:{display:B?"":"none"}},[Ge("td",{colspan:M.length,class:`${n.e("cell")} ${n.e("expanded-cell")}`},[z({row:$,$index:R,store:I,expanded:B})])])),Y}else if(Object.keys(D.value).length){O();const B=An($,W.value);let V=D.value[B],z=null;V&&(z={expanded:V.expanded,level:V.level,display:!0,noLazyChildren:void 0,loading:void 0},Vt(V.lazy)&&(z&&Vt(V.loaded)&&V.loaded&&(z.noLazyChildren=!(V.children&&V.children.length)),z.loading=V.loading));const Y=[k($,R,z??void 0)];if(V){let H=0;const X=(se,re)=>{se&&se.length&&re&&se.forEach(fe=>{const ce={display:re.display&&re.expanded,level:re.level+1,expanded:!1,noLazyChildren:!1,loading:!1},oe=An(fe,W.value);if(cl(oe))throw new Error("For nested data item, row-key is required.");if(V={...D.value[oe]},V&&(ce.expanded=V.expanded,V.level=V.level||ce.level,V.display=!!(V.expanded&&ce.display),Vt(V.lazy)&&(Vt(V.loaded)&&V.loaded&&(ce.noLazyChildren=!(V.children&&V.children.length)),ce.loading=V.loading)),H++,Y.push(k(fe,R+H,ce)),V){const U=K.value[oe]||fe[Z.value];X(U,V)}})};V.display=!0;const J=K.value[B]||$[Z.value];X(J,V)}return Y}else return k($,R,void 0)},tooltipContent:d,tooltipTrigger:f}}const KK={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var WK=ae({name:"ElTableBody",props:KK,setup(e){var t;const n=ct(),l=Le(eo),o=me("table"),{wrappedRowRender:a,tooltipContent:s,tooltipTrigger:r}=HK(e),{onColumnsChange:u,onScrollableChange:c}=Mh(l),d=[];return ue((t=e.store)==null?void 0:t.states.hoverRow,(f,h)=>{var m,v;const p=n==null?void 0:n.vnode.el,g=Array.from((p==null?void 0:p.children)||[]).filter(w=>w==null?void 0:w.classList.contains(`${o.e("row")}`));let b=f;const C=(m=g[b])==null?void 0:m.childNodes;if(C!=null&&C.length){let w=0;Array.from(C).reduce((k,E,x)=>{var $,R;return(($=C[x])==null?void 0:$.colSpan)>1&&(w=(R=C[x])==null?void 0:R.colSpan),E.nodeName!=="TD"&&w===0&&k.push(x),w>0&&w--,k},[]).forEach(k=>{var E;for(b=f;b>0;){const x=(E=g[b-1])==null?void 0:E.childNodes;if(x[k]&&x[k].nodeName==="TD"&&x[k].rowSpan>1){$l(x[k],"hover-cell"),d.push(x[k]);break}b--}})}else d.forEach(w=>qn(w,"hover-cell")),d.length=0;!((v=e.store)!=null&&v.states.isComplex.value)||!Ot||yo(()=>{const w=g[h],y=g[f];w&&!w.classList.contains("hover-fixed-row")&&qn(w,"hover-row"),y&&$l(y,"hover-row")})}),fr(()=>{var f;(f=zn)==null||f()}),{ns:o,onColumnsChange:u,onScrollableChange:c,wrappedRowRender:a,tooltipContent:s,tooltipTrigger:r}},render(){const{wrappedRowRender:e,store:t}=this,n=(t==null?void 0:t.states.data.value)||[];return Ge("tbody",{tabIndex:-1},[n.reduce((l,o)=>l.concat(e(o,l.length)),[])])}});function jK(){const e=Le(eo),t=e==null?void 0:e.store,n=S(()=>{var r;return(r=t==null?void 0:t.states.fixedLeafColumnsLength.value)!=null?r:0}),l=S(()=>{var r;return(r=t==null?void 0:t.states.rightFixedColumns.value.length)!=null?r:0}),o=S(()=>{var r;return(r=t==null?void 0:t.states.columns.value.length)!=null?r:0}),a=S(()=>{var r;return(r=t==null?void 0:t.states.fixedColumns.value.length)!=null?r:0}),s=S(()=>{var r;return(r=t==null?void 0:t.states.rightFixedColumns.value.length)!=null?r:0});return{leftFixedLeafCount:n,rightFixedLeafCount:l,columnsCount:o,leftFixedCount:a,rightFixedCount:s,columns:S(()=>{var r;return(r=t==null?void 0:t.states.columns.value)!=null?r:[]})}}function YK(e){const{columns:t}=jK(),n=me("table");return{getCellClasses:(a,s)=>{const r=a[s],u=[n.e("cell"),r.id,r.align,r.labelClassName,...Oh(n.b(),s,r.fixed,e.store)];return r.className&&u.push(r.className),r.children||u.push(n.is("leaf")),u},getCellStyles:(a,s)=>{const r=Nh(s,a.fixed,e.store);return ir(r,"left"),ir(r,"right"),r},columns:t}}var UK=ae({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e){const t=Le(eo),n=me("table"),{getCellClasses:l,getCellStyles:o,columns:a}=YK(e),{onScrollableChange:s,onColumnsChange:r}=Mh(t);return{ns:n,onScrollableChange:s,onColumnsChange:r,getCellClasses:l,getCellStyles:o,columns:a}},render(){const{columns:e,getCellStyles:t,getCellClasses:n,summaryMethod:l,sumText:o}=this,a=this.store.states.data.value;let s=[];return l?s=l({columns:e,data:a}):e.forEach((r,u)=>{if(u===0){s[u]=o;return}const c=a.map(m=>Number(m[r.property])),d=[];let f=!0;c.forEach(m=>{if(!Number.isNaN(+m)){f=!1;const v=`${m}`.split(".")[1];d.push(v?v.length:0)}});const h=Math.max.apply(null,d);f?s[u]="":s[u]=c.reduce((m,v)=>{const p=Number(v);return Number.isNaN(+p)?m:Number.parseFloat((m+v).toFixed(Math.min(h,20)))},0)}),Ge(Ge("tfoot",[Ge("tr",{},[...e.map((r,u)=>Ge("td",{key:u,colspan:r.colSpan,rowspan:r.rowSpan,class:n(e,u),style:t(r,u)},[Ge("div",{class:["cell",r.labelClassName]},[s[u]])]))])]))}});function qK(e){return{setCurrentRow:f=>{e.commit("setCurrentRow",f)},getSelectionRows:()=>e.getSelectionRows(),toggleRowSelection:(f,h,m=!0)=>{e.toggleRowSelection(f,h,!1,m),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:f=>{e.clearFilter(f)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(f,h)=>{e.toggleRowExpansionAdapter(f,h)},clearSort:()=>{e.clearSort()},sort:(f,h)=>{e.commit("sort",{prop:f,order:h})},updateKeyChildren:(f,h)=>{e.updateKeyChildren(f,h)}}}function GK(e,t,n,l){const o=L(!1),a=L(null),s=L(!1),r=M=>{s.value=M},u=L({width:null,height:null,headerHeight:null}),c=L(!1),d={display:"inline-block",verticalAlign:"middle"},f=L(),h=L(0),m=L(0),v=L(0),p=L(0),g=L(0);ue(()=>e.height,M=>{t.setHeight(M??null)},{immediate:!0}),ue(()=>e.maxHeight,M=>{t.setMaxHeight(M??null)},{immediate:!0}),ue(()=>[e.currentRowKey,n.states.rowKey],([M,N])=>{!i(N)||!i(M)||n.setCurrentRowKey(`${M}`)},{immediate:!0}),ue(()=>e.data,M=>{l.store.commit("setData",M)},{immediate:!0,deep:!0}),vl(()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)});const b=()=>{l.store.commit("setHoverRow",null),l.hoverState&&(l.hoverState=null)},C=(M,N)=>{const{pixelX:B,pixelY:V}=N;Math.abs(B)>=Math.abs(V)&&(l.refs.bodyWrapper.scrollLeft+=N.pixelX/5)},w=S(()=>e.height||e.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),y=S(()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""})),k=()=>{w.value&&t.updateElsHeight(),t.updateColumnsWidth(),!(typeof window>"u")&&requestAnimationFrame(R)};ft(async()=>{await Re(),n.updateColumns(),I(),requestAnimationFrame(k);const M=l.vnode.el,N=l.refs.headerWrapper;e.flexible&&M&&M.parentElement&&(M.parentElement.style.minWidth="0"),u.value={width:f.value=M.offsetWidth,height:M.offsetHeight,headerHeight:e.showHeader&&N?N.offsetHeight:null},n.states.columns.value.forEach(B=>{B.filteredValue&&B.filteredValue.length&&l.store.commit("filterChange",{column:B,values:B.filteredValue,silent:!0})}),l.$ready=!0});const E=(M,N)=>{if(!M)return;const B=Array.from(M.classList).filter(V=>!V.startsWith("is-scrolling-"));B.push(t.scrollX.value?N:"is-scrolling-none"),M.className=B.join(" ")},x=M=>{const{tableWrapper:N}=l.refs;E(N,M)},$=M=>{const{tableWrapper:N}=l.refs;return!!(N&&N.classList.contains(M))},R=function(){if(!l.refs.scrollBarRef)return;if(!t.scrollX.value){const X="is-scrolling-none";$(X)||x(X);return}const M=l.refs.scrollBarRef.wrapRef;if(!M)return;const{scrollLeft:N,offsetWidth:B,scrollWidth:V}=M,{headerWrapper:z,footerWrapper:Y}=l.refs;z&&(z.scrollLeft=N),Y&&(Y.scrollLeft=N);const H=V-B-1;N>=H?x("is-scrolling-right"):x(N===0?"is-scrolling-left":"is-scrolling-middle")},I=()=>{l.refs.scrollBarRef&&(l.refs.scrollBarRef.wrapRef&&At(l.refs.scrollBarRef.wrapRef,"scroll",R,{passive:!0}),e.fit?Yt(l.vnode.el,A):At(window,"resize",A),Yt(l.refs.tableInnerWrapper,()=>{var M,N;A(),(N=(M=l.refs)==null?void 0:M.scrollBarRef)==null||N.update()}))},A=()=>{var M,N,B,V;const z=l.vnode.el;if(!l.$ready||!z)return;let Y=!1;const{width:H,height:X,headerHeight:J}=u.value,se=f.value=z.offsetWidth;H!==se&&(Y=!0);const re=z.offsetHeight;(e.height||w.value)&&X!==re&&(Y=!0);const fe=e.tableLayout==="fixed"?l.refs.headerWrapper:(M=l.refs.tableHeaderRef)==null?void 0:M.$el;e.showHeader&&(fe==null?void 0:fe.offsetHeight)!==J&&(Y=!0),h.value=((N=l.refs.tableWrapper)==null?void 0:N.scrollHeight)||0,v.value=(fe==null?void 0:fe.scrollHeight)||0,p.value=((B=l.refs.footerWrapper)==null?void 0:B.offsetHeight)||0,g.value=((V=l.refs.appendWrapper)==null?void 0:V.offsetHeight)||0,m.value=h.value-v.value-p.value-g.value,Y&&(u.value={width:se,height:re,headerHeight:e.showHeader&&(fe==null?void 0:fe.offsetHeight)||0},k())},O=hn(),D=S(()=>{const{bodyWidth:M,scrollY:N,gutterWidth:B}=t;return M.value?`${M.value-(N.value?B:0)}px`:""}),K=S(()=>e.maxHeight?"fixed":e.tableLayout),Z=S(()=>{if(e.data&&e.data.length)return;let M="100%";e.height&&m.value&&(M=`${m.value}px`);const N=f.value;return{width:N?`${N}px`:"",height:M}}),W=S(()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:`calc(${e.maxHeight} - ${v.value+p.value}px)`}:{maxHeight:`${+e.maxHeight-v.value-p.value}px`}:{});return{isHidden:o,renderExpanded:a,setDragVisible:r,isGroup:c,handleMouseLeave:b,handleHeaderFooterMousewheel:C,tableSize:O,emptyBlockStyle:Z,resizeProxyVisible:s,bodyWidth:D,resizeState:u,doLayout:k,tableBodyStyles:y,tableLayout:K,scrollbarViewStyle:d,scrollbarStyle:W}}function XK(e){let t;const n=()=>{const o=e.vnode.el.querySelector(".hidden-columns"),a={childList:!0,subtree:!0},s=e.store.states.updateOrderFns;t=new MutationObserver(()=>{s.forEach(r=>r())}),t.observe(o,a)};ft(()=>{n()}),fr(()=>{t==null||t.disconnect()})}var ZK={data:{type:Array,default:()=>[]},size:gn,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,rowExpandable:{type:Function},defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children",checkStrictly:!1})},lazy:Boolean,load:Function,style:{type:[String,Object,Array],default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:{type:[Boolean,Object],default:void 0},tooltipFormatter:Function,appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0},allowDragLastColumn:{type:Boolean,default:!0},preserveExpandedContent:Boolean,nativeScrollbar:Boolean};function m2(e){const t=e.tableLayout==="auto";let n=e.columns||[];t&&n.every(({width:o})=>St(o))&&(n=[]);const l=o=>{const a={key:`${e.tableLayout}_${o.id}`,style:{},name:void 0};return t?a.style={width:`${o.width}px`}:a.name=o.id,a};return Ge("colgroup",{},n.map(o=>Ge("col",l(o))))}m2.props=["columns","tableLayout"];const JK=()=>{const e=L(),t=(a,s)=>{const r=e.value;r&&r.scrollTo(a,s)},n=(a,s)=>{const r=e.value;r&&We(s)&&["Top","Left"].includes(a)&&r[`setScroll${a}`](s)};return{scrollBarRef:e,scrollTo:t,setScrollTop:a=>n("Top",a),setScrollLeft:a=>n("Left",a)}};var Xb=!1,ja,wv,Cv,qu,Gu,g2,Xu,Sv,kv,Ev,b2,xv,Tv,y2,w2;function il(){if(!Xb){Xb=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(xv=/\b(iPhone|iP[ao]d)/.exec(e),Tv=/\b(iP[ao]d)/.exec(e),Ev=/Android/i.exec(e),y2=/FBAN\/\w+;/i.exec(e),w2=/Mobile/i.exec(e),b2=!!/Win64/.exec(e),t){ja=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,ja&&document&&document.documentMode&&(ja=document.documentMode);var l=/(?:Trident\/(\d+.\d+))/.exec(e);g2=l?parseFloat(l[1])+4:ja,wv=t[2]?parseFloat(t[2]):NaN,Cv=t[3]?parseFloat(t[3]):NaN,qu=t[4]?parseFloat(t[4]):NaN,qu?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),Gu=t&&t[1]?parseFloat(t[1]):NaN):Gu=NaN}else ja=wv=Cv=Gu=qu=NaN;if(n){if(n[1]){var o=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);Xu=o?parseFloat(o[1].replace("_",".")):!0}else Xu=!1;Sv=!!n[2],kv=!!n[3]}else Xu=Sv=kv=!1}}var $v={ie:function(){return il()||ja},ieCompatibilityMode:function(){return il()||g2>ja},ie64:function(){return $v.ie()&&b2},firefox:function(){return il()||wv},opera:function(){return il()||Cv},webkit:function(){return il()||qu},safari:function(){return $v.webkit()},chrome:function(){return il()||Gu},windows:function(){return il()||Sv},osx:function(){return il()||Xu},linux:function(){return il()||kv},iphone:function(){return il()||xv},mobile:function(){return il()||xv||Tv||Ev||w2},nativeApp:function(){return il()||y2},android:function(){return il()||Ev},ipad:function(){return il()||Tv}},QK=$v,eW=!!(typeof window<"u"&&window.document&&window.document.createElement),tW={canUseDOM:eW},C2=tW,S2;C2.canUseDOM&&(S2=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function nW(e,t){if(!C2.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,l=n in document;if(!l){var o=document.createElement("div");o.setAttribute(n,"return;"),l=typeof o[n]=="function"}return!l&&S2&&e==="wheel"&&(l=document.implementation.hasFeature("Events.wheel","3.0")),l}var lW=nW,Zb=10,Jb=40,Qb=800;function k2(e){var t=0,n=0,l=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),l=t*Zb,o=n*Zb,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(l=e.deltaX),(l||o)&&e.deltaMode&&(e.deltaMode==1?(l*=Jb,o*=Jb):(l*=Qb,o*=Qb)),l&&!t&&(t=l<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:l,pixelY:o}}k2.getEventType=function(){return QK.firefox()?"DOMMouseScroll":lW("wheel")?"wheel":"mousewheel"};var oW=k2;/** -* Checks if an event is supported in the current execution environment. -* -* NOTE: This will not work correctly for non-generic events such as `change`, -* `reset`, `load`, `error`, and `select`. -* -* Borrows from Modernizr. -* -* @param {string} eventNameSuffix Event name, e.g. "click". -* @param {?boolean} capture Check if the capture phase is supported. -* @return {boolean} True if the event is supported. -* @internal -* @license Modernizr 3.0.0pre (Custom Build) | MIT -*/const Zu="_Mousewheel",e0=function(e,t){if(e&&e.addEventListener){E2(e);const n=function(l){const o=oW(l);t&&Reflect.apply(t,this,[l,o])};e[Zu]={wheelHandler:n},e.addEventListener("wheel",n,{passive:!0})}},E2=e=>{var t;(t=e[Zu])!=null&&t.wheelHandler&&(e.removeEventListener("wheel",e[Zu].wheelHandler),e[Zu]=null)},aW={beforeMount(e,t){e0(e,t.value)},unmounted(e){E2(e)},updated(e,t){t.value!==t.oldValue&&e0(e,t.value)}};let sW=1;var rW=ae({name:"ElTable",directives:{Mousewheel:aW},components:{TableHeader:BK,TableBody:WK,TableFooter:UK,ElScrollbar:Wl,hColgroup:m2},props:ZK,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change","scroll"],setup(e){const{t}=wt(),n=me("table"),l=na("table"),o=ct();yt(eo,o);const a=SK(o,e);o.store=a;const s=new TK({store:o.store,table:o,fit:e.fit,showHeader:e.showHeader});o.layout=s;const r=S(()=>(a.states.data.value||[]).length===0),{setCurrentRow:u,getSelectionRows:c,toggleRowSelection:d,clearSelection:f,clearFilter:h,toggleAllSelection:m,toggleRowExpansion:v,clearSort:p,sort:g,updateKeyChildren:b}=qK(a),{isHidden:C,renderExpanded:w,setDragVisible:y,isGroup:k,handleMouseLeave:E,handleHeaderFooterMousewheel:x,tableSize:$,emptyBlockStyle:R,resizeProxyVisible:I,bodyWidth:A,resizeState:O,doLayout:D,tableBodyStyles:K,tableLayout:Z,scrollbarViewStyle:W,scrollbarStyle:M}=GK(e,s,a,o),{scrollBarRef:N,scrollTo:B,setScrollLeft:V,setScrollTop:z}=JK(),Y=bo(D,50),H=`${n.namespace.value}-table_${sW++}`;o.tableId=H,o.state={isGroup:k,resizeState:O,doLayout:D,debouncedUpdateLayout:Y};const X=S(()=>{var ce;return(ce=e.sumText)!=null?ce:t("el.table.sumText")}),J=S(()=>{var ce;return(ce=e.emptyText)!=null?ce:t("el.table.emptyText")}),se=S(()=>{var ce,oe;return(oe=e.tooltipEffect)!=null?oe:(ce=l.value)==null?void 0:ce.tooltipEffect}),re=S(()=>{var ce,oe;return(oe=e.tooltipOptions)!=null?oe:(ce=l.value)==null?void 0:ce.tooltipOptions}),fe=S(()=>h2(a.states.originColumns.value)[0]);return XK(o),Pt(()=>{Y.cancel()}),{ns:n,layout:s,store:a,columns:fe,handleHeaderFooterMousewheel:x,handleMouseLeave:E,tableId:H,tableSize:$,isHidden:C,isEmpty:r,renderExpanded:w,resizeProxyVisible:I,resizeState:O,isGroup:k,bodyWidth:A,tableBodyStyles:K,emptyBlockStyle:R,debouncedUpdateLayout:Y,setCurrentRow:u,getSelectionRows:c,toggleRowSelection:d,clearSelection:f,clearFilter:h,toggleAllSelection:m,toggleRowExpansion:v,clearSort:p,doLayout:D,sort:g,updateKeyChildren:b,t,setDragVisible:y,context:o,computedSumText:X,computedEmptyText:J,computedTooltipEffect:se,computedTooltipOptions:re,tableLayout:Z,scrollbarViewStyle:W,scrollbarStyle:M,scrollBarRef:N,scrollTo:B,setScrollLeft:V,setScrollTop:z,allowDragLastColumn:e.allowDragLastColumn}}});const iW=["data-prefix"],uW={ref:"hiddenColumns",class:"hidden-columns"};function cW(e,t,n,l,o,a){const s=Tt("hColgroup"),r=Tt("table-header"),u=Tt("table-body"),c=Tt("table-footer"),d=Tt("el-scrollbar"),f=rp("mousewheel");return T(),F("div",{ref:"tableWrapper",class:P([{[e.ns.m("fit")]:e.fit,[e.ns.m("striped")]:e.stripe,[e.ns.m("border")]:e.border||e.isGroup,[e.ns.m("hidden")]:e.isHidden,[e.ns.m("group")]:e.isGroup,[e.ns.m("fluid-height")]:e.maxHeight,[e.ns.m("scrollable-x")]:e.layout.scrollX.value,[e.ns.m("scrollable-y")]:e.layout.scrollY.value,[e.ns.m("enable-row-hover")]:!e.store.states.isComplex.value,[e.ns.m("enable-row-transition")]:(e.store.states.data.value||[]).length!==0&&(e.store.states.data.value||[]).length<100,"has-footer":e.showSummary},e.ns.m(e.tableSize),e.className,e.ns.b(),e.ns.m(`layout-${e.tableLayout}`)]),style:je(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:t[1]||(t[1]=(...h)=>e.handleMouseLeave&&e.handleMouseLeave(...h))},[j("div",{ref:"tableInnerWrapper",class:P(e.ns.e("inner-wrapper"))},[j("div",uW,[te(e.$slots,"default")],512),e.showHeader&&e.tableLayout==="fixed"?it((T(),F("div",{key:0,ref:"headerWrapper",class:P(e.ns.e("header-wrapper"))},[j("table",{ref:"tableHeader",class:P(e.ns.e("header")),style:je(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[q(s,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),q(r,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,"allow-drag-last-column":e.allowDragLastColumn,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","append-filter-panel-to","allow-drag-last-column","onSetDragVisible"])],6)],2)),[[f,e.handleHeaderFooterMousewheel]]):ne("v-if",!0),j("div",{ref:"bodyWrapper",class:P(e.ns.e("body-wrapper"))},[q(d,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn,tabindex:e.scrollbarTabindex,native:e.nativeScrollbar,onScroll:t[0]||(t[0]=h=>e.$emit("scroll",h))},{default:ee(()=>[j("table",{ref:"tableBody",class:P(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:je({width:e.bodyWidth,tableLayout:e.tableLayout})},[q(s,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&e.tableLayout==="auto"?(T(),le(r,{key:0,ref:"tableHeaderRef",class:P(e.ns.e("body-header")),border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["class","border","default-sort","store","append-filter-panel-to","onSetDragVisible"])):ne("v-if",!0),q(u,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.computedTooltipEffect,"tooltip-options":e.computedTooltipOptions,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&e.tableLayout==="auto"?(T(),le(c,{key:1,class:P(e.ns.e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):ne("v-if",!0)],6),e.isEmpty?(T(),F("div",{key:0,ref:"emptyBlock",style:je(e.emptyBlockStyle),class:P(e.ns.e("empty-block"))},[j("span",{class:P(e.ns.e("empty-text"))},[te(e.$slots,"empty",{},()=>[bt(ke(e.computedEmptyText),1)])],2)],6)):ne("v-if",!0),e.$slots.append?(T(),F("div",{key:1,ref:"appendWrapper",class:P(e.ns.e("append-wrapper"))},[te(e.$slots,"append")],2)):ne("v-if",!0)]),_:3},8,["view-style","wrap-style","always","tabindex","native"])],2),e.showSummary&&e.tableLayout==="fixed"?it((T(),F("div",{key:1,ref:"footerWrapper",class:P(e.ns.e("footer-wrapper"))},[j("table",{class:P(e.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:je(e.tableBodyStyles)},[q(s,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),q(c,{border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[$t,!e.isEmpty],[f,e.handleHeaderFooterMousewheel]]):ne("v-if",!0),e.border||e.isGroup?(T(),F("div",{key:2,class:P(e.ns.e("border-left-patch"))},null,2)):ne("v-if",!0)],2),it(j("div",{ref:"resizeProxy",class:P(e.ns.e("column-resize-proxy"))},null,2),[[$t,e.resizeProxyVisible]])],46,iW)}var dW=bn(rW,[["render",cW]]);const fW={selection:"table-column--selection",expand:"table__expand-column"},vW={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},pW=e=>fW[e]||"",hW={selection:{renderHeader({store:e}){var t;function n(){return e.states.data.value&&e.states.data.value.length===0}return Ge(jl,{disabled:n(),size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":(t=e.toggleAllSelection)!=null?t:void 0,modelValue:e.states.isAllSelected.value,ariaLabel:e.t("el.table.selectAllLabel")})},renderCell({row:e,column:t,store:n,$index:l}){return Ge(jl,{disabled:t.selectable?!t.selectable.call(null,e,l):!1,size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",e)},onClick:o=>o.stopPropagation(),modelValue:n.isSelected(e),ariaLabel:n.t("el.table.selectRowLabel")})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let n=t+1;const l=e.index;return We(l)?n=t+l:He(l)&&(n=l(t)),Ge("div",{},[n])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({column:e,row:t,store:n,expanded:l,$index:o}){var a,s,r;const{ns:u}=n,c=[u.e("expand-icon")];!e.renderExpand&&l&&c.push(u.em("expand-icon","expanded"));const d=function(h){h.stopPropagation(),n.toggleRowExpansion(t)},f=(r=(s=(a=n.states.rowExpandable).value)==null?void 0:s.call(a,t,o))!=null?r:!0;return f||c.push(u.is("disabled")),Ge("button",{type:"button",disabled:!f,"aria-label":n.t(l?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":l,class:c,onClick:d},{default:()=>e.renderExpand?[e.renderExpand({expanded:l,expandable:f})]:[Ge(_e,null,{default:()=>[Ge(Gn)]})]})},sortable:!1,resizable:!1}};function mW({row:e,column:t,$index:n}){var l;const o=t.property,a=o&&ka(e,o).value;return t&&t.formatter?t.formatter(e,t,a,n):((l=a==null?void 0:a.toString)==null?void 0:l.call(a))||""}function gW({row:e,treeNode:t,store:n},l=!1){const{ns:o}=n;if(!t)return l?[Ge("span",{class:o.e("placeholder")})]:null;const a=[],s=function(r){r.stopPropagation(),!t.loading&&n.loadOrToggle(e)};if(t.indent&&a.push(Ge("span",{class:o.e("indent"),style:{"padding-left":`${t.indent}px`}})),Vt(t.expanded)&&!t.noLazyChildren){const r=[o.e("expand-icon"),t.expanded?o.em("expand-icon","expanded"):""];let u=Gn;t.loading&&(u=wo),a.push(Ge("button",{type:"button","aria-label":n.t(t.expanded?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":t.expanded,class:r,onClick:s},{default:()=>[Ge(_e,{class:o.is("loading",t.loading)},{default:()=>[Ge(u)]})]}))}else a.push(Ge("span",{class:o.e("placeholder")}));return a}function t0(e,t){return e.reduce((n,l)=>(n[l]=l,n),t)}function bW(e,t){const n=ct();return{registerComplexWatchers:()=>{const a=["fixed"],s={realWidth:"width",realMinWidth:"minWidth"},r=t0(a,s);Object.keys(r).forEach(u=>{const c=s[u];xt(t,c)&&ue(()=>t[c],d=>{let f=d;c==="width"&&u==="realWidth"&&(f=$h(d)),c==="minWidth"&&u==="realMinWidth"&&(f=i2(d)),n.columnConfig.value[c]=f,n.columnConfig.value[u]=f;const h=c==="fixed";e.value.store.scheduleLayout(h)})})},registerNormalWatchers:()=>{const a=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip","tooltipFormatter","resizable"],s=["showOverflowTooltip"],r={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},u=t0(a,r);Object.keys(u).forEach(d=>{const f=r[d];xt(t,f)&&ue(()=>t[f],h=>{n.columnConfig.value[d]=h,(d==="filters"||d==="filterMethod")&&(n.columnConfig.value.filterable=!!(n.columnConfig.value.filters||n.columnConfig.value.filterMethod))})}),s.forEach(d=>{xt(e.value.props,d)&&ue(()=>e.value.props[d],f=>{n.columnConfig.value.type!=="selection"&&St(t[d])&&(n.columnConfig.value[d]=f)})});const c=na("table");c.value&&xt(c.value,"showOverflowTooltip")&&ue(()=>{var d;return(d=c.value)==null?void 0:d.showOverflowTooltip},d=>{n.columnConfig.value.type!=="selection"&&(!St(t.showOverflowTooltip)||!St(e.value.props.showOverflowTooltip)||(n.columnConfig.value.showOverflowTooltip=d))})}}}function yW(e,t,n){const l=ct(),o=L(""),a=L(!1),s=L(),r=L(),u=me("table");vl(()=>{s.value=e.align?`is-${e.align}`:null,s.value}),vl(()=>{r.value=e.headerAlign?`is-${e.headerAlign}`:s.value,r.value});const c=S(()=>{let y=l.vnode.vParent||l.parent;for(;y&&!y.tableId&&!y.columnId;)y=y.vnode.vParent||y.parent;return y}),d=S(()=>{const{store:y}=l.parent;if(!y)return!1;const{treeData:k}=y.states,E=k.value;return E&&Object.keys(E).length>0}),f=L($h(e.width)),h=L(i2(e.minWidth)),m=y=>(f.value&&(y.width=f.value),h.value&&(y.minWidth=h.value),!f.value&&h.value&&(y.width=void 0),y.minWidth||(y.minWidth=80),y.realWidth=Number(St(y.width)?y.minWidth:y.width),y),v=y=>{const k=y.type,E=hW[k]||{};Object.keys(E).forEach($=>{const R=E[$];$!=="className"&&!St(R)&&(y[$]=R)});const x=pW(k);if(x){const $=`${i(u.namespace)}-${x}`;y.className=y.className?`${y.className} ${$}`:$}return y},p=y=>{ye(y)?y.forEach(E=>k(E)):k(y);function k(E){var x;((x=E==null?void 0:E.type)==null?void 0:x.name)==="ElTableColumn"&&(E.vParent=l)}};return{columnId:o,realAlign:s,isSubColumn:a,realHeaderAlign:r,columnOrTableParent:c,setColumnWidth:m,setColumnForcedProps:v,setColumnRenders:y=>{e.renderHeader||y.type!=="selection"&&(y.renderHeader=E=>{if(l.columnConfig.value.label,t.header){const x=t.header(E);if(d2(x))return Ge(ze,x)}return bt(y.label)}),t["filter-icon"]&&(y.renderFilterIcon=E=>te(t,"filter-icon",E)),t.expand&&(y.renderExpand=E=>te(t,"expand",E));let k=y.renderCell;return y.type==="expand"?(y.renderCell=E=>Ge("div",{class:"cell"},[k(E)]),n.value.renderExpanded=E=>t.default?t.default(E):t.default):(k=k||mW,y.renderCell=E=>{let x=null;if(t.default){const D=t.default(E);x=D.some(K=>K.type!==cn)?D:k(E)}else x=k(E);const{columns:$}=n.value.store.states,R=$.value.findIndex(D=>D.type==="default"),I=d.value&&E.cellIndex===R,A=gW(E,I),O={class:"cell",style:{}};return y.showOverflowTooltip&&(O.class=`${O.class} ${i(u.namespace)}-tooltip`,O.style={width:`${(E.column.realWidth||Number(E.column.width))-1}px`}),p(x),Ge("div",O,[A,x])}),y},getPropsData:(...y)=>y.reduce((k,E)=>(ye(E)&&E.forEach(x=>{k[x]=e[x]}),k),{}),getColumnElIndex:(y,k)=>Array.prototype.indexOf.call(y,k),updateColumnOrder:()=>{n.value.store.commit("updateColumnOrder",l.columnConfig.value)}}}var wW={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},tooltipFormatter:Function,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every(t=>["ascending","descending",null].includes(t))}};let CW=1;var x2=ae({name:"ElTableColumn",components:{ElCheckbox:jl},props:wW,setup(e,{slots:t}){const n=ct(),l=na("table"),o=L({}),a=S(()=>{let y=n.parent;for(;y&&!y.tableId;)y=y.parent;return y}),{registerNormalWatchers:s,registerComplexWatchers:r}=bW(a,e),{columnId:u,isSubColumn:c,realHeaderAlign:d,columnOrTableParent:f,setColumnWidth:h,setColumnForcedProps:m,setColumnRenders:v,getPropsData:p,getColumnElIndex:g,realAlign:b,updateColumnOrder:C}=yW(e,t,a),w=f.value;u.value=`${"tableId"in w&&w.tableId||"columnId"in w&&w.columnId}_column_${CW++}`,Xc(()=>{var y,k,E,x;c.value=a.value!==w;const $=e.type||"default",R=e.sortable===""?!0:e.sortable,I=$==="selection"?!1:St(e.showOverflowTooltip)?(k=w.props.showOverflowTooltip)!=null?k:(y=l.value)==null?void 0:y.showOverflowTooltip:e.showOverflowTooltip,A=St(e.tooltipFormatter)?(x=w.props.tooltipFormatter)!=null?x:(E=l.value)==null?void 0:E.tooltipFormatter:e.tooltipFormatter,O={...vW[$],id:u.value,type:$,property:e.prop||e.property,align:b,headerAlign:d,showOverflowTooltip:I,tooltipFormatter:A,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:R,index:e.index,rawColumnKey:n.vnode.key};let M=p(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);M=cK(O,M),M=fK(v,h,m)(M),o.value=M,s(),r()}),ft(()=>{var y,k;const E=f.value,x=c.value?(y=E.vnode.el)==null?void 0:y.children:(k=E.refs.hiddenColumns)==null?void 0:k.children,$=()=>g(x||[],n.vnode.el);o.value.getColumnIndex=$,$()>-1&&a.value.store.commit("insertColumn",o.value,c.value?"columnConfig"in E&&E.columnConfig.value:null,C)}),Pt(()=>{const y=o.value.getColumnIndex;(y?y():-1)>-1&&a.value.store.commit("removeColumn",o.value,c.value?"columnConfig"in w&&w.columnConfig.value:null,C)}),n.columnId=u.value,n.columnConfig=o},render(){var e,t,n;try{const l=(t=(e=this.$slots).default)==null?void 0:t.call(e,{row:{},column:{},$index:-1}),o=[];if(ye(l))for(const s of l)((n=s.type)==null?void 0:n.name)==="ElTableColumn"||s.shapeFlag&2?o.push(s):s.type===ze&&ye(s.children)&&s.children.forEach(r=>{(r==null?void 0:r.patchFlag)!==1024&&!Ve(r==null?void 0:r.children)&&o.push(r)});return Ge("div",o)}catch{return Ge("div",[])}}});const SW=ot(dW,{TableColumn:x2}),kW=Xt(x2);var Za=(e=>(e.ASC="asc",e.DESC="desc",e))(Za||{}),$i=(e=>(e.LEFT="left",e.CENTER="center",e.RIGHT="right",e))($i||{}),T2=(e=>(e.LEFT="left",e.RIGHT="right",e))(T2||{});const Ov={asc:"desc",desc:"asc"},Oi=Symbol("placeholder"),EW=(e,t,n)=>{var l,o,a;const s={flexGrow:0,flexShrink:0,...n?{}:{flexGrow:(l=e.flexGrow)!=null?l:0,flexShrink:(o=e.flexShrink)!=null?o:1}},r={...(a=e.style)!=null?a:{},...s,flexBasis:"auto",width:e.width};return t||(e.maxWidth&&(r.maxWidth=e.maxWidth),e.minWidth&&(r.minWidth=e.minWidth)),r};function xW(e,t,n){const l=S(()=>i(t).map((g,b)=>{var C,w;return{...g,key:(w=(C=g.key)!=null?C:g.dataKey)!=null?w:b}})),o=S(()=>i(l).filter(g=>!g.hidden)),a=S(()=>i(o).filter(g=>g.fixed==="left"||g.fixed===!0)),s=S(()=>i(o).filter(g=>g.fixed==="right")),r=S(()=>i(o).filter(g=>!g.fixed)),u=S(()=>{const g=[];return i(a).forEach(b=>{g.push({...b,placeholderSign:Oi})}),i(r).forEach(b=>{g.push(b)}),i(s).forEach(b=>{g.push({...b,placeholderSign:Oi})}),g}),c=S(()=>i(a).length||i(s).length),d=S(()=>i(l).reduce((g,b)=>(g[b.key]=EW(b,i(n),e.fixed),g),{})),f=S(()=>i(o).reduce((g,b)=>g+b.width,0)),h=g=>i(l).find(b=>b.key===g),m=g=>i(d)[g],v=(g,b)=>{g.width=b};function p(g){var b;const{key:C}=g.currentTarget.dataset;if(!C)return;const{sortState:w,sortBy:y}=e;let k=Za.ASC;nt(w)?k=Ov[w[C]]:k=Ov[y.order],(b=e.onColumnSort)==null||b.call(e,{column:h(C),key:C,order:k})}return{columns:l,columnsStyles:d,columnsTotalWidth:f,fixedColumnsOnLeft:a,fixedColumnsOnRight:s,hasFixedColumns:c,mainColumns:u,normalColumns:r,visibleColumns:o,getColumn:h,getColumnStyle:m,updateColumnWidth:v,onColumnSorted:p}}const TW=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:l,onMaybeEndReached:o})=>{const a=L({scrollLeft:0,scrollTop:0});function s(m){var v,p,g;const{scrollTop:b}=m;(v=t.value)==null||v.scrollTo(m),(p=n.value)==null||p.scrollToTop(b),(g=l.value)==null||g.scrollToTop(b)}function r(m){a.value=m,s(m)}function u(m){a.value.scrollTop=m,s(i(a))}function c(m){var v,p;a.value.scrollLeft=m,(p=(v=t.value)==null?void 0:v.scrollTo)==null||p.call(v,i(a))}function d(m){var v;r(m),(v=e.onScroll)==null||v.call(e,m)}function f({scrollTop:m}){const{scrollTop:v}=i(a);m!==v&&u(m)}function h(m,v="auto"){var p;(p=t.value)==null||p.scrollToRow(m,v)}return ue(()=>i(a).scrollTop,(m,v)=>{m>v&&o()}),{scrollPos:a,scrollTo:r,scrollToLeft:c,scrollToTop:u,scrollToRow:h,onScroll:d,onVerticalScroll:f}},$W=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:l,tableInstance:o,ns:a,isScrolling:s})=>{const r=ct(),{emit:u}=r,c=Wt(!1),d=L(e.defaultExpandedRowKeys||[]),f=L(-1),h=Wt(null),m=L({}),v=L({}),p=Wt({}),g=Wt({}),b=Wt({}),C=S(()=>We(e.estimatedRowHeight));function w(I){var A;(A=e.onRowsRendered)==null||A.call(e,I),I.rowCacheEnd>i(f)&&(f.value=I.rowCacheEnd)}function y({hovered:I,rowKey:A}){if(s.value)return;o.vnode.el.querySelectorAll(`[rowkey="${String(A)}"]`).forEach(K=>{I?K.classList.add(a.is("hovered")):K.classList.remove(a.is("hovered"))})}function k({expanded:I,rowData:A,rowIndex:O,rowKey:D}){var K,Z;const W=[...i(d)],M=W.indexOf(D);I?M===-1&&W.push(D):M>-1&&W.splice(M,1),d.value=W,u("update:expandedRowKeys",W),(K=e.onRowExpand)==null||K.call(e,{expanded:I,rowData:A,rowIndex:O,rowKey:D}),(Z=e.onExpandedRowsChange)==null||Z.call(e,W),o.vnode.el.querySelector(`.${a.is("hovered")}[rowkey="${String(D)}"]`)&&Re(()=>y({hovered:!0,rowKey:D}))}const E=bo(()=>{var I,A,O,D;c.value=!0,m.value={...i(m),...i(v)},x(i(h),!1),v.value={},h.value=null,(I=t.value)==null||I.forceUpdate(),(A=n.value)==null||A.forceUpdate(),(O=l.value)==null||O.forceUpdate(),(D=r.proxy)==null||D.$forceUpdate(),c.value=!1},0);function x(I,A=!1){i(C)&&[t,n,l].forEach(O=>{const D=i(O);D&&D.resetAfterRowIndex(I,A)})}function $(I,A,O){const D=i(h);(D===null||D>O)&&(h.value=O),v.value[I]=A}function R({rowKey:I,height:A,rowIndex:O},D){D?D===T2.RIGHT?b.value[I]=A:p.value[I]=A:g.value[I]=A;const K=Math.max(...[p,b,g].map(Z=>Z.value[I]||0));i(m)[I]!==K&&($(I,K,O),E())}return{expandedRowKeys:d,lastRenderedRowIndex:f,isDynamic:C,isResetting:c,rowHeights:m,resetAfterIndex:x,onRowExpanded:k,onRowHovered:y,onRowsRendered:w,onRowHeightChange:R}},OW=(e,{expandedRowKeys:t,lastRenderedRowIndex:n,resetAfterIndex:l})=>{const o=L({}),a=S(()=>{const r={},{data:u,rowKey:c}=e,d=i(t);if(!d||!d.length)return u;const f=[],h=new Set;d.forEach(v=>h.add(v));let m=u.slice();for(m.forEach(v=>r[v[c]]=0);m.length>0;){const v=m.shift();f.push(v),h.has(v[c])&&ye(v.children)&&v.children.length>0&&(m=[...v.children,...m],v.children.forEach(p=>r[p[c]]=r[v[c]]+1))}return o.value=r,f}),s=S(()=>{const{data:r,expandColumnKey:u}=e;return u?i(a):r});return ue(s,(r,u)=>{r!==u&&(n.value=-1,l(0,!0))}),{data:s,depthMap:o}},NW=(e,t)=>e+t,Ju=e=>ye(e)?e.reduce(NW,0):e,ds=(e,t,n={})=>He(e)?e(t):e??n,wa=e=>(["width","maxWidth","minWidth","height"].forEach(t=>{e[t]=tn(e[t])}),e),$2=e=>zt(e)?t=>Ge(e,t):e,IW=(e,{columnsTotalWidth:t,rowsHeight:n,fixedColumnsOnLeft:l,fixedColumnsOnRight:o})=>{const a=S(()=>{const{fixed:b,width:C,vScrollbarSize:w}=e,y=C-w;return b?Math.max(Math.round(i(t)),y):y}),s=S(()=>{const{height:b=0,maxHeight:C=0,footerHeight:w,hScrollbarSize:y}=e;if(C>0){const k=i(h),E=i(n),$=i(f)+k+E+y;return Math.min($,C-w)}return b-w}),r=S(()=>{const{maxHeight:b}=e,C=i(s);if(We(b)&&b>0)return C;const w=i(n)+i(f)+i(h);return Math.min(C,w)}),u=b=>b.width,c=S(()=>Ju(i(l).map(u))),d=S(()=>Ju(i(o).map(u))),f=S(()=>Ju(e.headerHeight)),h=S(()=>{var b;return(((b=e.fixedData)==null?void 0:b.length)||0)*e.rowHeight}),m=S(()=>i(s)-i(f)-i(h)),v=S(()=>{const{style:b={},height:C,width:w}=e;return wa({...b,height:C,width:w})}),p=S(()=>wa({height:e.footerHeight})),g=S(()=>({top:tn(i(f)),bottom:tn(e.footerHeight),width:tn(e.width)}));return{bodyWidth:a,fixedTableHeight:r,mainTableHeight:s,leftTableWidth:c,rightTableWidth:d,windowHeight:m,footerHeight:p,emptyStyle:g,rootStyle:v,headerHeight:f}};function MW(e){const t=L(),n=L(),l=L(),{columns:o,columnsStyles:a,columnsTotalWidth:s,fixedColumnsOnLeft:r,fixedColumnsOnRight:u,hasFixedColumns:c,mainColumns:d,onColumnSorted:f}=xW(e,Lt(e,"columns"),Lt(e,"fixed")),{scrollTo:h,scrollToLeft:m,scrollToTop:v,scrollToRow:p,onScroll:g,onVerticalScroll:b,scrollPos:C}=TW(e,{mainTableRef:t,leftTableRef:n,rightTableRef:l,onMaybeEndReached:Q}),w=me("table-v2"),y=ct(),k=Wt(!1),{expandedRowKeys:E,lastRenderedRowIndex:x,isDynamic:$,isResetting:R,rowHeights:I,resetAfterIndex:A,onRowExpanded:O,onRowHeightChange:D,onRowHovered:K,onRowsRendered:Z}=$W(e,{mainTableRef:t,leftTableRef:n,rightTableRef:l,tableInstance:y,ns:w,isScrolling:k}),{data:W,depthMap:M}=OW(e,{expandedRowKeys:E,lastRenderedRowIndex:x,resetAfterIndex:A}),N=S(()=>{const{estimatedRowHeight:ie,rowHeight:he}=e,pe=i(W);return We(ie)?Object.values(i(I)).reduce((be,$e)=>be+$e,0):pe.length*he}),{bodyWidth:B,fixedTableHeight:V,mainTableHeight:z,leftTableWidth:Y,rightTableWidth:H,windowHeight:X,footerHeight:J,emptyStyle:se,rootStyle:re,headerHeight:fe}=IW(e,{columnsTotalWidth:s,fixedColumnsOnLeft:r,fixedColumnsOnRight:u,rowsHeight:N}),ce=L(),oe=S(()=>{const ie=i(W).length===0;return ye(e.fixedData)?e.fixedData.length===0&&ie:ie});function U(ie){const{estimatedRowHeight:he,rowHeight:pe,rowKey:be}=e;return he?i(I)[i(W)[ie][be]]||he:pe}const _=L(!1);function Q(){const{onEndReached:ie}=e;if(!ie)return;const{scrollTop:he}=i(C),pe=i(N),be=i(X),$e=pe-(he+be)+e.hScrollbarSize;!_.value&&i(x)>=0&&pe<=he+i(z)-i(fe)?(_.value=!0,ie($e)):_.value=!1}return ue(()=>i(N),()=>_.value=!1),ue(()=>e.expandedRowKeys,ie=>E.value=ie,{deep:!0}),{columns:o,containerRef:ce,mainTableRef:t,leftTableRef:n,rightTableRef:l,isDynamic:$,isResetting:R,isScrolling:k,hasFixedColumns:c,columnsStyles:a,columnsTotalWidth:s,data:W,expandedRowKeys:E,depthMap:M,fixedColumnsOnLeft:r,fixedColumnsOnRight:u,mainColumns:d,bodyWidth:B,emptyStyle:se,rootStyle:re,footerHeight:J,mainTableHeight:z,fixedTableHeight:V,leftTableWidth:Y,rightTableWidth:H,showEmpty:oe,getRowHeight:U,onColumnSorted:f,onRowHovered:K,onRowExpanded:O,onRowsRendered:Z,onRowHeightChange:D,scrollTo:h,scrollToLeft:m,scrollToTop:v,scrollToRow:p,onScroll:g,onVerticalScroll:b}}const Ph=Symbol("tableV2"),O2="tableV2GridScrollLeft",N2=String,ou={type:G(Array),required:!0},Rh={type:G(Array)},I2={...Rh,required:!0},PW=String,n0={type:G(Array),default:()=>en([])},Ya={type:Number,required:!0},M2={type:G([String,Number,Symbol]),default:"id"},l0={type:G(Object)},Ja=Se({class:String,columns:ou,columnsStyles:{type:G(Object),required:!0},depth:Number,expandColumnKey:PW,estimatedRowHeight:{...ls.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:G(Function)},onRowHover:{type:G(Function)},onRowHeightChange:{type:G(Function)},rowData:{type:G(Object),required:!0},rowEventHandlers:{type:G(Object)},rowIndex:{type:Number,required:!0},rowKey:M2,style:{type:G(Object)}}),bf={type:Number,required:!0},Ah=Se({class:String,columns:ou,fixedHeaderData:{type:G(Array)},headerData:{type:G(Array),required:!0},headerHeight:{type:G([Number,Array]),default:50},rowWidth:bf,rowHeight:{type:Number,default:50},height:bf,width:bf}),Qu=Se({columns:ou,data:I2,fixedData:Rh,estimatedRowHeight:Ja.estimatedRowHeight,width:Ya,height:Ya,headerWidth:Ya,headerHeight:Ah.headerHeight,bodyWidth:Ya,rowHeight:Ya,cache:GS.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:ls.scrollbarAlwaysOn,scrollbarStartGap:ls.scrollbarStartGap,scrollbarEndGap:ls.scrollbarEndGap,class:N2,style:l0,containerStyle:l0,getRowHeight:{type:G(Function),required:!0},rowKey:Ja.rowKey,onRowsRendered:{type:G(Function)},onScroll:{type:G(Function)}}),RW=Se({cache:Qu.cache,estimatedRowHeight:Ja.estimatedRowHeight,rowKey:M2,headerClass:{type:G([String,Function])},headerProps:{type:G([Object,Function])},headerCellProps:{type:G([Object,Function])},headerHeight:Ah.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:G([String,Function])},rowProps:{type:G([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:G([Object,Function])},columns:ou,data:I2,dataGetter:{type:G(Function)},fixedData:Rh,expandColumnKey:Ja.expandColumnKey,expandedRowKeys:n0,defaultExpandedRowKeys:n0,class:N2,fixed:Boolean,style:{type:G(Object)},width:Ya,height:Ya,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:ls.hScrollbarSize,vScrollbarSize:ls.vScrollbarSize,scrollbarAlwaysOn:JS.alwaysOn,sortBy:{type:G(Object),default:()=>({})},sortState:{type:G(Object),default:void 0},onColumnSort:{type:G(Function)},onExpandedRowsChange:{type:G(Function)},onEndReached:{type:G(Function)},onRowExpand:Ja.onRowExpand,onScroll:Qu.onScroll,onRowsRendered:Qu.onRowsRendered,rowEventHandlers:Ja.rowEventHandlers}),AW=({atXEndEdge:e,atXStartEdge:t,atYEndEdge:n,atYStartEdge:l},o)=>{let a=null,s=0,r=0;const u=(d,f)=>{const h=d<0&&t.value||d>0&&e.value,m=f<0&&l.value||f>0&&n.value;return h||m};return{hasReachedEdge:u,onWheel:d=>{Uo(a);let f=d.deltaX,h=d.deltaY;if(Math.abs(f)>Math.abs(h)?h=0:f=0,d.shiftKey&&h!==0&&(f=h,h=0),u(f,h)){d.deltaX!==0&&f===0&&d.preventDefault();return}s+=f,r+=h,d.preventDefault(),a=yo(()=>{o(s,r),s=0,r=0})}}},LW=(e,t,n,l,o,a,s)=>{const r=L(0),u=L(0);let c,d=0,f=0;const h=v=>{Uo(c),r.value=v.touches[0].clientX,u.value=v.touches[0].clientY,d=0,f=0},m=v=>{v.preventDefault(),Uo(c),d+=r.value-v.touches[0].clientX,f+=u.value-v.touches[0].clientY,r.value=v.touches[0].clientX,u.value=v.touches[0].clientY,c=yo(()=>{const p=l.value-i(a),g=o.value-i(s),b=Math.min(t.value.scrollLeft+d,p),C=Math.min(t.value.scrollTop+f,g);n({scrollLeft:b,scrollTop:C}),d=0,f=0})};return At(e,"touchstart",h,{passive:!0}),At(e,"touchmove",m,{passive:!1}),{touchStartX:r,touchStartY:u,handleTouchStart:h,handleTouchMove:m}},P2=({name:e,clearCache:t,getColumnPosition:n,getColumnStartIndexForOffset:l,getColumnStopIndexForStartIndex:o,getEstimatedTotalHeight:a,getEstimatedTotalWidth:s,getColumnOffset:r,getRowOffset:u,getRowPosition:c,getRowStartIndexForOffset:d,getRowStopIndexForStartIndex:f,initCache:h,injectToInstance:m,validateProps:v})=>ae({name:e??"ElVirtualList",props:ls,emits:[Oc,Nc],setup(p,{emit:g,expose:b,slots:C}){const w=me("vl");v(p);const y=ct(),k=L(h(p,y));m==null||m(y,k);const E=L(),x=L(),$=L(),R=L(),I=L({isScrolling:!1,scrollLeft:We(p.initScrollLeft)?p.initScrollLeft:0,scrollTop:We(p.initScrollTop)?p.initScrollTop:0,updateRequested:!1,xAxisScrollDir:Ls,yAxisScrollDir:Ls}),A=WS(),O=S(()=>Number.parseInt(`${p.height}`,10)),D=S(()=>Number.parseInt(`${p.width}`,10)),K=S(()=>{const{totalColumn:ge,totalRow:Te,columnCache:we}=p,{isScrolling:Pe,xAxisScrollDir:Fe,scrollLeft:Ze}=i(I);if(ge===0||Te===0)return[0,0,0,0];const Oe=l(p,Ze,i(k)),Ae=o(p,Oe,Ze,i(k)),Ke=!Pe||Fe===Ic?Math.max(1,we):1,Et=!Pe||Fe===Ls?Math.max(1,we):1;return[Math.max(0,Oe-Ke),Math.max(0,Math.min(ge-1,Ae+Et)),Oe,Ae]}),Z=S(()=>{const{totalColumn:ge,totalRow:Te,rowCache:we}=p,{isScrolling:Pe,yAxisScrollDir:Fe,scrollTop:Ze}=i(I);if(ge===0||Te===0)return[0,0,0,0];const Oe=d(p,Ze,i(k)),Ae=f(p,Oe,Ze,i(k)),Ke=!Pe||Fe===Ic?Math.max(1,we):1,Et=!Pe||Fe===Ls?Math.max(1,we):1;return[Math.max(0,Oe-Ke),Math.max(0,Math.min(Te-1,Ae+Et)),Oe,Ae]}),W=S(()=>a(p,i(k))),M=S(()=>s(p,i(k))),N=S(()=>{var ge;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:p.direction,height:We(p.height)?`${p.height}px`:p.height,width:We(p.width)?`${p.width}px`:p.width},(ge=p.style)!=null?ge:{}]}),B=S(()=>{const ge=`${i(M)}px`;return{height:`${i(W)}px`,pointerEvents:i(I).isScrolling?"none":void 0,width:ge,margin:0,boxSizing:"border-box"}}),V=()=>{const{totalColumn:ge,totalRow:Te}=p;if(ge>0&&Te>0){const[Ae,Ke,Et,It]=i(K),[qe,st,mt,ve]=i(Z);g(Oc,{columnCacheStart:Ae,columnCacheEnd:Ke,rowCacheStart:qe,rowCacheEnd:st,columnVisibleStart:Et,columnVisibleEnd:It,rowVisibleStart:mt,rowVisibleEnd:ve})}const{scrollLeft:we,scrollTop:Pe,updateRequested:Fe,xAxisScrollDir:Ze,yAxisScrollDir:Oe}=i(I);g(Nc,{xAxisScrollDir:Ze,scrollLeft:we,yAxisScrollDir:Oe,scrollTop:Pe,updateRequested:Fe})},z=ge=>{const{clientHeight:Te,clientWidth:we,scrollHeight:Pe,scrollLeft:Fe,scrollTop:Ze,scrollWidth:Oe}=ge.currentTarget,Ae=i(I);if(Ae.scrollTop===Ze&&Ae.scrollLeft===Fe)return;let Ke=Fe;if(_b(p.direction))switch(Pc()){case xi:Ke=-Fe;break;case Th:Ke=Oe-we-Fe;break}I.value={...Ae,isScrolling:!0,scrollLeft:Ke,scrollTop:Math.max(0,Math.min(Ze,Pe-Te)),updateRequested:!0,xAxisScrollDir:Xa(Ae.scrollLeft,Ke),yAxisScrollDir:Xa(Ae.scrollTop,Ze)},Re(()=>_()),Q(),V()},Y=(ge,Te)=>{const we=i(O),Pe=(W.value-we)/Te*ge;J({scrollTop:Math.min(W.value-we,Pe)})},H=(ge,Te)=>{const we=i(D),Pe=(M.value-we)/Te*ge;J({scrollLeft:Math.min(M.value-we,Pe)})},{onWheel:X}=AW({atXStartEdge:S(()=>I.value.scrollLeft<=0),atXEndEdge:S(()=>I.value.scrollLeft>=M.value-i(D)),atYStartEdge:S(()=>I.value.scrollTop<=0),atYEndEdge:S(()=>I.value.scrollTop>=W.value-i(O))},(ge,Te)=>{var we,Pe,Fe,Ze;(Pe=(we=x.value)==null?void 0:we.onMouseUp)==null||Pe.call(we),(Ze=(Fe=$.value)==null?void 0:Fe.onMouseUp)==null||Ze.call(Fe);const Oe=i(D),Ae=i(O);J({scrollLeft:Math.min(I.value.scrollLeft+ge,M.value-Oe),scrollTop:Math.min(I.value.scrollTop+Te,W.value-Ae)})});At(E,"wheel",X,{passive:!1});const J=({scrollLeft:ge=I.value.scrollLeft,scrollTop:Te=I.value.scrollTop})=>{ge=Math.max(ge,0),Te=Math.max(Te,0);const we=i(I);Te===we.scrollTop&&ge===we.scrollLeft||(I.value={...we,xAxisScrollDir:Xa(we.scrollLeft,ge),yAxisScrollDir:Xa(we.scrollTop,Te),scrollLeft:ge,scrollTop:Te,updateRequested:!0},Re(()=>_()),Q(),V())},{touchStartX:se,touchStartY:re,handleTouchStart:fe,handleTouchMove:ce}=LW(E,I,J,M,W,D,O),oe=(ge=0,Te=0,we=Ol)=>{const Pe=i(I);Te=Math.max(0,Math.min(Te,p.totalColumn-1)),ge=Math.max(0,Math.min(ge,p.totalRow-1));const Fe=h1(w.namespace.value),Ze=i(k),Oe=a(p,Ze),Ae=s(p,Ze);J({scrollLeft:r(p,Te,we,Pe.scrollLeft,Ze,Ae>p.width?Fe:0),scrollTop:u(p,ge,we,Pe.scrollTop,Ze,Oe>p.height?Fe:0)})},U=(ge,Te)=>{const{columnWidth:we,direction:Pe,rowHeight:Fe}=p,Ze=A.value(t&&we,t&&Fe,t&&Pe),Oe=`${ge},${Te}`;if(xt(Ze,Oe))return Ze[Oe];{const[,Ae]=n(p,Te,i(k)),Ke=i(k),Et=_b(Pe),[It,qe]=c(p,ge,Ke),[st]=n(p,Te,Ke);return Ze[Oe]={position:"absolute",left:Et?void 0:`${Ae}px`,right:Et?`${Ae}px`:void 0,top:`${qe}px`,height:`${It}px`,width:`${st}px`},Ze[Oe]}},_=()=>{I.value.isScrolling=!1,Re(()=>{A.value(-1,null,null)})};ft(()=>{if(!Ot)return;const{initScrollLeft:ge,initScrollTop:Te}=p,we=i(E);we&&(We(ge)&&(we.scrollLeft=ge),We(Te)&&(we.scrollTop=Te)),V()});const Q=()=>{const{direction:ge}=p,{scrollLeft:Te,scrollTop:we,updateRequested:Pe}=i(I),Fe=i(E);if(Pe&&Fe){if(ge===Ks)switch(Pc()){case xi:{Fe.scrollLeft=-Te;break}case xh:{Fe.scrollLeft=Te;break}default:{const{clientWidth:Ze,scrollWidth:Oe}=Fe;Fe.scrollLeft=Oe-Ze-Te;break}}else Fe.scrollLeft=Math.max(0,Te);Fe.scrollTop=Math.max(0,we)}},{resetAfterColumnIndex:ie,resetAfterRowIndex:he,resetAfter:pe}=y.proxy;b({windowRef:E,innerRef:R,getItemStyleCache:A,touchStartX:se,touchStartY:re,handleTouchStart:fe,handleTouchMove:ce,scrollTo:J,scrollToItem:oe,states:I,resetAfterColumnIndex:ie,resetAfterRowIndex:he,resetAfter:pe});const be=()=>{const{scrollbarAlwaysOn:ge,scrollbarStartGap:Te,scrollbarEndGap:we,totalColumn:Pe,totalRow:Fe}=p,Ze=i(D),Oe=i(O),Ae=i(M),Ke=i(W),{scrollLeft:Et,scrollTop:It}=i(I),qe=Ge(gv,{ref:x,alwaysOn:ge,startGap:Te,endGap:we,class:w.e("horizontal"),clientSize:Ze,layout:"horizontal",onScroll:H,ratio:Ze*100/Ae,scrollFrom:Et/(Ae-Ze),total:Fe,visible:!0}),st=Ge(gv,{ref:$,alwaysOn:ge,startGap:Te,endGap:we,class:w.e("vertical"),clientSize:Oe,layout:"vertical",onScroll:Y,ratio:Oe*100/Ke,scrollFrom:It/(Ke-Oe),total:Pe,visible:!0});return{horizontalScrollbar:qe,verticalScrollbar:st}},$e=()=>{var ge;const[Te,we]=i(K),[Pe,Fe]=i(Z),{data:Ze,totalColumn:Oe,totalRow:Ae,useIsScrolling:Ke,itemKey:Et}=p,It=[];if(Ae>0&&Oe>0)for(let qe=Pe;qe<=Fe;qe++)for(let st=Te;st<=we;st++){const mt=Et({columnIndex:st,data:Ze,rowIndex:qe});It.push(Ge(ze,{key:mt},(ge=C.default)==null?void 0:ge.call(C,{columnIndex:st,data:Ze,isScrolling:Ke?i(I).isScrolling:void 0,style:U(qe,st),rowIndex:qe})))}return It},Me=()=>{const ge=rt(p.innerElement),Te=$e();return[Ge(ge,ut(p.innerProps,{style:i(B),ref:R}),Ve(ge)?Te:{default:()=>Te})]};return()=>{const ge=rt(p.containerElement),{horizontalScrollbar:Te,verticalScrollbar:we}=be(),Pe=Me();return Ge("div",{key:0,class:w.e("wrapper"),role:p.role},[Ge(ge,{class:p.className,style:i(N),onScroll:z,ref:E},Ve(ge)?Pe:{default:()=>Pe}),Te,we])}}}),{max:Lc,min:R2,floor:A2}=Math,DW={column:"columnWidth",row:"rowHeight"},Nv={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},Ro=(e,t,n,l)=>{const[o,a,s]=[n[l],e[DW[l]],n[Nv[l]]];if(t>s){let r=0;if(s>=0){const u=o[s];r=u.offset+u.size}for(let u=s+1;u<=t;u++){const c=a(u);o[u]={offset:r,size:c},r+=c}n[Nv[l]]=t}return o[t]},L2=(e,t,n,l,o,a)=>{for(;n<=l;){const s=n+A2((l-n)/2),r=Ro(e,s,t,a).offset;if(r===o)return s;r{const a=o==="column"?e.totalColumn:e.totalRow;let s=1;for(;n{const[o,a]=[t[l],t[Nv[l]]];return(a>0?o[a].offset:0)>=n?L2(e,t,0,a,n,l):BW(e,t,Lc(0,a),n,l)},D2=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:n,row:l})=>{let o=0;if(n>=e&&(n=e-1),n>=0){const r=l[n];o=r.offset+r.size}const s=(e-n-1)*t;return o+s},B2=({totalColumn:e},{column:t,estimatedColumnWidth:n,lastVisitedColumnIndex:l})=>{let o=0;if(l>e&&(l=e-1),l>=0){const r=t[l];o=r.offset+r.size}const s=(e-l-1)*n;return o+s},VW={column:B2,row:D2},a0=(e,t,n,l,o,a,s)=>{const[r,u]=[a==="row"?e.height:e.width,VW[a]],c=Ro(e,t,o,a),d=u(e,o),f=Lc(0,R2(d-r,c.offset)),h=Lc(0,c.offset-r+s+c.size);switch(n===kd&&(l>=h-r&&l<=f+r?n=Ol:n=io),n){case ki:return f;case Ei:return h;case io:return Math.round(h+(f-h)/2);case Ol:default:return l>=h&&l<=f?l:h>f||l{const l=Ro(e,t,n,"column");return[l.size,l.offset]},getRowPosition:(e,t,n)=>{const l=Ro(e,t,n,"row");return[l.size,l.offset]},getColumnOffset:(e,t,n,l,o,a)=>a0(e,t,n,l,o,"column",a),getRowOffset:(e,t,n,l,o,a)=>a0(e,t,n,l,o,"row",a),getColumnStartIndexForOffset:(e,t,n)=>o0(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,l)=>{const o=Ro(e,t,l,"column"),a=n+e.width;let s=o.offset+o.size,r=t;for(;ro0(e,n,t,"row"),getRowStopIndexForStartIndex:(e,t,n,l)=>{const{totalRow:o,height:a}=e,s=Ro(e,t,l,"row"),r=n+a;let u=s.size+s.offset,c=t;for(;c{const n=({columnIndex:a,rowIndex:s},r)=>{var u,c;r=St(r)?!0:r,We(a)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,a-1)),We(s)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,s-1)),(u=e.exposed)==null||u.getItemStyleCache.value(-1,null,null),r&&((c=e.proxy)==null||c.$forceUpdate())},l=(a,s)=>{n({columnIndex:a},s)},o=(a,s)=>{n({rowIndex:a},s)};Object.assign(e.proxy,{resetAfterColumnIndex:l,resetAfterRowIndex:o,resetAfter:n})},initCache:({estimatedColumnWidth:e=dv,estimatedRowHeight:t=dv})=>({column:{},estimatedColumnWidth:e,estimatedRowHeight:t,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:e,rowHeight:t})=>{}}),FW=P2({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:e},t)=>[e,t*e],getRowPosition:({rowHeight:e},t)=>[e,t*e],getEstimatedTotalHeight:({totalRow:e,rowHeight:t})=>t*e,getEstimatedTotalWidth:({totalColumn:e,columnWidth:t})=>t*e,getColumnOffset:({totalColumn:e,columnWidth:t,width:n},l,o,a,s,r)=>{n=Number(n);const u=Math.max(0,e*t-n),c=Math.min(u,l*t),d=Math.max(0,l*t-n+r+t);switch(o==="smart"&&(a>=d-n&&a<=c+n?o=Ol:o=io),o){case ki:return c;case Ei:return d;case io:{const f=Math.round(d+(c-d)/2);return fu+Math.floor(n/2)?u:f}case Ol:default:return a>=d&&a<=c?a:d>c||a{t=Number(t);const u=Math.max(0,n*e-t),c=Math.min(u,l*e),d=Math.max(0,l*e-t+r+e);switch(o===kd&&(a>=d-t&&a<=c+t?o=Ol:o=io),o){case ki:return c;case Ei:return d;case io:{const f=Math.round(d+(c-d)/2);return fu+Math.floor(t/2)?u:f}case Ol:default:return a>=d&&a<=c?a:d>c||aMath.max(0,Math.min(t-1,Math.floor(n/e))),getColumnStopIndexForStartIndex:({columnWidth:e,totalColumn:t,width:n},l,o)=>{const a=l*e,s=Math.ceil((n+o-a)/e);return Math.max(0,Math.min(t-1,l+s-1))},getRowStartIndexForOffset:({rowHeight:e,totalRow:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getRowStopIndexForStartIndex:({rowHeight:e,totalRow:t,height:n},l,o)=>{const a=l*e,s=Math.ceil((n+o-a)/e);return Math.max(0,Math.min(t-1,l+s-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:e,rowHeight:t})=>{}}),zW="ElTableV2Header",HW=ae({name:zW,props:Ah,setup(e,{slots:t,expose:n}){const l=me("table-v2"),o=Le(O2),a=L(),s=S(()=>wa({width:e.width,height:e.height})),r=S(()=>wa({width:e.rowWidth,height:e.height})),u=S(()=>wn(i(e.headerHeight))),c=h=>{const m=i(a);Re(()=>{m!=null&&m.scroll&&m.scroll({left:h})})},d=()=>{const h=l.e("fixed-header-row"),{columns:m,fixedHeaderData:v,rowHeight:p}=e;return v==null?void 0:v.map((g,b)=>{var C;const w=wa({height:p,width:"100%"});return(C=t.fixed)==null?void 0:C.call(t,{class:h,columns:m,rowData:g,rowIndex:-(b+1),style:w})})},f=()=>{const h=l.e("dynamic-header-row"),{columns:m}=e;return i(u).map((v,p)=>{var g;const b=wa({width:"100%",height:v});return(g=t.dynamic)==null?void 0:g.call(t,{class:h,columns:m,headerIndex:p,style:b})})};return Gl(()=>{o!=null&&o.value&&c(o.value)}),n({scrollToLeft:c}),()=>{if(!(e.height<=0))return q("div",{ref:a,class:e.class,style:i(s),role:"rowgroup"},[q("div",{style:i(r),class:l.e("header")},[f(),d()])])}}}),KW="ElTableV2Grid",WW=e=>{const t=L(),n=L(),l=L(0),o=S(()=>{const{data:g,rowHeight:b,estimatedRowHeight:C}=e;if(!C)return g.length*b}),a=S(()=>{const{fixedData:g,rowHeight:b}=e;return((g==null?void 0:g.length)||0)*b}),s=S(()=>Ju(e.headerHeight)),r=S(()=>{const{height:g}=e;return Math.max(0,g-i(s)-i(a))}),u=S(()=>i(s)+i(a)>0),c=({data:g,rowIndex:b})=>g[b][e.rowKey];function d({rowCacheStart:g,rowCacheEnd:b,rowVisibleStart:C,rowVisibleEnd:w}){var y;(y=e.onRowsRendered)==null||y.call(e,{rowCacheStart:g,rowCacheEnd:b,rowVisibleStart:C,rowVisibleEnd:w})}function f(g,b){var C;(C=n.value)==null||C.resetAfterRowIndex(g,b)}function h(g,b){const C=i(t),w=i(n);nt(g)?(C==null||C.scrollToLeft(g.scrollLeft),l.value=g.scrollLeft,w==null||w.scrollTo(g)):(C==null||C.scrollToLeft(g),l.value=g,w==null||w.scrollTo({scrollLeft:g,scrollTop:b}))}function m(g){var b;(b=i(n))==null||b.scrollTo({scrollTop:g})}function v(g,b){const C=i(n);if(!C)return;const w=l.value;C.scrollToItem(g,0,b),w&&h({scrollLeft:w})}function p(){var g,b;(g=i(n))==null||g.$forceUpdate(),(b=i(t))==null||b.$forceUpdate()}return ue(()=>e.bodyWidth,()=>{var g;We(e.estimatedRowHeight)&&((g=n.value)==null||g.resetAfter({columnIndex:0},!1))}),{bodyRef:n,forceUpdate:p,fixedRowHeight:a,gridHeight:r,hasHeader:u,headerHeight:s,headerRef:t,totalHeight:o,itemKey:c,onItemRendered:d,resetAfterRowIndex:f,scrollTo:h,scrollToTop:m,scrollToRow:v,scrollLeft:l}},Lh=ae({name:KW,props:Qu,setup(e,{slots:t,expose:n}){const{ns:l}=Le(Ph),{bodyRef:o,fixedRowHeight:a,gridHeight:s,hasHeader:r,headerRef:u,headerHeight:c,totalHeight:d,forceUpdate:f,itemKey:h,onItemRendered:m,resetAfterRowIndex:v,scrollTo:p,scrollToTop:g,scrollToRow:b,scrollLeft:C}=WW(e);yt(O2,C),Li(async()=>{var y;await Re();const k=(y=o.value)==null?void 0:y.states.scrollTop;k&&g(Math.round(k)+1)}),n({forceUpdate:f,totalHeight:d,scrollTo:p,scrollToTop:g,scrollToRow:b,resetAfterRowIndex:v});const w=()=>e.bodyWidth;return()=>{const{cache:y,columns:k,data:E,fixedData:x,useIsScrolling:$,scrollbarAlwaysOn:R,scrollbarEndGap:I,scrollbarStartGap:A,style:O,rowHeight:D,bodyWidth:K,estimatedRowHeight:Z,headerWidth:W,height:M,width:N,getRowHeight:B,onScroll:V}=e,z=We(Z),Y=z?_W:FW,H=i(c);return q("div",{role:"table",class:[l.e("table"),e.class],style:O},[q(Y,{ref:o,data:E,useIsScrolling:$,itemKey:h,columnCache:0,columnWidth:z?w:K,totalColumn:1,totalRow:E.length,rowCache:y,rowHeight:z?B:D,width:N,height:i(s),class:l.e("body"),role:"rowgroup",scrollbarStartGap:A,scrollbarEndGap:I,scrollbarAlwaysOn:R,onScroll:V,onItemRendered:m,perfMode:!1},{default:X=>{var J;const se=E[X.rowIndex];return(J=t.row)==null?void 0:J.call(t,{...X,columns:k,rowData:se})}}),i(r)&&q(HW,{ref:u,class:l.e("header-wrapper"),columns:k,headerData:E,headerHeight:e.headerHeight,fixedHeaderData:x,rowWidth:W,rowHeight:D,width:N,height:Math.min(H+i(a),M)},{dynamic:t.header,fixed:t.row})])}}});function jW(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!zt(e)}const YW=(e,{slots:t})=>{const{mainTableRef:n,...l}=e;return q(Lh,ut({ref:n},l),jW(t)?t:{default:()=>[t]})};function UW(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!zt(e)}const qW=(e,{slots:t})=>{if(!e.columns.length)return;const{leftTableRef:n,...l}=e;return q(Lh,ut({ref:n},l),UW(t)?t:{default:()=>[t]})};function GW(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!zt(e)}const XW=(e,{slots:t})=>{if(!e.columns.length)return;const{rightTableRef:n,...l}=e;return q(Lh,ut({ref:n},l),GW(t)?t:{default:()=>[t]})},ZW=e=>{const{isScrolling:t}=Le(Ph),n=L(!1),l=L(),o=S(()=>We(e.estimatedRowHeight)&&e.rowIndex>=0),a=(u=!1)=>{const c=i(l);if(!c)return;const{columns:d,onRowHeightChange:f,rowKey:h,rowIndex:m,style:v}=e,{height:p}=c.getBoundingClientRect();n.value=!0,Re(()=>{if(u||p!==Number.parseInt(v.height)){const g=d[0],b=(g==null?void 0:g.placeholderSign)===Oi;f==null||f({rowKey:h,height:p,rowIndex:m},g&&!b&&g.fixed)}})},s=S(()=>{const{rowData:u,rowIndex:c,rowKey:d,onRowHover:f}=e,h=e.rowEventHandlers||{},m={};return Object.entries(h).forEach(([v,p])=>{He(p)&&(m[v]=g=>{p({event:g,rowData:u,rowIndex:c,rowKey:d})})}),f&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:v,hovered:p})=>{const g=m[v];m[v]=b=>{f({event:b,hovered:p,rowData:u,rowIndex:c,rowKey:d}),g==null||g(b)}}),m}),r=u=>{const{onRowExpand:c,rowData:d,rowIndex:f,rowKey:h}=e;c==null||c({expanded:u,rowData:d,rowIndex:f,rowKey:h})};return ft(()=>{i(o)&&a(!0)}),{isScrolling:t,measurable:o,measured:n,rowRef:l,eventHandlers:s,onExpand:r}},JW="ElTableV2TableRow",QW=ae({name:JW,props:Ja,setup(e,{expose:t,slots:n,attrs:l}){const{eventHandlers:o,isScrolling:a,measurable:s,measured:r,rowRef:u,onExpand:c}=ZW(e);return t({onExpand:c}),()=>{const{columns:d,columnsStyles:f,expandColumnKey:h,depth:m,rowData:v,rowIndex:p,style:g}=e;let b=d.map((C,w)=>{const y=ye(v.children)&&v.children.length>0&&C.key===h;return n.cell({column:C,columns:d,columnIndex:w,depth:m,style:f[C.key],rowData:v,rowIndex:p,isScrolling:i(a),expandIconProps:y?{rowData:v,rowIndex:p,onExpand:c}:void 0})});if(n.row&&(b=n.row({cells:b.map(C=>ye(C)&&C.length===1?C[0]:C),style:g,columns:d,depth:m,rowData:v,rowIndex:p,isScrolling:i(a)})),i(s)){const{height:C,...w}=g||{},y=i(r);return q("div",ut({ref:u,class:e.class,style:y?g:w,role:"row"},l,i(o)),[b])}return q("div",ut(l,{ref:u,class:e.class,style:g,role:"row"},i(o)),[b])}}});function e9(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!zt(e)}const t9=(e,{slots:t})=>{const{columns:n,columnsStyles:l,depthMap:o,expandColumnKey:a,expandedRowKeys:s,estimatedRowHeight:r,hasFixedColumns:u,rowData:c,rowIndex:d,style:f,isScrolling:h,rowProps:m,rowClass:v,rowKey:p,rowEventHandlers:g,ns:b,onRowHovered:C,onRowExpanded:w}=e,y=ds(v,{columns:n,rowData:c,rowIndex:d},""),k=ds(m,{columns:n,rowData:c,rowIndex:d}),E=c[p],x=o[E]||0,$=!!a,R=d<0,I=[b.e("row"),y,b.is("expanded",$&&s.includes(E)),b.is("fixed",!x&&R),b.is("customized",!!t.row),{[b.e(`row-depth-${x}`)]:$&&d>=0}],A=u?C:void 0,O={...k,columns:n,columnsStyles:l,class:I,depth:x,expandColumnKey:a,estimatedRowHeight:R?void 0:r,isScrolling:h,rowIndex:d,rowData:c,rowKey:E,rowEventHandlers:g,style:f};return q(QW,ut(O,{onRowExpand:w,onMouseenter:Z=>{A==null||A({hovered:!0,rowKey:E,event:Z,rowData:c,rowIndex:d})},onMouseleave:Z=>{A==null||A({hovered:!1,rowKey:E,event:Z,rowData:c,rowIndex:d})},rowkey:E}),e9(t)?t:{default:()=>[t]})},Dh=(e,{slots:t})=>{var n;const{cellData:l,style:o}=e,a=((n=l==null?void 0:l.toString)==null?void 0:n.call(l))||"",s=te(t,"default",e,()=>[a]);return q("div",{class:e.class,title:a,style:o},[s])};Dh.displayName="ElTableV2Cell";Dh.inheritAttrs=!1;const V2=e=>{const{expanded:t,expandable:n,onExpand:l,style:o,size:a,ariaLabel:s}=e,r={onClick:n?()=>l(!t):void 0,ariaLabel:s,ariaExpanded:t,class:e.class};return q("button",ut(r,{type:"button"}),[q(_e,{size:a,style:o},{default:()=>[q(Gn,null,null)]})])};V2.inheritAttrs=!1;const Iv=({columns:e,column:t,columnIndex:n,depth:l,expandIconProps:o,isScrolling:a,rowData:s,rowIndex:r,style:u,expandedRowKeys:c,ns:d,t:f,cellProps:h,expandColumnKey:m,indentSize:v,iconSize:p,rowKey:g},{slots:b})=>{const C=wa(u);if(t.placeholderSign===Oi)return q("div",{class:d.em("row-cell","placeholder"),style:C},null);const{cellRenderer:w,dataKey:y,dataGetter:k}=t,E=He(k)?k({columns:e,column:t,columnIndex:n,rowData:s,rowIndex:r}):fn(s,y??""),x=ds(h,{cellData:E,columns:e,column:t,columnIndex:n,rowIndex:r,rowData:s}),$={class:d.e("cell-text"),columns:e,column:t,columnIndex:n,cellData:E,isScrolling:a,rowData:s,rowIndex:r},R=$2(w),I=R?R($):te(b,"default",$,()=>[q(Dh,$,null)]),A=[d.e("row-cell"),t.class,t.align===$i.CENTER&&d.is("align-center"),t.align===$i.RIGHT&&d.is("align-right")],O=r>=0&&m&&t.key===m,D=r>=0&&c.includes(s[g]);let K;const Z=`margin-inline-start: ${l*v}px;`;return O&&(nt(o)?K=q(V2,ut(o,{class:[d.e("expand-icon"),d.is("expanded",D)],size:p,expanded:D,ariaLabel:f(D?"el.table.collapseRowLabel":"el.table.expandRowLabel"),style:Z,expandable:!0}),null):K=q("div",{style:[Z,`width: ${p}px; height: ${p}px;`].join(" ")},null)),q("div",ut({class:A,style:C},x,{role:"cell"}),[K,I])};Iv.inheritAttrs=!1;const n9=Se({class:String,columns:ou,columnsStyles:{type:G(Object),required:!0},headerIndex:Number,style:{type:G(Object)}}),l9=ae({name:"ElTableV2HeaderRow",props:n9,setup(e,{slots:t}){return()=>{const{columns:n,columnsStyles:l,headerIndex:o,style:a}=e;let s=n.map((r,u)=>t.cell({columns:n,column:r,columnIndex:u,headerIndex:o,style:l[r.key]}));return t.header&&(s=t.header({cells:s.map(r=>ye(r)&&r.length===1?r[0]:r),columns:n,headerIndex:o})),q("div",{class:e.class,style:a,role:"row"},[s])}}});function o9(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!zt(e)}const a9=({columns:e,columnsStyles:t,headerIndex:n,style:l,headerClass:o,headerProps:a,ns:s},{slots:r})=>{const u={columns:e,headerIndex:n},c=[s.e("header-row"),ds(o,u,""),s.is("customized",!!r.header)],d={...ds(a,u),columnsStyles:t,class:c,columns:e,headerIndex:n,style:l};return q(l9,d,o9(r)?r:{default:()=>[r]})},Bh=(e,{slots:t})=>te(t,"default",e,()=>{var n,l;return[q("div",{class:e.class,title:(n=e.column)==null?void 0:n.title},[(l=e.column)==null?void 0:l.title])]});Bh.displayName="ElTableV2HeaderCell";Bh.inheritAttrs=!1;const s9=e=>{const{sortOrder:t}=e;return q("button",{type:"button","aria-label":e.ariaLabel,class:e.class},[q(_e,{size:14},{default:()=>[t===Za.ASC?q(wR,null,null):q(bR,null,null)]})])},s0=(e,{slots:t})=>{const{column:n,ns:l,t:o,style:a,onColumnSorted:s}=e,r=wa(a);if(n.placeholderSign===Oi)return q("div",{class:l.em("header-row-cell","placeholder"),style:r},null);const{headerCellRenderer:u,headerClass:c,sortable:d}=n,f={...e,class:l.e("header-cell-text")},h=$2(u),m=h?h(f):te(t,"default",f,()=>[q(Bh,f,null)]),{sortBy:v,sortState:p,headerCellProps:g}=e;let b,C,w;if(p){const E=p[n.key];b=!!Ov[E],C=b?E:Za.ASC}else b=n.key===v.key,C=b?v.order:Za.ASC;C===Za.ASC?w="ascending":C===Za.DESC?w="descending":w=void 0;const y=[l.e("header-cell"),ds(c,e,""),n.align===$i.CENTER&&l.is("align-center"),n.align===$i.RIGHT&&l.is("align-right"),d&&l.is("sortable")],k={...ds(g,e),onClick:n.sortable?s:void 0,ariaSort:d?w:void 0,class:y,style:r,"data-key":n.key};return q("div",ut(k,{role:"columnheader"}),[m,d&&q(s9,{class:[l.e("sort-icon"),b&&l.is("sorting")],sortOrder:C,ariaLabel:o("el.table.sortLabel",{column:n.title||""})},null)])},_2=(e,{slots:t})=>{var n;return q("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};_2.displayName="ElTableV2Footer";const F2=(e,{slots:t})=>{const n=te(t,"default",{},()=>[q(PS,null,null)]);return q("div",{class:e.class,style:e.style},[n])};F2.displayName="ElTableV2Empty";const z2=(e,{slots:t})=>{var n;return q("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};z2.displayName="ElTableV2Overlay";function Rr(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!zt(e)}const r9="ElTableV2",i9=ae({name:r9,props:RW,setup(e,{slots:t,expose:n}){const l=me("table-v2"),{t:o}=wt(),{columnsStyles:a,fixedColumnsOnLeft:s,fixedColumnsOnRight:r,mainColumns:u,mainTableHeight:c,fixedTableHeight:d,leftTableWidth:f,rightTableWidth:h,data:m,depthMap:v,expandedRowKeys:p,hasFixedColumns:g,mainTableRef:b,leftTableRef:C,rightTableRef:w,isDynamic:y,isResetting:k,isScrolling:E,bodyWidth:x,emptyStyle:$,rootStyle:R,footerHeight:I,showEmpty:A,scrollTo:O,scrollToLeft:D,scrollToTop:K,scrollToRow:Z,getRowHeight:W,onColumnSorted:M,onRowHeightChange:N,onRowHovered:B,onRowExpanded:V,onRowsRendered:z,onScroll:Y,onVerticalScroll:H}=MW(e);return n({scrollTo:O,scrollToLeft:D,scrollToTop:K,scrollToRow:Z}),yt(Ph,{ns:l,isResetting:k,isScrolling:E}),()=>{const{cache:X,cellProps:J,estimatedRowHeight:se,expandColumnKey:re,fixedData:fe,headerHeight:ce,headerClass:oe,headerProps:U,headerCellProps:_,sortBy:Q,sortState:ie,rowHeight:he,rowClass:pe,rowEventHandlers:be,rowKey:$e,rowProps:Me,scrollbarAlwaysOn:Ne,indentSize:ge,iconSize:Te,useIsScrolling:we,vScrollbarSize:Pe,width:Fe}=e,Ze=i(m),Oe={cache:X,class:l.e("main"),columns:i(u),data:Ze,fixedData:fe,estimatedRowHeight:se,bodyWidth:i(x),headerHeight:ce,headerWidth:i(x),height:i(c),mainTableRef:b,rowKey:$e,rowHeight:he,scrollbarAlwaysOn:Ne,scrollbarStartGap:2,scrollbarEndGap:Pe,useIsScrolling:we,width:Fe,getRowHeight:W,onRowsRendered:z,onScroll:Y},Ae=i(f),Ke=i(d),Et={cache:X,class:l.e("left"),columns:i(s),data:Ze,fixedData:fe,estimatedRowHeight:se,leftTableRef:C,rowHeight:he,bodyWidth:Ae,headerWidth:Ae,headerHeight:ce,height:Ke,rowKey:$e,scrollbarAlwaysOn:Ne,scrollbarStartGap:2,scrollbarEndGap:Pe,useIsScrolling:we,width:Ae,getRowHeight:W,onScroll:H},It=i(h),qe={cache:X,class:l.e("right"),columns:i(r),data:Ze,fixedData:fe,estimatedRowHeight:se,rightTableRef:w,rowHeight:he,bodyWidth:It,headerWidth:It,headerHeight:ce,height:Ke,rowKey:$e,scrollbarAlwaysOn:Ne,scrollbarStartGap:2,scrollbarEndGap:Pe,width:It,style:`${l.cssVarName("table-scrollbar-size")}: ${Pe}px`,useIsScrolling:we,getRowHeight:W,onScroll:H},st=i(a),mt={ns:l,depthMap:i(v),columnsStyles:st,expandColumnKey:re,expandedRowKeys:i(p),estimatedRowHeight:se,hasFixedColumns:i(g),rowProps:Me,rowClass:pe,rowKey:$e,rowEventHandlers:be,onRowHovered:B,onRowExpanded:V,onRowHeightChange:N},ve={cellProps:J,expandColumnKey:re,indentSize:ge,iconSize:Te,rowKey:$e,expandedRowKeys:i(p),ns:l,t:o},De={ns:l,headerClass:oe,headerProps:U,columnsStyles:st},de={ns:l,t:o,sortBy:Q,sortState:ie,headerCellProps:_,onColumnSorted:M},Be={row:Gt=>q(t9,ut(Gt,mt),{row:t.row,cell:Zt=>{let Ie;return t.cell?q(Iv,ut(Zt,ve,{style:st[Zt.column.key]}),Rr(Ie=t.cell(Zt))?Ie:{default:()=>[Ie]}):q(Iv,ut(Zt,ve,{style:st[Zt.column.key]}),null)}}),header:Gt=>q(a9,ut(Gt,De),{header:t.header,cell:Zt=>{let Ie;return t["header-cell"]?q(s0,ut(Zt,de,{style:st[Zt.column.key]}),Rr(Ie=t["header-cell"](Zt))?Ie:{default:()=>[Ie]}):q(s0,ut(Zt,de,{style:st[Zt.column.key]}),null)}})},dt=[e.class,l.b(),l.e("root"),l.is("dynamic",i(y))],Dt={class:l.e("footer"),style:i(I)};return q("div",{class:dt,style:i(R)},[q(YW,Oe,Rr(Be)?Be:{default:()=>[Be]}),q(qW,Et,Rr(Be)?Be:{default:()=>[Be]}),q(XW,qe,Rr(Be)?Be:{default:()=>[Be]}),t.footer&&q(_2,Dt,{default:t.footer}),i(A)&&q(F2,{class:l.e("empty"),style:i($)},{default:t.empty}),t.overlay&&q(z2,{class:l.e("overlay")},{default:t.overlay})])}}}),u9=Se({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:G(Function)}}),c9=e=>{const t=L(),n=L(0),l=L(0);let o;return ft(()=>{o=Yt(t,([a])=>{const{width:s,height:r}=a.contentRect,{paddingLeft:u,paddingRight:c,paddingTop:d,paddingBottom:f}=getComputedStyle(a.target),h=Number.parseInt(u)||0,m=Number.parseInt(c)||0,v=Number.parseInt(d)||0,p=Number.parseInt(f)||0;n.value=s-h-m,l.value=r-v-p}).stop}),Pt(()=>{o==null||o()}),ue([n,l],([a,s])=>{var r;(r=e.onResize)==null||r.call(e,{width:a,height:s})}),{sizer:t,width:n,height:l}},d9=ae({name:"ElAutoResizer",props:u9,setup(e,{slots:t}){const n=me("auto-resizer"),{height:l,width:o,sizer:a}=c9(e),s={width:"100%",height:"100%"};return()=>{var r;return q("div",{ref:a,class:n.b(),style:s},[(r=t.default)==null?void 0:r.call(t,{height:l.value,width:o.value})])}}}),f9=ot(i9),v9=ot(d9),Ed=Symbol("tabsRootContextKey"),p9=Se({tabs:{type:G(Array),default:()=>en([])},tabRefs:{type:G(Object),default:()=>en({})}}),r0="ElTabBar";var h9=ae({name:r0,__name:"tab-bar",props:p9,setup(e,{expose:t}){const n=e,l=Le(Ed);l||pn(r0,"");const o=me("tabs"),a=L(),s=L(),r=S(()=>{var m;return St(l.props.defaultValue)||!!((m=s.value)!=null&&m.transform)}),u=()=>{let m=0,v=0;const p=["top","bottom"].includes(l.props.tabPosition)?"width":"height",g=p==="width"?"x":"y",b=g==="x"?"left":"top";return n.tabs.every(C=>{if(St(C.paneName))return!1;const w=n.tabRefs[C.paneName];if(!w)return!1;if(!C.active)return!0;m=w[`offset${ma(b)}`],v=w[`client${ma(p)}`];const y=window.getComputedStyle(w);return p==="width"&&(v-=Number.parseFloat(y.paddingLeft)+Number.parseFloat(y.paddingRight),m+=Number.parseFloat(y.paddingLeft)),!1}),{[p]:`${v}px`,transform:`translate${ma(g)}(${m}px)`}},c=()=>s.value=u(),d=[],f=()=>{d.forEach(m=>m.stop()),d.length=0,Object.values(n.tabRefs).forEach(m=>{d.push(Yt(m,c))})};ue(()=>n.tabs,async()=>{await Re(),c(),f()},{immediate:!0});const h=Yt(a,()=>c());return Pt(()=>{d.forEach(m=>m.stop()),d.length=0,h.stop()}),t({ref:a,update:c}),(m,v)=>r.value?(T(),F("div",{key:0,ref_key:"barRef",ref:a,class:P([i(o).e("active-bar"),i(o).is(i(l).props.tabPosition)]),style:je(s.value)},null,6)):ne("v-if",!0)}});const m9=Se({panes:{type:G(Array),default:()=>en([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean,tabindex:{type:[String,Number],default:void 0}}),g9={tabClick:(e,t,n)=>n instanceof Event,tabRemove:(e,t)=>t instanceof Event},i0="ElTabNav",b9=ae({name:i0,props:m9,emits:g9,setup(e,{expose:t,emit:n}){const l=Le(Ed);l||pn(i0,"");const o=me("tabs"),a=QM(),s=tP(),r=L(),u=L(),c=L(),d=L({}),f=L(),h=L(!1),m=L(0),v=L(!1),p=L(!0),g=Wt(),b=S(()=>["top","bottom"].includes(l.props.tabPosition)),C=S(()=>b.value?"width":"height"),w=S(()=>({transform:`translate${C.value==="width"?"X":"Y"}(-${m.value}px)`})),{width:y,height:k}=Kf(r),{width:E,height:x}=Kf(u,{width:0,height:0},{box:"border-box"}),$=S(()=>b.value?y.value:k.value),R=S(()=>b.value?E.value:x.value),{onWheel:I}=YS({atStartEdge:S(()=>m.value<=0),atEndEdge:S(()=>R.value-m.value<=$.value),layout:S(()=>b.value?"horizontal":"vertical")},V=>{m.value=Ua(m.value+V,0,R.value-$.value)}),A=()=>{if(!r.value)return;const V=r.value[`offset${ma(C.value)}`],z=m.value;if(!z)return;const Y=z>V?z-V:0;m.value=Y},O=()=>{if(!r.value||!u.value)return;const V=u.value[`offset${ma(C.value)}`],z=r.value[`offset${ma(C.value)}`],Y=m.value;if(V-Y<=z)return;const H=V-Y>z*2?Y+z:V-z;m.value=H},D=async()=>{const V=u.value;if(!h.value||!c.value||!r.value||!V)return;await Re();const z=d.value[e.currentName];if(!z)return;const Y=r.value,H=z.getBoundingClientRect(),X=Y.getBoundingClientRect(),J=b.value?V.offsetWidth-X.width:V.offsetHeight-X.height,se=m.value;let re=se;b.value?(H.leftX.right&&(re=se+H.right-X.right)):(H.topX.bottom&&(re=se+(H.bottom-X.bottom))),re=Math.max(re,0),m.value=Math.min(re,J)},K=()=>{var V;if(!u.value||!r.value)return;e.stretch&&((V=f.value)==null||V.update());const z=u.value[`offset${ma(C.value)}`],Y=r.value[`offset${ma(C.value)}`],H=m.value;Y0&&(m.value=0))},Z=V=>{const z=Ft(V);let Y=0;switch(z){case Ce.left:case Ce.up:Y=-1;break;case Ce.right:case Ce.down:Y=1;break;default:return}const H=Array.from(V.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let J=H.indexOf(V.target)+Y;J<0?J=H.length-1:J>=H.length&&(J=0),H[J].focus({preventScroll:!0}),H[J].click(),W()},W=()=>{p.value&&(v.value=!0)},M=()=>v.value=!1,N=(V,z)=>{d.value[z]=V},B=async()=>{await Re();const V=d.value[e.currentName];V==null||V.focus({preventScroll:!0})};return ue(a,V=>{V==="hidden"?p.value=!1:V==="visible"&&setTimeout(()=>p.value=!0,50)}),ue(s,V=>{V?setTimeout(()=>p.value=!0,50):p.value=!1}),Yt(c,()=>{yo(K)}),ft(()=>setTimeout(()=>D(),0)),Gl(()=>K()),t({scrollToActiveTab:D,removeFocus:M,focusActiveTab:B,tabListRef:u,tabBarRef:f,scheduleRender:()=>Bu(g)}),()=>{const V=h.value?[q("span",{class:[o.e("nav-prev"),o.is("disabled",!h.value.prev)],onClick:A},[q(_e,null,{default:()=>[q(qo,null,null)]})]),q("span",{class:[o.e("nav-next"),o.is("disabled",!h.value.next)],onClick:O},[q(_e,null,{default:()=>[q(Gn,null,null)]})])]:null,z=e.panes.map((Y,H)=>{var X,J,se,re,fe;const ce=Y.uid,oe=Y.props.disabled,U=(J=(X=Y.props.name)!=null?X:Y.index)!=null?J:`${H}`,_=!oe&&(Y.isClosable||Y.props.closable!==!1&&e.editable);Y.index=`${H}`;const Q=_?q(_e,{class:"is-icon-close",onClick:pe=>n("tabRemove",Y,pe)},{default:()=>[q(Ml,null,null)]}):null,ie=((re=(se=Y.slots).label)==null?void 0:re.call(se))||Y.props.label,he=!oe&&Y.active?(fe=e.tabindex)!=null?fe:l.props.tabindex:-1;return q("div",{ref:pe=>N(pe,U),class:[o.e("item"),o.is(l.props.tabPosition),o.is("active",Y.active),o.is("disabled",oe),o.is("closable",_),o.is("focus",v.value)],id:`tab-${U}`,key:`tab-${ce}`,"aria-controls":`pane-${U}`,role:"tab","aria-selected":Y.active,tabindex:he,onFocus:()=>W(),onBlur:()=>M(),onClick:pe=>{M(),n("tabClick",Y,U,pe)},onKeydown:pe=>{const be=Ft(pe);_&&(be===Ce.delete||be===Ce.backspace)&&n("tabRemove",Y,pe)}},[ie,Q])});return g.value,q("div",{ref:c,class:[o.e("nav-wrap"),o.is("scrollable",!!h.value),o.is(l.props.tabPosition)]},[V,q("div",{class:o.e("nav-scroll"),ref:r},[e.panes.length>0?q("div",{class:[o.e("nav"),o.is(l.props.tabPosition),o.is("stretch",e.stretch&&["top","bottom"].includes(l.props.tabPosition))],ref:u,style:w.value,role:"tablist",onKeydown:Z,onWheel:I},[e.type?null:q(h9,{ref:f,tabs:[...e.panes],tabRefs:d.value},null),z]):null])])}}}),y9=Se({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},defaultValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:G(Function),default:()=>!0},stretch:Boolean,tabindex:{type:[String,Number],default:0}}),yf=e=>Ve(e)||We(e),w9={[et]:e=>yf(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>yf(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>yf(e),tabAdd:()=>!0},C9=ae({name:"ElTabs",props:y9,emits:w9,setup(e,{emit:t,slots:n,expose:l}){var o;const a=me("tabs"),s=S(()=>["left","right"].includes(e.tabPosition)),{children:r,addChild:u,removeChild:c,ChildrenSorter:d}=gd(ct(),"ElTabPane"),f=L(),h=L((o=St(e.modelValue)?e.defaultValue:e.modelValue)!=null?o:"0"),m=async(w,y=!1)=>{var k,E,x,$;if(!(h.value===w||St(w)))try{let R;if(e.beforeLeave){const I=e.beforeLeave(w,h.value);R=I instanceof Promise?await I:I}else R=!0;if(R!==!1){const I=(k=r.value.find(A=>A.paneName===h.value))==null?void 0:k.isFocusInsidePane();h.value=w,y&&(t(et,w),t("tabChange",w)),(x=(E=f.value)==null?void 0:E.removeFocus)==null||x.call(E),I&&(($=f.value)==null||$.focusActiveTab())}}catch{}},v=(w,y,k)=>{w.props.disabled||(t("tabClick",w,k),m(y,!0))},p=(w,y)=>{w.props.disabled||St(w.props.name)||(y.stopPropagation(),t("edit",w.props.name,"remove"),t("tabRemove",w.props.name))},g=()=>{t("edit",void 0,"add"),t("tabAdd")},b=w=>{const y=Ft(w);[Ce.enter,Ce.numpadEnter].includes(y)&&g()},C=w=>{const y=w.el.firstChild,k=["bottom","right"].includes(e.tabPosition)?w.children[0].el:w.children[1].el;y!==k&&y.before(k)};return ue(()=>e.modelValue,w=>m(w)),ue(h,async()=>{var w;await Re(),(w=f.value)==null||w.scrollToActiveTab()}),yt(Ed,{props:e,currentName:h,registerPane:u,unregisterPane:c,nav$:f}),l({currentName:h,get tabNavRef(){return zi(f.value,["scheduleRender"])}}),()=>{const w=n["add-icon"],y=e.editable||e.addable?q("div",{class:[a.e("new-tab"),s.value&&a.e("new-tab-vertical")],tabindex:e.tabindex,onClick:g,onKeydown:b},[w?te(n,"add-icon"):q(_e,{class:a.is("icon-plus")},{default:()=>[q(b1,null,null)]})]):null,k=()=>q(b9,{ref:f,currentName:h.value,editable:e.editable,type:e.type,panes:r.value,stretch:e.stretch,onTabClick:v,onTabRemove:p},null),E=q("div",{class:[a.e("header"),s.value&&a.e("header-vertical"),a.is(e.tabPosition)]},[q(d,null,{default:k,$stable:!0}),y]),x=q("div",{class:a.e("content")},[te(n,"default")]);return q("div",{class:[a.b(),a.m(e.tabPosition),{[a.m("card")]:e.type==="card",[a.m("border-card")]:e.type==="border-card"}],onVnodeMounted:C,onVnodeUpdated:C},[x,E])}}}),S9=Se({label:{type:String,default:""},name:{type:[String,Number]},closable:{type:Boolean,default:void 0},disabled:Boolean,lazy:Boolean}),k9=["id","aria-hidden","aria-labelledby"],u0="ElTabPane";var H2=ae({name:u0,__name:"tab-pane",props:S9,setup(e){const t=e,n=ct(),l=rn(),o=Le(Ed);o||pn(u0,"usage: ");const a=me("tab-pane"),s=L(),r=L(),u=S(()=>{var p;return(p=t.closable)!=null?p:o.props.closable}),c=S(()=>{var p;return o.currentName.value===((p=t.name)!=null?p:r.value)}),d=L(c.value),f=S(()=>{var p;return(p=t.name)!=null?p:r.value}),h=S(()=>!t.lazy||d.value||c.value),m=()=>{var p;return(p=s.value)==null?void 0:p.contains(document.activeElement)};ue(c,p=>{p&&(d.value=!0)});const v=Nt({uid:n.uid,getVnode:()=>n.vnode,slots:l,props:t,paneName:f,active:c,index:r,isClosable:u,isFocusInsidePane:m});return o.registerPane(v),Pt(()=>{o.unregisterPane(v)}),ap(()=>{var p;l.label&&((p=o.nav$.value)==null||p.scheduleRender())}),(p,g)=>h.value?it((T(),F("div",{key:0,id:`pane-${f.value}`,ref_key:"paneRef",ref:s,class:P(i(a).b()),role:"tabpanel","aria-hidden":!c.value,"aria-labelledby":`tab-${f.value}`},[te(p.$slots,"default")],10,k9)),[[$t,c.value]]):ne("v-if",!0)}});const E9=ot(C9,{TabPane:H2}),x9=Xt(H2),T9=Se({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:Ql,default:""},truncated:Boolean,lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}});var $9=ae({name:"ElText",__name:"text",props:T9,setup(e){const t=e,n=L(),l=hn(),o=me("text"),a=S(()=>[o.b(),o.m(t.type),o.m(l.value),o.is("truncated",t.truncated),o.is("line-clamp",!St(t.lineClamp))]),s=()=>{var r,u,c,d,f,h,m;if(Qo().title)return;let p=!1;const g=((r=n.value)==null?void 0:r.textContent)||"";if(t.truncated){const b=(u=n.value)==null?void 0:u.offsetWidth,C=(c=n.value)==null?void 0:c.scrollWidth;b&&C&&C>b&&(p=!0)}else if(!St(t.lineClamp)){const b=(d=n.value)==null?void 0:d.offsetHeight,C=(f=n.value)==null?void 0:f.scrollHeight;b&&C&&C>b&&(p=!0)}p?(h=n.value)==null||h.setAttribute("title",g):(m=n.value)==null||m.removeAttribute("title")};return ft(s),Gl(s),(r,u)=>(T(),le(rt(e.tag),{ref_key:"textRef",ref:n,class:P(a.value),style:je({"-webkit-line-clamp":e.lineClamp})},{default:ee(()=>[te(r.$slots,"default")]),_:3},8,["class","style"]))}});const Vh=ot($9),K2="00:30",O9=Se({format:{type:String,default:"HH:mm"},modelValue:{type:G(String)},disabled:{type:Boolean,default:void 0},editable:{type:Boolean,default:!0},effect:{type:G(String),default:"light"},clearable:{type:Boolean,default:!0},size:gn,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:K2},minTime:{type:G(String)},maxTime:{type:G(String)},includeEndTime:Boolean,name:String,prefixIcon:{type:G([String,Object]),default:()=>g1},clearIcon:{type:G([String,Object]),default:()=>Eo},popperClass:{type:String,default:""},popperStyle:{type:G([String,Object])},...ws}),Bo=e=>{const t=(e||"").split(":");if(t.length>=2){let n=Number.parseInt(t[0],10);const l=Number.parseInt(t[1],10),o=e.toUpperCase();return o.includes("AM")&&n===12?n=0:o.includes("PM")&&n!==12&&(n+=12),{hours:n,minutes:l}}return null},wf=(e,t)=>{const n=Bo(e);if(!n)return-1;const l=Bo(t);if(!l)return-1;const o=n.minutes+n.hours*60,a=l.minutes+l.hours*60;return o===a?0:o>a?1:-1},c0=e=>`${e}`.padStart(2,"0"),Ps=e=>`${c0(e.hours)}:${c0(e.minutes)}`,N9=(e,t)=>{const n=Bo(e);if(!n)return"";const l=Bo(t);if(!l)return"";const o={hours:n.hours,minutes:n.minutes};return o.minutes+=l.minutes,o.hours+=l.hours,o.hours+=Math.floor(o.minutes/60),o.minutes=o.minutes%60,Ps(o)};var I9=ae({name:"ElTimeSelect",__name:"time-select",props:O9,emits:[ht,"blur","focus","clear",et],setup(e,{expose:t}){lt.extend(sh);const{Option:n}=Ma,l=e,o=me("input"),a=L(),s=nn(),{lang:r}=wt(),u=S(()=>l.modelValue),c=S(()=>{const b=Bo(l.start);return b?Ps(b):null}),d=S(()=>{const b=Bo(l.end);return b?Ps(b):null}),f=S(()=>{const b=Bo(l.minTime||"");return b?Ps(b):null}),h=S(()=>{const b=Bo(l.maxTime||"");return b?Ps(b):null}),m=S(()=>{const b=Bo(l.step);return!b||b.hours<0||b.minutes<0||Number.isNaN(b.hours)||Number.isNaN(b.minutes)||b.hours===0&&b.minutes===0?K2:Ps(b)}),v=S(()=>{var b;const C=[],w=(y,k)=>{C.push({value:y,rawValue:k,disabled:wf(k,f.value||"-1:-1")<=0||wf(k,h.value||"100:100")>=0})};if(l.start&&l.end&&l.step){let y=c.value,k;for(;y&&d.value&&wf(y,d.value)<=0;)k=lt(y,"HH:mm").locale(r.value).format(l.format),w(k,y),y=N9(y,m.value);if(l.includeEndTime&&d.value&&((b=C[C.length-1])==null?void 0:b.rawValue)!==d.value){const E=lt(d.value,"HH:mm").locale(r.value).format(l.format);w(E,d.value)}}return C});return t({blur:()=>{var b,C;(C=(b=a.value)==null?void 0:b.blur)==null||C.call(b)},focus:()=>{var b,C;(C=(b=a.value)==null?void 0:b.focus)==null||C.call(b)}}),(b,C)=>(T(),le(i(Ma),{ref_key:"select",ref:a,name:e.name,"model-value":u.value,disabled:i(s),clearable:e.clearable,"clear-icon":e.clearIcon,size:e.size,effect:e.effect,placeholder:e.placeholder,"default-first-option":"",filterable:e.editable,"empty-values":e.emptyValues,"value-on-clear":e.valueOnClear,"popper-class":e.popperClass,"popper-style":e.popperStyle,"onUpdate:modelValue":C[0]||(C[0]=w=>b.$emit(i(et),w)),onChange:C[1]||(C[1]=w=>b.$emit(i(ht),w)),onBlur:C[2]||(C[2]=w=>b.$emit("blur",w)),onFocus:C[3]||(C[3]=w=>b.$emit("focus",w)),onClear:C[4]||(C[4]=()=>b.$emit("clear"))},{prefix:ee(()=>[e.prefixIcon?(T(),le(i(_e),{key:0,class:P(i(o).e("prefix-icon"))},{default:ee(()=>[(T(),le(rt(e.prefixIcon)))]),_:1},8,["class"])):ne("v-if",!0)]),default:ee(()=>[(T(!0),F(ze,null,gt(v.value,w=>(T(),le(i(n),{key:w.value,label:w.value,value:w.value,disabled:w.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["name","model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear","popper-class","popper-style"]))}});const M9=ot(I9),W2="timeline",P9=Se({mode:{type:String,values:["start","alternate","alternate-reverse","end"],default:"start"},reverse:Boolean}),R9=ae({name:"ElTimeline",props:P9,setup(e,{slots:t}){const n=me("timeline");yt(W2,{props:e,slots:t});const l=S(()=>[n.b(),n.is(e.mode)]);return()=>{var o,a;const s=bl((a=(o=t.default)==null?void 0:o.call(t))!=null?a:[]);return Ge("ul",{class:l.value},e.reverse?s.reverse():s)}}}),A9=Se({timestamp:{type:String,default:""},hideTimestamp:Boolean,center:Boolean,placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:_t},hollow:Boolean});var j2=ae({name:"ElTimelineItem",__name:"timeline-item",props:A9,setup(e){const t=e,{props:n}=Le(W2),l=me("timeline-item"),o=S(()=>[l.e("node"),l.em("node",t.size||""),l.em("node",t.type||""),l.is("hollow",t.hollow)]),a=S(()=>[l.b(),{[l.e("center")]:t.center},l.is(n.mode)]);return(s,r)=>(T(),F("li",{class:P(a.value)},[j("div",{class:P(i(l).e("tail"))},null,2),s.$slots.dot?ne("v-if",!0):(T(),F("div",{key:0,class:P(o.value),style:je({backgroundColor:e.color})},[e.icon?(T(),le(i(_e),{key:0,class:P(i(l).e("icon"))},{default:ee(()=>[(T(),le(rt(e.icon)))]),_:1},8,["class"])):ne("v-if",!0)],6)),s.$slots.dot?(T(),F("div",{key:1,class:P(i(l).e("dot"))},[te(s.$slots,"dot")],2)):ne("v-if",!0),j("div",{class:P(i(l).e("wrapper"))},[!e.hideTimestamp&&e.placement==="top"?(T(),F("div",{key:0,class:P([i(l).e("timestamp"),i(l).is("top")])},ke(e.timestamp),3)):ne("v-if",!0),j("div",{class:P(i(l).e("content"))},[te(s.$slots,"default")],2),!e.hideTimestamp&&e.placement==="bottom"?(T(),F("div",{key:1,class:P([i(l).e("timestamp"),i(l).is("bottom")])},ke(e.timestamp),3)):ne("v-if",!0)],2)],2))}});const L9=ot(R9,{TimelineItem:j2}),D9=Xt(j2),Y2="left-check-change",U2="right-check-change",Rs=Se({data:{type:G(Array),default:()=>[]},titles:{type:G(Array),default:()=>[]},buttonTexts:{type:G(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:G(Function)},leftDefaultChecked:{type:G(Array),default:()=>[]},rightDefaultChecked:{type:G(Array),default:()=>[]},renderContent:{type:G(Function)},modelValue:{type:G(Array),default:()=>[]},format:{type:G(Object),default:()=>({})},filterable:Boolean,props:{type:G(Object),default:()=>en({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),Mv=(e,t)=>[e,t].every(ye)||ye(e)&&dn(t),B9={[ht]:(e,t,n)=>[e,n].every(ye)&&["left","right"].includes(t),[et]:e=>ye(e),[Y2]:Mv,[U2]:Mv},Pv="checked-change",V9=Se({data:Rs.data,optionRender:{type:G(Function)},placeholder:String,title:String,filterable:Boolean,format:Rs.format,filterMethod:Rs.filterMethod,defaultChecked:Rs.leftDefaultChecked,props:Rs.props}),_9={[Pv]:Mv},au=e=>{const t={label:"label",key:"key",disabled:"disabled"};return S(()=>({...t,...e.props}))},F9=(e,t,n)=>{const l=au(e),o=S(()=>e.data.filter(d=>He(e.filterMethod)?e.filterMethod(t.query,d):String(d[l.value.label]||d[l.value.key]).toLowerCase().includes(t.query.toLowerCase()))),a=S(()=>o.value.filter(d=>!d[l.value.disabled])),s=S(()=>{const d=t.checked.length,f=e.data.length,{noChecked:h,hasChecked:m}=e.format;return h&&m?d>0?m.replace(/\${checked}/g,d.toString()).replace(/\${total}/g,f.toString()):h.replace(/\${total}/g,f.toString()):`${d}/${f}`}),r=S(()=>{const d=t.checked.length;return d>0&&d{const d=a.value.map(f=>f[l.value.key]);t.allChecked=d.length>0&&d.every(f=>t.checked.includes(f))},c=d=>{t.checked=d?a.value.map(f=>f[l.value.key]):[]};return ue(()=>t.checked,(d,f)=>{if(u(),t.checkChangeByUser){const h=d.concat(f).filter(m=>!d.includes(m)||!f.includes(m));n(Pv,d,h)}else n(Pv,d),t.checkChangeByUser=!0}),ue(a,()=>{u()}),ue(()=>e.data,()=>{const d=[],f=o.value.map(h=>h[l.value.key]);t.checked.forEach(h=>{f.includes(h)&&d.push(h)}),t.checkChangeByUser=!1,t.checked=d}),ue(()=>e.defaultChecked,(d,f)=>{if(f&&d.length===f.length&&d.every(v=>f.includes(v)))return;const h=[],m=a.value.map(v=>v[l.value.key]);d.forEach(v=>{m.includes(v)&&h.push(v)}),t.checkChangeByUser=!1,t.checked=h},{immediate:!0}),{filteredData:o,checkableData:a,checkedSummary:s,isIndeterminate:r,updateAllChecked:u,handleAllCheckedChange:c}};var d0=ae({name:"ElTransferPanel",__name:"transfer-panel",props:V9,emits:_9,setup(e,{expose:t,emit:n}){const l=e,o=n,a=rn(),s=({option:y})=>y,{t:r}=wt(),u=me("transfer"),c=Nt({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),d=au(l),{filteredData:f,checkedSummary:h,isIndeterminate:m,handleAllCheckedChange:v}=F9(l,c,o),p=S(()=>!tl(c.query)&&tl(f.value)),g=S(()=>!tl(a.default()[0].children)),{checked:b,allChecked:C,query:w}=kn(c);return t({query:w}),(y,k)=>(T(),F("div",{class:P(i(u).b("panel"))},[j("p",{class:P(i(u).be("panel","header"))},[q(i(jl),{modelValue:i(C),"onUpdate:modelValue":k[0]||(k[0]=E=>jt(C)?C.value=E:null),indeterminate:i(m),"validate-event":!1,onChange:i(v)},{default:ee(()=>[j("span",{class:P(i(u).be("panel","header-title"))},ke(e.title),3),j("span",{class:P(i(u).be("panel","header-count"))},ke(i(h)),3)]),_:1},8,["modelValue","indeterminate","onChange"])],2),j("div",{class:P([i(u).be("panel","body"),i(u).is("with-footer",g.value)])},[e.filterable?(T(),le(i(Un),{key:0,modelValue:i(w),"onUpdate:modelValue":k[1]||(k[1]=E=>jt(w)?w.value=E:null),class:P(i(u).be("panel","filter")),size:"default",placeholder:e.placeholder,"prefix-icon":i(mR),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):ne("v-if",!0),it(q(i(oh),{modelValue:i(b),"onUpdate:modelValue":k[2]||(k[2]=E=>jt(b)?b.value=E:null),"validate-event":!1,class:P([i(u).is("filterable",e.filterable),i(u).be("panel","list")])},{default:ee(()=>[(T(!0),F(ze,null,gt(i(f),E=>(T(),le(i(jl),{key:E[i(d).key],class:P(i(u).be("panel","item")),value:E[i(d).key],disabled:E[i(d).disabled],"validate-event":!1},{default:ee(()=>{var x;return[q(s,{option:(x=e.optionRender)==null?void 0:x.call(e,E)},null,8,["option"])]}),_:2},1032,["class","value","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[$t,!p.value&&!i(tl)(e.data)]]),it(j("div",{class:P(i(u).be("panel","empty"))},[te(y.$slots,"empty",{},()=>[bt(ke(p.value?i(r)("el.transfer.noMatch"):i(r)("el.transfer.noData")),1)])],2),[[$t,p.value||i(tl)(e.data)]])],2),g.value?(T(),F("p",{key:0,class:P(i(u).be("panel","footer"))},[te(y.$slots,"default")],2)):ne("v-if",!0)],2))}});const z9=e=>{const t=au(e),n=S(()=>e.data.reduce((a,s)=>(a[s[t.value.key]]=s)&&a,{})),l=S(()=>e.data.filter(a=>!e.modelValue.includes(a[t.value.key]))),o=S(()=>e.targetOrder==="original"?e.data.filter(a=>e.modelValue.includes(a[t.value.key])):e.modelValue.reduce((a,s)=>{const r=n.value[s];return r&&a.push(r),a},[]));return{sourceData:l,targetData:o}},H9=(e,t,n)=>{const l=au(e),o=(r,u,c)=>{n(et,r),n(ht,r,u,c)};return{addToLeft:()=>{const r=e.modelValue.slice();t.rightChecked.forEach(u=>{const c=r.indexOf(u);c>-1&&r.splice(c,1)}),o(r,"left",t.rightChecked)},addToRight:()=>{let r=e.modelValue.slice();const u=e.data.filter(c=>{const d=c[l.value.key];return t.leftChecked.includes(d)&&!e.modelValue.includes(d)}).map(c=>c[l.value.key]);r=e.targetOrder==="unshift"?u.concat(r):r.concat(u),e.targetOrder==="original"&&(r=e.data.filter(c=>r.includes(c[l.value.key])).map(c=>c[l.value.key])),o(r,"right",t.leftChecked)}}},K9=(e,t)=>({onSourceCheckedChange:(o,a)=>{e.leftChecked=o,a&&t(Y2,o,a)},onTargetCheckedChange:(o,a)=>{e.rightChecked=o,a&&t(U2,o,a)}}),W9={key:0},j9={key:0};var Y9=ae({name:"ElTransfer",__name:"transfer",props:Rs,emits:B9,setup(e,{expose:t,emit:n}){const l=e,o=n,a=rn(),{t:s}=wt(),r=me("transfer"),{formItem:u}=$n(),c=Nt({leftChecked:[],rightChecked:[]}),d=au(l),{sourceData:f,targetData:h}=z9(l),{onSourceCheckedChange:m,onTargetCheckedChange:v}=K9(c,o),{addToLeft:p,addToRight:g}=H9(l,c,o),b=L(),C=L(),w=R=>{switch(R){case"left":b.value.query="";break;case"right":C.value.query="";break}},y=S(()=>l.buttonTexts.length===2),k=S(()=>l.titles[0]||s("el.transfer.titles.0")),E=S(()=>l.titles[1]||s("el.transfer.titles.1")),x=S(()=>l.filterPlaceholder||s("el.transfer.filterPlaceholder"));ue(()=>l.modelValue,()=>{var R;l.validateEvent&&((R=u==null?void 0:u.validate)==null||R.call(u,"change").catch(I=>void 0))});const $=S(()=>R=>{var I;if(l.renderContent)return l.renderContent(Ge,R);const A=(((I=a.default)==null?void 0:I.call(a,{option:R}))||[]).filter(O=>O.type!==cn);return A.length?A:Ge("span",R[d.value.label]||R[d.value.key])});return t({clearQuery:w,leftPanel:b,rightPanel:C}),(R,I)=>(T(),F("div",{class:P(i(r).b())},[q(d0,{ref_key:"leftPanel",ref:b,data:i(f),"option-render":$.value,placeholder:x.value,title:k.value,filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,"default-checked":e.leftDefaultChecked,props:l.props,onCheckedChange:i(m)},{empty:ee(()=>[te(R.$slots,"left-empty")]),default:ee(()=>[te(R.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),j("div",{class:P(i(r).e("buttons"))},[q(i(Cn),{type:"primary",class:P([i(r).e("button"),i(r).is("with-texts",y.value)]),disabled:i(tl)(c.rightChecked),onClick:i(p)},{default:ee(()=>[q(i(_e),null,{default:ee(()=>[q(i(qo))]),_:1}),i(St)(e.buttonTexts[0])?ne("v-if",!0):(T(),F("span",W9,ke(e.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),q(i(Cn),{type:"primary",class:P([i(r).e("button"),i(r).is("with-texts",y.value)]),disabled:i(tl)(c.leftChecked),onClick:i(g)},{default:ee(()=>[i(St)(e.buttonTexts[1])?ne("v-if",!0):(T(),F("span",j9,ke(e.buttonTexts[1]),1)),q(i(_e),null,{default:ee(()=>[q(i(Gn))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),q(d0,{ref_key:"rightPanel",ref:C,data:i(h),"option-render":$.value,placeholder:x.value,filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,title:E.value,"default-checked":e.rightDefaultChecked,props:l.props,onCheckedChange:i(v)},{empty:ee(()=>[te(R.$slots,"right-empty")]),default:ee(()=>[te(R.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});const U9=ot(Y9),js="$treeNodeId",f0=function(e,t){!t||t[js]||Object.defineProperty(t,js,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},_h=(e,t)=>t==null?void 0:t[e||js],Rv=(e,t,n)=>{const l=e.value.currentNode;n();const o=e.value.currentNode;l!==o&&t("current-change",o?o.data:null,o)};var q9=Object.defineProperty,G9=(e,t,n)=>t in e?q9(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Nn=(e,t,n)=>G9(e,typeof t!="symbol"?t+"":t,n);const q2=e=>{let t=!0,n=!0,l=!0,o=!0;for(let a=0,s=e.length;a{n.canFocus=t,Av(n.childNodes,t)})};let X9=0,Lv=class ec{constructor(t){Nn(this,"id"),Nn(this,"text"),Nn(this,"checked"),Nn(this,"indeterminate"),Nn(this,"data"),Nn(this,"expanded"),Nn(this,"parent"),Nn(this,"visible"),Nn(this,"isCurrent"),Nn(this,"store"),Nn(this,"isLeafByUser"),Nn(this,"isLeaf"),Nn(this,"canFocus"),Nn(this,"level"),Nn(this,"loaded"),Nn(this,"childNodes"),Nn(this,"loading"),Nn(this,"isEffectivelyChecked",!1),this.id=X9++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const n in t)xt(t,n)&&(this[n]=t[n]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){var t;const n=this.store;if(!n)throw new Error("[Node]store is required!");n.registerNode(this);const l=n.props;if(l&&typeof l.isLeaf<"u"){const s=Mu(this,"isLeaf");Vt(s)&&(this.isLeafByUser=s)}if(n.lazy!==!0&&this.data?(this.setData(this.data),n.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&n.lazy&&n.defaultExpandAll&&!this.isLeafByUser&&this.expand(),ye(this.data)||f0(this,this.data),!this.data)return;const o=n.defaultExpandedKeys,a=n.key;a&&!dn(this.key)&&o&&o.includes(this.key)&&this.expand(null,n.autoExpandParent),a&&n.currentNodeKey!==void 0&&this.key===n.currentNodeKey&&(n.currentNode&&(n.currentNode.isCurrent=!1),n.currentNode=this,n.currentNode.isCurrent=!0),n.lazy&&n._initDefaultCheckedNode(this),this.updateLeafState(),(this.level===1||((t=this.parent)==null?void 0:t.expanded)===!0)&&(this.canFocus=!0)}setData(t){ye(t)||f0(this,t),this.data=t,this.childNodes=[];let n;this.level===0&&ye(this.data)?n=this.data:n=Mu(this,"children")||[];for(let l=0,o=n.length;l-1)return t.childNodes[n+1]}return null}get previousSibling(){const t=this.parent;if(t){const n=t.childNodes.indexOf(this);if(n>-1)return n>0?t.childNodes[n-1]:null}return null}contains(t,n=!0){return(this.childNodes||[]).some(l=>l===t||n&&l.contains(t))}remove(){const t=this.parent;t&&t.removeChild(this)}insertChild(t,n,l){if(!t)throw new Error("InsertChild error: child is required.");if(!(t instanceof ec)){if(!l){const o=this.getChildren(!0);o!=null&&o.includes(t.data)||(St(n)||n<0?o==null||o.push(t.data):o==null||o.splice(n,0,t.data))}Object.assign(t,{parent:this,store:this.store}),t=Nt(new ec(t)),t instanceof ec&&t.initialize()}t.level=this.level+1,St(n)||n<0?this.childNodes.push(t):this.childNodes.splice(n,0,t),this.updateLeafState()}insertBefore(t,n){let l;n&&(l=this.childNodes.indexOf(n)),this.insertChild(t,l)}insertAfter(t,n){let l;n&&(l=this.childNodes.indexOf(n),l!==-1&&(l+=1)),this.insertChild(t,l)}removeChild(t){const n=this.getChildren()||[],l=n.indexOf(t.data);l>-1&&n.splice(l,1);const o=this.childNodes.indexOf(t);o>-1&&(this.store&&this.store.deregisterNode(t),t.parent=null,this.childNodes.splice(o,1)),this.updateLeafState()}removeChildByData(t){const n=this.childNodes.find(l=>l.data===t);n&&this.removeChild(n)}expand(t,n){const l=()=>{if(n){let o=this.parent;for(;o&&o.level>0;)o.expanded=!0,o=o.parent}this.expanded=!0,t&&t(),Av(this.childNodes,!0)};this.shouldLoadData()?this.loadData(o=>{ye(o)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||Dr(this),l())}):l()}doCreateChildren(t,n={}){t.forEach(l=>{this.insertChild(Object.assign({data:l},n),void 0,!0)})}collapse(){this.expanded=!1,Av(this.childNodes,!1)}shouldLoadData(){return!!(this.store.lazy===!0&&this.store.load&&!this.loaded)}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser<"u"){this.isLeaf=this.isLeafByUser,this.isEffectivelyChecked=this.isLeaf&&this.disabled;return}const t=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!t||t.length===0,this.isEffectivelyChecked=this.isLeaf&&this.disabled;return}this.isLeaf=!1}setChecked(t,n,l,o){if(this.indeterminate=t==="half",this.checked=t===!0,this.isEffectivelyChecked=!this.childNodes.length&&(this.disabled||this.checked),this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const s=()=>{if(n){const r=this.childNodes;for(let f=0,h=r.length;f{s(),Dr(this)},{checked:t!==!1});return}else s()}const a=this.parent;!a||a.level===0||l||Dr(a)}getChildren(t=!1){if(this.level===0)return this.data;const n=this.data;if(!n)return null;const l=this.store.props;let o="children";return l&&(o=l.children||"children"),St(n[o])&&(n[o]=null),t&&!n[o]&&(n[o]=[]),n[o]}updateChildren(){const t=this.getChildren()||[],n=this.childNodes.map(a=>a.data),l={},o=[];t.forEach((a,s)=>{const r=a[js];!!r&&n.some(c=>(c==null?void 0:c[js])===r)?l[r]={index:s,data:a}:o.push({index:s,data:a})}),this.store.lazy||n.forEach(a=>{l[a==null?void 0:a[js]]||this.removeChildByData(a)}),o.forEach(({index:a,data:s})=>{this.insertChild({data:s},a)}),this.updateLeafState()}loadData(t,n={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(n).length)){this.loading=!0;const l=a=>{this.childNodes=[],this.doCreateChildren(a,n),this.loaded=!0,this.loading=!1,this.updateLeafState(),t&&t.call(this,a)},o=()=>{this.loading=!1};this.store.load(this,l,o)}else t&&t.call(this)}eachNode(t){const n=[this];for(;n.length;){const l=n.shift();n.unshift(...l.childNodes),t(l)}}reInitChecked(){this.store.checkStrictly||Dr(this)}};var Z9=Object.defineProperty,J9=(e,t,n)=>t in e?Z9(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Vn=(e,t,n)=>J9(e,typeof t!="symbol"?t+"":t,n);class Q9{constructor(t){Vn(this,"currentNode"),Vn(this,"currentNodeKey"),Vn(this,"nodesMap"),Vn(this,"root"),Vn(this,"data"),Vn(this,"lazy",!1),Vn(this,"load"),Vn(this,"filterNodeMethod"),Vn(this,"key"),Vn(this,"defaultCheckedKeys"),Vn(this,"checkStrictly",!1),Vn(this,"defaultExpandedKeys"),Vn(this,"autoExpandParent",!1),Vn(this,"defaultExpandAll",!1),Vn(this,"checkDescendants",!1),Vn(this,"props"),this.currentNode=null,this.currentNodeKey=null;for(const n in t)xt(t,n)&&(this[n]=t[n]);this.nodesMap={}}initialize(){if(this.root=new Lv({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const t=this.load;t(this.root,n=>{this.root.doCreateChildren(n),this._initDefaultCheckedNodes()},Rt)}else this._initDefaultCheckedNodes()}filter(t){const n=this.filterNodeMethod,l=this.lazy,o=async function(a){const s=a.root?a.root.childNodes:a.childNodes;for(const[r,u]of s.entries())u.visible=!!(n!=null&&n.call(u,t,u.data,u)),r%80===0&&r>0&&await Re(),await o(u);if(!a.visible&&s.length){let r=!0;r=!s.some(u=>u.visible),a.root?a.root.visible=r===!1:a.visible=r===!1}t&&a.visible&&!a.isLeaf&&(!l||a.loaded)&&a.expand()};o(this)}setData(t){t!==this.root.data?(this.nodesMap={},this.root.setData(t),this._initDefaultCheckedNodes(),this.setCurrentNodeKey(this.currentNodeKey)):this.root.updateChildren()}getNode(t){if(t instanceof Lv)return t;const n=nt(t)?_h(this.key,t):t;return this.nodesMap[n]||null}insertBefore(t,n){var l;const o=this.getNode(n);(l=o.parent)==null||l.insertBefore({data:t},o)}insertAfter(t,n){var l;const o=this.getNode(n);(l=o.parent)==null||l.insertAfter({data:t},o)}remove(t){const n=this.getNode(t);n&&n.parent&&(n===this.currentNode&&(this.currentNode=null),n.parent.removeChild(n))}append(t,n){const l=cl(n)?this.root:this.getNode(n);l&&l.insertChild({data:t})}_initDefaultCheckedNodes(){const t=this.defaultCheckedKeys||[],n=this.nodesMap;t.forEach(l=>{const o=n[l];o&&o.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(t){const n=this.defaultCheckedKeys||[];!dn(t.key)&&n.includes(t.key)&&t.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(t){t!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=t,this._initDefaultCheckedNodes())}registerNode(t){const n=this.key;if(!(!t||!t.data))if(!n)this.nodesMap[t.id]=t;else{const l=t.key;dn(l)||(this.nodesMap[l]=t)}}deregisterNode(t){!this.key||!t||!t.data||(t.childNodes.forEach(l=>{this.deregisterNode(l)}),delete this.nodesMap[t.key])}getCheckedNodes(t=!1,n=!1){const l=[],o=function(a){(a.root?a.root.childNodes:a.childNodes).forEach(r=>{(r.checked||n&&r.indeterminate)&&(!t||t&&r.isLeaf)&&l.push(r.data),o(r)})};return o(this),l}getCheckedKeys(t=!1){return this.getCheckedNodes(t).map(n=>(n||{})[this.key])}getHalfCheckedNodes(){const t=[],n=function(l){(l.root?l.root.childNodes:l.childNodes).forEach(a=>{a.indeterminate&&t.push(a.data),n(a)})};return n(this),t}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(t=>(t||{})[this.key])}_getAllNodes(){const t=[],n=this.nodesMap;for(const l in n)xt(n,l)&&t.push(n[l]);return t}updateChildren(t,n){const l=this.nodesMap[t];if(!l)return;const o=l.childNodes;for(let a=o.length-1;a>=0;a--){const s=o[a];this.remove(s.data)}for(let a=0,s=n.length;au.level-c.level),a=Object.create(null),s=Object.keys(l);o.forEach(u=>u.setChecked(!1,!1));const r=u=>{u.childNodes.forEach(c=>{var d;a[c.data[t]]=!0,(d=c.childNodes)!=null&&d.length&&r(c)})};for(let u=0,c=o.length;u{g.isLeaf||g.setChecked(!1,!1),m(g)})};m(d)}}}setCheckedNodes(t,n=!1){const l=this.key,o={};t.forEach(a=>{o[(a||{})[l]]=!0}),this._setCheckedKeys(l,n,o)}setCheckedKeys(t,n=!1){this.defaultCheckedKeys=t;const l=this.key,o={};t.forEach(a=>{o[a]=!0}),this._setCheckedKeys(l,n,o)}setDefaultExpandedKeys(t){t=t||[],this.defaultExpandedKeys=t,t.forEach(n=>{const l=this.getNode(n);l&&l.expand(null,this.autoExpandParent)})}setChecked(t,n,l){const o=this.getNode(t);o&&o.setChecked(!!n,l)}getCurrentNode(){return this.currentNode}setCurrentNode(t){const n=this.currentNode;n&&(n.isCurrent=!1),this.currentNode=t,this.currentNode.isCurrent=!0}setUserCurrentNode(t,n=!0){var l;const o=t[this.key],a=this.nodesMap[o];this.setCurrentNode(a),n&&this.currentNode&&this.currentNode.level>1&&((l=this.currentNode.parent)==null||l.expand(null,!0))}setCurrentNodeKey(t,n=!0){var l;if(this.currentNodeKey=t,cl(t)){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const o=this.getNode(t);o&&(this.setCurrentNode(o),n&&this.currentNode&&this.currentNode.level>1&&((l=this.currentNode.parent)==null||l.expand(null,!0)))}}const Fh="RootTree",G2="NodeInstance",v0="TreeNodeMap";var ej=ae({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=me("tree"),n=Le(G2),l=Le(Fh);return()=>{const o=e.node,{data:a,store:s}=o;return e.renderContent?e.renderContent(Ge,{_self:n,node:o,data:a,store:s}):te(l.ctx.slots,"default",{node:o,data:a},()=>[Ge(Vh,{tag:"span",truncated:!0,class:t.be("node","label")},()=>[o.label])])}}});function X2(e){const t=Le(v0,null);let n={treeNodeExpand:l=>{var o;e.node!==l&&((o=e.node)==null||o.collapse())},children:new Set};return t&&t.children.add(n),Pt(()=>{t&&t.children.delete(n),n=null}),yt(v0,n),{broadcastExpanded:l=>{if(e.accordion)for(const o of n.children)o.treeNodeExpand(l)}}}const Z2=Symbol("dragEvents");function tj({props:e,ctx:t,el$:n,dropIndicator$:l,store:o}){const a=me("tree"),s=L({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return yt(Z2,{treeNodeDragStart:({event:d,treeNode:f})=>{if(d.dataTransfer){if(He(e.allowDrag)&&!e.allowDrag(f.node))return d.preventDefault(),!1;d.dataTransfer.effectAllowed="move";try{d.dataTransfer.setData("text/plain","")}catch{}s.value.draggingNode=f,t.emit("node-drag-start",f.node,d)}},treeNodeDragOver:({event:d,treeNode:f})=>{if(!d.dataTransfer)return;const h=f,m=s.value.dropNode;m&&m.node.id!==h.node.id&&qn(m.$el,a.is("drop-inner"));const v=s.value.draggingNode;if(!v||!h)return;let p=!0,g=!0,b=!0,C=!0;He(e.allowDrop)&&(p=e.allowDrop(v.node,h.node,"prev"),C=g=e.allowDrop(v.node,h.node,"inner"),b=e.allowDrop(v.node,h.node,"next")),d.dataTransfer.dropEffect=g||p||b?"move":"none",(p||g||b)&&(m==null?void 0:m.node.id)!==h.node.id&&(m&&t.emit("node-drag-leave",v.node,m.node,d),t.emit("node-drag-enter",v.node,h.node,d)),p||g||b?s.value.dropNode=h:s.value.dropNode=null,h.node.nextSibling===v.node&&(b=!1),h.node.previousSibling===v.node&&(p=!1),h.node.contains(v.node,!1)&&(g=!1),(v.node===h.node||v.node.contains(h.node))&&(p=!1,g=!1,b=!1);const w=h.$el,y=w.querySelector(`.${a.be("node","content")}`).getBoundingClientRect(),k=n.value.getBoundingClientRect(),E=n.value.scrollTop;let x;const $=p?g?.25:b?.45:1:Number.NEGATIVE_INFINITY,R=b?g?.75:p?.55:0:Number.POSITIVE_INFINITY;let I=-9999;const A=d.clientY-y.top;Ay.height*R?x="after":g?x="inner":x="none";const O=w.querySelector(`.${a.be("node","expand-icon")}`).getBoundingClientRect(),D=l.value;x==="before"?I=O.top-k.top+E:x==="after"&&(I=O.bottom-k.top+E),D.style.top=`${I}px`,D.style.left=`${O.right-k.left}px`,x==="inner"?$l(w,a.is("drop-inner")):qn(w,a.is("drop-inner")),s.value.showDropIndicator=x==="before"||x==="after",s.value.allowDrop=s.value.showDropIndicator||C,s.value.dropType=x,t.emit("node-drag-over",v.node,h.node,d)},treeNodeDragEnd:d=>{var f,h;const{draggingNode:m,dropType:v,dropNode:p}=s.value;if(d.preventDefault(),d.dataTransfer&&(d.dataTransfer.dropEffect="move"),m!=null&&m.node.data&&p){const g={data:m.node.data};v!=="none"&&m.node.remove(),v==="before"?(f=p.node.parent)==null||f.insertBefore(g,p.node):v==="after"?(h=p.node.parent)==null||h.insertAfter(g,p.node):v==="inner"&&p.node.insertChild(g),v!=="none"&&(o.value.registerNode(g),o.value.key&&m.node.eachNode(b=>{var C;(C=o.value.nodesMap[b.data[o.value.key]])==null||C.setChecked(b.checked,!o.value.checkStrictly)})),qn(p.$el,a.is("drop-inner")),t.emit("node-drag-end",m.node,p.node,v,d),v!=="none"&&t.emit("node-drop",m.node,p.node,v,d)}m&&!p&&t.emit("node-drag-end",m.node,null,v,d),s.value.showDropIndicator=!1,s.value.draggingNode=null,s.value.dropNode=null,s.value.allowDrop=!0}}),{dragState:s}}var nj=ae({name:"ElTreeNode",components:{ElCollapseTransition:yd,ElCheckbox:jl,NodeContent:ej,ElIcon:_e,Loading:wo},props:{node:{type:Lv,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:Boolean},emits:["node-expand"],setup(e,t){const n=me("tree"),{broadcastExpanded:l}=X2(e),o=Le(Fh),a=L(!1),s=L(!1),r=L(),u=L(),c=L(),d=Le(Z2),f=ct();yt(G2,f),e.node.expanded&&(a.value=!0,s.value=!0);const h=o.props.props.children||"children";ue(()=>{var R;const I=(R=e.node.data)==null?void 0:R[h];return I&&[...I]},()=>{e.node.updateChildren()}),ue(()=>e.node.indeterminate,R=>{p(e.node.checked,R)}),ue(()=>e.node.checked,R=>{p(R,e.node.indeterminate)}),ue(()=>e.node.childNodes.length,()=>e.node.reInitChecked()),ue(()=>e.node.expanded,R=>{Re(()=>a.value=R),R&&(s.value=!0)});const m=R=>o.props.nodeKey?_h(o.props.nodeKey,R.data):R.id,v=R=>{const I=e.props.class;if(!I)return{};let A;if(He(I)){const{data:O}=R;A=I(O,R)}else A=I;return Ve(A)?{[A]:!0}:A},p=(R,I)=>{(r.value!==R||u.value!==I)&&o.ctx.emit("check-change",e.node.data,R,I),r.value=R,u.value=I},g=R=>{Rv(o.store,o.ctx.emit,()=>{var I;if((I=o==null?void 0:o.props)==null?void 0:I.nodeKey){const O=m(e.node);o.store.value.setCurrentNodeKey(O)}else o.store.value.setCurrentNode(e.node)}),o.currentNode.value=e.node,o.props.expandOnClickNode&&C(),(o.props.checkOnClickNode||e.node.isLeaf&&o.props.checkOnClickLeaf&&e.showCheckbox)&&!e.node.disabled&&w(!e.node.checked),o.ctx.emit("node-click",e.node.data,e.node,f,R)},b=R=>{var I;(I=o.instance.vnode.props)!=null&&I.onNodeContextmenu&&(R.stopPropagation(),R.preventDefault()),o.ctx.emit("node-contextmenu",R,e.node.data,e.node,f)},C=()=>{e.node.isLeaf||(a.value?(o.ctx.emit("node-collapse",e.node.data,e.node,f),e.node.collapse()):e.node.expand(()=>{t.emit("node-expand",e.node.data,e.node,f)}))},w=R=>{const I=o==null?void 0:o.props.checkStrictly,A=e.node.childNodes;!I&&A.length&&(R=A.some(O=>!O.isEffectivelyChecked)),e.node.setChecked(R,!I),Re(()=>{const O=o.store.value;o.ctx.emit("check",e.node.data,{checkedNodes:O.getCheckedNodes(),checkedKeys:O.getCheckedKeys(),halfCheckedNodes:O.getHalfCheckedNodes(),halfCheckedKeys:O.getHalfCheckedKeys()})})};return{ns:n,node$:c,tree:o,expanded:a,childNodeRendered:s,oldChecked:r,oldIndeterminate:u,getNodeKey:m,getNodeClass:v,handleSelectChange:p,handleClick:g,handleContextMenu:b,handleExpandIconClick:C,handleCheckChange:w,handleChildNodeExpand:(R,I,A)=>{l(I),o.ctx.emit("node-expand",R,I,A)},handleDragStart:R=>{o.props.draggable&&d.treeNodeDragStart({event:R,treeNode:e})},handleDragOver:R=>{R.preventDefault(),o.props.draggable&&d.treeNodeDragOver({event:R,treeNode:{$el:c.value,node:e.node}})},handleDrop:R=>{R.preventDefault()},handleDragEnd:R=>{o.props.draggable&&d.treeNodeDragEnd(R)},CaretRight:m1}}});const lj=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],oj=["aria-expanded"];function aj(e,t,n,l,o,a){const s=Tt("el-icon"),r=Tt("el-checkbox"),u=Tt("loading"),c=Tt("node-content"),d=Tt("el-tree-node"),f=Tt("el-collapse-transition");return it((T(),F("div",{ref:"node$",class:P([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:t[2]||(t[2]=Je((...h)=>e.handleClick&&e.handleClick(...h),["stop"])),onContextmenu:t[3]||(t[3]=(...h)=>e.handleContextMenu&&e.handleContextMenu(...h)),onDragstart:t[4]||(t[4]=Je((...h)=>e.handleDragStart&&e.handleDragStart(...h),["stop"])),onDragover:t[5]||(t[5]=Je((...h)=>e.handleDragOver&&e.handleDragOver(...h),["stop"])),onDragend:t[6]||(t[6]=Je((...h)=>e.handleDragEnd&&e.handleDragEnd(...h),["stop"])),onDrop:t[7]||(t[7]=Je((...h)=>e.handleDrop&&e.handleDrop(...h),["stop"]))},[j("div",{class:P(e.ns.be("node","content")),style:je({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(T(),le(s,{key:0,class:P([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:Je(e.handleExpandIconClick,["stop"])},{default:ee(()=>[(T(),le(rt(e.tree.props.icon||e.CaretRight)))]),_:1},8,["class","onClick"])):ne("v-if",!0),e.showCheckbox?(T(),le(r,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:t[0]||(t[0]=Je(()=>{},["stop"])),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):ne("v-if",!0),e.node.loading?(T(),le(s,{key:2,class:P([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:ee(()=>[q(u)]),_:1},8,["class"])):ne("v-if",!0),q(c,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),q(f,null,{default:ee(()=>[!e.renderAfterExpand||e.childNodeRendered?it((T(),F("div",{key:0,class:P(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded,onClick:t[1]||(t[1]=Je(()=>{},["stop"]))},[(T(!0),F(ze,null,gt(e.node.childNodes,h=>(T(),le(d,{key:e.getNodeKey(h),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:h,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,oj)),[[$t,e.expanded]]):ne("v-if",!0)]),_:1})],42,lj)),[[$t,e.node.visible]])}var sj=bn(nj,[["render",aj]]);function rj({el$:e},t){const n=me("tree");ft(()=>{a()}),Gl(()=>{var s;(s=e.value)==null||s.querySelectorAll("input[type=checkbox]").forEach(r=>{r.setAttribute("tabindex","-1")})});function l(s,r){var u,c;const d=t.value.getNode(s[r].dataset.key);return d.canFocus&&d.visible&&(((u=d.parent)==null?void 0:u.expanded)||((c=d.parent)==null?void 0:c.level)===0)}At(e,"keydown",s=>{const r=s.target;if(!r.className.includes(n.b("node")))return;const u=Ft(s),c=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),d=c.indexOf(r);let f;if([Ce.up,Ce.down].includes(u)){if(s.preventDefault(),u===Ce.up){f=d===-1?0:d!==0?d-1:c.length-1;const m=f;for(;!l(c,f);){if(f--,f===m){f=-1;break}f<0&&(f=c.length-1)}}else{f=d===-1?0:d=c.length&&(f=0)}}f!==-1&&c[f].focus()}[Ce.left,Ce.right].includes(u)&&(s.preventDefault(),r.click());const h=r.querySelector('[type="checkbox"]');[Ce.enter,Ce.numpadEnter,Ce.space].includes(u)&&h&&(s.preventDefault(),h.click())});const a=()=>{var s;if(!e.value)return;const r=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`));Array.from(e.value.querySelectorAll("input[type=checkbox]")).forEach(d=>{d.setAttribute("tabindex","-1")});const c=e.value.querySelectorAll(`.${n.is("checked")}[role=treeitem]`);if(c.length){c[0].setAttribute("tabindex","0");return}(s=r[0])==null||s.setAttribute("tabindex","0")}}const J2=Se({data:{type:G(Array),default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},checkDescendants:Boolean,autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:{type:Array},defaultExpandedKeys:{type:Array},currentNodeKey:{type:[String,Number]},renderContent:{type:G(Function)},showCheckbox:Boolean,draggable:Boolean,allowDrag:{type:G(Function)},allowDrop:{type:G(Function)},props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:Boolean,highlightCurrent:Boolean,load:{type:Function},filterNodeMethod:{type:Function},accordion:Boolean,indent:{type:Number,default:18},icon:{type:_t}}),ij={"check-change":(e,t,n)=>e&&Vt(t)&&Vt(n),"current-change":(e,t)=>!0,"node-click":(e,t,n,l)=>e&&t&&l instanceof Event,"node-contextmenu":(e,t,n,l)=>e instanceof Event&&t&&n,"node-collapse":(e,t,n)=>e&&t,"node-expand":(e,t,n)=>e&&t,check:(e,t)=>e&&t,"node-drag-start":(e,t)=>e&&t,"node-drag-end":(e,t,n,l)=>e&&l,"node-drop":(e,t,n,l)=>e&&t&&l,"node-drag-leave":(e,t,n)=>e&&t&&n,"node-drag-enter":(e,t,n)=>e&&t&&n,"node-drag-over":(e,t,n)=>e&&t&&n};var uj=ae({name:"ElTree",components:{ElTreeNode:sj},props:J2,emits:ij,setup(e,t){const{t:n}=wt(),l=me("tree"),o=L(new Q9({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));o.value.initialize();const a=L(o.value.root),s=L(null),r=L(null),u=L(null),{broadcastExpanded:c}=X2(e),{dragState:d}=tj({props:e,ctx:t,el$:r,dropIndicator$:u,store:o});rj({el$:r},o);const f=ct(),h=S(()=>{let V=f==null?void 0:f.parent;for(;V;){if(V.type.name==="ElTreeSelect")return!0;V=V.parent}return!1}),m=S(()=>{const{childNodes:V}=a.value;return(!V||V.length===0||V.every(({visible:z})=>!z))&&!h.value});ue(()=>e.currentNodeKey,V=>{o.value.setCurrentNodeKey(V??null)}),ue(()=>e.defaultCheckedKeys,(V,z)=>{Qt(V,z)||o.value.setDefaultCheckedKey(V??[])}),ue(()=>e.defaultExpandedKeys,V=>{o.value.setDefaultExpandedKeys(V??[])}),ue(()=>e.data,V=>{o.value.setData(V)},{deep:!0}),ue(()=>e.checkStrictly,V=>{o.value.checkStrictly=V});const v=V=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");o.value.filter(V)},p=V=>e.nodeKey?_h(e.nodeKey,V.data):V.id,g=V=>{if(!e.nodeKey)throw new Error(`[Tree] nodeKey is required in ${V}`)},b=V=>{g("getNodePath");const z=o.value.getNode(V);if(!z)return[];const Y=[z.data];let H=z.parent;for(;H&&H!==a.value;)Y.push(H.data),H=H.parent;return Y.reverse()},C=(V,z)=>o.value.getCheckedNodes(V,z),w=V=>o.value.getCheckedKeys(V),y=()=>{const V=o.value.getCurrentNode();return V?V.data:null},k=()=>{g("getCurrentKey");const V=y();return V?V[e.nodeKey]:null},E=(V,z)=>{g("setCheckedNodes"),o.value.setCheckedNodes(V,z)},x=(V,z)=>{g("setCheckedKeys"),o.value.setCheckedKeys(V,z)},$=(V,z,Y)=>{o.value.setChecked(V,z,Y)},R=()=>o.value.getHalfCheckedNodes(),I=()=>o.value.getHalfCheckedKeys(),A=(V,z=!0)=>{g("setCurrentNode"),Rv(o,t.emit,()=>{c(V),o.value.setUserCurrentNode(V,z)})},O=(V=null,z=!0)=>{g("setCurrentKey"),Rv(o,t.emit,()=>{c(),o.value.setCurrentNodeKey(V,z)})},D=V=>o.value.getNode(V),K=V=>{o.value.remove(V)},Z=(V,z)=>{o.value.append(V,z)},W=(V,z)=>{o.value.insertBefore(V,z)},M=(V,z)=>{o.value.insertAfter(V,z)},N=(V,z,Y)=>{c(z),t.emit("node-expand",V,z,Y)},B=(V,z)=>{g("updateKeyChildren"),o.value.updateChildren(V,z)};return yt(Fh,{ctx:t,props:e,store:o,root:a,currentNode:s,instance:f}),yt(So,void 0),{ns:l,store:o,root:a,currentNode:s,dragState:d,el$:r,dropIndicator$:u,isEmpty:m,filter:v,getNodeKey:p,getNodePath:b,getCheckedNodes:C,getCheckedKeys:w,getCurrentNode:y,getCurrentKey:k,setCheckedNodes:E,setCheckedKeys:x,setChecked:$,getHalfCheckedNodes:R,getHalfCheckedKeys:I,setCurrentNode:A,setCurrentKey:O,t:n,getNode:D,remove:K,append:Z,insertBefore:W,insertAfter:M,handleNodeExpand:N,updateKeyChildren:B}}});function cj(e,t,n,l,o,a){const s=Tt("el-tree-node");return T(),F("div",{ref:"el$",class:P([e.ns.b(),e.ns.is("dragging",!!e.dragState.draggingNode),e.ns.is("drop-not-allow",!e.dragState.allowDrop),e.ns.is("drop-inner",e.dragState.dropType==="inner"),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[(T(!0),F(ze,null,gt(e.root.childNodes,r=>(T(),le(s,{key:e.getNodeKey(r),node:r,props:e.props,accordion:e.accordion,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent,onNodeExpand:e.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),e.isEmpty?(T(),F("div",{key:0,class:P(e.ns.e("empty-block"))},[te(e.$slots,"empty",{},()=>{var r;return[j("span",{class:P(e.ns.e("empty-text"))},ke((r=e.emptyText)!=null?r:e.t("el.tree.emptyText")),3)]})],2)):ne("v-if",!0),it(j("div",{ref:"dropIndicator$",class:P(e.ns.e("drop-indicator"))},null,2),[[$t,e.dragState.showDropIndicator]])],2)}var dj=bn(uj,[["render",cj]]);const zh=ot(dj),fj=(e,{attrs:t,emit:n},{select:l,tree:o,key:a})=>{const s=me("tree-select");ue(()=>e.data,()=>{e.filterable&&Re(()=>{var c,d;(d=o.value)==null||d.filter((c=l.value)==null?void 0:c.states.inputValue)})},{flush:"post"});const r=c=>{var d;const f=c.at(-1);if(f.expanded&&f.childNodes.at(-1))r([f.childNodes.at(-1)]);else{const h=(d=o.value.el$)==null?void 0:d.querySelector(`[data-key="${c.at(-1).key}"]`);h==null||h.focus({preventScroll:!0});return}};return ft(()=>{At(()=>{var c;return(c=l.value)==null?void 0:c.$el},"keydown",async c=>{const d=Ft(c),{dropdownMenuVisible:f}=l.value;[Ce.down,Ce.up].includes(d)&&f&&(await Re(),setTimeout(()=>{var h,m,v;if(Ce.up===d){const p=o.value.store.root.childNodes;r(p);return}(v=(m=(h=l.value.optionsArray[l.value.states.hoveringIndex].$el)==null?void 0:h.parentNode)==null?void 0:m.parentNode)==null||v.focus({preventScroll:!0})}))},{capture:!0})}),{...Yo(kn(e),Object.keys(Ma.props)),...t,class:S(()=>t.class),style:S(()=>t.style),"onUpdate:modelValue":c=>n(et,c),valueKey:a,popperClass:S(()=>{const c=[s.e("popper")];return e.popperClass&&c.push(e.popperClass),c.join(" ")}),filterMethod:(c="")=>{var d;e.filterMethod?e.filterMethod(c):e.remoteMethod?e.remoteMethod(c):(d=o.value)==null||d.filter(c)}}},vj=ae({extends:wc,setup(e,t){const n=wc.setup(e,t);delete n.selectOptionClick;const l=ct().proxy;return Re(()=>{n.select.states.cachedOptions.get(l.value)||n.select.onOptionCreate(l)}),ue(()=>t.attrs.visible,o=>{Re(()=>{n.states.visible=o})},{immediate:!0}),n},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function Dv(e){return e||e===0}function Hh(e){return ye(e)&&e.length}function Ns(e){return ye(e)?e:Dv(e)?[e]:[]}function tc(e,t,n,l,o){for(let a=0;a{ue([()=>e.modelValue,a],()=>{e.showCheckbox&&Re(()=>{const v=a.value;v&&!Qt(v.getCheckedKeys(),Ns(e.modelValue))&&v.setCheckedKeys(Ns(e.modelValue))})},{immediate:!0,deep:!0});const r=S(()=>({value:s.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...e.props})),u=(v,p)=>{var g;const b=r.value[v];return He(b)?b(p,(g=a.value)==null?void 0:g.getNode(u("value",p))):p[b]},c=Ns(e.modelValue).map(v=>tc(e.data||[],p=>u("value",p)===v,p=>u("children",p),(p,g,b,C)=>C&&u("value",C))).filter(v=>Dv(v)),d=S(()=>{if(!e.renderAfterExpand&&!e.lazy)return[];const v=[];return nc(e.data.concat(e.cacheData),p=>{const g=u("value",p);v.push({value:g,currentLabel:u("label",p),isDisabled:u("disabled",p)})},p=>u("children",p)),v}),f=()=>{var v;return(v=a.value)==null?void 0:v.getCheckedKeys().filter(p=>{var g;const b=(g=a.value)==null?void 0:g.getNode(p);return!dn(b)&&tl(b.childNodes)})},h=v=>{Qt(e.modelValue,v)||l(ht,v)};function m(v){l(et,v),h(v)}return{...Yo(kn(e),Object.keys(zh.props)),...t,nodeKey:s,expandOnClickNode:S(()=>!e.checkStrictly&&e.expandOnClickNode),defaultExpandedKeys:S(()=>e.defaultExpandedKeys?e.defaultExpandedKeys.concat(c):c),renderContent:(v,{node:p,data:g,store:b})=>v(vj,{value:u("value",g),label:u("label",g),disabled:u("disabled",g),visible:p.visible},e.renderContent?()=>e.renderContent(v,{node:p,data:g,store:b}):n.default?()=>n.default({node:p,data:g,store:b}):void 0),filterNodeMethod:(v,p,g)=>e.filterNodeMethod?e.filterNodeMethod(v,p,g):v?new RegExp(Qp(v),"i").test(u("label",p)||""):!0,onNodeClick:(v,p,g)=>{var b,C,w;if((b=t.onNodeClick)==null||b.call(t,v,p,g),!(e.showCheckbox&&e.checkOnClickNode))if(!e.showCheckbox&&(e.checkStrictly||p.isLeaf)){if(!u("disabled",v)){const y=(C=o.value)==null?void 0:C.states.options.get(u("value",v));(w=o.value)==null||w.handleOptionSelect(y)}}else e.expandOnClickNode&&g.proxy.handleExpandIconClick()},onCheck:(v,p)=>{var g;if(!e.showCheckbox)return;const b=u("value",v),C={};nc([a.value.store.root],E=>C[E.key]=E,E=>E.childNodes);const w=p.checkedKeys,y=e.multiple?Ns(e.modelValue).filter(E=>!(E in C)&&!w.includes(E)):[],k=y.concat(w);if(e.checkStrictly)m(e.multiple?k:k.includes(b)?b:void 0);else if(e.multiple){const E=f();m(y.concat(E))}else{const E=tc([v],R=>!Hh(u("children",R))&&!u("disabled",R),R=>u("children",R)),x=E?u("value",E):void 0,$=Dv(e.modelValue)&&!!tc([v],R=>u("value",R)===e.modelValue,R=>u("children",R));m(x===e.modelValue||$?void 0:x)}Re(()=>{var E;const x=Ns(e.modelValue);a.value.setCheckedKeys(x),(E=t.onCheck)==null||E.call(t,v,{checkedKeys:a.value.getCheckedKeys(),checkedNodes:a.value.getCheckedNodes(),halfCheckedKeys:a.value.getHalfCheckedKeys(),halfCheckedNodes:a.value.getHalfCheckedNodes()})}),(g=o.value)==null||g.focus()},onNodeExpand:(v,p,g)=>{var b;(b=t.onNodeExpand)==null||b.call(t,v,p,g),Re(()=>{if(!e.checkStrictly&&e.lazy&&e.multiple&&p.checked){const C={},w=a.value.getCheckedKeys();nc([a.value.store.root],E=>C[E.key]=E,E=>E.childNodes);const y=Ns(e.modelValue).filter(E=>!(E in C)&&!w.includes(E)),k=f();m(y.concat(k))}})},cacheOptions:d}};var hj=ae({props:{data:{type:Array,default:()=>[]}},setup(e){const t=Le(tu);return ue(()=>e.data,()=>{var n;e.data.forEach(o=>{t.states.cachedOptions.has(o.value)||t.states.cachedOptions.set(o.value,o)});const l=((n=t.selectRef)==null?void 0:n.querySelectorAll("input"))||[];Ot&&!Array.from(l).includes(document.activeElement)&&t.setSelected()},{flush:"post",immediate:!0}),()=>{}}}),mj=ae({name:"ElTreeSelect",inheritAttrs:!1,props:{...gC,...J2,cacheData:{type:Array,default:()=>[]}},setup(e,t){const{slots:n,expose:l,emit:o,attrs:a}=t,s={...a,onChange:void 0},r=L(),u=L(),c=S(()=>e.nodeKey||e.valueKey||"value"),d=fj(e,{attrs:a,emit:o},{select:r,tree:u,key:c}),{cacheOptions:f,...h}=pj(e,{attrs:s,slots:n,emit:o},{select:r,tree:u,key:c}),m=Nt({});return l(m),ft(()=>{Object.assign(m,{...Yo(u.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...Yo(r.value,["focus","blur","selectedLabel"]),treeRef:u.value,selectRef:r.value})}),()=>Ge(Ma,Nt({...d,ref:v=>r.value=v}),{...n,default:()=>[Ge(hj,{data:f.value}),Ge(zh,Nt({...h,ref:v=>u.value=v}))]})}});const gj=ot(mj),Kh=Symbol(),bj={key:-1,level:-1,data:{}};var Br=(e=>(e.KEY="id",e.LABEL="label",e.CHILDREN="children",e.DISABLED="disabled",e.CLASS="",e))(Br||{}),Bv=(e=>(e.ADD="add",e.DELETE="delete",e))(Bv||{});const Q2={type:Number,default:26},yj=Se({data:{type:G(Array),default:()=>en([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:G(Object),default:()=>en({children:"children",label:"label",disabled:"disabled",value:"id",class:""})},highlightCurrent:Boolean,showCheckbox:Boolean,defaultCheckedKeys:{type:G(Array),default:()=>en([])},checkStrictly:Boolean,defaultExpandedKeys:{type:G(Array),default:()=>en([])},indent:{type:Number,default:16},itemSize:Q2,icon:{type:_t},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},currentNodeKey:{type:G([String,Number])},accordion:Boolean,filterMethod:{type:G(Function)},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),wj=Se({node:{type:G(Object),default:()=>en(bj)},expanded:Boolean,checked:Boolean,indeterminate:Boolean,showCheckbox:Boolean,disabled:Boolean,current:Boolean,hiddenExpandIcon:Boolean,itemSize:Q2}),Cj=Se({node:{type:G(Object),required:!0}}),ek="node-click",tk="node-drop",nk="node-expand",lk="node-collapse",ok="current-change",ak="check",sk="check-change",rk="node-contextmenu",Sj={[ek]:(e,t,n)=>e&&t&&n,[tk]:(e,t,n)=>e&&t&&n,[nk]:(e,t)=>e&&t,[lk]:(e,t)=>e&&t,[ok]:(e,t)=>e&&t,[ak]:(e,t)=>e&&t,[sk]:(e,t)=>e&&Vt(t),[rk]:(e,t,n)=>e&&t&&n},kj={click:(e,t)=>!!(e&&t),drop:(e,t)=>!!(e&&t),toggle:e=>!!e,check:(e,t)=>e&&Vt(t)};function Ej(e,t){const n=L(new Set),l=L(new Set),{emit:o}=ct();ue([()=>t.value,()=>e.defaultCheckedKeys],()=>Re(()=>{C(e.defaultCheckedKeys)}),{immediate:!0});const a=()=>{if(!t.value||!e.showCheckbox||e.checkStrictly)return;const{levelTreeNodeMap:w,maxLevel:y}=t.value,k=n.value,E=new Set;for(let x=y;x>=1;--x){const $=w.get(x);$&&$.forEach(R=>{const I=R.children;let A=!R.isLeaf||R.disabled||k.has(R.key);if(I){let O=!0,D=!1;for(const K of I){const Z=K.key;if(K.isEffectivelyChecked||(A=!1),k.has(Z))D=!0;else if(E.has(Z)){O=!1,D=!0;break}else O=!1}O?k.add(R.key):D?(E.add(R.key),k.delete(R.key)):(k.delete(R.key),E.delete(R.key))}R.isEffectivelyChecked=A})}l.value=E},s=w=>n.value.has(w.key),r=w=>l.value.has(w.key),u=(w,y,k=!0,E=!0)=>{const x=n.value,$=w.children;!e.checkStrictly&&k&&($!=null&&$.length)&&(y=$.some(I=>!I.isEffectivelyChecked));const R=(I,A)=>{x[A?Bv.ADD:Bv.DELETE](I.key);const O=I.children;!e.checkStrictly&&O&&O.forEach(D=>{(!D.disabled||D.children)&&R(D,A)})};R(w,y),E&&a(),k&&c(w,y)},c=(w,y)=>{const{checkedNodes:k,checkedKeys:E}=v(),{halfCheckedNodes:x,halfCheckedKeys:$}=p();o(ak,w.data,{checkedKeys:E,checkedNodes:k,halfCheckedKeys:$,halfCheckedNodes:x}),o(sk,w.data,y)};function d(w=!1){return v(w).checkedKeys}function f(w=!1){return v(w).checkedNodes}function h(){return p().halfCheckedKeys}function m(){return p().halfCheckedNodes}function v(w=!1){const y=[],k=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:E}=t.value;n.value.forEach(x=>{const $=E.get(x);$&&(!w||w&&$.isLeaf)&&(k.push(x),y.push($.data))})}return{checkedKeys:k,checkedNodes:y}}function p(){const w=[],y=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:k}=t.value;l.value.forEach(E=>{const x=k.get(E);x&&(y.push(E),w.push(x.data))})}return{halfCheckedNodes:w,halfCheckedKeys:y}}function g(w){n.value.clear(),l.value.clear(),Re(()=>{C(w)})}function b(w,y){if(t!=null&&t.value&&e.showCheckbox){const k=t.value.treeNodeMap.get(w);k&&u(k,y,!1)}}function C(w){if(t!=null&&t.value){const{treeNodeMap:y}=t.value;if(e.showCheckbox&&y&&(w==null?void 0:w.length)>0){for(const k of w){const E=y.get(k);E&&!s(E)&&u(E,!0,!1,!1)}a()}}}return{updateCheckedKeys:a,toggleCheckbox:u,isChecked:s,isIndeterminate:r,getCheckedKeys:d,getCheckedNodes:f,getHalfCheckedKeys:h,getHalfCheckedNodes:m,setChecked:b,setCheckedKeys:g}}function xj(e,t){const n=L(new Set([])),l=L(new Set([])),o=S(()=>He(e.filterMethod));function a(r){var u;if(!o.value)return;const c=new Set,d=l.value,f=n.value,h=[],m=((u=t.value)==null?void 0:u.treeNodes)||[],v=e.filterMethod;f.clear();function p(g){g.forEach(b=>{h.push(b),v!=null&&v(r,b.data,b)?h.forEach(w=>{c.add(w.key),w.expanded=!0}):(b.expanded=!1,b.isLeaf&&f.add(b.key));const C=b.children;if(C&&p(C),!b.isLeaf){if(!c.has(b.key))f.add(b.key);else if(C){let w=!0;for(const y of C)if(!f.has(y.key)){w=!1;break}w?d.add(b.key):d.delete(b.key)}}h.pop()})}return p(m),c}function s(r){return l.value.has(r.key)}return{hiddenExpandIconKeySet:l,hiddenNodeKeySet:n,doFilter:a,isForceHiddenExpandIcon:s}}function Tj(e,t){const n=L(new Set),l=L(),o=Wt(),a=L(),{isIndeterminate:s,isChecked:r,toggleCheckbox:u,getCheckedKeys:c,getCheckedNodes:d,getHalfCheckedKeys:f,getHalfCheckedNodes:h,setChecked:m,setCheckedKeys:v}=Ej(e,o),{doFilter:p,hiddenNodeKeySet:g,isForceHiddenExpandIcon:b}=xj(e,o),C=S(()=>{var U;return((U=e.props)==null?void 0:U.value)||Br.KEY}),w=S(()=>{var U;return((U=e.props)==null?void 0:U.children)||Br.CHILDREN}),y=S(()=>{var U;return((U=e.props)==null?void 0:U.disabled)||Br.DISABLED}),k=S(()=>{var U;return((U=e.props)==null?void 0:U.label)||Br.LABEL}),E=S(()=>{var U;const _=n.value,Q=g.value,ie=[],he=((U=o.value)==null?void 0:U.treeNodes)||[],pe=[];for(let be=he.length-1;be>=0;--be)pe.push(he[be]);for(;pe.length;){const be=pe.pop();if(!Q.has(be.key)&&(ie.push(be),be.children&&_.has(be.key)))for(let $e=be.children.length-1;$e>=0;--$e)pe.push(be.children[$e])}return ie}),x=S(()=>E.value.length>0);function $(U){const _=new Map,Q=new Map;let ie=1;function he(be,$e=1,Me=void 0){var Ne;const ge=[];for(const Te of be){const we=A(Te),Pe={level:$e,key:we,data:Te};Pe.label=D(Te),Pe.parent=Me;const Fe=I(Te);Pe.disabled=O(Te),Pe.isLeaf=!Fe||Fe.length===0,Pe.expanded=n.value.has(we),Fe&&Fe.length&&(Pe.children=he(Fe,$e+1,Pe)),ge.push(Pe),_.set(we,Pe),Q.has($e)||Q.set($e,[]),(Ne=Q.get($e))==null||Ne.push(Pe)}return $e>ie&&(ie=$e),ge}const pe=he(U);return{treeNodeMap:_,levelTreeNodeMap:Q,maxLevel:ie,treeNodes:pe}}function R(U){const _=p(U);_&&(n.value=_)}function I(U){return U[w.value]}function A(U){return U?U[C.value]:""}function O(U){return U[y.value]}function D(U){return U[k.value]}function K(U){n.value.has(U.key)?z(U):V(U)}function Z(U){const _=new Set,Q=o.value.treeNodeMap;n.value.forEach(ie=>{const he=Q.get(ie);n.value.delete(he.key),he.expanded=!1}),U.forEach(ie=>{let he=Q.get(ie);for(;he&&!_.has(he.key);)_.add(he.key),he.expanded=!0,he=he.parent}),n.value=_}function W(U,_){t(ek,U.data,U,_),N(U),e.expandOnClickNode&&K(U),e.showCheckbox&&(e.checkOnClickNode||U.isLeaf&&e.checkOnClickLeaf)&&!U.disabled&&u(U,!r(U),!0)}function M(U,_){t(tk,U.data,U,_)}function N(U){H(U)||(l.value=U.key,t(ok,U.data,U))}function B(U,_){u(U,_)}function V(U){const _=n.value;if(o.value&&e.accordion){const{treeNodeMap:ie}=o.value;_.forEach(he=>{const pe=ie.get(he);U&&U.level===(pe==null?void 0:pe.level)&&(_.delete(he),pe.expanded=!1)})}_.add(U.key);const Q=fe(U.key);Q&&(Q.expanded=!0,t(nk,Q.data,Q))}function z(U){n.value.delete(U.key);const _=fe(U.key);_&&(_.expanded=!1,t(lk,_.data,_))}function Y(U){return!!U.disabled}function H(U){const _=l.value;return _!==void 0&&_===U.key}function X(){var U,_;if(l.value)return(_=(U=o.value)==null?void 0:U.treeNodeMap.get(l.value))==null?void 0:_.data}function J(){return l.value}function se(U){l.value=U}function re(U){o.value=$(U)}function fe(U){var _;const Q=nt(U)?A(U):U;return(_=o.value)==null?void 0:_.treeNodeMap.get(Q)}function ce(U,_="auto"){const Q=fe(U);Q&&a.value&&a.value.scrollToItem(E.value.indexOf(Q),_)}function oe(U){var _;(_=a.value)==null||_.scrollTo(U)}return ue(()=>e.currentNodeKey,U=>{l.value=U},{immediate:!0}),ue(()=>e.defaultExpandedKeys,U=>{n.value=new Set(U)},{immediate:!0}),ue(()=>e.data,U=>{re(U)},{immediate:!0}),{tree:o,flattenTree:E,isNotEmpty:x,listRef:a,getKey:A,getChildren:I,toggleExpand:K,toggleCheckbox:u,isChecked:r,isIndeterminate:s,isDisabled:Y,isCurrent:H,isForceHiddenExpandIcon:b,handleNodeClick:W,handleNodeDrop:M,handleNodeCheck:B,getCurrentNode:X,getCurrentKey:J,setCurrentKey:se,getCheckedKeys:c,getCheckedNodes:d,getHalfCheckedKeys:f,getHalfCheckedNodes:h,setChecked:m,setCheckedKeys:v,filter:R,setData:re,getNode:fe,expandNode:V,collapseNode:z,setExpandedKeys:Z,scrollToNode:ce,scrollTo:oe}}var $j=ae({name:"ElTreeNodeContent",props:Cj,setup(e){const t=Le(Kh),n=me("tree");return()=>{const l=e.node,{data:o}=l;return t!=null&&t.ctx.slots.default?t.ctx.slots.default({node:l,data:o}):Ge(Vh,{tag:"span",truncated:!0,class:n.be("node","label")},()=>[l==null?void 0:l.label])}}});const Oj=["aria-expanded","aria-disabled","aria-checked","data-key"];var Nj=ae({name:"ElTreeNode",__name:"tree-node",props:wj,emits:kj,setup(e,{emit:t}){const n=e,l=t,o=Le(Kh),a=me("tree"),s=S(()=>{var v;return(v=o==null?void 0:o.props.indent)!=null?v:16}),r=S(()=>{var v;return(v=o==null?void 0:o.props.icon)!=null?v:m1}),u=v=>{var p;const g=(p=o==null?void 0:o.props.props)==null?void 0:p.class;if(!g)return{};let b;if(He(g)){const{data:C}=v;b=g(C,v)}else b=g;return Ve(b)?{[b]:!0}:b},c=v=>{l("click",n.node,v)},d=v=>{l("drop",n.node,v)},f=()=>{l("toggle",n.node)},h=v=>{l("check",n.node,v)},m=v=>{var p,g,b,C;(b=(g=(p=o==null?void 0:o.instance)==null?void 0:p.vnode)==null?void 0:g.props)!=null&&b.onNodeContextmenu&&(v.stopPropagation(),v.preventDefault()),o==null||o.ctx.emit(rk,v,(C=n.node)==null?void 0:C.data,n.node)};return(v,p)=>{var g,b,C;return T(),F("div",{ref:"node$",class:P([i(a).b("node"),i(a).is("expanded",e.expanded),i(a).is("current",e.current),i(a).is("focusable",!e.disabled),i(a).is("checked",!e.disabled&&e.checked),u(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.disabled,"aria-checked":e.checked,"data-key":(g=e.node)==null?void 0:g.key,onClick:Je(c,["stop"]),onContextmenu:m,onDragover:p[1]||(p[1]=Je(()=>{},["prevent"])),onDragenter:p[2]||(p[2]=Je(()=>{},["prevent"])),onDrop:Je(d,["stop"])},[j("div",{class:P(i(a).be("node","content")),style:je({paddingLeft:`${(e.node.level-1)*s.value}px`,height:e.itemSize+"px"})},[r.value?(T(),le(i(_e),{key:0,class:P([i(a).is("leaf",!!((b=e.node)!=null&&b.isLeaf)),i(a).is("hidden",e.hiddenExpandIcon),{expanded:!((C=e.node)!=null&&C.isLeaf)&&e.expanded},i(a).be("node","expand-icon")]),onClick:Je(f,["stop"])},{default:ee(()=>[(T(),le(rt(r.value)))]),_:1},8,["class"])):ne("v-if",!0),e.showCheckbox?(T(),le(i(jl),{key:1,"model-value":e.checked,indeterminate:e.indeterminate,disabled:e.disabled,onChange:h,onClick:p[0]||(p[0]=Je(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):ne("v-if",!0),q(i($j),{node:{...e.node,expanded:e.expanded}},null,8,["node"])],6)],42,Oj)}}}),Ij=ae({name:"ElTreeV2",__name:"tree",props:yj,emits:Sj,setup(e,{expose:t,emit:n}){const l=e,o=n,a=rn(),s=S(()=>l.itemSize);yt(Kh,{ctx:{emit:o,slots:a},props:l,instance:ct()}),yt(So,void 0);const{t:r}=wt(),u=me("tree"),{flattenTree:c,isNotEmpty:d,listRef:f,toggleExpand:h,isIndeterminate:m,isChecked:v,isDisabled:p,isCurrent:g,isForceHiddenExpandIcon:b,handleNodeClick:C,handleNodeDrop:w,handleNodeCheck:y,toggleCheckbox:k,getCurrentNode:E,getCurrentKey:x,setCurrentKey:$,getCheckedKeys:R,getCheckedNodes:I,getHalfCheckedKeys:A,getHalfCheckedNodes:O,setChecked:D,setCheckedKeys:K,filter:Z,setData:W,getNode:M,expandNode:N,collapseNode:B,setExpandedKeys:V,scrollToNode:z,scrollTo:Y}=Tj(l,o);return t({toggleCheckbox:k,getCurrentNode:E,getCurrentKey:x,setCurrentKey:$,getCheckedKeys:R,getCheckedNodes:I,getHalfCheckedKeys:A,getHalfCheckedNodes:O,setChecked:D,setCheckedKeys:K,filter:Z,setData:W,getNode:M,expandNode:N,collapseNode:B,setExpandedKeys:V,scrollToNode:z,scrollTo:Y}),(H,X)=>(T(),F("div",{class:P([i(u).b(),{[i(u).m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[i(d)?(T(),le(i(e2),{key:0,ref_key:"listRef",ref:f,"class-name":i(u).b("virtual-list"),data:i(c),total:i(c).length,height:e.height,"item-size":s.value,"perf-mode":e.perfMode,"scrollbar-always-on":e.scrollbarAlwaysOn},{default:ee(({data:J,index:se,style:re})=>[(T(),le(Nj,{key:J[se].key,style:je(re),node:J[se],expanded:J[se].expanded,"show-checkbox":e.showCheckbox,checked:i(v)(J[se]),indeterminate:i(m)(J[se]),"item-size":s.value,disabled:i(p)(J[se]),current:i(g)(J[se]),"hidden-expand-icon":i(b)(J[se]),onClick:i(C),onToggle:i(h),onCheck:i(y),onDrop:i(w)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck","onDrop"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode","scrollbar-always-on"])):(T(),F("div",{key:1,class:P(i(u).e("empty-block"))},[te(H.$slots,"empty",{},()=>{var J;return[j("span",{class:P(i(u).e("empty-text"))},ke((J=e.emptyText)!=null?J:i(r)("el.tree.emptyText")),3)]})],2))],2))}});const Mj=ot(Ij);var Pj=Object.defineProperty,Rj=(e,t,n)=>t in e?Pj(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pu=(e,t,n)=>Rj(e,typeof t!="symbol"?t+"":t,n);const Aj="ElUpload";class Lj extends Error{constructor(t,n,l,o){super(t),Pu(this,"name","UploadAjaxError"),Pu(this,"status"),Pu(this,"method"),Pu(this,"url"),this.status=n,this.method=l,this.url=o}}function p0(e,t,n){let l;return n.response?l=`${n.response.error||n.response}`:n.responseText?l=`${n.responseText}`:l=`fail to ${t.method} ${e} ${n.status}`,new Lj(l,n.status,t.method,e)}function Dj(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const Bj=e=>{typeof XMLHttpRequest>"u"&&pn(Aj,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",a=>{const s=a;s.percent=a.total>0?a.loaded/a.total*100:0,e.onProgress(s)});const l=new FormData;if(e.data)for(const[a,s]of Object.entries(e.data))ye(s)?s.length===2&&s[0]instanceof Blob&&Ve(s[1])?l.append(a,s[0],s[1]):s.forEach(r=>{l.append(a,r)}):l.append(a,s);l.append(e.filename,e.file,e.file.name),t.addEventListener("error",()=>{e.onError(p0(n,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(p0(n,e,t));e.onSuccess(Dj(t))}),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const o=e.headers||{};if(o instanceof Headers)o.forEach((a,s)=>t.setRequestHeader(s,a));else for(const[a,s]of Object.entries(o))dn(s)||t.setRequestHeader(a,String(s));return t.send(l),t},ik=["text","picture","picture-card"];let Vj=1;const Vv=()=>Date.now()+Vj++,uk=Se({action:{type:String,default:"#"},headers:{type:G(Object)},method:{type:String,default:"post"},data:{type:G([Object,Function,Promise]),default:()=>en({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:G(Array),default:()=>en([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:ik,default:"text"},httpRequest:{type:G(Function),default:Bj},disabled:{type:Boolean,default:void 0},limit:Number,directory:Boolean}),_j=Se({...uk,beforeUpload:{type:G(Function),default:Rt},beforeRemove:{type:G(Function)},onRemove:{type:G(Function),default:Rt},onChange:{type:G(Function),default:Rt},onPreview:{type:G(Function),default:Rt},onSuccess:{type:G(Function),default:Rt},onProgress:{type:G(Function),default:Rt},onError:{type:G(Function),default:Rt},onExceed:{type:G(Function),default:Rt},crossorigin:{type:G(String)}}),ck=Symbol("uploadContextKey"),Fj=Se({files:{type:G(Array),default:()=>en([])},disabled:{type:Boolean,default:void 0},handlePreview:{type:G(Function),default:Rt},listType:{type:String,values:ik,default:"text"},crossorigin:{type:G(String)}}),zj={remove:e=>!!e},Hj=["tabindex","aria-disabled","onKeydown"],Kj=["src","crossorigin"],Wj=["onClick"],jj=["title"],Yj=["onClick"],Uj=["onClick"];var h0=ae({name:"ElUploadList",__name:"upload-list",props:Fj,emits:zj,setup(e,{emit:t}){const n=e,l=t,{t:o}=wt(),a=me("upload"),s=me("icon"),r=me("list"),u=nn(),c=L(!1),d=S(()=>[a.b("list"),a.bm("list",n.listType),a.is("disabled",u.value)]),f=h=>{l("remove",h)};return(h,m)=>(T(),le(Qy,{tag:"ul",class:P(d.value),name:i(r).b()},{default:ee(()=>[(T(!0),F(ze,null,gt(e.files,(v,p)=>(T(),F("li",{key:v.uid||v.name,class:P([i(a).be("list","item"),i(a).is(v.status),{focusing:c.value}]),tabindex:i(u)?void 0:0,"aria-disabled":i(u),role:"button",onKeydown:Jt(g=>!i(u)&&f(v),["delete"]),onFocus:m[0]||(m[0]=g=>c.value=!0),onBlur:m[1]||(m[1]=g=>c.value=!1),onClick:m[2]||(m[2]=g=>c.value=!1)},[te(h.$slots,"default",{file:v,index:p},()=>[e.listType==="picture"||v.status!=="uploading"&&e.listType==="picture-card"?(T(),F("img",{key:0,class:P(i(a).be("list","item-thumbnail")),src:v.url,crossorigin:e.crossorigin,alt:""},null,10,Kj)):ne("v-if",!0),v.status==="uploading"||e.listType!=="picture-card"?(T(),F("div",{key:1,class:P(i(a).be("list","item-info"))},[j("a",{class:P(i(a).be("list","item-name")),onClick:Je(g=>e.handlePreview(v),["prevent"])},[q(i(_e),{class:P(i(s).m("document"))},{default:ee(()=>[q(i(KP))]),_:1},8,["class"]),j("span",{class:P(i(a).be("list","item-file-name")),title:v.name},ke(v.name),11,jj)],10,Wj),v.status==="uploading"?(T(),le(i(KS),{key:0,type:e.listType==="picture-card"?"circle":"line","stroke-width":e.listType==="picture-card"?6:2,percentage:Number(v.percentage),style:je(e.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):ne("v-if",!0)],2)):ne("v-if",!0),j("label",{class:P(i(a).be("list","item-status-label"))},[e.listType==="text"?(T(),le(i(_e),{key:0,class:P([i(s).m("upload-success"),i(s).m("circle-check")])},{default:ee(()=>[q(i(Dp))]),_:1},8,["class"])):["picture-card","picture"].includes(e.listType)?(T(),le(i(_e),{key:1,class:P([i(s).m("upload-success"),i(s).m("check")])},{default:ee(()=>[q(i(Gi))]),_:1},8,["class"])):ne("v-if",!0)],2),i(u)?ne("v-if",!0):(T(),le(i(_e),{key:2,class:P(i(s).m("close")),"aria-label":i(o)("el.upload.delete"),role:"button",tabindex:"0",onClick:g=>f(v),onKeydown:Jt(Je(g=>f(v),["prevent"]),["enter","space"])},{default:ee(()=>[q(i(Ml))]),_:1},8,["class","aria-label","onClick","onKeydown"])),i(u)?ne("v-if",!0):(T(),F("i",{key:3,class:P(i(s).m("close-tip"))},ke(i(o)("el.upload.deleteTip")),3)),e.listType==="picture-card"?(T(),F("span",{key:4,class:P(i(a).be("list","item-actions"))},[j("span",{class:P(i(a).be("list","item-preview")),onClick:g=>e.handlePreview(v)},[q(i(_e),{class:P(i(s).m("zoom-in"))},{default:ee(()=>[q(i(w1))]),_:1},8,["class"])],10,Yj),i(u)?ne("v-if",!0):(T(),F("span",{key:0,class:P(i(a).be("list","item-delete")),onClick:g=>f(v)},[q(i(_e),{class:P(i(s).m("delete"))},{default:ee(()=>[q(i(zP))]),_:1},8,["class"])],10,Uj))],2)):ne("v-if",!0)])],42,Hj))),128)),te(h.$slots,"append")]),_:3},8,["class","name"]))}});const qj=Se({...uk,beforeUpload:{type:G(Function),default:Rt},onRemove:{type:G(Function),default:Rt},onStart:{type:G(Function),default:Rt},onSuccess:{type:G(Function),default:Rt},onProgress:{type:G(Function),default:Rt},onError:{type:G(Function),default:Rt},onExceed:{type:G(Function),default:Rt}}),Gj=Se({disabled:{type:Boolean,default:void 0},directory:Boolean}),Xj={file:e=>ye(e)},m0="ElUploadDrag";var Zj=ae({name:m0,__name:"upload-dragger",props:Gj,emits:Xj,setup(e,{emit:t}){const n=e,l=t;Le(ck)||pn(m0,"usage: ");const a=me("upload"),s=L(!1),r=nn(),u=m=>new Promise((v,p)=>m.file(v,p)),c=async m=>{try{if(m.isFile){const v=await u(m);return v.isDirectory=!1,[v]}if(m.isDirectory){const v=m.createReader(),p=()=>new Promise((y,k)=>v.readEntries(y,k)),g=[];let b=await p();for(;b.length>0;)g.push(...b),b=await p();const C=g.map(y=>c(y).catch(()=>[])),w=await Promise.all(C);return pc(w)}}catch{return[]}return[]},d=async m=>{if(r.value)return;s.value=!1,m.stopPropagation();const v=Array.from(m.dataTransfer.files),p=m.dataTransfer.items||[];if(n.directory){const g=Array.from(p).map(C=>{var w;return(w=C==null?void 0:C.webkitGetAsEntry)==null?void 0:w.call(C)}).filter(C=>C),b=await Promise.all(g.map(c));l("file",pc(b));return}v.forEach((g,b)=>{var C;const w=p[b],y=(C=w==null?void 0:w.webkitGetAsEntry)==null?void 0:C.call(w);y&&(g.isDirectory=y.isDirectory)}),l("file",v)},f=()=>{r.value||(s.value=!0)},h=m=>{m.currentTarget.contains(m.relatedTarget)||(s.value=!1)};return(m,v)=>(T(),F("div",{class:P([i(a).b("dragger"),i(a).is("dragover",s.value)]),onDrop:Je(d,["prevent"]),onDragover:Je(f,["prevent"]),onDragleave:Je(h,["prevent"])},[te(m.$slots,"default")],34))}});const Jj=["tabindex","aria-disabled","onKeydown"],Qj=["name","disabled","multiple","accept","webkitdirectory"];var g0=ae({name:"ElUploadContent",inheritAttrs:!1,__name:"upload-content",props:qj,setup(e,{expose:t}){const n=e,l=me("upload"),o=nn(),a=Wt({}),s=Wt(),r=p=>{if(p.length===0)return;const{autoUpload:g,limit:b,fileList:C,multiple:w,onStart:y,onExceed:k}=n;if(b&&C.length+p.length>b){k(p,C);return}w||(p=p.slice(0,1));for(const E of p){const x=E;x.uid=Vv(),y(x),g&&u(x)}},u=async p=>{if(s.value.value="",!n.beforeUpload)return d(p);let g,b={};try{const w=n.data,y=n.beforeUpload(p);b=ti(n.data)?zo(n.data):n.data,g=await y,ti(n.data)&&Qt(w,b)&&(b=zo(n.data))}catch{g=!1}if(g===!1){n.onRemove(p);return}let C=p;g instanceof Blob&&(g instanceof File?C=g:C=new File([g],p.name,{type:p.type})),d(Object.assign(C,{uid:p.uid}),b)},c=async(p,g)=>He(p)?p(g):p,d=async(p,g)=>{const{headers:b,data:C,method:w,withCredentials:y,name:k,action:E,onProgress:x,onSuccess:$,onError:R,httpRequest:I}=n;try{g=await c(g??C,p)}catch{n.onRemove(p);return}const{uid:A}=p,O={headers:b||{},withCredentials:y,file:p,data:g,method:w,filename:k,action:E,onProgress:K=>{x(K,p)},onSuccess:K=>{$(K,p),delete a.value[A]},onError:K=>{R(K,p),delete a.value[A]}},D=I(O);a.value[A]=D,D instanceof Promise&&D.then(O.onSuccess,O.onError)},f=p=>{const g=p.target.files;g&&r(Array.from(g))},h=()=>{o.value||(s.value.value="",s.value.click())},m=()=>{h()};return t({abort:p=>{r1(a.value).filter(p?([b])=>String(p.uid)===b:()=>!0).forEach(([b,C])=>{C instanceof XMLHttpRequest&&C.abort(),delete a.value[b]})},upload:u}),(p,g)=>(T(),F("div",{class:P([i(l).b(),i(l).m(e.listType),i(l).is("drag",e.drag),i(l).is("disabled",i(o))]),tabindex:i(o)?void 0:0,"aria-disabled":i(o),role:"button",onClick:h,onKeydown:Jt(Je(m,["self"]),["enter","space"])},[e.drag?(T(),le(Zj,{key:0,disabled:i(o),directory:e.directory,onFile:r},{default:ee(()=>[te(p.$slots,"default")]),_:3},8,["disabled","directory"])):te(p.$slots,"default",{key:1}),j("input",{ref_key:"inputRef",ref:s,class:P(i(l).e("input")),name:e.name,disabled:i(o),multiple:e.multiple,accept:e.accept,webkitdirectory:e.directory||void 0,type:"file",onChange:f,onClick:g[0]||(g[0]=Je(()=>{},["stop"]))},null,42,Qj)],42,Jj))}});const b0="ElUpload",y0=e=>{var t;(t=e.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(e.url)},e7=(e,t)=>{const n=e1(e,"fileList",void 0,{passive:!0}),l=v=>n.value.find(p=>p.uid===v.uid);function o(v){var p;(p=t.value)==null||p.abort(v)}function a(v=["ready","uploading","success","fail"]){n.value=n.value.filter(p=>!v.includes(p.status))}function s(v){n.value=n.value.filter(p=>p.uid!==v.uid)}const r=v=>{Re(()=>e.onChange(v,n.value))},u=(v,p)=>{const g=l(p);g&&(console.error(v),g.status="fail",s(g),e.onError(v,g,n.value),r(g))},c=(v,p)=>{const g=l(p);g&&(e.onProgress(v,g,n.value),g.status="uploading",g.percentage=Math.round(v.percent))},d=(v,p)=>{const g=l(p);g&&(g.status="success",g.response=v,e.onSuccess(v,g,n.value),r(g))},f=v=>{dn(v.uid)&&(v.uid=Vv());const p={name:v.name,percentage:0,status:"ready",size:v.size,raw:v,uid:v.uid};if(e.listType==="picture-card"||e.listType==="picture")try{p.url=URL.createObjectURL(v)}catch(g){g.message,e.onError(g,p,n.value)}n.value=[...n.value,p],r(p)},h=async v=>{const p=v instanceof File?l(v):v;p||pn(b0,"file to be removed not found");const g=b=>{o(b),s(b),e.onRemove(b,n.value),y0(b)};e.beforeRemove?await e.beforeRemove(p,n.value)!==!1&&g(p):g(p)};function m(){n.value.filter(({status:v})=>v==="ready").forEach(({raw:v})=>{var p;return v&&((p=t.value)==null?void 0:p.upload(v))})}return ue(()=>e.listType,v=>{v!=="picture-card"&&v!=="picture"||(n.value=n.value.map(p=>{const{raw:g,url:b}=p;if(!b&&g)try{p.url=URL.createObjectURL(g)}catch(C){e.onError(C,p,n.value)}return p}))}),ue(n,v=>{for(const p of v)p.uid||(p.uid=Vv()),p.status||(p.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:o,clearFiles:a,handleError:u,handleProgress:c,handleStart:f,handleSuccess:d,handleRemove:h,submit:m,revokeFileObjectURL:y0}};var t7=ae({name:"ElUpload",__name:"upload",props:_j,setup(e,{expose:t}){const n=e,l=nn(),o=Wt(),{abort:a,submit:s,clearFiles:r,uploadFiles:u,handleStart:c,handleError:d,handleRemove:f,handleSuccess:h,handleProgress:m,revokeFileObjectURL:v}=e7(n,o),p=S(()=>n.listType==="picture-card"),g=S(()=>({...n,fileList:u.value,onStart:c,onProgress:m,onSuccess:h,onError:d,onRemove:f}));return Pt(()=>{u.value.forEach(v)}),yt(ck,{accept:Lt(n,"accept")}),t({abort:a,submit:s,clearFiles:r,handleStart:c,handleRemove:f}),(b,C)=>(T(),F("div",null,[p.value&&e.showFileList?(T(),le(h0,{key:0,disabled:i(l),"list-type":e.listType,files:i(u),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:i(f)},ll({append:ee(()=>[q(g0,ut({ref_key:"uploadRef",ref:o},g.value),{default:ee(()=>[b.$slots.trigger?te(b.$slots,"trigger",{key:0}):ne("v-if",!0),!b.$slots.trigger&&b.$slots.default?te(b.$slots,"default",{key:1}):ne("v-if",!0)]),_:3},16)]),_:2},[b.$slots.file?{name:"default",fn:ee(({file:w,index:y})=>[te(b.$slots,"file",{file:w,index:y})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):ne("v-if",!0),!p.value||p.value&&!e.showFileList?(T(),le(g0,ut({key:1,ref_key:"uploadRef",ref:o},g.value),{default:ee(()=>[b.$slots.trigger?te(b.$slots,"trigger",{key:0}):ne("v-if",!0),!b.$slots.trigger&&b.$slots.default?te(b.$slots,"default",{key:1}):ne("v-if",!0)]),_:3},16)):ne("v-if",!0),b.$slots.trigger?te(b.$slots,"default",{key:2}):ne("v-if",!0),te(b.$slots,"tip"),!p.value&&e.showFileList?(T(),le(h0,{key:3,disabled:i(l),"list-type":e.listType,files:i(u),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:i(f)},ll({_:2},[b.$slots.file?{name:"default",fn:ee(({file:w,index:y})=>[te(b.$slots,"file",{file:w,index:y})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):ne("v-if",!0)]))}});const n7=ot(t7),l7=Se({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:G([String,Array]),default:"Element Plus"},font:{type:G(Object)},gap:{type:G(Array),default:()=>[100,100]},offset:{type:G(Array)}});function o7(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function a7(e){return Object.keys(e).map(t=>`${o7(t)}: ${e[t]};`).join(" ")}function s7(){return window.devicePixelRatio||1}const r7=(e,t)=>{let n=!1;return e.removedNodes.length&&t&&(n=Array.from(e.removedNodes).includes(t)),e.type==="attributes"&&e.target===t&&(n=!0),n},i7={left:[0,.5],start:[0,.5],center:[.5,0],right:[1,-.5],end:[1,-.5]};function Cf(e,t,n=1){const l=document.createElement("canvas"),o=l.getContext("2d"),a=e*n,s=t*n;return l.setAttribute("width",`${a}px`),l.setAttribute("height",`${s}px`),o.save(),[o,l,a,s]}function u7(){function e(t,n,l,o,a,s,r,u,c){const[d,f,h,m]=Cf(o,a,l);let v=0;if(t instanceof HTMLImageElement)d.drawImage(t,0,0,h,m);else{const{color:H,fontSize:X,fontStyle:J,fontWeight:se,fontFamily:re,textAlign:fe,textBaseline:ce}=s,oe=Number(X)*l;d.font=`${J} normal ${se} ${oe}px/${a}px ${re}`,d.fillStyle=H,d.textAlign=fe,d.textBaseline=ce;const U=ye(t)?t:[t];if(ce!=="top"&&U[0]){const _=d.measureText(U[0]);d.textBaseline="top";const Q=d.measureText(U[0]);v=_.actualBoundingBoxAscent-Q.actualBoundingBoxAscent}U==null||U.forEach((_,Q)=>{const[ie,he]=i7[fe];d.fillText(_??"",h*ie+c*he,Q*(oe+s.fontGap*l))})}const p=Math.PI/180*Number(n),g=Math.max(o,a),[b,C,w]=Cf(g,g,l);b.translate(w/2,w/2),b.rotate(p),h>0&&m>0&&b.drawImage(f,-h/2,-m/2);function y(H,X){const J=H*Math.cos(p)-X*Math.sin(p),se=H*Math.sin(p)+X*Math.cos(p);return[J,se]}let k=0,E=0,x=0,$=0;const R=h/2,I=m/2;[[0-R,0-I],[0+R,0-I],[0+R,0+I],[0-R,0+I]].forEach(([H,X])=>{const[J,se]=y(H,X);k=Math.min(k,J),E=Math.max(E,J),x=Math.min(x,se),$=Math.max($,se)});const O=k+w/2,D=x+w/2,K=E-k,Z=$-x,W=r*l,M=u*l,N=(K+W)*2,B=Z+M,[V,z]=Cf(N,B);function Y(H=0,X=0){V.drawImage(C,O,D,K,Z,H,X+v,K,Z)}return Y(),Y(K+W,-Z/2-M/2),Y(K+W,+Z/2+M/2),[z.toDataURL(),N/l,B/l]}return e}var c7=ae({name:"ElWatermark",__name:"watermark",props:l7,setup(e){const t={position:"relative"},n=e,l=S(()=>{var A,O;return(O=(A=n.font)==null?void 0:A.fontGap)!=null?O:3}),o=S(()=>{var A,O;return(O=(A=n.font)==null?void 0:A.color)!=null?O:"rgba(0,0,0,.15)"}),a=S(()=>{var A,O;return(O=(A=n.font)==null?void 0:A.fontSize)!=null?O:16}),s=S(()=>{var A,O;return(O=(A=n.font)==null?void 0:A.fontWeight)!=null?O:"normal"}),r=S(()=>{var A,O;return(O=(A=n.font)==null?void 0:A.fontStyle)!=null?O:"normal"}),u=S(()=>{var A,O;return(O=(A=n.font)==null?void 0:A.fontFamily)!=null?O:"sans-serif"}),c=S(()=>{var A,O;return(O=(A=n.font)==null?void 0:A.textAlign)!=null?O:"center"}),d=S(()=>{var A,O;return(O=(A=n.font)==null?void 0:A.textBaseline)!=null?O:"hanging"}),f=S(()=>n.gap[0]),h=S(()=>n.gap[1]),m=S(()=>f.value/2),v=S(()=>h.value/2),p=S(()=>{var A,O;return(O=(A=n.offset)==null?void 0:A[0])!=null?O:m.value}),g=S(()=>{var A,O;return(O=(A=n.offset)==null?void 0:A[1])!=null?O:v.value}),b=()=>{const A={zIndex:n.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let O=p.value-m.value,D=g.value-v.value;return O>0&&(A.left=`${O}px`,A.width=`calc(100% - ${O}px)`,O=0),D>0&&(A.top=`${D}px`,A.height=`calc(100% - ${D}px)`,D=0),A.backgroundPosition=`${O}px ${D}px`,A},C=Wt(null),w=Wt(),y=L(!1),k=()=>{w.value&&(w.value.remove(),w.value=void 0)},E=(A,O)=>{var D;C.value&&w.value&&(y.value=!0,w.value.setAttribute("style",a7({...b(),backgroundImage:`url('${A}')`,backgroundSize:`${Math.floor(O)}px`})),(D=C.value)==null||D.append(w.value),setTimeout(()=>{y.value=!1}))},x=A=>{let O=120,D=64,K=0;const{image:Z,content:W,width:M,height:N,rotate:B}=n;if(!Z&&A.measureText){A.font=`${Number(a.value)}px ${u.value}`;const V=ye(W)?W:[W];let z=0,Y=0;V.forEach(X=>{const{width:J,fontBoundingBoxAscent:se,fontBoundingBoxDescent:re,actualBoundingBoxAscent:fe,actualBoundingBoxDescent:ce}=A.measureText(X),oe=St(se)?fe+ce:se+re;J>z&&(z=Math.ceil(J)),oe>Y&&(Y=Math.ceil(oe))}),O=z,D=Y*V.length+(V.length-1)*l.value;const H=Math.PI/180*Number(B);K=Math.ceil(Math.abs(Math.sin(H)*D)/2),O+=K}return[M??O,N??D,K]},$=u7(),R=()=>{const O=document.createElement("canvas").getContext("2d"),D=n.image,K=n.content,Z=n.rotate;if(O){w.value||(w.value=document.createElement("div"));const W=s7(),[M,N,B]=x(O),V=z=>{const[Y,H]=$(z||"",Z,W,M,N,{color:o.value,fontSize:a.value,fontStyle:r.value,fontWeight:s.value,fontFamily:u.value,fontGap:l.value,textAlign:c.value,textBaseline:d.value},f.value,h.value,B);E(Y,H)};if(D){const z=new Image;z.onload=()=>{V(z)},z.onerror=()=>{V(K)},z.crossOrigin="anonymous",z.referrerPolicy="no-referrer",z.src=D}else V(K)}};return ft(()=>{R()}),ue(()=>n,()=>{R()},{deep:!0,flush:"post"}),Pt(()=>{k()}),Wi(C,A=>{y.value||A.forEach(O=>{r7(O,w.value)&&(k(),R())})},{attributes:!0,subtree:!0,childList:!0}),(A,O)=>(T(),F("div",{ref_key:"containerRef",ref:C,style:je([t])},[te(A.$slots,"default")],4))}});const d7=ot(c7),f7=["absolute","fixed"],v7=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],Wh=Se({placement:{type:G(String),values:v7,default:"bottom"},reference:{type:G(Object),default:null},strategy:{type:G(String),values:f7,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),p7={close:()=>!0},h7=Se({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:_t},placement:Wh.placement,contentStyle:{type:G([Object])},mask:{type:G([Boolean,Object]),default:!0},gap:{type:G(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:G([Boolean,Object]),default:()=>({block:"center"})},type:{type:G(String)},appendTo:{type:Ui.to.type,default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),m7={[et]:e=>Vt(e),"update:current":e=>We(e),close:e=>We(e),finish:()=>!0,change:e=>We(e)},g7=Se({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:G(Object)},targetAreaClickable:{type:Boolean,default:!0}}),ur=Math.min,os=Math.max,Dc=Math.round,Ru=Math.floor,ho=e=>({x:e,y:e}),b7={left:"right",right:"left",bottom:"top",top:"bottom"};function _v(e,t,n){return os(e,ur(t,n))}function su(e,t){return typeof e=="function"?e(t):e}function fs(e){return e.split("-")[0]}function ru(e){return e.split("-")[1]}function dk(e){return e==="x"?"y":"x"}function jh(e){return e==="y"?"height":"width"}function Ca(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Yh(e){return dk(Ca(e))}function y7(e,t,n){n===void 0&&(n=!1);const l=ru(e),o=Yh(e),a=jh(o);let s=o==="x"?l===(n?"end":"start")?"right":"left":l==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Bc(s)),[s,Bc(s)]}function w7(e){const t=Bc(e);return[Fv(e),t,Fv(t)]}function Fv(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const w0=["left","right"],C0=["right","left"],C7=["top","bottom"],S7=["bottom","top"];function k7(e,t,n){switch(e){case"top":case"bottom":return n?t?C0:w0:t?w0:C0;case"left":case"right":return t?C7:S7;default:return[]}}function E7(e,t,n,l){const o=ru(e);let a=k7(fs(e),n==="start",l);return o&&(a=a.map(s=>s+"-"+o),t&&(a=a.concat(a.map(Fv)))),a}function Bc(e){const t=fs(e);return b7[t]+e.slice(t.length)}function x7(e){return{top:0,right:0,bottom:0,left:0,...e}}function fk(e){return typeof e!="number"?x7(e):{top:e,right:e,bottom:e,left:e}}function Vc(e){const{x:t,y:n,width:l,height:o}=e;return{width:l,height:o,top:n,left:t,right:t+l,bottom:n+o,x:t,y:n}}function S0(e,t,n){let{reference:l,floating:o}=e;const a=Ca(t),s=Yh(t),r=jh(s),u=fs(t),c=a==="y",d=l.x+l.width/2-o.width/2,f=l.y+l.height/2-o.height/2,h=l[r]/2-o[r]/2;let m;switch(u){case"top":m={x:d,y:l.y-o.height};break;case"bottom":m={x:d,y:l.y+l.height};break;case"right":m={x:l.x+l.width,y:f};break;case"left":m={x:l.x-o.width,y:f};break;default:m={x:l.x,y:l.y}}switch(ru(t)){case"start":m[s]-=h*(n&&c?-1:1);break;case"end":m[s]+=h*(n&&c?-1:1);break}return m}async function vk(e,t){var n;t===void 0&&(t={});const{x:l,y:o,platform:a,rects:s,elements:r,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:m=0}=su(t,e),v=fk(m),g=r[h?f==="floating"?"reference":"floating":f],b=Vc(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(g)))==null||n?g:g.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(r.floating)),boundary:c,rootBoundary:d,strategy:u})),C=f==="floating"?{x:l,y:o,width:s.floating.width,height:s.floating.height}:s.reference,w=await(a.getOffsetParent==null?void 0:a.getOffsetParent(r.floating)),y=await(a.isElement==null?void 0:a.isElement(w))?await(a.getScale==null?void 0:a.getScale(w))||{x:1,y:1}:{x:1,y:1},k=Vc(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:C,offsetParent:w,strategy:u}):C);return{top:(b.top-k.top+v.top)/y.y,bottom:(k.bottom-b.bottom+v.bottom)/y.y,left:(b.left-k.left+v.left)/y.x,right:(k.right-b.right+v.right)/y.x}}const T7=50,$7=async(e,t,n)=>{const{placement:l="bottom",strategy:o="absolute",middleware:a=[],platform:s}=n,r=s.detectOverflow?s:{...s,detectOverflow:vk},u=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=S0(c,l,u),h=l,m=0;const v={};for(let p=0;p({name:"arrow",options:e,async fn(t){const{x:n,y:l,placement:o,rects:a,platform:s,elements:r,middlewareData:u}=t,{element:c,padding:d=0}=su(e,t)||{};if(c==null)return{};const f=fk(d),h={x:n,y:l},m=Yh(o),v=jh(m),p=await s.getDimensions(c),g=m==="y",b=g?"top":"left",C=g?"bottom":"right",w=g?"clientHeight":"clientWidth",y=a.reference[v]+a.reference[m]-h[m]-a.floating[v],k=h[m]-a.reference[m],E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let x=E?E[w]:0;(!x||!await(s.isElement==null?void 0:s.isElement(E)))&&(x=r.floating[w]||a.floating[v]);const $=y/2-k/2,R=x/2-p[v]/2-1,I=ur(f[b],R),A=ur(f[C],R),O=I,D=x-p[v]-A,K=x/2-p[v]/2+$,Z=_v(O,K,D),W=!u.arrow&&ru(o)!=null&&K!==Z&&a.reference[v]/2-(KK<=0)){var A,O;const K=(((A=a.flip)==null?void 0:A.index)||0)+1,Z=x[K];if(Z&&(!(f==="alignment"?C!==Ca(Z):!1)||I.every(N=>Ca(N.placement)===C?N.overflows[0]>0:!0)))return{data:{index:K,overflows:I},reset:{placement:Z}};let W=(O=I.filter(M=>M.overflows[0]<=0).sort((M,N)=>M.overflows[1]-N.overflows[1])[0])==null?void 0:O.placement;if(!W)switch(m){case"bestFit":{var D;const M=(D=I.filter(N=>{if(E){const B=Ca(N.placement);return B===C||B==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(B=>B>0).reduce((B,V)=>B+V,0)]).sort((N,B)=>N[1]-B[1])[0])==null?void 0:D[0];M&&(W=M);break}case"initialPlacement":W=r;break}if(o!==W)return{reset:{placement:W}}}return{}}}},I7=new Set(["left","top"]);async function M7(e,t){const{placement:n,platform:l,elements:o}=e,a=await(l.isRTL==null?void 0:l.isRTL(o.floating)),s=fs(n),r=ru(n),u=Ca(n)==="y",c=I7.has(s)?-1:1,d=a&&u?-1:1,f=su(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return r&&typeof v=="number"&&(m=r==="end"?v*-1:v),u?{x:m*d,y:h*c}:{x:h*c,y:m*d}}const P7=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,l;const{x:o,y:a,placement:s,middlewareData:r}=t,u=await M7(t,e);return s===((n=r.offset)==null?void 0:n.placement)&&(l=r.arrow)!=null&&l.alignmentOffset?{}:{x:o+u.x,y:a+u.y,data:{...u,placement:s}}}}},R7=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:l,placement:o,platform:a}=t,{mainAxis:s=!0,crossAxis:r=!1,limiter:u={fn:b=>{let{x:C,y:w}=b;return{x:C,y:w}}},...c}=su(e,t),d={x:n,y:l},f=await a.detectOverflow(t,c),h=Ca(fs(o)),m=dk(h);let v=d[m],p=d[h];if(s){const b=m==="y"?"top":"left",C=m==="y"?"bottom":"right",w=v+f[b],y=v-f[C];v=_v(w,v,y)}if(r){const b=h==="y"?"top":"left",C=h==="y"?"bottom":"right",w=p+f[b],y=p-f[C];p=_v(w,p,y)}const g=u.fn({...t,[m]:v,[h]:p});return{...g,data:{x:g.x-n,y:g.y-l,enabled:{[m]:s,[h]:r}}}}}};function xd(){return typeof window<"u"}function Cr(e){return pk(e)?(e.nodeName||"").toLowerCase():"#document"}function Cl(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function To(e){var t;return(t=(pk(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function pk(e){return xd()?e instanceof Node||e instanceof Cl(e).Node:!1}function Ul(e){return xd()?e instanceof Element||e instanceof Cl(e).Element:!1}function sa(e){return xd()?e instanceof HTMLElement||e instanceof Cl(e).HTMLElement:!1}function k0(e){return!xd()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Cl(e).ShadowRoot}function iu(e){const{overflow:t,overflowX:n,overflowY:l,display:o}=ql(e);return/auto|scroll|overlay|hidden|clip/.test(t+l+n)&&o!=="inline"&&o!=="contents"}function A7(e){return/^(table|td|th)$/.test(Cr(e))}function Td(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const L7=/transform|translate|scale|rotate|perspective|filter/,D7=/paint|layout|strict|content/,Fa=e=>!!e&&e!=="none";let Sf;function Uh(e){const t=Ul(e)?ql(e):e;return Fa(t.transform)||Fa(t.translate)||Fa(t.scale)||Fa(t.rotate)||Fa(t.perspective)||!qh()&&(Fa(t.backdropFilter)||Fa(t.filter))||L7.test(t.willChange||"")||D7.test(t.contain||"")}function B7(e){let t=Pa(e);for(;sa(t)&&!cr(t);){if(Uh(t))return t;if(Td(t))return null;t=Pa(t)}return null}function qh(){return Sf==null&&(Sf=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Sf}function cr(e){return/^(html|body|#document)$/.test(Cr(e))}function ql(e){return Cl(e).getComputedStyle(e)}function $d(e){return Ul(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Pa(e){if(Cr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||k0(e)&&e.host||To(e);return k0(t)?t.host:t}function hk(e){const t=Pa(e);return cr(t)?e.ownerDocument?e.ownerDocument.body:e.body:sa(t)&&iu(t)?t:hk(t)}function Ni(e,t,n){var l;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=hk(e),a=o===((l=e.ownerDocument)==null?void 0:l.body),s=Cl(o);if(a){const r=zv(s);return t.concat(s,s.visualViewport||[],iu(o)?o:[],r&&n?Ni(r):[])}else return t.concat(o,Ni(o,[],n))}function zv(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function mk(e){const t=ql(e);let n=parseFloat(t.width)||0,l=parseFloat(t.height)||0;const o=sa(e),a=o?e.offsetWidth:n,s=o?e.offsetHeight:l,r=Dc(n)!==a||Dc(l)!==s;return r&&(n=a,l=s),{width:n,height:l,$:r}}function Gh(e){return Ul(e)?e:e.contextElement}function Ys(e){const t=Gh(e);if(!sa(t))return ho(1);const n=t.getBoundingClientRect(),{width:l,height:o,$:a}=mk(t);let s=(a?Dc(n.width):n.width)/l,r=(a?Dc(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!r||!Number.isFinite(r))&&(r=1),{x:s,y:r}}const V7=ho(0);function gk(e){const t=Cl(e);return!qh()||!t.visualViewport?V7:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function _7(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Cl(e)?!1:t}function vs(e,t,n,l){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=Gh(e);let s=ho(1);t&&(l?Ul(l)&&(s=Ys(l)):s=Ys(e));const r=_7(a,n,l)?gk(a):ho(0);let u=(o.left+r.x)/s.x,c=(o.top+r.y)/s.y,d=o.width/s.x,f=o.height/s.y;if(a){const h=Cl(a),m=l&&Ul(l)?Cl(l):l;let v=h,p=zv(v);for(;p&&l&&m!==v;){const g=Ys(p),b=p.getBoundingClientRect(),C=ql(p),w=b.left+(p.clientLeft+parseFloat(C.paddingLeft))*g.x,y=b.top+(p.clientTop+parseFloat(C.paddingTop))*g.y;u*=g.x,c*=g.y,d*=g.x,f*=g.y,u+=w,c+=y,v=Cl(p),p=zv(v)}}return Vc({width:d,height:f,x:u,y:c})}function Od(e,t){const n=$d(e).scrollLeft;return t?t.left+n:vs(To(e)).left+n}function bk(e,t){const n=e.getBoundingClientRect(),l=n.left+t.scrollLeft-Od(e,n),o=n.top+t.scrollTop;return{x:l,y:o}}function F7(e){let{elements:t,rect:n,offsetParent:l,strategy:o}=e;const a=o==="fixed",s=To(l),r=t?Td(t.floating):!1;if(l===s||r&&a)return n;let u={scrollLeft:0,scrollTop:0},c=ho(1);const d=ho(0),f=sa(l);if((f||!f&&!a)&&((Cr(l)!=="body"||iu(s))&&(u=$d(l)),f)){const m=vs(l);c=Ys(l),d.x=m.x+l.clientLeft,d.y=m.y+l.clientTop}const h=s&&!f&&!a?bk(s,u):ho(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+h.x,y:n.y*c.y-u.scrollTop*c.y+d.y+h.y}}function z7(e){return Array.from(e.getClientRects())}function H7(e){const t=To(e),n=$d(e),l=e.ownerDocument.body,o=os(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),a=os(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight);let s=-n.scrollLeft+Od(e);const r=-n.scrollTop;return ql(l).direction==="rtl"&&(s+=os(t.clientWidth,l.clientWidth)-o),{width:o,height:a,x:s,y:r}}const E0=25;function K7(e,t){const n=Cl(e),l=To(e),o=n.visualViewport;let a=l.clientWidth,s=l.clientHeight,r=0,u=0;if(o){a=o.width,s=o.height;const d=qh();(!d||d&&t==="fixed")&&(r=o.offsetLeft,u=o.offsetTop)}const c=Od(l);if(c<=0){const d=l.ownerDocument,f=d.body,h=getComputedStyle(f),m=d.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,v=Math.abs(l.clientWidth-f.clientWidth-m);v<=E0&&(a-=v)}else c<=E0&&(a+=c);return{width:a,height:s,x:r,y:u}}function W7(e,t){const n=vs(e,!0,t==="fixed"),l=n.top+e.clientTop,o=n.left+e.clientLeft,a=sa(e)?Ys(e):ho(1),s=e.clientWidth*a.x,r=e.clientHeight*a.y,u=o*a.x,c=l*a.y;return{width:s,height:r,x:u,y:c}}function x0(e,t,n){let l;if(t==="viewport")l=K7(e,n);else if(t==="document")l=H7(To(e));else if(Ul(t))l=W7(t,n);else{const o=gk(e);l={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Vc(l)}function yk(e,t){const n=Pa(e);return n===t||!Ul(n)||cr(n)?!1:ql(n).position==="fixed"||yk(n,t)}function j7(e,t){const n=t.get(e);if(n)return n;let l=Ni(e,[],!1).filter(r=>Ul(r)&&Cr(r)!=="body"),o=null;const a=ql(e).position==="fixed";let s=a?Pa(e):e;for(;Ul(s)&&!cr(s);){const r=ql(s),u=Uh(s);!u&&r.position==="fixed"&&(o=null),(a?!u&&!o:!u&&r.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||iu(s)&&!u&&yk(e,s))?l=l.filter(d=>d!==s):o=r,s=Pa(s)}return t.set(e,l),l}function Y7(e){let{element:t,boundary:n,rootBoundary:l,strategy:o}=e;const s=[...n==="clippingAncestors"?Td(t)?[]:j7(t,this._c):[].concat(n),l],r=x0(t,s[0],o);let u=r.top,c=r.right,d=r.bottom,f=r.left;for(let h=1;h{s(!1,1e-7)},1e3)}x===1&&!Ck(c,e.getBoundingClientRect())&&s(),y=!1}try{n=new IntersectionObserver(k,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(k,w)}n.observe(e)}return s(!0),a}function Q7(e,t,n,l){l===void 0&&(l={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:r=typeof IntersectionObserver=="function",animationFrame:u=!1}=l,c=Gh(e),d=o||a?[...c?Ni(c):[],...t?Ni(t):[]]:[];d.forEach(b=>{o&&b.addEventListener("scroll",n,{passive:!0}),a&&b.addEventListener("resize",n)});const f=c&&r?J7(c,n):null;let h=-1,m=null;s&&(m=new ResizeObserver(b=>{let[C]=b;C&&C.target===c&&m&&t&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var w;(w=m)==null||w.observe(t)})),n()}),c&&!u&&m.observe(c),t&&m.observe(t));let v,p=u?vs(e):null;u&&g();function g(){const b=vs(e);p&&!Ck(p,b)&&n(),p=b,v=requestAnimationFrame(g)}return n(),()=>{var b;d.forEach(C=>{o&&C.removeEventListener("scroll",n),a&&C.removeEventListener("resize",n)}),f==null||f(),(b=m)==null||b.disconnect(),m=null,u&&cancelAnimationFrame(v)}}const eY=vk,tY=P7,nY=R7,lY=N7,oY=O7,aY=(e,t,n)=>{const l=new Map,o={platform:Z7,...n},a={...o.platform,_c:l};return $7(e,t,{...o,platform:a})},sY=(e,t,n,l,o)=>{const a=L(null),s=()=>{let f;return Ve(e.value)?f=document.querySelector(e.value):He(e.value)?f=e.value():f=e.value,f},r=()=>{const f=s();if(!f||!t.value){a.value=null;return}rY(f)||f.scrollIntoView(o.value);const{left:h,top:m,width:v,height:p}=f.getBoundingClientRect();a.value={left:h,top:m,width:v,height:p,radius:0}};ft(()=>{ue([t,e],()=>{r()},{immediate:!0}),window.addEventListener("resize",r)}),Pt(()=>{window.removeEventListener("resize",r)});const u=f=>{var h;return(h=ye(n.value.offset)?n.value.offset[f]:n.value.offset)!=null?h:6},c=S(()=>{var f;if(!a.value)return a.value;const h=u(0),m=u(1),v=((f=n.value)==null?void 0:f.radius)||2;return{left:a.value.left-h,top:a.value.top-m,width:a.value.width+h*2,height:a.value.height+m*2,radius:v}}),d=S(()=>{const f=s();return!l.value||!f||!window.DOMRect?f||void 0:{getBoundingClientRect(){var h,m,v,p;return window.DOMRect.fromRect({width:((h=c.value)==null?void 0:h.width)||0,height:((m=c.value)==null?void 0:m.height)||0,x:((v=c.value)==null?void 0:v.left)||0,y:((p=c.value)==null?void 0:p.top)||0})}}});return{mergedPosInfo:c,triggerTarget:d}},Nd=Symbol("ElTour");function rY(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:l,right:o,bottom:a,left:s}=e.getBoundingClientRect();return l>=0&&s>=0&&o<=t&&a<=n}const iY=(e,t,n,l,o,a,s,r)=>{const u=L(),c=L(),d=L({}),f={x:u,y:c,placement:l,strategy:o,middlewareData:d},h=S(()=>{const b=[tY(i(a)),lY(),nY(),uY()];return i(r)&&i(n)&&b.push(oY({element:i(n)})),b}),m=async()=>{if(!Ot)return;const b=i(e),C=i(t);if(!b||!C)return;const w=await aY(b,C,{placement:i(l),strategy:i(o),middleware:i(h)});vi(f).forEach(y=>{f[y].value=w[y]})},v=S(()=>{if(!i(e))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:i(s)};const{overflow:b}=i(d);return{position:i(o),zIndex:i(s),top:i(c)!=null?`${i(c)}px`:"",left:i(u)!=null?`${i(u)}px`:"",maxWidth:b!=null&&b.maxWidth?`${b==null?void 0:b.maxWidth}px`:""}}),p=S(()=>{if(!i(r))return{};const{arrow:b}=i(d);return{left:(b==null?void 0:b.x)!=null?`${b==null?void 0:b.x}px`:"",top:(b==null?void 0:b.y)!=null?`${b==null?void 0:b.y}px`:""}});let g;return ft(()=>{const b=i(e),C=i(t);b&&C&&(g=Q7(b,C,m)),vl(()=>{m()})}),Pt(()=>{g&&g()}),{update:m,contentStyle:v,arrowStyle:p}},uY=()=>({name:"overflow",async fn(e){const t=await eY(e);let n=0;return t.left>0&&(n=t.left),t.right>0&&(n=t.right),{data:{maxWidth:e.rects.floating.width-n}}}}),cY={style:{width:"100%",height:"100%"}},dY=["d"];var fY=ae({name:"ElTourMask",inheritAttrs:!1,__name:"mask",props:g7,setup(e){const t=e,{ns:n}=Le(Nd),l=S(()=>{var d,f;return(f=(d=t.pos)==null?void 0:d.radius)!=null?f:2}),o=S(()=>{const d=l.value,f=`a${d},${d} 0 0 1`;return{topRight:`${f} ${d},${d}`,bottomRight:`${f} ${-d},${d}`,bottomLeft:`${f} ${-d},${-d}`,topLeft:`${f} ${d},${-d}`}}),{width:a,height:s}=Pp(),r=S(()=>{const d=a.value,f=s.value,h=o.value,m=`M${d},0 L0,0 L0,${f} L${d},${f} L${d},0 Z`,v=l.value;return t.pos?`${m} M${t.pos.left+v},${t.pos.top} h${t.pos.width-v*2} ${h.topRight} v${t.pos.height-v*2} ${h.bottomRight} h${-t.pos.width+v*2} ${h.bottomLeft} v${-t.pos.height+v*2} ${h.topLeft} z`:m}),u=S(()=>({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:t.zIndex,pointerEvents:t.pos&&t.targetAreaClickable?"none":"auto"})),c=S(()=>({fill:t.fill,pointerEvents:"auto",cursor:"auto"}));return Cd(Lt(t,"visible"),{ns:n}),(d,f)=>e.visible?(T(),F("div",ut({key:0,class:i(n).e("mask"),style:u.value},d.$attrs),[(T(),F("svg",cY,[j("path",{class:P(i(n).e("hollow")),style:je(c.value),d:r.value},null,14,dY)]))],16)):ne("v-if",!0)}});const vY=["data-side"];var pY=ae({name:"ElTourContent",__name:"content",props:Wh,emits:p7,setup(e,{emit:t}){const n=e,l=t,o=L(n.placement),a=L(n.strategy),s=L(null),r=L(null);ue(()=>n.placement,()=>{o.value=n.placement});const{contentStyle:u,arrowStyle:c}=iY(Lt(n,"reference"),s,r,o,a,Lt(n,"offset"),Lt(n,"zIndex"),Lt(n,"showArrow")),d=S(()=>o.value.split("-")[0]),{ns:f}=Le(Nd),h=()=>{l("close")},m=v=>{v.detail.focusReason==="pointer"&&v.preventDefault()};return(v,p)=>(T(),F("div",{ref_key:"contentRef",ref:s,style:je(i(u)),class:P(i(f).e("content")),"data-side":d.value,tabindex:"-1"},[q(i(yr),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":s.value||void 0,onReleaseRequested:h,onFocusoutPrevented:m},{default:ee(()=>[te(v.$slots,"default")]),_:3},8,["focus-trap-el"]),e.showArrow?(T(),F("span",{key:0,ref_key:"arrowRef",ref:r,style:je(i(c)),class:P(i(f).e("arrow"))},null,6)):ne("v-if",!0)],14,vY))}}),hY=ae({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(e,{slots:t,emit:n}){let l=0;return()=>{var o,a;const s=(o=t.default)==null?void 0:o.call(t),r=[];let u=0;function c(d){ye(d)&&d.forEach(f=>{var h;((h=(f==null?void 0:f.type)||{})==null?void 0:h.name)==="ElTourStep"&&(r.push(f),u+=1)})}return s.length&&c(bl((a=s[0])==null?void 0:a.children)),l!==u&&(l=u,n("update-total",u)),r.length?r[e.current]:null}}}),mY=ae({name:"ElTour",inheritAttrs:!1,__name:"tour",props:h7,emits:m7,setup(e,{emit:t}){const n=e,l=t,o=me("tour"),a=L(0),s=L(),r=e1(n,"current",l,{passive:!0}),u=S(()=>{var I;return(I=s.value)==null?void 0:I.target}),c=S(()=>[o.b(),b.value==="primary"?o.m("primary"):""]),d=S(()=>{var I;return((I=s.value)==null?void 0:I.placement)||n.placement}),f=S(()=>{var I,A;return(A=(I=s.value)==null?void 0:I.contentStyle)!=null?A:n.contentStyle}),h=S(()=>{var I,A;return(A=(I=s.value)==null?void 0:I.mask)!=null?A:n.mask}),m=S(()=>!!h.value&&n.modelValue),v=S(()=>Vt(h.value)?void 0:h.value),p=S(()=>{var I,A;return!!u.value&&((A=(I=s.value)==null?void 0:I.showArrow)!=null?A:n.showArrow)}),g=S(()=>{var I,A;return(A=(I=s.value)==null?void 0:I.scrollIntoViewOptions)!=null?A:n.scrollIntoViewOptions}),b=S(()=>{var I,A;return(A=(I=s.value)==null?void 0:I.type)!=null?A:n.type}),{nextZIndex:C}=ji(),w=C(),y=S(()=>{var I;return(I=n.zIndex)!=null?I:w}),{mergedPosInfo:k,triggerTarget:E}=sY(u,Lt(n,"modelValue"),Lt(n,"gap"),h,g);ue(()=>n.modelValue,I=>{I||(r.value=0)});const x=()=>{n.closeOnPressEscape&&(l(et,!1),l("close",r.value))},$=I=>{a.value=I},R=rn();return yt(Nd,{currentStep:s,current:r,total:a,showClose:Lt(n,"showClose"),closeIcon:Lt(n,"closeIcon"),mergedType:b,ns:o,slots:R,updateModelValue(I){l(et,I)},onClose(){l("close",r.value)},onFinish(){l("finish")},onChange(){l(ht,r.value)}}),(I,A)=>(T(),F(ze,null,[q(i(br),{to:e.appendTo},{default:ee(()=>{var O,D;return[j("div",ut({class:c.value},I.$attrs),[q(fY,{visible:m.value,fill:(O=v.value)==null?void 0:O.color,style:je((D=v.value)==null?void 0:D.style),pos:i(k),"z-index":y.value,"target-area-clickable":e.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),e.modelValue?(T(),le(pY,{key:i(r),reference:i(E),placement:d.value,"show-arrow":p.value,"z-index":y.value,style:je(f.value),onClose:x},{default:ee(()=>[q(i(hY),{current:i(r),onUpdateTotal:$},{default:ee(()=>[te(I.$slots,"default")]),_:3},8,["current"])]),_:3},8,["reference","placement","show-arrow","z-index","style"])):ne("v-if",!0)],16)]}),_:3},8,["to"]),ne(" just for IDE "),ne("v-if",!0)],64))}});const gY=Se({target:{type:G([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:_t},showArrow:{type:Boolean,default:void 0},placement:Wh.placement,mask:{type:G([Boolean,Object]),default:void 0},contentStyle:{type:G([Object])},prevButtonProps:{type:G(Object)},nextButtonProps:{type:G(Object)},scrollIntoViewOptions:{type:G([Boolean,Object]),default:void 0},type:{type:G(String)}}),bY={close:()=>!0},yY=["aria-label"];var Sk=ae({name:"ElTourStep",__name:"step",props:gY,emits:bY,setup(e,{emit:t}){const n=e,l=t,{Close:o}=C1,{t:a}=wt(),{currentStep:s,current:r,total:u,showClose:c,closeIcon:d,mergedType:f,ns:h,slots:m,updateModelValue:v,onClose:p,onFinish:g,onChange:b}=Le(Nd);ue(n,I=>{s.value=I},{immediate:!0});const C=S(()=>{var I;return(I=n.showClose)!=null?I:c.value}),w=S(()=>{var I,A;return(A=(I=n.closeIcon)!=null?I:d.value)!=null?A:o}),y=I=>{if(I)return zi(I,["children","onClick"])},k=()=>{var I,A;r.value-=1,(I=n.prevButtonProps)!=null&&I.onClick&&((A=n.prevButtonProps)==null||A.onClick()),b()},E=()=>{var I;r.value>=u.value-1?x():r.value+=1,(I=n.nextButtonProps)!=null&&I.onClick&&n.nextButtonProps.onClick(),b()},x=()=>{$(),g()},$=()=>{v(!1),p(),l("close")},R=I=>{const A=I.target;if(A!=null&&A.isContentEditable)return;switch(Ft(I)){case Ce.left:I.preventDefault(),r.value>0&&k();break;case Ce.right:I.preventDefault(),E();break}};return ft(()=>{window.addEventListener("keydown",R)}),Pt(()=>{window.removeEventListener("keydown",R)}),(I,A)=>(T(),F(ze,null,[C.value?(T(),F("button",{key:0,"aria-label":i(a)("el.tour.close"),class:P(i(h).e("closebtn")),type:"button",onClick:$},[q(i(_e),{class:P(i(h).e("close"))},{default:ee(()=>[(T(),le(rt(w.value)))]),_:1},8,["class"])],10,yY)):ne("v-if",!0),j("header",{class:P([i(h).e("header"),{"show-close":i(c)}])},[te(I.$slots,"header",{},()=>[j("span",{role:"heading",class:P(i(h).e("title"))},ke(e.title),3)])],2),j("div",{class:P(i(h).e("body"))},[te(I.$slots,"default",{},()=>[j("span",null,ke(e.description),1)])],2),j("footer",{class:P(i(h).e("footer"))},[j("div",{class:P(i(h).b("indicators"))},[i(m).indicators?(T(),le(rt(i(m).indicators),{key:0,current:i(r),total:i(u)},null,8,["current","total"])):(T(!0),F(ze,{key:1},gt(i(u),(O,D)=>(T(),F("span",{key:O,class:P([i(h).b("indicator"),i(h).is("active",D===i(r))])},null,2))),128))],2),j("div",{class:P(i(h).b("buttons"))},[i(r)>0?(T(),le(i(Cn),ut({key:0,size:"small",type:i(f)},y(e.prevButtonProps),{onClick:k}),{default:ee(()=>{var O,D;return[bt(ke((D=(O=e.prevButtonProps)==null?void 0:O.children)!=null?D:i(a)("el.tour.previous")),1)]}),_:1},16,["type"])):ne("v-if",!0),i(r)<=i(u)-1?(T(),le(i(Cn),ut({key:1,size:"small",type:i(f)==="primary"?"default":"primary"},y(e.nextButtonProps),{onClick:E}),{default:ee(()=>{var O,D;return[bt(ke((D=(O=e.nextButtonProps)==null?void 0:O.children)!=null?D:i(r)===i(u)-1?i(a)("el.tour.finish"):i(a)("el.tour.next")),1)]}),_:1},16,["type"])):ne("v-if",!0)],2)],2)],64))}});const wY=ot(mY,{TourStep:Sk}),CY=Xt(Sk),SY=Se({container:{type:G([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:G(String),default:"default"},direction:{type:G(String),default:"vertical"},selectScrollTop:Boolean}),kY={change:e=>Ve(e),click:(e,t)=>e instanceof MouseEvent&&(Ve(t)||St(t))},kk=Symbol("anchor");function EY(e){let t=0;const n=(...l)=>{t&&Uo(t),t=yo(()=>{e(...l),t=0})};return n.cancel=()=>{Uo(t),t=0},n}const Au=e=>{if(!Ot||e==="")return null;if(Ve(e))try{return document.querySelector(e)}catch{return null}return e};var xY=ae({name:"ElAnchor",__name:"anchor",props:SY,emits:kY,setup(e,{expose:t,emit:n}){const l=e,o=n,a=rn(),s=L(""),r=L({}),u=L(null),c=L(null),d=L(),f={};let h=!1,m=0;const v=me("anchor"),p=S(()=>[v.b(),l.type==="underline"?v.m("underline"):"",v.m(l.direction)]),g=O=>{f[O.href]=O.el},b=O=>{delete f[O]},C=O=>{s.value!==O&&(s.value=O,o(ht,O))};let w=null,y="";const k=O=>{if(!d.value)return;const D=Au(O);if(!D)return;if(w){if(y===O)return;w()}y=O,h=!0;const K=xg(D,d.value),Z=lv(D,K),W=K.scrollHeight-K.clientHeight,M=Math.min(Z-l.offset,W);w=mP(d.value,m,M,l.duration,()=>{setTimeout(()=>{h=!1,y=""},20)})},E=O=>{O&&(C(O),k(O))},x=(O,D)=>{o("click",O,D),E(D)},$=EY(()=>{d.value&&(m=Tg(d.value));const O=R();h||St(O)||C(O)}),R=()=>{if(!d.value)return;const O=Tg(d.value),D=[];for(const K of Object.keys(f)){const Z=Au(K);if(!Z)continue;const W=xg(Z,d.value),M=lv(Z,W);D.push({top:M-l.offset-l.bound,href:K})}D.sort((K,Z)=>K.top-Z.top);for(let K=0;KO))return Z.href}},I=()=>{const O=Au(l.container);!O||Hi(O)?d.value=window:d.value=O};At(d,"scroll",$);const A=()=>{Re(()=>{if(!u.value||!c.value||!s.value){r.value={};return}const O=f[s.value];if(!O){r.value={};return}const D=u.value.getBoundingClientRect(),K=c.value.getBoundingClientRect(),Z=O.getBoundingClientRect();if(l.direction==="horizontal"){const W=Z.left-D.left;r.value={left:`${W}px`,width:`${Z.width}px`,opacity:1}}else{const W=Z.top-D.top+(Z.height-K.height)/2;r.value={top:`${W}px`,opacity:1}}})};return ue(s,A),ue(()=>{var O;return(O=a.default)==null?void 0:O.call(a)},A),ft(()=>{I();const O=decodeURIComponent(window.location.hash);Au(O)?E(O):$()}),ue(()=>l.container,()=>{I()}),yt(kk,{ns:v,direction:l.direction,currentAnchor:s,addLink:g,removeLink:b,handleClick:x}),t({scrollTo:E}),(O,D)=>(T(),F("div",{ref_key:"anchorRef",ref:u,class:P(p.value)},[e.marker?(T(),F("div",{key:0,ref_key:"markerRef",ref:c,class:P(i(v).e("marker")),style:je(r.value)},null,6)):ne("v-if",!0),j("div",{class:P(i(v).e("list"))},[te(O.$slots,"default")],2)],2))}});const TY=Se({title:String,href:String}),$Y=["href"];var Ek=ae({name:"ElAnchorLink",__name:"anchor-link",props:TY,setup(e){const t=e,n=L(null),{ns:l,direction:o,currentAnchor:a,addLink:s,removeLink:r,handleClick:u}=Le(kk),c=S(()=>[l.e("link"),l.is("active",a.value===t.href)]),d=f=>{u(f,t.href)};return ue(()=>t.href,(f,h)=>{Re(()=>{h&&r(h),f&&s({href:f,el:n.value})})}),ft(()=>{const{href:f}=t;f&&s({href:f,el:n.value})}),Pt(()=>{const{href:f}=t;f&&r(f)}),(f,h)=>(T(),F("div",{class:P(i(l).e("item"))},[j("a",{ref_key:"linkRef",ref:n,class:P(c.value),href:e.href,onClick:d},[te(f.$slots,"default",{},()=>[bt(ke(e.title),1)])],10,$Y),f.$slots["sub-link"]&&i(o)==="vertical"?(T(),F("div",{key:0,class:P(i(l).e("list"))},[te(f.$slots,"sub-link")],2)):ne("v-if",!0)],2))}});const OY=ot(xY,{AnchorLink:Ek}),NY=Xt(Ek),xk={label:"label",value:"value",disabled:"disabled"},IY=Se({direction:{type:G(String),default:"horizontal"},options:{type:G(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},props:{type:G(Object),default:()=>xk},block:Boolean,size:gn,disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},id:String,name:String,...Xn(["ariaLabel"])}),MY={[et]:e=>Ve(e)||We(e)||Vt(e),[ht]:e=>Ve(e)||We(e)||Vt(e)},PY=["id","aria-label","aria-labelledby"],RY=["name","disabled","checked","onChange"];var AY=ae({name:"ElSegmented",__name:"segmented",props:IY,emits:MY,setup(e,{emit:t}){const n=e,l=t,o=me("segmented"),a=Mn(),s=hn(),r=nn(),{formItem:u}=$n(),{inputId:c,isLabeledByFormItem:d}=kl(n,{formItemContext:u}),f=L(null),h=GM(),m=Nt({isInit:!1,width:0,height:0,translateX:0,translateY:0,focusVisible:!1}),v=(O,D)=>{const K=b(D);l(et,K),l(ht,K),O.target.checked=K===n.modelValue},p=S(()=>({...xk,...n.props})),g=O=>O,b=O=>nt(O)?O[p.value.value]:O,C=O=>nt(O)?O[p.value.label]:O,w=O=>!!(r.value||nt(O)&&O[p.value.disabled]),y=O=>n.modelValue===b(O),k=O=>n.options.find(D=>b(D)===O),E=O=>[o.e("item"),o.is("selected",y(O)),o.is("disabled",w(O))],x=()=>{if(!f.value)return;const O=f.value.querySelector(".is-selected"),D=f.value.querySelector(".is-selected input");if(!O||!D){m.width=0,m.height=0,m.translateX=0,m.translateY=0,m.focusVisible=!1;return}m.isInit=!0,n.direction==="vertical"?(m.height=O.offsetHeight,m.translateY=O.offsetTop):(m.width=O.offsetWidth,m.translateX=O.offsetLeft);try{m.focusVisible=D.matches(":focus-visible")}catch{}},$=S(()=>[o.b(),o.m(s.value),o.is("block",n.block)]),R=S(()=>({width:n.direction==="vertical"?"100%":`${m.width}px`,height:n.direction==="vertical"?`${m.height}px`:"100%",transform:n.direction==="vertical"?`translateY(${m.translateY}px)`:`translateX(${m.translateX}px)`,display:m.isInit?"block":"none"})),I=S(()=>[o.e("item-selected"),o.is("disabled",w(k(n.modelValue))),o.is("focus-visible",m.focusVisible)]),A=S(()=>n.name||a.value);return Yt(f,x),ue(h,x),ue(()=>n.modelValue,()=>{var O;x(),n.validateEvent&&((O=u==null?void 0:u.validate)==null||O.call(u,"change").catch(D=>void 0))},{flush:"post"}),(O,D)=>e.options.length?(T(),F("div",{key:0,id:i(c),ref_key:"segmentedRef",ref:f,class:P($.value),role:"radiogroup","aria-label":i(d)?void 0:e.ariaLabel||"segmented","aria-labelledby":i(d)?i(u).labelId:void 0},[j("div",{class:P([i(o).e("group"),i(o).m(e.direction)])},[j("div",{style:je(R.value),class:P(I.value)},null,6),(T(!0),F(ze,null,gt(e.options,(K,Z)=>(T(),F("label",{key:Z,class:P(E(K))},[j("input",{class:P(i(o).e("item-input")),type:"radio",name:A.value,disabled:w(K),checked:y(K),onChange:W=>v(W,K)},null,42,RY),j("div",{class:P(i(o).e("item-label"))},[te(O.$slots,"default",{item:g(K)},()=>[bt(ke(C(K)),1)])],2)],2))),128))],2)],10,PY)):ne("v-if",!0)}});const LY=ot(AY),DY=(e,t)=>{const n=e.toLowerCase();return(t.label||t.value||"").toLowerCase().includes(n)},BY=(e,t,n)=>{const{selectionEnd:l}=e;if(l===null)return;const o=e.value,a=wn(t);let s=-1,r;for(let u=l-1;u>=0;--u){const c=o[u];if(c===n||c===` -`||c==="\r"){s=u;continue}if(a.includes(c)){const d=s===-1?l:s;r={pattern:o.slice(u+1,d),start:u+1,end:d,prefix:c,prefixIndex:u,splitIndex:s,selectionEnd:l};break}}return r},VY=(e,t={debug:!1,useSelectionEnd:!1})=>{const n=e.selectionStart!==null?e.selectionStart:0,l=e.selectionEnd!==null?e.selectionEnd:0,o=t.useSelectionEnd?l:n,a=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"];if(t.debug){const h=document.querySelector("#input-textarea-caret-position-mirror-div");h!=null&&h.parentNode&&h.parentNode.removeChild(h)}const s=document.createElement("div");s.id="input-textarea-caret-position-mirror-div",document.body.appendChild(s);const r=s.style,u=window.getComputedStyle(e),c=e.nodeName==="INPUT";r.whiteSpace=c?"nowrap":"pre-wrap",c||(r.wordWrap="break-word"),r.position="absolute",t.debug||(r.visibility="hidden"),a.forEach(h=>{if(c&&h==="lineHeight")if(u.boxSizing==="border-box"){const m=Number.parseInt(u.height),v=Number.parseInt(u.paddingTop)+Number.parseInt(u.paddingBottom)+Number.parseInt(u.borderTopWidth)+Number.parseInt(u.borderBottomWidth),p=v+Number.parseInt(u.lineHeight);m>p?r.lineHeight=`${m-v}px`:m===p?r.lineHeight=u.lineHeight:r.lineHeight="0"}else r.lineHeight=u.height;else r[h]=u[h]}),vd()?e.scrollHeight>Number.parseInt(u.height)&&(r.overflowY="scroll"):r.overflow="hidden",s.textContent=e.value.slice(0,Math.max(0,o)),c&&s.textContent&&(s.textContent=s.textContent.replace(/\s/g," "));const d=document.createElement("span");d.textContent=e.value.slice(Math.max(0,o))||".",d.style.position="relative",d.style.left=`${-e.scrollLeft}px`,d.style.top=`${-e.scrollTop}px`,s.appendChild(d);const f={top:d.offsetTop+Number.parseInt(u.borderTopWidth),left:d.offsetLeft+Number.parseInt(u.borderLeftWidth),height:Number.parseInt(u.fontSize)*1.5};return t.debug?d.style.backgroundColor="#aaa":document.body.removeChild(s),f.left>=e.clientWidth&&(f.left=e.clientWidth),f},_Y=Se({...Ji,options:{type:G(Array),default:()=>[]},prefix:{type:G([String,Array]),default:"@",validator:e=>Ve(e)?e.length===1:e.every(t=>Ve(t)&&t.length===1)},split:{type:String,default:" ",validator:e=>e.length===1},filterOption:{type:G([Boolean,Function]),default:()=>DY,validator:e=>e===!1?!0:He(e)},placement:{type:G(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:G(Function)},modelValue:String,loading:Boolean,popperClass:Bt.popperClass,popperStyle:Bt.popperStyle,popperOptions:{type:G(Object),default:()=>({})},props:{type:G(Object),default:()=>Tk}}),FY={[et]:e=>Ve(e),"whole-remove":(e,t)=>Ve(e)&&Ve(t),input:e=>Ve(e),search:(e,t)=>Ve(e)&&Ve(t),select:(e,t)=>nt(e)&&Ve(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},Tk={value:"value",label:"label",disabled:"disabled"},zY=Se({options:{type:G(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),HY={select:e=>Ve(e.value)},KY=["id","aria-disabled","aria-selected","onMousemove","onClick"];var WY=ae({name:"ElMentionDropdown",__name:"mention-dropdown",props:zY,emits:HY,setup(e,{expose:t,emit:n}){const l=e,o=n,a=me("mention"),{t:s}=wt(),r=L(-1),u=L(),c=L(),d=L(),f=(y,k)=>[a.be("dropdown","item"),a.is("hovering",r.value===k),a.is("disabled",y.disabled||l.disabled)],h=y=>{y.disabled||l.disabled||o("select",y)},m=y=>{r.value=y},v=S(()=>l.disabled||l.options.every(y=>y.disabled)),p=S(()=>l.options[r.value]),g=()=>{!p.value||p.value.disabled||l.disabled||o("select",p.value)},b=y=>{const{options:k}=l;if(k.length===0||v.value)return;y==="next"?(r.value++,r.value===k.length&&(r.value=0)):y==="prev"&&(r.value--,r.value<0&&(r.value=k.length-1));const E=k[r.value];if(E.disabled){b(y);return}Re(()=>C(E))},C=y=>{var k,E,x,$;const{options:R}=l,I=R.findIndex(O=>O.value===y.value),A=(k=c.value)==null?void 0:k[I];if(A){const O=(x=(E=d.value)==null?void 0:E.querySelector)==null?void 0:x.call(E,`.${a.be("dropdown","wrap")}`);O&&Lp(O,A)}($=u.value)==null||$.handleScroll()};return ue(()=>l.options,()=>{v.value||l.options.length===0?r.value=-1:r.value=l.options.findIndex(y=>!y.disabled)},{immediate:!0}),t({hoveringIndex:r,navigateOptions:b,selectHoverOption:g,hoverOption:p}),(y,k)=>(T(),F("div",{ref_key:"dropdownRef",ref:d,class:P(i(a).b("dropdown"))},[y.$slots.header?(T(),F("div",{key:0,class:P(i(a).be("dropdown","header"))},[te(y.$slots,"header")],2)):ne("v-if",!0),it(q(i(Wl),{id:e.contentId,ref_key:"scrollbarRef",ref:u,tag:"ul","wrap-class":i(a).be("dropdown","wrap"),"view-class":i(a).be("dropdown","list"),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:ee(()=>[(T(!0),F(ze,null,gt(e.options,(E,x)=>(T(),F("li",{id:`${e.contentId}-${x}`,ref_for:!0,ref_key:"optionRefs",ref:c,key:x,class:P(f(E,x)),role:"option","aria-disabled":E.disabled||e.disabled||void 0,"aria-selected":r.value===x,onMousemove:$=>m(x),onClick:Je($=>h(E),["stop"])},[te(y.$slots,"label",{item:E,index:x},()=>{var $;return[j("span",null,ke(($=E.label)!=null?$:E.value),1)]})],42,KY))),128))]),_:3},8,["id","wrap-class","view-class","aria-label"]),[[$t,e.options.length>0&&!e.loading]]),e.loading?(T(),F("div",{key:1,class:P(i(a).be("dropdown","loading"))},[te(y.$slots,"loading",{},()=>[bt(ke(i(s)("el.mention.loading")),1)])],2)):ne("v-if",!0),y.$slots.footer?(T(),F("div",{key:2,class:P(i(a).be("dropdown","footer"))},[te(y.$slots,"footer")],2)):ne("v-if",!0)],2))}}),jY=ae({name:"ElMention",inheritAttrs:!1,__name:"mention",props:_Y,emits:FY,setup(e,{expose:t,emit:n}){const l=e,o=n,a=S(()=>Yo(l,Object.keys(Ji))),s=me("mention"),r=nn(),u=Mn(),c=L(),d=L(),f=L(),h=L(!1),m=L(),v=L(),p=S(()=>l.showArrow?l.placement:`${l.placement}-start`),g=S(()=>l.showArrow?["bottom","top"]:["bottom-start","top-start"]),b=S(()=>({...Tk,...l.props})),C=M=>{const N={label:M[b.value.label],value:M[b.value.value],disabled:M[b.value.disabled]};return{...M,...N}},w=S(()=>l.options.map(C)),y=S(()=>{const{filterOption:M}=l;return!v.value||!M?w.value:w.value.filter(N=>M(v.value.pattern,N))}),k=S(()=>h.value&&(!!y.value.length||l.loading)),E=S(()=>{var M;return`${u.value}-${(M=f.value)==null?void 0:M.hoveringIndex}`}),x=M=>{o(et,M),o(vn,M),K()},$=M=>{var N,B,V,z;if((N=c.value)!=null&&N.isComposing)return;const Y=Ft(M);switch(Y){case Ce.left:case Ce.right:K();break;case Ce.up:case Ce.down:if(!h.value)return;M.preventDefault(),(B=f.value)==null||B.navigateOptions(Y===Ce.up?"prev":"next");break;case Ce.enter:case Ce.numpadEnter:if(!h.value){l.type!=="textarea"&&K();return}M.preventDefault(),(V=f.value)!=null&&V.hoverOption?(z=f.value)==null||z.selectHoverOption():h.value=!1;break;case Ce.esc:if(!h.value)return;M.preventDefault(),h.value=!1;break;case Ce.backspace:if(l.whole&&v.value){const{splitIndex:H,selectionEnd:X,pattern:J,prefixIndex:se,prefix:re}=v.value,fe=D();if(!fe)return;const ce=fe.value,oe=w.value.find(_=>_.value===J);if((He(l.checkIsWhole)?l.checkIsWhole(J,re):oe)&&H!==-1&&H+1===X){M.preventDefault();const _=ce.slice(0,se)+ce.slice(H+1);o(et,_),o(vn,_),o("whole-remove",J,re);const Q=se;Re(()=>{fe.selectionStart=Q,fe.selectionEnd=Q,W()})}}}},{wrapperRef:R}=la(c,{disabled:r,afterFocus(){K()},beforeBlur(M){var N;return(N=d.value)==null?void 0:N.isFocusInsideContent(M)},afterBlur(){h.value=!1}}),I=()=>{K()},A=M=>l.options.find(N=>M.value===N[b.value.value]),O=M=>{if(!v.value)return;const N=D();if(!N)return;const B=N.value,{split:V}=l,z=B.slice(v.value.end),Y=z.startsWith(V),H=`${M.value}${Y?"":V}`,X=B.slice(0,v.value.start)+H+z;o(et,X),o(vn,X),o("select",A(M),v.value.prefix);const J=v.value.start+H.length+(Y?1:0);Re(()=>{N.selectionStart=J,N.selectionEnd=J,N.focus(),W()})},D=()=>{var M,N;return l.type==="textarea"?(M=c.value)==null?void 0:M.textarea:(N=c.value)==null?void 0:N.input},K=()=>{setTimeout(()=>{Z(),W(),Re(()=>{var M;return(M=d.value)==null?void 0:M.updatePopper()})},0)},Z=()=>{const M=D();if(!M)return;const N=VY(M),B=M.getBoundingClientRect(),V=R.value.getBoundingClientRect();m.value={position:"absolute",width:0,height:`${N.height}px`,left:`${N.left+B.left-V.left}px`,top:`${N.top+B.top-V.top}px`}},W=()=>{const M=D();if(document.activeElement!==M){h.value=!1;return}const{prefix:N,split:B}=l;if(v.value=BY(M,N,B),v.value&&v.value.splitIndex===-1){h.value=!0,o("search",v.value.pattern,v.value.prefix);return}h.value=!1};return t({input:c,tooltip:d,dropdownVisible:k}),(M,N)=>(T(),F("div",{ref_key:"wrapperRef",ref:R,class:P(i(s).b())},[q(i(Un),ut(ut(a.value,M.$attrs),{ref_key:"elInputRef",ref:c,"model-value":e.modelValue,disabled:i(r),role:k.value?"combobox":void 0,"aria-activedescendant":k.value?E.value||"":void 0,"aria-controls":k.value?i(u):void 0,"aria-expanded":k.value||void 0,"aria-label":e.ariaLabel,"aria-autocomplete":k.value?"none":void 0,"aria-haspopup":k.value?"listbox":void 0,onInput:x,onKeydown:$,onMousedown:I}),ll({_:2},[gt(M.$slots,(B,V)=>({name:V,fn:ee(z=>[te(M.$slots,V,Vo(_o(z)))])}))]),1040,["model-value","disabled","role","aria-activedescendant","aria-controls","aria-expanded","aria-label","aria-autocomplete","aria-haspopup"]),q(i(xn),{ref_key:"tooltipRef",ref:d,visible:k.value,"popper-class":[i(s).e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,placement:p.value,"fallback-placements":g.value,effect:"light",pure:"",offset:e.offset,"show-arrow":e.showArrow},{default:ee(()=>[j("div",{style:je(m.value)},null,4)]),content:ee(()=>[q(WY,{ref_key:"dropdownRef",ref:f,options:y.value,disabled:i(r),loading:e.loading,"content-id":i(u),"aria-label":e.ariaLabel,onSelect:O,onClick:N[0]||(N[0]=Je(B=>{var V;return(V=c.value)==null?void 0:V.focus()},["stop"]))},ll({_:2},[gt(M.$slots,(B,V)=>({name:V,fn:ee(z=>[te(M.$slots,V,Vo(_o(z)))])}))]),1032,["options","disabled","loading","content-id","aria-label"])]),_:3},8,["visible","popper-class","popper-style","popper-options","placement","fallback-placements","offset","show-arrow"])],2))}});const YY=ot(jY),UY=Se({layout:{type:String,default:"horizontal",values:["horizontal","vertical"]},lazy:Boolean}),qY={resizeStart:(e,t)=>!0,resize:(e,t)=>!0,resizeEnd:(e,t)=>!0,collapse:(e,t,n)=>!0},$k=Symbol("splitterRootContextKey");function GY(e){const t=L(),{width:n,height:l}=Kf(t),o=S(()=>e.value==="horizontal"?n.value:l.value);return{containerEl:t,containerSize:o}}function Xh(e){return Number(e.slice(0,-1))/100}function Zh(e){return Number(e.slice(0,-2))}function Jh(e){return Ve(e)&&e.endsWith("%")}function Qh(e){return Ve(e)&&e.endsWith("px")}function XY(e,t){const n=S(()=>e.value.map(r=>r.size)),l=S(()=>e.value.length),o=L([]);ue([n,l,t],()=>{var r;let u=[],c=0;for(let f=0;ff+(h||0),0);if(d>1||!c){const f=1/d;u=u.map(h=>h===void 0?0:h*f)}else{const f=(1-d)/c;u=u.map(h=>h===void 0?f:h)}o.value=u});const a=r=>r*t.value,s=S(()=>o.value.map(a));return{percentSizes:o,pxSizes:s}}function ZY(e,t,n,l){const o=g=>g*t.value||0;function a(g,b){return Jh(g)?o(Xh(g)):Qh(g)?Zh(g):g??b}const s=L(0),r=L(null);let u=[],c=Rt;const d=S(()=>e.value.map(g=>[g.min,g.max]));ue(l,()=>{if(s.value){const g=new MouseEvent("mouseup",{bubbles:!0});window.dispatchEvent(g)}});const f=g=>{s.value=0,r.value={index:g,confirmed:!1},u=n.value},h=(g,b)=>{var C,w;let y=null;if((!r.value||!r.value.confirmed)&&b!==0){if(b>0)y=g,r.value={index:g,confirmed:!0};else for(let D=g;D>=0;D-=1)if(u[D]>0){y=D,r.value={index:D,confirmed:!0};break}}const k=(w=y??((C=r.value)==null?void 0:C.index))!=null?w:g,E=[...u],x=k+1,$=a(d.value[k][0],0),R=a(d.value[x][0],0),I=a(d.value[k][1],t.value||0),A=a(d.value[x][1],t.value||0);let O=b;E[k]+O<$&&(O=$-E[k]),E[x]-OI&&(O=I-E[k]),E[x]-O>A&&(O=E[x]-A),E[k]+=O,E[x]-=O,s.value=O,c=()=>{e.value.forEach((D,K)=>{D.size=E[K]}),c=Rt},l.value||c()},m=()=>{l.value&&c(),s.value=0,r.value=null,u=[]},v=[];return{lazyOffset:s,onMoveStart:f,onMoving:h,onMoveEnd:m,movingIndex:r,onCollapse:(g,b)=>{v.length||v.push(...n.value);const C=n.value,w=b==="start"?g:g+1,y=b==="start"?g+1:g,k=C[w],E=C[y];if(k!==0&&E!==0)C[w]=0,C[y]+=k,v[g]=k;else{const x=k+E,$=v[g],R=x-$;C[y]=$,C[w]=R}e.value.forEach((x,$)=>{x.size=C[$]})}}}var JY=ae({name:"ElSplitter",__name:"splitter",props:UY,emits:qY,setup(e,{emit:t}){const n=me("splitter"),l=t,o=e,a=Lt(o,"layout"),s=Lt(o,"lazy"),{containerEl:r,containerSize:u}=GY(a),{removeChild:c,children:d,addChild:f,ChildrenSorter:h}=gd(ct(),"ElSplitterPanel");ue(d,()=>{g.value=null,d.value.forEach((I,A)=>{I.setIndex(A)})});const{percentSizes:m,pxSizes:v}=XY(d,u),{lazyOffset:p,movingIndex:g,onMoveStart:b,onMoving:C,onMoveEnd:w,onCollapse:y}=ZY(d,u,v,s),k=S(()=>({[n.cssVarBlockName("bar-offset")]:s.value?`${p.value}px`:void 0}));return yt($k,Nt({panels:d,percentSizes:m,pxSizes:v,layout:a,lazy:s,movingIndex:g,containerSize:u,onMoveStart:I=>{b(I),l("resizeStart",I,v.value)},onMoving:(I,A)=>{C(I,A),s.value||l("resize",I,v.value)},onMoveEnd:async I=>{w(),await Re(),l("resizeEnd",I,v.value)},onCollapse:(I,A)=>{y(I,A),l("collapse",I,A,v.value)},registerPanel:f,unregisterPanel:c})),(I,A)=>(T(),F("div",{ref_key:"containerEl",ref:r,class:P([i(n).b(),i(n).e(a.value)]),style:je(k.value)},[te(I.$slots,"default"),q(i(h)),ne(" Prevent iframe touch events from breaking "),i(g)?(T(),F("div",{key:0,class:P([i(n).e("mask"),i(n).e(`mask-${a.value}`)])},null,2)):ne("v-if",!0)],6))}});const QY=Se({min:{type:[String,Number]},max:{type:[String,Number]},size:{type:[String,Number]},resizable:{type:Boolean,default:!0},collapsible:Boolean}),eU={"update:size":e=>typeof e=="number"||typeof e=="string"};function tU(e){return e&&nt(e)?e:{start:!!e,end:!!e}}function $0(e,t,n,l){return!!(e!=null&&e.collapsible.end&&t>0||n!=null&&n.collapsible.start&&l===0&&t>0)}var nU=ae({name:"ElSplitterBar",__name:"split-bar",props:{index:{type:Number,required:!0},layout:{type:String,values:["horizontal","vertical"],default:"horizontal"},resizable:{type:Boolean,default:!0},lazy:Boolean,startCollapsible:Boolean,endCollapsible:Boolean},emits:["moveStart","moving","moveEnd","collapse"],setup(e,{emit:t}){const n=me("splitter-bar"),l=e,o=t,a=S(()=>l.layout==="horizontal"),s=S(()=>a.value?{width:0}:{height:0}),r=S(()=>({width:a.value?"16px":"100%",height:a.value?"100%":"16px",cursor:l.resizable?a.value?"ew-resize":"ns-resize":"auto",touchAction:"none"})),u=S(()=>{const C=n.e("dragger");return{[`${C}-horizontal`]:a.value,[`${C}-vertical`]:!a.value,[`${C}-active`]:!!c.value}}),c=L(null),d=C=>{l.resizable&&(c.value=[C.pageX,C.pageY],o("moveStart",l.index),window.addEventListener("mouseup",v),window.addEventListener("mousemove",h))},f=C=>{if(l.resizable&&C.touches.length===1){C.preventDefault();const w=C.touches[0];c.value=[w.pageX,w.pageY],o("moveStart",l.index),window.addEventListener("touchend",p),window.addEventListener("touchmove",m)}},h=C=>{const{pageX:w,pageY:y}=C,k=w-c.value[0],E=y-c.value[1],x=a.value?k:E;o("moving",l.index,x)},m=C=>{if(C.touches.length===1){C.preventDefault();const w=C.touches[0],y=w.pageX-c.value[0],k=w.pageY-c.value[1],E=a.value?y:k;o("moving",l.index,E)}},v=()=>{c.value=null,window.removeEventListener("mouseup",v),window.removeEventListener("mousemove",h),o("moveEnd",l.index)},p=()=>{c.value=null,window.removeEventListener("touchend",p),window.removeEventListener("touchmove",m),o("moveEnd",l.index)},g=S(()=>a.value?qo:ud),b=S(()=>a.value?Gn:ko);return(C,w)=>(T(),F("div",{class:P([i(n).b()]),style:je(s.value)},[e.startCollapsible?(T(),F("div",{key:0,class:P([i(n).e("collapse-icon"),i(n).e(`${e.layout}-collapse-icon-start`)]),onClick:w[0]||(w[0]=y=>o("collapse",e.index,"start"))},[te(C.$slots,"start-collapsible",{},()=>[(T(),le(rt(g.value),{style:{width:"12px",height:"12px"}}))])],2)):ne("v-if",!0),j("div",{class:P([i(n).e("dragger"),u.value,i(n).is("disabled",!e.resizable),i(n).is("lazy",e.resizable&&e.lazy)]),style:je(r.value),onMousedown:d,onTouchstart:f},null,38),e.endCollapsible?(T(),F("div",{key:1,class:P([i(n).e("collapse-icon"),i(n).e(`${e.layout}-collapse-icon-end`)]),onClick:w[1]||(w[1]=y=>o("collapse",e.index,"end"))},[te(C.$slots,"end-collapsible",{},()=>[(T(),le(rt(b.value),{style:{width:"12px",height:"12px"}}))])],2)):ne("v-if",!0)],6))}});const O0="ElSplitterPanel";var Ok=ae({name:O0,__name:"split-panel",props:QY,emits:eU,setup(e,{expose:t,emit:n}){const l=me("splitter-panel"),o=e,a=n,s=Le($k);s||pn(O0,"usage: ");const{panels:r,layout:u,lazy:c,containerSize:d,pxSizes:f}=kn(s),{registerPanel:h,unregisterPanel:m,onCollapse:v,onMoveEnd:p,onMoveStart:g,onMoving:b}=s,C=L(),w=ct(),y=w.uid,k=L(0),E=S(()=>r.value[k.value]),x=N=>{k.value=N},$=S(()=>{var N;return E.value&&(N=f.value[k.value])!=null?N:0}),R=S(()=>{var N;return E.value&&(N=f.value[k.value+1])!=null?N:0}),I=S(()=>E.value?r.value[k.value+1]:null),A=S(()=>{var N;return I.value?o.resizable&&((N=I.value)==null?void 0:N.resizable)&&($.value!==0||!o.min)&&(R.value!==0||!I.value.min):!1}),O=S(()=>E.value?k.value!==r.value.length-1:!1),D=S(()=>$0(E.value,$.value,I.value,R.value)),K=S(()=>$0(I.value,R.value,E.value,$.value));function Z(N){return Jh(N)?Xh(N)*d.value||0:Qh(N)?Zh(N):N??0}let W=!1;ue(()=>o.size,()=>{if(!W&&E.value){if(!d.value){E.value.size=o.size;return}const N=Z(o.size),B=Z(o.max),V=Z(o.min),z=Math.min(Math.max(N,V||0),B||N);z!==N&&a("update:size",z),E.value.size=z}}),ue(()=>{var N;return(N=E.value)==null?void 0:N.size},N=>{N!==o.size&&(W=!0,a("update:size",N),Re(()=>W=!1))}),ue(()=>o.resizable,N=>{E.value&&(E.value.resizable=N)});const M=Nt({uid:y,getVnode:()=>w.vnode,setIndex:x,...o,collapsible:S(()=>tU(o.collapsible))});return h(M),Pt(()=>m(M)),t({splitterPanelRef:C}),(N,B)=>(T(),F(ze,null,[j("div",ut({ref_key:"panelEl",ref:C,class:[i(l).b()],style:{flexBasis:`${$.value}px`}},N.$attrs),[te(N.$slots,"default")],16),O.value?(T(),le(nU,{key:0,index:k.value,layout:i(u),lazy:i(c),resizable:A.value,"start-collapsible":D.value,"end-collapsible":K.value,onMoveStart:i(g),onMoving:i(b),onMoveEnd:i(p),onCollapse:i(v)},{"start-collapsible":ee(()=>[te(N.$slots,"start-collapsible")]),"end-collapsible":ee(()=>[te(N.$slots,"end-collapsible")]),_:3},8,["index","layout","lazy","resizable","start-collapsible","end-collapsible","onMoveStart","onMoving","onMoveEnd","onCollapse"])):ne("v-if",!0)],64))}});const lU=ot(JY,{SplitPanel:Ok}),oU=Xt(Ok);var aU=[bP,_R,fA,v9,gA,bA,kA,nC,IA,MA,Cn,iC,KL,YL,rD,iD,XD,LC,e8,jl,kD,oh,l8,m8,g8,yd,UC,z8,W8,Y8,U8,q8,G8,X8,_B,pS,YB,UB,aV,kS,mV,n_,l_,o_,PS,CF,SF,_e,PF,LS,Un,DS,UF,JF,mz,gz,bz,yz,Ez,Jz,n5,u5,Z1,KS,AC,PD,MD,S5,x5,I5,Wl,Ma,wc,_L,cH,hH,mH,AH,_H,l2,YH,ZH,JH,rK,SW,kW,f9,E9,x9,Ho,Vh,v6,M9,L9,D9,xn,U9,zh,gj,Mj,n7,d7,wY,CY,OY,NY,LY,YY,lU,oU];const hl="ElInfiniteScroll",sU=50,rU=200,iU=0,uU={delay:{type:Number,default:rU},distance:{type:Number,default:iU},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},em=(e,t)=>Object.entries(uU).reduce((n,[l,o])=>{var a,s;const{type:r,default:u}=o,c=e.getAttribute(`infinite-scroll-${l}`);let d=(s=(a=t[c])!=null?a:c)!=null?s:u;return d=d==="false"?!1:d,d=r(d),n[l]=Number.isNaN(d)?u:d,n},{}),Nk=e=>{const{observer:t}=e[hl];t&&(t.disconnect(),delete e[hl].observer)},cU=(e,t)=>{const{container:n,containerEl:l,instance:o,observer:a,lastScrollTop:s}=e[hl],{disabled:r,distance:u}=em(e,o),{clientHeight:c,scrollHeight:d,scrollTop:f}=l,h=f-s;if(e[hl].lastScrollTop=f,a||r||h<0)return;let m=!1;if(n===e)m=d-(c+f)<=u;else{const{clientTop:v,scrollHeight:p}=e,g=lv(e,l);m=f+c>=g+v+p-u}m&&t.call(o)};function Ef(e,t){const{containerEl:n,instance:l}=e[hl],{disabled:o}=em(e,l);o||n.clientHeight===0||(n.scrollHeight<=n.clientHeight?t.call(l):Nk(e))}const dU={async mounted(e,t){const{instance:n,value:l}=t;po({scope:hl,from:"the directive v-infinite-scroll",replacement:"the el-scrollbar infinite scroll",version:"3.0.0",ref:"https://element-plus.org/en-US/component/scrollbar#infinite-scroll"},!0),He(l)||pn(hl,"'v-infinite-scroll' binding value must be a function"),await Re();const{delay:o,immediate:a}=em(e,n),s=Ap(e,!0),r=s===window?document.documentElement:s,u=ba(cU.bind(null,e,l),o);if(s){if(e[hl]={instance:n,container:s,containerEl:r,delay:o,cb:l,onScroll:u,lastScrollTop:r.scrollTop},a){const c=new MutationObserver(ba(Ef.bind(null,e,l),sU));e[hl].observer=c,c.observe(e,{childList:!0,subtree:!0}),Ef(e,l)}s.addEventListener("scroll",u)}},unmounted(e){if(!e[hl])return;const{container:t,onScroll:n}=e[hl];t==null||t.removeEventListener("scroll",n),Nk(e)},async updated(e){if(!e[hl])await Re();else{const{containerEl:t,cb:n,observer:l}=e[hl];t.clientHeight&&l&&Ef(e,n)}}},Hv=dU;Hv.install=e=>{e.directive("InfiniteScroll",Hv)};const fU=Hv;function vU(e,t){let n;const l=L(!1),o=Nt({...e,originalPosition:"",originalOverflow:"",visible:!1});function a(m){o.text=m}function s(){const m=o.parent,v=h.ns;if(!m.vLoadingAddClassList){let p=m.getAttribute("loading-number");p=Number.parseInt(p)-1,p?m.setAttribute("loading-number",p.toString()):(qn(m,v.bm("parent","relative")),m.removeAttribute("loading-number")),qn(m,v.bm("parent","hidden"))}r(),f.unmount()}function r(){var m,v;(v=(m=h.$el)==null?void 0:m.parentNode)==null||v.removeChild(h.$el)}function u(){var m;e.beforeClose&&!e.beforeClose()||(l.value=!0,clearTimeout(n),n=setTimeout(c,400),o.visible=!1,(m=e.closed)==null||m.call(e))}function c(){if(!l.value)return;const m=o.parent;l.value=!1,m.vLoadingAddClassList=void 0,s()}const f=lT(ae({name:"ElLoading",setup(m,{expose:v}){const{ns:p,zIndex:g}=id("loading");return v({ns:p,zIndex:g}),()=>{const b=o.spinner||o.svg,C=Ge("svg",{class:"circular",viewBox:o.svgViewBox?o.svgViewBox:"0 0 50 50",...b?{innerHTML:b}:{}},[Ge("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),w=o.text?Ge("p",{class:p.b("text")},[o.text]):void 0;return Ge(In,{name:p.b("fade"),onAfterLeave:c},{default:ee(()=>[it(q("div",{style:{backgroundColor:o.background||""},class:[p.b("mask"),o.customClass,p.is("fullscreen",o.fullscreen)]},[Ge("div",{class:p.b("spinner")},[C,w])]),[[$t,o.visible]])])})}}}));Object.assign(f._context,t??{});const h=f.mount(document.createElement("div"));return{...kn(o),setText:a,removeElLoadingChild:r,close:u,handleAfterLeave:c,vm:h,get $el(){return h.$el}}}let Lu;const Us=function(e={},t){if(!Ot)return;const n=pU(e);if(n.fullscreen&&Lu)return Lu;const l=vU({...n,closed:()=>{var a;(a=n.closed)==null||a.call(n),n.fullscreen&&(Lu=void 0)}},t??Us._context);hU(n,n.parent,l),N0(n,n.parent,l),n.parent.vLoadingAddClassList=()=>N0(n,n.parent,l);let o=n.parent.getAttribute("loading-number");return o?o=`${Number.parseInt(o)+1}`:o="1",n.parent.setAttribute("loading-number",o),n.parent.appendChild(l.$el),Re(()=>l.visible.value=n.visible),n.fullscreen&&(Lu=l),l},pU=e=>{var t,n,l,o;let a;return Ve(e.target)?a=(t=document.querySelector(e.target))!=null?t:document.body:a=e.target||document.body,{parent:a===document.body||e.body?document.body:a,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:a===document.body&&((n=e.fullscreen)!=null?n:!0),lock:(l=e.lock)!=null?l:!1,customClass:e.customClass||"",visible:(o=e.visible)!=null?o:!0,beforeClose:e.beforeClose,closed:e.closed,target:a}},hU=async(e,t,n)=>{const{nextZIndex:l}=n.vm.zIndex||n.vm._.exposed.zIndex,o={};if(e.fullscreen)n.originalPosition.value=Do(document.body,"position"),n.originalOverflow.value=Do(document.body,"overflow"),o.zIndex=l();else if(e.parent===document.body){n.originalPosition.value=Do(document.body,"position"),await Re();for(const a of["top","left"]){const s=a==="top"?"scrollTop":"scrollLeft";o[a]=`${e.target.getBoundingClientRect()[a]+document.body[s]+document.documentElement[s]-Number.parseInt(Do(document.body,`margin-${a}`),10)}px`}for(const a of["height","width"])o[a]=`${e.target.getBoundingClientRect()[a]}px`}else n.originalPosition.value=Do(t,"position");for(const[a,s]of Object.entries(o))n.$el.style[a]=s},N0=(e,t,n)=>{const l=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?qn(t,l.bm("parent","relative")):$l(t,l.bm("parent","relative")),e.fullscreen&&e.lock?$l(t,l.bm("parent","hidden")):qn(t,l.bm("parent","hidden"))};Us._context=null;const Vr=Symbol("ElLoading"),Ha=e=>`element-loading-${Zo(e)}`,I0=(e,t)=>{var n,l,o,a;const s=t.instance,r=m=>nt(t.value)?t.value[m]:void 0,u=m=>{const v=Ve(m)&&(s==null?void 0:s[m])||m;return L(v)},c=m=>u(r(m)||e.getAttribute(Ha(m))),d=(n=r("fullscreen"))!=null?n:t.modifiers.fullscreen,f={text:c("text"),svg:c("svg"),svgViewBox:c("svgViewBox"),spinner:c("spinner"),background:c("background"),customClass:c("customClass"),fullscreen:d,target:(l=r("target"))!=null?l:d?void 0:e,body:(o=r("body"))!=null?o:t.modifiers.body,lock:(a=r("lock"))!=null?a:t.modifiers.lock},h=Us(f);h._context=ei._context,e[Vr]={options:f,instance:h}},mU=(e,t)=>{for(const n of Object.keys(e))jt(e[n])&&(e[n].value=t[n])},ei={mounted(e,t){t.value&&I0(e,t)},updated(e,t){const n=e[Vr];if(!t.value){n==null||n.instance.close(),e[Vr]=null;return}n?mU(n.options,nt(t.value)?t.value:{text:e.getAttribute(Ha("text")),svg:e.getAttribute(Ha("svg")),svgViewBox:e.getAttribute(Ha("svgViewBox")),spinner:e.getAttribute(Ha("spinner")),background:e.getAttribute(Ha("background")),customClass:e.getAttribute(Ha("customClass"))}):I0(e,t)},unmounted(e){var t;(t=e[Vr])==null||t.instance.close(),e[Vr]=null}};ei._context=null;const gU={install(e){Us._context=e._context,ei._context=e._context,e.directive("loading",ei),e.config.globalProperties.$loading=Us},directive:ei,service:Us},Ik=["primary","success","info","warning","error"],Mk=["top","top-left","top-right","bottom","bottom-left","bottom-right"],Ii="top",_n=en({customClass:"",dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,placement:void 0,zIndex:0,grouping:!1,repeatNum:1,appendTo:Ot?document.body:void 0}),bU=Se({customClass:{type:String,default:_n.customClass},dangerouslyUseHTMLString:{type:Boolean,default:_n.dangerouslyUseHTMLString},duration:{type:Number,default:_n.duration},icon:{type:_t,default:_n.icon},id:{type:String,default:_n.id},message:{type:G([String,Object,Function]),default:_n.message},onClose:{type:G(Function),default:_n.onClose},showClose:{type:Boolean,default:_n.showClose},type:{type:String,values:Ik,default:_n.type},plain:{type:Boolean,default:_n.plain},offset:{type:Number,default:_n.offset},placement:{type:String,values:Mk,default:_n.placement},zIndex:{type:Number,default:_n.zIndex},grouping:{type:Boolean,default:_n.grouping},repeatNum:{type:Number,default:_n.repeatNum}}),yU={destroy:()=>!0},Fl=Qv({}),wU=e=>(Fl[e]||(Fl[e]=Qv([])),Fl[e]),CU=(e,t)=>{const n=Fl[t]||[],l=n.findIndex(s=>s.id===e),o=n[l];let a;return l>0&&(a=n[l-1]),{current:o,prev:a}},SU=(e,t)=>{const{prev:n}=CU(e,t);return n?n.vm.exposed.bottom.value:0},kU=(e,t,n)=>(Fl[n]||[]).findIndex(a=>a.id===e)>0?16:t,EU=["id"],xU=["innerHTML"];var TU=ae({name:"ElMessage",__name:"message",props:bU,emits:yU,setup(e,{expose:t,emit:n}){const{Close:l}=Vp,o=e,a=n,s=L(!1),{ns:r,zIndex:u}=id("message"),{currentZIndex:c,nextZIndex:d}=u,f=L(),h=L(!1),m=L(0);let v;const p=S(()=>o.type?o.type==="error"?"danger":o.type:"info"),g=S(()=>{const D=o.type;return{[r.bm("icon",D)]:D&&Na[D]}}),b=S(()=>o.icon||Na[o.type]||""),C=S(()=>o.placement||Ii),w=S(()=>SU(o.id,C.value)),y=S(()=>kU(o.id,o.offset,C.value)+w.value),k=S(()=>m.value+y.value),E=S(()=>C.value.includes("left")?r.is("left"):C.value.includes("right")?r.is("right"):r.is("center")),x=S(()=>C.value.startsWith("top")?"top":"bottom"),$=S(()=>({[x.value]:`${y.value}px`,zIndex:c.value}));function R(){o.duration!==0&&({stop:v}=Qs(()=>{A()},o.duration))}function I(){v==null||v()}function A(){h.value=!1,Re(()=>{var D;s.value||((D=o.onClose)==null||D.call(o),a("destroy"))})}function O(D){Ft(D)===Ce.esc&&A()}return ft(()=>{R(),d(),h.value=!0}),ue(()=>o.repeatNum,()=>{I(),R()}),At(document,"keydown",O),Yt(f,()=>{m.value=f.value.getBoundingClientRect().height}),t({visible:h,bottom:k,close:A}),(D,K)=>(T(),le(In,{name:i(r).b("fade"),onBeforeEnter:K[0]||(K[0]=Z=>s.value=!0),onBeforeLeave:e.onClose,onAfterLeave:K[1]||(K[1]=Z=>D.$emit("destroy")),persisted:""},{default:ee(()=>[it(j("div",{id:e.id,ref_key:"messageRef",ref:f,class:P([i(r).b(),{[i(r).m(e.type)]:e.type},i(r).is("closable",e.showClose),i(r).is("plain",e.plain),i(r).is("bottom",x.value==="bottom"),E.value,e.customClass]),style:je($.value),role:"alert",onMouseenter:I,onMouseleave:R},[e.repeatNum>1?(T(),le(i(nC),{key:0,value:e.repeatNum,type:p.value,class:P(i(r).e("badge"))},null,8,["value","type","class"])):ne("v-if",!0),b.value?(T(),le(i(_e),{key:1,class:P([i(r).e("icon"),g.value])},{default:ee(()=>[(T(),le(rt(b.value)))]),_:1},8,["class"])):ne("v-if",!0),te(D.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(T(),F(ze,{key:1},[ne(" Caution here, message could've been compromised, never use user's input as message "),j("p",{class:P(i(r).e("content")),innerHTML:e.message},null,10,xU)],2112)):(T(),F("p",{key:0,class:P(i(r).e("content"))},ke(e.message),3))]),e.showClose?(T(),le(i(_e),{key:2,class:P(i(r).e("closeBtn")),onClick:Je(A,["stop"])},{default:ee(()=>[q(i(l))]),_:1},8,["class"])):ne("v-if",!0)],46,EU),[[$t,h.value]])]),_:3},8,["name","onBeforeLeave"]))}});let $U=1;const OU=e=>{if(!e.appendTo)e.appendTo=document.body;else if(Ve(e.appendTo)){let n=document.querySelector(e.appendTo);ul(n)||(n=document.body),e.appendTo=n}},NU=e=>{!e.placement&&Ve(Kn.placement)&&Kn.placement&&(e.placement=Kn.placement),e.placement||(e.placement=Ii),Mk.includes(e.placement)||(e.placement=Ii)},Pk=e=>{const t=!e||Ve(e)||zt(e)||He(e)?{message:e}:e,n={..._n,...t};return OU(n),NU(n),Vt(Kn.grouping)&&!n.grouping&&(n.grouping=Kn.grouping),We(Kn.duration)&&n.duration===3e3&&(n.duration=Kn.duration),We(Kn.offset)&&n.offset===16&&(n.offset=Kn.offset),Vt(Kn.showClose)&&!n.showClose&&(n.showClose=Kn.showClose),Vt(Kn.plain)&&!n.plain&&(n.plain=Kn.plain),n},IU=e=>{const t=e.props.placement||Ii,n=Fl[t],l=n.indexOf(e);if(l===-1)return;n.splice(l,1);const{handler:o}=e;o.close()},MU=({appendTo:e,...t},n)=>{const l=`message_${$U++}`,o=t.onClose,a=document.createElement("div"),s={...t,id:l,onClose:()=>{o==null||o(),IU(d)},onDestroy:()=>{Ta(null,a)}},r=q(TU,s,He(s.message)||zt(s.message)?{default:He(s.message)?s.message:()=>s.message}:null);r.appContext=n||ps._context,Ta(r,a),e.appendChild(a.firstElementChild);const u=r.component,d={id:l,vnode:r,vm:u,handler:{close:()=>{u.exposed.close()}},props:r.component.props};return d},ps=(e={},t)=>{if(!Ot)return{close:()=>{}};const n=Pk(e),l=wU(n.placement||Ii);if(n.grouping&&l.length){const a=l.find(({vnode:s})=>{var r;return((r=s.props)==null?void 0:r.message)===n.message});if(a)return a.props.repeatNum+=1,a.props.type=n.type,a.handler}if(We(Kn.max)&&l.length>=Kn.max)return{close:()=>{}};const o=MU(n,t);return l.push(o),o.handler};Ik.forEach(e=>{ps[e]=(t={},n)=>{const l=Pk(t);return ps({...l,type:e},n)}});function PU(e){for(const t in Fl)if(xt(Fl,t)){const n=[...Fl[t]];for(const l of n)(!e||e===l.props.type)&&l.handler.close()}}function RU(e){if(!Fl[e])return;[...Fl[e]].forEach(n=>n.handler.close())}ps.closeAll=PU;ps.closeAllByPlacement=RU;ps._context=null;const AU=u1(ps,"$message"),Kv="_trap-focus-children",Qa=[],M0=e=>{if(Qa.length===0)return;const t=Ft(e),n=Qa[Qa.length-1][Kv];if(n.length>0&&t===Ce.tab){if(n.length===1){e.preventDefault(),document.activeElement!==n[0]&&n[0].focus();return}const l=e.shiftKey,o=e.target===n[0],a=e.target===n[n.length-1];o&&l&&(e.preventDefault(),n[n.length-1].focus()),a&&!l&&(e.preventDefault(),n[0].focus())}},LU={beforeMount(e){e[Kv]=Eg(e),Qa.push(e),Qa.length<=1&&document.addEventListener("keydown",M0)},updated(e){Re(()=>{e[Kv]=Eg(e)})},unmounted(){Qa.shift(),Qa.length===0&&document.removeEventListener("keydown",M0)}};var DU=ae({name:"ElMessageBox",directives:{TrapFocus:LU},components:{ElButton:Cn,ElFocusTrap:yr,ElInput:Un,ElOverlay:bh,ElIcon:_e,...Vp},inheritAttrs:!1,props:{buttonSize:{type:String,validator:s2},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:Boolean,container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{locale:n,zIndex:l,ns:o,size:a}=id("message-box",S(()=>e.buttonSize)),{t:s}=n,{nextZIndex:r}=l,u=L(!1),c=Nt({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",cancelButtonType:"",confirmButtonType:"primary",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",closeIcon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:"",inputValidator:void 0,inputErrorMessage:"",message:"",modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:uo(wo),cancelButtonLoadingIcon:uo(wo),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:r()}),d=S(()=>{const M=c.type;return{[o.bm("icon",M)]:M&&Na[M]}}),f=Mn(),h=Mn(),m=S(()=>{const M=c.type;return c.icon||M&&Na[M]||""}),v=S(()=>!!c.message),p=L(),g=L(),b=L(),C=L(),w=L(),y=S(()=>c.confirmButtonClass);ue(()=>c.inputValue,async M=>{await Re(),e.boxType==="prompt"&&M&&D()},{immediate:!0}),ue(()=>u.value,M=>{var N,B;M&&(e.boxType!=="prompt"&&(c.autofocus?b.value=(B=(N=w.value)==null?void 0:N.$el)!=null?B:p.value:b.value=p.value),c.zIndex=r()),e.boxType==="prompt"&&(M?Re().then(()=>{var V;C.value&&C.value.$el&&(c.autofocus?b.value=(V=K())!=null?V:p.value:b.value=p.value)}):(c.editorErrorMessage="",c.validateError=!1))});const k=S(()=>e.draggable),E=S(()=>e.overflow),{isDragging:x}=CS(p,g,k,E);ft(async()=>{await Re(),e.closeOnHashChange&&window.addEventListener("hashchange",$)}),Pt(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",$)});function $(){u.value&&(u.value=!1,Re(()=>{c.action&&t("action",c.action)}))}const R=()=>{e.closeOnClickModal&&O(c.distinguishCancelAndClose?"close":"cancel")},I=gh(R),A=M=>{var N;if(c.inputType!=="textarea"&&!((N=C.value)!=null&&N.isComposing))return M.preventDefault(),O("confirm")},O=M=>{var N;e.boxType==="prompt"&&M==="confirm"&&!D()||(c.action=M,c.beforeClose?(N=c.beforeClose)==null||N.call(c,M,c,$):$())},D=()=>{if(e.boxType==="prompt"){const M=c.inputPattern;if(M&&!M.test(c.inputValue||""))return c.editorErrorMessage=c.inputErrorMessage||s("el.messagebox.error"),c.validateError=!0,!1;const N=c.inputValidator;if(He(N)){const B=N(c.inputValue);if(B===!1)return c.editorErrorMessage=c.inputErrorMessage||s("el.messagebox.error"),c.validateError=!0,!1;if(Ve(B))return c.editorErrorMessage=B,c.validateError=!0,!1}}return c.editorErrorMessage="",c.validateError=!1,!0},K=()=>{var M,N;const B=(M=C.value)==null?void 0:M.$refs;return(N=B==null?void 0:B.input)!=null?N:B==null?void 0:B.textarea},Z=()=>{O("close")},W=()=>{e.closeOnPressEscape&&Z()};return e.lockScroll&&Cd(u,{ns:o}),{...kn(c),ns:o,overlayEvent:I,visible:u,hasMessage:v,typeClass:d,contentId:f,inputId:h,btnSize:a,iconComponent:m,confirmButtonClasses:y,rootRef:p,focusStartRef:b,headerRef:g,inputRef:C,isDragging:x,confirmRef:w,doClose:$,handleClose:Z,onCloseRequested:W,handleWrapperClick:R,handleInputEnter:A,handleAction:O,t:s}}});const BU=["aria-label","aria-describedby"],VU=["aria-label"],_U=["id"];function FU(e,t,n,l,o,a){const s=Tt("el-icon"),r=Tt("el-input"),u=Tt("el-button"),c=Tt("el-focus-trap"),d=Tt("el-overlay");return T(),le(In,{name:"fade-in-linear",onAfterLeave:t[11]||(t[11]=f=>e.$emit("vanish")),persisted:""},{default:ee(()=>[it(q(d,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:ee(()=>[j("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:P(`${e.ns.namespace.value}-overlay-message-box`),onClick:t[8]||(t[8]=(...f)=>e.overlayEvent.onClick&&e.overlayEvent.onClick(...f)),onMousedown:t[9]||(t[9]=(...f)=>e.overlayEvent.onMousedown&&e.overlayEvent.onMousedown(...f)),onMouseup:t[10]||(t[10]=(...f)=>e.overlayEvent.onMouseup&&e.overlayEvent.onMouseup(...f))},[q(c,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:ee(()=>[j("div",{ref:"rootRef",class:P([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),e.ns.is("dragging",e.isDragging),{[e.ns.m("center")]:e.center}]),style:je(e.customStyle),tabindex:"-1",onClick:t[7]||(t[7]=Je(()=>{},["stop"]))},[e.title!==null&&e.title!==void 0?(T(),F("div",{key:0,ref:"headerRef",class:P([e.ns.e("header"),{"show-close":e.showClose}])},[j("div",{class:P(e.ns.e("title"))},[e.iconComponent&&e.center?(T(),le(s,{key:0,class:P([e.ns.e("status"),e.typeClass])},{default:ee(()=>[(T(),le(rt(e.iconComponent)))]),_:1},8,["class"])):ne("v-if",!0),j("span",null,ke(e.title),1)],2),e.showClose?(T(),F("button",{key:0,type:"button",class:P(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:t[0]||(t[0]=f=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),onKeydown:t[1]||(t[1]=Jt(Je(f=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[q(s,{class:P(e.ns.e("close"))},{default:ee(()=>[(T(),le(rt(e.closeIcon||"close")))]),_:1},8,["class"])],42,VU)):ne("v-if",!0)],2)):ne("v-if",!0),j("div",{id:e.contentId,class:P(e.ns.e("content"))},[j("div",{class:P(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(T(),le(s,{key:0,class:P([e.ns.e("status"),e.typeClass])},{default:ee(()=>[(T(),le(rt(e.iconComponent)))]),_:1},8,["class"])):ne("v-if",!0),e.hasMessage?(T(),F("div",{key:1,class:P(e.ns.e("message"))},[te(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(T(),le(rt(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(T(),le(rt(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0,textContent:ke(e.message)},null,8,["for","textContent"]))])],2)):ne("v-if",!0)],2),it(j("div",{class:P(e.ns.e("input"))},[q(r,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t[2]||(t[2]=f=>e.inputValue=f),type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:P({invalid:e.validateError}),onKeydown:Jt(e.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),j("div",{class:P(e.ns.e("errormsg")),style:je({visibility:e.editorErrorMessage?"visible":"hidden"})},ke(e.editorErrorMessage),7)],2),[[$t,e.showInput]])],10,_U),j("div",{class:P(e.ns.e("btns"))},[e.showCancelButton?(T(),le(u,{key:0,type:e.cancelButtonType==="text"?"":e.cancelButtonType,text:e.cancelButtonType==="text",loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:P([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t[3]||(t[3]=f=>e.handleAction("cancel")),onKeydown:t[4]||(t[4]=Jt(Je(f=>e.handleAction("cancel"),["prevent"]),["enter"]))},{default:ee(()=>[bt(ke(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","size"])):ne("v-if",!0),it(q(u,{ref:"confirmRef",type:e.confirmButtonType==="text"?"":e.confirmButtonType,text:e.confirmButtonType==="text",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:P([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t[5]||(t[5]=f=>e.handleAction("confirm")),onKeydown:t[6]||(t[6]=Jt(Je(f=>e.handleAction("confirm"),["prevent"]),["enter"]))},{default:ee(()=>[bt(ke(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","disabled","size"]),[[$t,e.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,BU)]),_:3},8,["z-index","overlay-class","mask"]),[[$t,e.visible]])]),_:3})}var zU=bn(DU,[["render",FU]]);const Mi=new Map,HU=e=>{let t=document.body;return e.appendTo&&(Ve(e.appendTo)&&(t=document.querySelector(e.appendTo)),ul(e.appendTo)&&(t=e.appendTo),ul(t)||(t=document.body)),t},KU=(e,t,n=null)=>{const l=q(zU,e,He(e.message)||zt(e.message)?{default:He(e.message)?e.message:()=>e.message}:null);return l.appContext=n,Ta(l,t),HU(e).appendChild(t.firstElementChild),l.component},WU=()=>document.createElement("div"),jU=(e,t)=>{const n=WU();e.onVanish=()=>{Ta(null,n),Mi.delete(o)},e.onAction=a=>{const s=Mi.get(o);let r;e.showInput?r={value:o.inputValue,action:a}:r=a,e.callback?e.callback(r,l.proxy):a==="cancel"||a==="close"?e.distinguishCancelAndClose&&a!=="cancel"?s.reject("close"):s.reject("cancel"):s.resolve(r)};const l=KU(e,n,t),o=l.proxy;for(const a in e)xt(e,a)&&!xt(o.$props,a)&&(a==="closeIcon"&&nt(e[a])?o[a]=uo(e[a]):o[a]=e[a]);return o.visible=!0,o};function Sr(e,t=null){if(!Ot)return Promise.reject();let n;return Ve(e)||zt(e)?e={message:e}:n=e.callback,new Promise((l,o)=>{const a=jU(e,t??Sr._context);Mi.set(a,{options:e,callback:n,resolve:l,reject:o})})}const YU=["alert","confirm","prompt"],UU={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};YU.forEach(e=>{Sr[e]=qU(e)});function qU(e){return(t,n,l,o)=>{let a="";return nt(n)?(l=n,a=""):St(n)?a="":a=n,Sr(Object.assign({title:a,message:t,type:"",...UU[e]},l,{boxType:e}),o)}}Sr.close=()=>{Mi.forEach((e,t)=>{t.doClose()}),Mi.clear()};Sr._context=null;const fa=Sr;fa.install=e=>{fa._context=e._context,e.config.globalProperties.$msgbox=fa,e.config.globalProperties.$messageBox=fa,e.config.globalProperties.$alert=fa.alert,e.config.globalProperties.$confirm=fa.confirm,e.config.globalProperties.$prompt=fa.prompt};const GU=fa,Rk=["primary","success","info","warning","error"],XU=Se({customClass:{type:String,default:""},dangerouslyUseHTMLString:Boolean,duration:{type:Number,default:4500},icon:{type:_t},id:{type:String,default:""},message:{type:G([String,Object,Function]),default:""},offset:{type:Number,default:0},onClick:{type:G(Function),default:()=>{}},onClose:{type:G(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...Rk,""],default:""},zIndex:Number,closeIcon:{type:_t,default:Ml}}),ZU={destroy:()=>!0},JU=["id"],QU=["textContent"],eq={key:0},tq=["innerHTML"];var nq=ae({name:"ElNotification",__name:"notification",props:XU,emits:ZU,setup(e,{expose:t}){const n=e,{ns:l,zIndex:o}=id("notification"),{nextZIndex:a,currentZIndex:s}=o,r=L(!1);let u;const c=S(()=>{const C=n.type;return C&&Na[n.type]?l.m(C):""}),d=S(()=>n.type&&Na[n.type]||n.icon),f=S(()=>n.position.endsWith("right")?"right":"left"),h=S(()=>n.position.startsWith("top")?"top":"bottom"),m=S(()=>{var C;return{[h.value]:`${n.offset}px`,zIndex:(C=n.zIndex)!=null?C:s.value}});function v(){n.duration>0&&({stop:u}=Qs(()=>{r.value&&g()},n.duration))}function p(){u==null||u()}function g(){r.value=!1}function b(C){switch(Ft(C)){case Ce.delete:case Ce.backspace:p();break;case Ce.esc:r.value&&g();break;default:v();break}}return ft(()=>{v(),a(),r.value=!0}),At(document,"keydown",b),t({visible:r,close:g}),(C,w)=>(T(),le(In,{name:i(l).b("fade"),onBeforeLeave:e.onClose,onAfterLeave:w[1]||(w[1]=y=>C.$emit("destroy")),persisted:""},{default:ee(()=>[it(j("div",{id:e.id,class:P([i(l).b(),e.customClass,f.value]),style:je(m.value),role:"alert",onMouseenter:p,onMouseleave:v,onClick:w[0]||(w[0]=(...y)=>e.onClick&&e.onClick(...y))},[d.value?(T(),le(i(_e),{key:0,class:P([i(l).e("icon"),c.value])},{default:ee(()=>[(T(),le(rt(d.value)))]),_:1},8,["class"])):ne("v-if",!0),j("div",{class:P(i(l).e("group"))},[j("h2",{class:P(i(l).e("title")),textContent:ke(e.title)},null,10,QU),it(j("div",{class:P(i(l).e("content")),style:je(e.title?void 0:{margin:0})},[te(C.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(T(),F(ze,{key:1},[ne(" Caution here, message could've been compromised, never use user's input as message "),j("p",{innerHTML:e.message},null,8,tq)],2112)):(T(),F("p",eq,ke(e.message),1))])],6),[[$t,e.message]]),e.showClose?(T(),le(i(_e),{key:0,class:P(i(l).e("closeBtn")),onClick:Je(g,["stop"])},{default:ee(()=>[(T(),le(rt(e.closeIcon)))]),_:1},8,["class"])):ne("v-if",!0)],2)],46,JU),[[$t,r.value]])]),_:3},8,["name","onBeforeLeave"]))}});const dr={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},_c=16;let lq=1;const hs=function(e={},t){if(!Ot)return{close:()=>{}};(Ve(e)||zt(e))&&(e={message:e});const n=e.position||"top-right";let l=e.offset||0;dr[n].forEach(({vm:d})=>{var f;l+=(((f=d.el)==null?void 0:f.offsetHeight)||0)+_c}),l+=_c;const o=`notification_${lq++}`,a=e.onClose,s={...e,offset:l,id:o,onClose:()=>{oq(o,n,a)}};let r=document.body;ul(e.appendTo)?r=e.appendTo:Ve(e.appendTo)&&(r=document.querySelector(e.appendTo)),ul(r)||(r=document.body);const u=document.createElement("div"),c=q(nq,s,He(s.message)?s.message:zt(s.message)?()=>s.message:null);return c.appContext=St(t)?hs._context:t,c.props.onDestroy=()=>{Ta(null,u)},Ta(c,u),dr[n].push({vm:c}),r.appendChild(u.firstElementChild),{close:()=>{c.component.exposed.visible.value=!1}}};Rk.forEach(e=>{hs[e]=(t={},n)=>((Ve(t)||zt(t))&&(t={message:t}),hs({...t,type:e},n))});function oq(e,t,n){const l=dr[t],o=l.findIndex(({vm:c})=>{var d;return((d=c.component)==null?void 0:d.props.id)===e});if(o===-1)return;const{vm:a}=l[o];if(!a)return;n==null||n(a);const s=a.el.offsetHeight,r=t.split("-")[0];l.splice(o,1);const u=l.length;if(!(u<1))for(let c=o;c{t.component.exposed.visible.value=!1})}function sq(e="top-right"){var t,n,l,o;let a=((l=(n=(t=dr[e][0])==null?void 0:t.vm.component)==null?void 0:n.props)==null?void 0:l.offset)||0;for(const{vm:s}of dr[e])s.component.props.offset=a,a+=(((o=s.el)==null?void 0:o.offsetHeight)||0)+_c}hs.closeAll=aq;hs.updateOffsets=sq;hs._context=null;const rq=u1(hs,"$notify");var iq=[fU,gU,AU,GU,rq,HS],Ak=rP([...aU,...iq]);Ak.install;Ak.version;export{ko as A,cq as B,fq as C,Je as D,KP as E,ze as F,Re as G,Nt as H,P as I,it as J,$t as K,dq as L,Ml as M,wo as N,zP as O,lT as P,Ak as Q,vr as T,Le as a,fr as b,S as c,ae as d,Zk as e,Xc as f,ct as g,Ge as h,jt as i,q as j,Tt as k,F as l,j as m,ee as n,ft as o,T as p,gt as q,L as r,Wt as s,ke as t,le as u,ne as v,ue as w,bt as x,oa as y,i as z}; diff --git a/mineru/cli/static/web/index.html b/mineru/cli/static/web/index.html deleted file mode 100644 index 639e16a..0000000 --- a/mineru/cli/static/web/index.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - 思维导图 - - - - - - - -
- - - \ No newline at end of file diff --git a/mineru/cli/static/web/markmap/d3.min.js b/mineru/cli/static/web/markmap/d3.min.js deleted file mode 100644 index 33bb880..0000000 --- a/mineru/cli/static/web/markmap/d3.min.js +++ /dev/null @@ -1,2 +0,0 @@ -// https://d3js.org v7.9.0 Copyright 2010-2023 Mike Bostock -!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).d3=t.d3||{})}(this,(function(t){"use strict";function n(t,n){return null==t||null==n?NaN:tn?1:t>=n?0:NaN}function e(t,n){return null==t||null==n?NaN:nt?1:n>=t?0:NaN}function r(t){let r,o,a;function u(t,n,e=0,i=t.length){if(e>>1;o(t[r],n)<0?e=r+1:i=r}while(en(t(e),r),a=(n,e)=>t(n)-e):(r=t===n||t===e?t:i,o=t,a=t),{left:u,center:function(t,n,e=0,r=t.length){const i=u(t,n,e,r-1);return i>e&&a(t[i-1],n)>-a(t[i],n)?i-1:i},right:function(t,n,e=0,i=t.length){if(e>>1;o(t[r],n)<=0?e=r+1:i=r}while(e{n(t,e,(r<<=2)+0,(i<<=2)+0,o<<=2),n(t,e,r+1,i+1,o),n(t,e,r+2,i+2,o),n(t,e,r+3,i+3,o)}}));function d(t){return function(n,e,r=e){if(!((e=+e)>=0))throw new RangeError("invalid rx");if(!((r=+r)>=0))throw new RangeError("invalid ry");let{data:i,width:o,height:a}=n;if(!((o=Math.floor(o))>=0))throw new RangeError("invalid width");if(!((a=Math.floor(void 0!==a?a:i.length/o))>=0))throw new RangeError("invalid height");if(!o||!a||!e&&!r)return n;const u=e&&t(e),c=r&&t(r),f=i.slice();return u&&c?(p(u,f,i,o,a),p(u,i,f,o,a),p(u,f,i,o,a),g(c,i,f,o,a),g(c,f,i,o,a),g(c,i,f,o,a)):u?(p(u,i,f,o,a),p(u,f,i,o,a),p(u,i,f,o,a)):c&&(g(c,i,f,o,a),g(c,f,i,o,a),g(c,i,f,o,a)),n}}function p(t,n,e,r,i){for(let o=0,a=r*i;o{if(!((o-=a)>=i))return;let u=t*r[i];const c=a*t;for(let t=i,n=i+c;t{if(!((a-=u)>=o))return;let c=n*i[o];const f=u*n,s=f+u;for(let t=o,n=o+f;t=n&&++e;else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(i=+i)>=i&&++e}return e}function _(t){return 0|t.length}function b(t){return!(t>0)}function m(t){return"object"!=typeof t||"length"in t?t:Array.from(t)}function x(t,n){let e,r=0,i=0,o=0;if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(e=n-i,i+=e/++r,o+=e*(n-i));else{let a=-1;for(let u of t)null!=(u=n(u,++a,t))&&(u=+u)>=u&&(e=u-i,i+=e/++r,o+=e*(u-i))}if(r>1)return o/(r-1)}function w(t,n){const e=x(t,n);return e?Math.sqrt(e):e}function M(t,n){let e,r;if(void 0===n)for(const n of t)null!=n&&(void 0===e?n>=n&&(e=r=n):(e>n&&(e=n),r=o&&(e=r=o):(e>o&&(e=o),r0){for(o=t[--i];i>0&&(n=o,e=t[--i],o=n+e,r=e-(o-n),!r););i>0&&(r<0&&t[i-1]<0||r>0&&t[i-1]>0)&&(e=2*r,n=o+e,e==n-o&&(o=n))}return o}}class InternMap extends Map{constructor(t,n=N){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const[n,e]of t)this.set(n,e)}get(t){return super.get(A(this,t))}has(t){return super.has(A(this,t))}set(t,n){return super.set(S(this,t),n)}delete(t){return super.delete(E(this,t))}}class InternSet extends Set{constructor(t,n=N){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const n of t)this.add(n)}has(t){return super.has(A(this,t))}add(t){return super.add(S(this,t))}delete(t){return super.delete(E(this,t))}}function A({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function S({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):(t.set(r,e),e)}function E({_intern:t,_key:n},e){const r=n(e);return t.has(r)&&(e=t.get(r),t.delete(r)),e}function N(t){return null!==t&&"object"==typeof t?t.valueOf():t}function k(t){return t}function C(t,...n){return F(t,k,k,n)}function P(t,...n){return F(t,Array.from,k,n)}function z(t,n){for(let e=1,r=n.length;et.pop().map((([n,e])=>[...t,n,e]))));return t}function $(t,n,...e){return F(t,k,n,e)}function D(t,n,...e){return F(t,Array.from,n,e)}function R(t){if(1!==t.length)throw new Error("duplicate key");return t[0]}function F(t,n,e,r){return function t(i,o){if(o>=r.length)return e(i);const a=new InternMap,u=r[o++];let c=-1;for(const t of i){const n=u(t,++c,i),e=a.get(n);e?e.push(t):a.set(n,[t])}for(const[n,e]of a)a.set(n,t(e,o));return n(a)}(t,0)}function q(t,n){return Array.from(n,(n=>t[n]))}function U(t,...n){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");t=Array.from(t);let[e]=n;if(e&&2!==e.length||n.length>1){const r=Uint32Array.from(t,((t,n)=>n));return n.length>1?(n=n.map((n=>t.map(n))),r.sort(((t,e)=>{for(const r of n){const n=O(r[t],r[e]);if(n)return n}}))):(e=t.map(e),r.sort(((t,n)=>O(e[t],e[n])))),q(t,r)}return t.sort(I(e))}function I(t=n){if(t===n)return O;if("function"!=typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}function O(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(tn?1:0)}var B=Array.prototype.slice;function Y(t){return()=>t}const L=Math.sqrt(50),j=Math.sqrt(10),H=Math.sqrt(2);function X(t,n,e){const r=(n-t)/Math.max(0,e),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=L?10:o>=j?5:o>=H?2:1;let u,c,f;return i<0?(f=Math.pow(10,-i)/a,u=Math.round(t*f),c=Math.round(n*f),u/fn&&--c,f=-f):(f=Math.pow(10,i)*a,u=Math.round(t/f),c=Math.round(n/f),u*fn&&--c),c0))return[];if((t=+t)===(n=+n))return[t];const r=n=i))return[];const u=o-i+1,c=new Array(u);if(r)if(a<0)for(let t=0;t0?(t=Math.floor(t/i)*i,n=Math.ceil(n/i)*i):i<0&&(t=Math.ceil(t*i)/i,n=Math.floor(n*i)/i),r=i}}function K(t){return Math.max(1,Math.ceil(Math.log(v(t))/Math.LN2)+1)}function Q(){var t=k,n=M,e=K;function r(r){Array.isArray(r)||(r=Array.from(r));var i,o,a,u=r.length,c=new Array(u);for(i=0;i=h)if(t>=h&&n===M){const t=V(l,h,e);isFinite(t)&&(t>0?h=(Math.floor(h/t)+1)*t:t<0&&(h=(Math.ceil(h*-t)+1)/-t))}else d.pop()}for(var p=d.length,g=0,y=p;d[g]<=l;)++g;for(;d[y-1]>h;)--y;(g||y0?d[i-1]:l,v.x1=i0)for(i=0;i=n)&&(e=n);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e=i)&&(e=i)}return e}function tt(t,n){let e,r=-1,i=-1;if(void 0===n)for(const n of t)++i,null!=n&&(e=n)&&(e=n,r=i);else for(let o of t)null!=(o=n(o,++i,t))&&(e=o)&&(e=o,r=i);return r}function nt(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e>n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e>i||void 0===e&&i>=i)&&(e=i)}return e}function et(t,n){let e,r=-1,i=-1;if(void 0===n)for(const n of t)++i,null!=n&&(e>n||void 0===e&&n>=n)&&(e=n,r=i);else for(let o of t)null!=(o=n(o,++i,t))&&(e>o||void 0===e&&o>=o)&&(e=o,r=i);return r}function rt(t,n,e=0,r=1/0,i){if(n=Math.floor(n),e=Math.floor(Math.max(0,e)),r=Math.floor(Math.min(t.length-1,r)),!(e<=n&&n<=r))return t;for(i=void 0===i?O:I(i);r>e;){if(r-e>600){const o=r-e+1,a=n-e+1,u=Math.log(o),c=.5*Math.exp(2*u/3),f=.5*Math.sqrt(u*c*(o-c)/o)*(a-o/2<0?-1:1);rt(t,n,Math.max(e,Math.floor(n-a*c/o+f)),Math.min(r,Math.floor(n+(o-a)*c/o+f)),i)}const o=t[n];let a=e,u=r;for(it(t,e,n),i(t[r],o)>0&&it(t,e,r);a0;)--u}0===i(t[e],o)?it(t,e,u):(++u,it(t,u,r)),u<=n&&(e=u+1),n<=u&&(r=u-1)}return t}function it(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function ot(t,e=n){let r,i=!1;if(1===e.length){let o;for(const a of t){const t=e(a);(i?n(t,o)>0:0===n(t,t))&&(r=a,o=t,i=!0)}}else for(const n of t)(i?e(n,r)>0:0===e(n,n))&&(r=n,i=!0);return r}function at(t,n,e){if(t=Float64Array.from(function*(t,n){if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(yield n);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(r=+r)>=r&&(yield r)}}(t,e)),(r=t.length)&&!isNaN(n=+n)){if(n<=0||r<2)return nt(t);if(n>=1)return J(t);var r,i=(r-1)*n,o=Math.floor(i),a=J(rt(t,o).subarray(0,o+1));return a+(nt(t.subarray(o+1))-a)*(i-o)}}function ut(t,n,e=o){if((r=t.length)&&!isNaN(n=+n)){if(n<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,a=Math.floor(i),u=+e(t[a],a,t);return u+(+e(t[a+1],a+1,t)-u)*(i-a)}}function ct(t,n,e=o){if(!isNaN(n=+n)){if(r=Float64Array.from(t,((n,r)=>o(e(t[r],r,t)))),n<=0)return et(r);if(n>=1)return tt(r);var r,i=Uint32Array.from(t,((t,n)=>n)),a=r.length-1,u=Math.floor(a*n);return rt(i,u,0,a,((t,n)=>O(r[t],r[n]))),(u=ot(i.subarray(0,u+1),(t=>r[t])))>=0?u:-1}}function ft(t){return Array.from(function*(t){for(const n of t)yield*n}(t))}function st(t,n){return[t,n]}function lt(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r+t(n)}function kt(t,n){return n=Math.max(0,t.bandwidth()-2*n)/2,t.round()&&(n=Math.round(n)),e=>+t(e)+n}function Ct(){return!this.__axis}function Pt(t,n){var e=[],r=null,i=null,o=6,a=6,u=3,c="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,f=t===xt||t===Tt?-1:1,s=t===Tt||t===wt?"x":"y",l=t===xt||t===Mt?St:Et;function h(h){var d=null==r?n.ticks?n.ticks.apply(n,e):n.domain():r,p=null==i?n.tickFormat?n.tickFormat.apply(n,e):mt:i,g=Math.max(o,0)+u,y=n.range(),v=+y[0]+c,_=+y[y.length-1]+c,b=(n.bandwidth?kt:Nt)(n.copy(),c),m=h.selection?h.selection():h,x=m.selectAll(".domain").data([null]),w=m.selectAll(".tick").data(d,n).order(),M=w.exit(),T=w.enter().append("g").attr("class","tick"),A=w.select("line"),S=w.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),w=w.merge(T),A=A.merge(T.append("line").attr("stroke","currentColor").attr(s+"2",f*o)),S=S.merge(T.append("text").attr("fill","currentColor").attr(s,f*g).attr("dy",t===xt?"0em":t===Mt?"0.71em":"0.32em")),h!==m&&(x=x.transition(h),w=w.transition(h),A=A.transition(h),S=S.transition(h),M=M.transition(h).attr("opacity",At).attr("transform",(function(t){return isFinite(t=b(t))?l(t+c):this.getAttribute("transform")})),T.attr("opacity",At).attr("transform",(function(t){var n=this.parentNode.__axis;return l((n&&isFinite(n=n(t))?n:b(t))+c)}))),M.remove(),x.attr("d",t===Tt||t===wt?a?"M"+f*a+","+v+"H"+c+"V"+_+"H"+f*a:"M"+c+","+v+"V"+_:a?"M"+v+","+f*a+"V"+c+"H"+_+"V"+f*a:"M"+v+","+c+"H"+_),w.attr("opacity",1).attr("transform",(function(t){return l(b(t)+c)})),A.attr(s+"2",f*o),S.attr(s,f*g).text(p),m.filter(Ct).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===wt?"start":t===Tt?"end":"middle"),m.each((function(){this.__axis=b}))}return h.scale=function(t){return arguments.length?(n=t,h):n},h.ticks=function(){return e=Array.from(arguments),h},h.tickArguments=function(t){return arguments.length?(e=null==t?[]:Array.from(t),h):e.slice()},h.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),h):r&&r.slice()},h.tickFormat=function(t){return arguments.length?(i=t,h):i},h.tickSize=function(t){return arguments.length?(o=a=+t,h):o},h.tickSizeInner=function(t){return arguments.length?(o=+t,h):o},h.tickSizeOuter=function(t){return arguments.length?(a=+t,h):a},h.tickPadding=function(t){return arguments.length?(u=+t,h):u},h.offset=function(t){return arguments.length?(c=+t,h):c},h}var zt={value:()=>{}};function $t(){for(var t,n=0,e=arguments.length,r={};n=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))),a=-1,u=o.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++a0)for(var e,r,i=new Array(e),o=0;o=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Ut.hasOwnProperty(n)?{space:Ut[n],local:t}:t}function Ot(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===qt&&n.documentElement.namespaceURI===qt?n.createElement(t):n.createElementNS(e,t)}}function Bt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Yt(t){var n=It(t);return(n.local?Bt:Ot)(n)}function Lt(){}function jt(t){return null==t?Lt:function(){return this.querySelector(t)}}function Ht(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function Xt(){return[]}function Gt(t){return null==t?Xt:function(){return this.querySelectorAll(t)}}function Vt(t){return function(){return this.matches(t)}}function Wt(t){return function(n){return n.matches(t)}}var Zt=Array.prototype.find;function Kt(){return this.firstElementChild}var Qt=Array.prototype.filter;function Jt(){return Array.from(this.children)}function tn(t){return new Array(t.length)}function nn(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function en(t,n,e,r,i,o){for(var a,u=0,c=n.length,f=o.length;un?1:t>=n?0:NaN}function cn(t){return function(){this.removeAttribute(t)}}function fn(t){return function(){this.removeAttributeNS(t.space,t.local)}}function sn(t,n){return function(){this.setAttribute(t,n)}}function ln(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function hn(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function dn(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function pn(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function gn(t){return function(){this.style.removeProperty(t)}}function yn(t,n,e){return function(){this.style.setProperty(t,n,e)}}function vn(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function _n(t,n){return t.style.getPropertyValue(n)||pn(t).getComputedStyle(t,null).getPropertyValue(n)}function bn(t){return function(){delete this[t]}}function mn(t,n){return function(){this[t]=n}}function xn(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function wn(t){return t.trim().split(/^|\s+/)}function Mn(t){return t.classList||new Tn(t)}function Tn(t){this._node=t,this._names=wn(t.getAttribute("class")||"")}function An(t,n){for(var e=Mn(t),r=-1,i=n.length;++r=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Gn=[null];function Vn(t,n){this._groups=t,this._parents=n}function Wn(){return new Vn([[document.documentElement]],Gn)}function Zn(t){return"string"==typeof t?new Vn([[document.querySelector(t)]],[document.documentElement]):new Vn([[t]],Gn)}Vn.prototype=Wn.prototype={constructor:Vn,select:function(t){"function"!=typeof t&&(t=jt(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i=m&&(m=b+1);!(_=y[m])&&++m=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=un);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o1?this.each((null==n?gn:"function"==typeof n?vn:yn)(t,n,null==e?"":e)):_n(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?bn:"function"==typeof n?xn:mn)(t,n)):this.node()[t]},classed:function(t,n){var e=wn(t+"");if(arguments.length<2){for(var r=Mn(this.node()),i=-1,o=e.length;++i=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}))}(t+""),a=o.length;if(!(arguments.length<2)){for(u=n?Ln:Yn,r=0;r()=>t;function fe(t,{sourceEvent:n,subject:e,target:r,identifier:i,active:o,x:a,y:u,dx:c,dy:f,dispatch:s}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:e,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:a,enumerable:!0,configurable:!0},y:{value:u,enumerable:!0,configurable:!0},dx:{value:c,enumerable:!0,configurable:!0},dy:{value:f,enumerable:!0,configurable:!0},_:{value:s}})}function se(t){return!t.ctrlKey&&!t.button}function le(){return this.parentNode}function he(t,n){return null==n?{x:t.x,y:t.y}:n}function de(){return navigator.maxTouchPoints||"ontouchstart"in this}function pe(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function ge(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function ye(){}fe.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var ve=.7,_e=1/ve,be="\\s*([+-]?\\d+)\\s*",me="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",xe="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",we=/^#([0-9a-f]{3,8})$/,Me=new RegExp(`^rgb\\(${be},${be},${be}\\)$`),Te=new RegExp(`^rgb\\(${xe},${xe},${xe}\\)$`),Ae=new RegExp(`^rgba\\(${be},${be},${be},${me}\\)$`),Se=new RegExp(`^rgba\\(${xe},${xe},${xe},${me}\\)$`),Ee=new RegExp(`^hsl\\(${me},${xe},${xe}\\)$`),Ne=new RegExp(`^hsla\\(${me},${xe},${xe},${me}\\)$`),ke={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ce(){return this.rgb().formatHex()}function Pe(){return this.rgb().formatRgb()}function ze(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=we.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?$e(n):3===e?new qe(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?De(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?De(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Me.exec(t))?new qe(n[1],n[2],n[3],1):(n=Te.exec(t))?new qe(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Ae.exec(t))?De(n[1],n[2],n[3],n[4]):(n=Se.exec(t))?De(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Ee.exec(t))?Le(n[1],n[2]/100,n[3]/100,1):(n=Ne.exec(t))?Le(n[1],n[2]/100,n[3]/100,n[4]):ke.hasOwnProperty(t)?$e(ke[t]):"transparent"===t?new qe(NaN,NaN,NaN,0):null}function $e(t){return new qe(t>>16&255,t>>8&255,255&t,1)}function De(t,n,e,r){return r<=0&&(t=n=e=NaN),new qe(t,n,e,r)}function Re(t){return t instanceof ye||(t=ze(t)),t?new qe((t=t.rgb()).r,t.g,t.b,t.opacity):new qe}function Fe(t,n,e,r){return 1===arguments.length?Re(t):new qe(t,n,e,null==r?1:r)}function qe(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Ue(){return`#${Ye(this.r)}${Ye(this.g)}${Ye(this.b)}`}function Ie(){const t=Oe(this.opacity);return`${1===t?"rgb(":"rgba("}${Be(this.r)}, ${Be(this.g)}, ${Be(this.b)}${1===t?")":`, ${t})`}`}function Oe(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Be(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ye(t){return((t=Be(t))<16?"0":"")+t.toString(16)}function Le(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new Xe(t,n,e,r)}function je(t){if(t instanceof Xe)return new Xe(t.h,t.s,t.l,t.opacity);if(t instanceof ye||(t=ze(t)),!t)return new Xe;if(t instanceof Xe)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,u=o-i,c=(o+i)/2;return u?(a=n===o?(e-r)/u+6*(e0&&c<1?0:a,new Xe(a,u,c,t.opacity)}function He(t,n,e,r){return 1===arguments.length?je(t):new Xe(t,n,e,null==r?1:r)}function Xe(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Ge(t){return(t=(t||0)%360)<0?t+360:t}function Ve(t){return Math.max(0,Math.min(1,t||0))}function We(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}pe(ye,ze,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Ce,formatHex:Ce,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return je(this).formatHsl()},formatRgb:Pe,toString:Pe}),pe(qe,Fe,ge(ye,{brighter(t){return t=null==t?_e:Math.pow(_e,t),new qe(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?ve:Math.pow(ve,t),new qe(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new qe(Be(this.r),Be(this.g),Be(this.b),Oe(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ue,formatHex:Ue,formatHex8:function(){return`#${Ye(this.r)}${Ye(this.g)}${Ye(this.b)}${Ye(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ie,toString:Ie})),pe(Xe,He,ge(ye,{brighter(t){return t=null==t?_e:Math.pow(_e,t),new Xe(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?ve:Math.pow(ve,t),new Xe(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new qe(We(t>=240?t-240:t+120,i,r),We(t,i,r),We(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Xe(Ge(this.h),Ve(this.s),Ve(this.l),Oe(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Oe(this.opacity);return`${1===t?"hsl(":"hsla("}${Ge(this.h)}, ${100*Ve(this.s)}%, ${100*Ve(this.l)}%${1===t?")":`, ${t})`}`}}));const Ze=Math.PI/180,Ke=180/Math.PI,Qe=.96422,Je=1,tr=.82521,nr=4/29,er=6/29,rr=3*er*er,ir=er*er*er;function or(t){if(t instanceof ur)return new ur(t.l,t.a,t.b,t.opacity);if(t instanceof pr)return gr(t);t instanceof qe||(t=Re(t));var n,e,r=lr(t.r),i=lr(t.g),o=lr(t.b),a=cr((.2225045*r+.7168786*i+.0606169*o)/Je);return r===i&&i===o?n=e=a:(n=cr((.4360747*r+.3850649*i+.1430804*o)/Qe),e=cr((.0139322*r+.0971045*i+.7141733*o)/tr)),new ur(116*a-16,500*(n-a),200*(a-e),t.opacity)}function ar(t,n,e,r){return 1===arguments.length?or(t):new ur(t,n,e,null==r?1:r)}function ur(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function cr(t){return t>ir?Math.pow(t,1/3):t/rr+nr}function fr(t){return t>er?t*t*t:rr*(t-nr)}function sr(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function lr(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function hr(t){if(t instanceof pr)return new pr(t.h,t.c,t.l,t.opacity);if(t instanceof ur||(t=or(t)),0===t.a&&0===t.b)return new pr(NaN,0=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,u=r()=>t;function Cr(t,n){return function(e){return t+e*n}}function Pr(t,n){var e=n-t;return e?Cr(t,e>180||e<-180?e-360*Math.round(e/360):e):kr(isNaN(t)?n:t)}function zr(t){return 1==(t=+t)?$r:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):kr(isNaN(n)?e:n)}}function $r(t,n){var e=n-t;return e?Cr(t,e):kr(isNaN(t)?n:t)}var Dr=function t(n){var e=zr(n);function r(t,n){var r=e((t=Fe(t)).r,(n=Fe(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),a=$r(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function Rr(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),u=new Array(i);for(e=0;eo&&(i=n.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,c.push({i:a,x:Yr(e,r)})),o=Hr.lastIndex;return o180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:Yr(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,a.rotate,u,c),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:Yr(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,a.skewX,u,c),function(t,n,e,r,o,a){if(t!==e||n!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:Yr(t,e)},{i:u-2,x:Yr(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,u,c),o=a=null,function(t){for(var n,e=-1,r=c.length;++e=0&&n._call.call(void 0,t),n=n._next;--yi}function Ci(){xi=(mi=Mi.now())+wi,yi=vi=0;try{ki()}finally{yi=0,function(){var t,n,e=pi,r=1/0;for(;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:pi=n);gi=t,zi(r)}(),xi=0}}function Pi(){var t=Mi.now(),n=t-mi;n>bi&&(wi-=n,mi=t)}function zi(t){yi||(vi&&(vi=clearTimeout(vi)),t-xi>24?(t<1/0&&(vi=setTimeout(Ci,t-Mi.now()-wi)),_i&&(_i=clearInterval(_i))):(_i||(mi=Mi.now(),_i=setInterval(Pi,bi)),yi=1,Ti(Ci)))}function $i(t,n,e){var r=new Ei;return n=null==n?0:+n,r.restart((e=>{r.stop(),t(e+n)}),n,e),r}Ei.prototype=Ni.prototype={constructor:Ei,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Ai():+e)+(null==n?0:+n),this._next||gi===this||(gi?gi._next=this:pi=this,gi=this),this._call=t,this._time=e,zi()},stop:function(){this._call&&(this._call=null,this._time=1/0,zi())}};var Di=$t("start","end","cancel","interrupt"),Ri=[],Fi=0,qi=1,Ui=2,Ii=3,Oi=4,Bi=5,Yi=6;function Li(t,n,e,r,i,o){var a=t.__transition;if(a){if(e in a)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(t){e.state=qi,e.timer.restart(a,e.delay,e.time),e.delay<=t&&a(t-e.delay)}function a(o){var f,s,l,h;if(e.state!==qi)return c();for(f in i)if((h=i[f]).name===e.name){if(h.state===Ii)return $i(a);h.state===Oi?(h.state=Yi,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[f]):+fFi)throw new Error("too late; already scheduled");return e}function Hi(t,n){var e=Xi(t,n);if(e.state>Ii)throw new Error("too late; already running");return e}function Xi(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function Gi(t,n){var e,r,i,o=t.__transition,a=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>Ui&&e.state=0&&(t=t.slice(0,n)),!t||"start"===t}))}(n)?ji:Hi;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(n,e),a.on=i}}(e,t,n))},attr:function(t,n){var e=It(t),r="transform"===e?ni:Ki;return this.attrTween(t,"function"==typeof n?(e.local?ro:eo)(e,r,Zi(this,"attr."+t,n)):null==n?(e.local?Ji:Qi)(e):(e.local?no:to)(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=It(t);return this.tween(e,(r.local?io:oo)(r,n))},style:function(t,n,e){var r="transform"==(t+="")?ti:Ki;return null==n?this.styleTween(t,function(t,n){var e,r,i;return function(){var o=_n(this,t),a=(this.style.removeProperty(t),_n(this,t));return o===a?null:o===e&&a===r?i:i=n(e=o,r=a)}}(t,r)).on("end.style."+t,lo(t)):"function"==typeof n?this.styleTween(t,function(t,n,e){var r,i,o;return function(){var a=_n(this,t),u=e(this),c=u+"";return null==u&&(this.style.removeProperty(t),c=u=_n(this,t)),a===c?null:a===r&&c===i?o:(i=c,o=n(r=a,u))}}(t,r,Zi(this,"style."+t,n))).each(function(t,n){var e,r,i,o,a="style."+n,u="end."+a;return function(){var c=Hi(this,t),f=c.on,s=null==c.value[a]?o||(o=lo(n)):void 0;f===e&&i===s||(r=(e=f).copy()).on(u,i=s),c.on=r}}(this._id,t)):this.styleTween(t,function(t,n,e){var r,i,o=e+"";return function(){var a=_n(this,t);return a===o?null:a===r?i:i=n(r=a,e)}}(t,r,n),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,function(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,n,e){return function(r){this.style.setProperty(t,n.call(this,r),e)}}(t,o,e)),r}return o._value=n,o}(t,n,null==e?"":e))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var n=t(this);this.textContent=null==n?"":n}}(Zi(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;return this.tween(n,function(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){return function(n){this.textContent=t.call(this,n)}}(r)),n}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}(this._id))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=Xi(this.node(),e).tween,o=0,a=i.length;o()=>t;function Qo(t,{sourceEvent:n,target:e,selection:r,mode:i,dispatch:o}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},selection:{value:r,enumerable:!0,configurable:!0},mode:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function Jo(t){t.preventDefault(),t.stopImmediatePropagation()}var ta={name:"drag"},na={name:"space"},ea={name:"handle"},ra={name:"center"};const{abs:ia,max:oa,min:aa}=Math;function ua(t){return[+t[0],+t[1]]}function ca(t){return[ua(t[0]),ua(t[1])]}var fa={name:"x",handles:["w","e"].map(va),input:function(t,n){return null==t?null:[[+t[0],n[0][1]],[+t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},sa={name:"y",handles:["n","s"].map(va),input:function(t,n){return null==t?null:[[n[0][0],+t[0]],[n[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},la={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(va),input:function(t){return null==t?null:ca(t)},output:function(t){return t}},ha={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},da={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},pa={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},ga={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},ya={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function va(t){return{type:t}}function _a(t){return!t.ctrlKey&&!t.button}function ba(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function ma(){return navigator.maxTouchPoints||"ontouchstart"in this}function xa(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function wa(t){var n,e=ba,r=_a,i=ma,o=!0,a=$t("start","brush","end"),u=6;function c(n){var e=n.property("__brush",g).selectAll(".overlay").data([va("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",ha.overlay).merge(e).each((function(){var t=xa(this).extent;Zn(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),n.selectAll(".selection").data([va("selection")]).enter().append("rect").attr("class","selection").attr("cursor",ha.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=n.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return ha[t.type]})),n.each(f).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",h).filter(i).on("touchstart.brush",h).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function f(){var t=Zn(this),n=xa(this).selection;n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?n[1][0]-u/2:n[0][0]-u/2})).attr("y",(function(t){return"s"===t.type[0]?n[1][1]-u/2:n[0][1]-u/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+u:u})).attr("height",(function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+u:u}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function s(t,n,e){var r=t.__brush.emitter;return!r||e&&r.clean?new l(t,n,e):r}function l(t,n,e){this.that=t,this.args=n,this.state=t.__brush,this.active=0,this.clean=e}function h(e){if((!n||e.touches)&&r.apply(this,arguments)){var i,a,u,c,l,h,d,p,g,y,v,_=this,b=e.target.__data__.type,m="selection"===(o&&e.metaKey?b="overlay":b)?ta:o&&e.altKey?ra:ea,x=t===sa?null:ga[b],w=t===fa?null:ya[b],M=xa(_),T=M.extent,A=M.selection,S=T[0][0],E=T[0][1],N=T[1][0],k=T[1][1],C=0,P=0,z=x&&w&&o&&e.shiftKey,$=Array.from(e.touches||[e],(t=>{const n=t.identifier;return(t=ne(t,_)).point0=t.slice(),t.identifier=n,t}));Gi(_);var D=s(_,arguments,!0).beforestart();if("overlay"===b){A&&(g=!0);const n=[$[0],$[1]||$[0]];M.selection=A=[[i=t===sa?S:aa(n[0][0],n[1][0]),u=t===fa?E:aa(n[0][1],n[1][1])],[l=t===sa?N:oa(n[0][0],n[1][0]),d=t===fa?k:oa(n[0][1],n[1][1])]],$.length>1&&I(e)}else i=A[0][0],u=A[0][1],l=A[1][0],d=A[1][1];a=i,c=u,h=l,p=d;var R=Zn(_).attr("pointer-events","none"),F=R.selectAll(".overlay").attr("cursor",ha[b]);if(e.touches)D.moved=U,D.ended=O;else{var q=Zn(e.view).on("mousemove.brush",U,!0).on("mouseup.brush",O,!0);o&&q.on("keydown.brush",(function(t){switch(t.keyCode){case 16:z=x&&w;break;case 18:m===ea&&(x&&(l=h-C*x,i=a+C*x),w&&(d=p-P*w,u=c+P*w),m=ra,I(t));break;case 32:m!==ea&&m!==ra||(x<0?l=h-C:x>0&&(i=a-C),w<0?d=p-P:w>0&&(u=c-P),m=na,F.attr("cursor",ha.selection),I(t));break;default:return}Jo(t)}),!0).on("keyup.brush",(function(t){switch(t.keyCode){case 16:z&&(y=v=z=!1,I(t));break;case 18:m===ra&&(x<0?l=h:x>0&&(i=a),w<0?d=p:w>0&&(u=c),m=ea,I(t));break;case 32:m===na&&(t.altKey?(x&&(l=h-C*x,i=a+C*x),w&&(d=p-P*w,u=c+P*w),m=ra):(x<0?l=h:x>0&&(i=a),w<0?d=p:w>0&&(u=c),m=ea),F.attr("cursor",ha[b]),I(t));break;default:return}Jo(t)}),!0),ae(e.view)}f.call(_),D.start(e,m.name)}function U(t){for(const n of t.changedTouches||[t])for(const t of $)t.identifier===n.identifier&&(t.cur=ne(n,_));if(z&&!y&&!v&&1===$.length){const t=$[0];ia(t.cur[0]-t[0])>ia(t.cur[1]-t[1])?v=!0:y=!0}for(const t of $)t.cur&&(t[0]=t.cur[0],t[1]=t.cur[1]);g=!0,Jo(t),I(t)}function I(t){const n=$[0],e=n.point0;var r;switch(C=n[0]-e[0],P=n[1]-e[1],m){case na:case ta:x&&(C=oa(S-i,aa(N-l,C)),a=i+C,h=l+C),w&&(P=oa(E-u,aa(k-d,P)),c=u+P,p=d+P);break;case ea:$[1]?(x&&(a=oa(S,aa(N,$[0][0])),h=oa(S,aa(N,$[1][0])),x=1),w&&(c=oa(E,aa(k,$[0][1])),p=oa(E,aa(k,$[1][1])),w=1)):(x<0?(C=oa(S-i,aa(N-i,C)),a=i+C,h=l):x>0&&(C=oa(S-l,aa(N-l,C)),a=i,h=l+C),w<0?(P=oa(E-u,aa(k-u,P)),c=u+P,p=d):w>0&&(P=oa(E-d,aa(k-d,P)),c=u,p=d+P));break;case ra:x&&(a=oa(S,aa(N,i-C*x)),h=oa(S,aa(N,l+C*x))),w&&(c=oa(E,aa(k,u-P*w)),p=oa(E,aa(k,d+P*w)))}ht+e))}function za(t,n){var e=0,r=null,i=null,o=null;function a(a){var u,c=a.length,f=new Array(c),s=Pa(0,c),l=new Array(c*c),h=new Array(c),d=0;a=Float64Array.from({length:c*c},n?(t,n)=>a[n%c][n/c|0]:(t,n)=>a[n/c|0][n%c]);for(let n=0;nr(f[t],f[n])));for(const e of s){const r=n;if(t){const t=Pa(1+~c,c).filter((t=>t<0?a[~t*c+e]:a[e*c+t]));i&&t.sort(((t,n)=>i(t<0?-a[~t*c+e]:a[e*c+t],n<0?-a[~n*c+e]:a[e*c+n])));for(const r of t)if(r<0){(l[~r*c+e]||(l[~r*c+e]={source:null,target:null})).target={index:e,startAngle:n,endAngle:n+=a[~r*c+e]*d,value:a[~r*c+e]}}else{(l[e*c+r]||(l[e*c+r]={source:null,target:null})).source={index:e,startAngle:n,endAngle:n+=a[e*c+r]*d,value:a[e*c+r]}}h[e]={index:e,startAngle:r,endAngle:n,value:f[e]}}else{const t=Pa(0,c).filter((t=>a[e*c+t]||a[t*c+e]));i&&t.sort(((t,n)=>i(a[e*c+t],a[e*c+n])));for(const r of t){let t;if(e=0))throw new Error(`invalid digits: ${t}`);if(n>15)return qa;const e=10**n;return function(t){this._+=t[0];for(let n=1,r=t.length;nRa)if(Math.abs(s*u-c*f)>Ra&&i){let h=e-o,d=r-a,p=u*u+c*c,g=h*h+d*d,y=Math.sqrt(p),v=Math.sqrt(l),_=i*Math.tan(($a-Math.acos((p+l-g)/(2*y*v)))/2),b=_/v,m=_/y;Math.abs(b-1)>Ra&&this._append`L${t+b*f},${n+b*s}`,this._append`A${i},${i},0,0,${+(s*h>f*d)},${this._x1=t+m*u},${this._y1=n+m*c}`}else this._append`L${this._x1=t},${this._y1=n}`;else;}arc(t,n,e,r,i,o){if(t=+t,n=+n,o=!!o,(e=+e)<0)throw new Error(`negative radius: ${e}`);let a=e*Math.cos(r),u=e*Math.sin(r),c=t+a,f=n+u,s=1^o,l=o?r-i:i-r;null===this._x1?this._append`M${c},${f}`:(Math.abs(this._x1-c)>Ra||Math.abs(this._y1-f)>Ra)&&this._append`L${c},${f}`,e&&(l<0&&(l=l%Da+Da),l>Fa?this._append`A${e},${e},0,1,${s},${t-a},${n-u}A${e},${e},0,1,${s},${this._x1=c},${this._y1=f}`:l>Ra&&this._append`A${e},${e},0,${+(l>=$a)},${s},${this._x1=t+e*Math.cos(i)},${this._y1=n+e*Math.sin(i)}`)}rect(t,n,e,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${e=+e}v${+r}h${-e}Z`}toString(){return this._}};function Ia(){return new Ua}Ia.prototype=Ua.prototype;var Oa=Array.prototype.slice;function Ba(t){return function(){return t}}function Ya(t){return t.source}function La(t){return t.target}function ja(t){return t.radius}function Ha(t){return t.startAngle}function Xa(t){return t.endAngle}function Ga(){return 0}function Va(){return 10}function Wa(t){var n=Ya,e=La,r=ja,i=ja,o=Ha,a=Xa,u=Ga,c=null;function f(){var f,s=n.apply(this,arguments),l=e.apply(this,arguments),h=u.apply(this,arguments)/2,d=Oa.call(arguments),p=+r.apply(this,(d[0]=s,d)),g=o.apply(this,d)-Ea,y=a.apply(this,d)-Ea,v=+i.apply(this,(d[0]=l,d)),_=o.apply(this,d)-Ea,b=a.apply(this,d)-Ea;if(c||(c=f=Ia()),h>Ca&&(Ma(y-g)>2*h+Ca?y>g?(g+=h,y-=h):(g-=h,y+=h):g=y=(g+y)/2,Ma(b-_)>2*h+Ca?b>_?(_+=h,b-=h):(_-=h,b+=h):_=b=(_+b)/2),c.moveTo(p*Ta(g),p*Aa(g)),c.arc(0,0,p,g,y),g!==_||y!==b)if(t){var m=v-+t.apply(this,arguments),x=(_+b)/2;c.quadraticCurveTo(0,0,m*Ta(_),m*Aa(_)),c.lineTo(v*Ta(x),v*Aa(x)),c.lineTo(m*Ta(b),m*Aa(b))}else c.quadraticCurveTo(0,0,v*Ta(_),v*Aa(_)),c.arc(0,0,v,_,b);if(c.quadraticCurveTo(0,0,p*Ta(g),p*Aa(g)),c.closePath(),f)return c=null,f+""||null}return t&&(f.headRadius=function(n){return arguments.length?(t="function"==typeof n?n:Ba(+n),f):t}),f.radius=function(t){return arguments.length?(r=i="function"==typeof t?t:Ba(+t),f):r},f.sourceRadius=function(t){return arguments.length?(r="function"==typeof t?t:Ba(+t),f):r},f.targetRadius=function(t){return arguments.length?(i="function"==typeof t?t:Ba(+t),f):i},f.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:Ba(+t),f):o},f.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:Ba(+t),f):a},f.padAngle=function(t){return arguments.length?(u="function"==typeof t?t:Ba(+t),f):u},f.source=function(t){return arguments.length?(n=t,f):n},f.target=function(t){return arguments.length?(e=t,f):e},f.context=function(t){return arguments.length?(c=null==t?null:t,f):c},f}var Za=Array.prototype.slice;function Ka(t,n){return t-n}var Qa=t=>()=>t;function Ja(t,n){for(var e,r=-1,i=n.length;++rr!=d>r&&e<(h-f)*(r-s)/(d-s)+f&&(i=-i)}return i}function nu(t,n,e){var r,i,o,a;return function(t,n,e){return(n[0]-t[0])*(e[1]-t[1])==(e[0]-t[0])*(n[1]-t[1])}(t,n,e)&&(i=t[r=+(t[0]===n[0])],o=e[r],a=n[r],i<=o&&o<=a||a<=o&&o<=i)}function eu(){}var ru=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function iu(){var t=1,n=1,e=K,r=u;function i(t){var n=e(t);if(Array.isArray(n))n=n.slice().sort(Ka);else{const e=M(t,ou);for(n=G(...Z(e[0],e[1],n),n);n[n.length-1]>=e[1];)n.pop();for(;n[1]o(t,n)))}function o(e,i){const o=null==i?NaN:+i;if(isNaN(o))throw new Error(`invalid value: ${i}`);var u=[],c=[];return function(e,r,i){var o,u,c,f,s,l,h=new Array,d=new Array;o=u=-1,f=au(e[0],r),ru[f<<1].forEach(p);for(;++o=r,ru[s<<2].forEach(p);for(;++o0?u.push([t]):c.push(t)})),c.forEach((function(t){for(var n,e=0,r=u.length;e0&&o0&&a=0&&o>=0))throw new Error("invalid size");return t=r,n=o,i},i.thresholds=function(t){return arguments.length?(e="function"==typeof t?t:Array.isArray(t)?Qa(Za.call(t)):Qa(t),i):e},i.smooth=function(t){return arguments.length?(r=t?u:eu,i):r===u},i}function ou(t){return isFinite(t)?t:NaN}function au(t,n){return null!=t&&+t>=n}function uu(t){return null==t||isNaN(t=+t)?-1/0:t}function cu(t,n,e,r){const i=r-n,o=e-n,a=isFinite(i)||isFinite(o)?i/o:Math.sign(i)/Math.sign(o);return isNaN(a)?t:t+a-.5}function fu(t){return t[0]}function su(t){return t[1]}function lu(){return 1}const hu=134217729,du=33306690738754706e-32;function pu(t,n,e,r,i){let o,a,u,c,f=n[0],s=r[0],l=0,h=0;s>f==s>-f?(o=f,f=n[++l]):(o=s,s=r[++h]);let d=0;if(lf==s>-f?(a=f+o,u=o-(a-f),f=n[++l]):(a=s+o,u=o-(a-s),s=r[++h]),o=a,0!==u&&(i[d++]=u);lf==s>-f?(a=o+f,c=a-o,u=o-(a-c)+(f-c),f=n[++l]):(a=o+s,c=a-o,u=o-(a-c)+(s-c),s=r[++h]),o=a,0!==u&&(i[d++]=u);for(;l=33306690738754716e-32*f?c:-function(t,n,e,r,i,o,a){let u,c,f,s,l,h,d,p,g,y,v,_,b,m,x,w,M,T;const A=t-i,S=e-i,E=n-o,N=r-o;m=A*N,h=hu*A,d=h-(h-A),p=A-d,h=hu*N,g=h-(h-N),y=N-g,x=p*y-(m-d*g-p*g-d*y),w=E*S,h=hu*E,d=h-(h-E),p=E-d,h=hu*S,g=h-(h-S),y=S-g,M=p*y-(w-d*g-p*g-d*y),v=x-M,l=x-v,_u[0]=x-(v+l)+(l-M),_=m+v,l=_-m,b=m-(_-l)+(v-l),v=b-w,l=b-v,_u[1]=b-(v+l)+(l-w),T=_+v,l=T-_,_u[2]=_-(T-l)+(v-l),_u[3]=T;let k=function(t,n){let e=n[0];for(let r=1;r=C||-k>=C)return k;if(l=t-A,u=t-(A+l)+(l-i),l=e-S,f=e-(S+l)+(l-i),l=n-E,c=n-(E+l)+(l-o),l=r-N,s=r-(N+l)+(l-o),0===u&&0===c&&0===f&&0===s)return k;if(C=vu*a+du*Math.abs(k),k+=A*s+N*u-(E*f+S*c),k>=C||-k>=C)return k;m=u*N,h=hu*u,d=h-(h-u),p=u-d,h=hu*N,g=h-(h-N),y=N-g,x=p*y-(m-d*g-p*g-d*y),w=c*S,h=hu*c,d=h-(h-c),p=c-d,h=hu*S,g=h-(h-S),y=S-g,M=p*y-(w-d*g-p*g-d*y),v=x-M,l=x-v,wu[0]=x-(v+l)+(l-M),_=m+v,l=_-m,b=m-(_-l)+(v-l),v=b-w,l=b-v,wu[1]=b-(v+l)+(l-w),T=_+v,l=T-_,wu[2]=_-(T-l)+(v-l),wu[3]=T;const P=pu(4,_u,4,wu,bu);m=A*s,h=hu*A,d=h-(h-A),p=A-d,h=hu*s,g=h-(h-s),y=s-g,x=p*y-(m-d*g-p*g-d*y),w=E*f,h=hu*E,d=h-(h-E),p=E-d,h=hu*f,g=h-(h-f),y=f-g,M=p*y-(w-d*g-p*g-d*y),v=x-M,l=x-v,wu[0]=x-(v+l)+(l-M),_=m+v,l=_-m,b=m-(_-l)+(v-l),v=b-w,l=b-v,wu[1]=b-(v+l)+(l-w),T=_+v,l=T-_,wu[2]=_-(T-l)+(v-l),wu[3]=T;const z=pu(P,bu,4,wu,mu);m=u*s,h=hu*u,d=h-(h-u),p=u-d,h=hu*s,g=h-(h-s),y=s-g,x=p*y-(m-d*g-p*g-d*y),w=c*f,h=hu*c,d=h-(h-c),p=c-d,h=hu*f,g=h-(h-f),y=f-g,M=p*y-(w-d*g-p*g-d*y),v=x-M,l=x-v,wu[0]=x-(v+l)+(l-M),_=m+v,l=_-m,b=m-(_-l)+(v-l),v=b-w,l=b-v,wu[1]=b-(v+l)+(l-w),T=_+v,l=T-_,wu[2]=_-(T-l)+(v-l),wu[3]=T;const $=pu(z,mu,4,wu,xu);return xu[$-1]}(t,n,e,r,i,o,f)}const Tu=Math.pow(2,-52),Au=new Uint32Array(512);class Su{static from(t,n=zu,e=$u){const r=t.length,i=new Float64Array(2*r);for(let o=0;o>1;if(n>0&&"number"!=typeof t[0])throw new Error("Expected coords to contain numbers.");this.coords=t;const e=Math.max(2*n-5,0);this._triangles=new Uint32Array(3*e),this._halfedges=new Int32Array(3*e),this._hashSize=Math.ceil(Math.sqrt(n)),this._hullPrev=new Uint32Array(n),this._hullNext=new Uint32Array(n),this._hullTri=new Uint32Array(n),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(n),this._dists=new Float64Array(n),this.update()}update(){const{coords:t,_hullPrev:n,_hullNext:e,_hullTri:r,_hullHash:i}=this,o=t.length>>1;let a=1/0,u=1/0,c=-1/0,f=-1/0;for(let n=0;nc&&(c=e),r>f&&(f=r),this._ids[n]=n}const s=(a+c)/2,l=(u+f)/2;let h,d,p;for(let n=0,e=1/0;n0&&(d=n,e=r)}let v=t[2*d],_=t[2*d+1],b=1/0;for(let n=0;nr&&(n[e++]=i,r=o)}return this.hull=n.subarray(0,e),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(Mu(g,y,v,_,m,x)<0){const t=d,n=v,e=_;d=p,v=m,_=x,p=t,m=n,x=e}const w=function(t,n,e,r,i,o){const a=e-t,u=r-n,c=i-t,f=o-n,s=a*a+u*u,l=c*c+f*f,h=.5/(a*f-u*c),d=t+(f*s-u*l)*h,p=n+(a*l-c*s)*h;return{x:d,y:p}}(g,y,v,_,m,x);this._cx=w.x,this._cy=w.y;for(let n=0;n0&&Math.abs(f-o)<=Tu&&Math.abs(s-a)<=Tu)continue;if(o=f,a=s,c===h||c===d||c===p)continue;let l=0;for(let t=0,n=this._hashKey(f,s);t=0;)if(y=g,y===l){y=-1;break}if(-1===y)continue;let v=this._addTriangle(y,c,e[y],-1,-1,r[y]);r[c]=this._legalize(v+2),r[y]=v,M++;let _=e[y];for(;g=e[_],Mu(f,s,t[2*_],t[2*_+1],t[2*g],t[2*g+1])<0;)v=this._addTriangle(_,c,g,r[c],-1,r[_]),r[c]=this._legalize(v+2),e[_]=_,M--,_=g;if(y===l)for(;g=n[y],Mu(f,s,t[2*g],t[2*g+1],t[2*y],t[2*y+1])<0;)v=this._addTriangle(g,c,y,-1,r[y],r[g]),this._legalize(v+2),r[g]=v,e[y]=y,M--,y=g;this._hullStart=n[c]=y,e[y]=n[_]=c,e[c]=_,i[this._hashKey(f,s)]=c,i[this._hashKey(t[2*y],t[2*y+1])]=y}this.hull=new Uint32Array(M);for(let t=0,n=this._hullStart;t0?3-e:1+e)/4}(t-this._cx,n-this._cy)*this._hashSize)%this._hashSize}_legalize(t){const{_triangles:n,_halfedges:e,coords:r}=this;let i=0,o=0;for(;;){const a=e[t],u=t-t%3;if(o=u+(t+2)%3,-1===a){if(0===i)break;t=Au[--i];continue}const c=a-a%3,f=u+(t+1)%3,s=c+(a+2)%3,l=n[o],h=n[t],d=n[f],p=n[s];if(Nu(r[2*l],r[2*l+1],r[2*h],r[2*h+1],r[2*d],r[2*d+1],r[2*p],r[2*p+1])){n[t]=p,n[a]=l;const r=e[s];if(-1===r){let n=this._hullStart;do{if(this._hullTri[n]===s){this._hullTri[n]=t;break}n=this._hullPrev[n]}while(n!==this._hullStart)}this._link(t,r),this._link(a,e[o]),this._link(o,s);const u=c+(a+1)%3;i=e&&n[t[a]]>o;)t[a+1]=t[a--];t[a+1]=r}else{let i=e+1,o=r;Pu(t,e+r>>1,i),n[t[e]]>n[t[r]]&&Pu(t,e,r),n[t[i]]>n[t[r]]&&Pu(t,i,r),n[t[e]]>n[t[i]]&&Pu(t,e,i);const a=t[i],u=n[a];for(;;){do{i++}while(n[t[i]]u);if(o=o-e?(Cu(t,n,i,r),Cu(t,n,e,o-1)):(Cu(t,n,e,o-1),Cu(t,n,i,r))}}function Pu(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function zu(t){return t[0]}function $u(t){return t[1]}const Du=1e-6;class Ru{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(t,n){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(t,n){this._+=`L${this._x1=+t},${this._y1=+n}`}arc(t,n,e){const r=(t=+t)+(e=+e),i=n=+n;if(e<0)throw new Error("negative radius");null===this._x1?this._+=`M${r},${i}`:(Math.abs(this._x1-r)>Du||Math.abs(this._y1-i)>Du)&&(this._+="L"+r+","+i),e&&(this._+=`A${e},${e},0,1,1,${t-e},${n}A${e},${e},0,1,1,${this._x1=r},${this._y1=i}`)}rect(t,n,e,r){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${+e}v${+r}h${-e}Z`}value(){return this._||null}}class Fu{constructor(){this._=[]}moveTo(t,n){this._.push([t,n])}closePath(){this._.push(this._[0].slice())}lineTo(t,n){this._.push([t,n])}value(){return this._.length?this._:null}}class qu{constructor(t,[n,e,r,i]=[0,0,960,500]){if(!((r=+r)>=(n=+n)&&(i=+i)>=(e=+e)))throw new Error("invalid bounds");this.delaunay=t,this._circumcenters=new Float64Array(2*t.points.length),this.vectors=new Float64Array(2*t.points.length),this.xmax=r,this.xmin=n,this.ymax=i,this.ymin=e,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:t,hull:n,triangles:e},vectors:r}=this;let i,o;const a=this.circumcenters=this._circumcenters.subarray(0,e.length/3*2);for(let r,u,c=0,f=0,s=e.length;c1;)i-=2;for(let t=2;t0){if(n>=this.ymax)return null;(i=(this.ymax-n)/r)0){if(t>=this.xmax)return null;(i=(this.xmax-t)/e)this.xmax?2:0)|(nthis.ymax?8:0)}_simplify(t){if(t&&t.length>4){for(let n=0;n2&&function(t){const{triangles:n,coords:e}=t;for(let t=0;t1e-10)return!1}return!0}(t)){this.collinear=Int32Array.from({length:n.length/2},((t,n)=>n)).sort(((t,e)=>n[2*t]-n[2*e]||n[2*t+1]-n[2*e+1]));const t=this.collinear[0],e=this.collinear[this.collinear.length-1],r=[n[2*t],n[2*t+1],n[2*e],n[2*e+1]],i=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let t=0,e=n.length/2;t0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],o[r[0]]=1,2===r.length&&(o[r[1]]=0,this.triangles[1]=r[1],this.triangles[2]=r[1]))}voronoi(t){return new qu(this,t)}*neighbors(t){const{inedges:n,hull:e,_hullIndex:r,halfedges:i,triangles:o,collinear:a}=this;if(a){const n=a.indexOf(t);return n>0&&(yield a[n-1]),void(n=0&&i!==e&&i!==r;)e=i;return i}_step(t,n,e){const{inedges:r,hull:i,_hullIndex:o,halfedges:a,triangles:u,points:c}=this;if(-1===r[t]||!c.length)return(t+1)%(c.length>>1);let f=t,s=Iu(n-c[2*t],2)+Iu(e-c[2*t+1],2);const l=r[t];let h=l;do{let r=u[h];const l=Iu(n-c[2*r],2)+Iu(e-c[2*r+1],2);if(l9999?"+"+Ku(n,6):Ku(n,4))+"-"+Ku(t.getUTCMonth()+1,2)+"-"+Ku(t.getUTCDate(),2)+(o?"T"+Ku(e,2)+":"+Ku(r,2)+":"+Ku(i,2)+"."+Ku(o,3)+"Z":i?"T"+Ku(e,2)+":"+Ku(r,2)+":"+Ku(i,2)+"Z":r||e?"T"+Ku(e,2)+":"+Ku(r,2)+"Z":"")}function Ju(t){var n=new RegExp('["'+t+"\n\r]"),e=t.charCodeAt(0);function r(t,n){var r,i=[],o=t.length,a=0,u=0,c=o<=0,f=!1;function s(){if(c)return Hu;if(f)return f=!1,ju;var n,r,i=a;if(t.charCodeAt(i)===Xu){for(;a++=o?c=!0:(r=t.charCodeAt(a++))===Gu?f=!0:r===Vu&&(f=!0,t.charCodeAt(a)===Gu&&++a),t.slice(i+1,n-1).replace(/""/g,'"')}for(;amc(n,e).then((n=>(new DOMParser).parseFromString(n,t)))}var Sc=Ac("application/xml"),Ec=Ac("text/html"),Nc=Ac("image/svg+xml");function kc(t,n,e,r){if(isNaN(n)||isNaN(e))return t;var i,o,a,u,c,f,s,l,h,d=t._root,p={data:r},g=t._x0,y=t._y0,v=t._x1,_=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((f=n>=(o=(g+v)/2))?g=o:v=o,(s=e>=(a=(y+_)/2))?y=a:_=a,i=d,!(d=d[l=s<<1|f]))return i[l]=p,t;if(u=+t._x.call(null,d.data),c=+t._y.call(null,d.data),n===u&&e===c)return p.next=d,i?i[l]=p:t._root=p,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(o=(g+v)/2))?g=o:v=o,(s=e>=(a=(y+_)/2))?y=a:_=a}while((l=s<<1|f)==(h=(c>=a)<<1|u>=o));return i[h]=d,i[l]=p,t}function Cc(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i}function Pc(t){return t[0]}function zc(t){return t[1]}function $c(t,n,e){var r=new Dc(null==n?Pc:n,null==e?zc:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function Dc(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Rc(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}var Fc=$c.prototype=Dc.prototype;function qc(t){return function(){return t}}function Uc(t){return 1e-6*(t()-.5)}function Ic(t){return t.x+t.vx}function Oc(t){return t.y+t.vy}function Bc(t){return t.index}function Yc(t,n){var e=t.get(n);if(!e)throw new Error("node not found: "+n);return e}Fc.copy=function(){var t,n,e=new Dc(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=Rc(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=Rc(n));return e},Fc.add=function(t){const n=+this._x.call(null,t),e=+this._y.call(null,t);return kc(this.cover(n,e),n,e,t)},Fc.addAll=function(t){var n,e,r,i,o=t.length,a=new Array(o),u=new Array(o),c=1/0,f=1/0,s=-1/0,l=-1/0;for(e=0;es&&(s=r),il&&(l=i));if(c>s||f>l)return this;for(this.cover(c,f).cover(s,l),e=0;et||t>=i||r>n||n>=o;)switch(u=(nh||(o=c.y0)>d||(a=c.x1)=v)<<1|t>=y)&&(c=p[p.length-1],p[p.length-1]=p[p.length-1-f],p[p.length-1-f]=c)}else{var _=t-+this._x.call(null,g.data),b=n-+this._y.call(null,g.data),m=_*_+b*b;if(m=(u=(p+y)/2))?p=u:y=u,(s=a>=(c=(g+v)/2))?g=c:v=c,n=d,!(d=d[l=s<<1|f]))return this;if(!d.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[h]=d:this._root=d),this):(this._root=i,this)},Fc.removeAll=function(t){for(var n=0,e=t.length;n1?r[0]+r.slice(2):r,+t.slice(e+1)]}function Zc(t){return(t=Wc(Math.abs(t)))?t[1]:NaN}var Kc,Qc=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Jc(t){if(!(n=Qc.exec(t)))throw new Error("invalid format: "+t);var n;return new tf({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function tf(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function nf(t,n){var e=Wc(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}Jc.prototype=tf.prototype,tf.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var ef={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>nf(100*t,n),r:nf,s:function(t,n){var e=Wc(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(Kc=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Wc(t,Math.max(0,n+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function rf(t){return t}var of,af=Array.prototype.map,uf=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function cf(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?rf:(n=af.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,u=n[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),o.push(t.substring(i-=u,i+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return o.reverse().join(e)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?rf:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(af.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",f=void 0===t.minus?"−":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function l(t){var n=(t=Jc(t)).fill,e=t.align,l=t.sign,h=t.symbol,d=t.zero,p=t.width,g=t.comma,y=t.precision,v=t.trim,_=t.type;"n"===_?(g=!0,_="g"):ef[_]||(void 0===y&&(y=12),v=!0,_="g"),(d||"0"===n&&"="===e)&&(d=!0,n="0",e="=");var b="$"===h?i:"#"===h&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",m="$"===h?o:/[%p]/.test(_)?c:"",x=ef[_],w=/[defgprs%]/.test(_);function M(t){var i,o,c,h=b,M=m;if("c"===_)M=x(t)+M,t="";else{var T=(t=+t)<0||1/t<0;if(t=isNaN(t)?s:x(Math.abs(t),y),v&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),T&&0==+t&&"+"!==l&&(T=!1),h=(T?"("===l?l:f:"-"===l||"("===l?"":l)+h,M=("s"===_?uf[8+Kc/3]:"")+M+(T&&"("===l?")":""),w)for(i=-1,o=t.length;++i(c=t.charCodeAt(i))||c>57){M=(46===c?a+t.slice(i+1):t.slice(i))+M,t=t.slice(0,i);break}}g&&!d&&(t=r(t,1/0));var A=h.length+t.length+M.length,S=A>1)+h+t+M+S.slice(A);break;default:t=S+h+t+M}return u(t)}return y=void 0===y?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),M.toString=function(){return t+""},M}return{format:l,formatPrefix:function(t,n){var e=l(((t=Jc(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Zc(n)/3))),i=Math.pow(10,-r),o=uf[8+r/3];return function(t){return e(i*t)+o}}}}function ff(n){return of=cf(n),t.format=of.format,t.formatPrefix=of.formatPrefix,of}function sf(t){return Math.max(0,-Zc(Math.abs(t)))}function lf(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Zc(n)/3)))-Zc(Math.abs(t)))}function hf(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Zc(n)-Zc(t))+1}t.format=void 0,t.formatPrefix=void 0,ff({thousands:",",grouping:[3],currency:["$",""]});var df=1e-6,pf=1e-12,gf=Math.PI,yf=gf/2,vf=gf/4,_f=2*gf,bf=180/gf,mf=gf/180,xf=Math.abs,wf=Math.atan,Mf=Math.atan2,Tf=Math.cos,Af=Math.ceil,Sf=Math.exp,Ef=Math.hypot,Nf=Math.log,kf=Math.pow,Cf=Math.sin,Pf=Math.sign||function(t){return t>0?1:t<0?-1:0},zf=Math.sqrt,$f=Math.tan;function Df(t){return t>1?0:t<-1?gf:Math.acos(t)}function Rf(t){return t>1?yf:t<-1?-yf:Math.asin(t)}function Ff(t){return(t=Cf(t/2))*t}function qf(){}function Uf(t,n){t&&Of.hasOwnProperty(t.type)&&Of[t.type](t,n)}var If={Feature:function(t,n){Uf(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r=0?1:-1,i=r*e,o=Tf(n=(n*=mf)/2+vf),a=Cf(n),u=Vf*a,c=Gf*o+u*Tf(i),f=u*r*Cf(i);as.add(Mf(f,c)),Xf=t,Gf=o,Vf=a}function ds(t){return[Mf(t[1],t[0]),Rf(t[2])]}function ps(t){var n=t[0],e=t[1],r=Tf(e);return[r*Tf(n),r*Cf(n),Cf(e)]}function gs(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function ys(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function vs(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function _s(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function bs(t){var n=zf(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var ms,xs,ws,Ms,Ts,As,Ss,Es,Ns,ks,Cs,Ps,zs,$s,Ds,Rs,Fs={point:qs,lineStart:Is,lineEnd:Os,polygonStart:function(){Fs.point=Bs,Fs.lineStart=Ys,Fs.lineEnd=Ls,rs=new T,cs.polygonStart()},polygonEnd:function(){cs.polygonEnd(),Fs.point=qs,Fs.lineStart=Is,Fs.lineEnd=Os,as<0?(Wf=-(Kf=180),Zf=-(Qf=90)):rs>df?Qf=90:rs<-df&&(Zf=-90),os[0]=Wf,os[1]=Kf},sphere:function(){Wf=-(Kf=180),Zf=-(Qf=90)}};function qs(t,n){is.push(os=[Wf=t,Kf=t]),nQf&&(Qf=n)}function Us(t,n){var e=ps([t*mf,n*mf]);if(es){var r=ys(es,e),i=ys([r[1],-r[0],0],r);bs(i),i=ds(i);var o,a=t-Jf,u=a>0?1:-1,c=i[0]*bf*u,f=xf(a)>180;f^(u*JfQf&&(Qf=o):f^(u*Jf<(c=(c+360)%360-180)&&cQf&&(Qf=n)),f?tjs(Wf,Kf)&&(Kf=t):js(t,Kf)>js(Wf,Kf)&&(Wf=t):Kf>=Wf?(tKf&&(Kf=t)):t>Jf?js(Wf,t)>js(Wf,Kf)&&(Kf=t):js(t,Kf)>js(Wf,Kf)&&(Wf=t)}else is.push(os=[Wf=t,Kf=t]);nQf&&(Qf=n),es=e,Jf=t}function Is(){Fs.point=Us}function Os(){os[0]=Wf,os[1]=Kf,Fs.point=qs,es=null}function Bs(t,n){if(es){var e=t-Jf;rs.add(xf(e)>180?e+(e>0?360:-360):e)}else ts=t,ns=n;cs.point(t,n),Us(t,n)}function Ys(){cs.lineStart()}function Ls(){Bs(ts,ns),cs.lineEnd(),xf(rs)>df&&(Wf=-(Kf=180)),os[0]=Wf,os[1]=Kf,es=null}function js(t,n){return(n-=t)<0?n+360:n}function Hs(t,n){return t[0]-n[0]}function Xs(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:ngf&&(t-=Math.round(t/_f)*_f),[t,n]}function ul(t,n,e){return(t%=_f)?n||e?ol(fl(t),sl(n,e)):fl(t):n||e?sl(n,e):al}function cl(t){return function(n,e){return xf(n+=t)>gf&&(n-=Math.round(n/_f)*_f),[n,e]}}function fl(t){var n=cl(t);return n.invert=cl(-t),n}function sl(t,n){var e=Tf(t),r=Cf(t),i=Tf(n),o=Cf(n);function a(t,n){var a=Tf(n),u=Tf(t)*a,c=Cf(t)*a,f=Cf(n),s=f*e+u*r;return[Mf(c*i-s*o,u*e-f*r),Rf(s*i+c*o)]}return a.invert=function(t,n){var a=Tf(n),u=Tf(t)*a,c=Cf(t)*a,f=Cf(n),s=f*i-c*o;return[Mf(c*i+f*o,u*e+s*r),Rf(s*e-u*r)]},a}function ll(t){function n(n){return(n=t(n[0]*mf,n[1]*mf))[0]*=bf,n[1]*=bf,n}return t=ul(t[0]*mf,t[1]*mf,t.length>2?t[2]*mf:0),n.invert=function(n){return(n=t.invert(n[0]*mf,n[1]*mf))[0]*=bf,n[1]*=bf,n},n}function hl(t,n,e,r,i,o){if(e){var a=Tf(n),u=Cf(n),c=r*e;null==i?(i=n+r*_f,o=n-c/2):(i=dl(a,i),o=dl(a,o),(r>0?io)&&(i+=r*_f));for(var f,s=i;r>0?s>o:s1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function gl(t,n){return xf(t[0]-n[0])=0;--o)i.point((s=f[o])[0],s[1]);else r(h.x,h.p.x,-1,i);h=h.p}f=(h=h.o).z,d=!d}while(!h.v);i.lineEnd()}}}function _l(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0?1:-1,E=S*A,N=E>gf,k=y*w;if(c.add(Mf(k*S*Cf(E),v*M+k*Tf(E))),a+=N?A+S*_f:A,N^p>=e^m>=e){var C=ys(ps(d),ps(b));bs(C);var P=ys(o,C);bs(P);var z=(N^A>=0?-1:1)*Rf(P[2]);(r>z||r===z&&(C[0]||C[1]))&&(u+=N^A>=0?1:-1)}}return(a<-df||a0){for(l||(i.polygonStart(),l=!0),i.lineStart(),t=0;t1&&2&c&&h.push(h.pop().concat(h.shift())),a.push(h.filter(wl))}return h}}function wl(t){return t.length>1}function Ml(t,n){return((t=t.x)[0]<0?t[1]-yf-df:yf-t[1])-((n=n.x)[0]<0?n[1]-yf-df:yf-n[1])}al.invert=al;var Tl=xl((function(){return!0}),(function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,a){var u=o>0?gf:-gf,c=xf(o-e);xf(c-gf)0?yf:-yf),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),t.point(o,r),n=0):i!==u&&c>=gf&&(xf(e-i)df?wf((Cf(n)*(o=Tf(r))*Cf(e)-Cf(r)*(i=Tf(n))*Cf(t))/(i*o*a)):(n+r)/2}(e,r,o,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),n=0),t.point(e=o,r=a),i=u},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}),(function(t,n,e,r){var i;if(null==t)i=e*yf,r.point(-gf,i),r.point(0,i),r.point(gf,i),r.point(gf,0),r.point(gf,-i),r.point(0,-i),r.point(-gf,-i),r.point(-gf,0),r.point(-gf,i);else if(xf(t[0]-n[0])>df){var o=t[0]0,i=xf(n)>df;function o(t,e){return Tf(t)*Tf(e)>n}function a(t,e,r){var i=[1,0,0],o=ys(ps(t),ps(e)),a=gs(o,o),u=o[0],c=a-u*u;if(!c)return!r&&t;var f=n*a/c,s=-n*u/c,l=ys(i,o),h=_s(i,f);vs(h,_s(o,s));var d=l,p=gs(h,d),g=gs(d,d),y=p*p-g*(gs(h,h)-1);if(!(y<0)){var v=zf(y),_=_s(d,(-p-v)/g);if(vs(_,h),_=ds(_),!r)return _;var b,m=t[0],x=e[0],w=t[1],M=e[1];x0^_[1]<(xf(_[0]-m)gf^(m<=_[0]&&_[0]<=x)){var S=_s(d,(-p+v)/g);return vs(S,h),[_,ds(S)]}}}function u(n,e){var i=r?t:gf-t,o=0;return n<-i?o|=1:n>i&&(o|=2),e<-i?o|=4:e>i&&(o|=8),o}return xl(o,(function(t){var n,e,c,f,s;return{lineStart:function(){f=c=!1,s=1},point:function(l,h){var d,p=[l,h],g=o(l,h),y=r?g?0:u(l,h):g?u(l+(l<0?gf:-gf),h):0;if(!n&&(f=c=g)&&t.lineStart(),g!==c&&(!(d=a(n,p))||gl(n,d)||gl(p,d))&&(p[2]=1),g!==c)s=0,g?(t.lineStart(),d=a(p,n),t.point(d[0],d[1])):(d=a(n,p),t.point(d[0],d[1],2),t.lineEnd()),n=d;else if(i&&n&&r^g){var v;y&e||!(v=a(p,n,!0))||(s=0,r?(t.lineStart(),t.point(v[0][0],v[0][1]),t.point(v[1][0],v[1][1]),t.lineEnd()):(t.point(v[1][0],v[1][1]),t.lineEnd(),t.lineStart(),t.point(v[0][0],v[0][1],3)))}!g||n&&gl(n,p)||t.point(p[0],p[1]),n=p,c=g,e=y},lineEnd:function(){c&&t.lineEnd(),n=null},clean:function(){return s|(f&&c)<<1}}}),(function(n,r,i,o){hl(o,t,e,i,n,r)}),r?[0,-t]:[-gf,t-gf])}var Sl,El,Nl,kl,Cl=1e9,Pl=-Cl;function zl(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,u,f){var s=0,l=0;if(null==i||(s=a(i,u))!==(l=a(o,u))||c(i,o)<0^u>0)do{f.point(0===s||3===s?t:e,s>1?r:n)}while((s=(s+u+4)%4)!==l);else f.point(o[0],o[1])}function a(r,i){return xf(r[0]-t)0?0:3:xf(r[0]-e)0?2:1:xf(r[1]-n)0?1:0:i>0?3:2}function u(t,n){return c(t.x,n.x)}function c(t,n){var e=a(t,1),r=a(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(a){var c,f,s,l,h,d,p,g,y,v,_,b=a,m=pl(),x={point:w,lineStart:function(){x.point=M,f&&f.push(s=[]);v=!0,y=!1,p=g=NaN},lineEnd:function(){c&&(M(l,h),d&&y&&m.rejoin(),c.push(m.result()));x.point=w,y&&b.lineEnd()},polygonStart:function(){b=m,c=[],f=[],_=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,i=f.length;er&&(h-o)*(r-a)>(d-a)*(t-o)&&++n:d<=r&&(h-o)*(r-a)<(d-a)*(t-o)&&--n;return n}(),e=_&&n,i=(c=ft(c)).length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&vl(c,u,n,o,a),a.polygonEnd());b=a,c=f=s=null}};function w(t,n){i(t,n)&&b.point(t,n)}function M(o,a){var u=i(o,a);if(f&&s.push([o,a]),v)l=o,h=a,d=u,v=!1,u&&(b.lineStart(),b.point(o,a));else if(u&&y)b.point(o,a);else{var c=[p=Math.max(Pl,Math.min(Cl,p)),g=Math.max(Pl,Math.min(Cl,g))],m=[o=Math.max(Pl,Math.min(Cl,o)),a=Math.max(Pl,Math.min(Cl,a))];!function(t,n,e,r,i,o){var a,u=t[0],c=t[1],f=0,s=1,l=n[0]-u,h=n[1]-c;if(a=e-u,l||!(a>0)){if(a/=l,l<0){if(a0){if(a>s)return;a>f&&(f=a)}if(a=i-u,l||!(a<0)){if(a/=l,l<0){if(a>s)return;a>f&&(f=a)}else if(l>0){if(a0)){if(a/=h,h<0){if(a0){if(a>s)return;a>f&&(f=a)}if(a=o-c,h||!(a<0)){if(a/=h,h<0){if(a>s)return;a>f&&(f=a)}else if(h>0){if(a0&&(t[0]=u+f*l,t[1]=c+f*h),s<1&&(n[0]=u+s*l,n[1]=c+s*h),!0}}}}}(c,m,t,n,e,r)?u&&(b.lineStart(),b.point(o,a),_=!1):(y||(b.lineStart(),b.point(c[0],c[1])),b.point(m[0],m[1]),u||b.lineEnd(),_=!1)}p=o,g=a,y=u}return x}}var $l={sphere:qf,point:qf,lineStart:function(){$l.point=Rl,$l.lineEnd=Dl},lineEnd:qf,polygonStart:qf,polygonEnd:qf};function Dl(){$l.point=$l.lineEnd=qf}function Rl(t,n){El=t*=mf,Nl=Cf(n*=mf),kl=Tf(n),$l.point=Fl}function Fl(t,n){t*=mf;var e=Cf(n*=mf),r=Tf(n),i=xf(t-El),o=Tf(i),a=r*Cf(i),u=kl*e-Nl*r*o,c=Nl*e+kl*r*o;Sl.add(Mf(zf(a*a+u*u),c)),El=t,Nl=e,kl=r}function ql(t){return Sl=new T,Lf(t,$l),+Sl}var Ul=[null,null],Il={type:"LineString",coordinates:Ul};function Ol(t,n){return Ul[0]=t,Ul[1]=n,ql(Il)}var Bl={Feature:function(t,n){return Ll(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r0&&(i=Ol(t[o],t[o-1]))>0&&e<=i&&r<=i&&(e+r-i)*(1-Math.pow((e-r)/i,2))df})).map(c)).concat(lt(Af(o/d)*d,i,d).filter((function(t){return xf(t%g)>df})).map(f))}return v.lines=function(){return _().map((function(t){return{type:"LineString",coordinates:t}}))},v.outline=function(){return{type:"Polygon",coordinates:[s(r).concat(l(a).slice(1),s(e).reverse().slice(1),l(u).reverse().slice(1))]}},v.extent=function(t){return arguments.length?v.extentMajor(t).extentMinor(t):v.extentMinor()},v.extentMajor=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],u=+t[0][1],a=+t[1][1],r>e&&(t=r,r=e,e=t),u>a&&(t=u,u=a,a=t),v.precision(y)):[[r,u],[e,a]]},v.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],o=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),o>i&&(e=o,o=i,i=e),v.precision(y)):[[n,o],[t,i]]},v.step=function(t){return arguments.length?v.stepMajor(t).stepMinor(t):v.stepMinor()},v.stepMajor=function(t){return arguments.length?(p=+t[0],g=+t[1],v):[p,g]},v.stepMinor=function(t){return arguments.length?(h=+t[0],d=+t[1],v):[h,d]},v.precision=function(h){return arguments.length?(y=+h,c=Wl(o,i,90),f=Zl(n,t,y),s=Wl(u,a,90),l=Zl(r,e,y),v):y},v.extentMajor([[-180,-90+df],[180,90-df]]).extentMinor([[-180,-80-df],[180,80+df]])}var Ql,Jl,th,nh,eh=t=>t,rh=new T,ih=new T,oh={point:qf,lineStart:qf,lineEnd:qf,polygonStart:function(){oh.lineStart=ah,oh.lineEnd=fh},polygonEnd:function(){oh.lineStart=oh.lineEnd=oh.point=qf,rh.add(xf(ih)),ih=new T},result:function(){var t=rh/2;return rh=new T,t}};function ah(){oh.point=uh}function uh(t,n){oh.point=ch,Ql=th=t,Jl=nh=n}function ch(t,n){ih.add(nh*t-th*n),th=t,nh=n}function fh(){ch(Ql,Jl)}var sh=oh,lh=1/0,hh=lh,dh=-lh,ph=dh,gh={point:function(t,n){tdh&&(dh=t);nph&&(ph=n)},lineStart:qf,lineEnd:qf,polygonStart:qf,polygonEnd:qf,result:function(){var t=[[lh,hh],[dh,ph]];return dh=ph=-(hh=lh=1/0),t}};var yh,vh,_h,bh,mh=gh,xh=0,wh=0,Mh=0,Th=0,Ah=0,Sh=0,Eh=0,Nh=0,kh=0,Ch={point:Ph,lineStart:zh,lineEnd:Rh,polygonStart:function(){Ch.lineStart=Fh,Ch.lineEnd=qh},polygonEnd:function(){Ch.point=Ph,Ch.lineStart=zh,Ch.lineEnd=Rh},result:function(){var t=kh?[Eh/kh,Nh/kh]:Sh?[Th/Sh,Ah/Sh]:Mh?[xh/Mh,wh/Mh]:[NaN,NaN];return xh=wh=Mh=Th=Ah=Sh=Eh=Nh=kh=0,t}};function Ph(t,n){xh+=t,wh+=n,++Mh}function zh(){Ch.point=$h}function $h(t,n){Ch.point=Dh,Ph(_h=t,bh=n)}function Dh(t,n){var e=t-_h,r=n-bh,i=zf(e*e+r*r);Th+=i*(_h+t)/2,Ah+=i*(bh+n)/2,Sh+=i,Ph(_h=t,bh=n)}function Rh(){Ch.point=Ph}function Fh(){Ch.point=Uh}function qh(){Ih(yh,vh)}function Uh(t,n){Ch.point=Ih,Ph(yh=_h=t,vh=bh=n)}function Ih(t,n){var e=t-_h,r=n-bh,i=zf(e*e+r*r);Th+=i*(_h+t)/2,Ah+=i*(bh+n)/2,Sh+=i,Eh+=(i=bh*t-_h*n)*(_h+t),Nh+=i*(bh+n),kh+=3*i,Ph(_h=t,bh=n)}var Oh=Ch;function Bh(t){this._context=t}Bh.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,_f)}},result:qf};var Yh,Lh,jh,Hh,Xh,Gh=new T,Vh={point:qf,lineStart:function(){Vh.point=Wh},lineEnd:function(){Yh&&Zh(Lh,jh),Vh.point=qf},polygonStart:function(){Yh=!0},polygonEnd:function(){Yh=null},result:function(){var t=+Gh;return Gh=new T,t}};function Wh(t,n){Vh.point=Zh,Lh=Hh=t,jh=Xh=n}function Zh(t,n){Hh-=t,Xh-=n,Gh.add(zf(Hh*Hh+Xh*Xh)),Hh=t,Xh=n}var Kh=Vh;let Qh,Jh,td,nd;class ed{constructor(t){this._append=null==t?rd:function(t){const n=Math.floor(t);if(!(n>=0))throw new RangeError(`invalid digits: ${t}`);if(n>15)return rd;if(n!==Qh){const t=10**n;Qh=n,Jh=function(n){let e=1;this._+=n[0];for(const r=n.length;e4*n&&g--){var m=a+h,x=u+d,w=c+p,M=zf(m*m+x*x+w*w),T=Rf(w/=M),A=xf(xf(w)-1)n||xf((v*k+_*C)/b-.5)>.3||a*h+u*d+c*p2?t[2]%360*mf:0,k()):[y*bf,v*bf,_*bf]},E.angle=function(t){return arguments.length?(b=t%360*mf,k()):b*bf},E.reflectX=function(t){return arguments.length?(m=t?-1:1,k()):m<0},E.reflectY=function(t){return arguments.length?(x=t?-1:1,k()):x<0},E.precision=function(t){return arguments.length?(a=dd(u,S=t*t),C()):zf(S)},E.fitExtent=function(t,n){return ud(E,t,n)},E.fitSize=function(t,n){return cd(E,t,n)},E.fitWidth=function(t,n){return fd(E,t,n)},E.fitHeight=function(t,n){return sd(E,t,n)},function(){return n=t.apply(this,arguments),E.invert=n.invert&&N,k()}}function _d(t){var n=0,e=gf/3,r=vd(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*mf,e=t[1]*mf):[n*bf,e*bf]},i}function bd(t,n){var e=Cf(t),r=(e+Cf(n))/2;if(xf(r)0?n<-yf+df&&(n=-yf+df):n>yf-df&&(n=yf-df);var e=i/kf(Nd(n),r);return[e*Cf(r*t),i-e*Tf(r*t)]}return o.invert=function(t,n){var e=i-n,o=Pf(r)*zf(t*t+e*e),a=Mf(t,xf(e))*Pf(e);return e*r<0&&(a-=gf*Pf(t)*Pf(e)),[a/r,2*wf(kf(i/o,1/r))-yf]},o}function Cd(t,n){return[t,n]}function Pd(t,n){var e=Tf(t),r=t===n?Cf(t):(e-Tf(n))/(n-t),i=e/r+t;if(xf(r)=0;)n+=e[r].value;else n=1;t.value=n}function Gd(t,n){t instanceof Map?(t=[void 0,t],void 0===n&&(n=Wd)):void 0===n&&(n=Vd);for(var e,r,i,o,a,u=new Qd(t),c=[u];e=c.pop();)if((i=n(e.data))&&(a=(i=Array.from(i)).length))for(e.children=i,o=a-1;o>=0;--o)c.push(r=i[o]=new Qd(i[o])),r.parent=e,r.depth=e.depth+1;return u.eachBefore(Kd)}function Vd(t){return t.children}function Wd(t){return Array.isArray(t)?t[1]:null}function Zd(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function Kd(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function Qd(t){this.data=t,this.depth=this.height=0,this.parent=null}function Jd(t){return null==t?null:tp(t)}function tp(t){if("function"!=typeof t)throw new Error;return t}function np(){return 0}function ep(t){return function(){return t}}qd.invert=function(t,n){for(var e,r=n,i=r*r,o=i*i*i,a=0;a<12&&(o=(i=(r-=e=(r*(zd+$d*i+o*(Dd+Rd*i))-n)/(zd+3*$d*i+o*(7*Dd+9*Rd*i)))*r)*i*i,!(xf(e)df&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]},Od.invert=Md(Rf),Bd.invert=Md((function(t){return 2*wf(t)})),Yd.invert=function(t,n){return[-n,2*wf(Sf(t))-yf]},Qd.prototype=Gd.prototype={constructor:Qd,count:function(){return this.eachAfter(Xd)},each:function(t,n){let e=-1;for(const r of this)t.call(n,r,++e,this);return this},eachAfter:function(t,n){for(var e,r,i,o=this,a=[o],u=[],c=-1;o=a.pop();)if(u.push(o),e=o.children)for(r=0,i=e.length;r=0;--r)o.push(e[r]);return this},find:function(t,n){let e=-1;for(const r of this)if(t.call(n,r,++e,this))return r},sum:function(t){return this.eachAfter((function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e}))},sort:function(t){return this.eachBefore((function(n){n.children&&n.children.sort(t)}))},path:function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore((function(n){n.children||t.push(n)})),t},links:function(){var t=this,n=[];return t.each((function(e){e!==t&&n.push({source:e.parent,target:e})})),n},copy:function(){return Gd(this).eachBefore(Zd)},[Symbol.iterator]:function*(){var t,n,e,r,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(yield i,n=i.children)for(e=0,r=n.length;e(t=(rp*t+ip)%op)/op}function up(t,n){for(var e,r,i=0,o=(t=function(t,n){let e,r,i=t.length;for(;i;)r=n()*i--|0,e=t[i],t[i]=t[r],t[r]=e;return t}(Array.from(t),n)).length,a=[];i0&&e*e>r*r+i*i}function lp(t,n){for(var e=0;e1e-6?(E+Math.sqrt(E*E-4*S*N))/(2*S):N/E);return{x:r+w+M*k,y:i+T+A*k,r:k}}function gp(t,n,e){var r,i,o,a,u=t.x-n.x,c=t.y-n.y,f=u*u+c*c;f?(i=n.r+e.r,i*=i,a=t.r+e.r,i>(a*=a)?(r=(f+a-i)/(2*f),o=Math.sqrt(Math.max(0,a/f-r*r)),e.x=t.x-r*u-o*c,e.y=t.y-r*c+o*u):(r=(f+i-a)/(2*f),o=Math.sqrt(Math.max(0,i/f-r*r)),e.x=n.x+r*u-o*c,e.y=n.y+r*c+o*u)):(e.x=n.x+e.r,e.y=n.y)}function yp(t,n){var e=t.r+n.r-1e-6,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function vp(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,o=(n.y*e.r+e.y*n.r)/r;return i*i+o*o}function _p(t){this._=t,this.next=null,this.previous=null}function bp(t,n){if(!(o=(t=function(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}(t)).length))return 0;var e,r,i,o,a,u,c,f,s,l,h;if((e=t[0]).x=0,e.y=0,!(o>1))return e.r;if(r=t[1],e.x=-r.r,r.x=e.r,r.y=0,!(o>2))return e.r+r.r;gp(r,e,i=t[2]),e=new _p(e),r=new _p(r),i=new _p(i),e.next=i.previous=r,r.next=e.previous=i,i.next=r.previous=e;t:for(c=3;c1&&!zp(t,n););return t.slice(0,n)}function zp(t,n){if("/"===t[n]){let e=0;for(;n>0&&"\\"===t[--n];)++e;if(!(1&e))return!0}return!1}function $p(t,n){return t.parent===n.parent?1:2}function Dp(t){var n=t.children;return n?n[0]:t.t}function Rp(t){var n=t.children;return n?n[n.length-1]:t.t}function Fp(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function qp(t,n,e){return t.a.parent===n.parent?t.a:e}function Up(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function Ip(t,n,e,r,i){for(var o,a=t.children,u=-1,c=a.length,f=t.value&&(i-e)/t.value;++uh&&(h=u),y=s*s*g,(d=Math.max(h/y,y/l))>p){s-=u;break}p=d}v.push(a={value:s,dice:c1?n:1)},e}(Op);var Lp=function t(n){function e(t,e,r,i,o){if((a=t._squarify)&&a.ratio===n)for(var a,u,c,f,s,l=-1,h=a.length,d=t.value;++l1?n:1)},e}(Op);function jp(t,n,e){return(n[0]-t[0])*(e[1]-t[1])-(n[1]-t[1])*(e[0]-t[0])}function Hp(t,n){return t[0]-n[0]||t[1]-n[1]}function Xp(t){const n=t.length,e=[0,1];let r,i=2;for(r=2;r1&&jp(t[e[i-2]],t[e[i-1]],t[r])<=0;)--i;e[i++]=r}return e.slice(0,i)}var Gp=Math.random,Vp=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(Gp),Wp=function t(n){function e(t,e){return arguments.length<2&&(e=t,t=0),t=Math.floor(t),e=Math.floor(e)-t,function(){return Math.floor(n()*e+t)}}return e.source=t,e}(Gp),Zp=function t(n){function e(t,e){var r,i;return t=null==t?0:+t,e=null==e?1:+e,function(){var o;if(null!=r)o=r,r=null;else do{r=2*n()-1,o=2*n()-1,i=r*r+o*o}while(!i||i>1);return t+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(Gp),Kp=function t(n){var e=Zp.source(n);function r(){var t=e.apply(this,arguments);return function(){return Math.exp(t())}}return r.source=t,r}(Gp),Qp=function t(n){function e(t){return(t=+t)<=0?()=>0:function(){for(var e=0,r=t;r>1;--r)e+=n();return e+r*n()}}return e.source=t,e}(Gp),Jp=function t(n){var e=Qp.source(n);function r(t){if(0==(t=+t))return n;var r=e(t);return function(){return r()/t}}return r.source=t,r}(Gp),tg=function t(n){function e(t){return function(){return-Math.log1p(-n())/t}}return e.source=t,e}(Gp),ng=function t(n){function e(t){if((t=+t)<0)throw new RangeError("invalid alpha");return t=1/-t,function(){return Math.pow(1-n(),t)}}return e.source=t,e}(Gp),eg=function t(n){function e(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return function(){return Math.floor(n()+t)}}return e.source=t,e}(Gp),rg=function t(n){function e(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return 0===t?()=>1/0:1===t?()=>1:(t=Math.log1p(-t),function(){return 1+Math.floor(Math.log1p(-n())/t)})}return e.source=t,e}(Gp),ig=function t(n){var e=Zp.source(n)();function r(t,r){if((t=+t)<0)throw new RangeError("invalid k");if(0===t)return()=>0;if(r=null==r?1:+r,1===t)return()=>-Math.log1p(-n())*r;var i=(t<1?t+1:t)-1/3,o=1/(3*Math.sqrt(i)),a=t<1?()=>Math.pow(n(),1/t):()=>1;return function(){do{do{var t=e(),u=1+o*t}while(u<=0);u*=u*u;var c=1-n()}while(c>=1-.0331*t*t*t*t&&Math.log(c)>=.5*t*t+i*(1-u+Math.log(u)));return i*u*a()*r}}return r.source=t,r}(Gp),og=function t(n){var e=ig.source(n);function r(t,n){var r=e(t),i=e(n);return function(){var t=r();return 0===t?0:t/(t+i())}}return r.source=t,r}(Gp),ag=function t(n){var e=rg.source(n),r=og.source(n);function i(t,n){return t=+t,(n=+n)>=1?()=>t:n<=0?()=>0:function(){for(var i=0,o=t,a=n;o*a>16&&o*(1-a)>16;){var u=Math.floor((o+1)*a),c=r(u,o-u+1)();c<=a?(i+=u,o-=u,a=(a-c)/(1-c)):(o=u-1,a/=c)}for(var f=a<.5,s=e(f?a:1-a),l=s(),h=0;l<=o;++h)l+=s();return i+(f?h:o-h)}}return i.source=t,i}(Gp),ug=function t(n){function e(t,e,r){var i;return 0==(t=+t)?i=t=>-Math.log(t):(t=1/t,i=n=>Math.pow(n,t)),e=null==e?0:+e,r=null==r?1:+r,function(){return e+r*i(-Math.log1p(-n()))}}return e.source=t,e}(Gp),cg=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,function(){return t+e*Math.tan(Math.PI*n())}}return e.source=t,e}(Gp),fg=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,function(){var r=n();return t+e*Math.log(r/(1-r))}}return e.source=t,e}(Gp),sg=function t(n){var e=ig.source(n),r=ag.source(n);function i(t){return function(){for(var i=0,o=t;o>16;){var a=Math.floor(.875*o),u=e(a)();if(u>o)return i+r(a-1,o/u)();i+=a,o-=u}for(var c=-Math.log1p(-n()),f=0;c<=o;++f)c-=Math.log1p(-n());return i+f}}return i.source=t,i}(Gp);const lg=1/4294967296;function hg(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function dg(t,n){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof n?this.interpolator(n):this.range(n)}return this}const pg=Symbol("implicit");function gg(){var t=new InternMap,n=[],e=[],r=pg;function i(i){let o=t.get(i);if(void 0===o){if(r!==pg)return r;t.set(i,o=n.push(i)-1)}return e[o%e.length]}return i.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new InternMap;for(const r of e)t.has(r)||t.set(r,n.push(r)-1);return i},i.range=function(t){return arguments.length?(e=Array.from(t),i):e.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return gg(n,e).unknown(r)},hg.apply(i,arguments),i}function yg(){var t,n,e=gg().unknown(void 0),r=e.domain,i=e.range,o=0,a=1,u=!1,c=0,f=0,s=.5;function l(){var e=r().length,l=an&&(e=t,t=n,n=e),function(e){return Math.max(t,Math.min(n,e))}}(a[0],a[t-1])),r=t>2?Mg:wg,i=o=null,l}function l(n){return null==n||isNaN(n=+n)?e:(i||(i=r(a.map(t),u,c)))(t(f(n)))}return l.invert=function(e){return f(n((o||(o=r(u,a.map(t),Yr)))(e)))},l.domain=function(t){return arguments.length?(a=Array.from(t,_g),s()):a.slice()},l.range=function(t){return arguments.length?(u=Array.from(t),s()):u.slice()},l.rangeRound=function(t){return u=Array.from(t),c=Vr,s()},l.clamp=function(t){return arguments.length?(f=!!t||mg,s()):f!==mg},l.interpolate=function(t){return arguments.length?(c=t,s()):c},l.unknown=function(t){return arguments.length?(e=t,l):e},function(e,r){return t=e,n=r,s()}}function Sg(){return Ag()(mg,mg)}function Eg(n,e,r,i){var o,a=W(n,e,r);switch((i=Jc(null==i?",f":i)).type){case"s":var u=Math.max(Math.abs(n),Math.abs(e));return null!=i.precision||isNaN(o=lf(a,u))||(i.precision=o),t.formatPrefix(i,u);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(o=hf(a,Math.max(Math.abs(n),Math.abs(e))))||(i.precision=o-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(o=sf(a))||(i.precision=o-2*("%"===i.type))}return t.format(i)}function Ng(t){var n=t.domain;return t.ticks=function(t){var e=n();return G(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return Eg(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i,o=n(),a=0,u=o.length-1,c=o[a],f=o[u],s=10;for(f0;){if((i=V(c,f,e))===r)return o[a]=c,o[u]=f,n(o);if(i>0)c=Math.floor(c/i)*i,f=Math.ceil(f/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,f=Math.floor(f*i)/i}r=i}return t},t}function kg(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a-t(-n,e)}function Fg(n){const e=n(Cg,Pg),r=e.domain;let i,o,a=10;function u(){return i=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),n=>Math.log(n)/t)}(a),o=function(t){return 10===t?Dg:t===Math.E?Math.exp:n=>Math.pow(t,n)}(a),r()[0]<0?(i=Rg(i),o=Rg(o),n(zg,$g)):n(Cg,Pg),e}return e.base=function(t){return arguments.length?(a=+t,u()):a},e.domain=function(t){return arguments.length?(r(t),u()):r()},e.ticks=t=>{const n=r();let e=n[0],u=n[n.length-1];const c=u0){for(;l<=h;++l)for(f=1;fu)break;p.push(s)}}else for(;l<=h;++l)for(f=a-1;f>=1;--f)if(s=l>0?f/o(-l):f*o(l),!(su)break;p.push(s)}2*p.length{if(null==n&&(n=10),null==r&&(r=10===a?"s":","),"function"!=typeof r&&(a%1||null!=(r=Jc(r)).precision||(r.trim=!0),r=t.format(r)),n===1/0)return r;const u=Math.max(1,a*n/e.ticks().length);return t=>{let n=t/o(Math.round(i(t)));return n*ar(kg(r(),{floor:t=>o(Math.floor(i(t))),ceil:t=>o(Math.ceil(i(t)))})),e}function qg(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function Ug(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function Ig(t){var n=1,e=t(qg(n),Ug(n));return e.constant=function(e){return arguments.length?t(qg(n=+e),Ug(n)):n},Ng(e)}function Og(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function Bg(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Yg(t){return t<0?-t*t:t*t}function Lg(t){var n=t(mg,mg),e=1;return n.exponent=function(n){return arguments.length?1===(e=+n)?t(mg,mg):.5===e?t(Bg,Yg):t(Og(e),Og(1/e)):e},Ng(n)}function jg(){var t=Lg(Ag());return t.copy=function(){return Tg(t,jg()).exponent(t.exponent())},hg.apply(t,arguments),t}function Hg(t){return Math.sign(t)*t*t}const Xg=new Date,Gg=new Date;function Vg(t,n,e,r){function i(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return i.floor=n=>(t(n=new Date(+n)),n),i.ceil=e=>(t(e=new Date(e-1)),n(e,1),t(e),e),i.round=t=>{const n=i(t),e=i.ceil(t);return t-n(n(t=new Date(+t),null==e?1:Math.floor(e)),t),i.range=(e,r,o)=>{const a=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e0))return a;let u;do{a.push(u=new Date(+e)),n(e,o),t(e)}while(uVg((n=>{if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),((t,r)=>{if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););})),e&&(i.count=(n,r)=>(Xg.setTime(+n),Gg.setTime(+r),t(Xg),t(Gg),Math.floor(e(Xg,Gg))),i.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?n=>r(n)%t==0:n=>i.count(0,n)%t==0):i:null)),i}const Wg=Vg((()=>{}),((t,n)=>{t.setTime(+t+n)}),((t,n)=>n-t));Wg.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?Vg((n=>{n.setTime(Math.floor(n/t)*t)}),((n,e)=>{n.setTime(+n+e*t)}),((n,e)=>(e-n)/t)):Wg:null);const Zg=Wg.range,Kg=1e3,Qg=6e4,Jg=36e5,ty=864e5,ny=6048e5,ey=2592e6,ry=31536e6,iy=Vg((t=>{t.setTime(t-t.getMilliseconds())}),((t,n)=>{t.setTime(+t+n*Kg)}),((t,n)=>(n-t)/Kg),(t=>t.getUTCSeconds())),oy=iy.range,ay=Vg((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Kg)}),((t,n)=>{t.setTime(+t+n*Qg)}),((t,n)=>(n-t)/Qg),(t=>t.getMinutes())),uy=ay.range,cy=Vg((t=>{t.setUTCSeconds(0,0)}),((t,n)=>{t.setTime(+t+n*Qg)}),((t,n)=>(n-t)/Qg),(t=>t.getUTCMinutes())),fy=cy.range,sy=Vg((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Kg-t.getMinutes()*Qg)}),((t,n)=>{t.setTime(+t+n*Jg)}),((t,n)=>(n-t)/Jg),(t=>t.getHours())),ly=sy.range,hy=Vg((t=>{t.setUTCMinutes(0,0,0)}),((t,n)=>{t.setTime(+t+n*Jg)}),((t,n)=>(n-t)/Jg),(t=>t.getUTCHours())),dy=hy.range,py=Vg((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Qg)/ty),(t=>t.getDate()-1)),gy=py.range,yy=Vg((t=>{t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+n)}),((t,n)=>(n-t)/ty),(t=>t.getUTCDate()-1)),vy=yy.range,_y=Vg((t=>{t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+n)}),((t,n)=>(n-t)/ty),(t=>Math.floor(t/ty))),by=_y.range;function my(t){return Vg((n=>{n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),((t,n)=>{t.setDate(t.getDate()+7*n)}),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Qg)/ny))}const xy=my(0),wy=my(1),My=my(2),Ty=my(3),Ay=my(4),Sy=my(5),Ey=my(6),Ny=xy.range,ky=wy.range,Cy=My.range,Py=Ty.range,zy=Ay.range,$y=Sy.range,Dy=Ey.range;function Ry(t){return Vg((n=>{n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+7*n)}),((t,n)=>(n-t)/ny))}const Fy=Ry(0),qy=Ry(1),Uy=Ry(2),Iy=Ry(3),Oy=Ry(4),By=Ry(5),Yy=Ry(6),Ly=Fy.range,jy=qy.range,Hy=Uy.range,Xy=Iy.range,Gy=Oy.range,Vy=By.range,Wy=Yy.range,Zy=Vg((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,n)=>{t.setMonth(t.getMonth()+n)}),((t,n)=>n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())),(t=>t.getMonth())),Ky=Zy.range,Qy=Vg((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCMonth(t.getUTCMonth()+n)}),((t,n)=>n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth())),Jy=Qy.range,tv=Vg((t=>{t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n)}),((t,n)=>n.getFullYear()-t.getFullYear()),(t=>t.getFullYear()));tv.every=t=>isFinite(t=Math.floor(t))&&t>0?Vg((n=>{n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),((n,e)=>{n.setFullYear(n.getFullYear()+e*t)})):null;const nv=tv.range,ev=Vg((t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n)}),((t,n)=>n.getUTCFullYear()-t.getUTCFullYear()),(t=>t.getUTCFullYear()));ev.every=t=>isFinite(t=Math.floor(t))&&t>0?Vg((n=>{n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),((n,e)=>{n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null;const rv=ev.range;function iv(t,n,e,i,o,a){const u=[[iy,1,Kg],[iy,5,5e3],[iy,15,15e3],[iy,30,3e4],[a,1,Qg],[a,5,3e5],[a,15,9e5],[a,30,18e5],[o,1,Jg],[o,3,108e5],[o,6,216e5],[o,12,432e5],[i,1,ty],[i,2,1728e5],[e,1,ny],[n,1,ey],[n,3,7776e6],[t,1,ry]];function c(n,e,i){const o=Math.abs(e-n)/i,a=r((([,,t])=>t)).right(u,o);if(a===u.length)return t.every(W(n/ry,e/ry,i));if(0===a)return Wg.every(Math.max(W(n,e,i),1));const[c,f]=u[o/u[a-1][2]=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:k_,s:C_,S:Zv,u:Kv,U:Qv,V:t_,w:n_,W:e_,x:null,X:null,y:r_,Y:o_,Z:u_,"%":N_},m={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:c_,e:c_,f:d_,g:T_,G:S_,H:f_,I:s_,j:l_,L:h_,m:p_,M:g_,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:k_,s:C_,S:y_,u:v_,U:__,V:m_,w:x_,W:w_,x:null,X:null,y:M_,Y:A_,Z:E_,"%":N_},x={a:function(t,n,e){var r=d.exec(n.slice(e));return r?(t.w=p.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=l.exec(n.slice(e));return r?(t.w=h.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.m=_.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=y.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return T(t,n,e,r)},d:zv,e:zv,f:Uv,g:Nv,G:Ev,H:Dv,I:Dv,j:$v,L:qv,m:Pv,M:Rv,p:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.p=s.get(r[0].toLowerCase()),e+r[0].length):-1},q:Cv,Q:Ov,s:Bv,S:Fv,u:Mv,U:Tv,V:Av,w:wv,W:Sv,x:function(t,n,r){return T(t,e,n,r)},X:function(t,n,e){return T(t,r,n,e)},y:Nv,Y:Ev,Z:kv,"%":Iv};function w(t,n){return function(e){var r,i,o,a=[],u=-1,c=0,f=t.length;for(e instanceof Date||(e=new Date(+e));++u53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=sv(lv(o.y,0,1))).getUTCDay(),r=i>4||0===i?qy.ceil(r):qy(r),r=yy.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=fv(lv(o.y,0,1))).getDay(),r=i>4||0===i?wy.ceil(r):wy(r),r=py.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?sv(lv(o.y,0,1)).getUTCDay():fv(lv(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,sv(o)):fv(o)}}function T(t,n,e,r){for(var i,o,a=0,u=n.length,c=e.length;a=c)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(o=x[i in pv?n.charAt(a++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return b.x=w(e,b),b.X=w(r,b),b.c=w(n,b),m.x=w(e,m),m.X=w(r,m),m.c=w(n,m),{format:function(t){var n=w(t+="",b);return n.toString=function(){return t},n},parse:function(t){var n=M(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=w(t+="",m);return n.toString=function(){return t},n},utcParse:function(t){var n=M(t+="",!0);return n.toString=function(){return t},n}}}var dv,pv={"-":"",_:" ",0:"0"},gv=/^\s*\d+/,yv=/^%/,vv=/[\\^$*+?|[\]().{}]/g;function _v(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o[t.toLowerCase(),n])))}function wv(t,n,e){var r=gv.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function Mv(t,n,e){var r=gv.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function Tv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function Av(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function Sv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Ev(t,n,e){var r=gv.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Nv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function kv(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function Cv(t,n,e){var r=gv.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Pv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function zv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function $v(t,n,e){var r=gv.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Dv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Rv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Fv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function qv(t,n,e){var r=gv.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function Uv(t,n,e){var r=gv.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function Iv(t,n,e){var r=yv.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Ov(t,n,e){var r=gv.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function Bv(t,n,e){var r=gv.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function Yv(t,n){return _v(t.getDate(),n,2)}function Lv(t,n){return _v(t.getHours(),n,2)}function jv(t,n){return _v(t.getHours()%12||12,n,2)}function Hv(t,n){return _v(1+py.count(tv(t),t),n,3)}function Xv(t,n){return _v(t.getMilliseconds(),n,3)}function Gv(t,n){return Xv(t,n)+"000"}function Vv(t,n){return _v(t.getMonth()+1,n,2)}function Wv(t,n){return _v(t.getMinutes(),n,2)}function Zv(t,n){return _v(t.getSeconds(),n,2)}function Kv(t){var n=t.getDay();return 0===n?7:n}function Qv(t,n){return _v(xy.count(tv(t)-1,t),n,2)}function Jv(t){var n=t.getDay();return n>=4||0===n?Ay(t):Ay.ceil(t)}function t_(t,n){return t=Jv(t),_v(Ay.count(tv(t),t)+(4===tv(t).getDay()),n,2)}function n_(t){return t.getDay()}function e_(t,n){return _v(wy.count(tv(t)-1,t),n,2)}function r_(t,n){return _v(t.getFullYear()%100,n,2)}function i_(t,n){return _v((t=Jv(t)).getFullYear()%100,n,2)}function o_(t,n){return _v(t.getFullYear()%1e4,n,4)}function a_(t,n){var e=t.getDay();return _v((t=e>=4||0===e?Ay(t):Ay.ceil(t)).getFullYear()%1e4,n,4)}function u_(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+_v(n/60|0,"0",2)+_v(n%60,"0",2)}function c_(t,n){return _v(t.getUTCDate(),n,2)}function f_(t,n){return _v(t.getUTCHours(),n,2)}function s_(t,n){return _v(t.getUTCHours()%12||12,n,2)}function l_(t,n){return _v(1+yy.count(ev(t),t),n,3)}function h_(t,n){return _v(t.getUTCMilliseconds(),n,3)}function d_(t,n){return h_(t,n)+"000"}function p_(t,n){return _v(t.getUTCMonth()+1,n,2)}function g_(t,n){return _v(t.getUTCMinutes(),n,2)}function y_(t,n){return _v(t.getUTCSeconds(),n,2)}function v_(t){var n=t.getUTCDay();return 0===n?7:n}function __(t,n){return _v(Fy.count(ev(t)-1,t),n,2)}function b_(t){var n=t.getUTCDay();return n>=4||0===n?Oy(t):Oy.ceil(t)}function m_(t,n){return t=b_(t),_v(Oy.count(ev(t),t)+(4===ev(t).getUTCDay()),n,2)}function x_(t){return t.getUTCDay()}function w_(t,n){return _v(qy.count(ev(t)-1,t),n,2)}function M_(t,n){return _v(t.getUTCFullYear()%100,n,2)}function T_(t,n){return _v((t=b_(t)).getUTCFullYear()%100,n,2)}function A_(t,n){return _v(t.getUTCFullYear()%1e4,n,4)}function S_(t,n){var e=t.getUTCDay();return _v((t=e>=4||0===e?Oy(t):Oy.ceil(t)).getUTCFullYear()%1e4,n,4)}function E_(){return"+0000"}function N_(){return"%"}function k_(t){return+t}function C_(t){return Math.floor(+t/1e3)}function P_(n){return dv=hv(n),t.timeFormat=dv.format,t.timeParse=dv.parse,t.utcFormat=dv.utcFormat,t.utcParse=dv.utcParse,dv}t.timeFormat=void 0,t.timeParse=void 0,t.utcFormat=void 0,t.utcParse=void 0,P_({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var z_="%Y-%m-%dT%H:%M:%S.%LZ";var $_=Date.prototype.toISOString?function(t){return t.toISOString()}:t.utcFormat(z_),D_=$_;var R_=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:t.utcParse(z_),F_=R_;function q_(t){return new Date(t)}function U_(t){return t instanceof Date?+t:+new Date(+t)}function I_(t,n,e,r,i,o,a,u,c,f){var s=Sg(),l=s.invert,h=s.domain,d=f(".%L"),p=f(":%S"),g=f("%I:%M"),y=f("%I %p"),v=f("%a %d"),_=f("%b %d"),b=f("%B"),m=f("%Y");function x(t){return(c(t)Fr(t[t.length-1]),ib=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(H_),ob=rb(ib),ab=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(H_),ub=rb(ab),cb=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(H_),fb=rb(cb),sb=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(H_),lb=rb(sb),hb=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(H_),db=rb(hb),pb=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(H_),gb=rb(pb),yb=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(H_),vb=rb(yb),_b=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(H_),bb=rb(_b),mb=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(H_),xb=rb(mb),wb=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(H_),Mb=rb(wb),Tb=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(H_),Ab=rb(Tb),Sb=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(H_),Eb=rb(Sb),Nb=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(H_),kb=rb(Nb),Cb=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(H_),Pb=rb(Cb),zb=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(H_),$b=rb(zb),Db=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(H_),Rb=rb(Db),Fb=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(H_),qb=rb(Fb),Ub=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(H_),Ib=rb(Ub),Ob=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(H_),Bb=rb(Ob),Yb=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(H_),Lb=rb(Yb),jb=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(H_),Hb=rb(jb),Xb=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(H_),Gb=rb(Xb),Vb=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(H_),Wb=rb(Vb),Zb=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(H_),Kb=rb(Zb),Qb=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(H_),Jb=rb(Qb),tm=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(H_),nm=rb(tm),em=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(H_),rm=rb(em);var im=hi(Tr(300,.5,0),Tr(-240,.5,1)),om=hi(Tr(-100,.75,.35),Tr(80,1.5,.8)),am=hi(Tr(260,.75,.35),Tr(80,1.5,.8)),um=Tr();var cm=Fe(),fm=Math.PI/3,sm=2*Math.PI/3;function lm(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}var hm=lm(H_("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),dm=lm(H_("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),pm=lm(H_("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),gm=lm(H_("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function ym(t){return function(){return t}}const vm=Math.abs,_m=Math.atan2,bm=Math.cos,mm=Math.max,xm=Math.min,wm=Math.sin,Mm=Math.sqrt,Tm=1e-12,Am=Math.PI,Sm=Am/2,Em=2*Am;function Nm(t){return t>=1?Sm:t<=-1?-Sm:Math.asin(t)}function km(t){let n=3;return t.digits=function(e){if(!arguments.length)return n;if(null==e)n=null;else{const t=Math.floor(e);if(!(t>=0))throw new RangeError(`invalid digits: ${e}`);n=t}return t},()=>new Ua(n)}function Cm(t){return t.innerRadius}function Pm(t){return t.outerRadius}function zm(t){return t.startAngle}function $m(t){return t.endAngle}function Dm(t){return t&&t.padAngle}function Rm(t,n,e,r,i,o,a){var u=t-e,c=n-r,f=(a?o:-o)/Mm(u*u+c*c),s=f*c,l=-f*u,h=t+s,d=n+l,p=e+s,g=r+l,y=(h+p)/2,v=(d+g)/2,_=p-h,b=g-d,m=_*_+b*b,x=i-o,w=h*g-p*d,M=(b<0?-1:1)*Mm(mm(0,x*x*m-w*w)),T=(w*b-_*M)/m,A=(-w*_-b*M)/m,S=(w*b+_*M)/m,E=(-w*_+b*M)/m,N=T-y,k=A-v,C=S-y,P=E-v;return N*N+k*k>C*C+P*P&&(T=S,A=E),{cx:T,cy:A,x01:-s,y01:-l,x11:T*(i/x-1),y11:A*(i/x-1)}}var Fm=Array.prototype.slice;function qm(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Um(t){this._context=t}function Im(t){return new Um(t)}function Om(t){return t[0]}function Bm(t){return t[1]}function Ym(t,n){var e=ym(!0),r=null,i=Im,o=null,a=km(u);function u(u){var c,f,s,l=(u=qm(u)).length,h=!1;for(null==r&&(o=i(s=a())),c=0;c<=l;++c)!(c=l;--h)u.point(v[h],_[h]);u.lineEnd(),u.areaEnd()}y&&(v[s]=+t(d,s,f),_[s]=+n(d,s,f),u.point(r?+r(d,s,f):v[s],e?+e(d,s,f):_[s]))}if(p)return u=null,p+""||null}function s(){return Ym().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?Om:ym(+t),n="function"==typeof n?n:ym(void 0===n?0:+n),e="function"==typeof e?e:void 0===e?Bm:ym(+e),f.x=function(n){return arguments.length?(t="function"==typeof n?n:ym(+n),r=null,f):t},f.x0=function(n){return arguments.length?(t="function"==typeof n?n:ym(+n),f):t},f.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:ym(+t),f):r},f.y=function(t){return arguments.length?(n="function"==typeof t?t:ym(+t),e=null,f):n},f.y0=function(t){return arguments.length?(n="function"==typeof t?t:ym(+t),f):n},f.y1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:ym(+t),f):e},f.lineX0=f.lineY0=function(){return s().x(t).y(n)},f.lineY1=function(){return s().x(t).y(e)},f.lineX1=function(){return s().x(r).y(n)},f.defined=function(t){return arguments.length?(i="function"==typeof t?t:ym(!!t),f):i},f.curve=function(t){return arguments.length?(a=t,null!=o&&(u=a(o)),f):a},f.context=function(t){return arguments.length?(null==t?o=u=null:u=a(o=t),f):o},f}function jm(t,n){return nt?1:n>=t?0:NaN}function Hm(t){return t}Um.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var Xm=Vm(Im);function Gm(t){this._curve=t}function Vm(t){function n(n){return new Gm(t(n))}return n._curve=t,n}function Wm(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(Vm(t)):n()._curve},t}function Zm(){return Wm(Ym().curve(Xm))}function Km(){var t=Lm().curve(Xm),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Wm(e())},delete t.lineX0,t.lineEndAngle=function(){return Wm(r())},delete t.lineX1,t.lineInnerRadius=function(){return Wm(i())},delete t.lineY0,t.lineOuterRadius=function(){return Wm(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Vm(t)):n()._curve},t}function Qm(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}Gm.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};class Jm{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n)}this._x0=t,this._y0=n}}class tx{constructor(t){this._context=t}lineStart(){this._point=0}lineEnd(){}point(t,n){if(t=+t,n=+n,0===this._point)this._point=1;else{const e=Qm(this._x0,this._y0),r=Qm(this._x0,this._y0=(this._y0+n)/2),i=Qm(t,this._y0),o=Qm(t,n);this._context.moveTo(...e),this._context.bezierCurveTo(...r,...i,...o)}this._x0=t,this._y0=n}}function nx(t){return new Jm(t,!0)}function ex(t){return new Jm(t,!1)}function rx(t){return new tx(t)}function ix(t){return t.source}function ox(t){return t.target}function ax(t){let n=ix,e=ox,r=Om,i=Bm,o=null,a=null,u=km(c);function c(){let c;const f=Fm.call(arguments),s=n.apply(this,f),l=e.apply(this,f);if(null==o&&(a=t(c=u())),a.lineStart(),f[0]=s,a.point(+r.apply(this,f),+i.apply(this,f)),f[0]=l,a.point(+r.apply(this,f),+i.apply(this,f)),a.lineEnd(),c)return a=null,c+""||null}return c.source=function(t){return arguments.length?(n=t,c):n},c.target=function(t){return arguments.length?(e=t,c):e},c.x=function(t){return arguments.length?(r="function"==typeof t?t:ym(+t),c):r},c.y=function(t){return arguments.length?(i="function"==typeof t?t:ym(+t),c):i},c.context=function(n){return arguments.length?(null==n?o=a=null:a=t(o=n),c):o},c}const ux=Mm(3);var cx={draw(t,n){const e=.59436*Mm(n+xm(n/28,.75)),r=e/2,i=r*ux;t.moveTo(0,e),t.lineTo(0,-e),t.moveTo(-i,-r),t.lineTo(i,r),t.moveTo(-i,r),t.lineTo(i,-r)}},fx={draw(t,n){const e=Mm(n/Am);t.moveTo(e,0),t.arc(0,0,e,0,Em)}},sx={draw(t,n){const e=Mm(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}};const lx=Mm(1/3),hx=2*lx;var dx={draw(t,n){const e=Mm(n/hx),r=e*lx;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},px={draw(t,n){const e=.62625*Mm(n);t.moveTo(0,-e),t.lineTo(e,0),t.lineTo(0,e),t.lineTo(-e,0),t.closePath()}},gx={draw(t,n){const e=.87559*Mm(n-xm(n/7,2));t.moveTo(-e,0),t.lineTo(e,0),t.moveTo(0,e),t.lineTo(0,-e)}},yx={draw(t,n){const e=Mm(n),r=-e/2;t.rect(r,r,e,e)}},vx={draw(t,n){const e=.4431*Mm(n);t.moveTo(e,e),t.lineTo(e,-e),t.lineTo(-e,-e),t.lineTo(-e,e),t.closePath()}};const _x=wm(Am/10)/wm(7*Am/10),bx=wm(Em/10)*_x,mx=-bm(Em/10)*_x;var xx={draw(t,n){const e=Mm(.8908130915292852*n),r=bx*e,i=mx*e;t.moveTo(0,-e),t.lineTo(r,i);for(let n=1;n<5;++n){const o=Em*n/5,a=bm(o),u=wm(o);t.lineTo(u*e,-a*e),t.lineTo(a*r-u*i,u*r+a*i)}t.closePath()}};const wx=Mm(3);var Mx={draw(t,n){const e=-Mm(n/(3*wx));t.moveTo(0,2*e),t.lineTo(-wx*e,-e),t.lineTo(wx*e,-e),t.closePath()}};const Tx=Mm(3);var Ax={draw(t,n){const e=.6824*Mm(n),r=e/2,i=e*Tx/2;t.moveTo(0,-e),t.lineTo(i,r),t.lineTo(-i,r),t.closePath()}};const Sx=-.5,Ex=Mm(3)/2,Nx=1/Mm(12),kx=3*(Nx/2+1);var Cx={draw(t,n){const e=Mm(n/kx),r=e/2,i=e*Nx,o=r,a=e*Nx+e,u=-o,c=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(u,c),t.lineTo(Sx*r-Ex*i,Ex*r+Sx*i),t.lineTo(Sx*o-Ex*a,Ex*o+Sx*a),t.lineTo(Sx*u-Ex*c,Ex*u+Sx*c),t.lineTo(Sx*r+Ex*i,Sx*i-Ex*r),t.lineTo(Sx*o+Ex*a,Sx*a-Ex*o),t.lineTo(Sx*u+Ex*c,Sx*c-Ex*u),t.closePath()}},Px={draw(t,n){const e=.6189*Mm(n-xm(n/6,1.7));t.moveTo(-e,-e),t.lineTo(e,e),t.moveTo(-e,e),t.lineTo(e,-e)}};const zx=[fx,sx,dx,yx,xx,Mx,Cx],$x=[fx,gx,Px,Ax,cx,vx,px];function Dx(){}function Rx(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function Fx(t){this._context=t}function qx(t){this._context=t}function Ux(t){this._context=t}function Ix(t,n){this._basis=new Fx(t),this._beta=n}Fx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Rx(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Rx(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},qx.prototype={areaStart:Dx,areaEnd:Dx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Rx(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ux.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:Rx(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ix.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],a=t[e]-i,u=n[e]-o,c=-1;++c<=e;)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*a),this._beta*n[c]+(1-this._beta)*(o+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var Ox=function t(n){function e(t){return 1===n?new Fx(t):new Ix(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function Bx(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function Yx(t,n){this._context=t,this._k=(1-n)/6}Yx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Bx(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:Bx(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Lx=function t(n){function e(t){return new Yx(t,n)}return e.tension=function(n){return t(+n)},e}(0);function jx(t,n){this._context=t,this._k=(1-n)/6}jx.prototype={areaStart:Dx,areaEnd:Dx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Bx(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Hx=function t(n){function e(t){return new jx(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Xx(t,n){this._context=t,this._k=(1-n)/6}Xx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Bx(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Gx=function t(n){function e(t){return new Xx(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Vx(t,n,e){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>Tm){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>Tm){var f=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,s=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*f+t._x1*t._l23_2a-n*t._l12_2a)/s,a=(a*f+t._y1*t._l23_2a-e*t._l12_2a)/s}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function Wx(t,n){this._context=t,this._alpha=n}Wx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:Vx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Zx=function t(n){function e(t){return n?new Wx(t,n):new Yx(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Kx(t,n){this._context=t,this._alpha=n}Kx.prototype={areaStart:Dx,areaEnd:Dx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Vx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Qx=function t(n){function e(t){return n?new Kx(t,n):new jx(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Jx(t,n){this._context=t,this._alpha=n}Jx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Vx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var tw=function t(n){function e(t){return n?new Jx(t,n):new Xx(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function nw(t){this._context=t}function ew(t){return t<0?-1:1}function rw(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(e-t._y1)/(i||r<0&&-0),u=(o*i+a*r)/(r+i);return(ew(o)+ew(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(u))||0}function iw(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function ow(t,n,e){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*n,o-u,a-u*e,o,a)}function aw(t){this._context=t}function uw(t){this._context=new cw(t)}function cw(t){this._context=t}function fw(t){this._context=t}function sw(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(a[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n1)for(var e,r,i,o=1,a=t[n[0]],u=a.length;o=0;)e[n]=n;return e}function pw(t,n){return t[n]}function gw(t){const n=[];return n.key=t,n}function yw(t){var n=t.map(vw);return dw(t).sort((function(t,e){return n[t]-n[e]}))}function vw(t){for(var n,e=-1,r=0,i=t.length,o=-1/0;++eo&&(o=n,r=e);return r}function _w(t){var n=t.map(bw);return dw(t).sort((function(t,e){return n[t]-n[e]}))}function bw(t){for(var n,e=0,r=-1,i=t.length;++r=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}};var mw=t=>()=>t;function xw(t,{sourceEvent:n,target:e,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function ww(t,n,e){this.k=t,this.x=n,this.y=e}ww.prototype={constructor:ww,scale:function(t){return 1===t?this:new ww(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new ww(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Mw=new ww(1,0,0);function Tw(t){for(;!t.__zoom;)if(!(t=t.parentNode))return Mw;return t.__zoom}function Aw(t){t.stopImmediatePropagation()}function Sw(t){t.preventDefault(),t.stopImmediatePropagation()}function Ew(t){return!(t.ctrlKey&&"wheel"!==t.type||t.button)}function Nw(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function kw(){return this.__zoom||Mw}function Cw(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function Pw(){return navigator.maxTouchPoints||"ontouchstart"in this}function zw(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],a=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}Tw.prototype=ww.prototype,t.Adder=T,t.Delaunay=Lu,t.FormatSpecifier=tf,t.InternMap=InternMap,t.InternSet=InternSet,t.Node=Qd,t.Path=Ua,t.Voronoi=qu,t.ZoomTransform=ww,t.active=function(t,n){var e,r,i=t.__transition;if(i)for(r in n=null==n?null:n+"",i)if((e=i[r]).state>qi&&e.name===n)return new po([[t]],Zo,n,+r);return null},t.arc=function(){var t=Cm,n=Pm,e=ym(0),r=null,i=zm,o=$m,a=Dm,u=null,c=km(f);function f(){var f,s,l=+t.apply(this,arguments),h=+n.apply(this,arguments),d=i.apply(this,arguments)-Sm,p=o.apply(this,arguments)-Sm,g=vm(p-d),y=p>d;if(u||(u=f=c()),hTm)if(g>Em-Tm)u.moveTo(h*bm(d),h*wm(d)),u.arc(0,0,h,d,p,!y),l>Tm&&(u.moveTo(l*bm(p),l*wm(p)),u.arc(0,0,l,p,d,y));else{var v,_,b=d,m=p,x=d,w=p,M=g,T=g,A=a.apply(this,arguments)/2,S=A>Tm&&(r?+r.apply(this,arguments):Mm(l*l+h*h)),E=xm(vm(h-l)/2,+e.apply(this,arguments)),N=E,k=E;if(S>Tm){var C=Nm(S/l*wm(A)),P=Nm(S/h*wm(A));(M-=2*C)>Tm?(x+=C*=y?1:-1,w-=C):(M=0,x=w=(d+p)/2),(T-=2*P)>Tm?(b+=P*=y?1:-1,m-=P):(T=0,b=m=(d+p)/2)}var z=h*bm(b),$=h*wm(b),D=l*bm(w),R=l*wm(w);if(E>Tm){var F,q=h*bm(m),U=h*wm(m),I=l*bm(x),O=l*wm(x);if(g1?0:t<-1?Am:Math.acos(t)}((B*L+Y*j)/(Mm(B*B+Y*Y)*Mm(L*L+j*j)))/2),X=Mm(F[0]*F[0]+F[1]*F[1]);N=xm(E,(l-X)/(H-1)),k=xm(E,(h-X)/(H+1))}else N=k=0}T>Tm?k>Tm?(v=Rm(I,O,z,$,h,k,y),_=Rm(q,U,D,R,h,k,y),u.moveTo(v.cx+v.x01,v.cy+v.y01),kTm&&M>Tm?N>Tm?(v=Rm(D,R,q,U,l,-N,y),_=Rm(z,$,I,O,l,-N,y),u.lineTo(v.cx+v.x01,v.cy+v.y01),N=0))throw new RangeError("invalid r");let e=t.length;if(!((e=Math.floor(e))>=0))throw new RangeError("invalid length");if(!e||!n)return t;const r=y(n),i=t.slice();return r(t,i,0,e,1),r(i,t,0,e,1),r(t,i,0,e,1),t},t.blur2=l,t.blurImage=h,t.brush=function(){return wa(la)},t.brushSelection=function(t){var n=t.__brush;return n?n.dim.output(n.selection):null},t.brushX=function(){return wa(fa)},t.brushY=function(){return wa(sa)},t.buffer=function(t,n){return fetch(t,n).then(_c)},t.chord=function(){return za(!1,!1)},t.chordDirected=function(){return za(!0,!1)},t.chordTranspose=function(){return za(!1,!0)},t.cluster=function(){var t=Ld,n=1,e=1,r=!1;function i(i){var o,a=0;i.eachAfter((function(n){var e=n.children;e?(n.x=function(t){return t.reduce(jd,0)/t.length}(e),n.y=function(t){return 1+t.reduce(Hd,0)}(e)):(n.x=o?a+=t(n,o):0,n.y=0,o=n)}));var u=function(t){for(var n;n=t.children;)t=n[0];return t}(i),c=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(i),f=u.x-t(u,c)/2,s=c.x+t(c,u)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*n,t.y=(i.y-t.y)*e}:function(t){t.x=(t.x-f)/(s-f)*n,t.y=(1-(i.y?t.y/i.y:1))*e})}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i},t.color=ze,t.contourDensity=function(){var t=fu,n=su,e=lu,r=960,i=500,o=20,a=2,u=3*o,c=r+2*u>>a,f=i+2*u>>a,s=Qa(20);function h(r){var i=new Float32Array(c*f),s=Math.pow(2,-a),h=-1;for(const o of r){var d=(t(o,++h,r)+u)*s,p=(n(o,h,r)+u)*s,g=+e(o,h,r);if(g&&d>=0&&d=0&&pt*r)))(n).map(((t,n)=>(t.value=+e[n],p(t))))}function p(t){return t.coordinates.forEach(g),t}function g(t){t.forEach(y)}function y(t){t.forEach(v)}function v(t){t[0]=t[0]*Math.pow(2,a)-u,t[1]=t[1]*Math.pow(2,a)-u}function _(){return c=r+2*(u=3*o)>>a,f=i+2*u>>a,d}return d.contours=function(t){var n=h(t),e=iu().size([c,f]),r=Math.pow(2,2*a),i=t=>{t=+t;var i=p(e.contour(n,t*r));return i.value=t,i};return Object.defineProperty(i,"max",{get:()=>J(n)/r}),i},d.x=function(n){return arguments.length?(t="function"==typeof n?n:Qa(+n),d):t},d.y=function(t){return arguments.length?(n="function"==typeof t?t:Qa(+t),d):n},d.weight=function(t){return arguments.length?(e="function"==typeof t?t:Qa(+t),d):e},d.size=function(t){if(!arguments.length)return[r,i];var n=+t[0],e=+t[1];if(!(n>=0&&e>=0))throw new Error("invalid size");return r=n,i=e,_()},d.cellSize=function(t){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(t)/Math.LN2),_()},d.thresholds=function(t){return arguments.length?(s="function"==typeof t?t:Array.isArray(t)?Qa(Za.call(t)):Qa(t),d):s},d.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=(Math.sqrt(4*t*t+1)-1)/2,_()},d},t.contours=iu,t.count=v,t.create=function(t){return Zn(Yt(t).call(document.documentElement))},t.creator=Yt,t.cross=function(...t){const n="function"==typeof t[t.length-1]&&function(t){return n=>t(...n)}(t.pop()),e=(t=t.map(m)).map(_),r=t.length-1,i=new Array(r+1).fill(0),o=[];if(r<0||e.some(b))return o;for(;;){o.push(i.map(((n,e)=>t[e][n])));let a=r;for(;++i[a]===e[a];){if(0===a)return n?o.map(n):o;i[a--]=0}}},t.csv=wc,t.csvFormat=rc,t.csvFormatBody=ic,t.csvFormatRow=ac,t.csvFormatRows=oc,t.csvFormatValue=uc,t.csvParse=nc,t.csvParseRows=ec,t.cubehelix=Tr,t.cumsum=function(t,n){var e=0,r=0;return Float64Array.from(t,void 0===n?t=>e+=+t||0:i=>e+=+n(i,r++,t)||0)},t.curveBasis=function(t){return new Fx(t)},t.curveBasisClosed=function(t){return new qx(t)},t.curveBasisOpen=function(t){return new Ux(t)},t.curveBumpX=nx,t.curveBumpY=ex,t.curveBundle=Ox,t.curveCardinal=Lx,t.curveCardinalClosed=Hx,t.curveCardinalOpen=Gx,t.curveCatmullRom=Zx,t.curveCatmullRomClosed=Qx,t.curveCatmullRomOpen=tw,t.curveLinear=Im,t.curveLinearClosed=function(t){return new nw(t)},t.curveMonotoneX=function(t){return new aw(t)},t.curveMonotoneY=function(t){return new uw(t)},t.curveNatural=function(t){return new fw(t)},t.curveStep=function(t){return new lw(t,.5)},t.curveStepAfter=function(t){return new lw(t,1)},t.curveStepBefore=function(t){return new lw(t,0)},t.descending=e,t.deviation=w,t.difference=function(t,...n){t=new InternSet(t);for(const e of n)for(const n of e)t.delete(n);return t},t.disjoint=function(t,n){const e=n[Symbol.iterator](),r=new InternSet;for(const n of t){if(r.has(n))return!1;let t,i;for(;({value:t,done:i}=e.next())&&!i;){if(Object.is(n,t))return!1;r.add(t)}}return!0},t.dispatch=$t,t.drag=function(){var t,n,e,r,i=se,o=le,a=he,u=de,c={},f=$t("start","drag","end"),s=0,l=0;function h(t){t.on("mousedown.drag",d).filter(u).on("touchstart.drag",y).on("touchmove.drag",v,ee).on("touchend.drag touchcancel.drag",_).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(a,u){if(!r&&i.call(this,a,u)){var c=b(this,o.call(this,a,u),a,u,"mouse");c&&(Zn(a.view).on("mousemove.drag",p,re).on("mouseup.drag",g,re),ae(a.view),ie(a),e=!1,t=a.clientX,n=a.clientY,c("start",a))}}function p(r){if(oe(r),!e){var i=r.clientX-t,o=r.clientY-n;e=i*i+o*o>l}c.mouse("drag",r)}function g(t){Zn(t.view).on("mousemove.drag mouseup.drag",null),ue(t.view,e),oe(t),c.mouse("end",t)}function y(t,n){if(i.call(this,t,n)){var e,r,a=t.changedTouches,u=o.call(this,t,n),c=a.length;for(e=0;e+t,t.easePoly=wo,t.easePolyIn=mo,t.easePolyInOut=wo,t.easePolyOut=xo,t.easeQuad=_o,t.easeQuadIn=function(t){return t*t},t.easeQuadInOut=_o,t.easeQuadOut=function(t){return t*(2-t)},t.easeSin=Ao,t.easeSinIn=function(t){return 1==+t?1:1-Math.cos(t*To)},t.easeSinInOut=Ao,t.easeSinOut=function(t){return Math.sin(t*To)},t.every=function(t,n){if("function"!=typeof n)throw new TypeError("test is not a function");let e=-1;for(const r of t)if(!n(r,++e,t))return!1;return!0},t.extent=M,t.fcumsum=function(t,n){const e=new T;let r=-1;return Float64Array.from(t,void 0===n?t=>e.add(+t||0):i=>e.add(+n(i,++r,t)||0))},t.filter=function(t,n){if("function"!=typeof n)throw new TypeError("test is not a function");const e=[];let r=-1;for(const i of t)n(i,++r,t)&&e.push(i);return e},t.flatGroup=function(t,...n){return z(P(t,...n),n)},t.flatRollup=function(t,n,...e){return z(D(t,n,...e),e)},t.forceCenter=function(t,n){var e,r=1;function i(){var i,o,a=e.length,u=0,c=0;for(i=0;if+p||os+p||ac.index){var g=f-u.x-u.vx,y=s-u.y-u.vy,v=g*g+y*y;vt.r&&(t.r=t[n].r)}function c(){if(n){var r,i,o=n.length;for(e=new Array(o),r=0;r[u(t,n,r),t])));for(a=0,i=new Array(f);a=u)){(t.data!==n||t.next)&&(0===l&&(p+=(l=Uc(e))*l),0===h&&(p+=(h=Uc(e))*h),p(t=(Lc*t+jc)%Hc)/Hc}();function l(){h(),f.call("tick",n),e1?(null==e?u.delete(t):u.set(t,p(e)),n):u.get(t)},find:function(n,e,r){var i,o,a,u,c,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f1?(f.on(t,e),n):f.on(t)}}},t.forceX=function(t){var n,e,r,i=qc(.1);function o(t){for(var i,o=0,a=n.length;o=.12&&i<.234&&r>=-.425&&r<-.214?u:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:a).invert(t)},s.stream=function(e){return t&&n===e?t:(r=[a.stream(n=e),u.stream(e),c.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++ejs(r[0],r[1])&&(r[1]=i[1]),js(i[0],r[1])>js(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,n=0,r=o[e=o.length-1];n<=e;r=i,++n)i=o[n],(u=js(r[1],i[0]))>a&&(a=u,Wf=i[0],Kf=r[1])}return is=os=null,Wf===1/0||Zf===1/0?[[NaN,NaN],[NaN,NaN]]:[[Wf,Zf],[Kf,Qf]]},t.geoCentroid=function(t){ms=xs=ws=Ms=Ts=As=Ss=Es=0,Ns=new T,ks=new T,Cs=new T,Lf(t,Gs);var n=+Ns,e=+ks,r=+Cs,i=Ef(n,e,r);return i=0))throw new RangeError(`invalid digits: ${t}`);i=n}return null===n&&(r=new ed(i)),a},a.projection(t).digits(i).context(n)},t.geoProjection=yd,t.geoProjectionMutator=vd,t.geoRotation=ll,t.geoStereographic=function(){return yd(Bd).scale(250).clipAngle(142)},t.geoStereographicRaw=Bd,t.geoStream=Lf,t.geoTransform=function(t){return{stream:id(t)}},t.geoTransverseMercator=function(){var t=Ed(Yd),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)},t.geoTransverseMercatorRaw=Yd,t.gray=function(t,n){return new ur(t,0,0,null==n?1:n)},t.greatest=ot,t.greatestIndex=function(t,e=n){if(1===e.length)return tt(t,e);let r,i=-1,o=-1;for(const n of t)++o,(i<0?0===e(n,n):e(n,r)>0)&&(r=n,i=o);return i},t.group=C,t.groupSort=function(t,e,r){return(2!==e.length?U($(t,e,r),(([t,e],[r,i])=>n(e,i)||n(t,r))):U(C(t,r),(([t,r],[i,o])=>e(r,o)||n(t,i)))).map((([t])=>t))},t.groups=P,t.hcl=dr,t.hierarchy=Gd,t.histogram=Q,t.hsl=He,t.html=Ec,t.image=function(t,n){return new Promise((function(e,r){var i=new Image;for(var o in n)i[o]=n[o];i.onerror=r,i.onload=function(){e(i)},i.src=t}))},t.index=function(t,...n){return F(t,k,R,n)},t.indexes=function(t,...n){return F(t,Array.from,R,n)},t.interpolate=Gr,t.interpolateArray=function(t,n){return(Ir(n)?Ur:Or)(t,n)},t.interpolateBasis=Er,t.interpolateBasisClosed=Nr,t.interpolateBlues=Gb,t.interpolateBrBG=ob,t.interpolateBuGn=Mb,t.interpolateBuPu=Ab,t.interpolateCividis=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-t*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"},t.interpolateCool=am,t.interpolateCubehelix=li,t.interpolateCubehelixDefault=im,t.interpolateCubehelixLong=hi,t.interpolateDate=Br,t.interpolateDiscrete=function(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}},t.interpolateGnBu=Eb,t.interpolateGreens=Wb,t.interpolateGreys=Kb,t.interpolateHcl=ci,t.interpolateHclLong=fi,t.interpolateHsl=oi,t.interpolateHslLong=ai,t.interpolateHue=function(t,n){var e=Pr(+t,+n);return function(t){var n=e(t);return n-360*Math.floor(n/360)}},t.interpolateInferno=pm,t.interpolateLab=function(t,n){var e=$r((t=ar(t)).l,(n=ar(n)).l),r=$r(t.a,n.a),i=$r(t.b,n.b),o=$r(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=r(n),t.b=i(n),t.opacity=o(n),t+""}},t.interpolateMagma=dm,t.interpolateNumber=Yr,t.interpolateNumberArray=Ur,t.interpolateObject=Lr,t.interpolateOrRd=kb,t.interpolateOranges=rm,t.interpolatePRGn=ub,t.interpolatePiYG=fb,t.interpolatePlasma=gm,t.interpolatePuBu=$b,t.interpolatePuBuGn=Pb,t.interpolatePuOr=lb,t.interpolatePuRd=Rb,t.interpolatePurples=Jb,t.interpolateRainbow=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return um.h=360*t-100,um.s=1.5-1.5*n,um.l=.8-.9*n,um+""},t.interpolateRdBu=db,t.interpolateRdGy=gb,t.interpolateRdPu=qb,t.interpolateRdYlBu=vb,t.interpolateRdYlGn=bb,t.interpolateReds=nm,t.interpolateRgb=Dr,t.interpolateRgbBasis=Fr,t.interpolateRgbBasisClosed=qr,t.interpolateRound=Vr,t.interpolateSinebow=function(t){var n;return t=(.5-t)*Math.PI,cm.r=255*(n=Math.sin(t))*n,cm.g=255*(n=Math.sin(t+fm))*n,cm.b=255*(n=Math.sin(t+sm))*n,cm+""},t.interpolateSpectral=xb,t.interpolateString=Xr,t.interpolateTransformCss=ti,t.interpolateTransformSvg=ni,t.interpolateTurbo=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"},t.interpolateViridis=hm,t.interpolateWarm=om,t.interpolateYlGn=Bb,t.interpolateYlGnBu=Ib,t.interpolateYlOrBr=Lb,t.interpolateYlOrRd=Hb,t.interpolateZoom=ri,t.interrupt=Gi,t.intersection=function(t,...n){t=new InternSet(t),n=n.map(vt);t:for(const e of t)for(const r of n)if(!r.has(e)){t.delete(e);continue t}return t},t.interval=function(t,n,e){var r=new Ei,i=n;return null==n?(r.restart(t,n,e),r):(r._restart=r.restart,r.restart=function(t,n,e){n=+n,e=null==e?Ai():+e,r._restart((function o(a){a+=i,r._restart(o,i+=n,e),t(a)}),n,e)},r.restart(t,n,e),r)},t.isoFormat=D_,t.isoParse=F_,t.json=function(t,n){return fetch(t,n).then(Tc)},t.lab=ar,t.lch=function(t,n,e,r){return 1===arguments.length?hr(t):new pr(e,n,t,null==r?1:r)},t.least=function(t,e=n){let r,i=!1;if(1===e.length){let o;for(const a of t){const t=e(a);(i?n(t,o)<0:0===n(t,t))&&(r=a,o=t,i=!0)}}else for(const n of t)(i?e(n,r)<0:0===e(n,n))&&(r=n,i=!0);return r},t.leastIndex=ht,t.line=Ym,t.lineRadial=Zm,t.link=ax,t.linkHorizontal=function(){return ax(nx)},t.linkRadial=function(){const t=ax(rx);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t},t.linkVertical=function(){return ax(ex)},t.local=Qn,t.map=function(t,n){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");if("function"!=typeof n)throw new TypeError("mapper is not a function");return Array.from(t,((e,r)=>n(e,r,t)))},t.matcher=Vt,t.max=J,t.maxIndex=tt,t.mean=function(t,n){let e=0,r=0;if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(++e,r+=n);else{let i=-1;for(let o of t)null!=(o=n(o,++i,t))&&(o=+o)>=o&&(++e,r+=o)}if(e)return r/e},t.median=function(t,n){return at(t,.5,n)},t.medianIndex=function(t,n){return ct(t,.5,n)},t.merge=ft,t.min=nt,t.minIndex=et,t.mode=function(t,n){const e=new InternMap;if(void 0===n)for(let n of t)null!=n&&n>=n&&e.set(n,(e.get(n)||0)+1);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&i>=i&&e.set(i,(e.get(i)||0)+1)}let r,i=0;for(const[t,n]of e)n>i&&(i=n,r=t);return r},t.namespace=It,t.namespaces=Ut,t.nice=Z,t.now=Ai,t.pack=function(){var t=null,n=1,e=1,r=np;function i(i){const o=ap();return i.x=n/2,i.y=e/2,t?i.eachBefore(xp(t)).eachAfter(wp(r,.5,o)).eachBefore(Mp(1)):i.eachBefore(xp(mp)).eachAfter(wp(np,1,o)).eachAfter(wp(r,i.r/Math.min(n,e),o)).eachBefore(Mp(Math.min(n,e)/(2*i.r))),i}return i.radius=function(n){return arguments.length?(t=Jd(n),i):t},i.size=function(t){return arguments.length?(n=+t[0],e=+t[1],i):[n,e]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:ep(+t),i):r},i},t.packEnclose=function(t){return up(t,ap())},t.packSiblings=function(t){return bp(t,ap()),t},t.pairs=function(t,n=st){const e=[];let r,i=!1;for(const o of t)i&&e.push(n(r,o)),r=o,i=!0;return e},t.partition=function(){var t=1,n=1,e=0,r=!1;function i(i){var o=i.height+1;return i.x0=i.y0=e,i.x1=t,i.y1=n/o,i.eachBefore(function(t,n){return function(r){r.children&&Ap(r,r.x0,t*(r.depth+1)/n,r.x1,t*(r.depth+2)/n);var i=r.x0,o=r.y0,a=r.x1-e,u=r.y1-e;a0&&(d+=l);for(null!=n?p.sort((function(t,e){return n(g[t],g[e])})):null!=e&&p.sort((function(t,n){return e(a[t],a[n])})),u=0,f=d?(v-h*b)/d:0;u0?l*f:0)+b,g[c]={data:a[c],index:u,value:l,startAngle:y,endAngle:s,padAngle:_};return g}return a.value=function(n){return arguments.length?(t="function"==typeof n?n:ym(+n),a):t},a.sortValues=function(t){return arguments.length?(n=t,e=null,a):n},a.sort=function(t){return arguments.length?(e=t,n=null,a):e},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:ym(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:ym(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:ym(+t),a):o},a},t.piecewise=di,t.pointRadial=Qm,t.pointer=ne,t.pointers=function(t,n){return t.target&&(t=te(t),void 0===n&&(n=t.currentTarget),t=t.touches||[t]),Array.from(t,(t=>ne(t,n)))},t.polygonArea=function(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++eu!=f>u&&a<(c-e)*(u-r)/(f-r)+e&&(s=!s),c=e,f=r;return s},t.polygonHull=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),i=new Array(e);for(n=0;n=0;--n)f.push(t[r[o[n]][2]]);for(n=+u;n(n=1664525*n+1013904223|0,lg*(n>>>0))},t.randomLogNormal=Kp,t.randomLogistic=fg,t.randomNormal=Zp,t.randomPareto=ng,t.randomPoisson=sg,t.randomUniform=Vp,t.randomWeibull=ug,t.range=lt,t.rank=function(t,e=n){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");let r=Array.from(t);const i=new Float64Array(r.length);2!==e.length&&(r=r.map(e),e=n);const o=(t,n)=>e(r[t],r[n]);let a,u;return(t=Uint32Array.from(r,((t,n)=>n))).sort(e===n?(t,n)=>O(r[t],r[n]):I(o)),t.forEach(((t,n)=>{const e=o(t,void 0===a?t:a);e>=0?((void 0===a||e>0)&&(a=t,u=n),i[t]=u):i[t]=NaN})),i},t.reduce=function(t,n,e){if("function"!=typeof n)throw new TypeError("reducer is not a function");const r=t[Symbol.iterator]();let i,o,a=-1;if(arguments.length<3){if(({done:i,value:e}=r.next()),i)return;++a}for(;({done:i,value:o}=r.next()),!i;)e=n(e,o,++a,t);return e},t.reverse=function(t){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");return Array.from(t).reverse()},t.rgb=Fe,t.ribbon=function(){return Wa()},t.ribbonArrow=function(){return Wa(Va)},t.rollup=$,t.rollups=D,t.scaleBand=yg,t.scaleDiverging=function t(){var n=Ng(L_()(mg));return n.copy=function(){return B_(n,t())},dg.apply(n,arguments)},t.scaleDivergingLog=function t(){var n=Fg(L_()).domain([.1,1,10]);return n.copy=function(){return B_(n,t()).base(n.base())},dg.apply(n,arguments)},t.scaleDivergingPow=j_,t.scaleDivergingSqrt=function(){return j_.apply(null,arguments).exponent(.5)},t.scaleDivergingSymlog=function t(){var n=Ig(L_());return n.copy=function(){return B_(n,t()).constant(n.constant())},dg.apply(n,arguments)},t.scaleIdentity=function t(n){var e;function r(t){return null==t||isNaN(t=+t)?e:t}return r.invert=r,r.domain=r.range=function(t){return arguments.length?(n=Array.from(t,_g),r):n.slice()},r.unknown=function(t){return arguments.length?(e=t,r):e},r.copy=function(){return t(n).unknown(e)},n=arguments.length?Array.from(n,_g):[0,1],Ng(r)},t.scaleImplicit=pg,t.scaleLinear=function t(){var n=Sg();return n.copy=function(){return Tg(n,t())},hg.apply(n,arguments),Ng(n)},t.scaleLog=function t(){const n=Fg(Ag()).domain([1,10]);return n.copy=()=>Tg(n,t()).base(n.base()),hg.apply(n,arguments),n},t.scaleOrdinal=gg,t.scalePoint=function(){return vg(yg.apply(null,arguments).paddingInner(1))},t.scalePow=jg,t.scaleQuantile=function t(){var e,r=[],i=[],o=[];function a(){var t=0,n=Math.max(1,i.length);for(o=new Array(n-1);++t0?o[n-1]:r[0],n=i?[o[i-1],r]:[o[n-1],o[n]]},u.unknown=function(t){return arguments.length?(n=t,u):u},u.thresholds=function(){return o.slice()},u.copy=function(){return t().domain([e,r]).range(a).unknown(n)},hg.apply(Ng(u),arguments)},t.scaleRadial=function t(){var n,e=Sg(),r=[0,1],i=!1;function o(t){var r=function(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}(e(t));return isNaN(r)?n:i?Math.round(r):r}return o.invert=function(t){return e.invert(Hg(t))},o.domain=function(t){return arguments.length?(e.domain(t),o):e.domain()},o.range=function(t){return arguments.length?(e.range((r=Array.from(t,_g)).map(Hg)),o):r.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(i=!!t,o):i},o.clamp=function(t){return arguments.length?(e.clamp(t),o):e.clamp()},o.unknown=function(t){return arguments.length?(n=t,o):n},o.copy=function(){return t(e.domain(),r).round(i).clamp(e.clamp()).unknown(n)},hg.apply(o,arguments),Ng(o)},t.scaleSequential=function t(){var n=Ng(O_()(mg));return n.copy=function(){return B_(n,t())},dg.apply(n,arguments)},t.scaleSequentialLog=function t(){var n=Fg(O_()).domain([1,10]);return n.copy=function(){return B_(n,t()).base(n.base())},dg.apply(n,arguments)},t.scaleSequentialPow=Y_,t.scaleSequentialQuantile=function t(){var e=[],r=mg;function i(t){if(null!=t&&!isNaN(t=+t))return r((s(e,t,1)-1)/(e.length-1))}return i.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)null==n||isNaN(n=+n)||e.push(n);return e.sort(n),i},i.interpolator=function(t){return arguments.length?(r=t,i):r},i.range=function(){return e.map(((t,n)=>r(n/(e.length-1))))},i.quantiles=function(t){return Array.from({length:t+1},((n,r)=>at(e,r/t)))},i.copy=function(){return t(r).domain(e)},dg.apply(i,arguments)},t.scaleSequentialSqrt=function(){return Y_.apply(null,arguments).exponent(.5)},t.scaleSequentialSymlog=function t(){var n=Ig(O_());return n.copy=function(){return B_(n,t()).constant(n.constant())},dg.apply(n,arguments)},t.scaleSqrt=function(){return jg.apply(null,arguments).exponent(.5)},t.scaleSymlog=function t(){var n=Ig(Ag());return n.copy=function(){return Tg(n,t()).constant(n.constant())},hg.apply(n,arguments)},t.scaleThreshold=function t(){var n,e=[.5],r=[0,1],i=1;function o(t){return null!=t&&t<=t?r[s(e,t,0,i)]:n}return o.domain=function(t){return arguments.length?(e=Array.from(t),i=Math.min(e.length,r.length-1),o):e.slice()},o.range=function(t){return arguments.length?(r=Array.from(t),i=Math.min(e.length,r.length-1),o):r.slice()},o.invertExtent=function(t){var n=r.indexOf(t);return[e[n-1],e[n]]},o.unknown=function(t){return arguments.length?(n=t,o):n},o.copy=function(){return t().domain(e).range(r).unknown(n)},hg.apply(o,arguments)},t.scaleTime=function(){return hg.apply(I_(uv,cv,tv,Zy,xy,py,sy,ay,iy,t.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},t.scaleUtc=function(){return hg.apply(I_(ov,av,ev,Qy,Fy,yy,hy,cy,iy,t.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},t.scan=function(t,n){const e=ht(t,n);return e<0?void 0:e},t.schemeAccent=G_,t.schemeBlues=Xb,t.schemeBrBG=ib,t.schemeBuGn=wb,t.schemeBuPu=Tb,t.schemeCategory10=X_,t.schemeDark2=V_,t.schemeGnBu=Sb,t.schemeGreens=Vb,t.schemeGreys=Zb,t.schemeObservable10=W_,t.schemeOrRd=Nb,t.schemeOranges=em,t.schemePRGn=ab,t.schemePaired=Z_,t.schemePastel1=K_,t.schemePastel2=Q_,t.schemePiYG=cb,t.schemePuBu=zb,t.schemePuBuGn=Cb,t.schemePuOr=sb,t.schemePuRd=Db,t.schemePurples=Qb,t.schemeRdBu=hb,t.schemeRdGy=pb,t.schemeRdPu=Fb,t.schemeRdYlBu=yb,t.schemeRdYlGn=_b,t.schemeReds=tm,t.schemeSet1=J_,t.schemeSet2=tb,t.schemeSet3=nb,t.schemeSpectral=mb,t.schemeTableau10=eb,t.schemeYlGn=Ob,t.schemeYlGnBu=Ub,t.schemeYlOrBr=Yb,t.schemeYlOrRd=jb,t.select=Zn,t.selectAll=function(t){return"string"==typeof t?new Vn([document.querySelectorAll(t)],[document.documentElement]):new Vn([Ht(t)],Gn)},t.selection=Wn,t.selector=jt,t.selectorAll=Gt,t.shuffle=dt,t.shuffler=pt,t.some=function(t,n){if("function"!=typeof n)throw new TypeError("test is not a function");let e=-1;for(const r of t)if(n(r,++e,t))return!0;return!1},t.sort=U,t.stack=function(){var t=ym([]),n=dw,e=hw,r=pw;function i(i){var o,a,u=Array.from(t.apply(this,arguments),gw),c=u.length,f=-1;for(const t of i)for(o=0,++f;o0)for(var e,r,i,o,a,u,c=0,f=t[n[0]].length;c0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)},t.stackOffsetExpand=function(t,n){if((r=t.length)>0){for(var e,r,i,o=0,a=t[0].length;o0){for(var e,r=0,i=t[n[0]],o=i.length;r0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,a=1;afunction(t){t=`${t}`;let n=t.length;zp(t,n-1)&&!zp(t,n-2)&&(t=t.slice(0,-1));return"/"===t[0]?t:`/${t}`}(t(n,e,r)))),e=n.map(Pp),i=new Set(n).add("");for(const t of e)i.has(t)||(i.add(t),n.push(t),e.push(Pp(t)),h.push(Np));d=(t,e)=>n[e],p=(t,n)=>e[n]}for(a=0,i=h.length;a=0&&(f=h[t]).data===Np;--t)f.data=null}if(u.parent=Sp,u.eachBefore((function(t){t.depth=t.parent.depth+1,--i})).eachBefore(Kd),u.parent=null,i>0)throw new Error("cycle");return u}return r.id=function(t){return arguments.length?(n=Jd(t),r):n},r.parentId=function(t){return arguments.length?(e=Jd(t),r):e},r.path=function(n){return arguments.length?(t=Jd(n),r):t},r},t.style=_n,t.subset=function(t,n){return _t(n,t)},t.sum=function(t,n){let e=0;if(void 0===n)for(let n of t)(n=+n)&&(e+=n);else{let r=-1;for(let i of t)(i=+n(i,++r,t))&&(e+=i)}return e},t.superset=_t,t.svg=Nc,t.symbol=function(t,n){let e=null,r=km(i);function i(){let i;if(e||(e=i=r()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return t="function"==typeof t?t:ym(t||fx),n="function"==typeof n?n:ym(void 0===n?64:+n),i.type=function(n){return arguments.length?(t="function"==typeof n?n:ym(n),i):t},i.size=function(t){return arguments.length?(n="function"==typeof t?t:ym(+t),i):n},i.context=function(t){return arguments.length?(e=null==t?null:t,i):e},i},t.symbolAsterisk=cx,t.symbolCircle=fx,t.symbolCross=sx,t.symbolDiamond=dx,t.symbolDiamond2=px,t.symbolPlus=gx,t.symbolSquare=yx,t.symbolSquare2=vx,t.symbolStar=xx,t.symbolTimes=Px,t.symbolTriangle=Mx,t.symbolTriangle2=Ax,t.symbolWye=Cx,t.symbolX=Px,t.symbols=zx,t.symbolsFill=zx,t.symbolsStroke=$x,t.text=mc,t.thresholdFreedmanDiaconis=function(t,n,e){const r=v(t),i=at(t,.75)-at(t,.25);return r&&i?Math.ceil((e-n)/(2*i*Math.pow(r,-1/3))):1},t.thresholdScott=function(t,n,e){const r=v(t),i=w(t);return r&&i?Math.ceil((e-n)*Math.cbrt(r)/(3.49*i)):1},t.thresholdSturges=K,t.tickFormat=Eg,t.tickIncrement=V,t.tickStep=W,t.ticks=G,t.timeDay=py,t.timeDays=gy,t.timeFormatDefaultLocale=P_,t.timeFormatLocale=hv,t.timeFriday=Sy,t.timeFridays=$y,t.timeHour=sy,t.timeHours=ly,t.timeInterval=Vg,t.timeMillisecond=Wg,t.timeMilliseconds=Zg,t.timeMinute=ay,t.timeMinutes=uy,t.timeMonday=wy,t.timeMondays=ky,t.timeMonth=Zy,t.timeMonths=Ky,t.timeSaturday=Ey,t.timeSaturdays=Dy,t.timeSecond=iy,t.timeSeconds=oy,t.timeSunday=xy,t.timeSundays=Ny,t.timeThursday=Ay,t.timeThursdays=zy,t.timeTickInterval=cv,t.timeTicks=uv,t.timeTuesday=My,t.timeTuesdays=Cy,t.timeWednesday=Ty,t.timeWednesdays=Py,t.timeWeek=xy,t.timeWeeks=Ny,t.timeYear=tv,t.timeYears=nv,t.timeout=$i,t.timer=Ni,t.timerFlush=ki,t.transition=go,t.transpose=gt,t.tree=function(){var t=$p,n=1,e=1,r=null;function i(i){var c=function(t){for(var n,e,r,i,o,a=new Up(t,0),u=[a];n=u.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)u.push(e=n.children[i]=new Up(r[i],i)),e.parent=n;return(a.parent=new Up(null,0)).children=[a],a}(i);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(a),r)i.eachBefore(u);else{var f=i,s=i,l=i;i.eachBefore((function(t){t.xs.x&&(s=t),t.depth>l.depth&&(l=t)}));var h=f===s?1:t(f,s)/2,d=h-f.x,p=n/(s.x+h+d),g=e/(l.depth||1);i.eachBefore((function(t){t.x=(t.x+d)*p,t.y=t.depth*g}))}return i}function o(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)(n=i[o]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var o=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-o):n.z=o}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,o=n,a=n,u=e,c=o.parent.children[0],f=o.m,s=a.m,l=u.m,h=c.m;u=Rp(u),o=Dp(o),u&&o;)c=Dp(c),(a=Rp(a)).a=n,(i=u.z+l-o.z-f+t(u._,o._))>0&&(Fp(qp(u,n,r),n,i),f+=i,s+=i),l+=u.m,f+=o.m,h+=c.m,s+=a.m;u&&!Rp(a)&&(a.t=u,a.m+=l-s),o&&!Dp(c)&&(c.t=o,c.m+=f-h,r=n)}return r}(n,i,n.parent.A||r[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function u(t){t.x*=n,t.y=t.depth*e}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i},t.treemap=function(){var t=Yp,n=!1,e=1,r=1,i=[0],o=np,a=np,u=np,c=np,f=np;function s(t){return t.x0=t.y0=0,t.x1=e,t.y1=r,t.eachBefore(l),i=[0],n&&t.eachBefore(Tp),t}function l(n){var e=i[n.depth],r=n.x0+e,s=n.y0+e,l=n.x1-e,h=n.y1-e;l=e-1){var s=u[n];return s.x0=i,s.y0=o,s.x1=a,void(s.y1=c)}var l=f[n],h=r/2+l,d=n+1,p=e-1;for(;d>>1;f[g]c-o){var _=r?(i*v+a*y)/r:a;t(n,d,y,i,o,_,c),t(d,e,v,_,o,a,c)}else{var b=r?(o*v+c*y)/r:c;t(n,d,y,i,o,a,b),t(d,e,v,i,b,a,c)}}(0,c,t.value,n,e,r,i)},t.treemapDice=Ap,t.treemapResquarify=Lp,t.treemapSlice=Ip,t.treemapSliceDice=function(t,n,e,r,i){(1&t.depth?Ip:Ap)(t,n,e,r,i)},t.treemapSquarify=Yp,t.tsv=Mc,t.tsvFormat=lc,t.tsvFormatBody=hc,t.tsvFormatRow=pc,t.tsvFormatRows=dc,t.tsvFormatValue=gc,t.tsvParse=fc,t.tsvParseRows=sc,t.union=function(...t){const n=new InternSet;for(const e of t)for(const t of e)n.add(t);return n},t.unixDay=_y,t.unixDays=by,t.utcDay=yy,t.utcDays=vy,t.utcFriday=By,t.utcFridays=Vy,t.utcHour=hy,t.utcHours=dy,t.utcMillisecond=Wg,t.utcMilliseconds=Zg,t.utcMinute=cy,t.utcMinutes=fy,t.utcMonday=qy,t.utcMondays=jy,t.utcMonth=Qy,t.utcMonths=Jy,t.utcSaturday=Yy,t.utcSaturdays=Wy,t.utcSecond=iy,t.utcSeconds=oy,t.utcSunday=Fy,t.utcSundays=Ly,t.utcThursday=Oy,t.utcThursdays=Gy,t.utcTickInterval=av,t.utcTicks=ov,t.utcTuesday=Uy,t.utcTuesdays=Hy,t.utcWednesday=Iy,t.utcWednesdays=Xy,t.utcWeek=Fy,t.utcWeeks=Ly,t.utcYear=ev,t.utcYears=rv,t.variance=x,t.version="7.9.0",t.window=pn,t.xml=Sc,t.zip=function(){return gt(arguments)},t.zoom=function(){var t,n,e,r=Ew,i=Nw,o=zw,a=Cw,u=Pw,c=[0,1/0],f=[[-1/0,-1/0],[1/0,1/0]],s=250,l=ri,h=$t("start","zoom","end"),d=500,p=150,g=0,y=10;function v(t){t.property("__zoom",kw).on("wheel.zoom",T,{passive:!1}).on("mousedown.zoom",A).on("dblclick.zoom",S).filter(u).on("touchstart.zoom",E).on("touchmove.zoom",N).on("touchend.zoom touchcancel.zoom",k).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function _(t,n){return(n=Math.max(c[0],Math.min(c[1],n)))===t.k?t:new ww(n,t.x,t.y)}function b(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new ww(t.k,r,i)}function m(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function x(t,n,e,r){t.on("start.zoom",(function(){w(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){w(this,arguments).event(r).end()})).tween("zoom",(function(){var t=this,o=arguments,a=w(t,o).event(r),u=i.apply(t,o),c=null==e?m(u):"function"==typeof e?e.apply(t,o):e,f=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),s=t.__zoom,h="function"==typeof n?n.apply(t,o):n,d=l(s.invert(c).concat(f/s.k),h.invert(c).concat(f/h.k));return function(t){if(1===t)t=h;else{var n=d(t),e=f/n[2];t=new ww(e,c[0]-n[0]*e,c[1]-n[1]*e)}a.zoom(null,t)}}))}function w(t,n,e){return!e&&t.__zooming||new M(t,n)}function M(t,n){this.that=t,this.args=n,this.active=0,this.sourceEvent=null,this.extent=i.apply(t,n),this.taps=0}function T(t,...n){if(r.apply(this,arguments)){var e=w(this,n).event(t),i=this.__zoom,u=Math.max(c[0],Math.min(c[1],i.k*Math.pow(2,a.apply(this,arguments)))),s=ne(t);if(e.wheel)e.mouse[0][0]===s[0]&&e.mouse[0][1]===s[1]||(e.mouse[1]=i.invert(e.mouse[0]=s)),clearTimeout(e.wheel);else{if(i.k===u)return;e.mouse=[s,i.invert(s)],Gi(this),e.start()}Sw(t),e.wheel=setTimeout((function(){e.wheel=null,e.end()}),p),e.zoom("mouse",o(b(_(i,u),e.mouse[0],e.mouse[1]),e.extent,f))}}function A(t,...n){if(!e&&r.apply(this,arguments)){var i=t.currentTarget,a=w(this,n,!0).event(t),u=Zn(t.view).on("mousemove.zoom",(function(t){if(Sw(t),!a.moved){var n=t.clientX-s,e=t.clientY-l;a.moved=n*n+e*e>g}a.event(t).zoom("mouse",o(b(a.that.__zoom,a.mouse[0]=ne(t,i),a.mouse[1]),a.extent,f))}),!0).on("mouseup.zoom",(function(t){u.on("mousemove.zoom mouseup.zoom",null),ue(t.view,a.moved),Sw(t),a.event(t).end()}),!0),c=ne(t,i),s=t.clientX,l=t.clientY;ae(t.view),Aw(t),a.mouse=[c,this.__zoom.invert(c)],Gi(this),a.start()}}function S(t,...n){if(r.apply(this,arguments)){var e=this.__zoom,a=ne(t.changedTouches?t.changedTouches[0]:t,this),u=e.invert(a),c=e.k*(t.shiftKey?.5:2),l=o(b(_(e,c),a,u),i.apply(this,n),f);Sw(t),s>0?Zn(this).transition().duration(s).call(x,l,a,t):Zn(this).call(v.transform,l,a,t)}}function E(e,...i){if(r.apply(this,arguments)){var o,a,u,c,f=e.touches,s=f.length,l=w(this,i,e.changedTouches.length===s).event(e);for(Aw(e),a=0;a`https://cdn.jsdelivr.net/npm/${t}`,unpkg:t=>`https://unpkg.com/${t}`};class r{constructor(){this.providers={...n},this.provider="jsdelivr"}async getFastestProvider(t=5e3,e="npm2url/dist/index.cjs"){const n=new AbortController;let r=0;try{return await new Promise(((s,i)=>{Promise.all(Object.entries(this.providers).map((async([t,r])=>{try{await async function(t,e){const n=await fetch(t,{signal:e});if(!n.ok)throw n;await n.text()}(r(e),n.signal),s(t)}catch{}}))).then((()=>i(new Error("All providers failed")))),r=setTimeout(i,t,new Error("Timed out"))}))}finally{n.abort(),clearTimeout(r)}}async findFastestProvider(t,e){return this.provider=await this.getFastestProvider(t,e),this.provider}setProvider(t,e){e?this.providers[t]=e:delete this.providers[t]}getFullUrl(t,e=this.provider){if(t.includes("://"))return t;const n=this.providers[e];if(!n)throw new Error(`Provider ${e} not found`);return n(t)}}class s{constructor(){this.listeners=[]}tap(t){return this.listeners.push(t),()=>this.revoke(t)}revoke(t){const e=this.listeners.indexOf(t);e>=0&&this.listeners.splice(e,1)}revokeAll(){this.listeners.splice(0)}call(...t){for(const e of this.listeners)e(...t)}}function i(){}function o(t,e){return(...n)=>e(t,...n)}Math.random().toString(36).slice(2,8); -/*! @gera2ld/jsx-dom v2.2.2 | ISC License */ -const a="http://www.w3.org/1999/xlink",c={show:a,actuate:a,href:a};function l(t,e,...n){return function(t,e){let n;if("string"==typeof t)n=1;else{if("function"!=typeof t)throw new Error("Invalid VNode type");n=2}return{vtype:n,type:t,props:e}}(t,e=Object.assign({},e,{children:1===n.length?n[0]:n}))}function u(t){return t.children}const h={isSvg:!1};function f(t,e){Array.isArray(e)||(e=[e]),(e=e.filter(Boolean)).length&&t.append(...e)}const d={className:"class",labelFor:"for"};function p(t,e,n,r){if(e=d[e]||e,!0===n)t.setAttribute(e,"");else if(!1===n)t.removeAttribute(e);else{const s=r?c[e]:void 0;void 0!==s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}}function m(t,e){return Array.isArray(t)?t.map((t=>m(t,e))).reduce(((t,e)=>t.concat(e)),[]):g(t,e)}function g(t,e=h){if(null==t||"boolean"==typeof t)return null;if(t instanceof Node)return t;if(2===(null==(n=t)?void 0:n.vtype)){const{type:n,props:r}=t;if(n===u){const t=document.createDocumentFragment();if(r.children){f(t,m(r.children,e))}return t}return g(n(r),e)}var n;if((t=>"string"==typeof t||"number"==typeof t)(t))return document.createTextNode(`${t}`);if((t=>1===(null==t?void 0:t.vtype))(t)){let n;const{type:r,props:s}=t;if(e.isSvg||"svg"!==r||(e=Object.assign({},e,{isSvg:!0})),n=e.isSvg?document.createElementNS("http://www.w3.org/2000/svg",r):document.createElement(r),function(t,e,n){for(const r in e)if("key"!==r&&"children"!==r&&"ref"!==r)if("dangerouslySetInnerHTML"===r)t.innerHTML=e[r].__html;else if("innerHTML"===r||"textContent"===r||"innerText"===r||"value"===r&&["textarea","select"].includes(t.tagName)){const n=e[r];null!=n&&(t[r]=n)}else r.startsWith("on")?t[r.toLowerCase()]=e[r]:p(t,r,e[r],n.isSvg)}(n,s,e),s.children){let t=e;e.isSvg&&"foreignObject"===r&&(t=Object.assign({},t,{isSvg:!1}));const i=m(s.children,t);null!=i&&f(n,i)}const{ref:i}=s;return"function"==typeof i&&i(n),n}throw new Error("mount: Invalid Vnode!")}function y(...t){return g(l(...t))}const b=function(t){const e={};return function(...n){const r=`${n[0]}`;let s=e[r];return s||(s={value:t(...n)},e[r]=s),s.value}}((t=>{document.head.append(y("link",{rel:"preload",as:"script",href:t}))})),k={};async function _(t,e){var n;const r="script"===t.type&&(null==(n=t.data)?void 0:n.src)||"";if(t.loaded||(t.loaded=k[r]),!t.loaded){const n=function(){const t={};return t.promise=new Promise(((e,n)=>{t.resolve=e,t.reject=n})),t}();if(t.loaded=n.promise,"script"===t.type&&(document.head.append(y("script",{...t.data,onLoad:()=>n.resolve(),onError:n.reject})),r?k[r]=t.loaded:n.resolve()),"iife"===t.type){const{fn:r,getParams:s}=t.data;r(...(null==s?void 0:s(e))||[]),n.resolve()}}await t.loaded}async function v(t,e){t.forEach((t=>{var e;"script"===t.type&&(null==(e=t.data)?void 0:e.src)&&b(t.data.src)})),e={getMarkmap:()=>window.markmap,...e};for(const n of t)await _(n,e)}function w(t){return{type:"script",data:{src:t}}}function A(t){return{type:"stylesheet",data:{href:t}}}const E={_useHtmlParser2:!1};function x(t,e){if(!t)return null!=e?e:E;const n={_useHtmlParser2:!!t.xmlMode,...e,...t};return t.xml?(n._useHtmlParser2=!0,n.xmlMode=!0,!0!==t.xml&&Object.assign(n,t.xml)):t.xmlMode&&(n._useHtmlParser2=!0),n}var C,S;(S=C||(C={})).Root="root",S.Text="text",S.Directive="directive",S.Comment="comment",S.Script="script",S.Style="style",S.Tag="tag",S.CDATA="cdata",S.Doctype="doctype";const D=C.Root,T=C.Text,N=C.Directive,I=C.Comment,F=C.Script,L=C.Style,q=C.Tag,O=C.CDATA,B=C.Doctype;let $=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return Q(this,t)}};class M extends ${constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}}class P extends M{constructor(){super(...arguments),this.type=C.Text}get nodeType(){return 3}}class j extends M{constructor(){super(...arguments),this.type=C.Comment}get nodeType(){return 8}}class R extends M{constructor(t,e){super(e),this.name=t,this.type=C.Directive}get nodeType(){return 1}}class U extends ${constructor(t){super(),this.children=t}get firstChild(){var t;return null!==(t=this.children[0])&&void 0!==t?t:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}}class z extends U{constructor(){super(...arguments),this.type=C.CDATA}get nodeType(){return 4}}let V=class extends U{constructor(){super(...arguments),this.type=C.Root}get nodeType(){return 9}};class K extends U{constructor(t,e,n=[],r=("script"===t?C.Script:"style"===t?C.Style:C.Tag)){super(n),this.name=t,this.attribs=e,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map((t=>{var e,n;return{name:t,value:this.attribs[t],namespace:null===(e=this["x-attribsNamespace"])||void 0===e?void 0:e[t],prefix:null===(n=this["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))}}function H(t){return(e=t).type===C.Tag||e.type===C.Script||e.type===C.Style;var e}function G(t){return t.type===C.CDATA}function W(t){return t.type===C.Text}function Z(t){return t.type===C.Comment}function J(t){return t.type===C.Root}function X(t){return Object.prototype.hasOwnProperty.call(t,"children")}function Q(t,e=!1){let n;if(W(t))n=new P(t.data);else if(Z(t))n=new j(t.data);else if(H(t)){const r=e?Y(t.children):[],s=new K(t.name,{...t.attribs},r);r.forEach((t=>t.parent=s)),null!=t.namespace&&(s.namespace=t.namespace),t["x-attribsNamespace"]&&(s["x-attribsNamespace"]={...t["x-attribsNamespace"]}),t["x-attribsPrefix"]&&(s["x-attribsPrefix"]={...t["x-attribsPrefix"]}),n=s}else if(G(t)){const r=e?Y(t.children):[],s=new z(r);r.forEach((t=>t.parent=s)),n=s}else if(J(t)){const r=e?Y(t.children):[],s=new V(r);r.forEach((t=>t.parent=s)),t["x-mode"]&&(s["x-mode"]=t["x-mode"]),n=s}else{if(!function(t){return t.type===C.Directive}(t))throw new Error(`Not implemented yet: ${t.type}`);{const e=new R(t.name,t.data);null!=t["x-name"]&&(e["x-name"]=t["x-name"],e["x-publicId"]=t["x-publicId"],e["x-systemId"]=t["x-systemId"]),n=e}}return n.startIndex=t.startIndex,n.endIndex=t.endIndex,null!=t.sourceCodeLocation&&(n.sourceCodeLocation=t.sourceCodeLocation),n}function Y(t){const e=t.map((t=>Q(t,!0)));for(let t=1;t䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((t=>t.charCodeAt(0)))),rt=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((t=>t.charCodeAt(0))));var st;const it=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),ot=null!==(st=String.fromCodePoint)&&void 0!==st?st:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};var at,ct;(ct=at||(at={}))[ct.NUM=35]="NUM",ct[ct.SEMI=59]="SEMI",ct[ct.EQUALS=61]="EQUALS",ct[ct.ZERO=48]="ZERO",ct[ct.NINE=57]="NINE",ct[ct.LOWER_A=97]="LOWER_A",ct[ct.LOWER_F=102]="LOWER_F",ct[ct.LOWER_X=120]="LOWER_X",ct[ct.LOWER_Z=122]="LOWER_Z",ct[ct.UPPER_A=65]="UPPER_A",ct[ct.UPPER_F=70]="UPPER_F",ct[ct.UPPER_Z=90]="UPPER_Z";var lt,ut,ht,ft,dt,pt;function mt(t){return t>=at.ZERO&&t<=at.NINE}function gt(t){return t===at.EQUALS||function(t){return t>=at.UPPER_A&&t<=at.UPPER_Z||t>=at.LOWER_A&&t<=at.LOWER_Z||mt(t)}(t)}(ut=lt||(lt={}))[ut.VALUE_LENGTH=49152]="VALUE_LENGTH",ut[ut.BRANCH_LENGTH=16256]="BRANCH_LENGTH",ut[ut.JUMP_TABLE=127]="JUMP_TABLE",(ft=ht||(ht={}))[ft.EntityStart=0]="EntityStart",ft[ft.NumericStart=1]="NumericStart",ft[ft.NumericDecimal=2]="NumericDecimal",ft[ft.NumericHex=3]="NumericHex",ft[ft.NamedEntity=4]="NamedEntity",(pt=dt||(dt={}))[pt.Legacy=0]="Legacy",pt[pt.Strict=1]="Strict",pt[pt.Attribute=2]="Attribute";let yt=class{constructor(t,e,n){this.decodeTree=t,this.emitCodePoint=e,this.errors=n,this.state=ht.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=dt.Strict}startEntity(t){this.decodeMode=t,this.state=ht.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case ht.EntityStart:return t.charCodeAt(e)===at.NUM?(this.state=ht.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=ht.NamedEntity,this.stateNamedEntity(t,e));case ht.NumericStart:return this.stateNumericStart(t,e);case ht.NumericDecimal:return this.stateNumericDecimal(t,e);case ht.NumericHex:return this.stateNumericHex(t,e);case ht.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===at.LOWER_X?(this.state=ht.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=ht.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,n,r){if(e!==n){const s=n-e;this.result=this.result*Math.pow(r,s)+parseInt(t.substr(e,s),r),this.consumed+=s}}stateNumericHex(t,e){const n=e;for(;e=at.UPPER_A&&r<=at.UPPER_F||r>=at.LOWER_A&&r<=at.LOWER_F)))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(s,3);e+=1}var r;return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e=55296&&t<=57343||t>1114111?65533:null!==(e=it.get(t))&&void 0!==e?e:t}(this.result),this.consumed),this.errors&&(t!==at.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){const{decodeTree:n}=this;let r=n[this.treeIndex],s=(r<.VALUE_LENGTH)>>14;for(;e>14,0!==s){if(i===at.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==dt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:n}=this,r=(n[e]<.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,r,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:r}=this;return this.emitCodePoint(1===e?r[t]&~lt.VALUE_LENGTH:r[t+1],n),3===e&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case ht.NamedEntity:return 0===this.result||this.decodeMode===dt.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case ht.NumericDecimal:return this.emitNumericEntity(0,2);case ht.NumericHex:return this.emitNumericEntity(0,3);case ht.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ht.EntityStart:return 0}}};function bt(t){let e="";const n=new yt(t,(t=>e+=ot(t)));return function(t,r){let s=0,i=0;for(;(i=t.indexOf("&",i))>=0;){e+=t.slice(s,i),n.startEntity(r);const o=n.write(t,i+1);if(o<0){s=i+n.end();break}s=i+o,i=0===o?s+1:s}const o=e+t.slice(s);return e="",o}}function kt(t,e,n,r){const s=(e<.BRANCH_LENGTH)>>7,i=e<.JUMP_TABLE;if(0===s)return 0!==i&&r===i?n:-1;if(i){const e=r-i;return e<0||e>=s?-1:t[n+e]-1}let o=n,a=o+s-1;for(;o<=a;){const e=o+a>>>1,n=t[e];if(nr))return t[e+s];a=e-1}}return-1}bt(nt),bt(rt);const _t=/["&'<>$\x80-\uFFFF]/g,vt=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),wt=null!=String.prototype.codePointAt?(t,e)=>t.codePointAt(e):(t,e)=>55296==(64512&t.charCodeAt(e))?1024*(t.charCodeAt(e)-55296)+t.charCodeAt(e+1)-56320+65536:t.charCodeAt(e);function At(t){let e,n="",r=0;for(;null!==(e=_t.exec(t));){const s=e.index,i=t.charCodeAt(s),o=vt.get(i);void 0!==o?(n+=t.substring(r,s)+o,r=s+1):(n+=`${t.substring(r,s)}&#x${wt(t,s).toString(16)};`,r=_t.lastIndex+=Number(55296==(64512&i)))}return n+t.substr(r)}function Et(t,e){return function(n){let r,s=0,i="";for(;r=t.exec(n);)s!==r.index&&(i+=n.substring(s,r.index)),i+=e.get(r[0].charCodeAt(0)),s=r.index+1;return i+n.substring(s)}}const xt=Et(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Ct=Et(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),St=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((t=>[t.toLowerCase(),t]))),Dt=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((t=>[t.toLowerCase(),t]))),Tt=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function Nt(t){return t.replace(/"/g,""")}const It=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Ft(t,e={}){const n="length"in t?t:[t];let r="";for(let t=0;t`;case I:return function(t){return`\x3c!--${t.data}--\x3e`}(t);case O:return function(t){return``}(t);case F:case L:case q:return function(t,e){var n;"foreign"===e.xmlMode&&(t.name=null!==(n=St.get(t.name))&&void 0!==n?n:t.name,t.parent&&qt.has(t.parent.name)&&(e={...e,xmlMode:!1}));!e.xmlMode&&Ot.has(t.name)&&(e={...e,xmlMode:"foreign"});let r=`<${t.name}`;const s=function(t,e){var n;if(!t)return;const r=!1===(null!==(n=e.encodeEntities)&&void 0!==n?n:e.decodeEntities)?Nt:e.xmlMode||"utf8"!==e.encodeEntities?At:xt;return Object.keys(t).map((n=>{var s,i;const o=null!==(s=t[n])&&void 0!==s?s:"";return"foreign"===e.xmlMode&&(n=null!==(i=Dt.get(n))&&void 0!==i?i:n),e.emptyAttrs||e.xmlMode||""!==o?`${n}="${r(o)}"`:n})).join(" ")}(t.attribs,e);s&&(r+=` ${s}`);0===t.children.length&&(e.xmlMode?!1!==e.selfClosingTags:e.selfClosingTags&&It.has(t.name))?(e.xmlMode||(r+=" "),r+="/>"):(r+=">",t.children.length>0&&(r+=Ft(t.children,e)),!e.xmlMode&&It.has(t.name)||(r+=``));return r}(t,e);case T:return function(t,e){var n;let r=t.data||"";!1===(null!==(n=e.encodeEntities)&&void 0!==n?n:e.decodeEntities)||!e.xmlMode&&t.parent&&Tt.has(t.parent.name)||(r=e.xmlMode||"utf8"!==e.encodeEntities?At(r):Ct(r));return r}(t,e)}}const qt=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),Ot=new Set(["svg","math"]);function Bt(t,e){return Ft(t,e)}function $t(t){return Array.isArray(t)?t.map($t).join(""):X(t)&&!Z(t)?$t(t.children):W(t)?t.data:""}function Mt(t){return Array.isArray(t)?t.map(Mt).join(""):X(t)&&(t.type===C.Tag||G(t))?Mt(t.children):W(t)?t.data:""}function Pt(t){return X(t)?t.children:[]}function jt(t){return t.parent||null}function Rt(t){const e=jt(t);if(null!=e)return Pt(e);const n=[t];let{prev:r,next:s}=t;for(;null!=r;)n.unshift(r),({prev:r}=r);for(;null!=s;)n.push(s),({next:s}=s);return n}function Ut(t){let{next:e}=t;for(;null!==e&&!H(e);)({next:e}=e);return e}function zt(t){let{prev:e}=t;for(;null!==e&&!H(e);)({prev:e}=e);return e}function Vt(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){const e=t.parent.children,n=e.lastIndexOf(t);n>=0&&e.splice(n,1)}t.next=null,t.prev=null,t.parent=null}function Kt(t,e,n=!0,r=1/0){return Ht(t,Array.isArray(e)?e:[e],n,r)}function Ht(t,e,n,r){const s=[],i=[e],o=[0];for(;;){if(o[0]>=i[0].length){if(1===o.length)return s;i.shift(),o.shift();continue}const e=i[0][o[0]++];if(t(e)&&(s.push(e),--r<=0))return s;n&&X(e)&&e.children.length>0&&(o.unshift(0),i.unshift(e.children))}}function Gt(t,e,n=!0){let r=null;for(let s=0;s0&&(r=Gt(t,i.children,!0)))}return r}const Wt={tag_name:t=>"function"==typeof t?e=>H(e)&&t(e.name):"*"===t?H:e=>H(e)&&e.name===t,tag_type:t=>"function"==typeof t?e=>t(e.type):e=>e.type===t,tag_contains:t=>"function"==typeof t?e=>W(e)&&t(e.data):e=>W(e)&&e.data===t};function Zt(t,e){return"function"==typeof e?n=>H(n)&&e(n.attribs[t]):n=>H(n)&&n.attribs[t]===e}function Jt(t,e){return n=>t(n)||e(n)}function Xt(t){const e=Object.keys(t).map((e=>{const n=t[e];return Object.prototype.hasOwnProperty.call(Wt,e)?Wt[e](n):Zt(e,n)}));return 0===e.length?null:e.reduce(Jt)}function Qt(t,e,n=!0,r=1/0){return Kt(Wt.tag_name(t),e,n,r)}var Yt,te;function ee(t,e){const n=[],r=[];if(t===e)return 0;let s=X(t)?t:t.parent;for(;s;)n.unshift(s),s=s.parent;for(s=X(e)?e:e.parent;s;)r.unshift(s),s=s.parent;const i=Math.min(n.length,r.length);let o=0;for(;oc.indexOf(u)?a===e?Yt.FOLLOWING|Yt.CONTAINED_BY:Yt.FOLLOWING:a===t?Yt.PRECEDING|Yt.CONTAINS:Yt.PRECEDING}function ne(t){return(t=t.filter(((t,e,n)=>!n.includes(t,e+1)))).sort(((t,e)=>{const n=ee(t,e);return n&Yt.PRECEDING?-1:n&Yt.FOLLOWING?1:0})),t}(te=Yt||(Yt={}))[te.DISCONNECTED=1]="DISCONNECTED",te[te.PRECEDING=2]="PRECEDING",te[te.FOLLOWING=4]="FOLLOWING",te[te.CONTAINS=8]="CONTAINS",te[te.CONTAINED_BY=16]="CONTAINED_BY";const re=["url","type","lang"],se=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function ie(t){return Qt("media:content",t).map((t=>{const{attribs:e}=t,n={medium:e.medium,isDefault:!!e.isDefault};for(const t of re)e[t]&&(n[t]=e[t]);for(const t of se)e[t]&&(n[t]=parseInt(e[t],10));return e.expression&&(n.expression=e.expression),n}))}function oe(t,e){return Qt(t,e,!0,1)[0]}function ae(t,e,n=!1){return $t(Qt(t,e,n,1)).trim()}function ce(t,e,n,r,s=!1){const i=ae(n,r,s);i&&(t[e]=i)}function le(t){return"rss"===t||"feed"===t||"rdf:RDF"===t}const ue=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return Yt},append:function(t,e){Vt(e);const{parent:n}=t,r=t.next;if(e.next=r,e.prev=t,t.next=e,e.parent=n,r){if(r.prev=e,n){const t=n.children;t.splice(t.lastIndexOf(r),0,e)}}else n&&n.children.push(e)},appendChild:function(t,e){if(Vt(e),e.next=null,e.parent=t,t.children.push(e)>1){const n=t.children[t.children.length-2];n.next=e,e.prev=n}else e.prev=null},compareDocumentPosition:ee,existsOne:function t(e,n){return n.some((n=>H(n)&&(e(n)||t(e,n.children))))},filter:Kt,find:Ht,findAll:function(t,e){const n=[],r=[e],s=[0];for(;;){if(s[0]>=r[0].length){if(1===r.length)return n;r.shift(),s.shift();continue}const e=r[0][s[0]++];H(e)&&(t(e)&&n.push(e),e.children.length>0&&(s.unshift(0),r.unshift(e.children)))}},findOne:Gt,findOneChild:function(t,e){return e.find(t)},getAttributeValue:function(t,e){var n;return null===(n=t.attribs)||void 0===n?void 0:n[e]},getChildren:Pt,getElementById:function(t,e,n=!0){return Array.isArray(e)||(e=[e]),Gt(Zt("id",t),e,n)},getElements:function(t,e,n,r=1/0){const s=Xt(t);return s?Kt(s,e,n,r):[]},getElementsByTagName:Qt,getElementsByTagType:function(t,e,n=!0,r=1/0){return Kt(Wt.tag_type(t),e,n,r)},getFeed:function(t){const e=oe(le,t);return e?"feed"===e.name?function(t){var e;const n=t.children,r={type:"atom",items:Qt("entry",n).map((t=>{var e;const{children:n}=t,r={media:ie(n)};ce(r,"id","id",n),ce(r,"title","title",n);const s=null===(e=oe("link",n))||void 0===e?void 0:e.attribs.href;s&&(r.link=s);const i=ae("summary",n)||ae("content",n);i&&(r.description=i);const o=ae("updated",n);return o&&(r.pubDate=new Date(o)),r}))};ce(r,"id","id",n),ce(r,"title","title",n);const s=null===(e=oe("link",n))||void 0===e?void 0:e.attribs.href;s&&(r.link=s);ce(r,"description","subtitle",n);const i=ae("updated",n);i&&(r.updated=new Date(i));return ce(r,"author","email",n,!0),r}(e):function(t){var e,n;const r=null!==(n=null===(e=oe("channel",t.children))||void 0===e?void 0:e.children)&&void 0!==n?n:[],s={type:t.name.substr(0,3),id:"",items:Qt("item",t.children).map((t=>{const{children:e}=t,n={media:ie(e)};ce(n,"id","guid",e),ce(n,"title","title",e),ce(n,"link","link",e),ce(n,"description","description",e);const r=ae("pubDate",e)||ae("dc:date",e);return r&&(n.pubDate=new Date(r)),n}))};ce(s,"title","title",r),ce(s,"link","link",r),ce(s,"description","description",r);const i=ae("lastBuildDate",r);i&&(s.updated=new Date(i));return ce(s,"author","managingEditor",r,!0),s}(e):null},getInnerHTML:function(t,e){return X(t)?t.children.map((t=>Bt(t,e))).join(""):""},getName:function(t){return t.name},getOuterHTML:Bt,getParent:jt,getSiblings:Rt,getText:function t(e){return Array.isArray(e)?e.map(t).join(""):H(e)?"br"===e.name?"\n":t(e.children):G(e)?t(e.children):W(e)?e.data:""},hasAttrib:function(t,e){return null!=t.attribs&&Object.prototype.hasOwnProperty.call(t.attribs,e)&&null!=t.attribs[e]},hasChildren:X,innerText:Mt,isCDATA:G,isComment:Z,isDocument:J,isTag:H,isText:W,nextElementSibling:Ut,prepend:function(t,e){Vt(e);const{parent:n}=t;if(n){const r=n.children;r.splice(r.indexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=n,e.prev=t.prev,e.next=t,t.prev=e},prependChild:function(t,e){if(Vt(e),e.parent=t,e.prev=null,1!==t.children.unshift(e)){const n=t.children[1];n.prev=e,e.next=n}else e.next=null},prevElementSibling:zt,removeElement:Vt,removeSubsets:function(t){let e=t.length;for(;--e>=0;){const n=t[e];if(e>0&&t.lastIndexOf(n,e-1)>=0)t.splice(e,1);else for(let r=n.parent;r;r=r.parent)if(t.includes(r)){t.splice(e,1);break}}return t},replaceElement:function(t,e){const n=e.prev=t.prev;n&&(n.next=e);const r=e.next=t.next;r&&(r.prev=e);const s=e.parent=t.parent;if(s){const n=s.children;n[n.lastIndexOf(t)]=e,t.parent=null}},testElement:function(t,e){const n=Xt(t);return!n||n(e)},textContent:$t,uniqueSort:ne},Symbol.toStringTag,{value:"Module"}));function he(t,e,n){return t?t(null!=e?e:t._root.children,null,void 0,n).toString():""}function fe(t){const e=null!=t?t:this?this.root():[];let n="";for(let t=0;tt.length-3)return!1;const n=t.charCodeAt(e+1);return(n>=be.LowerA&&n<=be.LowerZ||n>=be.UpperA&&n<=be.UpperZ||n===be.Exclamation)&&t.includes(">",e+2)}(ke=be||(be={}))[ke.LowerA=97]="LowerA",ke[ke.LowerZ=122]="LowerZ",ke[ke.UpperA=65]="UpperA",ke[ke.UpperZ=90]="UpperZ",ke[ke.Exclamation=33]="Exclamation";const ve=Object.prototype.hasOwnProperty,we=/\s+/,Ae="data-",Ee=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,xe=/^{[^]*}$|^\[[^]*]$/;function Ce(t,e,n){var r;if(t&&H(t))return null!==(r=t.attribs)&&void 0!==r||(t.attribs={}),e?ve.call(t.attribs,e)?!n&&Ee.test(e)?e:t.attribs[e]:"option"===t.name&&"value"===e?fe(t.children):"input"!==t.name||"radio"!==t.attribs.type&&"checkbox"!==t.attribs.type||"value"!==e?void 0:"on":t.attribs}function Se(t,e,n){null===n?Fe(t,e):t.attribs[e]=`${n}`}function De(t,e,n){return e in t?t[e]:!n&&Ee.test(e)?void 0!==Ce(t,e,!1):Ce(t,e,n)}function Te(t,e,n,r){e in t?t[e]=n:Se(t,e,!r&&Ee.test(e)?n?"":null:`${n}`)}function Ne(t,e,n){var r;null!==(r=t.data)&&void 0!==r||(t.data={}),"object"==typeof e?Object.assign(t.data,e):"string"==typeof e&&void 0!==n&&(t.data[e]=n)}function Ie(t){if("null"===t)return null;if("true"===t)return!0;if("false"===t)return!1;const e=Number(t);if(t===String(e))return e;if(xe.test(t))try{return JSON.parse(t)}catch{}return t}function Fe(t,e){t.attribs&&ve.call(t.attribs,e)&&delete t.attribs[e]}function Le(t){return t?t.trim().split(we):[]}const qe=Object.freeze(Object.defineProperty({__proto__:null,addClass:function t(e){if("function"==typeof e)return ye(this,((n,r)=>{if(H(n)){const s=n.attribs.class||"";t.call([n],e.call(n,r,s))}}));if(!e||"string"!=typeof e)return this;const n=e.split(we),r=this.length;for(let t=0;t{H(n)&&Se(n,t,e.call(n,r,n.attribs[t]))}))}return ye(this,(n=>{if(H(n))if("object"==typeof t)for(const e of Object.keys(t)){Se(n,e,t[e])}else Se(n,t,e)}))}return arguments.length>1?this:Ce(this[0],t,this.options.xmlMode)},data:function(t,e){var n;const r=this[0];if(!r||!H(r))return;const s=r;return null!==(n=s.data)&&void 0!==n||(s.data={}),null==t?function(t){for(const e of Object.keys(t.attribs)){if(!e.startsWith(Ae))continue;const n=e.slice(5).replace(/[._-](\w|$)/g,((t,e)=>e.toUpperCase()));ve.call(t.data,n)||(t.data[n]=Ie(t.attribs[e]))}return t.data}(s):"object"==typeof t||void 0!==e?(ye(this,(n=>{H(n)&&("object"==typeof t?Ne(n,t):Ne(n,t,e))})),this):function(t,e){const n=Ae+e.replace(/[A-Z]/g,"-$&").toLowerCase(),r=t.data;return ve.call(r,e)?r[e]:ve.call(t.attribs,n)?r[e]=Ie(t.attribs[n]):void 0}(s,t)},hasClass:function(t){return this.toArray().some((e=>{const n=H(e)&&e.attribs.class;let r=-1;if(n&&t.length>0)for(;(r=n.indexOf(t,r+1))>-1;){const e=r+t.length;if((0===r||we.test(n[r-1]))&&(e===n.length||we.test(n[e])))return!0}return!1}))},prop:function(t,e){var n;if("string"==typeof t&&void 0===e){const e=this[0];if(!e||!H(e))return;switch(t){case"style":{const t=this.css(),e=Object.keys(t);for(let n=0;n").parent().html();case"innerHTML":return this.html();default:return De(e,t,this.options.xmlMode)}}if("object"==typeof t||void 0!==e){if("function"==typeof e){if("object"==typeof t)throw new TypeError("Bad combination of arguments.");return ye(this,((n,r)=>{H(n)&&Te(n,t,e.call(n,r,De(n,t,this.options.xmlMode)),this.options.xmlMode)}))}return ye(this,(n=>{if(H(n))if("object"==typeof t)for(const e of Object.keys(t)){Te(n,e,t[e],this.options.xmlMode)}else Te(n,t,e,this.options.xmlMode)}))}},removeAttr:function(t){const e=Le(t);for(const t of e)ye(this,(e=>{H(e)&&Fe(e,t)}));return this},removeClass:function t(e){if("function"==typeof e)return ye(this,((n,r)=>{H(n)&&t.call([n],e.call(n,r,n.attribs.class||""))}));const n=Le(e),r=n.length,s=0===arguments.length;return ye(this,(t=>{if(H(t))if(s)t.attribs.class="";else{const e=Le(t.attribs.class);let s=!1;for(let t=0;t=0&&(e.splice(r,1),s=!0,t--)}s&&(t.attribs.class=e.join(" "))}}))},toggleClass:function t(e,n){if("function"==typeof e)return ye(this,((r,s)=>{H(r)&&t.call([r],e.call(r,s,r.attribs.class||"",n),n)}));if(!e||"string"!=typeof e)return this;const r=e.split(we),s=r.length,i="boolean"==typeof n?n?1:-1:0,o=this.length;for(let t=0;t=0&&e<0?n.push(r[t]):i<=0&&e>=0&&n.splice(e,1)}e.attribs.class=n.join(" ")}return this},val:function(t){const e=0===arguments.length,n=this[0];if(!n||!H(n))return e?void 0:this;switch(n.name){case"textarea":return this.text(t);case"select":{const n=this.find("option:selected");if(!e){if(null==this.attr("multiple")&&"object"==typeof t)return this;this.find("option").removeAttr("selected");const e="object"==typeof t?t:[t];for(const t of e)this.find(`option[value="${t}"]`).attr("selected","");return this}return this.attr("multiple")?n.toArray().map((t=>fe(t.children))):n.attr("value")}case"input":case"option":return e?this.attr("value"):this.attr("value",t)}}},Symbol.toStringTag,{value:"Module"}));var Oe,Be,$e,Me;(Be=Oe||(Oe={})).Attribute="attribute",Be.Pseudo="pseudo",Be.PseudoElement="pseudo-element",Be.Tag="tag",Be.Universal="universal",Be.Adjacent="adjacent",Be.Child="child",Be.Descendant="descendant",Be.Parent="parent",Be.Sibling="sibling",Be.ColumnCombinator="column-combinator",(Me=$e||($e={})).Any="any",Me.Element="element",Me.End="end",Me.Equals="equals",Me.Exists="exists",Me.Hyphen="hyphen",Me.Not="not",Me.Start="start";const Pe=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,je=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,Re=new Map([[126,$e.Element],[94,$e.Start],[36,$e.End],[42,$e.Any],[33,$e.Not],[124,$e.Hyphen]]),Ue=new Set(["has","not","matches","is","where","host","host-context"]);function ze(t){switch(t.type){case Oe.Adjacent:case Oe.Child:case Oe.Descendant:case Oe.Parent:case Oe.Sibling:case Oe.ColumnCombinator:return!0;default:return!1}}const Ve=new Set(["contains","icontains"]);function Ke(t,e,n){const r=parseInt(e,16)-65536;return r!=r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)}function He(t){return t.replace(je,Ke)}function Ge(t){return 39===t||34===t}function We(t){return 32===t||9===t||10===t||12===t||13===t}function Ze(t){const e=[],n=Je(e,`${t}`,0);if(n0&&n0&&ze(r[r.length-1]))throw new Error("Did not expect successive traversals.")}function l(t){r.length>0&&r[r.length-1].type===Oe.Descendant?r[r.length-1].type=t:(c(),r.push({type:t}))}function u(t,e){r.push({type:Oe.Attribute,name:t,action:e,value:s(1),namespace:null,ignoreCase:"quirks"})}function h(){if(r.length&&r[r.length-1].type===Oe.Descendant&&r.pop(),0===r.length)throw new Error("Empty sub-selector");t.push(r)}if(i(0),e.length===n)return n;t:for(;n=0&&r>=1)):t.type===Oe.Pseudo&&(t.data?"has"===t.name||"contains"===t.name?r=0:Array.isArray(t.data)?(r=Math.min(...t.data.map((t=>Math.min(...t.map(an))))),r<0&&(r=0)):r=2:r=3),r}const cn=/[-[\]{}()*+?.,\\^$|#\s]/g;function ln(t){return t.replace(cn,"\\$&")}const un=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function hn(t,e){return"boolean"==typeof t.ignoreCase?t.ignoreCase:"quirks"===t.ignoreCase?!!e.quirksMode:!e.xmlMode&&un.has(t.name)}const fn={equals(t,e,n){const{adapter:r}=n,{name:s}=e;let{value:i}=e;return hn(e,n)?(i=i.toLowerCase(),e=>{const n=r.getAttributeValue(e,s);return null!=n&&n.length===i.length&&n.toLowerCase()===i&&t(e)}):e=>r.getAttributeValue(e,s)===i&&t(e)},hyphen(t,e,n){const{adapter:r}=n,{name:s}=e;let{value:i}=e;const o=i.length;return hn(e,n)?(i=i.toLowerCase(),function(e){const n=r.getAttributeValue(e,s);return null!=n&&(n.length===o||"-"===n.charAt(o))&&n.substr(0,o).toLowerCase()===i&&t(e)}):function(e){const n=r.getAttributeValue(e,s);return null!=n&&(n.length===o||"-"===n.charAt(o))&&n.substr(0,o)===i&&t(e)}},element(t,e,n){const{adapter:r}=n,{name:s,value:i}=e;if(/\s/.test(i))return en.falseFunc;const o=new RegExp(`(?:^|\\s)${ln(i)}(?:$|\\s)`,hn(e,n)?"i":"");return function(e){const n=r.getAttributeValue(e,s);return null!=n&&n.length>=i.length&&o.test(n)&&t(e)}},exists:(t,{name:e},{adapter:n})=>r=>n.hasAttrib(r,e)&&t(r),start(t,e,n){const{adapter:r}=n,{name:s}=e;let{value:i}=e;const o=i.length;return 0===o?en.falseFunc:hn(e,n)?(i=i.toLowerCase(),e=>{const n=r.getAttributeValue(e,s);return null!=n&&n.length>=o&&n.substr(0,o).toLowerCase()===i&&t(e)}):e=>{var n;return!!(null===(n=r.getAttributeValue(e,s))||void 0===n?void 0:n.startsWith(i))&&t(e)}},end(t,e,n){const{adapter:r}=n,{name:s}=e;let{value:i}=e;const o=-i.length;return 0===o?en.falseFunc:hn(e,n)?(i=i.toLowerCase(),e=>{var n;return(null===(n=r.getAttributeValue(e,s))||void 0===n?void 0:n.substr(o).toLowerCase())===i&&t(e)}):e=>{var n;return!!(null===(n=r.getAttributeValue(e,s))||void 0===n?void 0:n.endsWith(i))&&t(e)}},any(t,e,n){const{adapter:r}=n,{name:s,value:i}=e;if(""===i)return en.falseFunc;if(hn(e,n)){const e=new RegExp(ln(i),"i");return function(n){const o=r.getAttributeValue(n,s);return null!=o&&o.length>=i.length&&e.test(o)&&t(n)}}return e=>{var n;return!!(null===(n=r.getAttributeValue(e,s))||void 0===n?void 0:n.includes(i))&&t(e)}},not(t,e,n){const{adapter:r}=n,{name:s}=e;let{value:i}=e;return""===i?e=>!!r.getAttributeValue(e,s)&&t(e):hn(e,n)?(i=i.toLowerCase(),e=>{const n=r.getAttributeValue(e,s);return(null==n||n.length!==i.length||n.toLowerCase()!==i)&&t(e)}):e=>r.getAttributeValue(e,s)!==i&&t(e)}},dn=new Set([9,10,12,13,32]),pn="0".charCodeAt(0),mn="9".charCodeAt(0);function gn(t){return function(t){const e=t[0],n=t[1]-1;if(n<0&&e<=0)return en.falseFunc;if(-1===e)return t=>t<=n;if(0===e)return t=>t===n;if(1===e)return n<0?en.trueFunc:t=>t>=n;const r=Math.abs(e),s=(n%r+r)%r;return e>1?t=>t>=n&&t%r===s:t=>t<=n&&t%r===s}(function(t){if("even"===(t=t.trim().toLowerCase()))return[2,0];if("odd"===t)return[2,1];let e=0,n=0,r=i(),s=o();if(e=pn&&t.charCodeAt(e)<=mn;)r=10*r+(t.charCodeAt(e)-pn),e++;return e===n?null:r}function a(){for(;e{const r=e.getParent(n);return null!=r&&e.isTag(r)&&t(n)}}const bn={contains:(t,e,{adapter:n})=>function(r){return t(r)&&n.getText(r).includes(e)},icontains(t,e,{adapter:n}){const r=e.toLowerCase();return function(e){return t(e)&&n.getText(e).toLowerCase().includes(r)}},"nth-child"(t,e,{adapter:n,equals:r}){const s=gn(e);return s===en.falseFunc?en.falseFunc:s===en.trueFunc?yn(t,n):function(e){const i=n.getSiblings(e);let o=0;for(let t=0;t=0&&!r(e,i[t]);t--)n.isTag(i[t])&&o++;return s(o)&&t(e)}},"nth-of-type"(t,e,{adapter:n,equals:r}){const s=gn(e);return s===en.falseFunc?en.falseFunc:s===en.trueFunc?yn(t,n):function(e){const i=n.getSiblings(e);let o=0;for(let t=0;t=0;t--){const s=i[t];if(r(e,s))break;n.isTag(s)&&n.getName(s)===n.getName(e)&&o++}return s(o)&&t(e)}},root:(t,e,{adapter:n})=>e=>{const r=n.getParent(e);return(null==r||!n.isTag(r))&&t(e)},scope(t,e,n,r){const{equals:s}=n;return r&&0!==r.length?1===r.length?e=>s(r[0],e)&&t(e):e=>r.includes(e)&&t(e):bn.root(t,e,n)},hover:kn("isHovered"),visited:kn("isVisited"),active:kn("isActive")};function kn(t){return function(e,n,{adapter:r}){const s=r[t];return"function"!=typeof s?en.falseFunc:function(t){return s(t)&&e(t)}}}const _n={empty:(t,{adapter:e})=>!e.getChildren(t).some((t=>e.isTag(t)||""!==e.getText(t))),"first-child"(t,{adapter:e,equals:n}){if(e.prevElementSibling)return null==e.prevElementSibling(t);const r=e.getSiblings(t).find((t=>e.isTag(t)));return null!=r&&n(t,r)},"last-child"(t,{adapter:e,equals:n}){const r=e.getSiblings(t);for(let s=r.length-1;s>=0;s--){if(n(t,r[s]))return!0;if(e.isTag(r[s]))break}return!1},"first-of-type"(t,{adapter:e,equals:n}){const r=e.getSiblings(t),s=e.getName(t);for(let i=0;i=0;i--){const o=r[i];if(n(t,o))return!0;if(e.isTag(o)&&e.getName(o)===s)break}return!1},"only-of-type"(t,{adapter:e,equals:n}){const r=e.getName(t);return e.getSiblings(t).every((s=>n(t,s)||!e.isTag(s)||e.getName(s)!==r))},"only-child":(t,{adapter:e,equals:n})=>e.getSiblings(t).every((r=>n(t,r)||!e.isTag(r)))};function vn(t,e,n,r){if(null===n){if(t.length>r)throw new Error(`Pseudo-class :${e} requires an argument`)}else if(t.length===r)throw new Error(`Pseudo-class :${e} doesn't have any arguments`)}const wn={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:":is(\n :is(button, input, select, textarea, optgroup, option)[disabled],\n optgroup[disabled] > option,\n fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)\n )",enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},An={};function En(t,e){const n=e.getSiblings(t);if(n.length<=1)return[];const r=n.indexOf(t);return r<0||r===n.length-1?[]:n.slice(r+1).filter(e.isTag)}function xn(t){return{xmlMode:!!t.xmlMode,lowerCaseAttributeNames:!!t.lowerCaseAttributeNames,lowerCaseTags:!!t.lowerCaseTags,quirksMode:!!t.quirksMode,cacheResults:!!t.cacheResults,pseudos:t.pseudos,adapter:t.adapter,equals:t.equals}}const Cn=(t,e,n,r,s)=>{const i=s(e,xn(n),r);return i===en.trueFunc?t:i===en.falseFunc?en.falseFunc:e=>i(e)&&t(e)},Sn={is:Cn,matches:Cn,where:Cn,not(t,e,n,r,s){const i=s(e,xn(n),r);return i===en.falseFunc?t:i===en.trueFunc?en.falseFunc:e=>!i(e)&&t(e)},has(t,e,n,r,s){const{adapter:i}=n,o=xn(n);o.relativeSelector=!0;const a=e.some((t=>t.some(rn)))?[An]:void 0,c=s(e,o,a);if(c===en.falseFunc)return en.falseFunc;const l=function(t,e){return t===en.falseFunc?en.falseFunc:n=>e.isTag(n)&&t(n)}(c,i);if(a&&c!==en.trueFunc){const{shouldTestNextSiblings:e=!1}=c;return n=>{if(!t(n))return!1;a[0]=n;const r=i.getChildren(n),s=e?[...r,...En(n,i)]:r;return i.existsOne(l,s)}}return e=>t(e)&&i.existsOne(l,i.getChildren(e))}};function Dn(t,e){const n=e.getParent(t);return n&&e.isTag(n)?n:null}function Tn(t,e,n,r,s){const{adapter:i,equals:o}=n;switch(e.type){case Oe.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case Oe.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case Oe.Attribute:if(null!=e.namespace)throw new Error("Namespaced attributes are not yet supported by css-select");return n.xmlMode&&!n.lowerCaseAttributeNames||(e.name=e.name.toLowerCase()),fn[e.action](t,e,n);case Oe.Pseudo:return function(t,e,n,r,s){var i;const{name:o,data:a}=e;if(Array.isArray(a)){if(!(o in Sn))throw new Error(`Unknown pseudo-class :${o}(${a})`);return Sn[o](t,a,n,r,s)}const c=null===(i=n.pseudos)||void 0===i?void 0:i[o],l="string"==typeof c?c:wn[o];if("string"==typeof l){if(null!=a)throw new Error(`Pseudo ${o} doesn't have any arguments`);const e=Ze(l);return Sn.is(t,e,n,r,s)}if("function"==typeof c)return vn(c,o,a,1),e=>c(e,a)&&t(e);if(o in bn)return bn[o](t,a,n,r);if(o in _n){const e=_n[o];return vn(e,o,a,2),r=>e(r,n,a)&&t(r)}throw new Error(`Unknown pseudo-class :${o}`)}(t,e,n,r,s);case Oe.Tag:{if(null!=e.namespace)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:r}=e;return n.xmlMode&&!n.lowerCaseTags||(r=r.toLowerCase()),function(e){return i.getName(e)===r&&t(e)}}case Oe.Descendant:{if(!1===n.cacheResults||"undefined"==typeof WeakSet)return function(e){let n=e;for(;n=Dn(n,i);)if(t(n))return!0;return!1};const e=new WeakSet;return function(n){let r=n;for(;r=Dn(r,i);)if(!e.has(r)){if(i.isTag(r)&&t(r))return!0;e.add(r)}return!1}}case"_flexibleDescendant":return function(e){let n=e;do{if(t(n))return!0}while(n=Dn(n,i));return!1};case Oe.Parent:return function(e){return i.getChildren(e).some((e=>i.isTag(e)&&t(e)))};case Oe.Child:return function(e){const n=i.getParent(e);return null!=n&&i.isTag(n)&&t(n)};case Oe.Sibling:return function(e){const n=i.getSiblings(e);for(let r=0;rt.some(Nn))))}const In={type:Oe.Descendant},Fn={type:"_flexibleDescendant"},Ln={type:Oe.Pseudo,name:"scope",data:null};function qn(t,e,n){var r;t.forEach(on),n=null!==(r=e.context)&&void 0!==r?r:n;const s=Array.isArray(n),i=n&&(Array.isArray(n)?n:[n]);if(!1!==e.relativeSelector)!function(t,{adapter:e},n){const r=!!(null==n?void 0:n.every((t=>{const n=e.isTag(t)&&e.getParent(t);return t===An||n&&e.isTag(n)})));for(const e of t){if(e.length>0&&rn(e[0])&&e[0].type!==Oe.Descendant);else{if(!r||e.some(Nn))continue;e.unshift(In)}e.unshift(Ln)}}(t,e,i);else if(t.some((t=>t.length>0&&rn(t[0]))))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let o=!1;const a=t.map((t=>{if(t.length>=2){const[e,n]=t;e.type!==Oe.Pseudo||"scope"!==e.name||(s&&n.type===Oe.Descendant?t[1]=Fn:n.type!==Oe.Adjacent&&n.type!==Oe.Sibling||(o=!0))}return function(t,e,n){var r;return t.reduce(((t,r)=>t===en.falseFunc?en.falseFunc:Tn(t,r,e,n,qn)),null!==(r=e.rootFunc)&&void 0!==r?r:en.trueFunc)}(t,e,i)})).reduce(On,en.falseFunc);return a.shouldTestNextSiblings=o,a}function On(t,e){return e===en.falseFunc||t===en.trueFunc?t:t===en.falseFunc||e===en.trueFunc?e:function(n){return t(n)||e(n)}}const Bn=(t,e)=>t===e,$n={adapter:ue,equals:Bn};const Mn=(Pn=qn,function(t,e,n){const r=function(t){var e,n,r,s;const i=null!=t?t:$n;return null!==(e=i.adapter)&&void 0!==e||(i.adapter=ue),null!==(n=i.equals)&&void 0!==n||(i.equals=null!==(s=null===(r=i.adapter)||void 0===r?void 0:r.equals)&&void 0!==s?s:Bn),i}(e);return Pn(t,r,n)});var Pn;function jn(t,e,n=!1){return n&&(t=function(t,e){const n=Array.isArray(t)?t.slice(0):[t],r=n.length;for(let t=0;tt.some(Un))))}function zn(t){const e=[],n=[];for(const r of t)r.some(Un)?e.push(r):n.push(r);return[n,e]}const Vn={type:Oe.Universal,namespace:null},Kn={type:Oe.Pseudo,name:"scope",data:null};function Hn(t,e,n={}){return Gn([t],e,n)}function Gn(t,e,n={}){if("function"==typeof e)return t.some(e);const[r,s]=zn(Ze(e));return r.length>0&&t.some(Mn(r,n))||s.some((e=>Jn(e,t,n).length>0))}function Wn(t,e,n={}){return Zn(Ze(t),e,n)}function Zn(t,e,n){if(0===e.length)return[];const[r,s]=zn(t);let i;if(r.length){const t=tr(e,r,n);if(0===s.length)return t;t.length&&(i=new Set(t))}for(let t=0;tH(t)&&!i.has(t))):e).length)break;const o=Jn(r,e,n);if(o.length)if(i)o.forEach((t=>i.add(t)));else{if(t===s.length-1)return o;i=new Set(o)}}return void 0!==i?i.size===e.length?e:e.filter((t=>i.has(t))):[]}function Jn(t,e,n){var r;if(t.some(ze)){const s=null!==(r=n.root)&&void 0!==r?r:function(t){for(;t.parent;)t=t.parent;return t}(e[0]),i={...n,context:e,relativeSelector:!1};return t.push(Kn),Xn(s,t,i,!0,e.length)}return Xn(e,t,n,!1,e.length)}function Xn(t,e,n,r,s){const i=e.findIndex(Un),o=e.slice(0,i),a=e[i],c=e.length-1===i?s:1/0,l=function(t,e,n){const r=null!=e?parseInt(e,10):NaN;switch(t){case"first":return 1;case"nth":case"eq":return isFinite(r)?r>=0?r+1:1/0:0;case"lt":return isFinite(r)?r>=0?Math.min(r,n):1/0:0;case"gt":return isFinite(r)?1/0:0;case"odd":return 2*n;case"even":return 2*n-1;case"last":case"not":return 1/0}}(a.name,a.data,c);if(0===l)return[];const u=(0!==o.length||Array.isArray(t)?0===o.length?(Array.isArray(t)?t:[t]).filter(H):r||o.some(ze)?Qn(t,[o],n,l):tr(t,[o],n):Pt(t).filter(H)).slice(0,l);let h=function(t,e,n,r){const s="string"==typeof n?parseInt(n,10):NaN;switch(t){case"first":case"lt":return e;case"last":return e.length>0?[e[e.length-1]]:e;case"nth":case"eq":return isFinite(s)&&Math.abs(s)e%2==0));case"odd":return e.filter(((t,e)=>e%2==1));case"not":{const t=new Set(Zn(n,e,r));return e.filter((e=>!t.has(e)))}}}(a.name,u,a.data,n);if(0===h.length||e.length===i+1)return h;const f=e.slice(i+1),d=f.some(ze);if(d){if(ze(f[0])){const{type:t}=f[0];t!==Oe.Sibling&&t!==Oe.Adjacent||(h=jn(h,ue,!0)),f.unshift(Vn)}n={...n,relativeSelector:!1,rootFunc:t=>h.includes(t)}}else n.rootFunc&&n.rootFunc!==tn.trueFunc&&(n={...n,rootFunc:tn.trueFunc});return f.some(Un)?Xn(h,f,n,!1,s):d?Qn(h,[f],n,s):tr(h,[f],n)}function Qn(t,e,n,r){return Yn(t,Mn(e,n,t),r)}function Yn(t,e,n=1/0){return Ht((t=>H(t)&&e(t)),jn(t,ue,e.shouldTestNextSiblings),!0,n)}function tr(t,e,n){const r=(Array.isArray(t)?t:[t]).filter(H);if(0===r.length)return r;const s=Mn(e,n);return s===tn.trueFunc?r:r.filter(s)}const er=/^\s*[+~]/;function nr(t){return function(e,...n){return function(r){var s;let i=t(e,this);return r&&(i=kr(i,r,this.options.xmlMode,null===(s=this._root)||void 0===s?void 0:s[0])),this._make(this.length>1&&i.length>1?n.reduce(((t,e)=>e(t)),i):i)}}}const rr=nr(((t,e)=>{let n=[];for(let r=0;r0&&(n=n.concat(s))}return n})),sr=nr(((t,e)=>{const n=[];for(let r=0;r{const r=[];return ye(e,(e=>{for(let s;(s=t(e))&&!(null==n?void 0:n(s,r.length));e=s)r.push(s)})),r}))(t,...e);return function(t,e){n="string"==typeof t?e=>Hn(e,t,this.options):t?br(t):null;const s=r.call(this,e);return n=null,s}}function or(t){return t.length>1?Array.from(new Set(t)):t}const ar=sr((({parent:t})=>t&&!J(t)?t:null),or),cr=rr((t=>{const e=[];for(;t.parent&&!J(t.parent);)e.push(t.parent),t=t.parent;return e}),ne,(t=>t.reverse())),lr=ir((({parent:t})=>t&&!J(t)?t:null),ne,(t=>t.reverse()));const ur=sr((t=>Ut(t))),hr=rr((t=>{const e=[];for(;t.next;)H(t=t.next)&&e.push(t);return e}),or),fr=ir((t=>Ut(t)),or),dr=sr((t=>zt(t))),pr=rr((t=>{const e=[];for(;t.prev;)H(t=t.prev)&&e.push(t);return e}),or),mr=ir((t=>zt(t)),or),gr=rr((t=>Rt(t).filter((e=>H(e)&&e!==t))),ne),yr=rr((t=>Pt(t).filter(H)),or);function br(t){return"function"==typeof t?(e,n)=>t.call(e,n,e):ge(t)?e=>Array.prototype.includes.call(t,e):function(e){return t===e}}function kr(t,e,n,r){return"string"==typeof e?Wn(e,t,{xmlMode:n,root:r}):t.filter(br(e))}const _r=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector:function(t,e){var n;const r=this.toArray(),s=er.test(t)?r:this.children().toArray(),i={context:r,root:null===(n=this._root)||void 0===n?void 0:n[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(function(t,e,n={},r=1/0){if("function"==typeof t)return Yn(e,t);const[s,i]=zn(Ze(t)),o=i.map((t=>Xn(e,t,n,!0,r)));return s.length&&o.push(Qn(e,s,n,r)),0===o.length?[]:1===o.length?o[0]:ne(o.reduce(((t,e)=>[...t,...e])))}(t,s,i,e))},add:function(t,e){const n=this._make(t,e),r=ne([...this.get(),...n.get()]);return this._make(r)},addBack:function(t){return this.prevObject?this.add(t?this.prevObject.filter(t):this.prevObject):this},children:yr,closest:function(t){var e;const n=[];if(!t)return this._make(n);const r={xmlMode:this.options.xmlMode,root:null===(e=this._root)||void 0===e?void 0:e[0]},s="string"==typeof t?e=>Hn(e,t,r):br(t);return ye(this,(t=>{for(!t||J(t)||H(t)||(t=t.parent);t&&H(t);){if(s(t,0)){n.includes(t)||n.push(t);break}t=t.parent}})),this._make(n)},contents:function(){const t=this.toArray().reduce(((t,e)=>X(e)?t.concat(e.children):t),[]);return this._make(t)},each:function(t){let e=0;const n=this.length;for(;en.some((e=>de(e,t))))))}return this._findBySelector(t,Number.POSITIVE_INFINITY)},first:function(){return this.length>1?this._make(this[0]):this},get:function(t){return null==t?this.toArray():this[t<0?this.length+t:t]},has:function(t){return this.filter("string"==typeof t?`:has(${t})`:(e,n)=>this._make(n).find(t).length>0)},index:function(t){let e,n;return null==t?(e=this.parent().children(),n=this[0]):"string"==typeof t?(e=this._make(t),n=this[0]):(e=this,n=ge(t)?t[0]:t),Array.prototype.indexOf.call(e,n)},is:function(t){const e=this.toArray();return"string"==typeof t?Gn(e.filter(H),t,this.options):!!t&&e.some(br(t))},last:function(){return this.length>0?this._make(this[this.length-1]):this},map:function(t){let e=[];for(let n=0;n!n.has(t)))}else{const n=br(t);e=e.filter(((t,e)=>!n(t,e)))}return this._make(e)},parent:ar,parents:cr,parentsUntil:lr,prev:dr,prevAll:pr,prevUntil:mr,siblings:gr,slice:function(t,e){return this._make(Array.prototype.slice.call(this,t,e))},toArray:function(){return Array.prototype.slice.call(this)}},Symbol.toStringTag,{value:"Module"}));function vr(t,e){const n=Array.isArray(t)?t:[t];e?e.children=n:e=null;for(let t=0;t{if(!X(r))return;const i="function"==typeof e[0]?e[0].call(r,s,this._render(r.children)):e,o=this._makeDomArray(i,s=t.length?null:t[e+n];for(let t=0;t-1&&(u.children.splice(t,1),s===u&&e>t&&a[0]--)}n.parent=s,n.prev&&(n.prev.next=null!==(i=n.next)&&void 0!==i?i:null),n.next&&(n.next.prev=null!==(o=n.prev)&&void 0!==o?o:null),n.prev=0===t?c:r[t-1],n.next=t===r.length-1?l:r[t+1]}return c&&(c.next=r[0]),l&&(l.prev=r[r.length-1]),t.splice(...a)}const Er=wr(((t,e,n)=>{Ar(e,e.length,0,t,n)})),xr=wr(((t,e,n)=>{Ar(e,0,0,t,n)}));function Cr(t){return function(e){const n=this.length-1,r=this.parents().last();for(let s=0;s{const{parent:r}=t;if(!r)return;const s=r.children,i=s.indexOf(t);vr([t],e),Ar(s,i,0,n,r)})),Dr=Cr(((t,e,n)=>{X(t)&&(vr(t.children,e),vr(n,t))}));const Tr=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray:function(t,e){if(null==t)return[];if("string"==typeof t)return this._parse(t,this.options,!1,null).children.slice(0);if("length"in t){if(1===t.length)return this._makeDomArray(t[0],e);const n=[];for(let r=0;r{if(!X(n)||!n.parent)return;const s=n.parent.children,i=s.indexOf(n);if(i<0)return;const o="function"==typeof t[0]?t[0].call(n,r,this._render(n.children)):t;Ar(s,i+1,0,this._makeDomArray(o,r{if(!X(n)||!n.parent)return;const s=n.parent.children,i=s.indexOf(n);if(i<0)return;const o="function"==typeof t[0]?t[0].call(n,r,this._render(n.children)):t;Ar(s,i,0,this._makeDomArray(o,rQ(t,!0))),e=new V(t);for(const n of t)n.parent=e;return this._make(t)},empty:function(){return ye(this,(t=>{if(X(t)){for(const e of t.children)e.next=e.prev=e.parent=null;t.children.length=0}}))},html:function(t){if(void 0===t){const t=this[0];return t&&X(t)?this._render(t.children):null}return ye(this,(e=>{if(!X(e))return;for(const t of e.children)t.next=t.prev=t.parent=null;vr(ge(t)?t.toArray():this._parse(`${t}`,this.options,!1,e).children,e)}))},insertAfter:function(t){"string"==typeof t&&(t=this._make(t)),this.remove();const e=[];for(const n of this._makeDomArray(t)){const t=this.clone().toArray(),{parent:r}=n;if(!r)continue;const s=r.children,i=s.indexOf(n);i<0||(Ar(s,i+1,0,t,r),e.push(...t))}return this._make(e)},insertBefore:function(t){const e=this._make(t);this.remove();const n=[];return ye(e,(t=>{const e=this.clone().toArray(),{parent:r}=t;if(!r)return;const s=r.children,i=s.indexOf(t);i<0||(Ar(s,i,0,e,r),n.push(...e))})),this._make(n)},prepend:xr,prependTo:function(t){return(ge(t)?t:this._make(t)).prepend(this),this},remove:function(t){return ye(t?this.filter(t):this,(t=>{Vt(t),t.prev=t.next=t.parent=null})),this},replaceWith:function(t){return ye(this,((e,n)=>{const{parent:r}=e;if(!r)return;const s=r.children,i="function"==typeof t?t.call(e,n,e):t,o=this._makeDomArray(i);vr(o,null);const a=s.indexOf(e);Ar(s,a,1,o,r),o.includes(e)||(e.parent=e.prev=e.next=null)}))},text:function(t){return void 0===t?fe(this):ye(this,"function"==typeof t?(e,n)=>this._make(e).text(t.call(e,n,fe([e]))):e=>{if(!X(e))return;for(const t of e.children)t.next=t.prev=t.parent=null;vr(new P(`${t}`),e)})},toString:function(){return this._render(this)},unwrap:function(t){return this.parent(t).not("body").each(((t,e)=>{this._make(e).replaceWith(e.children)})),this},wrap:Sr,wrapAll:function(t){const e=this[0];if(e){const n=this._make("function"==typeof t?t.call(e,0,e):t).insertBefore(e);let r;for(let t=0;t`${t}${t?" ":""}${e}: ${s[e]};`),""))}else if("object"==typeof e){const n=Object.keys(e);for(let r=0;r0&&void 0!==n&&(e[n]+=`;${t}`)}else n=r.slice(0,t).trim(),e[n]=r.slice(t+1).trim()}return e}(t.attribs.style);if("string"==typeof e)return n[e];if(Array.isArray(e)){const t={};for(const r of e)null!=n[r]&&(t[r]=n[r]);return t}return n}const Fr=Object.freeze(Object.defineProperty({__proto__:null,css:function(t,e){return null!=t&&null!=e||"object"==typeof t&&!Array.isArray(t)?ye(this,((n,r)=>{H(n)&&Nr(n,t,e,r)})):0!==this.length?Ir(this[0],t):void 0}},Symbol.toStringTag,{value:"Module"})),Lr="input,select,textarea,keygen",qr=/%20/g,Or=/\r?\n/g;const Br=Object.freeze(Object.defineProperty({__proto__:null,serialize:function(){return this.serializeArray().map((t=>`${encodeURIComponent(t.name)}=${encodeURIComponent(t.value)}`)).join("&").replace(qr,"+")},serializeArray:function(){return this.map(((t,e)=>{const n=this._make(e);return H(e)&&"form"===e.name?n.find(Lr).toArray():n.filter(Lr).toArray()})).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map(((t,e)=>{var n;const r=this._make(e),s=r.attr("name"),i=null!==(n=r.val())&&void 0!==n?n:"";return Array.isArray(i)?i.map((t=>({name:s,value:t.replace(Or,"\r\n")}))):{name:s,value:i.replace(Or,"\r\n")}})).toArray()}},Symbol.toStringTag,{value:"Module"}));function $r(t){var e;return"string"==typeof t?{selector:t,value:"textContent"}:{selector:t.selector,value:null!==(e=t.value)&&void 0!==e?e:"textContent"}}const Mr=Object.freeze(Object.defineProperty({__proto__:null,extract:function(t){const e={};for(const n in t){const r=t[n],s=Array.isArray(r),{selector:i,value:o}=$r(s?r[0]:r),a="function"==typeof o?o:"string"==typeof o?t=>this._make(t).prop(o):t=>this._make(t).extract(o);if(s)e[n]=this._findBySelector(i,Number.POSITIVE_INFINITY).map(((t,r)=>a(r,n,e))).get();else{const t=this._findBySelector(i,1);e[n]=t.length>0?a(t[0],n,e):void 0}}return e}},Symbol.toStringTag,{value:"Module"}));class Pr{constructor(t,e,n){if(this.length=0,this.options=n,this._root=e,t){for(let e=0;ethis.emitCodePoint(t,e)))}reset(){this.state=Rr.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=Rr.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=Rr.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===jr.Amp&&this.startEntity()}stateSpecialStartSequence(t){const e=this.sequenceIndex===this.currentSequence.length;if(e?Hr(t):(32|t)===this.currentSequence[this.sequenceIndex]){if(!e)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=Rr.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===jr.Gt||Kr(t)){const e=this.index-this.currentSequence.length;if(this.sectionStart=jr.LowerA&&t<=jr.LowerZ||t>=jr.UpperA&&t<=jr.UpperZ}(t)}startSpecial(t,e){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=e,this.state=Rr.SpecialStartSequence}stateBeforeTagName(t){if(t===jr.ExclamationMark)this.state=Rr.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===jr.Questionmark)this.state=Rr.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){const e=32|t;this.sectionStart=this.index,this.xmlMode?this.state=Rr.InTagName:e===Gr.ScriptEnd[2]?this.state=Rr.BeforeSpecialS:e===Gr.TitleEnd[2]?this.state=Rr.BeforeSpecialT:this.state=Rr.InTagName}else t===jr.Slash?this.state=Rr.BeforeClosingTagName:(this.state=Rr.Text,this.stateText(t))}stateInTagName(t){Hr(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=Rr.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){Kr(t)||(t===jr.Gt?this.state=Rr.Text:(this.state=this.isTagStartChar(t)?Rr.InClosingTagName:Rr.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===jr.Gt||Kr(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=Rr.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===jr.Gt||this.fastForwardTo(jr.Gt))&&(this.state=Rr.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===jr.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=Rr.InSpecialTag,this.sequenceIndex=0):this.state=Rr.Text,this.sectionStart=this.index+1):t===jr.Slash?this.state=Rr.InSelfClosingTag:Kr(t)||(this.state=Rr.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===jr.Gt?(this.cbs.onselfclosingtag(this.index),this.state=Rr.Text,this.sectionStart=this.index+1,this.isSpecial=!1):Kr(t)||(this.state=Rr.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===jr.Eq||Hr(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=Rr.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===jr.Eq?this.state=Rr.BeforeAttributeValue:t===jr.Slash||t===jr.Gt?(this.cbs.onattribend(zr.NoValue,this.sectionStart),this.sectionStart=-1,this.state=Rr.BeforeAttributeName,this.stateBeforeAttributeName(t)):Kr(t)||(this.cbs.onattribend(zr.NoValue,this.sectionStart),this.state=Rr.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===jr.DoubleQuote?(this.state=Rr.InAttributeValueDq,this.sectionStart=this.index+1):t===jr.SingleQuote?(this.state=Rr.InAttributeValueSq,this.sectionStart=this.index+1):Kr(t)||(this.sectionStart=this.index,this.state=Rr.InAttributeValueNq,this.stateInAttributeValueNoQuotes(t))}handleInAttributeValue(t,e){t===e||!this.decodeEntities&&this.fastForwardTo(e)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(e===jr.DoubleQuote?zr.Double:zr.Single,this.index+1),this.state=Rr.BeforeAttributeName):this.decodeEntities&&t===jr.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,jr.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,jr.SingleQuote)}stateInAttributeValueNoQuotes(t){Kr(t)||t===jr.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(zr.Unquoted,this.index),this.state=Rr.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===jr.Amp&&this.startEntity()}stateBeforeDeclaration(t){t===jr.OpeningSquareBracket?(this.state=Rr.CDATASequence,this.sequenceIndex=0):this.state=t===jr.Dash?Rr.BeforeComment:Rr.InDeclaration}stateInDeclaration(t){(t===jr.Gt||this.fastForwardTo(jr.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=Rr.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===jr.Gt||this.fastForwardTo(jr.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=Rr.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===jr.Dash?(this.state=Rr.InCommentLike,this.currentSequence=Gr.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=Rr.InDeclaration}stateInSpecialComment(t){(t===jr.Gt||this.fastForwardTo(jr.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=Rr.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){const e=32|t;e===Gr.ScriptEnd[3]?this.startSpecial(Gr.ScriptEnd,4):e===Gr.StyleEnd[3]?this.startSpecial(Gr.StyleEnd,4):(this.state=Rr.InTagName,this.stateInTagName(t))}stateBeforeSpecialT(t){const e=32|t;e===Gr.TitleEnd[3]?this.startSpecial(Gr.TitleEnd,4):e===Gr.TextareaEnd[3]?this.startSpecial(Gr.TextareaEnd,4):(this.state=Rr.InTagName,this.stateInTagName(t))}startEntity(){this.baseState=this.state,this.state=Rr.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?dt.Strict:this.baseState===Rr.Text||this.baseState===Rr.InSpecialTag?dt.Legacy:dt.Attribute)}stateInEntity(){const t=this.entityDecoder.write(this.buffer,this.index-this.offset);t>=0?(this.state=this.baseState,0===t&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===Rr.Text||this.state===Rr.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==Rr.InAttributeValueDq&&this.state!==Rr.InAttributeValueSq&&this.state!==Rr.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index=t||(this.state===Rr.InCommentLike?this.currentSequence===Gr.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===Rr.InTagName||this.state===Rr.BeforeAttributeName||this.state===Rr.BeforeAttributeValue||this.state===Rr.AfterAttributeName||this.state===Rr.InAttributeName||this.state===Rr.InAttributeValueSq||this.state===Rr.InAttributeValueDq||this.state===Rr.InAttributeValueNq||this.state===Rr.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,e){this.baseState!==Rr.Text&&this.baseState!==Rr.InSpecialTag?(this.sectionStart0&&i.has(this.stack[0]);){const t=this.stack.shift();null===(n=(e=this.cbs).onclosetag)||void 0===n||n.call(e,t,!0)}this.isVoidElement(t)||(this.stack.unshift(t),this.htmlMode&&(ns.has(t)?this.foreignContext.unshift(!0):rs.has(t)&&this.foreignContext.unshift(!1))),null===(s=(r=this.cbs).onopentagname)||void 0===s||s.call(r,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var e,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(e=this.cbs).onopentag)||void 0===n||n.call(e,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,e){var n,r,s,i,o,a,c,l;this.endIndex=e;let u=this.getSlice(t,e);if(this.lowerCaseTagNames&&(u=u.toLowerCase()),this.htmlMode&&(ns.has(u)||rs.has(u))&&this.foreignContext.shift(),this.isVoidElement(u))this.htmlMode&&"br"===u&&(null===(i=(s=this.cbs).onopentagname)||void 0===i||i.call(s,"br"),null===(a=(o=this.cbs).onopentag)||void 0===a||a.call(o,"br",{},!0),null===(l=(c=this.cbs).onclosetag)||void 0===l||l.call(c,"br",!1));else{const t=this.stack.indexOf(u);if(-1!==t)for(let e=0;e<=t;e++){const s=this.stack.shift();null===(r=(n=this.cbs).onclosetag)||void 0===r||r.call(n,s,e!==t)}else this.htmlMode&&"p"===u&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=e+1}onselfclosingtag(t){this.endIndex=t,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var e,n;const r=this.tagname;this.endOpenTag(t),this.stack[0]===r&&(null===(n=(e=this.cbs).onclosetag)||void 0===n||n.call(e,r,!t),this.stack.shift())}onattribname(t,e){this.startIndex=t;const n=this.getSlice(t,e);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(t,e){this.attribvalue+=this.getSlice(t,e)}onattribentity(t){this.attribvalue+=ot(t)}onattribend(t,e){var n,r;this.endIndex=e,null===(r=(n=this.cbs).onattribute)||void 0===r||r.call(n,this.attribname,this.attribvalue,t===zr.Double?'"':t===zr.Single?"'":t===zr.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){const e=t.search(ss);let n=e<0?t:t.substr(0,e);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(t,e){this.endIndex=e;const n=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){const t=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${t}`,`!${n}`)}this.startIndex=e+1}onprocessinginstruction(t,e){this.endIndex=e;const n=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){const t=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${t}`,`?${n}`)}this.startIndex=e+1}oncomment(t,e,n){var r,s,i,o;this.endIndex=e,null===(s=(r=this.cbs).oncomment)||void 0===s||s.call(r,this.getSlice(t,e-n)),null===(o=(i=this.cbs).oncommentend)||void 0===o||o.call(i),this.startIndex=e+1}oncdata(t,e,n){var r,s,i,o,a,c,l,u,h,f;this.endIndex=e;const d=this.getSlice(t,e-n);!this.htmlMode||this.options.recognizeCDATA?(null===(s=(r=this.cbs).oncdatastart)||void 0===s||s.call(r),null===(o=(i=this.cbs).ontext)||void 0===o||o.call(i,d),null===(c=(a=this.cbs).oncdataend)||void 0===c||c.call(a)):(null===(u=(l=this.cbs).oncomment)||void 0===u||u.call(l,`[CDATA[${d}]]`),null===(f=(h=this.cbs).oncommentend)||void 0===f||f.call(h)),this.startIndex=e+1}onend(){var t,e;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let t=0;t=this.buffers[0].length;)this.shiftBuffer();let n=this.buffers[0].slice(t-this.bufferOffset,e-this.bufferOffset);for(;e-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,e-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var e,n;this.ended?null===(n=(e=this.cbs).onerror)||void 0===n||n.call(e,new Error(".write() after done!")):(this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++))}end(t){var e,n;this.ended?null===(n=(e=this.cbs).onerror)||void 0===n||n.call(e,new Error(".end() after done!")):(t&&this.write(t),this.ended=!0,this.tokenizer.end())}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndeximg:only-child",selectorRules:{"div,p":({$node:t})=>({queue:t.children()}),"h1,h2,h3,h4,h5,h6":({$node:t,getContent:e})=>({...e(t.contents())}),"ul,ol":({$node:t})=>({queue:t.children(),nesting:!0}),li:({$node:t,getContent:e})=>{const n=t.children().filter("ul,ol");let r;if(t.contents().first().is("div,p"))r=e(t.children().first());else{let s=t.contents();const i=s.index(n);i>=0&&(s=s.slice(0,i)),r=e(s)}return{queue:n,nesting:!0,...r}},"table,pre,p>img:only-child":({$node:t,getContent:e})=>({...e(t)})}},hs="markmap: ",fs=/^h[1-6]$/,ds=/^[uo]l$/,ps=/^li$/;function ms(t,e){const n={...us,...e},r=os(t);let s=r("body");s.length||(s=r.root());let i=0;const o={id:i,tag:"",html:"",level:0,parent:0,childrenLevel:0,children:[]},a=[];let c=0;return function t(e,s){e.each(((e,o)=>{var h;const f=r(o),d=null==(h=Object.entries(n.selectorRules).find((([t])=>f.is(t))))?void 0:h[1],p=null==d?void 0:d({$node:f,$:r,getContent:u});if((null==p?void 0:p.queue)&&!p.nesting)return void t(p.queue,s);const m=(g=o.tagName,fs.test(g)?+g[1]:ds.test(g)?8:ps.test(g)?9:7);var g;if(!p)return void(m<=6&&(c=m));if(c>0&&m>c)return;if(!f.is(n.selector))return;c=0;const y=m<=6;let b={...f.closest("p").data(),...f.data()},k=p.html||"";if(f.is("ol>li")&&(null==s?void 0:s.children)){const t=+(f.parent().attr("start")||1)+s.children.length;k=`${t}. ${k}`,b={...b,listIndex:t}}const _=function(t){var e;const{parent:n}=t,r={id:++i,tag:t.tagName,level:t.level,html:t.html,childrenLevel:0,children:t.nesting?[]:void 0,parent:n.id};(null==(e=t.comments)?void 0:e.length)&&(r.comments=t.comments);Object.keys(t.data||{}).length&&(r.data=t.data);n.children&&((0===n.childrenLevel||n.childrenLevel>r.level)&&(n.children=[],n.childrenLevel=r.level),n.childrenLevel===r.level&&n.children.push(r));return r}({parent:s||l(m),nesting:!!p.queue||y,tagName:o.tagName,level:m,html:k,comments:p.comments,data:b});y&&a.push(_),p.queue&&t(p.queue,_)}))}(s.children()),o;function l(t){let e;for(;(e=a[a.length-1])&&e.level>=t;)a.pop();return e||o}function u(t){var e;const n=function(t){const e=[];return t=t.filter(((t,n)=>{if("comment"===n.type){const t=n.data.trim();if(t.startsWith(hs))return e.push(t.slice(9).trim()),!1}return!0})),{$node:t,comments:e}}(t),s=null==(e=r.html(n.$node))?void 0:e.trimEnd();return{comments:n.comments,html:s}}}const gs={};function ys(t,e){"string"!=typeof e&&(e=ys.defaultChars);const n=function(t){let e=gs[t];if(e)return e;e=gs[t]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);e.push(n)}for(let n=0;n=55296&&t<=57343?"���":String.fromCharCode(t),r+=6;continue}}if(240==(248&i)&&r+91114111?e+="����":(t-=65536,e+=String.fromCharCode(55296+(t>>10),56320+(1023&t))),r+=9;continue}}e+="�"}}return e}))}ys.defaultChars=";/?:@&=+$,#",ys.componentChars="";const bs={};function ks(t,e,n){"string"!=typeof e&&(n=e,e=ks.defaultChars),void 0===n&&(n=!0);const r=function(t){let e=bs[t];if(e)return e;e=bs[t]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);/^[0-9a-z]$/i.test(n)?e.push(n):e.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(let n=0;n=55296&&o<=57343){if(o>=55296&&o<=56319&&e+1=56320&&n<=57343){s+=encodeURIComponent(t[e]+t[e+1]),e++;continue}}s+="%EF%BF%BD"}else s+=encodeURIComponent(t[e])}return s}function _s(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function vs(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}ks.defaultChars=";/?:@&=+$,-_.!~*'()#",ks.componentChars="-_.!~*'()";const ws=/^([a-z0-9.+-]+:)/i,As=/:[0-9]*$/,Es=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,xs=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),Cs=["'"].concat(xs),Ss=["%","/","?",";","#"].concat(Cs),Ds=["/","?","#"],Ts=/^[+a-z0-9A-Z_-]{0,63}$/,Ns=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Is={javascript:!0,"javascript:":!0},Fs={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Ls(t,e){if(t&&t instanceof vs)return t;const n=new vs;return n.parse(t,e),n}vs.prototype.parse=function(t,e){let n,r,s,i=t;if(i=i.trim(),!e&&1===t.split("#").length){const t=Es.exec(i);if(t)return this.pathname=t[1],t[2]&&(this.search=t[2]),this}let o=ws.exec(i);if(o&&(o=o[0],n=o.toLowerCase(),this.protocol=o,i=i.substr(o.length)),(e||o||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(s="//"===i.substr(0,2),!s||o&&Is[o]||(i=i.substr(2),this.slashes=!0)),!Is[o]&&(s||o&&!Fs[o])){let t,e,n=-1;for(let t=0;t127?r+="x":r+=n[t];if(!r.match(Ts)){const r=t.slice(0,e),s=t.slice(e+1),o=n.match(Ns);o&&(r.push(o[1]),s.unshift(o[2])),s.length&&(i=s.join(".")+i),this.hostname=r.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=i.indexOf("#");-1!==a&&(this.hash=i.substr(a),i=i.slice(0,a));const c=i.indexOf("?");return-1!==c&&(this.search=i.substr(c),i=i.slice(0,c)),i&&(this.pathname=i),Fs[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},vs.prototype.parseHost=function(t){let e=As.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const qs=Object.freeze(Object.defineProperty({__proto__:null,decode:ys,encode:ks,format:_s,parse:Ls},Symbol.toStringTag,{value:"Module"})),Os=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Bs=/[\0-\x1F\x7F-\x9F]/,$s=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Ms=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Ps=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,js=Object.freeze(Object.defineProperty({__proto__:null,Any:Os,Cc:Bs,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:$s,S:Ms,Z:Ps},Symbol.toStringTag,{value:"Module"})),Rs=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((t=>t.charCodeAt(0)))),Us=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((t=>t.charCodeAt(0))));var zs;const Vs=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Ks=null!==(zs=String.fromCodePoint)&&void 0!==zs?zs:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};var Hs;!function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"}(Hs||(Hs={}));var Gs,Ws,Zs;function Js(t){return t>=Hs.ZERO&&t<=Hs.NINE}function Xs(t){return t===Hs.EQUALS||function(t){return t>=Hs.UPPER_A&&t<=Hs.UPPER_Z||t>=Hs.LOWER_A&&t<=Hs.LOWER_Z||Js(t)}(t)}!function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"}(Gs||(Gs={})),function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"}(Ws||(Ws={})),function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"}(Zs||(Zs={}));class Qs{constructor(t,e,n){this.decodeTree=t,this.emitCodePoint=e,this.errors=n,this.state=Ws.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Zs.Strict}startEntity(t){this.decodeMode=t,this.state=Ws.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case Ws.EntityStart:return t.charCodeAt(e)===Hs.NUM?(this.state=Ws.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=Ws.NamedEntity,this.stateNamedEntity(t,e));case Ws.NumericStart:return this.stateNumericStart(t,e);case Ws.NumericDecimal:return this.stateNumericDecimal(t,e);case Ws.NumericHex:return this.stateNumericHex(t,e);case Ws.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===Hs.LOWER_X?(this.state=Ws.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=Ws.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,n,r){if(e!==n){const s=n-e;this.result=this.result*Math.pow(r,s)+parseInt(t.substr(e,s),r),this.consumed+=s}}stateNumericHex(t,e){const n=e;for(;e=Hs.UPPER_A&&r<=Hs.UPPER_F||r>=Hs.LOWER_A&&r<=Hs.LOWER_F)))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(s,3);e+=1}var r;return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e=55296&&t<=57343||t>1114111?65533:null!==(e=Vs.get(t))&&void 0!==e?e:t}(this.result),this.consumed),this.errors&&(t!==Hs.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){const{decodeTree:n}=this;let r=n[this.treeIndex],s=(r&Gs.VALUE_LENGTH)>>14;for(;e>14,0!==s){if(i===Hs.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==Zs.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:n}=this,r=(n[e]&Gs.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,r,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:r}=this;return this.emitCodePoint(1===e?r[t]&~Gs.VALUE_LENGTH:r[t+1],n),3===e&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case Ws.NamedEntity:return 0===this.result||this.decodeMode===Zs.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Ws.NumericDecimal:return this.emitNumericEntity(0,2);case Ws.NumericHex:return this.emitNumericEntity(0,3);case Ws.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ws.EntityStart:return 0}}}function Ys(t){let e="";const n=new Qs(t,(t=>e+=Ks(t)));return function(t,r){let s=0,i=0;for(;(i=t.indexOf("&",i))>=0;){e+=t.slice(s,i),n.startEntity(r);const o=n.write(t,i+1);if(o<0){s=i+n.end();break}s=i+o,i=0===o?s+1:s}const o=e+t.slice(s);return e="",o}}function ti(t,e,n,r){const s=(e&Gs.BRANCH_LENGTH)>>7,i=e&Gs.JUMP_TABLE;if(0===s)return 0!==i&&r===i?n:-1;if(i){const e=r-i;return e<0||e>=s?-1:t[n+e]-1}let o=n,a=o+s-1;for(;o<=a;){const e=o+a>>>1,n=t[e];if(nr))return t[e+s];a=e-1}}return-1}const ei=Ys(Rs);function ni(t,e=Zs.Legacy){return ei(t,e)}function ri(t){return"[object String]"===function(t){return Object.prototype.toString.call(t)}(t)}Ys(Us);const si=Object.prototype.hasOwnProperty;function ii(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach((function(n){t[n]=e[n]}))}})),t}function oi(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))}function ai(t){return!(t>=55296&&t<=57343)&&(!(t>=64976&&t<=65007)&&(!!(65535&~t&&65534!=(65535&t))&&(!(t>=0&&t<=8)&&(11!==t&&(!(t>=14&&t<=31)&&(!(t>=127&&t<=159)&&!(t>1114111)))))))}function ci(t){if(t>65535){const e=55296+((t-=65536)>>10),n=56320+(1023&t);return String.fromCharCode(e,n)}return String.fromCharCode(t)}const li=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ui=new RegExp(li.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),hi=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function fi(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(ui,(function(t,e,n){return e||function(t,e){if(35===e.charCodeAt(0)&&hi.test(e)){const n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return ai(n)?ci(n):t}const n=ni(t);return n!==t?n:t}(t,n)}))}const di=/[&<>"]/,pi=/[&<>"]/g,mi={"&":"&","<":"<",">":">",'"':"""};function gi(t){return mi[t]}function yi(t){return di.test(t)?t.replace(pi,gi):t}const bi=/[.?*+^$[\]\\(){}|-]/g;function ki(t){switch(t){case 9:case 32:return!0}return!1}function _i(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function vi(t){return $s.test(t)||Ms.test(t)}function wi(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Ai(t){return t=t.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const Ei={mdurl:qs,ucmicro:js},xi=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:oi,assign:ii,escapeHtml:yi,escapeRE:function(t){return t.replace(bi,"\\$&")},fromCodePoint:ci,has:function(t,e){return si.call(t,e)},isMdAsciiPunct:wi,isPunctChar:vi,isSpace:ki,isString:ri,isValidEntityCode:ai,isWhiteSpace:_i,lib:Ei,normalizeReference:Ai,unescapeAll:fi,unescapeMd:function(t){return t.indexOf("\\")<0?t:t.replace(li,"$1")}},Symbol.toStringTag,{value:"Module"}));const Ci=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:function(t,e,n){let r,s=e;const i={ok:!1,pos:0,str:""};if(60===t.charCodeAt(s)){for(s++;s32))return i;if(41===r){if(0===o)break;o--}s++}return e===s||0!==o||(i.str=fi(t.slice(e,s)),i.pos=s,i.ok=!0),i},parseLinkLabel:function(t,e,n){let r,s,i,o;const a=t.posMax,c=t.pos;for(t.pos=e+1,r=1;t.pos=n)return o;let r=t.charCodeAt(i);if(34!==r&&39!==r&&40!==r)return o;e++,i++,40===r&&(r=41),o.marker=r}for(;i"+yi(i.content)+""},Si.code_block=function(t,e,n,r,s){const i=t[e];return""+yi(t[e].content)+"\n"},Si.fence=function(t,e,n,r,s){const i=t[e],o=i.info?fi(i.info).trim():"";let a,c="",l="";if(o){const t=o.split(/(\s+)/g);c=t[0],l=t.slice(2).join("")}if(a=n.highlight&&n.highlight(i.content,c,l)||yi(i.content),0===a.indexOf("${a}\n`}return`
${a}
\n`},Si.image=function(t,e,n,r,s){const i=t[e];return i.attrs[i.attrIndex("alt")][1]=s.renderInlineAsText(i.children,n,r),s.renderToken(t,e,n)},Si.hardbreak=function(t,e,n){return n.xhtmlOut?"
\n":"
\n"},Si.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},Si.text=function(t,e){return yi(t[e].content)},Si.html_block=function(t,e){return t[e].content},Si.html_inline=function(t,e){return t[e].content},Di.prototype.renderAttrs=function(t){let e,n,r;if(!t.attrs)return"";for(r="",e=0,n=t.attrs.length;e\n":">",s},Di.prototype.renderInline=function(t,e,n){let r="";const s=this.rules;for(let i=0,o=t.length;i=0&&(n=this.attrs[e][1]),n},Ni.prototype.attrJoin=function(t,e){const n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e},Ii.prototype.Token=Ni;const Fi=/\r\n?|\n/g,Li=/\0/g;function qi(t){return/^<\/a\s*>/i.test(t)}const Oi=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Bi=/\((c|tm|r)\)/i,$i=/\((c|tm|r)\)/gi,Mi={c:"©",r:"®",tm:"™"};function Pi(t,e){return Mi[e.toLowerCase()]}function ji(t){let e=0;for(let n=t.length-1;n>=0;n--){const r=t[n];"text"!==r.type||e||(r.content=r.content.replace($i,Pi)),"link_open"===r.type&&"auto"===r.info&&e--,"link_close"===r.type&&"auto"===r.info&&e++}}function Ri(t){let e=0;for(let n=t.length-1;n>=0;n--){const r=t[n];"text"!==r.type||e||Oi.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&e--,"link_close"===r.type&&"auto"===r.info&&e++}}const Ui=/['"]/,zi=/['"]/g;function Vi(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Ki(t,e){let n;const r=[];for(let s=0;s=0&&!(r[n].level<=o);n--);if(r.length=n+1,"text"!==i.type)continue;let a=i.content,c=0,l=a.length;t:for(;c=0)p=a.charCodeAt(u.index-1);else for(n=s-1;n>=0&&("softbreak"!==t[n].type&&"hardbreak"!==t[n].type);n--)if(t[n].content){p=t[n].content.charCodeAt(t[n].content.length-1);break}let m=32;if(c=48&&p<=57&&(f=h=!1),h&&f&&(h=g,f=y),h||f){if(f)for(n=r.length-1;n>=0;n--){let h=r[n];if(r[n].level=0;o--){const a=s[o];if("link_close"!==a.type){if("html_inline"===a.type&&(n=a.content,/^\s]/i.test(n)&&i>0&&i--,qi(a.content)&&i++),!(i>0)&&"text"===a.type&&t.md.linkify.test(a.content)){const n=a.content;let i=t.md.linkify.match(n);const c=[];let l=a.level,u=0;i.length>0&&0===i[0].index&&o>0&&"text_special"===s[o-1].type&&(i=i.slice(1));for(let e=0;eu){const e=new t.Token("text","",0);e.content=n.slice(u,a),e.level=l,c.push(e)}const h=new t.Token("link_open","a",1);h.attrs=[["href",s]],h.level=l++,h.markup="linkify",h.info="auto",c.push(h);const f=new t.Token("text","",0);f.content=o,f.level=l,c.push(f);const d=new t.Token("link_close","a",-1);d.level=--l,d.markup="linkify",d.info="auto",c.push(d),u=i[e].lastIndex}if(u=0;e--)"inline"===t.tokens[e].type&&(Bi.test(t.tokens[e].content)&&ji(t.tokens[e].children),Oi.test(t.tokens[e].content)&&Ri(t.tokens[e].children))}],["smartquotes",function(t){if(t.md.options.typographer)for(let e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&Ui.test(t.tokens[e].content)&&Ki(t.tokens[e].children,t)}],["text_join",function(t){let e,n;const r=t.tokens,s=r.length;for(let t=0;t0&&this.level++,this.tokens.push(r),r},Wi.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},Wi.prototype.skipEmptyLines=function(t){for(let e=this.lineMax;te;)if(!ki(this.src.charCodeAt(--t)))return t+1;return t},Wi.prototype.skipChars=function(t,e){for(let n=this.src.length;tn;)if(e!==this.src.charCodeAt(--t))return t+1;return t},Wi.prototype.getLines=function(t,e,n,r){if(t>=e)return"";const s=new Array(e-t);for(let i=0,o=t;on?new Array(t-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return s.join("")},Wi.prototype.Token=Ni;function Zi(t,e){const n=t.bMarks[e]+t.tShift[e],r=t.eMarks[e];return t.src.slice(n,r)}function Ji(t){const e=[],n=t.length;let r=0,s=t.charCodeAt(r),i=!1,o=0,a="";for(;r=r)return-1;let i=t.src.charCodeAt(s++);if(i<48||i>57)return-1;for(;;){if(s>=r)return-1;if(i=t.src.charCodeAt(s++),!(i>=48&&i<=57)){if(41===i||46===i)break;return-1}if(s-n>=10)return-1}return s`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",to="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",eo=new RegExp("^(?:"+Yi+"|"+to+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),no=new RegExp("^(?:"+Yi+"|"+to+")"),ro=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(no.source+"\\s*$"),/^$/,!1]];const so=[["table",function(t,e,n,r){if(e+2>n)return!1;let s=e+1;if(t.sCount[s]=4)return!1;let i=t.bMarks[s]+t.tShift[s];if(i>=t.eMarks[s])return!1;const o=t.src.charCodeAt(i++);if(124!==o&&45!==o&&58!==o)return!1;if(i>=t.eMarks[s])return!1;const a=t.src.charCodeAt(i++);if(124!==a&&45!==a&&58!==a&&!ki(a))return!1;if(45===o&&ki(a))return!1;for(;i=4)return!1;l=Ji(c),l.length&&""===l[0]&&l.shift(),l.length&&""===l[l.length-1]&&l.pop();const h=l.length;if(0===h||h!==u.length)return!1;if(r)return!0;const f=t.parentType;t.parentType="table";const d=t.md.block.ruler.getRules("blockquote"),p=[e,0];t.push("table_open","table",1).map=p,t.push("thead_open","thead",1).map=[e,e+1],t.push("tr_open","tr",1).map=[e,e+1];for(let e=0;e=4)break;if(l=Ji(c),l.length&&""===l[0]&&l.shift(),l.length&&""===l[l.length-1]&&l.pop(),g+=h-l.length,g>65536)break;if(s===e+2){t.push("tbody_open","tbody",1).map=m=[e+2,0]}t.push("tr_open","tr",1).map=[s,s+1];for(let e=0;e=4))break;r++,s=r}t.line=s;const i=t.push("code_block","code",0);return i.content=t.getLines(e,s,4+t.blkIndent,!1)+"\n",i.map=[e,t.line],!0}],["fence",function(t,e,n,r){let s=t.bMarks[e]+t.tShift[e],i=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(s+3>i)return!1;const o=t.src.charCodeAt(s);if(126!==o&&96!==o)return!1;let a=s;s=t.skipChars(s,o);let c=s-a;if(c<3)return!1;const l=t.src.slice(a,s),u=t.src.slice(s,i);if(96===o&&u.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;let h=e,f=!1;for(;(h++,!(h>=n))&&(s=a=t.bMarks[h]+t.tShift[h],i=t.eMarks[h],!(s=4||(s=t.skipChars(s,o),s-a=4)return!1;if(62!==t.src.charCodeAt(s))return!1;if(r)return!0;const a=[],c=[],l=[],u=[],h=t.md.block.ruler.getRules("blockquote"),f=t.parentType;t.parentType="blockquote";let d,p=!1;for(d=e;d=i)break;if(62===t.src.charCodeAt(s++)&&!e){let e,n,r=t.sCount[d]+1;32===t.src.charCodeAt(s)?(s++,r++,n=!1,e=!0):9===t.src.charCodeAt(s)?(e=!0,(t.bsCount[d]+r)%4==3?(s++,r++,n=!1):n=!0):e=!1;let o=r;for(a.push(t.bMarks[d]),t.bMarks[d]=s;s=i,c.push(t.bsCount[d]),t.bsCount[d]=t.sCount[d]+1+(e?1:0),l.push(t.sCount[d]),t.sCount[d]=o-r,u.push(t.tShift[d]),t.tShift[d]=s-t.bMarks[d];continue}if(p)break;let r=!1;for(let e=0,s=h.length;e";const y=[e,0];g.map=y,t.md.block.tokenize(t,e,d),t.push("blockquote_close","blockquote",-1).markup=">",t.lineMax=o,t.parentType=f,y[1]=t.line;for(let n=0;n=4)return!1;let i=t.bMarks[e]+t.tShift[e];const o=t.src.charCodeAt(i++);if(42!==o&&45!==o&&95!==o)return!1;let a=1;for(;i=4)return!1;if(t.listIndent>=0&&t.sCount[c]-t.listIndent>=4&&t.sCount[c]=t.blkIndent&&(d=!0),(f=Qi(t,c))>=0){if(u=!0,o=t.bMarks[c]+t.tShift[c],h=Number(t.src.slice(o,f-1)),d&&1!==h)return!1}else{if(!((f=Xi(t,c))>=0))return!1;u=!1}if(d&&t.skipSpaces(f)>=t.eMarks[c])return!1;if(r)return!0;const p=t.src.charCodeAt(f-1),m=t.tokens.length;u?(a=t.push("ordered_list_open","ol",1),1!==h&&(a.attrs=[["start",h]])):a=t.push("bullet_list_open","ul",1);const g=[c,0];a.map=g,a.markup=String.fromCharCode(p);let y=!1;const b=t.md.block.ruler.getRules("list"),k=t.parentType;for(t.parentType="list";c=s?1:r-e,d>4&&(d=1);const m=e+d;a=t.push("list_item_open","li",1),a.markup=String.fromCharCode(p);const g=[c,0];a.map=g,u&&(a.info=t.src.slice(o,f-1));const k=t.tight,_=t.tShift[c],v=t.sCount[c],w=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=m,t.tight=!0,t.tShift[c]=h-t.bMarks[c],t.sCount[c]=r,h>=s&&t.isEmpty(c+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,c,n,!0),t.tight&&!y||(l=!1),y=t.line-c>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=w,t.tShift[c]=_,t.sCount[c]=v,t.tight=k,a=t.push("list_item_close","li",-1),a.markup=String.fromCharCode(p),c=t.line,g[1]=c,c>=n)break;if(t.sCount[c]=4)break;let A=!1;for(let e=0,r=b.length;e=4)return!1;if(91!==t.src.charCodeAt(s))return!1;function a(e){const n=t.lineMax;if(e>=n||t.isEmpty(e))return null;let r=!1;if(t.sCount[e]-t.blkIndent>3&&(r=!0),t.sCount[e]<0&&(r=!0),!r){const r=t.md.block.ruler.getRules("reference"),s=t.parentType;t.parentType="reference";let i=!1;for(let s=0,o=r.length;s=4)return!1;if(!t.md.options.html)return!1;if(60!==t.src.charCodeAt(s))return!1;let o=t.src.slice(s,i),a=0;for(;a=4)return!1;let o=t.src.charCodeAt(s);if(35!==o||s>=i)return!1;let a=1;for(o=t.src.charCodeAt(++s);35===o&&s6||ss&&ki(t.src.charCodeAt(c-1))&&(i=c),t.line=e+1;const l=t.push("heading_open","h"+String(a),1);l.markup="########".slice(0,a),l.map=[e,t.line];const u=t.push("inline","",0);return u.content=t.src.slice(s,i).trim(),u.map=[e,t.line],u.children=[],t.push("heading_close","h"+String(a),-1).markup="########".slice(0,a),!0},["paragraph","reference","blockquote"]],["lheading",function(t,e,n){const r=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;const s=t.parentType;t.parentType="paragraph";let i,o=0,a=e+1;for(;a3)continue;if(t.sCount[a]>=t.blkIndent){let e=t.bMarks[a]+t.tShift[a];const n=t.eMarks[a];if(e=n))){o=61===i?1:2;break}}if(t.sCount[a]<0)continue;let e=!1;for(let s=0,i=r.length;s3)continue;if(t.sCount[i]<0)continue;let e=!1;for(let s=0,o=r.length;s=n))&&!(t.sCount[o]=i){t.line=n;break}const e=t.line;let c=!1;for(let i=0;i=t.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");t.tight=!a,t.isEmpty(t.line-1)&&(a=!0),o=t.line,o0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(s),r},oo.prototype.scanDelims=function(t,e){const n=this.posMax,r=this.src.charCodeAt(t),s=t>0?this.src.charCodeAt(t-1):32;let i=t;for(;i?@[]^_`{|}~-".split("").forEach((function(t){lo[t.charCodeAt(0)]=1}));const ho={tokenize:function(t,e){const n=t.pos,r=t.src.charCodeAt(n);if(e)return!1;if(126!==r)return!1;const s=t.scanDelims(t.pos,!0);let i=s.length;const o=String.fromCharCode(r);if(i<2)return!1;let a;i%2&&(a=t.push("text","",0),a.content=o,i--);for(let e=0;e=0;n--){const r=e[n];if(95!==r.marker&&42!==r.marker)continue;if(-1===r.end)continue;const s=e[r.end],i=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===s.token+1,o=String.fromCharCode(r.marker),a=t.tokens[r.token];a.type=i?"strong_open":"em_open",a.tag=i?"strong":"em",a.nesting=1,a.markup=i?o+o:o,a.content="";const c=t.tokens[s.token];c.type=i?"strong_close":"em_close",c.tag=i?"strong":"em",c.nesting=-1,c.markup=i?o+o:o,c.content="",i&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--)}}const po={tokenize:function(t,e){const n=t.pos,r=t.src.charCodeAt(n);if(e)return!1;if(95!==r&&42!==r)return!1;const s=t.scanDelims(t.pos,42===r);for(let e=0;e\x00-\x20]*)$/;const yo=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,bo=/^&([a-z][a-z0-9]{1,31});/i;function ko(t){const e={},n=t.length;if(!n)return;let r=0,s=-2;const i=[];for(let o=0;oa;c-=i[c]+1){const e=t[c];if(e.marker===n.marker&&(e.open&&e.end<0)){let r=!1;if((e.close||n.open)&&(e.length+n.length)%3==0&&(e.length%3==0&&n.length%3==0||(r=!0)),!r){const r=c>0&&!t[c-1].open?i[c-1]+1:0;i[o]=o-c+r,i[c]=r,n.open=!1,e.end=o,e.close=!1,l=-1,s=-2;break}}}-1!==l&&(e[n.marker][(n.open?3:0)+(n.length||0)%3]=l)}}const _o=[["text",function(t,e){let n=t.pos;for(;n0)return!1;const n=t.pos;if(n+3>t.posMax)return!1;if(58!==t.src.charCodeAt(n))return!1;if(47!==t.src.charCodeAt(n+1))return!1;if(47!==t.src.charCodeAt(n+2))return!1;const r=t.pending.match(co);if(!r)return!1;const s=r[1],i=t.md.linkify.matchAtStart(t.src.slice(n-s.length));if(!i)return!1;let o=i.url;if(o.length<=s.length)return!1;o=o.replace(/\*+$/,"");const a=t.md.normalizeLink(o);if(!t.md.validateLink(a))return!1;if(!e){t.pending=t.pending.slice(0,-s.length);const e=t.push("link_open","a",1);e.attrs=[["href",a]],e.markup="linkify",e.info="auto";t.push("text","",0).content=t.md.normalizeLinkText(o);const n=t.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return t.pos+=o.length-s.length,!0}],["newline",function(t,e){let n=t.pos;if(10!==t.src.charCodeAt(n))return!1;const r=t.pending.length-1,s=t.posMax;if(!e)if(r>=0&&32===t.pending.charCodeAt(r))if(r>=1&&32===t.pending.charCodeAt(r-1)){let e=r-1;for(;e>=1&&32===t.pending.charCodeAt(e-1);)e--;t.pending=t.pending.slice(0,e),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(n++;n=r)return!1;let s=t.src.charCodeAt(n);if(10===s){for(e||t.push("hardbreak","br",0),n++;n=55296&&s<=56319&&n+1=56320&&e<=57343&&(i+=t.src[n+1],n++)}const o="\\"+i;if(!e){const e=t.push("text_special","",0);s<256&&0!==lo[s]?e.content=i:e.content=o,e.markup=o,e.info="escape"}return t.pos=n+1,!0}],["backticks",function(t,e){let n=t.pos;if(96!==t.src.charCodeAt(n))return!1;const r=n;n++;const s=t.posMax;for(;n=h)return!1;if(c=p,s=t.md.helpers.parseLinkDestination(t.src,p,t.posMax),s.ok){for(o=t.md.normalizeLink(s.str),t.md.validateLink(o)?p=s.pos:o="",c=p;p=h||41!==t.src.charCodeAt(p))&&(l=!0),p++}if(l){if(void 0===t.env.references)return!1;if(p=0?r=t.src.slice(c,p++):p=d+1):p=d+1,r||(r=t.src.slice(f,d)),i=t.env.references[Ai(r)],!i)return t.pos=u,!1;o=i.href,a=i.title}if(!e){t.pos=f,t.posMax=d;const e=[["href",o]];t.push("link_open","a",1).attrs=e,a&&e.push(["title",a]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=p,t.posMax=h,!0}],["image",function(t,e){let n,r,s,i,o,a,c,l,u="";const h=t.pos,f=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;const d=t.pos+2,p=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(p<0)return!1;if(i=p+1,i=f)return!1;for(l=i,a=t.md.helpers.parseLinkDestination(t.src,i,t.posMax),a.ok&&(u=t.md.normalizeLink(a.str),t.md.validateLink(u)?i=a.pos:u=""),l=i;i=f||41!==t.src.charCodeAt(i))return t.pos=h,!1;i++}else{if(void 0===t.env.references)return!1;if(i=0?s=t.src.slice(l,i++):i=p+1):i=p+1,s||(s=t.src.slice(d,p)),o=t.env.references[Ai(s)],!o)return t.pos=h,!1;u=o.href,c=o.title}if(!e){r=t.src.slice(d,p);const e=[];t.md.inline.parse(r,t.md,t.env,e);const n=t.push("image","img",0),s=[["src",u],["alt",""]];n.attrs=s,n.children=e,n.content=r,c&&s.push(["title",c])}return t.pos=i,t.posMax=f,!0}],["autolink",function(t,e){let n=t.pos;if(60!==t.src.charCodeAt(n))return!1;const r=t.pos,s=t.posMax;for(;;){if(++n>=s)return!1;const e=t.src.charCodeAt(n);if(60===e)return!1;if(62===e)break}const i=t.src.slice(r+1,n);if(go.test(i)){const n=t.md.normalizeLink(i);if(!t.md.validateLink(n))return!1;if(!e){const e=t.push("link_open","a",1);e.attrs=[["href",n]],e.markup="autolink",e.info="auto";t.push("text","",0).content=t.md.normalizeLinkText(i);const r=t.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return t.pos+=i.length+2,!0}if(mo.test(i)){const n=t.md.normalizeLink("mailto:"+i);if(!t.md.validateLink(n))return!1;if(!e){const e=t.push("link_open","a",1);e.attrs=[["href",n]],e.markup="autolink",e.info="auto";t.push("text","",0).content=t.md.normalizeLinkText(i);const r=t.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return t.pos+=i.length+2,!0}return!1}],["html_inline",function(t,e){if(!t.md.options.html)return!1;const n=t.posMax,r=t.pos;if(60!==t.src.charCodeAt(r)||r+2>=n)return!1;const s=t.src.charCodeAt(r+1);if(33!==s&&63!==s&&47!==s&&!function(t){const e=32|t;return e>=97&&e<=122}(s))return!1;const i=t.src.slice(r).match(eo);if(!i)return!1;if(!e){const e=t.push("html_inline","",0);e.content=i[0],o=e.content,/^\s]/i.test(o)&&t.linkLevel++,function(t){return/^<\/a\s*>/i.test(t)}(e.content)&&t.linkLevel--}var o;return t.pos+=i[0].length,!0}],["entity",function(t,e){const n=t.pos,r=t.posMax;if(38!==t.src.charCodeAt(n))return!1;if(n+1>=r)return!1;if(35===t.src.charCodeAt(n+1)){const r=t.src.slice(n).match(yo);if(r){if(!e){const e="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=t.push("text_special","",0);n.content=ai(e)?ci(e):ci(65533),n.markup=r[0],n.info="entity"}return t.pos+=r[0].length,!0}}else{const r=t.src.slice(n).match(bo);if(r){const n=ni(r[0]);if(n!==r[0]){if(!e){const e=t.push("text_special","",0);e.content=n,e.markup=r[0],e.info="entity"}return t.pos+=r[0].length,!0}}}return!1}]],vo=[["balance_pairs",function(t){const e=t.tokens_meta,n=t.tokens_meta.length;ko(t.delimiters);for(let t=0;t0&&r++,"text"===s[e].type&&e+1=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;o||t.pos++,i[e]=t.pos},wo.prototype.tokenize=function(t){const e=this.ruler.getRules(""),n=e.length,r=t.posMax,s=t.md.options.maxNesting;for(;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}if(o){if(t.pos>=r)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},wo.prototype.parse=function(t,e,n,r){const s=new this.State(t,e,n,r);this.tokenize(s);const i=this.ruler2.getRules(""),o=i.length;for(let t=0;t=3&&":"===t[e-3]||e>=3&&"/"===t[e-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){const r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},To="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function No(t){const e=t.re=function(t){const e={};t=t||{},e.src_Any=Os.source,e.src_Cc=Bs.source,e.src_Z=Ps.source,e.src_P=$s.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");const n="[><|]";return e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}(t.__opts__),n=t.__tlds__.slice();function r(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(e.src_xn),e.src_tlds=n.join("|"),e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");const s=[];function i(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach((function(e){const n=t.__schemas__[e];if(null===n)return;const r={validate:null,link:null};if(t.__compiled__[e]=r,"[object Object]"===Eo(n))return!function(t){return"[object RegExp]"===Eo(t)}(n.validate)?xo(n.validate)?r.validate=n.validate:i(e,n):r.validate=function(t){return function(e,n){const r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}(n.validate),void(xo(n.normalize)?r.normalize=n.normalize:n.normalize?i(e,n):r.normalize=function(t,e){e.normalize(t)});!function(t){return"[object String]"===Eo(t)}(n)?i(e,n):s.push(e)})),s.forEach((function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)})),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};const o=Object.keys(t.__compiled__).filter((function(e){return e.length>0&&t.__compiled__[e]})).map(Co).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function Io(t,e){const n=t.__index__,r=t.__last_index__,s=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=s,this.text=s,this.url=s}function Fo(t,e){const n=new Io(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function Lo(t,e){if(!(this instanceof Lo))return new Lo(t,e);var n;e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||So.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=Ao({},So,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ao({},Do,t),this.__compiled__={},this.__tlds__=To,this.__tlds_replaced__=!1,this.re={},No(this)}Lo.prototype.add=function(t,e){return this.__schemas__[t]=e,No(this),this},Lo.prototype.set=function(t){return this.__opts__=Ao(this.__opts__,t),this},Lo.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let e,n,r,s,i,o,a,c,l;if(this.re.schema_test.test(t))for(a=this.re.schema_search,a.lastIndex=0;null!==(e=a.exec(t));)if(s=this.testSchemaAt(t,e[2],a.lastIndex),s){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+s;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&null!==(r=t.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,o=r.index+r[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=o))),this.__index__>=0},Lo.prototype.pretest=function(t){return this.re.pretest.test(t)},Lo.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},Lo.prototype.match=function(t){const e=[];let n=0;this.__index__>=0&&this.__text_cache__===t&&(e.push(Fo(this,n)),n=this.__last_index__);let r=n?t.slice(n):t;for(;this.test(r);)e.push(Fo(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return e.length?e:null},Lo.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const e=this.re.schema_at_start.exec(t);if(!e)return null;const n=this.testSchemaAt(t,e[2],e[0].length);return n?(this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+n,Fo(this,0)):null},Lo.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,e,n){return t!==n[e-1]})).reverse(),No(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,No(this),this)},Lo.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},Lo.prototype.onCompile=function(){};const qo=2147483647,Oo=36,Bo=/^xn--/,$o=/[^\0-\x7F]/,Mo=/[\x2E\u3002\uFF0E\uFF61]/g,Po={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},jo=Math.floor,Ro=String.fromCharCode;function Uo(t){throw new RangeError(Po[t])}function zo(t,e){const n=t.split("@");let r="";n.length>1&&(r=n[0]+"@",t=n[1]);const s=function(t,e){const n=[];let r=t.length;for(;r--;)n[r]=e(t[r]);return n}((t=t.replace(Mo,".")).split("."),e).join(".");return r+s}function Vo(t){const e=[];let n=0;const r=t.length;for(;n=55296&&s<=56319&&n>1,t+=jo(t/e);t>455;r+=Oo)t=jo(t/35);return jo(r+36*t/(t+38))},Go=function(t){const e=[],n=t.length;let r=0,s=128,i=72,o=t.lastIndexOf("-");o<0&&(o=0);for(let n=0;n=128&&Uo("not-basic"),e.push(t.charCodeAt(n));for(let c=o>0?o+1:0;c=n&&Uo("invalid-input");const o=(a=t.charCodeAt(c++))>=48&&a<58?a-48+26:a>=65&&a<91?a-65:a>=97&&a<123?a-97:Oo;o>=Oo&&Uo("invalid-input"),o>jo((qo-r)/e)&&Uo("overflow"),r+=o*e;const l=s<=i?1:s>=i+26?26:s-i;if(ojo(qo/u)&&Uo("overflow"),e*=u}const l=e.length+1;i=Ho(r-o,l,0==o),jo(r/l)>qo-s&&Uo("overflow"),s+=jo(r/l),r%=l,e.splice(r++,0,s)}var a;return String.fromCodePoint(...e)},Wo=function(t){const e=[],n=(t=Vo(t)).length;let r=128,s=0,i=72;for(const n of t)n<128&&e.push(Ro(n));const o=e.length;let a=o;for(o&&e.push("-");a=r&&ejo((qo-s)/c)&&Uo("overflow"),s+=(n-r)*c,r=n;for(const n of t)if(nqo&&Uo("overflow"),n===r){let t=s;for(let n=Oo;;n+=Oo){const r=n<=i?1:n>=i+26?26:n-i;if(t=0))try{e.hostname=Zo(e.hostname)}catch(t){}return ks(_s(e))}function ra(t){const e=Ls(t,!0);if(e.hostname&&(!e.protocol||ea.indexOf(e.protocol)>=0))try{e.hostname=Jo(e.hostname)}catch(t){}return ys(_s(e),ys.defaultChars+"%")}function sa(t,e){if(!(this instanceof sa))return new sa(t,e);e||ri(t)||(e=t||{},t="default"),this.inline=new wo,this.block=new io,this.core=new Gi,this.renderer=new Di,this.linkify=new Lo,this.validateLink=ta,this.normalizeLink=na,this.normalizeLinkText=ra,this.utils=xi,this.helpers=ii({},Ci),this.options={},this.configure(t),e&&this.set(e)}function ia(t){function e(t,e){let n;const r=[],s=e.length;for(let i=0;i?@[\]^_`{|}~-])/g;function ca(t,e){const n=t.posMax,r=t.pos;if(126!==t.src.charCodeAt(r))return!1;if(e)return!1;if(r+2>=n)return!1;t.pos=r+1;let s=!1;for(;t.pos?@[\]^_`{|}~-])/g;function ha(t,e){const n=t.posMax,r=t.pos;if(94!==t.src.charCodeAt(r))return!1;if(e)return!1;if(r+2>=n)return!1;t.pos=r+1;let s=!1;for(;t.pos\n'.trim(),x:'\n'.trim()},pa={name:"checkbox",transform:t=>(t.parser.tap((t=>{t.core.ruler.before("inline","checkbox",(t=>{for(let e=2;eda[e]?`${da[e]} `:t)))}}return!1}))})),{})},ma=Symbol.for("yaml.alias"),ga=Symbol.for("yaml.document"),ya=Symbol.for("yaml.map"),ba=Symbol.for("yaml.pair"),ka=Symbol.for("yaml.scalar"),_a=Symbol.for("yaml.seq"),va=Symbol.for("yaml.node.type"),wa=t=>!!t&&"object"==typeof t&&t[va]===ma,Aa=t=>!!t&&"object"==typeof t&&t[va]===ga,Ea=t=>!!t&&"object"==typeof t&&t[va]===ya,xa=t=>!!t&&"object"==typeof t&&t[va]===ba,Ca=t=>!!t&&"object"==typeof t&&t[va]===ka,Sa=t=>!!t&&"object"==typeof t&&t[va]===_a;function Da(t){if(t&&"object"==typeof t)switch(t[va]){case ya:case _a:return!0}return!1}function Ta(t){if(t&&"object"==typeof t)switch(t[va]){case ma:case ya:case ka:case _a:return!0}return!1}const Na=Symbol("break visit"),Ia=Symbol("skip children"),Fa=Symbol("remove node");function La(t,e){const n=function(t){if("object"==typeof t&&(t.Collection||t.Node||t.Value))return Object.assign({Alias:t.Node,Map:t.Node,Scalar:t.Node,Seq:t.Node},t.Value&&{Map:t.Value,Scalar:t.Value,Seq:t.Value},t.Collection&&{Map:t.Collection,Seq:t.Collection},t);return t}(e);if(Aa(t)){qa(null,t.contents,n,Object.freeze([t]))===Fa&&(t.contents=null)}else qa(null,t,n,Object.freeze([]))}function qa(t,e,n,r){const s=function(t,e,n,r){var s,i,o,a,c;return"function"==typeof n?n(t,e,r):Ea(e)?null==(s=n.Map)?void 0:s.call(n,t,e,r):Sa(e)?null==(i=n.Seq)?void 0:i.call(n,t,e,r):xa(e)?null==(o=n.Pair)?void 0:o.call(n,t,e,r):Ca(e)?null==(a=n.Scalar)?void 0:a.call(n,t,e,r):wa(e)?null==(c=n.Alias)?void 0:c.call(n,t,e,r):void 0}(t,e,n,r);if(Ta(s)||xa(s))return function(t,e,n){const r=e[e.length-1];if(Da(r))r.items[t]=n;else if(xa(r))"key"===t?r.key=n:r.value=n;else{if(!Aa(r)){const t=wa(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${t} parent`)}r.contents=n}}(t,r,s),qa(t,s,n,r);if("symbol"!=typeof s)if(Da(e)){r=Object.freeze(r.concat(e));for(let t=0;t"!==t[t.length-1]&&e("Verbatim tags must end with a >"),n)}const[,n,r]=t.match(/^(.*!)([^!]*)$/s);r||e(`The ${t} tag has no suffix`);const s=this.tags[n];if(s)try{return s+decodeURIComponent(r)}catch(t){return e(String(t)),null}return"!"===n?t:(e(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[e,n]of Object.entries(this.tags))if(t.startsWith(n))return e+t.substring(n.length).replace(/[!,[\]{}]/g,(t=>Oa[t]));return"!"===t[0]?t:`!<${t}>`}toString(t){const e=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let r;if(t&&n.length>0&&Ta(t.contents)){const e={};La(t.contents,((t,n)=>{Ta(n)&&n.tag&&(e[n.tag]=!0)})),r=Object.keys(e)}else r=[];for(const[s,i]of n)"!!"===s&&"tag:yaml.org,2002:"===i||t&&!r.some((t=>t.startsWith(i)))||e.push(`%TAG ${s} ${i}`);return e.join("\n")}}function $a(t){if(/[\x00-\x19\s,[\]{}]/.test(t)){const e=JSON.stringify(t);throw new Error(`Anchor must not contain whitespace or control characters: ${e}`)}return!0}function Ma(t){const e=new Set;return La(t,{Value(t,n){n.anchor&&e.add(n.anchor)}}),e}function Pa(t,e){for(let n=1;;++n){const r=`${t}${n}`;if(!e.has(r))return r}}function ja(t,e,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let e=0,n=r.length;eRa(t,String(e),n)));if(t&&"function"==typeof t.toJSON){if(!n||(!Ca(r=t)&&!Da(r)||!r.anchor))return t.toJSON(e,n);const s={aliasCount:0,count:1,res:void 0};n.anchors.set(t,s),n.onCreate=t=>{s.res=t,delete n.onCreate};const i=t.toJSON(e,n);return n.onCreate&&n.onCreate(i),i}var r;return"bigint"!=typeof t||(null==n?void 0:n.keep)?t:Number(t)}Ba.defaultYaml={explicit:!1,version:"1.2"},Ba.defaultTags={"!!":"tag:yaml.org,2002:"};class Ua{constructor(t){Object.defineProperty(this,va,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:e,maxAliasCount:n,onAnchor:r,reviver:s}={}){if(!Aa(t))throw new TypeError("A document argument is required");const i={anchors:new Map,doc:t,keep:!0,mapAsMap:!0===e,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},o=Ra(this,"",i);if("function"==typeof r)for(const{count:t,res:e}of i.anchors.values())r(e,t);return"function"==typeof s?ja(s,{"":o},"",o):o}}class za extends Ua{constructor(t){super(ma),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let e;return La(t,{Node:(t,n)=>{if(n===this)return La.BREAK;n.anchor===this.source&&(e=n)}}),e}toJSON(t,e){if(!e)return{source:this.source};const{anchors:n,doc:r,maxAliasCount:s}=e,i=this.resolve(r);if(!i){const t=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(t)}let o=n.get(i);if(o||(Ra(i,null,e),o=n.get(i)),!o||void 0===o.res){throw new ReferenceError("This should not happen: Alias anchor was not resolved?")}if(s>=0&&(o.count+=1,0===o.aliasCount&&(o.aliasCount=Va(r,i,n)),o.count*o.aliasCount>s)){throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return o.res}toString(t,e,n){const r=`*${this.source}`;if(t){if($a(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const t=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(t)}if(t.implicitKey)return`${r} `}return r}}function Va(t,e,n){if(wa(e)){const r=e.resolve(t),s=n&&r&&n.get(r);return s?s.count*s.aliasCount:0}if(Da(e)){let r=0;for(const s of e.items){const e=Va(t,s,n);e>r&&(r=e)}return r}if(xa(e)){const r=Va(t,e.key,n),s=Va(t,e.value,n);return Math.max(r,s)}return 1}const Ka=t=>!t||"function"!=typeof t&&"object"!=typeof t;class Ha extends Ua{constructor(t){super(ka),this.value=t}toJSON(t,e){return(null==e?void 0:e.keep)?this.value:Ra(this.value,t,e)}toString(){return String(this.value)}}Ha.BLOCK_FOLDED="BLOCK_FOLDED",Ha.BLOCK_LITERAL="BLOCK_LITERAL",Ha.PLAIN="PLAIN",Ha.QUOTE_DOUBLE="QUOTE_DOUBLE",Ha.QUOTE_SINGLE="QUOTE_SINGLE";function Ga(t,e,n){var r,s,i;if(Aa(t)&&(t=t.contents),Ta(t))return t;if(xa(t)){const e=null==(s=(r=n.schema[ya]).createNode)?void 0:s.call(r,n.schema,null,n);return e.items.push(t),e}(t instanceof String||t instanceof Number||t instanceof Boolean||"undefined"!=typeof BigInt&&t instanceof BigInt)&&(t=t.valueOf());const{aliasDuplicateObjects:o,onAnchor:a,onTagObj:c,schema:l,sourceObjects:u}=n;let h;if(o&&t&&"object"==typeof t){if(h=u.get(t),h)return h.anchor||(h.anchor=a(t)),new za(h.anchor);h={anchor:null,node:null},u.set(t,h)}(null==e?void 0:e.startsWith("!!"))&&(e="tag:yaml.org,2002:"+e.slice(2));let f=function(t,e,n){if(e){const t=n.filter((t=>t.tag===e)),r=t.find((t=>!t.format))??t[0];if(!r)throw new Error(`Tag ${e} not found`);return r}return n.find((e=>{var n;return(null==(n=e.identify)?void 0:n.call(e,t))&&!e.format}))}(t,e,l.tags);if(!f){if(t&&"function"==typeof t.toJSON&&(t=t.toJSON()),!t||"object"!=typeof t){const e=new Ha(t);return h&&(h.node=e),e}f=t instanceof Map?l[ya]:Symbol.iterator in Object(t)?l[_a]:l[ya]}c&&(c(f),delete n.onTagObj);const d=(null==f?void 0:f.createNode)?f.createNode(n.schema,t,n):"function"==typeof(null==(i=null==f?void 0:f.nodeClass)?void 0:i.from)?f.nodeClass.from(n.schema,t,n):new Ha(t);return e?d.tag=e:f.default||(d.tag=f.tag),h&&(h.node=d),d}function Wa(t,e,n){let r=n;for(let t=e.length-1;t>=0;--t){const n=e[t];if("number"==typeof n&&Number.isInteger(n)&&n>=0){const t=[];t[n]=r,r=t}else r=new Map([[n,r]])}return Ga(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:t,sourceObjects:new Map})}const Za=t=>null==t||"object"==typeof t&&!!t[Symbol.iterator]().next().done;class Ja extends Ua{constructor(t,e){super(t),Object.defineProperty(this,"schema",{value:e,configurable:!0,enumerable:!1,writable:!0})}clone(t){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(e.schema=t),e.items=e.items.map((e=>Ta(e)||xa(e)?e.clone(t):e)),this.range&&(e.range=this.range.slice()),e}addIn(t,e){if(Za(t))this.add(e);else{const[n,...r]=t,s=this.get(n,!0);if(Da(s))s.addIn(r,e);else{if(void 0!==s||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Wa(this.schema,r,e))}}}deleteIn(t){const[e,...n]=t;if(0===n.length)return this.delete(e);const r=this.get(e,!0);if(Da(r))return r.deleteIn(n);throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`)}getIn(t,e){const[n,...r]=t,s=this.get(n,!0);return 0===r.length?!e&&Ca(s)?s.value:s:Da(s)?s.getIn(r,e):void 0}hasAllNullValues(t){return this.items.every((e=>{if(!xa(e))return!1;const n=e.value;return null==n||t&&Ca(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(t){const[e,...n]=t;if(0===n.length)return this.has(e);const r=this.get(e,!0);return!!Da(r)&&r.hasIn(n)}setIn(t,e){const[n,...r]=t;if(0===r.length)this.set(n,e);else{const t=this.get(n,!0);if(Da(t))t.setIn(r,e);else{if(void 0!==t||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Wa(this.schema,r,e))}}}}const Xa=t=>t.replace(/^(?!$)(?: $)?/gm,"#");function Qa(t,e){return/^\n+$/.test(t)?t.substring(1):e?t.replace(/^(?! *$)/gm,e):t}const Ya=(t,e,n)=>t.endsWith("\n")?Qa(n,e):n.includes("\n")?"\n"+Qa(n,e):(t.endsWith(" ")?"":" ")+n,tc="flow",ec="block",nc="quoted";function rc(t,e,n="flow",{indentAtStart:r,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}={}){if(!s||s<0)return t;ss-Math.max(2,i)?l.push(0):d=s-r);let p=!1,m=-1,g=-1,y=-1;n===ec&&(m=sc(t,m,e.length),-1!==m&&(d=m+c));for(let r;r=t[m+=1];){if(n===nc&&"\\"===r){switch(g=m,t[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}y=m}if("\n"===r)n===ec&&(m=sc(t,m,e.length)),d=m+e.length+c,h=void 0;else{if(" "===r&&f&&" "!==f&&"\n"!==f&&"\t"!==f){const e=t[m+1];e&&" "!==e&&"\n"!==e&&"\t"!==e&&(h=m)}if(m>=d)if(h)l.push(h),d=h+c,h=void 0;else if(n===nc){for(;" "===f||"\t"===f;)f=r,r=t[m+=1],p=!0;const e=m>y+1?m-2:g-1;if(u[e])return t;l.push(e),u[e]=!0,d=e+c,h=void 0}else p=!0}f=r}if(p&&a&&a(),0===l.length)return t;o&&o();let b=t.slice(0,l[0]);for(let r=0;r({indentAtStart:e?t.indent.length:t.indentAtStart,lineWidth:t.options.lineWidth,minContentWidth:t.options.minContentWidth}),oc=t=>/^(%|---|\.\.\.)/m.test(t);function ac(t,e){const n=JSON.stringify(t);if(e.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=e,s=e.options.doubleQuotedMinMultiLineLength,i=e.indent||(oc(t)?" ":"");let o="",a=0;for(let t=0,e=n[t];e;e=n[++t])if(" "===e&&"\\"===n[t+1]&&"n"===n[t+2]&&(o+=n.slice(a,t)+"\\ ",t+=1,a=t,e="\\"),"\\"===e)switch(n[t+1]){case"u":{o+=n.slice(a,t);const e=n.substr(t+2,4);switch(e){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:"00"===e.substr(0,2)?o+="\\x"+e.substr(2):o+=n.substr(t,6)}t+=5,a=t+1}break;case"n":if(r||'"'===n[t+2]||n.lengthr)return!0;if(n=e+1,s-n<=r)return!1}return!0}(n,c,l.length));if(!n)return u?"|\n":">\n";let h,f;for(f=n.length;f>0;--f){const t=n[f-1];if("\n"!==t&&"\t"!==t&&" "!==t)break}let d=n.substring(f);const p=d.indexOf("\n");-1===p?h="-":n===d||p!==d.length-1?(h="+",i&&i()):h="",d&&(n=n.slice(0,-d.length),"\n"===d[d.length-1]&&(d=d.slice(0,-1)),d=d.replace(uc,`$&${l}`));let m,g=!1,y=-1;for(m=0;m{s=!0});const a=rc(`${b}${t}${d}`,l,ec,i);if(!s)return`>${k}\n${l}${a}`}return`|${k}\n${l}${b}${n=n.replace(/\n+/g,`$&${l}`)}${d}`}function fc(t,e,n,r){const{implicitKey:s,inFlow:i}=e,o="string"==typeof t.value?t:Object.assign({},t,{value:String(t.value)});let{type:a}=t;a!==Ha.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=Ha.QUOTE_DOUBLE);const c=t=>{switch(t){case Ha.BLOCK_FOLDED:case Ha.BLOCK_LITERAL:return s||i?lc(o.value,e):hc(o,e,n,r);case Ha.QUOTE_DOUBLE:return ac(o.value,e);case Ha.QUOTE_SINGLE:return cc(o.value,e);case Ha.PLAIN:return function(t,e,n,r){const{type:s,value:i}=t,{actualString:o,implicitKey:a,indent:c,indentStep:l,inFlow:u}=e;if(a&&i.includes("\n")||u&&/[[\]{},]/.test(i))return lc(i,e);if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return a||u||!i.includes("\n")?lc(i,e):hc(t,e,n,r);if(!a&&!u&&s!==Ha.PLAIN&&i.includes("\n"))return hc(t,e,n,r);if(oc(i)){if(""===c)return e.forceBlockIndent=!0,hc(t,e,n,r);if(a&&c===l)return lc(i,e)}const h=i.replace(/\n+/g,`$&\n${c}`);if(o){const t=t=>{var e;return t.default&&"tag:yaml.org,2002:str"!==t.tag&&(null==(e=t.test)?void 0:e.test(h))},{compat:n,tags:r}=e.doc.schema;if(r.some(t)||(null==n?void 0:n.some(t)))return lc(i,e)}return a?h:rc(h,c,tc,ic(e,!1))}(o,e,n,r);default:return null}};let l=c(a);if(null===l){const{defaultKeyType:t,defaultStringType:n}=e.options,r=s&&t||n;if(l=c(r),null===l)throw new Error(`Unsupported default string type ${r}`)}return l}function dc(t,e){const n=Object.assign({blockQuote:!0,commentString:Xa,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},t.schema.toStringOptions,e);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:t,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,options:n}}function pc(t,e,n,r){var s;if(xa(t))return t.toString(e,n,r);if(wa(t)){if(e.doc.directives)return t.toString(e);if(null==(s=e.resolvedAliases)?void 0:s.has(t))throw new TypeError("Cannot stringify circular structure without alias nodes");e.resolvedAliases?e.resolvedAliases.add(t):e.resolvedAliases=new Set([t]),t=t.resolve(e.doc)}let i;const o=Ta(t)?t:e.doc.createNode(t,{onTagObj:t=>i=t});i||(i=function(t,e){var n;if(e.tag){const n=t.filter((t=>t.tag===e.tag));if(n.length>0)return n.find((t=>t.format===e.format))??n[0]}let r,s;if(Ca(e)){s=e.value;let n=t.filter((t=>{var e;return null==(e=t.identify)?void 0:e.call(t,s)}));if(n.length>1){const t=n.filter((t=>t.test));t.length>0&&(n=t)}r=n.find((t=>t.format===e.format))??n.find((t=>!t.format))}else s=e,r=t.find((t=>t.nodeClass&&s instanceof t.nodeClass));if(!r){const t=(null==(n=null==s?void 0:s.constructor)?void 0:n.name)??typeof s;throw new Error(`Tag not resolved for ${t} value`)}return r}(e.doc.schema.tags,o));const a=function(t,e,{anchors:n,doc:r}){if(!r.directives)return"";const s=[],i=(Ca(t)||Da(t))&&t.anchor;i&&$a(i)&&(n.add(i),s.push(`&${i}`));const o=t.tag?t.tag:e.default?null:e.tag;return o&&s.push(r.directives.tagString(o)),s.join(" ")}(o,i,e);a.length>0&&(e.indentAtStart=(e.indentAtStart??0)+a.length+1);const c="function"==typeof i.stringify?i.stringify(o,e,n,r):Ca(o)?fc(o,e,n,r):o.toString(e,n,r);return a?Ca(o)||"{"===c[0]||"["===c[0]?`${a} ${c}`:`${a}\n${e.indent}${c}`:c}function mc(t,e){"debug"!==t&&"warn"!==t||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(e):console.warn(e))}const gc="<<",yc={identify:t=>t===gc||"symbol"==typeof t&&t.description===gc,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new Ha(Symbol(gc)),{addToJSMap:bc}),stringify:()=>gc};function bc(t,e,n){if(n=t&&wa(n)?n.resolve(t.doc):n,Sa(n))for(const r of n.items)kc(t,e,r);else if(Array.isArray(n))for(const r of n)kc(t,e,r);else kc(t,e,n)}function kc(t,e,n){const r=t&&wa(n)?n.resolve(t.doc):n;if(!Ea(r))throw new Error("Merge sources must be maps or map aliases");const s=r.toJSON(null,t,Map);for(const[t,n]of s)e instanceof Map?e.has(t)||e.set(t,n):e instanceof Set?e.add(t):Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0});return e}function _c(t,e,{key:n,value:r}){if(Ta(n)&&n.addToJSMap)n.addToJSMap(t,e,r);else if(((t,e)=>(yc.identify(e)||Ca(e)&&(!e.type||e.type===Ha.PLAIN)&&yc.identify(e.value))&&(null==t?void 0:t.doc.schema.tags.some((t=>t.tag===yc.tag&&t.default))))(t,n))bc(t,e,r);else{const s=Ra(n,"",t);if(e instanceof Map)e.set(s,Ra(r,s,t));else if(e instanceof Set)e.add(s);else{const i=function(t,e,n){if(null===e)return"";if("object"!=typeof e)return String(e);if(Ta(t)&&(null==n?void 0:n.doc)){const e=dc(n.doc,{});e.anchors=new Set;for(const t of n.anchors.keys())e.anchors.add(t.anchor);e.inFlow=!0,e.inStringifyKey=!0;const r=t.toString(e);if(!n.mapKeyWarned){let t=JSON.stringify(r);t.length>40&&(t=t.substring(0,36)+'..."'),mc(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${t}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(e)}(n,s,t),o=Ra(r,i,t);i in e?Object.defineProperty(e,i,{value:o,writable:!0,enumerable:!0,configurable:!0}):e[i]=o}}return e}function vc(t,e,n){const r=Ga(t,void 0,n),s=Ga(e,void 0,n);return new wc(r,s)}class wc{constructor(t,e=null){Object.defineProperty(this,va,{value:ba}),this.key=t,this.value=e}clone(t){let{key:e,value:n}=this;return Ta(e)&&(e=e.clone(t)),Ta(n)&&(n=n.clone(t)),new wc(e,n)}toJSON(t,e){return _c(e,(null==e?void 0:e.mapAsMap)?new Map:{},this)}toString(t,e,n){return(null==t?void 0:t.doc)?function({key:t,value:e},n,r,s){const{allNullValues:i,doc:o,indent:a,indentStep:c,options:{commentString:l,indentSeq:u,simpleKeys:h}}=n;let f=Ta(t)&&t.comment||null;if(h){if(f)throw new Error("With simple keys, key nodes cannot have comments");if(Da(t)||!Ta(t)&&"object"==typeof t)throw new Error("With simple keys, collection cannot be used as a key value")}let d=!h&&(!t||f&&null==e&&!n.inFlow||Da(t)||(Ca(t)?t.type===Ha.BLOCK_FOLDED||t.type===Ha.BLOCK_LITERAL:"object"==typeof t));n=Object.assign({},n,{allNullValues:!1,implicitKey:!d&&(h||!i),indent:a+c});let p,m,g,y=!1,b=!1,k=pc(t,n,(()=>y=!0),(()=>b=!0));if(!d&&!n.inFlow&&k.length>1024){if(h)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");d=!0}if(n.inFlow){if(i||null==e)return y&&r&&r(),""===k?"?":d?`? ${k}`:k}else if(i&&!h||null==e&&d)return k=`? ${k}`,f&&!y?k+=Ya(k,n.indent,l(f)):b&&s&&s(),k;y&&(f=null),d?(f&&(k+=Ya(k,n.indent,l(f))),k=`? ${k}\n${a}:`):(k=`${k}:`,f&&(k+=Ya(k,n.indent,l(f)))),Ta(e)?(p=!!e.spaceBefore,m=e.commentBefore,g=e.comment):(p=!1,m=null,g=null,e&&"object"==typeof e&&(e=o.createNode(e))),n.implicitKey=!1,d||f||!Ca(e)||(n.indentAtStart=k.length+1),b=!1,u||!(c.length>=2)||n.inFlow||d||!Sa(e)||e.flow||e.tag||e.anchor||(n.indent=n.indent.substring(2));let _=!1;const v=pc(e,n,(()=>_=!0),(()=>b=!0));let w=" ";if(f||p||m)w=p?"\n":"",m&&(w+=`\n${Qa(l(m),n.indent)}`),""!==v||n.inFlow?w+=`\n${n.indent}`:"\n"===w&&(w="\n\n");else if(!d&&Da(e)){const t=v[0],r=v.indexOf("\n"),s=-1!==r,i=n.inFlow??e.flow??0===e.items.length;if(s||!i){let e=!1;if(s&&("&"===t||"!"===t)){let n=v.indexOf(" ");"&"===t&&-1!==n&&no=null),(()=>h=!0));o&&(a+=Ya(a,i,l(o))),h&&o&&(h=!1),f.push(r+a)}let d;if(0===f.length)d=s.start+s.end;else{d=f[0];for(let t=1;ti=null));nu||o.includes("\n"))&&(l=!0),h.push(o),u=h.length}const{start:f,end:d}=n;if(0===h.length)return f+d;if(!l){const t=h.reduce(((t,e)=>t+e.length+2),2);l=e.options.lineWidth>0&&t>e.options.lineWidth}if(l){let t=f;for(const e of h)t+=e?`\n${i}${s}${e}`:"\n";return`${t}\n${s}${d}`}return`${f}${o}${h.join(" ")}${o}${d}`}function Cc({indent:t,options:{commentString:e}},n,r,s){if(r&&s&&(r=r.replace(/^\n+/,"")),r){const s=Qa(e(r),t);n.push(s.trimStart())}}function Sc(t,e){const n=Ca(e)?e.value:e;for(const r of t)if(xa(r)){if(r.key===e||r.key===n)return r;if(Ca(r.key)&&r.key.value===n)return r}}class Dc extends Ja{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(ya,t),this.items=[]}static from(t,e,n){const{keepUndefined:r,replacer:s}=n,i=new this(t),o=(t,o)=>{if("function"==typeof s)o=s.call(e,t,o);else if(Array.isArray(s)&&!s.includes(t))return;(void 0!==o||r)&&i.items.push(vc(t,o,n))};if(e instanceof Map)for(const[t,n]of e)o(t,n);else if(e&&"object"==typeof e)for(const t of Object.keys(e))o(t,e[t]);return"function"==typeof t.sortMapEntries&&i.items.sort(t.sortMapEntries),i}add(t,e){var n;let r;r=xa(t)?t:t&&"object"==typeof t&&"key"in t?new wc(t.key,t.value):new wc(t,null==t?void 0:t.value);const s=Sc(this.items,r.key),i=null==(n=this.schema)?void 0:n.sortMapEntries;if(s){if(!e)throw new Error(`Key ${r.key} already set`);Ca(s.value)&&Ka(r.value)?s.value.value=r.value:s.value=r.value}else if(i){const t=this.items.findIndex((t=>i(r,t)<0));-1===t?this.items.push(r):this.items.splice(t,0,r)}else this.items.push(r)}delete(t){const e=Sc(this.items,t);if(!e)return!1;return this.items.splice(this.items.indexOf(e),1).length>0}get(t,e){const n=Sc(this.items,t),r=null==n?void 0:n.value;return(!e&&Ca(r)?r.value:r)??void 0}has(t){return!!Sc(this.items,t)}set(t,e){this.add(new wc(t,e),!0)}toJSON(t,e,n){const r=n?new n:(null==e?void 0:e.mapAsMap)?new Map:{};(null==e?void 0:e.onCreate)&&e.onCreate(r);for(const t of this.items)_c(e,r,t);return r}toString(t,e,n){if(!t)return JSON.stringify(this);for(const t of this.items)if(!xa(t))throw new Error(`Map items must all be pairs; found ${JSON.stringify(t)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),Ac(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:n,onComment:e})}}const Tc={collection:"map",default:!0,nodeClass:Dc,tag:"tag:yaml.org,2002:map",resolve:(t,e)=>(Ea(t)||e("Expected a mapping for this tag"),t),createNode:(t,e,n)=>Dc.from(t,e,n)};class Nc extends Ja{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(_a,t),this.items=[]}add(t){this.items.push(t)}delete(t){const e=Ic(t);if("number"!=typeof e)return!1;return this.items.splice(e,1).length>0}get(t,e){const n=Ic(t);if("number"!=typeof n)return;const r=this.items[n];return!e&&Ca(r)?r.value:r}has(t){const e=Ic(t);return"number"==typeof e&&e=0?e:null}const Fc={collection:"seq",default:!0,nodeClass:Nc,tag:"tag:yaml.org,2002:seq",resolve:(t,e)=>(Sa(t)||e("Expected a sequence for this tag"),t),createNode:(t,e,n)=>Nc.from(t,e,n)},Lc={identify:t=>"string"==typeof t,default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify:(t,e,n,r)=>fc(t,e=Object.assign({actualString:!0},e),n,r)},qc={identify:t=>null==t,createNode:()=>new Ha(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Ha(null),stringify:({source:t},e)=>"string"==typeof t&&qc.test.test(t)?t:e.options.nullStr},Oc={identify:t=>"boolean"==typeof t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>new Ha("t"===t[0]||"T"===t[0]),stringify({source:t,value:e},n){if(t&&Oc.test.test(t)){if(e===("t"===t[0]||"T"===t[0]))return t}return e?n.options.trueStr:n.options.falseStr}};function Bc({format:t,minFractionDigits:e,tag:n,value:r}){if("bigint"==typeof r)return String(r);const s="number"==typeof r?r:Number(r);if(!isFinite(s))return isNaN(s)?".nan":s<0?"-.inf":".inf";let i=JSON.stringify(r);if(!t&&e&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(i)){let t=i.indexOf(".");t<0&&(t=i.length,i+=".");let n=e-(i.length-t-1);for(;n-- >0;)i+="0"}return i}const $c={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:t=>"nan"===t.slice(-3).toLowerCase()?NaN:"-"===t[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Bc},Mc={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify(t){const e=Number(t.value);return isFinite(e)?e.toExponential():Bc(t)}},Pc={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(t){const e=new Ha(parseFloat(t)),n=t.indexOf(".");return-1!==n&&"0"===t[t.length-1]&&(e.minFractionDigits=t.length-n-1),e},stringify:Bc},jc=t=>"bigint"==typeof t||Number.isInteger(t),Rc=(t,e,n,{intAsBigInt:r})=>r?BigInt(t):parseInt(t.substring(e),n);function Uc(t,e,n){const{value:r}=t;return jc(r)&&r>=0?n+r.toString(e):Bc(t)}const zc={identify:t=>jc(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(t,e,n)=>Rc(t,2,8,n),stringify:t=>Uc(t,8,"0o")},Vc={identify:jc,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(t,e,n)=>Rc(t,0,10,n),stringify:Bc},Kc={identify:t=>jc(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(t,e,n)=>Rc(t,2,16,n),stringify:t=>Uc(t,16,"0x")},Hc=[Tc,Fc,Lc,qc,Oc,zc,Vc,Kc,$c,Mc,Pc];function Gc(t){return"bigint"==typeof t||Number.isInteger(t)}const Wc=({value:t})=>JSON.stringify(t),Zc=[Tc,Fc].concat([{identify:t=>"string"==typeof t,default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify:Wc},{identify:t=>null==t,createNode:()=>new Ha(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Wc},{identify:t=>"boolean"==typeof t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:t=>"true"===t,stringify:Wc},{identify:Gc,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(t,e,{intAsBigInt:n})=>n?BigInt(t):parseInt(t,10),stringify:({value:t})=>Gc(t)?t.toString():JSON.stringify(t)},{identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:Wc}],{default:!0,tag:"",test:/^/,resolve:(t,e)=>(e(`Unresolved plain scalar ${JSON.stringify(t)}`),t)}),Jc={identify:t=>t instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(t,e){if("function"==typeof Buffer)return Buffer.from(t,"base64");if("function"==typeof atob){const e=atob(t.replace(/[\n\r]/g,"")),n=new Uint8Array(e.length);for(let t=0;t1&&e("Each pair must have its own sequence indicator");const t=r.items[0]||new wc(new Ha(null));if(r.commentBefore&&(t.key.commentBefore=t.key.commentBefore?`${r.commentBefore}\n${t.key.commentBefore}`:r.commentBefore),r.comment){const e=t.value??t.key;e.comment=e.comment?`${r.comment}\n${e.comment}`:r.comment}r=t}t.items[n]=xa(r)?r:new wc(r)}}else e("Expected a sequence for this tag");return t}function Qc(t,e,n){const{replacer:r}=n,s=new Nc(t);s.tag="tag:yaml.org,2002:pairs";let i=0;if(e&&Symbol.iterator in Object(e))for(let t of e){let o,a;if("function"==typeof r&&(t=r.call(e,String(i++),t)),Array.isArray(t)){if(2!==t.length)throw new TypeError(`Expected [key, value] tuple: ${t}`);o=t[0],a=t[1]}else if(t&&t instanceof Object){const e=Object.keys(t);if(1!==e.length)throw new TypeError(`Expected tuple with one key, not ${e.length} keys`);o=e[0],a=t[o]}else o=t;s.items.push(vc(o,a,n))}return s}const Yc={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Xc,createNode:Qc};class tl extends Nc{constructor(){super(),this.add=Dc.prototype.add.bind(this),this.delete=Dc.prototype.delete.bind(this),this.get=Dc.prototype.get.bind(this),this.has=Dc.prototype.has.bind(this),this.set=Dc.prototype.set.bind(this),this.tag=tl.tag}toJSON(t,e){if(!e)return super.toJSON(t);const n=new Map;(null==e?void 0:e.onCreate)&&e.onCreate(n);for(const t of this.items){let r,s;if(xa(t)?(r=Ra(t.key,"",e),s=Ra(t.value,r,e)):r=Ra(t,"",e),n.has(r))throw new Error("Ordered maps must not include duplicate keys");n.set(r,s)}return n}static from(t,e,n){const r=Qc(t,e,n),s=new this;return s.items=r.items,s}}tl.tag="tag:yaml.org,2002:omap";const el={collection:"seq",identify:t=>t instanceof Map,nodeClass:tl,default:!1,tag:"tag:yaml.org,2002:omap",resolve(t,e){const n=Xc(t,e),r=[];for(const{key:t}of n.items)Ca(t)&&(r.includes(t.value)?e(`Ordered maps must not include duplicate keys: ${t.value}`):r.push(t.value));return Object.assign(new tl,n)},createNode:(t,e,n)=>tl.from(t,e,n)};function nl({value:t,source:e},n){return e&&(t?rl:sl).test.test(e)?e:t?n.options.trueStr:n.options.falseStr}const rl={identify:t=>!0===t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Ha(!0),stringify:nl},sl={identify:t=>!1===t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Ha(!1),stringify:nl},il={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:t=>"nan"===t.slice(-3).toLowerCase()?NaN:"-"===t[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Bc},ol={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify(t){const e=Number(t.value);return isFinite(e)?e.toExponential():Bc(t)}},al={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(t){const e=new Ha(parseFloat(t.replace(/_/g,""))),n=t.indexOf(".");if(-1!==n){const r=t.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(e.minFractionDigits=r.length)}return e},stringify:Bc},cl=t=>"bigint"==typeof t||Number.isInteger(t);function ll(t,e,n,{intAsBigInt:r}){const s=t[0];if("-"!==s&&"+"!==s||(e+=1),t=t.substring(e).replace(/_/g,""),r){switch(n){case 2:t=`0b${t}`;break;case 8:t=`0o${t}`;break;case 16:t=`0x${t}`}const e=BigInt(t);return"-"===s?BigInt(-1)*e:e}const i=parseInt(t,n);return"-"===s?-1*i:i}function ul(t,e,n){const{value:r}=t;if(cl(r)){const t=r.toString(e);return r<0?"-"+n+t.substr(1):n+t}return Bc(t)}const hl={identify:cl,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(t,e,n)=>ll(t,2,2,n),stringify:t=>ul(t,2,"0b")},fl={identify:cl,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(t,e,n)=>ll(t,1,8,n),stringify:t=>ul(t,8,"0")},dl={identify:cl,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(t,e,n)=>ll(t,0,10,n),stringify:Bc},pl={identify:cl,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(t,e,n)=>ll(t,2,16,n),stringify:t=>ul(t,16,"0x")};class ml extends Dc{constructor(t){super(t),this.tag=ml.tag}add(t){let e;e=xa(t)?t:t&&"object"==typeof t&&"key"in t&&"value"in t&&null===t.value?new wc(t.key,null):new wc(t,null);Sc(this.items,e.key)||this.items.push(e)}get(t,e){const n=Sc(this.items,t);return!e&&xa(n)?Ca(n.key)?n.key.value:n.key:n}set(t,e){if("boolean"!=typeof e)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof e);const n=Sc(this.items,t);n&&!e?this.items.splice(this.items.indexOf(n),1):!n&&e&&this.items.push(new wc(t))}toJSON(t,e){return super.toJSON(t,e,Set)}toString(t,e,n){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),e,n);throw new Error("Set items must all have null values")}static from(t,e,n){const{replacer:r}=n,s=new this(t);if(e&&Symbol.iterator in Object(e))for(let t of e)"function"==typeof r&&(t=r.call(e,t,t)),s.items.push(vc(t,null,n));return s}}ml.tag="tag:yaml.org,2002:set";const gl={collection:"map",identify:t=>t instanceof Set,nodeClass:ml,default:!1,tag:"tag:yaml.org,2002:set",createNode:(t,e,n)=>ml.from(t,e,n),resolve(t,e){if(Ea(t)){if(t.hasAllNullValues(!0))return Object.assign(new ml,t);e("Set items must all have null values")}else e("Expected a mapping for this tag");return t}};function yl(t,e){const n=t[0],r="-"===n||"+"===n?t.substring(1):t,s=t=>e?BigInt(t):Number(t),i=r.replace(/_/g,"").split(":").reduce(((t,e)=>t*s(60)+s(e)),s(0));return"-"===n?s(-1)*i:i}function bl(t){let{value:e}=t,n=t=>t;if("bigint"==typeof e)n=t=>BigInt(t);else if(isNaN(e)||!isFinite(e))return Bc(t);let r="";e<0&&(r="-",e*=n(-1));const s=n(60),i=[e%s];return e<60?i.unshift(0):(e=(e-i[0])/s,i.unshift(e%s),e>=60&&(e=(e-i[0])/s,i.unshift(e))),r+i.map((t=>String(t).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const kl={identify:t=>"bigint"==typeof t||Number.isInteger(t),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(t,e,{intAsBigInt:n})=>yl(t,n),stringify:bl},_l={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:t=>yl(t,!1),stringify:bl},vl={identify:t=>t instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(t){const e=t.match(vl.test);if(!e)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,s,i,o,a]=e.map(Number),c=e[7]?Number((e[7]+"00").substr(1,3)):0;let l=Date.UTC(n,r-1,s,i||0,o||0,a||0,c);const u=e[8];if(u&&"Z"!==u){let t=yl(u,!1);Math.abs(t)<30&&(t*=60),l-=6e4*t}return new Date(l)},stringify:({value:t})=>t.toISOString().replace(/(T00:00:00)?\.000Z$/,"")},wl=[Tc,Fc,Lc,qc,rl,sl,hl,fl,dl,pl,il,ol,al,Jc,yc,el,Yc,gl,kl,_l,vl],Al=new Map([["core",Hc],["failsafe",[Tc,Fc,Lc]],["json",Zc],["yaml11",wl],["yaml-1.1",wl]]),El={binary:Jc,bool:Oc,float:Pc,floatExp:Mc,floatNaN:$c,floatTime:_l,int:Vc,intHex:Kc,intOct:zc,intTime:kl,map:Tc,merge:yc,null:qc,omap:el,pairs:Yc,seq:Fc,set:gl,timestamp:vl},xl={"tag:yaml.org,2002:binary":Jc,"tag:yaml.org,2002:merge":yc,"tag:yaml.org,2002:omap":el,"tag:yaml.org,2002:pairs":Yc,"tag:yaml.org,2002:set":gl,"tag:yaml.org,2002:timestamp":vl};function Cl(t,e,n){const r=Al.get(e);if(r&&!t)return n&&!r.includes(yc)?r.concat(yc):r.slice();let s=r;if(!s){if(!Array.isArray(t)){const t=Array.from(Al.keys()).filter((t=>"yaml11"!==t)).map((t=>JSON.stringify(t))).join(", ");throw new Error(`Unknown schema "${e}"; use one of ${t} or define customTags array`)}s=[]}if(Array.isArray(t))for(const e of t)s=s.concat(e);else"function"==typeof t&&(s=t(s.slice()));return n&&(s=s.concat(yc)),s.reduce(((t,e)=>{const n="string"==typeof e?El[e]:e;if(!n){const t=JSON.stringify(e),n=Object.keys(El).map((t=>JSON.stringify(t))).join(", ");throw new Error(`Unknown custom tag ${t}; use one of ${n}`)}return t.includes(n)||t.push(n),t}),[])}const Sl=(t,e)=>t.keye.key?1:0;class Dl{constructor({compat:t,customTags:e,merge:n,resolveKnownTags:r,schema:s,sortMapEntries:i,toStringDefaults:o}){this.compat=Array.isArray(t)?Cl(t,"compat"):t?Cl(null,t):null,this.name="string"==typeof s&&s||"core",this.knownTags=r?xl:{},this.tags=Cl(e,this.name,n),this.toStringOptions=o??null,Object.defineProperty(this,ya,{value:Tc}),Object.defineProperty(this,ka,{value:Lc}),Object.defineProperty(this,_a,{value:Fc}),this.sortMapEntries="function"==typeof i?i:!0===i?Sl:null}clone(){const t=Object.create(Dl.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}class Tl{constructor(t,e,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,va,{value:ga});let r=null;"function"==typeof e||Array.isArray(e)?r=e:void 0===n&&e&&(n=e,e=void 0);const s=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},n);this.options=s;let{version:i}=s;(null==n?void 0:n._directives)?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(i=this.directives.yaml.version)):this.directives=new Ba({version:i}),this.setSchema(i,n),this.contents=void 0===t?null:this.createNode(t,r,n)}clone(){const t=Object.create(Tl.prototype,{[va]:{value:ga}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=Ta(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){Nl(this.contents)&&this.contents.add(t)}addIn(t,e){Nl(this.contents)&&this.contents.addIn(t,e)}createAlias(t,e){if(!t.anchor){const n=Ma(this);t.anchor=!e||n.has(e)?Pa(e||"a",n):e}return new za(t.anchor)}createNode(t,e,n){let r;if("function"==typeof e)t=e.call({"":t},"",t),r=e;else if(Array.isArray(e)){const t=t=>"number"==typeof t||t instanceof String||t instanceof Number,n=e.filter(t).map(String);n.length>0&&(e=e.concat(n)),r=e}else void 0===n&&e&&(n=e,e=void 0);const{aliasDuplicateObjects:s,anchorPrefix:i,flow:o,keepUndefined:a,onTagObj:c,tag:l}=n??{},{onAnchor:u,setAnchors:h,sourceObjects:f}=function(t,e){const n=[],r=new Map;let s=null;return{onAnchor:r=>{n.push(r),s||(s=Ma(t));const i=Pa(e,s);return s.add(i),i},setAnchors:()=>{for(const t of n){const e=r.get(t);if("object"!=typeof e||!e.anchor||!Ca(e.node)&&!Da(e.node)){const e=new Error("Failed to resolve repeated object (this should not happen)");throw e.source=t,e}e.node.anchor=e.anchor}},sourceObjects:r}}(this,i||"a"),d=Ga(t,l,{aliasDuplicateObjects:s??!0,keepUndefined:a??!1,onAnchor:u,onTagObj:c,replacer:r,schema:this.schema,sourceObjects:f});return o&&Da(d)&&(d.flow=!0),h(),d}createPair(t,e,n={}){const r=this.createNode(t,null,n),s=this.createNode(e,null,n);return new wc(r,s)}delete(t){return!!Nl(this.contents)&&this.contents.delete(t)}deleteIn(t){return Za(t)?null!=this.contents&&(this.contents=null,!0):!!Nl(this.contents)&&this.contents.deleteIn(t)}get(t,e){return Da(this.contents)?this.contents.get(t,e):void 0}getIn(t,e){return Za(t)?!e&&Ca(this.contents)?this.contents.value:this.contents:Da(this.contents)?this.contents.getIn(t,e):void 0}has(t){return!!Da(this.contents)&&this.contents.has(t)}hasIn(t){return Za(t)?void 0!==this.contents:!!Da(this.contents)&&this.contents.hasIn(t)}set(t,e){null==this.contents?this.contents=Wa(this.schema,[t],e):Nl(this.contents)&&this.contents.set(t,e)}setIn(t,e){Za(t)?this.contents=e:null==this.contents?this.contents=Wa(this.schema,Array.from(t),e):Nl(this.contents)&&this.contents.setIn(t,e)}setSchema(t,e={}){let n;switch("number"==typeof t&&(t=String(t)),t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Ba({version:"1.1"}),n={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new Ba({version:t}),n={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{const e=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${e}`)}}if(e.schema instanceof Object)this.schema=e.schema;else{if(!n)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new Dl(Object.assign(n,e))}}toJS({json:t,jsonArg:e,mapAsMap:n,maxAliasCount:r,onAnchor:s,reviver:i}={}){const o={anchors:new Map,doc:this,keep:!t,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},a=Ra(this.contents,e??"",o);if("function"==typeof s)for(const{count:t,res:e}of o.anchors.values())s(e,t);return"function"==typeof i?ja(i,{"":a},"",a):a}toJSON(t,e){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:e})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const e=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${e}`)}return function(t,e){var n;const r=[];let s=!0===e.directives;if(!1!==e.directives&&t.directives){const e=t.directives.toString(t);e?(r.push(e),s=!0):t.directives.docStart&&(s=!0)}s&&r.push("---");const i=dc(t,e),{commentString:o}=i.options;if(t.commentBefore){1!==r.length&&r.unshift("");const e=o(t.commentBefore);r.unshift(Qa(e,""))}let a=!1,c=null;if(t.contents){if(Ta(t.contents)){if(t.contents.spaceBefore&&s&&r.push(""),t.contents.commentBefore){const e=o(t.contents.commentBefore);r.push(Qa(e,""))}i.forceBlockIndent=!!t.comment,c=t.contents.comment}const e=c?void 0:()=>a=!0;let n=pc(t.contents,i,(()=>c=null),e);c&&(n+=Ya(n,"",o(c))),"|"!==n[0]&&">"!==n[0]||"---"!==r[r.length-1]?r.push(n):r[r.length-1]=`--- ${n}`}else r.push(pc(t.contents,i));if(null==(n=t.directives)?void 0:n.docEnd)if(t.comment){const e=o(t.comment);e.includes("\n")?(r.push("..."),r.push(Qa(e,""))):r.push(`... ${e}`)}else r.push("...");else{let e=t.comment;e&&a&&(e=e.replace(/^\n+/,"")),e&&(a&&!c||""===r[r.length-1]||r.push(""),r.push(Qa(o(e),"")))}return r.join("\n")+"\n"}(this,t)}}function Nl(t){if(Da(t))return!0;throw new Error("Expected a YAML collection as document contents")}class Il extends Error{constructor(t,e,n,r){super(),this.name=t,this.code=n,this.message=r,this.pos=e}}class Fl extends Il{constructor(t,e,n){super("YAMLParseError",t,e,n)}}class Ll extends Il{constructor(t,e,n){super("YAMLWarning",t,e,n)}}const ql=(t,e)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map((t=>e.linePos(t)));const{line:r,col:s}=n.linePos[0];n.message+=` at line ${r}, column ${s}`;let i=s-1,o=t.substring(e.lineStarts[r-1],e.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&o.length>80){const t=Math.min(i-39,o.length-79);o="…"+o.substring(t),i-=t-1}if(o.length>80&&(o=o.substring(0,79)+"…"),r>1&&/^ *$/.test(o.substring(0,i))){let n=t.substring(e.lineStarts[r-2],e.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"…\n"),o=n+o}if(/[^ ]/.test(o)){let t=1;const e=n.linePos[1];e&&e.line===r&&e.col>s&&(t=Math.max(1,Math.min(e.col-s,80-i)));const a=" ".repeat(i)+"^".repeat(t);n.message+=`:\n\n${o}\n${a}\n`}};function Ol(t,{flow:e,indicator:n,next:r,offset:s,onError:i,parentIndent:o,startOnNewline:a}){let c=!1,l=a,u=a,h="",f="",d=!1,p=!1,m=null,g=null,y=null,b=null,k=null,_=null,v=null;for(const s of t)switch(p&&("space"!==s.type&&"newline"!==s.type&&"comma"!==s.type&&i(s.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),p=!1),m&&(l&&"comment"!==s.type&&"newline"!==s.type&&i(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),m=null),s.type){case"space":e||"doc-start"===n&&"flow-collection"===(null==r?void 0:r.type)||!s.source.includes("\t")||(m=s),u=!0;break;case"comment":{u||i(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=s.source.substring(1)||" ";h?h+=f+t:h=t,f="",l=!1;break}case"newline":l?h?h+=s.source:c=!0:f+=s.source,l=!0,d=!0,(g||y)&&(b=s),u=!0;break;case"anchor":g&&i(s,"MULTIPLE_ANCHORS","A node can have at most one anchor"),s.source.endsWith(":")&&i(s.offset+s.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=s,null===v&&(v=s.offset),l=!1,u=!1,p=!0;break;case"tag":y&&i(s,"MULTIPLE_TAGS","A node can have at most one tag"),y=s,null===v&&(v=s.offset),l=!1,u=!1,p=!0;break;case n:(g||y)&&i(s,"BAD_PROP_ORDER",`Anchors and tags must be after the ${s.source} indicator`),_&&i(s,"UNEXPECTED_TOKEN",`Unexpected ${s.source} in ${e??"collection"}`),_=s,l="seq-item-ind"===n||"explicit-key-ind"===n,u=!1;break;case"comma":if(e){k&&i(s,"UNEXPECTED_TOKEN",`Unexpected , in ${e}`),k=s,l=!1,u=!1;break}default:i(s,"UNEXPECTED_TOKEN",`Unexpected ${s.type} token`),l=!1,u=!1}const w=t[t.length-1],A=w?w.offset+w.source.length:s;return p&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m&&(l&&m.indent<=o||"block-map"===(null==r?void 0:r.type)||"block-seq"===(null==r?void 0:r.type))&&i(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:k,found:_,spaceBefore:c,comment:h,hasNewline:d,anchor:g,tag:y,newlineAfterProp:b,end:A,start:v??A}}function Bl(t){if(!t)return null;switch(t.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(t.source.includes("\n"))return!0;if(t.end)for(const e of t.end)if("newline"===e.type)return!0;return!1;case"flow-collection":for(const e of t.items){for(const t of e.start)if("newline"===t.type)return!0;if(e.sep)for(const t of e.sep)if("newline"===t.type)return!0;if(Bl(e.key)||Bl(e.value))return!0}return!1;default:return!0}}function $l(t,e,n){if("flow-collection"===(null==e?void 0:e.type)){const r=e.end[0];if(r.indent===t&&("]"===r.source||"}"===r.source)&&Bl(e)){n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}}function Ml(t,e,n){const{uniqueKeys:r}=t.options;if(!1===r)return!1;const s="function"==typeof r?r:(t,e)=>t===e||Ca(t)&&Ca(e)&&t.value===e.value;return e.some((t=>s(t.key,n)))}const Pl="All mapping items must start at the same column";function jl(t,e,n,r){let s="";if(t){let i=!1,o="";for(const a of t){const{source:t,type:c}=a;switch(c){case"space":i=!0;break;case"comment":{n&&!i&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=t.substring(1)||" ";s?s+=o+e:s=e,o="";break}case"newline":s&&(o+=t),i=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}e+=t.length}}return{comment:s,offset:e}}const Rl="Block collections are not allowed within flow collections",Ul=t=>t&&("block-map"===t.type||"block-seq"===t.type);function zl(t,e,n,r,s,i){const o="block-map"===n.type?function({composeNode:t,composeEmptyNode:e},n,r,s,i){var o;const a=new((null==i?void 0:i.nodeClass)??Dc)(n.schema);n.atRoot&&(n.atRoot=!1);let c=r.offset,l=null;for(const i of r.items){const{start:u,key:h,sep:f,value:d}=i,p=Ol(u,{indicator:"explicit-key-ind",next:h??(null==f?void 0:f[0]),offset:c,onError:s,parentIndent:r.indent,startOnNewline:!0}),m=!p.found;if(m){if(h&&("block-seq"===h.type?s(c,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in h&&h.indent!==r.indent&&s(c,"BAD_INDENT",Pl)),!p.anchor&&!p.tag&&!f){l=p.end,p.comment&&(a.comment?a.comment+="\n"+p.comment:a.comment=p.comment);continue}(p.newlineAfterProp||Bl(h))&&s(h??u[u.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else(null==(o=p.found)?void 0:o.indent)!==r.indent&&s(c,"BAD_INDENT",Pl);n.atKey=!0;const g=p.end,y=h?t(n,h,p,s):e(n,g,u,null,p,s);n.schema.compat&&$l(r.indent,h,s),n.atKey=!1,Ml(n,a.items,y)&&s(g,"DUPLICATE_KEY","Map keys must be unique");const b=Ol(f??[],{indicator:"map-value-ind",next:d,offset:y.range[2],onError:s,parentIndent:r.indent,startOnNewline:!h||"block-scalar"===h.type});if(c=b.end,b.found){m&&("block-map"!==(null==d?void 0:d.type)||b.hasNewline||s(c,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&p.start0){const t=jl(d,p,n.options.strict,s);t.comment&&(c.comment?c.comment+="\n"+t.comment:c.comment=t.comment),c.range=[r.offset,p,t.offset]}else c.range=[r.offset,p,p];return c}(t,e,n,r,i),a=o.constructor;return"!"===s||s===a.tagName?(o.tag=a.tagName,o):(s&&(o.tag=s),o)}function Vl(t,e,n){const r=e.offset,s=function({offset:t,props:e},n,r){if("block-scalar-header"!==e[0].type)return r(e[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:s}=e[0],i=s[0];let o=0,a="",c=-1;for(let e=1;e=0;--t){const e=o[t][1];if(""!==e&&"\r"!==e)break;a=t}if(0===a){const t="+"===s.chomp&&o.length>0?"\n".repeat(Math.max(1,o.length-1)):"";let n=r+s.length;return e.source&&(n+=e.source.length),{value:t,type:i,comment:s.comment,range:[r,n,n]}}let c=e.indent+s.indent,l=e.offset+s.length,u=0;for(let e=0;ec&&(c=r.length),l+=r.length+i.length+1}for(let t=o.length-1;t>=a;--t)o[t][0].length>c&&(a=t+1);let h="",f="",d=!1;for(let t=0;tc||"\t"===r[0]?(" "===f?f="\n":d||"\n"!==f||(f="\n\n"),h+=f+e.slice(c)+r,f="\n",d=!0):""===r?"\n"===f?h+="\n":f="\n":(h+=f+r,f=" ",d=!1)}switch(s.chomp){case"-":break;case"+":for(let t=a;tn(r+t,e,s);switch(s){case"scalar":a=Ha.PLAIN,c=function(t,e){let n="";switch(t[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${t[0]}`;break;case"@":case"`":n=`reserved character ${t[0]}`}n&&e(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return Hl(t)}(i,l);break;case"single-quoted-scalar":a=Ha.QUOTE_SINGLE,c=function(t,e){"'"===t[t.length-1]&&1!==t.length||e(t.length,"MISSING_CHAR","Missing closing 'quote");return Hl(t.slice(1,-1)).replace(/''/g,"'")}(i,l);break;case"double-quoted-scalar":a=Ha.QUOTE_DOUBLE,c=function(t,e){let n="";for(let r=1;re?t.slice(e,r+1):s)}else n+=s}'"'===t[t.length-1]&&1!==t.length||e(t.length,"MISSING_CHAR",'Missing closing "quote');return n}(i,l);break;default:return n(t,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${s}`),{value:"",type:null,comment:"",range:[r,r+i.length,r+i.length]}}const u=r+i.length,h=jl(o,u,e,n);return{value:c,type:a,comment:h.comment,range:[r,u,h.offset]}}function Hl(t){let e,n;try{e=new RegExp("(.*?)(?r(n,"TAG_RESOLVE_FAILED",t))):null;let l,u;l=t.options.stringKeys&&t.atKey?t.schema[ka]:c?function(t,e,n,r,s){var i;if("!"===n)return t[ka];const o=[];for(const e of t.tags)if(!e.collection&&e.tag===n){if(!e.default||!e.test)return e;o.push(e)}for(const t of o)if(null==(i=t.test)?void 0:i.test(e))return t;const a=t.knownTags[n];if(a&&!a.collection)return t.tags.push(Object.assign({},a,{default:!1,test:void 0})),a;return s(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),t[ka]}(t.schema,s,c,n,r):"scalar"===e.type?function({atKey:t,directives:e,schema:n},r,s,i){const o=n.tags.find((e=>{var n;return(!0===e.default||t&&"key"===e.default)&&(null==(n=e.test)?void 0:n.test(r))}))||n[ka];if(n.compat){const t=n.compat.find((t=>{var e;return t.default&&(null==(e=t.test)?void 0:e.test(r))}))??n[ka];if(o.tag!==t.tag){i(s,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(o.tag)} or ${e.tagString(t.tag)}`,!0)}}return o}(t,s,e,r):t.schema[ka];try{const i=l.resolve(s,(t=>r(n??e,"TAG_RESOLVE_FAILED",t)),t.options);u=Ca(i)?i:new Ha(i)}catch(t){const i=t instanceof Error?t.message:String(t);r(n??e,"TAG_RESOLVE_FAILED",i),u=new Ha(s)}return u.range=a,u.source=s,i&&(u.type=i),c&&(u.tag=c),l.format&&(u.format=l.format),o&&(u.comment=o),u}function Xl(t,e,n){if(e){null===n&&(n=e.length);for(let r=n-1;r>=0;--r){let n=e[r];switch(n.type){case"space":case"comment":case"newline":t-=n.source.length;continue}for(n=e[++r];"space"===(null==n?void 0:n.type);)t+=n.source.length,n=e[++r];break}}return t}const Ql={composeNode:Yl,composeEmptyNode:tu};function Yl(t,e,n,r){const s=t.atKey,{spaceBefore:i,comment:o,anchor:a,tag:c}=n;let l,u=!0;switch(e.type){case"alias":l=function({options:t},{offset:e,source:n,end:r},s){const i=new za(n.substring(1));""===i.source&&s(e,"BAD_ALIAS","Alias cannot be an empty string");i.source.endsWith(":")&&s(e+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=e+n.length,a=jl(r,o,t.strict,s);i.range=[e,o,a.offset],a.comment&&(i.comment=a.comment);return i}(t,e,r),(a||c)&&r(e,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":l=Jl(t,e,c,r),a&&(l.anchor=a.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":l=function(t,e,n,r,s){var i;const o=r.tag,a=o?e.directives.tagName(o.source,(t=>s(o,"TAG_RESOLVE_FAILED",t))):null;if("block-seq"===n.type){const{anchor:t,newlineAfterProp:e}=r,n=t&&o?t.offset>o.offset?t:o:t??o;n&&(!e||e.offsett.tag===a&&t.collection===c));if(!l){const r=e.schema.knownTags[a];if(!r||r.collection!==c)return(null==r?void 0:r.collection)?s(o,"BAD_COLLECTION_TYPE",`${r.tag} used for ${c} collection, but expects ${r.collection}`,!0):s(o,"TAG_RESOLVE_FAILED",`Unresolved tag: ${a}`,!0),zl(t,e,n,s,a);e.schema.tags.push(Object.assign({},r,{default:!1})),l=r}const u=zl(t,e,n,s,a,l),h=(null==(i=l.resolve)?void 0:i.call(l,u,(t=>s(o,"TAG_RESOLVE_FAILED",t)),e.options))??u,f=Ta(h)?h:new Ha(h);return f.range=u.range,f.tag=a,(null==l?void 0:l.format)&&(f.format=l.format),f}(Ql,t,e,n,r),a&&(l.anchor=a.source.substring(1));break;default:r(e,"UNEXPECTED_TOKEN","error"===e.type?e.message:`Unsupported token (type: ${e.type})`),l=tu(t,e.offset,void 0,null,n,r),u=!1}if(a&&""===l.anchor&&r(a,"BAD_ALIAS","Anchor cannot be an empty string"),s&&t.options.stringKeys&&(!Ca(l)||"string"!=typeof l.value||l.tag&&"tag:yaml.org,2002:str"!==l.tag)){r(c??e,"NON_STRING_KEY","With stringKeys, all keys must be strings")}return i&&(l.spaceBefore=!0),o&&("scalar"===e.type&&""===e.source?l.comment=o:l.commentBefore=o),t.options.keepSourceTokens&&u&&(l.srcToken=e),l}function tu(t,e,n,r,{spaceBefore:s,comment:i,anchor:o,tag:a,end:c},l){const u=Jl(t,{type:"scalar",offset:Xl(e,n,r),indent:-1,source:""},a,l);return o&&(u.anchor=o.source.substring(1),""===u.anchor&&l(o,"BAD_ALIAS","Anchor cannot be an empty string")),s&&(u.spaceBefore=!0),i&&(u.comment=i,u.range[2]=c),u}function eu(t){if("number"==typeof t)return[t,t+1];if(Array.isArray(t))return 2===t.length?t:[t[0],t[1]];const{offset:e,source:n}=t;return[e,e+("string"==typeof n?n.length:1)]}function nu(t){var e;let n="",r=!1,s=!1;for(let i=0;i{const s=eu(t);r?this.warnings.push(new Ll(s,e,n)):this.errors.push(new Fl(s,e,n))},this.directives=new Ba({version:t.version||"1.2"}),this.options=t}decorate(t,e){const{comment:n,afterEmptyLine:r}=nu(this.prelude);if(n){const s=t.contents;if(e)t.comment=t.comment?`${t.comment}\n${n}`:n;else if(r||t.directives.docStart||!s)t.commentBefore=n;else if(Da(s)&&!s.flow&&s.items.length>0){let t=s.items[0];xa(t)&&(t=t.key);const e=t.commentBefore;t.commentBefore=e?`${n}\n${e}`:n}else{const t=s.commentBefore;s.commentBefore=t?`${n}\n${t}`:n}}e?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:nu(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,e=!1,n=-1){for(const e of t)yield*this.next(e);yield*this.end(e,n)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,((e,n,r)=>{const s=eu(t);s[0]+=e,this.onError(s,"BAD_DIRECTIVE",n,r)})),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const e=function(t,e,{offset:n,start:r,value:s,end:i},o){const a=Object.assign({_directives:e},t),c=new Tl(void 0,a),l={atKey:!1,atRoot:!0,directives:c.directives,options:c.options,schema:c.schema},u=Ol(r,{indicator:"doc-start",next:s??(null==i?void 0:i[0]),offset:n,onError:o,parentIndent:0,startOnNewline:!0});u.found&&(c.directives.docStart=!0,!s||"block-map"!==s.type&&"block-seq"!==s.type||u.hasNewline||o(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),c.contents=s?Yl(l,s,u,o):tu(l,u.end,r,null,u,o);const h=c.contents.range[2],f=jl(i,h,!1,o);return f.comment&&(c.comment=f.comment),c.range=[n,h,f.offset],c}(this.options,this.directives,t,this.onError);this.atDirectives&&!e.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(e,!1),this.doc&&(yield this.doc),this.doc=e,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const e=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,n=new Fl(eu(t),"UNEXPECTED_TOKEN",e);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const e="Unexpected doc-end without preceding document";this.errors.push(new Fl(eu(t),"UNEXPECTED_TOKEN",e));break}this.doc.directives.docEnd=!0;const e=jl(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),e.comment){const t=this.doc.comment;this.doc.comment=t?`${t}\n${e.comment}`:e.comment}this.doc.range[2]=e.offset;break}default:this.errors.push(new Fl(eu(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,e=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const t=Object.assign({_directives:this.directives},this.options),n=new Tl(void 0,t);this.atDirectives&&this.onError(e,"MISSING_CHAR","Missing directives-end indicator line"),n.range=[0,e,e],this.decorate(n,!1),yield n}}}function su(t){switch(t){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const iu=new Set("0123456789ABCDEFabcdef"),ou=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),au=new Set(",[]{}"),cu=new Set(" ,[]{}\n\r\t"),lu=t=>!t||cu.has(t);class uu{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,e=!1){if(t){if("string"!=typeof t)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!e;let n=this.next??"stream";for(;n&&(e||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let t=this.pos,e=this.buffer[t];for(;" "===e||"\t"===e;)e=this.buffer[++t];return!e||"#"===e||"\n"===e||"\r"===e&&"\n"===this.buffer[t+1]}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let e=this.buffer[t];if(this.indentNext>0){let n=0;for(;" "===e;)e=this.buffer[++n+t];if("\r"===e){const e=this.buffer[n+t+1];if("\n"===e||!e&&!this.atEnd)return t+n+1}return"\n"===e||n>=this.indentNext||!e&&!this.atEnd?t+n:-1}if("-"===e||"."===e){const e=this.buffer.substr(t,3);if(("---"===e||"..."===e)&&su(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return("number"!=typeof t||-1!==t&&tthis.indentValue&&!su(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,e]=this.peek(2);if(!e&&!this.atEnd)return this.setNext("block-start");if(("-"===t||"?"===t||":"===t)&&su(e)){const t=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=t,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(null===t)return this.setNext("doc");let e=yield*this.pushIndicators();switch(t[e]){case"#":yield*this.pushCount(t.length-e);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(lu),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return e+=(yield*this.parseBlockScalarHeader()),e+=(yield*this.pushSpaces(!0)),yield*this.pushCount(t.length-e),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,e,n=-1;do{t=yield*this.pushNewline(),t>0?(e=yield*this.pushSpaces(!1),this.indentValue=n=e):e=0,e+=(yield*this.pushSpaces(!0))}while(t+e>0);const r=this.getLine();if(null===r)return this.setNext("flow");if(-1!==n&&n"0"&&e<="9")this.blockScalarIndent=Number(e)-1;else if("-"!==e)break}return yield*this.pushUntil((t=>su(t)||"#"===t))}*parseBlockScalar(){let t,e=this.pos-1,n=0;t:for(let r=this.pos;t=this.buffer[r];++r)switch(t){case" ":n+=1;break;case"\n":e=r,n=0;break;case"\r":{const t=this.buffer[r+1];if(!t&&!this.atEnd)return this.setNext("block-scalar");if("\n"===t)break}default:break t}if(!t&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{const t=this.continueScalar(e+1);if(-1===t)break;e=this.buffer.indexOf("\n",t)}while(-1!==e);if(-1===e){if(!this.atEnd)return this.setNext("block-scalar");e=this.buffer.length}}let r=e+1;for(t=this.buffer[r];" "===t;)t=this.buffer[++r];if("\t"===t){for(;"\t"===t||" "===t||"\r"===t||"\n"===t;)t=this.buffer[++r];e=r-1}else if(!this.blockScalarKeep)for(;;){let t=e-1,r=this.buffer[t];"\r"===r&&(r=this.buffer[--t]);const s=t;for(;" "===r;)r=this.buffer[--t];if(!("\n"===r&&t>=this.pos&&t+1+n>s))break;e=t}return yield"",yield*this.pushToIndex(e+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let e,n=this.pos-1,r=this.pos-1;for(;e=this.buffer[++r];)if(":"===e){const e=this.buffer[r+1];if(su(e)||t&&au.has(e))break;n=r}else if(su(e)){let s=this.buffer[r+1];if("\r"===e&&("\n"===s?(r+=1,e="\n",s=this.buffer[r+1]):n=r),"#"===s||t&&au.has(s))break;if("\n"===e){const t=this.continueScalar(r+1);if(-1===t)break;r=Math.max(r,t-2)}}else{if(t&&au.has(e))break;n=r}return e||this.atEnd?(yield"",yield*this.pushToIndex(n+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,e){const n=this.buffer.slice(this.pos,t);return n?(yield n,this.pos+=n.length,n.length):(e&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(lu))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,e=this.charAt(1);if(su(e)||t&&au.has(e))return t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let t=this.pos+2,e=this.buffer[t];for(;!su(e)&&">"!==e;)e=this.buffer[++t];return yield*this.pushToIndex(">"===e?t+1:t,!1)}{let t=this.pos+1,e=this.buffer[t];for(;e;)if(ou.has(e))e=this.buffer[++t];else{if("%"!==e||!iu.has(this.buffer[t+1])||!iu.has(this.buffer[t+2]))break;e=this.buffer[t+=3]}return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return"\n"===t?yield*this.pushCount(1):"\r"===t&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(t){let e,n=this.pos-1;do{e=this.buffer[++n]}while(" "===e||t&&"\t"===e);const r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(t){let e=this.pos,n=this.buffer[e];for(;!t(n);)n=this.buffer[++e];return yield*this.pushToIndex(e,!1)}}class hu{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let e=0,n=this.lineStarts.length;for(;e>1;this.lineStarts[r]=0;)switch(t[n].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break t}for(;"space"===(null==(e=t[++n])?void 0:e.type););return t.splice(n,t.length)}function yu(t){if("flow-seq-start"===t.start.type)for(const e of t.items)!e.sep||e.value||fu(e.start,"explicit-key-ind")||fu(e.sep,"map-value-ind")||(e.key&&(e.value=e.key),delete e.key,pu(e.value)?e.value.end?Array.prototype.push.apply(e.value.end,e.sep):e.value.end=e.sep:Array.prototype.push.apply(e.start,e.sep),delete e.sep)}class bu{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new uu,this.onNewLine=t}*parse(t,e=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const n of this.lexer.lex(t,e))yield*this.next(n);e||(yield*this.end())}*next(t){if(this.source=t,this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=t.length);const e=function(t){switch(t){case"\ufeff":return"byte-order-mark";case"":return"doc-mode";case"":return"flow-error-end";case"":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(t[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}(t);if(e)if("scalar"===e)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=e,yield*this.step(),e){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&" "===t[0]&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const e=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:e,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if("doc-end"!==this.type||t&&"doc-end"===t.type){if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(t){return this.stack[this.stack.length-t]}*pop(t){const e=t??this.stack.pop();if(e)if(0===this.stack.length)yield e;else{const t=this.peek(1);switch("block-scalar"===e.type?e.indent="indent"in t?t.indent:0:"flow-collection"===e.type&&"document"===t.type&&(e.indent=0),"flow-collection"===e.type&&yu(e),t.type){case"document":t.value=e;break;case"block-scalar":t.props.push(e);break;case"block-map":{const n=t.items[t.items.length-1];if(n.value)return t.items.push({start:[],key:e,sep:[]}),void(this.onKeyLine=!0);if(!n.sep)return Object.assign(n,{key:e,sep:[]}),void(this.onKeyLine=!n.explicitKey);n.value=e;break}case"block-seq":{const n=t.items[t.items.length-1];n.value?t.items.push({start:[],value:e}):n.value=e;break}case"flow-collection":{const n=t.items[t.items.length-1];return void(!n||n.value?t.items.push({start:[],key:e,sep:[]}):n.sep?n.value=e:Object.assign(n,{key:e,sep:[]}))}default:yield*this.pop(),yield*this.pop(e)}if(!("document"!==t.type&&"block-map"!==t.type&&"block-seq"!==t.type||"block-map"!==e.type&&"block-seq"!==e.type)){const n=e.items[e.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===du(n.start)&&(0===e.indent||n.start.every((t=>"comment"!==t.type||t.indent=t.indent){const e=!this.onKeyLine&&this.indent===t.indent,r=e&&(n.sep||n.explicitKey)&&"seq-item-ind"!==this.type;let s=[];if(r&&n.sep&&!n.value){const e=[];for(let r=0;rt.indent&&(e.length=0);break;default:e.length=0}}e.length>=2&&(s=n.sep.splice(e[1]))}switch(this.type){case"anchor":case"tag":return void(r||n.value?(s.push(this.sourceToken),t.items.push({start:s}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken));case"explicit-key-ind":return n.sep||n.explicitKey?r||n.value?(s.push(this.sourceToken),t.items.push({start:s,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(n.start.push(this.sourceToken),n.explicitKey=!0),void(this.onKeyLine=!0);case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(fu(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]});else if(pu(n.key)&&!fu(n.sep,"newline")){const t=gu(n.start),e=n.key,r=n.sep;r.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:e,sep:r}]})}else s.length>0?n.sep=n.sep.concat(s,this.sourceToken):n.sep.push(this.sourceToken);else if(fu(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const t=gu(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||r?t.items.push({start:s,key:null,sep:[this.sourceToken]}):fu(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const e=this.flowScalar(this.type);return void(r||n.value?(t.items.push({start:s,key:e,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(e):(Object.assign(n,{key:e,sep:[]}),this.onKeyLine=!0))}default:{const n=this.startBlockValue(t);if(n)return e&&"block-seq"!==n.type&&t.items.push({start:s}),void this.stack.push(n)}}}yield*this.pop(),yield*this.step()}*blockSequence(t){var e;const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const e="end"in n.value?n.value.end:void 0,r=Array.isArray(e)?e[e.length-1]:void 0;"comment"===(null==r?void 0:r.type)?null==e||e.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const r=t.items[t.items.length-2],s=null==(e=null==r?void 0:r.value)?void 0:e.end;if(Array.isArray(s))return Array.prototype.push.apply(s,n.start),s.push(this.sourceToken),void t.items.pop()}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;return void n.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==t.indent)break;return void(n.value||fu(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken))}if(this.indent>t.indent){const e=this.startBlockValue(t);if(e)return void this.stack.push(e)}yield*this.pop(),yield*this.step()}*flowCollection(t){const e=t.items[t.items.length-1];if("flow-error-end"===this.type){let t;do{yield*this.pop(),t=this.peek(1)}while(t&&"flow-collection"===t.type)}else if(0===t.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!e||e.sep?t.items.push({start:[this.sourceToken]}):e.start.push(this.sourceToken));case"map-value-ind":return void(!e||e.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):e.sep?e.sep.push(this.sourceToken):Object.assign(e,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!e||e.value?t.items.push({start:[this.sourceToken]}):e.sep?e.sep.push(this.sourceToken):e.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(!e||e.value?t.items.push({start:[],key:n,sep:[]}):e.sep?this.stack.push(n):Object.assign(e,{key:n,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void t.end.push(this.sourceToken)}const n=this.startBlockValue(t);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{const e=this.peek(2);if("block-map"===e.type&&("map-value-ind"===this.type&&e.indent===t.indent||"newline"===this.type&&!e.items[e.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==e.type){const n=gu(mu(e));yu(t);const r=t.end.splice(1,t.end.length);r.push(this.sourceToken);const s={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:n,key:t,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let t=this.source.indexOf("\n")+1;for(;0!==t;)this.onNewLine(this.offset+t),t=this.source.indexOf("\n",t)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const e=gu(mu(t));return e.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const e=gu(mu(t));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,e){return"comment"===this.type&&(!(this.indent<=e)&&t.every((t=>"newline"===t.type||"space"===t.type)))}*documentEnd(t){"doc-mode"!==this.type&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function ku(t,e={}){const{lineCounter:n,prettyErrors:r}=function(t){const e=!1!==t.prettyErrors;return{lineCounter:t.lineCounter||e&&new hu||null,prettyErrors:e}}(e),s=new bu(null==n?void 0:n.addNewLine),i=new ru(e);let o=null;for(const e of i.compose(s.parse(t),!0,t.length))if(o){if("silent"!==o.options.logLevel){o.errors.push(new Fl(e.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else o=e;return r&&n&&(o.errors.forEach(ql(t,n)),o.warnings.forEach(ql(t,n))),o}const _u={name:"frontmatter",transform:t=>(t.beforeParse.tap(((t,e)=>{var n;const{content:r}=e;if(!/^---\r?\n/.test(r))return;const s=/\n---\r?\n/.exec(r);if(!s)return;const i=r.slice(4,s.index).trimEnd();let o;try{o=function(t,e,n){let r;const s=ku(t,n);if(!s)return null;if(s.warnings.forEach((t=>mc(s.options.logLevel,t))),s.errors.length>0){if("silent"!==s.options.logLevel)throw s.errors[0];s.errors=[]}return s.toJS(Object.assign({reviver:r},n))}(i.replace(/\r?\n|\r/g,"\n")),(null==o?void 0:o.markmap)&&(o.markmap=function(t){if(!t)return;return["color","extraJs","extraCss"].forEach((e=>{null!=t[e]&&(t[e]=function(t){let e;"string"==typeof t?e=[t]:Array.isArray(t)&&(e=t.filter((t=>t&&"string"==typeof t)));return(null==e?void 0:e.length)?e:void 0}(t[e]))})),["duration","maxWidth","initialExpandLevel"].forEach((e=>{null!=t[e]&&(t[e]=function(t){if(isNaN(+t))return;return+t}(t[e]))})),t}(o.markmap))}catch{return}e.frontmatter=o,e.parserOptions={...e.parserOptions,...null==(n=null==o?void 0:o.markmap)?void 0:n.htmlParser},e.frontmatterInfo={lines:r.slice(0,s.index).split("\n").length+1,offset:s.index+s[0].length}})),{})};function vu(t,e){return"script"===e.type&&e.data.src?{...e,data:{...e.data,src:t.getFullUrl(e.data.src)}}:e}function wu(t,e){return"stylesheet"===e.type&&e.data.href?{...e,data:{...e.data,href:t.getFullUrl(e.data.href)}}:e}const Au="hljs",Eu=["@highlightjs/cdn-assets@11.11.1/highlight.min.js"].map((t=>w(t))),xu=["@highlightjs/cdn-assets@11.11.1/styles/default.min.css"].map((t=>A(t))),Cu={name:Au,config:{versions:{hljs:"11.11.1"},preloadScripts:Eu,styles:xu},transform(t){var e,n,r;let s;const o=(null==(n=null==(e=Cu.config)?void 0:e.preloadScripts)?void 0:n.map((e=>vu(t.transformer.urlBuilder,e))))||[];let a=i;return t.parser.tap((e=>{e.set({highlight:(e,n)=>{a();const{hljs:r}=window;return r?r.highlightAuto(e,n?[n]:void 0).value:((s||(s=v(o)),s).then((()=>{t.retransform.call()})),e)}})})),t.beforeParse.tap(((t,e)=>{a=()=>{e.features[Au]=!0}})),{styles:null==(r=Cu.config)?void 0:r.styles}}};const Su="katex",Du=["katex@0.16.18/dist/katex.min.js"].map((t=>w(t))),Tu=w("webfontloader@1.6.28/webfontloader.js");Tu.data.defer=!0;const Nu={versions:{katex:"0.16.18",webfontloader:"1.6.28"},preloadScripts:Du,scripts:[{type:"iife",data:{fn:t=>{window.WebFontConfig={custom:{families:["KaTeX_AMS","KaTeX_Caligraphic:n4,n7","KaTeX_Fraktur:n4,n7","KaTeX_Main:n4,n7,i4,i7","KaTeX_Math:i4,i7","KaTeX_Script","KaTeX_SansSerif:n4,n7,i4","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4","KaTeX_Typewriter"]},active:()=>{t().refreshHook.call()}}},getParams:({getMarkmap:t})=>[t]}},Tu],styles:["katex@0.16.18/dist/katex.min.css"].map((t=>A(t))),resources:["katex@0.16.18/dist/fonts/KaTeX_AMS-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Caligraphic-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Caligraphic-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Fraktur-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Fraktur-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-BoldItalic.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Math-BoldItalic.woff2","katex@0.16.18/dist/fonts/KaTeX_Math-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Script-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size1-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size2-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size3-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size4-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Typewriter-Regular.woff2"]};function Iu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Fu,Lu={};var qu=function(){if(Fu)return Lu;Fu=1;var t=Lu&&Lu.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Lu,"__esModule",{value:!0});const n=t(e);function r(t,e){const n=t.src[e-1],r=t.src[e],o=t.src[e+1];if("$"!==r)return{can_open:!1,can_close:!1};let a=!1,c=!1;return"$"===n||"\\"===n||void 0!==n&&!s(n)&&i(n)||(a=!0),"$"===o||null!=o&&!s(o)&&i(o)||(c=!0),{can_open:a,can_close:c}}function s(t){return/^\s$/u.test(t)}function i(t){return/^[\w\d]$/u.test(t)}function o(t,e){const n=t.src[e-1],r=t.src[e],s=t.src[e+1],i=t.src[e+2];return"$"===r&&"$"!==n&&"\\"!==n&&"$"===s&&"$"!==i?{can_open:!0,can_close:!0}:{can_open:!1,can_close:!1}}function a(t,e){if("$"!==t.src[t.pos])return!1;const n=t.tokens.at(-1);if("html_inline"===(null==n?void 0:n.type)&&/^<\w+.+[^/]>$/.test(n.content))return!1;let s=r(t,t.pos);if(!s.can_open)return e||(t.pending+="$"),t.pos+=1,!0;let i,o=t.pos+1,a=o;for(;-1!==(a=t.src.indexOf("$",a));){for(i=a-1;"\\"===t.src[i];)i-=1;if((a-i)%2==1)break;a+=1}if(-1===a)return e||(t.pending+="$"),t.pos=o,!0;if(a-o==0)return e||(t.pending+="$$"),t.pos=o+1,!0;if(s=r(t,a),!s.can_close)return e||(t.pending+="$"),t.pos=o,!0;if(!e){const e=t.push("math_inline","math",0);e.markup="$",e.content=t.src.slice(o,a)}return t.pos=a+1,!0}function c(t,e){var n,r,s,i;if("$$"!==t.src.slice(t.pos,t.pos+2))return!1;if(!o(t,t.pos).can_open)return e||(t.pending+="$$"),t.pos+=2,!0;for(r=n=t.pos+2;-1!==(r=t.src.indexOf("$$",r));){for(i=r-1;"\\"===t.src[i];)i-=1;if((r-i)%2==1)break;r+=2}return-1===r?(e||(t.pending+="$$"),t.pos=n,!0):r-n==0?(e||(t.pending+="$$$$"),t.pos=n+2,!0):o(t,r).can_close?(e||((s=t.push("math_block","math",0)).block=!0,s.markup="$$",s.content=t.src.slice(n,r)),t.pos=r+2,!0):(e||(t.pending+="$$"),t.pos=n,!0)}function l(t,e){const n=t.src.slice(t.pos);if(!/^\n\\begin/.test(n))return!1;if(t.pos+=1,e)return!0;const r=n.split(/\n/g).slice(1);let s;const i=[];t:for(var o=0;ot+e.length),0)+s+1,c=t.push("math_inline_bare_block","math",0);return c.block=!0,c.markup="$$",c.content=n.slice(1,a),t.pos=t.pos+a,!0}function u(t,e,n,r){const s=t.tokens;for(let t=s.length-1;t>=0;t--){const i=s[t],o=[];if("html_block"!==i.type)continue;const a=i.content;for(const t of a.matchAll(r)){if(!t.groups)continue;const r=t.groups.html_before_math,s=t.groups.math,a=t.groups.html_after_math;r&&o.push({...i,type:"html_block",map:null,content:r}),s&&o.push({...i,type:e,map:null,content:s,markup:n,block:!0,tag:"math"}),a&&o.push({...i,type:"html_block",map:null,content:a})}o.length>0&&s.splice(t,1,...o)}return!0}function h(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}return Lu.default=function(t,e){const r=(null==e?void 0:e.katex)??n.default,s=null==e?void 0:e.enableBareBlocks,i=null==e?void 0:e.enableMathBlockInHtml,o=null==e?void 0:e.enableMathInlineInHtml,f=null==e?void 0:e.enableFencedBlocks;t.inline.ruler.after("escape","math_inline",a),t.inline.ruler.after("escape","math_inline_block",c),s&&t.inline.ruler.before("text","math_inline_bare_block",l),t.block.ruler.after("blockquote","math_block",((t,e,n,r)=>!(!s||!function(t,e,n,r){const s=t.bMarks[e]+t.tShift[e],i=t.eMarks[e];if(!t.src.slice(s,i).match(/^\s*\\begin\s*\{([^{}]+)\}/))return!1;if(e>0){const n=t.bMarks[e-1]+t.tShift[e-1],r=t.eMarks[e-1],s=t.src.slice(n,r);if(!/^\s*$/.test(s))return!1}if(r)return!0;const o=[];let a,c=e,l=!1;t:for(;!(l||c>=n);c++){const e=t.bMarks[c]+t.tShift[c],n=t.eMarks[c];if(eu)return!1;if("$$"!==t.src.slice(l,l+2))return!1;l+=2;let h=t.src.slice(l,u);if(r)return!0;for("$$"===h.trim().slice(-2)&&(h=h.trim().slice(0,-2),c=!0),i=e;!(c||++i>=n||(l=t.bMarks[i]+t.tShift[i])<(u=t.eMarks[i])&&t.tShift[i][\s\S]*?)\$\$(?[\s\S]+?)\$\$(?(?:(?!\$\$[\s\S]+?\$\$)[\s\S])*)/gm,p=/(?[\s\S]*?)\$(?.*?)\$(?(?:(?!\$.*?\$)[\s\S])*)/gm;i&&t.core.ruler.push("math_block_in_html_block",(t=>u(t,"math_block","$$",d))),o&&t.core.ruler.push("math_inline_in_html_block",(t=>u(t,"math_inline","$",p)));const m=t=>{try{return`

${r.renderToString(t,{...e,displayMode:!0})}

`}catch(n){return(null==e?void 0:e.throwOnError)&&console.log(n),`

${h(n+"")}

`}},g=(t,e)=>m(t[e].content)+"\n";if(t.renderer.rules.math_inline=(t,n)=>{const s=t[n].content;return(t=>{const n=/\\begin\{(align|equation|gather|cd|alignat)\}/gi.test(t);try{return r.renderToString(t,{...e,displayMode:n})}catch(n){return(null==e?void 0:e.throwOnError)&&console.log(n),`${h(n+"")}`}})(s.length>2&&"`"===s[0]&&"`"===s[s.length-1]?s.slice(1,-1):s)},t.renderer.rules.math_inline_block=g,t.renderer.rules.math_inline_bare_block=g,t.renderer.rules.math_block=g,f){const e="math",n=t.renderer.rules.fence;t.renderer.rules.fence=function(t,r,s,i,o){const a=t[r];return a.info.trim().toLowerCase()===e&&f?m(a.content)+"\n":(null==n?void 0:n.call(this,t,r,s,i,o))||""}}},Lu}();const Ou=(Bu=Iu(qu)).default||Bu;var Bu;const $u={name:Su,config:Nu,transform(t){var e,n,r,s;let o;const a=(null==(n=null==(e=$u.config)?void 0:e.preloadScripts)?void 0:n.map((e=>vu(t.transformer.urlBuilder,e))))||[],c=(e,n)=>{const{katex:r}=window;return r?r.renderToString(e,{displayMode:n,throwOnError:!1}):((o||(o=v(a)),o).then((()=>{t.retransform.call()})),e)};let l=i;return t.parser.tap((t=>{t.use(Ou),["math_block","math_inline"].forEach((e=>{t.renderer.rules[e]=(t,e)=>{l();return c(t[e].content,!!t[e].block)}}))})),t.beforeParse.tap(((t,e)=>{l=()=>{e.features[Su]=!0}})),t.afterParse.tap(((t,e)=>{var n;const r=null==(n=e.frontmatter)?void 0:n.markmap;r&&["extraJs","extraCss"].forEach((t=>{var e,n;const s=r[t];var i,o,a;s&&(r[t]=(i=s,o=Su,a=(null==(n=null==(e=$u.config)?void 0:e.versions)?void 0:n.katex)||"",i.map((t=>{if("string"==typeof t&&!t.includes("://")){t.startsWith("npm:")||(t=`npm:${t}`);const e=4+o.length;t.startsWith(`npm:${o}/`)&&(t=`${t.slice(0,e)}@${a}${t.slice(e)}`)}return t}))))}))})),{styles:null==(r=$u.config)?void 0:r.styles,scripts:null==(s=$u.config)?void 0:s.scripts}}},Mu=[_u,$u,Cu,{name:"npmUrl",transform:t=>(t.afterParse.tap(((e,n)=>{const{frontmatter:r}=n,s=null==r?void 0:r.markmap;s&&["extraJs","extraCss"].forEach((e=>{const n=s[e];n&&(s[e]=n.map((e=>e.startsWith("npm:")?t.transformer.urlBuilder.getFullUrl(e.slice(4)):e)))}))})),{})},pa,{name:"sourceLines",transform(t){let e=0;return t.beforeParse.tap(((t,n)=>{var r;e=(null==(r=n.frontmatterInfo)?void 0:r.lines)||0})),t.parser.tap((t=>{t.renderer.renderAttrs=o(t.renderer.renderAttrs,((t,n)=>{if(n.block&&n.map){const t=n.map.map((t=>t+e));n.attrSet("data-lines",t.join(","))}return t(n)})),t.renderer.rules.fence&&(t.renderer.rules.fence=o(t.renderer.rules.fence,((t,n,r,...s)=>{let i=t(n,r,...s);const o=n[r];if(i.startsWith("
")&&o.map){const t=o.map.map((t=>t+e));i=i.slice(0,4)+` data-lines="${t.join(",")}"`+i.slice(4)}return i})))})),{}}}];function Pu(t){for(;!t.content&&1===t.children.length;)t=t.children[0];for(;1===t.children.length&&!t.children[0].content;)t={...t,children:t.children[0].children};return{...t,children:t.children.map(Pu)}}t.Transformer=class{constructor(t=Mu){this.assetsMap={},this.urlBuilder=new r,this.hooks={transformer:this,parser:new s,beforeParse:new s,afterParse:new s,retransform:new s},this.plugins=t.map((t=>"function"==typeof t?t():t));const e={};for(const{name:t,transform:n}of this.plugins)e[t]=n(this.hooks);this.assetsMap=e;const n=function(){const t=sa({html:!0,breaks:!0});return t.use(ia).use(oa).use(la).use(fa),t}();this.md=n,this.hooks.parser.call(n)}transform(t,e){var n;const r={content:t,features:{},parserOptions:e};this.hooks.beforeParse.call(this.md,r);let{content:s}=r;r.frontmatterInfo&&(s=s.slice(r.frontmatterInfo.offset));const i=this.md.render(s,{});this.hooks.afterParse.call(this.md,r);const o=Pu(function(t,e){return n=ms(t,e),function(t,e){const n=(t,r)=>e(t,(()=>{var e;return null==(e=t.children)?void 0:e.map((e=>n(e,t)))}),r);return n(t)}(n,((t,e)=>{const n={content:t.html,children:e()||[]};return t.data&&(n.payload={tag:t.tag,...t.data}),t.comments&&(t.comments.includes("foldAll")?n.payload={...n.payload,fold:2}:t.comments.includes("fold")&&(n.payload={...n.payload,fold:1})),n}));var n}(i,r.parserOptions));return o.content||(o.content=`${(null==(n=r.frontmatter)?void 0:n.title)||""}`),{...r,root:o}}resolveJS(t){return vu(this.urlBuilder,t)}resolveCSS(t){return wu(this.urlBuilder,t)}getAssets(t){const e=[],n=[];t??(t=this.plugins.map((t=>t.name)));for(const r of t.map((t=>this.assetsMap[t])))r&&(r.styles&&e.push(...r.styles),r.scripts&&n.push(...r.scripts));return{styles:e.map((t=>this.resolveCSS(t))),scripts:n.map((t=>this.resolveJS(t)))}}getUsedAssets(t){const e=this.plugins.map((t=>t.name)).filter((e=>t[e]));return this.getAssets(e)}},t.builtInPlugins=Mu,t.patchCSSItem=wu,t.patchJSItem=vu,t.transformerVersions={"markmap-lib":"0.18.12"},Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(this.markmap=this.markmap||{},window.katex);
-//# sourceMappingURL=/sm/67c2054fc56210f03623bfab1192ec2fbd118e1103cfbed4dfc0b3bea79fc2c2.map
\ No newline at end of file
diff --git a/mineru/cli/static/web/markmap/markmap-toolbar.js b/mineru/cli/static/web/markmap/markmap-toolbar.js
deleted file mode 100644
index c4a3424..0000000
--- a/mineru/cli/static/web/markmap/markmap-toolbar.js
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Minified by jsDelivr using Terser v5.39.0.
- * Original file: /npm/markmap-toolbar@0.18.12/dist/index.js
- *
- * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
- */
-!function(t){"use strict";
-/*! @gera2ld/jsx-dom v2.2.2 | ISC License */const e="http://www.w3.org/1999/xlink",A={show:e,actuate:e,href:e};function r(t,e){let A;if("string"==typeof t)A=1;else{if("function"!=typeof t)throw new Error("Invalid VNode type");A=2}return{vtype:A,type:t,props:e}}const i=r;function n(t){return t.children}const o={isSvg:!1};function s(t,e){Array.isArray(e)||(e=[e]),(e=e.filter(Boolean)).length&&t.append(...e)}const l={className:"class",labelFor:"for"};function h(t,e,r,i){if(e=l[e]||e,!0===r)t.setAttribute(e,"");else if(!1===r)t.removeAttribute(e);else{const n=i?A[e]:void 0;void 0!==n?t.setAttributeNS(n,e,r):t.setAttribute(e,r)}}function a(t,e){return Array.isArray(t)?t.map((t=>a(t,e))).reduce(((t,e)=>t.concat(e)),[]):c(t,e)}function c(t,e=o){if(null==t||"boolean"==typeof t)return null;if(t instanceof Node)return t;if(2===(null==(A=t)?void 0:A.vtype)){const{type:A,props:r}=t;if(A===n){const t=document.createDocumentFragment();if(r.children){s(t,a(r.children,e))}return t}return c(A(r),e)}var A;if((t=>"string"==typeof t||"number"==typeof t)(t))return document.createTextNode(`${t}`);if((t=>1===(null==t?void 0:t.vtype))(t)){let A;const{type:r,props:i}=t;if(e.isSvg||"svg"!==r||(e=Object.assign({},e,{isSvg:!0})),A=e.isSvg?document.createElementNS("http://www.w3.org/2000/svg",r):document.createElement(r),function(t,e,A){for(const r in e)if("key"!==r&&"children"!==r&&"ref"!==r)if("dangerouslySetInnerHTML"===r)t.innerHTML=e[r].__html;else if("innerHTML"===r||"textContent"===r||"innerText"===r||"value"===r&&["textarea","select"].includes(t.tagName)){const A=e[r];null!=A&&(t[r]=A)}else r.startsWith("on")?t[r.toLowerCase()]=e[r]:h(t,r,e[r],A.isSvg)}(A,i,e),i.children){let t=e;e.isSvg&&"foreignObject"===r&&(t=Object.assign({},t,{isSvg:!1}));const n=a(i.children,t);null!=n&&s(A,n)}const{ref:n}=i;return"function"==typeof n&&n(A),A}throw new Error("mount: Invalid Vnode!")}function g(t){return c(t)}const v="mm-toolbar-item";function d({title:t,content:e,onClick:A}){return r("div",{className:v,title:t,onClick:A,children:e})}let u;const m=class t{constructor(){this.showBrand=!0,this.registry={},this.el=g(r("div",{className:"mm-toolbar"})),this.items=[...t.defaultItems],this.register({id:"zoomIn",title:"Zoom in",content:t.icon("M9 5v4h-4v2h4v4h2v-4h4v-2h-4v-4z"),onClick:this.getHandler((t=>t.rescale(1.25)))}),this.register({id:"zoomOut",title:"Zoom out",content:t.icon("M5 9h10v2h-10z"),onClick:this.getHandler((t=>t.rescale(.8)))}),this.register({id:"fit",title:"Fit window size",content:t.icon("M4 7h2v-2h2v4h-4zM4 13h2v2h2v-4h-4zM16 7h-2v-2h-2v4h4zM16 13h-2v2h-2v-4h4z"),onClick:this.getHandler((t=>t.fit()))}),this.register({id:"recurse",title:"Toggle recursively",content:t.icon("M16 4h-12v12h12v-8h-8v4h2v-2h4v4h-8v-8h10z"),onClick:t=>{var e;const A=t.target.closest(`.${v}`),r=null==A?void 0:A.classList.toggle("active");null==(e=this.markmap)||e.setOptions({toggleRecursively:r})}}),this.register({id:"dark",title:"Toggle dark theme",content:t.icon("M10 4a6 6 0 0 0 0 12a6 6 0 0 0 0 -12v2a4 4 0 0 1 0 8z"),onClick:()=>{document.documentElement.classList.toggle("markmap-dark")}}),this.render()}static create(e){const A=new t;return A.attach(e),A}static icon(t,e={}){return e={stroke:"none",fill:"currentColor","fill-rule":"evenodd",...e},r("svg",{width:"20",height:"20",viewBox:"0 0 20 20",children:r("path",{...e,d:t})})}setBrand(t){return this.showBrand=t,this.render()}register(t){this.registry[t.id]=t}getHandler(t){var e;return e=t,t=async(...t)=>{if(!u){u=e(...t);try{await u}finally{u=void 0}}},()=>{this.markmap&&t(this.markmap)}}setItems(t){return this.items=[...t],this.render()}attach(t){this.markmap=t}render(){const t=this.items.map((t=>{if("string"==typeof t){const e=this.registry[t];return e||console.warn(`[markmap-toolbar] ${t} not found`),e}return t})).filter(Boolean);for(;this.el.firstChild;)this.el.firstChild.remove();return this.el.append(g(i(n,{children:[this.showBrand&&i("a",{className:"mm-toolbar-brand",href:"https://markmap.js.org/",children:[r("img",{alt:"markmap",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAACoFBMVEUAAAAAAAD//wAAAACAgAD//wAAAABVVQCqqgBAQACAQACAgABmZgBtbQAAAABgQABgYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaFQAAAAAAAAAAAAAAAAAHAAARBQIdGAIYEwI/OgJYUQUfHQI+OgJDPgJJRARBPQRJQgRRSwRRTQRIQQRUTgRUUARZUgRSTQRPSQRjWgZORQRfWQZsZAhTTQRNRwRWUAZkXAZOSARUTgZPRwRRSQRoYwZWUQZWTgRbUwZmXQZoXghmXwdqYwdsYwdfVwVmXQdqYgdiWgVpYAl3bgl6cgl4cAqLggw8OAOWjA2Uig1OSAR2bQihlg55cAh5cAh6cQmMgwyOhAyUjA2QhQ2Uiw2Viw2soBCflA+voxGwpRGhlg+hlg+snxGroBGjmBCpnBC0pxKyphKxpRG2qhK0qBK5rBK5rBP/7h3/8B7/8R3/8h3/8R7/8h786x397B3+7R3EtxT66Rz66hz76hz86xz96xz97Bz+7Rz45xz56Bz76hz97Bz97B3MvRX15Rv25Rv45xz66Rz76hz97B3+7R3IuxX05Bv15Bv25Rz56Bz66Ry/sxPAsxPCtRTCthTNvxbZyxfczxfi0xjl1Rnn2Bnr2xrr3Brs3Rru3Rru3xrv3hrw3xrx4Bvx4Rvy4hvz4hvz4xv04xv05Bv14xv15Bv15Rv25Bv25Rv25Rz25hv35hv35xv45xv45xz55xz56Bv56Bz66Rv66Rz76Rv76Rz76hz86hv86xz+7h3/7R3/7h3/7x3/8B3/8B7/8R3/8R4Yqhj5AAAAq3RSTlMAAQECAgIDAwMEBAQFBwgICAwQERITFRYXGBkbHB0eHyQlJyguNTg8RUZISU5PV2FiY2RlZmdqa2xubnJzc3R2d3d3eXl5eXp7fH1+gIGCgoKDg4SEhIWGh4eHiYmJjIyMjZSUlJ+sra+zt7i4uru8ztHV1tbW2d7g4OHi4uPk5ufp7Ozv9fX29/f3+Pj6+vr7+/v7+/v7+/z8/Pz8/f39/f39/f3+/v7+/v7K6J1dAAACHklEQVQ4y2NgwAoYWdi5uLm5GXHIcrLCmMzYpDmAhKCKjoGtp40MFhVsDAwSxmmVEzZu2XvqSLkchjw3g0h445Ybd24vmTN1Usd5X3R5DgaNqgN35sycP2/GxMkTMRVwMOivvtO3YsWUm3duX790EcMKdgbNNXdnnJh1+9T6ipzU+FB0RzIyiFYB5WdfaElUF8TmTQ6GwH39J2bvypMHcpg4MAKKkUGo5s6KWRfyGRh4WJClGEGBCgS8DLobliy/3abMwM8NBYwQjXDgf3ryxOspyKYyg+RFTFwdnYDAzbrw+oLFm9Ot3J3AwNHFTBykQrhg++GDh48cOXzk4P6VZy8s230MyAGCwwcP7iyRBJpiur1n8hQIWHX27NkLi6bAwOSuow5ABeY7OydOhoCFIAULe6E8YFCf8QAqEC86evniZTA4tfLsuRXHr0E4ly9ePF0uC3KnpH1MZBQQxPoVgxyZ5RMdBQaRMc6yIEcihWbQGaA3k9G8CfQoN0pAtSoxCMACihk9qGtBQZ2LHtRIkRUMiqwd2TJADiswsrjQlAGju/o+MLrPNkWo8mFN1ewMWmvBCebQ0rKMJG87QzF0FRwMRuvugpLcrXu3rp7Zs61UCtMZ2nVHbk+fMX/+jMmTp3Sf9MLiULG45q237txaPG3yxPYrYQzYMo60RWbD3E27Ll68Uq+AK+uJqOlZBiSEKGLNnMA0iDfzwrI/NKgBOivk9piPdtUAAAAASUVORK5CYII="}),r("span",{children:"markmap"})]}),t.map(d)]}))),this.el}};m.defaultItems=["zoomIn","zoomOut","fit","recurse","dark"];let f=m;t.Toolbar=f,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(this.markmap=this.markmap||{});
-//# sourceMappingURL=/sm/571b88618f99827ab8ae85efa381e3933ac067d6c68a0f0b0b24075722ae75ff.map
\ No newline at end of file
diff --git a/mineru/cli/static/web/markmap/markmap-view.js b/mineru/cli/static/web/markmap/markmap-view.js
deleted file mode 100644
index ce1b666..0000000
--- a/mineru/cli/static/web/markmap/markmap-view.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Minified by jsDelivr using Terser v5.39.0.
- * Original file: /npm/markmap-view@0.18.12/dist/browser/index.js
- *
- * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
- */
-!function(t,e){"use strict";const n=Math.random().toString(36).slice(2,8);let r=0;function i(){}function a(t,e){const n=(t,r)=>e(t,(()=>{var e;return null==(e=t.children)?void 0:e.map((e=>n(e,t)))}),r);return n(t)}function s(){const t={};return t.promise=new Promise(((e,n)=>{t.resolve=e,t.reject=n})),t}
-/*! @gera2ld/jsx-dom v2.2.2 | ISC License */
-const o="http://www.w3.org/1999/xlink",l={show:o,actuate:o,href:o};function h(t,e,...n){return function(t,e){let n;if("string"==typeof t)n=1;else{if("function"!=typeof t)throw new Error("Invalid VNode type");n=2}return{vtype:n,type:t,props:e}}(t,e=Object.assign({},e,{children:1===n.length?n[0]:n}))}function c(t){return t.children}const d={isSvg:!1};function p(t,e){Array.isArray(e)||(e=[e]),(e=e.filter(Boolean)).length&&t.append(...e)}const u={className:"class",labelFor:"for"};function g(t,e,n,r){if(e=u[e]||e,!0===n)t.setAttribute(e,"");else if(!1===n)t.removeAttribute(e);else{const i=r?l[e]:void 0;void 0!==i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}}function m(t,e){return Array.isArray(t)?t.map((t=>m(t,e))).reduce(((t,e)=>t.concat(e)),[]):f(t,e)}function f(t,e=d){if(null==t||"boolean"==typeof t)return null;if(t instanceof Node)return t;if(2===(null==(n=t)?void 0:n.vtype)){const{type:n,props:r}=t;if(n===c){const t=document.createDocumentFragment();if(r.children){p(t,m(r.children,e))}return t}return f(n(r),e)}var n;if((t=>"string"==typeof t||"number"==typeof t)(t))return document.createTextNode(`${t}`);if((t=>1===(null==t?void 0:t.vtype))(t)){let n;const{type:r,props:i}=t;if(e.isSvg||"svg"!==r||(e=Object.assign({},e,{isSvg:!0})),n=e.isSvg?document.createElementNS("http://www.w3.org/2000/svg",r):document.createElement(r),function(t,e,n){for(const r in e)if("key"!==r&&"children"!==r&&"ref"!==r)if("dangerouslySetInnerHTML"===r)t.innerHTML=e[r].__html;else if("innerHTML"===r||"textContent"===r||"innerText"===r||"value"===r&&["textarea","select"].includes(t.tagName)){const n=e[r];null!=n&&(t[r]=n)}else r.startsWith("on")?t[r.toLowerCase()]=e[r]:g(t,r,e[r],n.isSvg)}(n,i,e),i.children){let t=e;e.isSvg&&"foreignObject"===r&&(t=Object.assign({},t,{isSvg:!1}));const a=m(i.children,t);null!=a&&p(n,a)}const{ref:a}=i;return"function"==typeof a&&a(n),n}throw new Error("mount: Invalid Vnode!")}function v(...t){return f(h(...t))}const y=function(t){const e={};return function(...n){const r=`${n[0]}`;let i=e[r];return i||(i={value:t(...n)},e[r]=i),i.value}}((t=>{document.head.append(v("link",{rel:"preload",as:"script",href:t}))})),x={},k={};async function w(t,e){var n;const r="script"===t.type&&(null==(n=t.data)?void 0:n.src)||"";if(t.loaded||(t.loaded=x[r]),!t.loaded){const n=s();if(t.loaded=n.promise,"script"===t.type&&(document.head.append(v("script",{...t.data,onLoad:()=>n.resolve(),onError:n.reject})),r?x[r]=t.loaded:n.resolve()),"iife"===t.type){const{fn:r,getParams:i}=t.data;r(...(null==i?void 0:i(e))||[]),n.resolve()}}await t.loaded}const b="undefined"!=typeof navigator&&navigator.userAgent.includes("Macintosh"),z=e.scaleOrdinal(e.schemeCategory10),S=(t=1,e=3,n=2)=>r=>t+e/n**r.state.depth,E={autoFit:!1,duration:500,embedGlobalCSS:!0,fitRatio:.95,maxInitialScale:2,scrollForPan:b,initialExpandLevel:-1,zoom:!0,pan:!0,toggleRecursively:!1,color:t=>{var e;return z(`${(null==(e=t.state)?void 0:e.path)||""}`)},lineWidth:S(),maxWidth:0,nodeMinHeight:16,paddingX:8,spacingHorizontal:80,spacingVertical:5};function C(t){let e=0;for(let n=0;n>>0).toString(36)}function X(t){if("string"==typeof t){const e=t;t=t=>t.matches(e)}const e=t;return function(){let t=Array.from(this.childNodes);return e&&(t=t.filter((t=>e(t)))),t}}function A(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function j(t,e){var n,r,i,a,s,o=new M(t),l=+t.value&&(o.value=t.value),h=[o];for(null==e&&(e=R);n=h.pop();)if(l&&(n.value=+n.data.value),(i=e(n.data))&&(s=i.length))for(n.children=new Array(s),a=s-1;a>=0;--a)h.push(r=n.children[a]=new M(i[a])),r.parent=n,r.depth=n.depth+1;return o.eachBefore($)}function R(t){return t.children}function O(t){t.data=t.data.data}function $(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function M(t){this.data=t,this.depth=this.height=0,this.parent=null}M.prototype=j.prototype={constructor:M,count:function(){return this.eachAfter(A)},each:function(t){var e,n,r,i,a=this,s=[a];do{for(e=s.reverse(),s=[];a=e.pop();)if(t(a),n=a.children)for(r=0,i=n.length;r=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter((function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;t=n.pop(),e=r.pop();for(;t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each((function(e){t.push(e)})),t},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e},copy:function(){return j(this).eachBefore(O)}};const T={version:"2.1.2"},{version:H}=T,B=Object.freeze({children:t=>t.children,nodeSize:t=>t.data.size,spacing:0});function _(t){const e=Object.assign({},B,t);function n(t){const n=e[t];return"function"==typeof n?n:()=>n}function r(t){const e=a(function(){const t=i(),e=n("nodeSize"),r=n("spacing");return class extends t{constructor(t){super(t),Object.assign(this,{x:0,y:0,relX:0,prelim:0,shift:0,change:0,lExt:this,lExtRelX:0,lThr:null,rExt:this,rExtRelX:0,rThr:null})}get size(){return e(this.data)}spacing(t){return r(this.data,t.data)}get x(){return this.data.x}set x(t){this.data.x=t}get y(){return this.data.y}set y(t){this.data.y=t}update(){return N(this),D(this),this}}}(),t,(t=>t.children));return e.update(),e.data}function i(){const t=n("nodeSize"),e=n("spacing");return class n extends j.prototype.constructor{constructor(t){super(t)}copy(){const t=a(this.constructor,this,(t=>t.children));return t.each((t=>t.data=t.data.data)),t}get size(){return t(this)}spacing(t){return e(this,t)}get nodes(){return this.descendants()}get xSize(){return this.size[0]}get ySize(){return this.size[1]}get top(){return this.y}get bottom(){return this.y+this.ySize}get left(){return this.x-this.xSize/2}get right(){return this.x+this.xSize/2}get root(){const t=this.ancestors();return t[t.length-1]}get numChildren(){return this.hasChildren?this.children.length:0}get hasChildren(){return!this.noChildren}get noChildren(){return null===this.children}get firstChild(){return this.hasChildren?this.children[0]:null}get lastChild(){return this.hasChildren?this.children[this.numChildren-1]:null}get extents(){return(this.children||[]).reduce(((t,e)=>n.maxExtents(t,e.extents)),this.nodeExtents)}get nodeExtents(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}static maxExtents(t,e){return{top:Math.min(t.top,e.top),bottom:Math.max(t.bottom,e.bottom),left:Math.min(t.left,e.left),right:Math.max(t.right,e.right)}}}}function a(t,e,n){const r=(e,i)=>{const a=new t(e);Object.assign(a,{parent:i,depth:null===i?0:i.depth+1,height:0,length:1});const s=n(e)||[];return a.children=0===s.length?null:s.map((t=>r(t,a))),a.children&&Object.assign(a,a.children.reduce(((t,e)=>({height:Math.max(t.height,e.height+1),length:t.length+e.length})),a)),a};return r(e,null)}return Object.assign(r,{nodeSize(t){return arguments.length?(e.nodeSize=t,r):e.nodeSize},spacing(t){return arguments.length?(e.spacing=t,r):e.spacing},children(t){return arguments.length?(e.children=t,r):e.children},hierarchy(t,n){const r=void 0===n?e.children:n;return a(i(),t,r)},dump(t){const e=n("nodeSize"),r=t=>n=>{const i=t+"  ",a=t+"    ",{x:s,y:o}=n,l=e(n),h=n.children||[],c=0===h.length?" ":`,${i}children: [${a}${h.map(r(a)).join(a)}${i}],${t}`;return`{ size: [${l.join(", ")}],${i}x: ${s}, y: ${o}${c}},`};return r("\n")(t)}}),r}_.version=H;const N=(t,e=0)=>(t.y=e,(t.children||[]).reduce(((e,n)=>{const[r,i]=e;N(n,t.y+t.ySize);const a=(0===r?n.lExt:n.rExt).bottom;0!==r&&W(t,r,i);return[r+1,Z(a,r,i)]}),[0,null]),L(t),G(t),t),D=(t,e,n)=>{void 0===e&&(e=-t.relX-t.prelim,n=0);const r=e+t.relX;return t.relX=r+t.prelim-n,t.prelim=0,t.x=n+t.relX,(t.children||[]).forEach((e=>D(e,r,t.x))),t},L=t=>{(t.children||[]).reduce(((t,e)=>{const[n,r]=t,i=n+e.shift,a=r+i+e.change;return e.relX+=a,[i,a]}),[0,0])},W=(t,e,n)=>{const r=t.children[e-1],i=t.children[e];let a=r,s=r.relX,o=i,l=i.relX,h=!0;for(;a&&o;){a.bottom>n.lowY&&(n=n.next);const r=s+a.prelim-(l+o.prelim)+a.xSize/2+o.xSize/2+a.spacing(o);(r>0||r<0&&h)&&(l+=r,F(i,r),P(t,e,n.index,r)),h=!1;const c=a.bottom,d=o.bottom;c<=d&&(a=V(a),a&&(s+=a.relX)),c>=d&&(o=I(o),o&&(l+=o.relX))}!a&&o?K(t,e,o,l):a&&!o&&Y(t,e,a,s)},F=(t,e)=>{t.relX+=e,t.lExtRelX+=e,t.rExtRelX+=e},P=(t,e,n,r)=>{const i=t.children[e],a=e-n;if(a>1){const e=r/a;t.children[n+1].shift+=e,i.shift-=e,i.change-=r-e}},I=t=>t.hasChildren?t.firstChild:t.lThr,V=t=>t.hasChildren?t.lastChild:t.rThr,K=(t,e,n,r)=>{const i=t.firstChild,a=i.lExt,s=t.children[e];a.lThr=n;const o=r-n.relX-i.lExtRelX;a.relX+=o,a.prelim-=o,i.lExt=s.lExt,i.lExtRelX=s.lExtRelX},Y=(t,e,n,r)=>{const i=t.children[e],a=i.rExt,s=t.children[e-1];a.rThr=n;const o=r-n.relX-i.rExtRelX;a.relX+=o,a.prelim-=o,i.rExt=s.rExt,i.rExtRelX=s.rExtRelX},G=t=>{if(t.hasChildren){const e=t.firstChild,n=t.lastChild,r=(e.prelim+e.relX-e.xSize/2+n.relX+n.prelim+n.xSize/2)/2;Object.assign(t,{prelim:r,lExt:e.lExt,lExtRelX:e.lExtRelX,rExt:n.rExt,rExtRelX:n.rExtRelX})}},Z=(t,e,n)=>{for(;null!==n&&t>=n.lowY;)n=n.next;return{lowY:t,index:e,next:n}},q=".markmap {\n  --markmap-max-width: 9999px;\n  --markmap-a-color: #0097e6;\n  --markmap-a-hover-color: #00a8ff;\n  --markmap-code-bg: #f0f0f0;\n  --markmap-code-color: #555;\n  --markmap-highlight-bg: #ffeaa7;\n  --markmap-table-border: 1px solid currentColor;\n  --markmap-font: 300 16px/20px sans-serif;\n  --markmap-circle-open-bg: #fff;\n  --markmap-text-color: #333;\n  --markmap-highlight-node-bg: #ff02;\n\n  font: var(--markmap-font);\n  color: var(--markmap-text-color);\n}\n\n  .markmap-link {\n    fill: none;\n  }\n\n  .markmap-node > circle {\n      cursor: pointer;\n    }\n\n  .markmap-foreign {\n    display: inline-block;\n  }\n\n  .markmap-foreign p {\n      margin: 0;\n    }\n\n  .markmap-foreign a {\n      color: var(--markmap-a-color);\n    }\n\n  .markmap-foreign a:hover {\n        color: var(--markmap-a-hover-color);\n      }\n\n  .markmap-foreign code {\n      padding: 0.25em;\n      font-size: calc(1em - 2px);\n      color: var(--markmap-code-color);\n      background-color: var(--markmap-code-bg);\n      border-radius: 2px;\n    }\n\n  .markmap-foreign pre {\n      margin: 0;\n    }\n\n  .markmap-foreign pre > code {\n        display: block;\n      }\n\n  .markmap-foreign del {\n      text-decoration: line-through;\n    }\n\n  .markmap-foreign em {\n      font-style: italic;\n    }\n\n  .markmap-foreign strong {\n      font-weight: bold;\n    }\n\n  .markmap-foreign mark {\n      background: var(--markmap-highlight-bg);\n    }\n\n  .markmap-foreign table,\n    .markmap-foreign th,\n    .markmap-foreign td {\n      border-collapse: collapse;\n      border: var(--markmap-table-border);\n    }\n\n  .markmap-foreign img {\n      display: inline-block;\n    }\n\n  .markmap-foreign svg {\n      fill: currentColor;\n    }\n\n  .markmap-foreign > div {\n      width: var(--markmap-max-width);\n      text-align: left;\n    }\n\n  .markmap-foreign > div > div {\n        display: inline-block;\n      }\n\n  .markmap-highlight rect {\n    fill: var(--markmap-highlight-node-bg);\n  }\n\n.markmap-dark .markmap {\n  --markmap-code-bg: #1a1b26;\n  --markmap-code-color: #ddd;\n  --markmap-circle-open-bg: #444;\n  --markmap-text-color: #eee;\n}\n",J=q,Q="g.markmap-node",U=e.linkHorizontal();function tt(t,n){return t[e.minIndex(t,n)]}function et(t){t.stopPropagation()}const nt=new class{constructor(){this.listeners=[]}tap(t){return this.listeners.push(t),()=>this.revoke(t)}revoke(t){const e=this.listeners.indexOf(t);e>=0&&this.listeners.splice(e,1)}revokeAll(){this.listeners.splice(0)}call(...t){for(const e of this.listeners)e(...t)}};class rt{constructor(t,i){this.options={...E},this._disposeList=[],this.handleZoom=t=>{const{transform:e}=t;this.g.attr("transform",e)},this.handlePan=t=>{t.preventDefault();const n=e.zoomTransform(this.svg.node()),r=n.translate(-t.deltaX/n.k,-t.deltaY/n.k);this.svg.call(this.zoom.transform,r)},this.handleClick=(t,e)=>{let n=this.options.toggleRecursively;(b?t.metaKey:t.ctrlKey)&&(n=!n),this.toggleNode(e,n)},this.ensureView=this.ensureVisible,this.svg=t.datum?t:e.select(t),this.styleNode=this.svg.append("style"),this.zoom=e.zoom().filter((t=>this.options.scrollForPan&&"wheel"===t.type?t.ctrlKey&&!t.button:!(t.ctrlKey&&"wheel"!==t.type||t.button))).on("zoom",this.handleZoom),this.setOptions(i),this.state={id:this.options.id||this.svg.attr("id")||(r+=1,`mm-${n}-${r}`),rect:{x1:0,y1:0,x2:0,y2:0}},this.g=this.svg.append("g"),this.g.append("g").attr("class","markmap-highlight"),this._observer=new ResizeObserver(function(t,e){const n={timer:0};function r(){n.timer&&(window.clearTimeout(n.timer),n.timer=0)}function i(){r(),n.args&&(n.result=t(...n.args))}return function(...t){return r(),n.args=t,n.timer=window.setTimeout(i,e),n.result}}((()=>{this.renderData()}),100)),this._disposeList.push(nt.tap((()=>{this.setData()})),(()=>this._observer.disconnect()))}getStyleContent(){const{style:t}=this.options,{id:e}=this.state,n="function"==typeof t?t(e):"";return[this.options.embedGlobalCSS&&q,n].filter(Boolean).join("\n")}updateStyle(){this.svg.attr("class",function(t,...e){const n=(t||"").split(" ").filter(Boolean);return e.forEach((t=>{t&&n.indexOf(t)<0&&n.push(t)})),n.join(" ")}(this.svg.attr("class"),"markmap",this.state.id));const t=this.getStyleContent();this.styleNode.text(t)}async toggleNode(t,e=!1){var n,r;const i=(null==(n=t.payload)?void 0:n.fold)?0:1;e?a(t,((t,e)=>{t.payload={...t.payload,fold:i},e()})):t.payload={...t.payload,fold:(null==(r=t.payload)?void 0:r.fold)?0:1},await this.renderData(t)}_initializeData(t){let e=0;const{color:n,initialExpandLevel:r}=this.options;let i=0,s=0;return a(t,((t,a,o)=>{var l,h,c,d;s+=1,t.children=null==(l=t.children)?void 0:l.map((t=>({...t}))),e+=1,t.state={...t.state,depth:s,id:e,rect:{x:0,y:0,width:0,height:0},size:[0,0]},t.state.key=[null==(h=null==o?void 0:o.state)?void 0:h.id,t.state.id].filter(Boolean).join(".")+C(t.content),t.state.path=[null==(c=null==o?void 0:o.state)?void 0:c.path,t.state.id].filter(Boolean).join("."),n(t);const p=2===(null==(d=t.payload)?void 0:d.fold);p?i+=1:(i||r>=0&&t.state.depth>=r)&&(t.payload={...t.payload,fold:1}),a(),p&&(i-=1),s-=1})),t}_relayout(){if(!this.state.data)return;this.g.selectAll(X(Q)).selectAll(X("foreignObject")).each((function(t){var e;const n=null==(e=this.firstChild)?void 0:e.firstChild,r=[n.scrollWidth,n.scrollHeight];t.state.size=r}));const{lineWidth:t,paddingX:n,spacingHorizontal:r,spacingVertical:i}=this.options,a=_({}).children((t=>{var e;if(!(null==(e=t.payload)?void 0:e.fold))return t.children})).nodeSize((t=>{const[e,i]=t.data.state.size;return[i,e+(e?2*n:0)+r]})).spacing(((e,n)=>(e.parent===n.parent?i:2*i)+t(e.data))),s=a.hierarchy(this.state.data);a(s);const o=s.descendants();o.forEach((t=>{t.data.state.rect={x:t.y,y:t.x-t.xSize/2,width:t.ySize-r,height:t.xSize}})),this.state.rect={x1:e.min(o,(t=>t.data.state.rect.x))||0,y1:e.min(o,(t=>t.data.state.rect.y))||0,x2:e.max(o,(t=>t.data.state.rect.x+t.data.state.rect.width))||0,y2:e.max(o,(t=>t.data.state.rect.y+t.data.state.rect.height))||0}}setOptions(t){this.options={...this.options,...t},this.options.zoom?this.svg.call(this.zoom):this.svg.on(".zoom",null),this.options.pan?this.svg.on("wheel",this.handlePan):this.svg.on("wheel",null)}async setData(t,e){e&&this.setOptions(e),t&&(this.state.data=this._initializeData(t)),this.state.data&&(this.updateStyle(),await this.renderData())}async setHighlight(t){this.state.highlight=t||void 0,await this.renderData()}_getHighlightRect(t){const n=this.svg.node(),r=4/e.zoomTransform(n).k,i={...t.state.rect};return i.x-=r,i.y-=r,i.width+=2*r,i.height+=2*r,i}async renderData(t){const{paddingX:e,autoFit:n,color:r,maxWidth:i,lineWidth:s}=this.options,o=this.state.data;if(!o)return;const l={},h={},c=[];a(o,((t,e,n)=>{var r;(null==(r=t.payload)?void 0:r.fold)||e(),l[t.state.id]=t,n&&(h[t.state.id]=n.state.id),c.push(t)}));const d={},p={},u=t=>{t&&!d[t.state.id]&&a(t,((e,n)=>{d[e.state.id]=t.state.id,n()}))},g=t=>p[d[t.state.id]]||o.state.rect,m=t=>(l[d[t.state.id]]||o).state.rect;p[o.state.id]=o.state.rect,t&&u(t);let{highlight:f}=this.state;f&&!l[f.state.id]&&(f=void 0);let v=this.g.selectAll(X("g.markmap-highlight")).selectAll(X("rect")).data(f?[this._getHighlightRect(f)]:[]).join("rect").attr("x",(t=>t.x)).attr("y",(t=>t.y)).attr("width",(t=>t.width)).attr("height",(t=>t.height));const y=this.g.selectAll(X(Q)).each((t=>{p[t.state.id]=t.state.rect})).data(c,(t=>t.state.key)),x=y.enter().append("g").attr("data-depth",(t=>t.state.depth)).attr("data-path",(t=>t.state.path)).each((t=>{u(l[h[t.state.id]])})),k=y.exit().each((t=>{u(l[h[t.state.id]])})),w=y.merge(x).attr("class",(t=>{var e;return["markmap-node",(null==(e=t.payload)?void 0:e.fold)&&"markmap-fold"].filter(Boolean).join(" ")})),b=w.selectAll(X("line")).data((t=>[t]),(t=>t.state.key)),z=b.enter().append("line").attr("stroke",(t=>r(t))).attr("stroke-width",0),S=b.merge(z),E=w.selectAll(X("circle")).data((t=>{var e;return(null==(e=t.children)?void 0:e.length)?[t]:[]}),(t=>t.state.key)),C=E.enter().append("circle").attr("stroke-width",0).attr("r",0).on("click",((t,e)=>this.handleClick(t,e))).on("mousedown",et).merge(E).attr("stroke",(t=>r(t))).attr("fill",(t=>{var e;return(null==(e=t.payload)?void 0:e.fold)&&t.children?r(t):"var(--markmap-circle-open-bg)"})),A=this._observer,j=w.selectAll(X("foreignObject")).data((t=>[t]),(t=>t.state.key)),R=j.enter().append("foreignObject").attr("class","markmap-foreign").attr("x",e).attr("y",0).style("opacity",0).on("mousedown",et).on("dblclick",et);R.append("xhtml:div").append("xhtml:div").html((t=>t.content)).attr("xmlns","http://www.w3.org/1999/xhtml"),R.each((function(){var t;const e=null==(t=this.firstChild)?void 0:t.firstChild;A.observe(e)}));const O=k.selectAll(X("foreignObject"));O.each((function(){var t;const e=null==(t=this.firstChild)?void 0:t.firstChild;A.unobserve(e)}));const $=R.merge(j),M=c.flatMap((t=>{var e;return(null==(e=t.payload)?void 0:e.fold)?[]:t.children.map((e=>({source:t,target:e})))})),T=this.g.selectAll(X("path.markmap-link")).data(M,(t=>t.target.state.key)),H=T.exit(),B=T.enter().insert("path","g").attr("class","markmap-link").attr("data-depth",(t=>t.target.state.depth)).attr("data-path",(t=>t.target.state.path)).attr("d",(t=>{const e=g(t.target),n=[e.x+e.width,e.y+e.height];return U({source:n,target:n})})).attr("stroke-width",0).merge(T);this.svg.style("--markmap-max-width",i?`${i}px`:null),await new Promise(requestAnimationFrame),this._relayout(),v=v.data(f?[this._getHighlightRect(f)]:[]).join("rect"),this.transition(v).attr("x",(t=>t.x)).attr("y",(t=>t.y)).attr("width",(t=>t.width)).attr("height",(t=>t.height)),x.attr("transform",(t=>{const e=g(t);return`translate(${e.x+e.width-t.state.rect.width},${e.y+e.height-t.state.rect.height})`})),this.transition(k).attr("transform",(t=>{const e=m(t);return`translate(${e.x+e.width-t.state.rect.width},${e.y+e.height-t.state.rect.height})`})).remove(),this.transition(w).attr("transform",(t=>`translate(${t.state.rect.x},${t.state.rect.y})`));const _=k.selectAll(X("line"));this.transition(_).attr("x1",(t=>t.state.rect.width)).attr("stroke-width",0),z.attr("x1",(t=>t.state.rect.width)).attr("x2",(t=>t.state.rect.width)),S.attr("y1",(t=>t.state.rect.height+s(t)/2)).attr("y2",(t=>t.state.rect.height+s(t)/2)),this.transition(S).attr("x1",-1).attr("x2",(t=>t.state.rect.width+2)).attr("stroke",(t=>r(t))).attr("stroke-width",s);const N=k.selectAll(X("circle"));this.transition(N).attr("r",0).attr("stroke-width",0),C.attr("cx",(t=>t.state.rect.width)).attr("cy",(t=>t.state.rect.height+s(t)/2)),this.transition(C).attr("r",6).attr("stroke-width","1.5"),this.transition(O).style("opacity",0),$.attr("width",(t=>Math.max(0,t.state.rect.width-2*e))).attr("height",(t=>t.state.rect.height)),this.transition($).style("opacity",1),this.transition(H).attr("d",(t=>{const e=m(t.target),n=[e.x+e.width,e.y+e.height+s(t.target)/2];return U({source:n,target:n})})).attr("stroke-width",0).remove(),this.transition(B).attr("stroke",(t=>r(t.target))).attr("stroke-width",(t=>s(t.target))).attr("d",(t=>{const e=t.source,n=t.target,r=[e.state.rect.x+e.state.rect.width,e.state.rect.y+e.state.rect.height+s(e)/2],i=[n.state.rect.x,n.state.rect.y+n.state.rect.height+s(n)/2];return U({source:r,target:i})})),n&&this.fit()}transition(t){const{duration:e}=this.options;return t.transition().duration(e)}async fit(t=this.options.maxInitialScale){const n=this.svg.node(),{width:r,height:a}=n.getBoundingClientRect(),{fitRatio:s}=this.options,{x1:o,y1:l,x2:h,y2:c}=this.state.rect,d=h-o,p=c-l,u=Math.min(r/d*s,a/p*s,t),g=e.zoomIdentity.translate((r-d*u)/2-o*u,(a-p*u)/2-l*u).scale(u);return this.transition(this.svg).call(this.zoom.transform,g).end().catch(i)}findElement(t){let e;return this.g.selectAll(X(Q)).each((function(n){n===t&&(e={data:n,g:this})})),e}async ensureVisible(t,n){var r;const a=null==(r=this.findElement(t))?void 0:r.data;if(!a)return;const s=this.svg.node(),o=s.getBoundingClientRect(),l=e.zoomTransform(s),[h,c]=[a.state.rect.x,a.state.rect.x+a.state.rect.width+2].map((t=>t*l.k+l.x)),[d,p]=[a.state.rect.y,a.state.rect.y+a.state.rect.height].map((t=>t*l.k+l.y)),u={left:0,right:0,top:0,bottom:0,...n},g=[u.left-h,o.width-u.right-c],m=[u.top-d,o.height-u.bottom-p],f=g[0]*g[1]>0?tt(g,Math.abs)/l.k:0,v=m[0]*m[1]>0?tt(m,Math.abs)/l.k:0;if(f||v){const t=l.translate(f,v);return this.transition(this.svg).call(this.zoom.transform,t).end().catch(i)}}async centerNode(t,n){var r;const a=null==(r=this.findElement(t))?void 0:r.data;if(!a)return;const s=this.svg.node(),o=s.getBoundingClientRect(),l=e.zoomTransform(s),h=(a.state.rect.x+a.state.rect.width/2)*l.k+l.x,c=(a.state.rect.y+a.state.rect.height/2)*l.k+l.y,d={left:0,right:0,top:0,bottom:0,...n},p=(d.left+o.width-d.right)/2,u=(d.top+o.height-d.bottom)/2,g=(p-h)/l.k,m=(u-c)/l.k;if(g||m){const t=l.translate(g,m);return this.transition(this.svg).call(this.zoom.transform,t).end().catch(i)}}async rescale(t){const n=this.svg.node(),{width:r,height:a}=n.getBoundingClientRect(),s=r/2,o=a/2,l=e.zoomTransform(n),h=l.translate((s-l.x)*(1-t)/l.k,(o-l.y)*(1-t)/l.k).scale(t);return this.transition(this.svg).call(this.zoom.transform,h).end().catch(i)}destroy(){this.svg.on(".zoom",null),this.svg.html(null),this._disposeList.forEach((t=>{t()}))}static create(t,e,n=null){const r=new rt(t,e);return n&&r.setData(n).then((()=>{r.fit()})),r}}t.Markmap=rt,t.childSelector=X,t.defaultColorFn=z,t.defaultOptions=E,t.deriveOptions=function(t){const n={},r={...t},{color:i,colorFreezeLevel:a,lineWidth:s}=r;if(1===(null==i?void 0:i.length)){const t=i[0];n.color=()=>t}else if(null==i?void 0:i.length){const t=e.scaleOrdinal(i);n.color=e=>t(`${e.state.path}`)}if(a){const t=n.color||E.color;n.color=e=>(e={...e,state:{...e.state,path:e.state.path.split(".").slice(0,a).join(".")}},t(e))}if(s){const t=Array.isArray(s)?s:[s,0,1];n.lineWidth=S(...t)}return["duration","fitRatio","initialExpandLevel","maxInitialScale","maxWidth","nodeMinHeight","paddingX","spacingHorizontal","spacingVertical"].forEach((t=>{const e=r[t];"number"==typeof e&&(n[t]=e)})),["zoom","pan"].forEach((t=>{const e=r[t];null!=e&&(n[t]=!!e)})),n},t.globalCSS=J,t.isMacintosh=b,t.lineWidthFactory=S,t.loadCSS=async function(t){await Promise.all(t.map((t=>async function(t){const e="stylesheet"===t.type&&t.data.href||"";if(t.loaded||(t.loaded=k[e]),!t.loaded){const n=s();t.loaded=n.promise,e&&(k[e]=t.loaded),"style"===t.type?(document.head.append(v("style",{textContent:t.data})),n.resolve()):e&&(document.head.append(v("link",{rel:"stylesheet",...t.data})),fetch(e).then((t=>{if(t.ok)return t.text();throw t})).then((()=>n.resolve()),n.reject))}await t.loaded}(t))))},t.loadJS=async function(t,e){t.forEach((t=>{var e;"script"===t.type&&(null==(e=t.data)?void 0:e.src)&&y(t.data.src)})),e={getMarkmap:()=>window.markmap,...e};for(const n of t)await w(n,e)},t.refreshHook=nt,t.simpleHash=C,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(this.markmap=this.markmap||{},d3);
-//# sourceMappingURL=/sm/110abf9063f6ee4fb04c8b1324a7593e2b618205c89e4a3ba636f91260ce2b5d.map
\ No newline at end of file
diff --git a/mineru/model/mfd/yolo_v8.py b/mineru/model/mfd/yolo_v8.py
index 15ff7e8..d5c34b8 100644
--- a/mineru/model/mfd/yolo_v8.py
+++ b/mineru/model/mfd/yolo_v8.py
@@ -1,5 +1,7 @@
 import os
 from typing import List, Union
+
+import torch
 from tqdm import tqdm
 from ultralytics import YOLO
 import numpy as np
@@ -18,8 +20,8 @@ class YOLOv8MFDModel:
         conf: float = 0.25,
         iou: float = 0.45,
     ):
-        self.model = YOLO(weight).to(device)
-        self.device = device
+        self.device = torch.device(device)
+        self.model = YOLO(weight).to(self.device)
         self.imgsz = imgsz
         self.conf = conf
         self.iou = iou
diff --git a/mineru/model/mfr/unimernet/Unimernet.py b/mineru/model/mfr/unimernet/Unimernet.py
index 5dc5fd5..5f8b951 100644
--- a/mineru/model/mfr/unimernet/Unimernet.py
+++ b/mineru/model/mfr/unimernet/Unimernet.py
@@ -23,12 +23,12 @@ class MathDataset(Dataset):
 class UnimernetModel(object):
     def __init__(self, weight_dir, _device_="cpu"):
         from .unimernet_hf import UnimernetModel
-        if _device_.startswith("mps") or _device_.startswith("npu"):
+        if _device_.startswith("mps") or _device_.startswith("npu") or _device_.startswith("musa"):
             self.model = UnimernetModel.from_pretrained(weight_dir, attn_implementation="eager")
         else:
             self.model = UnimernetModel.from_pretrained(weight_dir)
-        self.device = _device_
-        self.model.to(_device_)
+        self.device = torch.device(_device_)
+        self.model.to(self.device)
         if not _device_.startswith("cpu"):
             self.model = self.model.to(dtype=torch.float16)
         self.model.eval()
diff --git a/mineru/model/table/rec/unet_table/utils_table_line_rec.py b/mineru/model/table/rec/unet_table/utils_table_line_rec.py
index b426dd9..fd2376e 100644
--- a/mineru/model/table/rec/unet_table/utils_table_line_rec.py
+++ b/mineru/model/table/rec/unet_table/utils_table_line_rec.py
@@ -4,6 +4,8 @@ import cv2
 import numpy as np
 from scipy.spatial import distance as dist
 from skimage import measure
+from skimage import __version__ as skimage_version
+from packaging import version
 
 
 def transform_preds(coords, center, scale, output_size, rot=0):
@@ -295,7 +297,11 @@ def min_area_rect_box(
     """
     boxes = []
     for region in regions:
-        if region.bbox_area > H * W * 3 / 4:  # 过滤大的单元格
+        if version.parse(skimage_version) >= version.parse("0.26.0"):
+            region_bbox_area = region.area_bbox
+        else:
+            region_bbox_area = region.bbox_area
+        if region_bbox_area > H * W * 3 / 4:  # 过滤大的单元格
             continue
         rect = cv2.minAreaRect(region.coords[:, ::-1])
 
diff --git a/mineru/model/vlm/vllm_server.py b/mineru/model/vlm/vllm_server.py
index 4ba8211..eb2c328 100644
--- a/mineru/model/vlm/vllm_server.py
+++ b/mineru/model/vlm/vllm_server.py
@@ -2,6 +2,7 @@ import os
 import sys
 
 from mineru.backend.vlm.utils import set_default_gpu_memory_utilization, enable_custom_logits_processors
+from mineru.utils.config_reader import get_device
 from mineru.utils.models_download_utils import auto_download_and_get_model_root_path
 
 from vllm.entrypoints.cli.main import main as vllm_main
@@ -13,6 +14,8 @@ def main():
     has_port_arg = False
     has_gpu_memory_utilization_arg = False
     has_logits_processors_arg = False
+    has_block_size_arg = False
+    has_compilation_config = False
     model_path = None
     model_arg_indices = []
 
@@ -24,6 +27,10 @@ def main():
             has_gpu_memory_utilization_arg = True
         if arg == "--logits-processors" or arg.startswith("--logits-processors="):
             has_logits_processors_arg = True
+        if arg == "--block-size" or arg.startswith("--block-size="):
+            has_block_size_arg = True
+        if arg == "--compilation-config" or arg.startswith("--compilation-config="):
+            has_compilation_config = True
         if arg == "--model":
             if i + 1 < len(args):
                 model_path = args[i + 1]
@@ -50,6 +57,22 @@ def main():
     if (not has_logits_processors_arg) and custom_logits_processors:
         args.extend(["--logits-processors", "mineru_vl_utils:MinerULogitsProcessor"])
 
+    # musa vllm v1 引擎特殊配置 
+    # device = get_device()
+    # if device.startswith("musa"):
+    #     import torch
+    #     if torch.musa.is_available():
+    #         if not has_block_size_arg:
+    #             args.extend(["--block-size", "32"])
+    #         if not has_compilation_config:
+    #             args.extend(["--compilation-config", '{"cudagraph_capture_sizes": [1,2,3,4,5,6,7,8,10,12,14,16,18,20,24,28,30], "simple_cuda_graph": true}'])
+
+    # corex vllm v1 引擎特殊配置
+    device_type = os.getenv("MINERU_LMDEPLOY_DEVICE", "")
+    if device_type.lower() == "corex":
+        if not has_compilation_config:
+            args.extend(["--compilation-config", '{"cudagraph_mode": "FULL_DECODE_ONLY", "level": 0}'])
+
     # 重构参数,将模型路径作为位置参数
     sys.argv = [sys.argv[0]] + ["serve", model_path] + args
 
diff --git a/mineru/utils/block_sort.py b/mineru/utils/block_sort.py
index 23fafd2..b8857fc 100644
--- a/mineru/utils/block_sort.py
+++ b/mineru/utils/block_sort.py
@@ -186,6 +186,22 @@ def model_init(model_name: str):
             bf_16_support = True
     elif device_name.startswith("mps"):
         bf_16_support = True
+    elif device_name.startswith("gcu"):
+        if hasattr(torch, 'gcu') and torch.gcu.is_available():
+            if torch.gcu.is_bf16_supported():
+                bf_16_support = True
+    elif device_name.startswith("musa"):
+        if hasattr(torch, 'musa') and torch.musa.is_available():
+            if torch.musa.is_bf16_supported():
+                bf_16_support = True
+    elif device_name.startswith("npu"):
+        if hasattr(torch, 'npu') and torch.npu.is_available():
+            if torch.npu.is_bf16_supported():
+                bf_16_support = True
+    elif device_name.startswith("mlu"):
+        if hasattr(torch, 'mlu') and torch.mlu.is_available():
+            if torch.mlu.is_bf16_supported():
+                bf_16_support = True
 
     if model_name == 'layoutreader':
         # 检测modelscope的缓存目录是否存在
diff --git a/mineru/utils/config_reader.py b/mineru/utils/config_reader.py
index f6d013e..213db62 100644
--- a/mineru/utils/config_reader.py
+++ b/mineru/utils/config_reader.py
@@ -86,7 +86,19 @@ def get_device():
                 if torch_npu.npu.is_available():
                     return "npu"
             except Exception as e:
-                pass
+                try:
+                    if torch.gcu.is_available():
+                        return "gcu"
+                except Exception as e:
+                    try:
+                        if torch.musa.is_available():
+                            return "musa"
+                    except Exception as e:
+                        try:
+                            if torch.mlu.is_available():
+                                return "mlu"
+                        except Exception as e:
+                            pass
         return "cpu"
 
 
diff --git a/mineru/utils/magic_model_utils.py b/mineru/utils/magic_model_utils.py
index 597d659..f5e99bf 100644
--- a/mineru/utils/magic_model_utils.py
+++ b/mineru/utils/magic_model_utils.py
@@ -2,6 +2,8 @@
 包含两个MagicModel类中重复使用的方法和逻辑
 """
 from typing import List, Dict, Any, Callable
+
+from loguru import logger
 from mineru.utils.boxbase import bbox_distance, bbox_center_distance, is_in
 
 
@@ -172,11 +174,15 @@ def tie_up_category_by_index(
         get_subjects_func: Callable,
         get_objects_func: Callable,
         extract_subject_func: Callable = None,
-        extract_object_func: Callable = None
+        extract_object_func: Callable = None,
+        object_block_type: str = "object",
 ):
     """
     基于index的类别关联方法,用于将主体对象与客体对象进行关联
-    客体优先匹配给index最接近的主体,index差值相同时使用bbox中心点距离作为tiebreaker
+    客体优先匹配给index最接近的主体,匹配优先级为:
+    1. index差值(最高优先级)
+    2. bbox边缘距离(相邻边距离)
+    3. bbox中心点距离(最低优先级,作为最终tiebreaker)
 
     参数:
         get_subjects_func: 函数,提取主体对象
@@ -207,6 +213,29 @@ def tie_up_category_by_index(
             "sub_idx": i,
         }
 
+    # 提取所有客体的index集合,用于计算有效index差值
+    object_indices = set(obj["index"] for obj in objects)
+
+    def calc_effective_index_diff(obj_index: int, sub_index: int) -> int:
+        """
+        计算有效的index差值
+        有效差值 = 绝对差值 - 区间内其他客体的数量
+        即:如果obj_index和sub_index之间的差值是由其他客体造成的,则应该扣除这部分差值
+        """
+        if obj_index == sub_index:
+            return 0
+
+        start, end = min(obj_index, sub_index), max(obj_index, sub_index)
+        abs_diff = end - start
+
+        # 计算区间(start, end)内有多少个其他客体的index
+        other_objects_count = 0
+        for idx in range(start + 1, end):
+            if idx in object_indices:
+                other_objects_count += 1
+
+        return abs_diff - other_objects_count
+
     # 为每个客体找到最匹配的主体
     for obj in objects:
         if len(subjects) == 0:
@@ -217,10 +246,10 @@ def tie_up_category_by_index(
         min_index_diff = float("inf")
         best_subject_indices = []
 
-        # 找出index差值最小的所有主体
+        # 找出有效index差值最小的所有主体
         for i, subject in enumerate(subjects):
             sub_index = subject["index"]
-            index_diff = abs(obj_index - sub_index)
+            index_diff = calc_effective_index_diff(obj_index, sub_index)
 
             if index_diff < min_index_diff:
                 min_index_diff = index_diff
@@ -228,18 +257,37 @@ def tie_up_category_by_index(
             elif index_diff == min_index_diff:
                 best_subject_indices.append(i)
 
-        # 如果有多个主体的index差值相同,使用中心点距离作为tiebreaker
-        if len(best_subject_indices) > 1:
-            min_center_dist = float("inf")
+        if len(best_subject_indices) == 1:
             best_subject_idx = best_subject_indices[0]
+        # 如果有多个主体的index差值相同(最多两个),根据边缘距离进行筛选
+        elif len(best_subject_indices) == 2:
+            # 计算所有候选主体的边缘距离
+            edge_distances = [(idx, bbox_distance(obj["bbox"], subjects[idx]["bbox"])) for idx in best_subject_indices]
+            edge_dist_diff = abs(edge_distances[0][1] - edge_distances[1][1])
 
-            for idx in best_subject_indices:
-                center_dist = bbox_center_distance(obj["bbox"], subjects[idx]["bbox"])
-                if center_dist < min_center_dist:
-                    min_center_dist = center_dist
-                    best_subject_idx = idx
+            for idx, edge_dist in edge_distances:
+                logger.debug(f"Obj index: {obj_index}, Sub index: {subjects[idx]['index']}, Edge distance: {edge_dist}")
+
+            if edge_dist_diff > 2:
+                # 边缘距离差值大于2,匹配边缘距离更小的主体
+                best_subject_idx = min(edge_distances, key=lambda x: x[1])[0]
+                logger.debug(f"Obj index: {obj_index}, edge_dist_diff > 2, matching to subject with min edge distance, index: {subjects[best_subject_idx]['index']}")
+            elif object_block_type == "table_caption":
+                # 边缘距离差值<=2且为table_caption,匹配index更大的主体
+                best_subject_idx = max(best_subject_indices, key=lambda idx: subjects[idx]["index"])
+                logger.debug(f"Obj index: {obj_index}, edge_dist_diff <= 2 and table_caption, matching to later subject with index: {subjects[best_subject_idx]['index']}")
+            elif object_block_type.endswith("footnote"):
+                # 边缘距离差值<=2且为footnote,匹配index更小的主体
+                best_subject_idx = min(best_subject_indices, key=lambda idx: subjects[idx]["index"])
+                logger.debug(f"Obj index: {obj_index}, edge_dist_diff <= 2 and footnote, matching to earlier subject with index: {subjects[best_subject_idx]['index']}")
+            else:
+                # 边缘距离差值<=2 且不适用特殊匹配规则,使用中心点距离匹配
+                center_distances = [(idx, bbox_center_distance(obj["bbox"], subjects[idx]["bbox"])) for idx in best_subject_indices]
+                for idx, center_dist in center_distances:
+                    logger.debug(f"Obj index: {obj_index}, Sub index: {subjects[idx]['index']}, Center distance: {center_dist}")
+                best_subject_idx = min(center_distances, key=lambda x: x[1])[0]
         else:
-            best_subject_idx = best_subject_indices[0]
+            raise ValueError("More than two subjects have the same minimal index difference, which is unexpected.")
 
         # 将客体添加到最佳主体的obj_bboxes中
         result_dict[best_subject_idx]["obj_bboxes"].append(extract_object_func(obj))
diff --git a/mineru/utils/model_utils.py b/mineru/utils/model_utils.py
index 5ce4be1..ccc01ec 100644
--- a/mineru/utils/model_utils.py
+++ b/mineru/utils/model_utils.py
@@ -414,7 +414,7 @@ def get_res_list_from_layout_res(layout_res, iou_threshold=0.7, overlap_threshol
 
 
 def clean_memory(device='cuda'):
-    if device == 'cuda':
+    if str(device).startswith("cuda"):
         if torch.cuda.is_available():
             torch.cuda.empty_cache()
             torch.cuda.ipc_collect()
@@ -423,6 +423,15 @@ def clean_memory(device='cuda'):
             torch_npu.npu.empty_cache()
     elif str(device).startswith("mps"):
         torch.mps.empty_cache()
+    elif str(device).startswith("gcu"):
+        if torch.gcu.is_available():
+            torch.gcu.empty_cache()
+    elif str(device).startswith("musa"):
+        if torch.musa.is_available():
+            torch.musa.empty_cache()
+    elif str(device).startswith("mlu"):
+        if torch.mlu.is_available():
+            torch.mlu.empty_cache()
     gc.collect()
 
 
@@ -458,5 +467,14 @@ def get_vram(device) -> int:
     elif str(device).startswith("npu"):
         if torch_npu.npu.is_available():
             total_memory = round(torch_npu.npu.get_device_properties(device).total_memory / (1024 ** 3))  # 转为 GB
+    elif str(device).startswith("gcu"):
+        if torch.gcu.is_available():
+            total_memory = round(torch.gcu.get_device_properties(device).total_memory / (1024 ** 3))  # 转为 GB
+    elif str(device).startswith("musa"):
+        if torch.musa.is_available():
+            total_memory = round(torch.musa.get_device_properties(device).total_memory / (1024 ** 3))  # 转为 GB
+    elif str(device).startswith("mlu"):
+        if torch.mlu.is_available():
+            total_memory = round(torch.mlu.get_device_properties(device).total_memory / (1024 ** 3))  # 转为 GB
 
     return total_memory
diff --git a/mineru/utils/table_merge.py b/mineru/utils/table_merge.py
index 2566c94..c445d03 100644
--- a/mineru/utils/table_merge.py
+++ b/mineru/utils/table_merge.py
@@ -17,6 +17,7 @@ CONTINUATION_END_MARKERS = [
     "(cont.)",
     "(cont’d)",
     "(…continued)",
+    "续表",
 ]
 
 CONTINUATION_INLINE_MARKERS = [
@@ -69,6 +70,69 @@ def calculate_table_total_columns(soup):
     return max_cols
 
 
+def build_table_occupied_matrix(soup):
+    """构建表格的占用矩阵,返回每行的有效列数
+
+    Args:
+        soup: BeautifulSoup解析的表格
+
+    Returns:
+        dict: {row_idx: effective_columns} 每行的有效列数(考虑rowspan占用)
+    """
+    rows = soup.find_all("tr")
+    if not rows:
+        return {}
+
+    occupied = {}  # {row_idx: {col_idx: True}}
+    row_effective_cols = {}  # {row_idx: effective_columns}
+
+    for row_idx, row in enumerate(rows):
+        col_idx = 0
+        cells = row.find_all(["td", "th"])
+
+        if row_idx not in occupied:
+            occupied[row_idx] = {}
+
+        for cell in cells:
+            # 找到下一个未被占用的列位置
+            while col_idx in occupied[row_idx]:
+                col_idx += 1
+
+            colspan = int(cell.get("colspan", 1))
+            rowspan = int(cell.get("rowspan", 1))
+
+            # 标记被这个单元格占用的所有位置
+            for r in range(row_idx, row_idx + rowspan):
+                if r not in occupied:
+                    occupied[r] = {}
+                for c in range(col_idx, col_idx + colspan):
+                    occupied[r][c] = True
+
+            col_idx += colspan
+
+        # 该行的有效列数为已占用的最大列索引+1
+        if occupied[row_idx]:
+            row_effective_cols[row_idx] = max(occupied[row_idx].keys()) + 1
+        else:
+            row_effective_cols[row_idx] = 0
+
+    return row_effective_cols
+
+
+def calculate_row_effective_columns(soup, row_idx):
+    """计算指定行的有效列数(考虑rowspan占用)
+
+    Args:
+        soup: BeautifulSoup解析的表格
+        row_idx: 行索引
+
+    Returns:
+        int: 该行的有效列数
+    """
+    row_effective_cols = build_table_occupied_matrix(soup)
+    return row_effective_cols.get(row_idx, 0)
+
+
 def calculate_row_columns(row):
     """
     计算表格行的实际列数,考虑colspan属性
@@ -118,6 +182,10 @@ def detect_table_headers(soup1, soup2, max_header_rows=5):
     rows1 = soup1.find_all("tr")
     rows2 = soup2.find_all("tr")
 
+    # 构建两个表格的有效列数矩阵
+    effective_cols1 = build_table_occupied_matrix(soup1)
+    effective_cols2 = build_table_occupied_matrix(soup2)
+
     min_rows = min(len(rows1), len(rows2), max_header_rows)
     header_rows = 0
     headers_match = True
@@ -135,20 +203,24 @@ def detect_table_headers(soup1, soup2, max_header_rows=5):
         if len(cells1) != len(cells2):
             structure_match = False
         else:
-            # 然后检查单元格的属性和内容
-            for cell1, cell2 in zip(cells1, cells2):
-                colspan1 = int(cell1.get("colspan", 1))
-                rowspan1 = int(cell1.get("rowspan", 1))
-                colspan2 = int(cell2.get("colspan", 1))
-                rowspan2 = int(cell2.get("rowspan", 1))
+            # 检查有效列数是否一致(考虑rowspan影响)
+            if effective_cols1.get(i, 0) != effective_cols2.get(i, 0):
+                structure_match = False
+            else:
+                # 然后检查单元格的属性和内容
+                for cell1, cell2 in zip(cells1, cells2):
+                    colspan1 = int(cell1.get("colspan", 1))
+                    rowspan1 = int(cell1.get("rowspan", 1))
+                    colspan2 = int(cell2.get("colspan", 1))
+                    rowspan2 = int(cell2.get("rowspan", 1))
 
-                # 去除所有空白字符(包括空格、换行、制表符等)
-                text1 = ''.join(full_to_half(cell1.get_text()).split())
-                text2 = ''.join(full_to_half(cell2.get_text()).split())
+                    # 去除所有空白字符(包括空格、换行、制表符等)
+                    text1 = ''.join(full_to_half(cell1.get_text()).split())
+                    text2 = ''.join(full_to_half(cell2.get_text()).split())
 
-                if colspan1 != colspan2 or rowspan1 != rowspan2 or text1 != text2:
-                    structure_match = False
-                    break
+                    if colspan1 != colspan2 or rowspan1 != rowspan2 or text1 != text2:
+                        structure_match = False
+                        break
 
         if structure_match:
             header_rows += 1
@@ -158,7 +230,54 @@ def detect_table_headers(soup1, soup2, max_header_rows=5):
             headers_match = header_rows > 0  # 只有当至少匹配了一行时,才认为表头匹配
             break
 
-    # 如果没有找到匹配的表头行,则返回失败
+    # 如果严格匹配失败,尝试视觉一致性匹配(只比较文本内容)
+    if header_rows == 0:
+        header_rows, headers_match, header_texts = _detect_table_headers_visual(soup1, soup2, rows1, rows2, max_header_rows)
+
+    return header_rows, headers_match, header_texts
+
+
+def _detect_table_headers_visual(soup1, soup2, rows1, rows2, max_header_rows=5):
+    """
+    基于视觉一致性检测表头(只比较文本内容,忽略colspan/rowspan差异)
+
+    Args:
+        soup1: 第一个表格的BeautifulSoup对象
+        soup2: 第二个表格的BeautifulSoup对象
+        rows1: 第一个表格的行列表
+        rows2: 第二个表格的行列表
+        max_header_rows: 最大可能的表头行数
+
+    Returns:
+        tuple: (表头行数, 表头是否一致, 表头文本列表)
+    """
+    # 构建两个表格的有效列数矩阵
+    effective_cols1 = build_table_occupied_matrix(soup1)
+    effective_cols2 = build_table_occupied_matrix(soup2)
+
+    min_rows = min(len(rows1), len(rows2), max_header_rows)
+    header_rows = 0
+    headers_match = True
+    header_texts = []
+
+    for i in range(min_rows):
+        cells1 = rows1[i].find_all(["td", "th"])
+        cells2 = rows2[i].find_all(["td", "th"])
+
+        # 提取每行的文本内容列表(去除空白字符)
+        texts1 = [''.join(full_to_half(cell.get_text()).split()) for cell in cells1]
+        texts2 = [''.join(full_to_half(cell.get_text()).split()) for cell in cells2]
+
+        # 检查视觉一致性:文本内容完全相同,且有效列数一致
+        effective_cols_match = effective_cols1.get(i, 0) == effective_cols2.get(i, 0)
+        if texts1 == texts2 and effective_cols_match:
+            header_rows += 1
+            row_texts = [full_to_half(cell.get_text().strip()) for cell in cells1]
+            header_texts.append(row_texts)
+        else:
+            headers_match = header_rows > 0
+            break
+
     if header_rows == 0:
         headers_match = False
 
@@ -243,34 +362,44 @@ def check_rows_match(soup1, soup2):
     if not (rows1 and rows2):
         return False
 
-    # 获取第一个表的最后一行数据行
+    # 获取第一个表的最后一行数据行索引
+    last_row_idx = None
     last_row = None
-    for row in reversed(rows1):
-        if row.find_all(["td", "th"]):
-            last_row = row
+    for idx in range(len(rows1) - 1, -1, -1):
+        if rows1[idx].find_all(["td", "th"]):
+            last_row_idx = idx
+            last_row = rows1[idx]
             break
 
     # 检测表头行数,以便获取第二个表的首个数据行
     header_count, _, _ = detect_table_headers(soup1, soup2)
 
     # 获取第二个表的首个数据行
+    first_data_row_idx = None
     first_data_row = None
     if len(rows2) > header_count:
+        first_data_row_idx = header_count
         first_data_row = rows2[header_count]  # 第一个非表头行
 
     if not (last_row and first_data_row):
         return False
 
-    # 计算实际列数(考虑colspan)和视觉列数
+    # 计算有效列数(考虑rowspan和colspan)
+    last_row_effective_cols = calculate_row_effective_columns(soup1, last_row_idx)
+    first_row_effective_cols = calculate_row_effective_columns(soup2, first_data_row_idx)
+
+    # 计算实际列数(仅考虑colspan)和视觉列数
     last_row_cols = calculate_row_columns(last_row)
     first_row_cols = calculate_row_columns(first_data_row)
     last_row_visual_cols = calculate_visual_columns(last_row)
     first_row_visual_cols = calculate_visual_columns(first_data_row)
 
-    # logger.debug(f"行列数 - 前表最后一行: {last_row_cols}(视觉列数:{last_row_visual_cols}), 当前表首行: {first_row_cols}(视觉列数:{first_row_visual_cols})")
+    # logger.debug(f"行列数 - 前表最后一行: {last_row_cols}(有效列数:{last_row_effective_cols}, 视觉列数:{last_row_visual_cols}), 当前表首行: {first_row_cols}(有效列数:{first_row_effective_cols}, 视觉列数:{first_row_visual_cols})")
 
-    # 同时考虑实际列数匹配和视觉列数匹配
-    return last_row_cols == first_row_cols or last_row_visual_cols == first_row_visual_cols
+    # 同时考虑有效列数匹配、实际列数匹配和视觉列数匹配
+    return (last_row_effective_cols == first_row_effective_cols or
+            last_row_cols == first_row_cols or
+            last_row_visual_cols == first_row_visual_cols)
 
 
 def check_row_columns_match(row1, row2):
@@ -287,12 +416,13 @@ def check_row_columns_match(row1, row2):
     return True
 
 
-def adjust_table_rows_colspan(rows, start_idx, end_idx,
+def adjust_table_rows_colspan(soup, rows, start_idx, end_idx,
                               reference_structure, reference_visual_cols,
                               target_cols, current_cols, reference_row):
     """调整表格行的colspan属性以匹配目标列数
 
     Args:
+        soup: BeautifulSoup解析的表格对象(用于计算有效列数)
         rows: 表格行列表
         start_idx: 起始行索引
         end_idx: 结束行索引(不包含)
@@ -304,14 +434,21 @@ def adjust_table_rows_colspan(rows, start_idx, end_idx,
     """
     reference_row_copy = deepcopy(reference_row)
 
+    # 构建有效列数矩阵
+    effective_cols_matrix = build_table_occupied_matrix(soup)
+
     for i in range(start_idx, end_idx):
         row = rows[i]
         cells = row.find_all(["td", "th"])
         if not cells:
             continue
 
+        # 使用有效列数(考虑rowspan)判断是否需要调整
+        current_row_effective_cols = effective_cols_matrix.get(i, 0)
         current_row_cols = calculate_row_columns(row)
-        if current_row_cols >= target_cols:
+
+        # 如果有效列数或实际列数已经达到目标,则跳过
+        if current_row_effective_cols >= target_cols or current_row_cols >= target_cols:
             continue
 
         # 检查是否与参考行结构匹配
@@ -323,9 +460,12 @@ def adjust_table_rows_colspan(rows, start_idx, end_idx,
                         cell["colspan"] = str(reference_structure[j])
         else:
             # 扩展最后一个单元格以填补列数差异
-            last_cell = cells[-1]
-            current_last_span = int(last_cell.get("colspan", 1))
-            last_cell["colspan"] = str(current_last_span + (target_cols - current_cols))
+            # 使用有效列数来计算差异
+            cols_diff = target_cols - current_row_effective_cols
+            if cols_diff > 0:
+                last_cell = cells[-1]
+                current_last_span = int(last_cell.get("colspan", 1))
+                last_cell["colspan"] = str(current_last_span + cols_diff)
 
 
 def perform_table_merge(soup1, soup2, previous_table_block, wait_merge_table_footnotes):
@@ -356,7 +496,7 @@ def perform_table_merge(soup1, soup2, previous_table_block, wait_merge_table_foo
             reference_visual_cols = calculate_visual_columns(last_row1)
             # 以表1的最后一行为参考,调整表2的行
             adjust_table_rows_colspan(
-                rows2, header_count, len(rows2),
+                soup2, rows2, header_count, len(rows2),
                 reference_structure, reference_visual_cols,
                 table_cols1, table_cols2, first_data_row2
             )
@@ -366,7 +506,7 @@ def perform_table_merge(soup1, soup2, previous_table_block, wait_merge_table_foo
             reference_visual_cols = calculate_visual_columns(first_data_row2)
             # 以表2的第一个数据行为参考,调整表1的行
             adjust_table_rows_colspan(
-                rows1, 0, len(rows1),
+                soup1, rows1, 0, len(rows1),
                 reference_structure, reference_visual_cols,
                 table_cols2, table_cols1, last_row1
             )
@@ -445,4 +585,4 @@ def merge_table(page_info_list):
         # 删除当前页的table
         for block in current_table_block["blocks"]:
             block['lines'] = []
-            block[SplitFlag.LINES_DELETED] = True
\ No newline at end of file
+            block[SplitFlag.LINES_DELETED] = True
diff --git a/mineru/version.py b/mineru/version.py
index 7a38ae0..e617a4c 100644
--- a/mineru/version.py
+++ b/mineru/version.py
@@ -1 +1 @@
-__version__ = "2.7.1"
+__version__ = "2.7.4"
diff --git a/pyproject.toml b/pyproject.toml
index 072c85f..7b708d3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -7,7 +7,7 @@ name = "mineru"
 dynamic = ["version"]
 license = { text = "AGPL-3.0" }
 description = "A practical tool for converting PDF to Markdown"
-readme = "README.md"
+readme = "README.mineru-upstream.md"
 requires-python = ">=3.10,<3.14"
 keywords = ["magic-pdf", "mineru", "MinerU", "convert", "pdf", "markdown"]
 classifiers = [
diff --git a/scripts/build-images.sh b/scripts/build-images.sh
index 79ba276..de84833 100644
--- a/scripts/build-images.sh
+++ b/scripts/build-images.sh
@@ -1,34 +1,9 @@
 #!/usr/bin/env bash
 set -euo pipefail
-
-VERSION=${VERSION:-$(date +%Y%m%d%H%M%S)}
-API_FLAVOR=${API_FLAVOR:-corex}
 ROOT_DIR=$(cd "$(dirname "$0")/.." && pwd)
-
-cd "$ROOT_DIR"
-
-case "$API_FLAVOR" in
-  corex)
-    API_DOCKERFILE=docker/china/Dockerfile.corex
-    ;;
-  cuda)
-    API_DOCKERFILE=docker/global/Dockerfile.cuda
-    ;;
-  *)
-    echo "Unsupported API_FLAVOR: $API_FLAVOR. Use corex or cuda." >&2
-    exit 1
-    ;;
+case "${API_FLAVOR:-corex}" in
+ corex) FILE=docker/china/Dockerfile.corex ;;
+ cuda) FILE=docker/global/Dockerfile.cuda ;;
+ *) echo "API_FLAVOR must be corex or cuda" >&2; exit 2 ;;
 esac
-
-echo "Building UnisMindMap API image (${API_FLAVOR}): unis-mindmap-api:${VERSION}"
-sudo docker build -f "$API_DOCKERFILE" \
-  -t unis-mindmap-api:${VERSION} \
-  -t unis-mindmap-api:${API_FLAVOR} \
-  -t unis-mindmap-api:latest \
-  .
-
-echo "Building UnisMindMap Web image: unis-mindmap-web:${VERSION}"
-sudo docker build -f web_ui/Dockerfile.portable \
-  -t unis-mindmap-web:${VERSION} \
-  -t unis-mindmap-web:latest \
-  web_ui
+exec docker build -f "$ROOT_DIR/$FILE" -t "unis-mineru:${VERSION:-2.7.4}" "$ROOT_DIR"
diff --git a/scripts/run_parser.py b/scripts/run_parser.py
new file mode 100644
index 0000000..f737af5
--- /dev/null
+++ b/scripts/run_parser.py
@@ -0,0 +1,30 @@
+"""Start the pinned upstream parser; application features live in MaxKB."""
+import os
+from pathlib import Path
+import sys
+
+ROOT = Path(__file__).resolve().parents[1]
+sys.path.insert(0, str(ROOT))
+
+
+def main():
+    os.environ.setdefault('MINERU_MODEL_SOURCE', 'local')
+    os.environ.setdefault('MINERU_API_MAX_CONCURRENT_REQUESTS', '1')
+    from mineru.version import __version__
+    from mineru import __file__ as module_path
+    if __version__ != '2.7.4' or not Path(module_path).resolve().is_relative_to(ROOT / 'mineru'):
+        raise RuntimeError('解析服务版本或源码路径不匹配')
+    if not any(arg.startswith('--mineru-api-max-concurrent-requests') for arg in sys.argv):
+        sys.argv += ['--mineru-api-max-concurrent-requests', os.environ['MINERU_API_MAX_CONCURRENT_REQUESTS']]
+    memory = os.getenv('MINERU_GPU_MEMORY_UTILIZATION')
+    if memory:
+        if not 0 < float(memory) < 1:
+            raise ValueError('MINERU_GPU_MEMORY_UTILIZATION must be between 0 and 1')
+        if not any(arg.startswith('--gpu-memory-utilization') for arg in sys.argv):
+            sys.argv += ['--gpu-memory-utilization', str(float(memory))]
+    from mineru.cli.fast_api import main as serve
+    serve()
+
+
+if __name__ == '__main__':
+    main()
diff --git a/scripts/start-mindmap.sh b/scripts/start-mindmap.sh
index fce9b90..c3c098d 100644
--- a/scripts/start-mindmap.sh
+++ b/scripts/start-mindmap.sh
@@ -1,33 +1,5 @@
 #!/usr/bin/env bash
 set -euo pipefail
-
-NETWORK=${NETWORK:-unis-ai}
-API_NAME=${API_NAME:-mineru-api}
-WEB_NAME=${WEB_NAME:-mindmap-web}
-WEB_PORT=${WEB_PORT:-9898}
-MINERU_API_URL=${MINERU_API_URL:-http://${API_NAME}:8000}
-MINERU_GPU_MEMORY_UTILIZATION=${MINERU_GPU_MEMORY_UTILIZATION:-0.5}
-MINERU_MODEL_DIR=${MINERU_MODEL_DIR:-/data/unis/mineru-models}
-MINERU_PYTHONPATH=${MINERU_PYTHONPATH:-/app:/usr/local/corex-4.4.0/lib64/python3/dist-packages}
-
-sudo docker network create "$NETWORK" >/dev/null 2>&1 || true
-sudo docker rm -f "$API_NAME" "$WEB_NAME" >/dev/null 2>&1 || true
-sudo mkdir -p "$MINERU_MODEL_DIR"/pipeline "$MINERU_MODEL_DIR"/vlm
-sudo chmod -R 777 "$MINERU_MODEL_DIR"
-
-sudo docker run -d --name "$API_NAME" --network "$NETWORK" \
-  --privileged --ipc=host --shm-size=32g \
-  -v "${MINERU_MODEL_DIR}:/models" \
-  -e MINERU_MODEL_SOURCE="${MINERU_MODEL_SOURCE:-local}" \
-  -e MINERU_MODEL_DIR=/models \
-  -e MINERU_PIPELINE_MODEL_DIR=/models/pipeline \
-  -e MINERU_VLM_MODEL_DIR=/models/vlm \
-  -e PYTHONPATH="$MINERU_PYTHONPATH" \
-  -e MINERU_GPU_MEMORY_UTILIZATION="$MINERU_GPU_MEMORY_UTILIZATION" \
-  unis-mindmap-api:latest \
-  mineru-api --host 0.0.0.0 --port 8000
-
-sudo docker run -d --name "$WEB_NAME" --network "$NETWORK" \
-  -p "${WEB_PORT}:9898" \
-  -e MINERU_API_URL="$MINERU_API_URL" \
-  unis-mindmap-web:latest
+# Compatibility entrypoint: starts only the parser, never the retired workbench.
+ROOT_DIR=$(cd "$(dirname "$0")/.." && pwd)
+exec docker compose -f "$ROOT_DIR/docker/compose.yaml" up -d --no-deps mineru-api
diff --git a/web_ui/.vite-dev.pid b/web_ui/.vite-dev.pid
deleted file mode 100644
index e69de29..0000000
diff --git a/web_ui/Dockerfile b/web_ui/Dockerfile
deleted file mode 100644
index a520172..0000000
--- a/web_ui/Dockerfile
+++ /dev/null
@@ -1,36 +0,0 @@
-# 构建阶段
-FROM node:18-alpine AS builder
-
-# 设置工作目录
-WORKDIR /app
-
-# 使用国内镜像源加速
-RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
-
-# 复制 package.json 和 package-lock.json
-COPY package*.json ./
-
-# 安装依赖(使用 npm 淘宝镜像)
-RUN npm config set registry https://registry.npmmirror.com && \
-    npm install
-
-# 复制源代码
-COPY . .
-
-# 构建前端
-RUN npm run build
-
-# 运行阶段
-FROM nginx:alpine
-
-# 复制构建结果到 Nginx 静态目录
-COPY --from=builder /app/dist /usr/share/nginx/html
-
-# 复制 Nginx 配置
-COPY nginx.conf /etc/nginx/conf.d/default.conf
-
-# 暴露端口
-EXPOSE 9898
-
-# 启动 Nginx
-CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file
diff --git a/web_ui/Dockerfile.portable b/web_ui/Dockerfile.portable
deleted file mode 100644
index b24e01d..0000000
--- a/web_ui/Dockerfile.portable
+++ /dev/null
@@ -1,17 +0,0 @@
-# Portable Web UI image for UnisMindMap.
-# Runtime API upstream is configured by MINERU_API_URL, defaulting to Docker DNS name mineru-api.
-FROM node:18-alpine AS builder
-
-WORKDIR /app
-RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
-COPY package*.json ./
-RUN npm config set registry https://registry.npmmirror.com && npm install
-COPY . .
-RUN npm run build
-
-FROM nginx:alpine
-ENV MINERU_API_URL=http://mineru-api:8000
-COPY --from=builder /app/dist /usr/share/nginx/html
-COPY nginx.conf.template /etc/nginx/templates/default.conf.template
-EXPOSE 9898
-CMD ["nginx", "-g", "daemon off;"]
diff --git a/web_ui/README.md b/web_ui/README.md
deleted file mode 100644
index 023f403..0000000
--- a/web_ui/README.md
+++ /dev/null
@@ -1,169 +0,0 @@
-# MinerU Vue.js Web UI
-
-基于 Vue 3 + TypeScript + Element Plus 的现代化 Web 界面,用于替代原有的 Gradio 界面。
-
-## 🌟 特性
-
-- ✨ 响应式设计,支持移动端
-- 🌍 国际化支持(中英文)
-- 📁 文件拖拽上传
-- ⚙️ 丰富的配置选项
-- 📊 Markdown 渲染和源码查看
-- 🧠 思维导图可视化(开发中)
-- 🔗 与 FastAPI 后端无缝集成
-
-## 🚀 快速开始
-
-### 环境要求
-
-- Node.js >= 16.0.0
-- npm >= 8.0.0
-
-### 安装依赖
-
-```bash
-cd web_ui
-npm install
-```
-
-### 启动开发服务器
-
-```bash
-# 方式1:使用 npm
-npm run dev
-
-# 方式2:使用启动脚本
-./start.sh
-```
-
-### 构建生产版本
-
-```bash
-npm run build
-```
-
-## 🏗️ 项目结构
-
-```
-web_ui/
-├── src/
-│   ├── components/          # 可复用组件
-│   │   ├── FileUploader.vue    # 文件上传组件
-│   │   ├── ConfigPanel.vue     # 配置面板组件
-│   │   ├── ResultPanel.vue     # 结果展示组件
-│   │   ├── MarkdownRenderer.vue # Markdown 渲染器
-│   │   └── MindMapRenderer.vue  # 思维导图渲染器
-│   ├── views/               # 页面视图
-│   │   └── DocumentProcessor.vue # 主处理器页面
-│   ├── composables/         # Vue 组合式函数
-│   │   └── useDocumentProcessor.ts # 文档处理逻辑
-│   ├── locales/             # 国际化文件
-│   │   ├── zh.ts               # 中文翻译
-│   │   ├── en.ts               # 英文翻译
-│   │   └── index.ts            # 导出文件
-│   ├── api/                 # API 接口
-│   │   └── document.ts         # 文档处理 API
-│   ├── utils/               # 工具函数
-│   │   └── request.ts          # HTTP 请求封装
-│   ├── App.vue              # 根组件
-│   └── main.ts              # 入口文件
-├── public/                  # 静态资源
-├── index.html               # HTML 模板
-├── vite.config.ts           # Vite 配置
-├── tsconfig.json            # TypeScript 配置
-├── package.json             # 项目依赖
-└── README.md                # 本文档
-```
-
-## 🔧 技术栈
-
-- **Vue 3** - 渐进式 JavaScript 框架
-- **TypeScript** - JavaScript 的超集,提供类型安全
-- **Element Plus** - Vue 3 组件库
-- **Vite** - 新一代构建工具
-- **Axios** - HTTP 客户端
-- **Vue I18n** - 国际化解决方案
-- **Markdown-it** - Markdown 解析器
-
-## 🔄 与原 Gradio 界面的区别
-
-| 特性 | 原 Gradio | Vue.js 版本 |
-|------|-----------|-------------|
-| 用户体验 | 基础交互 | 现代化 UI 设计 |
-| 响应式 | 有限支持 | 完全响应式 |
-| 国际化 | 有限支持 | 完善的多语言支持 |
-| 组件化 | 不支持 | 高度组件化 |
-| 扩展性 | 较差 | 易于扩展和维护 |
-| 移动端适配 | 不支持 | 响应式设计 |
-
-## 📋 功能对比
-
-### ✅ 已实现功能
-- [x] 文件上传(PDF/图片)
-- [x] 参数配置面板
-- [x] 后端选择(pipeline/VLM/hybrid)
-- [x] OCR 语言选择
-- [x] 表格和公式识别选项
-- [x] Markdown 渲染展示
-- [x] Markdown 源码查看
-- [x] 结果下载
-- [x] 中英文国际化
-- [x] 错误处理和提示
-
-### ⏳ 待完善功能
-- [ ] 交互式思维导图
-- [ ] 批量处理支持
-- [ ] 处理进度显示
-- [ ] 历史记录管理
-- [ ] 用户偏好设置保存
-- [ ] 更多主题样式
-
-## 🛠️ 开发指南
-
-### 添加新组件
-
-1. 在 `src/components/` 目录下创建新的 `.vue` 文件
-2. 使用 Composition API 编写组件逻辑
-3. 在需要的地方导入和使用组件
-
-### 添加国际化文本
-
-1. 在 `src/locales/zh.ts` 和 `src/locales/en.ts` 中添加对应的翻译
-2. 在组件中使用 `$t('key')` 来引用翻译文本
-
-### API 接口扩展
-
-1. 在 `src/api/` 目录下创建新的 API 文件
-2. 使用 `request.ts` 封装的 axios 实例
-3. 在 `composables` 中调用 API
-
-## 🐛 常见问题
-
-### 1. 启动时报错 "Port 3000 is in use"
-这是正常的,Vite 会自动寻找可用端口。通常会在 3001、3002 等端口启动。
-
-### 2. 无法连接到后端 API
-确保 FastAPI 服务已在 8000 端口启动:
-```bash
-mineru-api --host localhost --port 8000
-```
-
-### 3. 构建失败
-尝试清理缓存并重新安装依赖:
-```bash
-rm -rf node_modules package-lock.json
-npm install
-npm run build
-```
-
-## 📄 许可证
-
-本项目遵循 AGPL-3.0 许可证。
-
-## 🤝 贡献
-
-欢迎提交 Issue 和 Pull Request!
-
----
-
-**注意**:此 Vue.js 版本目前仍在开发中,部分功能可能不如原 Gradio 版本稳定。建议在生产环境中继续使用原版 Gradio 界面。
\ No newline at end of file
diff --git a/web_ui/index.html b/web_ui/index.html
deleted file mode 100644
index 8808fd0..0000000
--- a/web_ui/index.html
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-  
-    
-    
-    
-    思维导图
-    
-  
-  
-    
- - - - \ No newline at end of file diff --git a/web_ui/nginx.back b/web_ui/nginx.back deleted file mode 100644 index a82236f..0000000 --- a/web_ui/nginx.back +++ /dev/null @@ -1,47 +0,0 @@ -cat > /etc/nginx/conf.d/default.conf << 'EOF' -server { - listen 9898; - server_name localhost; - - root /usr/share/nginx/html; - index index.html; - - access_log /var/log/nginx/access.log; - error_log /var/log/nginx/error.log; - - location ~* \.(jpg|jpeg|png|gif|ico|css|js|svg|woff|woff2|ttf|eot)$ { - expires 1y; - add_header Cache-Control "public, immutable"; - } - - location / { - try_files $uri $uri/ /index.html; - } - - # 【新增】直接代理 /file_parse 请求(无前缀) - location = /file_parse { - proxy_pass http://localhost:8000/file_parse; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - client_max_body_size 100M; - proxy_connect_timeout 300s; - proxy_send_timeout 300s; - proxy_read_timeout 300s; - } - - # 【保留】也支持带 /api 前缀的请求 - location /api/ { - proxy_pass http://localhost:8000/; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - client_max_body_size 100M; - proxy_connect_timeout 300s; - proxy_send_timeout 300s; - proxy_read_timeout 300s; - } -} -EOF \ No newline at end of file diff --git a/web_ui/nginx.conf b/web_ui/nginx.conf deleted file mode 100644 index 13f55ef..0000000 --- a/web_ui/nginx.conf +++ /dev/null @@ -1,45 +0,0 @@ -server { - listen 9898; - server_name localhost; - - root /usr/share/nginx/html; - index index.html; - - access_log /var/log/nginx/access.log; - error_log /var/log/nginx/error.log; - - location ~* \.(jpg|jpeg|png|gif|ico|css|js|svg|woff|woff2|ttf|eot)$ { - expires 1y; - add_header Cache-Control "public, immutable"; - } - - location / { - try_files $uri $uri/ /index.html; - } - - # 【新增】直接代理 /file_parse 请求(无前缀) - location = /file_parse { - proxy_pass http://localhost:8000/file_parse; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - client_max_body_size 100M; - proxy_connect_timeout 300s; - proxy_send_timeout 300s; - proxy_read_timeout 300s; - } - - # 【保留】也支持带 /api 前缀的请求 - location /api/ { - proxy_pass http://localhost:8000/; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - client_max_body_size 100M; - proxy_connect_timeout 300s; - proxy_send_timeout 300s; - proxy_read_timeout 300s; - } -} \ No newline at end of file diff --git a/web_ui/nginx.conf.template b/web_ui/nginx.conf.template deleted file mode 100644 index 8dc9628..0000000 --- a/web_ui/nginx.conf.template +++ /dev/null @@ -1,83 +0,0 @@ -server { - listen 9898; - server_name localhost; - - root /usr/share/nginx/html; - index index.html; - - access_log /var/log/nginx/access.log; - error_log /var/log/nginx/error.log; - - location ~* ^/(assets|mindmap/assets)/.*\.(jpg|jpeg|png|gif|ico|css|js|svg|woff|woff2|ttf|eot)$ { - rewrite ^/mindmap/(.*)$ /$1 break; - expires 1y; - add_header Cache-Control "public, immutable"; - try_files $uri =404; - } - - location = /mindmap { - return 301 /mindmap/; - } - - location = /mindmap/api/health { - proxy_pass ${MINERU_API_URL}/health; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - } - - location = /api/health { - proxy_pass ${MINERU_API_URL}/health; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - } - - location ^~ /mindmap/api/ { - rewrite ^/mindmap/api/(.*)$ /api/$1 break; - proxy_pass ${MINERU_API_URL}; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - client_max_body_size 100M; - proxy_connect_timeout 300s; - proxy_send_timeout 300s; - proxy_read_timeout 300s; - } - - location = /file_parse { - proxy_pass ${MINERU_API_URL}/file_parse; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - client_max_body_size 100M; - proxy_connect_timeout 300s; - proxy_send_timeout 300s; - proxy_read_timeout 300s; - } - - location /api/ { - proxy_pass ${MINERU_API_URL}/api/; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - client_max_body_size 100M; - proxy_connect_timeout 300s; - proxy_send_timeout 300s; - proxy_read_timeout 300s; - } - - location ^~ /mindmap/ { - rewrite ^/mindmap/(.*)$ /$1 break; - try_files $uri $uri/ /index.html; - } - - location / { - try_files $uri $uri/ /index.html; - } -} diff --git a/web_ui/package-lock.json b/web_ui/package-lock.json deleted file mode 100644 index c873b48..0000000 --- a/web_ui/package-lock.json +++ /dev/null @@ -1,3392 +0,0 @@ -{ - "name": "mineru-web-ui", - "version": "1.0.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "mineru-web-ui", - "version": "1.0.0", - "dependencies": { - "axios": "^1.6.0", - "build": "^0.1.4", - "d3": "^7.9.0", - "element-plus": "^2.4.0", - "handlebars": "^4.7.9", - "markdown-it": "^14.0.0", - "markmap-lib": "^0.18.12", - "markmap-toolbar": "^0.18.12", - "markmap-view": "^0.18.12", - "vue": "^3.4.0", - "vue-i18n": "^9.8.0" - }, - "devDependencies": { - "@types/node": "^20.0.0", - "@vitejs/plugin-vue": "^5.0.0", - "typescript": "^5.2.0", - "vite": "^5.0.0", - "vue-tsc": "^1.8.0" - } - }, - "node_modules/@babel/helper-string-parser": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", - "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", - "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/parser": { - "version": "7.29.2", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.2.tgz", - "integrity": "sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA==", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.29.0" - }, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/runtime": { - "version": "7.29.2", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.2.tgz", - "integrity": "sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/types": { - "version": "7.29.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.0.tgz", - "integrity": "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==", - "license": "MIT", - "dependencies": { - "@babel/helper-string-parser": "^7.27.1", - "@babel/helper-validator-identifier": "^7.28.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@colors/colors": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", - "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==", - "license": "MIT", - "engines": { - "node": ">=0.1.90" - } - }, - "node_modules/@ctrl/tinycolor": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-4.2.0.tgz", - "integrity": "sha512-kzyuwOAQnXJNLS9PSyrk0CWk35nWJW/zl/6KvnTBMFK65gm7U1/Z5BqjxeapjZCIhQcM/DsrEmcbRwDyXyXK4A==", - "license": "MIT", - "engines": { - "node": ">=14" - } - }, - "node_modules/@dabh/diagnostics": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.8.tgz", - "integrity": "sha512-R4MSXTVnuMzGD7bzHdW2ZhhdPC/igELENcq5IjEverBvq5hn1SXCWcsi6eSsdWP0/Ur+SItRRjAktmdoX/8R/Q==", - "license": "MIT", - "dependencies": { - "@so-ric/colorspace": "^1.1.6", - "enabled": "2.0.x", - "kuler": "^2.0.0" - } - }, - "node_modules/@element-plus/icons-vue": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/@element-plus/icons-vue/-/icons-vue-2.3.2.tgz", - "integrity": "sha512-OzIuTaIfC8QXEPmJvB4Y4kw34rSXdCJzxcD1kFStBvr8bK6X1zQAYDo0CNMjojnfTqRQCJ0I7prlErcoRiET2A==", - "license": "MIT", - "peerDependencies": { - "vue": "^3.2.0" - } - }, - "node_modules/@esbuild/aix-ppc64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", - "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "aix" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-arm": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", - "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", - "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", - "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/darwin-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", - "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", - "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", - "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", - "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", - "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", - "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", - "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", - "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", - "cpu": [ - "loong64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", - "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", - "cpu": [ - "mips64el" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", - "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", - "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", - "cpu": [ - "riscv64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", - "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", - "cpu": [ - "s390x" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", - "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", - "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", - "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", - "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", - "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", - "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", - "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@floating-ui/core": { - "version": "1.7.5", - "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.5.tgz", - "integrity": "sha512-1Ih4WTWyw0+lKyFMcBHGbb5U5FtuHJuujoyyr5zTaWS5EYMeT6Jb2AuDeftsCsEuchO+mM2ij5+q9crhydzLhQ==", - "license": "MIT", - "dependencies": { - "@floating-ui/utils": "^0.2.11" - } - }, - "node_modules/@floating-ui/dom": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.6.tgz", - "integrity": "sha512-9gZSAI5XM36880PPMm//9dfiEngYoC6Am2izES1FF406YFsjvyBMmeJ2g4SAju3xWwtuynNRFL2s9hgxpLI5SQ==", - "license": "MIT", - "dependencies": { - "@floating-ui/core": "^1.7.5", - "@floating-ui/utils": "^0.2.11" - } - }, - "node_modules/@floating-ui/utils": { - "version": "0.2.11", - "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.11.tgz", - "integrity": "sha512-RiB/yIh78pcIxl6lLMG0CgBXAZ2Y0eVHqMPYugu+9U0AeT6YBeiJpf7lbdJNIugFP5SIjwNRgo4DhR1Qxi26Gg==", - "license": "MIT" - }, - "node_modules/@gera2ld/jsx-dom": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@gera2ld/jsx-dom/-/jsx-dom-2.2.2.tgz", - "integrity": "sha512-EOqf31IATRE6zS1W1EoWmXZhGfLAoO9FIlwTtHduSrBdud4npYBxYAkv8dZ5hudDPwJeeSjn40kbCL4wAzr8dA==", - "license": "ISC", - "dependencies": { - "@babel/runtime": "^7.21.5" - } - }, - "node_modules/@intlify/core-base": { - "version": "9.14.5", - "resolved": "https://registry.npmjs.org/@intlify/core-base/-/core-base-9.14.5.tgz", - "integrity": "sha512-5ah5FqZG4pOoHjkvs8mjtv+gPKYU0zCISaYNjBNNqYiaITxW8ZtVih3GS/oTOqN8d9/mDLyrjD46GBApNxmlsA==", - "license": "MIT", - "dependencies": { - "@intlify/message-compiler": "9.14.5", - "@intlify/shared": "9.14.5" - }, - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://github.com/sponsors/kazupon" - } - }, - "node_modules/@intlify/message-compiler": { - "version": "9.14.5", - "resolved": "https://registry.npmjs.org/@intlify/message-compiler/-/message-compiler-9.14.5.tgz", - "integrity": "sha512-IHzgEu61/YIpQV5Pc3aRWScDcnFKWvQA9kigcINcCBXN8mbW+vk9SK+lDxA6STzKQsVJxUPg9ACC52pKKo3SVQ==", - "license": "MIT", - "dependencies": { - "@intlify/shared": "9.14.5", - "source-map-js": "^1.0.2" - }, - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://github.com/sponsors/kazupon" - } - }, - "node_modules/@intlify/shared": { - "version": "9.14.5", - "resolved": "https://registry.npmjs.org/@intlify/shared/-/shared-9.14.5.tgz", - "integrity": "sha512-9gB+E53BYuAEMhbCAxVgG38EZrk59sxBtv3jSizNL2hEWlgjBjAw1AwpLHtNaeda12pe6W20OGEa0TwuMSRbyQ==", - "license": "MIT", - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://github.com/sponsors/kazupon" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", - "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", - "license": "MIT" - }, - "node_modules/@popperjs/core": { - "name": "@sxzz/popperjs-es", - "version": "2.11.8", - "resolved": "https://registry.npmjs.org/@sxzz/popperjs-es/-/popperjs-es-2.11.8.tgz", - "integrity": "sha512-wOwESXvvED3S8xBmcPWHs2dUuzrE4XiZeFu7e1hROIJkm02a49N120pmOXxY33sBb6hArItm5W5tcg1cBtV+HQ==", - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" - } - }, - "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.59.0.tgz", - "integrity": "sha512-upnNBkA6ZH2VKGcBj9Fyl9IGNPULcjXRlg0LLeaioQWueH30p6IXtJEbKAgvyv+mJaMxSm1l6xwDXYjpEMiLMg==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ] - }, - "node_modules/@rollup/rollup-android-arm64": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.59.0.tgz", - "integrity": "sha512-hZ+Zxj3SySm4A/DylsDKZAeVg0mvi++0PYVceVyX7hemkw7OreKdCvW2oQ3T1FMZvCaQXqOTHb8qmBShoqk69Q==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ] - }, - "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.59.0.tgz", - "integrity": "sha512-W2Psnbh1J8ZJw0xKAd8zdNgF9HRLkdWwwdWqubSVk0pUuQkoHnv7rx4GiF9rT4t5DIZGAsConRE3AxCdJ4m8rg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.59.0.tgz", - "integrity": "sha512-ZW2KkwlS4lwTv7ZVsYDiARfFCnSGhzYPdiOU4IM2fDbL+QGlyAbjgSFuqNRbSthybLbIJ915UtZBtmuLrQAT/w==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.59.0.tgz", - "integrity": "sha512-EsKaJ5ytAu9jI3lonzn3BgG8iRBjV4LxZexygcQbpiU0wU0ATxhNVEpXKfUa0pS05gTcSDMKpn3Sx+QB9RlTTA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ] - }, - "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.59.0.tgz", - "integrity": "sha512-d3DuZi2KzTMjImrxoHIAODUZYoUUMsuUiY4SRRcJy6NJoZ6iIqWnJu9IScV9jXysyGMVuW+KNzZvBLOcpdl3Vg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ] - }, - "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.59.0.tgz", - "integrity": "sha512-t4ONHboXi/3E0rT6OZl1pKbl2Vgxf9vJfWgmUoCEVQVxhW6Cw/c8I6hbbu7DAvgp82RKiH7TpLwxnJeKv2pbsw==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.59.0.tgz", - "integrity": "sha512-CikFT7aYPA2ufMD086cVORBYGHffBo4K8MQ4uPS/ZnY54GKj36i196u8U+aDVT2LX4eSMbyHtyOh7D7Zvk2VvA==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.59.0.tgz", - "integrity": "sha512-jYgUGk5aLd1nUb1CtQ8E+t5JhLc9x5WdBKew9ZgAXg7DBk0ZHErLHdXM24rfX+bKrFe+Xp5YuJo54I5HFjGDAA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.59.0.tgz", - "integrity": "sha512-peZRVEdnFWZ5Bh2KeumKG9ty7aCXzzEsHShOZEFiCQlDEepP1dpUl/SrUNXNg13UmZl+gzVDPsiCwnV1uI0RUA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-loong64-gnu": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.59.0.tgz", - "integrity": "sha512-gbUSW/97f7+r4gHy3Jlup8zDG190AuodsWnNiXErp9mT90iCy9NKKU0Xwx5k8VlRAIV2uU9CsMnEFg/xXaOfXg==", - "cpu": [ - "loong64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-loong64-musl": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.59.0.tgz", - "integrity": "sha512-yTRONe79E+o0FWFijasoTjtzG9EBedFXJMl888NBEDCDV9I2wGbFFfJQQe63OijbFCUZqxpHz1GzpbtSFikJ4Q==", - "cpu": [ - "loong64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-ppc64-gnu": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.59.0.tgz", - "integrity": "sha512-sw1o3tfyk12k3OEpRddF68a1unZ5VCN7zoTNtSn2KndUE+ea3m3ROOKRCZxEpmT9nsGnogpFP9x6mnLTCaoLkA==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-ppc64-musl": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.59.0.tgz", - "integrity": "sha512-+2kLtQ4xT3AiIxkzFVFXfsmlZiG5FXYW7ZyIIvGA7Bdeuh9Z0aN4hVyXS/G1E9bTP/vqszNIN/pUKCk/BTHsKA==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.59.0.tgz", - "integrity": "sha512-NDYMpsXYJJaj+I7UdwIuHHNxXZ/b/N2hR15NyH3m2qAtb/hHPA4g4SuuvrdxetTdndfj9b1WOmy73kcPRoERUg==", - "cpu": [ - "riscv64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-riscv64-musl": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.59.0.tgz", - "integrity": "sha512-nLckB8WOqHIf1bhymk+oHxvM9D3tyPndZH8i8+35p/1YiVoVswPid2yLzgX7ZJP0KQvnkhM4H6QZ5m0LzbyIAg==", - "cpu": [ - "riscv64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.59.0.tgz", - "integrity": "sha512-oF87Ie3uAIvORFBpwnCvUzdeYUqi2wY6jRFWJAy1qus/udHFYIkplYRW+wo+GRUP4sKzYdmE1Y3+rY5Gc4ZO+w==", - "cpu": [ - "s390x" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.59.0.tgz", - "integrity": "sha512-3AHmtQq/ppNuUspKAlvA8HtLybkDflkMuLK4DPo77DfthRb71V84/c4MlWJXixZz4uruIH4uaa07IqoAkG64fg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.59.0.tgz", - "integrity": "sha512-2UdiwS/9cTAx7qIUZB/fWtToJwvt0Vbo0zmnYt7ED35KPg13Q0ym1g442THLC7VyI6JfYTP4PiSOWyoMdV2/xg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rollup/rollup-openbsd-x64": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.59.0.tgz", - "integrity": "sha512-M3bLRAVk6GOwFlPTIxVBSYKUaqfLrn8l0psKinkCFxl4lQvOSz8ZrKDz2gxcBwHFpci0B6rttydI4IpS4IS/jQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ] - }, - "node_modules/@rollup/rollup-openharmony-arm64": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.59.0.tgz", - "integrity": "sha512-tt9KBJqaqp5i5HUZzoafHZX8b5Q2Fe7UjYERADll83O4fGqJ49O1FsL6LpdzVFQcpwvnyd0i+K/VSwu/o/nWlA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "openharmony" - ] - }, - "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.59.0.tgz", - "integrity": "sha512-V5B6mG7OrGTwnxaNUzZTDTjDS7F75PO1ae6MJYdiMu60sq0CqN5CVeVsbhPxalupvTX8gXVSU9gq+Rx1/hvu6A==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.59.0.tgz", - "integrity": "sha512-UKFMHPuM9R0iBegwzKF4y0C4J9u8C6MEJgFuXTBerMk7EJ92GFVFYBfOZaSGLu6COf7FxpQNqhNS4c4icUPqxA==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@rollup/rollup-win32-x64-gnu": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.59.0.tgz", - "integrity": "sha512-laBkYlSS1n2L8fSo1thDNGrCTQMmxjYY5G0WFWjFFYZkKPjsMBsgJfGf4TLxXrF6RyhI60L8TMOjBMvXiTcxeA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.59.0.tgz", - "integrity": "sha512-2HRCml6OztYXyJXAvdDXPKcawukWY2GpR5/nxKp4iBgiO3wcoEGkAaqctIbZcNB6KlUQBIqt8VYkNSj2397EfA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@so-ric/colorspace": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@so-ric/colorspace/-/colorspace-1.1.6.tgz", - "integrity": "sha512-/KiKkpHNOBgkFJwu9sh48LkHSMYGyuTcSFK/qMBdnOAlrRJzRSXAOFB5qwzaVQuDl8wAvHVMkaASQDReTahxuw==", - "license": "MIT", - "dependencies": { - "color": "^5.0.2", - "text-hex": "1.0.x" - } - }, - "node_modules/@types/estree": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", - "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/lodash": { - "version": "4.17.24", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.24.tgz", - "integrity": "sha512-gIW7lQLZbue7lRSWEFql49QJJWThrTFFeIMJdp3eH4tKoxm1OvEPg02rm4wCCSHS0cL3/Fizimb35b7k8atwsQ==", - "license": "MIT" - }, - "node_modules/@types/lodash-es": { - "version": "4.17.12", - "resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.12.tgz", - "integrity": "sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==", - "license": "MIT", - "dependencies": { - "@types/lodash": "*" - } - }, - "node_modules/@types/node": { - "version": "20.19.37", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.37.tgz", - "integrity": "sha512-8kzdPJ3FsNsVIurqBs7oodNnCEVbni9yUEkaHbgptDACOPW04jimGagZ51E6+lXUwJjgnBw+hyko/lkFWCldqw==", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.21.0" - } - }, - "node_modules/@types/triple-beam": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz", - "integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==", - "license": "MIT" - }, - "node_modules/@types/web-bluetooth": { - "version": "0.0.20", - "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.20.tgz", - "integrity": "sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==", - "license": "MIT" - }, - "node_modules/@vitejs/plugin-vue": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-5.2.4.tgz", - "integrity": "sha512-7Yx/SXSOcQq5HiiV3orevHUFn+pmMB4cgbEkDYgnkUWb0WfeQ/wa2yFv6D5ICiCQOVpjA7vYDXrC7AGO8yjDHA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^18.0.0 || >=20.0.0" - }, - "peerDependencies": { - "vite": "^5.0.0 || ^6.0.0", - "vue": "^3.2.25" - } - }, - "node_modules/@volar/language-core": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-1.11.1.tgz", - "integrity": "sha512-dOcNn3i9GgZAcJt43wuaEykSluAuOkQgzni1cuxLxTV0nJKanQztp7FxyswdRILaKH+P2XZMPRp2S4MV/pElCw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@volar/source-map": "1.11.1" - } - }, - "node_modules/@volar/source-map": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-1.11.1.tgz", - "integrity": "sha512-hJnOnwZ4+WT5iupLRnuzbULZ42L7BWWPMmruzwtLhJfpDVoZLjNBxHDi2sY2bgZXCKlpU5XcsMFoYrsQmPhfZg==", - "dev": true, - "license": "MIT", - "dependencies": { - "muggle-string": "^0.3.1" - } - }, - "node_modules/@volar/typescript": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-1.11.1.tgz", - "integrity": "sha512-iU+t2mas/4lYierSnoFOeRFQUhAEMgsFuQxoxvwn5EdQopw43j+J27a4lt9LMInx1gLJBC6qL14WYGlgymaSMQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@volar/language-core": "1.11.1", - "path-browserify": "^1.0.1" - } - }, - "node_modules/@vscode/markdown-it-katex": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@vscode/markdown-it-katex/-/markdown-it-katex-1.1.2.tgz", - "integrity": "sha512-+4IIv5PgrmhKvW/3LpkpkGg257OViEhXkOOgCyj5KMsjsOfnRXkni8XAuuF9Ui5p3B8WnUovlDXAQNb8RJ/RaQ==", - "license": "MIT", - "dependencies": { - "katex": "^0.16.4" - } - }, - "node_modules/@vue/compiler-core": { - "version": "3.5.30", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.30.tgz", - "integrity": "sha512-s3DfdZkcu/qExZ+td75015ljzHc6vE+30cFMGRPROYjqkroYI5NV2X1yAMX9UeyBNWB9MxCfPcsjpLS11nzkkw==", - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.29.0", - "@vue/shared": "3.5.30", - "entities": "^7.0.1", - "estree-walker": "^2.0.2", - "source-map-js": "^1.2.1" - } - }, - "node_modules/@vue/compiler-core/node_modules/entities": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz", - "integrity": "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==", - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/@vue/compiler-dom": { - "version": "3.5.30", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.30.tgz", - "integrity": "sha512-eCFYESUEVYHhiMuK4SQTldO3RYxyMR/UQL4KdGD1Yrkfdx4m/HYuZ9jSfPdA+nWJY34VWndiYdW/wZXyiPEB9g==", - "license": "MIT", - "dependencies": { - "@vue/compiler-core": "3.5.30", - "@vue/shared": "3.5.30" - } - }, - "node_modules/@vue/compiler-sfc": { - "version": "3.5.30", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.30.tgz", - "integrity": "sha512-LqmFPDn89dtU9vI3wHJnwaV6GfTRD87AjWpTWpyrdVOObVtjIuSeZr181z5C4PmVx/V3j2p+0f7edFKGRMpQ5A==", - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.29.0", - "@vue/compiler-core": "3.5.30", - "@vue/compiler-dom": "3.5.30", - "@vue/compiler-ssr": "3.5.30", - "@vue/shared": "3.5.30", - "estree-walker": "^2.0.2", - "magic-string": "^0.30.21", - "postcss": "^8.5.8", - "source-map-js": "^1.2.1" - } - }, - "node_modules/@vue/compiler-ssr": { - "version": "3.5.30", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.30.tgz", - "integrity": "sha512-NsYK6OMTnx109PSL2IAyf62JP6EUdk4Dmj6AkWcJGBvN0dQoMYtVekAmdqgTtWQgEJo+Okstbf/1p7qZr5H+bA==", - "license": "MIT", - "dependencies": { - "@vue/compiler-dom": "3.5.30", - "@vue/shared": "3.5.30" - } - }, - "node_modules/@vue/devtools-api": { - "version": "6.6.4", - "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.6.4.tgz", - "integrity": "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==", - "license": "MIT" - }, - "node_modules/@vue/language-core": { - "version": "1.8.27", - "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-1.8.27.tgz", - "integrity": "sha512-L8Kc27VdQserNaCUNiSFdDl9LWT24ly8Hpwf1ECy3aFb9m6bDhBGQYOujDm21N7EW3moKIOKEanQwe1q5BK+mA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@volar/language-core": "~1.11.1", - "@volar/source-map": "~1.11.1", - "@vue/compiler-dom": "^3.3.0", - "@vue/shared": "^3.3.0", - "computeds": "^0.0.1", - "minimatch": "^9.0.3", - "muggle-string": "^0.3.1", - "path-browserify": "^1.0.1", - "vue-template-compiler": "^2.7.14" - }, - "peerDependencies": { - "typescript": "*" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@vue/reactivity": { - "version": "3.5.30", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.30.tgz", - "integrity": "sha512-179YNgKATuwj9gB+66snskRDOitDiuOZqkYia7mHKJaidOMo/WJxHKF8DuGc4V4XbYTJANlfEKb0yxTQotnx4Q==", - "license": "MIT", - "dependencies": { - "@vue/shared": "3.5.30" - } - }, - "node_modules/@vue/runtime-core": { - "version": "3.5.30", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.30.tgz", - "integrity": "sha512-e0Z+8PQsUTdwV8TtEsLzUM7SzC7lQwYKePydb7K2ZnmS6jjND+WJXkmmfh/swYzRyfP1EY3fpdesyYoymCzYfg==", - "license": "MIT", - "dependencies": { - "@vue/reactivity": "3.5.30", - "@vue/shared": "3.5.30" - } - }, - "node_modules/@vue/runtime-dom": { - "version": "3.5.30", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.30.tgz", - "integrity": "sha512-2UIGakjU4WSQ0T4iwDEW0W7vQj6n7AFn7taqZ9Cvm0Q/RA2FFOziLESrDL4GmtI1wV3jXg5nMoJSYO66egDUBw==", - "license": "MIT", - "dependencies": { - "@vue/reactivity": "3.5.30", - "@vue/runtime-core": "3.5.30", - "@vue/shared": "3.5.30", - "csstype": "^3.2.3" - } - }, - "node_modules/@vue/server-renderer": { - "version": "3.5.30", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.30.tgz", - "integrity": "sha512-v+R34icapydRwbZRD0sXwtHqrQJv38JuMB4JxbOxd8NEpGLny7cncMp53W9UH/zo4j8eDHjQ1dEJXwzFQknjtQ==", - "license": "MIT", - "dependencies": { - "@vue/compiler-ssr": "3.5.30", - "@vue/shared": "3.5.30" - }, - "peerDependencies": { - "vue": "3.5.30" - } - }, - "node_modules/@vue/shared": { - "version": "3.5.30", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.30.tgz", - "integrity": "sha512-YXgQ7JjaO18NeK2K9VTbDHaFy62WrObMa6XERNfNOkAhD1F1oDSf3ZJ7K6GqabZ0BvSDHajp8qfS5Sa2I9n8uQ==", - "license": "MIT" - }, - "node_modules/@vueuse/core": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-12.0.0.tgz", - "integrity": "sha512-C12RukhXiJCbx4MGhjmd/gH52TjJsc3G0E0kQj/kb19H3Nt6n1CA4DRWuTdWWcaFRdlTe0npWDS942mvacvNBw==", - "license": "MIT", - "dependencies": { - "@types/web-bluetooth": "^0.0.20", - "@vueuse/metadata": "12.0.0", - "@vueuse/shared": "12.0.0", - "vue": "^3.5.13" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/@vueuse/metadata": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-12.0.0.tgz", - "integrity": "sha512-Yzimd1D3sjxTDOlF05HekU5aSGdKjxhuhRFHA7gDWLn57PRbBIh+SF5NmjhJ0WRgF3my7T8LBucyxdFJjIfRJQ==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/@vueuse/shared": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-12.0.0.tgz", - "integrity": "sha512-3i6qtcq2PIio5i/vVYidkkcgvmTjCqrf26u+Fd4LhnbBmIT6FN8y6q/GJERp8lfcB9zVEfjdV0Br0443qZuJpw==", - "license": "MIT", - "dependencies": { - "vue": "^3.5.13" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "license": "Python-2.0" - }, - "node_modules/async": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", - "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", - "license": "MIT" - }, - "node_modules/async-validator": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/async-validator/-/async-validator-4.2.5.tgz", - "integrity": "sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==", - "license": "MIT" - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", - "license": "MIT" - }, - "node_modules/axios": { - "version": "1.13.6", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.6.tgz", - "integrity": "sha512-ChTCHMouEe2kn713WHbQGcuYrr6fXTBiu460OTwWrWob16g1bXn4vtz07Ope7ewMozJAnEquLk5lWQWtBig9DQ==", - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.15.11", - "form-data": "^4.0.5", - "proxy-from-env": "^1.1.0" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true, - "license": "MIT" - }, - "node_modules/boolbase": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", - "license": "ISC" - }, - "node_modules/brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/build": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/build/-/build-0.1.4.tgz", - "integrity": "sha512-KwbDJ/zrsU8KZRRMfoURG14cKIAStUlS8D5jBDvtrZbwO5FEkYqc3oB8HIhRiyD64A48w1lc+sOmQ+mmBw5U/Q==", - "dependencies": { - "cssmin": "0.3.x", - "jsmin": "1.x", - "jxLoader": "*", - "moo-server": "*", - "promised-io": "*", - "timespan": "2.x", - "uglify-js": "1.x", - "walker": "1.x", - "winston": "*", - "wrench": "1.3.x" - }, - "engines": { - "node": ">v0.4.12" - } - }, - "node_modules/call-bind-apply-helpers": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", - "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/cheerio": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0.tgz", - "integrity": "sha512-quS9HgjQpdaXOvsZz82Oz7uxtXiy6UIsIQcpBj7HRw2M63Skasm9qlDocAM7jNuaxdhpPU7c4kJN+gA5MCu4ww==", - "license": "MIT", - "dependencies": { - "cheerio-select": "^2.1.0", - "dom-serializer": "^2.0.0", - "domhandler": "^5.0.3", - "domutils": "^3.1.0", - "encoding-sniffer": "^0.2.0", - "htmlparser2": "^9.1.0", - "parse5": "^7.1.2", - "parse5-htmlparser2-tree-adapter": "^7.0.0", - "parse5-parser-stream": "^7.1.2", - "undici": "^6.19.5", - "whatwg-mimetype": "^4.0.0" - }, - "engines": { - "node": ">=18.17" - }, - "funding": { - "url": "https://github.com/cheeriojs/cheerio?sponsor=1" - } - }, - "node_modules/cheerio-select": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cheerio-select/-/cheerio-select-2.1.0.tgz", - "integrity": "sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==", - "license": "BSD-2-Clause", - "dependencies": { - "boolbase": "^1.0.0", - "css-select": "^5.1.0", - "css-what": "^6.1.0", - "domelementtype": "^2.3.0", - "domhandler": "^5.0.3", - "domutils": "^3.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/fb55" - } - }, - "node_modules/color": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/color/-/color-5.0.3.tgz", - "integrity": "sha512-ezmVcLR3xAVp8kYOm4GS45ZLLgIE6SPAFoduLr6hTDajwb3KZ2F46gulK3XpcwRFb5KKGCSezCBAY4Dw4HsyXA==", - "license": "MIT", - "dependencies": { - "color-convert": "^3.1.3", - "color-string": "^2.1.3" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/color-convert": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-3.1.3.tgz", - "integrity": "sha512-fasDH2ont2GqF5HpyO4w0+BcewlhHEZOFn9c1ckZdHpJ56Qb7MHhH/IcJZbBGgvdtwdwNbLvxiBEdg336iA9Sg==", - "license": "MIT", - "dependencies": { - "color-name": "^2.0.0" - }, - "engines": { - "node": ">=14.6" - } - }, - "node_modules/color-name": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-2.1.0.tgz", - "integrity": "sha512-1bPaDNFm0axzE4MEAzKPuqKWeRaT43U/hyxKPBdqTfmPF+d6n7FSoTFxLVULUJOmiLp01KjhIPPH+HrXZJN4Rg==", - "license": "MIT", - "engines": { - "node": ">=12.20" - } - }, - "node_modules/color-string": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-2.1.4.tgz", - "integrity": "sha512-Bb6Cq8oq0IjDOe8wJmi4JeNn763Xs9cfrBcaylK1tPypWzyoy2G3l90v9k64kjphl/ZJjPIShFztenRomi8WTg==", - "license": "MIT", - "dependencies": { - "color-name": "^2.0.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "license": "MIT", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/commander": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", - "license": "MIT", - "engines": { - "node": ">= 10" - } - }, - "node_modules/computeds": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/computeds/-/computeds-0.0.1.tgz", - "integrity": "sha512-7CEBgcMjVmitjYo5q8JTJVra6X5mQ20uTThdK+0kR7UEaDrAWEQcRiBtWJzga4eRpP6afNwwLsX2SET2JhVB1Q==", - "dev": true, - "license": "MIT" - }, - "node_modules/css-select": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.2.2.tgz", - "integrity": "sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw==", - "license": "BSD-2-Clause", - "dependencies": { - "boolbase": "^1.0.0", - "css-what": "^6.1.0", - "domhandler": "^5.0.2", - "domutils": "^3.0.1", - "nth-check": "^2.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/fb55" - } - }, - "node_modules/css-what": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.2.2.tgz", - "integrity": "sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA==", - "license": "BSD-2-Clause", - "engines": { - "node": ">= 6" - }, - "funding": { - "url": "https://github.com/sponsors/fb55" - } - }, - "node_modules/cssmin": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/cssmin/-/cssmin-0.3.2.tgz", - "integrity": "sha512-bynxGIAJ8ybrnFobjsQotIjA8HFDDgPwbeUWNXXXfR+B4f9kkxdcUyagJoQCSUOfMV+ZZ6bMn8bvbozlCzUGwQ==", - "bin": { - "cssmin": "bin/cssmin" - } - }, - "node_modules/csstype": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", - "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", - "license": "MIT" - }, - "node_modules/d3": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/d3/-/d3-7.9.0.tgz", - "integrity": "sha512-e1U46jVP+w7Iut8Jt8ri1YsPOvFpg46k+K8TpCb0P+zjCkjkPnV7WzfDJzMHy1LnA+wj5pLT1wjO901gLXeEhA==", - "license": "ISC", - "dependencies": { - "d3-array": "3", - "d3-axis": "3", - "d3-brush": "3", - "d3-chord": "3", - "d3-color": "3", - "d3-contour": "4", - "d3-delaunay": "6", - "d3-dispatch": "3", - "d3-drag": "3", - "d3-dsv": "3", - "d3-ease": "3", - "d3-fetch": "3", - "d3-force": "3", - "d3-format": "3", - "d3-geo": "3", - "d3-hierarchy": "3", - "d3-interpolate": "3", - "d3-path": "3", - "d3-polygon": "3", - "d3-quadtree": "3", - "d3-random": "3", - "d3-scale": "4", - "d3-scale-chromatic": "3", - "d3-selection": "3", - "d3-shape": "3", - "d3-time": "3", - "d3-time-format": "4", - "d3-timer": "3", - "d3-transition": "3", - "d3-zoom": "3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-array": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz", - "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==", - "license": "ISC", - "dependencies": { - "internmap": "1 - 2" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-axis": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-axis/-/d3-axis-3.0.0.tgz", - "integrity": "sha512-IH5tgjV4jE/GhHkRV0HiVYPDtvfjHQlQfJHs0usq7M30XcSBvOotpmH1IgkcXsO/5gEQZD43B//fc7SRT5S+xw==", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-brush": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-brush/-/d3-brush-3.0.0.tgz", - "integrity": "sha512-ALnjWlVYkXsVIGlOsuWH1+3udkYFI48Ljihfnh8FZPF2QS9o+PzGLBslO0PjzVoHLZ2KCVgAM8NVkXPJB2aNnQ==", - "license": "ISC", - "dependencies": { - "d3-dispatch": "1 - 3", - "d3-drag": "2 - 3", - "d3-interpolate": "1 - 3", - "d3-selection": "3", - "d3-transition": "3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-chord": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-chord/-/d3-chord-3.0.1.tgz", - "integrity": "sha512-VE5S6TNa+j8msksl7HwjxMHDM2yNK3XCkusIlpX5kwauBfXuyLAtNg9jCp/iHH61tgI4sb6R/EIMWCqEIdjT/g==", - "license": "ISC", - "dependencies": { - "d3-path": "1 - 3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-color": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz", - "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-contour": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/d3-contour/-/d3-contour-4.0.2.tgz", - "integrity": "sha512-4EzFTRIikzs47RGmdxbeUvLWtGedDUNkTcmzoeyg4sP/dvCexO47AaQL7VKy/gul85TOxw+IBgA8US2xwbToNA==", - "license": "ISC", - "dependencies": { - "d3-array": "^3.2.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-delaunay": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/d3-delaunay/-/d3-delaunay-6.0.4.tgz", - "integrity": "sha512-mdjtIZ1XLAM8bm/hx3WwjfHt6Sggek7qH043O8KEjDXN40xi3vx/6pYSVTwLjEgiXQTbvaouWKynLBiUZ6SK6A==", - "license": "ISC", - "dependencies": { - "delaunator": "5" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-dispatch": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-3.0.1.tgz", - "integrity": "sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-drag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-3.0.0.tgz", - "integrity": "sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==", - "license": "ISC", - "dependencies": { - "d3-dispatch": "1 - 3", - "d3-selection": "3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-dsv": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-dsv/-/d3-dsv-3.0.1.tgz", - "integrity": "sha512-UG6OvdI5afDIFP9w4G0mNq50dSOsXHJaRE8arAS5o9ApWnIElp8GZw1Dun8vP8OyHOZ/QJUKUJwxiiCCnUwm+Q==", - "license": "ISC", - "dependencies": { - "commander": "7", - "iconv-lite": "0.6", - "rw": "1" - }, - "bin": { - "csv2json": "bin/dsv2json.js", - "csv2tsv": "bin/dsv2dsv.js", - "dsv2dsv": "bin/dsv2dsv.js", - "dsv2json": "bin/dsv2json.js", - "json2csv": "bin/json2dsv.js", - "json2dsv": "bin/json2dsv.js", - "json2tsv": "bin/json2dsv.js", - "tsv2csv": "bin/dsv2dsv.js", - "tsv2json": "bin/dsv2json.js" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-ease": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz", - "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==", - "license": "BSD-3-Clause", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-fetch": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-fetch/-/d3-fetch-3.0.1.tgz", - "integrity": "sha512-kpkQIM20n3oLVBKGg6oHrUchHM3xODkTzjMoj7aWQFq5QEM+R6E4WkzT5+tojDY7yjez8KgCBRoj4aEr99Fdqw==", - "license": "ISC", - "dependencies": { - "d3-dsv": "1 - 3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-force": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-3.0.0.tgz", - "integrity": "sha512-zxV/SsA+U4yte8051P4ECydjD/S+qeYtnaIyAs9tgHCqfguma/aAQDjo85A9Z6EKhBirHRJHXIgJUlffT4wdLg==", - "license": "ISC", - "dependencies": { - "d3-dispatch": "1 - 3", - "d3-quadtree": "1 - 3", - "d3-timer": "1 - 3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-format": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.2.tgz", - "integrity": "sha512-AJDdYOdnyRDV5b6ArilzCPPwc1ejkHcoyFarqlPqT7zRYjhavcT3uSrqcMvsgh2CgoPbK3RCwyHaVyxYcP2Arg==", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-geo": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-3.1.1.tgz", - "integrity": "sha512-637ln3gXKXOwhalDzinUgY83KzNWZRKbYubaG+fGVuc/dxO64RRljtCTnf5ecMyE1RIdtqpkVcq0IbtU2S8j2Q==", - "license": "ISC", - "dependencies": { - "d3-array": "2.5.0 - 3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-hierarchy": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-3.1.2.tgz", - "integrity": "sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-interpolate": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz", - "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==", - "license": "ISC", - "dependencies": { - "d3-color": "1 - 3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-path": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz", - "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-polygon": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-polygon/-/d3-polygon-3.0.1.tgz", - "integrity": "sha512-3vbA7vXYwfe1SYhED++fPUQlWSYTTGmFmQiany/gdbiWgU/iEyQzyymwL9SkJjFFuCS4902BSzewVGsHHmHtXg==", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-quadtree": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-3.0.1.tgz", - "integrity": "sha512-04xDrxQTDTCFwP5H6hRhsRcb9xxv2RzkcsygFzmkSIOJy3PeRJP7sNk3VRIbKXcog561P9oU0/rVH6vDROAgUw==", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-random": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-random/-/d3-random-3.0.1.tgz", - "integrity": "sha512-FXMe9GfxTxqd5D6jFsQ+DJ8BJS4E/fT5mqqdjovykEB2oFbTMDVdg1MGFxfQW+FBOGoB++k8swBrgwSHT1cUXQ==", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-scale": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz", - "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==", - "license": "ISC", - "dependencies": { - "d3-array": "2.10.0 - 3", - "d3-format": "1 - 3", - "d3-interpolate": "1.2.0 - 3", - "d3-time": "2.1.1 - 3", - "d3-time-format": "2 - 4" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-scale-chromatic": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/d3-scale-chromatic/-/d3-scale-chromatic-3.1.0.tgz", - "integrity": "sha512-A3s5PWiZ9YCXFye1o246KoscMWqf8BsD9eRiJ3He7C9OBaxKhAd5TFCdEx/7VbKtxxTsu//1mMJFrEt572cEyQ==", - "license": "ISC", - "dependencies": { - "d3-color": "1 - 3", - "d3-interpolate": "1 - 3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-selection": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-3.0.0.tgz", - "integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-shape": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz", - "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==", - "license": "ISC", - "dependencies": { - "d3-path": "^3.1.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-time": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz", - "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==", - "license": "ISC", - "dependencies": { - "d3-array": "2 - 3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-time-format": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-4.1.0.tgz", - "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==", - "license": "ISC", - "dependencies": { - "d3-time": "1 - 3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-timer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz", - "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-transition": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-3.0.1.tgz", - "integrity": "sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==", - "license": "ISC", - "dependencies": { - "d3-color": "1 - 3", - "d3-dispatch": "1 - 3", - "d3-ease": "1 - 3", - "d3-interpolate": "1 - 3", - "d3-timer": "1 - 3" - }, - "engines": { - "node": ">=12" - }, - "peerDependencies": { - "d3-selection": "2 - 3" - } - }, - "node_modules/d3-zoom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-3.0.0.tgz", - "integrity": "sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==", - "license": "ISC", - "dependencies": { - "d3-dispatch": "1 - 3", - "d3-drag": "2 - 3", - "d3-interpolate": "1 - 3", - "d3-selection": "2 - 3", - "d3-transition": "2 - 3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/dayjs": { - "version": "1.11.20", - "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.20.tgz", - "integrity": "sha512-YbwwqR/uYpeoP4pu043q+LTDLFBLApUP6VxRihdfNTqu4ubqMlGDLd6ErXhEgsyvY0K6nCs7nggYumAN+9uEuQ==", - "license": "MIT" - }, - "node_modules/de-indent": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz", - "integrity": "sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==", - "dev": true, - "license": "MIT" - }, - "node_modules/delaunator": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/delaunator/-/delaunator-5.0.1.tgz", - "integrity": "sha512-8nvh+XBe96aCESrGOqMp/84b13H9cdKbG5P2ejQCh4d4sK9RL4371qou9drQjMhvnPmhWl5hnmqbEE0fXr9Xnw==", - "license": "ISC", - "dependencies": { - "robust-predicates": "^3.0.2" - } - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/dom-serializer": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", - "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", - "license": "MIT", - "dependencies": { - "domelementtype": "^2.3.0", - "domhandler": "^5.0.2", - "entities": "^4.2.0" - }, - "funding": { - "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" - } - }, - "node_modules/domelementtype": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", - "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ], - "license": "BSD-2-Clause" - }, - "node_modules/domhandler": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", - "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", - "license": "BSD-2-Clause", - "dependencies": { - "domelementtype": "^2.3.0" - }, - "engines": { - "node": ">= 4" - }, - "funding": { - "url": "https://github.com/fb55/domhandler?sponsor=1" - } - }, - "node_modules/domutils": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz", - "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==", - "license": "BSD-2-Clause", - "dependencies": { - "dom-serializer": "^2.0.0", - "domelementtype": "^2.3.0", - "domhandler": "^5.0.3" - }, - "funding": { - "url": "https://github.com/fb55/domutils?sponsor=1" - } - }, - "node_modules/dunder-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", - "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", - "license": "MIT", - "dependencies": { - "call-bind-apply-helpers": "^1.0.1", - "es-errors": "^1.3.0", - "gopd": "^1.2.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/element-plus": { - "version": "2.13.5", - "resolved": "https://registry.npmjs.org/element-plus/-/element-plus-2.13.5.tgz", - "integrity": "sha512-dmY24fhSREfZN/PuUt0YZigMso7wWzl+B5o+YKNN15kQIn/0hzamsPU+ebj9SES0IbUqsLX1wkrzYmzU8VrVOQ==", - "license": "MIT", - "dependencies": { - "@ctrl/tinycolor": "^4.2.0", - "@element-plus/icons-vue": "^2.3.2", - "@floating-ui/dom": "^1.0.1", - "@popperjs/core": "npm:@sxzz/popperjs-es@^2.11.7", - "@types/lodash": "^4.17.20", - "@types/lodash-es": "^4.17.12", - "@vueuse/core": "12.0.0", - "async-validator": "^4.2.5", - "dayjs": "^1.11.19", - "lodash": "^4.17.23", - "lodash-es": "^4.17.23", - "lodash-unified": "^1.0.3", - "memoize-one": "^6.0.0", - "normalize-wheel-es": "^1.2.0" - }, - "peerDependencies": { - "vue": "^3.3.0" - } - }, - "node_modules/enabled": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", - "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==", - "license": "MIT" - }, - "node_modules/encoding-sniffer": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/encoding-sniffer/-/encoding-sniffer-0.2.1.tgz", - "integrity": "sha512-5gvq20T6vfpekVtqrYQsSCFZ1wEg5+wW0/QaZMWkFr6BqD3NfKs0rLCx4rrVlSWJeZb5NBJgVLswK/w2MWU+Gw==", - "license": "MIT", - "dependencies": { - "iconv-lite": "^0.6.3", - "whatwg-encoding": "^3.1.1" - }, - "funding": { - "url": "https://github.com/fb55/encoding-sniffer?sponsor=1" - } - }, - "node_modules/entities": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", - "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/es-define-property": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", - "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-errors": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", - "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-object-atoms": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", - "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-set-tostringtag": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", - "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.6", - "has-tostringtag": "^1.0.2", - "hasown": "^2.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/esbuild": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", - "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=12" - }, - "optionalDependencies": { - "@esbuild/aix-ppc64": "0.21.5", - "@esbuild/android-arm": "0.21.5", - "@esbuild/android-arm64": "0.21.5", - "@esbuild/android-x64": "0.21.5", - "@esbuild/darwin-arm64": "0.21.5", - "@esbuild/darwin-x64": "0.21.5", - "@esbuild/freebsd-arm64": "0.21.5", - "@esbuild/freebsd-x64": "0.21.5", - "@esbuild/linux-arm": "0.21.5", - "@esbuild/linux-arm64": "0.21.5", - "@esbuild/linux-ia32": "0.21.5", - "@esbuild/linux-loong64": "0.21.5", - "@esbuild/linux-mips64el": "0.21.5", - "@esbuild/linux-ppc64": "0.21.5", - "@esbuild/linux-riscv64": "0.21.5", - "@esbuild/linux-s390x": "0.21.5", - "@esbuild/linux-x64": "0.21.5", - "@esbuild/netbsd-x64": "0.21.5", - "@esbuild/openbsd-x64": "0.21.5", - "@esbuild/sunos-x64": "0.21.5", - "@esbuild/win32-arm64": "0.21.5", - "@esbuild/win32-ia32": "0.21.5", - "@esbuild/win32-x64": "0.21.5" - } - }, - "node_modules/estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "license": "MIT" - }, - "node_modules/fecha": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", - "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==", - "license": "MIT" - }, - "node_modules/fn.name": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", - "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==", - "license": "MIT" - }, - "node_modules/follow-redirects": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.11.tgz", - "integrity": "sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "license": "MIT", - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "node_modules/form-data": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", - "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==", - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "es-set-tostringtag": "^2.1.0", - "hasown": "^2.0.2", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-intrinsic": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", - "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", - "license": "MIT", - "dependencies": { - "call-bind-apply-helpers": "^1.0.2", - "es-define-property": "^1.0.1", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.1.1", - "function-bind": "^1.1.2", - "get-proto": "^1.0.1", - "gopd": "^1.2.0", - "has-symbols": "^1.1.0", - "hasown": "^2.0.2", - "math-intrinsics": "^1.1.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", - "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", - "license": "MIT", - "dependencies": { - "dunder-proto": "^1.0.1", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/gopd": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", - "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/handlebars": { - "version": "4.7.9", - "resolved": "https://registry.npmmirror.com/handlebars/-/handlebars-4.7.9.tgz", - "integrity": "sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==", - "license": "MIT", - "dependencies": { - "minimist": "^1.2.5", - "neo-async": "^2.6.2", - "source-map": "^0.6.1", - "wordwrap": "^1.0.0" - }, - "bin": { - "handlebars": "bin/handlebars" - }, - "engines": { - "node": ">=0.4.7" - }, - "optionalDependencies": { - "uglify-js": "^3.1.4" - } - }, - "node_modules/handlebars/node_modules/uglify-js": { - "version": "3.19.3", - "resolved": "https://registry.npmmirror.com/uglify-js/-/uglify-js-3.19.3.tgz", - "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", - "license": "BSD-2-Clause", - "optional": true, - "bin": { - "uglifyjs": "bin/uglifyjs" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/has-symbols": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", - "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", - "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", - "license": "MIT", - "dependencies": { - "has-symbols": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/he": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", - "dev": true, - "license": "MIT", - "bin": { - "he": "bin/he" - } - }, - "node_modules/highlight.js": { - "version": "11.11.1", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.11.1.tgz", - "integrity": "sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==", - "license": "BSD-3-Clause", - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/htmlparser2": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-9.1.0.tgz", - "integrity": "sha512-5zfg6mHUoaer/97TxnGpxmbR7zJtPwIYFMZ/H5ucTlPZhKvtum05yiPK3Mgai3a0DyVxv7qYqoweaEd2nrYQzQ==", - "funding": [ - "https://github.com/fb55/htmlparser2?sponsor=1", - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ], - "license": "MIT", - "dependencies": { - "domelementtype": "^2.3.0", - "domhandler": "^5.0.3", - "domutils": "^3.1.0", - "entities": "^4.5.0" - } - }, - "node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "license": "MIT", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "license": "ISC" - }, - "node_modules/internmap": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz", - "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/js-yaml": { - "version": "0.3.7", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-0.3.7.tgz", - "integrity": "sha512-/7PsVDNP2tVe2Z1cF9kTEkjamIwz4aooDpRKmN1+g/9eePCgcxsv4QDvEbxO0EH+gdDD7MLyDoR6BASo3hH51g==", - "license": "MIT", - "engines": { - "node": "> 0.4.11" - } - }, - "node_modules/jsmin": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/jsmin/-/jsmin-1.0.1.tgz", - "integrity": "sha512-OPuL5X/bFKgVdMvEIX3hnpx3jbVpFCrEM8pKPXjFkZUqg521r41ijdyTz7vACOhW6o1neVlcLyd+wkbK5fNHRg==", - "license": "Doug Crockford's license that allows this module to be used for Good but not for Evil", - "bin": { - "jsmin": "bin/jsmin" - }, - "engines": { - "node": ">=0.1.93" - } - }, - "node_modules/jxLoader": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jxLoader/-/jxLoader-0.1.1.tgz", - "integrity": "sha512-ClEvAj3K68y8uKhub3RgTmcRPo5DfIWvtxqrKQdDPyZ1UVHIIKvVvjrAsJFSVL5wjv0rt5iH9SMCZ0XRKNzeUA==", - "dependencies": { - "js-yaml": "0.3.x", - "moo-server": "1.3.x", - "promised-io": "*", - "walker": "1.x" - }, - "engines": { - "node": ">v0.4.10" - } - }, - "node_modules/katex": { - "version": "0.16.38", - "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.38.tgz", - "integrity": "sha512-cjHooZUmIAUmDsHBN+1n8LaZdpmbj03LtYeYPyuYB7OuloiaeaV6N4LcfjcnHVzGWjVQmKrxxTrpDcmSzEZQwQ==", - "funding": [ - "https://opencollective.com/katex", - "https://github.com/sponsors/katex" - ], - "license": "MIT", - "dependencies": { - "commander": "^8.3.0" - }, - "bin": { - "katex": "cli.js" - } - }, - "node_modules/katex/node_modules/commander": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", - "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", - "license": "MIT", - "engines": { - "node": ">= 12" - } - }, - "node_modules/kuler": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", - "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==", - "license": "MIT" - }, - "node_modules/linkify-it": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz", - "integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==", - "license": "MIT", - "dependencies": { - "uc.micro": "^2.0.0" - } - }, - "node_modules/lodash": { - "version": "4.17.23", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz", - "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==", - "license": "MIT" - }, - "node_modules/lodash-es": { - "version": "4.17.23", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.23.tgz", - "integrity": "sha512-kVI48u3PZr38HdYz98UmfPnXl2DXrpdctLrFLCd3kOx1xUkOmpFPx7gCWWM5MPkL/fD8zb+Ph0QzjGFs4+hHWg==", - "license": "MIT" - }, - "node_modules/lodash-unified": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/lodash-unified/-/lodash-unified-1.0.3.tgz", - "integrity": "sha512-WK9qSozxXOD7ZJQlpSqOT+om2ZfcT4yO+03FuzAHD0wF6S0l0090LRPDx3vhTTLZ8cFKpBn+IOcVXK6qOcIlfQ==", - "license": "MIT", - "peerDependencies": { - "@types/lodash-es": "*", - "lodash": "*", - "lodash-es": "*" - } - }, - "node_modules/logform": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.7.0.tgz", - "integrity": "sha512-TFYA4jnP7PVbmlBIfhlSe+WKxs9dklXMTEGcBCIvLhE/Tn3H6Gk1norupVW7m5Cnd4bLcr08AytbyV/xj7f/kQ==", - "license": "MIT", - "dependencies": { - "@colors/colors": "1.6.0", - "@types/triple-beam": "^1.3.2", - "fecha": "^4.2.0", - "ms": "^2.1.1", - "safe-stable-stringify": "^2.3.1", - "triple-beam": "^1.3.0" - }, - "engines": { - "node": ">= 12.0.0" - } - }, - "node_modules/magic-string": { - "version": "0.30.21", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", - "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.5" - } - }, - "node_modules/makeerror": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", - "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", - "license": "BSD-3-Clause", - "dependencies": { - "tmpl": "1.0.5" - } - }, - "node_modules/markdown-it": { - "version": "14.1.1", - "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.1.tgz", - "integrity": "sha512-BuU2qnTti9YKgK5N+IeMubp14ZUKUUw7yeJbkjtosvHiP0AZ5c8IAgEMk79D0eC8F23r4Ac/q8cAIFdm2FtyoA==", - "license": "MIT", - "dependencies": { - "argparse": "^2.0.1", - "entities": "^4.4.0", - "linkify-it": "^5.0.0", - "mdurl": "^2.0.0", - "punycode.js": "^2.3.1", - "uc.micro": "^2.1.0" - }, - "bin": { - "markdown-it": "bin/markdown-it.mjs" - } - }, - "node_modules/markdown-it-ins": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/markdown-it-ins/-/markdown-it-ins-4.0.0.tgz", - "integrity": "sha512-sWbjK2DprrkINE4oYDhHdCijGT+MIDhEupjSHLXe5UXeVr5qmVxs/nTUVtgi0Oh/qtF+QKV0tNWDhQBEPxiMew==", - "license": "MIT" - }, - "node_modules/markdown-it-mark": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/markdown-it-mark/-/markdown-it-mark-4.0.0.tgz", - "integrity": "sha512-YLhzaOsU9THO/cal0lUjfMjrqSMPjjyjChYM7oyj4DnyaXEzA8gnW6cVJeyCrCVeyesrY2PlEdUYJSPFYL4Nkg==", - "license": "MIT" - }, - "node_modules/markdown-it-sub": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/markdown-it-sub/-/markdown-it-sub-2.0.0.tgz", - "integrity": "sha512-iCBKgwCkfQBRg2vApy9vx1C1Tu6D8XYo8NvevI3OlwzBRmiMtsJ2sXupBgEA7PPxiDwNni3qIUkhZ6j5wofDUA==", - "license": "MIT" - }, - "node_modules/markdown-it-sup": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/markdown-it-sup/-/markdown-it-sup-2.0.0.tgz", - "integrity": "sha512-5VgmdKlkBd8sgXuoDoxMpiU+BiEt3I49GItBzzw7Mxq9CxvnhE/k09HFli09zgfFDRixDQDfDxi0mgBCXtaTvA==", - "license": "MIT" - }, - "node_modules/markmap-common": { - "version": "0.18.9", - "resolved": "https://registry.npmjs.org/markmap-common/-/markmap-common-0.18.9.tgz", - "integrity": "sha512-MV2HQO7IGIm3jWEJXSG8vmdpqf4WIDXcEyAEN52lrWR1qD53Zg5l81JwjXoZ2l0rY5mofKYqUFlmdM2fqTGMVg==", - "license": "MIT", - "peer": true, - "dependencies": { - "@babel/runtime": "^7.22.6", - "@gera2ld/jsx-dom": "^2.2.2", - "npm2url": "^0.2.4" - } - }, - "node_modules/markmap-html-parser": { - "version": "0.18.11", - "resolved": "https://registry.npmjs.org/markmap-html-parser/-/markmap-html-parser-0.18.11.tgz", - "integrity": "sha512-+kC5C4sCGntGUhGvTa5VIb5rtM75cSy/VCy3tzZoNAcn2qZGdgYvljN0WvjsOzrEzp+V6XKgwzO0u2TdzNAiOg==", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.22.6", - "cheerio": "1.0.0" - }, - "peerDependencies": { - "markmap-common": "*" - } - }, - "node_modules/markmap-lib": { - "version": "0.18.12", - "resolved": "https://registry.npmjs.org/markmap-lib/-/markmap-lib-0.18.12.tgz", - "integrity": "sha512-WCA4OT+b71jYg0e4PS/6NRKqihod5OpPsvw1jEGHQwCtqQrY/yXXCeRyuL3axOS5cMy5pV8BSl4CwKfJU1LxJg==", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.22.6", - "@vscode/markdown-it-katex": "^1.1.0", - "highlight.js": "^11.8.0", - "katex": "^0.16.8", - "markdown-it": "^14.1.0", - "markdown-it-ins": "^4.0.0", - "markdown-it-mark": "^4.0.0", - "markdown-it-sub": "^2.0.0", - "markdown-it-sup": "^2.0.0", - "markmap-html-parser": "0.18.11", - "markmap-view": "0.18.12", - "prismjs": "^1.29.0", - "yaml": "^2.5.1" - }, - "peerDependencies": { - "markmap-common": "*" - } - }, - "node_modules/markmap-toolbar": { - "version": "0.18.12", - "resolved": "https://registry.npmjs.org/markmap-toolbar/-/markmap-toolbar-0.18.12.tgz", - "integrity": "sha512-+MQ/95ywl/ZLhVKb0tKjRa3p/AuUSYsuJRs1MPHmkxcxBaumXgzLNHUUnLjKmsbNxeZUSQGe3QJaFyRQYcHZJg==", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.22.6", - "@gera2ld/jsx-dom": "^2.2.2" - }, - "peerDependencies": { - "markmap-common": "*" - } - }, - "node_modules/markmap-view": { - "version": "0.18.12", - "resolved": "https://registry.npmjs.org/markmap-view/-/markmap-view-0.18.12.tgz", - "integrity": "sha512-D8bzT1YwIC/8rkbwm6WzigVUrpOAGv7ioEGTi1Lj+Oo8gO5sAm6hhli27jvTgUcZ9TwBeIWZ+dSUP+AupYUGlQ==", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.22.6", - "d3": "^7.8.5" - }, - "peerDependencies": { - "markmap-common": "*" - } - }, - "node_modules/math-intrinsics": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", - "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/mdurl": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz", - "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==", - "license": "MIT" - }, - "node_modules/memoize-one": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz", - "integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==", - "license": "MIT" - }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "license": "MIT", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/minimatch": { - "version": "9.0.9", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", - "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.2" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmmirror.com/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/moo-server": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/moo-server/-/moo-server-1.3.0.tgz", - "integrity": "sha512-9A8/eor2DXwpv1+a4pZAAydqLFVrWoKoO1fzdzqLUhYVXAO1Kgd1FR2gFZi7YdHzF0s4W8cDNwCfKJQrvLqxDw==", - "engines": { - "node": ">v0.4.10" - } - }, - "node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT" - }, - "node_modules/muggle-string": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/muggle-string/-/muggle-string-0.3.1.tgz", - "integrity": "sha512-ckmWDJjphvd/FvZawgygcUeQCxzvohjFO5RxTjj4eq8kw359gFF3E1brjfI+viLMxss5JrHTDRHZvu2/tuy0Qg==", - "dev": true, - "license": "MIT" - }, - "node_modules/nanoid": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", - "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/neo-async": { - "version": "2.6.2", - "resolved": "https://registry.npmmirror.com/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", - "license": "MIT" - }, - "node_modules/normalize-wheel-es": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/normalize-wheel-es/-/normalize-wheel-es-1.2.0.tgz", - "integrity": "sha512-Wj7+EJQ8mSuXr2iWfnujrimU35R2W4FAErEyTmJoJ7ucwTn2hOUSsRehMb5RSYkxXGTM7Y9QpvPmp++w5ftoJw==", - "license": "BSD-3-Clause" - }, - "node_modules/npm2url": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/npm2url/-/npm2url-0.2.4.tgz", - "integrity": "sha512-arzGp/hQz0Ey+ZGhF64XVH7Xqwd+1Q/po5uGiBbzph8ebX6T0uvt3N7c1nBHQNsQVykQgHhqoRTX7JFcHecGuw==", - "license": "MIT", - "peer": true - }, - "node_modules/nth-check": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", - "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", - "license": "BSD-2-Clause", - "dependencies": { - "boolbase": "^1.0.0" - }, - "funding": { - "url": "https://github.com/fb55/nth-check?sponsor=1" - } - }, - "node_modules/one-time": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", - "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", - "license": "MIT", - "dependencies": { - "fn.name": "1.x.x" - } - }, - "node_modules/parse5": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", - "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==", - "license": "MIT", - "dependencies": { - "entities": "^6.0.0" - }, - "funding": { - "url": "https://github.com/inikulin/parse5?sponsor=1" - } - }, - "node_modules/parse5-htmlparser2-tree-adapter": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.1.0.tgz", - "integrity": "sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==", - "license": "MIT", - "dependencies": { - "domhandler": "^5.0.3", - "parse5": "^7.0.0" - }, - "funding": { - "url": "https://github.com/inikulin/parse5?sponsor=1" - } - }, - "node_modules/parse5-parser-stream": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/parse5-parser-stream/-/parse5-parser-stream-7.1.2.tgz", - "integrity": "sha512-JyeQc9iwFLn5TbvvqACIF/VXG6abODeB3Fwmv/TGdLk2LfbWkaySGY72at4+Ty7EkPZj854u4CrICqNk2qIbow==", - "license": "MIT", - "dependencies": { - "parse5": "^7.0.0" - }, - "funding": { - "url": "https://github.com/inikulin/parse5?sponsor=1" - } - }, - "node_modules/parse5/node_modules/entities": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", - "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==", - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/path-browserify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", - "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", - "dev": true, - "license": "MIT" - }, - "node_modules/picocolors": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", - "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", - "license": "ISC" - }, - "node_modules/postcss": { - "version": "8.5.8", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.8.tgz", - "integrity": "sha512-OW/rX8O/jXnm82Ey1k44pObPtdblfiuWnrd8X7GJ7emImCOstunGbXUpp7HdBrFQX6rJzn3sPT397Wp5aCwCHg==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "nanoid": "^3.3.11", - "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/prismjs": { - "version": "1.30.0", - "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.30.0.tgz", - "integrity": "sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/promised-io": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/promised-io/-/promised-io-0.3.6.tgz", - "integrity": "sha512-bNwZusuNIW4m0SPR8jooSyndD35ggirHlxVl/UhIaZD/F0OBv9ebfc6tNmbpZts3QXHggkjIBH8lvtnzhtcz0A==" - }, - "node_modules/proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", - "license": "MIT" - }, - "node_modules/punycode.js": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", - "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/robust-predicates": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", - "integrity": "sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==", - "license": "Unlicense" - }, - "node_modules/rollup": { - "version": "4.59.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.59.0.tgz", - "integrity": "sha512-2oMpl67a3zCH9H79LeMcbDhXW/UmWG/y2zuqnF2jQq5uq9TbM9TVyXvA4+t+ne2IIkBdrLpAaRQAvo7YI/Yyeg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "1.0.8" - }, - "bin": { - "rollup": "dist/bin/rollup" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.0.0" - }, - "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.59.0", - "@rollup/rollup-android-arm64": "4.59.0", - "@rollup/rollup-darwin-arm64": "4.59.0", - "@rollup/rollup-darwin-x64": "4.59.0", - "@rollup/rollup-freebsd-arm64": "4.59.0", - "@rollup/rollup-freebsd-x64": "4.59.0", - "@rollup/rollup-linux-arm-gnueabihf": "4.59.0", - "@rollup/rollup-linux-arm-musleabihf": "4.59.0", - "@rollup/rollup-linux-arm64-gnu": "4.59.0", - "@rollup/rollup-linux-arm64-musl": "4.59.0", - "@rollup/rollup-linux-loong64-gnu": "4.59.0", - "@rollup/rollup-linux-loong64-musl": "4.59.0", - "@rollup/rollup-linux-ppc64-gnu": "4.59.0", - "@rollup/rollup-linux-ppc64-musl": "4.59.0", - "@rollup/rollup-linux-riscv64-gnu": "4.59.0", - "@rollup/rollup-linux-riscv64-musl": "4.59.0", - "@rollup/rollup-linux-s390x-gnu": "4.59.0", - "@rollup/rollup-linux-x64-gnu": "4.59.0", - "@rollup/rollup-linux-x64-musl": "4.59.0", - "@rollup/rollup-openbsd-x64": "4.59.0", - "@rollup/rollup-openharmony-arm64": "4.59.0", - "@rollup/rollup-win32-arm64-msvc": "4.59.0", - "@rollup/rollup-win32-ia32-msvc": "4.59.0", - "@rollup/rollup-win32-x64-gnu": "4.59.0", - "@rollup/rollup-win32-x64-msvc": "4.59.0", - "fsevents": "~2.3.2" - } - }, - "node_modules/rw": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz", - "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==", - "license": "BSD-3-Clause" - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/safe-stable-stringify": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.5.0.tgz", - "integrity": "sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==", - "license": "MIT", - "engines": { - "node": ">=10" - } - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "license": "MIT" - }, - "node_modules/semver": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz", - "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", - "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/stack-trace": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==", - "license": "MIT", - "engines": { - "node": "*" - } - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "license": "MIT", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/text-hex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", - "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==", - "license": "MIT" - }, - "node_modules/timespan": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/timespan/-/timespan-2.3.0.tgz", - "integrity": "sha512-0Jq9+58T2wbOyLth0EU+AUb6JMGCLaTWIykJFa7hyAybjVH9gpVMTfUAwo5fWAvtFt2Tjh/Elg8JtgNpnMnM8g==", - "engines": { - "node": ">= 0.2.0" - } - }, - "node_modules/tmpl": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", - "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", - "license": "BSD-3-Clause" - }, - "node_modules/triple-beam": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.4.1.tgz", - "integrity": "sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg==", - "license": "MIT", - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/typescript": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", - "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", - "devOptional": true, - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, - "node_modules/uc.micro": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz", - "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==", - "license": "MIT" - }, - "node_modules/uglify-js": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-1.3.5.tgz", - "integrity": "sha512-YPX1DjKtom8l9XslmPFQnqWzTBkvI4N0pbkzLuPZZ4QTyig0uQqvZz9NgUdfEV+qccJzi7fVcGWdESvRIjWptQ==", - "bin": { - "uglifyjs": "bin/uglifyjs" - } - }, - "node_modules/undici": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.24.1.tgz", - "integrity": "sha512-sC+b0tB1whOCzbtlx20fx3WgCXwkW627p4EA9uM+/tNNPkSS+eSEld6pAs9nDv7WbY1UUljBMYPtu9BCOrCWKA==", - "license": "MIT", - "engines": { - "node": ">=18.17" - } - }, - "node_modules/undici-types": { - "version": "6.21.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", - "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "license": "MIT" - }, - "node_modules/vite": { - "version": "5.4.21", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz", - "integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==", - "dev": true, - "license": "MIT", - "dependencies": { - "esbuild": "^0.21.3", - "postcss": "^8.4.43", - "rollup": "^4.20.0" - }, - "bin": { - "vite": "bin/vite.js" - }, - "engines": { - "node": "^18.0.0 || >=20.0.0" - }, - "funding": { - "url": "https://github.com/vitejs/vite?sponsor=1" - }, - "optionalDependencies": { - "fsevents": "~2.3.3" - }, - "peerDependencies": { - "@types/node": "^18.0.0 || >=20.0.0", - "less": "*", - "lightningcss": "^1.21.0", - "sass": "*", - "sass-embedded": "*", - "stylus": "*", - "sugarss": "*", - "terser": "^5.4.0" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - }, - "less": { - "optional": true - }, - "lightningcss": { - "optional": true - }, - "sass": { - "optional": true - }, - "sass-embedded": { - "optional": true - }, - "stylus": { - "optional": true - }, - "sugarss": { - "optional": true - }, - "terser": { - "optional": true - } - } - }, - "node_modules/vue": { - "version": "3.5.30", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.30.tgz", - "integrity": "sha512-hTHLc6VNZyzzEH/l7PFGjpcTvUgiaPK5mdLkbjrTeWSRcEfxFrv56g/XckIYlE9ckuobsdwqd5mk2g1sBkMewg==", - "license": "MIT", - "dependencies": { - "@vue/compiler-dom": "3.5.30", - "@vue/compiler-sfc": "3.5.30", - "@vue/runtime-dom": "3.5.30", - "@vue/server-renderer": "3.5.30", - "@vue/shared": "3.5.30" - }, - "peerDependencies": { - "typescript": "*" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/vue-i18n": { - "version": "9.14.5", - "resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-9.14.5.tgz", - "integrity": "sha512-0jQ9Em3ymWngyiIkj0+c/k7WgaPO+TNzjKSNq9BvBQaKJECqn9cd9fL4tkDhB5G1QBskGl9YxxbDAhgbFtpe2g==", - "deprecated": "v9 and v10 no longer supported. please migrate to v11. about maintenance status, see https://vue-i18n.intlify.dev/guide/maintenance.html", - "license": "MIT", - "dependencies": { - "@intlify/core-base": "9.14.5", - "@intlify/shared": "9.14.5", - "@vue/devtools-api": "^6.5.0" - }, - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://github.com/sponsors/kazupon" - }, - "peerDependencies": { - "vue": "^3.0.0" - } - }, - "node_modules/vue-template-compiler": { - "version": "2.7.16", - "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.16.tgz", - "integrity": "sha512-AYbUWAJHLGGQM7+cNTELw+KsOG9nl2CnSv467WobS5Cv9uk3wFcnr1Etsz2sEIHEZvw1U+o9mRlEO6QbZvUPGQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "de-indent": "^1.0.2", - "he": "^1.2.0" - } - }, - "node_modules/vue-tsc": { - "version": "1.8.27", - "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-1.8.27.tgz", - "integrity": "sha512-WesKCAZCRAbmmhuGl3+VrdWItEvfoFIPXOvUJkjULi+x+6G/Dy69yO3TBRJDr9eUlmsNAwVmxsNZxvHKzbkKdg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@volar/typescript": "~1.11.1", - "@vue/language-core": "1.8.27", - "semver": "^7.5.4" - }, - "bin": { - "vue-tsc": "bin/vue-tsc.js" - }, - "peerDependencies": { - "typescript": "*" - } - }, - "node_modules/walker": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", - "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", - "license": "Apache-2.0", - "dependencies": { - "makeerror": "1.0.12" - } - }, - "node_modules/whatwg-encoding": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz", - "integrity": "sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==", - "deprecated": "Use @exodus/bytes instead for a more spec-conformant and faster implementation", - "license": "MIT", - "dependencies": { - "iconv-lite": "0.6.3" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/whatwg-mimetype": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz", - "integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==", - "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/winston": { - "version": "3.19.0", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.19.0.tgz", - "integrity": "sha512-LZNJgPzfKR+/J3cHkxcpHKpKKvGfDZVPS4hfJCc4cCG0CgYzvlD6yE/S3CIL/Yt91ak327YCpiF/0MyeZHEHKA==", - "license": "MIT", - "dependencies": { - "@colors/colors": "^1.6.0", - "@dabh/diagnostics": "^2.0.8", - "async": "^3.2.3", - "is-stream": "^2.0.0", - "logform": "^2.7.0", - "one-time": "^1.0.0", - "readable-stream": "^3.4.0", - "safe-stable-stringify": "^2.3.1", - "stack-trace": "0.0.x", - "triple-beam": "^1.3.0", - "winston-transport": "^4.9.0" - }, - "engines": { - "node": ">= 12.0.0" - } - }, - "node_modules/winston-transport": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.9.0.tgz", - "integrity": "sha512-8drMJ4rkgaPo1Me4zD/3WLfI/zPdA9o2IipKODunnGDcuqbHwjsbB79ylv04LCGGzU0xQ6vTznOMpQGaLhhm6A==", - "license": "MIT", - "dependencies": { - "logform": "^2.7.0", - "readable-stream": "^3.6.2", - "triple-beam": "^1.3.0" - }, - "engines": { - "node": ">= 12.0.0" - } - }, - "node_modules/wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", - "license": "MIT" - }, - "node_modules/wrench": { - "version": "1.3.9", - "resolved": "https://registry.npmjs.org/wrench/-/wrench-1.3.9.tgz", - "integrity": "sha512-srTJQmLTP5YtW+F5zDuqjMEZqLLr/eJOZfDI5ibfPfRMeDh3oBUefAscuH0q5wBKE339ptH/S/0D18ZkfOfmKQ==", - "deprecated": "wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.", - "engines": { - "node": ">=0.1.97" - } - }, - "node_modules/yaml": { - "version": "2.8.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.2.tgz", - "integrity": "sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A==", - "license": "ISC", - "bin": { - "yaml": "bin.mjs" - }, - "engines": { - "node": ">= 14.6" - }, - "funding": { - "url": "https://github.com/sponsors/eemeli" - } - } - } -} diff --git a/web_ui/package.json b/web_ui/package.json deleted file mode 100644 index 08a4474..0000000 --- a/web_ui/package.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "name": "mineru-web-ui", - "version": "1.0.0", - "private": true, - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview", - "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" - }, - "dependencies": { - "axios": "^1.6.0", - "build": "^0.1.4", - "d3": "^7.9.0", - "element-plus": "^2.4.0", - "handlebars": "^4.7.9", - "markdown-it": "^14.0.0", - "markmap-lib": "^0.18.12", - "markmap-toolbar": "^0.18.12", - "markmap-view": "^0.18.12", - "vue": "^3.4.0", - "vue-i18n": "^9.8.0" - }, - "devDependencies": { - "@types/node": "^20.0.0", - "@vitejs/plugin-vue": "^5.0.0", - "typescript": "^5.2.0", - "vite": "^5.0.0", - "vue-tsc": "^1.8.0" - } -} diff --git a/web_ui/public/markmap/d3.min.js b/web_ui/public/markmap/d3.min.js deleted file mode 100644 index 33bb880..0000000 --- a/web_ui/public/markmap/d3.min.js +++ /dev/null @@ -1,2 +0,0 @@ -// https://d3js.org v7.9.0 Copyright 2010-2023 Mike Bostock -!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).d3=t.d3||{})}(this,(function(t){"use strict";function n(t,n){return null==t||null==n?NaN:tn?1:t>=n?0:NaN}function e(t,n){return null==t||null==n?NaN:nt?1:n>=t?0:NaN}function r(t){let r,o,a;function u(t,n,e=0,i=t.length){if(e>>1;o(t[r],n)<0?e=r+1:i=r}while(en(t(e),r),a=(n,e)=>t(n)-e):(r=t===n||t===e?t:i,o=t,a=t),{left:u,center:function(t,n,e=0,r=t.length){const i=u(t,n,e,r-1);return i>e&&a(t[i-1],n)>-a(t[i],n)?i-1:i},right:function(t,n,e=0,i=t.length){if(e>>1;o(t[r],n)<=0?e=r+1:i=r}while(e{n(t,e,(r<<=2)+0,(i<<=2)+0,o<<=2),n(t,e,r+1,i+1,o),n(t,e,r+2,i+2,o),n(t,e,r+3,i+3,o)}}));function d(t){return function(n,e,r=e){if(!((e=+e)>=0))throw new RangeError("invalid rx");if(!((r=+r)>=0))throw new RangeError("invalid ry");let{data:i,width:o,height:a}=n;if(!((o=Math.floor(o))>=0))throw new RangeError("invalid width");if(!((a=Math.floor(void 0!==a?a:i.length/o))>=0))throw new RangeError("invalid height");if(!o||!a||!e&&!r)return n;const u=e&&t(e),c=r&&t(r),f=i.slice();return u&&c?(p(u,f,i,o,a),p(u,i,f,o,a),p(u,f,i,o,a),g(c,i,f,o,a),g(c,f,i,o,a),g(c,i,f,o,a)):u?(p(u,i,f,o,a),p(u,f,i,o,a),p(u,i,f,o,a)):c&&(g(c,i,f,o,a),g(c,f,i,o,a),g(c,i,f,o,a)),n}}function p(t,n,e,r,i){for(let o=0,a=r*i;o{if(!((o-=a)>=i))return;let u=t*r[i];const c=a*t;for(let t=i,n=i+c;t{if(!((a-=u)>=o))return;let c=n*i[o];const f=u*n,s=f+u;for(let t=o,n=o+f;t=n&&++e;else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(i=+i)>=i&&++e}return e}function _(t){return 0|t.length}function b(t){return!(t>0)}function m(t){return"object"!=typeof t||"length"in t?t:Array.from(t)}function x(t,n){let e,r=0,i=0,o=0;if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(e=n-i,i+=e/++r,o+=e*(n-i));else{let a=-1;for(let u of t)null!=(u=n(u,++a,t))&&(u=+u)>=u&&(e=u-i,i+=e/++r,o+=e*(u-i))}if(r>1)return o/(r-1)}function w(t,n){const e=x(t,n);return e?Math.sqrt(e):e}function M(t,n){let e,r;if(void 0===n)for(const n of t)null!=n&&(void 0===e?n>=n&&(e=r=n):(e>n&&(e=n),r=o&&(e=r=o):(e>o&&(e=o),r0){for(o=t[--i];i>0&&(n=o,e=t[--i],o=n+e,r=e-(o-n),!r););i>0&&(r<0&&t[i-1]<0||r>0&&t[i-1]>0)&&(e=2*r,n=o+e,e==n-o&&(o=n))}return o}}class InternMap extends Map{constructor(t,n=N){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const[n,e]of t)this.set(n,e)}get(t){return super.get(A(this,t))}has(t){return super.has(A(this,t))}set(t,n){return super.set(S(this,t),n)}delete(t){return super.delete(E(this,t))}}class InternSet extends Set{constructor(t,n=N){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const n of t)this.add(n)}has(t){return super.has(A(this,t))}add(t){return super.add(S(this,t))}delete(t){return super.delete(E(this,t))}}function A({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function S({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):(t.set(r,e),e)}function E({_intern:t,_key:n},e){const r=n(e);return t.has(r)&&(e=t.get(r),t.delete(r)),e}function N(t){return null!==t&&"object"==typeof t?t.valueOf():t}function k(t){return t}function C(t,...n){return F(t,k,k,n)}function P(t,...n){return F(t,Array.from,k,n)}function z(t,n){for(let e=1,r=n.length;et.pop().map((([n,e])=>[...t,n,e]))));return t}function $(t,n,...e){return F(t,k,n,e)}function D(t,n,...e){return F(t,Array.from,n,e)}function R(t){if(1!==t.length)throw new Error("duplicate key");return t[0]}function F(t,n,e,r){return function t(i,o){if(o>=r.length)return e(i);const a=new InternMap,u=r[o++];let c=-1;for(const t of i){const n=u(t,++c,i),e=a.get(n);e?e.push(t):a.set(n,[t])}for(const[n,e]of a)a.set(n,t(e,o));return n(a)}(t,0)}function q(t,n){return Array.from(n,(n=>t[n]))}function U(t,...n){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");t=Array.from(t);let[e]=n;if(e&&2!==e.length||n.length>1){const r=Uint32Array.from(t,((t,n)=>n));return n.length>1?(n=n.map((n=>t.map(n))),r.sort(((t,e)=>{for(const r of n){const n=O(r[t],r[e]);if(n)return n}}))):(e=t.map(e),r.sort(((t,n)=>O(e[t],e[n])))),q(t,r)}return t.sort(I(e))}function I(t=n){if(t===n)return O;if("function"!=typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}function O(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(tn?1:0)}var B=Array.prototype.slice;function Y(t){return()=>t}const L=Math.sqrt(50),j=Math.sqrt(10),H=Math.sqrt(2);function X(t,n,e){const r=(n-t)/Math.max(0,e),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=L?10:o>=j?5:o>=H?2:1;let u,c,f;return i<0?(f=Math.pow(10,-i)/a,u=Math.round(t*f),c=Math.round(n*f),u/fn&&--c,f=-f):(f=Math.pow(10,i)*a,u=Math.round(t/f),c=Math.round(n/f),u*fn&&--c),c0))return[];if((t=+t)===(n=+n))return[t];const r=n=i))return[];const u=o-i+1,c=new Array(u);if(r)if(a<0)for(let t=0;t0?(t=Math.floor(t/i)*i,n=Math.ceil(n/i)*i):i<0&&(t=Math.ceil(t*i)/i,n=Math.floor(n*i)/i),r=i}}function K(t){return Math.max(1,Math.ceil(Math.log(v(t))/Math.LN2)+1)}function Q(){var t=k,n=M,e=K;function r(r){Array.isArray(r)||(r=Array.from(r));var i,o,a,u=r.length,c=new Array(u);for(i=0;i=h)if(t>=h&&n===M){const t=V(l,h,e);isFinite(t)&&(t>0?h=(Math.floor(h/t)+1)*t:t<0&&(h=(Math.ceil(h*-t)+1)/-t))}else d.pop()}for(var p=d.length,g=0,y=p;d[g]<=l;)++g;for(;d[y-1]>h;)--y;(g||y0?d[i-1]:l,v.x1=i0)for(i=0;i=n)&&(e=n);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e=i)&&(e=i)}return e}function tt(t,n){let e,r=-1,i=-1;if(void 0===n)for(const n of t)++i,null!=n&&(e=n)&&(e=n,r=i);else for(let o of t)null!=(o=n(o,++i,t))&&(e=o)&&(e=o,r=i);return r}function nt(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e>n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e>i||void 0===e&&i>=i)&&(e=i)}return e}function et(t,n){let e,r=-1,i=-1;if(void 0===n)for(const n of t)++i,null!=n&&(e>n||void 0===e&&n>=n)&&(e=n,r=i);else for(let o of t)null!=(o=n(o,++i,t))&&(e>o||void 0===e&&o>=o)&&(e=o,r=i);return r}function rt(t,n,e=0,r=1/0,i){if(n=Math.floor(n),e=Math.floor(Math.max(0,e)),r=Math.floor(Math.min(t.length-1,r)),!(e<=n&&n<=r))return t;for(i=void 0===i?O:I(i);r>e;){if(r-e>600){const o=r-e+1,a=n-e+1,u=Math.log(o),c=.5*Math.exp(2*u/3),f=.5*Math.sqrt(u*c*(o-c)/o)*(a-o/2<0?-1:1);rt(t,n,Math.max(e,Math.floor(n-a*c/o+f)),Math.min(r,Math.floor(n+(o-a)*c/o+f)),i)}const o=t[n];let a=e,u=r;for(it(t,e,n),i(t[r],o)>0&&it(t,e,r);a0;)--u}0===i(t[e],o)?it(t,e,u):(++u,it(t,u,r)),u<=n&&(e=u+1),n<=u&&(r=u-1)}return t}function it(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function ot(t,e=n){let r,i=!1;if(1===e.length){let o;for(const a of t){const t=e(a);(i?n(t,o)>0:0===n(t,t))&&(r=a,o=t,i=!0)}}else for(const n of t)(i?e(n,r)>0:0===e(n,n))&&(r=n,i=!0);return r}function at(t,n,e){if(t=Float64Array.from(function*(t,n){if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(yield n);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(r=+r)>=r&&(yield r)}}(t,e)),(r=t.length)&&!isNaN(n=+n)){if(n<=0||r<2)return nt(t);if(n>=1)return J(t);var r,i=(r-1)*n,o=Math.floor(i),a=J(rt(t,o).subarray(0,o+1));return a+(nt(t.subarray(o+1))-a)*(i-o)}}function ut(t,n,e=o){if((r=t.length)&&!isNaN(n=+n)){if(n<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,a=Math.floor(i),u=+e(t[a],a,t);return u+(+e(t[a+1],a+1,t)-u)*(i-a)}}function ct(t,n,e=o){if(!isNaN(n=+n)){if(r=Float64Array.from(t,((n,r)=>o(e(t[r],r,t)))),n<=0)return et(r);if(n>=1)return tt(r);var r,i=Uint32Array.from(t,((t,n)=>n)),a=r.length-1,u=Math.floor(a*n);return rt(i,u,0,a,((t,n)=>O(r[t],r[n]))),(u=ot(i.subarray(0,u+1),(t=>r[t])))>=0?u:-1}}function ft(t){return Array.from(function*(t){for(const n of t)yield*n}(t))}function st(t,n){return[t,n]}function lt(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r+t(n)}function kt(t,n){return n=Math.max(0,t.bandwidth()-2*n)/2,t.round()&&(n=Math.round(n)),e=>+t(e)+n}function Ct(){return!this.__axis}function Pt(t,n){var e=[],r=null,i=null,o=6,a=6,u=3,c="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,f=t===xt||t===Tt?-1:1,s=t===Tt||t===wt?"x":"y",l=t===xt||t===Mt?St:Et;function h(h){var d=null==r?n.ticks?n.ticks.apply(n,e):n.domain():r,p=null==i?n.tickFormat?n.tickFormat.apply(n,e):mt:i,g=Math.max(o,0)+u,y=n.range(),v=+y[0]+c,_=+y[y.length-1]+c,b=(n.bandwidth?kt:Nt)(n.copy(),c),m=h.selection?h.selection():h,x=m.selectAll(".domain").data([null]),w=m.selectAll(".tick").data(d,n).order(),M=w.exit(),T=w.enter().append("g").attr("class","tick"),A=w.select("line"),S=w.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),w=w.merge(T),A=A.merge(T.append("line").attr("stroke","currentColor").attr(s+"2",f*o)),S=S.merge(T.append("text").attr("fill","currentColor").attr(s,f*g).attr("dy",t===xt?"0em":t===Mt?"0.71em":"0.32em")),h!==m&&(x=x.transition(h),w=w.transition(h),A=A.transition(h),S=S.transition(h),M=M.transition(h).attr("opacity",At).attr("transform",(function(t){return isFinite(t=b(t))?l(t+c):this.getAttribute("transform")})),T.attr("opacity",At).attr("transform",(function(t){var n=this.parentNode.__axis;return l((n&&isFinite(n=n(t))?n:b(t))+c)}))),M.remove(),x.attr("d",t===Tt||t===wt?a?"M"+f*a+","+v+"H"+c+"V"+_+"H"+f*a:"M"+c+","+v+"V"+_:a?"M"+v+","+f*a+"V"+c+"H"+_+"V"+f*a:"M"+v+","+c+"H"+_),w.attr("opacity",1).attr("transform",(function(t){return l(b(t)+c)})),A.attr(s+"2",f*o),S.attr(s,f*g).text(p),m.filter(Ct).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===wt?"start":t===Tt?"end":"middle"),m.each((function(){this.__axis=b}))}return h.scale=function(t){return arguments.length?(n=t,h):n},h.ticks=function(){return e=Array.from(arguments),h},h.tickArguments=function(t){return arguments.length?(e=null==t?[]:Array.from(t),h):e.slice()},h.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),h):r&&r.slice()},h.tickFormat=function(t){return arguments.length?(i=t,h):i},h.tickSize=function(t){return arguments.length?(o=a=+t,h):o},h.tickSizeInner=function(t){return arguments.length?(o=+t,h):o},h.tickSizeOuter=function(t){return arguments.length?(a=+t,h):a},h.tickPadding=function(t){return arguments.length?(u=+t,h):u},h.offset=function(t){return arguments.length?(c=+t,h):c},h}var zt={value:()=>{}};function $t(){for(var t,n=0,e=arguments.length,r={};n=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))),a=-1,u=o.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++a0)for(var e,r,i=new Array(e),o=0;o=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Ut.hasOwnProperty(n)?{space:Ut[n],local:t}:t}function Ot(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===qt&&n.documentElement.namespaceURI===qt?n.createElement(t):n.createElementNS(e,t)}}function Bt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Yt(t){var n=It(t);return(n.local?Bt:Ot)(n)}function Lt(){}function jt(t){return null==t?Lt:function(){return this.querySelector(t)}}function Ht(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function Xt(){return[]}function Gt(t){return null==t?Xt:function(){return this.querySelectorAll(t)}}function Vt(t){return function(){return this.matches(t)}}function Wt(t){return function(n){return n.matches(t)}}var Zt=Array.prototype.find;function Kt(){return this.firstElementChild}var Qt=Array.prototype.filter;function Jt(){return Array.from(this.children)}function tn(t){return new Array(t.length)}function nn(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function en(t,n,e,r,i,o){for(var a,u=0,c=n.length,f=o.length;un?1:t>=n?0:NaN}function cn(t){return function(){this.removeAttribute(t)}}function fn(t){return function(){this.removeAttributeNS(t.space,t.local)}}function sn(t,n){return function(){this.setAttribute(t,n)}}function ln(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function hn(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function dn(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function pn(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function gn(t){return function(){this.style.removeProperty(t)}}function yn(t,n,e){return function(){this.style.setProperty(t,n,e)}}function vn(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function _n(t,n){return t.style.getPropertyValue(n)||pn(t).getComputedStyle(t,null).getPropertyValue(n)}function bn(t){return function(){delete this[t]}}function mn(t,n){return function(){this[t]=n}}function xn(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function wn(t){return t.trim().split(/^|\s+/)}function Mn(t){return t.classList||new Tn(t)}function Tn(t){this._node=t,this._names=wn(t.getAttribute("class")||"")}function An(t,n){for(var e=Mn(t),r=-1,i=n.length;++r=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Gn=[null];function Vn(t,n){this._groups=t,this._parents=n}function Wn(){return new Vn([[document.documentElement]],Gn)}function Zn(t){return"string"==typeof t?new Vn([[document.querySelector(t)]],[document.documentElement]):new Vn([[t]],Gn)}Vn.prototype=Wn.prototype={constructor:Vn,select:function(t){"function"!=typeof t&&(t=jt(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i=m&&(m=b+1);!(_=y[m])&&++m=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=un);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o1?this.each((null==n?gn:"function"==typeof n?vn:yn)(t,n,null==e?"":e)):_n(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?bn:"function"==typeof n?xn:mn)(t,n)):this.node()[t]},classed:function(t,n){var e=wn(t+"");if(arguments.length<2){for(var r=Mn(this.node()),i=-1,o=e.length;++i=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}))}(t+""),a=o.length;if(!(arguments.length<2)){for(u=n?Ln:Yn,r=0;r()=>t;function fe(t,{sourceEvent:n,subject:e,target:r,identifier:i,active:o,x:a,y:u,dx:c,dy:f,dispatch:s}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:e,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:a,enumerable:!0,configurable:!0},y:{value:u,enumerable:!0,configurable:!0},dx:{value:c,enumerable:!0,configurable:!0},dy:{value:f,enumerable:!0,configurable:!0},_:{value:s}})}function se(t){return!t.ctrlKey&&!t.button}function le(){return this.parentNode}function he(t,n){return null==n?{x:t.x,y:t.y}:n}function de(){return navigator.maxTouchPoints||"ontouchstart"in this}function pe(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function ge(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function ye(){}fe.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var ve=.7,_e=1/ve,be="\\s*([+-]?\\d+)\\s*",me="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",xe="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",we=/^#([0-9a-f]{3,8})$/,Me=new RegExp(`^rgb\\(${be},${be},${be}\\)$`),Te=new RegExp(`^rgb\\(${xe},${xe},${xe}\\)$`),Ae=new RegExp(`^rgba\\(${be},${be},${be},${me}\\)$`),Se=new RegExp(`^rgba\\(${xe},${xe},${xe},${me}\\)$`),Ee=new RegExp(`^hsl\\(${me},${xe},${xe}\\)$`),Ne=new RegExp(`^hsla\\(${me},${xe},${xe},${me}\\)$`),ke={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ce(){return this.rgb().formatHex()}function Pe(){return this.rgb().formatRgb()}function ze(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=we.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?$e(n):3===e?new qe(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?De(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?De(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Me.exec(t))?new qe(n[1],n[2],n[3],1):(n=Te.exec(t))?new qe(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Ae.exec(t))?De(n[1],n[2],n[3],n[4]):(n=Se.exec(t))?De(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Ee.exec(t))?Le(n[1],n[2]/100,n[3]/100,1):(n=Ne.exec(t))?Le(n[1],n[2]/100,n[3]/100,n[4]):ke.hasOwnProperty(t)?$e(ke[t]):"transparent"===t?new qe(NaN,NaN,NaN,0):null}function $e(t){return new qe(t>>16&255,t>>8&255,255&t,1)}function De(t,n,e,r){return r<=0&&(t=n=e=NaN),new qe(t,n,e,r)}function Re(t){return t instanceof ye||(t=ze(t)),t?new qe((t=t.rgb()).r,t.g,t.b,t.opacity):new qe}function Fe(t,n,e,r){return 1===arguments.length?Re(t):new qe(t,n,e,null==r?1:r)}function qe(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Ue(){return`#${Ye(this.r)}${Ye(this.g)}${Ye(this.b)}`}function Ie(){const t=Oe(this.opacity);return`${1===t?"rgb(":"rgba("}${Be(this.r)}, ${Be(this.g)}, ${Be(this.b)}${1===t?")":`, ${t})`}`}function Oe(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Be(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ye(t){return((t=Be(t))<16?"0":"")+t.toString(16)}function Le(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new Xe(t,n,e,r)}function je(t){if(t instanceof Xe)return new Xe(t.h,t.s,t.l,t.opacity);if(t instanceof ye||(t=ze(t)),!t)return new Xe;if(t instanceof Xe)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,u=o-i,c=(o+i)/2;return u?(a=n===o?(e-r)/u+6*(e0&&c<1?0:a,new Xe(a,u,c,t.opacity)}function He(t,n,e,r){return 1===arguments.length?je(t):new Xe(t,n,e,null==r?1:r)}function Xe(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Ge(t){return(t=(t||0)%360)<0?t+360:t}function Ve(t){return Math.max(0,Math.min(1,t||0))}function We(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}pe(ye,ze,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Ce,formatHex:Ce,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return je(this).formatHsl()},formatRgb:Pe,toString:Pe}),pe(qe,Fe,ge(ye,{brighter(t){return t=null==t?_e:Math.pow(_e,t),new qe(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?ve:Math.pow(ve,t),new qe(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new qe(Be(this.r),Be(this.g),Be(this.b),Oe(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ue,formatHex:Ue,formatHex8:function(){return`#${Ye(this.r)}${Ye(this.g)}${Ye(this.b)}${Ye(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ie,toString:Ie})),pe(Xe,He,ge(ye,{brighter(t){return t=null==t?_e:Math.pow(_e,t),new Xe(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?ve:Math.pow(ve,t),new Xe(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new qe(We(t>=240?t-240:t+120,i,r),We(t,i,r),We(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Xe(Ge(this.h),Ve(this.s),Ve(this.l),Oe(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Oe(this.opacity);return`${1===t?"hsl(":"hsla("}${Ge(this.h)}, ${100*Ve(this.s)}%, ${100*Ve(this.l)}%${1===t?")":`, ${t})`}`}}));const Ze=Math.PI/180,Ke=180/Math.PI,Qe=.96422,Je=1,tr=.82521,nr=4/29,er=6/29,rr=3*er*er,ir=er*er*er;function or(t){if(t instanceof ur)return new ur(t.l,t.a,t.b,t.opacity);if(t instanceof pr)return gr(t);t instanceof qe||(t=Re(t));var n,e,r=lr(t.r),i=lr(t.g),o=lr(t.b),a=cr((.2225045*r+.7168786*i+.0606169*o)/Je);return r===i&&i===o?n=e=a:(n=cr((.4360747*r+.3850649*i+.1430804*o)/Qe),e=cr((.0139322*r+.0971045*i+.7141733*o)/tr)),new ur(116*a-16,500*(n-a),200*(a-e),t.opacity)}function ar(t,n,e,r){return 1===arguments.length?or(t):new ur(t,n,e,null==r?1:r)}function ur(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function cr(t){return t>ir?Math.pow(t,1/3):t/rr+nr}function fr(t){return t>er?t*t*t:rr*(t-nr)}function sr(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function lr(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function hr(t){if(t instanceof pr)return new pr(t.h,t.c,t.l,t.opacity);if(t instanceof ur||(t=or(t)),0===t.a&&0===t.b)return new pr(NaN,0=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,u=r()=>t;function Cr(t,n){return function(e){return t+e*n}}function Pr(t,n){var e=n-t;return e?Cr(t,e>180||e<-180?e-360*Math.round(e/360):e):kr(isNaN(t)?n:t)}function zr(t){return 1==(t=+t)?$r:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):kr(isNaN(n)?e:n)}}function $r(t,n){var e=n-t;return e?Cr(t,e):kr(isNaN(t)?n:t)}var Dr=function t(n){var e=zr(n);function r(t,n){var r=e((t=Fe(t)).r,(n=Fe(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),a=$r(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function Rr(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),u=new Array(i);for(e=0;eo&&(i=n.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,c.push({i:a,x:Yr(e,r)})),o=Hr.lastIndex;return o180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:Yr(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,a.rotate,u,c),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:Yr(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,a.skewX,u,c),function(t,n,e,r,o,a){if(t!==e||n!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:Yr(t,e)},{i:u-2,x:Yr(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,u,c),o=a=null,function(t){for(var n,e=-1,r=c.length;++e=0&&n._call.call(void 0,t),n=n._next;--yi}function Ci(){xi=(mi=Mi.now())+wi,yi=vi=0;try{ki()}finally{yi=0,function(){var t,n,e=pi,r=1/0;for(;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:pi=n);gi=t,zi(r)}(),xi=0}}function Pi(){var t=Mi.now(),n=t-mi;n>bi&&(wi-=n,mi=t)}function zi(t){yi||(vi&&(vi=clearTimeout(vi)),t-xi>24?(t<1/0&&(vi=setTimeout(Ci,t-Mi.now()-wi)),_i&&(_i=clearInterval(_i))):(_i||(mi=Mi.now(),_i=setInterval(Pi,bi)),yi=1,Ti(Ci)))}function $i(t,n,e){var r=new Ei;return n=null==n?0:+n,r.restart((e=>{r.stop(),t(e+n)}),n,e),r}Ei.prototype=Ni.prototype={constructor:Ei,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Ai():+e)+(null==n?0:+n),this._next||gi===this||(gi?gi._next=this:pi=this,gi=this),this._call=t,this._time=e,zi()},stop:function(){this._call&&(this._call=null,this._time=1/0,zi())}};var Di=$t("start","end","cancel","interrupt"),Ri=[],Fi=0,qi=1,Ui=2,Ii=3,Oi=4,Bi=5,Yi=6;function Li(t,n,e,r,i,o){var a=t.__transition;if(a){if(e in a)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(t){e.state=qi,e.timer.restart(a,e.delay,e.time),e.delay<=t&&a(t-e.delay)}function a(o){var f,s,l,h;if(e.state!==qi)return c();for(f in i)if((h=i[f]).name===e.name){if(h.state===Ii)return $i(a);h.state===Oi?(h.state=Yi,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[f]):+fFi)throw new Error("too late; already scheduled");return e}function Hi(t,n){var e=Xi(t,n);if(e.state>Ii)throw new Error("too late; already running");return e}function Xi(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function Gi(t,n){var e,r,i,o=t.__transition,a=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>Ui&&e.state=0&&(t=t.slice(0,n)),!t||"start"===t}))}(n)?ji:Hi;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(n,e),a.on=i}}(e,t,n))},attr:function(t,n){var e=It(t),r="transform"===e?ni:Ki;return this.attrTween(t,"function"==typeof n?(e.local?ro:eo)(e,r,Zi(this,"attr."+t,n)):null==n?(e.local?Ji:Qi)(e):(e.local?no:to)(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=It(t);return this.tween(e,(r.local?io:oo)(r,n))},style:function(t,n,e){var r="transform"==(t+="")?ti:Ki;return null==n?this.styleTween(t,function(t,n){var e,r,i;return function(){var o=_n(this,t),a=(this.style.removeProperty(t),_n(this,t));return o===a?null:o===e&&a===r?i:i=n(e=o,r=a)}}(t,r)).on("end.style."+t,lo(t)):"function"==typeof n?this.styleTween(t,function(t,n,e){var r,i,o;return function(){var a=_n(this,t),u=e(this),c=u+"";return null==u&&(this.style.removeProperty(t),c=u=_n(this,t)),a===c?null:a===r&&c===i?o:(i=c,o=n(r=a,u))}}(t,r,Zi(this,"style."+t,n))).each(function(t,n){var e,r,i,o,a="style."+n,u="end."+a;return function(){var c=Hi(this,t),f=c.on,s=null==c.value[a]?o||(o=lo(n)):void 0;f===e&&i===s||(r=(e=f).copy()).on(u,i=s),c.on=r}}(this._id,t)):this.styleTween(t,function(t,n,e){var r,i,o=e+"";return function(){var a=_n(this,t);return a===o?null:a===r?i:i=n(r=a,e)}}(t,r,n),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,function(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,n,e){return function(r){this.style.setProperty(t,n.call(this,r),e)}}(t,o,e)),r}return o._value=n,o}(t,n,null==e?"":e))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var n=t(this);this.textContent=null==n?"":n}}(Zi(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;return this.tween(n,function(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){return function(n){this.textContent=t.call(this,n)}}(r)),n}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}(this._id))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=Xi(this.node(),e).tween,o=0,a=i.length;o()=>t;function Qo(t,{sourceEvent:n,target:e,selection:r,mode:i,dispatch:o}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},selection:{value:r,enumerable:!0,configurable:!0},mode:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function Jo(t){t.preventDefault(),t.stopImmediatePropagation()}var ta={name:"drag"},na={name:"space"},ea={name:"handle"},ra={name:"center"};const{abs:ia,max:oa,min:aa}=Math;function ua(t){return[+t[0],+t[1]]}function ca(t){return[ua(t[0]),ua(t[1])]}var fa={name:"x",handles:["w","e"].map(va),input:function(t,n){return null==t?null:[[+t[0],n[0][1]],[+t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},sa={name:"y",handles:["n","s"].map(va),input:function(t,n){return null==t?null:[[n[0][0],+t[0]],[n[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},la={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(va),input:function(t){return null==t?null:ca(t)},output:function(t){return t}},ha={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},da={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},pa={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},ga={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},ya={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function va(t){return{type:t}}function _a(t){return!t.ctrlKey&&!t.button}function ba(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function ma(){return navigator.maxTouchPoints||"ontouchstart"in this}function xa(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function wa(t){var n,e=ba,r=_a,i=ma,o=!0,a=$t("start","brush","end"),u=6;function c(n){var e=n.property("__brush",g).selectAll(".overlay").data([va("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",ha.overlay).merge(e).each((function(){var t=xa(this).extent;Zn(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),n.selectAll(".selection").data([va("selection")]).enter().append("rect").attr("class","selection").attr("cursor",ha.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=n.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return ha[t.type]})),n.each(f).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",h).filter(i).on("touchstart.brush",h).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function f(){var t=Zn(this),n=xa(this).selection;n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?n[1][0]-u/2:n[0][0]-u/2})).attr("y",(function(t){return"s"===t.type[0]?n[1][1]-u/2:n[0][1]-u/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+u:u})).attr("height",(function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+u:u}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function s(t,n,e){var r=t.__brush.emitter;return!r||e&&r.clean?new l(t,n,e):r}function l(t,n,e){this.that=t,this.args=n,this.state=t.__brush,this.active=0,this.clean=e}function h(e){if((!n||e.touches)&&r.apply(this,arguments)){var i,a,u,c,l,h,d,p,g,y,v,_=this,b=e.target.__data__.type,m="selection"===(o&&e.metaKey?b="overlay":b)?ta:o&&e.altKey?ra:ea,x=t===sa?null:ga[b],w=t===fa?null:ya[b],M=xa(_),T=M.extent,A=M.selection,S=T[0][0],E=T[0][1],N=T[1][0],k=T[1][1],C=0,P=0,z=x&&w&&o&&e.shiftKey,$=Array.from(e.touches||[e],(t=>{const n=t.identifier;return(t=ne(t,_)).point0=t.slice(),t.identifier=n,t}));Gi(_);var D=s(_,arguments,!0).beforestart();if("overlay"===b){A&&(g=!0);const n=[$[0],$[1]||$[0]];M.selection=A=[[i=t===sa?S:aa(n[0][0],n[1][0]),u=t===fa?E:aa(n[0][1],n[1][1])],[l=t===sa?N:oa(n[0][0],n[1][0]),d=t===fa?k:oa(n[0][1],n[1][1])]],$.length>1&&I(e)}else i=A[0][0],u=A[0][1],l=A[1][0],d=A[1][1];a=i,c=u,h=l,p=d;var R=Zn(_).attr("pointer-events","none"),F=R.selectAll(".overlay").attr("cursor",ha[b]);if(e.touches)D.moved=U,D.ended=O;else{var q=Zn(e.view).on("mousemove.brush",U,!0).on("mouseup.brush",O,!0);o&&q.on("keydown.brush",(function(t){switch(t.keyCode){case 16:z=x&&w;break;case 18:m===ea&&(x&&(l=h-C*x,i=a+C*x),w&&(d=p-P*w,u=c+P*w),m=ra,I(t));break;case 32:m!==ea&&m!==ra||(x<0?l=h-C:x>0&&(i=a-C),w<0?d=p-P:w>0&&(u=c-P),m=na,F.attr("cursor",ha.selection),I(t));break;default:return}Jo(t)}),!0).on("keyup.brush",(function(t){switch(t.keyCode){case 16:z&&(y=v=z=!1,I(t));break;case 18:m===ra&&(x<0?l=h:x>0&&(i=a),w<0?d=p:w>0&&(u=c),m=ea,I(t));break;case 32:m===na&&(t.altKey?(x&&(l=h-C*x,i=a+C*x),w&&(d=p-P*w,u=c+P*w),m=ra):(x<0?l=h:x>0&&(i=a),w<0?d=p:w>0&&(u=c),m=ea),F.attr("cursor",ha[b]),I(t));break;default:return}Jo(t)}),!0),ae(e.view)}f.call(_),D.start(e,m.name)}function U(t){for(const n of t.changedTouches||[t])for(const t of $)t.identifier===n.identifier&&(t.cur=ne(n,_));if(z&&!y&&!v&&1===$.length){const t=$[0];ia(t.cur[0]-t[0])>ia(t.cur[1]-t[1])?v=!0:y=!0}for(const t of $)t.cur&&(t[0]=t.cur[0],t[1]=t.cur[1]);g=!0,Jo(t),I(t)}function I(t){const n=$[0],e=n.point0;var r;switch(C=n[0]-e[0],P=n[1]-e[1],m){case na:case ta:x&&(C=oa(S-i,aa(N-l,C)),a=i+C,h=l+C),w&&(P=oa(E-u,aa(k-d,P)),c=u+P,p=d+P);break;case ea:$[1]?(x&&(a=oa(S,aa(N,$[0][0])),h=oa(S,aa(N,$[1][0])),x=1),w&&(c=oa(E,aa(k,$[0][1])),p=oa(E,aa(k,$[1][1])),w=1)):(x<0?(C=oa(S-i,aa(N-i,C)),a=i+C,h=l):x>0&&(C=oa(S-l,aa(N-l,C)),a=i,h=l+C),w<0?(P=oa(E-u,aa(k-u,P)),c=u+P,p=d):w>0&&(P=oa(E-d,aa(k-d,P)),c=u,p=d+P));break;case ra:x&&(a=oa(S,aa(N,i-C*x)),h=oa(S,aa(N,l+C*x))),w&&(c=oa(E,aa(k,u-P*w)),p=oa(E,aa(k,d+P*w)))}ht+e))}function za(t,n){var e=0,r=null,i=null,o=null;function a(a){var u,c=a.length,f=new Array(c),s=Pa(0,c),l=new Array(c*c),h=new Array(c),d=0;a=Float64Array.from({length:c*c},n?(t,n)=>a[n%c][n/c|0]:(t,n)=>a[n/c|0][n%c]);for(let n=0;nr(f[t],f[n])));for(const e of s){const r=n;if(t){const t=Pa(1+~c,c).filter((t=>t<0?a[~t*c+e]:a[e*c+t]));i&&t.sort(((t,n)=>i(t<0?-a[~t*c+e]:a[e*c+t],n<0?-a[~n*c+e]:a[e*c+n])));for(const r of t)if(r<0){(l[~r*c+e]||(l[~r*c+e]={source:null,target:null})).target={index:e,startAngle:n,endAngle:n+=a[~r*c+e]*d,value:a[~r*c+e]}}else{(l[e*c+r]||(l[e*c+r]={source:null,target:null})).source={index:e,startAngle:n,endAngle:n+=a[e*c+r]*d,value:a[e*c+r]}}h[e]={index:e,startAngle:r,endAngle:n,value:f[e]}}else{const t=Pa(0,c).filter((t=>a[e*c+t]||a[t*c+e]));i&&t.sort(((t,n)=>i(a[e*c+t],a[e*c+n])));for(const r of t){let t;if(e=0))throw new Error(`invalid digits: ${t}`);if(n>15)return qa;const e=10**n;return function(t){this._+=t[0];for(let n=1,r=t.length;nRa)if(Math.abs(s*u-c*f)>Ra&&i){let h=e-o,d=r-a,p=u*u+c*c,g=h*h+d*d,y=Math.sqrt(p),v=Math.sqrt(l),_=i*Math.tan(($a-Math.acos((p+l-g)/(2*y*v)))/2),b=_/v,m=_/y;Math.abs(b-1)>Ra&&this._append`L${t+b*f},${n+b*s}`,this._append`A${i},${i},0,0,${+(s*h>f*d)},${this._x1=t+m*u},${this._y1=n+m*c}`}else this._append`L${this._x1=t},${this._y1=n}`;else;}arc(t,n,e,r,i,o){if(t=+t,n=+n,o=!!o,(e=+e)<0)throw new Error(`negative radius: ${e}`);let a=e*Math.cos(r),u=e*Math.sin(r),c=t+a,f=n+u,s=1^o,l=o?r-i:i-r;null===this._x1?this._append`M${c},${f}`:(Math.abs(this._x1-c)>Ra||Math.abs(this._y1-f)>Ra)&&this._append`L${c},${f}`,e&&(l<0&&(l=l%Da+Da),l>Fa?this._append`A${e},${e},0,1,${s},${t-a},${n-u}A${e},${e},0,1,${s},${this._x1=c},${this._y1=f}`:l>Ra&&this._append`A${e},${e},0,${+(l>=$a)},${s},${this._x1=t+e*Math.cos(i)},${this._y1=n+e*Math.sin(i)}`)}rect(t,n,e,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${e=+e}v${+r}h${-e}Z`}toString(){return this._}};function Ia(){return new Ua}Ia.prototype=Ua.prototype;var Oa=Array.prototype.slice;function Ba(t){return function(){return t}}function Ya(t){return t.source}function La(t){return t.target}function ja(t){return t.radius}function Ha(t){return t.startAngle}function Xa(t){return t.endAngle}function Ga(){return 0}function Va(){return 10}function Wa(t){var n=Ya,e=La,r=ja,i=ja,o=Ha,a=Xa,u=Ga,c=null;function f(){var f,s=n.apply(this,arguments),l=e.apply(this,arguments),h=u.apply(this,arguments)/2,d=Oa.call(arguments),p=+r.apply(this,(d[0]=s,d)),g=o.apply(this,d)-Ea,y=a.apply(this,d)-Ea,v=+i.apply(this,(d[0]=l,d)),_=o.apply(this,d)-Ea,b=a.apply(this,d)-Ea;if(c||(c=f=Ia()),h>Ca&&(Ma(y-g)>2*h+Ca?y>g?(g+=h,y-=h):(g-=h,y+=h):g=y=(g+y)/2,Ma(b-_)>2*h+Ca?b>_?(_+=h,b-=h):(_-=h,b+=h):_=b=(_+b)/2),c.moveTo(p*Ta(g),p*Aa(g)),c.arc(0,0,p,g,y),g!==_||y!==b)if(t){var m=v-+t.apply(this,arguments),x=(_+b)/2;c.quadraticCurveTo(0,0,m*Ta(_),m*Aa(_)),c.lineTo(v*Ta(x),v*Aa(x)),c.lineTo(m*Ta(b),m*Aa(b))}else c.quadraticCurveTo(0,0,v*Ta(_),v*Aa(_)),c.arc(0,0,v,_,b);if(c.quadraticCurveTo(0,0,p*Ta(g),p*Aa(g)),c.closePath(),f)return c=null,f+""||null}return t&&(f.headRadius=function(n){return arguments.length?(t="function"==typeof n?n:Ba(+n),f):t}),f.radius=function(t){return arguments.length?(r=i="function"==typeof t?t:Ba(+t),f):r},f.sourceRadius=function(t){return arguments.length?(r="function"==typeof t?t:Ba(+t),f):r},f.targetRadius=function(t){return arguments.length?(i="function"==typeof t?t:Ba(+t),f):i},f.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:Ba(+t),f):o},f.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:Ba(+t),f):a},f.padAngle=function(t){return arguments.length?(u="function"==typeof t?t:Ba(+t),f):u},f.source=function(t){return arguments.length?(n=t,f):n},f.target=function(t){return arguments.length?(e=t,f):e},f.context=function(t){return arguments.length?(c=null==t?null:t,f):c},f}var Za=Array.prototype.slice;function Ka(t,n){return t-n}var Qa=t=>()=>t;function Ja(t,n){for(var e,r=-1,i=n.length;++rr!=d>r&&e<(h-f)*(r-s)/(d-s)+f&&(i=-i)}return i}function nu(t,n,e){var r,i,o,a;return function(t,n,e){return(n[0]-t[0])*(e[1]-t[1])==(e[0]-t[0])*(n[1]-t[1])}(t,n,e)&&(i=t[r=+(t[0]===n[0])],o=e[r],a=n[r],i<=o&&o<=a||a<=o&&o<=i)}function eu(){}var ru=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function iu(){var t=1,n=1,e=K,r=u;function i(t){var n=e(t);if(Array.isArray(n))n=n.slice().sort(Ka);else{const e=M(t,ou);for(n=G(...Z(e[0],e[1],n),n);n[n.length-1]>=e[1];)n.pop();for(;n[1]o(t,n)))}function o(e,i){const o=null==i?NaN:+i;if(isNaN(o))throw new Error(`invalid value: ${i}`);var u=[],c=[];return function(e,r,i){var o,u,c,f,s,l,h=new Array,d=new Array;o=u=-1,f=au(e[0],r),ru[f<<1].forEach(p);for(;++o=r,ru[s<<2].forEach(p);for(;++o0?u.push([t]):c.push(t)})),c.forEach((function(t){for(var n,e=0,r=u.length;e0&&o0&&a=0&&o>=0))throw new Error("invalid size");return t=r,n=o,i},i.thresholds=function(t){return arguments.length?(e="function"==typeof t?t:Array.isArray(t)?Qa(Za.call(t)):Qa(t),i):e},i.smooth=function(t){return arguments.length?(r=t?u:eu,i):r===u},i}function ou(t){return isFinite(t)?t:NaN}function au(t,n){return null!=t&&+t>=n}function uu(t){return null==t||isNaN(t=+t)?-1/0:t}function cu(t,n,e,r){const i=r-n,o=e-n,a=isFinite(i)||isFinite(o)?i/o:Math.sign(i)/Math.sign(o);return isNaN(a)?t:t+a-.5}function fu(t){return t[0]}function su(t){return t[1]}function lu(){return 1}const hu=134217729,du=33306690738754706e-32;function pu(t,n,e,r,i){let o,a,u,c,f=n[0],s=r[0],l=0,h=0;s>f==s>-f?(o=f,f=n[++l]):(o=s,s=r[++h]);let d=0;if(lf==s>-f?(a=f+o,u=o-(a-f),f=n[++l]):(a=s+o,u=o-(a-s),s=r[++h]),o=a,0!==u&&(i[d++]=u);lf==s>-f?(a=o+f,c=a-o,u=o-(a-c)+(f-c),f=n[++l]):(a=o+s,c=a-o,u=o-(a-c)+(s-c),s=r[++h]),o=a,0!==u&&(i[d++]=u);for(;l=33306690738754716e-32*f?c:-function(t,n,e,r,i,o,a){let u,c,f,s,l,h,d,p,g,y,v,_,b,m,x,w,M,T;const A=t-i,S=e-i,E=n-o,N=r-o;m=A*N,h=hu*A,d=h-(h-A),p=A-d,h=hu*N,g=h-(h-N),y=N-g,x=p*y-(m-d*g-p*g-d*y),w=E*S,h=hu*E,d=h-(h-E),p=E-d,h=hu*S,g=h-(h-S),y=S-g,M=p*y-(w-d*g-p*g-d*y),v=x-M,l=x-v,_u[0]=x-(v+l)+(l-M),_=m+v,l=_-m,b=m-(_-l)+(v-l),v=b-w,l=b-v,_u[1]=b-(v+l)+(l-w),T=_+v,l=T-_,_u[2]=_-(T-l)+(v-l),_u[3]=T;let k=function(t,n){let e=n[0];for(let r=1;r=C||-k>=C)return k;if(l=t-A,u=t-(A+l)+(l-i),l=e-S,f=e-(S+l)+(l-i),l=n-E,c=n-(E+l)+(l-o),l=r-N,s=r-(N+l)+(l-o),0===u&&0===c&&0===f&&0===s)return k;if(C=vu*a+du*Math.abs(k),k+=A*s+N*u-(E*f+S*c),k>=C||-k>=C)return k;m=u*N,h=hu*u,d=h-(h-u),p=u-d,h=hu*N,g=h-(h-N),y=N-g,x=p*y-(m-d*g-p*g-d*y),w=c*S,h=hu*c,d=h-(h-c),p=c-d,h=hu*S,g=h-(h-S),y=S-g,M=p*y-(w-d*g-p*g-d*y),v=x-M,l=x-v,wu[0]=x-(v+l)+(l-M),_=m+v,l=_-m,b=m-(_-l)+(v-l),v=b-w,l=b-v,wu[1]=b-(v+l)+(l-w),T=_+v,l=T-_,wu[2]=_-(T-l)+(v-l),wu[3]=T;const P=pu(4,_u,4,wu,bu);m=A*s,h=hu*A,d=h-(h-A),p=A-d,h=hu*s,g=h-(h-s),y=s-g,x=p*y-(m-d*g-p*g-d*y),w=E*f,h=hu*E,d=h-(h-E),p=E-d,h=hu*f,g=h-(h-f),y=f-g,M=p*y-(w-d*g-p*g-d*y),v=x-M,l=x-v,wu[0]=x-(v+l)+(l-M),_=m+v,l=_-m,b=m-(_-l)+(v-l),v=b-w,l=b-v,wu[1]=b-(v+l)+(l-w),T=_+v,l=T-_,wu[2]=_-(T-l)+(v-l),wu[3]=T;const z=pu(P,bu,4,wu,mu);m=u*s,h=hu*u,d=h-(h-u),p=u-d,h=hu*s,g=h-(h-s),y=s-g,x=p*y-(m-d*g-p*g-d*y),w=c*f,h=hu*c,d=h-(h-c),p=c-d,h=hu*f,g=h-(h-f),y=f-g,M=p*y-(w-d*g-p*g-d*y),v=x-M,l=x-v,wu[0]=x-(v+l)+(l-M),_=m+v,l=_-m,b=m-(_-l)+(v-l),v=b-w,l=b-v,wu[1]=b-(v+l)+(l-w),T=_+v,l=T-_,wu[2]=_-(T-l)+(v-l),wu[3]=T;const $=pu(z,mu,4,wu,xu);return xu[$-1]}(t,n,e,r,i,o,f)}const Tu=Math.pow(2,-52),Au=new Uint32Array(512);class Su{static from(t,n=zu,e=$u){const r=t.length,i=new Float64Array(2*r);for(let o=0;o>1;if(n>0&&"number"!=typeof t[0])throw new Error("Expected coords to contain numbers.");this.coords=t;const e=Math.max(2*n-5,0);this._triangles=new Uint32Array(3*e),this._halfedges=new Int32Array(3*e),this._hashSize=Math.ceil(Math.sqrt(n)),this._hullPrev=new Uint32Array(n),this._hullNext=new Uint32Array(n),this._hullTri=new Uint32Array(n),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(n),this._dists=new Float64Array(n),this.update()}update(){const{coords:t,_hullPrev:n,_hullNext:e,_hullTri:r,_hullHash:i}=this,o=t.length>>1;let a=1/0,u=1/0,c=-1/0,f=-1/0;for(let n=0;nc&&(c=e),r>f&&(f=r),this._ids[n]=n}const s=(a+c)/2,l=(u+f)/2;let h,d,p;for(let n=0,e=1/0;n0&&(d=n,e=r)}let v=t[2*d],_=t[2*d+1],b=1/0;for(let n=0;nr&&(n[e++]=i,r=o)}return this.hull=n.subarray(0,e),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(Mu(g,y,v,_,m,x)<0){const t=d,n=v,e=_;d=p,v=m,_=x,p=t,m=n,x=e}const w=function(t,n,e,r,i,o){const a=e-t,u=r-n,c=i-t,f=o-n,s=a*a+u*u,l=c*c+f*f,h=.5/(a*f-u*c),d=t+(f*s-u*l)*h,p=n+(a*l-c*s)*h;return{x:d,y:p}}(g,y,v,_,m,x);this._cx=w.x,this._cy=w.y;for(let n=0;n0&&Math.abs(f-o)<=Tu&&Math.abs(s-a)<=Tu)continue;if(o=f,a=s,c===h||c===d||c===p)continue;let l=0;for(let t=0,n=this._hashKey(f,s);t=0;)if(y=g,y===l){y=-1;break}if(-1===y)continue;let v=this._addTriangle(y,c,e[y],-1,-1,r[y]);r[c]=this._legalize(v+2),r[y]=v,M++;let _=e[y];for(;g=e[_],Mu(f,s,t[2*_],t[2*_+1],t[2*g],t[2*g+1])<0;)v=this._addTriangle(_,c,g,r[c],-1,r[_]),r[c]=this._legalize(v+2),e[_]=_,M--,_=g;if(y===l)for(;g=n[y],Mu(f,s,t[2*g],t[2*g+1],t[2*y],t[2*y+1])<0;)v=this._addTriangle(g,c,y,-1,r[y],r[g]),this._legalize(v+2),r[g]=v,e[y]=y,M--,y=g;this._hullStart=n[c]=y,e[y]=n[_]=c,e[c]=_,i[this._hashKey(f,s)]=c,i[this._hashKey(t[2*y],t[2*y+1])]=y}this.hull=new Uint32Array(M);for(let t=0,n=this._hullStart;t0?3-e:1+e)/4}(t-this._cx,n-this._cy)*this._hashSize)%this._hashSize}_legalize(t){const{_triangles:n,_halfedges:e,coords:r}=this;let i=0,o=0;for(;;){const a=e[t],u=t-t%3;if(o=u+(t+2)%3,-1===a){if(0===i)break;t=Au[--i];continue}const c=a-a%3,f=u+(t+1)%3,s=c+(a+2)%3,l=n[o],h=n[t],d=n[f],p=n[s];if(Nu(r[2*l],r[2*l+1],r[2*h],r[2*h+1],r[2*d],r[2*d+1],r[2*p],r[2*p+1])){n[t]=p,n[a]=l;const r=e[s];if(-1===r){let n=this._hullStart;do{if(this._hullTri[n]===s){this._hullTri[n]=t;break}n=this._hullPrev[n]}while(n!==this._hullStart)}this._link(t,r),this._link(a,e[o]),this._link(o,s);const u=c+(a+1)%3;i=e&&n[t[a]]>o;)t[a+1]=t[a--];t[a+1]=r}else{let i=e+1,o=r;Pu(t,e+r>>1,i),n[t[e]]>n[t[r]]&&Pu(t,e,r),n[t[i]]>n[t[r]]&&Pu(t,i,r),n[t[e]]>n[t[i]]&&Pu(t,e,i);const a=t[i],u=n[a];for(;;){do{i++}while(n[t[i]]u);if(o=o-e?(Cu(t,n,i,r),Cu(t,n,e,o-1)):(Cu(t,n,e,o-1),Cu(t,n,i,r))}}function Pu(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function zu(t){return t[0]}function $u(t){return t[1]}const Du=1e-6;class Ru{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(t,n){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(t,n){this._+=`L${this._x1=+t},${this._y1=+n}`}arc(t,n,e){const r=(t=+t)+(e=+e),i=n=+n;if(e<0)throw new Error("negative radius");null===this._x1?this._+=`M${r},${i}`:(Math.abs(this._x1-r)>Du||Math.abs(this._y1-i)>Du)&&(this._+="L"+r+","+i),e&&(this._+=`A${e},${e},0,1,1,${t-e},${n}A${e},${e},0,1,1,${this._x1=r},${this._y1=i}`)}rect(t,n,e,r){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${+e}v${+r}h${-e}Z`}value(){return this._||null}}class Fu{constructor(){this._=[]}moveTo(t,n){this._.push([t,n])}closePath(){this._.push(this._[0].slice())}lineTo(t,n){this._.push([t,n])}value(){return this._.length?this._:null}}class qu{constructor(t,[n,e,r,i]=[0,0,960,500]){if(!((r=+r)>=(n=+n)&&(i=+i)>=(e=+e)))throw new Error("invalid bounds");this.delaunay=t,this._circumcenters=new Float64Array(2*t.points.length),this.vectors=new Float64Array(2*t.points.length),this.xmax=r,this.xmin=n,this.ymax=i,this.ymin=e,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:t,hull:n,triangles:e},vectors:r}=this;let i,o;const a=this.circumcenters=this._circumcenters.subarray(0,e.length/3*2);for(let r,u,c=0,f=0,s=e.length;c1;)i-=2;for(let t=2;t0){if(n>=this.ymax)return null;(i=(this.ymax-n)/r)0){if(t>=this.xmax)return null;(i=(this.xmax-t)/e)this.xmax?2:0)|(nthis.ymax?8:0)}_simplify(t){if(t&&t.length>4){for(let n=0;n2&&function(t){const{triangles:n,coords:e}=t;for(let t=0;t1e-10)return!1}return!0}(t)){this.collinear=Int32Array.from({length:n.length/2},((t,n)=>n)).sort(((t,e)=>n[2*t]-n[2*e]||n[2*t+1]-n[2*e+1]));const t=this.collinear[0],e=this.collinear[this.collinear.length-1],r=[n[2*t],n[2*t+1],n[2*e],n[2*e+1]],i=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let t=0,e=n.length/2;t0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],o[r[0]]=1,2===r.length&&(o[r[1]]=0,this.triangles[1]=r[1],this.triangles[2]=r[1]))}voronoi(t){return new qu(this,t)}*neighbors(t){const{inedges:n,hull:e,_hullIndex:r,halfedges:i,triangles:o,collinear:a}=this;if(a){const n=a.indexOf(t);return n>0&&(yield a[n-1]),void(n=0&&i!==e&&i!==r;)e=i;return i}_step(t,n,e){const{inedges:r,hull:i,_hullIndex:o,halfedges:a,triangles:u,points:c}=this;if(-1===r[t]||!c.length)return(t+1)%(c.length>>1);let f=t,s=Iu(n-c[2*t],2)+Iu(e-c[2*t+1],2);const l=r[t];let h=l;do{let r=u[h];const l=Iu(n-c[2*r],2)+Iu(e-c[2*r+1],2);if(l9999?"+"+Ku(n,6):Ku(n,4))+"-"+Ku(t.getUTCMonth()+1,2)+"-"+Ku(t.getUTCDate(),2)+(o?"T"+Ku(e,2)+":"+Ku(r,2)+":"+Ku(i,2)+"."+Ku(o,3)+"Z":i?"T"+Ku(e,2)+":"+Ku(r,2)+":"+Ku(i,2)+"Z":r||e?"T"+Ku(e,2)+":"+Ku(r,2)+"Z":"")}function Ju(t){var n=new RegExp('["'+t+"\n\r]"),e=t.charCodeAt(0);function r(t,n){var r,i=[],o=t.length,a=0,u=0,c=o<=0,f=!1;function s(){if(c)return Hu;if(f)return f=!1,ju;var n,r,i=a;if(t.charCodeAt(i)===Xu){for(;a++=o?c=!0:(r=t.charCodeAt(a++))===Gu?f=!0:r===Vu&&(f=!0,t.charCodeAt(a)===Gu&&++a),t.slice(i+1,n-1).replace(/""/g,'"')}for(;amc(n,e).then((n=>(new DOMParser).parseFromString(n,t)))}var Sc=Ac("application/xml"),Ec=Ac("text/html"),Nc=Ac("image/svg+xml");function kc(t,n,e,r){if(isNaN(n)||isNaN(e))return t;var i,o,a,u,c,f,s,l,h,d=t._root,p={data:r},g=t._x0,y=t._y0,v=t._x1,_=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((f=n>=(o=(g+v)/2))?g=o:v=o,(s=e>=(a=(y+_)/2))?y=a:_=a,i=d,!(d=d[l=s<<1|f]))return i[l]=p,t;if(u=+t._x.call(null,d.data),c=+t._y.call(null,d.data),n===u&&e===c)return p.next=d,i?i[l]=p:t._root=p,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(o=(g+v)/2))?g=o:v=o,(s=e>=(a=(y+_)/2))?y=a:_=a}while((l=s<<1|f)==(h=(c>=a)<<1|u>=o));return i[h]=d,i[l]=p,t}function Cc(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i}function Pc(t){return t[0]}function zc(t){return t[1]}function $c(t,n,e){var r=new Dc(null==n?Pc:n,null==e?zc:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function Dc(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Rc(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}var Fc=$c.prototype=Dc.prototype;function qc(t){return function(){return t}}function Uc(t){return 1e-6*(t()-.5)}function Ic(t){return t.x+t.vx}function Oc(t){return t.y+t.vy}function Bc(t){return t.index}function Yc(t,n){var e=t.get(n);if(!e)throw new Error("node not found: "+n);return e}Fc.copy=function(){var t,n,e=new Dc(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=Rc(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=Rc(n));return e},Fc.add=function(t){const n=+this._x.call(null,t),e=+this._y.call(null,t);return kc(this.cover(n,e),n,e,t)},Fc.addAll=function(t){var n,e,r,i,o=t.length,a=new Array(o),u=new Array(o),c=1/0,f=1/0,s=-1/0,l=-1/0;for(e=0;es&&(s=r),il&&(l=i));if(c>s||f>l)return this;for(this.cover(c,f).cover(s,l),e=0;et||t>=i||r>n||n>=o;)switch(u=(nh||(o=c.y0)>d||(a=c.x1)=v)<<1|t>=y)&&(c=p[p.length-1],p[p.length-1]=p[p.length-1-f],p[p.length-1-f]=c)}else{var _=t-+this._x.call(null,g.data),b=n-+this._y.call(null,g.data),m=_*_+b*b;if(m=(u=(p+y)/2))?p=u:y=u,(s=a>=(c=(g+v)/2))?g=c:v=c,n=d,!(d=d[l=s<<1|f]))return this;if(!d.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[h]=d:this._root=d),this):(this._root=i,this)},Fc.removeAll=function(t){for(var n=0,e=t.length;n1?r[0]+r.slice(2):r,+t.slice(e+1)]}function Zc(t){return(t=Wc(Math.abs(t)))?t[1]:NaN}var Kc,Qc=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Jc(t){if(!(n=Qc.exec(t)))throw new Error("invalid format: "+t);var n;return new tf({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function tf(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function nf(t,n){var e=Wc(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}Jc.prototype=tf.prototype,tf.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var ef={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>nf(100*t,n),r:nf,s:function(t,n){var e=Wc(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(Kc=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Wc(t,Math.max(0,n+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function rf(t){return t}var of,af=Array.prototype.map,uf=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function cf(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?rf:(n=af.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,u=n[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),o.push(t.substring(i-=u,i+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return o.reverse().join(e)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?rf:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(af.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",f=void 0===t.minus?"−":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function l(t){var n=(t=Jc(t)).fill,e=t.align,l=t.sign,h=t.symbol,d=t.zero,p=t.width,g=t.comma,y=t.precision,v=t.trim,_=t.type;"n"===_?(g=!0,_="g"):ef[_]||(void 0===y&&(y=12),v=!0,_="g"),(d||"0"===n&&"="===e)&&(d=!0,n="0",e="=");var b="$"===h?i:"#"===h&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",m="$"===h?o:/[%p]/.test(_)?c:"",x=ef[_],w=/[defgprs%]/.test(_);function M(t){var i,o,c,h=b,M=m;if("c"===_)M=x(t)+M,t="";else{var T=(t=+t)<0||1/t<0;if(t=isNaN(t)?s:x(Math.abs(t),y),v&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),T&&0==+t&&"+"!==l&&(T=!1),h=(T?"("===l?l:f:"-"===l||"("===l?"":l)+h,M=("s"===_?uf[8+Kc/3]:"")+M+(T&&"("===l?")":""),w)for(i=-1,o=t.length;++i(c=t.charCodeAt(i))||c>57){M=(46===c?a+t.slice(i+1):t.slice(i))+M,t=t.slice(0,i);break}}g&&!d&&(t=r(t,1/0));var A=h.length+t.length+M.length,S=A>1)+h+t+M+S.slice(A);break;default:t=S+h+t+M}return u(t)}return y=void 0===y?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),M.toString=function(){return t+""},M}return{format:l,formatPrefix:function(t,n){var e=l(((t=Jc(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Zc(n)/3))),i=Math.pow(10,-r),o=uf[8+r/3];return function(t){return e(i*t)+o}}}}function ff(n){return of=cf(n),t.format=of.format,t.formatPrefix=of.formatPrefix,of}function sf(t){return Math.max(0,-Zc(Math.abs(t)))}function lf(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Zc(n)/3)))-Zc(Math.abs(t)))}function hf(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Zc(n)-Zc(t))+1}t.format=void 0,t.formatPrefix=void 0,ff({thousands:",",grouping:[3],currency:["$",""]});var df=1e-6,pf=1e-12,gf=Math.PI,yf=gf/2,vf=gf/4,_f=2*gf,bf=180/gf,mf=gf/180,xf=Math.abs,wf=Math.atan,Mf=Math.atan2,Tf=Math.cos,Af=Math.ceil,Sf=Math.exp,Ef=Math.hypot,Nf=Math.log,kf=Math.pow,Cf=Math.sin,Pf=Math.sign||function(t){return t>0?1:t<0?-1:0},zf=Math.sqrt,$f=Math.tan;function Df(t){return t>1?0:t<-1?gf:Math.acos(t)}function Rf(t){return t>1?yf:t<-1?-yf:Math.asin(t)}function Ff(t){return(t=Cf(t/2))*t}function qf(){}function Uf(t,n){t&&Of.hasOwnProperty(t.type)&&Of[t.type](t,n)}var If={Feature:function(t,n){Uf(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r=0?1:-1,i=r*e,o=Tf(n=(n*=mf)/2+vf),a=Cf(n),u=Vf*a,c=Gf*o+u*Tf(i),f=u*r*Cf(i);as.add(Mf(f,c)),Xf=t,Gf=o,Vf=a}function ds(t){return[Mf(t[1],t[0]),Rf(t[2])]}function ps(t){var n=t[0],e=t[1],r=Tf(e);return[r*Tf(n),r*Cf(n),Cf(e)]}function gs(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function ys(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function vs(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function _s(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function bs(t){var n=zf(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var ms,xs,ws,Ms,Ts,As,Ss,Es,Ns,ks,Cs,Ps,zs,$s,Ds,Rs,Fs={point:qs,lineStart:Is,lineEnd:Os,polygonStart:function(){Fs.point=Bs,Fs.lineStart=Ys,Fs.lineEnd=Ls,rs=new T,cs.polygonStart()},polygonEnd:function(){cs.polygonEnd(),Fs.point=qs,Fs.lineStart=Is,Fs.lineEnd=Os,as<0?(Wf=-(Kf=180),Zf=-(Qf=90)):rs>df?Qf=90:rs<-df&&(Zf=-90),os[0]=Wf,os[1]=Kf},sphere:function(){Wf=-(Kf=180),Zf=-(Qf=90)}};function qs(t,n){is.push(os=[Wf=t,Kf=t]),nQf&&(Qf=n)}function Us(t,n){var e=ps([t*mf,n*mf]);if(es){var r=ys(es,e),i=ys([r[1],-r[0],0],r);bs(i),i=ds(i);var o,a=t-Jf,u=a>0?1:-1,c=i[0]*bf*u,f=xf(a)>180;f^(u*JfQf&&(Qf=o):f^(u*Jf<(c=(c+360)%360-180)&&cQf&&(Qf=n)),f?tjs(Wf,Kf)&&(Kf=t):js(t,Kf)>js(Wf,Kf)&&(Wf=t):Kf>=Wf?(tKf&&(Kf=t)):t>Jf?js(Wf,t)>js(Wf,Kf)&&(Kf=t):js(t,Kf)>js(Wf,Kf)&&(Wf=t)}else is.push(os=[Wf=t,Kf=t]);nQf&&(Qf=n),es=e,Jf=t}function Is(){Fs.point=Us}function Os(){os[0]=Wf,os[1]=Kf,Fs.point=qs,es=null}function Bs(t,n){if(es){var e=t-Jf;rs.add(xf(e)>180?e+(e>0?360:-360):e)}else ts=t,ns=n;cs.point(t,n),Us(t,n)}function Ys(){cs.lineStart()}function Ls(){Bs(ts,ns),cs.lineEnd(),xf(rs)>df&&(Wf=-(Kf=180)),os[0]=Wf,os[1]=Kf,es=null}function js(t,n){return(n-=t)<0?n+360:n}function Hs(t,n){return t[0]-n[0]}function Xs(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:ngf&&(t-=Math.round(t/_f)*_f),[t,n]}function ul(t,n,e){return(t%=_f)?n||e?ol(fl(t),sl(n,e)):fl(t):n||e?sl(n,e):al}function cl(t){return function(n,e){return xf(n+=t)>gf&&(n-=Math.round(n/_f)*_f),[n,e]}}function fl(t){var n=cl(t);return n.invert=cl(-t),n}function sl(t,n){var e=Tf(t),r=Cf(t),i=Tf(n),o=Cf(n);function a(t,n){var a=Tf(n),u=Tf(t)*a,c=Cf(t)*a,f=Cf(n),s=f*e+u*r;return[Mf(c*i-s*o,u*e-f*r),Rf(s*i+c*o)]}return a.invert=function(t,n){var a=Tf(n),u=Tf(t)*a,c=Cf(t)*a,f=Cf(n),s=f*i-c*o;return[Mf(c*i+f*o,u*e+s*r),Rf(s*e-u*r)]},a}function ll(t){function n(n){return(n=t(n[0]*mf,n[1]*mf))[0]*=bf,n[1]*=bf,n}return t=ul(t[0]*mf,t[1]*mf,t.length>2?t[2]*mf:0),n.invert=function(n){return(n=t.invert(n[0]*mf,n[1]*mf))[0]*=bf,n[1]*=bf,n},n}function hl(t,n,e,r,i,o){if(e){var a=Tf(n),u=Cf(n),c=r*e;null==i?(i=n+r*_f,o=n-c/2):(i=dl(a,i),o=dl(a,o),(r>0?io)&&(i+=r*_f));for(var f,s=i;r>0?s>o:s1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function gl(t,n){return xf(t[0]-n[0])=0;--o)i.point((s=f[o])[0],s[1]);else r(h.x,h.p.x,-1,i);h=h.p}f=(h=h.o).z,d=!d}while(!h.v);i.lineEnd()}}}function _l(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0?1:-1,E=S*A,N=E>gf,k=y*w;if(c.add(Mf(k*S*Cf(E),v*M+k*Tf(E))),a+=N?A+S*_f:A,N^p>=e^m>=e){var C=ys(ps(d),ps(b));bs(C);var P=ys(o,C);bs(P);var z=(N^A>=0?-1:1)*Rf(P[2]);(r>z||r===z&&(C[0]||C[1]))&&(u+=N^A>=0?1:-1)}}return(a<-df||a0){for(l||(i.polygonStart(),l=!0),i.lineStart(),t=0;t1&&2&c&&h.push(h.pop().concat(h.shift())),a.push(h.filter(wl))}return h}}function wl(t){return t.length>1}function Ml(t,n){return((t=t.x)[0]<0?t[1]-yf-df:yf-t[1])-((n=n.x)[0]<0?n[1]-yf-df:yf-n[1])}al.invert=al;var Tl=xl((function(){return!0}),(function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,a){var u=o>0?gf:-gf,c=xf(o-e);xf(c-gf)0?yf:-yf),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),t.point(o,r),n=0):i!==u&&c>=gf&&(xf(e-i)df?wf((Cf(n)*(o=Tf(r))*Cf(e)-Cf(r)*(i=Tf(n))*Cf(t))/(i*o*a)):(n+r)/2}(e,r,o,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),n=0),t.point(e=o,r=a),i=u},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}),(function(t,n,e,r){var i;if(null==t)i=e*yf,r.point(-gf,i),r.point(0,i),r.point(gf,i),r.point(gf,0),r.point(gf,-i),r.point(0,-i),r.point(-gf,-i),r.point(-gf,0),r.point(-gf,i);else if(xf(t[0]-n[0])>df){var o=t[0]0,i=xf(n)>df;function o(t,e){return Tf(t)*Tf(e)>n}function a(t,e,r){var i=[1,0,0],o=ys(ps(t),ps(e)),a=gs(o,o),u=o[0],c=a-u*u;if(!c)return!r&&t;var f=n*a/c,s=-n*u/c,l=ys(i,o),h=_s(i,f);vs(h,_s(o,s));var d=l,p=gs(h,d),g=gs(d,d),y=p*p-g*(gs(h,h)-1);if(!(y<0)){var v=zf(y),_=_s(d,(-p-v)/g);if(vs(_,h),_=ds(_),!r)return _;var b,m=t[0],x=e[0],w=t[1],M=e[1];x0^_[1]<(xf(_[0]-m)gf^(m<=_[0]&&_[0]<=x)){var S=_s(d,(-p+v)/g);return vs(S,h),[_,ds(S)]}}}function u(n,e){var i=r?t:gf-t,o=0;return n<-i?o|=1:n>i&&(o|=2),e<-i?o|=4:e>i&&(o|=8),o}return xl(o,(function(t){var n,e,c,f,s;return{lineStart:function(){f=c=!1,s=1},point:function(l,h){var d,p=[l,h],g=o(l,h),y=r?g?0:u(l,h):g?u(l+(l<0?gf:-gf),h):0;if(!n&&(f=c=g)&&t.lineStart(),g!==c&&(!(d=a(n,p))||gl(n,d)||gl(p,d))&&(p[2]=1),g!==c)s=0,g?(t.lineStart(),d=a(p,n),t.point(d[0],d[1])):(d=a(n,p),t.point(d[0],d[1],2),t.lineEnd()),n=d;else if(i&&n&&r^g){var v;y&e||!(v=a(p,n,!0))||(s=0,r?(t.lineStart(),t.point(v[0][0],v[0][1]),t.point(v[1][0],v[1][1]),t.lineEnd()):(t.point(v[1][0],v[1][1]),t.lineEnd(),t.lineStart(),t.point(v[0][0],v[0][1],3)))}!g||n&&gl(n,p)||t.point(p[0],p[1]),n=p,c=g,e=y},lineEnd:function(){c&&t.lineEnd(),n=null},clean:function(){return s|(f&&c)<<1}}}),(function(n,r,i,o){hl(o,t,e,i,n,r)}),r?[0,-t]:[-gf,t-gf])}var Sl,El,Nl,kl,Cl=1e9,Pl=-Cl;function zl(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,u,f){var s=0,l=0;if(null==i||(s=a(i,u))!==(l=a(o,u))||c(i,o)<0^u>0)do{f.point(0===s||3===s?t:e,s>1?r:n)}while((s=(s+u+4)%4)!==l);else f.point(o[0],o[1])}function a(r,i){return xf(r[0]-t)0?0:3:xf(r[0]-e)0?2:1:xf(r[1]-n)0?1:0:i>0?3:2}function u(t,n){return c(t.x,n.x)}function c(t,n){var e=a(t,1),r=a(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(a){var c,f,s,l,h,d,p,g,y,v,_,b=a,m=pl(),x={point:w,lineStart:function(){x.point=M,f&&f.push(s=[]);v=!0,y=!1,p=g=NaN},lineEnd:function(){c&&(M(l,h),d&&y&&m.rejoin(),c.push(m.result()));x.point=w,y&&b.lineEnd()},polygonStart:function(){b=m,c=[],f=[],_=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,i=f.length;er&&(h-o)*(r-a)>(d-a)*(t-o)&&++n:d<=r&&(h-o)*(r-a)<(d-a)*(t-o)&&--n;return n}(),e=_&&n,i=(c=ft(c)).length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&vl(c,u,n,o,a),a.polygonEnd());b=a,c=f=s=null}};function w(t,n){i(t,n)&&b.point(t,n)}function M(o,a){var u=i(o,a);if(f&&s.push([o,a]),v)l=o,h=a,d=u,v=!1,u&&(b.lineStart(),b.point(o,a));else if(u&&y)b.point(o,a);else{var c=[p=Math.max(Pl,Math.min(Cl,p)),g=Math.max(Pl,Math.min(Cl,g))],m=[o=Math.max(Pl,Math.min(Cl,o)),a=Math.max(Pl,Math.min(Cl,a))];!function(t,n,e,r,i,o){var a,u=t[0],c=t[1],f=0,s=1,l=n[0]-u,h=n[1]-c;if(a=e-u,l||!(a>0)){if(a/=l,l<0){if(a0){if(a>s)return;a>f&&(f=a)}if(a=i-u,l||!(a<0)){if(a/=l,l<0){if(a>s)return;a>f&&(f=a)}else if(l>0){if(a0)){if(a/=h,h<0){if(a0){if(a>s)return;a>f&&(f=a)}if(a=o-c,h||!(a<0)){if(a/=h,h<0){if(a>s)return;a>f&&(f=a)}else if(h>0){if(a0&&(t[0]=u+f*l,t[1]=c+f*h),s<1&&(n[0]=u+s*l,n[1]=c+s*h),!0}}}}}(c,m,t,n,e,r)?u&&(b.lineStart(),b.point(o,a),_=!1):(y||(b.lineStart(),b.point(c[0],c[1])),b.point(m[0],m[1]),u||b.lineEnd(),_=!1)}p=o,g=a,y=u}return x}}var $l={sphere:qf,point:qf,lineStart:function(){$l.point=Rl,$l.lineEnd=Dl},lineEnd:qf,polygonStart:qf,polygonEnd:qf};function Dl(){$l.point=$l.lineEnd=qf}function Rl(t,n){El=t*=mf,Nl=Cf(n*=mf),kl=Tf(n),$l.point=Fl}function Fl(t,n){t*=mf;var e=Cf(n*=mf),r=Tf(n),i=xf(t-El),o=Tf(i),a=r*Cf(i),u=kl*e-Nl*r*o,c=Nl*e+kl*r*o;Sl.add(Mf(zf(a*a+u*u),c)),El=t,Nl=e,kl=r}function ql(t){return Sl=new T,Lf(t,$l),+Sl}var Ul=[null,null],Il={type:"LineString",coordinates:Ul};function Ol(t,n){return Ul[0]=t,Ul[1]=n,ql(Il)}var Bl={Feature:function(t,n){return Ll(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r0&&(i=Ol(t[o],t[o-1]))>0&&e<=i&&r<=i&&(e+r-i)*(1-Math.pow((e-r)/i,2))df})).map(c)).concat(lt(Af(o/d)*d,i,d).filter((function(t){return xf(t%g)>df})).map(f))}return v.lines=function(){return _().map((function(t){return{type:"LineString",coordinates:t}}))},v.outline=function(){return{type:"Polygon",coordinates:[s(r).concat(l(a).slice(1),s(e).reverse().slice(1),l(u).reverse().slice(1))]}},v.extent=function(t){return arguments.length?v.extentMajor(t).extentMinor(t):v.extentMinor()},v.extentMajor=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],u=+t[0][1],a=+t[1][1],r>e&&(t=r,r=e,e=t),u>a&&(t=u,u=a,a=t),v.precision(y)):[[r,u],[e,a]]},v.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],o=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),o>i&&(e=o,o=i,i=e),v.precision(y)):[[n,o],[t,i]]},v.step=function(t){return arguments.length?v.stepMajor(t).stepMinor(t):v.stepMinor()},v.stepMajor=function(t){return arguments.length?(p=+t[0],g=+t[1],v):[p,g]},v.stepMinor=function(t){return arguments.length?(h=+t[0],d=+t[1],v):[h,d]},v.precision=function(h){return arguments.length?(y=+h,c=Wl(o,i,90),f=Zl(n,t,y),s=Wl(u,a,90),l=Zl(r,e,y),v):y},v.extentMajor([[-180,-90+df],[180,90-df]]).extentMinor([[-180,-80-df],[180,80+df]])}var Ql,Jl,th,nh,eh=t=>t,rh=new T,ih=new T,oh={point:qf,lineStart:qf,lineEnd:qf,polygonStart:function(){oh.lineStart=ah,oh.lineEnd=fh},polygonEnd:function(){oh.lineStart=oh.lineEnd=oh.point=qf,rh.add(xf(ih)),ih=new T},result:function(){var t=rh/2;return rh=new T,t}};function ah(){oh.point=uh}function uh(t,n){oh.point=ch,Ql=th=t,Jl=nh=n}function ch(t,n){ih.add(nh*t-th*n),th=t,nh=n}function fh(){ch(Ql,Jl)}var sh=oh,lh=1/0,hh=lh,dh=-lh,ph=dh,gh={point:function(t,n){tdh&&(dh=t);nph&&(ph=n)},lineStart:qf,lineEnd:qf,polygonStart:qf,polygonEnd:qf,result:function(){var t=[[lh,hh],[dh,ph]];return dh=ph=-(hh=lh=1/0),t}};var yh,vh,_h,bh,mh=gh,xh=0,wh=0,Mh=0,Th=0,Ah=0,Sh=0,Eh=0,Nh=0,kh=0,Ch={point:Ph,lineStart:zh,lineEnd:Rh,polygonStart:function(){Ch.lineStart=Fh,Ch.lineEnd=qh},polygonEnd:function(){Ch.point=Ph,Ch.lineStart=zh,Ch.lineEnd=Rh},result:function(){var t=kh?[Eh/kh,Nh/kh]:Sh?[Th/Sh,Ah/Sh]:Mh?[xh/Mh,wh/Mh]:[NaN,NaN];return xh=wh=Mh=Th=Ah=Sh=Eh=Nh=kh=0,t}};function Ph(t,n){xh+=t,wh+=n,++Mh}function zh(){Ch.point=$h}function $h(t,n){Ch.point=Dh,Ph(_h=t,bh=n)}function Dh(t,n){var e=t-_h,r=n-bh,i=zf(e*e+r*r);Th+=i*(_h+t)/2,Ah+=i*(bh+n)/2,Sh+=i,Ph(_h=t,bh=n)}function Rh(){Ch.point=Ph}function Fh(){Ch.point=Uh}function qh(){Ih(yh,vh)}function Uh(t,n){Ch.point=Ih,Ph(yh=_h=t,vh=bh=n)}function Ih(t,n){var e=t-_h,r=n-bh,i=zf(e*e+r*r);Th+=i*(_h+t)/2,Ah+=i*(bh+n)/2,Sh+=i,Eh+=(i=bh*t-_h*n)*(_h+t),Nh+=i*(bh+n),kh+=3*i,Ph(_h=t,bh=n)}var Oh=Ch;function Bh(t){this._context=t}Bh.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,_f)}},result:qf};var Yh,Lh,jh,Hh,Xh,Gh=new T,Vh={point:qf,lineStart:function(){Vh.point=Wh},lineEnd:function(){Yh&&Zh(Lh,jh),Vh.point=qf},polygonStart:function(){Yh=!0},polygonEnd:function(){Yh=null},result:function(){var t=+Gh;return Gh=new T,t}};function Wh(t,n){Vh.point=Zh,Lh=Hh=t,jh=Xh=n}function Zh(t,n){Hh-=t,Xh-=n,Gh.add(zf(Hh*Hh+Xh*Xh)),Hh=t,Xh=n}var Kh=Vh;let Qh,Jh,td,nd;class ed{constructor(t){this._append=null==t?rd:function(t){const n=Math.floor(t);if(!(n>=0))throw new RangeError(`invalid digits: ${t}`);if(n>15)return rd;if(n!==Qh){const t=10**n;Qh=n,Jh=function(n){let e=1;this._+=n[0];for(const r=n.length;e4*n&&g--){var m=a+h,x=u+d,w=c+p,M=zf(m*m+x*x+w*w),T=Rf(w/=M),A=xf(xf(w)-1)n||xf((v*k+_*C)/b-.5)>.3||a*h+u*d+c*p2?t[2]%360*mf:0,k()):[y*bf,v*bf,_*bf]},E.angle=function(t){return arguments.length?(b=t%360*mf,k()):b*bf},E.reflectX=function(t){return arguments.length?(m=t?-1:1,k()):m<0},E.reflectY=function(t){return arguments.length?(x=t?-1:1,k()):x<0},E.precision=function(t){return arguments.length?(a=dd(u,S=t*t),C()):zf(S)},E.fitExtent=function(t,n){return ud(E,t,n)},E.fitSize=function(t,n){return cd(E,t,n)},E.fitWidth=function(t,n){return fd(E,t,n)},E.fitHeight=function(t,n){return sd(E,t,n)},function(){return n=t.apply(this,arguments),E.invert=n.invert&&N,k()}}function _d(t){var n=0,e=gf/3,r=vd(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*mf,e=t[1]*mf):[n*bf,e*bf]},i}function bd(t,n){var e=Cf(t),r=(e+Cf(n))/2;if(xf(r)0?n<-yf+df&&(n=-yf+df):n>yf-df&&(n=yf-df);var e=i/kf(Nd(n),r);return[e*Cf(r*t),i-e*Tf(r*t)]}return o.invert=function(t,n){var e=i-n,o=Pf(r)*zf(t*t+e*e),a=Mf(t,xf(e))*Pf(e);return e*r<0&&(a-=gf*Pf(t)*Pf(e)),[a/r,2*wf(kf(i/o,1/r))-yf]},o}function Cd(t,n){return[t,n]}function Pd(t,n){var e=Tf(t),r=t===n?Cf(t):(e-Tf(n))/(n-t),i=e/r+t;if(xf(r)=0;)n+=e[r].value;else n=1;t.value=n}function Gd(t,n){t instanceof Map?(t=[void 0,t],void 0===n&&(n=Wd)):void 0===n&&(n=Vd);for(var e,r,i,o,a,u=new Qd(t),c=[u];e=c.pop();)if((i=n(e.data))&&(a=(i=Array.from(i)).length))for(e.children=i,o=a-1;o>=0;--o)c.push(r=i[o]=new Qd(i[o])),r.parent=e,r.depth=e.depth+1;return u.eachBefore(Kd)}function Vd(t){return t.children}function Wd(t){return Array.isArray(t)?t[1]:null}function Zd(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function Kd(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function Qd(t){this.data=t,this.depth=this.height=0,this.parent=null}function Jd(t){return null==t?null:tp(t)}function tp(t){if("function"!=typeof t)throw new Error;return t}function np(){return 0}function ep(t){return function(){return t}}qd.invert=function(t,n){for(var e,r=n,i=r*r,o=i*i*i,a=0;a<12&&(o=(i=(r-=e=(r*(zd+$d*i+o*(Dd+Rd*i))-n)/(zd+3*$d*i+o*(7*Dd+9*Rd*i)))*r)*i*i,!(xf(e)df&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]},Od.invert=Md(Rf),Bd.invert=Md((function(t){return 2*wf(t)})),Yd.invert=function(t,n){return[-n,2*wf(Sf(t))-yf]},Qd.prototype=Gd.prototype={constructor:Qd,count:function(){return this.eachAfter(Xd)},each:function(t,n){let e=-1;for(const r of this)t.call(n,r,++e,this);return this},eachAfter:function(t,n){for(var e,r,i,o=this,a=[o],u=[],c=-1;o=a.pop();)if(u.push(o),e=o.children)for(r=0,i=e.length;r=0;--r)o.push(e[r]);return this},find:function(t,n){let e=-1;for(const r of this)if(t.call(n,r,++e,this))return r},sum:function(t){return this.eachAfter((function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e}))},sort:function(t){return this.eachBefore((function(n){n.children&&n.children.sort(t)}))},path:function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore((function(n){n.children||t.push(n)})),t},links:function(){var t=this,n=[];return t.each((function(e){e!==t&&n.push({source:e.parent,target:e})})),n},copy:function(){return Gd(this).eachBefore(Zd)},[Symbol.iterator]:function*(){var t,n,e,r,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(yield i,n=i.children)for(e=0,r=n.length;e(t=(rp*t+ip)%op)/op}function up(t,n){for(var e,r,i=0,o=(t=function(t,n){let e,r,i=t.length;for(;i;)r=n()*i--|0,e=t[i],t[i]=t[r],t[r]=e;return t}(Array.from(t),n)).length,a=[];i0&&e*e>r*r+i*i}function lp(t,n){for(var e=0;e1e-6?(E+Math.sqrt(E*E-4*S*N))/(2*S):N/E);return{x:r+w+M*k,y:i+T+A*k,r:k}}function gp(t,n,e){var r,i,o,a,u=t.x-n.x,c=t.y-n.y,f=u*u+c*c;f?(i=n.r+e.r,i*=i,a=t.r+e.r,i>(a*=a)?(r=(f+a-i)/(2*f),o=Math.sqrt(Math.max(0,a/f-r*r)),e.x=t.x-r*u-o*c,e.y=t.y-r*c+o*u):(r=(f+i-a)/(2*f),o=Math.sqrt(Math.max(0,i/f-r*r)),e.x=n.x+r*u-o*c,e.y=n.y+r*c+o*u)):(e.x=n.x+e.r,e.y=n.y)}function yp(t,n){var e=t.r+n.r-1e-6,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function vp(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,o=(n.y*e.r+e.y*n.r)/r;return i*i+o*o}function _p(t){this._=t,this.next=null,this.previous=null}function bp(t,n){if(!(o=(t=function(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}(t)).length))return 0;var e,r,i,o,a,u,c,f,s,l,h;if((e=t[0]).x=0,e.y=0,!(o>1))return e.r;if(r=t[1],e.x=-r.r,r.x=e.r,r.y=0,!(o>2))return e.r+r.r;gp(r,e,i=t[2]),e=new _p(e),r=new _p(r),i=new _p(i),e.next=i.previous=r,r.next=e.previous=i,i.next=r.previous=e;t:for(c=3;c1&&!zp(t,n););return t.slice(0,n)}function zp(t,n){if("/"===t[n]){let e=0;for(;n>0&&"\\"===t[--n];)++e;if(!(1&e))return!0}return!1}function $p(t,n){return t.parent===n.parent?1:2}function Dp(t){var n=t.children;return n?n[0]:t.t}function Rp(t){var n=t.children;return n?n[n.length-1]:t.t}function Fp(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function qp(t,n,e){return t.a.parent===n.parent?t.a:e}function Up(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function Ip(t,n,e,r,i){for(var o,a=t.children,u=-1,c=a.length,f=t.value&&(i-e)/t.value;++uh&&(h=u),y=s*s*g,(d=Math.max(h/y,y/l))>p){s-=u;break}p=d}v.push(a={value:s,dice:c1?n:1)},e}(Op);var Lp=function t(n){function e(t,e,r,i,o){if((a=t._squarify)&&a.ratio===n)for(var a,u,c,f,s,l=-1,h=a.length,d=t.value;++l1?n:1)},e}(Op);function jp(t,n,e){return(n[0]-t[0])*(e[1]-t[1])-(n[1]-t[1])*(e[0]-t[0])}function Hp(t,n){return t[0]-n[0]||t[1]-n[1]}function Xp(t){const n=t.length,e=[0,1];let r,i=2;for(r=2;r1&&jp(t[e[i-2]],t[e[i-1]],t[r])<=0;)--i;e[i++]=r}return e.slice(0,i)}var Gp=Math.random,Vp=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(Gp),Wp=function t(n){function e(t,e){return arguments.length<2&&(e=t,t=0),t=Math.floor(t),e=Math.floor(e)-t,function(){return Math.floor(n()*e+t)}}return e.source=t,e}(Gp),Zp=function t(n){function e(t,e){var r,i;return t=null==t?0:+t,e=null==e?1:+e,function(){var o;if(null!=r)o=r,r=null;else do{r=2*n()-1,o=2*n()-1,i=r*r+o*o}while(!i||i>1);return t+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(Gp),Kp=function t(n){var e=Zp.source(n);function r(){var t=e.apply(this,arguments);return function(){return Math.exp(t())}}return r.source=t,r}(Gp),Qp=function t(n){function e(t){return(t=+t)<=0?()=>0:function(){for(var e=0,r=t;r>1;--r)e+=n();return e+r*n()}}return e.source=t,e}(Gp),Jp=function t(n){var e=Qp.source(n);function r(t){if(0==(t=+t))return n;var r=e(t);return function(){return r()/t}}return r.source=t,r}(Gp),tg=function t(n){function e(t){return function(){return-Math.log1p(-n())/t}}return e.source=t,e}(Gp),ng=function t(n){function e(t){if((t=+t)<0)throw new RangeError("invalid alpha");return t=1/-t,function(){return Math.pow(1-n(),t)}}return e.source=t,e}(Gp),eg=function t(n){function e(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return function(){return Math.floor(n()+t)}}return e.source=t,e}(Gp),rg=function t(n){function e(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return 0===t?()=>1/0:1===t?()=>1:(t=Math.log1p(-t),function(){return 1+Math.floor(Math.log1p(-n())/t)})}return e.source=t,e}(Gp),ig=function t(n){var e=Zp.source(n)();function r(t,r){if((t=+t)<0)throw new RangeError("invalid k");if(0===t)return()=>0;if(r=null==r?1:+r,1===t)return()=>-Math.log1p(-n())*r;var i=(t<1?t+1:t)-1/3,o=1/(3*Math.sqrt(i)),a=t<1?()=>Math.pow(n(),1/t):()=>1;return function(){do{do{var t=e(),u=1+o*t}while(u<=0);u*=u*u;var c=1-n()}while(c>=1-.0331*t*t*t*t&&Math.log(c)>=.5*t*t+i*(1-u+Math.log(u)));return i*u*a()*r}}return r.source=t,r}(Gp),og=function t(n){var e=ig.source(n);function r(t,n){var r=e(t),i=e(n);return function(){var t=r();return 0===t?0:t/(t+i())}}return r.source=t,r}(Gp),ag=function t(n){var e=rg.source(n),r=og.source(n);function i(t,n){return t=+t,(n=+n)>=1?()=>t:n<=0?()=>0:function(){for(var i=0,o=t,a=n;o*a>16&&o*(1-a)>16;){var u=Math.floor((o+1)*a),c=r(u,o-u+1)();c<=a?(i+=u,o-=u,a=(a-c)/(1-c)):(o=u-1,a/=c)}for(var f=a<.5,s=e(f?a:1-a),l=s(),h=0;l<=o;++h)l+=s();return i+(f?h:o-h)}}return i.source=t,i}(Gp),ug=function t(n){function e(t,e,r){var i;return 0==(t=+t)?i=t=>-Math.log(t):(t=1/t,i=n=>Math.pow(n,t)),e=null==e?0:+e,r=null==r?1:+r,function(){return e+r*i(-Math.log1p(-n()))}}return e.source=t,e}(Gp),cg=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,function(){return t+e*Math.tan(Math.PI*n())}}return e.source=t,e}(Gp),fg=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,function(){var r=n();return t+e*Math.log(r/(1-r))}}return e.source=t,e}(Gp),sg=function t(n){var e=ig.source(n),r=ag.source(n);function i(t){return function(){for(var i=0,o=t;o>16;){var a=Math.floor(.875*o),u=e(a)();if(u>o)return i+r(a-1,o/u)();i+=a,o-=u}for(var c=-Math.log1p(-n()),f=0;c<=o;++f)c-=Math.log1p(-n());return i+f}}return i.source=t,i}(Gp);const lg=1/4294967296;function hg(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function dg(t,n){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof n?this.interpolator(n):this.range(n)}return this}const pg=Symbol("implicit");function gg(){var t=new InternMap,n=[],e=[],r=pg;function i(i){let o=t.get(i);if(void 0===o){if(r!==pg)return r;t.set(i,o=n.push(i)-1)}return e[o%e.length]}return i.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new InternMap;for(const r of e)t.has(r)||t.set(r,n.push(r)-1);return i},i.range=function(t){return arguments.length?(e=Array.from(t),i):e.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return gg(n,e).unknown(r)},hg.apply(i,arguments),i}function yg(){var t,n,e=gg().unknown(void 0),r=e.domain,i=e.range,o=0,a=1,u=!1,c=0,f=0,s=.5;function l(){var e=r().length,l=an&&(e=t,t=n,n=e),function(e){return Math.max(t,Math.min(n,e))}}(a[0],a[t-1])),r=t>2?Mg:wg,i=o=null,l}function l(n){return null==n||isNaN(n=+n)?e:(i||(i=r(a.map(t),u,c)))(t(f(n)))}return l.invert=function(e){return f(n((o||(o=r(u,a.map(t),Yr)))(e)))},l.domain=function(t){return arguments.length?(a=Array.from(t,_g),s()):a.slice()},l.range=function(t){return arguments.length?(u=Array.from(t),s()):u.slice()},l.rangeRound=function(t){return u=Array.from(t),c=Vr,s()},l.clamp=function(t){return arguments.length?(f=!!t||mg,s()):f!==mg},l.interpolate=function(t){return arguments.length?(c=t,s()):c},l.unknown=function(t){return arguments.length?(e=t,l):e},function(e,r){return t=e,n=r,s()}}function Sg(){return Ag()(mg,mg)}function Eg(n,e,r,i){var o,a=W(n,e,r);switch((i=Jc(null==i?",f":i)).type){case"s":var u=Math.max(Math.abs(n),Math.abs(e));return null!=i.precision||isNaN(o=lf(a,u))||(i.precision=o),t.formatPrefix(i,u);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(o=hf(a,Math.max(Math.abs(n),Math.abs(e))))||(i.precision=o-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(o=sf(a))||(i.precision=o-2*("%"===i.type))}return t.format(i)}function Ng(t){var n=t.domain;return t.ticks=function(t){var e=n();return G(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return Eg(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i,o=n(),a=0,u=o.length-1,c=o[a],f=o[u],s=10;for(f0;){if((i=V(c,f,e))===r)return o[a]=c,o[u]=f,n(o);if(i>0)c=Math.floor(c/i)*i,f=Math.ceil(f/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,f=Math.floor(f*i)/i}r=i}return t},t}function kg(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a-t(-n,e)}function Fg(n){const e=n(Cg,Pg),r=e.domain;let i,o,a=10;function u(){return i=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),n=>Math.log(n)/t)}(a),o=function(t){return 10===t?Dg:t===Math.E?Math.exp:n=>Math.pow(t,n)}(a),r()[0]<0?(i=Rg(i),o=Rg(o),n(zg,$g)):n(Cg,Pg),e}return e.base=function(t){return arguments.length?(a=+t,u()):a},e.domain=function(t){return arguments.length?(r(t),u()):r()},e.ticks=t=>{const n=r();let e=n[0],u=n[n.length-1];const c=u0){for(;l<=h;++l)for(f=1;fu)break;p.push(s)}}else for(;l<=h;++l)for(f=a-1;f>=1;--f)if(s=l>0?f/o(-l):f*o(l),!(su)break;p.push(s)}2*p.length{if(null==n&&(n=10),null==r&&(r=10===a?"s":","),"function"!=typeof r&&(a%1||null!=(r=Jc(r)).precision||(r.trim=!0),r=t.format(r)),n===1/0)return r;const u=Math.max(1,a*n/e.ticks().length);return t=>{let n=t/o(Math.round(i(t)));return n*ar(kg(r(),{floor:t=>o(Math.floor(i(t))),ceil:t=>o(Math.ceil(i(t)))})),e}function qg(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function Ug(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function Ig(t){var n=1,e=t(qg(n),Ug(n));return e.constant=function(e){return arguments.length?t(qg(n=+e),Ug(n)):n},Ng(e)}function Og(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function Bg(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Yg(t){return t<0?-t*t:t*t}function Lg(t){var n=t(mg,mg),e=1;return n.exponent=function(n){return arguments.length?1===(e=+n)?t(mg,mg):.5===e?t(Bg,Yg):t(Og(e),Og(1/e)):e},Ng(n)}function jg(){var t=Lg(Ag());return t.copy=function(){return Tg(t,jg()).exponent(t.exponent())},hg.apply(t,arguments),t}function Hg(t){return Math.sign(t)*t*t}const Xg=new Date,Gg=new Date;function Vg(t,n,e,r){function i(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return i.floor=n=>(t(n=new Date(+n)),n),i.ceil=e=>(t(e=new Date(e-1)),n(e,1),t(e),e),i.round=t=>{const n=i(t),e=i.ceil(t);return t-n(n(t=new Date(+t),null==e?1:Math.floor(e)),t),i.range=(e,r,o)=>{const a=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e0))return a;let u;do{a.push(u=new Date(+e)),n(e,o),t(e)}while(uVg((n=>{if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),((t,r)=>{if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););})),e&&(i.count=(n,r)=>(Xg.setTime(+n),Gg.setTime(+r),t(Xg),t(Gg),Math.floor(e(Xg,Gg))),i.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?n=>r(n)%t==0:n=>i.count(0,n)%t==0):i:null)),i}const Wg=Vg((()=>{}),((t,n)=>{t.setTime(+t+n)}),((t,n)=>n-t));Wg.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?Vg((n=>{n.setTime(Math.floor(n/t)*t)}),((n,e)=>{n.setTime(+n+e*t)}),((n,e)=>(e-n)/t)):Wg:null);const Zg=Wg.range,Kg=1e3,Qg=6e4,Jg=36e5,ty=864e5,ny=6048e5,ey=2592e6,ry=31536e6,iy=Vg((t=>{t.setTime(t-t.getMilliseconds())}),((t,n)=>{t.setTime(+t+n*Kg)}),((t,n)=>(n-t)/Kg),(t=>t.getUTCSeconds())),oy=iy.range,ay=Vg((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Kg)}),((t,n)=>{t.setTime(+t+n*Qg)}),((t,n)=>(n-t)/Qg),(t=>t.getMinutes())),uy=ay.range,cy=Vg((t=>{t.setUTCSeconds(0,0)}),((t,n)=>{t.setTime(+t+n*Qg)}),((t,n)=>(n-t)/Qg),(t=>t.getUTCMinutes())),fy=cy.range,sy=Vg((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Kg-t.getMinutes()*Qg)}),((t,n)=>{t.setTime(+t+n*Jg)}),((t,n)=>(n-t)/Jg),(t=>t.getHours())),ly=sy.range,hy=Vg((t=>{t.setUTCMinutes(0,0,0)}),((t,n)=>{t.setTime(+t+n*Jg)}),((t,n)=>(n-t)/Jg),(t=>t.getUTCHours())),dy=hy.range,py=Vg((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Qg)/ty),(t=>t.getDate()-1)),gy=py.range,yy=Vg((t=>{t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+n)}),((t,n)=>(n-t)/ty),(t=>t.getUTCDate()-1)),vy=yy.range,_y=Vg((t=>{t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+n)}),((t,n)=>(n-t)/ty),(t=>Math.floor(t/ty))),by=_y.range;function my(t){return Vg((n=>{n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),((t,n)=>{t.setDate(t.getDate()+7*n)}),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Qg)/ny))}const xy=my(0),wy=my(1),My=my(2),Ty=my(3),Ay=my(4),Sy=my(5),Ey=my(6),Ny=xy.range,ky=wy.range,Cy=My.range,Py=Ty.range,zy=Ay.range,$y=Sy.range,Dy=Ey.range;function Ry(t){return Vg((n=>{n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+7*n)}),((t,n)=>(n-t)/ny))}const Fy=Ry(0),qy=Ry(1),Uy=Ry(2),Iy=Ry(3),Oy=Ry(4),By=Ry(5),Yy=Ry(6),Ly=Fy.range,jy=qy.range,Hy=Uy.range,Xy=Iy.range,Gy=Oy.range,Vy=By.range,Wy=Yy.range,Zy=Vg((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,n)=>{t.setMonth(t.getMonth()+n)}),((t,n)=>n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())),(t=>t.getMonth())),Ky=Zy.range,Qy=Vg((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCMonth(t.getUTCMonth()+n)}),((t,n)=>n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth())),Jy=Qy.range,tv=Vg((t=>{t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n)}),((t,n)=>n.getFullYear()-t.getFullYear()),(t=>t.getFullYear()));tv.every=t=>isFinite(t=Math.floor(t))&&t>0?Vg((n=>{n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),((n,e)=>{n.setFullYear(n.getFullYear()+e*t)})):null;const nv=tv.range,ev=Vg((t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n)}),((t,n)=>n.getUTCFullYear()-t.getUTCFullYear()),(t=>t.getUTCFullYear()));ev.every=t=>isFinite(t=Math.floor(t))&&t>0?Vg((n=>{n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),((n,e)=>{n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null;const rv=ev.range;function iv(t,n,e,i,o,a){const u=[[iy,1,Kg],[iy,5,5e3],[iy,15,15e3],[iy,30,3e4],[a,1,Qg],[a,5,3e5],[a,15,9e5],[a,30,18e5],[o,1,Jg],[o,3,108e5],[o,6,216e5],[o,12,432e5],[i,1,ty],[i,2,1728e5],[e,1,ny],[n,1,ey],[n,3,7776e6],[t,1,ry]];function c(n,e,i){const o=Math.abs(e-n)/i,a=r((([,,t])=>t)).right(u,o);if(a===u.length)return t.every(W(n/ry,e/ry,i));if(0===a)return Wg.every(Math.max(W(n,e,i),1));const[c,f]=u[o/u[a-1][2]=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:k_,s:C_,S:Zv,u:Kv,U:Qv,V:t_,w:n_,W:e_,x:null,X:null,y:r_,Y:o_,Z:u_,"%":N_},m={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:c_,e:c_,f:d_,g:T_,G:S_,H:f_,I:s_,j:l_,L:h_,m:p_,M:g_,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:k_,s:C_,S:y_,u:v_,U:__,V:m_,w:x_,W:w_,x:null,X:null,y:M_,Y:A_,Z:E_,"%":N_},x={a:function(t,n,e){var r=d.exec(n.slice(e));return r?(t.w=p.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=l.exec(n.slice(e));return r?(t.w=h.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.m=_.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=y.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return T(t,n,e,r)},d:zv,e:zv,f:Uv,g:Nv,G:Ev,H:Dv,I:Dv,j:$v,L:qv,m:Pv,M:Rv,p:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.p=s.get(r[0].toLowerCase()),e+r[0].length):-1},q:Cv,Q:Ov,s:Bv,S:Fv,u:Mv,U:Tv,V:Av,w:wv,W:Sv,x:function(t,n,r){return T(t,e,n,r)},X:function(t,n,e){return T(t,r,n,e)},y:Nv,Y:Ev,Z:kv,"%":Iv};function w(t,n){return function(e){var r,i,o,a=[],u=-1,c=0,f=t.length;for(e instanceof Date||(e=new Date(+e));++u53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=sv(lv(o.y,0,1))).getUTCDay(),r=i>4||0===i?qy.ceil(r):qy(r),r=yy.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=fv(lv(o.y,0,1))).getDay(),r=i>4||0===i?wy.ceil(r):wy(r),r=py.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?sv(lv(o.y,0,1)).getUTCDay():fv(lv(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,sv(o)):fv(o)}}function T(t,n,e,r){for(var i,o,a=0,u=n.length,c=e.length;a=c)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(o=x[i in pv?n.charAt(a++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return b.x=w(e,b),b.X=w(r,b),b.c=w(n,b),m.x=w(e,m),m.X=w(r,m),m.c=w(n,m),{format:function(t){var n=w(t+="",b);return n.toString=function(){return t},n},parse:function(t){var n=M(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=w(t+="",m);return n.toString=function(){return t},n},utcParse:function(t){var n=M(t+="",!0);return n.toString=function(){return t},n}}}var dv,pv={"-":"",_:" ",0:"0"},gv=/^\s*\d+/,yv=/^%/,vv=/[\\^$*+?|[\]().{}]/g;function _v(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o[t.toLowerCase(),n])))}function wv(t,n,e){var r=gv.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function Mv(t,n,e){var r=gv.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function Tv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function Av(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function Sv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Ev(t,n,e){var r=gv.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Nv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function kv(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function Cv(t,n,e){var r=gv.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Pv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function zv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function $v(t,n,e){var r=gv.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Dv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Rv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Fv(t,n,e){var r=gv.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function qv(t,n,e){var r=gv.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function Uv(t,n,e){var r=gv.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function Iv(t,n,e){var r=yv.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Ov(t,n,e){var r=gv.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function Bv(t,n,e){var r=gv.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function Yv(t,n){return _v(t.getDate(),n,2)}function Lv(t,n){return _v(t.getHours(),n,2)}function jv(t,n){return _v(t.getHours()%12||12,n,2)}function Hv(t,n){return _v(1+py.count(tv(t),t),n,3)}function Xv(t,n){return _v(t.getMilliseconds(),n,3)}function Gv(t,n){return Xv(t,n)+"000"}function Vv(t,n){return _v(t.getMonth()+1,n,2)}function Wv(t,n){return _v(t.getMinutes(),n,2)}function Zv(t,n){return _v(t.getSeconds(),n,2)}function Kv(t){var n=t.getDay();return 0===n?7:n}function Qv(t,n){return _v(xy.count(tv(t)-1,t),n,2)}function Jv(t){var n=t.getDay();return n>=4||0===n?Ay(t):Ay.ceil(t)}function t_(t,n){return t=Jv(t),_v(Ay.count(tv(t),t)+(4===tv(t).getDay()),n,2)}function n_(t){return t.getDay()}function e_(t,n){return _v(wy.count(tv(t)-1,t),n,2)}function r_(t,n){return _v(t.getFullYear()%100,n,2)}function i_(t,n){return _v((t=Jv(t)).getFullYear()%100,n,2)}function o_(t,n){return _v(t.getFullYear()%1e4,n,4)}function a_(t,n){var e=t.getDay();return _v((t=e>=4||0===e?Ay(t):Ay.ceil(t)).getFullYear()%1e4,n,4)}function u_(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+_v(n/60|0,"0",2)+_v(n%60,"0",2)}function c_(t,n){return _v(t.getUTCDate(),n,2)}function f_(t,n){return _v(t.getUTCHours(),n,2)}function s_(t,n){return _v(t.getUTCHours()%12||12,n,2)}function l_(t,n){return _v(1+yy.count(ev(t),t),n,3)}function h_(t,n){return _v(t.getUTCMilliseconds(),n,3)}function d_(t,n){return h_(t,n)+"000"}function p_(t,n){return _v(t.getUTCMonth()+1,n,2)}function g_(t,n){return _v(t.getUTCMinutes(),n,2)}function y_(t,n){return _v(t.getUTCSeconds(),n,2)}function v_(t){var n=t.getUTCDay();return 0===n?7:n}function __(t,n){return _v(Fy.count(ev(t)-1,t),n,2)}function b_(t){var n=t.getUTCDay();return n>=4||0===n?Oy(t):Oy.ceil(t)}function m_(t,n){return t=b_(t),_v(Oy.count(ev(t),t)+(4===ev(t).getUTCDay()),n,2)}function x_(t){return t.getUTCDay()}function w_(t,n){return _v(qy.count(ev(t)-1,t),n,2)}function M_(t,n){return _v(t.getUTCFullYear()%100,n,2)}function T_(t,n){return _v((t=b_(t)).getUTCFullYear()%100,n,2)}function A_(t,n){return _v(t.getUTCFullYear()%1e4,n,4)}function S_(t,n){var e=t.getUTCDay();return _v((t=e>=4||0===e?Oy(t):Oy.ceil(t)).getUTCFullYear()%1e4,n,4)}function E_(){return"+0000"}function N_(){return"%"}function k_(t){return+t}function C_(t){return Math.floor(+t/1e3)}function P_(n){return dv=hv(n),t.timeFormat=dv.format,t.timeParse=dv.parse,t.utcFormat=dv.utcFormat,t.utcParse=dv.utcParse,dv}t.timeFormat=void 0,t.timeParse=void 0,t.utcFormat=void 0,t.utcParse=void 0,P_({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var z_="%Y-%m-%dT%H:%M:%S.%LZ";var $_=Date.prototype.toISOString?function(t){return t.toISOString()}:t.utcFormat(z_),D_=$_;var R_=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:t.utcParse(z_),F_=R_;function q_(t){return new Date(t)}function U_(t){return t instanceof Date?+t:+new Date(+t)}function I_(t,n,e,r,i,o,a,u,c,f){var s=Sg(),l=s.invert,h=s.domain,d=f(".%L"),p=f(":%S"),g=f("%I:%M"),y=f("%I %p"),v=f("%a %d"),_=f("%b %d"),b=f("%B"),m=f("%Y");function x(t){return(c(t)Fr(t[t.length-1]),ib=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(H_),ob=rb(ib),ab=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(H_),ub=rb(ab),cb=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(H_),fb=rb(cb),sb=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(H_),lb=rb(sb),hb=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(H_),db=rb(hb),pb=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(H_),gb=rb(pb),yb=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(H_),vb=rb(yb),_b=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(H_),bb=rb(_b),mb=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(H_),xb=rb(mb),wb=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(H_),Mb=rb(wb),Tb=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(H_),Ab=rb(Tb),Sb=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(H_),Eb=rb(Sb),Nb=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(H_),kb=rb(Nb),Cb=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(H_),Pb=rb(Cb),zb=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(H_),$b=rb(zb),Db=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(H_),Rb=rb(Db),Fb=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(H_),qb=rb(Fb),Ub=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(H_),Ib=rb(Ub),Ob=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(H_),Bb=rb(Ob),Yb=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(H_),Lb=rb(Yb),jb=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(H_),Hb=rb(jb),Xb=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(H_),Gb=rb(Xb),Vb=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(H_),Wb=rb(Vb),Zb=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(H_),Kb=rb(Zb),Qb=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(H_),Jb=rb(Qb),tm=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(H_),nm=rb(tm),em=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(H_),rm=rb(em);var im=hi(Tr(300,.5,0),Tr(-240,.5,1)),om=hi(Tr(-100,.75,.35),Tr(80,1.5,.8)),am=hi(Tr(260,.75,.35),Tr(80,1.5,.8)),um=Tr();var cm=Fe(),fm=Math.PI/3,sm=2*Math.PI/3;function lm(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}var hm=lm(H_("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),dm=lm(H_("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),pm=lm(H_("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),gm=lm(H_("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function ym(t){return function(){return t}}const vm=Math.abs,_m=Math.atan2,bm=Math.cos,mm=Math.max,xm=Math.min,wm=Math.sin,Mm=Math.sqrt,Tm=1e-12,Am=Math.PI,Sm=Am/2,Em=2*Am;function Nm(t){return t>=1?Sm:t<=-1?-Sm:Math.asin(t)}function km(t){let n=3;return t.digits=function(e){if(!arguments.length)return n;if(null==e)n=null;else{const t=Math.floor(e);if(!(t>=0))throw new RangeError(`invalid digits: ${e}`);n=t}return t},()=>new Ua(n)}function Cm(t){return t.innerRadius}function Pm(t){return t.outerRadius}function zm(t){return t.startAngle}function $m(t){return t.endAngle}function Dm(t){return t&&t.padAngle}function Rm(t,n,e,r,i,o,a){var u=t-e,c=n-r,f=(a?o:-o)/Mm(u*u+c*c),s=f*c,l=-f*u,h=t+s,d=n+l,p=e+s,g=r+l,y=(h+p)/2,v=(d+g)/2,_=p-h,b=g-d,m=_*_+b*b,x=i-o,w=h*g-p*d,M=(b<0?-1:1)*Mm(mm(0,x*x*m-w*w)),T=(w*b-_*M)/m,A=(-w*_-b*M)/m,S=(w*b+_*M)/m,E=(-w*_+b*M)/m,N=T-y,k=A-v,C=S-y,P=E-v;return N*N+k*k>C*C+P*P&&(T=S,A=E),{cx:T,cy:A,x01:-s,y01:-l,x11:T*(i/x-1),y11:A*(i/x-1)}}var Fm=Array.prototype.slice;function qm(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Um(t){this._context=t}function Im(t){return new Um(t)}function Om(t){return t[0]}function Bm(t){return t[1]}function Ym(t,n){var e=ym(!0),r=null,i=Im,o=null,a=km(u);function u(u){var c,f,s,l=(u=qm(u)).length,h=!1;for(null==r&&(o=i(s=a())),c=0;c<=l;++c)!(c=l;--h)u.point(v[h],_[h]);u.lineEnd(),u.areaEnd()}y&&(v[s]=+t(d,s,f),_[s]=+n(d,s,f),u.point(r?+r(d,s,f):v[s],e?+e(d,s,f):_[s]))}if(p)return u=null,p+""||null}function s(){return Ym().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?Om:ym(+t),n="function"==typeof n?n:ym(void 0===n?0:+n),e="function"==typeof e?e:void 0===e?Bm:ym(+e),f.x=function(n){return arguments.length?(t="function"==typeof n?n:ym(+n),r=null,f):t},f.x0=function(n){return arguments.length?(t="function"==typeof n?n:ym(+n),f):t},f.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:ym(+t),f):r},f.y=function(t){return arguments.length?(n="function"==typeof t?t:ym(+t),e=null,f):n},f.y0=function(t){return arguments.length?(n="function"==typeof t?t:ym(+t),f):n},f.y1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:ym(+t),f):e},f.lineX0=f.lineY0=function(){return s().x(t).y(n)},f.lineY1=function(){return s().x(t).y(e)},f.lineX1=function(){return s().x(r).y(n)},f.defined=function(t){return arguments.length?(i="function"==typeof t?t:ym(!!t),f):i},f.curve=function(t){return arguments.length?(a=t,null!=o&&(u=a(o)),f):a},f.context=function(t){return arguments.length?(null==t?o=u=null:u=a(o=t),f):o},f}function jm(t,n){return nt?1:n>=t?0:NaN}function Hm(t){return t}Um.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var Xm=Vm(Im);function Gm(t){this._curve=t}function Vm(t){function n(n){return new Gm(t(n))}return n._curve=t,n}function Wm(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(Vm(t)):n()._curve},t}function Zm(){return Wm(Ym().curve(Xm))}function Km(){var t=Lm().curve(Xm),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Wm(e())},delete t.lineX0,t.lineEndAngle=function(){return Wm(r())},delete t.lineX1,t.lineInnerRadius=function(){return Wm(i())},delete t.lineY0,t.lineOuterRadius=function(){return Wm(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Vm(t)):n()._curve},t}function Qm(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}Gm.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};class Jm{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n)}this._x0=t,this._y0=n}}class tx{constructor(t){this._context=t}lineStart(){this._point=0}lineEnd(){}point(t,n){if(t=+t,n=+n,0===this._point)this._point=1;else{const e=Qm(this._x0,this._y0),r=Qm(this._x0,this._y0=(this._y0+n)/2),i=Qm(t,this._y0),o=Qm(t,n);this._context.moveTo(...e),this._context.bezierCurveTo(...r,...i,...o)}this._x0=t,this._y0=n}}function nx(t){return new Jm(t,!0)}function ex(t){return new Jm(t,!1)}function rx(t){return new tx(t)}function ix(t){return t.source}function ox(t){return t.target}function ax(t){let n=ix,e=ox,r=Om,i=Bm,o=null,a=null,u=km(c);function c(){let c;const f=Fm.call(arguments),s=n.apply(this,f),l=e.apply(this,f);if(null==o&&(a=t(c=u())),a.lineStart(),f[0]=s,a.point(+r.apply(this,f),+i.apply(this,f)),f[0]=l,a.point(+r.apply(this,f),+i.apply(this,f)),a.lineEnd(),c)return a=null,c+""||null}return c.source=function(t){return arguments.length?(n=t,c):n},c.target=function(t){return arguments.length?(e=t,c):e},c.x=function(t){return arguments.length?(r="function"==typeof t?t:ym(+t),c):r},c.y=function(t){return arguments.length?(i="function"==typeof t?t:ym(+t),c):i},c.context=function(n){return arguments.length?(null==n?o=a=null:a=t(o=n),c):o},c}const ux=Mm(3);var cx={draw(t,n){const e=.59436*Mm(n+xm(n/28,.75)),r=e/2,i=r*ux;t.moveTo(0,e),t.lineTo(0,-e),t.moveTo(-i,-r),t.lineTo(i,r),t.moveTo(-i,r),t.lineTo(i,-r)}},fx={draw(t,n){const e=Mm(n/Am);t.moveTo(e,0),t.arc(0,0,e,0,Em)}},sx={draw(t,n){const e=Mm(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}};const lx=Mm(1/3),hx=2*lx;var dx={draw(t,n){const e=Mm(n/hx),r=e*lx;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},px={draw(t,n){const e=.62625*Mm(n);t.moveTo(0,-e),t.lineTo(e,0),t.lineTo(0,e),t.lineTo(-e,0),t.closePath()}},gx={draw(t,n){const e=.87559*Mm(n-xm(n/7,2));t.moveTo(-e,0),t.lineTo(e,0),t.moveTo(0,e),t.lineTo(0,-e)}},yx={draw(t,n){const e=Mm(n),r=-e/2;t.rect(r,r,e,e)}},vx={draw(t,n){const e=.4431*Mm(n);t.moveTo(e,e),t.lineTo(e,-e),t.lineTo(-e,-e),t.lineTo(-e,e),t.closePath()}};const _x=wm(Am/10)/wm(7*Am/10),bx=wm(Em/10)*_x,mx=-bm(Em/10)*_x;var xx={draw(t,n){const e=Mm(.8908130915292852*n),r=bx*e,i=mx*e;t.moveTo(0,-e),t.lineTo(r,i);for(let n=1;n<5;++n){const o=Em*n/5,a=bm(o),u=wm(o);t.lineTo(u*e,-a*e),t.lineTo(a*r-u*i,u*r+a*i)}t.closePath()}};const wx=Mm(3);var Mx={draw(t,n){const e=-Mm(n/(3*wx));t.moveTo(0,2*e),t.lineTo(-wx*e,-e),t.lineTo(wx*e,-e),t.closePath()}};const Tx=Mm(3);var Ax={draw(t,n){const e=.6824*Mm(n),r=e/2,i=e*Tx/2;t.moveTo(0,-e),t.lineTo(i,r),t.lineTo(-i,r),t.closePath()}};const Sx=-.5,Ex=Mm(3)/2,Nx=1/Mm(12),kx=3*(Nx/2+1);var Cx={draw(t,n){const e=Mm(n/kx),r=e/2,i=e*Nx,o=r,a=e*Nx+e,u=-o,c=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(u,c),t.lineTo(Sx*r-Ex*i,Ex*r+Sx*i),t.lineTo(Sx*o-Ex*a,Ex*o+Sx*a),t.lineTo(Sx*u-Ex*c,Ex*u+Sx*c),t.lineTo(Sx*r+Ex*i,Sx*i-Ex*r),t.lineTo(Sx*o+Ex*a,Sx*a-Ex*o),t.lineTo(Sx*u+Ex*c,Sx*c-Ex*u),t.closePath()}},Px={draw(t,n){const e=.6189*Mm(n-xm(n/6,1.7));t.moveTo(-e,-e),t.lineTo(e,e),t.moveTo(-e,e),t.lineTo(e,-e)}};const zx=[fx,sx,dx,yx,xx,Mx,Cx],$x=[fx,gx,Px,Ax,cx,vx,px];function Dx(){}function Rx(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function Fx(t){this._context=t}function qx(t){this._context=t}function Ux(t){this._context=t}function Ix(t,n){this._basis=new Fx(t),this._beta=n}Fx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Rx(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Rx(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},qx.prototype={areaStart:Dx,areaEnd:Dx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Rx(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ux.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:Rx(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ix.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],a=t[e]-i,u=n[e]-o,c=-1;++c<=e;)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*a),this._beta*n[c]+(1-this._beta)*(o+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var Ox=function t(n){function e(t){return 1===n?new Fx(t):new Ix(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function Bx(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function Yx(t,n){this._context=t,this._k=(1-n)/6}Yx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Bx(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:Bx(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Lx=function t(n){function e(t){return new Yx(t,n)}return e.tension=function(n){return t(+n)},e}(0);function jx(t,n){this._context=t,this._k=(1-n)/6}jx.prototype={areaStart:Dx,areaEnd:Dx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Bx(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Hx=function t(n){function e(t){return new jx(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Xx(t,n){this._context=t,this._k=(1-n)/6}Xx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Bx(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Gx=function t(n){function e(t){return new Xx(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Vx(t,n,e){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>Tm){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>Tm){var f=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,s=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*f+t._x1*t._l23_2a-n*t._l12_2a)/s,a=(a*f+t._y1*t._l23_2a-e*t._l12_2a)/s}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function Wx(t,n){this._context=t,this._alpha=n}Wx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:Vx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Zx=function t(n){function e(t){return n?new Wx(t,n):new Yx(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Kx(t,n){this._context=t,this._alpha=n}Kx.prototype={areaStart:Dx,areaEnd:Dx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Vx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Qx=function t(n){function e(t){return n?new Kx(t,n):new jx(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Jx(t,n){this._context=t,this._alpha=n}Jx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Vx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var tw=function t(n){function e(t){return n?new Jx(t,n):new Xx(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function nw(t){this._context=t}function ew(t){return t<0?-1:1}function rw(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(e-t._y1)/(i||r<0&&-0),u=(o*i+a*r)/(r+i);return(ew(o)+ew(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(u))||0}function iw(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function ow(t,n,e){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*n,o-u,a-u*e,o,a)}function aw(t){this._context=t}function uw(t){this._context=new cw(t)}function cw(t){this._context=t}function fw(t){this._context=t}function sw(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(a[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n1)for(var e,r,i,o=1,a=t[n[0]],u=a.length;o=0;)e[n]=n;return e}function pw(t,n){return t[n]}function gw(t){const n=[];return n.key=t,n}function yw(t){var n=t.map(vw);return dw(t).sort((function(t,e){return n[t]-n[e]}))}function vw(t){for(var n,e=-1,r=0,i=t.length,o=-1/0;++eo&&(o=n,r=e);return r}function _w(t){var n=t.map(bw);return dw(t).sort((function(t,e){return n[t]-n[e]}))}function bw(t){for(var n,e=0,r=-1,i=t.length;++r=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}};var mw=t=>()=>t;function xw(t,{sourceEvent:n,target:e,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function ww(t,n,e){this.k=t,this.x=n,this.y=e}ww.prototype={constructor:ww,scale:function(t){return 1===t?this:new ww(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new ww(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Mw=new ww(1,0,0);function Tw(t){for(;!t.__zoom;)if(!(t=t.parentNode))return Mw;return t.__zoom}function Aw(t){t.stopImmediatePropagation()}function Sw(t){t.preventDefault(),t.stopImmediatePropagation()}function Ew(t){return!(t.ctrlKey&&"wheel"!==t.type||t.button)}function Nw(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function kw(){return this.__zoom||Mw}function Cw(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function Pw(){return navigator.maxTouchPoints||"ontouchstart"in this}function zw(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],a=t.invertY(n[1][1])-e[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}Tw.prototype=ww.prototype,t.Adder=T,t.Delaunay=Lu,t.FormatSpecifier=tf,t.InternMap=InternMap,t.InternSet=InternSet,t.Node=Qd,t.Path=Ua,t.Voronoi=qu,t.ZoomTransform=ww,t.active=function(t,n){var e,r,i=t.__transition;if(i)for(r in n=null==n?null:n+"",i)if((e=i[r]).state>qi&&e.name===n)return new po([[t]],Zo,n,+r);return null},t.arc=function(){var t=Cm,n=Pm,e=ym(0),r=null,i=zm,o=$m,a=Dm,u=null,c=km(f);function f(){var f,s,l=+t.apply(this,arguments),h=+n.apply(this,arguments),d=i.apply(this,arguments)-Sm,p=o.apply(this,arguments)-Sm,g=vm(p-d),y=p>d;if(u||(u=f=c()),hTm)if(g>Em-Tm)u.moveTo(h*bm(d),h*wm(d)),u.arc(0,0,h,d,p,!y),l>Tm&&(u.moveTo(l*bm(p),l*wm(p)),u.arc(0,0,l,p,d,y));else{var v,_,b=d,m=p,x=d,w=p,M=g,T=g,A=a.apply(this,arguments)/2,S=A>Tm&&(r?+r.apply(this,arguments):Mm(l*l+h*h)),E=xm(vm(h-l)/2,+e.apply(this,arguments)),N=E,k=E;if(S>Tm){var C=Nm(S/l*wm(A)),P=Nm(S/h*wm(A));(M-=2*C)>Tm?(x+=C*=y?1:-1,w-=C):(M=0,x=w=(d+p)/2),(T-=2*P)>Tm?(b+=P*=y?1:-1,m-=P):(T=0,b=m=(d+p)/2)}var z=h*bm(b),$=h*wm(b),D=l*bm(w),R=l*wm(w);if(E>Tm){var F,q=h*bm(m),U=h*wm(m),I=l*bm(x),O=l*wm(x);if(g1?0:t<-1?Am:Math.acos(t)}((B*L+Y*j)/(Mm(B*B+Y*Y)*Mm(L*L+j*j)))/2),X=Mm(F[0]*F[0]+F[1]*F[1]);N=xm(E,(l-X)/(H-1)),k=xm(E,(h-X)/(H+1))}else N=k=0}T>Tm?k>Tm?(v=Rm(I,O,z,$,h,k,y),_=Rm(q,U,D,R,h,k,y),u.moveTo(v.cx+v.x01,v.cy+v.y01),kTm&&M>Tm?N>Tm?(v=Rm(D,R,q,U,l,-N,y),_=Rm(z,$,I,O,l,-N,y),u.lineTo(v.cx+v.x01,v.cy+v.y01),N=0))throw new RangeError("invalid r");let e=t.length;if(!((e=Math.floor(e))>=0))throw new RangeError("invalid length");if(!e||!n)return t;const r=y(n),i=t.slice();return r(t,i,0,e,1),r(i,t,0,e,1),r(t,i,0,e,1),t},t.blur2=l,t.blurImage=h,t.brush=function(){return wa(la)},t.brushSelection=function(t){var n=t.__brush;return n?n.dim.output(n.selection):null},t.brushX=function(){return wa(fa)},t.brushY=function(){return wa(sa)},t.buffer=function(t,n){return fetch(t,n).then(_c)},t.chord=function(){return za(!1,!1)},t.chordDirected=function(){return za(!0,!1)},t.chordTranspose=function(){return za(!1,!0)},t.cluster=function(){var t=Ld,n=1,e=1,r=!1;function i(i){var o,a=0;i.eachAfter((function(n){var e=n.children;e?(n.x=function(t){return t.reduce(jd,0)/t.length}(e),n.y=function(t){return 1+t.reduce(Hd,0)}(e)):(n.x=o?a+=t(n,o):0,n.y=0,o=n)}));var u=function(t){for(var n;n=t.children;)t=n[0];return t}(i),c=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(i),f=u.x-t(u,c)/2,s=c.x+t(c,u)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*n,t.y=(i.y-t.y)*e}:function(t){t.x=(t.x-f)/(s-f)*n,t.y=(1-(i.y?t.y/i.y:1))*e})}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i},t.color=ze,t.contourDensity=function(){var t=fu,n=su,e=lu,r=960,i=500,o=20,a=2,u=3*o,c=r+2*u>>a,f=i+2*u>>a,s=Qa(20);function h(r){var i=new Float32Array(c*f),s=Math.pow(2,-a),h=-1;for(const o of r){var d=(t(o,++h,r)+u)*s,p=(n(o,h,r)+u)*s,g=+e(o,h,r);if(g&&d>=0&&d=0&&pt*r)))(n).map(((t,n)=>(t.value=+e[n],p(t))))}function p(t){return t.coordinates.forEach(g),t}function g(t){t.forEach(y)}function y(t){t.forEach(v)}function v(t){t[0]=t[0]*Math.pow(2,a)-u,t[1]=t[1]*Math.pow(2,a)-u}function _(){return c=r+2*(u=3*o)>>a,f=i+2*u>>a,d}return d.contours=function(t){var n=h(t),e=iu().size([c,f]),r=Math.pow(2,2*a),i=t=>{t=+t;var i=p(e.contour(n,t*r));return i.value=t,i};return Object.defineProperty(i,"max",{get:()=>J(n)/r}),i},d.x=function(n){return arguments.length?(t="function"==typeof n?n:Qa(+n),d):t},d.y=function(t){return arguments.length?(n="function"==typeof t?t:Qa(+t),d):n},d.weight=function(t){return arguments.length?(e="function"==typeof t?t:Qa(+t),d):e},d.size=function(t){if(!arguments.length)return[r,i];var n=+t[0],e=+t[1];if(!(n>=0&&e>=0))throw new Error("invalid size");return r=n,i=e,_()},d.cellSize=function(t){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(t)/Math.LN2),_()},d.thresholds=function(t){return arguments.length?(s="function"==typeof t?t:Array.isArray(t)?Qa(Za.call(t)):Qa(t),d):s},d.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=(Math.sqrt(4*t*t+1)-1)/2,_()},d},t.contours=iu,t.count=v,t.create=function(t){return Zn(Yt(t).call(document.documentElement))},t.creator=Yt,t.cross=function(...t){const n="function"==typeof t[t.length-1]&&function(t){return n=>t(...n)}(t.pop()),e=(t=t.map(m)).map(_),r=t.length-1,i=new Array(r+1).fill(0),o=[];if(r<0||e.some(b))return o;for(;;){o.push(i.map(((n,e)=>t[e][n])));let a=r;for(;++i[a]===e[a];){if(0===a)return n?o.map(n):o;i[a--]=0}}},t.csv=wc,t.csvFormat=rc,t.csvFormatBody=ic,t.csvFormatRow=ac,t.csvFormatRows=oc,t.csvFormatValue=uc,t.csvParse=nc,t.csvParseRows=ec,t.cubehelix=Tr,t.cumsum=function(t,n){var e=0,r=0;return Float64Array.from(t,void 0===n?t=>e+=+t||0:i=>e+=+n(i,r++,t)||0)},t.curveBasis=function(t){return new Fx(t)},t.curveBasisClosed=function(t){return new qx(t)},t.curveBasisOpen=function(t){return new Ux(t)},t.curveBumpX=nx,t.curveBumpY=ex,t.curveBundle=Ox,t.curveCardinal=Lx,t.curveCardinalClosed=Hx,t.curveCardinalOpen=Gx,t.curveCatmullRom=Zx,t.curveCatmullRomClosed=Qx,t.curveCatmullRomOpen=tw,t.curveLinear=Im,t.curveLinearClosed=function(t){return new nw(t)},t.curveMonotoneX=function(t){return new aw(t)},t.curveMonotoneY=function(t){return new uw(t)},t.curveNatural=function(t){return new fw(t)},t.curveStep=function(t){return new lw(t,.5)},t.curveStepAfter=function(t){return new lw(t,1)},t.curveStepBefore=function(t){return new lw(t,0)},t.descending=e,t.deviation=w,t.difference=function(t,...n){t=new InternSet(t);for(const e of n)for(const n of e)t.delete(n);return t},t.disjoint=function(t,n){const e=n[Symbol.iterator](),r=new InternSet;for(const n of t){if(r.has(n))return!1;let t,i;for(;({value:t,done:i}=e.next())&&!i;){if(Object.is(n,t))return!1;r.add(t)}}return!0},t.dispatch=$t,t.drag=function(){var t,n,e,r,i=se,o=le,a=he,u=de,c={},f=$t("start","drag","end"),s=0,l=0;function h(t){t.on("mousedown.drag",d).filter(u).on("touchstart.drag",y).on("touchmove.drag",v,ee).on("touchend.drag touchcancel.drag",_).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(a,u){if(!r&&i.call(this,a,u)){var c=b(this,o.call(this,a,u),a,u,"mouse");c&&(Zn(a.view).on("mousemove.drag",p,re).on("mouseup.drag",g,re),ae(a.view),ie(a),e=!1,t=a.clientX,n=a.clientY,c("start",a))}}function p(r){if(oe(r),!e){var i=r.clientX-t,o=r.clientY-n;e=i*i+o*o>l}c.mouse("drag",r)}function g(t){Zn(t.view).on("mousemove.drag mouseup.drag",null),ue(t.view,e),oe(t),c.mouse("end",t)}function y(t,n){if(i.call(this,t,n)){var e,r,a=t.changedTouches,u=o.call(this,t,n),c=a.length;for(e=0;e+t,t.easePoly=wo,t.easePolyIn=mo,t.easePolyInOut=wo,t.easePolyOut=xo,t.easeQuad=_o,t.easeQuadIn=function(t){return t*t},t.easeQuadInOut=_o,t.easeQuadOut=function(t){return t*(2-t)},t.easeSin=Ao,t.easeSinIn=function(t){return 1==+t?1:1-Math.cos(t*To)},t.easeSinInOut=Ao,t.easeSinOut=function(t){return Math.sin(t*To)},t.every=function(t,n){if("function"!=typeof n)throw new TypeError("test is not a function");let e=-1;for(const r of t)if(!n(r,++e,t))return!1;return!0},t.extent=M,t.fcumsum=function(t,n){const e=new T;let r=-1;return Float64Array.from(t,void 0===n?t=>e.add(+t||0):i=>e.add(+n(i,++r,t)||0))},t.filter=function(t,n){if("function"!=typeof n)throw new TypeError("test is not a function");const e=[];let r=-1;for(const i of t)n(i,++r,t)&&e.push(i);return e},t.flatGroup=function(t,...n){return z(P(t,...n),n)},t.flatRollup=function(t,n,...e){return z(D(t,n,...e),e)},t.forceCenter=function(t,n){var e,r=1;function i(){var i,o,a=e.length,u=0,c=0;for(i=0;if+p||os+p||ac.index){var g=f-u.x-u.vx,y=s-u.y-u.vy,v=g*g+y*y;vt.r&&(t.r=t[n].r)}function c(){if(n){var r,i,o=n.length;for(e=new Array(o),r=0;r[u(t,n,r),t])));for(a=0,i=new Array(f);a=u)){(t.data!==n||t.next)&&(0===l&&(p+=(l=Uc(e))*l),0===h&&(p+=(h=Uc(e))*h),p(t=(Lc*t+jc)%Hc)/Hc}();function l(){h(),f.call("tick",n),e1?(null==e?u.delete(t):u.set(t,p(e)),n):u.get(t)},find:function(n,e,r){var i,o,a,u,c,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f1?(f.on(t,e),n):f.on(t)}}},t.forceX=function(t){var n,e,r,i=qc(.1);function o(t){for(var i,o=0,a=n.length;o=.12&&i<.234&&r>=-.425&&r<-.214?u:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:a).invert(t)},s.stream=function(e){return t&&n===e?t:(r=[a.stream(n=e),u.stream(e),c.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++ejs(r[0],r[1])&&(r[1]=i[1]),js(i[0],r[1])>js(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,n=0,r=o[e=o.length-1];n<=e;r=i,++n)i=o[n],(u=js(r[1],i[0]))>a&&(a=u,Wf=i[0],Kf=r[1])}return is=os=null,Wf===1/0||Zf===1/0?[[NaN,NaN],[NaN,NaN]]:[[Wf,Zf],[Kf,Qf]]},t.geoCentroid=function(t){ms=xs=ws=Ms=Ts=As=Ss=Es=0,Ns=new T,ks=new T,Cs=new T,Lf(t,Gs);var n=+Ns,e=+ks,r=+Cs,i=Ef(n,e,r);return i=0))throw new RangeError(`invalid digits: ${t}`);i=n}return null===n&&(r=new ed(i)),a},a.projection(t).digits(i).context(n)},t.geoProjection=yd,t.geoProjectionMutator=vd,t.geoRotation=ll,t.geoStereographic=function(){return yd(Bd).scale(250).clipAngle(142)},t.geoStereographicRaw=Bd,t.geoStream=Lf,t.geoTransform=function(t){return{stream:id(t)}},t.geoTransverseMercator=function(){var t=Ed(Yd),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)},t.geoTransverseMercatorRaw=Yd,t.gray=function(t,n){return new ur(t,0,0,null==n?1:n)},t.greatest=ot,t.greatestIndex=function(t,e=n){if(1===e.length)return tt(t,e);let r,i=-1,o=-1;for(const n of t)++o,(i<0?0===e(n,n):e(n,r)>0)&&(r=n,i=o);return i},t.group=C,t.groupSort=function(t,e,r){return(2!==e.length?U($(t,e,r),(([t,e],[r,i])=>n(e,i)||n(t,r))):U(C(t,r),(([t,r],[i,o])=>e(r,o)||n(t,i)))).map((([t])=>t))},t.groups=P,t.hcl=dr,t.hierarchy=Gd,t.histogram=Q,t.hsl=He,t.html=Ec,t.image=function(t,n){return new Promise((function(e,r){var i=new Image;for(var o in n)i[o]=n[o];i.onerror=r,i.onload=function(){e(i)},i.src=t}))},t.index=function(t,...n){return F(t,k,R,n)},t.indexes=function(t,...n){return F(t,Array.from,R,n)},t.interpolate=Gr,t.interpolateArray=function(t,n){return(Ir(n)?Ur:Or)(t,n)},t.interpolateBasis=Er,t.interpolateBasisClosed=Nr,t.interpolateBlues=Gb,t.interpolateBrBG=ob,t.interpolateBuGn=Mb,t.interpolateBuPu=Ab,t.interpolateCividis=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-t*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"},t.interpolateCool=am,t.interpolateCubehelix=li,t.interpolateCubehelixDefault=im,t.interpolateCubehelixLong=hi,t.interpolateDate=Br,t.interpolateDiscrete=function(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}},t.interpolateGnBu=Eb,t.interpolateGreens=Wb,t.interpolateGreys=Kb,t.interpolateHcl=ci,t.interpolateHclLong=fi,t.interpolateHsl=oi,t.interpolateHslLong=ai,t.interpolateHue=function(t,n){var e=Pr(+t,+n);return function(t){var n=e(t);return n-360*Math.floor(n/360)}},t.interpolateInferno=pm,t.interpolateLab=function(t,n){var e=$r((t=ar(t)).l,(n=ar(n)).l),r=$r(t.a,n.a),i=$r(t.b,n.b),o=$r(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=r(n),t.b=i(n),t.opacity=o(n),t+""}},t.interpolateMagma=dm,t.interpolateNumber=Yr,t.interpolateNumberArray=Ur,t.interpolateObject=Lr,t.interpolateOrRd=kb,t.interpolateOranges=rm,t.interpolatePRGn=ub,t.interpolatePiYG=fb,t.interpolatePlasma=gm,t.interpolatePuBu=$b,t.interpolatePuBuGn=Pb,t.interpolatePuOr=lb,t.interpolatePuRd=Rb,t.interpolatePurples=Jb,t.interpolateRainbow=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return um.h=360*t-100,um.s=1.5-1.5*n,um.l=.8-.9*n,um+""},t.interpolateRdBu=db,t.interpolateRdGy=gb,t.interpolateRdPu=qb,t.interpolateRdYlBu=vb,t.interpolateRdYlGn=bb,t.interpolateReds=nm,t.interpolateRgb=Dr,t.interpolateRgbBasis=Fr,t.interpolateRgbBasisClosed=qr,t.interpolateRound=Vr,t.interpolateSinebow=function(t){var n;return t=(.5-t)*Math.PI,cm.r=255*(n=Math.sin(t))*n,cm.g=255*(n=Math.sin(t+fm))*n,cm.b=255*(n=Math.sin(t+sm))*n,cm+""},t.interpolateSpectral=xb,t.interpolateString=Xr,t.interpolateTransformCss=ti,t.interpolateTransformSvg=ni,t.interpolateTurbo=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"},t.interpolateViridis=hm,t.interpolateWarm=om,t.interpolateYlGn=Bb,t.interpolateYlGnBu=Ib,t.interpolateYlOrBr=Lb,t.interpolateYlOrRd=Hb,t.interpolateZoom=ri,t.interrupt=Gi,t.intersection=function(t,...n){t=new InternSet(t),n=n.map(vt);t:for(const e of t)for(const r of n)if(!r.has(e)){t.delete(e);continue t}return t},t.interval=function(t,n,e){var r=new Ei,i=n;return null==n?(r.restart(t,n,e),r):(r._restart=r.restart,r.restart=function(t,n,e){n=+n,e=null==e?Ai():+e,r._restart((function o(a){a+=i,r._restart(o,i+=n,e),t(a)}),n,e)},r.restart(t,n,e),r)},t.isoFormat=D_,t.isoParse=F_,t.json=function(t,n){return fetch(t,n).then(Tc)},t.lab=ar,t.lch=function(t,n,e,r){return 1===arguments.length?hr(t):new pr(e,n,t,null==r?1:r)},t.least=function(t,e=n){let r,i=!1;if(1===e.length){let o;for(const a of t){const t=e(a);(i?n(t,o)<0:0===n(t,t))&&(r=a,o=t,i=!0)}}else for(const n of t)(i?e(n,r)<0:0===e(n,n))&&(r=n,i=!0);return r},t.leastIndex=ht,t.line=Ym,t.lineRadial=Zm,t.link=ax,t.linkHorizontal=function(){return ax(nx)},t.linkRadial=function(){const t=ax(rx);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t},t.linkVertical=function(){return ax(ex)},t.local=Qn,t.map=function(t,n){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");if("function"!=typeof n)throw new TypeError("mapper is not a function");return Array.from(t,((e,r)=>n(e,r,t)))},t.matcher=Vt,t.max=J,t.maxIndex=tt,t.mean=function(t,n){let e=0,r=0;if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(++e,r+=n);else{let i=-1;for(let o of t)null!=(o=n(o,++i,t))&&(o=+o)>=o&&(++e,r+=o)}if(e)return r/e},t.median=function(t,n){return at(t,.5,n)},t.medianIndex=function(t,n){return ct(t,.5,n)},t.merge=ft,t.min=nt,t.minIndex=et,t.mode=function(t,n){const e=new InternMap;if(void 0===n)for(let n of t)null!=n&&n>=n&&e.set(n,(e.get(n)||0)+1);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&i>=i&&e.set(i,(e.get(i)||0)+1)}let r,i=0;for(const[t,n]of e)n>i&&(i=n,r=t);return r},t.namespace=It,t.namespaces=Ut,t.nice=Z,t.now=Ai,t.pack=function(){var t=null,n=1,e=1,r=np;function i(i){const o=ap();return i.x=n/2,i.y=e/2,t?i.eachBefore(xp(t)).eachAfter(wp(r,.5,o)).eachBefore(Mp(1)):i.eachBefore(xp(mp)).eachAfter(wp(np,1,o)).eachAfter(wp(r,i.r/Math.min(n,e),o)).eachBefore(Mp(Math.min(n,e)/(2*i.r))),i}return i.radius=function(n){return arguments.length?(t=Jd(n),i):t},i.size=function(t){return arguments.length?(n=+t[0],e=+t[1],i):[n,e]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:ep(+t),i):r},i},t.packEnclose=function(t){return up(t,ap())},t.packSiblings=function(t){return bp(t,ap()),t},t.pairs=function(t,n=st){const e=[];let r,i=!1;for(const o of t)i&&e.push(n(r,o)),r=o,i=!0;return e},t.partition=function(){var t=1,n=1,e=0,r=!1;function i(i){var o=i.height+1;return i.x0=i.y0=e,i.x1=t,i.y1=n/o,i.eachBefore(function(t,n){return function(r){r.children&&Ap(r,r.x0,t*(r.depth+1)/n,r.x1,t*(r.depth+2)/n);var i=r.x0,o=r.y0,a=r.x1-e,u=r.y1-e;a0&&(d+=l);for(null!=n?p.sort((function(t,e){return n(g[t],g[e])})):null!=e&&p.sort((function(t,n){return e(a[t],a[n])})),u=0,f=d?(v-h*b)/d:0;u0?l*f:0)+b,g[c]={data:a[c],index:u,value:l,startAngle:y,endAngle:s,padAngle:_};return g}return a.value=function(n){return arguments.length?(t="function"==typeof n?n:ym(+n),a):t},a.sortValues=function(t){return arguments.length?(n=t,e=null,a):n},a.sort=function(t){return arguments.length?(e=t,n=null,a):e},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:ym(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:ym(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:ym(+t),a):o},a},t.piecewise=di,t.pointRadial=Qm,t.pointer=ne,t.pointers=function(t,n){return t.target&&(t=te(t),void 0===n&&(n=t.currentTarget),t=t.touches||[t]),Array.from(t,(t=>ne(t,n)))},t.polygonArea=function(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++eu!=f>u&&a<(c-e)*(u-r)/(f-r)+e&&(s=!s),c=e,f=r;return s},t.polygonHull=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),i=new Array(e);for(n=0;n=0;--n)f.push(t[r[o[n]][2]]);for(n=+u;n(n=1664525*n+1013904223|0,lg*(n>>>0))},t.randomLogNormal=Kp,t.randomLogistic=fg,t.randomNormal=Zp,t.randomPareto=ng,t.randomPoisson=sg,t.randomUniform=Vp,t.randomWeibull=ug,t.range=lt,t.rank=function(t,e=n){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");let r=Array.from(t);const i=new Float64Array(r.length);2!==e.length&&(r=r.map(e),e=n);const o=(t,n)=>e(r[t],r[n]);let a,u;return(t=Uint32Array.from(r,((t,n)=>n))).sort(e===n?(t,n)=>O(r[t],r[n]):I(o)),t.forEach(((t,n)=>{const e=o(t,void 0===a?t:a);e>=0?((void 0===a||e>0)&&(a=t,u=n),i[t]=u):i[t]=NaN})),i},t.reduce=function(t,n,e){if("function"!=typeof n)throw new TypeError("reducer is not a function");const r=t[Symbol.iterator]();let i,o,a=-1;if(arguments.length<3){if(({done:i,value:e}=r.next()),i)return;++a}for(;({done:i,value:o}=r.next()),!i;)e=n(e,o,++a,t);return e},t.reverse=function(t){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");return Array.from(t).reverse()},t.rgb=Fe,t.ribbon=function(){return Wa()},t.ribbonArrow=function(){return Wa(Va)},t.rollup=$,t.rollups=D,t.scaleBand=yg,t.scaleDiverging=function t(){var n=Ng(L_()(mg));return n.copy=function(){return B_(n,t())},dg.apply(n,arguments)},t.scaleDivergingLog=function t(){var n=Fg(L_()).domain([.1,1,10]);return n.copy=function(){return B_(n,t()).base(n.base())},dg.apply(n,arguments)},t.scaleDivergingPow=j_,t.scaleDivergingSqrt=function(){return j_.apply(null,arguments).exponent(.5)},t.scaleDivergingSymlog=function t(){var n=Ig(L_());return n.copy=function(){return B_(n,t()).constant(n.constant())},dg.apply(n,arguments)},t.scaleIdentity=function t(n){var e;function r(t){return null==t||isNaN(t=+t)?e:t}return r.invert=r,r.domain=r.range=function(t){return arguments.length?(n=Array.from(t,_g),r):n.slice()},r.unknown=function(t){return arguments.length?(e=t,r):e},r.copy=function(){return t(n).unknown(e)},n=arguments.length?Array.from(n,_g):[0,1],Ng(r)},t.scaleImplicit=pg,t.scaleLinear=function t(){var n=Sg();return n.copy=function(){return Tg(n,t())},hg.apply(n,arguments),Ng(n)},t.scaleLog=function t(){const n=Fg(Ag()).domain([1,10]);return n.copy=()=>Tg(n,t()).base(n.base()),hg.apply(n,arguments),n},t.scaleOrdinal=gg,t.scalePoint=function(){return vg(yg.apply(null,arguments).paddingInner(1))},t.scalePow=jg,t.scaleQuantile=function t(){var e,r=[],i=[],o=[];function a(){var t=0,n=Math.max(1,i.length);for(o=new Array(n-1);++t0?o[n-1]:r[0],n=i?[o[i-1],r]:[o[n-1],o[n]]},u.unknown=function(t){return arguments.length?(n=t,u):u},u.thresholds=function(){return o.slice()},u.copy=function(){return t().domain([e,r]).range(a).unknown(n)},hg.apply(Ng(u),arguments)},t.scaleRadial=function t(){var n,e=Sg(),r=[0,1],i=!1;function o(t){var r=function(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}(e(t));return isNaN(r)?n:i?Math.round(r):r}return o.invert=function(t){return e.invert(Hg(t))},o.domain=function(t){return arguments.length?(e.domain(t),o):e.domain()},o.range=function(t){return arguments.length?(e.range((r=Array.from(t,_g)).map(Hg)),o):r.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(i=!!t,o):i},o.clamp=function(t){return arguments.length?(e.clamp(t),o):e.clamp()},o.unknown=function(t){return arguments.length?(n=t,o):n},o.copy=function(){return t(e.domain(),r).round(i).clamp(e.clamp()).unknown(n)},hg.apply(o,arguments),Ng(o)},t.scaleSequential=function t(){var n=Ng(O_()(mg));return n.copy=function(){return B_(n,t())},dg.apply(n,arguments)},t.scaleSequentialLog=function t(){var n=Fg(O_()).domain([1,10]);return n.copy=function(){return B_(n,t()).base(n.base())},dg.apply(n,arguments)},t.scaleSequentialPow=Y_,t.scaleSequentialQuantile=function t(){var e=[],r=mg;function i(t){if(null!=t&&!isNaN(t=+t))return r((s(e,t,1)-1)/(e.length-1))}return i.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)null==n||isNaN(n=+n)||e.push(n);return e.sort(n),i},i.interpolator=function(t){return arguments.length?(r=t,i):r},i.range=function(){return e.map(((t,n)=>r(n/(e.length-1))))},i.quantiles=function(t){return Array.from({length:t+1},((n,r)=>at(e,r/t)))},i.copy=function(){return t(r).domain(e)},dg.apply(i,arguments)},t.scaleSequentialSqrt=function(){return Y_.apply(null,arguments).exponent(.5)},t.scaleSequentialSymlog=function t(){var n=Ig(O_());return n.copy=function(){return B_(n,t()).constant(n.constant())},dg.apply(n,arguments)},t.scaleSqrt=function(){return jg.apply(null,arguments).exponent(.5)},t.scaleSymlog=function t(){var n=Ig(Ag());return n.copy=function(){return Tg(n,t()).constant(n.constant())},hg.apply(n,arguments)},t.scaleThreshold=function t(){var n,e=[.5],r=[0,1],i=1;function o(t){return null!=t&&t<=t?r[s(e,t,0,i)]:n}return o.domain=function(t){return arguments.length?(e=Array.from(t),i=Math.min(e.length,r.length-1),o):e.slice()},o.range=function(t){return arguments.length?(r=Array.from(t),i=Math.min(e.length,r.length-1),o):r.slice()},o.invertExtent=function(t){var n=r.indexOf(t);return[e[n-1],e[n]]},o.unknown=function(t){return arguments.length?(n=t,o):n},o.copy=function(){return t().domain(e).range(r).unknown(n)},hg.apply(o,arguments)},t.scaleTime=function(){return hg.apply(I_(uv,cv,tv,Zy,xy,py,sy,ay,iy,t.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},t.scaleUtc=function(){return hg.apply(I_(ov,av,ev,Qy,Fy,yy,hy,cy,iy,t.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},t.scan=function(t,n){const e=ht(t,n);return e<0?void 0:e},t.schemeAccent=G_,t.schemeBlues=Xb,t.schemeBrBG=ib,t.schemeBuGn=wb,t.schemeBuPu=Tb,t.schemeCategory10=X_,t.schemeDark2=V_,t.schemeGnBu=Sb,t.schemeGreens=Vb,t.schemeGreys=Zb,t.schemeObservable10=W_,t.schemeOrRd=Nb,t.schemeOranges=em,t.schemePRGn=ab,t.schemePaired=Z_,t.schemePastel1=K_,t.schemePastel2=Q_,t.schemePiYG=cb,t.schemePuBu=zb,t.schemePuBuGn=Cb,t.schemePuOr=sb,t.schemePuRd=Db,t.schemePurples=Qb,t.schemeRdBu=hb,t.schemeRdGy=pb,t.schemeRdPu=Fb,t.schemeRdYlBu=yb,t.schemeRdYlGn=_b,t.schemeReds=tm,t.schemeSet1=J_,t.schemeSet2=tb,t.schemeSet3=nb,t.schemeSpectral=mb,t.schemeTableau10=eb,t.schemeYlGn=Ob,t.schemeYlGnBu=Ub,t.schemeYlOrBr=Yb,t.schemeYlOrRd=jb,t.select=Zn,t.selectAll=function(t){return"string"==typeof t?new Vn([document.querySelectorAll(t)],[document.documentElement]):new Vn([Ht(t)],Gn)},t.selection=Wn,t.selector=jt,t.selectorAll=Gt,t.shuffle=dt,t.shuffler=pt,t.some=function(t,n){if("function"!=typeof n)throw new TypeError("test is not a function");let e=-1;for(const r of t)if(n(r,++e,t))return!0;return!1},t.sort=U,t.stack=function(){var t=ym([]),n=dw,e=hw,r=pw;function i(i){var o,a,u=Array.from(t.apply(this,arguments),gw),c=u.length,f=-1;for(const t of i)for(o=0,++f;o0)for(var e,r,i,o,a,u,c=0,f=t[n[0]].length;c0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)},t.stackOffsetExpand=function(t,n){if((r=t.length)>0){for(var e,r,i,o=0,a=t[0].length;o0){for(var e,r=0,i=t[n[0]],o=i.length;r0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,a=1;afunction(t){t=`${t}`;let n=t.length;zp(t,n-1)&&!zp(t,n-2)&&(t=t.slice(0,-1));return"/"===t[0]?t:`/${t}`}(t(n,e,r)))),e=n.map(Pp),i=new Set(n).add("");for(const t of e)i.has(t)||(i.add(t),n.push(t),e.push(Pp(t)),h.push(Np));d=(t,e)=>n[e],p=(t,n)=>e[n]}for(a=0,i=h.length;a=0&&(f=h[t]).data===Np;--t)f.data=null}if(u.parent=Sp,u.eachBefore((function(t){t.depth=t.parent.depth+1,--i})).eachBefore(Kd),u.parent=null,i>0)throw new Error("cycle");return u}return r.id=function(t){return arguments.length?(n=Jd(t),r):n},r.parentId=function(t){return arguments.length?(e=Jd(t),r):e},r.path=function(n){return arguments.length?(t=Jd(n),r):t},r},t.style=_n,t.subset=function(t,n){return _t(n,t)},t.sum=function(t,n){let e=0;if(void 0===n)for(let n of t)(n=+n)&&(e+=n);else{let r=-1;for(let i of t)(i=+n(i,++r,t))&&(e+=i)}return e},t.superset=_t,t.svg=Nc,t.symbol=function(t,n){let e=null,r=km(i);function i(){let i;if(e||(e=i=r()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return t="function"==typeof t?t:ym(t||fx),n="function"==typeof n?n:ym(void 0===n?64:+n),i.type=function(n){return arguments.length?(t="function"==typeof n?n:ym(n),i):t},i.size=function(t){return arguments.length?(n="function"==typeof t?t:ym(+t),i):n},i.context=function(t){return arguments.length?(e=null==t?null:t,i):e},i},t.symbolAsterisk=cx,t.symbolCircle=fx,t.symbolCross=sx,t.symbolDiamond=dx,t.symbolDiamond2=px,t.symbolPlus=gx,t.symbolSquare=yx,t.symbolSquare2=vx,t.symbolStar=xx,t.symbolTimes=Px,t.symbolTriangle=Mx,t.symbolTriangle2=Ax,t.symbolWye=Cx,t.symbolX=Px,t.symbols=zx,t.symbolsFill=zx,t.symbolsStroke=$x,t.text=mc,t.thresholdFreedmanDiaconis=function(t,n,e){const r=v(t),i=at(t,.75)-at(t,.25);return r&&i?Math.ceil((e-n)/(2*i*Math.pow(r,-1/3))):1},t.thresholdScott=function(t,n,e){const r=v(t),i=w(t);return r&&i?Math.ceil((e-n)*Math.cbrt(r)/(3.49*i)):1},t.thresholdSturges=K,t.tickFormat=Eg,t.tickIncrement=V,t.tickStep=W,t.ticks=G,t.timeDay=py,t.timeDays=gy,t.timeFormatDefaultLocale=P_,t.timeFormatLocale=hv,t.timeFriday=Sy,t.timeFridays=$y,t.timeHour=sy,t.timeHours=ly,t.timeInterval=Vg,t.timeMillisecond=Wg,t.timeMilliseconds=Zg,t.timeMinute=ay,t.timeMinutes=uy,t.timeMonday=wy,t.timeMondays=ky,t.timeMonth=Zy,t.timeMonths=Ky,t.timeSaturday=Ey,t.timeSaturdays=Dy,t.timeSecond=iy,t.timeSeconds=oy,t.timeSunday=xy,t.timeSundays=Ny,t.timeThursday=Ay,t.timeThursdays=zy,t.timeTickInterval=cv,t.timeTicks=uv,t.timeTuesday=My,t.timeTuesdays=Cy,t.timeWednesday=Ty,t.timeWednesdays=Py,t.timeWeek=xy,t.timeWeeks=Ny,t.timeYear=tv,t.timeYears=nv,t.timeout=$i,t.timer=Ni,t.timerFlush=ki,t.transition=go,t.transpose=gt,t.tree=function(){var t=$p,n=1,e=1,r=null;function i(i){var c=function(t){for(var n,e,r,i,o,a=new Up(t,0),u=[a];n=u.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)u.push(e=n.children[i]=new Up(r[i],i)),e.parent=n;return(a.parent=new Up(null,0)).children=[a],a}(i);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(a),r)i.eachBefore(u);else{var f=i,s=i,l=i;i.eachBefore((function(t){t.xs.x&&(s=t),t.depth>l.depth&&(l=t)}));var h=f===s?1:t(f,s)/2,d=h-f.x,p=n/(s.x+h+d),g=e/(l.depth||1);i.eachBefore((function(t){t.x=(t.x+d)*p,t.y=t.depth*g}))}return i}function o(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)(n=i[o]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var o=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-o):n.z=o}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,o=n,a=n,u=e,c=o.parent.children[0],f=o.m,s=a.m,l=u.m,h=c.m;u=Rp(u),o=Dp(o),u&&o;)c=Dp(c),(a=Rp(a)).a=n,(i=u.z+l-o.z-f+t(u._,o._))>0&&(Fp(qp(u,n,r),n,i),f+=i,s+=i),l+=u.m,f+=o.m,h+=c.m,s+=a.m;u&&!Rp(a)&&(a.t=u,a.m+=l-s),o&&!Dp(c)&&(c.t=o,c.m+=f-h,r=n)}return r}(n,i,n.parent.A||r[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function u(t){t.x*=n,t.y=t.depth*e}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i},t.treemap=function(){var t=Yp,n=!1,e=1,r=1,i=[0],o=np,a=np,u=np,c=np,f=np;function s(t){return t.x0=t.y0=0,t.x1=e,t.y1=r,t.eachBefore(l),i=[0],n&&t.eachBefore(Tp),t}function l(n){var e=i[n.depth],r=n.x0+e,s=n.y0+e,l=n.x1-e,h=n.y1-e;l=e-1){var s=u[n];return s.x0=i,s.y0=o,s.x1=a,void(s.y1=c)}var l=f[n],h=r/2+l,d=n+1,p=e-1;for(;d>>1;f[g]c-o){var _=r?(i*v+a*y)/r:a;t(n,d,y,i,o,_,c),t(d,e,v,_,o,a,c)}else{var b=r?(o*v+c*y)/r:c;t(n,d,y,i,o,a,b),t(d,e,v,i,b,a,c)}}(0,c,t.value,n,e,r,i)},t.treemapDice=Ap,t.treemapResquarify=Lp,t.treemapSlice=Ip,t.treemapSliceDice=function(t,n,e,r,i){(1&t.depth?Ip:Ap)(t,n,e,r,i)},t.treemapSquarify=Yp,t.tsv=Mc,t.tsvFormat=lc,t.tsvFormatBody=hc,t.tsvFormatRow=pc,t.tsvFormatRows=dc,t.tsvFormatValue=gc,t.tsvParse=fc,t.tsvParseRows=sc,t.union=function(...t){const n=new InternSet;for(const e of t)for(const t of e)n.add(t);return n},t.unixDay=_y,t.unixDays=by,t.utcDay=yy,t.utcDays=vy,t.utcFriday=By,t.utcFridays=Vy,t.utcHour=hy,t.utcHours=dy,t.utcMillisecond=Wg,t.utcMilliseconds=Zg,t.utcMinute=cy,t.utcMinutes=fy,t.utcMonday=qy,t.utcMondays=jy,t.utcMonth=Qy,t.utcMonths=Jy,t.utcSaturday=Yy,t.utcSaturdays=Wy,t.utcSecond=iy,t.utcSeconds=oy,t.utcSunday=Fy,t.utcSundays=Ly,t.utcThursday=Oy,t.utcThursdays=Gy,t.utcTickInterval=av,t.utcTicks=ov,t.utcTuesday=Uy,t.utcTuesdays=Hy,t.utcWednesday=Iy,t.utcWednesdays=Xy,t.utcWeek=Fy,t.utcWeeks=Ly,t.utcYear=ev,t.utcYears=rv,t.variance=x,t.version="7.9.0",t.window=pn,t.xml=Sc,t.zip=function(){return gt(arguments)},t.zoom=function(){var t,n,e,r=Ew,i=Nw,o=zw,a=Cw,u=Pw,c=[0,1/0],f=[[-1/0,-1/0],[1/0,1/0]],s=250,l=ri,h=$t("start","zoom","end"),d=500,p=150,g=0,y=10;function v(t){t.property("__zoom",kw).on("wheel.zoom",T,{passive:!1}).on("mousedown.zoom",A).on("dblclick.zoom",S).filter(u).on("touchstart.zoom",E).on("touchmove.zoom",N).on("touchend.zoom touchcancel.zoom",k).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function _(t,n){return(n=Math.max(c[0],Math.min(c[1],n)))===t.k?t:new ww(n,t.x,t.y)}function b(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new ww(t.k,r,i)}function m(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function x(t,n,e,r){t.on("start.zoom",(function(){w(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){w(this,arguments).event(r).end()})).tween("zoom",(function(){var t=this,o=arguments,a=w(t,o).event(r),u=i.apply(t,o),c=null==e?m(u):"function"==typeof e?e.apply(t,o):e,f=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),s=t.__zoom,h="function"==typeof n?n.apply(t,o):n,d=l(s.invert(c).concat(f/s.k),h.invert(c).concat(f/h.k));return function(t){if(1===t)t=h;else{var n=d(t),e=f/n[2];t=new ww(e,c[0]-n[0]*e,c[1]-n[1]*e)}a.zoom(null,t)}}))}function w(t,n,e){return!e&&t.__zooming||new M(t,n)}function M(t,n){this.that=t,this.args=n,this.active=0,this.sourceEvent=null,this.extent=i.apply(t,n),this.taps=0}function T(t,...n){if(r.apply(this,arguments)){var e=w(this,n).event(t),i=this.__zoom,u=Math.max(c[0],Math.min(c[1],i.k*Math.pow(2,a.apply(this,arguments)))),s=ne(t);if(e.wheel)e.mouse[0][0]===s[0]&&e.mouse[0][1]===s[1]||(e.mouse[1]=i.invert(e.mouse[0]=s)),clearTimeout(e.wheel);else{if(i.k===u)return;e.mouse=[s,i.invert(s)],Gi(this),e.start()}Sw(t),e.wheel=setTimeout((function(){e.wheel=null,e.end()}),p),e.zoom("mouse",o(b(_(i,u),e.mouse[0],e.mouse[1]),e.extent,f))}}function A(t,...n){if(!e&&r.apply(this,arguments)){var i=t.currentTarget,a=w(this,n,!0).event(t),u=Zn(t.view).on("mousemove.zoom",(function(t){if(Sw(t),!a.moved){var n=t.clientX-s,e=t.clientY-l;a.moved=n*n+e*e>g}a.event(t).zoom("mouse",o(b(a.that.__zoom,a.mouse[0]=ne(t,i),a.mouse[1]),a.extent,f))}),!0).on("mouseup.zoom",(function(t){u.on("mousemove.zoom mouseup.zoom",null),ue(t.view,a.moved),Sw(t),a.event(t).end()}),!0),c=ne(t,i),s=t.clientX,l=t.clientY;ae(t.view),Aw(t),a.mouse=[c,this.__zoom.invert(c)],Gi(this),a.start()}}function S(t,...n){if(r.apply(this,arguments)){var e=this.__zoom,a=ne(t.changedTouches?t.changedTouches[0]:t,this),u=e.invert(a),c=e.k*(t.shiftKey?.5:2),l=o(b(_(e,c),a,u),i.apply(this,n),f);Sw(t),s>0?Zn(this).transition().duration(s).call(x,l,a,t):Zn(this).call(v.transform,l,a,t)}}function E(e,...i){if(r.apply(this,arguments)){var o,a,u,c,f=e.touches,s=f.length,l=w(this,i,e.changedTouches.length===s).event(e);for(Aw(e),a=0;a`https://cdn.jsdelivr.net/npm/${t}`,unpkg:t=>`https://unpkg.com/${t}`};class r{constructor(){this.providers={...n},this.provider="jsdelivr"}async getFastestProvider(t=5e3,e="npm2url/dist/index.cjs"){const n=new AbortController;let r=0;try{return await new Promise(((s,i)=>{Promise.all(Object.entries(this.providers).map((async([t,r])=>{try{await async function(t,e){const n=await fetch(t,{signal:e});if(!n.ok)throw n;await n.text()}(r(e),n.signal),s(t)}catch{}}))).then((()=>i(new Error("All providers failed")))),r=setTimeout(i,t,new Error("Timed out"))}))}finally{n.abort(),clearTimeout(r)}}async findFastestProvider(t,e){return this.provider=await this.getFastestProvider(t,e),this.provider}setProvider(t,e){e?this.providers[t]=e:delete this.providers[t]}getFullUrl(t,e=this.provider){if(t.includes("://"))return t;const n=this.providers[e];if(!n)throw new Error(`Provider ${e} not found`);return n(t)}}class s{constructor(){this.listeners=[]}tap(t){return this.listeners.push(t),()=>this.revoke(t)}revoke(t){const e=this.listeners.indexOf(t);e>=0&&this.listeners.splice(e,1)}revokeAll(){this.listeners.splice(0)}call(...t){for(const e of this.listeners)e(...t)}}function i(){}function o(t,e){return(...n)=>e(t,...n)}Math.random().toString(36).slice(2,8); -/*! @gera2ld/jsx-dom v2.2.2 | ISC License */ -const a="http://www.w3.org/1999/xlink",c={show:a,actuate:a,href:a};function l(t,e,...n){return function(t,e){let n;if("string"==typeof t)n=1;else{if("function"!=typeof t)throw new Error("Invalid VNode type");n=2}return{vtype:n,type:t,props:e}}(t,e=Object.assign({},e,{children:1===n.length?n[0]:n}))}function u(t){return t.children}const h={isSvg:!1};function f(t,e){Array.isArray(e)||(e=[e]),(e=e.filter(Boolean)).length&&t.append(...e)}const d={className:"class",labelFor:"for"};function p(t,e,n,r){if(e=d[e]||e,!0===n)t.setAttribute(e,"");else if(!1===n)t.removeAttribute(e);else{const s=r?c[e]:void 0;void 0!==s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}}function m(t,e){return Array.isArray(t)?t.map((t=>m(t,e))).reduce(((t,e)=>t.concat(e)),[]):g(t,e)}function g(t,e=h){if(null==t||"boolean"==typeof t)return null;if(t instanceof Node)return t;if(2===(null==(n=t)?void 0:n.vtype)){const{type:n,props:r}=t;if(n===u){const t=document.createDocumentFragment();if(r.children){f(t,m(r.children,e))}return t}return g(n(r),e)}var n;if((t=>"string"==typeof t||"number"==typeof t)(t))return document.createTextNode(`${t}`);if((t=>1===(null==t?void 0:t.vtype))(t)){let n;const{type:r,props:s}=t;if(e.isSvg||"svg"!==r||(e=Object.assign({},e,{isSvg:!0})),n=e.isSvg?document.createElementNS("http://www.w3.org/2000/svg",r):document.createElement(r),function(t,e,n){for(const r in e)if("key"!==r&&"children"!==r&&"ref"!==r)if("dangerouslySetInnerHTML"===r)t.innerHTML=e[r].__html;else if("innerHTML"===r||"textContent"===r||"innerText"===r||"value"===r&&["textarea","select"].includes(t.tagName)){const n=e[r];null!=n&&(t[r]=n)}else r.startsWith("on")?t[r.toLowerCase()]=e[r]:p(t,r,e[r],n.isSvg)}(n,s,e),s.children){let t=e;e.isSvg&&"foreignObject"===r&&(t=Object.assign({},t,{isSvg:!1}));const i=m(s.children,t);null!=i&&f(n,i)}const{ref:i}=s;return"function"==typeof i&&i(n),n}throw new Error("mount: Invalid Vnode!")}function y(...t){return g(l(...t))}const b=function(t){const e={};return function(...n){const r=`${n[0]}`;let s=e[r];return s||(s={value:t(...n)},e[r]=s),s.value}}((t=>{document.head.append(y("link",{rel:"preload",as:"script",href:t}))})),k={};async function _(t,e){var n;const r="script"===t.type&&(null==(n=t.data)?void 0:n.src)||"";if(t.loaded||(t.loaded=k[r]),!t.loaded){const n=function(){const t={};return t.promise=new Promise(((e,n)=>{t.resolve=e,t.reject=n})),t}();if(t.loaded=n.promise,"script"===t.type&&(document.head.append(y("script",{...t.data,onLoad:()=>n.resolve(),onError:n.reject})),r?k[r]=t.loaded:n.resolve()),"iife"===t.type){const{fn:r,getParams:s}=t.data;r(...(null==s?void 0:s(e))||[]),n.resolve()}}await t.loaded}async function v(t,e){t.forEach((t=>{var e;"script"===t.type&&(null==(e=t.data)?void 0:e.src)&&b(t.data.src)})),e={getMarkmap:()=>window.markmap,...e};for(const n of t)await _(n,e)}function w(t){return{type:"script",data:{src:t}}}function A(t){return{type:"stylesheet",data:{href:t}}}const E={_useHtmlParser2:!1};function x(t,e){if(!t)return null!=e?e:E;const n={_useHtmlParser2:!!t.xmlMode,...e,...t};return t.xml?(n._useHtmlParser2=!0,n.xmlMode=!0,!0!==t.xml&&Object.assign(n,t.xml)):t.xmlMode&&(n._useHtmlParser2=!0),n}var C,S;(S=C||(C={})).Root="root",S.Text="text",S.Directive="directive",S.Comment="comment",S.Script="script",S.Style="style",S.Tag="tag",S.CDATA="cdata",S.Doctype="doctype";const D=C.Root,T=C.Text,N=C.Directive,I=C.Comment,F=C.Script,L=C.Style,q=C.Tag,O=C.CDATA,B=C.Doctype;let $=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return Q(this,t)}};class M extends ${constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}}class P extends M{constructor(){super(...arguments),this.type=C.Text}get nodeType(){return 3}}class j extends M{constructor(){super(...arguments),this.type=C.Comment}get nodeType(){return 8}}class R extends M{constructor(t,e){super(e),this.name=t,this.type=C.Directive}get nodeType(){return 1}}class U extends ${constructor(t){super(),this.children=t}get firstChild(){var t;return null!==(t=this.children[0])&&void 0!==t?t:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}}class z extends U{constructor(){super(...arguments),this.type=C.CDATA}get nodeType(){return 4}}let V=class extends U{constructor(){super(...arguments),this.type=C.Root}get nodeType(){return 9}};class K extends U{constructor(t,e,n=[],r=("script"===t?C.Script:"style"===t?C.Style:C.Tag)){super(n),this.name=t,this.attribs=e,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map((t=>{var e,n;return{name:t,value:this.attribs[t],namespace:null===(e=this["x-attribsNamespace"])||void 0===e?void 0:e[t],prefix:null===(n=this["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))}}function H(t){return(e=t).type===C.Tag||e.type===C.Script||e.type===C.Style;var e}function G(t){return t.type===C.CDATA}function W(t){return t.type===C.Text}function Z(t){return t.type===C.Comment}function J(t){return t.type===C.Root}function X(t){return Object.prototype.hasOwnProperty.call(t,"children")}function Q(t,e=!1){let n;if(W(t))n=new P(t.data);else if(Z(t))n=new j(t.data);else if(H(t)){const r=e?Y(t.children):[],s=new K(t.name,{...t.attribs},r);r.forEach((t=>t.parent=s)),null!=t.namespace&&(s.namespace=t.namespace),t["x-attribsNamespace"]&&(s["x-attribsNamespace"]={...t["x-attribsNamespace"]}),t["x-attribsPrefix"]&&(s["x-attribsPrefix"]={...t["x-attribsPrefix"]}),n=s}else if(G(t)){const r=e?Y(t.children):[],s=new z(r);r.forEach((t=>t.parent=s)),n=s}else if(J(t)){const r=e?Y(t.children):[],s=new V(r);r.forEach((t=>t.parent=s)),t["x-mode"]&&(s["x-mode"]=t["x-mode"]),n=s}else{if(!function(t){return t.type===C.Directive}(t))throw new Error(`Not implemented yet: ${t.type}`);{const e=new R(t.name,t.data);null!=t["x-name"]&&(e["x-name"]=t["x-name"],e["x-publicId"]=t["x-publicId"],e["x-systemId"]=t["x-systemId"]),n=e}}return n.startIndex=t.startIndex,n.endIndex=t.endIndex,null!=t.sourceCodeLocation&&(n.sourceCodeLocation=t.sourceCodeLocation),n}function Y(t){const e=t.map((t=>Q(t,!0)));for(let t=1;t䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((t=>t.charCodeAt(0)))),rt=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((t=>t.charCodeAt(0))));var st;const it=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),ot=null!==(st=String.fromCodePoint)&&void 0!==st?st:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};var at,ct;(ct=at||(at={}))[ct.NUM=35]="NUM",ct[ct.SEMI=59]="SEMI",ct[ct.EQUALS=61]="EQUALS",ct[ct.ZERO=48]="ZERO",ct[ct.NINE=57]="NINE",ct[ct.LOWER_A=97]="LOWER_A",ct[ct.LOWER_F=102]="LOWER_F",ct[ct.LOWER_X=120]="LOWER_X",ct[ct.LOWER_Z=122]="LOWER_Z",ct[ct.UPPER_A=65]="UPPER_A",ct[ct.UPPER_F=70]="UPPER_F",ct[ct.UPPER_Z=90]="UPPER_Z";var lt,ut,ht,ft,dt,pt;function mt(t){return t>=at.ZERO&&t<=at.NINE}function gt(t){return t===at.EQUALS||function(t){return t>=at.UPPER_A&&t<=at.UPPER_Z||t>=at.LOWER_A&&t<=at.LOWER_Z||mt(t)}(t)}(ut=lt||(lt={}))[ut.VALUE_LENGTH=49152]="VALUE_LENGTH",ut[ut.BRANCH_LENGTH=16256]="BRANCH_LENGTH",ut[ut.JUMP_TABLE=127]="JUMP_TABLE",(ft=ht||(ht={}))[ft.EntityStart=0]="EntityStart",ft[ft.NumericStart=1]="NumericStart",ft[ft.NumericDecimal=2]="NumericDecimal",ft[ft.NumericHex=3]="NumericHex",ft[ft.NamedEntity=4]="NamedEntity",(pt=dt||(dt={}))[pt.Legacy=0]="Legacy",pt[pt.Strict=1]="Strict",pt[pt.Attribute=2]="Attribute";let yt=class{constructor(t,e,n){this.decodeTree=t,this.emitCodePoint=e,this.errors=n,this.state=ht.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=dt.Strict}startEntity(t){this.decodeMode=t,this.state=ht.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case ht.EntityStart:return t.charCodeAt(e)===at.NUM?(this.state=ht.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=ht.NamedEntity,this.stateNamedEntity(t,e));case ht.NumericStart:return this.stateNumericStart(t,e);case ht.NumericDecimal:return this.stateNumericDecimal(t,e);case ht.NumericHex:return this.stateNumericHex(t,e);case ht.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===at.LOWER_X?(this.state=ht.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=ht.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,n,r){if(e!==n){const s=n-e;this.result=this.result*Math.pow(r,s)+parseInt(t.substr(e,s),r),this.consumed+=s}}stateNumericHex(t,e){const n=e;for(;e=at.UPPER_A&&r<=at.UPPER_F||r>=at.LOWER_A&&r<=at.LOWER_F)))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(s,3);e+=1}var r;return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e=55296&&t<=57343||t>1114111?65533:null!==(e=it.get(t))&&void 0!==e?e:t}(this.result),this.consumed),this.errors&&(t!==at.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){const{decodeTree:n}=this;let r=n[this.treeIndex],s=(r<.VALUE_LENGTH)>>14;for(;e>14,0!==s){if(i===at.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==dt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:n}=this,r=(n[e]<.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,r,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:r}=this;return this.emitCodePoint(1===e?r[t]&~lt.VALUE_LENGTH:r[t+1],n),3===e&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case ht.NamedEntity:return 0===this.result||this.decodeMode===dt.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case ht.NumericDecimal:return this.emitNumericEntity(0,2);case ht.NumericHex:return this.emitNumericEntity(0,3);case ht.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ht.EntityStart:return 0}}};function bt(t){let e="";const n=new yt(t,(t=>e+=ot(t)));return function(t,r){let s=0,i=0;for(;(i=t.indexOf("&",i))>=0;){e+=t.slice(s,i),n.startEntity(r);const o=n.write(t,i+1);if(o<0){s=i+n.end();break}s=i+o,i=0===o?s+1:s}const o=e+t.slice(s);return e="",o}}function kt(t,e,n,r){const s=(e<.BRANCH_LENGTH)>>7,i=e<.JUMP_TABLE;if(0===s)return 0!==i&&r===i?n:-1;if(i){const e=r-i;return e<0||e>=s?-1:t[n+e]-1}let o=n,a=o+s-1;for(;o<=a;){const e=o+a>>>1,n=t[e];if(nr))return t[e+s];a=e-1}}return-1}bt(nt),bt(rt);const _t=/["&'<>$\x80-\uFFFF]/g,vt=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),wt=null!=String.prototype.codePointAt?(t,e)=>t.codePointAt(e):(t,e)=>55296==(64512&t.charCodeAt(e))?1024*(t.charCodeAt(e)-55296)+t.charCodeAt(e+1)-56320+65536:t.charCodeAt(e);function At(t){let e,n="",r=0;for(;null!==(e=_t.exec(t));){const s=e.index,i=t.charCodeAt(s),o=vt.get(i);void 0!==o?(n+=t.substring(r,s)+o,r=s+1):(n+=`${t.substring(r,s)}&#x${wt(t,s).toString(16)};`,r=_t.lastIndex+=Number(55296==(64512&i)))}return n+t.substr(r)}function Et(t,e){return function(n){let r,s=0,i="";for(;r=t.exec(n);)s!==r.index&&(i+=n.substring(s,r.index)),i+=e.get(r[0].charCodeAt(0)),s=r.index+1;return i+n.substring(s)}}const xt=Et(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Ct=Et(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),St=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((t=>[t.toLowerCase(),t]))),Dt=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((t=>[t.toLowerCase(),t]))),Tt=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function Nt(t){return t.replace(/"/g,""")}const It=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Ft(t,e={}){const n="length"in t?t:[t];let r="";for(let t=0;t`;case I:return function(t){return`\x3c!--${t.data}--\x3e`}(t);case O:return function(t){return``}(t);case F:case L:case q:return function(t,e){var n;"foreign"===e.xmlMode&&(t.name=null!==(n=St.get(t.name))&&void 0!==n?n:t.name,t.parent&&qt.has(t.parent.name)&&(e={...e,xmlMode:!1}));!e.xmlMode&&Ot.has(t.name)&&(e={...e,xmlMode:"foreign"});let r=`<${t.name}`;const s=function(t,e){var n;if(!t)return;const r=!1===(null!==(n=e.encodeEntities)&&void 0!==n?n:e.decodeEntities)?Nt:e.xmlMode||"utf8"!==e.encodeEntities?At:xt;return Object.keys(t).map((n=>{var s,i;const o=null!==(s=t[n])&&void 0!==s?s:"";return"foreign"===e.xmlMode&&(n=null!==(i=Dt.get(n))&&void 0!==i?i:n),e.emptyAttrs||e.xmlMode||""!==o?`${n}="${r(o)}"`:n})).join(" ")}(t.attribs,e);s&&(r+=` ${s}`);0===t.children.length&&(e.xmlMode?!1!==e.selfClosingTags:e.selfClosingTags&&It.has(t.name))?(e.xmlMode||(r+=" "),r+="/>"):(r+=">",t.children.length>0&&(r+=Ft(t.children,e)),!e.xmlMode&&It.has(t.name)||(r+=``));return r}(t,e);case T:return function(t,e){var n;let r=t.data||"";!1===(null!==(n=e.encodeEntities)&&void 0!==n?n:e.decodeEntities)||!e.xmlMode&&t.parent&&Tt.has(t.parent.name)||(r=e.xmlMode||"utf8"!==e.encodeEntities?At(r):Ct(r));return r}(t,e)}}const qt=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),Ot=new Set(["svg","math"]);function Bt(t,e){return Ft(t,e)}function $t(t){return Array.isArray(t)?t.map($t).join(""):X(t)&&!Z(t)?$t(t.children):W(t)?t.data:""}function Mt(t){return Array.isArray(t)?t.map(Mt).join(""):X(t)&&(t.type===C.Tag||G(t))?Mt(t.children):W(t)?t.data:""}function Pt(t){return X(t)?t.children:[]}function jt(t){return t.parent||null}function Rt(t){const e=jt(t);if(null!=e)return Pt(e);const n=[t];let{prev:r,next:s}=t;for(;null!=r;)n.unshift(r),({prev:r}=r);for(;null!=s;)n.push(s),({next:s}=s);return n}function Ut(t){let{next:e}=t;for(;null!==e&&!H(e);)({next:e}=e);return e}function zt(t){let{prev:e}=t;for(;null!==e&&!H(e);)({prev:e}=e);return e}function Vt(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){const e=t.parent.children,n=e.lastIndexOf(t);n>=0&&e.splice(n,1)}t.next=null,t.prev=null,t.parent=null}function Kt(t,e,n=!0,r=1/0){return Ht(t,Array.isArray(e)?e:[e],n,r)}function Ht(t,e,n,r){const s=[],i=[e],o=[0];for(;;){if(o[0]>=i[0].length){if(1===o.length)return s;i.shift(),o.shift();continue}const e=i[0][o[0]++];if(t(e)&&(s.push(e),--r<=0))return s;n&&X(e)&&e.children.length>0&&(o.unshift(0),i.unshift(e.children))}}function Gt(t,e,n=!0){let r=null;for(let s=0;s0&&(r=Gt(t,i.children,!0)))}return r}const Wt={tag_name:t=>"function"==typeof t?e=>H(e)&&t(e.name):"*"===t?H:e=>H(e)&&e.name===t,tag_type:t=>"function"==typeof t?e=>t(e.type):e=>e.type===t,tag_contains:t=>"function"==typeof t?e=>W(e)&&t(e.data):e=>W(e)&&e.data===t};function Zt(t,e){return"function"==typeof e?n=>H(n)&&e(n.attribs[t]):n=>H(n)&&n.attribs[t]===e}function Jt(t,e){return n=>t(n)||e(n)}function Xt(t){const e=Object.keys(t).map((e=>{const n=t[e];return Object.prototype.hasOwnProperty.call(Wt,e)?Wt[e](n):Zt(e,n)}));return 0===e.length?null:e.reduce(Jt)}function Qt(t,e,n=!0,r=1/0){return Kt(Wt.tag_name(t),e,n,r)}var Yt,te;function ee(t,e){const n=[],r=[];if(t===e)return 0;let s=X(t)?t:t.parent;for(;s;)n.unshift(s),s=s.parent;for(s=X(e)?e:e.parent;s;)r.unshift(s),s=s.parent;const i=Math.min(n.length,r.length);let o=0;for(;oc.indexOf(u)?a===e?Yt.FOLLOWING|Yt.CONTAINED_BY:Yt.FOLLOWING:a===t?Yt.PRECEDING|Yt.CONTAINS:Yt.PRECEDING}function ne(t){return(t=t.filter(((t,e,n)=>!n.includes(t,e+1)))).sort(((t,e)=>{const n=ee(t,e);return n&Yt.PRECEDING?-1:n&Yt.FOLLOWING?1:0})),t}(te=Yt||(Yt={}))[te.DISCONNECTED=1]="DISCONNECTED",te[te.PRECEDING=2]="PRECEDING",te[te.FOLLOWING=4]="FOLLOWING",te[te.CONTAINS=8]="CONTAINS",te[te.CONTAINED_BY=16]="CONTAINED_BY";const re=["url","type","lang"],se=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function ie(t){return Qt("media:content",t).map((t=>{const{attribs:e}=t,n={medium:e.medium,isDefault:!!e.isDefault};for(const t of re)e[t]&&(n[t]=e[t]);for(const t of se)e[t]&&(n[t]=parseInt(e[t],10));return e.expression&&(n.expression=e.expression),n}))}function oe(t,e){return Qt(t,e,!0,1)[0]}function ae(t,e,n=!1){return $t(Qt(t,e,n,1)).trim()}function ce(t,e,n,r,s=!1){const i=ae(n,r,s);i&&(t[e]=i)}function le(t){return"rss"===t||"feed"===t||"rdf:RDF"===t}const ue=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return Yt},append:function(t,e){Vt(e);const{parent:n}=t,r=t.next;if(e.next=r,e.prev=t,t.next=e,e.parent=n,r){if(r.prev=e,n){const t=n.children;t.splice(t.lastIndexOf(r),0,e)}}else n&&n.children.push(e)},appendChild:function(t,e){if(Vt(e),e.next=null,e.parent=t,t.children.push(e)>1){const n=t.children[t.children.length-2];n.next=e,e.prev=n}else e.prev=null},compareDocumentPosition:ee,existsOne:function t(e,n){return n.some((n=>H(n)&&(e(n)||t(e,n.children))))},filter:Kt,find:Ht,findAll:function(t,e){const n=[],r=[e],s=[0];for(;;){if(s[0]>=r[0].length){if(1===r.length)return n;r.shift(),s.shift();continue}const e=r[0][s[0]++];H(e)&&(t(e)&&n.push(e),e.children.length>0&&(s.unshift(0),r.unshift(e.children)))}},findOne:Gt,findOneChild:function(t,e){return e.find(t)},getAttributeValue:function(t,e){var n;return null===(n=t.attribs)||void 0===n?void 0:n[e]},getChildren:Pt,getElementById:function(t,e,n=!0){return Array.isArray(e)||(e=[e]),Gt(Zt("id",t),e,n)},getElements:function(t,e,n,r=1/0){const s=Xt(t);return s?Kt(s,e,n,r):[]},getElementsByTagName:Qt,getElementsByTagType:function(t,e,n=!0,r=1/0){return Kt(Wt.tag_type(t),e,n,r)},getFeed:function(t){const e=oe(le,t);return e?"feed"===e.name?function(t){var e;const n=t.children,r={type:"atom",items:Qt("entry",n).map((t=>{var e;const{children:n}=t,r={media:ie(n)};ce(r,"id","id",n),ce(r,"title","title",n);const s=null===(e=oe("link",n))||void 0===e?void 0:e.attribs.href;s&&(r.link=s);const i=ae("summary",n)||ae("content",n);i&&(r.description=i);const o=ae("updated",n);return o&&(r.pubDate=new Date(o)),r}))};ce(r,"id","id",n),ce(r,"title","title",n);const s=null===(e=oe("link",n))||void 0===e?void 0:e.attribs.href;s&&(r.link=s);ce(r,"description","subtitle",n);const i=ae("updated",n);i&&(r.updated=new Date(i));return ce(r,"author","email",n,!0),r}(e):function(t){var e,n;const r=null!==(n=null===(e=oe("channel",t.children))||void 0===e?void 0:e.children)&&void 0!==n?n:[],s={type:t.name.substr(0,3),id:"",items:Qt("item",t.children).map((t=>{const{children:e}=t,n={media:ie(e)};ce(n,"id","guid",e),ce(n,"title","title",e),ce(n,"link","link",e),ce(n,"description","description",e);const r=ae("pubDate",e)||ae("dc:date",e);return r&&(n.pubDate=new Date(r)),n}))};ce(s,"title","title",r),ce(s,"link","link",r),ce(s,"description","description",r);const i=ae("lastBuildDate",r);i&&(s.updated=new Date(i));return ce(s,"author","managingEditor",r,!0),s}(e):null},getInnerHTML:function(t,e){return X(t)?t.children.map((t=>Bt(t,e))).join(""):""},getName:function(t){return t.name},getOuterHTML:Bt,getParent:jt,getSiblings:Rt,getText:function t(e){return Array.isArray(e)?e.map(t).join(""):H(e)?"br"===e.name?"\n":t(e.children):G(e)?t(e.children):W(e)?e.data:""},hasAttrib:function(t,e){return null!=t.attribs&&Object.prototype.hasOwnProperty.call(t.attribs,e)&&null!=t.attribs[e]},hasChildren:X,innerText:Mt,isCDATA:G,isComment:Z,isDocument:J,isTag:H,isText:W,nextElementSibling:Ut,prepend:function(t,e){Vt(e);const{parent:n}=t;if(n){const r=n.children;r.splice(r.indexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=n,e.prev=t.prev,e.next=t,t.prev=e},prependChild:function(t,e){if(Vt(e),e.parent=t,e.prev=null,1!==t.children.unshift(e)){const n=t.children[1];n.prev=e,e.next=n}else e.next=null},prevElementSibling:zt,removeElement:Vt,removeSubsets:function(t){let e=t.length;for(;--e>=0;){const n=t[e];if(e>0&&t.lastIndexOf(n,e-1)>=0)t.splice(e,1);else for(let r=n.parent;r;r=r.parent)if(t.includes(r)){t.splice(e,1);break}}return t},replaceElement:function(t,e){const n=e.prev=t.prev;n&&(n.next=e);const r=e.next=t.next;r&&(r.prev=e);const s=e.parent=t.parent;if(s){const n=s.children;n[n.lastIndexOf(t)]=e,t.parent=null}},testElement:function(t,e){const n=Xt(t);return!n||n(e)},textContent:$t,uniqueSort:ne},Symbol.toStringTag,{value:"Module"}));function he(t,e,n){return t?t(null!=e?e:t._root.children,null,void 0,n).toString():""}function fe(t){const e=null!=t?t:this?this.root():[];let n="";for(let t=0;tt.length-3)return!1;const n=t.charCodeAt(e+1);return(n>=be.LowerA&&n<=be.LowerZ||n>=be.UpperA&&n<=be.UpperZ||n===be.Exclamation)&&t.includes(">",e+2)}(ke=be||(be={}))[ke.LowerA=97]="LowerA",ke[ke.LowerZ=122]="LowerZ",ke[ke.UpperA=65]="UpperA",ke[ke.UpperZ=90]="UpperZ",ke[ke.Exclamation=33]="Exclamation";const ve=Object.prototype.hasOwnProperty,we=/\s+/,Ae="data-",Ee=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,xe=/^{[^]*}$|^\[[^]*]$/;function Ce(t,e,n){var r;if(t&&H(t))return null!==(r=t.attribs)&&void 0!==r||(t.attribs={}),e?ve.call(t.attribs,e)?!n&&Ee.test(e)?e:t.attribs[e]:"option"===t.name&&"value"===e?fe(t.children):"input"!==t.name||"radio"!==t.attribs.type&&"checkbox"!==t.attribs.type||"value"!==e?void 0:"on":t.attribs}function Se(t,e,n){null===n?Fe(t,e):t.attribs[e]=`${n}`}function De(t,e,n){return e in t?t[e]:!n&&Ee.test(e)?void 0!==Ce(t,e,!1):Ce(t,e,n)}function Te(t,e,n,r){e in t?t[e]=n:Se(t,e,!r&&Ee.test(e)?n?"":null:`${n}`)}function Ne(t,e,n){var r;null!==(r=t.data)&&void 0!==r||(t.data={}),"object"==typeof e?Object.assign(t.data,e):"string"==typeof e&&void 0!==n&&(t.data[e]=n)}function Ie(t){if("null"===t)return null;if("true"===t)return!0;if("false"===t)return!1;const e=Number(t);if(t===String(e))return e;if(xe.test(t))try{return JSON.parse(t)}catch{}return t}function Fe(t,e){t.attribs&&ve.call(t.attribs,e)&&delete t.attribs[e]}function Le(t){return t?t.trim().split(we):[]}const qe=Object.freeze(Object.defineProperty({__proto__:null,addClass:function t(e){if("function"==typeof e)return ye(this,((n,r)=>{if(H(n)){const s=n.attribs.class||"";t.call([n],e.call(n,r,s))}}));if(!e||"string"!=typeof e)return this;const n=e.split(we),r=this.length;for(let t=0;t{H(n)&&Se(n,t,e.call(n,r,n.attribs[t]))}))}return ye(this,(n=>{if(H(n))if("object"==typeof t)for(const e of Object.keys(t)){Se(n,e,t[e])}else Se(n,t,e)}))}return arguments.length>1?this:Ce(this[0],t,this.options.xmlMode)},data:function(t,e){var n;const r=this[0];if(!r||!H(r))return;const s=r;return null!==(n=s.data)&&void 0!==n||(s.data={}),null==t?function(t){for(const e of Object.keys(t.attribs)){if(!e.startsWith(Ae))continue;const n=e.slice(5).replace(/[._-](\w|$)/g,((t,e)=>e.toUpperCase()));ve.call(t.data,n)||(t.data[n]=Ie(t.attribs[e]))}return t.data}(s):"object"==typeof t||void 0!==e?(ye(this,(n=>{H(n)&&("object"==typeof t?Ne(n,t):Ne(n,t,e))})),this):function(t,e){const n=Ae+e.replace(/[A-Z]/g,"-$&").toLowerCase(),r=t.data;return ve.call(r,e)?r[e]:ve.call(t.attribs,n)?r[e]=Ie(t.attribs[n]):void 0}(s,t)},hasClass:function(t){return this.toArray().some((e=>{const n=H(e)&&e.attribs.class;let r=-1;if(n&&t.length>0)for(;(r=n.indexOf(t,r+1))>-1;){const e=r+t.length;if((0===r||we.test(n[r-1]))&&(e===n.length||we.test(n[e])))return!0}return!1}))},prop:function(t,e){var n;if("string"==typeof t&&void 0===e){const e=this[0];if(!e||!H(e))return;switch(t){case"style":{const t=this.css(),e=Object.keys(t);for(let n=0;n").parent().html();case"innerHTML":return this.html();default:return De(e,t,this.options.xmlMode)}}if("object"==typeof t||void 0!==e){if("function"==typeof e){if("object"==typeof t)throw new TypeError("Bad combination of arguments.");return ye(this,((n,r)=>{H(n)&&Te(n,t,e.call(n,r,De(n,t,this.options.xmlMode)),this.options.xmlMode)}))}return ye(this,(n=>{if(H(n))if("object"==typeof t)for(const e of Object.keys(t)){Te(n,e,t[e],this.options.xmlMode)}else Te(n,t,e,this.options.xmlMode)}))}},removeAttr:function(t){const e=Le(t);for(const t of e)ye(this,(e=>{H(e)&&Fe(e,t)}));return this},removeClass:function t(e){if("function"==typeof e)return ye(this,((n,r)=>{H(n)&&t.call([n],e.call(n,r,n.attribs.class||""))}));const n=Le(e),r=n.length,s=0===arguments.length;return ye(this,(t=>{if(H(t))if(s)t.attribs.class="";else{const e=Le(t.attribs.class);let s=!1;for(let t=0;t=0&&(e.splice(r,1),s=!0,t--)}s&&(t.attribs.class=e.join(" "))}}))},toggleClass:function t(e,n){if("function"==typeof e)return ye(this,((r,s)=>{H(r)&&t.call([r],e.call(r,s,r.attribs.class||"",n),n)}));if(!e||"string"!=typeof e)return this;const r=e.split(we),s=r.length,i="boolean"==typeof n?n?1:-1:0,o=this.length;for(let t=0;t=0&&e<0?n.push(r[t]):i<=0&&e>=0&&n.splice(e,1)}e.attribs.class=n.join(" ")}return this},val:function(t){const e=0===arguments.length,n=this[0];if(!n||!H(n))return e?void 0:this;switch(n.name){case"textarea":return this.text(t);case"select":{const n=this.find("option:selected");if(!e){if(null==this.attr("multiple")&&"object"==typeof t)return this;this.find("option").removeAttr("selected");const e="object"==typeof t?t:[t];for(const t of e)this.find(`option[value="${t}"]`).attr("selected","");return this}return this.attr("multiple")?n.toArray().map((t=>fe(t.children))):n.attr("value")}case"input":case"option":return e?this.attr("value"):this.attr("value",t)}}},Symbol.toStringTag,{value:"Module"}));var Oe,Be,$e,Me;(Be=Oe||(Oe={})).Attribute="attribute",Be.Pseudo="pseudo",Be.PseudoElement="pseudo-element",Be.Tag="tag",Be.Universal="universal",Be.Adjacent="adjacent",Be.Child="child",Be.Descendant="descendant",Be.Parent="parent",Be.Sibling="sibling",Be.ColumnCombinator="column-combinator",(Me=$e||($e={})).Any="any",Me.Element="element",Me.End="end",Me.Equals="equals",Me.Exists="exists",Me.Hyphen="hyphen",Me.Not="not",Me.Start="start";const Pe=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,je=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,Re=new Map([[126,$e.Element],[94,$e.Start],[36,$e.End],[42,$e.Any],[33,$e.Not],[124,$e.Hyphen]]),Ue=new Set(["has","not","matches","is","where","host","host-context"]);function ze(t){switch(t.type){case Oe.Adjacent:case Oe.Child:case Oe.Descendant:case Oe.Parent:case Oe.Sibling:case Oe.ColumnCombinator:return!0;default:return!1}}const Ve=new Set(["contains","icontains"]);function Ke(t,e,n){const r=parseInt(e,16)-65536;return r!=r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)}function He(t){return t.replace(je,Ke)}function Ge(t){return 39===t||34===t}function We(t){return 32===t||9===t||10===t||12===t||13===t}function Ze(t){const e=[],n=Je(e,`${t}`,0);if(n0&&n0&&ze(r[r.length-1]))throw new Error("Did not expect successive traversals.")}function l(t){r.length>0&&r[r.length-1].type===Oe.Descendant?r[r.length-1].type=t:(c(),r.push({type:t}))}function u(t,e){r.push({type:Oe.Attribute,name:t,action:e,value:s(1),namespace:null,ignoreCase:"quirks"})}function h(){if(r.length&&r[r.length-1].type===Oe.Descendant&&r.pop(),0===r.length)throw new Error("Empty sub-selector");t.push(r)}if(i(0),e.length===n)return n;t:for(;n=0&&r>=1)):t.type===Oe.Pseudo&&(t.data?"has"===t.name||"contains"===t.name?r=0:Array.isArray(t.data)?(r=Math.min(...t.data.map((t=>Math.min(...t.map(an))))),r<0&&(r=0)):r=2:r=3),r}const cn=/[-[\]{}()*+?.,\\^$|#\s]/g;function ln(t){return t.replace(cn,"\\$&")}const un=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function hn(t,e){return"boolean"==typeof t.ignoreCase?t.ignoreCase:"quirks"===t.ignoreCase?!!e.quirksMode:!e.xmlMode&&un.has(t.name)}const fn={equals(t,e,n){const{adapter:r}=n,{name:s}=e;let{value:i}=e;return hn(e,n)?(i=i.toLowerCase(),e=>{const n=r.getAttributeValue(e,s);return null!=n&&n.length===i.length&&n.toLowerCase()===i&&t(e)}):e=>r.getAttributeValue(e,s)===i&&t(e)},hyphen(t,e,n){const{adapter:r}=n,{name:s}=e;let{value:i}=e;const o=i.length;return hn(e,n)?(i=i.toLowerCase(),function(e){const n=r.getAttributeValue(e,s);return null!=n&&(n.length===o||"-"===n.charAt(o))&&n.substr(0,o).toLowerCase()===i&&t(e)}):function(e){const n=r.getAttributeValue(e,s);return null!=n&&(n.length===o||"-"===n.charAt(o))&&n.substr(0,o)===i&&t(e)}},element(t,e,n){const{adapter:r}=n,{name:s,value:i}=e;if(/\s/.test(i))return en.falseFunc;const o=new RegExp(`(?:^|\\s)${ln(i)}(?:$|\\s)`,hn(e,n)?"i":"");return function(e){const n=r.getAttributeValue(e,s);return null!=n&&n.length>=i.length&&o.test(n)&&t(e)}},exists:(t,{name:e},{adapter:n})=>r=>n.hasAttrib(r,e)&&t(r),start(t,e,n){const{adapter:r}=n,{name:s}=e;let{value:i}=e;const o=i.length;return 0===o?en.falseFunc:hn(e,n)?(i=i.toLowerCase(),e=>{const n=r.getAttributeValue(e,s);return null!=n&&n.length>=o&&n.substr(0,o).toLowerCase()===i&&t(e)}):e=>{var n;return!!(null===(n=r.getAttributeValue(e,s))||void 0===n?void 0:n.startsWith(i))&&t(e)}},end(t,e,n){const{adapter:r}=n,{name:s}=e;let{value:i}=e;const o=-i.length;return 0===o?en.falseFunc:hn(e,n)?(i=i.toLowerCase(),e=>{var n;return(null===(n=r.getAttributeValue(e,s))||void 0===n?void 0:n.substr(o).toLowerCase())===i&&t(e)}):e=>{var n;return!!(null===(n=r.getAttributeValue(e,s))||void 0===n?void 0:n.endsWith(i))&&t(e)}},any(t,e,n){const{adapter:r}=n,{name:s,value:i}=e;if(""===i)return en.falseFunc;if(hn(e,n)){const e=new RegExp(ln(i),"i");return function(n){const o=r.getAttributeValue(n,s);return null!=o&&o.length>=i.length&&e.test(o)&&t(n)}}return e=>{var n;return!!(null===(n=r.getAttributeValue(e,s))||void 0===n?void 0:n.includes(i))&&t(e)}},not(t,e,n){const{adapter:r}=n,{name:s}=e;let{value:i}=e;return""===i?e=>!!r.getAttributeValue(e,s)&&t(e):hn(e,n)?(i=i.toLowerCase(),e=>{const n=r.getAttributeValue(e,s);return(null==n||n.length!==i.length||n.toLowerCase()!==i)&&t(e)}):e=>r.getAttributeValue(e,s)!==i&&t(e)}},dn=new Set([9,10,12,13,32]),pn="0".charCodeAt(0),mn="9".charCodeAt(0);function gn(t){return function(t){const e=t[0],n=t[1]-1;if(n<0&&e<=0)return en.falseFunc;if(-1===e)return t=>t<=n;if(0===e)return t=>t===n;if(1===e)return n<0?en.trueFunc:t=>t>=n;const r=Math.abs(e),s=(n%r+r)%r;return e>1?t=>t>=n&&t%r===s:t=>t<=n&&t%r===s}(function(t){if("even"===(t=t.trim().toLowerCase()))return[2,0];if("odd"===t)return[2,1];let e=0,n=0,r=i(),s=o();if(e=pn&&t.charCodeAt(e)<=mn;)r=10*r+(t.charCodeAt(e)-pn),e++;return e===n?null:r}function a(){for(;e{const r=e.getParent(n);return null!=r&&e.isTag(r)&&t(n)}}const bn={contains:(t,e,{adapter:n})=>function(r){return t(r)&&n.getText(r).includes(e)},icontains(t,e,{adapter:n}){const r=e.toLowerCase();return function(e){return t(e)&&n.getText(e).toLowerCase().includes(r)}},"nth-child"(t,e,{adapter:n,equals:r}){const s=gn(e);return s===en.falseFunc?en.falseFunc:s===en.trueFunc?yn(t,n):function(e){const i=n.getSiblings(e);let o=0;for(let t=0;t=0&&!r(e,i[t]);t--)n.isTag(i[t])&&o++;return s(o)&&t(e)}},"nth-of-type"(t,e,{adapter:n,equals:r}){const s=gn(e);return s===en.falseFunc?en.falseFunc:s===en.trueFunc?yn(t,n):function(e){const i=n.getSiblings(e);let o=0;for(let t=0;t=0;t--){const s=i[t];if(r(e,s))break;n.isTag(s)&&n.getName(s)===n.getName(e)&&o++}return s(o)&&t(e)}},root:(t,e,{adapter:n})=>e=>{const r=n.getParent(e);return(null==r||!n.isTag(r))&&t(e)},scope(t,e,n,r){const{equals:s}=n;return r&&0!==r.length?1===r.length?e=>s(r[0],e)&&t(e):e=>r.includes(e)&&t(e):bn.root(t,e,n)},hover:kn("isHovered"),visited:kn("isVisited"),active:kn("isActive")};function kn(t){return function(e,n,{adapter:r}){const s=r[t];return"function"!=typeof s?en.falseFunc:function(t){return s(t)&&e(t)}}}const _n={empty:(t,{adapter:e})=>!e.getChildren(t).some((t=>e.isTag(t)||""!==e.getText(t))),"first-child"(t,{adapter:e,equals:n}){if(e.prevElementSibling)return null==e.prevElementSibling(t);const r=e.getSiblings(t).find((t=>e.isTag(t)));return null!=r&&n(t,r)},"last-child"(t,{adapter:e,equals:n}){const r=e.getSiblings(t);for(let s=r.length-1;s>=0;s--){if(n(t,r[s]))return!0;if(e.isTag(r[s]))break}return!1},"first-of-type"(t,{adapter:e,equals:n}){const r=e.getSiblings(t),s=e.getName(t);for(let i=0;i=0;i--){const o=r[i];if(n(t,o))return!0;if(e.isTag(o)&&e.getName(o)===s)break}return!1},"only-of-type"(t,{adapter:e,equals:n}){const r=e.getName(t);return e.getSiblings(t).every((s=>n(t,s)||!e.isTag(s)||e.getName(s)!==r))},"only-child":(t,{adapter:e,equals:n})=>e.getSiblings(t).every((r=>n(t,r)||!e.isTag(r)))};function vn(t,e,n,r){if(null===n){if(t.length>r)throw new Error(`Pseudo-class :${e} requires an argument`)}else if(t.length===r)throw new Error(`Pseudo-class :${e} doesn't have any arguments`)}const wn={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:":is(\n :is(button, input, select, textarea, optgroup, option)[disabled],\n optgroup[disabled] > option,\n fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)\n )",enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},An={};function En(t,e){const n=e.getSiblings(t);if(n.length<=1)return[];const r=n.indexOf(t);return r<0||r===n.length-1?[]:n.slice(r+1).filter(e.isTag)}function xn(t){return{xmlMode:!!t.xmlMode,lowerCaseAttributeNames:!!t.lowerCaseAttributeNames,lowerCaseTags:!!t.lowerCaseTags,quirksMode:!!t.quirksMode,cacheResults:!!t.cacheResults,pseudos:t.pseudos,adapter:t.adapter,equals:t.equals}}const Cn=(t,e,n,r,s)=>{const i=s(e,xn(n),r);return i===en.trueFunc?t:i===en.falseFunc?en.falseFunc:e=>i(e)&&t(e)},Sn={is:Cn,matches:Cn,where:Cn,not(t,e,n,r,s){const i=s(e,xn(n),r);return i===en.falseFunc?t:i===en.trueFunc?en.falseFunc:e=>!i(e)&&t(e)},has(t,e,n,r,s){const{adapter:i}=n,o=xn(n);o.relativeSelector=!0;const a=e.some((t=>t.some(rn)))?[An]:void 0,c=s(e,o,a);if(c===en.falseFunc)return en.falseFunc;const l=function(t,e){return t===en.falseFunc?en.falseFunc:n=>e.isTag(n)&&t(n)}(c,i);if(a&&c!==en.trueFunc){const{shouldTestNextSiblings:e=!1}=c;return n=>{if(!t(n))return!1;a[0]=n;const r=i.getChildren(n),s=e?[...r,...En(n,i)]:r;return i.existsOne(l,s)}}return e=>t(e)&&i.existsOne(l,i.getChildren(e))}};function Dn(t,e){const n=e.getParent(t);return n&&e.isTag(n)?n:null}function Tn(t,e,n,r,s){const{adapter:i,equals:o}=n;switch(e.type){case Oe.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case Oe.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case Oe.Attribute:if(null!=e.namespace)throw new Error("Namespaced attributes are not yet supported by css-select");return n.xmlMode&&!n.lowerCaseAttributeNames||(e.name=e.name.toLowerCase()),fn[e.action](t,e,n);case Oe.Pseudo:return function(t,e,n,r,s){var i;const{name:o,data:a}=e;if(Array.isArray(a)){if(!(o in Sn))throw new Error(`Unknown pseudo-class :${o}(${a})`);return Sn[o](t,a,n,r,s)}const c=null===(i=n.pseudos)||void 0===i?void 0:i[o],l="string"==typeof c?c:wn[o];if("string"==typeof l){if(null!=a)throw new Error(`Pseudo ${o} doesn't have any arguments`);const e=Ze(l);return Sn.is(t,e,n,r,s)}if("function"==typeof c)return vn(c,o,a,1),e=>c(e,a)&&t(e);if(o in bn)return bn[o](t,a,n,r);if(o in _n){const e=_n[o];return vn(e,o,a,2),r=>e(r,n,a)&&t(r)}throw new Error(`Unknown pseudo-class :${o}`)}(t,e,n,r,s);case Oe.Tag:{if(null!=e.namespace)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:r}=e;return n.xmlMode&&!n.lowerCaseTags||(r=r.toLowerCase()),function(e){return i.getName(e)===r&&t(e)}}case Oe.Descendant:{if(!1===n.cacheResults||"undefined"==typeof WeakSet)return function(e){let n=e;for(;n=Dn(n,i);)if(t(n))return!0;return!1};const e=new WeakSet;return function(n){let r=n;for(;r=Dn(r,i);)if(!e.has(r)){if(i.isTag(r)&&t(r))return!0;e.add(r)}return!1}}case"_flexibleDescendant":return function(e){let n=e;do{if(t(n))return!0}while(n=Dn(n,i));return!1};case Oe.Parent:return function(e){return i.getChildren(e).some((e=>i.isTag(e)&&t(e)))};case Oe.Child:return function(e){const n=i.getParent(e);return null!=n&&i.isTag(n)&&t(n)};case Oe.Sibling:return function(e){const n=i.getSiblings(e);for(let r=0;rt.some(Nn))))}const In={type:Oe.Descendant},Fn={type:"_flexibleDescendant"},Ln={type:Oe.Pseudo,name:"scope",data:null};function qn(t,e,n){var r;t.forEach(on),n=null!==(r=e.context)&&void 0!==r?r:n;const s=Array.isArray(n),i=n&&(Array.isArray(n)?n:[n]);if(!1!==e.relativeSelector)!function(t,{adapter:e},n){const r=!!(null==n?void 0:n.every((t=>{const n=e.isTag(t)&&e.getParent(t);return t===An||n&&e.isTag(n)})));for(const e of t){if(e.length>0&&rn(e[0])&&e[0].type!==Oe.Descendant);else{if(!r||e.some(Nn))continue;e.unshift(In)}e.unshift(Ln)}}(t,e,i);else if(t.some((t=>t.length>0&&rn(t[0]))))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let o=!1;const a=t.map((t=>{if(t.length>=2){const[e,n]=t;e.type!==Oe.Pseudo||"scope"!==e.name||(s&&n.type===Oe.Descendant?t[1]=Fn:n.type!==Oe.Adjacent&&n.type!==Oe.Sibling||(o=!0))}return function(t,e,n){var r;return t.reduce(((t,r)=>t===en.falseFunc?en.falseFunc:Tn(t,r,e,n,qn)),null!==(r=e.rootFunc)&&void 0!==r?r:en.trueFunc)}(t,e,i)})).reduce(On,en.falseFunc);return a.shouldTestNextSiblings=o,a}function On(t,e){return e===en.falseFunc||t===en.trueFunc?t:t===en.falseFunc||e===en.trueFunc?e:function(n){return t(n)||e(n)}}const Bn=(t,e)=>t===e,$n={adapter:ue,equals:Bn};const Mn=(Pn=qn,function(t,e,n){const r=function(t){var e,n,r,s;const i=null!=t?t:$n;return null!==(e=i.adapter)&&void 0!==e||(i.adapter=ue),null!==(n=i.equals)&&void 0!==n||(i.equals=null!==(s=null===(r=i.adapter)||void 0===r?void 0:r.equals)&&void 0!==s?s:Bn),i}(e);return Pn(t,r,n)});var Pn;function jn(t,e,n=!1){return n&&(t=function(t,e){const n=Array.isArray(t)?t.slice(0):[t],r=n.length;for(let t=0;tt.some(Un))))}function zn(t){const e=[],n=[];for(const r of t)r.some(Un)?e.push(r):n.push(r);return[n,e]}const Vn={type:Oe.Universal,namespace:null},Kn={type:Oe.Pseudo,name:"scope",data:null};function Hn(t,e,n={}){return Gn([t],e,n)}function Gn(t,e,n={}){if("function"==typeof e)return t.some(e);const[r,s]=zn(Ze(e));return r.length>0&&t.some(Mn(r,n))||s.some((e=>Jn(e,t,n).length>0))}function Wn(t,e,n={}){return Zn(Ze(t),e,n)}function Zn(t,e,n){if(0===e.length)return[];const[r,s]=zn(t);let i;if(r.length){const t=tr(e,r,n);if(0===s.length)return t;t.length&&(i=new Set(t))}for(let t=0;tH(t)&&!i.has(t))):e).length)break;const o=Jn(r,e,n);if(o.length)if(i)o.forEach((t=>i.add(t)));else{if(t===s.length-1)return o;i=new Set(o)}}return void 0!==i?i.size===e.length?e:e.filter((t=>i.has(t))):[]}function Jn(t,e,n){var r;if(t.some(ze)){const s=null!==(r=n.root)&&void 0!==r?r:function(t){for(;t.parent;)t=t.parent;return t}(e[0]),i={...n,context:e,relativeSelector:!1};return t.push(Kn),Xn(s,t,i,!0,e.length)}return Xn(e,t,n,!1,e.length)}function Xn(t,e,n,r,s){const i=e.findIndex(Un),o=e.slice(0,i),a=e[i],c=e.length-1===i?s:1/0,l=function(t,e,n){const r=null!=e?parseInt(e,10):NaN;switch(t){case"first":return 1;case"nth":case"eq":return isFinite(r)?r>=0?r+1:1/0:0;case"lt":return isFinite(r)?r>=0?Math.min(r,n):1/0:0;case"gt":return isFinite(r)?1/0:0;case"odd":return 2*n;case"even":return 2*n-1;case"last":case"not":return 1/0}}(a.name,a.data,c);if(0===l)return[];const u=(0!==o.length||Array.isArray(t)?0===o.length?(Array.isArray(t)?t:[t]).filter(H):r||o.some(ze)?Qn(t,[o],n,l):tr(t,[o],n):Pt(t).filter(H)).slice(0,l);let h=function(t,e,n,r){const s="string"==typeof n?parseInt(n,10):NaN;switch(t){case"first":case"lt":return e;case"last":return e.length>0?[e[e.length-1]]:e;case"nth":case"eq":return isFinite(s)&&Math.abs(s)e%2==0));case"odd":return e.filter(((t,e)=>e%2==1));case"not":{const t=new Set(Zn(n,e,r));return e.filter((e=>!t.has(e)))}}}(a.name,u,a.data,n);if(0===h.length||e.length===i+1)return h;const f=e.slice(i+1),d=f.some(ze);if(d){if(ze(f[0])){const{type:t}=f[0];t!==Oe.Sibling&&t!==Oe.Adjacent||(h=jn(h,ue,!0)),f.unshift(Vn)}n={...n,relativeSelector:!1,rootFunc:t=>h.includes(t)}}else n.rootFunc&&n.rootFunc!==tn.trueFunc&&(n={...n,rootFunc:tn.trueFunc});return f.some(Un)?Xn(h,f,n,!1,s):d?Qn(h,[f],n,s):tr(h,[f],n)}function Qn(t,e,n,r){return Yn(t,Mn(e,n,t),r)}function Yn(t,e,n=1/0){return Ht((t=>H(t)&&e(t)),jn(t,ue,e.shouldTestNextSiblings),!0,n)}function tr(t,e,n){const r=(Array.isArray(t)?t:[t]).filter(H);if(0===r.length)return r;const s=Mn(e,n);return s===tn.trueFunc?r:r.filter(s)}const er=/^\s*[+~]/;function nr(t){return function(e,...n){return function(r){var s;let i=t(e,this);return r&&(i=kr(i,r,this.options.xmlMode,null===(s=this._root)||void 0===s?void 0:s[0])),this._make(this.length>1&&i.length>1?n.reduce(((t,e)=>e(t)),i):i)}}}const rr=nr(((t,e)=>{let n=[];for(let r=0;r0&&(n=n.concat(s))}return n})),sr=nr(((t,e)=>{const n=[];for(let r=0;r{const r=[];return ye(e,(e=>{for(let s;(s=t(e))&&!(null==n?void 0:n(s,r.length));e=s)r.push(s)})),r}))(t,...e);return function(t,e){n="string"==typeof t?e=>Hn(e,t,this.options):t?br(t):null;const s=r.call(this,e);return n=null,s}}function or(t){return t.length>1?Array.from(new Set(t)):t}const ar=sr((({parent:t})=>t&&!J(t)?t:null),or),cr=rr((t=>{const e=[];for(;t.parent&&!J(t.parent);)e.push(t.parent),t=t.parent;return e}),ne,(t=>t.reverse())),lr=ir((({parent:t})=>t&&!J(t)?t:null),ne,(t=>t.reverse()));const ur=sr((t=>Ut(t))),hr=rr((t=>{const e=[];for(;t.next;)H(t=t.next)&&e.push(t);return e}),or),fr=ir((t=>Ut(t)),or),dr=sr((t=>zt(t))),pr=rr((t=>{const e=[];for(;t.prev;)H(t=t.prev)&&e.push(t);return e}),or),mr=ir((t=>zt(t)),or),gr=rr((t=>Rt(t).filter((e=>H(e)&&e!==t))),ne),yr=rr((t=>Pt(t).filter(H)),or);function br(t){return"function"==typeof t?(e,n)=>t.call(e,n,e):ge(t)?e=>Array.prototype.includes.call(t,e):function(e){return t===e}}function kr(t,e,n,r){return"string"==typeof e?Wn(e,t,{xmlMode:n,root:r}):t.filter(br(e))}const _r=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector:function(t,e){var n;const r=this.toArray(),s=er.test(t)?r:this.children().toArray(),i={context:r,root:null===(n=this._root)||void 0===n?void 0:n[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(function(t,e,n={},r=1/0){if("function"==typeof t)return Yn(e,t);const[s,i]=zn(Ze(t)),o=i.map((t=>Xn(e,t,n,!0,r)));return s.length&&o.push(Qn(e,s,n,r)),0===o.length?[]:1===o.length?o[0]:ne(o.reduce(((t,e)=>[...t,...e])))}(t,s,i,e))},add:function(t,e){const n=this._make(t,e),r=ne([...this.get(),...n.get()]);return this._make(r)},addBack:function(t){return this.prevObject?this.add(t?this.prevObject.filter(t):this.prevObject):this},children:yr,closest:function(t){var e;const n=[];if(!t)return this._make(n);const r={xmlMode:this.options.xmlMode,root:null===(e=this._root)||void 0===e?void 0:e[0]},s="string"==typeof t?e=>Hn(e,t,r):br(t);return ye(this,(t=>{for(!t||J(t)||H(t)||(t=t.parent);t&&H(t);){if(s(t,0)){n.includes(t)||n.push(t);break}t=t.parent}})),this._make(n)},contents:function(){const t=this.toArray().reduce(((t,e)=>X(e)?t.concat(e.children):t),[]);return this._make(t)},each:function(t){let e=0;const n=this.length;for(;en.some((e=>de(e,t))))))}return this._findBySelector(t,Number.POSITIVE_INFINITY)},first:function(){return this.length>1?this._make(this[0]):this},get:function(t){return null==t?this.toArray():this[t<0?this.length+t:t]},has:function(t){return this.filter("string"==typeof t?`:has(${t})`:(e,n)=>this._make(n).find(t).length>0)},index:function(t){let e,n;return null==t?(e=this.parent().children(),n=this[0]):"string"==typeof t?(e=this._make(t),n=this[0]):(e=this,n=ge(t)?t[0]:t),Array.prototype.indexOf.call(e,n)},is:function(t){const e=this.toArray();return"string"==typeof t?Gn(e.filter(H),t,this.options):!!t&&e.some(br(t))},last:function(){return this.length>0?this._make(this[this.length-1]):this},map:function(t){let e=[];for(let n=0;n!n.has(t)))}else{const n=br(t);e=e.filter(((t,e)=>!n(t,e)))}return this._make(e)},parent:ar,parents:cr,parentsUntil:lr,prev:dr,prevAll:pr,prevUntil:mr,siblings:gr,slice:function(t,e){return this._make(Array.prototype.slice.call(this,t,e))},toArray:function(){return Array.prototype.slice.call(this)}},Symbol.toStringTag,{value:"Module"}));function vr(t,e){const n=Array.isArray(t)?t:[t];e?e.children=n:e=null;for(let t=0;t{if(!X(r))return;const i="function"==typeof e[0]?e[0].call(r,s,this._render(r.children)):e,o=this._makeDomArray(i,s=t.length?null:t[e+n];for(let t=0;t-1&&(u.children.splice(t,1),s===u&&e>t&&a[0]--)}n.parent=s,n.prev&&(n.prev.next=null!==(i=n.next)&&void 0!==i?i:null),n.next&&(n.next.prev=null!==(o=n.prev)&&void 0!==o?o:null),n.prev=0===t?c:r[t-1],n.next=t===r.length-1?l:r[t+1]}return c&&(c.next=r[0]),l&&(l.prev=r[r.length-1]),t.splice(...a)}const Er=wr(((t,e,n)=>{Ar(e,e.length,0,t,n)})),xr=wr(((t,e,n)=>{Ar(e,0,0,t,n)}));function Cr(t){return function(e){const n=this.length-1,r=this.parents().last();for(let s=0;s{const{parent:r}=t;if(!r)return;const s=r.children,i=s.indexOf(t);vr([t],e),Ar(s,i,0,n,r)})),Dr=Cr(((t,e,n)=>{X(t)&&(vr(t.children,e),vr(n,t))}));const Tr=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray:function(t,e){if(null==t)return[];if("string"==typeof t)return this._parse(t,this.options,!1,null).children.slice(0);if("length"in t){if(1===t.length)return this._makeDomArray(t[0],e);const n=[];for(let r=0;r{if(!X(n)||!n.parent)return;const s=n.parent.children,i=s.indexOf(n);if(i<0)return;const o="function"==typeof t[0]?t[0].call(n,r,this._render(n.children)):t;Ar(s,i+1,0,this._makeDomArray(o,r{if(!X(n)||!n.parent)return;const s=n.parent.children,i=s.indexOf(n);if(i<0)return;const o="function"==typeof t[0]?t[0].call(n,r,this._render(n.children)):t;Ar(s,i,0,this._makeDomArray(o,rQ(t,!0))),e=new V(t);for(const n of t)n.parent=e;return this._make(t)},empty:function(){return ye(this,(t=>{if(X(t)){for(const e of t.children)e.next=e.prev=e.parent=null;t.children.length=0}}))},html:function(t){if(void 0===t){const t=this[0];return t&&X(t)?this._render(t.children):null}return ye(this,(e=>{if(!X(e))return;for(const t of e.children)t.next=t.prev=t.parent=null;vr(ge(t)?t.toArray():this._parse(`${t}`,this.options,!1,e).children,e)}))},insertAfter:function(t){"string"==typeof t&&(t=this._make(t)),this.remove();const e=[];for(const n of this._makeDomArray(t)){const t=this.clone().toArray(),{parent:r}=n;if(!r)continue;const s=r.children,i=s.indexOf(n);i<0||(Ar(s,i+1,0,t,r),e.push(...t))}return this._make(e)},insertBefore:function(t){const e=this._make(t);this.remove();const n=[];return ye(e,(t=>{const e=this.clone().toArray(),{parent:r}=t;if(!r)return;const s=r.children,i=s.indexOf(t);i<0||(Ar(s,i,0,e,r),n.push(...e))})),this._make(n)},prepend:xr,prependTo:function(t){return(ge(t)?t:this._make(t)).prepend(this),this},remove:function(t){return ye(t?this.filter(t):this,(t=>{Vt(t),t.prev=t.next=t.parent=null})),this},replaceWith:function(t){return ye(this,((e,n)=>{const{parent:r}=e;if(!r)return;const s=r.children,i="function"==typeof t?t.call(e,n,e):t,o=this._makeDomArray(i);vr(o,null);const a=s.indexOf(e);Ar(s,a,1,o,r),o.includes(e)||(e.parent=e.prev=e.next=null)}))},text:function(t){return void 0===t?fe(this):ye(this,"function"==typeof t?(e,n)=>this._make(e).text(t.call(e,n,fe([e]))):e=>{if(!X(e))return;for(const t of e.children)t.next=t.prev=t.parent=null;vr(new P(`${t}`),e)})},toString:function(){return this._render(this)},unwrap:function(t){return this.parent(t).not("body").each(((t,e)=>{this._make(e).replaceWith(e.children)})),this},wrap:Sr,wrapAll:function(t){const e=this[0];if(e){const n=this._make("function"==typeof t?t.call(e,0,e):t).insertBefore(e);let r;for(let t=0;t`${t}${t?" ":""}${e}: ${s[e]};`),""))}else if("object"==typeof e){const n=Object.keys(e);for(let r=0;r0&&void 0!==n&&(e[n]+=`;${t}`)}else n=r.slice(0,t).trim(),e[n]=r.slice(t+1).trim()}return e}(t.attribs.style);if("string"==typeof e)return n[e];if(Array.isArray(e)){const t={};for(const r of e)null!=n[r]&&(t[r]=n[r]);return t}return n}const Fr=Object.freeze(Object.defineProperty({__proto__:null,css:function(t,e){return null!=t&&null!=e||"object"==typeof t&&!Array.isArray(t)?ye(this,((n,r)=>{H(n)&&Nr(n,t,e,r)})):0!==this.length?Ir(this[0],t):void 0}},Symbol.toStringTag,{value:"Module"})),Lr="input,select,textarea,keygen",qr=/%20/g,Or=/\r?\n/g;const Br=Object.freeze(Object.defineProperty({__proto__:null,serialize:function(){return this.serializeArray().map((t=>`${encodeURIComponent(t.name)}=${encodeURIComponent(t.value)}`)).join("&").replace(qr,"+")},serializeArray:function(){return this.map(((t,e)=>{const n=this._make(e);return H(e)&&"form"===e.name?n.find(Lr).toArray():n.filter(Lr).toArray()})).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map(((t,e)=>{var n;const r=this._make(e),s=r.attr("name"),i=null!==(n=r.val())&&void 0!==n?n:"";return Array.isArray(i)?i.map((t=>({name:s,value:t.replace(Or,"\r\n")}))):{name:s,value:i.replace(Or,"\r\n")}})).toArray()}},Symbol.toStringTag,{value:"Module"}));function $r(t){var e;return"string"==typeof t?{selector:t,value:"textContent"}:{selector:t.selector,value:null!==(e=t.value)&&void 0!==e?e:"textContent"}}const Mr=Object.freeze(Object.defineProperty({__proto__:null,extract:function(t){const e={};for(const n in t){const r=t[n],s=Array.isArray(r),{selector:i,value:o}=$r(s?r[0]:r),a="function"==typeof o?o:"string"==typeof o?t=>this._make(t).prop(o):t=>this._make(t).extract(o);if(s)e[n]=this._findBySelector(i,Number.POSITIVE_INFINITY).map(((t,r)=>a(r,n,e))).get();else{const t=this._findBySelector(i,1);e[n]=t.length>0?a(t[0],n,e):void 0}}return e}},Symbol.toStringTag,{value:"Module"}));class Pr{constructor(t,e,n){if(this.length=0,this.options=n,this._root=e,t){for(let e=0;ethis.emitCodePoint(t,e)))}reset(){this.state=Rr.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=Rr.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=Rr.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===jr.Amp&&this.startEntity()}stateSpecialStartSequence(t){const e=this.sequenceIndex===this.currentSequence.length;if(e?Hr(t):(32|t)===this.currentSequence[this.sequenceIndex]){if(!e)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=Rr.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===jr.Gt||Kr(t)){const e=this.index-this.currentSequence.length;if(this.sectionStart=jr.LowerA&&t<=jr.LowerZ||t>=jr.UpperA&&t<=jr.UpperZ}(t)}startSpecial(t,e){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=e,this.state=Rr.SpecialStartSequence}stateBeforeTagName(t){if(t===jr.ExclamationMark)this.state=Rr.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===jr.Questionmark)this.state=Rr.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){const e=32|t;this.sectionStart=this.index,this.xmlMode?this.state=Rr.InTagName:e===Gr.ScriptEnd[2]?this.state=Rr.BeforeSpecialS:e===Gr.TitleEnd[2]?this.state=Rr.BeforeSpecialT:this.state=Rr.InTagName}else t===jr.Slash?this.state=Rr.BeforeClosingTagName:(this.state=Rr.Text,this.stateText(t))}stateInTagName(t){Hr(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=Rr.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){Kr(t)||(t===jr.Gt?this.state=Rr.Text:(this.state=this.isTagStartChar(t)?Rr.InClosingTagName:Rr.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===jr.Gt||Kr(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=Rr.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===jr.Gt||this.fastForwardTo(jr.Gt))&&(this.state=Rr.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===jr.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=Rr.InSpecialTag,this.sequenceIndex=0):this.state=Rr.Text,this.sectionStart=this.index+1):t===jr.Slash?this.state=Rr.InSelfClosingTag:Kr(t)||(this.state=Rr.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===jr.Gt?(this.cbs.onselfclosingtag(this.index),this.state=Rr.Text,this.sectionStart=this.index+1,this.isSpecial=!1):Kr(t)||(this.state=Rr.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===jr.Eq||Hr(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=Rr.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===jr.Eq?this.state=Rr.BeforeAttributeValue:t===jr.Slash||t===jr.Gt?(this.cbs.onattribend(zr.NoValue,this.sectionStart),this.sectionStart=-1,this.state=Rr.BeforeAttributeName,this.stateBeforeAttributeName(t)):Kr(t)||(this.cbs.onattribend(zr.NoValue,this.sectionStart),this.state=Rr.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===jr.DoubleQuote?(this.state=Rr.InAttributeValueDq,this.sectionStart=this.index+1):t===jr.SingleQuote?(this.state=Rr.InAttributeValueSq,this.sectionStart=this.index+1):Kr(t)||(this.sectionStart=this.index,this.state=Rr.InAttributeValueNq,this.stateInAttributeValueNoQuotes(t))}handleInAttributeValue(t,e){t===e||!this.decodeEntities&&this.fastForwardTo(e)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(e===jr.DoubleQuote?zr.Double:zr.Single,this.index+1),this.state=Rr.BeforeAttributeName):this.decodeEntities&&t===jr.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,jr.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,jr.SingleQuote)}stateInAttributeValueNoQuotes(t){Kr(t)||t===jr.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(zr.Unquoted,this.index),this.state=Rr.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===jr.Amp&&this.startEntity()}stateBeforeDeclaration(t){t===jr.OpeningSquareBracket?(this.state=Rr.CDATASequence,this.sequenceIndex=0):this.state=t===jr.Dash?Rr.BeforeComment:Rr.InDeclaration}stateInDeclaration(t){(t===jr.Gt||this.fastForwardTo(jr.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=Rr.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===jr.Gt||this.fastForwardTo(jr.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=Rr.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===jr.Dash?(this.state=Rr.InCommentLike,this.currentSequence=Gr.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=Rr.InDeclaration}stateInSpecialComment(t){(t===jr.Gt||this.fastForwardTo(jr.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=Rr.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){const e=32|t;e===Gr.ScriptEnd[3]?this.startSpecial(Gr.ScriptEnd,4):e===Gr.StyleEnd[3]?this.startSpecial(Gr.StyleEnd,4):(this.state=Rr.InTagName,this.stateInTagName(t))}stateBeforeSpecialT(t){const e=32|t;e===Gr.TitleEnd[3]?this.startSpecial(Gr.TitleEnd,4):e===Gr.TextareaEnd[3]?this.startSpecial(Gr.TextareaEnd,4):(this.state=Rr.InTagName,this.stateInTagName(t))}startEntity(){this.baseState=this.state,this.state=Rr.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?dt.Strict:this.baseState===Rr.Text||this.baseState===Rr.InSpecialTag?dt.Legacy:dt.Attribute)}stateInEntity(){const t=this.entityDecoder.write(this.buffer,this.index-this.offset);t>=0?(this.state=this.baseState,0===t&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===Rr.Text||this.state===Rr.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==Rr.InAttributeValueDq&&this.state!==Rr.InAttributeValueSq&&this.state!==Rr.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index=t||(this.state===Rr.InCommentLike?this.currentSequence===Gr.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===Rr.InTagName||this.state===Rr.BeforeAttributeName||this.state===Rr.BeforeAttributeValue||this.state===Rr.AfterAttributeName||this.state===Rr.InAttributeName||this.state===Rr.InAttributeValueSq||this.state===Rr.InAttributeValueDq||this.state===Rr.InAttributeValueNq||this.state===Rr.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,e){this.baseState!==Rr.Text&&this.baseState!==Rr.InSpecialTag?(this.sectionStart0&&i.has(this.stack[0]);){const t=this.stack.shift();null===(n=(e=this.cbs).onclosetag)||void 0===n||n.call(e,t,!0)}this.isVoidElement(t)||(this.stack.unshift(t),this.htmlMode&&(ns.has(t)?this.foreignContext.unshift(!0):rs.has(t)&&this.foreignContext.unshift(!1))),null===(s=(r=this.cbs).onopentagname)||void 0===s||s.call(r,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var e,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(e=this.cbs).onopentag)||void 0===n||n.call(e,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,e){var n,r,s,i,o,a,c,l;this.endIndex=e;let u=this.getSlice(t,e);if(this.lowerCaseTagNames&&(u=u.toLowerCase()),this.htmlMode&&(ns.has(u)||rs.has(u))&&this.foreignContext.shift(),this.isVoidElement(u))this.htmlMode&&"br"===u&&(null===(i=(s=this.cbs).onopentagname)||void 0===i||i.call(s,"br"),null===(a=(o=this.cbs).onopentag)||void 0===a||a.call(o,"br",{},!0),null===(l=(c=this.cbs).onclosetag)||void 0===l||l.call(c,"br",!1));else{const t=this.stack.indexOf(u);if(-1!==t)for(let e=0;e<=t;e++){const s=this.stack.shift();null===(r=(n=this.cbs).onclosetag)||void 0===r||r.call(n,s,e!==t)}else this.htmlMode&&"p"===u&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=e+1}onselfclosingtag(t){this.endIndex=t,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var e,n;const r=this.tagname;this.endOpenTag(t),this.stack[0]===r&&(null===(n=(e=this.cbs).onclosetag)||void 0===n||n.call(e,r,!t),this.stack.shift())}onattribname(t,e){this.startIndex=t;const n=this.getSlice(t,e);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(t,e){this.attribvalue+=this.getSlice(t,e)}onattribentity(t){this.attribvalue+=ot(t)}onattribend(t,e){var n,r;this.endIndex=e,null===(r=(n=this.cbs).onattribute)||void 0===r||r.call(n,this.attribname,this.attribvalue,t===zr.Double?'"':t===zr.Single?"'":t===zr.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){const e=t.search(ss);let n=e<0?t:t.substr(0,e);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(t,e){this.endIndex=e;const n=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){const t=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${t}`,`!${n}`)}this.startIndex=e+1}onprocessinginstruction(t,e){this.endIndex=e;const n=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){const t=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${t}`,`?${n}`)}this.startIndex=e+1}oncomment(t,e,n){var r,s,i,o;this.endIndex=e,null===(s=(r=this.cbs).oncomment)||void 0===s||s.call(r,this.getSlice(t,e-n)),null===(o=(i=this.cbs).oncommentend)||void 0===o||o.call(i),this.startIndex=e+1}oncdata(t,e,n){var r,s,i,o,a,c,l,u,h,f;this.endIndex=e;const d=this.getSlice(t,e-n);!this.htmlMode||this.options.recognizeCDATA?(null===(s=(r=this.cbs).oncdatastart)||void 0===s||s.call(r),null===(o=(i=this.cbs).ontext)||void 0===o||o.call(i,d),null===(c=(a=this.cbs).oncdataend)||void 0===c||c.call(a)):(null===(u=(l=this.cbs).oncomment)||void 0===u||u.call(l,`[CDATA[${d}]]`),null===(f=(h=this.cbs).oncommentend)||void 0===f||f.call(h)),this.startIndex=e+1}onend(){var t,e;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let t=0;t=this.buffers[0].length;)this.shiftBuffer();let n=this.buffers[0].slice(t-this.bufferOffset,e-this.bufferOffset);for(;e-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,e-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var e,n;this.ended?null===(n=(e=this.cbs).onerror)||void 0===n||n.call(e,new Error(".write() after done!")):(this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++))}end(t){var e,n;this.ended?null===(n=(e=this.cbs).onerror)||void 0===n||n.call(e,new Error(".end() after done!")):(t&&this.write(t),this.ended=!0,this.tokenizer.end())}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndeximg:only-child",selectorRules:{"div,p":({$node:t})=>({queue:t.children()}),"h1,h2,h3,h4,h5,h6":({$node:t,getContent:e})=>({...e(t.contents())}),"ul,ol":({$node:t})=>({queue:t.children(),nesting:!0}),li:({$node:t,getContent:e})=>{const n=t.children().filter("ul,ol");let r;if(t.contents().first().is("div,p"))r=e(t.children().first());else{let s=t.contents();const i=s.index(n);i>=0&&(s=s.slice(0,i)),r=e(s)}return{queue:n,nesting:!0,...r}},"table,pre,p>img:only-child":({$node:t,getContent:e})=>({...e(t)})}},hs="markmap: ",fs=/^h[1-6]$/,ds=/^[uo]l$/,ps=/^li$/;function ms(t,e){const n={...us,...e},r=os(t);let s=r("body");s.length||(s=r.root());let i=0;const o={id:i,tag:"",html:"",level:0,parent:0,childrenLevel:0,children:[]},a=[];let c=0;return function t(e,s){e.each(((e,o)=>{var h;const f=r(o),d=null==(h=Object.entries(n.selectorRules).find((([t])=>f.is(t))))?void 0:h[1],p=null==d?void 0:d({$node:f,$:r,getContent:u});if((null==p?void 0:p.queue)&&!p.nesting)return void t(p.queue,s);const m=(g=o.tagName,fs.test(g)?+g[1]:ds.test(g)?8:ps.test(g)?9:7);var g;if(!p)return void(m<=6&&(c=m));if(c>0&&m>c)return;if(!f.is(n.selector))return;c=0;const y=m<=6;let b={...f.closest("p").data(),...f.data()},k=p.html||"";if(f.is("ol>li")&&(null==s?void 0:s.children)){const t=+(f.parent().attr("start")||1)+s.children.length;k=`${t}. ${k}`,b={...b,listIndex:t}}const _=function(t){var e;const{parent:n}=t,r={id:++i,tag:t.tagName,level:t.level,html:t.html,childrenLevel:0,children:t.nesting?[]:void 0,parent:n.id};(null==(e=t.comments)?void 0:e.length)&&(r.comments=t.comments);Object.keys(t.data||{}).length&&(r.data=t.data);n.children&&((0===n.childrenLevel||n.childrenLevel>r.level)&&(n.children=[],n.childrenLevel=r.level),n.childrenLevel===r.level&&n.children.push(r));return r}({parent:s||l(m),nesting:!!p.queue||y,tagName:o.tagName,level:m,html:k,comments:p.comments,data:b});y&&a.push(_),p.queue&&t(p.queue,_)}))}(s.children()),o;function l(t){let e;for(;(e=a[a.length-1])&&e.level>=t;)a.pop();return e||o}function u(t){var e;const n=function(t){const e=[];return t=t.filter(((t,n)=>{if("comment"===n.type){const t=n.data.trim();if(t.startsWith(hs))return e.push(t.slice(9).trim()),!1}return!0})),{$node:t,comments:e}}(t),s=null==(e=r.html(n.$node))?void 0:e.trimEnd();return{comments:n.comments,html:s}}}const gs={};function ys(t,e){"string"!=typeof e&&(e=ys.defaultChars);const n=function(t){let e=gs[t];if(e)return e;e=gs[t]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);e.push(n)}for(let n=0;n=55296&&t<=57343?"���":String.fromCharCode(t),r+=6;continue}}if(240==(248&i)&&r+91114111?e+="����":(t-=65536,e+=String.fromCharCode(55296+(t>>10),56320+(1023&t))),r+=9;continue}}e+="�"}}return e}))}ys.defaultChars=";/?:@&=+$,#",ys.componentChars="";const bs={};function ks(t,e,n){"string"!=typeof e&&(n=e,e=ks.defaultChars),void 0===n&&(n=!0);const r=function(t){let e=bs[t];if(e)return e;e=bs[t]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);/^[0-9a-z]$/i.test(n)?e.push(n):e.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(let n=0;n=55296&&o<=57343){if(o>=55296&&o<=56319&&e+1=56320&&n<=57343){s+=encodeURIComponent(t[e]+t[e+1]),e++;continue}}s+="%EF%BF%BD"}else s+=encodeURIComponent(t[e])}return s}function _s(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function vs(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}ks.defaultChars=";/?:@&=+$,-_.!~*'()#",ks.componentChars="-_.!~*'()";const ws=/^([a-z0-9.+-]+:)/i,As=/:[0-9]*$/,Es=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,xs=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),Cs=["'"].concat(xs),Ss=["%","/","?",";","#"].concat(Cs),Ds=["/","?","#"],Ts=/^[+a-z0-9A-Z_-]{0,63}$/,Ns=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Is={javascript:!0,"javascript:":!0},Fs={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Ls(t,e){if(t&&t instanceof vs)return t;const n=new vs;return n.parse(t,e),n}vs.prototype.parse=function(t,e){let n,r,s,i=t;if(i=i.trim(),!e&&1===t.split("#").length){const t=Es.exec(i);if(t)return this.pathname=t[1],t[2]&&(this.search=t[2]),this}let o=ws.exec(i);if(o&&(o=o[0],n=o.toLowerCase(),this.protocol=o,i=i.substr(o.length)),(e||o||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(s="//"===i.substr(0,2),!s||o&&Is[o]||(i=i.substr(2),this.slashes=!0)),!Is[o]&&(s||o&&!Fs[o])){let t,e,n=-1;for(let t=0;t127?r+="x":r+=n[t];if(!r.match(Ts)){const r=t.slice(0,e),s=t.slice(e+1),o=n.match(Ns);o&&(r.push(o[1]),s.unshift(o[2])),s.length&&(i=s.join(".")+i),this.hostname=r.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=i.indexOf("#");-1!==a&&(this.hash=i.substr(a),i=i.slice(0,a));const c=i.indexOf("?");return-1!==c&&(this.search=i.substr(c),i=i.slice(0,c)),i&&(this.pathname=i),Fs[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},vs.prototype.parseHost=function(t){let e=As.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const qs=Object.freeze(Object.defineProperty({__proto__:null,decode:ys,encode:ks,format:_s,parse:Ls},Symbol.toStringTag,{value:"Module"})),Os=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Bs=/[\0-\x1F\x7F-\x9F]/,$s=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Ms=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Ps=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,js=Object.freeze(Object.defineProperty({__proto__:null,Any:Os,Cc:Bs,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:$s,S:Ms,Z:Ps},Symbol.toStringTag,{value:"Module"})),Rs=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((t=>t.charCodeAt(0)))),Us=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((t=>t.charCodeAt(0))));var zs;const Vs=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Ks=null!==(zs=String.fromCodePoint)&&void 0!==zs?zs:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};var Hs;!function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"}(Hs||(Hs={}));var Gs,Ws,Zs;function Js(t){return t>=Hs.ZERO&&t<=Hs.NINE}function Xs(t){return t===Hs.EQUALS||function(t){return t>=Hs.UPPER_A&&t<=Hs.UPPER_Z||t>=Hs.LOWER_A&&t<=Hs.LOWER_Z||Js(t)}(t)}!function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"}(Gs||(Gs={})),function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"}(Ws||(Ws={})),function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"}(Zs||(Zs={}));class Qs{constructor(t,e,n){this.decodeTree=t,this.emitCodePoint=e,this.errors=n,this.state=Ws.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Zs.Strict}startEntity(t){this.decodeMode=t,this.state=Ws.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case Ws.EntityStart:return t.charCodeAt(e)===Hs.NUM?(this.state=Ws.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=Ws.NamedEntity,this.stateNamedEntity(t,e));case Ws.NumericStart:return this.stateNumericStart(t,e);case Ws.NumericDecimal:return this.stateNumericDecimal(t,e);case Ws.NumericHex:return this.stateNumericHex(t,e);case Ws.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===Hs.LOWER_X?(this.state=Ws.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=Ws.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,n,r){if(e!==n){const s=n-e;this.result=this.result*Math.pow(r,s)+parseInt(t.substr(e,s),r),this.consumed+=s}}stateNumericHex(t,e){const n=e;for(;e=Hs.UPPER_A&&r<=Hs.UPPER_F||r>=Hs.LOWER_A&&r<=Hs.LOWER_F)))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(s,3);e+=1}var r;return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e=55296&&t<=57343||t>1114111?65533:null!==(e=Vs.get(t))&&void 0!==e?e:t}(this.result),this.consumed),this.errors&&(t!==Hs.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){const{decodeTree:n}=this;let r=n[this.treeIndex],s=(r&Gs.VALUE_LENGTH)>>14;for(;e>14,0!==s){if(i===Hs.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==Zs.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:n}=this,r=(n[e]&Gs.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,r,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:r}=this;return this.emitCodePoint(1===e?r[t]&~Gs.VALUE_LENGTH:r[t+1],n),3===e&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case Ws.NamedEntity:return 0===this.result||this.decodeMode===Zs.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Ws.NumericDecimal:return this.emitNumericEntity(0,2);case Ws.NumericHex:return this.emitNumericEntity(0,3);case Ws.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ws.EntityStart:return 0}}}function Ys(t){let e="";const n=new Qs(t,(t=>e+=Ks(t)));return function(t,r){let s=0,i=0;for(;(i=t.indexOf("&",i))>=0;){e+=t.slice(s,i),n.startEntity(r);const o=n.write(t,i+1);if(o<0){s=i+n.end();break}s=i+o,i=0===o?s+1:s}const o=e+t.slice(s);return e="",o}}function ti(t,e,n,r){const s=(e&Gs.BRANCH_LENGTH)>>7,i=e&Gs.JUMP_TABLE;if(0===s)return 0!==i&&r===i?n:-1;if(i){const e=r-i;return e<0||e>=s?-1:t[n+e]-1}let o=n,a=o+s-1;for(;o<=a;){const e=o+a>>>1,n=t[e];if(nr))return t[e+s];a=e-1}}return-1}const ei=Ys(Rs);function ni(t,e=Zs.Legacy){return ei(t,e)}function ri(t){return"[object String]"===function(t){return Object.prototype.toString.call(t)}(t)}Ys(Us);const si=Object.prototype.hasOwnProperty;function ii(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach((function(n){t[n]=e[n]}))}})),t}function oi(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))}function ai(t){return!(t>=55296&&t<=57343)&&(!(t>=64976&&t<=65007)&&(!!(65535&~t&&65534!=(65535&t))&&(!(t>=0&&t<=8)&&(11!==t&&(!(t>=14&&t<=31)&&(!(t>=127&&t<=159)&&!(t>1114111)))))))}function ci(t){if(t>65535){const e=55296+((t-=65536)>>10),n=56320+(1023&t);return String.fromCharCode(e,n)}return String.fromCharCode(t)}const li=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ui=new RegExp(li.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),hi=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function fi(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(ui,(function(t,e,n){return e||function(t,e){if(35===e.charCodeAt(0)&&hi.test(e)){const n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return ai(n)?ci(n):t}const n=ni(t);return n!==t?n:t}(t,n)}))}const di=/[&<>"]/,pi=/[&<>"]/g,mi={"&":"&","<":"<",">":">",'"':"""};function gi(t){return mi[t]}function yi(t){return di.test(t)?t.replace(pi,gi):t}const bi=/[.?*+^$[\]\\(){}|-]/g;function ki(t){switch(t){case 9:case 32:return!0}return!1}function _i(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function vi(t){return $s.test(t)||Ms.test(t)}function wi(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Ai(t){return t=t.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const Ei={mdurl:qs,ucmicro:js},xi=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:oi,assign:ii,escapeHtml:yi,escapeRE:function(t){return t.replace(bi,"\\$&")},fromCodePoint:ci,has:function(t,e){return si.call(t,e)},isMdAsciiPunct:wi,isPunctChar:vi,isSpace:ki,isString:ri,isValidEntityCode:ai,isWhiteSpace:_i,lib:Ei,normalizeReference:Ai,unescapeAll:fi,unescapeMd:function(t){return t.indexOf("\\")<0?t:t.replace(li,"$1")}},Symbol.toStringTag,{value:"Module"}));const Ci=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:function(t,e,n){let r,s=e;const i={ok:!1,pos:0,str:""};if(60===t.charCodeAt(s)){for(s++;s32))return i;if(41===r){if(0===o)break;o--}s++}return e===s||0!==o||(i.str=fi(t.slice(e,s)),i.pos=s,i.ok=!0),i},parseLinkLabel:function(t,e,n){let r,s,i,o;const a=t.posMax,c=t.pos;for(t.pos=e+1,r=1;t.pos=n)return o;let r=t.charCodeAt(i);if(34!==r&&39!==r&&40!==r)return o;e++,i++,40===r&&(r=41),o.marker=r}for(;i"+yi(i.content)+""},Si.code_block=function(t,e,n,r,s){const i=t[e];return""+yi(t[e].content)+"
\n"},Si.fence=function(t,e,n,r,s){const i=t[e],o=i.info?fi(i.info).trim():"";let a,c="",l="";if(o){const t=o.split(/(\s+)/g);c=t[0],l=t.slice(2).join("")}if(a=n.highlight&&n.highlight(i.content,c,l)||yi(i.content),0===a.indexOf("${a}\n`}return`
${a}
\n`},Si.image=function(t,e,n,r,s){const i=t[e];return i.attrs[i.attrIndex("alt")][1]=s.renderInlineAsText(i.children,n,r),s.renderToken(t,e,n)},Si.hardbreak=function(t,e,n){return n.xhtmlOut?"
\n":"
\n"},Si.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},Si.text=function(t,e){return yi(t[e].content)},Si.html_block=function(t,e){return t[e].content},Si.html_inline=function(t,e){return t[e].content},Di.prototype.renderAttrs=function(t){let e,n,r;if(!t.attrs)return"";for(r="",e=0,n=t.attrs.length;e\n":">",s},Di.prototype.renderInline=function(t,e,n){let r="";const s=this.rules;for(let i=0,o=t.length;i=0&&(n=this.attrs[e][1]),n},Ni.prototype.attrJoin=function(t,e){const n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e},Ii.prototype.Token=Ni;const Fi=/\r\n?|\n/g,Li=/\0/g;function qi(t){return/^<\/a\s*>/i.test(t)}const Oi=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Bi=/\((c|tm|r)\)/i,$i=/\((c|tm|r)\)/gi,Mi={c:"©",r:"®",tm:"™"};function Pi(t,e){return Mi[e.toLowerCase()]}function ji(t){let e=0;for(let n=t.length-1;n>=0;n--){const r=t[n];"text"!==r.type||e||(r.content=r.content.replace($i,Pi)),"link_open"===r.type&&"auto"===r.info&&e--,"link_close"===r.type&&"auto"===r.info&&e++}}function Ri(t){let e=0;for(let n=t.length-1;n>=0;n--){const r=t[n];"text"!==r.type||e||Oi.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&e--,"link_close"===r.type&&"auto"===r.info&&e++}}const Ui=/['"]/,zi=/['"]/g;function Vi(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Ki(t,e){let n;const r=[];for(let s=0;s=0&&!(r[n].level<=o);n--);if(r.length=n+1,"text"!==i.type)continue;let a=i.content,c=0,l=a.length;t:for(;c=0)p=a.charCodeAt(u.index-1);else for(n=s-1;n>=0&&("softbreak"!==t[n].type&&"hardbreak"!==t[n].type);n--)if(t[n].content){p=t[n].content.charCodeAt(t[n].content.length-1);break}let m=32;if(c=48&&p<=57&&(f=h=!1),h&&f&&(h=g,f=y),h||f){if(f)for(n=r.length-1;n>=0;n--){let h=r[n];if(r[n].level=0;o--){const a=s[o];if("link_close"!==a.type){if("html_inline"===a.type&&(n=a.content,/^\s]/i.test(n)&&i>0&&i--,qi(a.content)&&i++),!(i>0)&&"text"===a.type&&t.md.linkify.test(a.content)){const n=a.content;let i=t.md.linkify.match(n);const c=[];let l=a.level,u=0;i.length>0&&0===i[0].index&&o>0&&"text_special"===s[o-1].type&&(i=i.slice(1));for(let e=0;eu){const e=new t.Token("text","",0);e.content=n.slice(u,a),e.level=l,c.push(e)}const h=new t.Token("link_open","a",1);h.attrs=[["href",s]],h.level=l++,h.markup="linkify",h.info="auto",c.push(h);const f=new t.Token("text","",0);f.content=o,f.level=l,c.push(f);const d=new t.Token("link_close","a",-1);d.level=--l,d.markup="linkify",d.info="auto",c.push(d),u=i[e].lastIndex}if(u=0;e--)"inline"===t.tokens[e].type&&(Bi.test(t.tokens[e].content)&&ji(t.tokens[e].children),Oi.test(t.tokens[e].content)&&Ri(t.tokens[e].children))}],["smartquotes",function(t){if(t.md.options.typographer)for(let e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&Ui.test(t.tokens[e].content)&&Ki(t.tokens[e].children,t)}],["text_join",function(t){let e,n;const r=t.tokens,s=r.length;for(let t=0;t0&&this.level++,this.tokens.push(r),r},Wi.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},Wi.prototype.skipEmptyLines=function(t){for(let e=this.lineMax;te;)if(!ki(this.src.charCodeAt(--t)))return t+1;return t},Wi.prototype.skipChars=function(t,e){for(let n=this.src.length;tn;)if(e!==this.src.charCodeAt(--t))return t+1;return t},Wi.prototype.getLines=function(t,e,n,r){if(t>=e)return"";const s=new Array(e-t);for(let i=0,o=t;on?new Array(t-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return s.join("")},Wi.prototype.Token=Ni;function Zi(t,e){const n=t.bMarks[e]+t.tShift[e],r=t.eMarks[e];return t.src.slice(n,r)}function Ji(t){const e=[],n=t.length;let r=0,s=t.charCodeAt(r),i=!1,o=0,a="";for(;r=r)return-1;let i=t.src.charCodeAt(s++);if(i<48||i>57)return-1;for(;;){if(s>=r)return-1;if(i=t.src.charCodeAt(s++),!(i>=48&&i<=57)){if(41===i||46===i)break;return-1}if(s-n>=10)return-1}return s`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",to="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",eo=new RegExp("^(?:"+Yi+"|"+to+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),no=new RegExp("^(?:"+Yi+"|"+to+")"),ro=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(no.source+"\\s*$"),/^$/,!1]];const so=[["table",function(t,e,n,r){if(e+2>n)return!1;let s=e+1;if(t.sCount[s]=4)return!1;let i=t.bMarks[s]+t.tShift[s];if(i>=t.eMarks[s])return!1;const o=t.src.charCodeAt(i++);if(124!==o&&45!==o&&58!==o)return!1;if(i>=t.eMarks[s])return!1;const a=t.src.charCodeAt(i++);if(124!==a&&45!==a&&58!==a&&!ki(a))return!1;if(45===o&&ki(a))return!1;for(;i=4)return!1;l=Ji(c),l.length&&""===l[0]&&l.shift(),l.length&&""===l[l.length-1]&&l.pop();const h=l.length;if(0===h||h!==u.length)return!1;if(r)return!0;const f=t.parentType;t.parentType="table";const d=t.md.block.ruler.getRules("blockquote"),p=[e,0];t.push("table_open","table",1).map=p,t.push("thead_open","thead",1).map=[e,e+1],t.push("tr_open","tr",1).map=[e,e+1];for(let e=0;e=4)break;if(l=Ji(c),l.length&&""===l[0]&&l.shift(),l.length&&""===l[l.length-1]&&l.pop(),g+=h-l.length,g>65536)break;if(s===e+2){t.push("tbody_open","tbody",1).map=m=[e+2,0]}t.push("tr_open","tr",1).map=[s,s+1];for(let e=0;e=4))break;r++,s=r}t.line=s;const i=t.push("code_block","code",0);return i.content=t.getLines(e,s,4+t.blkIndent,!1)+"\n",i.map=[e,t.line],!0}],["fence",function(t,e,n,r){let s=t.bMarks[e]+t.tShift[e],i=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(s+3>i)return!1;const o=t.src.charCodeAt(s);if(126!==o&&96!==o)return!1;let a=s;s=t.skipChars(s,o);let c=s-a;if(c<3)return!1;const l=t.src.slice(a,s),u=t.src.slice(s,i);if(96===o&&u.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;let h=e,f=!1;for(;(h++,!(h>=n))&&(s=a=t.bMarks[h]+t.tShift[h],i=t.eMarks[h],!(s=4||(s=t.skipChars(s,o),s-a=4)return!1;if(62!==t.src.charCodeAt(s))return!1;if(r)return!0;const a=[],c=[],l=[],u=[],h=t.md.block.ruler.getRules("blockquote"),f=t.parentType;t.parentType="blockquote";let d,p=!1;for(d=e;d=i)break;if(62===t.src.charCodeAt(s++)&&!e){let e,n,r=t.sCount[d]+1;32===t.src.charCodeAt(s)?(s++,r++,n=!1,e=!0):9===t.src.charCodeAt(s)?(e=!0,(t.bsCount[d]+r)%4==3?(s++,r++,n=!1):n=!0):e=!1;let o=r;for(a.push(t.bMarks[d]),t.bMarks[d]=s;s=i,c.push(t.bsCount[d]),t.bsCount[d]=t.sCount[d]+1+(e?1:0),l.push(t.sCount[d]),t.sCount[d]=o-r,u.push(t.tShift[d]),t.tShift[d]=s-t.bMarks[d];continue}if(p)break;let r=!1;for(let e=0,s=h.length;e";const y=[e,0];g.map=y,t.md.block.tokenize(t,e,d),t.push("blockquote_close","blockquote",-1).markup=">",t.lineMax=o,t.parentType=f,y[1]=t.line;for(let n=0;n=4)return!1;let i=t.bMarks[e]+t.tShift[e];const o=t.src.charCodeAt(i++);if(42!==o&&45!==o&&95!==o)return!1;let a=1;for(;i=4)return!1;if(t.listIndent>=0&&t.sCount[c]-t.listIndent>=4&&t.sCount[c]=t.blkIndent&&(d=!0),(f=Qi(t,c))>=0){if(u=!0,o=t.bMarks[c]+t.tShift[c],h=Number(t.src.slice(o,f-1)),d&&1!==h)return!1}else{if(!((f=Xi(t,c))>=0))return!1;u=!1}if(d&&t.skipSpaces(f)>=t.eMarks[c])return!1;if(r)return!0;const p=t.src.charCodeAt(f-1),m=t.tokens.length;u?(a=t.push("ordered_list_open","ol",1),1!==h&&(a.attrs=[["start",h]])):a=t.push("bullet_list_open","ul",1);const g=[c,0];a.map=g,a.markup=String.fromCharCode(p);let y=!1;const b=t.md.block.ruler.getRules("list"),k=t.parentType;for(t.parentType="list";c=s?1:r-e,d>4&&(d=1);const m=e+d;a=t.push("list_item_open","li",1),a.markup=String.fromCharCode(p);const g=[c,0];a.map=g,u&&(a.info=t.src.slice(o,f-1));const k=t.tight,_=t.tShift[c],v=t.sCount[c],w=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=m,t.tight=!0,t.tShift[c]=h-t.bMarks[c],t.sCount[c]=r,h>=s&&t.isEmpty(c+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,c,n,!0),t.tight&&!y||(l=!1),y=t.line-c>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=w,t.tShift[c]=_,t.sCount[c]=v,t.tight=k,a=t.push("list_item_close","li",-1),a.markup=String.fromCharCode(p),c=t.line,g[1]=c,c>=n)break;if(t.sCount[c]=4)break;let A=!1;for(let e=0,r=b.length;e=4)return!1;if(91!==t.src.charCodeAt(s))return!1;function a(e){const n=t.lineMax;if(e>=n||t.isEmpty(e))return null;let r=!1;if(t.sCount[e]-t.blkIndent>3&&(r=!0),t.sCount[e]<0&&(r=!0),!r){const r=t.md.block.ruler.getRules("reference"),s=t.parentType;t.parentType="reference";let i=!1;for(let s=0,o=r.length;s=4)return!1;if(!t.md.options.html)return!1;if(60!==t.src.charCodeAt(s))return!1;let o=t.src.slice(s,i),a=0;for(;a=4)return!1;let o=t.src.charCodeAt(s);if(35!==o||s>=i)return!1;let a=1;for(o=t.src.charCodeAt(++s);35===o&&s6||ss&&ki(t.src.charCodeAt(c-1))&&(i=c),t.line=e+1;const l=t.push("heading_open","h"+String(a),1);l.markup="########".slice(0,a),l.map=[e,t.line];const u=t.push("inline","",0);return u.content=t.src.slice(s,i).trim(),u.map=[e,t.line],u.children=[],t.push("heading_close","h"+String(a),-1).markup="########".slice(0,a),!0},["paragraph","reference","blockquote"]],["lheading",function(t,e,n){const r=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;const s=t.parentType;t.parentType="paragraph";let i,o=0,a=e+1;for(;a3)continue;if(t.sCount[a]>=t.blkIndent){let e=t.bMarks[a]+t.tShift[a];const n=t.eMarks[a];if(e=n))){o=61===i?1:2;break}}if(t.sCount[a]<0)continue;let e=!1;for(let s=0,i=r.length;s3)continue;if(t.sCount[i]<0)continue;let e=!1;for(let s=0,o=r.length;s=n))&&!(t.sCount[o]=i){t.line=n;break}const e=t.line;let c=!1;for(let i=0;i=t.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");t.tight=!a,t.isEmpty(t.line-1)&&(a=!0),o=t.line,o0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(s),r},oo.prototype.scanDelims=function(t,e){const n=this.posMax,r=this.src.charCodeAt(t),s=t>0?this.src.charCodeAt(t-1):32;let i=t;for(;i?@[]^_`{|}~-".split("").forEach((function(t){lo[t.charCodeAt(0)]=1}));const ho={tokenize:function(t,e){const n=t.pos,r=t.src.charCodeAt(n);if(e)return!1;if(126!==r)return!1;const s=t.scanDelims(t.pos,!0);let i=s.length;const o=String.fromCharCode(r);if(i<2)return!1;let a;i%2&&(a=t.push("text","",0),a.content=o,i--);for(let e=0;e=0;n--){const r=e[n];if(95!==r.marker&&42!==r.marker)continue;if(-1===r.end)continue;const s=e[r.end],i=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===s.token+1,o=String.fromCharCode(r.marker),a=t.tokens[r.token];a.type=i?"strong_open":"em_open",a.tag=i?"strong":"em",a.nesting=1,a.markup=i?o+o:o,a.content="";const c=t.tokens[s.token];c.type=i?"strong_close":"em_close",c.tag=i?"strong":"em",c.nesting=-1,c.markup=i?o+o:o,c.content="",i&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--)}}const po={tokenize:function(t,e){const n=t.pos,r=t.src.charCodeAt(n);if(e)return!1;if(95!==r&&42!==r)return!1;const s=t.scanDelims(t.pos,42===r);for(let e=0;e\x00-\x20]*)$/;const yo=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,bo=/^&([a-z][a-z0-9]{1,31});/i;function ko(t){const e={},n=t.length;if(!n)return;let r=0,s=-2;const i=[];for(let o=0;oa;c-=i[c]+1){const e=t[c];if(e.marker===n.marker&&(e.open&&e.end<0)){let r=!1;if((e.close||n.open)&&(e.length+n.length)%3==0&&(e.length%3==0&&n.length%3==0||(r=!0)),!r){const r=c>0&&!t[c-1].open?i[c-1]+1:0;i[o]=o-c+r,i[c]=r,n.open=!1,e.end=o,e.close=!1,l=-1,s=-2;break}}}-1!==l&&(e[n.marker][(n.open?3:0)+(n.length||0)%3]=l)}}const _o=[["text",function(t,e){let n=t.pos;for(;n0)return!1;const n=t.pos;if(n+3>t.posMax)return!1;if(58!==t.src.charCodeAt(n))return!1;if(47!==t.src.charCodeAt(n+1))return!1;if(47!==t.src.charCodeAt(n+2))return!1;const r=t.pending.match(co);if(!r)return!1;const s=r[1],i=t.md.linkify.matchAtStart(t.src.slice(n-s.length));if(!i)return!1;let o=i.url;if(o.length<=s.length)return!1;o=o.replace(/\*+$/,"");const a=t.md.normalizeLink(o);if(!t.md.validateLink(a))return!1;if(!e){t.pending=t.pending.slice(0,-s.length);const e=t.push("link_open","a",1);e.attrs=[["href",a]],e.markup="linkify",e.info="auto";t.push("text","",0).content=t.md.normalizeLinkText(o);const n=t.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return t.pos+=o.length-s.length,!0}],["newline",function(t,e){let n=t.pos;if(10!==t.src.charCodeAt(n))return!1;const r=t.pending.length-1,s=t.posMax;if(!e)if(r>=0&&32===t.pending.charCodeAt(r))if(r>=1&&32===t.pending.charCodeAt(r-1)){let e=r-1;for(;e>=1&&32===t.pending.charCodeAt(e-1);)e--;t.pending=t.pending.slice(0,e),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(n++;n=r)return!1;let s=t.src.charCodeAt(n);if(10===s){for(e||t.push("hardbreak","br",0),n++;n=55296&&s<=56319&&n+1=56320&&e<=57343&&(i+=t.src[n+1],n++)}const o="\\"+i;if(!e){const e=t.push("text_special","",0);s<256&&0!==lo[s]?e.content=i:e.content=o,e.markup=o,e.info="escape"}return t.pos=n+1,!0}],["backticks",function(t,e){let n=t.pos;if(96!==t.src.charCodeAt(n))return!1;const r=n;n++;const s=t.posMax;for(;n=h)return!1;if(c=p,s=t.md.helpers.parseLinkDestination(t.src,p,t.posMax),s.ok){for(o=t.md.normalizeLink(s.str),t.md.validateLink(o)?p=s.pos:o="",c=p;p=h||41!==t.src.charCodeAt(p))&&(l=!0),p++}if(l){if(void 0===t.env.references)return!1;if(p=0?r=t.src.slice(c,p++):p=d+1):p=d+1,r||(r=t.src.slice(f,d)),i=t.env.references[Ai(r)],!i)return t.pos=u,!1;o=i.href,a=i.title}if(!e){t.pos=f,t.posMax=d;const e=[["href",o]];t.push("link_open","a",1).attrs=e,a&&e.push(["title",a]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=p,t.posMax=h,!0}],["image",function(t,e){let n,r,s,i,o,a,c,l,u="";const h=t.pos,f=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;const d=t.pos+2,p=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(p<0)return!1;if(i=p+1,i=f)return!1;for(l=i,a=t.md.helpers.parseLinkDestination(t.src,i,t.posMax),a.ok&&(u=t.md.normalizeLink(a.str),t.md.validateLink(u)?i=a.pos:u=""),l=i;i=f||41!==t.src.charCodeAt(i))return t.pos=h,!1;i++}else{if(void 0===t.env.references)return!1;if(i=0?s=t.src.slice(l,i++):i=p+1):i=p+1,s||(s=t.src.slice(d,p)),o=t.env.references[Ai(s)],!o)return t.pos=h,!1;u=o.href,c=o.title}if(!e){r=t.src.slice(d,p);const e=[];t.md.inline.parse(r,t.md,t.env,e);const n=t.push("image","img",0),s=[["src",u],["alt",""]];n.attrs=s,n.children=e,n.content=r,c&&s.push(["title",c])}return t.pos=i,t.posMax=f,!0}],["autolink",function(t,e){let n=t.pos;if(60!==t.src.charCodeAt(n))return!1;const r=t.pos,s=t.posMax;for(;;){if(++n>=s)return!1;const e=t.src.charCodeAt(n);if(60===e)return!1;if(62===e)break}const i=t.src.slice(r+1,n);if(go.test(i)){const n=t.md.normalizeLink(i);if(!t.md.validateLink(n))return!1;if(!e){const e=t.push("link_open","a",1);e.attrs=[["href",n]],e.markup="autolink",e.info="auto";t.push("text","",0).content=t.md.normalizeLinkText(i);const r=t.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return t.pos+=i.length+2,!0}if(mo.test(i)){const n=t.md.normalizeLink("mailto:"+i);if(!t.md.validateLink(n))return!1;if(!e){const e=t.push("link_open","a",1);e.attrs=[["href",n]],e.markup="autolink",e.info="auto";t.push("text","",0).content=t.md.normalizeLinkText(i);const r=t.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return t.pos+=i.length+2,!0}return!1}],["html_inline",function(t,e){if(!t.md.options.html)return!1;const n=t.posMax,r=t.pos;if(60!==t.src.charCodeAt(r)||r+2>=n)return!1;const s=t.src.charCodeAt(r+1);if(33!==s&&63!==s&&47!==s&&!function(t){const e=32|t;return e>=97&&e<=122}(s))return!1;const i=t.src.slice(r).match(eo);if(!i)return!1;if(!e){const e=t.push("html_inline","",0);e.content=i[0],o=e.content,/^\s]/i.test(o)&&t.linkLevel++,function(t){return/^<\/a\s*>/i.test(t)}(e.content)&&t.linkLevel--}var o;return t.pos+=i[0].length,!0}],["entity",function(t,e){const n=t.pos,r=t.posMax;if(38!==t.src.charCodeAt(n))return!1;if(n+1>=r)return!1;if(35===t.src.charCodeAt(n+1)){const r=t.src.slice(n).match(yo);if(r){if(!e){const e="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=t.push("text_special","",0);n.content=ai(e)?ci(e):ci(65533),n.markup=r[0],n.info="entity"}return t.pos+=r[0].length,!0}}else{const r=t.src.slice(n).match(bo);if(r){const n=ni(r[0]);if(n!==r[0]){if(!e){const e=t.push("text_special","",0);e.content=n,e.markup=r[0],e.info="entity"}return t.pos+=r[0].length,!0}}}return!1}]],vo=[["balance_pairs",function(t){const e=t.tokens_meta,n=t.tokens_meta.length;ko(t.delimiters);for(let t=0;t0&&r++,"text"===s[e].type&&e+1=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;o||t.pos++,i[e]=t.pos},wo.prototype.tokenize=function(t){const e=this.ruler.getRules(""),n=e.length,r=t.posMax,s=t.md.options.maxNesting;for(;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}if(o){if(t.pos>=r)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},wo.prototype.parse=function(t,e,n,r){const s=new this.State(t,e,n,r);this.tokenize(s);const i=this.ruler2.getRules(""),o=i.length;for(let t=0;t=3&&":"===t[e-3]||e>=3&&"/"===t[e-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){const r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},To="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function No(t){const e=t.re=function(t){const e={};t=t||{},e.src_Any=Os.source,e.src_Cc=Bs.source,e.src_Z=Ps.source,e.src_P=$s.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");const n="[><|]";return e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}(t.__opts__),n=t.__tlds__.slice();function r(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(e.src_xn),e.src_tlds=n.join("|"),e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");const s=[];function i(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach((function(e){const n=t.__schemas__[e];if(null===n)return;const r={validate:null,link:null};if(t.__compiled__[e]=r,"[object Object]"===Eo(n))return!function(t){return"[object RegExp]"===Eo(t)}(n.validate)?xo(n.validate)?r.validate=n.validate:i(e,n):r.validate=function(t){return function(e,n){const r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}(n.validate),void(xo(n.normalize)?r.normalize=n.normalize:n.normalize?i(e,n):r.normalize=function(t,e){e.normalize(t)});!function(t){return"[object String]"===Eo(t)}(n)?i(e,n):s.push(e)})),s.forEach((function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)})),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};const o=Object.keys(t.__compiled__).filter((function(e){return e.length>0&&t.__compiled__[e]})).map(Co).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function Io(t,e){const n=t.__index__,r=t.__last_index__,s=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=s,this.text=s,this.url=s}function Fo(t,e){const n=new Io(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function Lo(t,e){if(!(this instanceof Lo))return new Lo(t,e);var n;e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||So.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=Ao({},So,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ao({},Do,t),this.__compiled__={},this.__tlds__=To,this.__tlds_replaced__=!1,this.re={},No(this)}Lo.prototype.add=function(t,e){return this.__schemas__[t]=e,No(this),this},Lo.prototype.set=function(t){return this.__opts__=Ao(this.__opts__,t),this},Lo.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let e,n,r,s,i,o,a,c,l;if(this.re.schema_test.test(t))for(a=this.re.schema_search,a.lastIndex=0;null!==(e=a.exec(t));)if(s=this.testSchemaAt(t,e[2],a.lastIndex),s){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+s;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&null!==(r=t.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,o=r.index+r[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=o))),this.__index__>=0},Lo.prototype.pretest=function(t){return this.re.pretest.test(t)},Lo.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},Lo.prototype.match=function(t){const e=[];let n=0;this.__index__>=0&&this.__text_cache__===t&&(e.push(Fo(this,n)),n=this.__last_index__);let r=n?t.slice(n):t;for(;this.test(r);)e.push(Fo(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return e.length?e:null},Lo.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const e=this.re.schema_at_start.exec(t);if(!e)return null;const n=this.testSchemaAt(t,e[2],e[0].length);return n?(this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+n,Fo(this,0)):null},Lo.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,e,n){return t!==n[e-1]})).reverse(),No(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,No(this),this)},Lo.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},Lo.prototype.onCompile=function(){};const qo=2147483647,Oo=36,Bo=/^xn--/,$o=/[^\0-\x7F]/,Mo=/[\x2E\u3002\uFF0E\uFF61]/g,Po={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},jo=Math.floor,Ro=String.fromCharCode;function Uo(t){throw new RangeError(Po[t])}function zo(t,e){const n=t.split("@");let r="";n.length>1&&(r=n[0]+"@",t=n[1]);const s=function(t,e){const n=[];let r=t.length;for(;r--;)n[r]=e(t[r]);return n}((t=t.replace(Mo,".")).split("."),e).join(".");return r+s}function Vo(t){const e=[];let n=0;const r=t.length;for(;n=55296&&s<=56319&&n>1,t+=jo(t/e);t>455;r+=Oo)t=jo(t/35);return jo(r+36*t/(t+38))},Go=function(t){const e=[],n=t.length;let r=0,s=128,i=72,o=t.lastIndexOf("-");o<0&&(o=0);for(let n=0;n=128&&Uo("not-basic"),e.push(t.charCodeAt(n));for(let c=o>0?o+1:0;c=n&&Uo("invalid-input");const o=(a=t.charCodeAt(c++))>=48&&a<58?a-48+26:a>=65&&a<91?a-65:a>=97&&a<123?a-97:Oo;o>=Oo&&Uo("invalid-input"),o>jo((qo-r)/e)&&Uo("overflow"),r+=o*e;const l=s<=i?1:s>=i+26?26:s-i;if(ojo(qo/u)&&Uo("overflow"),e*=u}const l=e.length+1;i=Ho(r-o,l,0==o),jo(r/l)>qo-s&&Uo("overflow"),s+=jo(r/l),r%=l,e.splice(r++,0,s)}var a;return String.fromCodePoint(...e)},Wo=function(t){const e=[],n=(t=Vo(t)).length;let r=128,s=0,i=72;for(const n of t)n<128&&e.push(Ro(n));const o=e.length;let a=o;for(o&&e.push("-");a=r&&ejo((qo-s)/c)&&Uo("overflow"),s+=(n-r)*c,r=n;for(const n of t)if(nqo&&Uo("overflow"),n===r){let t=s;for(let n=Oo;;n+=Oo){const r=n<=i?1:n>=i+26?26:n-i;if(t=0))try{e.hostname=Zo(e.hostname)}catch(t){}return ks(_s(e))}function ra(t){const e=Ls(t,!0);if(e.hostname&&(!e.protocol||ea.indexOf(e.protocol)>=0))try{e.hostname=Jo(e.hostname)}catch(t){}return ys(_s(e),ys.defaultChars+"%")}function sa(t,e){if(!(this instanceof sa))return new sa(t,e);e||ri(t)||(e=t||{},t="default"),this.inline=new wo,this.block=new io,this.core=new Gi,this.renderer=new Di,this.linkify=new Lo,this.validateLink=ta,this.normalizeLink=na,this.normalizeLinkText=ra,this.utils=xi,this.helpers=ii({},Ci),this.options={},this.configure(t),e&&this.set(e)}function ia(t){function e(t,e){let n;const r=[],s=e.length;for(let i=0;i?@[\]^_`{|}~-])/g;function ca(t,e){const n=t.posMax,r=t.pos;if(126!==t.src.charCodeAt(r))return!1;if(e)return!1;if(r+2>=n)return!1;t.pos=r+1;let s=!1;for(;t.pos?@[\]^_`{|}~-])/g;function ha(t,e){const n=t.posMax,r=t.pos;if(94!==t.src.charCodeAt(r))return!1;if(e)return!1;if(r+2>=n)return!1;t.pos=r+1;let s=!1;for(;t.pos\n'.trim(),x:'\n'.trim()},pa={name:"checkbox",transform:t=>(t.parser.tap((t=>{t.core.ruler.before("inline","checkbox",(t=>{for(let e=2;eda[e]?`${da[e]} `:t)))}}return!1}))})),{})},ma=Symbol.for("yaml.alias"),ga=Symbol.for("yaml.document"),ya=Symbol.for("yaml.map"),ba=Symbol.for("yaml.pair"),ka=Symbol.for("yaml.scalar"),_a=Symbol.for("yaml.seq"),va=Symbol.for("yaml.node.type"),wa=t=>!!t&&"object"==typeof t&&t[va]===ma,Aa=t=>!!t&&"object"==typeof t&&t[va]===ga,Ea=t=>!!t&&"object"==typeof t&&t[va]===ya,xa=t=>!!t&&"object"==typeof t&&t[va]===ba,Ca=t=>!!t&&"object"==typeof t&&t[va]===ka,Sa=t=>!!t&&"object"==typeof t&&t[va]===_a;function Da(t){if(t&&"object"==typeof t)switch(t[va]){case ya:case _a:return!0}return!1}function Ta(t){if(t&&"object"==typeof t)switch(t[va]){case ma:case ya:case ka:case _a:return!0}return!1}const Na=Symbol("break visit"),Ia=Symbol("skip children"),Fa=Symbol("remove node");function La(t,e){const n=function(t){if("object"==typeof t&&(t.Collection||t.Node||t.Value))return Object.assign({Alias:t.Node,Map:t.Node,Scalar:t.Node,Seq:t.Node},t.Value&&{Map:t.Value,Scalar:t.Value,Seq:t.Value},t.Collection&&{Map:t.Collection,Seq:t.Collection},t);return t}(e);if(Aa(t)){qa(null,t.contents,n,Object.freeze([t]))===Fa&&(t.contents=null)}else qa(null,t,n,Object.freeze([]))}function qa(t,e,n,r){const s=function(t,e,n,r){var s,i,o,a,c;return"function"==typeof n?n(t,e,r):Ea(e)?null==(s=n.Map)?void 0:s.call(n,t,e,r):Sa(e)?null==(i=n.Seq)?void 0:i.call(n,t,e,r):xa(e)?null==(o=n.Pair)?void 0:o.call(n,t,e,r):Ca(e)?null==(a=n.Scalar)?void 0:a.call(n,t,e,r):wa(e)?null==(c=n.Alias)?void 0:c.call(n,t,e,r):void 0}(t,e,n,r);if(Ta(s)||xa(s))return function(t,e,n){const r=e[e.length-1];if(Da(r))r.items[t]=n;else if(xa(r))"key"===t?r.key=n:r.value=n;else{if(!Aa(r)){const t=wa(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${t} parent`)}r.contents=n}}(t,r,s),qa(t,s,n,r);if("symbol"!=typeof s)if(Da(e)){r=Object.freeze(r.concat(e));for(let t=0;t"!==t[t.length-1]&&e("Verbatim tags must end with a >"),n)}const[,n,r]=t.match(/^(.*!)([^!]*)$/s);r||e(`The ${t} tag has no suffix`);const s=this.tags[n];if(s)try{return s+decodeURIComponent(r)}catch(t){return e(String(t)),null}return"!"===n?t:(e(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[e,n]of Object.entries(this.tags))if(t.startsWith(n))return e+t.substring(n.length).replace(/[!,[\]{}]/g,(t=>Oa[t]));return"!"===t[0]?t:`!<${t}>`}toString(t){const e=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let r;if(t&&n.length>0&&Ta(t.contents)){const e={};La(t.contents,((t,n)=>{Ta(n)&&n.tag&&(e[n.tag]=!0)})),r=Object.keys(e)}else r=[];for(const[s,i]of n)"!!"===s&&"tag:yaml.org,2002:"===i||t&&!r.some((t=>t.startsWith(i)))||e.push(`%TAG ${s} ${i}`);return e.join("\n")}}function $a(t){if(/[\x00-\x19\s,[\]{}]/.test(t)){const e=JSON.stringify(t);throw new Error(`Anchor must not contain whitespace or control characters: ${e}`)}return!0}function Ma(t){const e=new Set;return La(t,{Value(t,n){n.anchor&&e.add(n.anchor)}}),e}function Pa(t,e){for(let n=1;;++n){const r=`${t}${n}`;if(!e.has(r))return r}}function ja(t,e,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let e=0,n=r.length;eRa(t,String(e),n)));if(t&&"function"==typeof t.toJSON){if(!n||(!Ca(r=t)&&!Da(r)||!r.anchor))return t.toJSON(e,n);const s={aliasCount:0,count:1,res:void 0};n.anchors.set(t,s),n.onCreate=t=>{s.res=t,delete n.onCreate};const i=t.toJSON(e,n);return n.onCreate&&n.onCreate(i),i}var r;return"bigint"!=typeof t||(null==n?void 0:n.keep)?t:Number(t)}Ba.defaultYaml={explicit:!1,version:"1.2"},Ba.defaultTags={"!!":"tag:yaml.org,2002:"};class Ua{constructor(t){Object.defineProperty(this,va,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:e,maxAliasCount:n,onAnchor:r,reviver:s}={}){if(!Aa(t))throw new TypeError("A document argument is required");const i={anchors:new Map,doc:t,keep:!0,mapAsMap:!0===e,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},o=Ra(this,"",i);if("function"==typeof r)for(const{count:t,res:e}of i.anchors.values())r(e,t);return"function"==typeof s?ja(s,{"":o},"",o):o}}class za extends Ua{constructor(t){super(ma),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let e;return La(t,{Node:(t,n)=>{if(n===this)return La.BREAK;n.anchor===this.source&&(e=n)}}),e}toJSON(t,e){if(!e)return{source:this.source};const{anchors:n,doc:r,maxAliasCount:s}=e,i=this.resolve(r);if(!i){const t=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(t)}let o=n.get(i);if(o||(Ra(i,null,e),o=n.get(i)),!o||void 0===o.res){throw new ReferenceError("This should not happen: Alias anchor was not resolved?")}if(s>=0&&(o.count+=1,0===o.aliasCount&&(o.aliasCount=Va(r,i,n)),o.count*o.aliasCount>s)){throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return o.res}toString(t,e,n){const r=`*${this.source}`;if(t){if($a(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const t=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(t)}if(t.implicitKey)return`${r} `}return r}}function Va(t,e,n){if(wa(e)){const r=e.resolve(t),s=n&&r&&n.get(r);return s?s.count*s.aliasCount:0}if(Da(e)){let r=0;for(const s of e.items){const e=Va(t,s,n);e>r&&(r=e)}return r}if(xa(e)){const r=Va(t,e.key,n),s=Va(t,e.value,n);return Math.max(r,s)}return 1}const Ka=t=>!t||"function"!=typeof t&&"object"!=typeof t;class Ha extends Ua{constructor(t){super(ka),this.value=t}toJSON(t,e){return(null==e?void 0:e.keep)?this.value:Ra(this.value,t,e)}toString(){return String(this.value)}}Ha.BLOCK_FOLDED="BLOCK_FOLDED",Ha.BLOCK_LITERAL="BLOCK_LITERAL",Ha.PLAIN="PLAIN",Ha.QUOTE_DOUBLE="QUOTE_DOUBLE",Ha.QUOTE_SINGLE="QUOTE_SINGLE";function Ga(t,e,n){var r,s,i;if(Aa(t)&&(t=t.contents),Ta(t))return t;if(xa(t)){const e=null==(s=(r=n.schema[ya]).createNode)?void 0:s.call(r,n.schema,null,n);return e.items.push(t),e}(t instanceof String||t instanceof Number||t instanceof Boolean||"undefined"!=typeof BigInt&&t instanceof BigInt)&&(t=t.valueOf());const{aliasDuplicateObjects:o,onAnchor:a,onTagObj:c,schema:l,sourceObjects:u}=n;let h;if(o&&t&&"object"==typeof t){if(h=u.get(t),h)return h.anchor||(h.anchor=a(t)),new za(h.anchor);h={anchor:null,node:null},u.set(t,h)}(null==e?void 0:e.startsWith("!!"))&&(e="tag:yaml.org,2002:"+e.slice(2));let f=function(t,e,n){if(e){const t=n.filter((t=>t.tag===e)),r=t.find((t=>!t.format))??t[0];if(!r)throw new Error(`Tag ${e} not found`);return r}return n.find((e=>{var n;return(null==(n=e.identify)?void 0:n.call(e,t))&&!e.format}))}(t,e,l.tags);if(!f){if(t&&"function"==typeof t.toJSON&&(t=t.toJSON()),!t||"object"!=typeof t){const e=new Ha(t);return h&&(h.node=e),e}f=t instanceof Map?l[ya]:Symbol.iterator in Object(t)?l[_a]:l[ya]}c&&(c(f),delete n.onTagObj);const d=(null==f?void 0:f.createNode)?f.createNode(n.schema,t,n):"function"==typeof(null==(i=null==f?void 0:f.nodeClass)?void 0:i.from)?f.nodeClass.from(n.schema,t,n):new Ha(t);return e?d.tag=e:f.default||(d.tag=f.tag),h&&(h.node=d),d}function Wa(t,e,n){let r=n;for(let t=e.length-1;t>=0;--t){const n=e[t];if("number"==typeof n&&Number.isInteger(n)&&n>=0){const t=[];t[n]=r,r=t}else r=new Map([[n,r]])}return Ga(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:t,sourceObjects:new Map})}const Za=t=>null==t||"object"==typeof t&&!!t[Symbol.iterator]().next().done;class Ja extends Ua{constructor(t,e){super(t),Object.defineProperty(this,"schema",{value:e,configurable:!0,enumerable:!1,writable:!0})}clone(t){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(e.schema=t),e.items=e.items.map((e=>Ta(e)||xa(e)?e.clone(t):e)),this.range&&(e.range=this.range.slice()),e}addIn(t,e){if(Za(t))this.add(e);else{const[n,...r]=t,s=this.get(n,!0);if(Da(s))s.addIn(r,e);else{if(void 0!==s||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Wa(this.schema,r,e))}}}deleteIn(t){const[e,...n]=t;if(0===n.length)return this.delete(e);const r=this.get(e,!0);if(Da(r))return r.deleteIn(n);throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`)}getIn(t,e){const[n,...r]=t,s=this.get(n,!0);return 0===r.length?!e&&Ca(s)?s.value:s:Da(s)?s.getIn(r,e):void 0}hasAllNullValues(t){return this.items.every((e=>{if(!xa(e))return!1;const n=e.value;return null==n||t&&Ca(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(t){const[e,...n]=t;if(0===n.length)return this.has(e);const r=this.get(e,!0);return!!Da(r)&&r.hasIn(n)}setIn(t,e){const[n,...r]=t;if(0===r.length)this.set(n,e);else{const t=this.get(n,!0);if(Da(t))t.setIn(r,e);else{if(void 0!==t||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Wa(this.schema,r,e))}}}}const Xa=t=>t.replace(/^(?!$)(?: $)?/gm,"#");function Qa(t,e){return/^\n+$/.test(t)?t.substring(1):e?t.replace(/^(?! *$)/gm,e):t}const Ya=(t,e,n)=>t.endsWith("\n")?Qa(n,e):n.includes("\n")?"\n"+Qa(n,e):(t.endsWith(" ")?"":" ")+n,tc="flow",ec="block",nc="quoted";function rc(t,e,n="flow",{indentAtStart:r,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}={}){if(!s||s<0)return t;ss-Math.max(2,i)?l.push(0):d=s-r);let p=!1,m=-1,g=-1,y=-1;n===ec&&(m=sc(t,m,e.length),-1!==m&&(d=m+c));for(let r;r=t[m+=1];){if(n===nc&&"\\"===r){switch(g=m,t[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}y=m}if("\n"===r)n===ec&&(m=sc(t,m,e.length)),d=m+e.length+c,h=void 0;else{if(" "===r&&f&&" "!==f&&"\n"!==f&&"\t"!==f){const e=t[m+1];e&&" "!==e&&"\n"!==e&&"\t"!==e&&(h=m)}if(m>=d)if(h)l.push(h),d=h+c,h=void 0;else if(n===nc){for(;" "===f||"\t"===f;)f=r,r=t[m+=1],p=!0;const e=m>y+1?m-2:g-1;if(u[e])return t;l.push(e),u[e]=!0,d=e+c,h=void 0}else p=!0}f=r}if(p&&a&&a(),0===l.length)return t;o&&o();let b=t.slice(0,l[0]);for(let r=0;r({indentAtStart:e?t.indent.length:t.indentAtStart,lineWidth:t.options.lineWidth,minContentWidth:t.options.minContentWidth}),oc=t=>/^(%|---|\.\.\.)/m.test(t);function ac(t,e){const n=JSON.stringify(t);if(e.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=e,s=e.options.doubleQuotedMinMultiLineLength,i=e.indent||(oc(t)?" ":"");let o="",a=0;for(let t=0,e=n[t];e;e=n[++t])if(" "===e&&"\\"===n[t+1]&&"n"===n[t+2]&&(o+=n.slice(a,t)+"\\ ",t+=1,a=t,e="\\"),"\\"===e)switch(n[t+1]){case"u":{o+=n.slice(a,t);const e=n.substr(t+2,4);switch(e){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:"00"===e.substr(0,2)?o+="\\x"+e.substr(2):o+=n.substr(t,6)}t+=5,a=t+1}break;case"n":if(r||'"'===n[t+2]||n.lengthr)return!0;if(n=e+1,s-n<=r)return!1}return!0}(n,c,l.length));if(!n)return u?"|\n":">\n";let h,f;for(f=n.length;f>0;--f){const t=n[f-1];if("\n"!==t&&"\t"!==t&&" "!==t)break}let d=n.substring(f);const p=d.indexOf("\n");-1===p?h="-":n===d||p!==d.length-1?(h="+",i&&i()):h="",d&&(n=n.slice(0,-d.length),"\n"===d[d.length-1]&&(d=d.slice(0,-1)),d=d.replace(uc,`$&${l}`));let m,g=!1,y=-1;for(m=0;m{s=!0});const a=rc(`${b}${t}${d}`,l,ec,i);if(!s)return`>${k}\n${l}${a}`}return`|${k}\n${l}${b}${n=n.replace(/\n+/g,`$&${l}`)}${d}`}function fc(t,e,n,r){const{implicitKey:s,inFlow:i}=e,o="string"==typeof t.value?t:Object.assign({},t,{value:String(t.value)});let{type:a}=t;a!==Ha.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=Ha.QUOTE_DOUBLE);const c=t=>{switch(t){case Ha.BLOCK_FOLDED:case Ha.BLOCK_LITERAL:return s||i?lc(o.value,e):hc(o,e,n,r);case Ha.QUOTE_DOUBLE:return ac(o.value,e);case Ha.QUOTE_SINGLE:return cc(o.value,e);case Ha.PLAIN:return function(t,e,n,r){const{type:s,value:i}=t,{actualString:o,implicitKey:a,indent:c,indentStep:l,inFlow:u}=e;if(a&&i.includes("\n")||u&&/[[\]{},]/.test(i))return lc(i,e);if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return a||u||!i.includes("\n")?lc(i,e):hc(t,e,n,r);if(!a&&!u&&s!==Ha.PLAIN&&i.includes("\n"))return hc(t,e,n,r);if(oc(i)){if(""===c)return e.forceBlockIndent=!0,hc(t,e,n,r);if(a&&c===l)return lc(i,e)}const h=i.replace(/\n+/g,`$&\n${c}`);if(o){const t=t=>{var e;return t.default&&"tag:yaml.org,2002:str"!==t.tag&&(null==(e=t.test)?void 0:e.test(h))},{compat:n,tags:r}=e.doc.schema;if(r.some(t)||(null==n?void 0:n.some(t)))return lc(i,e)}return a?h:rc(h,c,tc,ic(e,!1))}(o,e,n,r);default:return null}};let l=c(a);if(null===l){const{defaultKeyType:t,defaultStringType:n}=e.options,r=s&&t||n;if(l=c(r),null===l)throw new Error(`Unsupported default string type ${r}`)}return l}function dc(t,e){const n=Object.assign({blockQuote:!0,commentString:Xa,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},t.schema.toStringOptions,e);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:t,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,options:n}}function pc(t,e,n,r){var s;if(xa(t))return t.toString(e,n,r);if(wa(t)){if(e.doc.directives)return t.toString(e);if(null==(s=e.resolvedAliases)?void 0:s.has(t))throw new TypeError("Cannot stringify circular structure without alias nodes");e.resolvedAliases?e.resolvedAliases.add(t):e.resolvedAliases=new Set([t]),t=t.resolve(e.doc)}let i;const o=Ta(t)?t:e.doc.createNode(t,{onTagObj:t=>i=t});i||(i=function(t,e){var n;if(e.tag){const n=t.filter((t=>t.tag===e.tag));if(n.length>0)return n.find((t=>t.format===e.format))??n[0]}let r,s;if(Ca(e)){s=e.value;let n=t.filter((t=>{var e;return null==(e=t.identify)?void 0:e.call(t,s)}));if(n.length>1){const t=n.filter((t=>t.test));t.length>0&&(n=t)}r=n.find((t=>t.format===e.format))??n.find((t=>!t.format))}else s=e,r=t.find((t=>t.nodeClass&&s instanceof t.nodeClass));if(!r){const t=(null==(n=null==s?void 0:s.constructor)?void 0:n.name)??typeof s;throw new Error(`Tag not resolved for ${t} value`)}return r}(e.doc.schema.tags,o));const a=function(t,e,{anchors:n,doc:r}){if(!r.directives)return"";const s=[],i=(Ca(t)||Da(t))&&t.anchor;i&&$a(i)&&(n.add(i),s.push(`&${i}`));const o=t.tag?t.tag:e.default?null:e.tag;return o&&s.push(r.directives.tagString(o)),s.join(" ")}(o,i,e);a.length>0&&(e.indentAtStart=(e.indentAtStart??0)+a.length+1);const c="function"==typeof i.stringify?i.stringify(o,e,n,r):Ca(o)?fc(o,e,n,r):o.toString(e,n,r);return a?Ca(o)||"{"===c[0]||"["===c[0]?`${a} ${c}`:`${a}\n${e.indent}${c}`:c}function mc(t,e){"debug"!==t&&"warn"!==t||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(e):console.warn(e))}const gc="<<",yc={identify:t=>t===gc||"symbol"==typeof t&&t.description===gc,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new Ha(Symbol(gc)),{addToJSMap:bc}),stringify:()=>gc};function bc(t,e,n){if(n=t&&wa(n)?n.resolve(t.doc):n,Sa(n))for(const r of n.items)kc(t,e,r);else if(Array.isArray(n))for(const r of n)kc(t,e,r);else kc(t,e,n)}function kc(t,e,n){const r=t&&wa(n)?n.resolve(t.doc):n;if(!Ea(r))throw new Error("Merge sources must be maps or map aliases");const s=r.toJSON(null,t,Map);for(const[t,n]of s)e instanceof Map?e.has(t)||e.set(t,n):e instanceof Set?e.add(t):Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0});return e}function _c(t,e,{key:n,value:r}){if(Ta(n)&&n.addToJSMap)n.addToJSMap(t,e,r);else if(((t,e)=>(yc.identify(e)||Ca(e)&&(!e.type||e.type===Ha.PLAIN)&&yc.identify(e.value))&&(null==t?void 0:t.doc.schema.tags.some((t=>t.tag===yc.tag&&t.default))))(t,n))bc(t,e,r);else{const s=Ra(n,"",t);if(e instanceof Map)e.set(s,Ra(r,s,t));else if(e instanceof Set)e.add(s);else{const i=function(t,e,n){if(null===e)return"";if("object"!=typeof e)return String(e);if(Ta(t)&&(null==n?void 0:n.doc)){const e=dc(n.doc,{});e.anchors=new Set;for(const t of n.anchors.keys())e.anchors.add(t.anchor);e.inFlow=!0,e.inStringifyKey=!0;const r=t.toString(e);if(!n.mapKeyWarned){let t=JSON.stringify(r);t.length>40&&(t=t.substring(0,36)+'..."'),mc(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${t}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(e)}(n,s,t),o=Ra(r,i,t);i in e?Object.defineProperty(e,i,{value:o,writable:!0,enumerable:!0,configurable:!0}):e[i]=o}}return e}function vc(t,e,n){const r=Ga(t,void 0,n),s=Ga(e,void 0,n);return new wc(r,s)}class wc{constructor(t,e=null){Object.defineProperty(this,va,{value:ba}),this.key=t,this.value=e}clone(t){let{key:e,value:n}=this;return Ta(e)&&(e=e.clone(t)),Ta(n)&&(n=n.clone(t)),new wc(e,n)}toJSON(t,e){return _c(e,(null==e?void 0:e.mapAsMap)?new Map:{},this)}toString(t,e,n){return(null==t?void 0:t.doc)?function({key:t,value:e},n,r,s){const{allNullValues:i,doc:o,indent:a,indentStep:c,options:{commentString:l,indentSeq:u,simpleKeys:h}}=n;let f=Ta(t)&&t.comment||null;if(h){if(f)throw new Error("With simple keys, key nodes cannot have comments");if(Da(t)||!Ta(t)&&"object"==typeof t)throw new Error("With simple keys, collection cannot be used as a key value")}let d=!h&&(!t||f&&null==e&&!n.inFlow||Da(t)||(Ca(t)?t.type===Ha.BLOCK_FOLDED||t.type===Ha.BLOCK_LITERAL:"object"==typeof t));n=Object.assign({},n,{allNullValues:!1,implicitKey:!d&&(h||!i),indent:a+c});let p,m,g,y=!1,b=!1,k=pc(t,n,(()=>y=!0),(()=>b=!0));if(!d&&!n.inFlow&&k.length>1024){if(h)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");d=!0}if(n.inFlow){if(i||null==e)return y&&r&&r(),""===k?"?":d?`? ${k}`:k}else if(i&&!h||null==e&&d)return k=`? ${k}`,f&&!y?k+=Ya(k,n.indent,l(f)):b&&s&&s(),k;y&&(f=null),d?(f&&(k+=Ya(k,n.indent,l(f))),k=`? ${k}\n${a}:`):(k=`${k}:`,f&&(k+=Ya(k,n.indent,l(f)))),Ta(e)?(p=!!e.spaceBefore,m=e.commentBefore,g=e.comment):(p=!1,m=null,g=null,e&&"object"==typeof e&&(e=o.createNode(e))),n.implicitKey=!1,d||f||!Ca(e)||(n.indentAtStart=k.length+1),b=!1,u||!(c.length>=2)||n.inFlow||d||!Sa(e)||e.flow||e.tag||e.anchor||(n.indent=n.indent.substring(2));let _=!1;const v=pc(e,n,(()=>_=!0),(()=>b=!0));let w=" ";if(f||p||m)w=p?"\n":"",m&&(w+=`\n${Qa(l(m),n.indent)}`),""!==v||n.inFlow?w+=`\n${n.indent}`:"\n"===w&&(w="\n\n");else if(!d&&Da(e)){const t=v[0],r=v.indexOf("\n"),s=-1!==r,i=n.inFlow??e.flow??0===e.items.length;if(s||!i){let e=!1;if(s&&("&"===t||"!"===t)){let n=v.indexOf(" ");"&"===t&&-1!==n&&no=null),(()=>h=!0));o&&(a+=Ya(a,i,l(o))),h&&o&&(h=!1),f.push(r+a)}let d;if(0===f.length)d=s.start+s.end;else{d=f[0];for(let t=1;ti=null));nu||o.includes("\n"))&&(l=!0),h.push(o),u=h.length}const{start:f,end:d}=n;if(0===h.length)return f+d;if(!l){const t=h.reduce(((t,e)=>t+e.length+2),2);l=e.options.lineWidth>0&&t>e.options.lineWidth}if(l){let t=f;for(const e of h)t+=e?`\n${i}${s}${e}`:"\n";return`${t}\n${s}${d}`}return`${f}${o}${h.join(" ")}${o}${d}`}function Cc({indent:t,options:{commentString:e}},n,r,s){if(r&&s&&(r=r.replace(/^\n+/,"")),r){const s=Qa(e(r),t);n.push(s.trimStart())}}function Sc(t,e){const n=Ca(e)?e.value:e;for(const r of t)if(xa(r)){if(r.key===e||r.key===n)return r;if(Ca(r.key)&&r.key.value===n)return r}}class Dc extends Ja{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(ya,t),this.items=[]}static from(t,e,n){const{keepUndefined:r,replacer:s}=n,i=new this(t),o=(t,o)=>{if("function"==typeof s)o=s.call(e,t,o);else if(Array.isArray(s)&&!s.includes(t))return;(void 0!==o||r)&&i.items.push(vc(t,o,n))};if(e instanceof Map)for(const[t,n]of e)o(t,n);else if(e&&"object"==typeof e)for(const t of Object.keys(e))o(t,e[t]);return"function"==typeof t.sortMapEntries&&i.items.sort(t.sortMapEntries),i}add(t,e){var n;let r;r=xa(t)?t:t&&"object"==typeof t&&"key"in t?new wc(t.key,t.value):new wc(t,null==t?void 0:t.value);const s=Sc(this.items,r.key),i=null==(n=this.schema)?void 0:n.sortMapEntries;if(s){if(!e)throw new Error(`Key ${r.key} already set`);Ca(s.value)&&Ka(r.value)?s.value.value=r.value:s.value=r.value}else if(i){const t=this.items.findIndex((t=>i(r,t)<0));-1===t?this.items.push(r):this.items.splice(t,0,r)}else this.items.push(r)}delete(t){const e=Sc(this.items,t);if(!e)return!1;return this.items.splice(this.items.indexOf(e),1).length>0}get(t,e){const n=Sc(this.items,t),r=null==n?void 0:n.value;return(!e&&Ca(r)?r.value:r)??void 0}has(t){return!!Sc(this.items,t)}set(t,e){this.add(new wc(t,e),!0)}toJSON(t,e,n){const r=n?new n:(null==e?void 0:e.mapAsMap)?new Map:{};(null==e?void 0:e.onCreate)&&e.onCreate(r);for(const t of this.items)_c(e,r,t);return r}toString(t,e,n){if(!t)return JSON.stringify(this);for(const t of this.items)if(!xa(t))throw new Error(`Map items must all be pairs; found ${JSON.stringify(t)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),Ac(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:n,onComment:e})}}const Tc={collection:"map",default:!0,nodeClass:Dc,tag:"tag:yaml.org,2002:map",resolve:(t,e)=>(Ea(t)||e("Expected a mapping for this tag"),t),createNode:(t,e,n)=>Dc.from(t,e,n)};class Nc extends Ja{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(_a,t),this.items=[]}add(t){this.items.push(t)}delete(t){const e=Ic(t);if("number"!=typeof e)return!1;return this.items.splice(e,1).length>0}get(t,e){const n=Ic(t);if("number"!=typeof n)return;const r=this.items[n];return!e&&Ca(r)?r.value:r}has(t){const e=Ic(t);return"number"==typeof e&&e=0?e:null}const Fc={collection:"seq",default:!0,nodeClass:Nc,tag:"tag:yaml.org,2002:seq",resolve:(t,e)=>(Sa(t)||e("Expected a sequence for this tag"),t),createNode:(t,e,n)=>Nc.from(t,e,n)},Lc={identify:t=>"string"==typeof t,default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify:(t,e,n,r)=>fc(t,e=Object.assign({actualString:!0},e),n,r)},qc={identify:t=>null==t,createNode:()=>new Ha(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Ha(null),stringify:({source:t},e)=>"string"==typeof t&&qc.test.test(t)?t:e.options.nullStr},Oc={identify:t=>"boolean"==typeof t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>new Ha("t"===t[0]||"T"===t[0]),stringify({source:t,value:e},n){if(t&&Oc.test.test(t)){if(e===("t"===t[0]||"T"===t[0]))return t}return e?n.options.trueStr:n.options.falseStr}};function Bc({format:t,minFractionDigits:e,tag:n,value:r}){if("bigint"==typeof r)return String(r);const s="number"==typeof r?r:Number(r);if(!isFinite(s))return isNaN(s)?".nan":s<0?"-.inf":".inf";let i=JSON.stringify(r);if(!t&&e&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(i)){let t=i.indexOf(".");t<0&&(t=i.length,i+=".");let n=e-(i.length-t-1);for(;n-- >0;)i+="0"}return i}const $c={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:t=>"nan"===t.slice(-3).toLowerCase()?NaN:"-"===t[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Bc},Mc={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify(t){const e=Number(t.value);return isFinite(e)?e.toExponential():Bc(t)}},Pc={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(t){const e=new Ha(parseFloat(t)),n=t.indexOf(".");return-1!==n&&"0"===t[t.length-1]&&(e.minFractionDigits=t.length-n-1),e},stringify:Bc},jc=t=>"bigint"==typeof t||Number.isInteger(t),Rc=(t,e,n,{intAsBigInt:r})=>r?BigInt(t):parseInt(t.substring(e),n);function Uc(t,e,n){const{value:r}=t;return jc(r)&&r>=0?n+r.toString(e):Bc(t)}const zc={identify:t=>jc(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(t,e,n)=>Rc(t,2,8,n),stringify:t=>Uc(t,8,"0o")},Vc={identify:jc,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(t,e,n)=>Rc(t,0,10,n),stringify:Bc},Kc={identify:t=>jc(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(t,e,n)=>Rc(t,2,16,n),stringify:t=>Uc(t,16,"0x")},Hc=[Tc,Fc,Lc,qc,Oc,zc,Vc,Kc,$c,Mc,Pc];function Gc(t){return"bigint"==typeof t||Number.isInteger(t)}const Wc=({value:t})=>JSON.stringify(t),Zc=[Tc,Fc].concat([{identify:t=>"string"==typeof t,default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify:Wc},{identify:t=>null==t,createNode:()=>new Ha(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Wc},{identify:t=>"boolean"==typeof t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:t=>"true"===t,stringify:Wc},{identify:Gc,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(t,e,{intAsBigInt:n})=>n?BigInt(t):parseInt(t,10),stringify:({value:t})=>Gc(t)?t.toString():JSON.stringify(t)},{identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:Wc}],{default:!0,tag:"",test:/^/,resolve:(t,e)=>(e(`Unresolved plain scalar ${JSON.stringify(t)}`),t)}),Jc={identify:t=>t instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(t,e){if("function"==typeof Buffer)return Buffer.from(t,"base64");if("function"==typeof atob){const e=atob(t.replace(/[\n\r]/g,"")),n=new Uint8Array(e.length);for(let t=0;t1&&e("Each pair must have its own sequence indicator");const t=r.items[0]||new wc(new Ha(null));if(r.commentBefore&&(t.key.commentBefore=t.key.commentBefore?`${r.commentBefore}\n${t.key.commentBefore}`:r.commentBefore),r.comment){const e=t.value??t.key;e.comment=e.comment?`${r.comment}\n${e.comment}`:r.comment}r=t}t.items[n]=xa(r)?r:new wc(r)}}else e("Expected a sequence for this tag");return t}function Qc(t,e,n){const{replacer:r}=n,s=new Nc(t);s.tag="tag:yaml.org,2002:pairs";let i=0;if(e&&Symbol.iterator in Object(e))for(let t of e){let o,a;if("function"==typeof r&&(t=r.call(e,String(i++),t)),Array.isArray(t)){if(2!==t.length)throw new TypeError(`Expected [key, value] tuple: ${t}`);o=t[0],a=t[1]}else if(t&&t instanceof Object){const e=Object.keys(t);if(1!==e.length)throw new TypeError(`Expected tuple with one key, not ${e.length} keys`);o=e[0],a=t[o]}else o=t;s.items.push(vc(o,a,n))}return s}const Yc={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Xc,createNode:Qc};class tl extends Nc{constructor(){super(),this.add=Dc.prototype.add.bind(this),this.delete=Dc.prototype.delete.bind(this),this.get=Dc.prototype.get.bind(this),this.has=Dc.prototype.has.bind(this),this.set=Dc.prototype.set.bind(this),this.tag=tl.tag}toJSON(t,e){if(!e)return super.toJSON(t);const n=new Map;(null==e?void 0:e.onCreate)&&e.onCreate(n);for(const t of this.items){let r,s;if(xa(t)?(r=Ra(t.key,"",e),s=Ra(t.value,r,e)):r=Ra(t,"",e),n.has(r))throw new Error("Ordered maps must not include duplicate keys");n.set(r,s)}return n}static from(t,e,n){const r=Qc(t,e,n),s=new this;return s.items=r.items,s}}tl.tag="tag:yaml.org,2002:omap";const el={collection:"seq",identify:t=>t instanceof Map,nodeClass:tl,default:!1,tag:"tag:yaml.org,2002:omap",resolve(t,e){const n=Xc(t,e),r=[];for(const{key:t}of n.items)Ca(t)&&(r.includes(t.value)?e(`Ordered maps must not include duplicate keys: ${t.value}`):r.push(t.value));return Object.assign(new tl,n)},createNode:(t,e,n)=>tl.from(t,e,n)};function nl({value:t,source:e},n){return e&&(t?rl:sl).test.test(e)?e:t?n.options.trueStr:n.options.falseStr}const rl={identify:t=>!0===t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Ha(!0),stringify:nl},sl={identify:t=>!1===t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Ha(!1),stringify:nl},il={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:t=>"nan"===t.slice(-3).toLowerCase()?NaN:"-"===t[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Bc},ol={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify(t){const e=Number(t.value);return isFinite(e)?e.toExponential():Bc(t)}},al={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(t){const e=new Ha(parseFloat(t.replace(/_/g,""))),n=t.indexOf(".");if(-1!==n){const r=t.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(e.minFractionDigits=r.length)}return e},stringify:Bc},cl=t=>"bigint"==typeof t||Number.isInteger(t);function ll(t,e,n,{intAsBigInt:r}){const s=t[0];if("-"!==s&&"+"!==s||(e+=1),t=t.substring(e).replace(/_/g,""),r){switch(n){case 2:t=`0b${t}`;break;case 8:t=`0o${t}`;break;case 16:t=`0x${t}`}const e=BigInt(t);return"-"===s?BigInt(-1)*e:e}const i=parseInt(t,n);return"-"===s?-1*i:i}function ul(t,e,n){const{value:r}=t;if(cl(r)){const t=r.toString(e);return r<0?"-"+n+t.substr(1):n+t}return Bc(t)}const hl={identify:cl,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(t,e,n)=>ll(t,2,2,n),stringify:t=>ul(t,2,"0b")},fl={identify:cl,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(t,e,n)=>ll(t,1,8,n),stringify:t=>ul(t,8,"0")},dl={identify:cl,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(t,e,n)=>ll(t,0,10,n),stringify:Bc},pl={identify:cl,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(t,e,n)=>ll(t,2,16,n),stringify:t=>ul(t,16,"0x")};class ml extends Dc{constructor(t){super(t),this.tag=ml.tag}add(t){let e;e=xa(t)?t:t&&"object"==typeof t&&"key"in t&&"value"in t&&null===t.value?new wc(t.key,null):new wc(t,null);Sc(this.items,e.key)||this.items.push(e)}get(t,e){const n=Sc(this.items,t);return!e&&xa(n)?Ca(n.key)?n.key.value:n.key:n}set(t,e){if("boolean"!=typeof e)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof e);const n=Sc(this.items,t);n&&!e?this.items.splice(this.items.indexOf(n),1):!n&&e&&this.items.push(new wc(t))}toJSON(t,e){return super.toJSON(t,e,Set)}toString(t,e,n){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),e,n);throw new Error("Set items must all have null values")}static from(t,e,n){const{replacer:r}=n,s=new this(t);if(e&&Symbol.iterator in Object(e))for(let t of e)"function"==typeof r&&(t=r.call(e,t,t)),s.items.push(vc(t,null,n));return s}}ml.tag="tag:yaml.org,2002:set";const gl={collection:"map",identify:t=>t instanceof Set,nodeClass:ml,default:!1,tag:"tag:yaml.org,2002:set",createNode:(t,e,n)=>ml.from(t,e,n),resolve(t,e){if(Ea(t)){if(t.hasAllNullValues(!0))return Object.assign(new ml,t);e("Set items must all have null values")}else e("Expected a mapping for this tag");return t}};function yl(t,e){const n=t[0],r="-"===n||"+"===n?t.substring(1):t,s=t=>e?BigInt(t):Number(t),i=r.replace(/_/g,"").split(":").reduce(((t,e)=>t*s(60)+s(e)),s(0));return"-"===n?s(-1)*i:i}function bl(t){let{value:e}=t,n=t=>t;if("bigint"==typeof e)n=t=>BigInt(t);else if(isNaN(e)||!isFinite(e))return Bc(t);let r="";e<0&&(r="-",e*=n(-1));const s=n(60),i=[e%s];return e<60?i.unshift(0):(e=(e-i[0])/s,i.unshift(e%s),e>=60&&(e=(e-i[0])/s,i.unshift(e))),r+i.map((t=>String(t).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const kl={identify:t=>"bigint"==typeof t||Number.isInteger(t),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(t,e,{intAsBigInt:n})=>yl(t,n),stringify:bl},_l={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:t=>yl(t,!1),stringify:bl},vl={identify:t=>t instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(t){const e=t.match(vl.test);if(!e)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,s,i,o,a]=e.map(Number),c=e[7]?Number((e[7]+"00").substr(1,3)):0;let l=Date.UTC(n,r-1,s,i||0,o||0,a||0,c);const u=e[8];if(u&&"Z"!==u){let t=yl(u,!1);Math.abs(t)<30&&(t*=60),l-=6e4*t}return new Date(l)},stringify:({value:t})=>t.toISOString().replace(/(T00:00:00)?\.000Z$/,"")},wl=[Tc,Fc,Lc,qc,rl,sl,hl,fl,dl,pl,il,ol,al,Jc,yc,el,Yc,gl,kl,_l,vl],Al=new Map([["core",Hc],["failsafe",[Tc,Fc,Lc]],["json",Zc],["yaml11",wl],["yaml-1.1",wl]]),El={binary:Jc,bool:Oc,float:Pc,floatExp:Mc,floatNaN:$c,floatTime:_l,int:Vc,intHex:Kc,intOct:zc,intTime:kl,map:Tc,merge:yc,null:qc,omap:el,pairs:Yc,seq:Fc,set:gl,timestamp:vl},xl={"tag:yaml.org,2002:binary":Jc,"tag:yaml.org,2002:merge":yc,"tag:yaml.org,2002:omap":el,"tag:yaml.org,2002:pairs":Yc,"tag:yaml.org,2002:set":gl,"tag:yaml.org,2002:timestamp":vl};function Cl(t,e,n){const r=Al.get(e);if(r&&!t)return n&&!r.includes(yc)?r.concat(yc):r.slice();let s=r;if(!s){if(!Array.isArray(t)){const t=Array.from(Al.keys()).filter((t=>"yaml11"!==t)).map((t=>JSON.stringify(t))).join(", ");throw new Error(`Unknown schema "${e}"; use one of ${t} or define customTags array`)}s=[]}if(Array.isArray(t))for(const e of t)s=s.concat(e);else"function"==typeof t&&(s=t(s.slice()));return n&&(s=s.concat(yc)),s.reduce(((t,e)=>{const n="string"==typeof e?El[e]:e;if(!n){const t=JSON.stringify(e),n=Object.keys(El).map((t=>JSON.stringify(t))).join(", ");throw new Error(`Unknown custom tag ${t}; use one of ${n}`)}return t.includes(n)||t.push(n),t}),[])}const Sl=(t,e)=>t.keye.key?1:0;class Dl{constructor({compat:t,customTags:e,merge:n,resolveKnownTags:r,schema:s,sortMapEntries:i,toStringDefaults:o}){this.compat=Array.isArray(t)?Cl(t,"compat"):t?Cl(null,t):null,this.name="string"==typeof s&&s||"core",this.knownTags=r?xl:{},this.tags=Cl(e,this.name,n),this.toStringOptions=o??null,Object.defineProperty(this,ya,{value:Tc}),Object.defineProperty(this,ka,{value:Lc}),Object.defineProperty(this,_a,{value:Fc}),this.sortMapEntries="function"==typeof i?i:!0===i?Sl:null}clone(){const t=Object.create(Dl.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}class Tl{constructor(t,e,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,va,{value:ga});let r=null;"function"==typeof e||Array.isArray(e)?r=e:void 0===n&&e&&(n=e,e=void 0);const s=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},n);this.options=s;let{version:i}=s;(null==n?void 0:n._directives)?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(i=this.directives.yaml.version)):this.directives=new Ba({version:i}),this.setSchema(i,n),this.contents=void 0===t?null:this.createNode(t,r,n)}clone(){const t=Object.create(Tl.prototype,{[va]:{value:ga}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=Ta(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){Nl(this.contents)&&this.contents.add(t)}addIn(t,e){Nl(this.contents)&&this.contents.addIn(t,e)}createAlias(t,e){if(!t.anchor){const n=Ma(this);t.anchor=!e||n.has(e)?Pa(e||"a",n):e}return new za(t.anchor)}createNode(t,e,n){let r;if("function"==typeof e)t=e.call({"":t},"",t),r=e;else if(Array.isArray(e)){const t=t=>"number"==typeof t||t instanceof String||t instanceof Number,n=e.filter(t).map(String);n.length>0&&(e=e.concat(n)),r=e}else void 0===n&&e&&(n=e,e=void 0);const{aliasDuplicateObjects:s,anchorPrefix:i,flow:o,keepUndefined:a,onTagObj:c,tag:l}=n??{},{onAnchor:u,setAnchors:h,sourceObjects:f}=function(t,e){const n=[],r=new Map;let s=null;return{onAnchor:r=>{n.push(r),s||(s=Ma(t));const i=Pa(e,s);return s.add(i),i},setAnchors:()=>{for(const t of n){const e=r.get(t);if("object"!=typeof e||!e.anchor||!Ca(e.node)&&!Da(e.node)){const e=new Error("Failed to resolve repeated object (this should not happen)");throw e.source=t,e}e.node.anchor=e.anchor}},sourceObjects:r}}(this,i||"a"),d=Ga(t,l,{aliasDuplicateObjects:s??!0,keepUndefined:a??!1,onAnchor:u,onTagObj:c,replacer:r,schema:this.schema,sourceObjects:f});return o&&Da(d)&&(d.flow=!0),h(),d}createPair(t,e,n={}){const r=this.createNode(t,null,n),s=this.createNode(e,null,n);return new wc(r,s)}delete(t){return!!Nl(this.contents)&&this.contents.delete(t)}deleteIn(t){return Za(t)?null!=this.contents&&(this.contents=null,!0):!!Nl(this.contents)&&this.contents.deleteIn(t)}get(t,e){return Da(this.contents)?this.contents.get(t,e):void 0}getIn(t,e){return Za(t)?!e&&Ca(this.contents)?this.contents.value:this.contents:Da(this.contents)?this.contents.getIn(t,e):void 0}has(t){return!!Da(this.contents)&&this.contents.has(t)}hasIn(t){return Za(t)?void 0!==this.contents:!!Da(this.contents)&&this.contents.hasIn(t)}set(t,e){null==this.contents?this.contents=Wa(this.schema,[t],e):Nl(this.contents)&&this.contents.set(t,e)}setIn(t,e){Za(t)?this.contents=e:null==this.contents?this.contents=Wa(this.schema,Array.from(t),e):Nl(this.contents)&&this.contents.setIn(t,e)}setSchema(t,e={}){let n;switch("number"==typeof t&&(t=String(t)),t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Ba({version:"1.1"}),n={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new Ba({version:t}),n={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{const e=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${e}`)}}if(e.schema instanceof Object)this.schema=e.schema;else{if(!n)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new Dl(Object.assign(n,e))}}toJS({json:t,jsonArg:e,mapAsMap:n,maxAliasCount:r,onAnchor:s,reviver:i}={}){const o={anchors:new Map,doc:this,keep:!t,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},a=Ra(this.contents,e??"",o);if("function"==typeof s)for(const{count:t,res:e}of o.anchors.values())s(e,t);return"function"==typeof i?ja(i,{"":a},"",a):a}toJSON(t,e){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:e})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const e=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${e}`)}return function(t,e){var n;const r=[];let s=!0===e.directives;if(!1!==e.directives&&t.directives){const e=t.directives.toString(t);e?(r.push(e),s=!0):t.directives.docStart&&(s=!0)}s&&r.push("---");const i=dc(t,e),{commentString:o}=i.options;if(t.commentBefore){1!==r.length&&r.unshift("");const e=o(t.commentBefore);r.unshift(Qa(e,""))}let a=!1,c=null;if(t.contents){if(Ta(t.contents)){if(t.contents.spaceBefore&&s&&r.push(""),t.contents.commentBefore){const e=o(t.contents.commentBefore);r.push(Qa(e,""))}i.forceBlockIndent=!!t.comment,c=t.contents.comment}const e=c?void 0:()=>a=!0;let n=pc(t.contents,i,(()=>c=null),e);c&&(n+=Ya(n,"",o(c))),"|"!==n[0]&&">"!==n[0]||"---"!==r[r.length-1]?r.push(n):r[r.length-1]=`--- ${n}`}else r.push(pc(t.contents,i));if(null==(n=t.directives)?void 0:n.docEnd)if(t.comment){const e=o(t.comment);e.includes("\n")?(r.push("..."),r.push(Qa(e,""))):r.push(`... ${e}`)}else r.push("...");else{let e=t.comment;e&&a&&(e=e.replace(/^\n+/,"")),e&&(a&&!c||""===r[r.length-1]||r.push(""),r.push(Qa(o(e),"")))}return r.join("\n")+"\n"}(this,t)}}function Nl(t){if(Da(t))return!0;throw new Error("Expected a YAML collection as document contents")}class Il extends Error{constructor(t,e,n,r){super(),this.name=t,this.code=n,this.message=r,this.pos=e}}class Fl extends Il{constructor(t,e,n){super("YAMLParseError",t,e,n)}}class Ll extends Il{constructor(t,e,n){super("YAMLWarning",t,e,n)}}const ql=(t,e)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map((t=>e.linePos(t)));const{line:r,col:s}=n.linePos[0];n.message+=` at line ${r}, column ${s}`;let i=s-1,o=t.substring(e.lineStarts[r-1],e.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&o.length>80){const t=Math.min(i-39,o.length-79);o="…"+o.substring(t),i-=t-1}if(o.length>80&&(o=o.substring(0,79)+"…"),r>1&&/^ *$/.test(o.substring(0,i))){let n=t.substring(e.lineStarts[r-2],e.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"…\n"),o=n+o}if(/[^ ]/.test(o)){let t=1;const e=n.linePos[1];e&&e.line===r&&e.col>s&&(t=Math.max(1,Math.min(e.col-s,80-i)));const a=" ".repeat(i)+"^".repeat(t);n.message+=`:\n\n${o}\n${a}\n`}};function Ol(t,{flow:e,indicator:n,next:r,offset:s,onError:i,parentIndent:o,startOnNewline:a}){let c=!1,l=a,u=a,h="",f="",d=!1,p=!1,m=null,g=null,y=null,b=null,k=null,_=null,v=null;for(const s of t)switch(p&&("space"!==s.type&&"newline"!==s.type&&"comma"!==s.type&&i(s.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),p=!1),m&&(l&&"comment"!==s.type&&"newline"!==s.type&&i(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),m=null),s.type){case"space":e||"doc-start"===n&&"flow-collection"===(null==r?void 0:r.type)||!s.source.includes("\t")||(m=s),u=!0;break;case"comment":{u||i(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=s.source.substring(1)||" ";h?h+=f+t:h=t,f="",l=!1;break}case"newline":l?h?h+=s.source:c=!0:f+=s.source,l=!0,d=!0,(g||y)&&(b=s),u=!0;break;case"anchor":g&&i(s,"MULTIPLE_ANCHORS","A node can have at most one anchor"),s.source.endsWith(":")&&i(s.offset+s.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=s,null===v&&(v=s.offset),l=!1,u=!1,p=!0;break;case"tag":y&&i(s,"MULTIPLE_TAGS","A node can have at most one tag"),y=s,null===v&&(v=s.offset),l=!1,u=!1,p=!0;break;case n:(g||y)&&i(s,"BAD_PROP_ORDER",`Anchors and tags must be after the ${s.source} indicator`),_&&i(s,"UNEXPECTED_TOKEN",`Unexpected ${s.source} in ${e??"collection"}`),_=s,l="seq-item-ind"===n||"explicit-key-ind"===n,u=!1;break;case"comma":if(e){k&&i(s,"UNEXPECTED_TOKEN",`Unexpected , in ${e}`),k=s,l=!1,u=!1;break}default:i(s,"UNEXPECTED_TOKEN",`Unexpected ${s.type} token`),l=!1,u=!1}const w=t[t.length-1],A=w?w.offset+w.source.length:s;return p&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m&&(l&&m.indent<=o||"block-map"===(null==r?void 0:r.type)||"block-seq"===(null==r?void 0:r.type))&&i(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:k,found:_,spaceBefore:c,comment:h,hasNewline:d,anchor:g,tag:y,newlineAfterProp:b,end:A,start:v??A}}function Bl(t){if(!t)return null;switch(t.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(t.source.includes("\n"))return!0;if(t.end)for(const e of t.end)if("newline"===e.type)return!0;return!1;case"flow-collection":for(const e of t.items){for(const t of e.start)if("newline"===t.type)return!0;if(e.sep)for(const t of e.sep)if("newline"===t.type)return!0;if(Bl(e.key)||Bl(e.value))return!0}return!1;default:return!0}}function $l(t,e,n){if("flow-collection"===(null==e?void 0:e.type)){const r=e.end[0];if(r.indent===t&&("]"===r.source||"}"===r.source)&&Bl(e)){n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}}function Ml(t,e,n){const{uniqueKeys:r}=t.options;if(!1===r)return!1;const s="function"==typeof r?r:(t,e)=>t===e||Ca(t)&&Ca(e)&&t.value===e.value;return e.some((t=>s(t.key,n)))}const Pl="All mapping items must start at the same column";function jl(t,e,n,r){let s="";if(t){let i=!1,o="";for(const a of t){const{source:t,type:c}=a;switch(c){case"space":i=!0;break;case"comment":{n&&!i&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=t.substring(1)||" ";s?s+=o+e:s=e,o="";break}case"newline":s&&(o+=t),i=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}e+=t.length}}return{comment:s,offset:e}}const Rl="Block collections are not allowed within flow collections",Ul=t=>t&&("block-map"===t.type||"block-seq"===t.type);function zl(t,e,n,r,s,i){const o="block-map"===n.type?function({composeNode:t,composeEmptyNode:e},n,r,s,i){var o;const a=new((null==i?void 0:i.nodeClass)??Dc)(n.schema);n.atRoot&&(n.atRoot=!1);let c=r.offset,l=null;for(const i of r.items){const{start:u,key:h,sep:f,value:d}=i,p=Ol(u,{indicator:"explicit-key-ind",next:h??(null==f?void 0:f[0]),offset:c,onError:s,parentIndent:r.indent,startOnNewline:!0}),m=!p.found;if(m){if(h&&("block-seq"===h.type?s(c,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in h&&h.indent!==r.indent&&s(c,"BAD_INDENT",Pl)),!p.anchor&&!p.tag&&!f){l=p.end,p.comment&&(a.comment?a.comment+="\n"+p.comment:a.comment=p.comment);continue}(p.newlineAfterProp||Bl(h))&&s(h??u[u.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else(null==(o=p.found)?void 0:o.indent)!==r.indent&&s(c,"BAD_INDENT",Pl);n.atKey=!0;const g=p.end,y=h?t(n,h,p,s):e(n,g,u,null,p,s);n.schema.compat&&$l(r.indent,h,s),n.atKey=!1,Ml(n,a.items,y)&&s(g,"DUPLICATE_KEY","Map keys must be unique");const b=Ol(f??[],{indicator:"map-value-ind",next:d,offset:y.range[2],onError:s,parentIndent:r.indent,startOnNewline:!h||"block-scalar"===h.type});if(c=b.end,b.found){m&&("block-map"!==(null==d?void 0:d.type)||b.hasNewline||s(c,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&p.start0){const t=jl(d,p,n.options.strict,s);t.comment&&(c.comment?c.comment+="\n"+t.comment:c.comment=t.comment),c.range=[r.offset,p,t.offset]}else c.range=[r.offset,p,p];return c}(t,e,n,r,i),a=o.constructor;return"!"===s||s===a.tagName?(o.tag=a.tagName,o):(s&&(o.tag=s),o)}function Vl(t,e,n){const r=e.offset,s=function({offset:t,props:e},n,r){if("block-scalar-header"!==e[0].type)return r(e[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:s}=e[0],i=s[0];let o=0,a="",c=-1;for(let e=1;e=0;--t){const e=o[t][1];if(""!==e&&"\r"!==e)break;a=t}if(0===a){const t="+"===s.chomp&&o.length>0?"\n".repeat(Math.max(1,o.length-1)):"";let n=r+s.length;return e.source&&(n+=e.source.length),{value:t,type:i,comment:s.comment,range:[r,n,n]}}let c=e.indent+s.indent,l=e.offset+s.length,u=0;for(let e=0;ec&&(c=r.length),l+=r.length+i.length+1}for(let t=o.length-1;t>=a;--t)o[t][0].length>c&&(a=t+1);let h="",f="",d=!1;for(let t=0;tc||"\t"===r[0]?(" "===f?f="\n":d||"\n"!==f||(f="\n\n"),h+=f+e.slice(c)+r,f="\n",d=!0):""===r?"\n"===f?h+="\n":f="\n":(h+=f+r,f=" ",d=!1)}switch(s.chomp){case"-":break;case"+":for(let t=a;tn(r+t,e,s);switch(s){case"scalar":a=Ha.PLAIN,c=function(t,e){let n="";switch(t[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${t[0]}`;break;case"@":case"`":n=`reserved character ${t[0]}`}n&&e(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return Hl(t)}(i,l);break;case"single-quoted-scalar":a=Ha.QUOTE_SINGLE,c=function(t,e){"'"===t[t.length-1]&&1!==t.length||e(t.length,"MISSING_CHAR","Missing closing 'quote");return Hl(t.slice(1,-1)).replace(/''/g,"'")}(i,l);break;case"double-quoted-scalar":a=Ha.QUOTE_DOUBLE,c=function(t,e){let n="";for(let r=1;re?t.slice(e,r+1):s)}else n+=s}'"'===t[t.length-1]&&1!==t.length||e(t.length,"MISSING_CHAR",'Missing closing "quote');return n}(i,l);break;default:return n(t,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${s}`),{value:"",type:null,comment:"",range:[r,r+i.length,r+i.length]}}const u=r+i.length,h=jl(o,u,e,n);return{value:c,type:a,comment:h.comment,range:[r,u,h.offset]}}function Hl(t){let e,n;try{e=new RegExp("(.*?)(?r(n,"TAG_RESOLVE_FAILED",t))):null;let l,u;l=t.options.stringKeys&&t.atKey?t.schema[ka]:c?function(t,e,n,r,s){var i;if("!"===n)return t[ka];const o=[];for(const e of t.tags)if(!e.collection&&e.tag===n){if(!e.default||!e.test)return e;o.push(e)}for(const t of o)if(null==(i=t.test)?void 0:i.test(e))return t;const a=t.knownTags[n];if(a&&!a.collection)return t.tags.push(Object.assign({},a,{default:!1,test:void 0})),a;return s(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),t[ka]}(t.schema,s,c,n,r):"scalar"===e.type?function({atKey:t,directives:e,schema:n},r,s,i){const o=n.tags.find((e=>{var n;return(!0===e.default||t&&"key"===e.default)&&(null==(n=e.test)?void 0:n.test(r))}))||n[ka];if(n.compat){const t=n.compat.find((t=>{var e;return t.default&&(null==(e=t.test)?void 0:e.test(r))}))??n[ka];if(o.tag!==t.tag){i(s,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(o.tag)} or ${e.tagString(t.tag)}`,!0)}}return o}(t,s,e,r):t.schema[ka];try{const i=l.resolve(s,(t=>r(n??e,"TAG_RESOLVE_FAILED",t)),t.options);u=Ca(i)?i:new Ha(i)}catch(t){const i=t instanceof Error?t.message:String(t);r(n??e,"TAG_RESOLVE_FAILED",i),u=new Ha(s)}return u.range=a,u.source=s,i&&(u.type=i),c&&(u.tag=c),l.format&&(u.format=l.format),o&&(u.comment=o),u}function Xl(t,e,n){if(e){null===n&&(n=e.length);for(let r=n-1;r>=0;--r){let n=e[r];switch(n.type){case"space":case"comment":case"newline":t-=n.source.length;continue}for(n=e[++r];"space"===(null==n?void 0:n.type);)t+=n.source.length,n=e[++r];break}}return t}const Ql={composeNode:Yl,composeEmptyNode:tu};function Yl(t,e,n,r){const s=t.atKey,{spaceBefore:i,comment:o,anchor:a,tag:c}=n;let l,u=!0;switch(e.type){case"alias":l=function({options:t},{offset:e,source:n,end:r},s){const i=new za(n.substring(1));""===i.source&&s(e,"BAD_ALIAS","Alias cannot be an empty string");i.source.endsWith(":")&&s(e+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=e+n.length,a=jl(r,o,t.strict,s);i.range=[e,o,a.offset],a.comment&&(i.comment=a.comment);return i}(t,e,r),(a||c)&&r(e,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":l=Jl(t,e,c,r),a&&(l.anchor=a.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":l=function(t,e,n,r,s){var i;const o=r.tag,a=o?e.directives.tagName(o.source,(t=>s(o,"TAG_RESOLVE_FAILED",t))):null;if("block-seq"===n.type){const{anchor:t,newlineAfterProp:e}=r,n=t&&o?t.offset>o.offset?t:o:t??o;n&&(!e||e.offsett.tag===a&&t.collection===c));if(!l){const r=e.schema.knownTags[a];if(!r||r.collection!==c)return(null==r?void 0:r.collection)?s(o,"BAD_COLLECTION_TYPE",`${r.tag} used for ${c} collection, but expects ${r.collection}`,!0):s(o,"TAG_RESOLVE_FAILED",`Unresolved tag: ${a}`,!0),zl(t,e,n,s,a);e.schema.tags.push(Object.assign({},r,{default:!1})),l=r}const u=zl(t,e,n,s,a,l),h=(null==(i=l.resolve)?void 0:i.call(l,u,(t=>s(o,"TAG_RESOLVE_FAILED",t)),e.options))??u,f=Ta(h)?h:new Ha(h);return f.range=u.range,f.tag=a,(null==l?void 0:l.format)&&(f.format=l.format),f}(Ql,t,e,n,r),a&&(l.anchor=a.source.substring(1));break;default:r(e,"UNEXPECTED_TOKEN","error"===e.type?e.message:`Unsupported token (type: ${e.type})`),l=tu(t,e.offset,void 0,null,n,r),u=!1}if(a&&""===l.anchor&&r(a,"BAD_ALIAS","Anchor cannot be an empty string"),s&&t.options.stringKeys&&(!Ca(l)||"string"!=typeof l.value||l.tag&&"tag:yaml.org,2002:str"!==l.tag)){r(c??e,"NON_STRING_KEY","With stringKeys, all keys must be strings")}return i&&(l.spaceBefore=!0),o&&("scalar"===e.type&&""===e.source?l.comment=o:l.commentBefore=o),t.options.keepSourceTokens&&u&&(l.srcToken=e),l}function tu(t,e,n,r,{spaceBefore:s,comment:i,anchor:o,tag:a,end:c},l){const u=Jl(t,{type:"scalar",offset:Xl(e,n,r),indent:-1,source:""},a,l);return o&&(u.anchor=o.source.substring(1),""===u.anchor&&l(o,"BAD_ALIAS","Anchor cannot be an empty string")),s&&(u.spaceBefore=!0),i&&(u.comment=i,u.range[2]=c),u}function eu(t){if("number"==typeof t)return[t,t+1];if(Array.isArray(t))return 2===t.length?t:[t[0],t[1]];const{offset:e,source:n}=t;return[e,e+("string"==typeof n?n.length:1)]}function nu(t){var e;let n="",r=!1,s=!1;for(let i=0;i{const s=eu(t);r?this.warnings.push(new Ll(s,e,n)):this.errors.push(new Fl(s,e,n))},this.directives=new Ba({version:t.version||"1.2"}),this.options=t}decorate(t,e){const{comment:n,afterEmptyLine:r}=nu(this.prelude);if(n){const s=t.contents;if(e)t.comment=t.comment?`${t.comment}\n${n}`:n;else if(r||t.directives.docStart||!s)t.commentBefore=n;else if(Da(s)&&!s.flow&&s.items.length>0){let t=s.items[0];xa(t)&&(t=t.key);const e=t.commentBefore;t.commentBefore=e?`${n}\n${e}`:n}else{const t=s.commentBefore;s.commentBefore=t?`${n}\n${t}`:n}}e?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:nu(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,e=!1,n=-1){for(const e of t)yield*this.next(e);yield*this.end(e,n)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,((e,n,r)=>{const s=eu(t);s[0]+=e,this.onError(s,"BAD_DIRECTIVE",n,r)})),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const e=function(t,e,{offset:n,start:r,value:s,end:i},o){const a=Object.assign({_directives:e},t),c=new Tl(void 0,a),l={atKey:!1,atRoot:!0,directives:c.directives,options:c.options,schema:c.schema},u=Ol(r,{indicator:"doc-start",next:s??(null==i?void 0:i[0]),offset:n,onError:o,parentIndent:0,startOnNewline:!0});u.found&&(c.directives.docStart=!0,!s||"block-map"!==s.type&&"block-seq"!==s.type||u.hasNewline||o(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),c.contents=s?Yl(l,s,u,o):tu(l,u.end,r,null,u,o);const h=c.contents.range[2],f=jl(i,h,!1,o);return f.comment&&(c.comment=f.comment),c.range=[n,h,f.offset],c}(this.options,this.directives,t,this.onError);this.atDirectives&&!e.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(e,!1),this.doc&&(yield this.doc),this.doc=e,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const e=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,n=new Fl(eu(t),"UNEXPECTED_TOKEN",e);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const e="Unexpected doc-end without preceding document";this.errors.push(new Fl(eu(t),"UNEXPECTED_TOKEN",e));break}this.doc.directives.docEnd=!0;const e=jl(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),e.comment){const t=this.doc.comment;this.doc.comment=t?`${t}\n${e.comment}`:e.comment}this.doc.range[2]=e.offset;break}default:this.errors.push(new Fl(eu(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,e=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const t=Object.assign({_directives:this.directives},this.options),n=new Tl(void 0,t);this.atDirectives&&this.onError(e,"MISSING_CHAR","Missing directives-end indicator line"),n.range=[0,e,e],this.decorate(n,!1),yield n}}}function su(t){switch(t){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const iu=new Set("0123456789ABCDEFabcdef"),ou=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),au=new Set(",[]{}"),cu=new Set(" ,[]{}\n\r\t"),lu=t=>!t||cu.has(t);class uu{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,e=!1){if(t){if("string"!=typeof t)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!e;let n=this.next??"stream";for(;n&&(e||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let t=this.pos,e=this.buffer[t];for(;" "===e||"\t"===e;)e=this.buffer[++t];return!e||"#"===e||"\n"===e||"\r"===e&&"\n"===this.buffer[t+1]}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let e=this.buffer[t];if(this.indentNext>0){let n=0;for(;" "===e;)e=this.buffer[++n+t];if("\r"===e){const e=this.buffer[n+t+1];if("\n"===e||!e&&!this.atEnd)return t+n+1}return"\n"===e||n>=this.indentNext||!e&&!this.atEnd?t+n:-1}if("-"===e||"."===e){const e=this.buffer.substr(t,3);if(("---"===e||"..."===e)&&su(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return("number"!=typeof t||-1!==t&&tthis.indentValue&&!su(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,e]=this.peek(2);if(!e&&!this.atEnd)return this.setNext("block-start");if(("-"===t||"?"===t||":"===t)&&su(e)){const t=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=t,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(null===t)return this.setNext("doc");let e=yield*this.pushIndicators();switch(t[e]){case"#":yield*this.pushCount(t.length-e);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(lu),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return e+=(yield*this.parseBlockScalarHeader()),e+=(yield*this.pushSpaces(!0)),yield*this.pushCount(t.length-e),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,e,n=-1;do{t=yield*this.pushNewline(),t>0?(e=yield*this.pushSpaces(!1),this.indentValue=n=e):e=0,e+=(yield*this.pushSpaces(!0))}while(t+e>0);const r=this.getLine();if(null===r)return this.setNext("flow");if(-1!==n&&n"0"&&e<="9")this.blockScalarIndent=Number(e)-1;else if("-"!==e)break}return yield*this.pushUntil((t=>su(t)||"#"===t))}*parseBlockScalar(){let t,e=this.pos-1,n=0;t:for(let r=this.pos;t=this.buffer[r];++r)switch(t){case" ":n+=1;break;case"\n":e=r,n=0;break;case"\r":{const t=this.buffer[r+1];if(!t&&!this.atEnd)return this.setNext("block-scalar");if("\n"===t)break}default:break t}if(!t&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{const t=this.continueScalar(e+1);if(-1===t)break;e=this.buffer.indexOf("\n",t)}while(-1!==e);if(-1===e){if(!this.atEnd)return this.setNext("block-scalar");e=this.buffer.length}}let r=e+1;for(t=this.buffer[r];" "===t;)t=this.buffer[++r];if("\t"===t){for(;"\t"===t||" "===t||"\r"===t||"\n"===t;)t=this.buffer[++r];e=r-1}else if(!this.blockScalarKeep)for(;;){let t=e-1,r=this.buffer[t];"\r"===r&&(r=this.buffer[--t]);const s=t;for(;" "===r;)r=this.buffer[--t];if(!("\n"===r&&t>=this.pos&&t+1+n>s))break;e=t}return yield"",yield*this.pushToIndex(e+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let e,n=this.pos-1,r=this.pos-1;for(;e=this.buffer[++r];)if(":"===e){const e=this.buffer[r+1];if(su(e)||t&&au.has(e))break;n=r}else if(su(e)){let s=this.buffer[r+1];if("\r"===e&&("\n"===s?(r+=1,e="\n",s=this.buffer[r+1]):n=r),"#"===s||t&&au.has(s))break;if("\n"===e){const t=this.continueScalar(r+1);if(-1===t)break;r=Math.max(r,t-2)}}else{if(t&&au.has(e))break;n=r}return e||this.atEnd?(yield"",yield*this.pushToIndex(n+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,e){const n=this.buffer.slice(this.pos,t);return n?(yield n,this.pos+=n.length,n.length):(e&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(lu))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,e=this.charAt(1);if(su(e)||t&&au.has(e))return t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let t=this.pos+2,e=this.buffer[t];for(;!su(e)&&">"!==e;)e=this.buffer[++t];return yield*this.pushToIndex(">"===e?t+1:t,!1)}{let t=this.pos+1,e=this.buffer[t];for(;e;)if(ou.has(e))e=this.buffer[++t];else{if("%"!==e||!iu.has(this.buffer[t+1])||!iu.has(this.buffer[t+2]))break;e=this.buffer[t+=3]}return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return"\n"===t?yield*this.pushCount(1):"\r"===t&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(t){let e,n=this.pos-1;do{e=this.buffer[++n]}while(" "===e||t&&"\t"===e);const r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(t){let e=this.pos,n=this.buffer[e];for(;!t(n);)n=this.buffer[++e];return yield*this.pushToIndex(e,!1)}}class hu{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let e=0,n=this.lineStarts.length;for(;e>1;this.lineStarts[r]=0;)switch(t[n].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break t}for(;"space"===(null==(e=t[++n])?void 0:e.type););return t.splice(n,t.length)}function yu(t){if("flow-seq-start"===t.start.type)for(const e of t.items)!e.sep||e.value||fu(e.start,"explicit-key-ind")||fu(e.sep,"map-value-ind")||(e.key&&(e.value=e.key),delete e.key,pu(e.value)?e.value.end?Array.prototype.push.apply(e.value.end,e.sep):e.value.end=e.sep:Array.prototype.push.apply(e.start,e.sep),delete e.sep)}class bu{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new uu,this.onNewLine=t}*parse(t,e=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const n of this.lexer.lex(t,e))yield*this.next(n);e||(yield*this.end())}*next(t){if(this.source=t,this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=t.length);const e=function(t){switch(t){case"\ufeff":return"byte-order-mark";case"":return"doc-mode";case"":return"flow-error-end";case"":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(t[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}(t);if(e)if("scalar"===e)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=e,yield*this.step(),e){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&" "===t[0]&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const e=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:e,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if("doc-end"!==this.type||t&&"doc-end"===t.type){if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(t){return this.stack[this.stack.length-t]}*pop(t){const e=t??this.stack.pop();if(e)if(0===this.stack.length)yield e;else{const t=this.peek(1);switch("block-scalar"===e.type?e.indent="indent"in t?t.indent:0:"flow-collection"===e.type&&"document"===t.type&&(e.indent=0),"flow-collection"===e.type&&yu(e),t.type){case"document":t.value=e;break;case"block-scalar":t.props.push(e);break;case"block-map":{const n=t.items[t.items.length-1];if(n.value)return t.items.push({start:[],key:e,sep:[]}),void(this.onKeyLine=!0);if(!n.sep)return Object.assign(n,{key:e,sep:[]}),void(this.onKeyLine=!n.explicitKey);n.value=e;break}case"block-seq":{const n=t.items[t.items.length-1];n.value?t.items.push({start:[],value:e}):n.value=e;break}case"flow-collection":{const n=t.items[t.items.length-1];return void(!n||n.value?t.items.push({start:[],key:e,sep:[]}):n.sep?n.value=e:Object.assign(n,{key:e,sep:[]}))}default:yield*this.pop(),yield*this.pop(e)}if(!("document"!==t.type&&"block-map"!==t.type&&"block-seq"!==t.type||"block-map"!==e.type&&"block-seq"!==e.type)){const n=e.items[e.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===du(n.start)&&(0===e.indent||n.start.every((t=>"comment"!==t.type||t.indent=t.indent){const e=!this.onKeyLine&&this.indent===t.indent,r=e&&(n.sep||n.explicitKey)&&"seq-item-ind"!==this.type;let s=[];if(r&&n.sep&&!n.value){const e=[];for(let r=0;rt.indent&&(e.length=0);break;default:e.length=0}}e.length>=2&&(s=n.sep.splice(e[1]))}switch(this.type){case"anchor":case"tag":return void(r||n.value?(s.push(this.sourceToken),t.items.push({start:s}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken));case"explicit-key-ind":return n.sep||n.explicitKey?r||n.value?(s.push(this.sourceToken),t.items.push({start:s,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(n.start.push(this.sourceToken),n.explicitKey=!0),void(this.onKeyLine=!0);case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(fu(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]});else if(pu(n.key)&&!fu(n.sep,"newline")){const t=gu(n.start),e=n.key,r=n.sep;r.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:e,sep:r}]})}else s.length>0?n.sep=n.sep.concat(s,this.sourceToken):n.sep.push(this.sourceToken);else if(fu(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const t=gu(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||r?t.items.push({start:s,key:null,sep:[this.sourceToken]}):fu(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const e=this.flowScalar(this.type);return void(r||n.value?(t.items.push({start:s,key:e,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(e):(Object.assign(n,{key:e,sep:[]}),this.onKeyLine=!0))}default:{const n=this.startBlockValue(t);if(n)return e&&"block-seq"!==n.type&&t.items.push({start:s}),void this.stack.push(n)}}}yield*this.pop(),yield*this.step()}*blockSequence(t){var e;const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const e="end"in n.value?n.value.end:void 0,r=Array.isArray(e)?e[e.length-1]:void 0;"comment"===(null==r?void 0:r.type)?null==e||e.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const r=t.items[t.items.length-2],s=null==(e=null==r?void 0:r.value)?void 0:e.end;if(Array.isArray(s))return Array.prototype.push.apply(s,n.start),s.push(this.sourceToken),void t.items.pop()}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;return void n.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==t.indent)break;return void(n.value||fu(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken))}if(this.indent>t.indent){const e=this.startBlockValue(t);if(e)return void this.stack.push(e)}yield*this.pop(),yield*this.step()}*flowCollection(t){const e=t.items[t.items.length-1];if("flow-error-end"===this.type){let t;do{yield*this.pop(),t=this.peek(1)}while(t&&"flow-collection"===t.type)}else if(0===t.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!e||e.sep?t.items.push({start:[this.sourceToken]}):e.start.push(this.sourceToken));case"map-value-ind":return void(!e||e.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):e.sep?e.sep.push(this.sourceToken):Object.assign(e,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!e||e.value?t.items.push({start:[this.sourceToken]}):e.sep?e.sep.push(this.sourceToken):e.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(!e||e.value?t.items.push({start:[],key:n,sep:[]}):e.sep?this.stack.push(n):Object.assign(e,{key:n,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void t.end.push(this.sourceToken)}const n=this.startBlockValue(t);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{const e=this.peek(2);if("block-map"===e.type&&("map-value-ind"===this.type&&e.indent===t.indent||"newline"===this.type&&!e.items[e.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==e.type){const n=gu(mu(e));yu(t);const r=t.end.splice(1,t.end.length);r.push(this.sourceToken);const s={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:n,key:t,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let t=this.source.indexOf("\n")+1;for(;0!==t;)this.onNewLine(this.offset+t),t=this.source.indexOf("\n",t)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const e=gu(mu(t));return e.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const e=gu(mu(t));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,e){return"comment"===this.type&&(!(this.indent<=e)&&t.every((t=>"newline"===t.type||"space"===t.type)))}*documentEnd(t){"doc-mode"!==this.type&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function ku(t,e={}){const{lineCounter:n,prettyErrors:r}=function(t){const e=!1!==t.prettyErrors;return{lineCounter:t.lineCounter||e&&new hu||null,prettyErrors:e}}(e),s=new bu(null==n?void 0:n.addNewLine),i=new ru(e);let o=null;for(const e of i.compose(s.parse(t),!0,t.length))if(o){if("silent"!==o.options.logLevel){o.errors.push(new Fl(e.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else o=e;return r&&n&&(o.errors.forEach(ql(t,n)),o.warnings.forEach(ql(t,n))),o}const _u={name:"frontmatter",transform:t=>(t.beforeParse.tap(((t,e)=>{var n;const{content:r}=e;if(!/^---\r?\n/.test(r))return;const s=/\n---\r?\n/.exec(r);if(!s)return;const i=r.slice(4,s.index).trimEnd();let o;try{o=function(t,e,n){let r;const s=ku(t,n);if(!s)return null;if(s.warnings.forEach((t=>mc(s.options.logLevel,t))),s.errors.length>0){if("silent"!==s.options.logLevel)throw s.errors[0];s.errors=[]}return s.toJS(Object.assign({reviver:r},n))}(i.replace(/\r?\n|\r/g,"\n")),(null==o?void 0:o.markmap)&&(o.markmap=function(t){if(!t)return;return["color","extraJs","extraCss"].forEach((e=>{null!=t[e]&&(t[e]=function(t){let e;"string"==typeof t?e=[t]:Array.isArray(t)&&(e=t.filter((t=>t&&"string"==typeof t)));return(null==e?void 0:e.length)?e:void 0}(t[e]))})),["duration","maxWidth","initialExpandLevel"].forEach((e=>{null!=t[e]&&(t[e]=function(t){if(isNaN(+t))return;return+t}(t[e]))})),t}(o.markmap))}catch{return}e.frontmatter=o,e.parserOptions={...e.parserOptions,...null==(n=null==o?void 0:o.markmap)?void 0:n.htmlParser},e.frontmatterInfo={lines:r.slice(0,s.index).split("\n").length+1,offset:s.index+s[0].length}})),{})};function vu(t,e){return"script"===e.type&&e.data.src?{...e,data:{...e.data,src:t.getFullUrl(e.data.src)}}:e}function wu(t,e){return"stylesheet"===e.type&&e.data.href?{...e,data:{...e.data,href:t.getFullUrl(e.data.href)}}:e}const Au="hljs",Eu=["@highlightjs/cdn-assets@11.11.1/highlight.min.js"].map((t=>w(t))),xu=["@highlightjs/cdn-assets@11.11.1/styles/default.min.css"].map((t=>A(t))),Cu={name:Au,config:{versions:{hljs:"11.11.1"},preloadScripts:Eu,styles:xu},transform(t){var e,n,r;let s;const o=(null==(n=null==(e=Cu.config)?void 0:e.preloadScripts)?void 0:n.map((e=>vu(t.transformer.urlBuilder,e))))||[];let a=i;return t.parser.tap((e=>{e.set({highlight:(e,n)=>{a();const{hljs:r}=window;return r?r.highlightAuto(e,n?[n]:void 0).value:((s||(s=v(o)),s).then((()=>{t.retransform.call()})),e)}})})),t.beforeParse.tap(((t,e)=>{a=()=>{e.features[Au]=!0}})),{styles:null==(r=Cu.config)?void 0:r.styles}}};const Su="katex",Du=["katex@0.16.18/dist/katex.min.js"].map((t=>w(t))),Tu=w("webfontloader@1.6.28/webfontloader.js");Tu.data.defer=!0;const Nu={versions:{katex:"0.16.18",webfontloader:"1.6.28"},preloadScripts:Du,scripts:[{type:"iife",data:{fn:t=>{window.WebFontConfig={custom:{families:["KaTeX_AMS","KaTeX_Caligraphic:n4,n7","KaTeX_Fraktur:n4,n7","KaTeX_Main:n4,n7,i4,i7","KaTeX_Math:i4,i7","KaTeX_Script","KaTeX_SansSerif:n4,n7,i4","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4","KaTeX_Typewriter"]},active:()=>{t().refreshHook.call()}}},getParams:({getMarkmap:t})=>[t]}},Tu],styles:["katex@0.16.18/dist/katex.min.css"].map((t=>A(t))),resources:["katex@0.16.18/dist/fonts/KaTeX_AMS-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Caligraphic-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Caligraphic-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Fraktur-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Fraktur-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-BoldItalic.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_Main-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Math-BoldItalic.woff2","katex@0.16.18/dist/fonts/KaTeX_Math-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Bold.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Italic.woff2","katex@0.16.18/dist/fonts/KaTeX_SansSerif-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Script-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size1-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size2-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size3-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Size4-Regular.woff2","katex@0.16.18/dist/fonts/KaTeX_Typewriter-Regular.woff2"]};function Iu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Fu,Lu={};var qu=function(){if(Fu)return Lu;Fu=1;var t=Lu&&Lu.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Lu,"__esModule",{value:!0});const n=t(e);function r(t,e){const n=t.src[e-1],r=t.src[e],o=t.src[e+1];if("$"!==r)return{can_open:!1,can_close:!1};let a=!1,c=!1;return"$"===n||"\\"===n||void 0!==n&&!s(n)&&i(n)||(a=!0),"$"===o||null!=o&&!s(o)&&i(o)||(c=!0),{can_open:a,can_close:c}}function s(t){return/^\s$/u.test(t)}function i(t){return/^[\w\d]$/u.test(t)}function o(t,e){const n=t.src[e-1],r=t.src[e],s=t.src[e+1],i=t.src[e+2];return"$"===r&&"$"!==n&&"\\"!==n&&"$"===s&&"$"!==i?{can_open:!0,can_close:!0}:{can_open:!1,can_close:!1}}function a(t,e){if("$"!==t.src[t.pos])return!1;const n=t.tokens.at(-1);if("html_inline"===(null==n?void 0:n.type)&&/^<\w+.+[^/]>$/.test(n.content))return!1;let s=r(t,t.pos);if(!s.can_open)return e||(t.pending+="$"),t.pos+=1,!0;let i,o=t.pos+1,a=o;for(;-1!==(a=t.src.indexOf("$",a));){for(i=a-1;"\\"===t.src[i];)i-=1;if((a-i)%2==1)break;a+=1}if(-1===a)return e||(t.pending+="$"),t.pos=o,!0;if(a-o==0)return e||(t.pending+="$$"),t.pos=o+1,!0;if(s=r(t,a),!s.can_close)return e||(t.pending+="$"),t.pos=o,!0;if(!e){const e=t.push("math_inline","math",0);e.markup="$",e.content=t.src.slice(o,a)}return t.pos=a+1,!0}function c(t,e){var n,r,s,i;if("$$"!==t.src.slice(t.pos,t.pos+2))return!1;if(!o(t,t.pos).can_open)return e||(t.pending+="$$"),t.pos+=2,!0;for(r=n=t.pos+2;-1!==(r=t.src.indexOf("$$",r));){for(i=r-1;"\\"===t.src[i];)i-=1;if((r-i)%2==1)break;r+=2}return-1===r?(e||(t.pending+="$$"),t.pos=n,!0):r-n==0?(e||(t.pending+="$$$$"),t.pos=n+2,!0):o(t,r).can_close?(e||((s=t.push("math_block","math",0)).block=!0,s.markup="$$",s.content=t.src.slice(n,r)),t.pos=r+2,!0):(e||(t.pending+="$$"),t.pos=n,!0)}function l(t,e){const n=t.src.slice(t.pos);if(!/^\n\\begin/.test(n))return!1;if(t.pos+=1,e)return!0;const r=n.split(/\n/g).slice(1);let s;const i=[];t:for(var o=0;ot+e.length),0)+s+1,c=t.push("math_inline_bare_block","math",0);return c.block=!0,c.markup="$$",c.content=n.slice(1,a),t.pos=t.pos+a,!0}function u(t,e,n,r){const s=t.tokens;for(let t=s.length-1;t>=0;t--){const i=s[t],o=[];if("html_block"!==i.type)continue;const a=i.content;for(const t of a.matchAll(r)){if(!t.groups)continue;const r=t.groups.html_before_math,s=t.groups.math,a=t.groups.html_after_math;r&&o.push({...i,type:"html_block",map:null,content:r}),s&&o.push({...i,type:e,map:null,content:s,markup:n,block:!0,tag:"math"}),a&&o.push({...i,type:"html_block",map:null,content:a})}o.length>0&&s.splice(t,1,...o)}return!0}function h(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}return Lu.default=function(t,e){const r=(null==e?void 0:e.katex)??n.default,s=null==e?void 0:e.enableBareBlocks,i=null==e?void 0:e.enableMathBlockInHtml,o=null==e?void 0:e.enableMathInlineInHtml,f=null==e?void 0:e.enableFencedBlocks;t.inline.ruler.after("escape","math_inline",a),t.inline.ruler.after("escape","math_inline_block",c),s&&t.inline.ruler.before("text","math_inline_bare_block",l),t.block.ruler.after("blockquote","math_block",((t,e,n,r)=>!(!s||!function(t,e,n,r){const s=t.bMarks[e]+t.tShift[e],i=t.eMarks[e];if(!t.src.slice(s,i).match(/^\s*\\begin\s*\{([^{}]+)\}/))return!1;if(e>0){const n=t.bMarks[e-1]+t.tShift[e-1],r=t.eMarks[e-1],s=t.src.slice(n,r);if(!/^\s*$/.test(s))return!1}if(r)return!0;const o=[];let a,c=e,l=!1;t:for(;!(l||c>=n);c++){const e=t.bMarks[c]+t.tShift[c],n=t.eMarks[c];if(eu)return!1;if("$$"!==t.src.slice(l,l+2))return!1;l+=2;let h=t.src.slice(l,u);if(r)return!0;for("$$"===h.trim().slice(-2)&&(h=h.trim().slice(0,-2),c=!0),i=e;!(c||++i>=n||(l=t.bMarks[i]+t.tShift[i])<(u=t.eMarks[i])&&t.tShift[i][\s\S]*?)\$\$(?[\s\S]+?)\$\$(?(?:(?!\$\$[\s\S]+?\$\$)[\s\S])*)/gm,p=/(?[\s\S]*?)\$(?.*?)\$(?(?:(?!\$.*?\$)[\s\S])*)/gm;i&&t.core.ruler.push("math_block_in_html_block",(t=>u(t,"math_block","$$",d))),o&&t.core.ruler.push("math_inline_in_html_block",(t=>u(t,"math_inline","$",p)));const m=t=>{try{return`

${r.renderToString(t,{...e,displayMode:!0})}

`}catch(n){return(null==e?void 0:e.throwOnError)&&console.log(n),`

${h(n+"")}

`}},g=(t,e)=>m(t[e].content)+"\n";if(t.renderer.rules.math_inline=(t,n)=>{const s=t[n].content;return(t=>{const n=/\\begin\{(align|equation|gather|cd|alignat)\}/gi.test(t);try{return r.renderToString(t,{...e,displayMode:n})}catch(n){return(null==e?void 0:e.throwOnError)&&console.log(n),`${h(n+"")}`}})(s.length>2&&"`"===s[0]&&"`"===s[s.length-1]?s.slice(1,-1):s)},t.renderer.rules.math_inline_block=g,t.renderer.rules.math_inline_bare_block=g,t.renderer.rules.math_block=g,f){const e="math",n=t.renderer.rules.fence;t.renderer.rules.fence=function(t,r,s,i,o){const a=t[r];return a.info.trim().toLowerCase()===e&&f?m(a.content)+"\n":(null==n?void 0:n.call(this,t,r,s,i,o))||""}}},Lu}();const Ou=(Bu=Iu(qu)).default||Bu;var Bu;const $u={name:Su,config:Nu,transform(t){var e,n,r,s;let o;const a=(null==(n=null==(e=$u.config)?void 0:e.preloadScripts)?void 0:n.map((e=>vu(t.transformer.urlBuilder,e))))||[],c=(e,n)=>{const{katex:r}=window;return r?r.renderToString(e,{displayMode:n,throwOnError:!1}):((o||(o=v(a)),o).then((()=>{t.retransform.call()})),e)};let l=i;return t.parser.tap((t=>{t.use(Ou),["math_block","math_inline"].forEach((e=>{t.renderer.rules[e]=(t,e)=>{l();return c(t[e].content,!!t[e].block)}}))})),t.beforeParse.tap(((t,e)=>{l=()=>{e.features[Su]=!0}})),t.afterParse.tap(((t,e)=>{var n;const r=null==(n=e.frontmatter)?void 0:n.markmap;r&&["extraJs","extraCss"].forEach((t=>{var e,n;const s=r[t];var i,o,a;s&&(r[t]=(i=s,o=Su,a=(null==(n=null==(e=$u.config)?void 0:e.versions)?void 0:n.katex)||"",i.map((t=>{if("string"==typeof t&&!t.includes("://")){t.startsWith("npm:")||(t=`npm:${t}`);const e=4+o.length;t.startsWith(`npm:${o}/`)&&(t=`${t.slice(0,e)}@${a}${t.slice(e)}`)}return t}))))}))})),{styles:null==(r=$u.config)?void 0:r.styles,scripts:null==(s=$u.config)?void 0:s.scripts}}},Mu=[_u,$u,Cu,{name:"npmUrl",transform:t=>(t.afterParse.tap(((e,n)=>{const{frontmatter:r}=n,s=null==r?void 0:r.markmap;s&&["extraJs","extraCss"].forEach((e=>{const n=s[e];n&&(s[e]=n.map((e=>e.startsWith("npm:")?t.transformer.urlBuilder.getFullUrl(e.slice(4)):e)))}))})),{})},pa,{name:"sourceLines",transform(t){let e=0;return t.beforeParse.tap(((t,n)=>{var r;e=(null==(r=n.frontmatterInfo)?void 0:r.lines)||0})),t.parser.tap((t=>{t.renderer.renderAttrs=o(t.renderer.renderAttrs,((t,n)=>{if(n.block&&n.map){const t=n.map.map((t=>t+e));n.attrSet("data-lines",t.join(","))}return t(n)})),t.renderer.rules.fence&&(t.renderer.rules.fence=o(t.renderer.rules.fence,((t,n,r,...s)=>{let i=t(n,r,...s);const o=n[r];if(i.startsWith("
")&&o.map){const t=o.map.map((t=>t+e));i=i.slice(0,4)+` data-lines="${t.join(",")}"`+i.slice(4)}return i})))})),{}}}];function Pu(t){for(;!t.content&&1===t.children.length;)t=t.children[0];for(;1===t.children.length&&!t.children[0].content;)t={...t,children:t.children[0].children};return{...t,children:t.children.map(Pu)}}t.Transformer=class{constructor(t=Mu){this.assetsMap={},this.urlBuilder=new r,this.hooks={transformer:this,parser:new s,beforeParse:new s,afterParse:new s,retransform:new s},this.plugins=t.map((t=>"function"==typeof t?t():t));const e={};for(const{name:t,transform:n}of this.plugins)e[t]=n(this.hooks);this.assetsMap=e;const n=function(){const t=sa({html:!0,breaks:!0});return t.use(ia).use(oa).use(la).use(fa),t}();this.md=n,this.hooks.parser.call(n)}transform(t,e){var n;const r={content:t,features:{},parserOptions:e};this.hooks.beforeParse.call(this.md,r);let{content:s}=r;r.frontmatterInfo&&(s=s.slice(r.frontmatterInfo.offset));const i=this.md.render(s,{});this.hooks.afterParse.call(this.md,r);const o=Pu(function(t,e){return n=ms(t,e),function(t,e){const n=(t,r)=>e(t,(()=>{var e;return null==(e=t.children)?void 0:e.map((e=>n(e,t)))}),r);return n(t)}(n,((t,e)=>{const n={content:t.html,children:e()||[]};return t.data&&(n.payload={tag:t.tag,...t.data}),t.comments&&(t.comments.includes("foldAll")?n.payload={...n.payload,fold:2}:t.comments.includes("fold")&&(n.payload={...n.payload,fold:1})),n}));var n}(i,r.parserOptions));return o.content||(o.content=`${(null==(n=r.frontmatter)?void 0:n.title)||""}`),{...r,root:o}}resolveJS(t){return vu(this.urlBuilder,t)}resolveCSS(t){return wu(this.urlBuilder,t)}getAssets(t){const e=[],n=[];t??(t=this.plugins.map((t=>t.name)));for(const r of t.map((t=>this.assetsMap[t])))r&&(r.styles&&e.push(...r.styles),r.scripts&&n.push(...r.scripts));return{styles:e.map((t=>this.resolveCSS(t))),scripts:n.map((t=>this.resolveJS(t)))}}getUsedAssets(t){const e=this.plugins.map((t=>t.name)).filter((e=>t[e]));return this.getAssets(e)}},t.builtInPlugins=Mu,t.patchCSSItem=wu,t.patchJSItem=vu,t.transformerVersions={"markmap-lib":"0.18.12"},Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(this.markmap=this.markmap||{},window.katex);
-//# sourceMappingURL=/sm/67c2054fc56210f03623bfab1192ec2fbd118e1103cfbed4dfc0b3bea79fc2c2.map
\ No newline at end of file
diff --git a/web_ui/public/markmap/markmap-toolbar.js b/web_ui/public/markmap/markmap-toolbar.js
deleted file mode 100644
index c4a3424..0000000
--- a/web_ui/public/markmap/markmap-toolbar.js
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Minified by jsDelivr using Terser v5.39.0.
- * Original file: /npm/markmap-toolbar@0.18.12/dist/index.js
- *
- * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
- */
-!function(t){"use strict";
-/*! @gera2ld/jsx-dom v2.2.2 | ISC License */const e="http://www.w3.org/1999/xlink",A={show:e,actuate:e,href:e};function r(t,e){let A;if("string"==typeof t)A=1;else{if("function"!=typeof t)throw new Error("Invalid VNode type");A=2}return{vtype:A,type:t,props:e}}const i=r;function n(t){return t.children}const o={isSvg:!1};function s(t,e){Array.isArray(e)||(e=[e]),(e=e.filter(Boolean)).length&&t.append(...e)}const l={className:"class",labelFor:"for"};function h(t,e,r,i){if(e=l[e]||e,!0===r)t.setAttribute(e,"");else if(!1===r)t.removeAttribute(e);else{const n=i?A[e]:void 0;void 0!==n?t.setAttributeNS(n,e,r):t.setAttribute(e,r)}}function a(t,e){return Array.isArray(t)?t.map((t=>a(t,e))).reduce(((t,e)=>t.concat(e)),[]):c(t,e)}function c(t,e=o){if(null==t||"boolean"==typeof t)return null;if(t instanceof Node)return t;if(2===(null==(A=t)?void 0:A.vtype)){const{type:A,props:r}=t;if(A===n){const t=document.createDocumentFragment();if(r.children){s(t,a(r.children,e))}return t}return c(A(r),e)}var A;if((t=>"string"==typeof t||"number"==typeof t)(t))return document.createTextNode(`${t}`);if((t=>1===(null==t?void 0:t.vtype))(t)){let A;const{type:r,props:i}=t;if(e.isSvg||"svg"!==r||(e=Object.assign({},e,{isSvg:!0})),A=e.isSvg?document.createElementNS("http://www.w3.org/2000/svg",r):document.createElement(r),function(t,e,A){for(const r in e)if("key"!==r&&"children"!==r&&"ref"!==r)if("dangerouslySetInnerHTML"===r)t.innerHTML=e[r].__html;else if("innerHTML"===r||"textContent"===r||"innerText"===r||"value"===r&&["textarea","select"].includes(t.tagName)){const A=e[r];null!=A&&(t[r]=A)}else r.startsWith("on")?t[r.toLowerCase()]=e[r]:h(t,r,e[r],A.isSvg)}(A,i,e),i.children){let t=e;e.isSvg&&"foreignObject"===r&&(t=Object.assign({},t,{isSvg:!1}));const n=a(i.children,t);null!=n&&s(A,n)}const{ref:n}=i;return"function"==typeof n&&n(A),A}throw new Error("mount: Invalid Vnode!")}function g(t){return c(t)}const v="mm-toolbar-item";function d({title:t,content:e,onClick:A}){return r("div",{className:v,title:t,onClick:A,children:e})}let u;const m=class t{constructor(){this.showBrand=!0,this.registry={},this.el=g(r("div",{className:"mm-toolbar"})),this.items=[...t.defaultItems],this.register({id:"zoomIn",title:"Zoom in",content:t.icon("M9 5v4h-4v2h4v4h2v-4h4v-2h-4v-4z"),onClick:this.getHandler((t=>t.rescale(1.25)))}),this.register({id:"zoomOut",title:"Zoom out",content:t.icon("M5 9h10v2h-10z"),onClick:this.getHandler((t=>t.rescale(.8)))}),this.register({id:"fit",title:"Fit window size",content:t.icon("M4 7h2v-2h2v4h-4zM4 13h2v2h2v-4h-4zM16 7h-2v-2h-2v4h4zM16 13h-2v2h-2v-4h4z"),onClick:this.getHandler((t=>t.fit()))}),this.register({id:"recurse",title:"Toggle recursively",content:t.icon("M16 4h-12v12h12v-8h-8v4h2v-2h4v4h-8v-8h10z"),onClick:t=>{var e;const A=t.target.closest(`.${v}`),r=null==A?void 0:A.classList.toggle("active");null==(e=this.markmap)||e.setOptions({toggleRecursively:r})}}),this.register({id:"dark",title:"Toggle dark theme",content:t.icon("M10 4a6 6 0 0 0 0 12a6 6 0 0 0 0 -12v2a4 4 0 0 1 0 8z"),onClick:()=>{document.documentElement.classList.toggle("markmap-dark")}}),this.render()}static create(e){const A=new t;return A.attach(e),A}static icon(t,e={}){return e={stroke:"none",fill:"currentColor","fill-rule":"evenodd",...e},r("svg",{width:"20",height:"20",viewBox:"0 0 20 20",children:r("path",{...e,d:t})})}setBrand(t){return this.showBrand=t,this.render()}register(t){this.registry[t.id]=t}getHandler(t){var e;return e=t,t=async(...t)=>{if(!u){u=e(...t);try{await u}finally{u=void 0}}},()=>{this.markmap&&t(this.markmap)}}setItems(t){return this.items=[...t],this.render()}attach(t){this.markmap=t}render(){const t=this.items.map((t=>{if("string"==typeof t){const e=this.registry[t];return e||console.warn(`[markmap-toolbar] ${t} not found`),e}return t})).filter(Boolean);for(;this.el.firstChild;)this.el.firstChild.remove();return this.el.append(g(i(n,{children:[this.showBrand&&i("a",{className:"mm-toolbar-brand",href:"https://markmap.js.org/",children:[r("img",{alt:"markmap",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAACoFBMVEUAAAAAAAD//wAAAACAgAD//wAAAABVVQCqqgBAQACAQACAgABmZgBtbQAAAABgQABgYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaFQAAAAAAAAAAAAAAAAAHAAARBQIdGAIYEwI/OgJYUQUfHQI+OgJDPgJJRARBPQRJQgRRSwRRTQRIQQRUTgRUUARZUgRSTQRPSQRjWgZORQRfWQZsZAhTTQRNRwRWUAZkXAZOSARUTgZPRwRRSQRoYwZWUQZWTgRbUwZmXQZoXghmXwdqYwdsYwdfVwVmXQdqYgdiWgVpYAl3bgl6cgl4cAqLggw8OAOWjA2Uig1OSAR2bQihlg55cAh5cAh6cQmMgwyOhAyUjA2QhQ2Uiw2Viw2soBCflA+voxGwpRGhlg+hlg+snxGroBGjmBCpnBC0pxKyphKxpRG2qhK0qBK5rBK5rBP/7h3/8B7/8R3/8h3/8R7/8h786x397B3+7R3EtxT66Rz66hz76hz86xz96xz97Bz+7Rz45xz56Bz76hz97Bz97B3MvRX15Rv25Rv45xz66Rz76hz97B3+7R3IuxX05Bv15Bv25Rz56Bz66Ry/sxPAsxPCtRTCthTNvxbZyxfczxfi0xjl1Rnn2Bnr2xrr3Brs3Rru3Rru3xrv3hrw3xrx4Bvx4Rvy4hvz4hvz4xv04xv05Bv14xv15Bv15Rv25Bv25Rv25Rz25hv35hv35xv45xv45xz55xz56Bv56Bz66Rv66Rz76Rv76Rz76hz86hv86xz+7h3/7R3/7h3/7x3/8B3/8B7/8R3/8R4Yqhj5AAAAq3RSTlMAAQECAgIDAwMEBAQFBwgICAwQERITFRYXGBkbHB0eHyQlJyguNTg8RUZISU5PV2FiY2RlZmdqa2xubnJzc3R2d3d3eXl5eXp7fH1+gIGCgoKDg4SEhIWGh4eHiYmJjIyMjZSUlJ+sra+zt7i4uru8ztHV1tbW2d7g4OHi4uPk5ufp7Ozv9fX29/f3+Pj6+vr7+/v7+/v7+/z8/Pz8/f39/f39/f3+/v7+/v7K6J1dAAACHklEQVQ4y2NgwAoYWdi5uLm5GXHIcrLCmMzYpDmAhKCKjoGtp40MFhVsDAwSxmmVEzZu2XvqSLkchjw3g0h445Ybd24vmTN1Usd5X3R5DgaNqgN35sycP2/GxMkTMRVwMOivvtO3YsWUm3duX790EcMKdgbNNXdnnJh1+9T6ipzU+FB0RzIyiFYB5WdfaElUF8TmTQ6GwH39J2bvypMHcpg4MAKKkUGo5s6KWRfyGRh4WJClGEGBCgS8DLobliy/3abMwM8NBYwQjXDgf3ryxOspyKYyg+RFTFwdnYDAzbrw+oLFm9Ot3J3AwNHFTBykQrhg++GDh48cOXzk4P6VZy8s230MyAGCwwcP7iyRBJpiur1n8hQIWHX27NkLi6bAwOSuow5ABeY7OydOhoCFIAULe6E8YFCf8QAqEC86evniZTA4tfLsuRXHr0E4ly9ePF0uC3KnpH1MZBQQxPoVgxyZ5RMdBQaRMc6yIEcihWbQGaA3k9G8CfQoN0pAtSoxCMACihk9qGtBQZ2LHtRIkRUMiqwd2TJADiswsrjQlAGju/o+MLrPNkWo8mFN1ewMWmvBCebQ0rKMJG87QzF0FRwMRuvugpLcrXu3rp7Zs61UCtMZ2nVHbk+fMX/+jMmTp3Sf9MLiULG45q237txaPG3yxPYrYQzYMo60RWbD3E27Ll68Uq+AK+uJqOlZBiSEKGLNnMA0iDfzwrI/NKgBOivk9piPdtUAAAAASUVORK5CYII="}),r("span",{children:"markmap"})]}),t.map(d)]}))),this.el}};m.defaultItems=["zoomIn","zoomOut","fit","recurse","dark"];let f=m;t.Toolbar=f,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(this.markmap=this.markmap||{});
-//# sourceMappingURL=/sm/571b88618f99827ab8ae85efa381e3933ac067d6c68a0f0b0b24075722ae75ff.map
\ No newline at end of file
diff --git a/web_ui/public/markmap/markmap-view.js b/web_ui/public/markmap/markmap-view.js
deleted file mode 100644
index ce1b666..0000000
--- a/web_ui/public/markmap/markmap-view.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Minified by jsDelivr using Terser v5.39.0.
- * Original file: /npm/markmap-view@0.18.12/dist/browser/index.js
- *
- * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
- */
-!function(t,e){"use strict";const n=Math.random().toString(36).slice(2,8);let r=0;function i(){}function a(t,e){const n=(t,r)=>e(t,(()=>{var e;return null==(e=t.children)?void 0:e.map((e=>n(e,t)))}),r);return n(t)}function s(){const t={};return t.promise=new Promise(((e,n)=>{t.resolve=e,t.reject=n})),t}
-/*! @gera2ld/jsx-dom v2.2.2 | ISC License */
-const o="http://www.w3.org/1999/xlink",l={show:o,actuate:o,href:o};function h(t,e,...n){return function(t,e){let n;if("string"==typeof t)n=1;else{if("function"!=typeof t)throw new Error("Invalid VNode type");n=2}return{vtype:n,type:t,props:e}}(t,e=Object.assign({},e,{children:1===n.length?n[0]:n}))}function c(t){return t.children}const d={isSvg:!1};function p(t,e){Array.isArray(e)||(e=[e]),(e=e.filter(Boolean)).length&&t.append(...e)}const u={className:"class",labelFor:"for"};function g(t,e,n,r){if(e=u[e]||e,!0===n)t.setAttribute(e,"");else if(!1===n)t.removeAttribute(e);else{const i=r?l[e]:void 0;void 0!==i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}}function m(t,e){return Array.isArray(t)?t.map((t=>m(t,e))).reduce(((t,e)=>t.concat(e)),[]):f(t,e)}function f(t,e=d){if(null==t||"boolean"==typeof t)return null;if(t instanceof Node)return t;if(2===(null==(n=t)?void 0:n.vtype)){const{type:n,props:r}=t;if(n===c){const t=document.createDocumentFragment();if(r.children){p(t,m(r.children,e))}return t}return f(n(r),e)}var n;if((t=>"string"==typeof t||"number"==typeof t)(t))return document.createTextNode(`${t}`);if((t=>1===(null==t?void 0:t.vtype))(t)){let n;const{type:r,props:i}=t;if(e.isSvg||"svg"!==r||(e=Object.assign({},e,{isSvg:!0})),n=e.isSvg?document.createElementNS("http://www.w3.org/2000/svg",r):document.createElement(r),function(t,e,n){for(const r in e)if("key"!==r&&"children"!==r&&"ref"!==r)if("dangerouslySetInnerHTML"===r)t.innerHTML=e[r].__html;else if("innerHTML"===r||"textContent"===r||"innerText"===r||"value"===r&&["textarea","select"].includes(t.tagName)){const n=e[r];null!=n&&(t[r]=n)}else r.startsWith("on")?t[r.toLowerCase()]=e[r]:g(t,r,e[r],n.isSvg)}(n,i,e),i.children){let t=e;e.isSvg&&"foreignObject"===r&&(t=Object.assign({},t,{isSvg:!1}));const a=m(i.children,t);null!=a&&p(n,a)}const{ref:a}=i;return"function"==typeof a&&a(n),n}throw new Error("mount: Invalid Vnode!")}function v(...t){return f(h(...t))}const y=function(t){const e={};return function(...n){const r=`${n[0]}`;let i=e[r];return i||(i={value:t(...n)},e[r]=i),i.value}}((t=>{document.head.append(v("link",{rel:"preload",as:"script",href:t}))})),x={},k={};async function w(t,e){var n;const r="script"===t.type&&(null==(n=t.data)?void 0:n.src)||"";if(t.loaded||(t.loaded=x[r]),!t.loaded){const n=s();if(t.loaded=n.promise,"script"===t.type&&(document.head.append(v("script",{...t.data,onLoad:()=>n.resolve(),onError:n.reject})),r?x[r]=t.loaded:n.resolve()),"iife"===t.type){const{fn:r,getParams:i}=t.data;r(...(null==i?void 0:i(e))||[]),n.resolve()}}await t.loaded}const b="undefined"!=typeof navigator&&navigator.userAgent.includes("Macintosh"),z=e.scaleOrdinal(e.schemeCategory10),S=(t=1,e=3,n=2)=>r=>t+e/n**r.state.depth,E={autoFit:!1,duration:500,embedGlobalCSS:!0,fitRatio:.95,maxInitialScale:2,scrollForPan:b,initialExpandLevel:-1,zoom:!0,pan:!0,toggleRecursively:!1,color:t=>{var e;return z(`${(null==(e=t.state)?void 0:e.path)||""}`)},lineWidth:S(),maxWidth:0,nodeMinHeight:16,paddingX:8,spacingHorizontal:80,spacingVertical:5};function C(t){let e=0;for(let n=0;n>>0).toString(36)}function X(t){if("string"==typeof t){const e=t;t=t=>t.matches(e)}const e=t;return function(){let t=Array.from(this.childNodes);return e&&(t=t.filter((t=>e(t)))),t}}function A(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function j(t,e){var n,r,i,a,s,o=new M(t),l=+t.value&&(o.value=t.value),h=[o];for(null==e&&(e=R);n=h.pop();)if(l&&(n.value=+n.data.value),(i=e(n.data))&&(s=i.length))for(n.children=new Array(s),a=s-1;a>=0;--a)h.push(r=n.children[a]=new M(i[a])),r.parent=n,r.depth=n.depth+1;return o.eachBefore($)}function R(t){return t.children}function O(t){t.data=t.data.data}function $(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function M(t){this.data=t,this.depth=this.height=0,this.parent=null}M.prototype=j.prototype={constructor:M,count:function(){return this.eachAfter(A)},each:function(t){var e,n,r,i,a=this,s=[a];do{for(e=s.reverse(),s=[];a=e.pop();)if(t(a),n=a.children)for(r=0,i=n.length;r=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter((function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;t=n.pop(),e=r.pop();for(;t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each((function(e){t.push(e)})),t},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e},copy:function(){return j(this).eachBefore(O)}};const T={version:"2.1.2"},{version:H}=T,B=Object.freeze({children:t=>t.children,nodeSize:t=>t.data.size,spacing:0});function _(t){const e=Object.assign({},B,t);function n(t){const n=e[t];return"function"==typeof n?n:()=>n}function r(t){const e=a(function(){const t=i(),e=n("nodeSize"),r=n("spacing");return class extends t{constructor(t){super(t),Object.assign(this,{x:0,y:0,relX:0,prelim:0,shift:0,change:0,lExt:this,lExtRelX:0,lThr:null,rExt:this,rExtRelX:0,rThr:null})}get size(){return e(this.data)}spacing(t){return r(this.data,t.data)}get x(){return this.data.x}set x(t){this.data.x=t}get y(){return this.data.y}set y(t){this.data.y=t}update(){return N(this),D(this),this}}}(),t,(t=>t.children));return e.update(),e.data}function i(){const t=n("nodeSize"),e=n("spacing");return class n extends j.prototype.constructor{constructor(t){super(t)}copy(){const t=a(this.constructor,this,(t=>t.children));return t.each((t=>t.data=t.data.data)),t}get size(){return t(this)}spacing(t){return e(this,t)}get nodes(){return this.descendants()}get xSize(){return this.size[0]}get ySize(){return this.size[1]}get top(){return this.y}get bottom(){return this.y+this.ySize}get left(){return this.x-this.xSize/2}get right(){return this.x+this.xSize/2}get root(){const t=this.ancestors();return t[t.length-1]}get numChildren(){return this.hasChildren?this.children.length:0}get hasChildren(){return!this.noChildren}get noChildren(){return null===this.children}get firstChild(){return this.hasChildren?this.children[0]:null}get lastChild(){return this.hasChildren?this.children[this.numChildren-1]:null}get extents(){return(this.children||[]).reduce(((t,e)=>n.maxExtents(t,e.extents)),this.nodeExtents)}get nodeExtents(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}static maxExtents(t,e){return{top:Math.min(t.top,e.top),bottom:Math.max(t.bottom,e.bottom),left:Math.min(t.left,e.left),right:Math.max(t.right,e.right)}}}}function a(t,e,n){const r=(e,i)=>{const a=new t(e);Object.assign(a,{parent:i,depth:null===i?0:i.depth+1,height:0,length:1});const s=n(e)||[];return a.children=0===s.length?null:s.map((t=>r(t,a))),a.children&&Object.assign(a,a.children.reduce(((t,e)=>({height:Math.max(t.height,e.height+1),length:t.length+e.length})),a)),a};return r(e,null)}return Object.assign(r,{nodeSize(t){return arguments.length?(e.nodeSize=t,r):e.nodeSize},spacing(t){return arguments.length?(e.spacing=t,r):e.spacing},children(t){return arguments.length?(e.children=t,r):e.children},hierarchy(t,n){const r=void 0===n?e.children:n;return a(i(),t,r)},dump(t){const e=n("nodeSize"),r=t=>n=>{const i=t+"  ",a=t+"    ",{x:s,y:o}=n,l=e(n),h=n.children||[],c=0===h.length?" ":`,${i}children: [${a}${h.map(r(a)).join(a)}${i}],${t}`;return`{ size: [${l.join(", ")}],${i}x: ${s}, y: ${o}${c}},`};return r("\n")(t)}}),r}_.version=H;const N=(t,e=0)=>(t.y=e,(t.children||[]).reduce(((e,n)=>{const[r,i]=e;N(n,t.y+t.ySize);const a=(0===r?n.lExt:n.rExt).bottom;0!==r&&W(t,r,i);return[r+1,Z(a,r,i)]}),[0,null]),L(t),G(t),t),D=(t,e,n)=>{void 0===e&&(e=-t.relX-t.prelim,n=0);const r=e+t.relX;return t.relX=r+t.prelim-n,t.prelim=0,t.x=n+t.relX,(t.children||[]).forEach((e=>D(e,r,t.x))),t},L=t=>{(t.children||[]).reduce(((t,e)=>{const[n,r]=t,i=n+e.shift,a=r+i+e.change;return e.relX+=a,[i,a]}),[0,0])},W=(t,e,n)=>{const r=t.children[e-1],i=t.children[e];let a=r,s=r.relX,o=i,l=i.relX,h=!0;for(;a&&o;){a.bottom>n.lowY&&(n=n.next);const r=s+a.prelim-(l+o.prelim)+a.xSize/2+o.xSize/2+a.spacing(o);(r>0||r<0&&h)&&(l+=r,F(i,r),P(t,e,n.index,r)),h=!1;const c=a.bottom,d=o.bottom;c<=d&&(a=V(a),a&&(s+=a.relX)),c>=d&&(o=I(o),o&&(l+=o.relX))}!a&&o?K(t,e,o,l):a&&!o&&Y(t,e,a,s)},F=(t,e)=>{t.relX+=e,t.lExtRelX+=e,t.rExtRelX+=e},P=(t,e,n,r)=>{const i=t.children[e],a=e-n;if(a>1){const e=r/a;t.children[n+1].shift+=e,i.shift-=e,i.change-=r-e}},I=t=>t.hasChildren?t.firstChild:t.lThr,V=t=>t.hasChildren?t.lastChild:t.rThr,K=(t,e,n,r)=>{const i=t.firstChild,a=i.lExt,s=t.children[e];a.lThr=n;const o=r-n.relX-i.lExtRelX;a.relX+=o,a.prelim-=o,i.lExt=s.lExt,i.lExtRelX=s.lExtRelX},Y=(t,e,n,r)=>{const i=t.children[e],a=i.rExt,s=t.children[e-1];a.rThr=n;const o=r-n.relX-i.rExtRelX;a.relX+=o,a.prelim-=o,i.rExt=s.rExt,i.rExtRelX=s.rExtRelX},G=t=>{if(t.hasChildren){const e=t.firstChild,n=t.lastChild,r=(e.prelim+e.relX-e.xSize/2+n.relX+n.prelim+n.xSize/2)/2;Object.assign(t,{prelim:r,lExt:e.lExt,lExtRelX:e.lExtRelX,rExt:n.rExt,rExtRelX:n.rExtRelX})}},Z=(t,e,n)=>{for(;null!==n&&t>=n.lowY;)n=n.next;return{lowY:t,index:e,next:n}},q=".markmap {\n  --markmap-max-width: 9999px;\n  --markmap-a-color: #0097e6;\n  --markmap-a-hover-color: #00a8ff;\n  --markmap-code-bg: #f0f0f0;\n  --markmap-code-color: #555;\n  --markmap-highlight-bg: #ffeaa7;\n  --markmap-table-border: 1px solid currentColor;\n  --markmap-font: 300 16px/20px sans-serif;\n  --markmap-circle-open-bg: #fff;\n  --markmap-text-color: #333;\n  --markmap-highlight-node-bg: #ff02;\n\n  font: var(--markmap-font);\n  color: var(--markmap-text-color);\n}\n\n  .markmap-link {\n    fill: none;\n  }\n\n  .markmap-node > circle {\n      cursor: pointer;\n    }\n\n  .markmap-foreign {\n    display: inline-block;\n  }\n\n  .markmap-foreign p {\n      margin: 0;\n    }\n\n  .markmap-foreign a {\n      color: var(--markmap-a-color);\n    }\n\n  .markmap-foreign a:hover {\n        color: var(--markmap-a-hover-color);\n      }\n\n  .markmap-foreign code {\n      padding: 0.25em;\n      font-size: calc(1em - 2px);\n      color: var(--markmap-code-color);\n      background-color: var(--markmap-code-bg);\n      border-radius: 2px;\n    }\n\n  .markmap-foreign pre {\n      margin: 0;\n    }\n\n  .markmap-foreign pre > code {\n        display: block;\n      }\n\n  .markmap-foreign del {\n      text-decoration: line-through;\n    }\n\n  .markmap-foreign em {\n      font-style: italic;\n    }\n\n  .markmap-foreign strong {\n      font-weight: bold;\n    }\n\n  .markmap-foreign mark {\n      background: var(--markmap-highlight-bg);\n    }\n\n  .markmap-foreign table,\n    .markmap-foreign th,\n    .markmap-foreign td {\n      border-collapse: collapse;\n      border: var(--markmap-table-border);\n    }\n\n  .markmap-foreign img {\n      display: inline-block;\n    }\n\n  .markmap-foreign svg {\n      fill: currentColor;\n    }\n\n  .markmap-foreign > div {\n      width: var(--markmap-max-width);\n      text-align: left;\n    }\n\n  .markmap-foreign > div > div {\n        display: inline-block;\n      }\n\n  .markmap-highlight rect {\n    fill: var(--markmap-highlight-node-bg);\n  }\n\n.markmap-dark .markmap {\n  --markmap-code-bg: #1a1b26;\n  --markmap-code-color: #ddd;\n  --markmap-circle-open-bg: #444;\n  --markmap-text-color: #eee;\n}\n",J=q,Q="g.markmap-node",U=e.linkHorizontal();function tt(t,n){return t[e.minIndex(t,n)]}function et(t){t.stopPropagation()}const nt=new class{constructor(){this.listeners=[]}tap(t){return this.listeners.push(t),()=>this.revoke(t)}revoke(t){const e=this.listeners.indexOf(t);e>=0&&this.listeners.splice(e,1)}revokeAll(){this.listeners.splice(0)}call(...t){for(const e of this.listeners)e(...t)}};class rt{constructor(t,i){this.options={...E},this._disposeList=[],this.handleZoom=t=>{const{transform:e}=t;this.g.attr("transform",e)},this.handlePan=t=>{t.preventDefault();const n=e.zoomTransform(this.svg.node()),r=n.translate(-t.deltaX/n.k,-t.deltaY/n.k);this.svg.call(this.zoom.transform,r)},this.handleClick=(t,e)=>{let n=this.options.toggleRecursively;(b?t.metaKey:t.ctrlKey)&&(n=!n),this.toggleNode(e,n)},this.ensureView=this.ensureVisible,this.svg=t.datum?t:e.select(t),this.styleNode=this.svg.append("style"),this.zoom=e.zoom().filter((t=>this.options.scrollForPan&&"wheel"===t.type?t.ctrlKey&&!t.button:!(t.ctrlKey&&"wheel"!==t.type||t.button))).on("zoom",this.handleZoom),this.setOptions(i),this.state={id:this.options.id||this.svg.attr("id")||(r+=1,`mm-${n}-${r}`),rect:{x1:0,y1:0,x2:0,y2:0}},this.g=this.svg.append("g"),this.g.append("g").attr("class","markmap-highlight"),this._observer=new ResizeObserver(function(t,e){const n={timer:0};function r(){n.timer&&(window.clearTimeout(n.timer),n.timer=0)}function i(){r(),n.args&&(n.result=t(...n.args))}return function(...t){return r(),n.args=t,n.timer=window.setTimeout(i,e),n.result}}((()=>{this.renderData()}),100)),this._disposeList.push(nt.tap((()=>{this.setData()})),(()=>this._observer.disconnect()))}getStyleContent(){const{style:t}=this.options,{id:e}=this.state,n="function"==typeof t?t(e):"";return[this.options.embedGlobalCSS&&q,n].filter(Boolean).join("\n")}updateStyle(){this.svg.attr("class",function(t,...e){const n=(t||"").split(" ").filter(Boolean);return e.forEach((t=>{t&&n.indexOf(t)<0&&n.push(t)})),n.join(" ")}(this.svg.attr("class"),"markmap",this.state.id));const t=this.getStyleContent();this.styleNode.text(t)}async toggleNode(t,e=!1){var n,r;const i=(null==(n=t.payload)?void 0:n.fold)?0:1;e?a(t,((t,e)=>{t.payload={...t.payload,fold:i},e()})):t.payload={...t.payload,fold:(null==(r=t.payload)?void 0:r.fold)?0:1},await this.renderData(t)}_initializeData(t){let e=0;const{color:n,initialExpandLevel:r}=this.options;let i=0,s=0;return a(t,((t,a,o)=>{var l,h,c,d;s+=1,t.children=null==(l=t.children)?void 0:l.map((t=>({...t}))),e+=1,t.state={...t.state,depth:s,id:e,rect:{x:0,y:0,width:0,height:0},size:[0,0]},t.state.key=[null==(h=null==o?void 0:o.state)?void 0:h.id,t.state.id].filter(Boolean).join(".")+C(t.content),t.state.path=[null==(c=null==o?void 0:o.state)?void 0:c.path,t.state.id].filter(Boolean).join("."),n(t);const p=2===(null==(d=t.payload)?void 0:d.fold);p?i+=1:(i||r>=0&&t.state.depth>=r)&&(t.payload={...t.payload,fold:1}),a(),p&&(i-=1),s-=1})),t}_relayout(){if(!this.state.data)return;this.g.selectAll(X(Q)).selectAll(X("foreignObject")).each((function(t){var e;const n=null==(e=this.firstChild)?void 0:e.firstChild,r=[n.scrollWidth,n.scrollHeight];t.state.size=r}));const{lineWidth:t,paddingX:n,spacingHorizontal:r,spacingVertical:i}=this.options,a=_({}).children((t=>{var e;if(!(null==(e=t.payload)?void 0:e.fold))return t.children})).nodeSize((t=>{const[e,i]=t.data.state.size;return[i,e+(e?2*n:0)+r]})).spacing(((e,n)=>(e.parent===n.parent?i:2*i)+t(e.data))),s=a.hierarchy(this.state.data);a(s);const o=s.descendants();o.forEach((t=>{t.data.state.rect={x:t.y,y:t.x-t.xSize/2,width:t.ySize-r,height:t.xSize}})),this.state.rect={x1:e.min(o,(t=>t.data.state.rect.x))||0,y1:e.min(o,(t=>t.data.state.rect.y))||0,x2:e.max(o,(t=>t.data.state.rect.x+t.data.state.rect.width))||0,y2:e.max(o,(t=>t.data.state.rect.y+t.data.state.rect.height))||0}}setOptions(t){this.options={...this.options,...t},this.options.zoom?this.svg.call(this.zoom):this.svg.on(".zoom",null),this.options.pan?this.svg.on("wheel",this.handlePan):this.svg.on("wheel",null)}async setData(t,e){e&&this.setOptions(e),t&&(this.state.data=this._initializeData(t)),this.state.data&&(this.updateStyle(),await this.renderData())}async setHighlight(t){this.state.highlight=t||void 0,await this.renderData()}_getHighlightRect(t){const n=this.svg.node(),r=4/e.zoomTransform(n).k,i={...t.state.rect};return i.x-=r,i.y-=r,i.width+=2*r,i.height+=2*r,i}async renderData(t){const{paddingX:e,autoFit:n,color:r,maxWidth:i,lineWidth:s}=this.options,o=this.state.data;if(!o)return;const l={},h={},c=[];a(o,((t,e,n)=>{var r;(null==(r=t.payload)?void 0:r.fold)||e(),l[t.state.id]=t,n&&(h[t.state.id]=n.state.id),c.push(t)}));const d={},p={},u=t=>{t&&!d[t.state.id]&&a(t,((e,n)=>{d[e.state.id]=t.state.id,n()}))},g=t=>p[d[t.state.id]]||o.state.rect,m=t=>(l[d[t.state.id]]||o).state.rect;p[o.state.id]=o.state.rect,t&&u(t);let{highlight:f}=this.state;f&&!l[f.state.id]&&(f=void 0);let v=this.g.selectAll(X("g.markmap-highlight")).selectAll(X("rect")).data(f?[this._getHighlightRect(f)]:[]).join("rect").attr("x",(t=>t.x)).attr("y",(t=>t.y)).attr("width",(t=>t.width)).attr("height",(t=>t.height));const y=this.g.selectAll(X(Q)).each((t=>{p[t.state.id]=t.state.rect})).data(c,(t=>t.state.key)),x=y.enter().append("g").attr("data-depth",(t=>t.state.depth)).attr("data-path",(t=>t.state.path)).each((t=>{u(l[h[t.state.id]])})),k=y.exit().each((t=>{u(l[h[t.state.id]])})),w=y.merge(x).attr("class",(t=>{var e;return["markmap-node",(null==(e=t.payload)?void 0:e.fold)&&"markmap-fold"].filter(Boolean).join(" ")})),b=w.selectAll(X("line")).data((t=>[t]),(t=>t.state.key)),z=b.enter().append("line").attr("stroke",(t=>r(t))).attr("stroke-width",0),S=b.merge(z),E=w.selectAll(X("circle")).data((t=>{var e;return(null==(e=t.children)?void 0:e.length)?[t]:[]}),(t=>t.state.key)),C=E.enter().append("circle").attr("stroke-width",0).attr("r",0).on("click",((t,e)=>this.handleClick(t,e))).on("mousedown",et).merge(E).attr("stroke",(t=>r(t))).attr("fill",(t=>{var e;return(null==(e=t.payload)?void 0:e.fold)&&t.children?r(t):"var(--markmap-circle-open-bg)"})),A=this._observer,j=w.selectAll(X("foreignObject")).data((t=>[t]),(t=>t.state.key)),R=j.enter().append("foreignObject").attr("class","markmap-foreign").attr("x",e).attr("y",0).style("opacity",0).on("mousedown",et).on("dblclick",et);R.append("xhtml:div").append("xhtml:div").html((t=>t.content)).attr("xmlns","http://www.w3.org/1999/xhtml"),R.each((function(){var t;const e=null==(t=this.firstChild)?void 0:t.firstChild;A.observe(e)}));const O=k.selectAll(X("foreignObject"));O.each((function(){var t;const e=null==(t=this.firstChild)?void 0:t.firstChild;A.unobserve(e)}));const $=R.merge(j),M=c.flatMap((t=>{var e;return(null==(e=t.payload)?void 0:e.fold)?[]:t.children.map((e=>({source:t,target:e})))})),T=this.g.selectAll(X("path.markmap-link")).data(M,(t=>t.target.state.key)),H=T.exit(),B=T.enter().insert("path","g").attr("class","markmap-link").attr("data-depth",(t=>t.target.state.depth)).attr("data-path",(t=>t.target.state.path)).attr("d",(t=>{const e=g(t.target),n=[e.x+e.width,e.y+e.height];return U({source:n,target:n})})).attr("stroke-width",0).merge(T);this.svg.style("--markmap-max-width",i?`${i}px`:null),await new Promise(requestAnimationFrame),this._relayout(),v=v.data(f?[this._getHighlightRect(f)]:[]).join("rect"),this.transition(v).attr("x",(t=>t.x)).attr("y",(t=>t.y)).attr("width",(t=>t.width)).attr("height",(t=>t.height)),x.attr("transform",(t=>{const e=g(t);return`translate(${e.x+e.width-t.state.rect.width},${e.y+e.height-t.state.rect.height})`})),this.transition(k).attr("transform",(t=>{const e=m(t);return`translate(${e.x+e.width-t.state.rect.width},${e.y+e.height-t.state.rect.height})`})).remove(),this.transition(w).attr("transform",(t=>`translate(${t.state.rect.x},${t.state.rect.y})`));const _=k.selectAll(X("line"));this.transition(_).attr("x1",(t=>t.state.rect.width)).attr("stroke-width",0),z.attr("x1",(t=>t.state.rect.width)).attr("x2",(t=>t.state.rect.width)),S.attr("y1",(t=>t.state.rect.height+s(t)/2)).attr("y2",(t=>t.state.rect.height+s(t)/2)),this.transition(S).attr("x1",-1).attr("x2",(t=>t.state.rect.width+2)).attr("stroke",(t=>r(t))).attr("stroke-width",s);const N=k.selectAll(X("circle"));this.transition(N).attr("r",0).attr("stroke-width",0),C.attr("cx",(t=>t.state.rect.width)).attr("cy",(t=>t.state.rect.height+s(t)/2)),this.transition(C).attr("r",6).attr("stroke-width","1.5"),this.transition(O).style("opacity",0),$.attr("width",(t=>Math.max(0,t.state.rect.width-2*e))).attr("height",(t=>t.state.rect.height)),this.transition($).style("opacity",1),this.transition(H).attr("d",(t=>{const e=m(t.target),n=[e.x+e.width,e.y+e.height+s(t.target)/2];return U({source:n,target:n})})).attr("stroke-width",0).remove(),this.transition(B).attr("stroke",(t=>r(t.target))).attr("stroke-width",(t=>s(t.target))).attr("d",(t=>{const e=t.source,n=t.target,r=[e.state.rect.x+e.state.rect.width,e.state.rect.y+e.state.rect.height+s(e)/2],i=[n.state.rect.x,n.state.rect.y+n.state.rect.height+s(n)/2];return U({source:r,target:i})})),n&&this.fit()}transition(t){const{duration:e}=this.options;return t.transition().duration(e)}async fit(t=this.options.maxInitialScale){const n=this.svg.node(),{width:r,height:a}=n.getBoundingClientRect(),{fitRatio:s}=this.options,{x1:o,y1:l,x2:h,y2:c}=this.state.rect,d=h-o,p=c-l,u=Math.min(r/d*s,a/p*s,t),g=e.zoomIdentity.translate((r-d*u)/2-o*u,(a-p*u)/2-l*u).scale(u);return this.transition(this.svg).call(this.zoom.transform,g).end().catch(i)}findElement(t){let e;return this.g.selectAll(X(Q)).each((function(n){n===t&&(e={data:n,g:this})})),e}async ensureVisible(t,n){var r;const a=null==(r=this.findElement(t))?void 0:r.data;if(!a)return;const s=this.svg.node(),o=s.getBoundingClientRect(),l=e.zoomTransform(s),[h,c]=[a.state.rect.x,a.state.rect.x+a.state.rect.width+2].map((t=>t*l.k+l.x)),[d,p]=[a.state.rect.y,a.state.rect.y+a.state.rect.height].map((t=>t*l.k+l.y)),u={left:0,right:0,top:0,bottom:0,...n},g=[u.left-h,o.width-u.right-c],m=[u.top-d,o.height-u.bottom-p],f=g[0]*g[1]>0?tt(g,Math.abs)/l.k:0,v=m[0]*m[1]>0?tt(m,Math.abs)/l.k:0;if(f||v){const t=l.translate(f,v);return this.transition(this.svg).call(this.zoom.transform,t).end().catch(i)}}async centerNode(t,n){var r;const a=null==(r=this.findElement(t))?void 0:r.data;if(!a)return;const s=this.svg.node(),o=s.getBoundingClientRect(),l=e.zoomTransform(s),h=(a.state.rect.x+a.state.rect.width/2)*l.k+l.x,c=(a.state.rect.y+a.state.rect.height/2)*l.k+l.y,d={left:0,right:0,top:0,bottom:0,...n},p=(d.left+o.width-d.right)/2,u=(d.top+o.height-d.bottom)/2,g=(p-h)/l.k,m=(u-c)/l.k;if(g||m){const t=l.translate(g,m);return this.transition(this.svg).call(this.zoom.transform,t).end().catch(i)}}async rescale(t){const n=this.svg.node(),{width:r,height:a}=n.getBoundingClientRect(),s=r/2,o=a/2,l=e.zoomTransform(n),h=l.translate((s-l.x)*(1-t)/l.k,(o-l.y)*(1-t)/l.k).scale(t);return this.transition(this.svg).call(this.zoom.transform,h).end().catch(i)}destroy(){this.svg.on(".zoom",null),this.svg.html(null),this._disposeList.forEach((t=>{t()}))}static create(t,e,n=null){const r=new rt(t,e);return n&&r.setData(n).then((()=>{r.fit()})),r}}t.Markmap=rt,t.childSelector=X,t.defaultColorFn=z,t.defaultOptions=E,t.deriveOptions=function(t){const n={},r={...t},{color:i,colorFreezeLevel:a,lineWidth:s}=r;if(1===(null==i?void 0:i.length)){const t=i[0];n.color=()=>t}else if(null==i?void 0:i.length){const t=e.scaleOrdinal(i);n.color=e=>t(`${e.state.path}`)}if(a){const t=n.color||E.color;n.color=e=>(e={...e,state:{...e.state,path:e.state.path.split(".").slice(0,a).join(".")}},t(e))}if(s){const t=Array.isArray(s)?s:[s,0,1];n.lineWidth=S(...t)}return["duration","fitRatio","initialExpandLevel","maxInitialScale","maxWidth","nodeMinHeight","paddingX","spacingHorizontal","spacingVertical"].forEach((t=>{const e=r[t];"number"==typeof e&&(n[t]=e)})),["zoom","pan"].forEach((t=>{const e=r[t];null!=e&&(n[t]=!!e)})),n},t.globalCSS=J,t.isMacintosh=b,t.lineWidthFactory=S,t.loadCSS=async function(t){await Promise.all(t.map((t=>async function(t){const e="stylesheet"===t.type&&t.data.href||"";if(t.loaded||(t.loaded=k[e]),!t.loaded){const n=s();t.loaded=n.promise,e&&(k[e]=t.loaded),"style"===t.type?(document.head.append(v("style",{textContent:t.data})),n.resolve()):e&&(document.head.append(v("link",{rel:"stylesheet",...t.data})),fetch(e).then((t=>{if(t.ok)return t.text();throw t})).then((()=>n.resolve()),n.reject))}await t.loaded}(t))))},t.loadJS=async function(t,e){t.forEach((t=>{var e;"script"===t.type&&(null==(e=t.data)?void 0:e.src)&&y(t.data.src)})),e={getMarkmap:()=>window.markmap,...e};for(const n of t)await w(n,e)},t.refreshHook=nt,t.simpleHash=C,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(this.markmap=this.markmap||{},d3);
-//# sourceMappingURL=/sm/110abf9063f6ee4fb04c8b1324a7593e2b618205c89e4a3ba636f91260ce2b5d.map
\ No newline at end of file
diff --git a/web_ui/src/App.vue b/web_ui/src/App.vue
deleted file mode 100644
index 47f8867..0000000
--- a/web_ui/src/App.vue
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/web_ui/src/api/document.ts b/web_ui/src/api/document.ts
deleted file mode 100644
index 0ab443e..0000000
--- a/web_ui/src/api/document.ts
+++ /dev/null
@@ -1,81 +0,0 @@
-import { hubCall } from './hub'
-import { uuid } from '@/utils/uuid'
-export interface ParseParams {
-  files: File[]
-  parser_resource_id: string
-  output_dir: string
-  lang_list: string
-  backend: string
-  parse_method: string
-  formula_enable: boolean
-  table_enable: boolean
-  server_url?: string
-  start_page_id: number
-  end_page_id: number
-  return_md: boolean
-  return_middle_json: boolean
-  response_format_zip: boolean
-}
-
-export interface ParseResult {
-  backend: string
-  version: string
-  results: Record
-  }>
-}
-
-export interface ParseProgress {
-  progress: number | null
-  stage: string
-  status: 'pending' | 'processing' | 'completed' | 'failed'
-  error: string | null
-  file_names: string
-}
-
-export interface MindmapOrganizeProgress extends ParseProgress {
-  result_md?: string | null
-}
-
-
-const ids = new Map()
-const states: Record = { PENDING: 'pending', RUNNING: 'processing', SUCCESS: 'completed', FAILED: 'failed' }
-async function progress(taskId: string): Promise {
-  const id = ids.get(taskId)
-  if (!id) return { progress: null, status: 'pending', stage: '准备中', error: null, file_names: '' }
-  const task = await hubCall('tasks', 'get', undefined, id)
-  return { progress: task.status === 'SUCCESS' ? 100 : task.progress?.percent ?? null, status: states[task.status], stage: task.progress?.stage || (task.status === 'PENDING' ? '等待处理' : task.status === 'RUNNING' ? '处理中' : task.status === 'SUCCESS' ? '完成' : '失败'), error: task.error, file_names: task.name, result_md: task.result?.markdown }
-}
-export const documentApi = {
-  async parseDocument(params: ParseParams, taskId: string = uuid()): Promise {
-    if (!params.parser_resource_id) throw new Error('请选择解析服务')
-    const results: ParseResult['results'] = {}
-    for (const file of params.files) {
-      const task = await hubCall('tasks', 'post', { name: file.name.slice(0, 128), nodes: [{ type: 'parse', resource_id: params.parser_resource_id }, { type: 'render' }] }, undefined, file)
-      ids.set(taskId, task.id)
-      const until = Date.now() + 30 * 60 * 1000
-      let completed = false
-      while (Date.now() < until) {
-        const current = await hubCall('tasks', 'get', undefined, task.id)
-        if (current.status === 'FAILED') throw new Error(current.error || '解析失败')
-        if (current.status === 'SUCCESS') { results[file.name] = { md_content: current.result.markdown, middle_json: JSON.stringify(current.result.source) }; completed = true; break }
-        await new Promise(resolve => setTimeout(resolve, 1500))
-      }
-      if (!completed) throw new Error('任务仍在处理中,请到管理页查看')
-    }
-    return { backend: 'shared', version: '1', results }
-  },
-  async createParseTask(_taskId: string): Promise { return { progress: null, stage: '准备中', status: 'pending', error: null, file_names: '' } },
-  getParseProgress: progress,
-  async createMindmapTask(taskId: string, markdown: string, _mode = 'smart', prompt?: string, config?: { model_id: string; temperature: number }): Promise {
-    if (!config?.model_id) throw new Error('请选择整理模型')
-    const task = await hubCall('tasks', 'post', { name: '智能整理', markdown, nodes: [{ type: 'organize', model_id: config.model_id, prompt, temperature: config.temperature }, { type: 'render' }] })
-    ids.set(taskId, task.id)
-    return progress(taskId)
-  },
-  getMindmapProgress: progress
-}
diff --git a/web_ui/src/api/hub.ts b/web_ui/src/api/hub.ts
deleted file mode 100644
index d9e725d..0000000
--- a/web_ui/src/api/hub.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-// The parent owns authentication. No token or provider secret is sent to this frame.
-import { uuid } from '@/utils/uuid'
-const pending = new Map void; reject: (error: Error) => void; timer: ReturnType }>()
-const parentOrigin = (() => { try { return new URL(document.referrer).origin } catch { return '' } })()
-window.addEventListener('message', event => {
-  if (event.source !== window.parent || event.origin !== parentOrigin || event.data?.type !== 'ai-hub-response') return
-  const call = pending.get(event.data.id)
-  if (!call) return
-  clearTimeout(call.timer); pending.delete(event.data.id)
-  if (event.data.error) call.reject(new Error(event.data.error)); else call.resolve(event.data.data)
-})
-export async function hubCall(kind: string, method = 'get', data?: any, recordId?: string, file?: File): Promise {
-  if (window.parent === window || !parentOrigin) throw new Error('请从管理平台打开思维导图')
-  const id = uuid()
-  const upload = file ? { name: file.name, content: await file.arrayBuffer() } : undefined
-  return new Promise((resolve, reject) => {
-    const timer = setTimeout(() => { pending.delete(id); reject(new Error('请求超时')) }, 45000)
-    pending.set(id, { resolve, reject, timer })
-    window.parent.postMessage({ type: 'ai-hub-request', id, kind, method, data, recordId, file: upload }, parentOrigin)
-  })
-}
-export function onOpenArtifact(callback: (artifact: any) => void) {
-  const handler = (event: MessageEvent) => {
-    if (event.source === window.parent && event.origin === parentOrigin && event.data?.type === 'ai-hub-open') callback(event.data.artifact)
-  }
-  window.addEventListener('message', handler)
-  return () => window.removeEventListener('message', handler)
-}
diff --git a/web_ui/src/components/ConfigPanel.vue b/web_ui/src/components/ConfigPanel.vue
deleted file mode 100644
index 6818155..0000000
--- a/web_ui/src/components/ConfigPanel.vue
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
diff --git a/web_ui/src/components/FileUploader.vue b/web_ui/src/components/FileUploader.vue
deleted file mode 100644
index f853619..0000000
--- a/web_ui/src/components/FileUploader.vue
+++ /dev/null
@@ -1,246 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/web_ui/src/components/MarkdownRenderer.vue b/web_ui/src/components/MarkdownRenderer.vue
deleted file mode 100644
index eb762d4..0000000
--- a/web_ui/src/components/MarkdownRenderer.vue
+++ /dev/null
@@ -1,700 +0,0 @@
-
-
-
-
-
diff --git a/web_ui/src/components/MindMapRenderer.vue b/web_ui/src/components/MindMapRenderer.vue
deleted file mode 100644
index 201d477..0000000
--- a/web_ui/src/components/MindMapRenderer.vue
+++ /dev/null
@@ -1,747 +0,0 @@
-
-
-
-
-
diff --git a/web_ui/src/components/ResultPanel.vue b/web_ui/src/components/ResultPanel.vue
deleted file mode 100644
index 6632dbf..0000000
--- a/web_ui/src/components/ResultPanel.vue
+++ /dev/null
@@ -1,198 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/web_ui/src/composables/useDocumentProcessor.ts b/web_ui/src/composables/useDocumentProcessor.ts
deleted file mode 100644
index 4cd1ae8..0000000
--- a/web_ui/src/composables/useDocumentProcessor.ts
+++ /dev/null
@@ -1,411 +0,0 @@
-import { ref, reactive, watch } from 'vue'
-import type { Ref } from 'vue'
-import { documentApi, type ParseParams } from '@/api/document'
-import { convertWordToPdf, isWordFile } from '@/utils/wordToPdf'
-import { buildMindmapMarkdown, documentTitleFromName } from '@/utils/mindmapMarkdown'
-
-// 根据上一级标题自动补全下一级标题
-export function autoPromoteParagraphsToSubheading(text: string): string {
-  return buildMindmapMarkdown(text)
-}
-
-export interface DocumentConfig {
-  maxPages: number
-  backend: string
-  serverUrl: string
-  exportResolution: number
-  mindmapPrompt: string
-  parserResourceId: string
-  mindmapModelId: string
-  mindmapLlmTimeout: number
-  mindmapLlmTemperature: number
-  mindmapLlmMaxContextTokens: number
-  mindmapLlmMaxOutputTokens: number
-  mindmapLlmSafetyTokens: number
-  tableEnable: boolean
-  formulaEnable: boolean
-  language: string
-  forceOcr: boolean
-}
-
-export interface ProcessResult {
-  markdown: string
-  source: string
-  mindmap: string
-  downloadUrl?: string
-}
-
-export const DOCUMENT_CONFIG_STORAGE_KEY = 'mineru.documentProcessor.config.v4'
-
-export const DEFAULT_MINDMAP_PROMPT = `你是文档结构整理助手。请基于用户提供的 Markdown 生成适合思维导图展示的 Markdown。
-
-要求:
-1. 保留原文标题结构,不要重写或打乱主要标题层级。
-2. 将标题下的段落内容总结为要点,合并相近段落,避免逐段照抄。
-3. 保留原文语言:英文内容输出英文,中文内容输出中文,多语言内容按原文语言分别保留。
-4. 不要编造原文没有的信息。
-5. 保留关键数字、公式、专有名词、步骤和结论。
-6. 最大层级不超过 4 层。
-7. 每个父节点下最多 8 个子节点。
-8. 节点标题尽量简短,正文说明使用短句列表。
-9. 只输出 Markdown,不要输出解释、代码块围栏或额外说明。`
-
-export const DEFAULT_DOCUMENT_CONFIG: DocumentConfig = {
-  maxPages: 1000,
-  backend: 'hybrid-auto-engine',
-  serverUrl: 'http://localhost:30000',
-  exportResolution: 7680,
-  mindmapPrompt: DEFAULT_MINDMAP_PROMPT,
-  parserResourceId: '',
-  mindmapModelId: '',
-  mindmapLlmTimeout: 180,
-  mindmapLlmTemperature: 0.2,
-  mindmapLlmMaxContextTokens: 32768,
-  mindmapLlmMaxOutputTokens: 4096,
-  mindmapLlmSafetyTokens: 1024,
-  tableEnable: true,
-  formulaEnable: true,
-  language: 'ch',
-  forceOcr: false
-}
-
-function loadCachedConfig(): Partial {
-  try {
-    const raw = window.localStorage.getItem(DOCUMENT_CONFIG_STORAGE_KEY)
-    const cached = raw ? JSON.parse(raw) : {}
-    const safe = Object.fromEntries(Object.keys(DEFAULT_DOCUMENT_CONFIG).filter(key => key in cached).map(key => [key, cached[key]]))
-    window.localStorage.setItem(DOCUMENT_CONFIG_STORAGE_KEY, JSON.stringify(safe))
-    return safe
-  } catch {
-    try { window.localStorage.removeItem(DOCUMENT_CONFIG_STORAGE_KEY) } catch { /* Storage unavailable. */ }
-    return {}
-  }
-}
-
-export function useDocumentProcessor() {
-  // 文件相关
-  const uploadedFiles: Ref = ref([])
-  const uploadedDisplayFiles: Ref = ref([])
-  const isUploading = ref(false)
-  
-  // 配置相关
-  const config = reactive({
-    ...DEFAULT_DOCUMENT_CONFIG,
-    ...loadCachedConfig()
-  })
-
-  watch(
-    config,
-    (value) => {
-      try {
-        window.localStorage.setItem(DOCUMENT_CONFIG_STORAGE_KEY, JSON.stringify(value))
-      } catch {
-        // 浏览器禁用本地存储时不影响当前页面使用。
-      }
-    },
-    { deep: true }
-  )
-  
-  // 结果相关
-  const results = ref(null)
-  const isProcessing = ref(false)
-  const processingStage = ref('')
-  const error = ref(null)
-  
-  // 后端选项
-  const backendOptions = [
-    { value: 'pipeline', label: '传统管道解析' },
-    { value: 'vlm-auto-engine', label: 'VLM本地引擎' },
-    { value: 'hybrid-auto-engine', label: '混合本地引擎' },
-    { value: 'vlm-http-client', label: 'VLM远程客户端' },
-    { value: 'hybrid-http-client', label: '混合远程客户端' }
-  ]
-  
-  // 语言选项
-  const languageOptions = [
-    { value: 'ch', label: '中文(简体)' },
-    { value: 'en', label: '英语' },
-    { value: 'korean', label: '韩语' },
-    { value: 'japan', label: '日语' },
-    { value: 'chinese_cht', label: '中文(繁体)' },
-    { value: 'ta', label: '泰米尔语' },
-    { value: 'te', label: '泰卢固语' },
-    { value: 'ka', label: '卡纳达语' },
-    { value: 'th', label: '泰语' },
-    { value: 'el', label: '希腊语' },
-    { value: 'latin', label: '拉丁语系' },
-    { value: 'arabic', label: '阿拉伯语系' },
-    { value: 'east_slavic', label: '东斯拉夫语系' },
-    { value: 'cyrillic', label: '西里尔语系' },
-    { value: 'devanagari', label: '梵文字母语系' }
-  ]
-  
-  // 文件上传处理
-  const handleFileUpload = async (files: FileList | null) => {
-    console.log('handleFileUpload called with files:', files)
-    if (!files || files.length === 0) return
-    
-    const validFiles: File[] = []
-    const displayFiles: File[] = []
-    const file = files[0]
-    uploadedFiles.value = []
-    uploadedDisplayFiles.value = []
-    results.value = null
-    error.value = null
-    if (files.length > 1) {
-      error.value = '一次只能选择一个文件,已使用第一个文件'
-    }
-    
-    const fileType = file.type
-    const fileName = file.name.toLowerCase()
-    
-    console.log('Processing file:', fileName, 'type:', fileType)
-    
-    // 验证文件类型 - 支持 Markdown、PDF、Word 和后端可转换为 PDF 的图片格式
-    const supportedImageExtensions = ['.png', '.jpg', '.jpeg', '.webp', '.bmp', '.tiff', '.gif', '.jp2']
-    const isImage = fileType.startsWith('image/') && supportedImageExtensions.some((ext) => fileName.endsWith(ext))
-    const isPdf = fileType === 'application/pdf'
-    const isWord = fileName.endsWith('.docx') || fileName.endsWith('.doc') || fileType === 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
-    const isMarkdown = fileName.endsWith('.md') || fileType === 'text/markdown'
-    
-    console.log('File type checks - isImage:', isImage, 'isPdf:', isPdf, 'isWord:', isWord, 'isMarkdown:', isMarkdown)
-    
-    if (!isImage && !isPdf && !isWord && !isMarkdown) {
-      error.value = '不支持的文件类型,请选择 MD、PDF、Word、JPG、PNG、WEBP、BMP、TIFF、GIF 或 JP2 文件'
-      console.log('Unsupported file type:', fileName, fileType)
-      return
-    }
-    
-    // 验证文件大小 (100MB)
-    if (file.size > 100 * 1024 * 1024) {
-      error.value = '文件大小超出限制'
-      console.log('File too large:', fileName, file.size)
-      return
-    }
-    
-    if (isMarkdown) {
-      try {
-        isUploading.value = true
-        const markdown = await file.text()
-        validFiles.push(file)
-        displayFiles.push(file)
-        results.value = {
-          markdown,
-          source: markdown,
-          mindmap: buildMindmapMarkdown(markdown, documentTitleFromName(file.name))
-        }
-        error.value = null
-        console.log('Markdown file loaded directly:', fileName, markdown.length)
-      } catch (err) {
-        error.value = 'Markdown 文件读取失败: ' + (err as Error).message
-        console.error('Markdown read failed:', (err as Error).message)
-        return
-      } finally {
-        isUploading.value = false
-      }
-    } else if (isWord) {
-      try {
-        isUploading.value = true
-        error.value = '正在将 Word 文档转换为 PDF...'
-        console.log('Converting Word to PDF:', fileName)
-        const pdfFile = await convertWordToPdf(file)
-        console.log('Conversion successful, PDF file:', pdfFile.name, pdfFile.size)
-        validFiles.push(pdfFile)
-        displayFiles.push(file)
-        error.value = null
-      } catch (err) {
-        error.value = 'Word 转换为 PDF 失败: ' + (err as Error).message
-        console.error('Conversion failed:', (err as Error).message)
-        return
-      } finally {
-        isUploading.value = false
-      }
-    } else {
-      validFiles.push(file)
-      displayFiles.push(file)
-      console.log('Adding file directly:', fileName)
-    }
-    
-    uploadedFiles.value = validFiles
-    uploadedDisplayFiles.value = displayFiles
-    console.log('Final uploaded files:', validFiles.map(f => f.name))
-  }
-  
-  // 清除所有数据
-  const clearAll = () => {
-    uploadedFiles.value = []
-    uploadedDisplayFiles.value = []
-    results.value = null
-    error.value = null
-    processingStage.value = ''
-  }
-
-  // 演示模式:上传文件后由用户手动粘贴 Markdown 源码
-  const initializeManualResult = () => {
-    results.value = {
-      markdown: '',
-      source: '',
-      mindmap: ''
-    }
-    error.value = null
-  }
-  
-  // 进度相关
-  const progressPercent = ref(null)
-  const progressStage = ref('')
-  const progressElapsedLabel = ref('')
-  let progressStartedAt = 0
-  let progressTimer: ReturnType | null = null
-
-  // 启动进度轮询
-  const startProgressPolling = (taskId: string) => {
-    stopProgressPolling()
-    progressPercent.value = null
-    progressStartedAt = Date.now()
-    progressElapsedLabel.value = '已用时 0 秒'
-    progressStage.value = '准备中'
-    progressTimer = setInterval(async () => {
-      const elapsed = Math.floor((Date.now() - progressStartedAt) / 1000)
-      progressElapsedLabel.value = elapsed < 60 ? `已用时 ${elapsed} 秒` : `已用时 ${Math.floor(elapsed / 60)} 分 ${elapsed % 60} 秒`
-      try {
-        const data = await documentApi.getParseProgress(taskId)
-        progressPercent.value = data.progress
-        progressStage.value = data.stage
-        if (data.status === 'completed' || data.status === 'failed') {
-          stopProgressPolling()
-        }
-      } catch {
-        // 忽略轮询失败
-      }
-    }, 1000)
-  }
-
-  // 停止进度轮询
-  const stopProgressPolling = () => {
-    if (progressTimer) {
-      clearInterval(progressTimer)
-      progressTimer = null
-    }
-  }
-
-  // 处理文档转换
-  const processDocument = async () => {
-    if (uploadedFiles.value.length === 0) {
-      error.value = '请先上传文件'
-      return
-    }
-
-    const firstFileName = uploadedFiles.value[0]?.name.toLowerCase() || ''
-    if (firstFileName.endsWith('.md')) {
-      if (!results.value) {
-        error.value = 'Markdown 文件内容为空,请重新上传'
-      }
-      return
-    }
-    
-    isProcessing.value = true
-    error.value = null
-    processingStage.value = '准备提交解析任务'
-    
-    // 生成任务ID
-    const taskId = `task-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`
-    
-    try {
-      await documentApi.createParseTask(taskId)
-      startProgressPolling(taskId)
-      processingStage.value = '提交文档到解析服务'
-      const params: ParseParams = {
-        files: uploadedFiles.value,
-        parser_resource_id: config.parserResourceId,
-        output_dir: './output',
-        lang_list: config.language,
-        backend: config.backend,
-        parse_method: config.forceOcr ? 'ocr' : 'auto',
-        formula_enable: config.formulaEnable,
-        table_enable: config.tableEnable,
-        start_page_id: 0,
-        end_page_id: config.maxPages - 1,
-        return_md: true,
-        return_middle_json: false,
-        response_format_zip: false
-      }
-      
-      if (config.backend.includes('http-client') && config.serverUrl) {
-        params.server_url = config.serverUrl
-      }
-      
-      processingStage.value = '服务端正在解析文档'
-      const response = await documentApi.parseDocument(params, taskId)
-      
-      if (response.results) {
-        processingStage.value = '生成 Markdown 和思维导图'
-        const resultData = Object.values(response.results)[0]
-        const mdContent = resultData.md_content || ''
-        const mindmapContent = buildMindmapMarkdown(mdContent, documentTitleFromName(uploadedDisplayFiles.value[0]?.name || ''))
-        results.value = {
-          markdown: mdContent,
-          source: mdContent,
-          mindmap: mindmapContent
-        }
-      }
-      
-    } catch (err: any) {
-      error.value = err.message || '转换失败'
-    } finally {
-      stopProgressPolling()
-      processingStage.value = ''
-      isProcessing.value = false
-    }
-  }
-  
-  // 根据后端类型获取公式标签
-  const getFormulaLabel = (backend: string) => {
-    if (backend.startsWith('vlm')) {
-      return '启用行间公式识别'
-    } else if (backend === 'pipeline') {
-      return '启用公式识别'
-    } else if (backend.startsWith('hybrid')) {
-      return '启用行内公式识别'
-    }
-    return '启用公式识别'
-  }
-  
-  // 根据后端类型获取公式说明
-  const getFormulaInfo = (backend: string) => {
-    if (backend.startsWith('vlm')) {
-      return '禁用后,行间公式将显示为图片。'
-    } else if (backend === 'pipeline') {
-      return '禁用后,行间公式将显示为图片,行内公式将不会被检测或解析。'
-    } else if (backend.startsWith('hybrid')) {
-      return '禁用后,行内公式将不会被检测或解析。'
-    }
-    return ''
-  }
-  
-  return {
-    // 数据
-    uploadedFiles,
-    uploadedDisplayFiles,
-    config,
-    results,
-    isUploading,
-    isProcessing,
-    processingStage,
-    progressPercent,
-    progressStage,
-    progressElapsedLabel,
-    error,
-    
-    // 选项
-    backendOptions,
-    languageOptions,
-    
-    // 方法
-    handleFileUpload,
-    initializeManualResult,
-    clearAll,
-    processDocument,
-    getFormulaLabel,
-    getFormulaInfo
-  }
-}
diff --git a/web_ui/src/locales/en.ts b/web_ui/src/locales/en.ts
deleted file mode 100644
index 220b6e7..0000000
--- a/web_ui/src/locales/en.ts
+++ /dev/null
@@ -1,87 +0,0 @@
-export default {
-  app: {
-    title: 'Multimodal Mind Map Assistant'
-  },
-  common: {
-    upload: 'Upload',
-    clear: 'Clear',
-    convert: 'Convert',
-    cancel: 'Cancel',
-    confirm: 'Confirm',
-    loading: 'Loading...',
-    success: 'Success',
-    error: 'Error',
-    warning: 'Warning'
-  },
-  upload: {
-    title: 'Please upload PDF or image',
-    placeholder: 'Click to upload or drag files here',
-    supportedTypes: 'Supported file types: PDF, PNG, JPG, JPEG',
-    maxSize: 'Maximum file size: 100MB'
-  },
-  config: {
-    title: 'Configuration Options',
-    maxPages: 'Max convert pages',
-    backend: 'Backend',
-    serverUrl: 'Server URL',
-    serverUrlInfo: 'OpenAI-compatible server URL for http-client backend.',
-    recognitionOptions: 'Recognition Options',
-    tableEnable: 'Enable table recognition',
-    tableInfo: 'If disabled, tables will be shown as images.',
-    formulaLabelVlm: 'Enable display formula recognition',
-    formulaLabelPipeline: 'Enable formula recognition',
-    formulaLabelHybrid: 'Enable inline formula recognition',
-    formulaInfoVlm: 'If disabled, display formulas will be shown as images.',
-    formulaInfoPipeline: 'If disabled, display formulas will be shown as images, and inline formulas will not be detected or parsed.',
-    formulaInfoHybrid: 'If disabled, inline formulas will not be detected or parsed.',
-    ocrLanguage: 'OCR Language',
-    ocrLanguageInfo: 'Select the OCR language for image-based PDFs and images.',
-    forceOcr: 'Force enable OCR',
-    forceOcrInfo: 'Enable only if the result is extremely poor. Requires correct OCR language.',
-    backendInfoVlm: 'High-precision parsing via VLM, supports Chinese and English documents only.',
-    backendInfoPipeline: 'Traditional Multi-model pipeline parsing, supports multiple languages, hallucination-free.',
-    backendInfoHybrid: 'High-precision hybrid parsing, supports multiple languages.',
-    backendInfoDefault: 'Select the backend engine for document parsing.'
-  },
-  results: {
-    title: 'Convert Result',
-    tabs: {
-      markdown: 'Markdown Rendering',
-      source: 'Markdown Source',
-      mindmap: 'Mind Map'
-    },
-    download: 'Download Result',
-    noResults: 'No conversion results yet'
-  },
-  languages: {
-    ch: 'Chinese (Simplified)',
-    en: 'English',
-    korean: 'Korean',
-    japan: 'Japanese',
-    chinese_cht: 'Chinese (Traditional)',
-    ta: 'Tamil',
-    te: 'Telugu',
-    ka: 'Kannada',
-    th: 'Thai',
-    el: 'Greek',
-    latin: 'Latin Languages',
-    arabic: 'Arabic Languages',
-    east_slavic: 'East Slavic Languages',
-    cyrillic: 'Cyrillic Languages',
-    devanagari: 'Devanagari Languages'
-  },
-  backends: {
-    pipeline: 'Traditional Pipeline Parsing',
-    'vlm-auto-engine': 'VLM Local Engine',
-    'hybrid-auto-engine': 'Hybrid Local Engine',
-    'vlm-http-client': 'VLM Remote Client',
-    'hybrid-http-client': 'Hybrid Remote Client'
-  },
-  errors: {
-    uploadFailed: 'File upload failed',
-    conversionFailed: 'Conversion failed',
-    invalidFileType: 'Unsupported file type',
-    fileSizeExceeded: 'File size exceeded limit',
-    networkError: 'Network connection error'
-  }
-}
\ No newline at end of file
diff --git a/web_ui/src/locales/index.ts b/web_ui/src/locales/index.ts
deleted file mode 100644
index 51eb4a0..0000000
--- a/web_ui/src/locales/index.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export { default as zh } from './zh'
-export { default as en } from './en'
\ No newline at end of file
diff --git a/web_ui/src/locales/zh.ts b/web_ui/src/locales/zh.ts
deleted file mode 100644
index 46e1cd3..0000000
--- a/web_ui/src/locales/zh.ts
+++ /dev/null
@@ -1,87 +0,0 @@
-export default {
-  app: {
-    title: '多模态思维导图助手'
-  },
-  common: {
-    upload: '上传',
-    clear: '清除',
-    convert: '转换',
-    cancel: '取消',
-    confirm: '确定',
-    loading: '加载中...',
-    success: '成功',
-    error: '错误',
-    warning: '警告'
-  },
-  upload: {
-    title: '请上传 PDF 或图片',
-    placeholder: '点击上传或将文件拖拽到此处',
-    supportedTypes: '支持的文件类型: PDF, PNG, JPG, JPEG',
-    maxSize: '最大文件大小: 100MB'
-  },
-  config: {
-    title: '配置选项',
-    maxPages: '最大转换页数',
-    backend: '解析后端',
-    serverUrl: '服务器地址',
-    serverUrlInfo: 'http-client 后端的 OpenAI 兼容服务器地址。',
-    recognitionOptions: '识别选项',
-    tableEnable: '启用表格识别',
-    tableInfo: '禁用后,表格将显示为图片。',
-    formulaLabelVlm: '启用行间公式识别',
-    formulaLabelPipeline: '启用公式识别',
-    formulaLabelHybrid: '启用行内公式识别',
-    formulaInfoVlm: '禁用后,行间公式将显示为图片。',
-    formulaInfoPipeline: '禁用后,行间公式将显示为图片,行内公式将不会被检测或解析。',
-    formulaInfoHybrid: '禁用后,行内公式将不会被检测或解析。',
-    ocrLanguage: 'OCR 语言',
-    ocrLanguageInfo: '为扫描版 PDF 和图片选择 OCR 语言。',
-    forceOcr: '强制启用 OCR',
-    forceOcrInfo: '仅在识别效果极差时启用,需选择正确的 OCR 语言。',
-    backendInfoVlm: '多模态大模型高精度解析,仅支持中英文文档。',
-    backendInfoPipeline: '传统多模型管道解析,支持多语言,无幻觉。',
-    backendInfoHybrid: '高精度混合解析,支持多语言。',
-    backendInfoDefault: '选择文档解析的后端引擎。'
-  },
-  results: {
-    title: '转换结果',
-    tabs: {
-      markdown: 'Markdown 渲染',
-      source: 'Markdown 源码',
-      mindmap: '思维导图'
-    },
-    download: '下载结果',
-    noResults: '暂无转换结果'
-  },
-  languages: {
-    ch: '中文(简体)',
-    en: '英语',
-    korean: '韩语',
-    japan: '日语',
-    chinese_cht: '中文(繁体)',
-    ta: '泰米尔语',
-    te: '泰卢固语',
-    ka: '卡纳达语',
-    th: '泰语',
-    el: '希腊语',
-    latin: '拉丁语系',
-    arabic: '阿拉伯语系',
-    east_slavic: '东斯拉夫语系',
-    cyrillic: '西里尔语系',
-    devanagari: '梵文字母语系'
-  },
-  backends: {
-    pipeline: '传统管道解析',
-    'vlm-auto-engine': 'VLM本地引擎',
-    'hybrid-auto-engine': '混合本地引擎',
-    'vlm-http-client': 'VLM远程客户端',
-    'hybrid-http-client': '混合远程客户端'
-  },
-  errors: {
-    uploadFailed: '文件上传失败',
-    conversionFailed: '转换失败',
-    invalidFileType: '不支持的文件类型',
-    fileSizeExceeded: '文件大小超出限制',
-    networkError: '网络连接错误'
-  }
-}
\ No newline at end of file
diff --git a/web_ui/src/main.ts b/web_ui/src/main.ts
deleted file mode 100644
index 71adc35..0000000
--- a/web_ui/src/main.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { createApp } from 'vue'
-import ElementPlus from 'element-plus'
-import 'element-plus/dist/index.css'
-import { createI18n } from 'vue-i18n'
-import App from './App.vue'
-import { zh, en } from './locales'
-
-const i18n = createI18n({
-  legacy: false,
-  locale: navigator.language.includes('zh') ? 'zh' : 'en',
-  fallbackLocale: 'en',
-  messages: {
-    zh,
-    en
-  }
-})
-
-const app = createApp(App)
-app.use(ElementPlus)
-app.use(i18n)
-app.mount('#app')
\ No newline at end of file
diff --git a/web_ui/src/utils/imageAssets.ts b/web_ui/src/utils/imageAssets.ts
deleted file mode 100644
index 3cd3a46..0000000
--- a/web_ui/src/utils/imageAssets.ts
+++ /dev/null
@@ -1,86 +0,0 @@
-import { onBeforeUnmount, ref, watch, type Ref } from 'vue'
-import { hubCall } from '@/api/hub'
-
-const pattern = () => /\/admin\/api\/workspace\/[^/\s"<>]+\/ai_hub\/assets\/([a-f0-9-]{36})\/content/g
-const cache = new Map()
-const pending = new Map>()
-let cachedBytes = 0
-
-async function imageBlob(url: string, id: string) {
-  if (cache.has(url)) return cache.get(url)!
-  if (pending.has(url)) return pending.get(url)!
-  const request = hubCall('assets', 'get', undefined, id).then(result => {
-    if (!(result.content instanceof ArrayBuffer) || !/^image\/(png|jpeg|gif|webp|bmp)$/.test(result.mime)) throw new Error('图片加载失败')
-    const blob = new Blob([result.content], { type: result.mime })
-    while (cache.size && cachedBytes + blob.size > 64 * 1024 * 1024) {
-      const oldest = cache.keys().next().value!
-      cachedBytes -= cache.get(oldest)!.size
-      cache.delete(oldest)
-    }
-    cache.set(url, blob); cachedBytes += blob.size
-    return blob
-  }).finally(() => pending.delete(url))
-  pending.set(url, request)
-  return request
-}
-
-export function hasImageAssets(content: string) { return pattern().test(content) }
-
-async function replaceAssets(content: string, convert: (blob: Blob) => Promise | string) {
-  const replacements = new Map()
-  for (const match of content.matchAll(pattern())) {
-    if (!replacements.has(match[0])) replacements.set(match[0], await convert(await imageBlob(match[0], match[1])))
-  }
-  return content.replace(pattern(), url => replacements.get(url)!)
-}
-
-export function useImageAssets(source: () => string): { content: Ref; error: Ref; retry: () => void } {
-  const content = ref(''), error = ref(''), revision = ref(0)
-  let generation = 0, urls: string[] = []
-  watch([source, revision], async ([value]) => {
-    const current = ++generation, nextUrls: string[] = []
-    error.value = ''
-    try {
-      const resolved = await replaceAssets(String(value), blob => {
-        const url = URL.createObjectURL(blob); nextUrls.push(url); return url
-      })
-      if (current === generation) {
-        const previous = urls; urls = nextUrls; content.value = resolved
-        // Give both Vue and markmap time to detach the previous DOM.
-        window.setTimeout(() => previous.forEach(url => URL.revokeObjectURL(url)), 1000)
-      } else nextUrls.forEach(url => URL.revokeObjectURL(url))
-    } catch {
-      nextUrls.forEach(url => URL.revokeObjectURL(url))
-      if (current === generation) {
-        content.value = String(value).replace(pattern(), '')
-        error.value = '图片加载失败,点击重试'
-      }
-    }
-  }, { immediate: true })
-  onBeforeUnmount(() => { generation++; urls.forEach(url => URL.revokeObjectURL(url)) })
-  return { content, error, retry: () => revision.value++ }
-}
-
-export function blobDataUrl(blob: Blob): Promise {
-  return new Promise((resolve, reject) => {
-    const reader = new FileReader()
-    reader.onload = () => resolve(String(reader.result))
-    reader.onerror = () => reject(new Error('图片读取失败'))
-    reader.readAsDataURL(blob)
-  })
-}
-
-// Standalone HTML and SVG must not contain browser-session Blob URLs.
-export async function embedImages(html: string) {
-  const document = new DOMParser().parseFromString(html, 'text/html')
-  for (const image of Array.from(document.querySelectorAll('img'))) {
-    if (image.src.startsWith('blob:')) image.setAttribute('src', await blobDataUrl(await (await fetch(image.src)).blob()))
-  }
-  return document.body.innerHTML
-}
-
-export async function exportMarkdownBundle(markdown: string) {
-  const result = await hubCall('exports', 'post', { markdown })
-  if (!(result.content instanceof ArrayBuffer) || result.mime !== 'application/zip') throw new Error('导出失败')
-  return new Blob([result.content], { type: result.mime })
-}
diff --git a/web_ui/src/utils/markdownAst.ts b/web_ui/src/utils/markdownAst.ts
deleted file mode 100644
index ab618ee..0000000
--- a/web_ui/src/utils/markdownAst.ts
+++ /dev/null
@@ -1,55 +0,0 @@
-import MarkdownIt from 'markdown-it'
-import type Token from 'markdown-it/lib/token.mjs'
-
-const md = new MarkdownIt({
-  html: true,
-  linkify: true,
-  typographer: true,
-  breaks: true
-})
-
-type AstNode = {
-  type: string
-  tag?: string
-  nesting?: number
-  level?: number
-  content?: string
-  markup?: string
-  info?: string
-  block?: boolean
-  hidden?: boolean
-  map?: number[] | null
-  attrs?: Record
-  children?: AstNode[]
-}
-
-function tokenToAstNode(token: Token): AstNode {
-  return {
-    type: token.type,
-    tag: token.tag || undefined,
-    nesting: token.nesting,
-    level: token.level,
-    content: token.content || undefined,
-    markup: token.markup || undefined,
-    info: token.info || undefined,
-    block: token.block,
-    hidden: token.hidden,
-    map: token.map || null,
-    attrs: token.attrs ? Object.fromEntries(token.attrs) : undefined,
-    children: token.children?.map(tokenToAstNode)
-  }
-}
-
-export function markdownToAstString(markdown: string): string {
-  if (!markdown.trim()) {
-    return ''
-  }
-
-  const tokens = md.parse(markdown, {})
-  const ast = {
-    type: 'root',
-    children: tokens.map(tokenToAstNode)
-  }
-
-  return JSON.stringify(ast, null, 2)
-}
diff --git a/web_ui/src/utils/markdownTemplate.ts b/web_ui/src/utils/markdownTemplate.ts
deleted file mode 100644
index 1154e82..0000000
--- a/web_ui/src/utils/markdownTemplate.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-export interface ReplacementRule {
-  id: string
-  search: string
-  replace: string
-}
-
-export interface MarkdownTemplateRenderResult {
-  markdown: string
-  error: string | null
-}
-
-export function createEmptyReplacementRule(): ReplacementRule {
-  return {
-    id: `${Date.now()}_${Math.random().toString(16).slice(2)}`,
-    search: '',
-    replace: ''
-  }
-}
-
-export function renderMarkdownTemplate(template: string, rules: ReplacementRule[]): MarkdownTemplateRenderResult {
-  if (!template.trim()) {
-    return {
-      markdown: '',
-      error: null
-    }
-  }
-
-  const activeRules = rules.filter((rule) => rule.search.trim())
-
-  try {
-    const markdown = activeRules.reduce((current, rule) => {
-      return current.split(rule.search).join(rule.replace)
-    }, template)
-
-    return {
-      markdown,
-      error: null
-    }
-  } catch (error) {
-    return {
-      markdown: template,
-      error: `替换规则执行失败:${(error as Error).message}`
-    }
-  }
-}
diff --git a/web_ui/src/utils/mindmapMarkdown.ts b/web_ui/src/utils/mindmapMarkdown.ts
deleted file mode 100644
index ab77f4c..0000000
--- a/web_ui/src/utils/mindmapMarkdown.ts
+++ /dev/null
@@ -1,175 +0,0 @@
-import MarkdownIt from 'markdown-it'
-import type Token from 'markdown-it/lib/token.mjs'
-
-const ROOT_TITLE = '文档思维导图'
-const MAX_HEADING_LEVEL = 6
-
-const md = new MarkdownIt({
-  html: true,
-  linkify: true,
-  typographer: true,
-  breaks: true
-})
-
-function normalizeNodeText(text: string) {
-  return text
-    .replace(/\r?\n/g, ' ')
-    .replace(/\s+/g, ' ')
-    .trim()
-}
-
-function clampHeadingLevel(level: number) {
-  return Math.min(Math.max(level, 1), MAX_HEADING_LEVEL)
-}
-
-function pushHeading(result: string[], level: number, text: string) {
-  const normalized = normalizeNodeText(text)
-  if (!normalized) return
-  result.push(`${'#'.repeat(clampHeadingLevel(level))} ${normalized}`)
-}
-
-function getHeadingLevel(token: Token) {
-  const tagLevel = Number(token.tag.replace(/^h/i, ''))
-  return Number.isFinite(tagLevel) && tagLevel > 0 ? tagLevel : 1
-}
-
-function getNextInlineContent(tokens: Token[], index: number) {
-  const next = tokens[index + 1]
-  return next?.type === 'inline' ? next.content : ''
-}
-
-function getFenceContent(token: Token) {
-  const info = normalizeNodeText(token.info || '')
-  const content = token.content.trim()
-  if (!content) return info ? `代码块 ${info}` : '代码块'
-  return info ? `代码块 ${info}: ${content}` : `代码块: ${content}`
-}
-
-function collectTableRows(tokens: Token[], startIndex: number) {
-  const rows: string[][] = []
-  let currentRow: string[] | null = null
-  let endIndex = startIndex
-
-  for (let i = startIndex + 1; i < tokens.length; i += 1) {
-    const token = tokens[i]
-    endIndex = i
-
-    if (token.type === 'table_close') break
-    if (token.type === 'tr_open') {
-      currentRow = []
-      continue
-    }
-    if (token.type === 'tr_close') {
-      if (currentRow && currentRow.some((cell) => cell.trim())) {
-        rows.push(currentRow)
-      }
-      currentRow = null
-      continue
-    }
-    if ((token.type === 'th_open' || token.type === 'td_open') && currentRow) {
-      currentRow.push(getNextInlineContent(tokens, i))
-    }
-  }
-
-  return { rows, endIndex }
-}
-
-export function documentTitleFromName(name: string) {
-  return name.replace(/\.[^.\\/]+$/, '').trim() || ROOT_TITLE
-}
-
-export function buildMindmapMarkdown(markdown: string, title = ROOT_TITLE) {
-  if (!markdown.trim()) return ''
-
-  const tokens = md.parse(markdown, {})
-  const rootTitle = normalizeNodeText(title).replace(/([\\`*{}\[\]()#+.!_<>])/g, '\\$1')
-  const result: string[] = [`# ${rootTitle || ROOT_TITLE}`]
-  let currentHeadingLevel = 1
-  let listDepth = 0
-
-  for (let i = 0; i < tokens.length; i += 1) {
-    const token = tokens[i]
-
-    if (token.type === 'heading_open') {
-      currentHeadingLevel = clampHeadingLevel(getHeadingLevel(token) + 1)
-      pushHeading(result, currentHeadingLevel, getNextInlineContent(tokens, i) || '未命名章节')
-      i += 2
-      continue
-    }
-
-    if (token.type === 'bullet_list_open' || token.type === 'ordered_list_open') {
-      listDepth += 1
-      continue
-    }
-
-    if (token.type === 'bullet_list_close' || token.type === 'ordered_list_close') {
-      listDepth = Math.max(0, listDepth - 1)
-      continue
-    }
-
-    if (token.type === 'paragraph_open') {
-      const level = currentHeadingLevel + Math.max(listDepth, 1)
-      pushHeading(result, level, getNextInlineContent(tokens, i))
-      i += 2
-      continue
-    }
-
-    if (token.type === 'fence' || token.type === 'code_block') {
-      pushHeading(result, currentHeadingLevel + 1, getFenceContent(token))
-      continue
-    }
-
-    if (token.type === 'html_block') {
-      pushHeading(result, currentHeadingLevel + 1, token.content)
-      continue
-    }
-
-    if (token.type === 'blockquote_open') {
-      pushHeading(result, currentHeadingLevel + 1, '引用')
-      currentHeadingLevel = clampHeadingLevel(currentHeadingLevel + 1)
-      continue
-    }
-
-    if (token.type === 'blockquote_close') {
-      currentHeadingLevel = Math.max(1, currentHeadingLevel - 1)
-      continue
-    }
-
-    if (token.type === 'hr') {
-      pushHeading(result, currentHeadingLevel + 1, '---')
-      continue
-    }
-
-    if (token.type === 'table_open') {
-      const tableLevel = currentHeadingLevel + 1
-      const { rows, endIndex } = collectTableRows(tokens, i)
-      pushHeading(result, tableLevel, '表格')
-      rows.forEach((row) => {
-        pushHeading(result, tableLevel + 1, row.map(normalizeNodeText).join(' | '))
-      })
-      i = endIndex
-    }
-  }
-
-  return result.join('\n')
-}
-
-export function replaceFirstMindmapText(markdown: string, oldText: string, newText: string) {
-  const normalizedOld = oldText.replace(/^(引用|表格|代码块)(\s|:|:)?/, '').trim()
-  if (!normalizedOld || !newText.trim()) return markdown
-
-  const escaped = normalizedOld.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')
-  const directMatch = new RegExp(escaped)
-  if (directMatch.test(markdown)) {
-    return markdown.replace(directMatch, newText.trim())
-  }
-
-  const lines = markdown.split(/\r?\n/)
-  const targetLineIndex = lines.findIndex((line) => normalizeNodeText(line).includes(normalizedOld))
-  if (targetLineIndex >= 0) {
-    lines[targetLineIndex] = lines[targetLineIndex].replace(normalizedOld, newText.trim())
-    return lines.join('\n')
-  }
-
-  return markdown
-}
diff --git a/web_ui/src/utils/mindmapState.ts b/web_ui/src/utils/mindmapState.ts
deleted file mode 100644
index ea07243..0000000
--- a/web_ui/src/utils/mindmapState.ts
+++ /dev/null
@@ -1,46 +0,0 @@
-export interface MindmapNode {
-  content?: string
-  children?: MindmapNode[]
-  payload?: { fold?: number; [key: string]: unknown }
-}
-
-export interface FoldState { paths: Map; unique: Map }
-
-function identity(node: MindmapNode) {
-  // Browser Blob URLs change on every preview render; image identity must not.
-  return (node.content || '').replace(/src="blob:[^"]*"/g, 'src=""').replace(/\s+/g, ' ').trim()
-}
-
-function visit(root: MindmapNode, fn: (node: MindmapNode, path: string, text: string) => void) {
-  const walk = (node: MindmapNode, path: string) => {
-    fn(node, path, identity(node))
-    const occurrences = new Map()
-    for (const child of node.children || []) {
-      const text = identity(child), ordinal = occurrences.get(text) || 0
-      occurrences.set(text, ordinal + 1)
-      walk(child, `${path}/${JSON.stringify([text, ordinal])}`)
-    }
-  }
-  walk(root, 'root')
-}
-
-export function captureFolds(root: MindmapNode): FoldState {
-  const paths = new Map(), unique = new Map(), repeated = new Set()
-  visit(root, (node, path, text) => {
-    const fold = node.payload?.fold || 0
-    paths.set(path, fold)
-    if (unique.has(text)) repeated.add(text)
-    else unique.set(text, fold)
-  })
-  repeated.forEach(text => unique.delete(text))
-  return { paths, unique }
-}
-
-export function restoreFolds(root: MindmapNode, saved?: FoldState) {
-  const counts = new Map()
-  visit(root, (_node, _path, text) => counts.set(text, (counts.get(text) || 0) + 1))
-  visit(root, (node, path, text) => {
-    const fold = saved?.paths.get(path) ?? (counts.get(text) === 1 ? saved?.unique.get(text) : undefined) ?? 0
-    node.payload = { ...node.payload, fold: node.children?.length ? fold : 0 }
-  })
-}
diff --git a/web_ui/src/utils/request.ts b/web_ui/src/utils/request.ts
deleted file mode 100644
index d6b5f2c..0000000
--- a/web_ui/src/utils/request.ts
+++ /dev/null
@@ -1,79 +0,0 @@
-import axios from 'axios'
-
-const getApiBaseURL = () => {
-  const pathname = window.location.pathname
-  const basePath = pathname === '/mindmap' || pathname.startsWith('/mindmap/') ? '/mindmap' : ''
-  return `${basePath}/api`
-}
-
-// ?? axios ??
-const request = axios.create({
-  baseURL: getApiBaseURL(),
-  timeout: 300000, // 5????
-  headers: {
-    'Content-Type': 'application/json'
-  }
-})
-
-// ?????
-request.interceptors.request.use(
-  (config) => {
-    // ?????????token?
-    return config
-  },
-  (error) => {
-    return Promise.reject(error)
-  }
-)
-
-// ?????
-request.interceptors.response.use(
-  (response) => {
-    return response.data
-  },
-  (error) => {
-    // ??????
-    if (error.response) {
-      const serverMessage = error.response.data?.error || error.response.data?.detail
-      if (serverMessage) {
-        error.message = serverMessage
-        return Promise.reject(error)
-      }
-
-      switch (error.response.status) {
-        case 400:
-          error.message = '??????'
-          break
-        case 401:
-          error.message = '?????????'
-          break
-        case 403:
-          error.message = '????'
-          break
-        case 404:
-          error.message = '???????'
-          break
-        case 500:
-          error.message = '???????'
-          break
-        case 502:
-          error.message = '????'
-          break
-        case 503:
-          error.message = '?????'
-          break
-        case 504:
-          error.message = '????'
-          break
-        default:
-          error.message = `????${error.response.status}`
-      }
-    } else {
-      error.message = '??????'
-    }
-    
-    return Promise.reject(error)
-  }
-)
-
-export default request
diff --git a/web_ui/src/utils/uuid.ts b/web_ui/src/utils/uuid.ts
deleted file mode 100644
index 9f0f827..0000000
--- a/web_ui/src/utils/uuid.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-// crypto.randomUUID 仅在安全上下文(HTTPS/localhost)可用;管理平台可能以 HTTP 访问,需要降级。
-export function uuid(): string {
-  if (typeof crypto !== 'undefined' && typeof crypto.randomUUID === 'function') return crypto.randomUUID()
-  const buf = new Uint8Array(16)
-  crypto.getRandomValues(buf)
-  buf[6] = (buf[6] & 0x0f) | 0x40
-  buf[8] = (buf[8] & 0x3f) | 0x80
-  const hex = Array.from(buf, b => b.toString(16).padStart(2, '0')).join('')
-  return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}-${hex.slice(16, 20)}-${hex.slice(20)}`
-}
diff --git a/web_ui/src/utils/wordToPdf.ts b/web_ui/src/utils/wordToPdf.ts
deleted file mode 100644
index ea51608..0000000
--- a/web_ui/src/utils/wordToPdf.ts
+++ /dev/null
@@ -1,143 +0,0 @@
-/**
- * Word 转 PDF 工具
- * 使用 mammoth 将 Word 文档转换为 HTML,然后使用 html2pdf.js 转换为 PDF
- */
-
-declare global {
-  interface Window {
-    mammoth: {
-      convertToHtml: (arrayBuffer: ArrayBuffer) => Promise<{ value: string }>;
-      convertToHtmlOptions: (options: object) => object;
-    };
-    html2pdf: {
-      (): {
-        set: (options: object) => ReturnType;
-        from: (element: HTMLElement | string) => ReturnType;
-        save: () => Promise;
-        outputPdf: (type: string) => Promise;
-      };
-    };
-  }
-}
-
-/**
- * 动态加载 mammoth 库
- */
-async function loadMammoth(): Promise {
-  if (typeof window.mammoth === 'undefined') {
-    return new Promise((resolve, reject) => {
-      const script = document.createElement('script');
-      script.src = 'https://cdn.jsdelivr.net/npm/mammoth@1.6.0/mammoth.browser.min.js';
-      script.onload = () => resolve();
-      script.onerror = () => reject(new Error('Failed to load mammoth library'));
-      document.head.appendChild(script);
-    });
-  }
-}
-
-/**
- * 动态加载 html2pdf 库
- */
-export async function loadHtml2Pdf(): Promise {
-  if (typeof window.html2pdf === 'undefined') {
-    return new Promise((resolve, reject) => {
-      const script = document.createElement('script');
-      script.src = 'https://cdn.jsdelivr.net/npm/html2pdf.js@0.10.1/dist/html2pdf.bundle.min.js';
-      script.onload = () => resolve();
-      script.onerror = () => reject(new Error('Failed to load html2pdf library'));
-      document.head.appendChild(script);
-    });
-  }
-}
-
-/**
- * 将 Word 文档转换为 PDF
- * @param file Word 文件
- * @param onProgress 进度回调
- * @returns PDF 文件
- */
-export async function convertWordToPdf(
-  file: File,
-  onProgress?: (progress: number) => void
-): Promise {
-  console.log('convertWordToPdf called with file:', file.name, file.size)
-  onProgress?.(10);
-
-  // 加载必要的库
-  console.log('Loading mammoth library...')
-  await loadMammoth();
-  console.log('Mammoth library loaded')
-  onProgress?.(20);
-
-  console.log('Loading html2pdf library...')
-  await loadHtml2Pdf();
-  console.log('html2pdf library loaded')
-  onProgress?.(30);
-
-  // 读取 Word 文件
-  console.log('Reading Word file...')
-  const arrayBuffer = await file.arrayBuffer();
-  console.log('Word file read successfully')
-  onProgress?.(50);
-
-  // 转换为 HTML
-  console.log('Converting Word to HTML...')
-  const result = await window.mammoth.convertToHtml({ arrayBuffer });
-  console.log('Word to HTML conversion successful, HTML length:', result.value.length)
-  const html = result.value;
-  onProgress?.(70);
-
-  // 创建临时容器
-  console.log('Creating temporary container...')
-  const container = document.createElement('div');
-  container.innerHTML = `
-    
- ${html} -
- `; - container.style.width = '595px'; // A4 width in pixels at 72 DPI - document.body.appendChild(container); - console.log('Temporary container created') - - onProgress?.(80); - - // 生成 PDF - console.log('Generating PDF...') - const pdfOptions = { - margin: 10, - filename: file.name.replace(/\.(docx?|doc)$/i, '.pdf'), - image: { type: 'jpeg', quality: 0.98 }, - html2canvas: { scale: 2, useCORS: true }, - jsPDF: { unit: 'mm', format: 'a4', orientation: 'portrait' } - }; - - const pdfBlob = await window.html2pdf() - .set(pdfOptions) - .from(container) - .outputPdf('blob'); - console.log('PDF generated successfully, blob size:', pdfBlob.size) - - onProgress?.(95); - - // 清理 - document.body.removeChild(container); - console.log('Temporary container removed') - - // 转换为 File 对象 - const pdfFile = new File([pdfBlob], pdfOptions.filename, { - type: 'application/pdf' - }); - console.log('PDF file created:', pdfFile.name, pdfFile.size) - - onProgress?.(100); - - return pdfFile; -} - -/** - * 检查文件是否为 Word 文档 - */ -export function isWordFile(file: File): boolean { - const fileName = file.name.toLowerCase(); - return fileName.endsWith('.docx') || fileName.endsWith('.doc'); -} diff --git a/web_ui/src/views/DocumentProcessor.vue b/web_ui/src/views/DocumentProcessor.vue deleted file mode 100644 index c74415e..0000000 --- a/web_ui/src/views/DocumentProcessor.vue +++ /dev/null @@ -1,1362 +0,0 @@ - - - - - diff --git a/web_ui/start.sh b/web_ui/start.sh deleted file mode 100644 index 6347a29..0000000 --- a/web_ui/start.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -# MinerU Vue.js Web UI 启动脚本 - -echo "🚀 启动 MinerU Vue.js Web UI..." - -# 检查是否已安装依赖 -if [ ! -d "node_modules" ]; then - echo "📦 安装依赖..." - npm install -fi - -# 启动开发服务器 -echo "🌐 启动前端开发服务器..." -npm run dev -- --host \ No newline at end of file diff --git a/web_ui/tsconfig.json b/web_ui/tsconfig.json deleted file mode 100644 index 02eb149..0000000 --- a/web_ui/tsconfig.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2020", - "useDefineForClassFields": true, - "module": "ESNext", - "lib": ["ES2020", "DOM", "DOM.Iterable"], - "skipLibCheck": true, - "moduleResolution": "bundler", - "allowImportingTsExtensions": true, - "resolveJsonModule": true, - "isolatedModules": true, - "noEmit": true, - "jsx": "preserve", - "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "noFallthroughCasesInSwitch": true, - "baseUrl": ".", - "paths": { - "@/*": ["src/*"] - } - }, - "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"], - "references": [{ "path": "./tsconfig.node.json" }] -} \ No newline at end of file diff --git a/web_ui/tsconfig.node.json b/web_ui/tsconfig.node.json deleted file mode 100644 index 52f8850..0000000 --- a/web_ui/tsconfig.node.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "compilerOptions": { - "composite": true, - "skipLibCheck": true, - "module": "ESNext", - "moduleResolution": "bundler" - }, - "include": ["vite.config.ts"] -} \ No newline at end of file diff --git a/web_ui/vite.config.ts b/web_ui/vite.config.ts deleted file mode 100644 index ee61067..0000000 --- a/web_ui/vite.config.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import { resolve } from 'path' - -export default defineConfig({ - base: './', - plugins: [vue()], - resolve: { - alias: { - '@': resolve(__dirname, 'src') - } - }, - server: { - port: 3000, - proxy: { - '/api': { - target: process.env.VITE_API_PROXY || 'http://127.0.0.1:8000', - changeOrigin: true - }, - '/mindmap/api': { - target: process.env.VITE_API_PROXY || 'http://127.0.0.1:8000', - changeOrigin: true, - rewrite: path => path.replace(/^\/mindmap\/api/, '/api') - } - } - }, - build: { - outDir: 'dist', - assetsDir: 'assets', - rollupOptions: { - output: { - manualChunks: { - vendor: ['vue', 'element-plus'], - markdown: ['markdown-it'] - } - } - } - } -})