diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..0e259d4 --- /dev/null +++ b/LICENSE @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. diff --git a/asset-manifest.json b/asset-manifest.json new file mode 100644 index 0000000..e7b9a2f --- /dev/null +++ b/asset-manifest.json @@ -0,0 +1,25 @@ +{ + "files": { + "main.css": "/qieyun-autoderiver/static/css/main.a4a38989.chunk.css", + "main.js": "/qieyun-autoderiver/static/js/main.7ca3f580.chunk.js", + "main.js.map": "/qieyun-autoderiver/static/js/main.7ca3f580.chunk.js.map", + "runtime-main.js": "/qieyun-autoderiver/static/js/runtime-main.bb9dd2c4.js", + "runtime-main.js.map": "/qieyun-autoderiver/static/js/runtime-main.bb9dd2c4.js.map", + "static/css/2.814901b2.chunk.css": "/qieyun-autoderiver/static/css/2.814901b2.chunk.css", + "static/js/2.f516511b.chunk.js": "/qieyun-autoderiver/static/js/2.f516511b.chunk.js", + "static/js/2.f516511b.chunk.js.map": "/qieyun-autoderiver/static/js/2.f516511b.chunk.js.map", + "static/js/3.6f7d14ff.chunk.js": "/qieyun-autoderiver/static/js/3.6f7d14ff.chunk.js", + "static/js/3.6f7d14ff.chunk.js.map": "/qieyun-autoderiver/static/js/3.6f7d14ff.chunk.js.map", + "index.html": "/qieyun-autoderiver/index.html", + "static/css/2.814901b2.chunk.css.map": "/qieyun-autoderiver/static/css/2.814901b2.chunk.css.map", + "static/css/main.a4a38989.chunk.css.map": "/qieyun-autoderiver/static/css/main.a4a38989.chunk.css.map", + "static/js/2.f516511b.chunk.js.LICENSE.txt": "/qieyun-autoderiver/static/js/2.f516511b.chunk.js.LICENSE.txt" + }, + "entrypoints": [ + "static/js/runtime-main.bb9dd2c4.js", + "static/css/2.814901b2.chunk.css", + "static/js/2.f516511b.chunk.js", + "static/css/main.a4a38989.chunk.css", + "static/js/main.7ca3f580.chunk.js" + ] +} \ No newline at end of file diff --git a/index.html b/index.html index b913326..78ddf1c 100644 --- a/index.html +++ b/index.html @@ -1,8 +1 @@ - - - - - Coming soon™ - - - +切韻音系自動推導器
\ No newline at end of file diff --git a/static/css/2.814901b2.chunk.css b/static/css/2.814901b2.chunk.css new file mode 100644 index 0000000..4b6a075 --- /dev/null +++ b/static/css/2.814901b2.chunk.css @@ -0,0 +1,12 @@ +/*! +Pure v2.1.0 +Copyright 2013 Yahoo! +Licensed under the BSD License. +https://github.com/pure-css/pure/blob/master/LICENSE +*/ +/*! +normalize.css v | MIT License | git.io/normalize +Copyright (c) Nicolas Gallagher and Jonathan Neal +*/ +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{-webkit-box-sizing:content-box;box-sizing:initial;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:initial}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:initial}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}html{font-family:sans-serif}.hidden,[hidden]{display:none!important}.pure-img{max-width:100%;height:auto;display:block}.pure-g{letter-spacing:-.31em;text-rendering:optimizespeed;font-family:FreeSans,Arimo,"Droid Sans",Helvetica,Arial,sans-serif;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-line-pack:start;align-content:flex-start}@media (-ms-high-contrast:active),(-ms-high-contrast:none){table .pure-g{display:block}}.opera-only :-o-prefocus,.pure-g{word-spacing:-.43em}.pure-u{display:inline-block;letter-spacing:normal;word-spacing:normal;vertical-align:top;text-rendering:auto}.pure-g [class*=pure-u]{font-family:sans-serif}.pure-u-1,.pure-u-1-1,.pure-u-1-2,.pure-u-1-3,.pure-u-1-4,.pure-u-1-5,.pure-u-1-6,.pure-u-1-8,.pure-u-1-12,.pure-u-1-24,.pure-u-2-3,.pure-u-2-5,.pure-u-2-24,.pure-u-3-4,.pure-u-3-5,.pure-u-3-8,.pure-u-3-24,.pure-u-4-5,.pure-u-4-24,.pure-u-5-5,.pure-u-5-6,.pure-u-5-8,.pure-u-5-12,.pure-u-5-24,.pure-u-6-24,.pure-u-7-8,.pure-u-7-12,.pure-u-7-24,.pure-u-8-24,.pure-u-9-24,.pure-u-10-24,.pure-u-11-12,.pure-u-11-24,.pure-u-12-24,.pure-u-13-24,.pure-u-14-24,.pure-u-15-24,.pure-u-16-24,.pure-u-17-24,.pure-u-18-24,.pure-u-19-24,.pure-u-20-24,.pure-u-21-24,.pure-u-22-24,.pure-u-23-24,.pure-u-24-24{display:inline-block;letter-spacing:normal;word-spacing:normal;vertical-align:top;text-rendering:auto}.pure-u-1-24{width:4.1667%}.pure-u-1-12,.pure-u-2-24{width:8.3333%}.pure-u-1-8,.pure-u-3-24{width:12.5%}.pure-u-1-6,.pure-u-4-24{width:16.6667%}.pure-u-1-5{width:20%}.pure-u-5-24{width:20.8333%}.pure-u-1-4,.pure-u-6-24{width:25%}.pure-u-7-24{width:29.1667%}.pure-u-1-3,.pure-u-8-24{width:33.3333%}.pure-u-3-8,.pure-u-9-24{width:37.5%}.pure-u-2-5{width:40%}.pure-u-5-12,.pure-u-10-24{width:41.6667%}.pure-u-11-24{width:45.8333%}.pure-u-1-2,.pure-u-12-24{width:50%}.pure-u-13-24{width:54.1667%}.pure-u-7-12,.pure-u-14-24{width:58.3333%}.pure-u-3-5{width:60%}.pure-u-5-8,.pure-u-15-24{width:62.5%}.pure-u-2-3,.pure-u-16-24{width:66.6667%}.pure-u-17-24{width:70.8333%}.pure-u-3-4,.pure-u-18-24{width:75%}.pure-u-19-24{width:79.1667%}.pure-u-4-5{width:80%}.pure-u-5-6,.pure-u-20-24{width:83.3333%}.pure-u-7-8,.pure-u-21-24{width:87.5%}.pure-u-11-12,.pure-u-22-24{width:91.6667%}.pure-u-23-24{width:95.8333%}.pure-u-1,.pure-u-1-1,.pure-u-5-5,.pure-u-24-24{width:100%}.pure-button{display:inline-block;line-height:normal;white-space:nowrap;vertical-align:middle;text-align:center;cursor:pointer;-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;box-sizing:border-box}.pure-button::-moz-focus-inner{padding:0;border:0}.pure-button-group{letter-spacing:-.31em;text-rendering:optimizespeed}.opera-only :-o-prefocus,.pure-button-group{word-spacing:-.43em}.pure-button-group .pure-button{letter-spacing:normal;word-spacing:normal;vertical-align:top;text-rendering:auto}.pure-button{font-family:inherit;font-size:100%;padding:.5em 1em;color:rgba(0,0,0,.8);border:transparent;background-color:#e6e6e6;text-decoration:none;border-radius:2px}.pure-button-hover,.pure-button:focus,.pure-button:hover{background-image:-webkit-gradient(linear,left top,left bottom,from(transparent),color-stop(40%,rgba(0,0,0,.05)),to(rgba(0,0,0,.1)));background-image:linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1))}.pure-button:focus{outline:0}.pure-button-active,.pure-button:active{-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.15) inset,0 0 6px rgba(0,0,0,.2) inset;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15),inset 0 0 6px rgba(0,0,0,.2);border-color:#000}.pure-button-disabled,.pure-button-disabled:active,.pure-button-disabled:focus,.pure-button-disabled:hover,.pure-button[disabled]{border:none;background-image:none;opacity:.4;cursor:not-allowed;-webkit-box-shadow:none;box-shadow:none;pointer-events:none}.pure-button-hidden{display:none}.pure-button-primary,.pure-button-selected,a.pure-button-primary,a.pure-button-selected{background-color:#0078e7;color:#fff}.pure-button-group .pure-button{margin:0;border-radius:0;border-right:1px solid rgba(0,0,0,.2)}.pure-button-group .pure-button:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px}.pure-button-group .pure-button:last-child{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:none}.pure-form input[type=color],.pure-form input[type=date],.pure-form input[type=datetime-local],.pure-form input[type=datetime],.pure-form input[type=email],.pure-form input[type=month],.pure-form input[type=number],.pure-form input[type=password],.pure-form input[type=search],.pure-form input[type=tel],.pure-form input[type=text],.pure-form input[type=time],.pure-form input[type=url],.pure-form input[type=week],.pure-form select,.pure-form textarea{padding:.5em .6em;display:inline-block;border:1px solid #ccc;-webkit-box-shadow:inset 0 1px 3px #ddd;box-shadow:inset 0 1px 3px #ddd;border-radius:4px;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}.pure-form input:not([type]){padding:.5em .6em;display:inline-block;border:1px solid #ccc;-webkit-box-shadow:inset 0 1px 3px #ddd;box-shadow:inset 0 1px 3px #ddd;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box}.pure-form input[type=color]{padding:.2em .5em}.pure-form input:not([type]):focus,.pure-form input[type=color]:focus,.pure-form input[type=date]:focus,.pure-form input[type=datetime-local]:focus,.pure-form input[type=datetime]:focus,.pure-form input[type=email]:focus,.pure-form input[type=month]:focus,.pure-form input[type=number]:focus,.pure-form input[type=password]:focus,.pure-form input[type=search]:focus,.pure-form input[type=tel]:focus,.pure-form input[type=text]:focus,.pure-form input[type=time]:focus,.pure-form input[type=url]:focus,.pure-form input[type=week]:focus,.pure-form select:focus,.pure-form textarea:focus{outline:0;border-color:#129fea}.pure-form input[type=checkbox]:focus,.pure-form input[type=file]:focus,.pure-form input[type=radio]:focus{outline:thin solid #129fea;outline:1px auto #129fea}.pure-form .pure-checkbox,.pure-form .pure-radio{margin:.5em 0;display:block}.pure-form input:not([type])[disabled],.pure-form input[type=color][disabled],.pure-form input[type=date][disabled],.pure-form input[type=datetime-local][disabled],.pure-form input[type=datetime][disabled],.pure-form input[type=email][disabled],.pure-form input[type=month][disabled],.pure-form input[type=number][disabled],.pure-form input[type=password][disabled],.pure-form input[type=search][disabled],.pure-form input[type=tel][disabled],.pure-form input[type=text][disabled],.pure-form input[type=time][disabled],.pure-form input[type=url][disabled],.pure-form input[type=week][disabled],.pure-form select[disabled],.pure-form textarea[disabled]{cursor:not-allowed;background-color:#eaeded;color:#cad2d3}.pure-form input[readonly],.pure-form select[readonly],.pure-form textarea[readonly]{background-color:#eee;color:#777;border-color:#ccc}.pure-form input:focus:invalid,.pure-form select:focus:invalid,.pure-form textarea:focus:invalid{color:#b94a48;border-color:#e9322d}.pure-form input[type=checkbox]:focus:invalid:focus,.pure-form input[type=file]:focus:invalid:focus,.pure-form input[type=radio]:focus:invalid:focus{outline-color:#e9322d}.pure-form select{height:2.25em;border:1px solid #ccc;background-color:#fff}.pure-form select[multiple]{height:auto}.pure-form label{margin:.5em 0 .2em}.pure-form fieldset{margin:0;padding:.35em 0 .75em;border:0}.pure-form legend{display:block;width:100%;padding:.3em 0;margin-bottom:.3em;color:#333;border-bottom:1px solid #e5e5e5}.pure-form-stacked input:not([type]),.pure-form-stacked input[type=color],.pure-form-stacked input[type=date],.pure-form-stacked input[type=datetime-local],.pure-form-stacked input[type=datetime],.pure-form-stacked input[type=email],.pure-form-stacked input[type=file],.pure-form-stacked input[type=month],.pure-form-stacked input[type=number],.pure-form-stacked input[type=password],.pure-form-stacked input[type=search],.pure-form-stacked input[type=tel],.pure-form-stacked input[type=text],.pure-form-stacked input[type=time],.pure-form-stacked input[type=url],.pure-form-stacked input[type=week],.pure-form-stacked label,.pure-form-stacked select,.pure-form-stacked textarea{display:block;margin:.25em 0}.pure-form-aligned input,.pure-form-aligned select,.pure-form-aligned textarea,.pure-form-message-inline{display:inline-block;vertical-align:middle}.pure-form-aligned textarea{vertical-align:top}.pure-form-aligned .pure-control-group{margin-bottom:.5em}.pure-form-aligned .pure-control-group label{text-align:right;display:inline-block;vertical-align:middle;width:10em;margin:0 1em 0 0}.pure-form-aligned .pure-controls{margin:1.5em 0 0 11em}.pure-form .pure-input-rounded,.pure-form input.pure-input-rounded{border-radius:2em;padding:.5em 1em}.pure-form .pure-group fieldset{margin-bottom:10px}.pure-form .pure-group input,.pure-form .pure-group textarea{display:block;padding:10px;margin:0 0 -1px;border-radius:0;position:relative;top:-1px}.pure-form .pure-group input:focus,.pure-form .pure-group textarea:focus{z-index:3}.pure-form .pure-group input:first-child,.pure-form .pure-group textarea:first-child{top:1px;border-radius:4px 4px 0 0;margin:0}.pure-form .pure-group input:first-child:last-child,.pure-form .pure-group textarea:first-child:last-child{top:1px;border-radius:4px;margin:0}.pure-form .pure-group input:last-child,.pure-form .pure-group textarea:last-child{top:-2px;border-radius:0 0 4px 4px;margin:0}.pure-form .pure-group button{margin:.35em 0}.pure-form .pure-input-1{width:100%}.pure-form .pure-input-3-4{width:75%}.pure-form .pure-input-2-3{width:66%}.pure-form .pure-input-1-2{width:50%}.pure-form .pure-input-1-3{width:33%}.pure-form .pure-input-1-4{width:25%}.pure-form-message-inline{display:inline-block;padding-left:.3em;color:#666;vertical-align:middle;font-size:.875em}.pure-form-message{display:block;color:#666;font-size:.875em}@media only screen and (max-width:480px){.pure-form button[type=submit]{margin:.7em 0 0}.pure-form input:not([type]),.pure-form input[type=color],.pure-form input[type=date],.pure-form input[type=datetime-local],.pure-form input[type=datetime],.pure-form input[type=email],.pure-form input[type=month],.pure-form input[type=number],.pure-form input[type=password],.pure-form input[type=search],.pure-form input[type=tel],.pure-form input[type=text],.pure-form input[type=time],.pure-form input[type=url],.pure-form input[type=week],.pure-form label{margin-bottom:.3em;display:block}.pure-group input:not([type]),.pure-group input[type=color],.pure-group input[type=date],.pure-group input[type=datetime-local],.pure-group input[type=datetime],.pure-group input[type=email],.pure-group input[type=month],.pure-group input[type=number],.pure-group input[type=password],.pure-group input[type=search],.pure-group input[type=tel],.pure-group input[type=text],.pure-group input[type=time],.pure-group input[type=url],.pure-group input[type=week]{margin-bottom:0}.pure-form-aligned .pure-control-group label{margin-bottom:.3em;text-align:left;display:block;width:100%}.pure-form-aligned .pure-controls{margin:1.5em 0 0}.pure-form-message,.pure-form-message-inline{display:block;font-size:.75em;padding:.2em 0 .8em}}.pure-menu{-webkit-box-sizing:border-box;box-sizing:border-box}.pure-menu-fixed{position:fixed;left:0;top:0;z-index:3}.pure-menu-item,.pure-menu-list{position:relative}.pure-menu-list{list-style:none;margin:0;padding:0}.pure-menu-item{padding:0;margin:0;height:100%}.pure-menu-heading,.pure-menu-link{display:block;text-decoration:none;white-space:nowrap}.pure-menu-horizontal{width:100%;white-space:nowrap}.pure-menu-horizontal .pure-menu-list{display:inline-block}.pure-menu-horizontal .pure-menu-heading,.pure-menu-horizontal .pure-menu-item,.pure-menu-horizontal .pure-menu-separator{display:inline-block;vertical-align:middle}.pure-menu-item .pure-menu-item{display:block}.pure-menu-children{display:none;position:absolute;left:100%;top:0;margin:0;padding:0;z-index:3}.pure-menu-horizontal .pure-menu-children{left:0;top:auto;width:inherit}.pure-menu-active>.pure-menu-children,.pure-menu-allow-hover:hover>.pure-menu-children{display:block;position:absolute}.pure-menu-has-children>.pure-menu-link:after{padding-left:.5em;content:"\25B8";font-size:small}.pure-menu-horizontal .pure-menu-has-children>.pure-menu-link:after{content:"\25BE"}.pure-menu-scrollable{overflow-y:scroll;overflow-x:hidden}.pure-menu-scrollable .pure-menu-list{display:block}.pure-menu-horizontal.pure-menu-scrollable .pure-menu-list{display:inline-block}.pure-menu-horizontal.pure-menu-scrollable{white-space:nowrap;overflow-y:hidden;overflow-x:auto;padding:.5em 0}.pure-menu-horizontal .pure-menu-children .pure-menu-separator,.pure-menu-separator{background-color:#ccc;height:1px;margin:.3em 0}.pure-menu-horizontal .pure-menu-separator{width:1px;height:1.3em;margin:0 .3em}.pure-menu-horizontal .pure-menu-children .pure-menu-separator{display:block;width:auto}.pure-menu-heading{text-transform:uppercase;color:#565d64}.pure-menu-link{color:#777}.pure-menu-children{background-color:#fff}.pure-menu-heading,.pure-menu-link{padding:.5em 1em}.pure-menu-disabled{opacity:.5}.pure-menu-disabled .pure-menu-link:hover{background-color:initial;cursor:default}.pure-menu-active>.pure-menu-link,.pure-menu-link:focus,.pure-menu-link:hover{background-color:#eee}.pure-menu-selected>.pure-menu-link,.pure-menu-selected>.pure-menu-link:visited{color:#000}.pure-table{border-collapse:collapse;border-spacing:0;empty-cells:show;border:1px solid #cbcbcb}.pure-table caption{color:#000;font:italic 85%/1 arial,sans-serif;padding:1em 0;text-align:center}.pure-table td,.pure-table th{border-left:1px solid #cbcbcb;border-bottom-width:0;border-right-width:0;border-top-width:0;font-size:inherit;margin:0;overflow:visible;padding:.5em 1em}.pure-table thead{background-color:#e0e0e0;color:#000;text-align:left;vertical-align:bottom}.pure-table td{background-color:initial}.pure-table-odd td,.pure-table-striped tr:nth-child(2n-1) td{background-color:#f2f2f2}.pure-table-bordered td{border-bottom:1px solid #cbcbcb}.pure-table-bordered tbody>tr:last-child>td{border-bottom-width:0}.pure-table-horizontal td,.pure-table-horizontal th{border-width:0 0 1px;border-bottom:1px solid #cbcbcb}.pure-table-horizontal tbody>tr:last-child>td{border-bottom-width:0}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}.cm-fat-cursor{caret-color:transparent}@-webkit-keyframes blink{50%{background-color:initial}}@keyframes blink{50%{background-color:initial}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative;z-index:0}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:initial}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:initial}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;-webkit-font-feature-settings:"calt";font-feature-settings:"calt";font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:initial}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;height:auto;z-index:9}.CodeMirror-foldmarker{color:#00f;text-shadow:#b9f 1px 1px 2px,#b9f -1px -1px 2px,#b9f 1px -1px 2px,#b9f -1px 1px 2px;font-family:arial;line-height:.3;cursor:pointer}.CodeMirror-foldgutter{width:.7em}.CodeMirror-foldgutter-folded,.CodeMirror-foldgutter-open{cursor:pointer}.CodeMirror-foldgutter-open:after{content:"\25BE"}.CodeMirror-foldgutter-folded:after{content:"\25B8"}.CodeMirror-hints{position:absolute;z-index:10;overflow:hidden;list-style:none;margin:0;padding:2px;box-shadow:2px 3px 5px rgba(0,0,0,.2);border-radius:3px;border:1px solid silver;background:#fff;font-size:90%;font-family:monospace;max-height:20em;overflow-y:auto}.CodeMirror-hint{margin:0;padding:0 4px;border-radius:2px;white-space:pre;color:#000;cursor:pointer}li.CodeMirror-hint-active{background:#08f;color:#fff}.CodeMirror-lint-markers{width:16px}.CodeMirror-lint-tooltip{background-color:#ffd;border:1px solid #000;border-radius:4px 4px 4px 4px;color:#000;font-family:monospace;font-size:10pt;overflow:hidden;padding:2px 5px;position:fixed;white-space:pre;white-space:pre-wrap;z-index:100;max-width:600px;opacity:0;transition:opacity .4s;-moz-transition:opacity .4s;-webkit-transition:opacity .4s;-o-transition:opacity .4s;-ms-transition:opacity .4s}.CodeMirror-lint-mark{background-position:0 100%;background-repeat:repeat-x}.CodeMirror-lint-mark-warning{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=")}.CodeMirror-lint-mark-error{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==")}.CodeMirror-lint-marker{background-position:50%;background-repeat:no-repeat;cursor:pointer;display:inline-block;height:16px;width:16px;vertical-align:middle;position:relative}.CodeMirror-lint-message{padding-left:18px;background-position:0 0;background-repeat:no-repeat}.CodeMirror-lint-marker-warning,.CodeMirror-lint-message-warning{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=")}.CodeMirror-lint-marker-error,.CodeMirror-lint-message-error{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=")}.CodeMirror-lint-marker-multiple{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");background-repeat:no-repeat;background-position:100% 100%;width:100%;height:100%}.CodeMirror-lint-line-error{background-color:rgba(183,76,81,.08)}.CodeMirror-lint-line-warning{background-color:rgba(255,211,0,.1)}.CodeMirror-simplescroll-horizontal div,.CodeMirror-simplescroll-vertical div{position:absolute;background:#ccc;box-sizing:border-box;border:1px solid #bbb;border-radius:2px}.CodeMirror-simplescroll-horizontal,.CodeMirror-simplescroll-vertical{position:absolute;z-index:6;background:#eee}.CodeMirror-simplescroll-horizontal{bottom:0;left:0;height:8px}.CodeMirror-simplescroll-horizontal div{bottom:0;height:100%}.CodeMirror-simplescroll-vertical{right:0;top:0;width:8px}.CodeMirror-simplescroll-vertical div{right:0;width:100%}.CodeMirror-overlayscroll .CodeMirror-gutter-filler,.CodeMirror-overlayscroll .CodeMirror-scrollbar-filler{display:none}.CodeMirror-overlayscroll-horizontal div,.CodeMirror-overlayscroll-vertical div{position:absolute;background:#bcd;border-radius:3px}.CodeMirror-overlayscroll-horizontal,.CodeMirror-overlayscroll-vertical{position:absolute;z-index:6}.CodeMirror-overlayscroll-horizontal{bottom:0;left:0;height:6px}.CodeMirror-overlayscroll-horizontal div{bottom:0;height:100%}.CodeMirror-overlayscroll-vertical{right:0;top:0;width:6px}.CodeMirror-overlayscroll-vertical div{right:0;width:100%} +/*# sourceMappingURL=2.814901b2.chunk.css.map */ \ No newline at end of file diff --git a/static/css/2.814901b2.chunk.css.map b/static/css/2.814901b2.chunk.css.map new file mode 100644 index 0000000..d9ace87 --- /dev/null +++ b/static/css/2.814901b2.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack://node_modules/purecss/build/pure.css","webpack://node_modules/codemirror/lib/codemirror.css","webpack://node_modules/codemirror/addon/display/fullscreen.css","webpack://node_modules/codemirror/addon/fold/foldgutter.css","webpack://node_modules/codemirror/addon/hint/show-hint.css","webpack://node_modules/codemirror/addon/lint/lint.css","webpack://node_modules/codemirror/addon/scroll/simplescrollbars.css"],"names":[],"mappings":"AAAA;;;;;CAKC;AACD;;;CAGC;AACD,2EAA2E,CAU3E,KACE,gBAAiB,CACjB,6BACF,CASA,KACE,QACF,CAMA,KACE,aACF,CAOA,GACE,aAAc,CACd,cACF,CAUA,GACE,8BAA+B,CACvB,kBAAuB,CAC/B,QAAS,CACT,gBACF,CAOA,IACE,+BAAiC,CACjC,aACF,CASA,EACE,wBACF,CAOA,YACE,kBAAmB,CACnB,yBAA0B,CAC1B,wCAAyC,CACjC,gCACV,CAMA,SAEE,kBACF,CAOA,cAGE,+BAAiC,CACjC,aACF,CAMA,MACE,aACF,CAOA,QAEE,aAAc,CACd,aAAc,CACd,iBAAkB,CAClB,sBACF,CAEA,IACE,aACF,CAEA,IACE,SACF,CASA,IACE,iBACF,CAUA,sCAKE,mBAAoB,CACpB,cAAe,CACf,gBAAiB,CACjB,QACF,CAOA,aAEE,gBACF,CAOA,cAEE,mBACF,CAMA,gDAIE,yBACF,CAMA,wHAIE,iBAAkB,CAClB,SACF,CAMA,4GAIE,6BACF,CAMA,SACE,0BACF,CASA,OACE,6BAA8B,CACtB,qBAAsB,CAC9B,aAAc,CACd,aAAc,CACd,cAAe,CACf,SAAU,CACV,kBACF,CAMA,SACE,sBACF,CAMA,SACE,aACF,CAOA,6BAEE,6BAA8B,CACtB,qBAAsB,CAC9B,SACF,CAMA,kFAEE,WACF,CAOA,cACE,4BAA6B,CAC7B,mBACF,CAMA,yCACE,uBACF,CAOA,6BACE,yBAA0B,CAC1B,YACF,CASA,QACE,aACF,CAMA,QACE,iBACF,CAiBA,kBACE,YACF,CAYA,KACI,sBACJ,CAMA,iBAEI,sBACJ,CAMA,UACI,cAAe,CACf,WAAY,CACZ,aACJ,CAIA,QACI,qBAAuB,CACvB,4BAA6B,CAkB7B,kEAAwE,CAIxE,mBAAoB,CACpB,YAAa,CAGT,sBAAuB,CACnB,kBAAmB,CAG3B,wBAAyB,CACrB,wBACR,CAGA,2DACC,cACC,aACD,CACD,CAMA,iCAEI,mBACJ,CAEA,QACI,oBAAqB,CACrB,qBAAsB,CACtB,mBAAoB,CACpB,kBAAmB,CACnB,mBACJ,CAMA,wBACI,sBACJ,CAEA,klBA8CI,oBAAqB,CACrB,qBAAsB,CACtB,mBAAoB,CACpB,kBAAmB,CACnB,mBACJ,CAEA,aACI,aACJ,CAEA,0BAEI,aACJ,CAEA,yBAEI,WACJ,CAEA,yBAEI,cACJ,CAEA,YACI,SACJ,CAEA,aACI,cACJ,CAEA,yBAEI,SACJ,CAEA,aACI,cACJ,CAEA,yBAEI,cACJ,CAEA,yBAEI,WACJ,CAEA,YACI,SACJ,CAEA,2BAEI,cACJ,CAEA,cACI,cACJ,CAEA,0BAEI,SACJ,CAEA,cACI,cACJ,CAEA,2BAEI,cACJ,CAEA,YACI,SACJ,CAEA,0BAEI,WACJ,CAEA,0BAEI,cACJ,CAEA,cACI,cACJ,CAEA,0BAEI,SACJ,CAEA,cACI,cACJ,CAEA,YACI,SACJ,CAEA,0BAEI,cACJ,CAEA,0BAEI,WACJ,CAEA,4BAEI,cACJ,CAEA,cACI,cACJ,CAEA,gDAII,UACJ,CACA,aAEI,oBAAqB,CACrB,kBAAmB,CACnB,kBAAmB,CACnB,qBAAsB,CACtB,iBAAkB,CAClB,cAAe,CACf,sBAAuB,CACvB,wBAAyB,CACtB,qBAAsB,CACrB,oBAAqB,CACjB,gBAAiB,CACzB,6BAA8B,CACtB,qBACZ,CAGA,+BACI,SAAU,CACV,QACJ,CAGA,mBACI,qBAAuB,CACvB,4BACJ,CAEA,4CAEI,mBACJ,CAEA,gCACI,qBAAsB,CACtB,mBAAoB,CACpB,kBAAmB,CACnB,mBACJ,CAIA,aACI,mBAAoB,CACpB,cAAe,CACf,gBAAkB,CAClB,oBAA0B,CAC1B,kBAA6B,CAC7B,wBAAyB,CACzB,oBAAqB,CACrB,iBACJ,CAEA,yDAII,mIAAwF,CAAxF,gFACJ,CACA,mBACI,SACJ,CACA,wCAEI,+EAAsF,CAC9E,uEAA8E,CACtF,iBACJ,CAEA,kIAKI,WAAY,CACZ,qBAAsB,CACtB,UAAa,CACb,kBAAmB,CACnB,uBAAwB,CAChB,eAAgB,CACxB,mBACJ,CAEA,oBACI,YACJ,CAEA,wFAII,wBAAkC,CAClC,UACJ,CAGA,gCACI,QAAS,CACT,eAAgB,CAChB,qCAEJ,CAEA,4CACI,0BAA2B,CAC3B,6BACJ,CACA,2CACI,2BAA4B,CAC5B,8BAA+B,CAC/B,iBACJ,CAUA,qcAgBI,iBAAoB,CACpB,oBAAqB,CACrB,qBAAsB,CACtB,uCAAwC,CAChC,+BAAgC,CACxC,iBAAkB,CAClB,qBAAsB,CACtB,6BAA8B,CACtB,qBACZ,CAMA,6BACI,iBAAoB,CACpB,oBAAqB,CACrB,qBAAsB,CACtB,uCAAwC,CAChC,+BAAgC,CACxC,iBAAkB,CAClB,6BAA8B,CACtB,qBACZ,CAKA,6BACI,iBACJ,CA2BA,wkBACI,SAAU,CACV,oBACJ,CAEA,2GAGI,0BAA2B,CAC3B,wBACJ,CACA,iDAEI,aAAe,CACf,aACJ,CA2BA,4oBACI,kBAAmB,CACnB,wBAAyB,CACzB,aACJ,CACA,qFAGI,qBAAsB,CACtB,UAAW,CACX,iBACJ,CAEA,iGAGI,aAAc,CACd,oBACJ,CACA,qJAGI,qBACJ,CACA,kBAEI,aAAc,CACd,qBAAsB,CACtB,qBACJ,CACA,4BACI,WACJ,CACA,iBACI,kBACJ,CACA,oBACI,QAAS,CACT,qBAAwB,CACxB,QACJ,CACA,kBACI,aAAc,CACd,UAAW,CACX,cAAgB,CAChB,kBAAoB,CACpB,UAAW,CACX,+BACJ,CA4BA,uqBARI,aAAc,CACd,cAUJ,CACA,yGAII,oBAAqB,CACrB,qBACJ,CACA,4BACI,kBACJ,CAGA,uCACI,kBACJ,CACA,6CACI,gBAAiB,CACjB,oBAAqB,CACrB,qBAAsB,CACtB,UAAW,CACX,gBACJ,CACA,kCACI,qBACJ,CAGA,mEAEI,iBAAkB,CAClB,gBACJ,CAGA,gCACI,kBACJ,CACA,6DAEI,aAAc,CACd,YAAa,CACb,eAAgB,CAChB,eAAgB,CAChB,iBAAkB,CAClB,QACJ,CACA,yEAEI,SACJ,CACA,qFAEI,OAAQ,CACR,yBAA0B,CAC1B,QACJ,CACA,2GAEI,OAAQ,CACR,iBAAkB,CAClB,QACJ,CACA,mFAEI,QAAS,CACT,yBAA0B,CAC1B,QACJ,CACA,8BACI,cACJ,CAEA,yBACI,UACJ,CACA,2BACI,SACJ,CACA,2BACI,SACJ,CACA,2BACI,SACJ,CACA,2BACI,SACJ,CACA,2BACI,SACJ,CAGA,0BACI,oBAAqB,CACrB,iBAAmB,CACnB,UAAW,CACX,qBAAsB,CACtB,gBACJ,CAGA,mBACI,aAAc,CACd,UAAW,CACX,gBACJ,CAEA,yCACI,+BACI,eACJ,CAEA,6cAgBI,kBAAoB,CACpB,aACJ,CAEA,2cAeI,eACJ,CAEA,6CACI,kBAAoB,CACpB,eAAgB,CAChB,aAAc,CACd,UACJ,CAEA,kCACI,gBACJ,CAEA,6CAEI,aAAc,CACd,eAAiB,CAEjB,mBACJ,CACJ,CAGA,WACI,6BAA8B,CACtB,qBACZ,CAEA,iBACI,cAAe,CACf,MAAO,CACP,KAAM,CACN,SACJ,CAEA,gCAEI,iBACJ,CAEA,gBACI,eAAgB,CAChB,QAAS,CACT,SACJ,CAEA,gBACI,SAAU,CACV,QAAS,CACT,WACJ,CAEA,mCAEI,aAAc,CACd,oBAAqB,CACrB,kBACJ,CAGA,sBACI,UAAW,CACX,kBACJ,CAEA,sCACI,oBACJ,CAGA,0HAGI,oBAAqB,CACrB,qBACJ,CAGA,gCACI,aACJ,CAEA,oBACI,YAAa,CACb,iBAAkB,CAClB,SAAU,CACV,KAAM,CACN,QAAS,CACT,SAAU,CACV,SACJ,CAEA,0CACI,MAAO,CACP,QAAS,CACT,aACJ,CAEA,uFAEI,aAAc,CACd,iBACJ,CAGA,8CACI,iBAAmB,CACnB,eAAgB,CAChB,eACJ,CAGA,oEACI,eACJ,CAGA,sBACI,iBAAkB,CAClB,iBACJ,CAEA,sCACI,aACJ,CAEA,2DACI,oBACJ,CAEA,2CACI,kBAAmB,CACnB,iBAAkB,CAClB,eAAgB,CAEhB,cACJ,CAIA,oFAEI,qBAAsB,CACtB,UAAW,CACX,aACJ,CAEA,2CACI,SAAU,CACV,YAAa,CACb,aACJ,CAGA,+DACI,aAAc,CACd,UACJ,CAEA,mBACI,wBAAyB,CACzB,aACJ,CAEA,gBACI,UACJ,CAEA,oBACI,qBACJ,CAEA,mCAEI,gBACJ,CAEA,oBACI,UACJ,CAEA,0CACI,wBAA6B,CAC7B,cACJ,CAEA,8EAGI,qBACJ,CAEA,gFAEI,UACJ,CAEA,YAEI,wBAAyB,CACzB,gBAAiB,CACjB,gBAAiB,CACjB,wBACJ,CAEA,oBACI,UAAW,CACX,kCAAoC,CACpC,aAAc,CACd,iBACJ,CAEA,8BAGI,6BAAuB,CAAvB,qBAAuB,CAAvB,oBAAuB,CAAvB,kBAAuB,CACvB,iBAAkB,CAClB,QAAS,CACT,gBAAiB,CACjB,gBACJ,CAEA,kBACI,wBAAyB,CACzB,UAAW,CACX,eAAgB,CAChB,qBACJ,CAOA,eACI,wBACJ,CAMA,6DACI,wBACJ,CAGA,wBACI,+BACJ,CACA,4CACI,qBACJ,CAKA,oDAEI,oBAAuB,CACvB,+BACJ,CACA,8CACI,qBACJ,CCj2CA,YAEE,qBAAsB,CACtB,YAAa,CACb,UAAY,CACZ,aACF,CAIA,kBACE,aACF,CACA,qEAEE,aACF,CAEA,uDACE,qBACF,CAIA,oBACE,2BAA4B,CAC5B,wBAAyB,CACzB,kBACF,CAEA,uBACE,mBAAoB,CACpB,cAAe,CACf,gBAAiB,CACjB,UAAW,CACX,kBACF,CAEA,yBAA2B,UAAc,CACzC,gCAAkC,UAAa,CAI/C,mBACE,0BAA4B,CAC5B,iBAAkB,CAClB,OACF,CAEA,2CACE,4BACF,CACA,kCACE,UAAW,CACX,kBAAoB,CACpB,eACF,CACA,sCACE,SACF,CACA,gJAE2D,sBAAyB,CACpF,+JAEgE,sBAAyB,CACzF,eAAiB,uBAA0B,CAM3C,yBAEE,IAAM,wBAA+B,CAEvC,CACA,iBAEE,IAAM,wBAA+B,CAEvC,CAKA,QAAU,oBAAqB,CAAE,uBAA0B,CAE3D,mBACE,iBAAkB,CAClB,MAAO,CAAE,OAAQ,CAAE,SAAU,CAAE,QAAS,CACxC,eACF,CACA,kBACE,0BAA2B,CAC3B,KAAM,CAAE,QAAS,CACjB,iBACF,CAIA,yBAA0B,UAAY,CACtC,wBAAyB,UAAY,CACrC,aAAc,UAAY,CAC1B,aAAc,UAAY,CAC1B,sBAAwB,eAAkB,CAC1C,OAAQ,iBAAmB,CAC3B,SAAU,yBAA2B,CACrC,kBAAmB,4BAA8B,CAEjD,0BAA2B,UAAY,CACvC,uBAAwB,UAAY,CACpC,yBAA0B,UAAY,CACtC,sBAAuB,UAAY,CAKnC,6BAA8B,UAAY,CAC1C,oDAAsD,UAAY,CAClE,0BAA2B,UAAY,CACvC,yBAA0B,UAAY,CACtC,2BAA4B,UAAY,CAExC,mDAA6B,UAAY,CACzC,0BAA2B,UAAY,CACvC,0BAA2B,UAAY,CACvC,sBAAuB,UAAY,CACnC,4BAA6B,UAAY,CACzC,qBAAsB,UAAY,CAClC,uBAAwB,UAAY,CAGpC,wCAAiB,SAAY,CAE7B,sBAAwB,uBAA0B,CAIlD,+CAAgD,UAAY,CAC5D,kDAAmD,UAAY,CAC/D,wBAA0B,6BAAmC,CAC7D,kCAAmC,kBAAoB,CAOvD,YACE,iBAAkB,CAClB,eAAgB,CAChB,eACF,CAEA,mBACE,yBAA2B,CAG3B,mBAAoB,CAAE,kBAAmB,CACzC,mBAAoB,CACpB,WAAY,CACZ,YAAa,CACb,iBAAkB,CAClB,SACF,CACA,kBACE,iBAAkB,CAClB,mCACF,CAKA,qGACE,iBAAkB,CAClB,SAAU,CACV,YAAa,CACb,YACF,CACA,uBACE,OAAQ,CAAE,KAAM,CAChB,iBAAkB,CAClB,iBACF,CACA,uBACE,QAAS,CAAE,MAAO,CAClB,iBAAkB,CAClB,iBACF,CACA,6BACE,OAAQ,CAAE,QACZ,CACA,0BACE,MAAO,CAAE,QACX,CAEA,oBACE,iBAAkB,CAAE,MAAO,CAAE,KAAM,CACnC,eAAgB,CAChB,SACF,CACA,mBACE,kBAAmB,CACnB,WAAY,CACZ,oBAAqB,CACrB,kBAAmB,CACnB,mBACF,CACA,2BACE,iBAAkB,CAClB,SAAU,CACV,yBAA2B,CAC3B,qBACF,CACA,8BACE,iBAAkB,CAClB,KAAM,CAAE,QAAS,CACjB,SACF,CACA,uBACE,iBAAkB,CAClB,cAAe,CACf,SACF,CACA,uCAAyC,wBAA8B,CACvE,4CAA8C,wBAA8B,CAE5E,kBACE,WAAY,CACZ,cACF,CACA,qEAGmD,eAAgB,CACjE,cAAe,CACf,sBAAuB,CACvB,mBAAoB,CACpB,iBAAkB,CAClB,QAAS,CACT,eAAgB,CAChB,gBAAiB,CACjB,mBAAoB,CACpB,aAAc,CACd,SAAU,CACV,iBAAkB,CAClB,gBAAiB,CACjB,uCAAwC,CACxC,yCAA0C,CAC1C,oCAAkC,CAAlC,4BAAkC,CAAlC,iCACF,CACA,+EAEE,oBAAqB,CACrB,oBAAqB,CACrB,iBACF,CAEA,2BACE,iBAAkB,CAClB,MAAO,CAAE,OAAQ,CAAE,KAAM,CAAE,QAAS,CACpC,SACF,CAEA,uBACE,iBAAkB,CAClB,SAAU,CACV,YACF,CAIA,oBAAsB,aAAgB,CAEtC,iBACE,YACF,CAGA,mGAME,kBACF,CAEA,oBACE,iBAAkB,CAClB,UAAW,CACX,QAAS,CACT,eAAgB,CAChB,iBACF,CAEA,mBACE,iBAAkB,CAClB,mBACF,CACA,wBAA0B,eAAkB,CAE5C,uBACE,iBAAkB,CAClB,iBAAkB,CAClB,SACF,CAKA,sEACE,kBACF,CAEA,qBAAuB,kBAAqB,CAC5C,yCAA2C,kBAAqB,CAChE,sBAAwB,gBAAmB,CAC3C,mGAA6G,kBAAqB,CAClI,kHAA4H,kBAAqB,CAEjJ,cACE,qBAAsB,CACtB,mCACF,CAGA,iBAAmB,kBAAqB,CAExC,aAEE,mCACE,iBACF,CACF,CAGA,wBAA0B,UAAa,CAGvC,6BAA+B,eAAkB,CCvVjD,uBACE,cAAe,CACf,KAAM,CAAE,MAAO,CAAE,OAAQ,CAAE,QAAS,CACpC,WAAY,CACZ,SACF,CCLA,uBACE,UAAW,CACX,mFAAuF,CACvF,iBAAkB,CAClB,cAAe,CACf,cACF,CACA,uBACE,UACF,CACA,0DAEE,cACF,CACA,kCACE,eACF,CACA,oCACE,eACF,CCnBA,kBACE,iBAAkB,CAClB,UAAW,CACX,eAAgB,CAChB,eAAgB,CAEhB,QAAS,CACT,WAAY,CAIZ,qCAAsC,CACtC,iBAAkB,CAClB,uBAAwB,CAExB,eAAiB,CACjB,aAAc,CACd,qBAAsB,CAEtB,eAAgB,CAChB,eACF,CAEA,iBACE,QAAS,CACT,aAAc,CACd,iBAAkB,CAClB,eAAgB,CAChB,UAAY,CACZ,cACF,CAEA,0BACE,eAAgB,CAChB,UACF,CClCA,yBACE,UACF,CAEA,yBACE,qBAAsB,CACtB,qBAAuB,CACvB,6BAA8B,CAC9B,UAAY,CACZ,qBAAsB,CACtB,cAAe,CACf,eAAgB,CAChB,eAAgB,CAChB,cAAe,CACf,eAAgB,CAChB,oBAAqB,CACrB,WAAY,CACZ,eAAgB,CAChB,SAAU,CACV,sBAAuB,CACvB,2BAA4B,CAC5B,8BAA+B,CAC/B,yBAA0B,CAC1B,0BACF,CAEA,sBACE,0BAAgC,CAChC,0BACF,CAEA,8BACE,8UACF,CAEA,4BACE,kTACF,CAEA,wBACE,uBAAkC,CAClC,2BAA4B,CAC5B,cAAe,CACf,oBAAqB,CACrB,WAAY,CACZ,UAAW,CACX,qBAAsB,CACtB,iBACF,CAEA,yBACE,iBAAkB,CAClB,uBAA6B,CAC7B,2BACF,CAEA,iEACE,sWACF,CAEA,6DACE,kTACF,CAEA,iCACE,sNAAuN,CACvN,2BAA4B,CAC5B,6BAAiC,CACjC,UAAW,CAAE,WACf,CAEA,4BACE,oCACF,CAEA,8BACE,mCACF,CC9EA,8EACE,iBAAkB,CAClB,eAAgB,CAEhB,qBAAsB,CACtB,qBAAsB,CACtB,iBACF,CAEA,sEACE,iBAAkB,CAClB,SAAU,CACV,eACF,CAEA,oCACE,QAAS,CAAE,MAAO,CAClB,UACF,CACA,wCACE,QAAS,CACT,WACF,CAEA,kCACE,OAAQ,CAAE,KAAM,CAChB,SACF,CACA,sCACE,OAAQ,CACR,UACF,CAGA,2GACE,YACF,CAEA,gFACE,iBAAkB,CAClB,eAAgB,CAChB,iBACF,CAEA,wEACE,iBAAkB,CAClB,SACF,CAEA,qCACE,QAAS,CAAE,MAAO,CAClB,UACF,CACA,yCACE,QAAS,CACT,WACF,CAEA,mCACE,OAAQ,CAAE,KAAM,CAChB,SACF,CACA,uCACE,OAAQ,CACR,UACF","file":"2.814901b2.chunk.css","sourcesContent":["/*!\nPure v2.1.0\nCopyright 2013 Yahoo!\nLicensed under the BSD License.\nhttps://github.com/pure-css/pure/blob/master/LICENSE\n*/\n/*!\nnormalize.css v | MIT License | git.io/normalize\nCopyright (c) Nicolas Gallagher and Jonathan Neal\n*/\n/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n -webkit-box-sizing: content-box;\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput { /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n -webkit-box-sizing: border-box;\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n -webkit-box-sizing: border-box;\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\n/*csslint important:false*/\n\n/* ==========================================================================\n Pure Base Extras\n ========================================================================== */\n\n/**\n * Extra rules that Pure adds on top of Normalize.css\n */\n\nhtml {\n font-family: sans-serif;\n}\n\n/**\n * Always hide an element when it has the `hidden` HTML attribute.\n */\n\n.hidden,\n[hidden] {\n display: none !important;\n}\n\n/**\n * Add this class to an image to make it fit within it's fluid parent wrapper while maintaining\n * aspect ratio.\n */\n.pure-img {\n max-width: 100%;\n height: auto;\n display: block;\n}\n\n/*csslint regex-selectors:false, known-properties:false, duplicate-properties:false*/\n\n.pure-g {\n letter-spacing: -0.31em; /* Webkit: collapse white-space between units */\n text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */\n\n /*\n Sets the font stack to fonts known to work properly with the above letter\n and word spacings. See: https://github.com/pure-css/pure/issues/41/\n\n The following font stack makes Pure Grids work on all known environments.\n\n * FreeSans: Ships with many Linux distros, including Ubuntu\n\n * Arimo: Ships with Chrome OS. Arimo has to be defined before Helvetica and\n Arial to get picked up by the browser, even though neither is available\n in Chrome OS.\n\n * Droid Sans: Ships with all versions of Android.\n\n * Helvetica, Arial, sans-serif: Common font stack on OS X and Windows.\n */\n font-family: FreeSans, Arimo, \"Droid Sans\", Helvetica, Arial, sans-serif;\n\n /* Use flexbox when possible to avoid `letter-spacing` side-effects. */\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-flow: row wrap;\n flex-flow: row wrap;\n\n /* Prevents distributing space between rows */\n -ms-flex-line-pack: start;\n align-content: flex-start;\n}\n\n/* IE10 display: -ms-flexbox (and display: flex in IE 11) does not work inside a table; fall back to block and rely on font hack */\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n\ttable .pure-g {\n\t\tdisplay: block;\n\t}\n}\n\n/* Opera as of 12 on Windows needs word-spacing.\n The \".opera-only\" selector is used to prevent actual prefocus styling\n and is not required in markup.\n*/\n.opera-only :-o-prefocus,\n.pure-g {\n word-spacing: -0.43em;\n}\n\n.pure-u {\n display: inline-block;\n letter-spacing: normal;\n word-spacing: normal;\n vertical-align: top;\n text-rendering: auto;\n}\n\n/*\nResets the font family back to the OS/browser's default sans-serif font,\nthis the same font stack that Normalize.css sets for the `body`.\n*/\n.pure-g [class *= \"pure-u\"] {\n font-family: sans-serif;\n}\n\n.pure-u-1,\n.pure-u-1-1,\n.pure-u-1-2,\n.pure-u-1-3,\n.pure-u-2-3,\n.pure-u-1-4,\n.pure-u-3-4,\n.pure-u-1-5,\n.pure-u-2-5,\n.pure-u-3-5,\n.pure-u-4-5,\n.pure-u-5-5,\n.pure-u-1-6,\n.pure-u-5-6,\n.pure-u-1-8,\n.pure-u-3-8,\n.pure-u-5-8,\n.pure-u-7-8,\n.pure-u-1-12,\n.pure-u-5-12,\n.pure-u-7-12,\n.pure-u-11-12,\n.pure-u-1-24,\n.pure-u-2-24,\n.pure-u-3-24,\n.pure-u-4-24,\n.pure-u-5-24,\n.pure-u-6-24,\n.pure-u-7-24,\n.pure-u-8-24,\n.pure-u-9-24,\n.pure-u-10-24,\n.pure-u-11-24,\n.pure-u-12-24,\n.pure-u-13-24,\n.pure-u-14-24,\n.pure-u-15-24,\n.pure-u-16-24,\n.pure-u-17-24,\n.pure-u-18-24,\n.pure-u-19-24,\n.pure-u-20-24,\n.pure-u-21-24,\n.pure-u-22-24,\n.pure-u-23-24,\n.pure-u-24-24 {\n display: inline-block;\n letter-spacing: normal;\n word-spacing: normal;\n vertical-align: top;\n text-rendering: auto;\n}\n\n.pure-u-1-24 {\n width: 4.1667%;\n}\n\n.pure-u-1-12,\n.pure-u-2-24 {\n width: 8.3333%;\n}\n\n.pure-u-1-8,\n.pure-u-3-24 {\n width: 12.5000%;\n}\n\n.pure-u-1-6,\n.pure-u-4-24 {\n width: 16.6667%;\n}\n\n.pure-u-1-5 {\n width: 20%;\n}\n\n.pure-u-5-24 {\n width: 20.8333%;\n}\n\n.pure-u-1-4,\n.pure-u-6-24 {\n width: 25%;\n}\n\n.pure-u-7-24 {\n width: 29.1667%;\n}\n\n.pure-u-1-3,\n.pure-u-8-24 {\n width: 33.3333%;\n}\n\n.pure-u-3-8,\n.pure-u-9-24 {\n width: 37.5000%;\n}\n\n.pure-u-2-5 {\n width: 40%;\n}\n\n.pure-u-5-12,\n.pure-u-10-24 {\n width: 41.6667%;\n}\n\n.pure-u-11-24 {\n width: 45.8333%;\n}\n\n.pure-u-1-2,\n.pure-u-12-24 {\n width: 50%;\n}\n\n.pure-u-13-24 {\n width: 54.1667%;\n}\n\n.pure-u-7-12,\n.pure-u-14-24 {\n width: 58.3333%;\n}\n\n.pure-u-3-5 {\n width: 60%;\n}\n\n.pure-u-5-8,\n.pure-u-15-24 {\n width: 62.5000%;\n}\n\n.pure-u-2-3,\n.pure-u-16-24 {\n width: 66.6667%;\n}\n\n.pure-u-17-24 {\n width: 70.8333%;\n}\n\n.pure-u-3-4,\n.pure-u-18-24 {\n width: 75%;\n}\n\n.pure-u-19-24 {\n width: 79.1667%;\n}\n\n.pure-u-4-5 {\n width: 80%;\n}\n\n.pure-u-5-6,\n.pure-u-20-24 {\n width: 83.3333%;\n}\n\n.pure-u-7-8,\n.pure-u-21-24 {\n width: 87.5000%;\n}\n\n.pure-u-11-12,\n.pure-u-22-24 {\n width: 91.6667%;\n}\n\n.pure-u-23-24 {\n width: 95.8333%;\n}\n\n.pure-u-1,\n.pure-u-1-1,\n.pure-u-5-5,\n.pure-u-24-24 {\n width: 100%;\n}\n.pure-button {\n /* Structure */\n display: inline-block;\n line-height: normal;\n white-space: nowrap;\n vertical-align: middle;\n text-align: center;\n cursor: pointer;\n -webkit-user-drag: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n\n/* Firefox: Get rid of the inner focus border */\n.pure-button::-moz-focus-inner {\n padding: 0;\n border: 0;\n}\n\n/* Inherit .pure-g styles */\n.pure-button-group {\n letter-spacing: -0.31em; /* Webkit: collapse white-space between units */\n text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */\n}\n\n.opera-only :-o-prefocus,\n.pure-button-group {\n word-spacing: -0.43em;\n}\n\n.pure-button-group .pure-button {\n letter-spacing: normal;\n word-spacing: normal;\n vertical-align: top;\n text-rendering: auto;\n}\n\n/*csslint outline-none:false*/\n\n.pure-button {\n font-family: inherit;\n font-size: 100%;\n padding: 0.5em 1em;\n color: rgba(0, 0, 0, 0.80);\n border: none rgba(0, 0, 0, 0);\n background-color: #E6E6E6;\n text-decoration: none;\n border-radius: 2px;\n}\n\n.pure-button-hover,\n.pure-button:hover,\n.pure-button:focus {\n background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(40%, rgba(0,0,0, 0.05)), to(rgba(0,0,0, 0.10)));\n background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));\n}\n.pure-button:focus {\n outline: 0;\n}\n.pure-button-active,\n.pure-button:active {\n -webkit-box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;\n box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;\n border-color: #000;\n}\n\n.pure-button[disabled],\n.pure-button-disabled,\n.pure-button-disabled:hover,\n.pure-button-disabled:focus,\n.pure-button-disabled:active {\n border: none;\n background-image: none;\n opacity: 0.40;\n cursor: not-allowed;\n -webkit-box-shadow: none;\n box-shadow: none;\n pointer-events: none;\n}\n\n.pure-button-hidden {\n display: none;\n}\n\n.pure-button-primary,\n.pure-button-selected,\na.pure-button-primary,\na.pure-button-selected {\n background-color: rgb(0, 120, 231);\n color: #fff;\n}\n\n/* Button Groups */\n.pure-button-group .pure-button {\n margin: 0;\n border-radius: 0;\n border-right: 1px solid rgba(0, 0, 0, 0.2);\n\n}\n\n.pure-button-group .pure-button:first-child {\n border-top-left-radius: 2px;\n border-bottom-left-radius: 2px;\n}\n.pure-button-group .pure-button:last-child {\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n border-right: none;\n}\n\n/*csslint box-model:false*/\n/*\nBox-model set to false because we're setting a height on select elements, which\nalso have border and padding. This is done because some browsers don't render\nthe padding. We explicitly set the box-model for select elements to border-box,\nso we can ignore the csslint warning.\n*/\n\n.pure-form input[type=\"text\"],\n.pure-form input[type=\"password\"],\n.pure-form input[type=\"email\"],\n.pure-form input[type=\"url\"],\n.pure-form input[type=\"date\"],\n.pure-form input[type=\"month\"],\n.pure-form input[type=\"time\"],\n.pure-form input[type=\"datetime\"],\n.pure-form input[type=\"datetime-local\"],\n.pure-form input[type=\"week\"],\n.pure-form input[type=\"number\"],\n.pure-form input[type=\"search\"],\n.pure-form input[type=\"tel\"],\n.pure-form input[type=\"color\"],\n.pure-form select,\n.pure-form textarea {\n padding: 0.5em 0.6em;\n display: inline-block;\n border: 1px solid #ccc;\n -webkit-box-shadow: inset 0 1px 3px #ddd;\n box-shadow: inset 0 1px 3px #ddd;\n border-radius: 4px;\n vertical-align: middle;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n\n/*\nNeed to separate out the :not() selector from the rest of the CSS 2.1 selectors\nsince IE8 won't execute CSS that contains a CSS3 selector.\n*/\n.pure-form input:not([type]) {\n padding: 0.5em 0.6em;\n display: inline-block;\n border: 1px solid #ccc;\n -webkit-box-shadow: inset 0 1px 3px #ddd;\n box-shadow: inset 0 1px 3px #ddd;\n border-radius: 4px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n\n\n/* Chrome (as of v.32/34 on OS X) needs additional room for color to display. */\n/* May be able to remove this tweak as color inputs become more standardized across browsers. */\n.pure-form input[type=\"color\"] {\n padding: 0.2em 0.5em;\n}\n\n\n.pure-form input[type=\"text\"]:focus,\n.pure-form input[type=\"password\"]:focus,\n.pure-form input[type=\"email\"]:focus,\n.pure-form input[type=\"url\"]:focus,\n.pure-form input[type=\"date\"]:focus,\n.pure-form input[type=\"month\"]:focus,\n.pure-form input[type=\"time\"]:focus,\n.pure-form input[type=\"datetime\"]:focus,\n.pure-form input[type=\"datetime-local\"]:focus,\n.pure-form input[type=\"week\"]:focus,\n.pure-form input[type=\"number\"]:focus,\n.pure-form input[type=\"search\"]:focus,\n.pure-form input[type=\"tel\"]:focus,\n.pure-form input[type=\"color\"]:focus,\n.pure-form select:focus,\n.pure-form textarea:focus {\n outline: 0;\n border-color: #129FEA;\n}\n\n/*\nNeed to separate out the :not() selector from the rest of the CSS 2.1 selectors\nsince IE8 won't execute CSS that contains a CSS3 selector.\n*/\n.pure-form input:not([type]):focus {\n outline: 0;\n border-color: #129FEA;\n}\n\n.pure-form input[type=\"file\"]:focus,\n.pure-form input[type=\"radio\"]:focus,\n.pure-form input[type=\"checkbox\"]:focus {\n outline: thin solid #129FEA;\n outline: 1px auto #129FEA;\n}\n.pure-form .pure-checkbox,\n.pure-form .pure-radio {\n margin: 0.5em 0;\n display: block;\n}\n\n.pure-form input[type=\"text\"][disabled],\n.pure-form input[type=\"password\"][disabled],\n.pure-form input[type=\"email\"][disabled],\n.pure-form input[type=\"url\"][disabled],\n.pure-form input[type=\"date\"][disabled],\n.pure-form input[type=\"month\"][disabled],\n.pure-form input[type=\"time\"][disabled],\n.pure-form input[type=\"datetime\"][disabled],\n.pure-form input[type=\"datetime-local\"][disabled],\n.pure-form input[type=\"week\"][disabled],\n.pure-form input[type=\"number\"][disabled],\n.pure-form input[type=\"search\"][disabled],\n.pure-form input[type=\"tel\"][disabled],\n.pure-form input[type=\"color\"][disabled],\n.pure-form select[disabled],\n.pure-form textarea[disabled] {\n cursor: not-allowed;\n background-color: #eaeded;\n color: #cad2d3;\n}\n\n/*\nNeed to separate out the :not() selector from the rest of the CSS 2.1 selectors\nsince IE8 won't execute CSS that contains a CSS3 selector.\n*/\n.pure-form input:not([type])[disabled] {\n cursor: not-allowed;\n background-color: #eaeded;\n color: #cad2d3;\n}\n.pure-form input[readonly],\n.pure-form select[readonly],\n.pure-form textarea[readonly] {\n background-color: #eee; /* menu hover bg color */\n color: #777; /* menu text color */\n border-color: #ccc;\n}\n\n.pure-form input:focus:invalid,\n.pure-form textarea:focus:invalid,\n.pure-form select:focus:invalid {\n color: #b94a48;\n border-color: #e9322d;\n}\n.pure-form input[type=\"file\"]:focus:invalid:focus,\n.pure-form input[type=\"radio\"]:focus:invalid:focus,\n.pure-form input[type=\"checkbox\"]:focus:invalid:focus {\n outline-color: #e9322d;\n}\n.pure-form select {\n /* Normalizes the height; padding is not sufficient. */\n height: 2.25em;\n border: 1px solid #ccc;\n background-color: white;\n}\n.pure-form select[multiple] {\n height: auto;\n}\n.pure-form label {\n margin: 0.5em 0 0.2em;\n}\n.pure-form fieldset {\n margin: 0;\n padding: 0.35em 0 0.75em;\n border: 0;\n}\n.pure-form legend {\n display: block;\n width: 100%;\n padding: 0.3em 0;\n margin-bottom: 0.3em;\n color: #333;\n border-bottom: 1px solid #e5e5e5;\n}\n\n.pure-form-stacked input[type=\"text\"],\n.pure-form-stacked input[type=\"password\"],\n.pure-form-stacked input[type=\"email\"],\n.pure-form-stacked input[type=\"url\"],\n.pure-form-stacked input[type=\"date\"],\n.pure-form-stacked input[type=\"month\"],\n.pure-form-stacked input[type=\"time\"],\n.pure-form-stacked input[type=\"datetime\"],\n.pure-form-stacked input[type=\"datetime-local\"],\n.pure-form-stacked input[type=\"week\"],\n.pure-form-stacked input[type=\"number\"],\n.pure-form-stacked input[type=\"search\"],\n.pure-form-stacked input[type=\"tel\"],\n.pure-form-stacked input[type=\"color\"],\n.pure-form-stacked input[type=\"file\"],\n.pure-form-stacked select,\n.pure-form-stacked label,\n.pure-form-stacked textarea {\n display: block;\n margin: 0.25em 0;\n}\n\n/*\nNeed to separate out the :not() selector from the rest of the CSS 2.1 selectors\nsince IE8 won't execute CSS that contains a CSS3 selector.\n*/\n.pure-form-stacked input:not([type]) {\n display: block;\n margin: 0.25em 0;\n}\n.pure-form-aligned input,\n.pure-form-aligned textarea,\n.pure-form-aligned select,\n.pure-form-message-inline {\n display: inline-block;\n vertical-align: middle;\n}\n.pure-form-aligned textarea {\n vertical-align: top;\n}\n\n/* Aligned Forms */\n.pure-form-aligned .pure-control-group {\n margin-bottom: 0.5em;\n}\n.pure-form-aligned .pure-control-group label {\n text-align: right;\n display: inline-block;\n vertical-align: middle;\n width: 10em;\n margin: 0 1em 0 0;\n}\n.pure-form-aligned .pure-controls {\n margin: 1.5em 0 0 11em;\n}\n\n/* Rounded Inputs */\n.pure-form input.pure-input-rounded,\n.pure-form .pure-input-rounded {\n border-radius: 2em;\n padding: 0.5em 1em;\n}\n\n/* Grouped Inputs */\n.pure-form .pure-group fieldset {\n margin-bottom: 10px;\n}\n.pure-form .pure-group input,\n.pure-form .pure-group textarea {\n display: block;\n padding: 10px;\n margin: 0 0 -1px;\n border-radius: 0;\n position: relative;\n top: -1px;\n}\n.pure-form .pure-group input:focus,\n.pure-form .pure-group textarea:focus {\n z-index: 3;\n}\n.pure-form .pure-group input:first-child,\n.pure-form .pure-group textarea:first-child {\n top: 1px;\n border-radius: 4px 4px 0 0;\n margin: 0;\n}\n.pure-form .pure-group input:first-child:last-child,\n.pure-form .pure-group textarea:first-child:last-child {\n top: 1px;\n border-radius: 4px;\n margin: 0;\n}\n.pure-form .pure-group input:last-child,\n.pure-form .pure-group textarea:last-child {\n top: -2px;\n border-radius: 0 0 4px 4px;\n margin: 0;\n}\n.pure-form .pure-group button {\n margin: 0.35em 0;\n}\n\n.pure-form .pure-input-1 {\n width: 100%;\n}\n.pure-form .pure-input-3-4 {\n width: 75%;\n}\n.pure-form .pure-input-2-3 {\n width: 66%;\n}\n.pure-form .pure-input-1-2 {\n width: 50%;\n}\n.pure-form .pure-input-1-3 {\n width: 33%;\n}\n.pure-form .pure-input-1-4 {\n width: 25%;\n}\n\n/* Inline help for forms */\n.pure-form-message-inline {\n display: inline-block;\n padding-left: 0.3em;\n color: #666;\n vertical-align: middle;\n font-size: 0.875em;\n}\n\n/* Block help for forms */\n.pure-form-message {\n display: block;\n color: #666;\n font-size: 0.875em;\n}\n\n@media only screen and (max-width : 480px) {\n .pure-form button[type=\"submit\"] {\n margin: 0.7em 0 0;\n }\n\n .pure-form input:not([type]),\n .pure-form input[type=\"text\"],\n .pure-form input[type=\"password\"],\n .pure-form input[type=\"email\"],\n .pure-form input[type=\"url\"],\n .pure-form input[type=\"date\"],\n .pure-form input[type=\"month\"],\n .pure-form input[type=\"time\"],\n .pure-form input[type=\"datetime\"],\n .pure-form input[type=\"datetime-local\"],\n .pure-form input[type=\"week\"],\n .pure-form input[type=\"number\"],\n .pure-form input[type=\"search\"],\n .pure-form input[type=\"tel\"],\n .pure-form input[type=\"color\"],\n .pure-form label {\n margin-bottom: 0.3em;\n display: block;\n }\n\n .pure-group input:not([type]),\n .pure-group input[type=\"text\"],\n .pure-group input[type=\"password\"],\n .pure-group input[type=\"email\"],\n .pure-group input[type=\"url\"],\n .pure-group input[type=\"date\"],\n .pure-group input[type=\"month\"],\n .pure-group input[type=\"time\"],\n .pure-group input[type=\"datetime\"],\n .pure-group input[type=\"datetime-local\"],\n .pure-group input[type=\"week\"],\n .pure-group input[type=\"number\"],\n .pure-group input[type=\"search\"],\n .pure-group input[type=\"tel\"],\n .pure-group input[type=\"color\"] {\n margin-bottom: 0;\n }\n\n .pure-form-aligned .pure-control-group label {\n margin-bottom: 0.3em;\n text-align: left;\n display: block;\n width: 100%;\n }\n\n .pure-form-aligned .pure-controls {\n margin: 1.5em 0 0 0;\n }\n\n .pure-form-message-inline,\n .pure-form-message {\n display: block;\n font-size: 0.75em;\n /* Increased bottom padding to make it group with its related input element. */\n padding: 0.2em 0 0.8em;\n }\n}\n\n/*csslint adjoining-classes: false, box-model:false*/\n.pure-menu {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n\n.pure-menu-fixed {\n position: fixed;\n left: 0;\n top: 0;\n z-index: 3;\n}\n\n.pure-menu-list,\n.pure-menu-item {\n position: relative;\n}\n\n.pure-menu-list {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.pure-menu-item {\n padding: 0;\n margin: 0;\n height: 100%;\n}\n\n.pure-menu-link,\n.pure-menu-heading {\n display: block;\n text-decoration: none;\n white-space: nowrap;\n}\n\n/* HORIZONTAL MENU */\n.pure-menu-horizontal {\n width: 100%;\n white-space: nowrap;\n}\n\n.pure-menu-horizontal .pure-menu-list {\n display: inline-block;\n}\n\n/* Initial menus should be inline-block so that they are horizontal */\n.pure-menu-horizontal .pure-menu-item,\n.pure-menu-horizontal .pure-menu-heading,\n.pure-menu-horizontal .pure-menu-separator {\n display: inline-block;\n vertical-align: middle;\n}\n\n/* Submenus should still be display: block; */\n.pure-menu-item .pure-menu-item {\n display: block;\n}\n\n.pure-menu-children {\n display: none;\n position: absolute;\n left: 100%;\n top: 0;\n margin: 0;\n padding: 0;\n z-index: 3;\n}\n\n.pure-menu-horizontal .pure-menu-children {\n left: 0;\n top: auto;\n width: inherit;\n}\n\n.pure-menu-allow-hover:hover > .pure-menu-children,\n.pure-menu-active > .pure-menu-children {\n display: block;\n position: absolute;\n}\n\n/* Vertical Menus - show the dropdown arrow */\n.pure-menu-has-children > .pure-menu-link:after {\n padding-left: 0.5em;\n content: \"\\25B8\";\n font-size: small;\n}\n\n/* Horizontal Menus - show the dropdown arrow */\n.pure-menu-horizontal .pure-menu-has-children > .pure-menu-link:after {\n content: \"\\25BE\";\n}\n\n/* scrollable menus */\n.pure-menu-scrollable {\n overflow-y: scroll;\n overflow-x: hidden;\n}\n\n.pure-menu-scrollable .pure-menu-list {\n display: block;\n}\n\n.pure-menu-horizontal.pure-menu-scrollable .pure-menu-list {\n display: inline-block;\n}\n\n.pure-menu-horizontal.pure-menu-scrollable {\n white-space: nowrap;\n overflow-y: hidden;\n overflow-x: auto;\n /* a little extra padding for this style to allow for scrollbars */\n padding: .5em 0;\n}\n\n/* misc default styling */\n\n.pure-menu-separator,\n.pure-menu-horizontal .pure-menu-children .pure-menu-separator {\n background-color: #ccc;\n height: 1px;\n margin: .3em 0;\n}\n\n.pure-menu-horizontal .pure-menu-separator {\n width: 1px;\n height: 1.3em;\n margin: 0 .3em ;\n}\n\n/* Need to reset the separator since submenu is vertical */\n.pure-menu-horizontal .pure-menu-children .pure-menu-separator {\n display: block;\n width: auto;\n}\n\n.pure-menu-heading {\n text-transform: uppercase;\n color: #565d64;\n}\n\n.pure-menu-link {\n color: #777;\n}\n\n.pure-menu-children {\n background-color: #fff;\n}\n\n.pure-menu-link,\n.pure-menu-heading {\n padding: .5em 1em;\n}\n\n.pure-menu-disabled {\n opacity: .5;\n}\n\n.pure-menu-disabled .pure-menu-link:hover {\n background-color: transparent;\n cursor: default;\n}\n\n.pure-menu-active > .pure-menu-link,\n.pure-menu-link:hover,\n.pure-menu-link:focus {\n background-color: #eee;\n}\n\n.pure-menu-selected > .pure-menu-link,\n.pure-menu-selected > .pure-menu-link:visited {\n color: #000;\n}\n\n.pure-table {\n /* Remove spacing between table cells (from Normalize.css) */\n border-collapse: collapse;\n border-spacing: 0;\n empty-cells: show;\n border: 1px solid #cbcbcb;\n}\n\n.pure-table caption {\n color: #000;\n font: italic 85%/1 arial, sans-serif;\n padding: 1em 0;\n text-align: center;\n}\n\n.pure-table td,\n.pure-table th {\n border-left: 1px solid #cbcbcb;/* inner column border */\n border-width: 0 0 0 1px;\n font-size: inherit;\n margin: 0;\n overflow: visible; /*to make ths where the title is really long work*/\n padding: 0.5em 1em; /* cell padding */\n}\n\n.pure-table thead {\n background-color: #e0e0e0;\n color: #000;\n text-align: left;\n vertical-align: bottom;\n}\n\n/*\nstriping:\n even - #fff (white)\n odd - #f2f2f2 (light gray)\n*/\n.pure-table td {\n background-color: transparent;\n}\n.pure-table-odd td {\n background-color: #f2f2f2;\n}\n\n/* nth-child selector for modern browsers */\n.pure-table-striped tr:nth-child(2n-1) td {\n background-color: #f2f2f2;\n}\n\n/* BORDERED TABLES */\n.pure-table-bordered td {\n border-bottom: 1px solid #cbcbcb;\n}\n.pure-table-bordered tbody > tr:last-child > td {\n border-bottom-width: 0;\n}\n\n\n/* HORIZONTAL BORDERED TABLES */\n\n.pure-table-horizontal td,\n.pure-table-horizontal th {\n border-width: 0 0 1px 0;\n border-bottom: 1px solid #cbcbcb;\n}\n.pure-table-horizontal tbody > tr:last-child > td {\n border-bottom-width: 0;\n}\n","/* BASICS */\n\n.CodeMirror {\n /* Set height, width, borders, and global font properties here */\n font-family: monospace;\n height: 300px;\n color: black;\n direction: ltr;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n padding: 4px 0; /* Vertical padding around content */\n}\n.CodeMirror pre.CodeMirror-line,\n.CodeMirror pre.CodeMirror-line-like {\n padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n border-right: 1px solid #ddd;\n background-color: #f7f7f7;\n white-space: nowrap;\n}\n.CodeMirror-linenumbers {}\n.CodeMirror-linenumber {\n padding: 0 3px 0 5px;\n min-width: 20px;\n text-align: right;\n color: #999;\n white-space: nowrap;\n}\n\n.CodeMirror-guttermarker { color: black; }\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror-cursor {\n border-left: 1px solid black;\n border-right: none;\n width: 0;\n}\n/* Shown when moving in bi-directional text */\n.CodeMirror div.CodeMirror-secondarycursor {\n border-left: 1px solid silver;\n}\n.cm-fat-cursor .CodeMirror-cursor {\n width: auto;\n border: 0 !important;\n background: #7e7;\n}\n.cm-fat-cursor div.CodeMirror-cursors {\n z-index: 1;\n}\n.cm-fat-cursor .CodeMirror-line::selection,\n.cm-fat-cursor .CodeMirror-line > span::selection, \n.cm-fat-cursor .CodeMirror-line > span > span::selection { background: transparent; }\n.cm-fat-cursor .CodeMirror-line::-moz-selection,\n.cm-fat-cursor .CodeMirror-line > span::-moz-selection,\n.cm-fat-cursor .CodeMirror-line > span > span::-moz-selection { background: transparent; }\n.cm-fat-cursor { caret-color: transparent; }\n@-moz-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@-webkit-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n.CodeMirror-overwrite .CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-rulers {\n position: absolute;\n left: 0; right: 0; top: -50px; bottom: 0;\n overflow: hidden;\n}\n.CodeMirror-ruler {\n border-left: 1px solid #ccc;\n top: 0; bottom: 0;\n position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-header {color: blue;}\n.cm-s-default .cm-quote {color: #090;}\n.cm-negative {color: #d44;}\n.cm-positive {color: #292;}\n.cm-header, .cm-strong {font-weight: bold;}\n.cm-em {font-style: italic;}\n.cm-link {text-decoration: underline;}\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-keyword {color: #708;}\n.cm-s-default .cm-atom {color: #219;}\n.cm-s-default .cm-number {color: #164;}\n.cm-s-default .cm-def {color: #00f;}\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n.cm-s-default .cm-variable-2 {color: #05a;}\n.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}\n.cm-s-default .cm-comment {color: #a50;}\n.cm-s-default .cm-string {color: #a11;}\n.cm-s-default .cm-string-2 {color: #f50;}\n.cm-s-default .cm-meta {color: #555;}\n.cm-s-default .cm-qualifier {color: #555;}\n.cm-s-default .cm-builtin {color: #30a;}\n.cm-s-default .cm-bracket {color: #997;}\n.cm-s-default .cm-tag {color: #170;}\n.cm-s-default .cm-attribute {color: #00c;}\n.cm-s-default .cm-hr {color: #999;}\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-s-default .cm-error {color: #f00;}\n.cm-invalidchar {color: #f00;}\n\n.CodeMirror-composing { border-bottom: 2px solid; }\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n position: relative;\n overflow: hidden;\n background: white;\n}\n\n.CodeMirror-scroll {\n overflow: scroll !important; /* Things will break if this is overridden */\n /* 50px is the magic margin used to hide the element's real scrollbars */\n /* See overflow: hidden in .CodeMirror */\n margin-bottom: -50px; margin-right: -50px;\n padding-bottom: 50px;\n height: 100%;\n outline: none; /* Prevent dragging from highlighting the element */\n position: relative;\n z-index: 0;\n}\n.CodeMirror-sizer {\n position: relative;\n border-right: 50px solid transparent;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n before actual scrolling happens, thus preventing shaking and\n flickering artifacts. */\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n position: absolute;\n z-index: 6;\n display: none;\n outline: none;\n}\n.CodeMirror-vscrollbar {\n right: 0; top: 0;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.CodeMirror-hscrollbar {\n bottom: 0; left: 0;\n overflow-y: hidden;\n overflow-x: scroll;\n}\n.CodeMirror-scrollbar-filler {\n right: 0; bottom: 0;\n}\n.CodeMirror-gutter-filler {\n left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n position: absolute; left: 0; top: 0;\n min-height: 100%;\n z-index: 3;\n}\n.CodeMirror-gutter {\n white-space: normal;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n margin-bottom: -50px;\n}\n.CodeMirror-gutter-wrapper {\n position: absolute;\n z-index: 4;\n background: none !important;\n border: none !important;\n}\n.CodeMirror-gutter-background {\n position: absolute;\n top: 0; bottom: 0;\n z-index: 4;\n}\n.CodeMirror-gutter-elt {\n position: absolute;\n cursor: default;\n z-index: 4;\n}\n.CodeMirror-gutter-wrapper ::selection { background-color: transparent }\n.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }\n\n.CodeMirror-lines {\n cursor: text;\n min-height: 1px; /* prevents collapsing before first draw */\n}\n.CodeMirror pre.CodeMirror-line,\n.CodeMirror pre.CodeMirror-line-like {\n /* Reset some styles that the rest of the page might have set */\n -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;\n border-width: 0;\n background: transparent;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n white-space: pre;\n word-wrap: normal;\n line-height: inherit;\n color: inherit;\n z-index: 2;\n position: relative;\n overflow: visible;\n -webkit-tap-highlight-color: transparent;\n -webkit-font-variant-ligatures: contextual;\n font-variant-ligatures: contextual;\n}\n.CodeMirror-wrap pre.CodeMirror-line,\n.CodeMirror-wrap pre.CodeMirror-line-like {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: normal;\n}\n\n.CodeMirror-linebackground {\n position: absolute;\n left: 0; right: 0; top: 0; bottom: 0;\n z-index: 0;\n}\n\n.CodeMirror-linewidget {\n position: relative;\n z-index: 2;\n padding: 0.1px; /* Force widget margins to stay inside of the container */\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-rtl pre { direction: rtl; }\n\n.CodeMirror-code {\n outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n position: absolute;\n width: 100%;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n}\n\n.CodeMirror-cursor {\n position: absolute;\n pointer-events: none;\n}\n.CodeMirror-measure pre { position: static; }\n\ndiv.CodeMirror-cursors {\n visibility: hidden;\n position: relative;\n z-index: 3;\n}\ndiv.CodeMirror-dragcursors {\n visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n.CodeMirror-crosshair { cursor: crosshair; }\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n\n.cm-searching {\n background-color: #ffa;\n background-color: rgba(255, 255, 0, .4);\n}\n\n/* Used to force a border model for a node */\n.cm-force-border { padding-right: .1px; }\n\n@media print {\n /* Hide the cursor when printing */\n .CodeMirror div.CodeMirror-cursors {\n visibility: hidden;\n }\n}\n\n/* See issue #2901 */\n.cm-tab-wrap-hack:after { content: ''; }\n\n/* Help users use markselection to safely style text background */\nspan.CodeMirror-selectedtext { background: none; }\n",".CodeMirror-fullscreen {\n position: fixed;\n top: 0; left: 0; right: 0; bottom: 0;\n height: auto;\n z-index: 9;\n}\n",".CodeMirror-foldmarker {\n color: blue;\n text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;\n font-family: arial;\n line-height: .3;\n cursor: pointer;\n}\n.CodeMirror-foldgutter {\n width: .7em;\n}\n.CodeMirror-foldgutter-open,\n.CodeMirror-foldgutter-folded {\n cursor: pointer;\n}\n.CodeMirror-foldgutter-open:after {\n content: \"\\25BE\";\n}\n.CodeMirror-foldgutter-folded:after {\n content: \"\\25B8\";\n}\n",".CodeMirror-hints {\n position: absolute;\n z-index: 10;\n overflow: hidden;\n list-style: none;\n\n margin: 0;\n padding: 2px;\n\n -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n border-radius: 3px;\n border: 1px solid silver;\n\n background: white;\n font-size: 90%;\n font-family: monospace;\n\n max-height: 20em;\n overflow-y: auto;\n}\n\n.CodeMirror-hint {\n margin: 0;\n padding: 0 4px;\n border-radius: 2px;\n white-space: pre;\n color: black;\n cursor: pointer;\n}\n\nli.CodeMirror-hint-active {\n background: #08f;\n color: white;\n}\n","/* The lint marker gutter */\n.CodeMirror-lint-markers {\n width: 16px;\n}\n\n.CodeMirror-lint-tooltip {\n background-color: #ffd;\n border: 1px solid black;\n border-radius: 4px 4px 4px 4px;\n color: black;\n font-family: monospace;\n font-size: 10pt;\n overflow: hidden;\n padding: 2px 5px;\n position: fixed;\n white-space: pre;\n white-space: pre-wrap;\n z-index: 100;\n max-width: 600px;\n opacity: 0;\n transition: opacity .4s;\n -moz-transition: opacity .4s;\n -webkit-transition: opacity .4s;\n -o-transition: opacity .4s;\n -ms-transition: opacity .4s;\n}\n\n.CodeMirror-lint-mark {\n background-position: left bottom;\n background-repeat: repeat-x;\n}\n\n.CodeMirror-lint-mark-warning {\n background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=\");\n}\n\n.CodeMirror-lint-mark-error {\n background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==\");\n}\n\n.CodeMirror-lint-marker {\n background-position: center center;\n background-repeat: no-repeat;\n cursor: pointer;\n display: inline-block;\n height: 16px;\n width: 16px;\n vertical-align: middle;\n position: relative;\n}\n\n.CodeMirror-lint-message {\n padding-left: 18px;\n background-position: top left;\n background-repeat: no-repeat;\n}\n\n.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {\n background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=\");\n}\n\n.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {\n background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=\");\n}\n\n.CodeMirror-lint-marker-multiple {\n background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC\");\n background-repeat: no-repeat;\n background-position: right bottom;\n width: 100%; height: 100%;\n}\n\n.CodeMirror-lint-line-error {\n background-color: rgba(183, 76, 81, 0.08);\n}\n\n.CodeMirror-lint-line-warning {\n background-color: rgba(255, 211, 0, 0.1);\n}\n",".CodeMirror-simplescroll-horizontal div, .CodeMirror-simplescroll-vertical div {\n position: absolute;\n background: #ccc;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n border: 1px solid #bbb;\n border-radius: 2px;\n}\n\n.CodeMirror-simplescroll-horizontal, .CodeMirror-simplescroll-vertical {\n position: absolute;\n z-index: 6;\n background: #eee;\n}\n\n.CodeMirror-simplescroll-horizontal {\n bottom: 0; left: 0;\n height: 8px;\n}\n.CodeMirror-simplescroll-horizontal div {\n bottom: 0;\n height: 100%;\n}\n\n.CodeMirror-simplescroll-vertical {\n right: 0; top: 0;\n width: 8px;\n}\n.CodeMirror-simplescroll-vertical div {\n right: 0;\n width: 100%;\n}\n\n\n.CodeMirror-overlayscroll .CodeMirror-scrollbar-filler, .CodeMirror-overlayscroll .CodeMirror-gutter-filler {\n display: none;\n}\n\n.CodeMirror-overlayscroll-horizontal div, .CodeMirror-overlayscroll-vertical div {\n position: absolute;\n background: #bcd;\n border-radius: 3px;\n}\n\n.CodeMirror-overlayscroll-horizontal, .CodeMirror-overlayscroll-vertical {\n position: absolute;\n z-index: 6;\n}\n\n.CodeMirror-overlayscroll-horizontal {\n bottom: 0; left: 0;\n height: 6px;\n}\n.CodeMirror-overlayscroll-horizontal div {\n bottom: 0;\n height: 100%;\n}\n\n.CodeMirror-overlayscroll-vertical {\n right: 0; top: 0;\n width: 6px;\n}\n.CodeMirror-overlayscroll-vertical div {\n right: 0;\n width: 100%;\n}\n"]} \ No newline at end of file diff --git a/static/css/main.a4a38989.chunk.css b/static/css/main.a4a38989.chunk.css new file mode 100644 index 0000000..e5a7471 --- /dev/null +++ b/static/css/main.a4a38989.chunk.css @@ -0,0 +1,2 @@ +body{line-height:1.6}body a:link{border-bottom:1px solid;color:inherit;text-decoration:none}body :lang(en),body :lang(zh){font-family:"Jomolhari","Source Han Serif C","Source Han Serif K","Noto Serif CJK KR","Source Han Serif SC","Noto Serif CJK SC","Source Han Serif","Noto Serif CJK JP","Source Han Serif TC","Noto Serif CJK TC","Noto Serif KR","Noto Serif SC","Noto Serif TC","HanaMin",serif;-webkit-font-language-override:"KOR";font-language-override:"KOR"}body :lang(och-Latn-fonipa){font-family:"CharisSILW",serif}body :lang(en-x-code){font-family:monospace,"CharisSILW","Source Han Serif C","Source Han Serif K","Noto Serif CJK KR","Source Han Serif SC","Noto Serif CJK SC","Source Han Serif","Noto Serif CJK JP","Source Han Serif TC","Noto Serif CJK TC","Noto Serif KR","Noto Serif SC","Noto Serif TC","HanaMin",monospace,monospace;-webkit-font-language-override:"KOR";font-language-override:"KOR"}body nav{padding:0 2em}@media (max-width:48rem){body nav{margin-top:5rem}}body nav h1{font-size:1.75rem;text-align:center;margin:1.2rem 0 1.6rem}body nav h1 span{display:inline-block;position:relative;cursor:pointer}body nav h1 span:after{content:"";position:absolute;left:0;right:0;bottom:2px;border-bottom:1px dashed #aaa}body nav h1 span:hover{color:#444}body nav+span{position:absolute;top:1em;right:2em;border:none;text-align:right}body nav+span a{font-size:.875rem}body nav+span a.btn{display:inline-block;background-color:#555;color:#fff;line-height:2.4;font-size:1rem;padding:0 1.25em;border-radius:9999px;transition:.2s}body nav+span a.btn:hover{background-color:#606060}body .add-schema{position:relative;width:100%;border-bottom:1px solid #aaa;transition:.2s;pointer-events:none}body .add-schema:hover{border-bottom-color:#129fea}body .add-schema input{position:absolute;top:-1em;left:calc(50% - 1em);width:2em;height:2em;padding:0;margin:0;background-color:#aaa;border-radius:50%;border:4px solid #fff;cursor:pointer;transition:.2s;pointer-events:all}body .add-schema input:hover{background-color:#129fea}body .add-schema:before{top:-.5em;left:calc(50% - 1px);width:2px;height:1em;z-index:1}body .add-schema:after,body .add-schema:before{content:"";position:absolute;border-radius:1px;background-color:#fff}body .add-schema:after{top:-1px;left:calc(50% - .5em);width:1em;height:2px}body .delete-schema{position:relative;float:right}body .delete-schema input{width:24px;height:24px;padding:0;margin:0 0 4px 4px;border:none;background-color:#aaa;border-radius:50%;cursor:pointer;transition:.2s}body .delete-schema input:hover{background-color:#129fea}body .delete-schema:after{content:"";position:absolute;top:11px;left:8px;width:16px;height:2px;border-radius:1px;background-color:#fff;pointer-events:none}body .pure-button{padding-top:.2em;padding-bottom:.2em;margin-right:.3em;vertical-align:initial}body .pure-form p{margin:1.2em 0 1em}body .pure-form select{background-color:hsla(0,0%,100%,.5);padding:0 .8em 0 .4em;height:2em;vertical-align:initial;margin-left:.3em}body .pure-form textarea{background-color:hsla(0,0%,100%,.5);line-height:1.6}body .pure-form input[type=checkbox],body .pure-form input[type=radio]{margin-right:.3em}body .pure-form input[type=number],body .pure-form input[type=text]{width:100px;height:2em;vertical-align:initial;margin-left:.3em;padding:0 0 0 .6em}body .pure-form label{display:inline-block;margin:0 .4em .2em 0;white-space:nowrap}body .pure-form label:first-child select{margin:0}body .pure-form .schema-settings b:first-child{margin-right:.6em}body .pure-form .schema-settings label{margin-right:1em}body .pure-form .schema-settings label .select-label:after{content:":";color:#999}body .pure-form b+label input[type=checkbox],body .pure-form b+label input[type=radio],body .pure-form input[type=button]+label input[type=checkbox],body .pure-form input[type=button]+label input[type=radio]{margin-left:.2em}body .CodeMirror{background-color:hsla(0,0%,100%,.5);font-size:13px}body .CodeMirror .CodeMirror-matchingbracket,body .CodeMirror .CodeMirror-nonmatchingbracket{display:inline-block;position:relative}body .CodeMirror .CodeMirror-matchingbracket:before,body .CodeMirror .CodeMirror-nonmatchingbracket:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid #ddd}body .CodeMirror .CodeMirror-activeline-background{background-color:initial;right:-8px}body .CodeMirror.CodeMirror-focused .CodeMirror-activeline-background{background-color:#f6faff}body .CodeMirror .CodeMirror-placeholder.CodeMirror-line-like{color:#888}body .swal2-container.swal2-center{grid-template-columns:auto auto auto}body .about-modal.swal2-backdrop-show{background:rgba(0,0,0,.7);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}body .about-modal-content.swal2-html-container{text-align:left;padding:1.5rem 3rem;line-height:1.6}body .about-modal-content b,body .about-modal-content h2{color:#000}body .about-modal-content p{color:#5c5c5c;font-size:16px}body .about-modal-content p a:link:hover{border-bottom:1px solid #000;color:initial;transition:.5s}body .swal2-close{font-size:3.5em}body .swal2-close:focus{box-shadow:none}body .error-with-stack{width:60vw;display:block!important}body .error-with-stack p{margin:0}body .error-with-stack pre{text-align:left;overflow:auto;max-height:40vh}body .hint{color:#777}body .main-container{padding:0 2em}body #schemaInput{border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 3px #ddd;box-sizing:border-box;overflow-x:auto;width:100%}body #schemaInput:focus-within{outline:0;border-color:#129fea}body textarea{resize:vertical;width:100%}body output{display:block;font-size:105%;overflow-wrap:break-word;padding-bottom:1em;white-space:pre-line}body output h3,body output p{margin:0;line-height:1.4}body output :not(rt):lang(och-Latn-fonipa){white-space:normal}body output ruby{margin:0 3px}body output .ruby-wrapper{display:inline-block;padding:0 3px}body output .ruby-wrapper ruby{margin:0}body output rt{font-size:82.5%;line-height:1.1}body .hidden{display:none}body .nowrap{white-space:nowrap}body .entry-multiple{color:#708}body .entry-unresolved{color:#00f}body .entry-special{color:#c00}body .tooltip-item{margin:2px 10px;white-space:pre-line}body .tooltip-item.selected{color:#00f}body .tooltip-item.selected:hover{color:#a11}body .tooltip-item:not(:only-child){cursor:pointer}body .tooltip-item:not(:only-child):hover{color:#0078e7}body .large-tooltip-inner{background-color:hsla(0,0%,100%,.95);z-index:10}body .tooltip-ch{font-size:125%}body .tooltip-items-wrapper{padding-bottom:3px}.large-tooltip-inner{background-color:hsla(0,0%,100%,.95);border-radius:4px;box-shadow:0 1px 4px 1px rgba(0,0,0,.37);box-sizing:border-box;border:1px solid #fff;color:#333;max-width:calc(100vw - 2em);width:400px;position:absolute}.large-tooltip-hidden{visibility:hidden}.large-tooltip-inner:hover{visibility:visible} +/*# sourceMappingURL=main.a4a38989.chunk.css.map */ \ No newline at end of file diff --git a/static/css/main.a4a38989.chunk.css.map b/static/css/main.a4a38989.chunk.css.map new file mode 100644 index 0000000..480b836 --- /dev/null +++ b/static/css/main.a4a38989.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack://src/App.scss","webpack://src/large-tooltip.css"],"names":[],"mappings":"AAAA,KACE,eAAgB,CADlB,YAGI,uBAAwB,CACxB,aAAc,CACd,oBAAqB,CALzB,8BASI,gRAEqE,CACrE,oCAAA,CAAA,4BAA6B,CAZjC,4BAeI,8BAAgC,CAfpC,sBAkBI,ySAEyG,CACzG,oCAAA,CAAA,4BAA6B,CArBjC,SAwBI,aAAc,CACd,yBAzBJ,SA0BM,eAAgB,CA8CnB,CAxEH,YA6BM,iBAAkB,CAClB,iBAAkB,CAClB,sBAAuB,CA/B7B,iBAiCQ,oBAAqB,CACrB,iBAAkB,CAClB,cAAe,CAnCvB,uBAqCU,UAAW,CACX,iBAAkB,CAClB,MAAO,CACP,OAAQ,CACR,UAAW,CACX,6BAA8B,CA1CxC,uBA6CU,UAAW,CA7CrB,cAkDM,iBAAkB,CAClB,OAAQ,CACR,SAAU,CACV,WAAY,CACZ,gBAAiB,CAtDvB,gBAwDQ,iBAAmB,CAxD3B,oBA2DQ,oBAAqB,CACrB,qBAAsB,CACtB,UAAY,CACZ,eAAgB,CAChB,cAAe,CACf,gBAAiB,CACjB,oBAAqB,CACrB,cAAgB,CAlExB,0BAoEU,wBAAyB,CApEnC,iBA0EI,iBAAkB,CAClB,UAAW,CACX,4BAA6B,CAC7B,cAAgB,CAChB,mBAAoB,CA9ExB,uBAgFM,2BAA4B,CAhFlC,uBAmFM,iBAAkB,CAClB,QAAS,CACT,oBAAqB,CACrB,SAAU,CACV,UAAW,CACX,SAAU,CACV,QAAS,CACT,qBAAsB,CACtB,iBAAkB,CAClB,qBAAuB,CACvB,cAAe,CACf,cAAgB,CAChB,kBAAmB,CA/FzB,6BAiGQ,wBAAyB,CAjGjC,wBAuGM,SAAW,CACX,oBAAqB,CACrB,SAAU,CACV,UAAW,CAGX,SAAU,CA7GhB,+CAqGM,UAAW,CACX,iBAAkB,CAKlB,iBAAkB,CAClB,qBAWuB,CAvH7B,uBAkHM,QAAS,CACT,qBAAuB,CACvB,SAAU,CACV,UAEuB,CAvH7B,oBA2HI,iBAAkB,CAClB,WAAY,CA5HhB,0BA8HM,UAAW,CACX,WAAY,CACZ,SAAU,CACV,kBAAmB,CACnB,WAAY,CACZ,qBAAsB,CACtB,iBAAkB,CAClB,cAAe,CACf,cAAgB,CAtItB,gCAwIQ,wBAAyB,CAxIjC,0BA4IM,UAAW,CACX,iBAAkB,CAClB,QAAS,CACT,QAAS,CACT,UAAW,CACX,UAAW,CACX,iBAAkB,CAClB,qBAAuB,CACvB,mBAAoB,CApJ1B,kBAwJI,gBAAkB,CAClB,mBAAqB,CACrB,iBAAmB,CACnB,sBAAwB,CA3J5B,kBA+JM,kBAAmB,CA/JzB,uBAkKM,mCAA0C,CAC1C,qBAAwB,CACxB,UAAW,CACX,sBAAwB,CACxB,gBAAkB,CAtKxB,yBAyKM,mCAA0C,CAC1C,eAAgB,CA1KtB,uEA8KM,iBAAmB,CA9KzB,oEAkLM,WAAY,CACZ,UAAW,CACX,sBAAwB,CACxB,gBAAkB,CAClB,kBAAoB,CAtL1B,sBAyLM,oBAAqB,CACrB,oBAAuB,CACvB,kBAAmB,CA3LzB,yCA6LQ,QAAS,CA7LjB,+CAmMQ,iBAAmB,CAnM3B,uCAsMQ,gBAAiB,CAtMzB,2DAwMU,WAAS,CAAI,UACN,CAAI,gNAOQ,gBACR,CAAK,iBAIb,mCACS,CAAwB,cAC/B,CAAI,6FAEe,oBACnB,CAAY,iBACX,CAAQ,2GACV,UACG,CAAE,iBACD,CAAQ,KACb,CAAC,OACC,CAAC,QACA,CAAC,MACH,CAAC,qBACC,CAAc,mDAGO,wBACb,CAAW,UACtB,CAAI,sEAEyC,wBAClC,CAAO,8DAEiB,UACnC,CAAI,mCAGc,oCACJ,CAAc,sCAEP,yBAClB,CAAkB,kCACL,CAAU,0BAClB,CAAU,+CAGL,eACR,CAAI,mBACP,CAAW,eACP,CAAG,yDAGjB,UACQ,CAAK,4BAEb,aACQ,CAAO,cACH,CAAI,yCACH,4BACK,CAAe,aACvB,CAAO,cACF,CAAI,kBAIV,eACC,CAAK,wBACT,eACO,CAAI,uBAGH,UACR,CAAI,uBACF,CAAgB,yBACxB,QACS,CAAC,2BAER,eACW,CAAI,aACN,CAAI,eACF,CAAI,WAGf,UACI,CAAI,qBAEE,aACJ,CAAK,kBAEJ,qBACF,CAAc,iBACP,CACyB,+BAC5B,CAAoB,qBACpB,CAAU,eACV,CAAI,UACT,CAAI,+BACG,SACH,CAAC,oBACI,CAAO,cAGjB,eACE,CAAQ,UACT,CAAI,YAEP,aACK,CAAK,cACH,CAAI,wBACA,CAAU,kBACT,CAAG,oBACN,CAAQ,6BAEpB,QACS,CAAC,eACI,CAAG,2CAEa,kBAChB,CAAO,iBAElB,YACM,CAAK,0BAEF,oBACF,CAAY,aACZ,CAAK,+BACV,QACM,CAAC,eAGX,eACW,CAAK,eACH,CAAG,aAGb,YACI,CAAI,aAER,kBACQ,CAAM,qBAEN,UACN,CAAI,uBAEI,UACR,CAAI,oBAEC,UACL,CAAI,mBAEA,eACH,CAAQ,oBACH,CAAQ,4BACX,UACD,CAAI,kCACJ,UACE,CAAI,oCAGI,cACT,CAAO,0CACR,aACE,CAAO,0BAIA,oCACA,CAAyB,UAClC,CAAE,iBAEF,cACE,CAAI,4BAEK,kBACJ,CC1XpB,qBACE,oCAA2C,CAC3C,iBAAkB,CAClB,wCAA6C,CAC7C,qBAAsB,CACtB,qBAAuB,CACvB,UAAW,CAEX,2BAA4B,CAC5B,WAAY,CAEZ,iBACF,CAEA,sBACE,iBACF,CAEA,2BACE,kBACF","file":"main.a4a38989.chunk.css","sourcesContent":["body {\n line-height: 1.6;\n a:link {\n border-bottom: 1px solid;\n color: inherit;\n text-decoration: none;\n }\n :lang(en),\n :lang(zh) {\n font-family: \"Jomolhari\", \"Source Han Serif C\", \"Source Han Serif K\", \"Noto Serif CJK KR\", \"Source Han Serif SC\",\n \"Noto Serif CJK SC\", \"Source Han Serif\", \"Noto Serif CJK JP\", \"Source Han Serif TC\", \"Noto Serif CJK TC\",\n \"Noto Serif KR\", \"Noto Serif SC\", \"Noto Serif TC\", \"HanaMin\", serif;\n font-language-override: \"KOR\";\n }\n :lang(och-Latn-fonipa) {\n font-family: \"CharisSILW\", serif;\n }\n :lang(en-x-code) {\n font-family: monospace, \"CharisSILW\", \"Source Han Serif C\", \"Source Han Serif K\", \"Noto Serif CJK KR\",\n \"Source Han Serif SC\", \"Noto Serif CJK SC\", \"Source Han Serif\", \"Noto Serif CJK JP\", \"Source Han Serif TC\",\n \"Noto Serif CJK TC\", \"Noto Serif KR\", \"Noto Serif SC\", \"Noto Serif TC\", \"HanaMin\", monospace, monospace;\n font-language-override: \"KOR\";\n }\n nav {\n padding: 0 2em;\n @media (max-width: 48rem) {\n margin-top: 5rem;\n }\n h1 {\n font-size: 1.75rem;\n text-align: center;\n margin: 1.2rem 0 1.6rem;\n span {\n display: inline-block;\n position: relative;\n cursor: pointer;\n &:after {\n content: \"\";\n position: absolute;\n left: 0;\n right: 0;\n bottom: 2px;\n border-bottom: 1px dashed #aaa;\n }\n &:hover {\n color: #444;\n }\n }\n }\n & + span {\n position: absolute;\n top: 1em;\n right: 2em;\n border: none;\n text-align: right;\n a {\n font-size: 0.875rem;\n }\n a.btn {\n display: inline-block;\n background-color: #555;\n color: white;\n line-height: 2.4;\n font-size: 1rem;\n padding: 0 1.25em;\n border-radius: 9999px;\n transition: 0.2s;\n &:hover {\n background-color: #606060;\n }\n }\n }\n }\n .add-schema {\n position: relative;\n width: 100%;\n border-bottom: 1px solid #aaa;\n transition: 0.2s;\n pointer-events: none;\n &:hover {\n border-bottom-color: #129fea;\n }\n input {\n position: absolute;\n top: -1em;\n left: calc(50% - 1em);\n width: 2em;\n height: 2em;\n padding: 0;\n margin: 0;\n background-color: #aaa;\n border-radius: 50%;\n border: 4px solid white;\n cursor: pointer;\n transition: 0.2s;\n pointer-events: all;\n &:hover {\n background-color: #129fea;\n }\n }\n &:before {\n content: \"\";\n position: absolute;\n top: -0.5em;\n left: calc(50% - 1px);\n width: 2px;\n height: 1em;\n border-radius: 1px;\n background-color: white;\n z-index: 1;\n }\n &:after {\n content: \"\";\n position: absolute;\n top: -1px;\n left: calc(50% - 0.5em);\n width: 1em;\n height: 2px;\n border-radius: 1px;\n background-color: white;\n }\n }\n .delete-schema {\n position: relative;\n float: right;\n input {\n width: 24px;\n height: 24px;\n padding: 0;\n margin: 0 0 4px 4px;\n border: none;\n background-color: #aaa;\n border-radius: 50%;\n cursor: pointer;\n transition: 0.2s;\n &:hover {\n background-color: #129fea;\n }\n }\n &:after {\n content: \"\";\n position: absolute;\n top: 11px;\n left: 8px;\n width: 16px;\n height: 2px;\n border-radius: 1px;\n background-color: white;\n pointer-events: none;\n }\n }\n .pure-button {\n padding-top: 0.2em;\n padding-bottom: 0.2em;\n margin-right: 0.3em;\n vertical-align: baseline;\n }\n .pure-form {\n p {\n margin: 1.2em 0 1em;\n }\n select {\n background-color: rgba(255, 255, 255, 0.5);\n padding: 0 0.8em 0 0.4em;\n height: 2em;\n vertical-align: baseline;\n margin-left: 0.3em;\n }\n textarea {\n background-color: rgba(255, 255, 255, 0.5);\n line-height: 1.6;\n }\n input[type=\"radio\"],\n input[type=\"checkbox\"] {\n margin-right: 0.3em;\n }\n input[type=\"text\"],\n input[type=\"number\"] {\n width: 100px;\n height: 2em;\n vertical-align: baseline;\n margin-left: 0.3em;\n padding: 0 0 0 0.6em;\n }\n label {\n display: inline-block;\n margin: 0 0.4em 0.2em 0;\n white-space: nowrap;\n &:first-child select {\n margin: 0;\n }\n }\n .schema-settings {\n // More spacing in schema settings so that adjacent items of various types are easier to tell apart\n b:first-child {\n margin-right: 0.6em;\n }\n label {\n margin-right: 1em;\n .select-label::after {\n content: \":\";\n color: #999;\n }\n }\n }\n b + label,\n input[type=\"button\"] + label {\n input[type=\"radio\"],\n input[type=\"checkbox\"] {\n margin-left: 0.2em;\n }\n }\n }\n .CodeMirror {\n background-color: rgba(255, 255, 255, 0.5);\n font-size: 13px;\n .CodeMirror-matchingbracket,\n .CodeMirror-nonmatchingbracket {\n display: inline-block;\n position: relative;\n &:before {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n border: 1px solid #ddd;\n }\n }\n .CodeMirror-activeline-background {\n background-color: transparent;\n right: -8px;\n }\n &.CodeMirror-focused .CodeMirror-activeline-background {\n background-color: #f6faff;\n }\n .CodeMirror-placeholder.CodeMirror-line-like {\n color: #888;\n }\n }\n .swal2-container.swal2-center {\n grid-template-columns: auto auto auto;\n }\n .about-modal.swal2-backdrop-show {\n background: rgba(0, 0, 0, 0.7);\n -webkit-backdrop-filter: blur(18px);\n backdrop-filter: blur(18px);\n }\n .about-modal-content {\n &.swal2-html-container {\n text-align: left;\n padding: 1.5rem 3rem;\n line-height: 1.6;\n }\n h2,\n b {\n color: black;\n }\n p {\n color: #5c5c5c;\n font-size: 16px;\n a:link:hover {\n border-bottom: 1px solid black;\n color: initial;\n transition: 0.5s;\n }\n }\n }\n .swal2-close {\n font-size: 3.5em;\n &:focus {\n box-shadow: none;\n }\n }\n .error-with-stack {\n width: 60vw;\n display: block !important;\n p {\n margin: 0;\n }\n pre {\n text-align: left;\n overflow: auto;\n max-height: 40vh;\n }\n }\n .hint {\n color: #777;\n }\n .main-container {\n padding: 0 2em;\n }\n #schemaInput {\n border: 1px solid #ccc;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 3px #ddd;\n box-shadow: inset 0 1px 3px #ddd;\n box-sizing: border-box;\n overflow-x: auto;\n width: 100%;\n &:focus-within {\n outline: 0;\n border-color: #129fea;\n }\n }\n textarea {\n resize: vertical;\n width: 100%;\n }\n output {\n display: block;\n font-size: 105%;\n overflow-wrap: break-word;\n padding-bottom: 1em;\n white-space: pre-line;\n h3,\n p {\n margin: 0;\n line-height: 1.4;\n }\n :not(rt):lang(och-Latn-fonipa) {\n white-space: initial;\n }\n ruby {\n margin: 0 3px;\n }\n .ruby-wrapper {\n display: inline-block;\n padding: 0 3px;\n ruby {\n margin: 0;\n }\n }\n rt {\n font-size: 82.5%;\n line-height: 1.1;\n }\n }\n .hidden {\n display: none;\n }\n .nowrap {\n white-space: nowrap;\n }\n .entry-multiple {\n color: #708;\n }\n .entry-unresolved {\n color: #00f;\n }\n .entry-special {\n color: #c00;\n }\n .tooltip-item {\n margin: 2px 10px;\n white-space: pre-line;\n &.selected {\n color: #00f;\n &:hover {\n color: #a11;\n }\n }\n &:not(:only-child) {\n cursor: pointer;\n &:hover {\n color: #0078e7;\n }\n }\n }\n .large-tooltip-inner {\n background-color: rgba(255, 255, 255, 0.95);\n z-index: 10;\n }\n .tooltip-ch {\n font-size: 125%;\n }\n .tooltip-items-wrapper {\n padding-bottom: 3px;\n }\n}\n",".large-tooltip-inner {\n background-color: rgba(255, 255, 255, 0.95);\n border-radius: 4px;\n box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.37);\n box-sizing: border-box;\n border: 1px solid white;\n color: #333;\n\n max-width: calc(100vw - 2em);\n width: 400px;\n\n position: absolute;\n}\n\n.large-tooltip-hidden {\n visibility: hidden;\n}\n\n.large-tooltip-inner:hover {\n visibility: visible;\n}\n"]} \ No newline at end of file diff --git a/static/js/2.f516511b.chunk.js b/static/js/2.f516511b.chunk.js new file mode 100644 index 0000000..2e24a73 --- /dev/null +++ b/static/js/2.f516511b.chunk.js @@ -0,0 +1,3 @@ +/*! For license information please see 2.f516511b.chunk.js.LICENSE.txt */ +(this["webpackJsonpqieyun-autoderiver"]=this["webpackJsonpqieyun-autoderiver"]||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(66)},function(e,t,n){e.exports=function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),a=/Edge\/(\d+)/.exec(e),o=r||i||a,s=o&&(r?document.documentMode||6:+(a||i)[1]),u=!a&&/WebKit\//.test(e),l=u&&/Qt\/\d+\.\d+/.test(e),c=!a&&/Chrome\/(\d+)/.exec(e),p=c&&+c[1],f=/Opera\//.test(e),d=/Apple Computer/.test(navigator.vendor),h=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),m=/PhantomJS/.test(e),y=d&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),v=/Android/.test(e),g=y||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),D=y||/Mac/.test(t),b=/\bCrOS\b/.test(e),x=/win/i.test(t),C=f&&e.match(/Version\/(\d*\.\d*)/);C&&(C=Number(C[1])),C&&C>=15&&(f=!1,u=!0);var E=D&&(l||f&&(null==C||C<12.11)),A=n||o&&s>=9;function w(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var k,S=function(e,t){var n=e.className,r=w(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function F(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function T(e,t){return F(e).appendChild(t)}function P(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var a=0;a=t)return o+(t-a);o+=s-a,o+=n-o%n,a=s+1}}y?_=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:o&&(_=function(e){try{e.select()}catch(t){}});var H=function(){this.id=null,this.f=null,this.time=0,this.handler=R(this.onTimeout,this)};function U(e,t){for(var n=0;n=t)return r+Math.min(o,t-i);if(i+=a-r,r=a+1,(i+=n-i%n)>=t)return r}}var X=[""];function Q(e){for(;X.length<=e;)X.push(Y(X)+" ");return X[e]}function Y(e){return e[e.length-1]}function Z(e,t){for(var n=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||re.test(e))}function ae(e,t){return t?!!(t.source.indexOf("\\w")>-1&&ie(e))||t.test(e):ie(e)}function oe(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var se=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ue(e){return e.charCodeAt(0)>=768&&se.test(e)}function le(e,t,n){for(;(n<0?t>0:tn?-1:1;;){if(t==n)return t;var i=(t+n)/2,a=r<0?Math.ceil(i):Math.floor(i);if(a==t)return e(a)?t:n;e(a)?n=a:t=a+r}}function pe(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,a=0;at||t==n&&o.to==t)&&(r(Math.max(o.from,t),Math.min(o.to,n),1==o.level?"rtl":"ltr",a),i=!0)}i||r(t,n,"ltr")}var fe=null;function de(e,t,n){var r;fe=null;for(var i=0;it)return i;a.to==t&&(a.from!=a.to&&"before"==n?r=i:fe=i),a.from==t&&(a.from!=a.to&&"before"!=n?r=i:fe=i)}return null!=r?r:fe}var he=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,a=/[LRr]/,o=/[Lb1n]/,s=/[1n]/;function u(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var l="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!r.test(e))return!1;for(var c=e.length,p=[],f=0;f-1&&(r[t]=i.slice(0,a).concat(i.slice(a+1)))}}}function be(e,t){var n=ge(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i0}function Ae(e){e.prototype.on=function(e,t){ve(this,e,t)},e.prototype.off=function(e,t){De(this,e,t)}}function we(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function ke(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Se(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Fe(e){we(e),ke(e)}function Te(e){return e.target||e.srcElement}function Pe(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),D&&e.ctrlKey&&1==t&&(t=3),t}var Be,Ne,Ie=function(){if(o&&s<9)return!1;var e=P("div");return"draggable"in e||"dragDrop"in e}();function Le(e){if(null==Be){var t=P("span","​");T(e,P("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Be=t.offsetWidth<=1&&t.offsetHeight>2&&!(o&&s<8))}var n=Be?P("span","​"):P("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Oe(e){if(null!=Ne)return Ne;var t=T(e,document.createTextNode("AخA")),n=k(t,0,1).getBoundingClientRect(),r=k(t,1,2).getBoundingClientRect();return F(e),!(!n||n.left==n.right)&&(Ne=r.right-n.right<3)}var _e=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var a=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),o=a.indexOf("\r");-1!=o?(n.push(a.slice(0,o)),t+=o+1):(n.push(a),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Me=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(n){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},je=function(){var e=P("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Re=null;function We(e){if(null!=Re)return Re;var t=T(e,P("span","x")),n=t.getBoundingClientRect(),r=k(t,0,1).getBoundingClientRect();return Re=Math.abs(n.left-r.left)>1}var Ve={},He={};function Ue(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Ve[e]=t}function ze(e,t){He[e]=t}function Ge(e){if("string"==typeof e&&He.hasOwnProperty(e))e=He[e];else if(e&&"string"==typeof e.name&&He.hasOwnProperty(e.name)){var t=He[e.name];"string"==typeof t&&(t={name:t}),(e=ne(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Ge("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Ge("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function qe(e,t){t=Ge(t);var n=Ve[t.name];if(!n)return qe(e,"text/plain");var r=n(e,t);if(Ke.hasOwnProperty(t.name)){var i=Ke[t.name];for(var a in i)i.hasOwnProperty(a)&&(r.hasOwnProperty(a)&&(r["_"+a]=r[a]),r[a]=i[a])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var o in t.modeProps)r[o]=t.modeProps[o];return r}var Ke={};function Je(e,t){W(t,Ke.hasOwnProperty(e)?Ke[e]:Ke[e]={})}function $e(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function Xe(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function Qe(e,t,n){return!e.startState||e.startState(t,n)}var Ye=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function Ze(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],a=i.chunkSize();if(t=e.first&&tn?st(n,Ze(e,n).text.length):mt(t,Ze(e,t.line).text.length)}function mt(e,t){var n=e.ch;return null==n||n>t?st(e.line,t):n<0?st(e.line,0):e}function yt(e,t){for(var n=[],r=0;r=this.string.length},Ye.prototype.sol=function(){return this.pos==this.lineStart},Ye.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ye.prototype.next=function(){if(this.post},Ye.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ye.prototype.skipToEnd=function(){this.pos=this.string.length},Ye.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ye.prototype.backUp=function(e){this.pos-=e},Ye.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},Ye.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ye.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ye.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ye.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var vt=function(e,t){this.state=e,this.lookAhead=t},gt=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function Dt(e,t,n,r){var i=[e.state.modeGen],a={};Ft(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),a,r);for(var o=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],u=1,l=0;n.state=!0,Ft(e,t.text,s.mode,n,(function(e,t){for(var n=u;le&&i.splice(u,1,e,i[u+1],r),u+=2,l=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,u-n,e,"overlay "+t),u=n+2;else for(;ne.options.maxHighlightLength&&$e(e.doc.mode,r.state),a=Dt(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=a.styles,a.classes?t.styleClasses=a.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function xt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new gt(r,!0,t);var a=Tt(e,t,n),o=a>r.first&&Ze(r,a-1).stateAfter,s=o?gt.fromSaved(r,o,a):new gt(r,Qe(r.mode),a);return r.iter(a,t,(function(n){Ct(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&rt.start)return a}throw new Error("Mode "+e.name+" failed to advance stream.")}gt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},gt.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},gt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},gt.fromSaved=function(e,t,n){return t instanceof vt?new gt(e,$e(e.mode,t.state),n,t.lookAhead):new gt(e,$e(e.mode,t),n)},gt.prototype.save=function(e){var t=!1!==e?$e(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new vt(t,this.maxLookAhead):t};var wt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function kt(e,t,n,r){var i,a,o=e.doc,s=o.mode,u=Ze(o,(t=ht(o,t)).line),l=xt(e,t.line,n),c=new Ye(u.text,e.options.tabSize,l);for(r&&(a=[]);(r||c.pose.options.maxHighlightLength?(s=!1,o&&Ct(e,t,r,p.pos),p.pos=t.length,u=null):u=St(At(n,p,r.state,f),a),f){var d=f[0].name;d&&(u="m-"+(u?d+" "+u:d))}if(!s||c!=u){for(;lo;--s){if(s<=a.first)return a.first;var u=Ze(a,s-1),l=u.stateAfter;if(l&&(!n||s+(l instanceof vt?l.lookAhead:0)<=a.modeFrontier))return s;var c=V(u.text,null,e.options.tabSize);(null==i||r>c)&&(i=s-1,r=c)}return i}function Pt(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var i=Ze(e,r).stateAfter;if(i&&(!(i instanceof vt)||r+i.lookAhead=t:a.to>t);(r||(r=[])).push(new Ot(o,a.from,s?null:a.to))}}return r}function Wt(e,t,n){var r;if(e)for(var i=0;i=t:a.to>t)||a.from==t&&"bookmark"==o.type&&(!n||a.marker.insertLeft)){var s=null==a.from||(o.inclusiveLeft?a.from<=t:a.from0&&s)for(var D=0;D0)){var c=[u,1],p=ut(l.from,s.from),f=ut(l.to,s.to);(p<0||!o.inclusiveLeft&&!p)&&c.push({from:l.from,to:s.from}),(f>0||!o.inclusiveRight&&!f)&&c.push({from:s.to,to:l.to}),i.splice.apply(i,c),u+=c.length-3}}return i}function zt(e){var t=e.markedSpans;if(t){for(var n=0;nt)&&(!n||Jt(n,a.marker)<0)&&(n=a.marker)}return n}function Zt(e,t,n,r,i){var a=Ze(e,t),o=Nt&&a.markedSpans;if(o)for(var s=0;s=0&&p<=0||c<=0&&p>=0)&&(c<=0&&(u.marker.inclusiveRight&&i.inclusiveLeft?ut(l.to,n)>=0:ut(l.to,n)>0)||c>=0&&(u.marker.inclusiveRight&&i.inclusiveLeft?ut(l.from,r)<=0:ut(l.from,r)<0)))return!0}}}function en(e){for(var t;t=Xt(e);)e=t.find(-1,!0).line;return e}function tn(e){for(var t;t=Qt(e);)e=t.find(1,!0).line;return e}function nn(e){for(var t,n;t=Qt(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function rn(e,t){var n=Ze(e,t),r=en(n);return n==r?t:rt(r)}function an(e,t){if(t>e.lastLine())return t;var n,r=Ze(e,t);if(!on(e,r))return t;for(;n=Qt(r);)r=n.find(1,!0).line;return rt(r)+1}function on(e,t){var n=Nt&&t.markedSpans;if(n)for(var r=void 0,i=0;it.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var pn=function(e,t,n){this.text=e,Gt(this,t),this.height=n?n(this):1};function fn(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),zt(e),Gt(e,n);var i=r?r(e):1;i!=e.height&&nt(e,i)}function dn(e){e.parent=null,zt(e)}pn.prototype.lineNo=function(){return rt(this)},Ae(pn);var hn={},mn={};function yn(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?mn:hn;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function vn(e,t){var n=B("span",null,null,u?"padding-right: .1px":null),r={pre:B("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var a=i?t.rest[i-1]:t.line,o=void 0;r.pos=0,r.addToken=Dn,Oe(e.display.measure)&&(o=me(a,e.doc.direction))&&(r.addToken=xn(r.addToken,o)),r.map=[],En(a,r,bt(e,a,t!=e.display.externalMeasured&&rt(a))),a.styleClasses&&(a.styleClasses.bgClass&&(r.bgClass=O(a.styleClasses.bgClass,r.bgClass||"")),a.styleClasses.textClass&&(r.textClass=O(a.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Le(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(u){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return be(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=O(r.pre.className,r.textClass||"")),r}function gn(e){var t=P("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Dn(e,t,n,r,i,a,u){if(t){var l,c=e.splitSpaces?bn(t,e.trailingSpace):t,p=e.cm.state.specialChars,f=!1;if(p.test(t)){l=document.createDocumentFragment();for(var d=0;;){p.lastIndex=d;var h=p.exec(t),m=h?h.index-d:t.length-d;if(m){var y=document.createTextNode(c.slice(d,d+m));o&&s<9?l.appendChild(P("span",[y])):l.appendChild(y),e.map.push(e.pos,e.pos+m,y),e.col+=m,e.pos+=m}if(!h)break;d+=m+1;var v=void 0;if("\t"==h[0]){var g=e.cm.options.tabSize,D=g-e.col%g;(v=l.appendChild(P("span",Q(D),"cm-tab"))).setAttribute("role","presentation"),v.setAttribute("cm-text","\t"),e.col+=D}else"\r"==h[0]||"\n"==h[0]?((v=l.appendChild(P("span","\r"==h[0]?"␍":"␤","cm-invalidchar"))).setAttribute("cm-text",h[0]),e.col+=1):((v=e.cm.options.specialCharPlaceholder(h[0])).setAttribute("cm-text",h[0]),o&&s<9?l.appendChild(P("span",[v])):l.appendChild(v),e.col+=1);e.map.push(e.pos,e.pos+1,v),e.pos++}}else e.col+=t.length,l=document.createTextNode(c),e.map.push(e.pos,e.pos+t.length,l),o&&s<9&&(f=!0),e.pos+=t.length;if(e.trailingSpace=32==c.charCodeAt(t.length-1),n||r||i||f||a||u){var b=n||"";r&&(b+=r),i&&(b+=i);var x=P("span",[l],b,a);if(u)for(var C in u)u.hasOwnProperty(C)&&"style"!=C&&"class"!=C&&x.setAttribute(C,u[C]);return e.content.appendChild(x)}e.content.appendChild(l)}}function bn(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;il&&p.from<=l);f++);if(p.to>=c)return e(n,r,i,a,o,s,u);e(n,r.slice(0,p.to-l),i,a,null,s,u),a=null,r=r.slice(p.to-l),l=p.to}}}function Cn(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function En(e,t,n){var r=e.markedSpans,i=e.text,a=0;if(r)for(var o,s,u,l,c,p,f,d=i.length,h=0,m=1,y="",v=0;;){if(v==h){u=l=c=s="",f=null,p=null,v=1/0;for(var g=[],D=void 0,b=0;bh||C.collapsed&&x.to==h&&x.from==h)){if(null!=x.to&&x.to!=h&&v>x.to&&(v=x.to,l=""),C.className&&(u+=" "+C.className),C.css&&(s=(s?s+";":"")+C.css),C.startStyle&&x.from==h&&(c+=" "+C.startStyle),C.endStyle&&x.to==v&&(D||(D=[])).push(C.endStyle,x.to),C.title&&((f||(f={})).title=C.title),C.attributes)for(var E in C.attributes)(f||(f={}))[E]=C.attributes[E];C.collapsed&&(!p||Jt(p.marker,C)<0)&&(p=x)}else x.from>h&&v>x.from&&(v=x.from)}if(D)for(var A=0;A=d)break;for(var k=Math.min(d,v);;){if(y){var S=h+y.length;if(!p){var F=S>k?y.slice(0,k-h):y;t.addToken(t,F,o?o+u:u,c,h+F.length==v?l:"",s,f)}if(S>=k){y=y.slice(k-h),h=k;break}h=S,c=""}y=i.slice(a,a=n[m++]),o=yn(n[m++],t.cm.options)}}else for(var T=1;T2&&a.push((u.bottom+l.top)/2-n.top)}}a.push(n.bottom-n.top)}}function er(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var r=0;rn)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}}function tr(e,t){var n=rt(t=en(t)),r=e.display.externalMeasured=new An(e.doc,t,n);r.lineN=n;var i=r.built=vn(e,r);return r.text=i.pre,T(e.display.lineMeasure,i.pre),r}function nr(e,t,n,r){return ar(e,ir(e,t),n,r)}function rr(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt)&&(i=(a=u-s)-1,t>=u&&(o="right")),null!=i){if(r=e[l+2],s==u&&n==(r.insertLeft?"left":"right")&&(o=n),"left"==n&&0==i)for(;l&&e[l-2]==e[l-3]&&e[l-1].insertLeft;)r=e[2+(l-=3)],o="left";if("right"==n&&i==u-s)for(;l=0&&(n=e[i]).left==n.right;i--);return n}function cr(e,t,n,r){var i,a=ur(t.map,n,r),u=a.node,l=a.start,c=a.end,p=a.collapse;if(3==u.nodeType){for(var f=0;f<4;f++){for(;l&&ue(t.line.text.charAt(a.coverStart+l));)--l;for(;a.coverStart+c0&&(p=r="right"),i=e.options.lineWrapping&&(d=u.getClientRects()).length>1?d["right"==r?d.length-1:0]:u.getBoundingClientRect()}if(o&&s<9&&!l&&(!i||!i.left&&!i.right)){var h=u.parentNode.getClientRects()[0];i=h?{left:h.left,right:h.left+Nr(e.display),top:h.top,bottom:h.bottom}:sr}for(var m=i.top-t.rect.top,y=i.bottom-t.rect.top,v=(m+y)/2,g=t.view.measure.heights,D=0;D=r.text.length?(u=r.text.length,l="before"):u<=0&&(u=0,l="after"),!s)return o("before"==l?u-1:u,"before"==l);function c(e,t,n){return o(n?e-1:e,1==s[t].level!=n)}var p=de(s,u,l),f=fe,d=c(u,p,"before"==l);return null!=f&&(d.other=c(u,f,"before"!=l)),d}function Cr(e,t){var n=0;t=ht(e.doc,t),e.options.lineWrapping||(n=Nr(e.display)*t.ch);var r=Ze(e.doc,t.line),i=un(r)+Kn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Er(e,t,n,r,i){var a=st(e,t,n);return a.xRel=i,r&&(a.outside=r),a}function Ar(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return Er(r.first,0,null,-1,-1);var i=it(r,n),a=r.first+r.size-1;if(i>a)return Er(r.first+r.size-1,Ze(r,a).text.length,null,1,1);t<0&&(t=0);for(var o=Ze(r,i);;){var s=Fr(e,o,i,t,n),u=Yt(o,s.ch+(s.xRel>0||s.outside>0?1:0));if(!u)return s;var l=u.find(1);if(l.line==i)return l;o=Ze(r,i=l.line)}}function wr(e,t,n,r){r-=vr(t);var i=t.text.length,a=ce((function(t){return ar(e,n,t-1).bottom<=r}),i,0);return{begin:a,end:i=ce((function(t){return ar(e,n,t).top>r}),a,i)}}function kr(e,t,n,r){return n||(n=ir(e,t)),wr(e,t,n,gr(e,t,ar(e,n,r),"line").top)}function Sr(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function Fr(e,t,n,r,i){i-=un(t);var a=ir(e,t),o=vr(t),s=0,u=t.text.length,l=!0,c=me(t,e.doc.direction);if(c){var p=(e.options.lineWrapping?Pr:Tr)(e,t,n,a,c,r,i);s=(l=1!=p.level)?p.from:p.to-1,u=l?p.to:p.from-1}var f,d,h=null,m=null,y=ce((function(t){var n=ar(e,a,t);return n.top+=o,n.bottom+=o,!!Sr(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(h=t,m=n),!0)}),s,u),v=!1;if(m){var g=r-m.left=b.bottom?1:0}return Er(n,y=le(t.text,y,1),d,v,r-f)}function Tr(e,t,n,r,i,a,o){var s=ce((function(s){var u=i[s],l=1!=u.level;return Sr(xr(e,st(n,l?u.to:u.from,l?"before":"after"),"line",t,r),a,o,!0)}),0,i.length-1),u=i[s];if(s>0){var l=1!=u.level,c=xr(e,st(n,l?u.from:u.to,l?"after":"before"),"line",t,r);Sr(c,a,o,!0)&&c.top>o&&(u=i[s-1])}return u}function Pr(e,t,n,r,i,a,o){var s=wr(e,t,r,o),u=s.begin,l=s.end;/\s/.test(t.text.charAt(l-1))&&l--;for(var c=null,p=null,f=0;f=l||d.to<=u)){var h=ar(e,r,1!=d.level?Math.min(l,d.to)-1:Math.max(u,d.from)).right,m=hm)&&(c=d,p=m)}}return c||(c=i[i.length-1]),c.froml&&(c={from:c.from,to:l,level:c.level}),c}function Br(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==or){or=P("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)or.appendChild(document.createTextNode("x")),or.appendChild(P("br"));or.appendChild(document.createTextNode("x"))}T(e.measure,or);var n=or.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),F(e.measure),n||1}function Nr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=P("span","xxxxxxxxxx"),n=P("pre",[t],"CodeMirror-line-like");T(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function Ir(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,a=t.gutters.firstChild,o=0;a;a=a.nextSibling,++o){var s=e.display.gutterSpecs[o].className;n[s]=a.offsetLeft+a.clientLeft+i,r[s]=a.clientWidth}return{fixedPos:Lr(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Lr(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Or(e){var t=Br(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/Nr(e.display)-3);return function(i){if(on(e.doc,i))return 0;var a=0;if(i.widgets)for(var o=0;o0&&(u=Ze(e.doc,l.line).text).length==l.ch){var c=V(u,u.length,e.options.tabSize)-u.length;l=st(l.line,Math.max(0,Math.round((a-$n(e.display).left)/Nr(e.display))-c))}return l}function jr(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;rt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Nt&&rn(e.doc,t)i.viewFrom?Vr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Vr(e);else if(t<=i.viewFrom){var a=Hr(e,n,n+r,1);a?(i.view=i.view.slice(a.index),i.viewFrom=a.lineN,i.viewTo+=r):Vr(e)}else if(n>=i.viewTo){var o=Hr(e,t,t,-1);o?(i.view=i.view.slice(0,o.index),i.viewTo=o.lineN):Vr(e)}else{var s=Hr(e,t,t,-1),u=Hr(e,n,n+r,1);s&&u?(i.view=i.view.slice(0,s.index).concat(wn(e,s.lineN,u.lineN)).concat(i.view.slice(u.index)),i.viewTo+=r):Vr(e)}var l=i.externalMeasured;l&&(n=i.lineN&&t=r.viewTo)){var a=r.view[jr(e,t)];if(null!=a.node){var o=a.changes||(a.changes=[]);-1==U(o,n)&&o.push(n)}}}function Vr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Hr(e,t,n,r){var i,a=jr(e,t),o=e.display.view;if(!Nt||n==e.doc.first+e.doc.size)return{index:a,lineN:n};for(var s=e.display.viewFrom,u=0;u0){if(a==o.length-1)return null;i=s+o[a].size-t,a++}else i=s-t;t+=i,n+=i}for(;rn(e.doc,n)!=n;){if(a==(r<0?0:o.length-1))return null;n+=r*o[a-(r<0?1:0)].size,a+=r}return{index:a,lineN:n}}function Ur(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=wn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=wn(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,jr(e,n)))),r.viewTo=n}function zr(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo||u.to().line0?o:e.defaultCharWidth())+"px"}if(r.other){var s=n.appendChild(P("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));s.style.display="",s.style.left=r.other.left+"px",s.style.top=r.other.top+"px",s.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function Jr(e,t){return e.top-t.top||e.left-t.left}function $r(e,t,n){var r=e.display,i=e.doc,a=document.createDocumentFragment(),o=$n(e.display),s=o.left,u=Math.max(r.sizerWidth,Qn(e)-r.sizer.offsetLeft)-o.right,l="ltr"==i.direction;function c(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),a.appendChild(P("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?u-e:n)+"px;\n height: "+(r-t)+"px"))}function p(t,n,r){var a,o,p=Ze(i,t),f=p.text.length;function d(n,r){return br(e,st(t,n),"div",p,r)}function h(t,n,r){var i=kr(e,p,null,t),a="ltr"==n==("after"==r)?"left":"right";return d("after"==r?i.begin:i.end-(/\s/.test(p.text.charAt(i.end-1))?2:1),a)[a]}var m=me(p,i.direction);return pe(m,n||0,null==r?f:r,(function(e,t,i,p){var y="ltr"==i,v=d(e,y?"left":"right"),g=d(t-1,y?"right":"left"),D=null==n&&0==e,b=null==r&&t==f,x=0==p,C=!m||p==m.length-1;if(g.top-v.top<=3){var E=(l?b:D)&&C,A=(l?D:b)&&x?s:(y?v:g).left,w=E?u:(y?g:v).right;c(A,v.top,w-A,v.bottom)}else{var k,S,F,T;y?(k=l&&D&&x?s:v.left,S=l?u:h(e,i,"before"),F=l?s:h(t,i,"after"),T=l&&b&&C?u:g.right):(k=l?h(e,i,"before"):s,S=!l&&D&&x?u:v.right,F=!l&&b&&C?s:g.left,T=l?h(t,i,"after"):u),c(k,v.top,S-k,v.bottom),v.bottom0?t.blinker=setInterval((function(){e.hasFocus()||ei(e),t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Qr(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Zr(e))}function Yr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&ei(e))}),100)}function Zr(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(be(e,"focus",e,t),e.state.focused=!0,L(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),u&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),Xr(e))}function ei(e,t){e.state.delayingBlurEvent||(e.state.focused&&(be(e,"blur",e,t),e.state.focused=!1,S(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function ti(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=Math.max(0,t.scroller.getBoundingClientRect().top),i=t.lineDiv.getBoundingClientRect().top,a=0,u=0;u.005||m<-.005)&&(ie.display.sizerWidth){var v=Math.ceil(f/Nr(e.display));v>e.display.maxLineLength&&(e.display.maxLineLength=v,e.display.maxLine=l.line,e.display.maxLineChanged=!0)}}}Math.abs(a)>2&&(t.scroller.scrollTop+=a)}function ni(e){if(e.widgets)for(var t=0;t=o&&(a=it(t,un(Ze(t,u))-e.wrapper.clientHeight),o=u)}return{from:a,to:Math.max(o,a+1)}}function ii(e,t){if(!xe(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null,a=n.wrapper.ownerDocument;if(t.top+r.top<0?i=!0:t.bottom+r.top>(a.defaultView.innerHeight||a.documentElement.clientHeight)&&(i=!1),null!=i&&!m){var o=P("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Kn(e.display))+"px;\n height: "+(t.bottom-t.top+Xn(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}function ai(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n="before"==t.sticky?st(t.line,t.ch+1,"before"):t,t=t.ch?st(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t);for(var a=0;a<5;a++){var o=!1,s=xr(e,t),u=n&&n!=t?xr(e,n):s,l=si(e,i={left:Math.min(s.left,u.left),top:Math.min(s.top,u.top)-r,right:Math.max(s.left,u.left),bottom:Math.max(s.bottom,u.bottom)+r}),c=e.doc.scrollTop,p=e.doc.scrollLeft;if(null!=l.scrollTop&&(hi(e,l.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(o=!0)),null!=l.scrollLeft&&(yi(e,l.scrollLeft),Math.abs(e.doc.scrollLeft-p)>1&&(o=!0)),!o)break}return i}function oi(e,t){var n=si(e,t);null!=n.scrollTop&&hi(e,n.scrollTop),null!=n.scrollLeft&&yi(e,n.scrollLeft)}function si(e,t){var n=e.display,r=Br(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,a=Yn(e),o={};t.bottom-t.top>a&&(t.bottom=t.top+a);var s=e.doc.height+Jn(n),u=t.tops-r;if(t.topi+a){var c=Math.min(t.top,(l?s:t.bottom)-a);c!=i&&(o.scrollTop=c)}var p=e.options.fixedGutter?0:n.gutters.offsetWidth,f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft-p,d=Qn(e)-n.gutters.offsetWidth,h=t.right-t.left>d;return h&&(t.right=t.left+d),t.left<10?o.scrollLeft=0:t.leftd+f-3&&(o.scrollLeft=t.right+(h?0:10)-d),o}function ui(e,t){null!=t&&(fi(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function li(e){fi(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function ci(e,t,n){null==t&&null==n||fi(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function pi(e,t){fi(e),e.curOp.scrollToPos=t}function fi(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,di(e,Cr(e,t.from),Cr(e,t.to),t.margin))}function di(e,t,n,r){var i=si(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});ci(e,i.scrollLeft,i.scrollTop)}function hi(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||Gi(e,{top:t}),mi(e,t,!0),n&&Gi(e),Mi(e,100))}function mi(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function yi(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,$i(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function vi(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Jn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Xn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var gi=function(e,t,n){this.cm=n;var r=this.vert=P("div",[P("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=P("div",[P("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),ve(r,"scroll",(function(){r.clientHeight&&t(r.scrollTop,"vertical")})),ve(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,o&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};gi.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var a=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+a)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},gi.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},gi.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},gi.prototype.zeroWidthHack=function(){var e=D&&!h?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new H,this.disableVert=new H},gi.prototype.enableZeroWidthBar=function(e,t,n){function r(){var i=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.visibility="hidden":t.set(1e3,r)}e.style.visibility="",t.set(1e3,r)},gi.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Di=function(){};function bi(e,t){t||(t=vi(e));var n=e.display.barWidth,r=e.display.barHeight;xi(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&ti(e),xi(e,vi(e)),n=e.display.barWidth,r=e.display.barHeight}function xi(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}Di.prototype.update=function(){return{bottom:0,right:0}},Di.prototype.setScrollLeft=function(){},Di.prototype.setScrollTop=function(){},Di.prototype.clear=function(){};var Ci={native:gi,null:Di};function Ei(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&S(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Ci[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),ve(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?yi(e,t):hi(e,t)}),e),e.display.scrollbars.addClass&&L(e.display.wrapper,e.display.scrollbars.addClass)}var Ai=0;function wi(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Ai,markArrays:null},Sn(e.curOp)}function ki(e){var t=e.curOp;t&&Tn(t,(function(e){for(var t=0;t=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Ri(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Ti(e){e.updatedDisplay=e.mustUpdate&&Ui(e.cm,e.update)}function Pi(e){var t=e.cm,n=t.display;e.updatedDisplay&&ti(t),e.barMeasure=vi(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=nr(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Xn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Qn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Bi(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft=e.display.viewTo)){var n=+new Date+e.options.workTime,r=xt(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(a){if(r.line>=e.display.viewFrom){var o=a.styles,s=a.text.length>e.options.maxHighlightLength?$e(t.mode,r.state):null,u=Dt(e,a,r,!0);s&&(r.state=s),a.styles=u.styles;var l=a.styleClasses,c=u.classes;c?a.styleClasses=c:l&&(a.styleClasses=null);for(var p=!o||o.length!=a.styles.length||l!=c&&(!l||!c||l.bgClass!=c.bgClass||l.textClass!=c.textClass),f=0;!p&&fn)return Mi(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Ii(e,(function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==zr(e))return!1;Xi(e)&&(Vr(e),t.dims=Ir(e));var i=r.first+r.size,a=Math.max(t.visible.from-e.options.viewportMargin,r.first),o=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFromo&&n.viewTo-o<20&&(o=Math.min(i,n.viewTo)),Nt&&(a=rn(e.doc,a),o=an(e.doc,o));var s=a!=n.viewFrom||o!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;Ur(e,a,o),n.viewOffset=un(Ze(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var u=zr(e);if(!s&&0==u&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var l=Vi(e);return u>4&&(n.lineDiv.style.display="none"),qi(e,n.updateLineNumbers,t.dims),u>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Hi(l),F(n.cursorDiv),F(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,Mi(e,400)),n.updateLineNumbers=null,!0}function zi(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Qn(e))r&&(t.visible=ri(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Jn(e.display)-Yn(e),n.top)}),t.visible=ri(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!Ui(e,t))break;ti(e);var i=vi(e);Gr(e),bi(e,i),Ji(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Gi(e,t){var n=new Ri(e,t);if(Ui(e,n)){ti(e),zi(e,n);var r=vi(e);Gr(e),bi(e,r),Ji(e,r),n.finish()}}function qi(e,t,n){var r=e.display,i=e.options.lineNumbers,a=r.lineDiv,o=a.firstChild;function s(t){var n=t.nextSibling;return u&&D&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var l=r.view,c=r.viewFrom,p=0;p-1&&(d=!1),In(e,f,c,n)),d&&(F(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(ot(e.options,c)))),o=f.node.nextSibling}else{var h=Vn(e,f,c,n);a.insertBefore(h,o)}c+=f.size}for(;o;)o=s(o)}function Ki(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",Bn(e,"gutterChanged",e)}function Ji(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Xn(e)+"px"}function $i(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=Lr(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,a=r+"px",o=0;ol.clientWidth,h=l.scrollHeight>l.clientHeight;if(i&&d||a&&h){if(a&&D&&u)e:for(var m=t.target,y=s.view;m!=l;m=m.parentNode)for(var v=0;v=0&&ut(e,r.to())<=0)return n}return-1};var sa=function(e,t){this.anchor=e,this.head=t};function ua(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return ut(e.from(),t.from())})),n=U(t,i);for(var a=1;a0:u>=0){var l=ft(s.from(),o.from()),c=pt(s.to(),o.to()),p=s.empty()?o.from()==o.head:s.from()==s.head;a<=n&&--n,t.splice(--a,2,new sa(p?c:l,p?l:c))}}return new oa(t,n)}function la(e,t){return new oa([new sa(e,t||e)],0)}function ca(e){return e.text?st(e.from.line+e.text.length-1,Y(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function pa(e,t){if(ut(e,t.from)<0)return e;if(ut(e,t.to)<=0)return ca(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=ca(t).ch-t.to.ch),st(n,r)}function fa(e,t){for(var n=[],r=0;r1&&e.remove(s.line+1,h-1),e.insert(s.line+1,v)}Bn(e,"change",e,t)}function Da(e,t,n){function r(e,i,a){if(e.linked)for(var o=0;o1&&!e.done[e.done.length-2].ranges?(e.done.pop(),Y(e.done)):void 0}function Sa(e,t,n,r){var i=e.history;i.undone.length=0;var a,o,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(a=ka(i,i.lastOp==r)))o=Y(a.changes),0==ut(t.from,t.to)&&0==ut(t.from,o.to)?o.to=ca(t):a.changes.push(Aa(e,t));else{var u=Y(i.done);for(u&&u.ranges||Pa(e.sel,i.done),a={changes:[Aa(e,t)],generation:i.generation},i.done.push(a);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,o||be(e,"historyAdded")}function Fa(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Ta(e,t,n,r){var i=e.history,a=r&&r.origin;n==i.lastSelOp||a&&i.lastSelOrigin==a&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==a||Fa(e,a,Y(i.done),t))?i.done[i.done.length-1]=t:Pa(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=a,i.lastSelOp=n,r&&!1!==r.clearRedo&&wa(i.undone)}function Pa(e,t){var n=Y(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Ba(e,t,n,r){var i=t["spans_"+e.id],a=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[a]=n.markedSpans),++a}))}function Na(e){if(!e)return null;for(var t,n=0;n-1&&(Y(s)[p]=l[p],delete l[p])}}}return r}function _a(e,t,n,r){if(r){var i=e.anchor;if(n){var a=ut(t,i)<0;a!=ut(n,i)<0?(i=t,t=n):a!=ut(t,n)<0&&(t=n)}return new sa(i,t)}return new sa(n||t,t)}function Ma(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Ua(e,new oa([_a(e.sel.primary(),t,n,i)],0),r)}function ja(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),a=0;a=t.ch:s.to>t.ch))){if(i&&(be(u,"beforeCursorEnter"),u.explicitlyCleared)){if(a.markedSpans){--o;continue}break}if(!u.atomic)continue;if(n){var p=u.find(r<0?1:-1),f=void 0;if((r<0?c:l)&&(p=Xa(e,p,-r,p&&p.line==t.line?a:null)),p&&p.line==t.line&&(f=ut(p,n))&&(r<0?f<0:f>0))return Ja(e,p,t,r,i)}var d=u.find(r<0?-1:1);return(r<0?l:c)&&(d=Xa(e,d,r,d.line==t.line?a:null)),d?Ja(e,d,t,r,i):null}}return t}function $a(e,t,n,r,i){var a=r||1,o=Ja(e,t,n,a,i)||!i&&Ja(e,t,n,a,!0)||Ja(e,t,n,-a,i)||!i&&Ja(e,t,n,-a,!0);return o||(e.cantEdit=!0,st(e.first,0))}function Xa(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?ht(e,st(t.line-1)):null:n>0&&t.ch==(r||Ze(e,t.line)).text.length?t.line=0;--i)eo(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else eo(e,t)}}function eo(e,t){if(1!=t.text.length||""!=t.text[0]||0!=ut(t.from,t.to)){var n=fa(e,t);Sa(e,t,n,e.cm?e.cm.curOp.id:NaN),ro(e,t,n,Vt(e,t));var r=[];Da(e,(function(e,n){n||-1!=U(r,e.history)||(uo(e.history,t),r.push(e.history)),ro(e,t,null,Vt(e,t))}))}}function to(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,a=e.history,o=e.sel,s="undo"==t?a.done:a.undone,u="undo"==t?a.undone:a.done,l=0;l=0;--d){var h=f(d);if(h)return h.v}}}}function no(e,t){if(0!=t&&(e.first+=t,e.sel=new oa(Z(e.sel.ranges,(function(e){return new sa(st(e.anchor.line+t,e.anchor.ch),st(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){Rr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.linea&&(t={from:t.from,to:st(a,Ze(e,a).text.length),text:[t.text[0]],origin:t.origin}),t.removed=et(e,t.from,t.to),n||(n=fa(e,t)),e.cm?io(e.cm,t,r):ga(e,t,r),za(e,n,q),e.cantEdit&&$a(e,st(e.firstLine(),0))&&(e.cantEdit=!1)}}function io(e,t,n){var r=e.doc,i=e.display,a=t.from,o=t.to,s=!1,u=a.line;e.options.lineWrapping||(u=rt(en(Ze(r,a.line))),r.iter(u,o.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&Ce(e),ga(r,t,n,Or(e)),e.options.lineWrapping||(r.iter(u,a.line+t.text.length,(function(e){var t=ln(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),Pt(r,a.line),Mi(e,400);var l=t.text.length-(o.line-a.line)-1;t.full?Rr(e):a.line!=o.line||1!=t.text.length||va(e.doc,t)?Rr(e,a.line,o.line+1,l):Wr(e,a.line,"text");var c=Ee(e,"changes"),p=Ee(e,"change");if(p||c){var f={from:a,to:o,text:t.text,removed:t.removed,origin:t.origin};p&&Bn(e,"change",e,f),c&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(f)}e.display.selForContextMenu=null}function ao(e,t,n,r,i){var a;r||(r=n),ut(r,n)<0&&(n=(a=[r,n])[0],r=a[1]),"string"==typeof t&&(t=e.splitLines(t)),Za(e,{from:n,to:r,text:t,origin:i})}function oo(e,t,n,r){n1||!(this.children[0]instanceof co))){var s=[];this.collapse(s),this.children=[new co(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var o=i.lines.length%25+25,s=o;s10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r0||0==o&&!1!==a.clearWhenEmpty)return a;if(a.replacedWith&&(a.collapsed=!0,a.widgetNode=B("span",[a.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||a.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(a.widgetNode.insertLeft=!0)),a.collapsed){if(Zt(e,t.line,t,n,a)||t.line!=n.line&&Zt(e,n.line,t,n,a))throw new Error("Inserting collapsed marker partially overlapping an existing one");Lt()}a.addToHistory&&Sa(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,u=t.line,l=e.cm;if(e.iter(u,n.line+1,(function(r){l&&a.collapsed&&!l.options.lineWrapping&&en(r)==l.display.maxLine&&(s=!0),a.collapsed&&u!=t.line&&nt(r,0),jt(r,new Ot(a,u==t.line?t.ch:null,u==n.line?n.ch:null),e.cm&&e.cm.curOp),++u})),a.collapsed&&e.iter(t.line,n.line+1,(function(t){on(e,t)&&nt(t,0)})),a.clearOnEnter&&ve(a,"beforeCursorEnter",(function(){return a.clear()})),a.readOnly&&(It(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),a.collapsed&&(a.id=++yo,a.atomic=!0),l){if(s&&(l.curOp.updateMaxLine=!0),a.collapsed)Rr(l,t.line,n.line+1);else if(a.className||a.startStyle||a.endStyle||a.css||a.attributes||a.title)for(var c=t.line;c<=n.line;c++)Wr(l,c,"text");a.atomic&&qa(l.doc),Bn(l,"markerAdded",l,a)}return a}vo.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&wi(e),Ee(this,"clear")){var n=this.find();n&&Bn(this,"clear",n.from,n.to)}for(var r=null,i=null,a=0;ae.display.maxLineLength&&(e.display.maxLine=l,e.display.maxLineLength=c,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Rr(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&qa(e.doc)),e&&Bn(e,"markerCleared",e,this,r,i),t&&ki(e),this.parent&&this.parent.clear()}},vo.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i=0;u--)Za(this,r[u]);s?Ha(this,s):this.cm&&li(this.cm)})),undo:_i((function(){to(this,"undo")})),redo:_i((function(){to(this,"redo")})),undoSelection:_i((function(){to(this,"undo",!0)})),redoSelection:_i((function(){to(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=ht(this,e),t=ht(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(a){var o=a.markedSpans;if(o)for(var s=0;s=u.to||null==u.from&&i!=e.line||null!=u.from&&i==t.line&&u.from>=t.ch||n&&!n(u.marker)||r.push(u.marker.parent||u.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=a,++n})),ht(this,st(n,t))},indexFromPos:function(e){var t=(e=ht(this,e)).ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var p=e.dataTransfer.getData("Text");if(p){var f;if(t.state.draggingText&&!t.state.draggingText.copy&&(f=t.listSelections()),za(t.doc,la(n,n)),f)for(var d=0;d=0;t--)ao(e.doc,"",r[t].from,r[t].to,"+delete");li(e)}))}function $o(e,t,n){var r=le(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Xo(e,t,n){var r=$o(e,t.ch,n);return null==r?null:new st(t.line,r,n<0?"after":"before")}function Qo(e,t,n,r,i){if(e){"rtl"==t.doc.direction&&(i=-i);var a=me(n,t.doc.direction);if(a){var o,s=i<0?Y(a):a[0],u=i<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var l=ir(t,n);o=i<0?n.text.length-1:0;var c=ar(t,l,o).top;o=ce((function(e){return ar(t,l,e).top==c}),i<0==(1==s.level)?s.from:s.to-1,o),"before"==u&&(o=$o(n,o,1))}else o=i<0?s.to:s.from;return new st(r,o,u)}}return new st(r,i<0?n.text.length:0,i<0?"before":"after")}function Yo(e,t,n,r){var i=me(t,e.doc.direction);if(!i)return Xo(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var a=de(i,n.ch,n.sticky),o=i[a];if("ltr"==e.doc.direction&&o.level%2==0&&(r>0?o.to>n.ch:o.from=o.from&&f>=c.begin)){var d=p?"before":"after";return new st(n.line,f,d)}}var h=function(e,t,r){for(var a=function(e,t){return t?new st(n.line,u(e,1),"before"):new st(n.line,e,"after")};e>=0&&e0==(1!=o.level),l=s?r.begin:u(r.end,-1);if(o.from<=l&&l0?c.end:u(c.begin,-1);return null==y||r>0&&y==t.text.length||!(m=h(r>0?0:i.length-1,r,l(y)))?null:m}Wo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Wo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Wo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Wo.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Wo.default=D?Wo.macDefault:Wo.pcDefault;var Zo={selectAll:Qa,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),q)},killLine:function(e){return Jo(e,(function(t){if(t.empty()){var n=Ze(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)i=new st(i.line,i.ch+1),e.replaceRange(a.charAt(i.ch-1)+a.charAt(i.ch-2),st(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var o=Ze(e.doc,i.line-1).text;o&&(i=new st(i.line,1),e.replaceRange(a.charAt(0)+e.doc.lineSeparator()+o.charAt(o.length-1),st(i.line-1,o.length-1),i,"+transpose"))}n.push(new sa(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Ii(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r-1&&(ut((i=s.ranges[i]).from(),t)<0||t.xRel>0)&&(ut(i.to(),t)>0||t.xRel<0)?As(e,r,t,a):ks(e,r,t,a)}function As(e,t,n,r){var i=e.display,a=!1,l=Li(e,(function(t){u&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:Yr(e)),De(i.wrapper.ownerDocument,"mouseup",l),De(i.wrapper.ownerDocument,"mousemove",c),De(i.scroller,"dragstart",p),De(i.scroller,"drop",l),a||(we(t),r.addNew||Ma(e.doc,n,null,null,r.extend),u&&!d||o&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),c=function(e){a=a||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},p=function(){return a=!0};u&&(i.scroller.draggable=!0),e.state.draggingText=l,l.copy=!r.moveOnDrag,ve(i.wrapper.ownerDocument,"mouseup",l),ve(i.wrapper.ownerDocument,"mousemove",c),ve(i.scroller,"dragstart",p),ve(i.scroller,"drop",l),e.state.delayingBlurEvent=!0,setTimeout((function(){return i.input.focus()}),20),i.scroller.dragDrop&&i.scroller.dragDrop()}function ws(e,t,n){if("char"==n)return new sa(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new sa(st(t.line,0),ht(e.doc,st(t.line+1,0)));var r=n(e,t);return new sa(r.from,r.to)}function ks(e,t,n,r){o&&Yr(e);var i=e.display,a=e.doc;we(t);var s,u,l=a.sel,c=l.ranges;if(r.addNew&&!r.extend?(u=a.sel.contains(n),s=u>-1?c[u]:new sa(n,n)):(s=a.sel.primary(),u=a.sel.primIndex),"rectangle"==r.unit)r.addNew||(s=new sa(n,n)),n=Mr(e,t,!0,!0),u=-1;else{var p=ws(e,n,r.unit);s=r.extend?_a(s,p.anchor,p.head,r.extend):p}r.addNew?-1==u?(u=c.length,Ua(a,ua(e,c.concat([s]),u),{scroll:!1,origin:"*mouse"})):c.length>1&&c[u].empty()&&"char"==r.unit&&!r.extend?(Ua(a,ua(e,c.slice(0,u).concat(c.slice(u+1)),0),{scroll:!1,origin:"*mouse"}),l=a.sel):Ra(a,u,s,K):(u=0,Ua(a,new oa([s],0),K),l=a.sel);var f=n;function d(t){if(0!=ut(f,t))if(f=t,"rectangle"==r.unit){for(var i=[],o=e.options.tabSize,c=V(Ze(a,n.line).text,n.ch,o),p=V(Ze(a,t.line).text,t.ch,o),d=Math.min(c,p),h=Math.max(c,p),m=Math.min(n.line,t.line),y=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=y;m++){var v=Ze(a,m).text,g=$(v,d,o);d==h?i.push(new sa(st(m,g),st(m,g))):v.length>g&&i.push(new sa(st(m,g),st(m,$(v,h,o))))}i.length||i.push(new sa(n,n)),Ua(a,ua(e,l.ranges.slice(0,u).concat(i),u),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var D,b=s,x=ws(e,t,r.unit),C=b.anchor;ut(x.anchor,C)>0?(D=x.head,C=ft(b.from(),x.anchor)):(D=x.anchor,C=pt(b.to(),x.head));var E=l.ranges.slice(0);E[u]=Ss(e,new sa(ht(a,C),D)),Ua(a,ua(e,E,u),K)}}var h=i.wrapper.getBoundingClientRect(),m=0;function y(t){var n=++m,o=Mr(e,t,!0,"rectangle"==r.unit);if(o)if(0!=ut(o,f)){e.curOp.focus=I(M(e)),d(o);var s=ri(i,a);(o.line>=s.to||o.lineh.bottom?20:0;u&&setTimeout(Li(e,(function(){m==n&&(i.scroller.scrollTop+=u,y(t))})),50)}}function v(t){e.state.selectingText=!1,m=1/0,t&&(we(t),i.input.focus()),De(i.wrapper.ownerDocument,"mousemove",g),De(i.wrapper.ownerDocument,"mouseup",D),a.history.lastSelOrigin=null}var g=Li(e,(function(e){0!==e.buttons&&Pe(e)?y(e):v(e)})),D=Li(e,v);e.state.selectingText=D,ve(i.wrapper.ownerDocument,"mousemove",g),ve(i.wrapper.ownerDocument,"mouseup",D)}function Ss(e,t){var n=t.anchor,r=t.head,i=Ze(e.doc,n.line);if(0==ut(n,r)&&n.sticky==r.sticky)return t;var a=me(i);if(!a)return t;var o=de(a,n.ch,n.sticky),s=a[o];if(s.from!=n.ch&&s.to!=n.ch)return t;var u,l=o+(s.from==n.ch==(1!=s.level)?0:1);if(0==l||l==a.length)return t;if(r.line!=n.line)u=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var c=de(a,r.ch,r.sticky),p=c-o||(r.ch-n.ch)*(1==s.level?-1:1);u=c==l-1||c==l?p<0:p>0}var f=a[l+(u?-1:0)],d=u==(1==f.level),h=d?f.from:f.to,m=d?"after":"before";return n.ch==h&&n.sticky==m?t:new sa(new st(n.line,h,m),r)}function Fs(e,t,n,r){var i,a;if(t.touches)i=t.touches[0].clientX,a=t.touches[0].clientY;else try{i=t.clientX,a=t.clientY}catch(c){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&we(t);var o=e.display,s=o.lineDiv.getBoundingClientRect();if(a>s.bottom||!Ee(e,n))return Se(t);a-=s.top-o.viewOffset;for(var u=0;u=i)return be(e,n,e,it(e.doc,a),e.display.gutterSpecs[u].className,t),Se(t)}}function Ts(e,t){return Fs(e,t,"gutterClick",!0)}function Ps(e,t){qn(e.display,t)||Bs(e,t)||xe(e,t,"contextmenu")||A||e.display.input.onContextMenu(t)}function Bs(e,t){return!!Ee(e,"gutterContextMenu")&&Fs(e,t,"gutterContextMenu",!1)}function Ns(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),hr(e)}gs.prototype.compare=function(e,t,n){return this.time+vs>e&&0==ut(t,this.pos)&&n==this.button};var Is={toString:function(){return"CodeMirror.Init"}},Ls={},Os={};function _s(e){var t=e.optionHandlers;function n(n,r,i,a){e.defaults[n]=r,i&&(t[n]=a?function(e,t,n){n!=Is&&i(e,t,n)}:i)}e.defineOption=n,e.Init=Is,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,ma(e)}),!0),n("indentUnit",2,ma,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){ya(e),hr(e),Rr(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var a=e.text.indexOf(t,i);if(-1==a)break;i=a+t.length,n.push(st(r,a))}r++}));for(var i=n.length-1;i>=0;i--)ao(e.doc,t,n[i],st(n[i].line,n[i].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Is&&e.refresh()})),n("specialCharPlaceholder",gn,(function(e){return e.refresh()}),!0),n("electricChars",!0),n("inputStyle",g?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n("rtlMoveVisually",!x),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){Ns(e),Zi(e)}),!0),n("keyMap","default",(function(e,t,n){var r=Ko(t),i=n!=Is&&Ko(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,js,!0),n("gutters",[],(function(e,t){e.display.gutterSpecs=Qi(t,e.options.lineNumbers),Zi(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?Lr(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return bi(e)}),!0),n("scrollbarStyle","native",(function(e){Ei(e),bi(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=Qi(e.options.gutters,t),Zi(e)}),!0),n("firstLineNumber",1,Zi,!0),n("lineNumberFormatter",(function(e){return e}),Zi,!0),n("showCursorWhenSelecting",!1,Gr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(e,t){"nocursor"==t&&(ei(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,Ms),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,Gr,!0),n("singleCursorHeightPerLine",!0,Gr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,ya,!0),n("addModeClass",!1,ya,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,ya,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),n("phrases",null)}function Ms(e,t,n){if(!t!=!(n&&n!=Is)){var r=e.display.dragFunctions,i=t?ve:De;i(e.display.scroller,"dragstart",r.start),i(e.display.scroller,"dragenter",r.enter),i(e.display.scroller,"dragover",r.over),i(e.display.scroller,"dragleave",r.leave),i(e.display.scroller,"drop",r.drop)}}function js(e){e.options.lineWrapping?(L(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(S(e.display.wrapper,"CodeMirror-wrap"),cn(e)),_r(e),Rr(e),hr(e),setTimeout((function(){return bi(e)}),100)}function Rs(e,t){var n=this;if(!(this instanceof Rs))return new Rs(e,t);this.options=t=t?W(t):{},W(Ls,t,!1);var r=t.value;"string"==typeof r?r=new wo(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Rs.inputStyles[t.inputStyle](this),a=this.display=new ea(e,r,i,t);for(var l in a.wrapper.CodeMirror=this,Ns(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Ei(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new H,keySeq:null,specialChars:null},t.autofocus&&!g&&a.input.focus(),o&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),Ws(this),Io(),wi(this),this.curOp.forceUpdate=!0,ba(this,r),t.autofocus&&!g||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&Zr(n)}),20):ei(this),Os)Os.hasOwnProperty(l)&&Os[l](this,t[l],Is);Xi(this),t.finishInit&&t.finishInit(this);for(var c=0;c400}ve(t.scroller,"touchstart",(function(i){if(!xe(e,i)&&!a(i)&&!Ts(e,i)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),ve(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),ve(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!qn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var a,o=e.coordsChar(t.activeTouch,"page");a=!r.prev||u(r,r.prev)?new sa(o,o):!r.prev.prev||u(r,r.prev.prev)?e.findWordAt(o):new sa(st(o.line,0),ht(e.doc,st(o.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),we(n)}i()})),ve(t.scroller,"touchcancel",i),ve(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(hi(e,t.scroller.scrollTop),yi(e,t.scroller.scrollLeft,!0),be(e,"scroll",e))})),ve(t.scroller,"mousewheel",(function(t){return aa(e,t)})),ve(t.scroller,"DOMMouseScroll",(function(t){return aa(e,t)})),ve(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){xe(e,t)||Fe(t)},over:function(t){xe(e,t)||(To(e,t),Fe(t))},start:function(t){return Fo(e,t)},drop:Li(e,So),leave:function(t){xe(e,t)||Po(e)}};var l=t.input.getField();ve(l,"keyup",(function(t){return ds.call(e,t)})),ve(l,"keydown",Li(e,ps)),ve(l,"keypress",Li(e,hs)),ve(l,"focus",(function(t){return Zr(e,t)})),ve(l,"blur",(function(t){return ei(e,t)}))}Rs.defaults=Ls,Rs.optionHandlers=Os;var Vs=[];function Hs(e,t,n,r){var i,a=e.doc;null==n&&(n="add"),"smart"==n&&(a.mode.indent?i=xt(e,t).state:n="prev");var o=e.options.tabSize,s=Ze(a,t),u=V(s.text,null,o);s.stateAfter&&(s.stateAfter=null);var l,c=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&((l=a.mode.indent(i,s.text.slice(c.length),s.text))==G||l>150)){if(!r)return;n="prev"}}else l=0,n="not";"prev"==n?l=t>a.first?V(Ze(a,t-1).text,null,o):0:"add"==n?l=u+e.options.indentUnit:"subtract"==n?l=u-e.options.indentUnit:"number"==typeof n&&(l=u+n),l=Math.max(0,l);var p="",f=0;if(e.options.indentWithTabs)for(var d=Math.floor(l/o);d;--d)f+=o,p+="\t";if(fo,u=_e(t),l=null;if(s&&r.ranges.length>1)if(Us&&Us.text.join("\n")==t){if(r.ranges.length%Us.text.length==0){l=[];for(var c=0;c=0;f--){var d=r.ranges[f],h=d.from(),m=d.to();d.empty()&&(n&&n>0?h=st(h.line,h.ch-n):e.state.overwrite&&!s?m=st(m.line,Math.min(Ze(a,m.line).text.length,m.ch+Y(u).length)):s&&Us&&Us.lineWise&&Us.text.join("\n")==u.join("\n")&&(h=m=st(h.line,0)));var y={from:h,to:m,text:l?l[f%l.length]:u,origin:i||(s?"paste":e.state.cutIncoming>o?"cut":"+input")};Za(e.doc,y),Bn(e,"inputRead",e,y)}t&&!s&&Ks(e,t),li(e),e.curOp.updateInput<2&&(e.curOp.updateInput=p),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function qs(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||!t.hasFocus()||Ii(t,(function(){return Gs(t,n,0,null,"paste")})),!0}function Ks(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var a=e.getModeAt(i.head),o=!1;if(a.electricChars){for(var s=0;s-1){o=Hs(e,i.head.line,"smart");break}}else a.electricInput&&a.electricInput.test(Ze(e.doc,i.head.line).text.slice(0,i.head.ch))&&(o=Hs(e,i.head.line,"smart"));o&&Bn(e,"electricInput",e,i.head.line)}}}function Js(e){for(var t=[],n=[],r=0;rn&&(Hs(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&li(this));else{var a=i.from(),o=i.to(),s=Math.max(n,a.line);n=Math.min(this.lastLine(),o.line-(o.ch?0:1))+1;for(var u=s;u0&&Ra(this.doc,r,new sa(a,l[r].to()),q)}}})),getTokenAt:function(e,t){return kt(this,e,t)},getLineTokens:function(e,t){return kt(this,st(e),t,!0)},getTokenTypeAt:function(e){e=ht(this.doc,e);var t,n=bt(this,Ze(this.doc,e.line)),r=0,i=(n.length-1)/2,a=e.ch;if(0==a)t=n[2];else for(;;){var o=r+i>>1;if((o?n[2*o-1]:0)>=a)i=o;else{if(!(n[2*o+1]a&&(e=a,i=!0),r=Ze(this.doc,e)}else r=e;return gr(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-un(r):0)},defaultTextHeight:function(){return Br(this.display)},defaultCharWidth:function(){return Nr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var a=this.display,o=(e=xr(this,ht(this.doc,e))).bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),a.sizer.appendChild(t),"over"==r)o=e.top;else if("above"==r||"near"==r){var u=Math.max(a.wrapper.clientHeight,this.doc.height),l=Math.max(a.sizer.clientWidth,a.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>u)&&e.top>t.offsetHeight?o=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=u&&(o=e.bottom),s+t.offsetWidth>l&&(s=l-t.offsetWidth)}t.style.top=o+"px",t.style.left=t.style.right="","right"==i?(s=a.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(a.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&oi(this,{left:s,top:o,right:s+t.offsetWidth,bottom:o+t.offsetHeight})},triggerOnKeyDown:Oi(ps),triggerOnKeyPress:Oi(hs),triggerOnKeyUp:ds,triggerOnMouseDown:Oi(bs),execCommand:function(e){if(Zo.hasOwnProperty(e))return Zo[e].call(null,this)},triggerElectric:Oi((function(e){Ks(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var a=ht(this.doc,e),o=0;o0&&o(t.charAt(n-1));)--n;for(;r.5||this.options.lineWrapping)&&_r(this),be(this,"refresh",this)})),swapDoc:Oi((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),ba(this,e),hr(this),this.display.input.reset(),ci(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Bn(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Ae(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,a){e.registerHelper(t,r,a),n[t]._global.push({pred:i,val:a})}}function Ys(e,t,n,r,i){var a=t,o=n,s=Ze(e,t.line),u=i&&"rtl"==e.direction?-n:n;function l(){var n=t.line+u;return!(n=e.first+e.size)&&(t=new st(n,t.ch,t.sticky),s=Ze(e,n))}function c(a){var o;if("codepoint"==r){var c=s.text.charCodeAt(t.ch+(n>0?0:-1));if(isNaN(c))o=null;else{var p=n>0?c>=55296&&c<56320:c>=56320&&c<57343;o=new st(t.line,Math.max(0,Math.min(s.text.length,t.ch+n*(p?2:1))),-n)}}else o=i?Yo(e.cm,s,t,n):Xo(s,t,n);if(null==o){if(a||!l())return!1;t=Qo(i,e.cm,s,t.line,u)}else t=o;return!0}if("char"==r||"codepoint"==r)c();else if("column"==r)c(!0);else if("word"==r||"group"==r)for(var p=null,f="group"==r,d=e.cm&&e.cm.getHelper(t,"wordChars"),h=!0;!(n<0)||c(!h);h=!1){var m=s.text.charAt(t.ch)||"\n",y=ae(m,d)?"w":f&&"\n"==m?"n":!f||/\s/.test(m)?null:"p";if(!f||h||y||(y="s"),p&&p!=y){n<0&&(n=1,c(),t.sticky="after");break}if(y&&(p=y),n>0&&!c(!h))break}var v=$a(e,t,a,o,!0);return lt(a,v)&&(v.hitSide=!0),v}function Zs(e,t,n,r){var i,a,o=e.doc,s=t.left;if("page"==r){var u=Math.min(e.display.wrapper.clientHeight,j(e).innerHeight||o(e).documentElement.clientHeight),l=Math.max(u-.5*Br(e.display),3);i=(n>0?t.bottom:t.top)+n*l}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(a=Ar(e,s,i)).outside;){if(n<0?i<=0:i>=o.height){a.hitSide=!0;break}i+=5*n}return a}var eu=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new H,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function tu(e,t){var n=rr(e,t.line);if(!n||n.hidden)return null;var r=Ze(e.doc,t.line),i=er(n,r,t.line),a=me(r,e.doc.direction),o="left";a&&(o=de(a,t.ch)%2?"right":"left");var s=ur(i.map,t.ch,o);return s.offset="right"==s.collapse?s.end:s.start,s}function nu(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function ru(e,t){return t&&(e.bad=!0),e}function iu(e,t,n,r,i){var a="",o=!1,s=e.doc.lineSeparator(),u=!1;function l(e){return function(t){return t.id==e}}function c(){o&&(a+=s,u&&(a+=s),o=u=!1)}function p(e){e&&(c(),a+=e)}function f(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void p(n);var a,d=t.getAttribute("cm-marker");if(d){var h=e.findMarks(st(r,0),st(i+1,0),l(+d));return void(h.length&&(a=h[0].find(0))&&p(et(e.doc,a.from,a.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var m=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;m&&c();for(var y=0;y=t.display.viewTo||a.line=t.display.viewFrom&&tu(t,i)||{node:u[0].measure.map[2],offset:0},c=a.liner.firstLine()&&(o=st(o.line-1,Ze(r.doc,o.line-1).length)),s.ch==Ze(r.doc,s.line).text.length&&s.linei.viewTo-1)return!1;o.line==i.viewFrom||0==(e=jr(r,o.line))?(t=rt(i.view[0].line),n=i.view[0].node):(t=rt(i.view[e].line),n=i.view[e-1].node.nextSibling);var u,l,c=jr(r,s.line);if(c==i.view.length-1?(u=i.viewTo-1,l=i.lineDiv.lastChild):(u=rt(i.view[c+1].line)-1,l=i.view[c+1].node.previousSibling),!n)return!1;for(var p=r.doc.splitLines(iu(r,n,l,t,u)),f=et(r.doc,st(t,0),st(u,Ze(r.doc,u).text.length));p.length>1&&f.length>1;)if(Y(p)==Y(f))p.pop(),f.pop(),u--;else{if(p[0]!=f[0])break;p.shift(),f.shift(),t++}for(var d=0,h=0,m=p[0],y=f[0],v=Math.min(m.length,y.length);do.ch&&g.charCodeAt(g.length-h-1)==D.charCodeAt(D.length-h-1);)d--,h++;p[p.length-1]=g.slice(0,g.length-h).replace(/^\u200b+/,""),p[0]=p[0].slice(d).replace(/\u200b+$/,"");var x=st(t,d),C=st(u,f.length?Y(f).length-h:0);return p.length>1||p[0]||ut(x,C)?(ao(r.doc,p,x,C,"+input"),!0):void 0},eu.prototype.ensurePolled=function(){this.forceCompositionEnd()},eu.prototype.reset=function(){this.forceCompositionEnd()},eu.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},eu.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},eu.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Ii(this.cm,(function(){return Rr(e.cm)}))},eu.prototype.setUneditable=function(e){e.contentEditable="false"},eu.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Li(this.cm,Gs)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},eu.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},eu.prototype.onContextMenu=function(){},eu.prototype.resetPosition=function(){},eu.prototype.needsContentAttribute=!0;var su=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new H,this.hasSelection=!1,this.composing=null};function uu(e,t){if((t=t?W(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=I(e.ownerDocument);t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(ve(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var a=e.form;i=a.submit;try{var o=a.submit=function(){r(),a.submit=i,a.submit(),a.submit=o}}catch(u){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(De(e.form,"submit",r),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=Rs((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s}function lu(e){e.off=De,e.on=ve,e.wheelEventPixels=ia,e.Doc=wo,e.splitLines=_e,e.countColumn=V,e.findColumn=$,e.isWordChar=ie,e.Pass=G,e.signal=be,e.Line=pn,e.changeEnd=ca,e.scrollbarModel=Ci,e.Pos=st,e.cmpPos=ut,e.modes=Ve,e.mimeModes=He,e.resolveMode=Ge,e.getMode=qe,e.modeExtensions=Ke,e.extendMode=Je,e.copyState=$e,e.startState=Qe,e.innerMode=Xe,e.commands=Zo,e.keyMap=Wo,e.keyName=qo,e.isModifierKey=zo,e.lookupKey=Uo,e.normalizeKeyMap=Ho,e.StringStream=Ye,e.SharedTextMarker=Do,e.TextMarker=vo,e.LineWidget=fo,e.e_preventDefault=we,e.e_stopPropagation=ke,e.e_stop=Fe,e.addClass=L,e.contains=N,e.rmClass=S,e.keyNames=_o}su.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function a(e){if(!xe(r,e)){if(r.somethingSelected())zs({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Js(r);zs({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,q):(n.prevInput="",i.value=t.text.join("\n"),_(i))}"cut"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),y&&(i.style.width="0px"),ve(i,"input",(function(){o&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),ve(i,"paste",(function(e){xe(r,e)||qs(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),ve(i,"cut",a),ve(i,"copy",a),ve(e.scroller,"paste",(function(t){if(!qn(e,t)&&!xe(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var a=new Event("paste");a.clipboardData=t.clipboardData,i.dispatchEvent(a)}})),ve(e.lineSpace,"selectstart",(function(t){qn(e,t)||we(t)})),ve(i,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),ve(i,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},su.prototype.createField=function(e){this.wrapper=Xs(),this.textarea=this.wrapper.firstChild},su.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},su.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=qr(e);if(e.options.moveInputWithCursor){var i=xr(e,n.sel.primary().head,"div"),a=t.wrapper.getBoundingClientRect(),o=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+o.top-a.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+o.left-a.left))}return r},su.prototype.showSelection=function(e){var t=this.cm.display;T(t.cursorDiv,e.cursors),T(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},su.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&_(this.textarea),o&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",o&&s>=9&&(this.hasSelection=null))}},su.prototype.getField=function(){return this.textarea},su.prototype.supportsTouch=function(){return!1},su.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!g||I(this.textarea.ownerDocument)!=this.textarea))try{this.textarea.focus()}catch(e){}},su.prototype.blur=function(){this.textarea.blur()},su.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},su.prototype.receivedFocus=function(){this.slowPoll()},su.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},su.prototype.fastPoll=function(){var e=!1,t=this;function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}t.pollingFast=!0,t.polling.set(20,n)},su.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Me(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(o&&s>=9&&this.hasSelection===i||D&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var a=i.charCodeAt(0);if(8203!=a||r||(r="​"),8666==a)return this.reset(),this.cm.execCommand("undo")}for(var u=0,l=Math.min(r.length,i.length);u1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},su.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},su.prototype.onKeyPress=function(){o&&s>=9&&(this.hasSelection=null),this.fastPoll()},su.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var a=Mr(n,e),l=r.scroller.scrollTop;if(a&&!f){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(a)&&Li(n,Ua)(n.doc,la(a),q);var c,p=i.style.cssText,d=t.wrapper.style.cssText,h=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-h.top-5)+"px; left: "+(e.clientX-h.left-5)+"px;\n z-index: 1000; background: "+(o?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",u&&(c=i.ownerDocument.defaultView.scrollY),r.input.focus(),u&&i.ownerDocument.defaultView.scrollTo(null,c),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=y,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),o&&s>=9&&m(),A?(Fe(e),ve(window,"mouseup",(function e(){De(window,"mouseup",e),setTimeout(y,20)}))):setTimeout(y,50)}function m(){if(null!=i.selectionStart){var e=n.somethingSelected(),a="​"+(e?i.value:"");i.value="⇚",i.value=a,t.prevInput=e?"":"​",i.selectionStart=1,i.selectionEnd=a.length,r.selForContextMenu=n.doc.sel}}function y(){if(t.contextMenuPending==y&&(t.contextMenuPending=!1,t.wrapper.style.cssText=d,i.style.cssText=p,o&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=l),null!=i.selectionStart)){(!o||o&&s<9)&&m();var e=0,a=function a(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"​"==t.prevInput?Li(n,Qa)(n):e++<10?r.detectingSelectAll=setTimeout(a,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(a,200)}}},su.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},su.prototype.setUneditable=function(){},su.prototype.needsContentAttribute=!1,_s(Rs),Qs(Rs);var cu="iter insert remove copy getEditor constructor".split(" ");for(var pu in wo.prototype)wo.prototype.hasOwnProperty(pu)&&U(cu,pu)<0&&(Rs.prototype[pu]=function(e){return function(){return e.apply(this.doc,arguments)}}(wo.prototype[pu]));return Ae(wo),Rs.inputStyles={textarea:su,contenteditable:eu},Rs.defineMode=function(e){Rs.defaults.mode||"null"==e||(Rs.defaults.mode=e),Ue.apply(this,arguments)},Rs.defineMIME=ze,Rs.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),Rs.defineMIME("text/plain","null"),Rs.defineExtension=function(e,t){Rs.prototype[e]=t},Rs.defineDocExtension=function(e,t){wo.prototype[e]=t},Rs.fromTextArea=uu,lu(Rs),Rs.version="5.65.7",Rs}()},function(e,t,n){"use strict";e.exports=n(54)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(29);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t>5&1,u=o>>4&1,l=o>>3&1,c=o>>2&1,p=3&o,f=he[i],d=De[p],h=me[l],m=ve[c];if(a in Ie){var y=Z(Ie[a],2);n=y[0],r=y[1]}else n=Ce[a],re(Ee).includes(n)&&(r="一"),re(Ae).includes(n)&&(r="二"),re(we).includes(n)&&(r="三"),re(ke).includes(n)&&(r="四");if(re("幫滂並明").includes(f)||fe.includes(n))s||(h=null);else if(s)throw new Error("Invalid code: 呼-flag should be 0");if(se.includes(f)&&xe.includes(n)){if("清"===n)u&&(m=null);else if(u)throw new Error("Invalid code: 重紐-flag should be 0")}else u||(m=null);return new e(f,h,r,m,n,d)}},{key:"from描述",value:function(t){var n=Le.exec(t),r=n[1],i=n[2]||null,a=n[3]||null,o=n[4]||null,s=n[5],u=n[6];return null!=i||re("幫滂並明").includes(r)||(ce.includes(s)?i="開":pe.includes(s)&&(i="合")),null==a&&(re(Ee).includes(s)?a="一":re(Ae).includes(s)?a="二":re(we).includes(s)?a="三":re(ke).includes(s)&&(a="四")),new e(r,i,a,o,s,u)}}]),e}(),Me=function(){function e(t,n){te(this,e),this.inner=t,this.地位=n}return ne(e,[{key:"eval",value:function(){return"function"===typeof this.inner&&(this.inner=this.inner.call(void 0),"string"===typeof this.inner&&(this.inner=this.地位.屬於(this.inner))),this.inner=!!this.inner}},{key:"toString",value:function(){return String(this.inner)}}],[{key:"from",value:function(t,n){switch(typeof t){case"string":return n.屬於(t);case"function":return new e(t,n);default:return!!t}}}]),e}();function je(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i0&&void 0!==arguments[0]?arguments[0]:"v2",t=arguments.length>1?arguments[1]:void 0;if("raw"===e){if(void 0!==t)throw new Error('體系 "raw" does not support 選項');return function(e){return e}}null!==t&&void 0!==t||(t={});var n=t,r=n.嚴格,i=void 0!==r&&r,a=n.原地位脣音寒歌默認開合;e.endsWith("Strict")&&ut[e.slice(0,-6)]&&(e=e.slice(0,-6),i=!0);var o=ut[e];if(!o)throw new Error("unknown 分析體系: ".concat(e));if(i){if(a)throw new Error("unexpected 原地位脣音寒歌默認開合 when 嚴格 = true");a="require切韻"===o.呼_脣音?"開":"合"}else null!==a&&void 0!==a||(a="合");return"v2ext"===e?function(e){return st(e,i,a)}:function(e){var t,n,r=e,s=e.描述,u=(e=st(e,!1,a)).描述,l=function(){var t;return(t=e).屬於.apply(t,arguments)},c=function(e){throw new Error("rejected ".concat(s).concat(u===s?"":" (original: ".concat(u,")"),": ").concat(e))},p=[],f=function(t,n){return i&&p.push("function"===typeof n?n():n),e=e.調整(t)};if("定開三脂去"!==e.描述&&l(y||(y=X(["端組 二三等 或 知組 一四等"]))))o.類隔_端知&&("個別"!==o.類隔_端知||l(v||(v=X(["庚韻 二等 開口 或 麻韻 三等 開口 或 佳韻 開口 或 幽韻"]))))||f({"母":qe[e.母]},"端知類隔");else if(l(g||(g=X(["(章組 或 云以日母) 祭廢齊灰咍韻 平上聲"])))){var d;"三等"===o.類隔_章云以日蟹攝平上&&l(D||(D=X(["一四等"])))?d=l(b||(b=X(["齊韻"])))?{"韻":"祭","等":"三"}:{"韻":"廢","呼":l(x||(x=X(["灰韻"])))?"合":"開","等":"三"}:"一四等"===o.類隔_章云以日蟹攝平上&&l(C||(C=X(["三等"])))&&(d=l(E||(E=X(["祭韻"])))?{"韻":"齊","等":"四"}:l(A||(A=X(["開口"])))?{"韻":"咍","等":"一"}:{"韻":"灰","等":"一"}),d&&f(d,"齒音類隔")}else l(w||(w=X(["二等 (精章組 或 日母)"])))?(!o.類隔_精章日二等||"章組日母"===o.類隔_精章日二等&&l(k||(k=X(["精組"]))))&&f({"母":Ze[e.母]},"齒音類隔"):!0!==o.類隔_匣三&&l(S||(S=X(["匣母 三等"])))?f({"母":"云","重紐":"云A"===o.類隔_匣三?"A":null},"unexpected 匣母三等"):!0!==o.類隔_莊組眞欣開&&l(F||(F=X(["莊組 開口 眞欣韻"])))&&(o.類隔_莊組眞欣開?o.類隔_莊組眞欣開.startsWith("欣歸")&&l(T||(T=X(["欣韻"])))&&f({"韻":o.類隔_莊組眞欣開.slice(2)},"unexpected 莊組開口".concat(e.韻,"韻")):f({"韻":"臻"},"unexpected 莊組開口".concat(e.韻,"韻")));if(l(P||(P=X(["云母 非 三等"])))?"reject"===o.類隔_云非三?c("unexpected 云母非三等"):o.類隔_云非三||f({"母":"匣"},"unexpected 云母非三等"):"reject"===o.類隔_其他&&l(B||(B=X(["莊組 一四等 或 (章組 或 日以母) 非 三等"])))&&c("cannot normalize ".concat(e.母,"母").concat(e.等,"等 automatically")),!o.呼_灰咍嚴凡對立){var h=e.判斷([["咍韻 脣音",{"韻":"灰"}],["凡韻 非 脣音",{"韻":"嚴","呼":"開"}],["嚴韻 脣音",{"韻":"凡","呼":null}]]);h&&f(h,(function(){return"unexpected ".concat(e.韻,"韻 with ").concat(e.母,"母")}))}if(lt(o.呼_中立韻)&&fe.includes(e.韻)&&(!lt(o.呼_脣音)&&l(N||(N=X(["脣音"])))||("requirePoem"===o.呼_中立韻?t=l(I||(I=X(["冬虞韻"])))?"合":"開":"requireYtenx"===o.呼_中立韻&&(t=l(L||(L=X(["虞韻"])))?"合":"開")),t&&o.呼_輕脣均合口&&l(O||(O=X(["脣音 輕脣韻"])))&&(t="合"),t&&f({"呼":t},"呼 should be ".concat(t))),lt(o.呼_脣音)&&!e.呼&&l(_||(_=X(["脣音"])))?(ce.includes(e.韻)?n="開":pe.includes(e.韻)?n="合":le.includes(e.韻)&&(n=l(M||(M=X(["三等"])))?l(j||(j=X(["輕脣韻 或 歌韻"])))?"合":"開":l(R||(R=X(["二四等"])))?"開":"require廣韻"===o.呼_脣音&&l(W||(W=X(["寒歌韻"])))?"合":"開"),n&&f({"呼":n},"呼 should be ".concat(n))):!o.呼_脣音&&l(V||(V=X(["脣音"])))&&e.呼&&f({"呼":null},"unexpected 呼"),l(H||(H=X(["清韻"]))))e.重紐?o.重紐_清韻&&"require僅A類"!==o.重紐_清韻||f({"韻":"庚","重紐":null},"清韻B類 should be 庚韻三等"):lt(o.重紐_清韻)&&(lt(o.重紐_非重紐母)||se.includes(e.母))&&f({"重紐":"require僅A類"!==o.重紐_清韻&&l(U||(U=X(["知莊組 或 云母"])))?"B":"A"},"清韻 needs 重紐");else if(l(z||(z=X(["陽蒸幽韻"]))))!o.重紐_陽蒸幽韻&&f({"重紐":null},"重紐 should be null");else if(lt(o.重紐_非重紐母)&&!e.重紐&&ue.includes(e.韻)){var m=l(G||(G=X(["云母"])))||l(q||(q=X(["知莊組"])))&&("require諄A"!==o.重紐_非重紐母||!l(K||(K=X(["眞韻 合口"]))))?"B":"A";f({"重紐":m},"重紐 should be ".concat(m))}return i&&!e.等於(r)&&(p.length?c("".concat(p.join("; ")," (try ").concat(e.描述," instead)")):c("try ".concat(e.描述," instead"))),e}}ut.v2lenient=Object.assign(Object.assign({},ut.v2),{"類隔_云非三":!0,"類隔_其他":!0}),ut.kyonh=Object.assign(Object.assign({},ut.ytenx),{"重紐_非重紐母":"require諄A","重紐_清韻":!1}),ct.raw=ct("raw"),ct.v2=ct("v2"),ct.v2Strict=ct("v2Strict"),ct.v2lenient=ct("v2lenient"),ct.v2ext=ct("v2ext"),ct.v2extStrict=ct("v2extStrict"),ct.v2extFromPoem=ct("v2ext",{"原地位脣音寒歌默認開合":"開"});var pt=se.join("")+"母",ft=ue.join("")+"韻",dt=le.join("")+"韻",ht=ce.join("")+"韻",mt=pe.join("")+"韻",yt=fe.join("")+"韻",vt=Object.freeze({__proto__:null,"重紐母":pt,"重紐韻":ft,"分開合韻":dt,"開口韻":ht,"合口韻":mt,"開合中立韻":yt}),gt=ct("poem");function Dt(e){var t;try{t=e(),Array.isArray(t)||(t=[])}catch(u){t=[]}var n=bt(t),r=Z(n,3),i=r[0],a=r[1],o=r[2],s=function(t,n,r){if(!t)throw new Error("expect 音韻地位");return null!==n&&void 0!==n||(n=null),r=Object.assign(Object.assign({},a),r),t=ct.v2extStrict(t),o&&((t=gt(t)).屬於(J||(J=X(["脣音 或 ",""])),yt)&&(t=t.調整({"呼":null})),t.屬於($||($=X([""," ("," 或 清韻)"])),pt,ft)||(t=t.調整({"重紐":null}))),e(t,n,r)};return s.isLegacy=o,s.parameters=i,s.defaultOptions=a,s}function bt(e){var t,n=!1,r=[],i={},a=ee(e);try{for(a.s();!(t=a.n()).done;){var o=t.value;if(Array.isArray(o)){var s=String(o[0]),u=o[1];"$legacy"!==s?void 0!==u&&null!==u&&(Array.isArray(u)?u.length>1&&(u.slice(1).includes(u[0])?i[s]=u[0]:"number"===typeof u[0]&&Number.isInteger(u[0])&&u[0]>=1&&u[0]1&&void 0!==arguments[1]&&arguments[1],n=Array.from(e,(function(e){var t=h(e,2),n=t[0],r=t[1];return"string"===typeof n?[n,r]:r}));return t&&n.push(["$legacy",!0]),n}var g=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];f(this,e),this.兼容模式=!1,this.鍵值=new Map,this.項目數=0;var r,i=[],a=new Map,o={},s=p(t);try{for(s.s();!(r=s.n()).done;){var u=r.value;if(n(u)){var l=String(u[0]),c=u[1];if("$legacy"!==l){if(["string","number","boolean"].includes(typeof c))o[l]=c,i.push([l,c]),a.set(l,c),this.項目數++;else if(n(c)&&c.length>1){var d=h(c,1)[0];"number"===typeof d&&Number.isInteger(d)&&d>=1&&d0&&void 0!==arguments[0]?arguments[0]:{},t=[];try{var n=this.原始推導函數(e);"function"===typeof t[Symbol.iterator]&&(t=n)}catch(r){}return new g(t)}},{key:"推導",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=this.方案選項(n),s=Object.assign(Object.assign({},o.預設選項),n),u=function(n){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!n)throw new Error("expect 音韻地位");n=t["適配分析體系"].v2extStrict(n),o.兼容模式&&((n=D(n)).屬於(r||(r=a(["脣音 或 ",""])),t["表達式"].開合中立韻)&&(n=n.調整({"呼":null})),n.屬於(i||(i=a([""," ("," 或 清韻)"])),t["表達式"].重紐母,t["表達式"].重紐韻)||(n=n.調整({"重紐":null})));try{for(var l=arguments.length,c=new Array(l>2?l-2:0),p=2;pr?1:n .").concat(I[t]));case"checkbox":return e.querySelector(".".concat(I.popup," > .").concat(I.checkbox," input"));case"radio":return e.querySelector(".".concat(I.popup," > .").concat(I.radio," input:checked"))||e.querySelector(".".concat(I.popup," > .").concat(I.radio," input:first-child"));case"range":return e.querySelector(".".concat(I.popup," > .").concat(I.range," input"));default:return e.querySelector(".".concat(I.popup," > .").concat(I.input))}},pe=function(e){if(e.focus(),"file"!==e.type){var t=e.value;e.value="",e.value=t}},fe=function(e,t,n){e&&t&&("string"===typeof t&&(t=t.split(/\s+/).filter(Boolean)),t.forEach((function(t){Array.isArray(e)?e.forEach((function(e){n?e.classList.add(t):e.classList.remove(t)})):n?e.classList.add(t):e.classList.remove(t)})))},de=function(e,t){fe(e,t,!0)},he=function(e,t){fe(e,t,!1)},me=function(e,t){for(var n=Array.from(e.children),r=0;r1&&void 0!==arguments[1]?arguments[1]:"flex";e.style.display=t},ge=function(e){e.style.display="none"},De=function(e,t,n,r){var i=e.querySelector(t);i&&(i.style[n]=r)},be=function(e,t){t?ve(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"flex"):ge(e)},xe=function(e){return!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))},Ce=function(){return!xe(G())&&!xe(q())&&!xe($())},Ee=function(e){return!!(e.scrollHeight>e.clientHeight)},Ae=function(e){var t=window.getComputedStyle(e),n=parseFloat(t.getPropertyValue("animation-duration")||"0"),r=parseFloat(t.getPropertyValue("transition-duration")||"0");return n>0||r>0},we=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Y();xe(n)&&(t&&(n.style.transition="none",n.style.width="100%"),setTimeout((function(){n.style.transition="width ".concat(e/1e3,"s linear"),n.style.width="0%"}),10))},ke=function(){var e=Y(),t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";var n=t/parseInt(window.getComputedStyle(e).width)*100;e.style.removeProperty("transition"),e.style.width="".concat(n,"%")},Se=function(){return"undefined"===typeof window||"undefined"===typeof document},Fe=100,Te={},Pe=function(){Te.previousActiveElement instanceof HTMLElement?(Te.previousActiveElement.focus(),Te.previousActiveElement=null):document.body&&document.body.focus()},Be=function(e){return new Promise((function(t){if(!e)return t();var n=window.scrollX,r=window.scrollY;Te.restoreFocusTimeout=setTimeout((function(){Pe(),t()}),Fe),window.scrollTo(n,r)}))},Ne='\n
\n \n
    \n
    \n \n

    \n
    \n \n \n
    \n \n \n
    \n \n
    \n \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n').replace(/(^|\n)\s*/g,""),Ie=function(){var e=O();return!!e&&(e.remove(),he([document.documentElement,document.body],[I["no-backdrop"],I["toast-shown"],I["has-column"]]),!0)},Le=function(){Te.currentInstance.resetValidationMessage()},Oe=function(){var e=j(),t=me(e,I.input),n=me(e,I.file),r=e.querySelector(".".concat(I.range," input")),i=e.querySelector(".".concat(I.range," output")),a=me(e,I.select),o=e.querySelector(".".concat(I.checkbox," input")),s=me(e,I.textarea);t.oninput=Le,n.onchange=Le,a.onchange=Le,o.onchange=Le,s.oninput=Le,r.oninput=function(){Le(),i.value=r.value},r.onchange=function(){Le(),i.value=r.value}},_e=function(e){return"string"===typeof e?document.querySelector(e):e},Me=function(e){var t=j();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")},je=function(e){"rtl"===window.getComputedStyle(e).direction&&de(O(),I.rtl)},Re=function(e){var t=Ie();if(Se())p("SweetAlert2 requires document to initialize");else{var n=document.createElement("div");n.className=I.container,t&&de(n,I["no-transition"]),oe(n,Ne);var r=_e(e.target);r.appendChild(n),Me(e),je(r),Oe()}},We=function(e,t){e instanceof HTMLElement?t.appendChild(e):"object"===typeof e?Ve(e,t):e&&oe(t,e)},Ve=function(e,t){e.jquery?He(t,e):oe(t,e.toString())},He=function(e,t){if(e.textContent="",0 in t)for(var n=0;n in t;n++)e.appendChild(t[n].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},Ue=function(){if(Se())return!1;var e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&"undefined"!==typeof e.style[n])return t[n];return!1}(),ze=function(){var e=document.createElement("div");e.className=I["scrollbar-measure"],document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},Ge=function(e,t){var n=X(),r=J();t.showConfirmButton||t.showDenyButton||t.showCancelButton?ve(n):ge(n),le(n,t,"actions"),qe(n,r,t),oe(r,t.loaderHtml),le(r,t,"loader")};function qe(e,t,n){var r=G(),i=q(),a=$();Je(r,"confirm",n),Je(i,"deny",n),Je(a,"cancel",n),Ke(r,i,a,n),n.reverseButtons&&(n.toast?(e.insertBefore(a,r),e.insertBefore(i,r)):(e.insertBefore(a,t),e.insertBefore(i,t),e.insertBefore(r,t)))}function Ke(e,t,n,r){if(!r.buttonsStyling)return he([e,t,n],I.styled);de([e,t,n],I.styled),r.confirmButtonColor&&(e.style.backgroundColor=r.confirmButtonColor,de(e,I["default-outline"])),r.denyButtonColor&&(t.style.backgroundColor=r.denyButtonColor,de(t,I["default-outline"])),r.cancelButtonColor&&(n.style.backgroundColor=r.cancelButtonColor,de(n,I["default-outline"]))}function Je(e,t,r){be(e,r["show".concat(n(t),"Button")],"inline-block"),oe(e,r["".concat(t,"ButtonText")]),e.setAttribute("aria-label",r["".concat(t,"ButtonAriaLabel")]),e.className=I[t],le(e,r,"".concat(t,"Button")),de(e,r["".concat(t,"ButtonClass")])}var $e=function(e,t){var n=O();n&&(Xe(n,t.backdrop),Qe(n,t.position),Ye(n,t.grow),le(n,t,"container"))};function Xe(e,t){"string"===typeof t?e.style.background=t:t||de([document.documentElement,document.body],I["no-backdrop"])}function Qe(e,t){t in I?de(e,I[t]):(c('The "position" parameter is not valid, defaulting to "center"'),de(e,I.center))}function Ye(e,t){if(t&&"string"===typeof t){var n="grow-".concat(t);n in I&&de(e,I[n])}}var Ze={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},et=["input","file","range","select","radio","checkbox","textarea"],tt=function(e,t){var n=j(),r=Ze.innerParams.get(e),i=!r||t.input!==r.input;et.forEach((function(e){var r=me(n,I[e]);it(e,t.inputAttributes),r.className=I[e],i&&ge(r)})),t.input&&(i&&nt(t),at(t))},nt=function(e){if(!ct[e.input])return p('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(e.input,'"'));var t=ut(e.input),n=ct[e.input](t,e);ve(t),setTimeout((function(){pe(n)}))},rt=function(e){for(var t=0;tt?"".concat(r,"px"):null})).observe(e,{attributes:!0,attributeFilter:["style"]})}})),e};var pt=function(e,t){var n=V();le(n,t,"htmlContainer"),t.html?(We(t.html,n),ve(n,"block")):t.text?(n.textContent=t.text,ve(n,"block")):ge(n),tt(e,t)},ft=function(e,t){var n=Q();be(n,t.footer),t.footer&&We(t.footer,n),le(n,t,"footer")},dt=function(e,t){var n=Z();oe(n,t.closeButtonHtml),le(n,t,"closeButton"),be(n,t.showCloseButton),n.setAttribute("aria-label",t.closeButtonAriaLabel)},ht=function(e,t){var n=Ze.innerParams.get(e),r=R();if(n&&t.icon===n.icon)return Dt(r,t),void mt(r,t);if(t.icon||t.iconHtml){if(t.icon&&-1===Object.keys(L).indexOf(t.icon))return p('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.icon,'"')),void ge(r);ve(r),Dt(r,t),mt(r,t),de(r,t.showClass.icon)}else ge(r)},mt=function(e,t){for(var n in L)t.icon!==n&&he(e,L[n]);de(e,L[t.icon]),bt(e,t),yt(),le(e,t,"icon")},yt=function(){for(var e=j(),t=window.getComputedStyle(e).getPropertyValue("background-color"),n=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),r=0;r\n \n
    \n
    \n',gt='\n \n \n \n \n',Dt=function(e,t){var n,r=e.innerHTML;t.iconHtml?n=xt(t.iconHtml):"success"===t.icon?(n=vt,r=r.replace(/ style=".*?"/g,"")):n="error"===t.icon?gt:xt({question:"?",warning:"!",info:"i"}[t.icon]),r.trim()!==n.trim()&&oe(e,n)},bt=function(e,t){if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(var n=0,r=[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"];n').concat(e,"")},Ct=function(e,t){var n=H();if(!t.imageUrl)return ge(n);ve(n,""),n.setAttribute("src",t.imageUrl),n.setAttribute("alt",t.imageAlt),ye(n,"width",t.imageWidth),ye(n,"height",t.imageHeight),n.className=I.image,le(n,t,"image")},Et=function(e,t){var n=U();if(!t.progressSteps||0===t.progressSteps.length)return ge(n);ve(n),n.textContent="",t.currentProgressStep>=t.progressSteps.length&&c("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach((function(e,r){var i=At(e);if(n.appendChild(i),r===t.currentProgressStep&&de(i,I["active-progress-step"]),r!==t.progressSteps.length-1){var a=wt(t);n.appendChild(a)}}))},At=function(e){var t=document.createElement("li");return de(t,I["progress-step"]),oe(t,e),t},wt=function(e){var t=document.createElement("li");return de(t,I["progress-step-line"]),e.progressStepsDistance&&ye(t,"width",e.progressStepsDistance),t},kt=function(e,t){var n=W();be(n,t.title||t.titleText,"block"),t.title&&We(t.title,n),t.titleText&&(n.innerText=t.titleText),le(n,t,"title")},St=function(e,t){var n=O(),r=j();t.toast?(ye(n,"width",t.width),r.style.width="100%",r.insertBefore(J(),R())):ye(r,"width",t.width),ye(r,"padding",t.padding),t.color&&(r.style.color=t.color),t.background&&(r.style.background=t.background),ge(z()),Ft(r,t)},Ft=function(e,t){e.className="".concat(I.popup," ").concat(xe(e)?t.showClass.popup:""),t.toast?(de([document.documentElement,document.body],I["toast-shown"]),de(e,I.toast)):de(e,I.modal),le(e,t,"popup"),"string"===typeof t.customClass&&de(e,t.customClass),t.icon&&de(e,I["icon-".concat(t.icon)])},Tt=function(e,t){St(e,t),$e(e,t),Et(e,t),ht(e,t),Ct(e,t),kt(e,t),dt(e,t),pt(e,t),Ge(e,t),ft(e,t),"function"===typeof t.didRender&&t.didRender(j())},Pt=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Bt=function(){Array.from(document.body.children).forEach((function(e){e===O()||e.contains(O())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))}))},Nt=function(){Array.from(document.body.children).forEach((function(e){e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")}))},It=["swal-title","swal-html","swal-footer"],Lt=function(e){var t="string"===typeof e.template?document.querySelector(e.template):e.template;if(!t)return{};var n=t.content;return Vt(n),Object.assign(Ot(n),_t(n),Mt(n),jt(n),Rt(n),Wt(n,It))},Ot=function(e){var t={};return Array.from(e.querySelectorAll("swal-param")).forEach((function(e){Ht(e,["name","value"]);var n=e.getAttribute("name"),r=e.getAttribute("value");"boolean"===typeof b[n]&&"false"===r&&(t[n]=!1),"object"===typeof b[n]&&(t[n]=JSON.parse(r))})),t},_t=function(e){var t={};return Array.from(e.querySelectorAll("swal-button")).forEach((function(e){Ht(e,["type","color","aria-label"]);var r=e.getAttribute("type");t["".concat(r,"ButtonText")]=e.innerHTML,t["show".concat(n(r),"Button")]=!0,e.hasAttribute("color")&&(t["".concat(r,"ButtonColor")]=e.getAttribute("color")),e.hasAttribute("aria-label")&&(t["".concat(r,"ButtonAriaLabel")]=e.getAttribute("aria-label"))})),t},Mt=function(e){var t={},n=e.querySelector("swal-image");return n&&(Ht(n,["src","width","height","alt"]),n.hasAttribute("src")&&(t.imageUrl=n.getAttribute("src")),n.hasAttribute("width")&&(t.imageWidth=n.getAttribute("width")),n.hasAttribute("height")&&(t.imageHeight=n.getAttribute("height")),n.hasAttribute("alt")&&(t.imageAlt=n.getAttribute("alt"))),t},jt=function(e){var t={},n=e.querySelector("swal-icon");return n&&(Ht(n,["type","color"]),n.hasAttribute("type")&&(t.icon=n.getAttribute("type")),n.hasAttribute("color")&&(t.iconColor=n.getAttribute("color")),t.iconHtml=n.innerHTML),t},Rt=function(e){var t={},n=e.querySelector("swal-input");n&&(Ht(n,["type","label","placeholder","value"]),t.input=n.getAttribute("type")||"text",n.hasAttribute("label")&&(t.inputLabel=n.getAttribute("label")),n.hasAttribute("placeholder")&&(t.inputPlaceholder=n.getAttribute("placeholder")),n.hasAttribute("value")&&(t.inputValue=n.getAttribute("value")));var r=Array.from(e.querySelectorAll("swal-input-option"));return r.length&&(t.inputOptions={},r.forEach((function(e){Ht(e,["value"]);var n=e.getAttribute("value"),r=e.innerHTML;t.inputOptions[n]=r}))),t},Wt=function(e,t){var n={};for(var r in t){var i=t[r],a=e.querySelector(i);a&&(Ht(a,[]),n[i.replace(/^swal-/,"")]=a.innerHTML.trim())}return n},Vt=function(e){var t=It.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(e.children).forEach((function(e){var n=e.tagName.toLowerCase();-1===t.indexOf(n)&&c("Unrecognized element <".concat(n,">"))}))},Ht=function(e,t){Array.from(e.attributes).forEach((function(n){-1===t.indexOf(n.name)&&c(['Unrecognized attribute "'.concat(n.name,'" on <').concat(e.tagName.toLowerCase(),">."),"".concat(t.length?"Allowed attributes are: ".concat(t.join(", ")):"To set the value, use HTML within the element.")])}))},Ut={email:function(e,t){return/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address")},url:function(e,t){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")}};function zt(e){e.inputValidator||Object.keys(Ut).forEach((function(t){e.input===t&&(e.inputValidator=Ut[t])}))}function Gt(e){(!e.target||"string"===typeof e.target&&!document.querySelector(e.target)||"string"!==typeof e.target&&!e.target.appendChild)&&(c('Target parameter is not valid, defaulting to "body"'),e.target="body")}function qt(e){zt(e),e.showLoaderOnConfirm&&!e.preConfirm&&c("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),Gt(e),"string"===typeof e.title&&(e.title=e.title.split("\n").join("
    ")),Re(e)}var Kt=function(){function e(t,n){u(this,e),this.callback=t,this.remaining=n,this.running=!1,this.start()}return l(e,[{key:"start",value:function(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}},{key:"stop",value:function(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}},{key:"increase",value:function(e){var t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}},{key:"getTimerLeft",value:function(){return this.running&&(this.stop(),this.start()),this.remaining}},{key:"isRunning",value:function(){return this.running}}]),e}(),Jt=function(){null===ae.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(ae.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(ae.previousBodyPadding+ze(),"px"))},$t=function(){null!==ae.previousBodyPadding&&(document.body.style.paddingRight="".concat(ae.previousBodyPadding,"px"),ae.previousBodyPadding=null)},Xt=function(){if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!se(document.body,I.iosfix)){var e=document.body.scrollTop;document.body.style.top="".concat(-1*e,"px"),de(document.body,I.iosfix),Yt(),Qt()}},Qt=function(){var e=navigator.userAgent,t=!!e.match(/iPad/i)||!!e.match(/iPhone/i),n=!!e.match(/WebKit/i);if(t&&n&&!e.match(/CriOS/i)){var r=44;j().scrollHeight>window.innerHeight-r&&(O().style.paddingBottom="".concat(r,"px"))}},Yt=function(){var e,t=O();t.ontouchstart=function(t){e=Zt(t)},t.ontouchmove=function(t){e&&(t.preventDefault(),t.stopPropagation())}},Zt=function(e){var t=e.target,n=O();return!en(e)&&!tn(e)&&(t===n||!(Ee(n)||"INPUT"===t.tagName||"TEXTAREA"===t.tagName||Ee(V())&&V().contains(t)))},en=function(e){return e.touches&&e.touches.length&&"stylus"===e.touches[0].touchType},tn=function(e){return e.touches&&e.touches.length>1},nn=function(){if(se(document.body,I.iosfix)){var e=parseInt(document.body.style.top,10);he(document.body,I.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}},rn=10,an=function(e){var t=O(),n=j();"function"===typeof e.willOpen&&e.willOpen(n);var r=window.getComputedStyle(document.body).overflowY;ln(t,n,e),setTimeout((function(){sn(t,n)}),rn),ne()&&(un(t,e.scrollbarPadding,r),Bt()),re()||Te.previousActiveElement||(Te.previousActiveElement=document.activeElement),"function"===typeof e.didOpen&&setTimeout((function(){return e.didOpen(n)})),he(t,I["no-transition"])},on=function e(t){var n=j();if(t.target===n){var r=O();n.removeEventListener(Ue,e),r.style.overflowY="auto"}},sn=function(e,t){Ue&&Ae(t)?(e.style.overflowY="hidden",t.addEventListener(Ue,on)):e.style.overflowY="auto"},un=function(e,t,n){Xt(),t&&"hidden"!==n&&Jt(),setTimeout((function(){e.scrollTop=0}))},ln=function(e,t,n){de(e,n.showClass.backdrop),t.style.setProperty("opacity","0","important"),ve(t,"grid"),setTimeout((function(){de(t,n.showClass.popup),t.style.removeProperty("opacity")}),rn),de([document.documentElement,document.body],I.shown),n.heightAuto&&n.backdrop&&!n.toast&&de([document.documentElement,document.body],I["height-auto"])},cn=function(e){var t=j();t||new ri,t=j();var n=J();re()?ge(R()):pn(t,e),ve(n),t.setAttribute("data-loading","true"),t.setAttribute("aria-busy","true"),t.focus()},pn=function(e,t){var n=X(),r=J();!t&&xe(G())&&(t=G()),ve(n),t&&(ge(t),r.setAttribute("data-button-to-replace",t.className)),r.parentNode.insertBefore(r,t),de([e,n],I.loading)},fn=function(e,t){"select"===t.input||"radio"===t.input?vn(e,t):["text","email","number","tel","textarea"].includes(t.input)&&(y(t.inputValue)||g(t.inputValue))&&(cn(G()),gn(e,t))},dn=function(e,t){var n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return hn(n);case"radio":return mn(n);case"file":return yn(n);default:return t.inputAutoTrim?n.value.trim():n.value}},hn=function(e){return e.checked?1:0},mn=function(e){return e.checked?e.value:null},yn=function(e){return e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null},vn=function(e,t){var n=j(),r=function(e){return Dn[t.input](n,bn(e),t)};y(t.inputOptions)||g(t.inputOptions)?(cn(G()),v(t.inputOptions).then((function(t){e.hideLoading(),r(t)}))):"object"===typeof t.inputOptions?r(t.inputOptions):p("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof t.inputOptions))},gn=function(e,t){var n=e.getInput();ge(n),v(t.inputValue).then((function(r){n.value="number"===t.input?parseFloat(r)||0:"".concat(r),ve(n),n.focus(),e.hideLoading()})).catch((function(t){p("Error in inputValue promise: ".concat(t)),n.value="",ve(n),n.focus(),e.hideLoading()}))},Dn={select:function(e,t,n){var r=me(e,I.select),i=function(e,t,r){var i=document.createElement("option");i.value=r,oe(i,t),i.selected=xn(r,n.inputValue),e.appendChild(i)};t.forEach((function(e){var t=e[0],n=e[1];if(Array.isArray(n)){var a=document.createElement("optgroup");a.label=t,a.disabled=!1,r.appendChild(a),n.forEach((function(e){return i(a,e[1],e[0])}))}else i(r,n,t)})),r.focus()},radio:function(e,t,n){var r=me(e,I.radio);t.forEach((function(e){var t=e[0],i=e[1],a=document.createElement("input"),o=document.createElement("label");a.type="radio",a.name=I.radio,a.value=t,xn(t,n.inputValue)&&(a.checked=!0);var s=document.createElement("span");oe(s,i),s.className=I.label,o.appendChild(a),o.appendChild(s),r.appendChild(o)}));var i=r.querySelectorAll("input");i.length&&i[0].focus()}},bn=function e(t){var n=[];return"undefined"!==typeof Map&&t instanceof Map?t.forEach((function(t,r){var i=t;"object"===typeof i&&(i=e(i)),n.push([r,i])})):Object.keys(t).forEach((function(r){var i=t[r];"object"===typeof i&&(i=e(i)),n.push([r,i])})),n},xn=function(e,t){return t&&t.toString()===e.toString()};function Cn(){var e=Ze.innerParams.get(this);if(e){var t=Ze.domCache.get(this);ge(t.loader),re()?e.icon&&ve(R()):En(t),he([t.popup,t.actions],I.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1}}var En=function(e){var t=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));t.length?ve(t[0],"inline-block"):Ce()&&ge(e.actions)};function An(e){var t=Ze.innerParams.get(e||this),n=Ze.domCache.get(e||this);return n?ce(n.popup,t.input):null}var wn={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap},kn=function(){return xe(j())},Sn=function(){return G()&&G().click()},Fn=function(){return q()&&q().click()},Tn=function(){return $()&&$().click()},Pn=function(e){e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},Bn=function(e,t,n,r){Pn(t),n.toast||(t.keydownHandler=function(t){return On(e,t,r)},t.keydownTarget=n.keydownListenerCapture?window:j(),t.keydownListenerCapture=n.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)},Nn=function(e,t,n){var r=te();if(r.length)return(t+=n)===r.length?t=0:-1===t&&(t=r.length-1),r[t].focus();j().focus()},In=["ArrowRight","ArrowDown"],Ln=["ArrowLeft","ArrowUp"],On=function(e,t,n){var r=Ze.innerParams.get(e);r&&(t.isComposing||229===t.keyCode||(r.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?_n(e,t,r):"Tab"===t.key?Mn(t,r):[].concat(In,Ln).includes(t.key)?jn(t.key):"Escape"===t.key&&Rn(t,r,n)))},_n=function(e,t,n){if(m(n.allowEnterKey)&&t.target&&e.getInput()&&t.target instanceof HTMLElement&&t.target.outerHTML===e.getInput().outerHTML){if(["textarea","file"].includes(n.input))return;Sn(),t.preventDefault()}},Mn=function(e,t){for(var n=e.target,r=te(),i=-1,a=0;a0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,Wr||(document.body.addEventListener("click",zr),Wr=!0)}var Ur,zr=function(e){for(var t=e.target;t&&t!==document;t=t.parentNode)for(var n in Vr){var r=t.getAttribute(n);if(r)return void Vr[n].fire({template:r})}},Gr=Object.freeze({isValidParameter:A,isUpdatableParameter:w,isDeprecatedParameter:k,argsToParams:Br,isVisible:kn,clickConfirm:Sn,clickDeny:Fn,clickCancel:Tn,getContainer:O,getPopup:j,getTitle:W,getHtmlContainer:V,getImage:H,getIcon:R,getInputLabel:K,getCloseButton:Z,getActions:X,getConfirmButton:G,getDenyButton:q,getCancelButton:$,getLoader:J,getFooter:Q,getTimerProgressBar:Y,getFocusableElements:te,getValidationMessage:z,isLoading:ie,fire:Nr,mixin:Ir,showLoading:cn,enableLoading:cn,getTimerLeft:Lr,stopTimer:Or,resumeTimer:_r,toggleTimer:Mr,increaseTimer:jr,isTimerRunning:Rr,bindClickHandler:Hr}),qr=function(){function e(){if(u(this,e),"undefined"!==typeof window){Ur=this;for(var t=arguments.length,n=new Array(t),r=0;r1&&void 0!==arguments[1]?arguments[1]:{};P(Object.assign({},t,e)),Te.currentInstance&&(Te.currentInstance._destroy(),ne()&&Nt()),Te.currentInstance=Ur;var n=Jr(e,t);qt(n),Object.freeze(n),Te.timeout&&(Te.timeout.stop(),delete Te.timeout),clearTimeout(Te.restoreFocusTimeout);var r=$r(Ur);return Tt(Ur,n),Ze.innerParams.set(Ur,n),Kr(Ur,r,n)}},{key:"then",value:function(e){return Ze.promise.get(this).then(e)}},{key:"finally",value:function(e){return Ze.promise.get(this).finally(e)}}]),e}(),Kr=function(e,t,n){return new Promise((function(r,i){var a=function(t){e.closePopup({isDismissed:!0,dismiss:t})};wn.swalPromiseResolve.set(e,r),wn.swalPromiseReject.set(e,i),t.confirmButton.onclick=function(){return dr(e)},t.denyButton.onclick=function(){return hr(e)},t.cancelButton.onclick=function(){return mr(e,a)},t.closeButton.onclick=function(){return a(Pt.close)},Cr(e,t,a),Bn(e,Te,n,a),fn(e,n),an(n),Xr(Te,n,a),Qr(t,n),setTimeout((function(){t.container.scrollTop=0}))}))},Jr=function(e,t){var n=Lt(e),r=Object.assign({},b,t,n,e);return r.showClass=Object.assign({},b.showClass,r.showClass),r.hideClass=Object.assign({},b.hideClass,r.hideClass),r},$r=function(e){var t={popup:j(),container:O(),actions:X(),confirmButton:G(),denyButton:q(),cancelButton:$(),loader:J(),closeButton:Z(),validationMessage:z(),progressSteps:U()};return Ze.domCache.set(e,t),t},Xr=function(e,t,n){var r=Y();ge(r),t.timer&&(e.timeout=new Kt((function(){n("timer"),delete e.timeout}),t.timer),t.timerProgressBar&&(ve(r),le(r,t,"timerProgressBar"),setTimeout((function(){e.timeout&&e.timeout.running&&we(t.timer)}))))},Qr=function(e,t){if(!t.toast)return m(t.allowEnterKey)?void(Yr(e,t)||Nn(t,-1,1)):Zr()},Yr=function(e,t){return t.focusDeny&&xe(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&xe(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!xe(e.confirmButton))&&(e.confirmButton.focus(),!0)},Zr=function(){document.activeElement instanceof HTMLElement&&"function"===typeof document.activeElement.blur&&document.activeElement.blur()};if("undefined"!==typeof window&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|xn--p1ai)$/)&&Math.random()<.1){var ei=document.createElement("div");ei.className="leave-russia-now-and-apply-your-skills-to-the-world";var ti=D([{text:"В нижеприведённом видео объясняется как каждый из нас может помочь в том,\n чтобы эта бессмысленная и бесчеловечная война остановилась:",id:"4CfDhaRkw7I"},{text:"Эмпатия - главное человеческое чувство. Способность сопереживать. Способность поставить себя на место другого.",id:"s-GLAIY4DXA"}]);oe(ei,"\n
    \n Если мы не остановим войну, она придет в дом каждого из нас и её последствия будут ужасающими.\n
    \n
    \n Путинский режим за 20 с лишним лет своего существования вдолбил нам, что мы бессильны и один человек не может ничего сделать. Это не так!\n
    \n
    \n ".concat(ti.text,'\n
    \n \n
    \n Нет войне!\n
    \n '));var ni=document.createElement("button");ni.innerHTML="×",ni.onclick=function(){return ei.remove()},ei.appendChild(ni),window.addEventListener("load",(function(){setTimeout((function(){document.body.appendChild(ei)}),1e3)}))}Object.assign(qr.prototype,fr),Object.assign(qr,Gr),Object.keys(fr).forEach((function(e){qr[e]=function(){var t;if(Ur)return(t=Ur)[e].apply(t,arguments)}})),qr.DismissReason=Pt,qr.version="11.4.26";var ri=qr;return ri.default=ri,ri}(),"undefined"!==typeof this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch(e){n.innerText=t}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4!important;grid-row:1/4!important;grid-template-columns:1fr 99fr 1fr;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px hsla(0deg,0%,0%,.075),0 1px 2px hsla(0deg,0%,0%,.075),1px 2px 4px hsla(0deg,0%,0%,.075),1px 3px 8px hsla(0deg,0%,0%,.075),2px 4px 16px hsla(0deg,0%,0%,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:grid;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto);grid-template-rows:minmax(min-content,auto) minmax(min-content,auto) minmax(min-content,auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-bottom-start,.swal2-container.swal2-center-start,.swal2-container.swal2-top-start{grid-template-columns:minmax(0,1fr) auto auto}.swal2-container.swal2-bottom,.swal2-container.swal2-center,.swal2-container.swal2-top{grid-template-columns:auto minmax(0,1fr) auto}.swal2-container.swal2-bottom-end,.swal2-container.swal2-center-end,.swal2-container.swal2-top-end{grid-template-columns:auto auto minmax(0,1fr)}.swal2-container.swal2-top-start>.swal2-popup{align-self:start}.swal2-container.swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}.swal2-container.swal2-top-end>.swal2-popup,.swal2-container.swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}.swal2-container.swal2-center-left>.swal2-popup,.swal2-container.swal2-center-start>.swal2-popup{grid-row:2;align-self:center}.swal2-container.swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}.swal2-container.swal2-center-end>.swal2-popup,.swal2-container.swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}.swal2-container.swal2-bottom-left>.swal2-popup,.swal2-container.swal2-bottom-start>.swal2-popup{grid-column:1;grid-row:3;align-self:end}.swal2-container.swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}.swal2-container.swal2-bottom-end>.swal2-popup,.swal2-container.swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}.swal2-container.swal2-grow-fullscreen>.swal2-popup,.swal2-container.swal2-grow-row>.swal2-popup{grid-column:1/4;width:100%}.swal2-container.swal2-grow-column>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}.swal2-container.swal2-no-transition{transition:none!important}.swal2-popup{display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0,100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-title{position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 transparent #2778c4 transparent}.swal2-styled{margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px transparent;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}.swal2-styled.swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}.swal2-styled.swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}.swal2-styled.swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled:focus{outline:0}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto!important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:2em auto 1em}.swal2-close{z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:0 0;color:#ccc;font-family:serif;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close:focus{outline:0;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em 2em 3px}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:0 0;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px transparent;color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em 2em 3px;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-file{width:75%;margin-right:auto;margin-left:auto;background:0 0;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:0 0;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto 0}.swal2-validation-message{align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:.25em solid transparent;border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-warning.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-i-mark .5s;animation:swal2-animate-i-mark .5s}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-info.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-i-mark .8s;animation:swal2-animate-i-mark .8s}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-question.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-question-mark .8s;animation:swal2-animate-question-mark .8s}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:0 0;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}.leave-russia-now-and-apply-your-skills-to-the-world{display:flex;position:fixed;z-index:1939;top:0;right:0;bottom:0;left:0;flex-direction:column;align-items:center;justify-content:center;padding:25px 0 20px;background:#20232a;color:#fff;text-align:center}.leave-russia-now-and-apply-your-skills-to-the-world div{max-width:560px;margin:10px;line-height:146%}.leave-russia-now-and-apply-your-skills-to-the-world iframe{max-width:100%;max-height:55.5555555556vmin;margin:16px auto}.leave-russia-now-and-apply-your-skills-to-the-world strong{border-bottom:2px dashed #fff}.leave-russia-now-and-apply-your-skills-to-the-world button{display:flex;position:fixed;z-index:1940;top:0;right:0;align-items:center;justify-content:center;width:48px;height:48px;margin-right:10px;margin-bottom:-10px;border:none;background:0 0;color:#aaa;font-size:48px;font-weight:700;cursor:pointer}.leave-russia-now-and-apply-your-skills-to-the-world button:hover{color:#fff}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@-webkit-keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{background-color:transparent!important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:transparent;pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}')},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw o}}}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){(function(e,r){var i;(function(){var a,o="Expected a function",s="__lodash_hash_undefined__",u="__lodash_placeholder__",l=16,c=32,p=64,f=128,d=256,h=1/0,m=9007199254740991,y=NaN,v=4294967295,g=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",p],["rearg",d]],D="[object Arguments]",b="[object Array]",x="[object Boolean]",C="[object Date]",E="[object Error]",A="[object Function]",w="[object GeneratorFunction]",k="[object Map]",S="[object Number]",F="[object Object]",T="[object Promise]",P="[object RegExp]",B="[object Set]",N="[object String]",I="[object Symbol]",L="[object WeakMap]",O="[object ArrayBuffer]",_="[object DataView]",M="[object Float32Array]",j="[object Float64Array]",R="[object Int8Array]",W="[object Int16Array]",V="[object Int32Array]",H="[object Uint8Array]",U="[object Uint8ClampedArray]",z="[object Uint16Array]",G="[object Uint32Array]",q=/\b__p \+= '';/g,K=/\b(__p \+=) '' \+/g,J=/(__e\(.*?\)|\b__t\)) \+\n'';/g,$=/&(?:amp|lt|gt|quot|#39);/g,X=/[&<>"']/g,Q=RegExp($.source),Y=RegExp(X.source),Z=/<%-([\s\S]+?)%>/g,ee=/<%([\s\S]+?)%>/g,te=/<%=([\s\S]+?)%>/g,ne=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ie=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ae=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(ae.source),se=/^\s+/,ue=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,pe=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,he=/\\(\\)?/g,me=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ye=/\w*$/,ve=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,De=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,xe=/^(?:0|[1-9]\d*)$/,Ce=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ee=/($^)/,Ae=/['\n\r\u2028\u2029\\]/g,we="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ke="\\u2700-\\u27bf",Se="a-z\\xdf-\\xf6\\xf8-\\xff",Fe="A-Z\\xc0-\\xd6\\xd8-\\xde",Te="\\ufe0e\\ufe0f",Pe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Be="['’]",Ne="[\\ud800-\\udfff]",Ie="["+Pe+"]",Le="["+we+"]",Oe="\\d+",_e="[\\u2700-\\u27bf]",Me="["+Se+"]",je="[^\\ud800-\\udfff"+Pe+Oe+ke+Se+Fe+"]",Re="\\ud83c[\\udffb-\\udfff]",We="[^\\ud800-\\udfff]",Ve="(?:\\ud83c[\\udde6-\\uddff]){2}",He="[\\ud800-\\udbff][\\udc00-\\udfff]",Ue="["+Fe+"]",ze="(?:"+Me+"|"+je+")",Ge="(?:"+Ue+"|"+je+")",qe="(?:['’](?:d|ll|m|re|s|t|ve))?",Ke="(?:['’](?:D|LL|M|RE|S|T|VE))?",Je="(?:"+Le+"|"+Re+")"+"?",$e="[\\ufe0e\\ufe0f]?",Xe=$e+Je+("(?:\\u200d(?:"+[We,Ve,He].join("|")+")"+$e+Je+")*"),Qe="(?:"+[_e,Ve,He].join("|")+")"+Xe,Ye="(?:"+[We+Le+"?",Le,Ve,He,Ne].join("|")+")",Ze=RegExp(Be,"g"),et=RegExp(Le,"g"),tt=RegExp(Re+"(?="+Re+")|"+Ye+Xe,"g"),nt=RegExp([Ue+"?"+Me+"+"+qe+"(?="+[Ie,Ue,"$"].join("|")+")",Ge+"+"+Ke+"(?="+[Ie,Ue+ze,"$"].join("|")+")",Ue+"?"+ze+"+"+qe,Ue+"+"+Ke,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Oe,Qe].join("|"),"g"),rt=RegExp("[\\u200d\\ud800-\\udfff"+we+Te+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ot=-1,st={};st[M]=st[j]=st[R]=st[W]=st[V]=st[H]=st[U]=st[z]=st[G]=!0,st[D]=st[b]=st[O]=st[x]=st[_]=st[C]=st[E]=st[A]=st[k]=st[S]=st[F]=st[P]=st[B]=st[N]=st[L]=!1;var ut={};ut[D]=ut[b]=ut[O]=ut[_]=ut[x]=ut[C]=ut[M]=ut[j]=ut[R]=ut[W]=ut[V]=ut[k]=ut[S]=ut[F]=ut[P]=ut[B]=ut[N]=ut[I]=ut[H]=ut[U]=ut[z]=ut[G]=!0,ut[E]=ut[A]=ut[L]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ct=parseFloat,pt=parseInt,ft="object"==typeof e&&e&&e.Object===Object&&e,dt="object"==typeof self&&self&&self.Object===Object&&self,ht=ft||dt||Function("return this")(),mt=t&&!t.nodeType&&t,yt=mt&&"object"==typeof r&&r&&!r.nodeType&&r,vt=yt&&yt.exports===mt,gt=vt&&ft.process,Dt=function(){try{var e=yt&&yt.require&&yt.require("util").types;return e||gt&>.binding&>.binding("util")}catch(t){}}(),bt=Dt&&Dt.isArrayBuffer,xt=Dt&&Dt.isDate,Ct=Dt&&Dt.isMap,Et=Dt&&Dt.isRegExp,At=Dt&&Dt.isSet,wt=Dt&&Dt.isTypedArray;function kt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function St(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i-1}function It(e,t,n){for(var r=-1,i=null==e?0:e.length;++r-1;);return n}function nn(e,t){for(var n=e.length;n--&&Ht(t,e[n],0)>-1;);return n}function rn(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var an=Kt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),on=Kt({"&":"&","<":"<",">":">",'"':""","'":"'"});function sn(e){return"\\"+lt[e]}function un(e){return rt.test(e)}function ln(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function cn(e,t){return function(n){return e(t(n))}}function pn(e,t){for(var n=-1,r=e.length,i=0,a=[];++n",""":'"',"'":"'"});var gn=function e(t){var n=(t=null==t?ht:gn.defaults(ht.Object(),t,gn.pick(ht,at))).Array,r=t.Date,i=t.Error,ue=t.Function,we=t.Math,ke=t.Object,Se=t.RegExp,Fe=t.String,Te=t.TypeError,Pe=n.prototype,Be=ue.prototype,Ne=ke.prototype,Ie=t["__core-js_shared__"],Le=Be.toString,Oe=Ne.hasOwnProperty,_e=0,Me=function(){var e=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),je=Ne.toString,Re=Le.call(ke),We=ht._,Ve=Se("^"+Le.call(Oe).replace(ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=vt?t.Buffer:a,Ue=t.Symbol,ze=t.Uint8Array,Ge=He?He.allocUnsafe:a,qe=cn(ke.getPrototypeOf,ke),Ke=ke.create,Je=Ne.propertyIsEnumerable,$e=Pe.splice,Xe=Ue?Ue.isConcatSpreadable:a,Qe=Ue?Ue.iterator:a,Ye=Ue?Ue.toStringTag:a,tt=function(){try{var e=fa(ke,"defineProperty");return e({},"",{}),e}catch(t){}}(),rt=t.clearTimeout!==ht.clearTimeout&&t.clearTimeout,lt=r&&r.now!==ht.Date.now&&r.now,ft=t.setTimeout!==ht.setTimeout&&t.setTimeout,dt=we.ceil,mt=we.floor,yt=ke.getOwnPropertySymbols,gt=He?He.isBuffer:a,Dt=t.isFinite,Rt=Pe.join,Kt=cn(ke.keys,ke),Dn=we.max,bn=we.min,xn=r.now,Cn=t.parseInt,En=we.random,An=Pe.reverse,wn=fa(t,"DataView"),kn=fa(t,"Map"),Sn=fa(t,"Promise"),Fn=fa(t,"Set"),Tn=fa(t,"WeakMap"),Pn=fa(ke,"create"),Bn=Tn&&new Tn,Nn={},In=Ra(wn),Ln=Ra(kn),On=Ra(Sn),_n=Ra(Fn),Mn=Ra(Tn),jn=Ue?Ue.prototype:a,Rn=jn?jn.valueOf:a,Wn=jn?jn.toString:a;function Vn(e){if(rs(e)&&!qo(e)&&!(e instanceof Gn)){if(e instanceof zn)return e;if(Oe.call(e,"__wrapped__"))return Wa(e)}return new zn(e)}var Hn=function(){function e(){}return function(t){if(!ns(t))return{};if(Ke)return Ke(t);e.prototype=t;var n=new e;return e.prototype=a,n}}();function Un(){}function zn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=a}function Gn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=v,this.__views__=[]}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function lr(e,t,n,r,i,o){var s,u=1&t,l=2&t,c=4&t;if(n&&(s=i?n(e,r,i,o):n(e)),s!==a)return s;if(!ns(e))return e;var p=qo(e);if(p){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Oe.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!u)return Pi(e,s)}else{var f=ma(e),d=f==A||f==w;if(Xo(e))return Ai(e,u);if(f==F||f==D||d&&!i){if(s=l||d?{}:va(e),!u)return l?function(e,t){return Bi(e,ha(e),t)}(e,function(e,t){return e&&Bi(t,Ls(t),e)}(s,e)):function(e,t){return Bi(e,da(e),t)}(e,ar(s,e))}else{if(!ut[f])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case O:return wi(e);case x:case C:return new r(+e);case _:return function(e,t){var n=t?wi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case M:case j:case R:case W:case V:case H:case U:case z:case G:return ki(e,n);case k:return new r;case S:case N:return new r(e);case P:return function(e){var t=new e.constructor(e.source,ye.exec(e));return t.lastIndex=e.lastIndex,t}(e);case B:return new r;case I:return i=e,Rn?ke(Rn.call(i)):{}}var i}(e,f,u)}}o||(o=new Xn);var h=o.get(e);if(h)return h;o.set(e,s),us(e)?e.forEach((function(r){s.add(lr(r,t,n,r,e,o))})):is(e)&&e.forEach((function(r,i){s.set(i,lr(r,t,n,i,e,o))}));var m=p?a:(c?l?aa:ia:l?Ls:Is)(e);return Ft(m||e,(function(r,i){m&&(r=e[i=r]),nr(s,i,lr(r,t,n,i,e,o))})),s}function cr(e,t,n){var r=n.length;if(null==e)return!r;for(e=ke(e);r--;){var i=n[r],o=t[i],s=e[i];if(s===a&&!(i in e)||!o(s))return!1}return!0}function pr(e,t,n){if("function"!=typeof e)throw new Te(o);return Na((function(){e.apply(a,n)}),t)}function fr(e,t,n,r){var i=-1,a=Nt,o=!0,s=e.length,u=[],l=t.length;if(!s)return u;n&&(t=Lt(t,Yt(n))),r?(a=It,o=!1):t.length>=200&&(a=en,o=!1,t=new $n(t));e:for(;++i-1},Kn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Jn.prototype.clear=function(){this.size=0,this.__data__={hash:new qn,map:new(kn||Kn),string:new qn}},Jn.prototype.delete=function(e){var t=ca(this,e).delete(e);return this.size-=t?1:0,t},Jn.prototype.get=function(e){return ca(this,e).get(e)},Jn.prototype.has=function(e){return ca(this,e).has(e)},Jn.prototype.set=function(e,t){var n=ca(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},$n.prototype.add=$n.prototype.push=function(e){return this.__data__.set(e,s),this},$n.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.clear=function(){this.__data__=new Kn,this.size=0},Xn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Xn.prototype.get=function(e){return this.__data__.get(e)},Xn.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Kn){var r=n.__data__;if(!kn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Jn(r)}return n.set(e,t),this.size=n.size,this};var dr=Li(xr),hr=Li(Cr,!0);function mr(e,t){var n=!0;return dr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function yr(e,t,n){for(var r=-1,i=e.length;++r0&&n(s)?t>1?gr(s,t-1,n,r,i):Ot(i,s):r||(i[i.length]=s)}return i}var Dr=Oi(),br=Oi(!0);function xr(e,t){return e&&Dr(e,t,Is)}function Cr(e,t){return e&&br(e,t,Is)}function Er(e,t){return Bt(t,(function(t){return Zo(e[t])}))}function Ar(e,t){for(var n=0,r=(t=bi(t,e)).length;null!=e&&nt}function Fr(e,t){return null!=e&&Oe.call(e,t)}function Tr(e,t){return null!=e&&t in ke(e)}function Pr(e,t,r){for(var i=r?It:Nt,o=e[0].length,s=e.length,u=s,l=n(s),c=1/0,p=[];u--;){var f=e[u];u&&t&&(f=Lt(f,Yt(t))),c=bn(f.length,c),l[u]=!r&&(t||o>=120&&f.length>=120)?new $n(u&&f):a}f=e[0];var d=-1,h=l[0];e:for(;++d=s?u:u*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function qr(e,t,n){for(var r=-1,i=t.length,a={};++r-1;)s!==e&&$e.call(s,u,1),$e.call(e,u,1);return e}function Jr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;Da(i)?$e.call(e,i,1):fi(e,i)}}return e}function $r(e,t){return e+mt(En()*(t-e+1))}function Xr(e,t){var n="";if(!e||t<1||t>m)return n;do{t%2&&(n+=e),(t=mt(t/2))&&(e+=e)}while(t);return n}function Qr(e,t){return Ia(Sa(e,t,au),e+"")}function Yr(e){return Yn(Hs(e))}function Zr(e,t){var n=Hs(e);return _a(n,ur(t,0,n.length))}function ei(e,t,n,r){if(!ns(e))return e;for(var i=-1,o=(t=bi(t,e)).length,s=o-1,u=e;null!=u&&++ia?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var o=n(a);++i>>1,o=e[a];null!==o&&!cs(o)&&(n?o<=t:o=200){var l=t?null:Xi(e);if(l)return fn(l);o=!1,i=en,u=new $n}else u=t?[]:s;e:for(;++r=r?e:ii(e,t,n)}var Ei=rt||function(e){return ht.clearTimeout(e)};function Ai(e,t){if(t)return e.slice();var n=e.length,r=Ge?Ge(n):new e.constructor(n);return e.copy(r),r}function wi(e){var t=new e.constructor(e.byteLength);return new ze(t).set(new ze(e)),t}function ki(e,t){var n=t?wi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Si(e,t){if(e!==t){var n=e!==a,r=null===e,i=e===e,o=cs(e),s=t!==a,u=null===t,l=t===t,c=cs(t);if(!u&&!c&&!o&&e>t||o&&s&&l&&!u&&!c||r&&s&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&e1?n[i-1]:a,s=i>2?n[2]:a;for(o=e.length>3&&"function"==typeof o?(i--,o):a,s&&ba(n[0],n[1],s)&&(o=i<3?a:o,i=1),t=ke(t);++r-1?i[o?t[s]:s]:a}}function Wi(e){return ra((function(t){var n=t.length,r=n,i=zn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Te(o);if(i&&!u&&"wrapper"==sa(s))var u=new zn([],!0)}for(r=u?r:n;++r1&&D.reverse(),d&&cu))return!1;var c=o.get(e),p=o.get(t);if(c&&p)return c==t&&p==e;var f=-1,d=!0,h=2&n?new $n:a;for(o.set(e,t),o.set(t,e);++f-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Ft(g,(function(n){var r="_."+n[0];t&n[1]&&!Nt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(pe):[]}(r),n)))}function Oa(e){var t=0,n=0;return function(){var r=xn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(a,arguments)}}function _a(e,t){var n=-1,r=e.length,i=r-1;for(t=t===a?r:t;++n1?e[t-1]:a;return n="function"==typeof n?(e.pop(),n):a,oo(e,n)}));function ho(e){var t=Vn(e);return t.__chain__=!0,t}function mo(e,t){return t(e)}var yo=ra((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return sr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Gn&&Da(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:mo,args:[i],thisArg:a}),new zn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(a),e}))):this.thru(i)}));var vo=Ni((function(e,t,n){Oe.call(e,n)?++e[n]:or(e,n,1)}));var go=Ri(za),Do=Ri(Ga);function bo(e,t){return(qo(e)?Ft:dr)(e,la(t,3))}function xo(e,t){return(qo(e)?Tt:hr)(e,la(t,3))}var Co=Ni((function(e,t,n){Oe.call(e,n)?e[n].push(t):or(e,n,[t])}));var Eo=Qr((function(e,t,r){var i=-1,a="function"==typeof t,o=Jo(e)?n(e.length):[];return dr(e,(function(e){o[++i]=a?kt(t,e,r):Br(e,t,r)})),o})),Ao=Ni((function(e,t,n){or(e,n,t)}));function wo(e,t){return(qo(e)?Lt:Wr)(e,la(t,3))}var ko=Ni((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var So=Qr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ba(e,t[0],t[1])?t=[]:n>2&&ba(t[0],t[1],t[2])&&(t=[t[0]]),Gr(e,gr(t,1),[])})),Fo=lt||function(){return ht.Date.now()};function To(e,t,n){return t=n?a:t,t=e&&null==t?e.length:t,Yi(e,f,a,a,a,a,t)}function Po(e,t){var n;if("function"!=typeof t)throw new Te(o);return e=ys(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=a),n}}var Bo=Qr((function(e,t,n){var r=1;if(n.length){var i=pn(n,ua(Bo));r|=c}return Yi(e,r,t,n,i)})),No=Qr((function(e,t,n){var r=3;if(n.length){var i=pn(n,ua(No));r|=c}return Yi(t,r,e,n,i)}));function Io(e,t,n){var r,i,s,u,l,c,p=0,f=!1,d=!1,h=!0;if("function"!=typeof e)throw new Te(o);function m(t){var n=r,o=i;return r=i=a,p=t,u=e.apply(o,n)}function y(e){return p=e,l=Na(g,t),f?m(e):u}function v(e){var n=e-c;return c===a||n>=t||n<0||d&&e-p>=s}function g(){var e=Fo();if(v(e))return D(e);l=Na(g,function(e){var n=t-(e-c);return d?bn(n,s-(e-p)):n}(e))}function D(e){return l=a,h&&r?m(e):(r=i=a,u)}function b(){var e=Fo(),n=v(e);if(r=arguments,i=this,c=e,n){if(l===a)return y(c);if(d)return Ei(l),l=Na(g,t),m(c)}return l===a&&(l=Na(g,t)),u}return t=gs(t)||0,ns(n)&&(f=!!n.leading,s=(d="maxWait"in n)?Dn(gs(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),b.cancel=function(){l!==a&&Ei(l),p=0,r=c=i=l=a},b.flush=function(){return l===a?u:D(Fo())},b}var Lo=Qr((function(e,t){return pr(e,1,t)})),Oo=Qr((function(e,t,n){return pr(e,gs(t)||0,n)}));function _o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Te(o);var n=function n(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(_o.Cache||Jn),n}function Mo(e){if("function"!=typeof e)throw new Te(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}_o.Cache=Jn;var jo=xi((function(e,t){var n=(t=1==t.length&&qo(t[0])?Lt(t[0],Yt(la())):Lt(gr(t,1),Yt(la()))).length;return Qr((function(r){for(var i=-1,a=bn(r.length,n);++i=t})),Go=Nr(function(){return arguments}())?Nr:function(e){return rs(e)&&Oe.call(e,"callee")&&!Je.call(e,"callee")},qo=n.isArray,Ko=bt?Yt(bt):function(e){return rs(e)&&kr(e)==O};function Jo(e){return null!=e&&ts(e.length)&&!Zo(e)}function $o(e){return rs(e)&&Jo(e)}var Xo=gt||gu,Qo=xt?Yt(xt):function(e){return rs(e)&&kr(e)==C};function Yo(e){if(!rs(e))return!1;var t=kr(e);return t==E||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!os(e)}function Zo(e){if(!ns(e))return!1;var t=kr(e);return t==A||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function es(e){return"number"==typeof e&&e==ys(e)}function ts(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=m}function ns(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function rs(e){return null!=e&&"object"==typeof e}var is=Ct?Yt(Ct):function(e){return rs(e)&&ma(e)==k};function as(e){return"number"==typeof e||rs(e)&&kr(e)==S}function os(e){if(!rs(e)||kr(e)!=F)return!1;var t=qe(e);if(null===t)return!0;var n=Oe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Le.call(n)==Re}var ss=Et?Yt(Et):function(e){return rs(e)&&kr(e)==P};var us=At?Yt(At):function(e){return rs(e)&&ma(e)==B};function ls(e){return"string"==typeof e||!qo(e)&&rs(e)&&kr(e)==N}function cs(e){return"symbol"==typeof e||rs(e)&&kr(e)==I}var ps=wt?Yt(wt):function(e){return rs(e)&&ts(e.length)&&!!st[kr(e)]};var fs=Ki(Rr),ds=Ki((function(e,t){return e<=t}));function hs(e){if(!e)return[];if(Jo(e))return ls(e)?mn(e):Pi(e);if(Qe&&e[Qe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Qe]());var t=ma(e);return(t==k?ln:t==B?fn:Hs)(e)}function ms(e){return e?(e=gs(e))===h||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function ys(e){var t=ms(e),n=t%1;return t===t?n?t-n:t:0}function vs(e){return e?ur(ys(e),0,v):0}function gs(e){if("number"==typeof e)return e;if(cs(e))return y;if(ns(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ns(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Qt(e);var n=ge.test(e);return n||be.test(e)?pt(e.slice(2),n?2:8):ve.test(e)?y:+e}function Ds(e){return Bi(e,Ls(e))}function bs(e){return null==e?"":ci(e)}var xs=Ii((function(e,t){if(Aa(t)||Jo(t))Bi(t,Is(t),e);else for(var n in t)Oe.call(t,n)&&nr(e,n,t[n])})),Cs=Ii((function(e,t){Bi(t,Ls(t),e)})),Es=Ii((function(e,t,n,r){Bi(t,Ls(t),e,r)})),As=Ii((function(e,t,n,r){Bi(t,Is(t),e,r)})),ws=ra(sr);var ks=Qr((function(e,t){e=ke(e);var n=-1,r=t.length,i=r>2?t[2]:a;for(i&&ba(t[0],t[1],i)&&(r=1);++n1),t})),Bi(e,aa(e),n),r&&(n=lr(n,7,ta));for(var i=t.length;i--;)fi(n,t[i]);return n}));var js=ra((function(e,t){return null==e?{}:function(e,t){return qr(e,t,(function(t,n){return Ts(e,n)}))}(e,t)}));function Rs(e,t){if(null==e)return{};var n=Lt(aa(e),(function(e){return[e]}));return t=la(t),qr(e,n,(function(e,n){return t(e,n[0])}))}var Ws=Qi(Is),Vs=Qi(Ls);function Hs(e){return null==e?[]:Zt(e,Is(e))}var Us=Mi((function(e,t,n){return t=t.toLowerCase(),e+(n?zs(t):t)}));function zs(e){return Ys(bs(e).toLowerCase())}function Gs(e){return(e=bs(e))&&e.replace(Ce,an).replace(et,"")}var qs=Mi((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ks=Mi((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Js=_i("toLowerCase");var $s=Mi((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Xs=Mi((function(e,t,n){return e+(n?" ":"")+Ys(t)}));var Qs=Mi((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ys=_i("toUpperCase");function Zs(e,t,n){return e=bs(e),(t=n?a:t)===a?function(e){return it.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var eu=Qr((function(e,t){try{return kt(e,a,t)}catch(n){return Yo(n)?n:new i(n)}})),tu=ra((function(e,t){return Ft(t,(function(t){t=ja(t),or(e,t,Bo(e[t],e))})),e}));function nu(e){return function(){return e}}var ru=Wi(),iu=Wi(!0);function au(e){return e}function ou(e){return _r("function"==typeof e?e:lr(e,1))}var su=Qr((function(e,t){return function(n){return Br(n,e,t)}})),uu=Qr((function(e,t){return function(n){return Br(e,n,t)}}));function lu(e,t,n){var r=Is(t),i=Er(t,r);null!=n||ns(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Er(t,Is(t)));var a=!(ns(n)&&"chain"in n)||!!n.chain,o=Zo(e);return Ft(i,(function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__),i=n.__actions__=Pi(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Ot([this.value()],arguments))})})),e}function cu(){}var pu=zi(Lt),fu=zi(Pt),du=zi(jt);function hu(e){return xa(e)?qt(ja(e)):function(e){return function(t){return Ar(t,e)}}(e)}var mu=qi(),yu=qi(!0);function vu(){return[]}function gu(){return!1}var Du=Ui((function(e,t){return e+t}),0),bu=$i("ceil"),xu=Ui((function(e,t){return e/t}),1),Cu=$i("floor");var Eu=Ui((function(e,t){return e*t}),1),Au=$i("round"),wu=Ui((function(e,t){return e-t}),0);return Vn.after=function(e,t){if("function"!=typeof t)throw new Te(o);return e=ys(e),function(){if(--e<1)return t.apply(this,arguments)}},Vn.ary=To,Vn.assign=xs,Vn.assignIn=Cs,Vn.assignInWith=Es,Vn.assignWith=As,Vn.at=ws,Vn.before=Po,Vn.bind=Bo,Vn.bindAll=tu,Vn.bindKey=No,Vn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return qo(e)?e:[e]},Vn.chain=ho,Vn.chunk=function(e,t,r){t=(r?ba(e,t,r):t===a)?1:Dn(ys(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,s=0,u=n(dt(i/t));oi?0:i+n),(r=r===a||r>i?i:ys(r))<0&&(r+=i),r=n>r?0:vs(r);n>>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!ss(t))&&!(t=ci(t))&&un(e)?Ci(mn(e),0,n):e.split(t,n):[]},Vn.spread=function(e,t){if("function"!=typeof e)throw new Te(o);return t=null==t?0:Dn(ys(t),0),Qr((function(n){var r=n[t],i=Ci(n,0,t);return r&&Ot(i,r),kt(e,this,i)}))},Vn.tail=function(e){var t=null==e?0:e.length;return t?ii(e,1,t):[]},Vn.take=function(e,t,n){return e&&e.length?ii(e,0,(t=n||t===a?1:ys(t))<0?0:t):[]},Vn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ii(e,(t=r-(t=n||t===a?1:ys(t)))<0?0:t,r):[]},Vn.takeRightWhile=function(e,t){return e&&e.length?hi(e,la(t,3),!1,!0):[]},Vn.takeWhile=function(e,t){return e&&e.length?hi(e,la(t,3)):[]},Vn.tap=function(e,t){return t(e),e},Vn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Te(o);return ns(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Io(e,t,{leading:r,maxWait:t,trailing:i})},Vn.thru=mo,Vn.toArray=hs,Vn.toPairs=Ws,Vn.toPairsIn=Vs,Vn.toPath=function(e){return qo(e)?Lt(e,ja):cs(e)?[e]:Pi(Ma(bs(e)))},Vn.toPlainObject=Ds,Vn.transform=function(e,t,n){var r=qo(e),i=r||Xo(e)||ps(e);if(t=la(t,4),null==n){var a=e&&e.constructor;n=i?r?new a:[]:ns(e)&&Zo(a)?Hn(qe(e)):{}}return(i?Ft:xr)(e,(function(e,r,i){return t(n,e,r,i)})),n},Vn.unary=function(e){return To(e,1)},Vn.union=no,Vn.unionBy=ro,Vn.unionWith=io,Vn.uniq=function(e){return e&&e.length?pi(e):[]},Vn.uniqBy=function(e,t){return e&&e.length?pi(e,la(t,2)):[]},Vn.uniqWith=function(e,t){return t="function"==typeof t?t:a,e&&e.length?pi(e,a,t):[]},Vn.unset=function(e,t){return null==e||fi(e,t)},Vn.unzip=ao,Vn.unzipWith=oo,Vn.update=function(e,t,n){return null==e?e:di(e,t,Di(n))},Vn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:a,null==e?e:di(e,t,Di(n),r)},Vn.values=Hs,Vn.valuesIn=function(e){return null==e?[]:Zt(e,Ls(e))},Vn.without=so,Vn.words=Zs,Vn.wrap=function(e,t){return Ro(Di(t),e)},Vn.xor=uo,Vn.xorBy=lo,Vn.xorWith=co,Vn.zip=po,Vn.zipObject=function(e,t){return vi(e||[],t||[],nr)},Vn.zipObjectDeep=function(e,t){return vi(e||[],t||[],ei)},Vn.zipWith=fo,Vn.entries=Ws,Vn.entriesIn=Vs,Vn.extend=Cs,Vn.extendWith=Es,lu(Vn,Vn),Vn.add=Du,Vn.attempt=eu,Vn.camelCase=Us,Vn.capitalize=zs,Vn.ceil=bu,Vn.clamp=function(e,t,n){return n===a&&(n=t,t=a),n!==a&&(n=(n=gs(n))===n?n:0),t!==a&&(t=(t=gs(t))===t?t:0),ur(gs(e),t,n)},Vn.clone=function(e){return lr(e,4)},Vn.cloneDeep=function(e){return lr(e,5)},Vn.cloneDeepWith=function(e,t){return lr(e,5,t="function"==typeof t?t:a)},Vn.cloneWith=function(e,t){return lr(e,4,t="function"==typeof t?t:a)},Vn.conformsTo=function(e,t){return null==t||cr(e,t,Is(t))},Vn.deburr=Gs,Vn.defaultTo=function(e,t){return null==e||e!==e?t:e},Vn.divide=xu,Vn.endsWith=function(e,t,n){e=bs(e),t=ci(t);var r=e.length,i=n=n===a?r:ur(ys(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Vn.eq=Ho,Vn.escape=function(e){return(e=bs(e))&&Y.test(e)?e.replace(X,on):e},Vn.escapeRegExp=function(e){return(e=bs(e))&&oe.test(e)?e.replace(ae,"\\$&"):e},Vn.every=function(e,t,n){var r=qo(e)?Pt:mr;return n&&ba(e,t,n)&&(t=a),r(e,la(t,3))},Vn.find=go,Vn.findIndex=za,Vn.findKey=function(e,t){return Wt(e,la(t,3),xr)},Vn.findLast=Do,Vn.findLastIndex=Ga,Vn.findLastKey=function(e,t){return Wt(e,la(t,3),Cr)},Vn.floor=Cu,Vn.forEach=bo,Vn.forEachRight=xo,Vn.forIn=function(e,t){return null==e?e:Dr(e,la(t,3),Ls)},Vn.forInRight=function(e,t){return null==e?e:br(e,la(t,3),Ls)},Vn.forOwn=function(e,t){return e&&xr(e,la(t,3))},Vn.forOwnRight=function(e,t){return e&&Cr(e,la(t,3))},Vn.get=Fs,Vn.gt=Uo,Vn.gte=zo,Vn.has=function(e,t){return null!=e&&ya(e,t,Fr)},Vn.hasIn=Ts,Vn.head=Ka,Vn.identity=au,Vn.includes=function(e,t,n,r){e=Jo(e)?e:Hs(e),n=n&&!r?ys(n):0;var i=e.length;return n<0&&(n=Dn(i+n,0)),ls(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Ht(e,t,n)>-1},Vn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ys(n);return i<0&&(i=Dn(r+i,0)),Ht(e,t,i)},Vn.inRange=function(e,t,n){return t=ms(t),n===a?(n=t,t=0):n=ms(n),function(e,t,n){return e>=bn(t,n)&&e=-9007199254740991&&e<=m},Vn.isSet=us,Vn.isString=ls,Vn.isSymbol=cs,Vn.isTypedArray=ps,Vn.isUndefined=function(e){return e===a},Vn.isWeakMap=function(e){return rs(e)&&ma(e)==L},Vn.isWeakSet=function(e){return rs(e)&&"[object WeakSet]"==kr(e)},Vn.join=function(e,t){return null==e?"":Rt.call(e,t)},Vn.kebabCase=qs,Vn.last=Qa,Vn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==a&&(i=(i=ys(n))<0?Dn(r+i,0):bn(i,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Vt(e,zt,i,!0)},Vn.lowerCase=Ks,Vn.lowerFirst=Js,Vn.lt=fs,Vn.lte=ds,Vn.max=function(e){return e&&e.length?yr(e,au,Sr):a},Vn.maxBy=function(e,t){return e&&e.length?yr(e,la(t,2),Sr):a},Vn.mean=function(e){return Gt(e,au)},Vn.meanBy=function(e,t){return Gt(e,la(t,2))},Vn.min=function(e){return e&&e.length?yr(e,au,Rr):a},Vn.minBy=function(e,t){return e&&e.length?yr(e,la(t,2),Rr):a},Vn.stubArray=vu,Vn.stubFalse=gu,Vn.stubObject=function(){return{}},Vn.stubString=function(){return""},Vn.stubTrue=function(){return!0},Vn.multiply=Eu,Vn.nth=function(e,t){return e&&e.length?zr(e,ys(t)):a},Vn.noConflict=function(){return ht._===this&&(ht._=We),this},Vn.noop=cu,Vn.now=Fo,Vn.pad=function(e,t,n){e=bs(e);var r=(t=ys(t))?hn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Gi(mt(i),n)+e+Gi(dt(i),n)},Vn.padEnd=function(e,t,n){e=bs(e);var r=(t=ys(t))?hn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=En();return bn(e+i*(t-e+ct("1e-"+((i+"").length-1))),t)}return $r(e,t)},Vn.reduce=function(e,t,n){var r=qo(e)?_t:Jt,i=arguments.length<3;return r(e,la(t,4),n,i,dr)},Vn.reduceRight=function(e,t,n){var r=qo(e)?Mt:Jt,i=arguments.length<3;return r(e,la(t,4),n,i,hr)},Vn.repeat=function(e,t,n){return t=(n?ba(e,t,n):t===a)?1:ys(t),Xr(bs(e),t)},Vn.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Vn.result=function(e,t,n){var r=-1,i=(t=bi(t,e)).length;for(i||(i=1,e=a);++rm)return[];var n=v,r=bn(e,v);t=la(t),e-=v;for(var i=Xt(r,t);++n=o)return e;var u=n-hn(r);if(u<1)return r;var l=s?Ci(s,0,u).join(""):e.slice(0,u);if(i===a)return l+r;if(s&&(u+=l.length-u),ss(i)){if(e.slice(u).search(i)){var c,p=l;for(i.global||(i=Se(i.source,bs(ye.exec(i))+"g")),i.lastIndex=0;c=i.exec(p);)var f=c.index;l=l.slice(0,f===a?u:f)}}else if(e.indexOf(ci(i),u)!=u){var d=l.lastIndexOf(i);d>-1&&(l=l.slice(0,d))}return l+r},Vn.unescape=function(e){return(e=bs(e))&&Q.test(e)?e.replace($,vn):e},Vn.uniqueId=function(e){var t=++_e;return bs(e)+t},Vn.upperCase=Qs,Vn.upperFirst=Ys,Vn.each=bo,Vn.eachRight=xo,Vn.first=Ka,lu(Vn,function(){var e={};return xr(Vn,(function(t,n){Oe.call(Vn.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Vn.VERSION="4.17.21",Ft(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Vn[e].placeholder=Vn})),Ft(["drop","take"],(function(e,t){Gn.prototype[e]=function(n){n=n===a?1:Dn(ys(n),0);var r=this.__filtered__&&!t?new Gn(this):this.clone();return r.__filtered__?r.__takeCount__=bn(n,r.__takeCount__):r.__views__.push({size:bn(n,v),type:e+(r.__dir__<0?"Right":"")}),r},Gn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Ft(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Gn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:la(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Ft(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Gn.prototype[e]=function(){return this[n](1).value()[0]}})),Ft(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Gn.prototype[e]=function(){return this.__filtered__?new Gn(this):this[n](1)}})),Gn.prototype.compact=function(){return this.filter(au)},Gn.prototype.find=function(e){return this.filter(e).head()},Gn.prototype.findLast=function(e){return this.reverse().find(e)},Gn.prototype.invokeMap=Qr((function(e,t){return"function"==typeof e?new Gn(this):this.map((function(n){return Br(n,e,t)}))})),Gn.prototype.reject=function(e){return this.filter(Mo(la(e)))},Gn.prototype.slice=function(e,t){e=ys(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Gn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==a&&(n=(t=ys(t))<0?n.dropRight(-t):n.take(t-e)),n)},Gn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Gn.prototype.toArray=function(){return this.take(v)},xr(Gn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Vn[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&(Vn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,u=t instanceof Gn,l=s[0],c=u||qo(t),p=function(e){var t=i.apply(Vn,Ot([e],s));return r&&f?t[0]:t};c&&n&&"function"==typeof l&&1!=l.length&&(u=c=!1);var f=this.__chain__,d=!!this.__actions__.length,h=o&&!f,m=u&&!d;if(!o&&c){t=m?t:new Gn(this);var y=e.apply(t,s);return y.__actions__.push({func:mo,args:[p],thisArg:a}),new zn(y,f)}return h&&m?e.apply(this,s):(y=this.thru(p),h?r?y.value()[0]:y.value():y)})})),Ft(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Vn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(qo(i)?i:[],e)}return this[n]((function(n){return t.apply(qo(n)?n:[],e)}))}})),xr(Gn.prototype,(function(e,t){var n=Vn[t];if(n){var r=n.name+"";Oe.call(Nn,r)||(Nn[r]=[]),Nn[r].push({name:t,func:n})}})),Nn[Vi(a,2).name]=[{name:"wrapper",func:a}],Gn.prototype.clone=function(){var e=new Gn(this.__wrapped__);return e.__actions__=Pi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Pi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Pi(this.__views__),e},Gn.prototype.reverse=function(){if(this.__filtered__){var e=new Gn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Gn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=qo(e),r=t<0,i=n?e.length:0,a=function(e,t,n){var r=-1,i=n.length;for(;++r=this.__values__.length;return{done:e,value:e?a:this.__values__[this.__index__++]}},Vn.prototype.plant=function(e){for(var t,n=this;n instanceof Un;){var r=Wa(n);r.__index__=0,r.__values__=a,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Vn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Gn){var t=e;return this.__actions__.length&&(t=new Gn(this)),(t=t.reverse()).__actions__.push({func:mo,args:[to],thisArg:a}),new zn(t,this.__chain__)}return this.thru(to)},Vn.prototype.toJSON=Vn.prototype.valueOf=Vn.prototype.value=function(){return mi(this.__wrapped__,this.__actions__)},Vn.prototype.first=Vn.prototype.head,Qe&&(Vn.prototype[Qe]=function(){return this}),Vn}();ht._=gn,(i=function(){return gn}.call(t,n,t,r))===a||(r.exports=i)}).call(this)}).call(this,n(12),n(67)(e))},function(e,t,n){var r=n(107);function i(){return"undefined"!==typeof Reflect&&Reflect.get?(e.exports=i=Reflect.get.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=i=function(e,t,n){var i=r(e,t);if(i){var a=Object.getOwnPropertyDescriptor(i,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},e.exports.__esModule=!0,e.exports.default=e.exports),i.apply(this,arguments)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(9).default,i=n(10).default,a=n(28).default,o=n(8).default,s=n(11).default,u=n(20).default,l=n(18).default;e.exports=function(e,t){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var c=n(e),p=n(t),f=[{key:"title",getter:function(e){return e.getTitle()}},{key:"html",getter:function(e){return e.getHtmlContainer()}},{key:"confirmButtonText",getter:function(e){return e.getConfirmButton()}},{key:"denyButtonText",getter:function(e){return e.getDenyButton()}},{key:"cancelButtonText",getter:function(e){return e.getCancelButton()}},{key:"footer",getter:function(e){return e.getFooter()}},{key:"closeButtonHtml",getter:function(e){return e.getCloseButton()}},{key:"iconHtml",getter:function(e){return e.getIcon().querySelector(".swal2-icon-content")}},{key:"loaderHtml",getter:function(e){return e.getLoader()}}],d=function(){};function h(e){function t(e){var t={},n={},r=f.map((function(e){return e.key}));return Object.entries(e).forEach((function(e){var i=l(e,2),a=i[0],o=i[1];r.includes(a)&&c.default.isValidElement(o)?(t[a]=o,n[a]=" "):n[a]=o})),[t,n]}function n(t,n){Object.entries(n).forEach((function(n){var r=l(n,2),i=r[0],a=r[1],o=f.find((function(e){return e.key===i})).getter(e);p.default.render(a,o),t.__mountedDomElements.push(o)}))}function h(e){e.__mountedDomElements.forEach((function(e){p.default.unmountComponentAtNode(e)})),e.__mountedDomElements=[]}return function(p){s(m,p);var f=u(m);function m(){return r(this,m),f.apply(this,arguments)}return i(m,[{key:"_main",value:function(e,r){var i=this;this.__mountedDomElements=[],this.__params=Object.assign({},r,e);var s=t(this.__params),u=l(s,2),c=u[0],p=u[1],f=p.didOpen||d,y=p.didDestroy||d;return a(o(m.prototype),"_main",this).call(this,Object.assign({},p,{didOpen:function(e){n(i,c),f(e)},didDestroy:function(e){y(e),h(i)}}))}},{key:"update",value:function(e){Object.assign(this.__params,e),h(this);var r=t(this.__params),i=l(r,2),s=i[0],u=i[1];a(o(m.prototype),"update",this).call(this,u),n(this,s)}}],[{key:"argsToParams",value:function(t){if(c.default.isValidElement(t[0])||c.default.isValidElement(t[1])){var n={};return["title","html","icon"].forEach((function(e,r){void 0!==t[r]&&(n[e]=t[r])})),n}return e.argsToParams(t)}}]),m}(e)}return h}(n(2),n(21))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(13);function i(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Object(r.a)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw o}}}}},function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r,i="object"===typeof Reflect?Reflect:null,a=i&&"function"===typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!==e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,a),r(n)}function a(){"function"===typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}v(e,t,a,{once:!0}),"error"!==t&&function(e,t,n){"function"===typeof e.on&&v(e,"error",t,n)}(e,i,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function l(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function p(e,t,n,r){var i,a,o,s;if(l(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),o=a[t]),void 0===o)o=a[t]=n,++e._eventsCount;else if("function"===typeof o?o=a[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),(i=c(e))>0&&o.length>i&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=o.length,s=u,console&&console.warn&&console.warn(s)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=f.bind(r);return i.listener=n,r.wrapFn=i,i}function h(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var u=i[e];if(void 0===u)return!1;if("function"===typeof u)a(u,this,t);else{var l=u.length,c=y(u,l);for(n=0;n=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,i=a;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(22);var i=n(13);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Object(i.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(37),i=n(38),a=n(24),o=n(40);e.exports=function(e){return r(e)||i(e)||a(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=11},inES10:function(){return this.esVersion>=10},inES9:function(){return this.esVersion>=9},inES8:function(){return this.esVersion>=8},inES7:function(){return this.esVersion>=7},inES6:function(e){return!(e||!this.option.moz)||this.esVersion>=6},inES5:function(){return!this.esVersion||this.esVersion>=5||this.option.moz},inferEsVersion:function(){var e=null;if(this.option.esversion){if(this.option.es3?e="es3":this.option.es5?e="es5":this.option.esnext&&(e="esnext"),e)return e;2015===this.option.esversion?this.esVersion=6:this.esVersion=this.option.esversion}else this.option.es3?this.esVersion=3:this.option.esnext&&(this.esVersion=6);return null},reset:function(){this.tokens={prev:null,next:null,curr:null},this.option={unstable:{}},this.esVersion=5,this.funct=null,this.ignored={},this.directive=Object.create(null),this.jsonMode=!1,this.lines=[],this.tab="",this.cache={},this.ignoredLines={},this.forinifcheckneeded=!1,this.nameStack=new r,this.inClassBody=!1}};t.state=i},function(e,t,n){(function(e){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r=a)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}})),u=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),h(n)?r.showHidden=n:n&&t._extend(r,n),g(r.showHidden)&&(r.showHidden=!1),g(r.depth)&&(r.depth=2),g(r.colors)&&(r.colors=!1),g(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),c(r,e,r.depth)}function u(e,t){var n=s.styles[t];return n?"["+s.colors[n][0]+"m"+e+"["+s.colors[n][1]+"m":e}function l(e,t){return e}function c(e,n,r){if(e.customInspect&&n&&E(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return v(i)||(i=c(e,i,r)),i}var a=function(e,t){if(g(t))return e.stylize("undefined","undefined");if(v(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(y(t))return e.stylize(""+t,"number");if(h(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,n);if(a)return a;var o=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(n)),C(n)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return p(n);if(0===o.length){if(E(n)){var u=n.name?": "+n.name:"";return e.stylize("[Function"+u+"]","special")}if(D(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(x(n))return e.stylize(Date.prototype.toString.call(n),"date");if(C(n))return p(n)}var l,b="",A=!1,w=["{","}"];(d(n)&&(A=!0,w=["[","]"]),E(n))&&(b=" [Function"+(n.name?": "+n.name:"")+"]");return D(n)&&(b=" "+RegExp.prototype.toString.call(n)),x(n)&&(b=" "+Date.prototype.toUTCString.call(n)),C(n)&&(b=" "+p(n)),0!==o.length||A&&0!=n.length?r<0?D(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=A?function(e,t,n,r,i){for(var a=[],o=0,s=t.length;o=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,b,w)):w[0]+b+w[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,r,i,a){var o,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),F(r,i)||(o="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=m(n)?c(e,u.value,null):c(e,u.value,n-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),g(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function d(e){return Array.isArray(e)}function h(e){return"boolean"===typeof e}function m(e){return null===e}function y(e){return"number"===typeof e}function v(e){return"string"===typeof e}function g(e){return void 0===e}function D(e){return b(e)&&"[object RegExp]"===A(e)}function b(e){return"object"===typeof e&&null!==e}function x(e){return b(e)&&"[object Date]"===A(e)}function C(e){return b(e)&&("[object Error]"===A(e)||e instanceof Error)}function E(e){return"function"===typeof e}function A(e){return Object.prototype.toString.call(e)}function w(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(g(a)&&(a=Object({NODE_ENV:"production",PUBLIC_URL:"/qieyun-autoderiver",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).NODE_DEBUG||""),n=n.toUpperCase(),!o[n])if(new RegExp("\\b"+n+"\\b","i").test(a)){var r=e.pid;o[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,r,e)}}else o[n]=function(){};return o[n]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=h,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=v,t.isSymbol=function(e){return"symbol"===typeof e},t.isUndefined=g,t.isRegExp=D,t.isObject=b,t.isDate=x,t.isError=C,t.isFunction=E,t.isPrimitive=function(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e},t.isBuffer=n(83);var k=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function S(){var e=new Date,t=[w(e.getHours()),w(e.getMinutes()),w(e.getSeconds())].join(":");return[e.getDate(),k[e.getMonth()],t].join(" ")}function F(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",S(),t.format.apply(t,arguments))},t.inherits=n(84),t._extend=function(e,t){if(!t||!b(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var T="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function P(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(T&&e[T]){var t;if("function"!==typeof(t=e[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],a=0;a":!0,">=":!0,"+":!0,"-":!0,"*":!0,"/":!0,"%":!0},E=[],A=new i.EventEmitter;function w(e,t,n){var i,a;return t?(i="",a=p.validNames):(i="unstable ",a=p.unstableNames),e=e.trim(),!!/^[+-]W\d{3}$/g.test(e)||(!(-1===a.indexOf(e)&&"jslint"!==n.type&&!r.has(p.removed,e))||(O("E001",n,i,e),!1))}function k(e,t){return!!e&&!(!e.identifier||e.value!==t)}function S(e,t){if(!t.reserved)return!1;var n=t.meta;if(n&&n.isFutureReservedWord){if(l.inES5()){if(!n.es5)return!1;if(t.isProperty)return!1}}else if(n&&n.es5&&!l.inES5())return!1;return!(n&&n.strictOnly&&l.inES5()&&!l.option.strict&&!l.isStrict())&&(!!("await"!==t.id||e&d.async||l.option.module)&&(!!("yield"!==t.id||e&d.yield)||l.isStrict()))}function F(e,t){return e.replace(/\{([^{}]*)\}/g,(function(e,n){var r=t[n];return"string"===typeof r||"number"===typeof r?r:e}))}function T(e,t){Object.keys(t).forEach((function(n){r.has(h.blacklist,n)||(e[n]=t[n])}))}function P(){var e;!function(){if(l.option.enforceall){for(var e in p.bool.enforcing)void 0!==l.option[e]||p.noenforceall[e]||(l.option[e]=!0);for(var t in p.bool.relaxing)void 0===l.option[t]&&(l.option[t]=!1)}}(),(e=l.inferEsVersion())&&B("E059",l.tokens.next,"esversion",e),l.inES5()&&T(x,a.ecmaIdentifiers[5]),l.inES6()&&T(x,a.ecmaIdentifiers[6]),l.inES8()&&T(x,a.ecmaIdentifiers[8]),l.inES11()&&T(x,a.ecmaIdentifiers[11]),"global"===l.option.strict&&"globalstrict"in l.option&&B("E059",l.tokens.next,"strict","globalstrict"),l.option.module&&(l.inES6()||I("W134",l.tokens.next,"module",6)),l.option.regexpu&&(l.inES6()||I("W134",l.tokens.next,"regexpu",6)),l.option.couch&&T(x,a.couch),l.option.qunit&&T(x,a.qunit),l.option.rhino&&T(x,a.rhino),l.option.shelljs&&(T(x,a.shelljs),T(x,a.node)),l.option.typed&&T(x,a.typed),l.option.phantom&&T(x,a.phantom),l.option.prototypejs&&T(x,a.prototypejs),l.option.node&&(T(x,a.node),T(x,a.typed)),l.option.devel&&T(x,a.devel),l.option.dojo&&T(x,a.dojo),l.option.browser&&(T(x,a.browser),T(x,a.typed)),l.option.browserify&&(T(x,a.browser),T(x,a.typed),T(x,a.browserify)),l.option.nonstandard&&T(x,a.nonstandard),l.option.jasmine&&T(x,a.jasmine),l.option.jquery&&T(x,a.jquery),l.option.mootools&&T(x,a.mootools),l.option.worker&&T(x,a.worker),l.option.wsh&&T(x,a.wsh),l.option.yui&&T(x,a.yui),l.option.mocha&&T(x,a.mocha)}function B(e,t,n,r){var i=Math.floor(t.line/l.lines.length*100),a=o.errors[e].desc,s={name:"JSHintError",line:t.line,character:t.from,message:a+" ("+i+"% scanned).",raw:a,code:e,a:n,b:r};throw s.reason=F(a,s)+" ("+i+"% scanned).",s}function N(){var e=l.ignoredLines;r.isEmpty(e)||(h.errors=r.reject(h.errors,(function(t){return e[t.line]})))}function I(e,t,n,r,i,a){var s,u,c,p;if(/^W\d{3}$/.test(e)){if(l.ignored[e])return;p=o.warnings[e]}else/E\d{3}/.test(e)?p=o.errors[e]:/I\d{3}/.test(e)&&(p=o.info[e]);return"(end)"===(t=t||l.tokens.next||{}).id&&(t=l.tokens.curr),u=t.line,s=t.from,(c={id:"(error)",raw:p.desc,code:p.code,evidence:l.lines[u-1]||"",line:u,character:s,scope:h.scope,a:n,b:r,c:i,d:a}).reason=F(p.desc,c),h.errors.push(c),N(),h.errors.filter((function(e){return/E\d{3}/.test(e.code)})).length>=l.option.maxerr&&B("E043",t),c}function L(e,t,n,r,i,a,o){return I(e,{line:t,from:n},r,i,a,o)}function O(e,t,n,r,i,a){I(e,t,n,r,i,a)}function _(e,t,n,r,i,a,o){return O(e,{line:t,from:n},r,i,a,o)}function M(e,t){h.internals.push({id:"(internal)",elem:e,token:t,code:t.value.replace(/([^\\])(\\*)\2\\n/g,"$1\n")})}function j(e,n){var i=e.body.split(",").map((function(e){return e.trim()})),a={};if("falls through"!==e.type){if("globals"===e.type)for(var o in i.forEach((function(t,n){var r=t.split(":"),o=r[0].trim();if("-"!==o&&o.length)"-"===o.charAt(0)?(o=o.slice(1),h.blacklist[o]=o,delete x[o]):a[o]=r.length>1&&"true"===r[1].trim();else{if(n>0&&n===i.length-1)return;O("E002",e)}})),T(x,a),a)r.has(a,o)&&(t[o]=e);"exported"===e.type&&i.forEach((function(t,n){if(t.length)l.funct["(scope)"].addExported(t);else{if(n>0&&n===i.length-1)return;O("E002",e)}})),"members"===e.type&&(b=b||{},i.forEach((function(e){var t=e.charAt(0);t!==e.charAt(e.length-1)||'"'!==t&&"'"!==t||(e=e.substr(1,e.length-2).replace('\\"','"')),b[e]=!1})));var s=["maxstatements","maxparams","maxdepth","maxcomplexity","maxerr","maxlen","indent"];"jshint"!==e.type&&"jslint"!==e.type&&"jshint.unstable"!==e.type||(i.forEach((function(t){var n,r=t.split(":"),i=r[0].trim(),a=r.length>1?r[1].trim():"";if(w(i,"jshint.unstable"!==e.type,e))if(s.indexOf(i)>=0)if("false"!==a){if("number"!==typeof(n=+a)||!isFinite(n)||n<=0||Math.floor(n)!==n)return void O("E032",e,a);l.option[i]=n}else l.option[i]="indent"===i&&4;else{if("validthis"===i)return l.funct["(global)"]?void O("E009"):"true"!==a&&"false"!==a?void O("E002",e):void(l.option.validthis="true"===a);if("quotmark"!==i)if("shadow"!==i)if("unused"!==i)if("latedef"!==i)if("ignore"!==i)if("strict"!==i)if("module"===i&&(Ne(l.funct)||O("E055",e,"module")),"esversion"!==i){var o,u=/^([+-])(W\d{3})$/g.exec(i);if(u)l.ignored[u[2]]="-"===u[1];else"true"!==a&&"false"!==a?O("E002",e):"jslint"===e.type?(o=p.renamed[i]||i,l.option[o]="true"===a,void 0!==p.inverted[o]&&(l.option[o]=!l.option[o])):"jshint.unstable"===e.type?l.option.unstable[i]="true"===a:l.option[i]="true"===a}else{switch(a){case"3":case"5":case"6":case"7":case"8":case"9":case"10":case"11":l.option.moz=!1,l.option.esversion=+a;break;case"2015":case"2016":case"2017":case"2018":case"2019":case"2020":l.option.moz=!1,l.option.esversion=+a-2009;break;default:O("E002",e)}Ne(l.funct)||O("E055",e,"esversion")}else switch(a){case"true":l.option.strict=!0;break;case"false":l.option.strict=!1;break;case"global":case"implied":l.option.strict=a;break;default:O("E002",e)}else if("line"===a)l.ignoredLines[e.line]=!0,N();else O("E002",e);else switch(a){case"true":l.option.latedef=!0;break;case"false":l.option.latedef=!1;break;case"nofunc":l.option.latedef="nofunc";break;default:O("E002",e)}else switch(a){case"true":l.option.unused=!0;break;case"false":l.option.unused=!1;break;case"vars":case"strict":l.option.unused=a;break;default:O("E002",e)}else switch(a){case"true":l.option.shadow=!0;break;case"outer":l.option.shadow="outer";break;case"false":case"inner":l.option.shadow="inner";break;default:O("E002",e)}else switch(a){case"true":case"false":l.option.quotmark="true"===a;break;case"double":case"single":l.option.quotmark=a;break;default:O("E002",e)}}})),P())}else n.caseFallsThrough=!0}function R(e){var t,n=e||0,r=v.length;if(n="a"&&t<="z"||t>="A"&&t<="Z")&&(e.identifier=e.reserved=!0),e}function Z(e,t){var n=J(e,150);return Y(n),n.nud="function"===typeof t?t:function(e){return this.arity="unary",this.right=U(e,150),"++"!==this.id&&"--"!==this.id||(l.option.plusplus&&I("W016",this,this.id),this.right&&le(e,this.right,this)),this},n}function ee(e,t){var n=J(e,0);return n.type=e,n.nud=t,n}function te(e,t){var n=ee(e,t);return n.identifier=!0,n.reserved=!0,n}function ne(e,t){var n=ee(e,l.syntax["(identifier)"].nud);return(t=t||{}).isFutureReservedWord=!0,n.value=e,n.identifier=!0,n.reserved=!0,n.meta=t,n}function re(e,t,n,r){var i=J(e,n);return Y(i),i.infix=!0,i.led=function(i,a){return r||G(l.tokens.prev,l.tokens.curr),"in"!==e&&"instanceof"!==e||"!"!==a.id||I("W018",a,"!"),"function"===typeof t?t(i,a,this):(this.left=a,this.right=U(i,n),this)},i}function ie(e,t){var n=J(e,100);return n.infix=!0,n.led=function(e,n){G(l.tokens.prev,l.tokens.curr),this.left=n;var r=this.right=U(e,100);return k(n,"NaN")||k(r,"NaN")?I("W019",this):t&&t.apply(this,[e,n,r]),n&&r||B("E041",l.tokens.curr),"!"===n.id&&I("W018",n,"!"),"!"===r.id&&I("W018",r,"!"),this},n}function ae(e){return"unary"===e.arity&&"++"!==e.id&&"--"!==e.id}var oe={};function se(e,t,n){var i;return!n.option.notypeof&&(!(!e||!t)&&(i=n.inES6()?oe.es6:oe.es3,"(identifier)"===t.type&&"typeof"===t.value&&"(string)"===e.type&&("bigint"===e.value?(n.inES11()||I("W119",e,"BigInt","11"),!1):!r.includes(i,e.value))))}function ue(e,t){var n=!1;return"this"===e.type&&null===t.funct["(context)"]?n=!0:"(identifier)"===e.type&&(t.option.node&&"global"===e.value?n=!0:!t.option.browser||"window"!==e.value&&"document"!==e.value||(n=!0)),n}function le(e,t,n,r){var i=r&&r.allowDestructuring;if(n=n||t,l.option.freeze){var a=function(e){var t=["Array","ArrayBuffer","Boolean","Collator","DataView","Date","DateTimeFormat","Error","EvalError","Float32Array","Float64Array","Function","Infinity","Intl","Int16Array","Int32Array","Int8Array","Iterator","Number","NumberFormat","Object","RangeError","ReferenceError","RegExp","StopIteration","String","SyntaxError","TypeError","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","URIError"],n=function e(t){if("object"===typeof t)return"prototype"===t.right?t:e(t.left)}(e);if(n)return function(e){for(;!e.identifier&&"object"===typeof e.left;)e=e.left;if(e.identifier&&t.indexOf(e.value)>=0&&l.funct["(scope)"].isPredefined(e.value))return e.value}(n)}(t);a&&I("W121",t,a)}if(t.identifier&&!t.isMetaProperty&&l.funct["(scope)"].block.reassign(t.value,t),"."===t.id)return t.left&&("arguments"!==t.left.value||l.isStrict())||I("W143",n),l.nameStack.set(l.tokens.prev),!0;if("{"===t.id||"["===t.id)return i&&t.destructAssign||("{"!==t.id&&t.left?"arguments"!==t.left.value||l.isStrict()||I("W143",n):I("E031",n)),"["===t.id&&l.nameStack.set(t.right),!0;if(t.identifier&&!S(e,t)&&!t.isMetaProperty){if("exception"===l.funct["(scope)"].bindingtype(t.value)&&I("W022",t),"eval"===t.value&&l.isStrict())return O("E031",n),!1;if("arguments"===t.value){if(l.isStrict())return O("E031",n),!1;I("W143",n)}return l.nameStack.set(t),!0}return O("E031",n),!1}function ce(e,t){var n=re(e,"function"===typeof t?t:function(e,t,n){return n.left=t,le(e,t,n,{allowDestructuring:!0}),n.right=U(e,10),n},20);return n.exps=!0,n.assign=!0,n}function pe(e,t,n){var r=J(e,n);return Y(r),r.infix=!0,r.led="function"===typeof t?t:function(e,t){return l.option.bitwise&&I("W016",this,this.id),this.left=t,this.right=U(e,n),this},r}function fe(e){return J(e,20).exps=!0,re(e,(function(e,t,n){return l.option.bitwise&&I("W016",n,n.id),le(e,t,n),n.right=U(e,10),n}),20)}function de(e){var t=J(e,150);return t.led=function(e,t){return l.option.plusplus&&I("W016",this,this.id),le(e,t,this),this.left=t,this},t}function he(e,t,n){if(l.tokens.next.identifier){n||V();var r=l.tokens.curr;return!S(e,r)||t&&l.inES5()||I("W024",l.tokens.curr,l.tokens.curr.id),r.value}}function me(e){if(!it(l.tokens.next,"..."))return!1;if(l.inES6(!0)||I("W119",l.tokens.next,e+" operator","6"),V(),it(l.tokens.next,"..."))for(I("E024",l.tokens.next,"...");it(l.tokens.next,"...");)V();return!0}function ye(e,t){var n=he(e,t,!1);if(n)return n;O("E030",l.tokens.next,l.tokens.next.value),";"!==l.tokens.next.id&&V()}function ve(e){var t,n=0;if(";"===l.tokens.next.id&&!e.inBracelessBlock)for(;;){do{t=R(n),n+=1}while("(end)"!==t.id&&"(comment)"===t.id);if(t.reach)return;if("(endline)"!==t.id){if(r(t,n)){!0===l.option.latedef&&I("W026",t);break}I("W027",t,t.value,e.value);break}}function r(e,t){return"function"===e.id||("async"===e.id?"function"===(e=R(t)).id:void 0)}}function ge(e){if(";"!==l.tokens.next.id){if(l.tokens.next.isUnclosed)return V();var t=z(l.tokens.curr,l.tokens.next)&&"(end)"!==l.tokens.next.id,n=it(l.tokens.next,"}");!t||n||"do"===e.id&&l.inES6(!0)?l.option.asi||n&&t&&l.option.lastsemic||L("W033",l.tokens.curr.line,l.tokens.curr.character):_("E058",l.tokens.curr.line,l.tokens.curr.character)}else V(";")}function De(e){var t,n=y,r=l.tokens.next,i=!1;if(e|=d.initial,";"!==r.id){var a=S(e,r);return a&&r.meta&&r.meta.isFutureReservedWord&&!r.fud&&(I("W024",r,r.id),a=!1),r.identifier&&!a&&":"===R().id&&(V(),V(":"),i=!0,l.funct["(scope)"].stack(),l.funct["(scope)"].block.addLabel(r.value,{token:l.tokens.curr}),l.tokens.next.labelled||"{"===l.tokens.next.value||I("W028",l.tokens.next,r.value,l.tokens.next.value),r=l.tokens.next),"{"===r.id?(Ce(e,!0,!0,!1,!1,"case"===l.funct["(verb)"]&&":"===l.tokens.curr.value),void(i&&l.funct["(scope)"].unstack())):(!(t=U(e,0))||t.identifier&&"function"===t.value||"(punctuator)"===t.type&&t.left&&t.left.identifier&&"function"===t.left.value||!l.isStrict()&&l.stmtMissingStrict()&&I("E007"),r.block||(l.option.expr||t&&t.exps?l.option.nonew&&t&&t.left&&"("===t.id&&"new"===t.left.id&&I("W031",r):I("W030",l.tokens.curr),ge(r)),y=n,i&&l.funct["(scope)"].unstack(),t)}V(";")}function be(e){for(var t,n=[];!l.tokens.next.reach&&"(end)"!==l.tokens.next.id;)";"===l.tokens.next.id?((!(t=R())||"("!==t.id&&"["!==t.id)&&I("W032"),V(";")):n.push(De(e));return n}function xe(){for(var e=l.tokens.next;"(string)"===l.tokens.next.id;){var t=W();if(!H(0,e,t))break;e=t,V();var n=l.tokens.curr.value;(l.directive[n]||"use strict"===n&&"implied"===l.option.strict)&&I("W034",l.tokens.curr,n),"use strict"===n&&l.inES7()&&!l.funct["(global)"]&&!1===l.funct["(hasSimpleParams)"]&&O("E065",l.tokens.curr),l.directive[n]=l.tokens.curr,ge(e)}l.isStrict()&&(l.option.undef=!0)}function Ce(e,t,n,r,i,a){var o,s,u,c,p=m,f=y;m=t,u=l.tokens.next;var h=l.funct["(metrics)"];if(h.nestedBlockDepth+=1,h.verifyMaxNestedBlockDepthPerFunction(),"{"===l.tokens.next.id){if(V("{"),l.funct["(scope)"].stack(),"}"!==l.tokens.next.id){for(y+=l.option.indent;!t&&l.tokens.next.from>y;)y+=l.option.indent;if(r){for(c in s={},l.directive)s[c]=l.directive[c];xe(),l.funct["(isStrict)"]=l.isStrict(),l.option.strict&&l.funct["(context)"]["(global)"]&&(s["use strict"]||l.isStrict()||I("E007"))}o=be(e),h.statementCount+=o.length,y-=l.option.indent}else r&&(l.funct["(isStrict)"]=l.isStrict());V("}",u),r&&(l.funct["(scope)"].validateParams(i),s&&(l.directive=s)),l.funct["(scope)"].unstack(),y=f}else if(t){l.funct["(scope)"].stack(),n&&!l.option.curly||I("W116",l.tokens.next,"{",l.tokens.next.value);var v="if"===l.funct["(verb)"]||"else"===l.tokens.curr.id;l.tokens.next.inBracelessBlock=!0,y+=l.option.indent,o=[De(e)],y-=l.option.indent,!o[0]||!o[0].declaration||v&&"function"===o[0].id||O("E048",o[0],o[0].id[0].toUpperCase()+o[0].id.slice(1)),l.funct["(scope)"].unstack()}else if(r){l.funct["(scope)"].stack(),!n||i||l.inMoz()||O("W118",l.tokens.curr,"function closure expressions"),i&&l.funct["(scope)"].validateParams(!0);var g=U(e,10);l.option.noreturnawait&&e&d.async&&g.identifier&&"await"===g.value&&I("W146",g),l.option.strict&&l.funct["(context)"]["(global)"]&&(l.isStrict()||I("E007")),l.funct["(scope)"].unstack()}else O("E021",l.tokens.next,"{",l.tokens.next.value);switch(l.funct["(verb)"]){case"break":case"continue":case"return":case"throw":if(a)break;default:l.funct["(verb)"]=null}return m=p,!t||!l.option.noempty||o&&0!==o.length||I("W035",l.tokens.prev),h.nestedBlockDepth-=1,o}function Ee(e){b&&"boolean"!==typeof b[e]&&I("W036",l.tokens.curr,e),"number"===typeof D[e]?D[e]+=1:D[e]=1}oe.legacy=["xml","unknown"],oe.es3=["undefined","boolean","number","string","function","object"],oe.es3=oe.es3.concat(oe.legacy),oe.es6=oe.es3.concat("symbol","bigint"),ee("(number)",(function(){return"."===l.tokens.next.id&&I("W005",this),this})),ee("(string)",(function(){return this})),l.syntax["(identifier)"]={type:"(identifier)",lbp:0,identifier:!0,nud:function(e){var t=this.value,n="=>"===l.tokens.next.id;return S(e,this)?I("W024",this,t):n||l.funct["(comparray)"].check(t)||l.funct["(scope)"].block.use(t,l.tokens.curr),this},led:function(){O("E033",l.tokens.next,l.tokens.next.value)}};var Ae,we={identifier:!1,template:!0};l.syntax["(template)"]=r.extend({lbp:155,type:"(template)",nud:Ie,led:Ie,noSubst:!1},we),l.syntax["(template middle)"]=r.extend({lbp:0,type:"(template middle)",noSubst:!1},we),l.syntax["(template tail)"]=r.extend({lbp:0,type:"(template tail)",tail:!0,noSubst:!1},we),l.syntax["(no subst template)"]=r.extend({lbp:155,type:"(template)",nud:Ie,led:Ie,noSubst:!0,tail:!0},we),ee("(regexp)",(function(){return this})),$("(endline)"),(Ae=$("(begin)")).line=Ae.from=0,$("(end)").reach=!0,$("(error)").reach=!0,$("}").reach=!0,$(")"),$("]"),$('"').reach=!0,$("'").reach=!0,$(";"),$(":").reach=!0,$("#"),te("else"),te("case").reach=!0,te("catch"),te("default").reach=!0,te("finally"),te("true",(function(){return this})),te("false",(function(){return this})),te("null",(function(){return this})),te("this",(function(){return l.isStrict()&&!l.funct["(method)"]&&!l.option.validthis&&(l.funct["(statement)"]&&l.funct["(name)"].charAt(0)>"Z"||l.funct["(global)"])&&I("W040",this),this})),te("super",(function(){return Ye.call(l.tokens.curr,this),this})).rbp=161,ce("=","assign"),ce("+=","assignadd"),ce("-=","assignsub"),ce("*=","assignmult"),ce("/=","assigndiv").nud=function(){O("E014")},ce("%=","assignmod"),ce("**=",(function(e,t,n){return l.inES7()||I("W119",n,"Exponentiation operator","7"),n.left=t,le(e,t,n),n.right=U(e,10),n})),fe("&="),fe("|="),fe("^="),fe("<<="),fe(">>="),fe(">>>="),re(",",(function(e,t,n){return l.option.nocomma&&I("W127",n),n.left=t,K()?n.right=U(e,10):n.right=null,n}),10,!0),re("?",(function(e,t,n){return _e(),n.left=t,n.right=U(e&~d.noin,10),V(":"),U(e,10),n}),30),re("||",(function(e,t,n){return _e(),n.left=t,n.right=U(e,40),n}),40);re("&&",(function(e,t,n){return _e(),n.left=t,n.right=U(e,50),n}),50),re("??",(function(e,t,n){t.paren||"||"!==t.id&&"&&"!==t.id||O("E024",n,"??"),l.inES11()||I("W119",n,"nullish coalescing","11"),_e(),n.left=t;var r=n.right=U(e,39);return r?r.paren||"||"!==r.id&&"&&"!==r.id||O("E024",n.right,n.right.id):O("E024",l.tokens.next,l.tokens.next.id),n}),39),re("**",(function(e,t,n){return l.inES7()||I("W119",n,"Exponentiation operator","7"),!t.paren&&ae(t)&&O("E024",n,"**"),n.left=t,n.right=U(e,n.rbp),n}),150),l.syntax["**"].rbp=140,pe("|","bitor",70),pe("^","bitxor",80),pe("&","bitand",90),ie("==",(function(e,t,n){switch(!0){case!(l.option.eqnull&&("null"===(t&&t.value)||"null"===(n&&n.value)))&&l.option.eqeqeq:this.from=this.character,I("W116",this,"===","==");break;case se(n,t,l):I("W122",this,n.value);break;case se(t,n,l):I("W122",this,t.value)}return this})),ie("===",(function(e,t,n){return se(n,t,l)?I("W122",this,n.value):se(t,n,l)&&I("W122",this,t.value),this})),ie("!=",(function(e,t,n){return!(l.option.eqnull&&("null"===(t&&t.value)||"null"===(n&&n.value)))&&l.option.eqeqeq?(this.from=this.character,I("W116",this,"!==","!=")):se(n,t,l)?I("W122",this,n.value):se(t,n,l)&&I("W122",this,t.value),this})),ie("!==",(function(e,t,n){return se(n,t,l)?I("W122",this,n.value):se(t,n,l)&&I("W122",this,t.value),this})),ie("<"),ie(">"),ie("<="),ie(">="),pe("<<","shiftleft",120),pe(">>","shiftright",120),pe(">>>","shiftrightunsigned",120),re("in","in",120),re("instanceof",(function(e,t,n){var r,i=l.funct["(scope)"];return n.left=t,n.right=r=U(e,120),r?(("(number)"===r.id||"(string)"===r.id||"null"===r.value||"undefined"===r.value&&!i.has("undefined")||"unary"===r.arity||"{"===r.id||"["===r.id&&!r.right||"(regexp)"===r.id||"(template)"===r.id&&!r.tag)&&O("E060"),"function"===r.id&&I("W139"),n):n}),120),re("+",(function(e,t,n){var r,i=l.tokens.next;return n.left=t,n.right=r=U(e,130),t&&r&&"(string)"===t.id&&"(string)"===r.id?(t.value+=r.value,t.character=r.character,!l.option.scripturl&&u.javascriptURL.test(t.value)&&I("W050",t),t):("+"!==i.id&&"++"!==i.id||I("W007",n.right),n)}),130),Z("+",(function(e){var t=l.tokens.next;return this.arity="unary",this.right=U(e,150),"+"!==t.id&&"++"!==t.id||I("W007",this.right),this})),re("-",(function(e,t,n){var r=l.tokens.next;return n.left=t,n.right=U(e,130),"-"!==r.id&&"--"!==r.id||I("W006",n.right),n}),130),Z("-",(function(e){var t=l.tokens.next;return this.arity="unary",this.right=U(e,150),"-"!==t.id&&"--"!==t.id||I("W006",this.right),this})),re("*","mult",140),re("/","div",140),re("%","mod",140),de("++"),Z("++","preinc"),l.syntax["++"].exps=!0,de("--"),Z("--","predec"),l.syntax["--"].exps=!0,Z("delete",(function(e){this.arity="unary";var t=U(e,150);return t?("."!==t.id&&"["!==t.id&&I("W051"),this.first=t,t.identifier&&!l.isStrict()&&(t.forgiveUndef=!0),this):this})).exps=!0,Z("~",(function(e){return l.option.bitwise&&I("W016",this,"~"),this.arity="unary",this.right=U(e,150),this})),re("..."),Z("!",(function(e){return this.arity="unary",this.right=U(e,150),this.right||B("E041",this),!0===C[this.right.id]&&I("W018",this,"!"),this})),Z("typeof",(function(e){this.arity="unary";var t=U(e,150);return this.first=this.right=t,t||B("E041",this),t.identifier&&(t.forgiveUndef=!0),this})),Z("new",(function(e){var t=Re(e,"target",(function(){l.inES6(!0)||I("W119",l.tokens.prev,"new.target","6");for(var e,t=l.funct;t&&(e=!t["(global)"],t["(arrow)"]);)t=t["(context)"];e||I("W136",l.tokens.prev,"new.target")}));if(t)return t;var n,r=l.tokens.next,i=U(e,155);if(!i)return this;if(!i.paren&&i.rbp>160&&O("E024",r,r.value),"function"!==i.id)if(i.identifier)switch(i.value){case"Number":case"String":case"Boolean":case"Math":case"JSON":I("W053",l.tokens.prev,i.value);break;case"Symbol":l.inES6()&&I("W053",l.tokens.prev,i.value);break;case"Function":l.option.evil||I("W054");break;case"Date":case"RegExp":case"this":break;default:n=i.value.substr(0,1),l.option.newcap&&(n<"A"||n>"Z")&&!l.funct["(scope)"].isPredefined(i.value)&&I("W055",l.tokens.curr)}else"?."!==i.id||i.paren?"."!==i.id&&"["!==i.id&&"("!==i.id&&I("W056",l.tokens.curr):O("E024",i,"?.");else l.option.supernew||I("W057",this);return"("===l.tokens.next.id||l.option.supernew||I("W058",l.tokens.curr,l.tokens.curr.value),this.first=this.right=i,this})),l.syntax.new.exps=!0;var ke=Q("class",(function(e){var t,n;return l.inES6()||I("W104",l.tokens.curr,"class","6"),l.inClassBody=!0,l.tokens.next.identifier&&"extends"!==l.tokens.next.value&&(t=(n=l.tokens.next).value,ye(e),l.funct["(scope)"].addbinding(t,{type:"class",initialized:!1,token:n})),"extends"===l.tokens.next.value&&(V("extends"),U(e,0)),n?(this.name=n,l.funct["(scope)"].initialize(t)):this.name=null,l.funct["(scope)"].stack(),Se(this,e),this}));function Se(e,t){var n,r,i,a,o,s,u=Object.create(null);for("{"===l.tokens.next.value?V("{"):(I("W116",l.tokens.curr,"identifier",l.tokens.next.type),V());"}"!==l.tokens.next.value;)switch(a=!1,o=!1,t&=~d.preAsync,"static"!==l.tokens.next.value||it(R(),"(")||(a=!0,V()),"async"===l.tokens.next.value&&(it(R(),"(")||(t|=d.preAsync,V(),q(l.tokens.curr),it(l.tokens.next,"*")&&(o=!0,V("*"),l.inES9()||I("W119",l.tokens.next,"async generators","9")),l.inES8()||I("W119",l.tokens.curr,"async functions","8"))),"*"===l.tokens.next.value&&(o=!0,V()),"set"!==(i=l.tokens.next).value&&"get"!==i.value||it(R(),"(")?r=null:(o&&O("E024",i,i.value),r=i.value,V(),i=l.tokens.next,a||"constructor"!==i.value?a&&"prototype"===i.value&&O("E049",i,"static class "+r+"ter method",i.value):O("E049",i,"class "+r+"ter method",i.value)),i.value){case";":I("W032",i),V();break;case"constructor":a?(et(u,n=Pe(t),i,!0,a),Fe(e,t,n,o)):(o||t&d.preAsync||s?O("E024",i,i.value):s=!r&&!a,V(),Fe(e,t,l.nameStack.infer()));break;case"[":Fe(e,t,n=nt(t),o);break;default:if(void 0===(n=Pe(t))){O("E024",i,i.value),V();break}r?(tt(r,u,n,i,!0,a),n=l.nameStack.infer()):(a&&"prototype"===n&&O("E049",i,"static class method",n),et(u,n,i,!0,a)),Fe(e,t,n,o)}V("}"),je(u),l.inClassBody=!1,l.funct["(scope)"].unstack()}function Fe(e,t,n,r){if(r&&(l.inES6()||I("W119",l.tokens.curr,"function*","6")),"("!==l.tokens.next.value){if(O("E054",l.tokens.next,l.tokens.next.value),V(),"{"===l.tokens.next.value)return V(),void("}"===l.tokens.next.value&&(I("W116",l.tokens.next,"(",l.tokens.next.value),V(),ye(t),V()));for(;"("!==l.tokens.next.value;)V()}Le(t,{name:n,type:r?"generator":null,isMethod:!0,statement:e})}function Te(e){var t,n=l.tokens.next,r=-1;do{"("===n.value?e+=1:")"===n.value&&(e-=1),t=n,n=R(r+=1)}while((0!==e||")"!==t.value)&&"(end)"!==n.type);return n}function Pe(e){var t=he(e,!0);return t||("(string)"===l.tokens.next.id?(t=l.tokens.next.value,V()):"(number)"===l.tokens.next.id&&(t=l.tokens.next.value.toString(),V())),"hasOwnProperty"===t&&I("W001"),t}function Be(e,t,n){var i={"(name)":e,"(breakage)":0,"(loopage)":0,"(isStrict)":"unknown","(global)":!1,"(line)":null,"(character)":null,"(metrics)":null,"(statement)":null,"(context)":null,"(scope)":null,"(comparray)":null,"(yielded)":null,"(arrow)":null,"(async)":null,"(params)":null};return t&&r.extend(i,{"(line)":t.line,"(character)":t.character,"(metrics)":Oe(t)}),r.extend(i,n),i["(context)"]&&(i["(scope)"]=i["(context)"]["(scope)"],i["(comparray)"]=i["(context)"]["(comparray)"]),i}function Ne(e){return e["(global)"]&&!e["(verb)"]}function Ie(e,t){var n=this.context,r=this.noSubst,i=this.depth,a="number"===typeof t?null:t;if(!r)for(;!o();)!l.tokens.next.template||l.tokens.next.depth>i?U(e,0):V();return{id:"(template)",type:"(template)",tag:a};function o(){if(l.tokens.curr.template&&l.tokens.curr.tail&&l.tokens.curr.context===n)return!0;var e=l.tokens.next.template&&l.tokens.next.tail&&l.tokens.next.context===n;return e&&V(),e||l.tokens.next.isUnclosed}}function Le(e,t){var i,a,o,s,u,c,p,f,h,m=l.option,y=l.ignored,v=e&d.preAsync;t&&(o=t.name,s=t.statement,u=t.classExprBinding,c="generator"===t.type,p="arrow"===t.type,f=t.isMethod,h=t.ignoreLoopFunc),e&=~d.noin,e&=~d.tryClause,v?e|=d.async:e&=~d.async,c?e|=d.yield:p||(e&=~d.yield),e&=~d.preAsync,l.option=Object.create(l.option),l.ignored=Object.create(l.ignored),l.funct=Be(o||l.nameStack.infer(),l.tokens.next,{"(statement)":s,"(context)":l.funct,"(arrow)":p,"(method)":f,"(async)":v}),i=l.funct,a=l.tokens.curr,n.push(l.funct),l.funct["(scope)"].stack("functionouter");var g=!f&&(o||u);g&&l.funct["(scope)"].block.add(g,u?"class":"function",l.tokens.curr,!1),p||l.funct["(scope)"].funct.add("arguments","var",a,!1),l.funct["(scope)"].stack("functionparams");var D=function(e,t){var n,i,a,o=[],s=[],u=!1,c=!1,p=0,f=t&&t.loneArg,d=!1;if(f&&!0===f.identifier)return l.funct["(scope)"].addParam(f.value,f),{arity:1,params:[f.value],isSimple:!0};if(n=l.tokens.next,t&&t.parsedOpening||V("("),")"!==l.tokens.next.id)for(;;){p++;var h=[];if(c=me("rest"),r.includes(["{","["],l.tokens.next.id))for(a in d=!0,s=We(e))(a=s[a]).id&&(o.push(a.id),h.push([a.id,a.token]));else if(i=ye(e))o.push(i),h.push([i,l.tokens.curr]);else for(;!rt(l.tokens.next,[",",")"]);)V();if(u&&"="!==l.tokens.next.id&&O("W138",l.tokens.curr),"="===l.tokens.next.id&&(l.inES6()||I("W119",l.tokens.next,"default parameters","6"),c&&O("E062",l.tokens.next),V("="),u=!0,U(e,10)),h.forEach(m),","===l.tokens.next.id&&(c&&I("W131",l.tokens.next),V(","),K({allowTrailing:!0})),")"===l.tokens.next.id)return","!==l.tokens.curr.id||l.inES8()||I("W119",l.tokens.curr,"Trailing comma in function parameters","8"),V(")",n),{arity:p,params:o,isSimple:!d&&!c&&!u}}else V(")");function m(e){l.funct["(scope)"].addParam.apply(l.funct["(scope)"],e)}}(e,t);return D?(l.funct["(params)"]=D.params,l.funct["(hasSimpleParams)"]=D.isSimple,l.funct["(metrics)"].arity=D.arity,l.funct["(metrics)"].verifyMaxParametersPerFunction()):(l.funct["(params)"]=[],l.funct["(metrics)"].arity=0,l.funct["(hasSimpleParams)"]=!0),p&&(e&=~d.yield,l.inES6(!0)||I("W119",l.tokens.curr,"arrow function syntax (=>)","6"),t.loneArg||V("=>")),Ce(e,!1,!0,!0,p),l.option.noyield||!c||l.funct["(yielded)"]||I("W124",l.tokens.curr),l.funct["(metrics)"].verifyMaxStatementsPerFunction(),l.funct["(metrics)"].verifyMaxComplexityPerFunction(),l.funct["(unusedOption)"]=l.option.unused,l.option=m,l.ignored=y,l.funct["(last)"]=l.tokens.curr.line,l.funct["(lastcharacter)"]=l.tokens.curr.character,l.funct["(scope)"].unstack(),l.funct["(scope)"].unstack(),l.funct=l.funct["(context)"],h||l.option.loopfunc||!l.funct["(loopage)"]||i["(outerMutables)"]&&I("W083",a,i["(outerMutables)"].join(", ")),i}function Oe(e){return{statementCount:0,nestedBlockDepth:-1,ComplexityCount:1,arity:0,verifyMaxStatementsPerFunction:function(){l.option.maxstatements&&this.statementCount>l.option.maxstatements&&I("W071",e,this.statementCount)},verifyMaxParametersPerFunction:function(){r.isNumber(l.option.maxparams)&&this.arity>l.option.maxparams&&I("W072",e,this.arity)},verifyMaxNestedBlockDepthPerFunction:function(){l.option.maxdepth&&this.nestedBlockDepth>0&&this.nestedBlockDepth===l.option.maxdepth+1&&I("W073",null,this.nestedBlockDepth)},verifyMaxComplexityPerFunction:function(){var t=l.option.maxcomplexity,n=this.ComplexityCount;t&&n>t&&I("W074",e,n)}}}function _e(){l.funct["(metrics)"].ComplexityCount+=1}function Me(e){if(e&&!e.paren)if(","!==e.id)switch(e.id){case"=":case"+=":case"-=":case"*=":case"%=":case"&=":case"|=":case"^=":case"/=":l.option.boss||I("W084",e)}else Me(e.right)}function je(e){if(l.inES5())for(var t in e)e[t]&&e[t].setterToken&&!e[t].getterToken&&!e[t].static&&I("W078",e[t].setterToken)}function Re(e,t,n){if(it(l.tokens.next,".")){var r=l.tokens.curr.id;V(".");var i=ye(e);return l.tokens.curr.isMetaProperty=!0,t!==i?O("E057",l.tokens.prev,r,i):n(),l.tokens.curr}}function We(e,t){var n=t&&t.assignment;return e&=~d.noin,l.inES6()||I("W104",l.tokens.curr,n?"destructuring assignment":"destructuring binding","6"),Ve(e,t)}function Ve(e,t){var n,r,i,a,o=[],s=t&&t.openingParsed,u=t&&t.assignment,c=u?{assignment:u}:null,p=s?l.tokens.curr:l.tokens.next,f=function t(){var i;if(rt(l.tokens.next,["[","{"]))for(n=Ve(e,c),r=0;r"===r.id||"("===r.id||"&&"===r.id||"||"===r.id||"?"===r.id||"async"===r.id||"?."===r.id||l.inES6()&&r["(name)"]||I("W067",n)),n.left=t,n}),155,!0).exps=!0,Z("(",(function(e,t){var n,r,i,a,o=l.tokens.curr,s=l.tokens.prev,u=!l.option.singleGroups,c=Te(1);if("function"===l.tokens.next.id&&(r=l.tokens.next.immed=!0),"=>"===c.value)return c.funct=Le(e,{type:"arrow",parsedOpening:!0}),c;if(")"!==l.tokens.next.id){if(n=U(e,0),V(")",this),n){if(n.paren=!0,l.option.immed&&n&&"function"===n.id&&"("!==l.tokens.next.id&&"."!==l.tokens.next.id&&"["!==l.tokens.next.id&&I("W068",this),","===n.id){for(i=n.left;","===i.id;)i=i.left;a=n.right}else i=a=n,u||(r||(r="async"===n.id),u=o.beginsStmt&&("{"===n.id||r)||r&&(!H()||"}"!==l.tokens.prev.id)||"=>"===n.id&&!H()||"{"===n.id&&"=>"===s.id||ae(n)&&"**"===l.tokens.next.id||"??"===s.id&&("&&"===n.id||"||"===n.id)||"(number)"===n.type&&it(c,".")&&/^\d+$/.test(n.value)||o.beginsStmt&&"="===n.id&&"{"===n.left.id||"?."===n.id&&("new"===s.id||"(template)"===l.tokens.next.type));var p;return!u&&((p=i).first||p.right||p.left||"yield"===p.id||"await"===p.id||i!==a)&&(u=t>i.lbp||t>0&&t===i.lbp||!H()&&a.rbp")).rbp=161,re("[",(function(e,t,n){var r,i;return l.option.asi&&rt(l.tokens.prev,[")","]"])&&!z(l.tokens.prev,l.tokens.curr)&&I("W014",l.tokens.curr,l.tokens.curr.id),(r=U(e&~d.noin,0))&&"(string)"===r.type&&(l.option.evil||"eval"!==r.value&&"execScript"!==r.value||ue(t,l)&&I("W061"),Ee(r.value),!l.option.sub&&u.identifier.test(r.value)&&((i=l.syntax[r.value])?!S(e,i):"eval"!==r.value&&"arguments"!==r.value)&&I("W069",l.tokens.prev,r.value)),V("]",n),r&&"hasOwnProperty"===r.value&&"="===l.tokens.next.value&&I("W001"),n.left=t,n.right=r,n}),160,!0),Z("[",(function(e){var t=Ze();if(t.isCompArray)return l.option.esnext||l.inMoz()||I("W118",l.tokens.curr,"array comprehension"),function(e){var t={exps:!0};l.funct["(comparray)"].stack();var n=!1;return"for"!==l.tokens.next.value&&(n=!0,l.inMoz()||I("W116",l.tokens.next,"for",l.tokens.next.value),l.funct["(comparray)"].setState("use"),t.right=U(e,10)),V("for"),"each"===l.tokens.next.value&&(V("each"),l.inMoz()||I("W118",l.tokens.curr,"for each")),V("("),l.funct["(comparray)"].setState("define"),t.left=U(e,130),r.includes(["in","of"],l.tokens.next.value)?V():O("E045",l.tokens.curr),l.funct["(comparray)"].setState("generate"),U(e,10),V(")"),"if"===l.tokens.next.value&&(V("if"),V("("),l.funct["(comparray)"].setState("filter"),U(e,10),V(")")),n||(l.funct["(comparray)"].setState("use"),t.right=U(e,10)),V("]"),l.funct["(comparray)"].unstack(),t}(e);if(t.isDestAssign)return this.destructAssign=We(e,{openingParsed:!0,assignment:!0}),this;var n=!z(l.tokens.curr,l.tokens.next);for(this.first=[],n&&(y+=l.option.indent,l.tokens.next.from===y+l.option.indent&&(y+=l.option.indent));"(end)"!==l.tokens.next.id;){for(;","===l.tokens.next.id;){if(!l.option.elision){if(l.inES5()){I("W128");do{V(",")}while(","===l.tokens.next.id);continue}I("W070")}V(",")}if("]"===l.tokens.next.id)break;if(me("spread"),this.first.push(U(e,10)),","!==l.tokens.next.id){l.option.trailingcomma&&l.inES5()&&L("W140",l.tokens.curr.line,l.tokens.curr.character);break}if(V(","),K({allowTrailing:!0}),"]"===l.tokens.next.id&&!l.inES5()){I("W070",l.tokens.curr);break}}return n&&(y-=l.option.indent),V("]",this),this})),function(e){e.nud=function(e){var t,n,r,i,a,o,s=!1,u=Object.create(null),c=!1;if((t=!z(l.tokens.curr,l.tokens.next))&&(y+=l.option.indent,l.tokens.next.from===y+l.option.indent&&(y+=l.option.indent)),Ze().isDestAssign)return this.destructAssign=We(e,{openingParsed:!0,assignment:!0}),this;for(l.inObjectBody=!0;"}"!==l.tokens.next.id;){if(o=l.tokens.next.value,!l.tokens.next.identifier||","!==W().id&&"}"!==W().id)if(":"===R().id||"get"!==o&&"set"!==o)if(me("spread"))l.inES9()||I("W119",l.tokens.next,"object spread property","9"),U(e,10);else{if("async"!==l.tokens.next.id||rt(R(),["(",":"])?c=!1:(l.inES8()||I("W119",l.tokens.next,"async functions","8"),c=!0,V(),q(l.tokens.curr)),"*"===l.tokens.next.value&&"(punctuator)"===l.tokens.next.type?(c&&!l.inES9()?I("W119",l.tokens.next,"async generators","9"):l.inES6()||I("W104",l.tokens.next,"generator functions","6"),V("*"),s=!0):s=!1,"["===l.tokens.next.id)r=nt(e),l.nameStack.set(r);else if(l.nameStack.set(l.tokens.next),et(u,r=Pe(e),l.tokens.next),"string"!==typeof r)break;"("===l.tokens.next.value?(l.inES6()||I("W104",l.tokens.curr,"concise methods","6"),Le(c?e|d.preAsync:e,{isMethod:!0,type:s?"generator":null})):(V(":"),U(e,10))}else V(o),l.inES5()||O("E034"),"["===l.tokens.next.id?r=nt(e):(r=Pe(e))||l.inES6()||O("E035"),r&&tt(o,u,r,l.tokens.curr),a=l.tokens.next,i=(n=Le(e,{isMethod:!0}))["(params)"],"get"===o&&r&&i.length?I("W076",a,i[0],r):"set"===o&&r&&1!==n["(metrics)"].arity&&I("W077",a,r);else l.inES6()||I("W104",l.tokens.next,"object short notation","6"),r=(a=U(e,10))&&a.value,a&&et(u,r,a);if(Ee(r),","!==l.tokens.next.id){l.option.trailingcomma&&l.inES5()&&L("W140",l.tokens.curr.line,l.tokens.curr.character);break}V(","),K({allowTrailing:!0,property:!0}),","===l.tokens.next.id?I("W070",l.tokens.curr):"}"!==l.tokens.next.id||l.inES5()||I("W070",l.tokens.curr)}return t&&(y-=l.option.indent),V("}",this),je(u),l.inObjectBody=!1,this},e.fud=function(){O("E036",l.tokens.curr)}}($("{"));var ze=X("const",(function(e){return Ue("const",this,e)}));function Ge(){return"("===l.tokens.next.id&&l.inMoz()}ze.exps=!0,ze.declaration=!0;var qe,Ke,Je=X("let",(function(e){return Ue("let",this,e)}));Je.nud=function(e,t){if(!Ge())return this.exps=!1,l.syntax["(identifier)"].nud.apply(this,arguments);l.funct["(scope)"].stack(),V("("),l.tokens.prev.fud(e),V(")"),U(e,t),l.funct["(scope)"].unstack()},Je.meta={es5:!0,isFutureReservedWord:!1,strictOnly:!0},Je.exps=!0,Je.declaration=!0,Je.useFud=function(e){var t=l.tokens.next;return!(this.line!==t.line&&!l.inES6())&&(t.identifier&&(!S(e,t)||"let"===t.id)||rt(t,["{","["])||Ge())},X("var",(function(e){var t,n,i,o,s=e&d.noin;for(this.first=[];;){var u=[];for(var c in r.includes(["{","["],l.tokens.next.value)?(t=We(e),n=!1):(t=[],(o=ye(e))&&t.push({id:o,token:l.tokens.curr}),n=!0),l.option.varstmt&&I("W132",this),t)t.hasOwnProperty(c)&&(c=t[c],l.funct["(global)"]&&!l.impliedClosure()&&(!1===x[c.id]?I("W079",c.token,c.id):!1===l.option.futurehostile&&(!l.inES5()&&!1===a.ecmaIdentifiers[5][c.id]||!l.inES6()&&!1===a.ecmaIdentifiers[6][c.id])&&I("W129",c.token,c.id)),c.id&&(l.funct["(scope)"].addbinding(c.id,{type:"var",token:c.token}),u.push(c.token)));if("="===l.tokens.next.id&&(this.hasInitializer=!0,l.nameStack.set(l.tokens.curr),V("="),"="===R(0).id&&l.tokens.next.identifier&&((s||l.funct["(params)"])&&-1!==l.funct["(params)"].indexOf(l.tokens.next.value)||I("W120",l.tokens.next,l.tokens.next.value)),o=l.tokens.prev,(i=U(e,10))&&(!l.funct["(loopage)"]&&i.identifier&&"undefined"===i.value&&I("W080",o,o.value),n||He(u,i))),this.first=this.first.concat(u),","!==l.tokens.next.id)break;this.hasComma=!0,V(","),K()}return this})).exps=!0,Q("function",(function(e){var t=e&d.export,n=!1,r=e&d.preAsync,i="";r&&(i="async "),"*"===l.tokens.next.value&&(r&&!l.inES9()?I("W119",l.tokens.prev,"async generators","9"):r||l.inES6(!0)||I("W119",l.tokens.next,"function*","6"),V("*"),i+="generator ",n=!0),i+="function",m&&I("W082",l.tokens.curr),this.name=he(e)?l.tokens.curr:null,this.name?l.funct["(scope)"].addbinding(this.name.value,{type:i,token:l.tokens.curr,initialized:!0}):t||I("W025");var a=Le(e,{name:this.name&&this.name.value,statement:this,type:n?"generator":null,ignoreLoopFunc:m}),o=a["(isStrict)"]&&!l.isStrict();return this.name&&("arguments"===a["(name)"]||"eval"===a["(name)"])&&o&&O("E008",this.name),"("===l.tokens.next.id&&")"===R().id&&"=>"!==R(1).id&&l.tokens.next.line===l.tokens.curr.line&&O("E039"),this})).declaration=!0,Z("function",(function(e){var t=!1,n=e&d.preAsync;"*"===l.tokens.next.value&&(n&&!l.inES9()?I("W119",l.tokens.prev,"async generators","9"):n||l.inES6(!0)||I("W119",l.tokens.curr,"function*","6"),V("*"),t=!0),this.name=he(n?e|d.async:e)?l.tokens.curr:null;var r=Le(e,{name:this.name&&this.name.value,type:t?"generator":null});return t&&this.name&&"yield"===this.name.value&&O("E024",this.name,"yield"),this.name&&("arguments"===r["(name)"]||"eval"===r["(name)"])&&r["(isStrict)"]&&O("E008",this.name),this})),Q("if",(function(e){var t=l.tokens.next;_e(),V("(");var n=U(e,0);n||B("E041",this),Me(n);var r=null;l.option.forin&&l.forinifcheckneeded&&(l.forinifcheckneeded=!1,r=l.forinifchecks[l.forinifchecks.length-1],"(punctuator)"===n.type&&"!"===n.value?r.type="(negative)":r.type="(positive)"),V(")",t);var i=Ce(e,!0,!0);return r&&"(negative)"===r.type&&i&&i[0]&&"(identifier)"===i[0].type&&"continue"===i[0].value&&(r.type="(negative-with-continue)"),"else"===l.tokens.next.id&&(V("else"),"if"===l.tokens.next.id||"switch"===l.tokens.next.id?De(e):Ce(e,!0,!0)),this})),Q("try",(function(e){var t,n=!1;function i(){if(V("("),rt(l.tokens.next,["[","{"])){var t=We(e);r.each(t,(function(e){e.id&&l.funct["(scope)"].addParam(e.id,e.token,"exception")}))}else"(identifier)"!==l.tokens.next.type?I("E030",l.tokens.next,l.tokens.next.value):l.funct["(scope)"].addParam(ye(e),l.tokens.curr,"exception");"if"===l.tokens.next.value&&(l.inMoz()||I("W118",l.tokens.curr,"catch filter"),V("if"),U(e,0)),V(")")}for(Ce(e|d.tryClause,!0);"catch"===l.tokens.next.id;)_e(),t&&!l.inMoz()&&I("W118",l.tokens.next,"multiple catch blocks"),V("catch"),"{"!==l.tokens.next.id?(l.funct["(scope)"].stack("catchparams"),n=!0,i()):l.inES10()||I("W119",l.tokens.curr,"optional catch binding","10"),Ce(e,!1),n&&(l.funct["(scope)"].unstack(),n=!1),t=!0;return"finally"===l.tokens.next.id?(V("finally"),void Ce(e,!0)):(t||O("E021",l.tokens.next,"catch",l.tokens.next.value),this)})),Q("while",(function(e){var t=l.tokens.next;return l.funct["(breakage)"]+=1,l.funct["(loopage)"]+=1,_e(),V("("),Me(U(e,0)),V(")",t),Ce(e,!0,!0),l.funct["(breakage)"]-=1,l.funct["(loopage)"]-=1,this})).labelled=!0,Q("with",(function(e){var t=l.tokens.next;return l.isStrict()?O("E010",l.tokens.curr):l.option.withstmt||I("W085",l.tokens.curr),V("("),U(e,0),V(")",t),Ce(e,!0,!0),this})),Q("switch",(function(e){var t=l.tokens.next,n=!1,r=!1,i=!1;for(l.funct["(breakage)"]+=1,V("("),Me(U(e,0)),V(")",t),t=l.tokens.next,V("{"),l.funct["(scope)"].stack(),l.tokens.next.from===y&&(r=!0),r||(y+=l.option.indent);;)switch(l.tokens.next.id){case"case":switch(l.funct["(verb)"]){case"yield":case"break":case"case":case"continue":case"return":case"switch":case"throw":break;case"default":l.option.leanswitch&&I("W145",l.tokens.next);break;default:l.tokens.curr.caseFallsThrough||I("W086",l.tokens.curr,"case")}V("case"),U(e,0),i=!0,_e(),n=!0,V(":"),l.funct["(verb)"]="case";break;case"default":switch(l.funct["(verb)"]){case"yield":case"break":case"continue":case"return":case"throw":break;case"case":l.option.leanswitch&&I("W145",l.tokens.curr);break;default:i&&!l.tokens.curr.caseFallsThrough&&I("W086",l.tokens.curr,"default")}V("default"),n=!0,V(":"),l.funct["(verb)"]="default";break;case"}":return r||(y-=l.option.indent),V("}",t),l.funct["(scope)"].unstack(),l.funct["(breakage)"]-=1,void(l.funct["(verb)"]=void 0);case"(end)":return void O("E023",l.tokens.next,"}");default:if(y+=l.option.indent,n)switch(l.tokens.curr.id){case",":return void O("E040");case":":n=!1,be(e);break;default:return void O("E025",l.tokens.curr)}else{if(":"!==l.tokens.curr.id)return void O("E021",l.tokens.next,"case",l.tokens.next.value);V(":"),O("E024",l.tokens.curr,":"),be(e)}y-=l.option.indent}})).labelled=!0,X("debugger",(function(){return l.option.debug||I("W087",this),this})).exps=!0,function(){var e=X("do",(function(e){l.funct["(breakage)"]+=1,l.funct["(loopage)"]+=1,_e(),this.first=Ce(e,!0,!0),V("while");var t=l.tokens.next;return V("("),Me(U(e,0)),V(")",t),l.funct["(breakage)"]-=1,l.funct["(loopage)"]-=1,this}));e.labelled=!0,e.exps=!0}(),Q("for",(function(e){var t,n,i,a,o,s,u,c,p=l.tokens.next,f=!1,h=!1,m=null;"each"===p.value&&(m=p,V("each"),l.inMoz()||I("W118",l.tokens.curr,"for each")),l.tokens.next.identifier&&"await"===l.tokens.next.value&&(V("await"),h=!0,e&d.async?l.inES9()||I("W119",l.tokens.curr,"asynchronous iteration","9"):O("E024",l.tokens.curr,"await")),_e(),V("(");var y=R(),v=e|d.noin;if("var"===l.tokens.next.id)V("var"),i=(c=l.tokens.curr.fud(v)).hasComma?c:null,a=c.hasInitializer?c:null;else if("const"===l.tokens.next.id||"let"===l.tokens.next.id&&(y.identifier&&"in"!==y.id||rt(y,["{","["])))V(l.tokens.next.id),f=!0,l.funct["(scope)"].stack(),i=(c=l.tokens.curr.fud(v)).hasComma?c:null,a=c.hasInitializer?c:null;else if(!it(l.tokens.next,";")){for(s=[];"in"!==l.tokens.next.value&&"of"!==l.tokens.next.value&&!it(l.tokens.next,";");)rt(l.tokens.next,["{","["])?(We(v,{assignment:!0}).forEach((function(e){this.push(e.token)}),s),it(l.tokens.next,"=")&&(V("="),a=l.tokens.curr,U(v,10))):(u=U(v,10))&&("(identifier)"===u.type?s.push(u):it(u,"=")&&(a=u,s.push(u))),it(l.tokens.next,",")&&(V(","),i||(i=l.tokens.curr));a||i||s.forEach((function(e){l.funct["(scope)"].has(e.value)||I("W088",e,e.value)}))}if(n=l.tokens.next,h&&"of"!==n.value&&O("E066",n),r.includes(["in","of"],n.value)){if("of"===n.value?(o=20,l.inES6()||I("W104",n,"for of","6")):o=0,i&&O("W133",i,n.value,"more than one ForBinding"),a&&O("W133",a,n.value,"initializer is forbidden"),!u||i||a||le(e,u,n),V(n.value),U(e,o),V(")",p),"in"===n.value&&l.option.forin&&(l.forinifcheckneeded=!0,void 0===l.forinifchecks&&(l.forinifchecks=[]),l.forinifchecks.push({type:"(none)"})),l.funct["(breakage)"]+=1,l.funct["(loopage)"]+=1,t=Ce(e,!0,!0),"in"===n.value&&l.option.forin){if(l.forinifchecks&&l.forinifchecks.length>0){var g=l.forinifchecks.pop();(t&&t.length>0&&("object"!==typeof t[0]||"if"!==t[0].value)||"(positive)"===g.type&&t.length>1||"(negative)"===g.type)&&I("W089",this)}l.forinifcheckneeded=!1}l.funct["(breakage)"]-=1,l.funct["(loopage)"]-=1}else{if(m&&O("E045",m),V(";"),c&&c.first&&c.first[0]&&("const"!==c.value||c.hasInitializer||I("E012",c,c.first[0].value),c.first.forEach((function(e){l.funct["(scope)"].initialize(e.value)}))),l.funct["(loopage)"]+=1,";"!==l.tokens.next.id&&Me(U(e,0)),V(";"),";"===l.tokens.next.id&&O("E021",l.tokens.next,")",";"),")"!==l.tokens.next.id)for(;U(e,0),","===l.tokens.next.id;)V(","),K();V(")",p),l.funct["(breakage)"]+=1,Ce(e,!0,!0),l.funct["(breakage)"]-=1,l.funct["(loopage)"]-=1}return f&&l.funct["(scope)"].unstack(),this})).labelled=!0,X("break",(function(){var e=l.tokens.next.value;return l.tokens.next.identifier&&z(l.tokens.curr,l.tokens.next)?(l.funct["(scope)"].funct.hasLabel(e)||I("W090",l.tokens.next,e),this.first=l.tokens.next,V()):0===l.funct["(breakage)"]&&I("W052",l.tokens.next,this.value),ve(this),this})).exps=!0,X("continue",(function(){var e=l.tokens.next.value;return 0!==l.funct["(breakage)"]&&l.funct["(loopage)"]||I("W052",l.tokens.next,this.value),l.tokens.next.identifier&&z(l.tokens.curr,l.tokens.next)&&(l.funct["(scope)"].funct.hasLabel(e)||I("W090",l.tokens.next,e),this.first=l.tokens.next,V()),ve(this),this})).exps=!0,X("return",(function(e){return z(this,l.tokens.next)?";"===l.tokens.next.id||l.tokens.next.reach||(this.first=U(e,0),!this.first||"(punctuator)"!==this.first.type||"="!==this.first.value||this.first.paren||l.option.boss||I("W093",this.first),l.option.noreturnawait&&e&d.async&&!(e&d.tryClause)&&this.first.identifier&&"await"===this.first.value&&I("W146",this.first)):"(punctuator)"===l.tokens.next.type&&["[","{","+","-"].indexOf(l.tokens.next.value)>-1&&q(this),ve(this),this})).exps=!0,Z("await",(function(e){return e&d.async?(l.funct["(params)"]||O("E024",this,"await"),U(e,10),this):(this.exps=!1,l.syntax["(identifier)"].nud.apply(this,arguments))})).exps=!0,qe=Z("async",(function(e,t){return this.isFunc(e)?(l.inES8()||I("W119",this,"async functions","8"),e|=d.preAsync,this.func=U(e,t),this.identifier=!1,this):(this.exps=!1,l.syntax["(identifier)"].nud.apply(this,arguments))})),qe.meta={es5:!0,isFutureReservedWord:!0,strictOnly:!0},qe.isFunc=function(){var e=l.tokens.next;return this.line===e.line&&("function"===e.id||("("===e.id?"=>"===Te(0).id:!!e.identifier&&"=>"===R().id))},qe.useFud=qe.isFunc,qe.fud=function(e){return l.inES8()||I("W119",this,"async functions","8"),e|=d.preAsync,e|=d.initial,this.func=U(e,0),this.block=this.func.block,this.exps=this.func.exps,this},qe.exps=!0,delete qe.reserved,Ke=Z("yield",(function(e){if(l.inMoz())return $e.call(this,e);if(!(e&d.yield))return this.exps=!1,l.syntax["(identifier)"].nud.apply(this,arguments);var t=l.tokens.prev;return l.funct["(params)"]||O("E024",this,"yield"),!this.beginsStmt&&t.lbp>30&&!rt(t,["("])&&O("E061",this),l.inES6()||I("W104",l.tokens.curr,"yield","6"),l.funct["(yielded)"]=!0,"*"===l.tokens.next.value&&V("*"),("*"===l.tokens.curr.value||z(l.tokens.curr,l.tokens.next))&&(l.tokens.next.nud?(G(l.tokens.curr,l.tokens.next),this.first=U(e,10),"(punctuator)"!==this.first.type||"="!==this.first.value||this.first.paren||l.option.boss||I("W093",this.first)):l.tokens.next.led&&","!==l.tokens.next.id&&O("W017",l.tokens.next)),this})),Ke.rbp=Ke.lbp=25,Ke.exps=!0;var $e=function(e){var t=l.tokens.prev;!l.inES6(!0)||e&d.yield||O("E046",l.tokens.curr,"yield"),l.funct["(yielded)"]=!0;var n=!1;return"*"===l.tokens.next.value&&(n=!0,V("*")),z(this,l.tokens.next)?((n||";"!==l.tokens.next.id&&!l.option.asi&&!l.tokens.next.reach&&l.tokens.next.nud)&&(G(l.tokens.curr,l.tokens.next),this.first=U(e,10),"(punctuator)"!==this.first.type||"="!==this.first.value||this.first.paren||l.option.boss||I("W093",this.first)),")"!==l.tokens.next.id&&(t.lbp>30||!t.assign&&!H())&&O("E050",this)):l.option.asi||q(this),this};X("throw",(function(e){return q(this),this.first=U(e,20),ve(this),this})).exps=!0,Z("import",(function(e){var t=Re(e,"meta",(function(){l.inES11(!0)||I("W119",l.tokens.prev,"import.meta","11"),l.option.module||O("E070",l.tokens.prev)}));return t||(it(l.tokens.next,"(")?(l.inES11()||I("W119",l.tokens.curr,"dynamic import","11"),V("("),U(e,10),V(")"),this):l.syntax["(identifier)"].nud.call(this,e))}));var Xe=X("import",(function(e){if(l.funct["(scope)"].block.isGlobal()||O("E053",l.tokens.curr,"Import"),l.inES6()||I("W119",l.tokens.curr,"import","6"),"(string)"===l.tokens.next.type)return V("(string)"),this;if(l.tokens.next.identifier){if(this.name=ye(e),l.funct["(scope)"].addbinding(this.name,{type:"import",initialized:!0,token:l.tokens.curr}),","!==l.tokens.next.value)return V("from"),V("(string)"),this;V(",")}if("*"===l.tokens.next.id)V("*"),V("as"),l.tokens.next.identifier&&(this.name=ye(e),l.funct["(scope)"].addbinding(this.name,{type:"import",initialized:!0,token:l.tokens.curr}));else for(V("{");;){if("}"===l.tokens.next.value){V("}");break}var t;if("as"===R().value?(ye(e,!0),V("as"),t=ye(e)):t=ye(e),l.funct["(scope)"].addbinding(t,{type:"import",initialized:!0,token:l.tokens.curr}),","!==l.tokens.next.value){if("}"===l.tokens.next.value){V("}");break}O("E024",l.tokens.next,l.tokens.next.value);break}V(",")}return V("from"),V("(string)"),this}));function Qe(e,t){return("call"!==e||!t["(async)"])&&(!("property"!==e||!t["(method)"])||(!("call"!==e||!t["(statement)"]||"class"!==t["(statement)"].id)||!!t["(arrow)"]&&Qe(e,t["(context)"])))}Xe.exps=!0,Xe.reserved=!0,Xe.meta={isFutureReservedWord:!0,es5:!0},Xe.useFud=function(){return!rt(l.tokens.next,[".","("])},Xe.rbp=161,X("export",(function(e){var t,n,r=!0;if(e|=d.export,l.inES6()||(I("W119",l.tokens.curr,"export","6"),r=!1),l.funct["(scope)"].block.isGlobal()||(O("E053",l.tokens.curr,"Export"),r=!1),"*"===l.tokens.next.value)return V("*"),"as"===l.tokens.next.value&&(l.inES11()||I("W119",l.tokens.curr,"export * as ns from","11"),V("as"),ye(e,!0),l.funct["(scope)"].setExported(null,l.tokens.curr)),V("from"),V("(string)"),this;if("default"===l.tokens.next.type){l.nameStack.set(l.tokens.next),V("default");var i=l.tokens.curr,a=l.tokens.next.id;return"function"===a?(this.block=!0,V("function"),t=l.syntax.function.fud(e),l.funct["(scope)"].setExported(t.name,i)):"async"===a&&"function"===R().id?(this.block=!0,V("async"),V("function"),t=l.syntax.function.fud(e|d.preAsync),l.funct["(scope)"].setExported(t.name,i)):"class"===a?(this.block=!0,V("class"),t=l.syntax.class.fud(e),l.funct["(scope)"].setExported(t.name,i)):(U(e,10),l.funct["(scope)"].setExported(null,i)),this}if("{"===l.tokens.next.value){V("{");for(var o=[];!it(l.tokens.next,"}");)l.tokens.next.identifier||O("E030",l.tokens.next,l.tokens.next.value),V(),"as"===l.tokens.next.value?(V("as"),l.tokens.next.identifier||O("E030",l.tokens.next,l.tokens.next.value),o.push({local:l.tokens.prev,export:l.tokens.next}),V()):o.push({local:l.tokens.curr,export:l.tokens.curr}),it(l.tokens.next,"}")||V(",");return V("}"),"from"===l.tokens.next.value?(V("from"),n=l.tokens.next,V("(string)")):r&&o.forEach((function(e){l.funct["(scope)"].setExported(e.local,e.export)})),0===o.length&&(n?I("W142",this,"export",n.value):I("W141",this,"export")),this}return"var"===l.tokens.next.id?(V("var"),(t=l.tokens.curr.fud(e)).first.forEach((function(e){l.funct["(scope)"].setExported(e,e)}))):"let"===l.tokens.next.id?(V("let"),(t=l.tokens.curr.fud(e)).first.forEach((function(e){l.funct["(scope)"].setExported(e,e)}))):"const"===l.tokens.next.id?(V("const"),(t=l.tokens.curr.fud(e)).first.forEach((function(e){l.funct["(scope)"].setExported(e,e)}))):"function"===l.tokens.next.id?(this.block=!0,V("function"),t=l.syntax.function.fud(e),l.funct["(scope)"].setExported(t.name,t.name)):"async"===l.tokens.next.id&&"function"===R().id?(this.block=!0,V("async"),V("function"),t=l.syntax.function.fud(e|d.preAsync),l.funct["(scope)"].setExported(t.name,t.name)):"class"===l.tokens.next.id?(this.block=!0,V("class"),t=l.syntax.class.fud(e),l.funct["(scope)"].setExported(t.name,t.name)):O("E024",l.tokens.next,l.tokens.next.value),this})).exps=!0;var Ye=function(){var e=l.tokens.next;return rt(e,["[","."])?Qe("property",l.funct)||O("E063",this):it(e,"(")?Qe("call",l.funct)||O("E064",this):O("E024",e,e.value||e.id),this};ne("abstract"),ne("boolean"),ne("byte"),ne("char"),ne("double"),ne("enum",{es5:!0}),ne("export",{es5:!0}),ne("extends",{es5:!0}),ne("final"),ne("float"),ne("goto"),ne("implements",{es5:!0,strictOnly:!0}),ne("int"),ne("interface",{es5:!0,strictOnly:!0}),ne("long"),ne("native"),ne("package",{es5:!0,strictOnly:!0}),ne("private",{es5:!0,strictOnly:!0}),ne("protected",{es5:!0,strictOnly:!0}),ne("public",{es5:!0,strictOnly:!0}),ne("short"),ne("static",{es5:!0,strictOnly:!0}),ne("synchronized"),ne("transient"),ne("volatile");var Ze=function(){var e,t,n,r=-1,i=0,a={};rt(l.tokens.curr,["[","{"])&&(i+=1);do{if(n=-1===r?l.tokens.curr:e,e=-1===r?l.tokens.next:R(r),t=R(r+1),r+=1,rt(e,["[","{"])?i+=1:rt(e,["]","}"])&&(i-=1),1===i&&e.identifier&&"for"===e.value&&!it(n,".")){a.isCompArray=!0,a.notJson=!0;break}if(0===i&&rt(e,["}","]"])){if("="===t.value){a.isDestAssign=!0,a.notJson=!0;break}if("."===t.value){a.notJson=!0;break}}it(e,";")&&(a.notJson=!0)}while(i>0&&"(end)"!==e.id);return a};function et(e,t,n,r,i,a){n.identifier&&(t=n.value);var o=t;if(r&&i&&(o="static "+t),e[o]&&"__proto__"!==t&&!a){var s=["key","class method","static class method"];s=s[(r||!1)+(i||!1)],I("W075",l.tokens.next,s,t)}else e[o]=Object.create(null);e[o].basic=!0,e[o].basictkn=n}function tt(e,t,n,r,i,a){var o="get"===e?"getterToken":"setterToken",s=n;if(l.tokens.curr.accessorType=e,l.nameStack.set(r),i&&a&&(s="static "+n),t[s]){if((t[s].basic||t[s][o])&&"__proto__"!==n){var u="";i?(a&&(u+="static "),u+=e+"ter method"):u="key",I("W075",l.tokens.next,u,n)}}else t[s]=Object.create(null);t[s][o]=r,a&&(t[s].static=!0)}function nt(e){V("["),l.tokens.curr.delim=!0,l.tokens.curr.lbp=0,l.inES6()||I("W119",l.tokens.curr,"computed property names","6");var t=U(e&~d.noin,10);return V("]"),t}function rt(e,t){return"(punctuator)"===e.type&&r.includes(t,e.value)}function it(e,t){return"(punctuator)"===e.type&&e.value===t}function at(e){var t=Ze();t.notJson?(!l.inES6()&&t.isDestAssign&&I("W104",l.tokens.curr,"destructuring assignment","6"),be(e)):(l.option.laxbreak=!0,l.jsonMode=!0,st())}var ot=function(){var e,t=function(){this.mode="use",this.variables=[]},n=[];function i(t){return 0===e.variables.filter((function(e){if(e.value===t&&!e.undef)return!0===e.unused&&(e.unused=!1),t})).length}return{stack:function(){e=new t,n.push(e)},unstack:function(){e.variables.filter((function(e){e.unused&&I("W098",e.token,e.token.raw_text||e.value),e.undef&&l.funct["(scope)"].block.use(e.value,e.token)})),n.splice(-1,1),e=n[n.length-1]},setState:function(t){r.includes(["use","define","generate","filter"],t)&&(e.mode=t)},check:function(t){if(e)return e&&"use"===e.mode?(i(t)&&e.variables.push({token:l.tokens.curr,value:t,undef:!0,unused:!1}),!0):e&&"define"===e.mode?(function(t){return 0!==e.variables.filter((function(e){if(e.value===t)return e.undef=!1,t})).length}(t)||e.variables.push({token:l.tokens.curr,value:t,undef:!1,unused:!0}),!0):e&&"generate"===e.mode?(l.funct["(scope)"].block.use(t,l.tokens.curr),!0):!(!e||"filter"!==e.mode)&&(i(t)&&l.funct["(scope)"].block.use(t,l.tokens.curr),!0)}}};function st(){switch(l.tokens.next.id){case"{":!function(){var e={},t=l.tokens.next;if(V("{"),"}"!==l.tokens.next.id)for(;;){if("(end)"===l.tokens.next.id)O("E026",l.tokens.next,t.line);else{if("}"===l.tokens.next.id){I("W094",l.tokens.curr);break}","===l.tokens.next.id?O("E028",l.tokens.next):"(string)"!==l.tokens.next.id&&I("W095",l.tokens.next,l.tokens.next.value)}if(!0===e[l.tokens.next.value]?I("W075",l.tokens.next,"key",l.tokens.next.value):"__proto__"===l.tokens.next.value&&!l.option.proto||"__iterator__"===l.tokens.next.value&&!l.option.iterator?I("W096",l.tokens.next,l.tokens.next.value):e[l.tokens.next.value]=!0,V(),V(":"),st(),","!==l.tokens.next.id)break;V(",")}V("}")}();break;case"[":!function(){var e=l.tokens.next;if(V("["),"]"!==l.tokens.next.id)for(;;){if("(end)"===l.tokens.next.id)O("E027",l.tokens.next,e.line);else{if("]"===l.tokens.next.id){I("W094",l.tokens.curr);break}","===l.tokens.next.id&&O("E028",l.tokens.next)}if(st(),","!==l.tokens.next.id)break;V(",")}V("]")}();break;case"true":case"false":case"null":case"(number)":case"(string)":V();break;case"-":V("-"),V("(number)");break;default:O("E003",l.tokens.next)}}function ut(e,t,n){var r,i,a,o;for(i=0;i0&&(o.implieds=s),(a=l.funct["(scope)"].getUsedOrDefinedGlobals()).length>0&&(o.globals=a),r=1;r0&&(o.unused=u),D)if("number"===typeof D[i]){o.member=D;break}return o},ct.jshint=ct,ct}());t&&(t.JSHINT=h)},function(e,t,n){(function(r){var i,a,o,s=n(108).default,u=n(28).default,l=n(8).default,c=n(11).default,p=n(20).default,f=n(44).default,d=n(109).default,h=n(9).default,m=n(10).default,y=n(18).default,v=n(36).default,g=n(19).default,D=n(25).default;e.exports=function(){"use strict";var n=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}},b=n((function(e,t){var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r&&r)||function(){return this}()||Function("return this")()})),x=n((function(e,t){t.exports=function(e){try{return!!e()}catch(t){return!0}}})),C=n((function(e,t){var n=x();t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),E=n((function(e,t){var n=x();t.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),A=n((function(e,t){var n=E(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}})),w=n((function(e){var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!t.call({1:2},1);e.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:t})),k=n((function(e,t){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),S=n((function(e,t){var n=E(),r=Function.prototype,i=r.bind,a=r.call,o=n&&i.bind(a,a);t.exports=n?function(e){return e&&o(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}})),F=n((function(e,t){var n=S(),r=n({}.toString),i=n("".slice);t.exports=function(e){return i(r(e),8,-1)}})),T=n((function(e,t){var n=b(),r=S(),i=x(),a=F(),o=n.Object,s=r("".split);t.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?s(e,""):o(e)}:o})),P=n((function(e,t){var n=b().TypeError;t.exports=function(e){if(null==e)throw n("Can't call method on "+e);return e}})),B=n((function(e,t){var n=T(),r=P();t.exports=function(e){return n(r(e))}})),N=n((function(e,t){t.exports=function(e){return"function"==typeof e}})),I=n((function(e,t){var n=N();t.exports=function(e){return"object"==typeof e?null!==e:n(e)}})),L=n((function(e,t){var n=b(),r=N(),i=function(e){return r(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}})),O=n((function(e,t){var n=S();t.exports=n({}.isPrototypeOf)})),_=n((function(e,t){var n=L();t.exports=n("navigator","userAgent")||""})),M=n((function(e,t){var n,r,i=b(),a=_(),o=i.process,s=i.Deno,u=o&&o.versions||s&&s.version,l=u&&u.v8;l&&(r=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(r=+n[1]),t.exports=r})),j=n((function(e,t){var n=M(),r=x();t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))})),R=n((function(e,t){var n=j();t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),W=n((function(e,t){var n=b(),r=L(),i=N(),a=O(),o=R(),s=n.Object;t.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&a(t.prototype,s(e))}})),V=n((function(e,t){var n=b().String;t.exports=function(e){try{return n(e)}catch(t){return"Object"}}})),H=n((function(e,t){var n=b(),r=N(),i=V(),a=n.TypeError;t.exports=function(e){if(r(e))return e;throw a(i(e)+" is not a function")}})),U=n((function(e,t){var n=H();t.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}})),z=n((function(e,t){var n=b(),r=A(),i=N(),a=I(),o=n.TypeError;t.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!a(s=r(n,e))||i(n=e.valueOf)&&!a(s=r(n,e))||"string"!==t&&i(n=e.toString)&&!a(s=r(n,e)))return s;throw o("Can't convert object to primitive value")}})),G=n((function(e,t){t.exports=!1})),q=n((function(e,t){var n=b(),r=Object.defineProperty;t.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(i){n[e]=t}return t}})),K=n((function(e,t){var n=b(),r=q(),i="__core-js_shared__",a=n[i]||r(i,{});t.exports=a})),J=n((function(e,t){var n=G(),r=K();(t.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.2",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})})),$=n((function(e,t){var n=b(),r=P(),i=n.Object;t.exports=function(e){return i(r(e))}})),X=n((function(e,t){var n=S(),r=$(),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}})),Q=n((function(e,t){var n=S(),r=0,i=Math.random(),a=n(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++r+i,36)}})),Y=n((function(e,t){var n=b(),r=J(),i=X(),a=Q(),o=j(),s=R(),u=r("wks"),l=n.Symbol,c=l&&l.for,p=s?l:l&&l.withoutSetter||a;t.exports=function(e){if(!i(u,e)||!o&&"string"!=typeof u[e]){var t="Symbol."+e;o&&i(l,e)?u[e]=l[e]:u[e]=s&&c?c(t):p(t)}return u[e]}})),Z=n((function(e,t){var n=b(),r=A(),i=I(),a=W(),o=U(),s=z(),u=Y(),l=n.TypeError,c=u("toPrimitive");t.exports=function(e,t){if(!i(e)||a(e))return e;var n,u=o(e,c);if(u){if(void 0===t&&(t="default"),n=r(u,e,t),!i(n)||a(n))return n;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}})),ee=n((function(e,t){var n=Z(),r=W();t.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}})),te=n((function(e,t){var n=b(),r=I(),i=n.document,a=r(i)&&r(i.createElement);t.exports=function(e){return a?i.createElement(e):{}}})),ne=n((function(e,t){var n=C(),r=x(),i=te();t.exports=!n&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))})),re=n((function(e){var t=C(),n=A(),r=w(),i=k(),a=B(),o=ee(),s=X(),u=ne(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(e,t){if(e=a(e),t=o(t),u)try{return l(e,t)}catch(c){}if(s(e,t))return i(!n(r.f,e,t),e[t])}})),ie=n((function(e,t){var n=C(),r=x();t.exports=n&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),ae=n((function(e,t){var n=b(),r=I(),i=n.String,a=n.TypeError;t.exports=function(e){if(r(e))return e;throw a(i(e)+" is not an object")}})),oe=n((function(e){var t=b(),n=C(),r=ne(),i=ie(),a=ae(),o=ee(),s=t.TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c="enumerable",p="configurable",f="writable";e.f=n?i?function(e,t,n){if(a(e),t=o(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&f in n&&!n[f]){var r=l(e,t);r&&r[f]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:c in n?n[c]:r[c],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(a(e),t=o(t),a(n),r)try{return u(e,t,n)}catch(i){}if("get"in n||"set"in n)throw s("Accessors not supported");return"value"in n&&(e[t]=n.value),e}})),se=n((function(e,t){var n=C(),r=oe(),i=k();t.exports=n?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}})),ue=n((function(e,t){var n=S(),r=N(),i=K(),a=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource})),le=n((function(e,t){var n=b(),r=N(),i=ue(),a=n.WeakMap;t.exports=r(a)&&/native code/.test(i(a))})),ce=n((function(e,t){var n=J(),r=Q(),i=n("keys");t.exports=function(e){return i[e]||(i[e]=r(e))}})),pe=n((function(e,t){t.exports={}})),fe=n((function(e,t){var n,r,i,a,o,s,u,l,c=le(),p=b(),f=S(),d=I(),h=se(),m=X(),y=K(),v=ce(),g=pe(),D="Object already initialized",x=p.TypeError,C=p.WeakMap,E=function(e){return i(e)?r(e):n(e,{})},A=function(e){return function(t){var n;if(!d(t)||(n=r(t)).type!==e)throw x("Incompatible receiver, "+e+" required");return n}};c||y.state?(a=y.state||(y.state=new C),o=f(a.get),s=f(a.has),u=f(a.set),n=function(e,t){if(s(a,e))throw new x(D);return t.facade=e,u(a,e,t),t},r=function(e){return o(a,e)||{}},i=function(e){return s(a,e)}):(g[l=v("state")]=!0,n=function(e,t){if(m(e,l))throw new x(D);return t.facade=e,h(e,l,t),t},r=function(e){return m(e,l)?e[l]:{}},i=function(e){return m(e,l)}),t.exports={set:n,get:r,has:i,enforce:E,getterFor:A}})),de=n((function(e,t){var n=C(),r=X(),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,o=r(i,"name"),s=o&&"something"===function(){}.name,u=o&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:o,PROPER:s,CONFIGURABLE:u}})),he=n((function(e,t){var n=b(),r=N(),i=X(),a=se(),o=q(),s=ue(),u=fe(),l=de().CONFIGURABLE,c=u.get,p=u.enforce,f=String(String).split("String");(t.exports=function(e,t,s,u){var c,d=!!u&&!!u.unsafe,h=!!u&&!!u.enumerable,m=!!u&&!!u.noTargetGet,y=u&&void 0!==u.name?u.name:t;r(s)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(s,"name")||l&&s.name!==y)&&a(s,"name",y),(c=p(s)).source||(c.source=f.join("string"==typeof y?y:""))),e!==n?(d?!m&&e[t]&&(h=!0):delete e[t],h?e[t]=s:a(e,t,s)):h?e[t]=s:o(t,s)})(Function.prototype,"toString",(function(){return r(this)&&c(this).source||s(this)}))})),me=n((function(e,t){var n=Math.ceil,r=Math.floor;t.exports=function(e){var t=+e;return t!==t||0===t?0:(t>0?r:n)(t)}})),ye=n((function(e,t){var n=me(),r=Math.max,i=Math.min;t.exports=function(e,t){var a=n(e);return a<0?r(a+t,0):i(a,t)}})),ve=n((function(e,t){var n=me(),r=Math.min;t.exports=function(e){return e>0?r(n(e),9007199254740991):0}})),ge=n((function(e,t){var n=ve();t.exports=function(e){return n(e.length)}})),De=n((function(e,t){var n=B(),r=ye(),i=ge(),a=function(e){return function(t,a,o){var s,u=n(t),l=i(u),c=r(o,l);if(e&&a!=a){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===a)return e||c||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}})),be=n((function(e,t){var n=S(),r=X(),i=B(),a=De().indexOf,o=pe(),s=n([].push);t.exports=function(e,t){var n,u=i(e),l=0,c=[];for(n in u)!r(o,n)&&r(u,n)&&s(c,n);for(;t.length>l;)r(u,n=t[l++])&&(~a(c,n)||s(c,n));return c}})),xe=n((function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),Ce=n((function(e){var t=be(),n=xe().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,n)}})),Ee=n((function(e){e.f=Object.getOwnPropertySymbols})),Ae=n((function(e,t){var n=L(),r=S(),i=Ce(),a=Ee(),o=ae(),s=r([].concat);t.exports=n("Reflect","ownKeys")||function(e){var t=i.f(o(e)),n=a.f;return n?s(t,n(e)):t}})),we=n((function(e,t){var n=X(),r=Ae(),i=re(),a=oe();t.exports=function(e,t,o){for(var s=r(t),u=a.f,l=i.f,c=0;c0&&r(d))h=e(t,n,d,i(d),h,c-1)-1;else{if(h>=9007199254740991)throw o("Exceed the acceptable array length");t[h]=d}h++}m++}return h};t.exports=s})),Be=n((function(e,t){var n={};n[Y()("toStringTag")]="z",t.exports="[object z]"===String(n)})),Ne=n((function(e,t){var n=b(),r=Be(),i=N(),a=F(),o=Y()("toStringTag"),s=n.Object,u="Arguments"==a(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(n){}};t.exports=r?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=s(e),o))?n:u?a(t):"Object"==(r=a(t))&&i(t.callee)?"Arguments":r}})),Ie=n((function(e,t){var n=S(),r=x(),i=N(),a=Ne(),o=L(),s=ue(),u=function(){},l=[],c=o("Reflect","construct"),p=/^\s*(?:class|function)\b/,f=n(p.exec),d=!p.exec(u),h=function(e){if(!i(e))return!1;try{return c(u,l,e),!0}catch(t){return!1}},m=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!f(p,s(e))}catch(t){return!0}};m.sham=!0,t.exports=!c||r((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?m:h})),Le=n((function(e,t){var n=b(),r=Fe(),i=Ie(),a=I(),o=Y()("species"),s=n.Array;t.exports=function(e){var t;return r(e)&&(t=e.constructor,(i(t)&&(t===s||r(t.prototype))||a(t)&&null===(t=t[o]))&&(t=void 0)),void 0===t?s:t}})),Oe=n((function(e,t){var n=Le();t.exports=function(e,t){return new(n(e))(0===t?0:t)}})),_e=n((function(){var e=Se(),t=Pe(),n=H(),r=$(),i=ge(),a=Oe();e({target:"Array",proto:!0},{flatMap:function(e){var o,s=r(this),u=i(s);return n(e),(o=a(s,0)).length=t(o,s,s,u,0,1,e,arguments.length>1?arguments[1]:void 0),o}})})),Me=n((function(e,t){t.exports={}})),je=n((function(e,t){var n=Y(),r=Me(),i=n("iterator"),a=Array.prototype;t.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}})),Re=n((function(e,t){var n=Ne(),r=U(),i=Me(),a=Y()("iterator");t.exports=function(e){if(null!=e)return r(e,a)||r(e,"@@iterator")||i[n(e)]}})),We=n((function(e,t){var n=b(),r=A(),i=H(),a=ae(),o=V(),s=Re(),u=n.TypeError;t.exports=function(e,t){var n=arguments.length<2?s(e):t;if(i(n))return a(r(n,e));throw u(o(e)+" is not iterable")}})),Ve=n((function(e,t){var n=A(),r=ae(),i=U();t.exports=function(e,t,a){var o,s;r(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw a;return a}o=n(o,e)}catch(u){s=!0,o=u}if("throw"===t)throw a;if(s)throw o;return r(o),a}})),He=n((function(e,t){var n=b(),r=Te(),i=A(),a=ae(),o=V(),s=je(),u=ge(),l=O(),c=We(),p=Re(),f=Ve(),d=n.TypeError,h=function(e,t){this.stopped=e,this.result=t},m=h.prototype;t.exports=function(e,t,n){var y,v,g,D,b,x,C,E=n&&n.that,A=!(!n||!n.AS_ENTRIES),w=!(!n||!n.IS_ITERATOR),k=!(!n||!n.INTERRUPTED),S=r(t,E),F=function(e){return y&&f(y,"normal",e),new h(!0,e)},T=function(e){return A?(a(e),k?S(e[0],e[1],F):S(e[0],e[1])):k?S(e,F):S(e)};if(w)y=e;else{if(!(v=p(e)))throw d(o(e)+" is not iterable");if(s(v)){for(g=0,D=u(e);D>g;g++)if((b=T(e[g]))&&l(m,b))return b;return new h(!1)}y=c(e,v)}for(x=y.next;!(C=i(x,y)).done;){try{b=T(C.value)}catch(P){f(y,"throw",P)}if("object"==typeof b&&b&&l(m,b))return b}return new h(!1)}})),Ue=n((function(e,t){var n=ee(),r=oe(),i=k();t.exports=function(e,t,a){var o=n(t);o in e?r.f(e,o,i(0,a)):e[o]=a}})),ze=n((function(){var e=Se(),t=He(),n=Ue();e({target:"Object",stat:!0},{fromEntries:function(e){var r={};return t(e,(function(e,t){n(r,e,t)}),{AS_ENTRIES:!0}),r}})})),Ge=n((function(){Se()({global:!0},{globalThis:b()})})),qe=n((function(){Ge()})),Ke=n((function(){var e=Se(),t=Pe(),n=$(),r=ge(),i=me(),a=Oe();e({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,o=n(this),s=r(o),u=a(o,0);return u.length=t(u,o,o,s,0,void 0===e?1:i(e)),u}})})),Je=n((function(n,r){var b,x,C,E,A,w,k=["cliName","cliCategory","cliDescription"],S=["_"],F=["languageId"];function T(e,t){if(null==e)return{};var n,r,i=P(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&(!Object.prototype.propertyIsEnumerable.call(e,n)||(i[n]=e[n]))}return i}function P(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r=0)&&(i[n]=e[n]);return i}function B(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}_e(),ze(),qe(),Ke();var N,I=Object.create,L=Object.defineProperty,O=Object.getOwnPropertyDescriptor,_=Object.getOwnPropertyNames,M=Object.getPrototypeOf,j=Object.prototype.hasOwnProperty,R=function(e,t){return function(){return e&&(t=(0,e[_(e)[0]])(e=0)),t}},W=function(e,t){return function(){return t||(0,e[_(e)[0]])((t={exports:{}}).exports,t),t.exports}},V=function(e,t){for(var n in t)L(e,n,{get:t[n],enumerable:!0})},H=function(e,t,n,r){if(t&&"object"==typeof t||"function"==typeof t){var i,a=D(_(t));try{var o=function(){var a=i.value;!j.call(e,a)&&a!==n&&L(e,a,{get:function(){return t[a]},enumerable:!(r=O(t,a))||r.enumerable})};for(a.s();!(i=a.n()).done;)o()}catch(s){a.e(s)}finally{a.f()}}return e},U=function(e,t,n){return n=null!=e?I(M(e)):{},H(!t&&e&&e.__esModule?n:L(n,"default",{value:e,enumerable:!0}),e)},z=function(e){return H(L({},"__esModule",{value:!0}),e)},G=R({"":function(){N={env:{},argv:[]}}}),q=W({"package.json":function(e,t){t.exports={version:"2.7.1"}}}),K=W({"node_modules/diff/lib/diff/base.js":function(e){function t(){}function n(e,t,n,r,i){for(var a=0,o=t.length,s=0,u=0;ae.length?n:e})),l.value=e.join(p)}else l.value=e.join(n.slice(s,s+l.count));s+=l.count,l.added||(u+=l.count)}}var f=t[o-1];return o>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[o-2].value+=f.value,t.pop()),t}function r(e){return{newPos:e.newPos,components:e.components.slice(0)}}G(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=t,t.prototype={diff:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=i.callback;"function"==typeof i&&(a=i,i={}),this.options=i;var o=this;function s(e){return a?(setTimeout((function(){a(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var u=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,c=1,p=u+l,f=[{newPos:-1,components:[]}],d=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=u&&d+1>=l)return s([{value:this.join(t),count:t.length}]);function h(){for(var i=-1*c;i<=c;i+=2){var a=void 0,p=f[i-1],d=f[i+1],h=(d?d.newPos:0)-i;p&&(f[i-1]=void 0);var m=p&&p.newPos+1=u&&h+1>=l)return s(n(o,a.components,t,e,o.useLongestToken));f[i]=a}else f[i]=void 0}c++}if(a)!function e(){setTimeout((function(){if(c>p)return a();h()||e()}),0)}();else for(;c<=p;){var m=h();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var i=t.length,a=n.length,o=e.newPos,s=o-r,u=0;o+11&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}function o(e){return i(Number.NEGATIVE_INFINITY,e)}function s(e){return i({type:"root"},e)}function u(e){return i(-1,e)}function l(e,t){return a(e[0],Object.assign(Object.assign({},t),{},{expandedStates:e}))}function c(e){return{type:"fill",parts:e}}function p(e,t){return{type:"if-break",breakContents:e,flatContents:t,groupId:(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).groupId}}function f(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}}function d(e){return{type:"line-suffix",contents:e}}G();var h={type:"line-suffix-boundary"},m={type:"break-parent"},y={type:"trim"},v={type:"line",hard:!0},g={type:"line",hard:!0,literal:!0},D={type:"line"},b={type:"line",soft:!0},x=n([v,m]),C=n([g,m]),E={type:"cursor",placeholder:Symbol("cursor")};function A(e,t){for(var r=[],i=0;i0){for(var o=0;o=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"}function r(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function i(e,t){var n;switch(t){case"\n":n=/\n/g;break;case"\r":n=/\r/g;break;case"\r\n":n=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."))}var r=e.match(n);return r?r.length:0}function a(e){return e.replace(/\r\n?/g,"\n")}G(),t.exports={guessEndOfLine:n,convertEndOfLineToChars:r,countEndOfLineChars:i,normalizeEndOfLine:a}}}),Q=W({"src/utils/get-last.js":function(e,t){G();var n=function(e){return e[e.length-1]};t.exports=n}});function Y(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).onlyFirst,t=void 0!==e&&e,n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,t?void 0:"g")}var Z=R({"node_modules/strip-ansi/node_modules/ansi-regex/index.js":function(){G()}});function ee(e){if("string"!=typeof e)throw new TypeError("Expected a `string`, got `".concat(typeof e,"`"));return e.replace(Y(),"")}var te=R({"node_modules/strip-ansi/index.js":function(){G(),Z()}});function ne(e){return!!Number.isInteger(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)}var re=R({"node_modules/is-fullwidth-code-point/index.js":function(){G()}}),ie=W({"node_modules/emoji-regex/index.js":function(e,t){G(),t.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),ae={};function oe(e){if("string"!=typeof e||0===e.length||0===(e=ee(e)).length)return 0;e=e.replace((0,se.default)()," ");for(var t=0,n=0;n=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=ne(r)?2:1)}return t}V(ae,{default:function(){return oe}});var se,ue=R({"node_modules/string-width/index.js":function(){G(),te(),re(),se=U(ie())}}),le=W({"src/utils/get-string-width.js":function(e,t){G();var n=(ue(),z(ae)).default,r=/[^\x20-\x7F]/;function i(e){return e?r.test(e)?n(e):e.length:0}t.exports=i}}),ce=W({"src/document/doc-utils.js":function(e,t){G();var n=Q(),r=$(),i=r.literalline,a=r.join,o=function(e){return Array.isArray(e)||e&&"concat"===e.type},s=function(e){if(Array.isArray(e))return e;if("concat"!==e.type&&"fill"!==e.type)throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts},u={};function l(e,t,n,r){for(var i=[e];i.length>0;){var a=i.pop();if(a!==u){if(n&&i.push(a,u),!t||!1!==t(a))if(o(a)||"fill"===a.type)for(var l=s(a),c=l.length-1;c>=0;--c)i.push(l[c]);else if("if-break"===a.type)a.flatContents&&i.push(a.flatContents),a.breakContents&&i.push(a.breakContents);else if("group"===a.type&&a.expandedStates)if(r)for(var p=a.expandedStates.length-1;p>=0;--p)i.push(a.expandedStates[p]);else i.push(a.contents);else a.contents&&i.push(a.contents)}else n(i.pop())}}function c(e,t){var n=new Map;return r(e);function r(e){if(n.has(e))return n.get(e);var t=i(e);return n.set(e,t),t}function i(e){if(Array.isArray(e))return t(e.map(r));if("concat"===e.type||"fill"===e.type){var n=e.parts.map(r);return t(Object.assign(Object.assign({},e),{},{parts:n}))}if("if-break"===e.type){var i=e.breakContents&&r(e.breakContents),a=e.flatContents&&r(e.flatContents);return t(Object.assign(Object.assign({},e),{},{breakContents:i,flatContents:a}))}if("group"===e.type&&e.expandedStates){var o=e.expandedStates.map(r),s=o[0];return t(Object.assign(Object.assign({},e),{},{contents:s,expandedStates:o}))}if(e.contents){var u=r(e.contents);return t(Object.assign(Object.assign({},e),{},{contents:u}))}return t(e)}}function p(e,t,n){var r=n,i=!1;function a(e){var n=t(e);if(void 0!==n&&(i=!0,r=n),i)return!1}return l(e,a),r}function f(e){if("group"===e.type&&e.break||"line"===e.type&&e.hard||"break-parent"===e.type)return!0}function d(e){return p(e,f,!1)}function h(e){if(e.length>0){var t=n(e);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function m(e){var t=new Set,n=[];function r(e){if("break-parent"===e.type&&h(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}}function i(e){"group"===e.type&&n.pop().break&&h(n)}l(e,r,i,!0)}function y(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function b(e){return c(e,y)}var x=function(e,t){return e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type};function C(e){if(!e)return e;if(o(e)||"fill"===e.type){for(var t=s(e);t.length>1&&x.apply(void 0,g(t.slice(-2)));)t.length-=2;if(t.length>0){var r=C(n(t));t[t.length-1]=r}return Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":var i=C(e.contents);return Object.assign(Object.assign({},e),{},{contents:i});case"if-break":var a=C(e.breakContents),u=C(e.flatContents);return Object.assign(Object.assign({},e),{},{breakContents:a,flatContents:u})}return e}function E(e){return C(w(e))}function A(e){switch(e.type){case"fill":if(e.parts.every((function(e){return""===e})))return"";break;case"group":if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if("group"===e.contents.type&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!e.contents)return"";break;case"if-break":if(!e.flatContents&&!e.breakContents)return""}if(!o(e))return e;var t,r=[],i=D(s(e));try{for(i.s();!(t=i.n()).done;){var a=t.value;if(a){var u=o(a)?s(a):[a],l=v(u),c=l[0],p=l.slice(1);"string"==typeof c&&"string"==typeof n(r)?r[r.length-1]+=c:r.push(c),r.push.apply(r,g(p))}}}catch(f){i.e(f)}finally{i.f()}return 0===r.length?"":1===r.length?r[0]:Array.isArray(e)?r:Object.assign(Object.assign({},e),{},{parts:r})}function w(e){return c(e,(function(e){return A(e)}))}function k(e){for(var t=[],r=e.filter(Boolean);r.length>0;){var i=r.shift();if(i){if(o(i)){r.unshift.apply(r,g(s(i)));continue}if(t.length>0&&"string"==typeof n(t)&&"string"==typeof i){t[t.length-1]+=i;continue}t.push(i)}}return t}function S(e){return c(e,(function(e){return Array.isArray(e)?k(e):e.parts?Object.assign(Object.assign({},e),{},{parts:k(e.parts)}):e}))}function F(e){return c(e,(function(e){return"string"==typeof e&&e.includes("\n")?T(e):e}))}function T(e){return a(arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,e.split("\n")).parts}function P(e){if("line"===e.type)return!0}function B(e){return p(e,P,!1)}t.exports={isConcat:o,getDocParts:s,willBreak:d,traverseDoc:l,findInDoc:p,mapDoc:c,propagateBreaks:m,removeLines:b,stripTrailingHardline:E,normalizeParts:k,normalizeDoc:S,cleanDoc:w,replaceTextEndOfLine:T,replaceEndOfLine:F,canBreak:B}}}),pe=W({"src/document/doc-printer.js":function(e,t){G();var n,r=X().convertEndOfLineToChars,i=Q(),a=le(),o=$(),s=o.fill,u=o.cursor,l=o.indent,c=ce(),p=c.isConcat,f=c.getDocParts,d=1,h=2;function m(){return{value:"",length:0,queue:[]}}function v(e,t){return x(e,{type:"indent"},t)}function b(e,t,n){return t===Number.NEGATIVE_INFINITY?e.root||m():t<0?x(e,{type:"dedent"},n):t?"root"===t.type?Object.assign(Object.assign({},e),{},{root:e}):x(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n):e}function x(e,t,n){var r,i="dedent"===t.type?e.queue.slice(0,-1):[].concat(g(e.queue),[t]),a="",o=0,s=0,u=0,l=D(i);try{for(l.s();!(r=l.n()).done;){var c=r.value;switch(c.type){case"indent":d(),n.useTabs?p(1):f(n.tabWidth);break;case"stringAlign":d(),a+=c.n,o+=c.n.length;break;case"numberAlign":s+=1,u+=c.n;break;default:throw new Error("Unexpected type '".concat(c.type,"'"))}}}catch(v){l.e(v)}finally{l.f()}return m(),Object.assign(Object.assign({},e),{},{value:a,length:o,queue:i});function p(e){a+="\t".repeat(e),o+=n.tabWidth*e}function f(e){a+=" ".repeat(e),o+=e}function d(){n.useTabs?h():m()}function h(){s>0&&p(s),y()}function m(){u>0&&f(u),y()}function y(){s=0,u=0}}function C(e){if(0===e.length)return 0;for(var t=0;e.length>0&&"string"==typeof i(e)&&/^[\t ]*$/.test(i(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof i(e)){var n=i(e).replace(/[\t ]*$/,"");t+=i(e).length-n.length,e[e.length-1]=n}return t}function E(e,t,r,o,s,u){for(var c=t.length,m=[e],g=[];r>=0;)if(0!==m.length){var D=m.pop(),x=y(D,3),E=x[0],A=x[1],w=x[2];if("string"==typeof w)g.push(w),r-=a(w);else if(p(w))for(var k=f(w),S=k.length-1;S>=0;S--)m.push([E,A,k[S]]);else switch(w.type){case"indent":m.push([v(E,o),A,w.contents]);break;case"align":m.push([b(E,w.n,o),A,w.contents]);break;case"trim":r+=C(g);break;case"group":if(u&&w.break)return!1;var F=w.break?d:A;m.push([E,F,w.expandedStates&&F===d?i(w.expandedStates):w.contents]),w.id&&(n[w.id]=F);break;case"fill":for(var T=w.parts.length-1;T>=0;T--)m.push([E,A,w.parts[T]]);break;case"if-break":case"indent-if-break":var P=w.groupId?n[w.groupId]:A;if(P===d){var B="if-break"===w.type?w.breakContents:w.negate?w.contents:l(w.contents);B&&m.push([E,A,B])}if(P===h){var N="if-break"===w.type?w.flatContents:w.negate?l(w.contents):w.contents;N&&m.push([E,A,N])}break;case"line":switch(A){case h:if(!w.hard){w.soft||(g.push(" "),r-=1);break}return!0;case d:return!0}break;case"line-suffix":s=!0;break;case"line-suffix-boundary":if(s)return!1;break;case"label":m.push([E,A,w.contents])}}else{if(0===c)return!0;m.push(t[c-1]),c--}return!1}function A(e,t){n={};for(var o=t.printWidth,c=r(t.endOfLine),D=0,x=[[m(),d,e]],A=[],w=!1,k=[];x.length>0;){var S=x.pop(),F=y(S,3),T=F[0],P=F[1],B=F[2];if("string"==typeof B){var N="\n"!==c?B.replace(/\n/g,c):B;A.push(N),D+=a(N)}else if(p(B))for(var I=f(B),L=I.length-1;L>=0;L--)x.push([T,P,I[L]]);else switch(B.type){case"cursor":A.push(u.placeholder);break;case"indent":x.push([v(T,t),P,B.contents]);break;case"align":x.push([b(T,B.n,t),P,B.contents]);break;case"trim":D-=C(A);break;case"group":switch(P){case h:if(!w){x.push([T,B.break?d:h,B.contents]);break}case d:w=!1;var O=[T,h,B.contents],_=o-D,M=k.length>0;if(!B.break&&E(O,x,_,t,M))x.push(O);else if(B.expandedStates){var j=i(B.expandedStates);if(B.break){x.push([T,d,j]);break}for(var R=1;R=B.expandedStates.length){x.push([T,d,j]);break}var W=B.expandedStates[R],V=[T,h,W];if(E(V,x,_,t,M)){x.push(V);break}}}else x.push([T,d,B.contents])}B.id&&(n[B.id]=i(x)[1]);break;case"fill":var H=o-D,U=B.parts;if(0===U.length)break;var z=y(U,2),G=z[0],q=z[1],K=[T,h,G],J=[T,d,G],$=E(K,[],H,t,k.length>0,!0);if(1===U.length){$?x.push(K):x.push(J);break}var X=[T,h,q],Q=[T,d,q];if(2===U.length){$?x.push(X,K):x.push(Q,J);break}U.splice(0,2);var Y=[T,P,s(U)],Z=U[0];E([T,h,[G,q,Z]],[],H,t,k.length>0,!0)?x.push(Y,X,K):$?x.push(Y,Q,K):x.push(Y,Q,J);break;case"if-break":case"indent-if-break":var ee=B.groupId?n[B.groupId]:P;if(ee===d){var te="if-break"===B.type?B.breakContents:B.negate?B.contents:l(B.contents);te&&x.push([T,P,te])}if(ee===h){var ne="if-break"===B.type?B.flatContents:B.negate?l(B.contents):B.contents;ne&&x.push([T,P,ne])}break;case"line-suffix":k.push([T,P,B.contents]);break;case"line-suffix-boundary":k.length>0&&x.push([T,P,{type:"line",hard:!0}]);break;case"line":switch(P){case h:if(!B.hard){B.soft||(A.push(" "),D+=1);break}w=!0;case d:if(k.length>0){x.push.apply(x,[[T,P,B]].concat(g(k.reverse()))),k=[];break}B.literal?T.root?(A.push(c,T.root.value),D=T.root.length):(A.push(c),D=0):(D-=C(A),A.push(c+T.value),D=T.length)}break;case"label":x.push([T,P,B.contents])}0===x.length&&k.length>0&&(x.push.apply(x,g(k.reverse())),k=[])}var re=A.indexOf(u.placeholder);if(-1!==re){var ie=A.indexOf(u.placeholder,re+1),ae=A.slice(0,re).join(""),oe=A.slice(re+1,ie).join("");return{formatted:ae+oe+A.slice(ie+1).join(""),cursorNodeStart:ae.length,cursorNodeText:oe}}return{formatted:A.join("")}}t.exports={printDocToString:A}}}),fe=W({"src/document/doc-debug.js":function(e,t){G();var n=ce(),r=n.isConcat,i=n.getDocParts;function a(e){if(!e)return"";if(r(e)){var t,n=[],o=D(i(e));try{for(o.s();!(t=o.n()).done;){var s=t.value;if(r(s))n.push.apply(n,g(a(s).parts));else{var u=a(s);""!==u&&n.push(u)}}}catch(l){o.e(l)}finally{o.f()}return{type:"concat",parts:n}}return"if-break"===e.type?Object.assign(Object.assign({},e),{},{breakContents:a(e.breakContents),flatContents:a(e.flatContents)}):"group"===e.type?Object.assign(Object.assign({},e),{},{contents:a(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(a)}):"fill"===e.type?{type:"fill",parts:e.parts.map(a)}:e.contents?Object.assign(Object.assign({},e),{},{contents:a(e.contents)}):e}function o(e){var t=Object.create(null),n=new Set;return o(a(e));function o(e,t,n){if("string"==typeof e)return JSON.stringify(e);if(r(e)){var a=i(e).map(o).filter(Boolean);return 1===a.length?a[0]:"[".concat(a.join(", "),"]")}if("line"===e.type){var u=Array.isArray(n)&&n[t+1]&&"break-parent"===n[t+1].type;return e.literal?u?"literalline":"literallineWithoutBreakParent":e.hard?u?"hardline":"hardlineWithoutBreakParent":e.soft?"softline":"line"}if("break-parent"===e.type)return Array.isArray(n)&&n[t-1]&&"line"===n[t-1].type&&n[t-1].hard?void 0:"breakParent";if("trim"===e.type)return"trim";if("indent"===e.type)return"indent("+o(e.contents)+")";if("align"===e.type)return e.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+o(e.contents)+")":e.n<0?"dedent("+o(e.contents)+")":"root"===e.n.type?"markAsRoot("+o(e.contents)+")":"align("+JSON.stringify(e.n)+", "+o(e.contents)+")";if("if-break"===e.type)return"ifBreak("+o(e.breakContents)+(e.flatContents?", "+o(e.flatContents):"")+(e.groupId?(e.flatContents?"":', ""')+", { groupId: ".concat(s(e.groupId)," }"):"")+")";if("indent-if-break"===e.type){var l=[];e.negate&&l.push("negate: true"),e.groupId&&l.push("groupId: ".concat(s(e.groupId)));var c=l.length>0?", { ".concat(l.join(", ")," }"):"";return"indentIfBreak(".concat(o(e.contents)).concat(c,")")}if("group"===e.type){var p=[];e.break&&"propagated"!==e.break&&p.push("shouldBreak: true"),e.id&&p.push("id: ".concat(s(e.id)));var f=p.length>0?", { ".concat(p.join(", ")," }"):"";return e.expandedStates?"conditionalGroup([".concat(e.expandedStates.map((function(e){return o(e)})).join(","),"]").concat(f,")"):"group(".concat(o(e.contents)).concat(f,")")}if("fill"===e.type)return"fill([".concat(e.parts.map((function(e){return o(e)})).join(", "),"])");if("line-suffix"===e.type)return"lineSuffix("+o(e.contents)+")";if("line-suffix-boundary"===e.type)return"lineSuffixBoundary";if("label"===e.type)return"label(".concat(JSON.stringify(e.label),", ").concat(o(e.contents),")");throw new Error("Unknown doc type "+e.type)}function s(e){if("symbol"!=typeof e)return JSON.stringify(String(e));if(e in t)return t[e];for(var r=String(e).slice(7,-1)||"symbol",i=0;;i++){var a=r+(i>0?" #".concat(i):"");if(!n.has(a))return n.add(a),t[e]="Symbol.for(".concat(JSON.stringify(a),")")}}}t.exports={printDocToDebug:o}}}),de=W({"src/document/index.js":function(e,t){G(),t.exports={builders:$(),printer:pe(),utils:ce(),debug:fe()}}}),he={};function me(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}V(he,{default:function(){return me}});var ye=R({"node_modules/escape-string-regexp/index.js":function(){G()}}),ve=W({"node_modules/semver/internal/debug.js":function(e,t){G();var n="object"==typeof N&&N.env&&N.env.NODE_DEBUG&&/\bsemver\b/i.test(N.env.NODE_DEBUG)?function(){for(var e,t=arguments.length,n=new Array(t),r=0;r)?=?)"),u("XRANGEIDENTIFIERLOOSE","".concat(a[o.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),u("XRANGEIDENTIFIER","".concat(a[o.NUMERICIDENTIFIER],"|x|X|\\*")),u("XRANGEPLAIN","[v=\\s]*(".concat(a[o.XRANGEIDENTIFIER],")(?:\\.(").concat(a[o.XRANGEIDENTIFIER],")(?:\\.(").concat(a[o.XRANGEIDENTIFIER],")(?:").concat(a[o.PRERELEASE],")?").concat(a[o.BUILD],"?)?)?")),u("XRANGEPLAINLOOSE","[v=\\s]*(".concat(a[o.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(a[o.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(a[o.XRANGEIDENTIFIERLOOSE],")(?:").concat(a[o.PRERELEASELOOSE],")?").concat(a[o.BUILD],"?)?)?")),u("XRANGE","^".concat(a[o.GTLT],"\\s*").concat(a[o.XRANGEPLAIN],"$")),u("XRANGELOOSE","^".concat(a[o.GTLT],"\\s*").concat(a[o.XRANGEPLAINLOOSE],"$")),u("COERCE","(^|[^\\d])(\\d{1,".concat(n,"})(?:\\.(\\d{1,").concat(n,"}))?(?:\\.(\\d{1,").concat(n,"}))?(?:$|[^\\d])")),u("COERCERTL",a[o.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM","(\\s*)".concat(a[o.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",u("TILDE","^".concat(a[o.LONETILDE]).concat(a[o.XRANGEPLAIN],"$")),u("TILDELOOSE","^".concat(a[o.LONETILDE]).concat(a[o.XRANGEPLAINLOOSE],"$")),u("LONECARET","(?:\\^)"),u("CARETTRIM","(\\s*)".concat(a[o.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",u("CARET","^".concat(a[o.LONECARET]).concat(a[o.XRANGEPLAIN],"$")),u("CARETLOOSE","^".concat(a[o.LONECARET]).concat(a[o.XRANGEPLAINLOOSE],"$")),u("COMPARATORLOOSE","^".concat(a[o.GTLT],"\\s*(").concat(a[o.LOOSEPLAIN],")$|^$")),u("COMPARATOR","^".concat(a[o.GTLT],"\\s*(").concat(a[o.FULLPLAIN],")$|^$")),u("COMPARATORTRIM","(\\s*)".concat(a[o.GTLT],"\\s*(").concat(a[o.LOOSEPLAIN],"|").concat(a[o.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE","^\\s*(".concat(a[o.XRANGEPLAIN],")\\s+-\\s+(").concat(a[o.XRANGEPLAIN],")\\s*$")),u("HYPHENRANGELOOSE","^\\s*(".concat(a[o.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(a[o.XRANGEPLAINLOOSE],")\\s*$")),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),be=W({"node_modules/semver/internal/parse-options.js":function(e,t){G();var n=["includePrerelease","loose","rtl"],r=function(e){return e?"object"!=typeof e?{loose:!0}:n.filter((function(t){return e[t]})).reduce((function(e,t){return e[t]=!0,e}),{}):{}};t.exports=r}}),xe=W({"node_modules/semver/internal/identifiers.js":function(e,t){G();var n=/^[0-9]+$/,r=function(e,t){var r=n.test(e),i=n.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:ei)throw new TypeError("version is longer than ".concat(i," characters"));n("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;var o=t.trim().match(r.loose?s[u.LOOSE]:s[u.FULL]);if(!o)throw new TypeError("Invalid Version: ".concat(t));if(this.raw=t,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>a||this.major<0)throw new TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>a||this.patch<0)throw new TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}]),e}();t.exports=p}}),Ee=W({"node_modules/semver/functions/compare.js":function(e,t){G();var n=Ce(),r=function(e,t,r){return new n(e,r).compare(new n(t,r))};t.exports=r}}),Ae=W({"node_modules/semver/functions/lt.js":function(e,t){G();var n=Ee(),r=function(e,t,r){return n(e,t,r)<0};t.exports=r}}),we=W({"node_modules/semver/functions/gte.js":function(e,t){G();var n=Ee(),r=function(e,t,r){return n(e,t,r)>=0};t.exports=r}}),ke=W({"src/utils/arrayify.js":function(e,t){G(),t.exports=function(e,t){return Object.entries(e).map((function(e){var n=y(e,2),r=n[0],i=n[1];return Object.assign(d({},t,r),i)}))}}}),Se=W({"node_modules/outdent/lib/index.js":function(e,t){function n(){for(var e=[],t=0;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.plugins,o=void 0===t?[]:t,u=e.showUnreleased,l=void 0!==u&&u,c=e.showDeprecated,p=void 0!==c&&c,f=e.showInternal,d=void 0!==f&&f,h=i.split("-",1)[0],m=o.flatMap((function(e){return e.languages||[]})).filter(v),y=r(Object.assign.apply(Object,[{}].concat(g(o.map((function(e){return e.options}))),[a])),"name").filter((function(e){return v(e)&&D(e)})).sort((function(e,t){return e.name===t.name?0:e.name0}G(),t.exports=n}}),Be=W({"src/utils/text/skip.js":function(e,t){function n(e){return function(t,n,r){var i=r&&r.backwards;if(!1===n)return!1;for(var a=t.length,o=n;o>=0&&o=0&&o2&&void 0!==arguments[2]?arguments[2]:{},r=l(e,n.backwards?t-1:t,n);return r!==h(e,r,n)}function b(e,t,n){for(var r=t;r2&&void 0!==arguments[2]?arguments[2]:{};return l(e,n.backwards?t-1:t,n)!==t}function S(e,t){for(var n=0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;r(e.match(a.regex)||[]).length?a:i),o}function P(e,t){var n=e.slice(1,-1);return B(n,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":T(n,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))}function B(e,t,n){var r='"'===t?"'":'"',i=/\\([\s\S])|(["'])/g,a=e.replace(i,(function(e,i,a){return i===r?i:a===t?"\\"+a:a||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)}));return t+a+t}function N(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function I(e,t){var r=e.match(new RegExp("(".concat(n(t),")+"),"g"));return null===r?0:r.reduce((function(e,n){return Math.max(e,n.length/t.length)}),0)}function L(e,t){var r=e.match(new RegExp("(".concat(n(t),")+"),"g"));if(null===r)return 0;var i,a=new Map,o=0,s=D(r);try{for(s.s();!(i=s.n()).done;){var u=i.value.length/t.length;a.set(u,!0),u>o&&(o=u)}}catch(c){s.e(c)}finally{s.f()}for(var l=1;l20&&(n=n.slice(0,19)+"…"),t+(n?" "+n:"")}t.exports={inferParserByLanguage:R,getStringWidth:o,getMaxContinuousCount:I,getMinNotPresentContinuousCount:L,getPenultimate:y,getLast:r,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:m,getNextNonSpaceNonCommentCharacterIndex:A,getNextNonSpaceNonCommentCharacter:w,skip:v,skipWhitespace:u,skipSpaces:l,skipToLineEnd:c,skipEverythingButNewLine:p,skipInlineComment:f,skipTrailingComment:d,skipNewline:h,isNextLineEmptyAfterIndex:C,isNextLineEmpty:E,isPreviousLineEmpty:x,hasNewline:g,hasNewlineInRange:b,hasSpaces:k,getAlignmentSize:S,getIndentSize:F,getPreferredQuote:T,printString:P,printNumber:N,makeString:B,addLeadingComment:_,addDanglingComment:M,addTrailingComment:j,isFrontMatterNode:W,isNonEmptyArray:a,createGroupIdMapper:V}}}),je={};function Re(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function We(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:"/";if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return(t?"/":"")+(e=Re(Qe(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function Ve(e){var t=He(e),n="/"===rt(e,-1);return!(e=Re(Qe(e.split("/"),(function(e){return!!e})),!t).join("/"))&&!t&&(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function He(e){return"/"===e.charAt(0)}function Ue(){return Ve(Qe(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function Ge(e,t){function n(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=We(e).substr(1),t=We(t).substr(1);for(var r=n(e.split("/")),i=n(t.split("/")),a=Math.min(r.length,i.length),o=a,s=0;s=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}function pt(e,t){return function(n,r){t(n,r,e)}}function ft(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function dt(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{u(r.next(e))}catch(t){a(t)}}function s(e){try{u(r.throw(e))}catch(t){a(t)}}function u(e){e.done?n(e.value):i(e.value).then(o,s)}u((r=r.apply(e,t||[])).next())}))}function ht(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function gt(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function Dt(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{u(i[e](t))}catch(n){p(a[0][3],n)}}function u(e){e.value instanceof xt?Promise.resolve(e.value.v).then(l,c):p(a[0][2],e)}function l(e){s("next",e)}function c(e){s("throw",e)}function p(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function Et(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:xt(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function At(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"==typeof vt?vt(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,a){i(r,a,(t=e[n](t)).done,t.value)}))}}function i(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}}function wt(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function kt(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function St(e){return e&&e.__esModule?e:{default:e}}function Ft(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function Tt(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}V(st,{__assign:function(){return Bt},__asyncDelegator:function(){return Et},__asyncGenerator:function(){return Ct},__asyncValues:function(){return At},__await:function(){return xt},__awaiter:function(){return dt},__classPrivateFieldGet:function(){return Ft},__classPrivateFieldSet:function(){return Tt},__createBinding:function(){return mt},__decorate:function(){return ct},__exportStar:function(){return yt},__extends:function(){return ut},__generator:function(){return ht},__importDefault:function(){return St},__importStar:function(){return kt},__makeTemplateObject:function(){return wt},__metadata:function(){return ft},__param:function(){return pt},__read:function(){return gt},__rest:function(){return lt},__spread:function(){return Dt},__spreadArrays:function(){return bt},__values:function(){return vt}});var Pt,Bt,Nt=R({"node_modules/tslib/tslib.es6.js":function(){G(),Pt=function(e,t){return(Pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},Bt=function(){return Bt=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.length&&(e=t,t=i);var a=e.length,o=t.length;if(0===a)return o;if(0===o)return a;for(;a>0&&e.charCodeAt(~-a)===t.charCodeAt(~-o);)a--,o--;if(0===a)return o;for(var s=0;sl?p>l?l+1:p:p>c?c+1:p;return l}}}),Vt=W({"node_modules/vnopts/lib/handlers/unknown/leven.js":function(e){G(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ot(),n=Wt();e.levenUnknownHandler=function(e,r,i){var a=i.descriptor,o=i.logger,s=i.schemas,u=["Ignored unknown option ".concat(t.default.yellow(a.pair({key:e,value:r})),".")],l=Object.keys(s).sort().find((function(t){return n(e,t)<3}));l&&u.push("Did you mean ".concat(t.default.blue(a.key(l)),"?")),o.warn(u.join(" "))}}}),Ht=W({"node_modules/vnopts/lib/handlers/unknown/index.js":function(e){G(),Object.defineProperty(e,"__esModule",{value:!0}),(Nt(),z(st)).__exportStar(Vt(),e)}}),Ut=W({"node_modules/vnopts/lib/handlers/index.js":function(e){G(),Object.defineProperty(e,"__esModule",{value:!0});var t=(Nt(),z(st));t.__exportStar(Mt(),e),t.__exportStar(Rt(),e),t.__exportStar(Ht(),e)}}),zt=W({"node_modules/vnopts/lib/schema.js":function(e){G(),Object.defineProperty(e,"__esModule",{value:!0});var t=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function n(e,n){var a,o=new e(n),s=Object.create(o),u=D(t);try{for(u.s();!(a=u.n()).done;){var l=a.value;l in n&&(s[l]=i(n[l],o,r.prototype[l].length))}}catch(c){u.e(c)}finally{u.f()}return s}e.createSchema=n;var r=function(){function e(t){h(this,e),this.name=t.name}return m(e,[{key:"default",value:function(e){}},{key:"expected",value:function(e){return"nothing"}},{key:"validate",value:function(e,t){return!1}},{key:"deprecated",value:function(e,t){return!1}},{key:"forward",value:function(e,t){}},{key:"redirect",value:function(e,t){}},{key:"overlap",value:function(e,t,n){return e}},{key:"preprocess",value:function(e,t){return e}},{key:"postprocess",value:function(e,t){return e}}],[{key:"create",value:function(e){return n(this,e)}}]),e}();function i(e,t,n){return"function"==typeof e?function(){for(var r=arguments.length,i=new Array(r),a=0;a2&&void 0!==arguments[2]&&arguments[2])||[{value:t}]:"value"in e?[e]:0!==e.length&&e)}function c(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function p(e,t){return void 0===e?[]:Array.isArray(e)?e.map((function(e){return c(e,t)})):[c(e,t)]}function f(e,t){var n=p("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}G(),Object.defineProperty(e,"__esModule",{value:!0}),e.recordFromArray=t,e.mapFromArray=n,e.createAutoChecklist=r,e.partition=i,e.isInt=a,e.comparePrimitive=o,e.normalizeDefaultResult=s,e.normalizeValidateResult=u,e.normalizeDeprecatedResult=l,e.normalizeTransferResult=c,e.normalizeForwardResult=p,e.normalizeRedirectResult=f}}),Xt=W({"node_modules/vnopts/lib/schemas/choice.js":function(e){G(),Object.defineProperty(e,"__esModule",{value:!0});var t=zt(),n=$t(),r=function(e){c(r,e);var t=p(r);function r(e){var i;return h(this,r),(i=t.call(this,e))._choices=n.mapFromArray(e.choices.map((function(e){return e&&"object"==typeof e?e:{value:e}})),"value"),i}return m(r,[{key:"expected",value:function(e){var t=this,r=e.descriptor,i=Array.from(this._choices.keys()).map((function(e){return t._choices.get(e)})).filter((function(e){return!e.deprecated})).map((function(e){return e.value})).sort(n.comparePrimitive).map(r.value),a=i.slice(0,-2),o=i.slice(-2);return a.concat(o.join(" or ")).join(", ")}},{key:"validate",value:function(e){return this._choices.has(e)}},{key:"deprecated",value:function(e){var t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}},{key:"forward",value:function(e){var t=this._choices.get(e);return t?t.forward:void 0}},{key:"redirect",value:function(e){var t=this._choices.get(e);return t?t.redirect:void 0}}]),r}(t.Schema);e.ChoiceSchema=r}}),Qt=W({"node_modules/vnopts/lib/schemas/number.js":function(e){G(),Object.defineProperty(e,"__esModule",{value:!0});var t=function(e){c(n,e);var t=p(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"expected",value:function(){return"a number"}},{key:"validate",value:function(e,t){return"number"==typeof e}}]),n}(zt().Schema);e.NumberSchema=t}}),Yt=W({"node_modules/vnopts/lib/schemas/integer.js":function(e){G(),Object.defineProperty(e,"__esModule",{value:!0});var t=$t(),n=function(e){c(r,e);var n=p(r);function r(){return h(this,r),n.apply(this,arguments)}return m(r,[{key:"expected",value:function(){return"an integer"}},{key:"validate",value:function(e,n){return!0===n.normalizeValidateResult(u(l(r.prototype),"validate",this).call(this,e,n),e)&&t.isInt(e)}}]),r}(Qt().NumberSchema);e.IntegerSchema=n}}),Zt=W({"node_modules/vnopts/lib/schemas/string.js":function(e){G(),Object.defineProperty(e,"__esModule",{value:!0});var t=function(e){c(n,e);var t=p(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"expected",value:function(){return"a string"}},{key:"validate",value:function(e){return"string"==typeof e}}]),n}(zt().Schema);e.StringSchema=t}}),en=W({"node_modules/vnopts/lib/schemas/index.js":function(e){G(),Object.defineProperty(e,"__esModule",{value:!0});var t=(Nt(),z(st));t.__exportStar(Gt(),e),t.__exportStar(qt(),e),t.__exportStar(Kt(),e),t.__exportStar(Jt(),e),t.__exportStar(Xt(),e),t.__exportStar(Yt(),e),t.__exportStar(Qt(),e),t.__exportStar(Zt(),e)}}),tn=W({"node_modules/vnopts/lib/defaults.js":function(e){G(),Object.defineProperty(e,"__esModule",{value:!0});var t=It(),n=_t(),r=Rt(),i=Vt();e.defaultDescriptor=t.apiDescriptor,e.defaultUnknownHandler=i.levenUnknownHandler,e.defaultInvalidHandler=r.commonInvalidHandler,e.defaultDeprecatedHandler=n.commonDeprecatedHandler}}),nn=W({"node_modules/vnopts/lib/normalize.js":function(e){G(),Object.defineProperty(e,"__esModule",{value:!0});var t=tn(),n=$t();e.normalize=function(e,t,n){return new r(t,n).normalize(e)};var r=function(){function e(r,i){h(this,e);var a=i||{},o=a.logger,s=void 0===o?console:o,u=a.descriptor,l=void 0===u?t.defaultDescriptor:u,c=a.unknown,p=void 0===c?t.defaultUnknownHandler:c,f=a.invalid,d=void 0===f?t.defaultInvalidHandler:f,m=a.deprecated,y=void 0===m?t.defaultDeprecatedHandler:m;this._utils={descriptor:l,logger:s||{warn:function(){}},schemas:n.recordFromArray(r,"name"),normalizeDefaultResult:n.normalizeDefaultResult,normalizeDeprecatedResult:n.normalizeDeprecatedResult,normalizeForwardResult:n.normalizeForwardResult,normalizeRedirectResult:n.normalizeRedirectResult,normalizeValidateResult:n.normalizeValidateResult},this._unknownHandler=p,this._invalidHandler=d,this._deprecatedHandler=y,this.cleanHistory()}return m(e,[{key:"cleanHistory",value:function(){this._hasDeprecationWarned=n.createAutoChecklist()}},{key:"normalize",value:function(e){var t=this,r={},i=[e],a=function(){for(;0!==i.length;){var e=i.shift(),n=t._applyNormalization(e,r);i.push.apply(i,g(n))}};a();for(var o=0,s=Object.keys(this._utils.schemas);o0&&!this._flags.includes(e)){var i=this._flags.find((function(t){return n(t,e)<3}));if(i)return r.logger.warn(["Unknown flag ".concat(t.yellow(r.descriptor.value(e)),","),"did you mean ".concat(t.blue(r.descriptor.value(i)),"?")].join(" ")),i}return e}},{key:"expected",value:function(){return"a flag"}}]),i}(r.ChoiceSchema)};function s(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.logger,s=void 0!==o&&o,l=i.isCLI,c=void 0!==l&&l,p=i.passThrough,f=void 0!==p&&p,h=i.colorsModule,m=void 0===h?null:h,y=i.levenshteinDistance,v=void 0===y?null:y,g=f?Array.isArray(f)?function(e,t){return f.includes(e)?d({},e,t):void 0}:function(e,t){return d({},e,t)}:function(e,t,n){var i=n.schemas,a=(i._,T(i,S));return r.levenUnknownHandler(e,t,Object.assign(Object.assign({},n),{},{schemas:a}))},D=c?a:r.apiDescriptor,b=u(t,{isCLI:c,colorsModule:m,levenshteinDistance:v}),x=new r.Normalizer(b,{logger:s,unknown:g,descriptor:D}),C=!1!==s;C&&n&&(x._hasDeprecationWarned=n);var E=x.normalize(e);return C&&(n=x._hasDeprecationWarned),c&&!1===E["plugin-search"]&&(E["plugin-search-dir"]=!1),E}function u(e,t){var n=t.isCLI,i=t.colorsModule,a=t.levenshteinDistance,o=[];n&&o.push(r.AnySchema.create({name:"_"}));var s,u=D(e);try{for(u.s();!(s=u.n()).done;){var c=s.value;o.push(l(c,{isCLI:n,optionInfos:e,colorsModule:i,levenshteinDistance:a})),c.alias&&n&&o.push(r.AliasSchema.create({name:c.alias,sourceName:c.name}))}}catch(p){u.e(p)}finally{u.f()}return o}function l(e,t){var n=t.isCLI,a=t.optionInfos,s=t.colorsModule,u=t.levenshteinDistance,l=e.name;if("plugin-search-dir"===l||"pluginSearchDirs"===l)return r.AnySchema.create({name:l,preprocess:function(e){return!1===e||(e=Array.isArray(e)?e:[e]),e},validate:function(e){return!1===e||e.every((function(e){return"string"==typeof e}))},expected:function(){return"false or paths to plugin search dir"}});var c,p={name:l},f={};switch(e.type){case"int":c=r.IntegerSchema,n&&(p.preprocess=Number);break;case"string":case"path":c=r.StringSchema;break;case"choice":c=r.ChoiceSchema,p.choices=e.choices.map((function(t){return"object"==typeof t&&t.redirect?Object.assign(Object.assign({},t),{},{redirect:{to:{key:e.name,value:t.redirect}}}):t}));break;case"boolean":c=r.BooleanSchema;break;case"flag":c=o({colorsModule:s,levenshteinDistance:u}),p.flags=a.flatMap((function(e){return[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)}));break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?p.validate=function(t,n,r){return e.exception(t)||n.validate(t,r)}:p.validate=function(e,t,n){return void 0===e||t.validate(e,n)},e.redirect&&(f.redirect=function(t){return t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0}),e.deprecated&&(f.deprecated=!0),n&&!e.array){var d=p.preprocess||function(e){return e};p.preprocess=function(e,t,n){return t.preprocess(d(Array.isArray(e)?i(e):e),n)}}return e.array?r.ArraySchema.create(Object.assign(Object.assign(Object.assign({},n?{preprocess:function(e){return Array.isArray(e)?e:[e]}}:{}),f),{},{valueSchema:c.create(p)})):c.create(Object.assign(Object.assign({},p),f))}function f(e,t,n){return s(e,t,n)}function y(e,t,n){return s(e,t,Object.assign({isCLI:!0},n))}t.exports={normalizeApiOptions:f,normalizeCliOptions:y}}}),on=W({"src/language-js/loc.js":function(e,t){G();var n=Pe();function r(e,t){if(!(t||{}).ignoreDecorators){var i=e.declaration&&e.declaration.decorators||e.decorators;if(n(i))return r(i[0])}return e.range?e.range[0]:e.start}function i(e){return e.range?e.range[1]:e.end}function a(e,t){var n=r(e);return Number.isInteger(n)&&n===r(t)}function o(e,t){var n=i(e);return Number.isInteger(n)&&n===i(t)}function s(e,t){return a(e,t)&&o(e,t)}t.exports={locStart:r,locEnd:i,hasSameLocStart:a,hasSameLoc:s}}}),sn=W({"src/main/load-parser.js":function(e,t){G(),t.exports=function(){}}}),un=W({"scripts/build/shims/babel-highlight.cjs":function(e,t){G();var n=Ot(),r={shouldHighlight:function(){return!1},getChalk:function(){return n}};t.exports=r}}),ln=W({"node_modules/@babel/code-frame/lib/index.js":function(e){G(),Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=o,e.default=s;var t=un(),n=!1;function r(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var i=/\r\n|[\n\r\u2028\u2029]/;function a(e,t,n){var r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),a=n||{},o=a.linesAbove,s=void 0===o?2:o,u=a.linesBelow,l=void 0===u?3:u,c=r.line,p=r.column,f=i.line,d=i.column,h=Math.max(c-(s+1),0),m=Math.min(t.length,f+l);-1===c&&(h=0),-1===f&&(m=t.length);var y=f-c,v={};if(y)for(var g=0;g<=y;g++){var D=g+c;if(p)if(0===g){var b=t[D-1].length;v[D]=[p,b-p+1]}else if(g===y)v[D]=[0,d];else{var x=t[D-g].length;v[D]=[0,x]}else v[D]=!0}else v[c]=p===d?!p||[p,0]:[p,d-p];return{start:h,end:m,markerLines:v}}function o(e,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=(o.highlightCode||o.forceColor)&&(0,t.shouldHighlight)(o),u=(0,t.getChalk)(o),l=r(u),c=function(e,t){return s?e(t):t},p=a(n,e.split(i),o),f=p.start,d=p.end,h=p.markerLines,m=n.start&&"number"==typeof n.start.column,y=String(d).length,v=(s?(0,t.default)(e,o):e).split(i,d).slice(f,d).map((function(e,t){var n=f+1+t,r=" ".concat(n).slice(-y),i=" ".concat(r," |"),a=h[n],s=!h[n+1];if(a){var u="";if(Array.isArray(a)){var p=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," "),d=a[1]||1;u=["\n ",c(l.gutter,i.replace(/\d/g," "))," ",p,c(l.marker,"^").repeat(d)].join(""),s&&o.message&&(u+=" "+c(l.message,o.message))}return[c(l.marker,">"),c(l.gutter,i),e.length>0?" ".concat(e):"",u].join("")}return" ".concat(c(l.gutter,i)).concat(e.length>0?" ".concat(e):"")})).join("\n");return o.message&&!m&&(v="".concat(" ".repeat(y+1)).concat(o.message,"\n").concat(v)),s?u.reset(v):v}function s(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!n){n=!0;var a="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";N.emitWarning?N.emitWarning(a,"DeprecationWarning"):(new Error(a).name="DeprecationWarning",console.warn(new Error(a)))}return o(e,{start:{column:r=Math.max(r,0),line:t}},i)}}}),cn=W({"src/main/parser.js":function(e,t){G();var n=ot().ConfigError,r=on(),i=(sn(),r.locStart),a=r.locEnd,o=Object.getOwnPropertyNames,s=Object.getOwnPropertyDescriptor;function u(e){var t,n={},r=D(e.plugins);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(i.parsers){var a,u=D(o(i.parsers));try{for(u.s();!(a=u.n()).done;){var l=a.value;Object.defineProperty(n,l,s(i.parsers,l))}}catch(c){u.e(c)}finally{u.f()}}}}catch(c){r.e(c)}finally{r.f()}return n}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:i,locEnd:a};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new n("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}function c(e,t){var n=u(t),r=Object.defineProperties({},Object.fromEntries(Object.keys(n).map((function(e){return[e,{enumerable:!0,get:function(){return n[e].parse}}]})))),i=l(t,n);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,r,t)}}catch(s){var a=s.loc;if(a){var o=ln().codeFrameColumns;throw s.codeFrame=o(e,a,{highlightCode:!0}),s.message+="\n"+s.codeFrame,s}throw s.stack}}t.exports={parse:c,resolveParser:l}}}),pn=W({"src/main/options.js":function(e,t){G();var n=at(),r=ot().UndefinedParserError,i=Te().getSupportInfo,a=an(),o=cn().resolveParser,s={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},e),u=i({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,p=Object.assign(Object.assign({},s),Object.fromEntries(u.filter((function(e){return void 0!==e.default})).map((function(e){return[e.name,e.default]}))));if(!n.parser)if(n.filepath){if(n.parser=c(n.filepath,n.plugins),!n.parser)throw new r("No parser could be inferred for file: ".concat(n.filepath))}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel";var f=o(a.normalizeApiOptions(n,[u.find((function(e){return"parser"===e.name}))],{passThrough:!0,logger:!1}));n.astFormat=f.astFormat,n.locEnd=f.locEnd,n.locStart=f.locStart;var d=l(n);n.printer=d.printers[n.astFormat];for(var h=Object.fromEntries(u.filter((function(e){return e.pluginDefaults&&void 0!==e.pluginDefaults[d.name]})).map((function(e){return[e.name,e.pluginDefaults[d.name]]}))),m=Object.assign(Object.assign({},p),h),v=0,g=Object.entries(m);v=0&&!(i(n[o])<=i(e)&&a(n[o])<=a(e));--o);return void n.splice(o+1,0,e)}}else if(C.has(e))return C.get(e);var s=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.entries(e).filter((function(e){var t=y(e,1)[0];return"enclosingNode"!==t&&"precedingNode"!==t&&"followingNode"!==t&&"tokens"!==t&&"comments"!==t&&"parent"!==t})).map((function(e){return y(e,2)[1]}));if(s){n||(n=[],C.set(e,n));var u,l=D(s);try{for(l.s();!(u=l.n()).done;)E(u.value,t,n)}catch(c){l.e(c)}finally{l.f()}return n}}}function A(e,t,n,r){for(var i,a,o=n.locStart,s=n.locEnd,u=o(t),l=s(t),c=E(e,n),p=0,f=c.length;p>1,h=c[d],m=o(h),y=s(h);if(m<=u&&l<=y)return A(h,t,n,h);if(y<=u)i=h,p=d+1;else{if(!(l<=m))throw new Error("Comment location overlaps with node location");a=h,f=d}}if(r&&"TemplateLiteral"===r.type){var v=r.quasis,g=N(v,t,n);i&&N(v,i,n)!==g&&(i=null),a&&N(v,a,n)!==g&&(a=null)}return{enclosingNode:r,precedingNode:i,followingNode:a}}var w=function(){return!1};function k(e,t,n,r){if(Array.isArray(e)){var i,a=[],o=r.locStart,s=r.locEnd,u=r.printer.handleComments,l=void 0===u?{}:u,c=l.avoidAstMutation,p=l.ownLine,f=void 0===p?w:p,d=l.endOfLine,h=void 0===d?w:d,m=l.remaining,C=void 0===m?w:m,E=e.map((function(i,a){return Object.assign(Object.assign({},A(t,i,r)),{},{comment:i,text:n,options:r,ast:t,isLastComment:e.length-1===a})})),k=D(E.entries());try{for(k.s();!(i=k.n()).done;){var S=y(i.value,2),B=S[0],N=S[1],I=N.comment,L=N.precedingNode,O=N.enclosingNode,_=N.followingNode,M=N.text,j=N.options,R=N.ast,W=N.isLastComment;if("json"===j.parser||"json5"===j.parser||"__js_expression"===j.parser||"__vue_expression"===j.parser||"__vue_ts_expression"===j.parser){if(o(I)-o(R)<=0){v(R,I);continue}if(s(I)-s(R)>=0){x(R,I);continue}}var V=void 0;if(c?V=[N]:(I.enclosingNode=O,I.precedingNode=L,I.followingNode=_,V=[I,M,j,R,W]),F(M,j,E,B))I.placement="ownLine",f.apply(void 0,g(V))||(_?v(_,I):L?x(L,I):b(O||R,I));else if(T(M,j,E,B))I.placement="endOfLine",h.apply(void 0,g(V))||(L?x(L,I):_?v(_,I):b(O||R,I));else if(I.placement="remaining",!C.apply(void 0,g(V)))if(L&&_){var H=a.length;H>0&&a[H-1].followingNode!==_&&P(a,M,j),a.push(N)}else L?x(L,I):_?v(_,I):b(O||R,I)}}catch(q){k.e(q)}finally{k.f()}if(P(a,n,r),!c){var U,z=D(e);try{for(z.s();!(U=z.n()).done;){var G=U.value;delete G.precedingNode,delete G.enclosingNode,delete G.followingNode}}catch(q){z.e(q)}finally{z.f()}}}}var S=function(e){return!/[\S\n\u2028\u2029]/.test(e)};function F(e,t,n,r){var i=n[r],a=i.comment,o=i.precedingNode,s=t.locStart,u=t.locEnd,l=s(a);if(o)for(var c=r-1;c>=0;c--){var p=n[c],d=p.comment;if(p.precedingNode!==o||!S(e.slice(u(d),l)))break;l=s(d)}return f(e,l,{backwards:!0})}function T(e,t,n,r){var i=n[r],a=i.comment,o=i.followingNode,s=t.locStart,u=t.locEnd,l=u(a);if(o)for(var c=r+1;c0;--a){var f=e[a-1],d=f.comment,h=f.precedingNode,m=f.followingNode;n.strictEqual(h,s),n.strictEqual(m,u);var g=t.slice(r.locEnd(d),p);if(!c.test(g))break;p=r.locStart(d)}var b,C=D(e.entries());try{for(C.s();!(b=C.n()).done;){var E=y(b.value,2),A=E[0],w=E[1].comment;A1&&F.comments.sort((function(e,t){return r.locStart(e)-r.locStart(t)}))}e.length=0}}function B(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function N(e,t,n){for(var r=n.locStart(t)-1,i=1;i=0;n-=2){var r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}var a=function(){function e(t){h(this,e),this.stack=[t]}return m(e,[{key:"getName",value:function(){var e=this.stack,t=e.length;return t>1?e[t-2]:null}},{key:"getValue",value:function(){return n(this.stack)}},{key:"getNode",value:function(){return r(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}},{key:"getParentNode",value:function(){return r(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1)}},{key:"call",value:function(e){for(var t=this.stack,r=t.length,i=n(t),a=arguments.length,o=new Array(a>1?a-1:0),s=1;s1&&void 0!==arguments[1]?arguments[1]:0,r=i(this.stack,n+1),a=this.stack.splice(r+1),o=e(this);return(t=this.stack).push.apply(t,g(a)),o}},{key:"each",value:function(e){for(var t=this.stack,r=t.length,i=n(t),a=arguments.length,o=new Array(a>1?a-1:0),s=1;s1?n-1:0),i=1;i4&&void 0!==arguments[4]?arguments[4]:{}).stripTrailingHardline,u=void 0!==s&&s,l=r(Object.assign(Object.assign(Object.assign({},a),t),{},{parentParser:a.parser,originalText:e}),{passThrough:!0}),c=cn().parse(e,l),p=c.ast;e=c.text;var f=p.comments;delete p.comments,i.attach(f,p,e,l),l[Symbol.for("comments")]=f||[],l[Symbol.for("tokens")]=p.tokens||[];var d=o(p,l);return i.ensureAllCommentsPrinted(f),u?"string"==typeof d?d.replace(/(?:\r?\n)*$/,""):n(d):d}t.exports={printSubtree:a}}}),vn=W({"src/main/ast-to-doc.js":function(e,t){G();var n=mn(),r=de(),i=r.builders,a=i.hardline,o=i.addAlignmentToDoc,s=r.utils.propagateBreaks,u=hn().printComments,l=yn();function c(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=t.printer;i.preprocess&&(e=i.preprocess(e,t));var u=new Map,l=new n(e),c=p();return r>0&&(c=o([a,c],r,t.tabWidth)),s(c),c;function p(e,t){return void 0===e||e===l?d(t):Array.isArray(e)?l.call.apply(l,[function(){return d(t)}].concat(g(e))):l.call((function(){return d(t)}),e)}function d(e){var n=l.getValue(),r=n&&"object"==typeof n&&void 0===e;if(r&&u.has(n))return u.get(n);var i=f(l,t,p,e);return r&&u.set(n,i),i}}function p(e,t){var n,r=t.originalText,i=t[Symbol.for("comments")],a=t.locStart,o=t.locEnd,s=a(e),u=o(e),l=new Set,c=D(i);try{for(c.s();!(n=c.n()).done;){var p=n.value;a(p)>=s&&o(p)<=u&&(p.printed=!0,l.add(p))}}catch(f){c.e(f)}finally{c.f()}return{doc:r.slice(s,u),printedComments:l}}function f(e,t,n,r){var i,a,o=e.getValue(),s=t.printer;if(s.hasPrettierIgnore&&s.hasPrettierIgnore(e)){var f=p(o,t);i=f.doc,a=f.printedComments}else{if(o)try{i=l.printSubtree(e,n,t,c)}catch(d){if(globalThis.PRETTIER_DEBUG)throw d}i||(i=s.print(e,t,n,r))}return(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(i=u(e,i,t,a)),i}t.exports=c}}),gn=W({"src/main/range-util.js":function(e,t){G();var n=dn(),r=hn(),i=function(e){var t=e.parser;return"json"===t||"json5"===t||"json-stringify"===t};function a(e,t){var n=[e.node].concat(g(e.parentNodes)),r=new Set([t.node].concat(g(t.parentNodes)));return n.find((function(e){return c.has(e.type)&&r.has(e)}))}function o(e){for(var t=e.length-1;;){var n=e[t];if(!n||"Program"!==n.type&&"File"!==n.type)break;t--}return e.slice(0,t+1)}function s(e,t,n){var r=n.locStart,i=n.locEnd,a=e.node,s=t.node;if(a===s)return{startNode:a,endNode:s};var u,l=r(e.node),c=D(o(t.parentNodes));try{for(c.s();!(u=c.n()).done;){var p=u.value;if(!(r(p)>=l))break;s=p}}catch(y){c.e(y)}finally{c.f()}var f,d=i(t.node),h=D(o(e.parentNodes));try{for(h.s();!(f=h.n()).done;){var m=f.value;if(!(i(m)<=d))break;a=m}}catch(y){h.e(y)}finally{h.f()}return{startNode:a,endNode:s}}function u(e,t,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5?arguments[5]:void 0,s=n.locStart,l=n.locEnd,c=s(e),p=l(e);if(!(t>p||to);var d=e.slice(o,l).search(/\S/),h=-1===d;if(!h)for(o+=d;l>o&&!/\S/.test(e[l-1]);--l);var m,y,v=u(r,o,t,(function(e,n){return f(t,e,n)}),[],"rangeStart"),g=h?v:u(r,l,t,(function(e){return f(t,e)}),[],"rangeEnd");if(!v||!g)return{rangeStart:0,rangeEnd:0};if(i(t)){var D=a(v,g);m=D,y=D}else{var b=s(v,g,t);m=b.startNode,y=b.endNode}return{rangeStart:Math.min(c(m),c(y)),rangeEnd:Math.max(p(m),p(y))}}t.exports={calculateRange:d,findNodeAtOffset:u}}}),Dn=W({"src/main/core.js":function(e,t){G();var n=J().diffArrays,r=de(),i=r.printer.printDocToString,a=r.debug.printDocToDebug,o=Me().getAlignmentSize,s=X(),u=s.guessEndOfLine,l=s.convertEndOfLineToChars,c=s.countEndOfLineChars,p=s.normalizeEndOfLine,f=pn().normalize,d=fn(),h=hn(),m=cn(),y=vn(),v=gn(),b="\ufeff",x=Symbol("cursor");function C(e,t,n){var r=t.comments;return r&&(delete t.comments,h.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function E(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};var a=m.parse(e,t),o=a.ast,s=a.text;if(t.cursorOffset>=0){var u=v.findNodeAtOffset(o,t.cursorOffset,t);u&&u.node&&(t.cursorNode=u.node)}var c=C(s,o,t),p=y(o,t,r),f=i(p,t);if(h.ensureAllCommentsPrinted(c),r>0){var d=f.formatted.trim();void 0!==f.cursorNodeStart&&(f.cursorNodeStart-=f.formatted.indexOf(d)),f.formatted=d+l(t.endOfLine)}if(t.cursorOffset>=0){var b,E,A,w,k;if(t.cursorNode&&f.cursorNodeText?(b=t.locStart(t.cursorNode),E=s.slice(b,t.locEnd(t.cursorNode)),A=t.cursorOffset-b,w=f.cursorNodeStart,k=f.cursorNodeText):(b=0,E=s,A=t.cursorOffset,w=0,k=f.formatted),E===k)return{formatted:f.formatted,cursorOffset:w+A,comments:c};var S=g(E);S.splice(A,0,x);var F,T=g(k),P=n(S,T),B=w,N=D(P);try{for(N.s();!(F=N.n()).done;){var I=F.value;if(I.removed){if(I.value.includes(x))break}else B+=I.count}}catch(L){N.e(L)}finally{N.f()}return{formatted:f.formatted,cursorOffset:B,comments:c}}return{formatted:f.formatted,cursorOffset:-1,comments:c}}function A(e,t){var n=m.parse(e,t),r=n.ast,i=n.text,a=v.calculateRange(i,t,r),s=a.rangeStart,u=a.rangeEnd,p=i.slice(s,u),f=Math.min(s,i.lastIndexOf("\n",s)+1),d=i.slice(f,s).match(/^\s*/)[0],h=o(d,t.tabWidth),y=E(p,Object.assign(Object.assign({},t),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>s&&t.cursorOffset<=u?t.cursorOffset-s:-1,endOfLine:"lf"}),h),g=y.formatted.trimEnd(),D=t.cursorOffset;D>u?D+=g.length-p.length:y.cursorOffset>=0&&(D=y.cursorOffset+s);var b=i.slice(0,s)+g+i.slice(u);if("lf"!==t.endOfLine){var x=l(t.endOfLine);D>=0&&"\r\n"===x&&(D+=c(b.slice(0,D),"\n")),b=b.replace(/\n/g,x)}return{formatted:b,cursorOffset:D,comments:y.comments}}function w(e,t,n){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?n:t}function k(e,t){var n=t.cursorOffset,r=t.rangeStart,i=t.rangeEnd;return n=w(e,n,-1),r=w(e,r,0),i=w(e,i,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:i})}function S(e,t){var n=k(e,t),r=n.cursorOffset,i=n.rangeStart,a=n.rangeEnd,o=n.endOfLine,s=e.charAt(0)===b;if(s&&(e=e.slice(1),r--,i--,a--),"auto"===o&&(o=u(e)),e.includes("\r")){var l=function(t){return c(e.slice(0,Math.max(t,0)),"\r\n")};r-=l(r),i-=l(i),a-=l(a),e=p(e)}return{hasBOM:s,text:e,options:k(e,Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:i,rangeEnd:a,endOfLine:o}))}}function F(e,t){var n=m.resolveParser(t);return!n.hasPragma||n.hasPragma(e)}function T(e,t){var n,r=S(e,f(t)),i=r.hasBOM,a=r.text,o=r.options;return o.rangeStart>=o.rangeEnd&&""!==a||o.requirePragma&&!F(a,o)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(o.rangeStart>0||o.rangeEnd=0&&n.cursorOffset++),n)}t.exports={formatWithCursor:T,parse:function(e,t,n){var r=S(e,f(t)),i=r.text,a=r.options,o=m.parse(i,a);return n&&(o.ast=d(o.ast,a)),o},formatAST:function(e,t){t=f(t);var n=y(e,t);return i(n,t)},formatDoc:function(e,t){return T(a(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted},printToDoc:function(e,t){t=f(t);var n=m.parse(e,t),r=n.ast;return C(n.text,r,t),y(r,t)},printDocToString:function(e,t){return i(e,f(t))}}}}),bn=W({"src/common/util-shared.js":function(e,t){G();var n=Me(),r=n.getMaxContinuousCount,i=n.getStringWidth,a=n.getAlignmentSize,o=n.getIndentSize,s=n.skip,u=n.skipWhitespace,l=n.skipSpaces,c=n.skipNewline,p=n.skipToLineEnd,f=n.skipEverythingButNewLine,d=n.skipInlineComment,h=n.skipTrailingComment,m=n.hasNewline,y=n.hasNewlineInRange,v=n.hasSpaces,g=n.isNextLineEmpty,D=n.isNextLineEmptyAfterIndex,b=n.isPreviousLineEmpty,x=n.getNextNonSpaceNonCommentCharacterIndex,C=n.makeString,E=n.addLeadingComment,A=n.addDanglingComment,w=n.addTrailingComment;t.exports={getMaxContinuousCount:r,getStringWidth:i,getAlignmentSize:a,getIndentSize:o,skip:s,skipWhitespace:u,skipSpaces:l,skipNewline:c,skipToLineEnd:p,skipEverythingButNewLine:f,skipInlineComment:d,skipTrailingComment:h,hasNewline:m,hasNewlineInRange:y,hasSpaces:v,isNextLineEmpty:g,isNextLineEmptyAfterIndex:D,isPreviousLineEmpty:b,getNextNonSpaceNonCommentCharacterIndex:x,makeString:C,addLeadingComment:E,addDanglingComment:A,addTrailingComment:w}}}),xn=W({"src/utils/create-language.js":function(e,t){G(),t.exports=function(e,t){var n=e.languageId,r=T(e,F);return Object.assign(Object.assign({linguistLanguageId:n},r),t(e))}}}),Cn=W({"node_modules/esutils/lib/ast.js":function(e,t){G(),function(){function e(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function n(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function r(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function i(e){return r(e)||null!=e&&"FunctionDeclaration"===e.type}function a(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}function o(e){var t;if("IfStatement"!==e.type||null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=a(t)}while(t);return!1}t.exports={isExpression:e,isStatement:r,isIterationStatement:n,isSourceElement:i,isProblematicIfStatement:o,trailingStatement:a}}()}}),En=W({"node_modules/esutils/lib/code.js":function(e,t){G(),function(){var e,n,r,i,a,o;function s(e){return 48<=e&&e<=57}function u(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70}function l(e){return e>=48&&e<=55}function c(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0}function p(e){return 10===e||13===e||8232===e||8233===e}function f(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),o=0;o<128;++o)i[o]=o>=97&&o<=122||o>=65&&o<=90||36===o||95===o;for(a=new Array(128),o=0;o<128;++o)a[o]=o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||36===o||95===o;function d(e){return e<128?i[e]:n.NonAsciiIdentifierStart.test(f(e))}function h(e){return e<128?a[e]:n.NonAsciiIdentifierPart.test(f(e))}function m(t){return t<128?i[t]:e.NonAsciiIdentifierStart.test(f(t))}function y(t){return t<128?a[t]:e.NonAsciiIdentifierPart.test(f(t))}t.exports={isDecimalDigit:s,isHexDigit:u,isOctalDigit:l,isWhiteSpace:c,isLineTerminator:p,isIdentifierStartES5:d,isIdentifierPartES5:h,isIdentifierStartES6:m,isIdentifierPartES6:y}}()}}),An=W({"node_modules/esutils/lib/keyword.js":function(e,t){G(),function(){var e=En();function n(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(e,t){return!(!t&&"yield"===e)&&i(e,t)}function i(e,t){if(t&&n(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function a(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function o(e,t){return"null"===e||"true"===e||"false"===e||i(e,t)}function s(e){return"eval"===e||"arguments"===e}function u(t){var n,r,i;if(0===t.length||(i=t.charCodeAt(0),!e.isIdentifierStartES5(i)))return!1;for(n=1,r=t.length;n=r||!(56320<=(a=t.charCodeAt(n))&&a<=57343))return!1;i=l(i,a)}if(!o(i))return!1;o=e.isIdentifierPartES6}return!0}function p(e,t){return u(e)&&!a(e,t)}function f(e,t){return c(e)&&!o(e,t)}t.exports={isKeywordES5:r,isKeywordES6:i,isReservedWordES5:a,isReservedWordES6:o,isRestrictedWord:s,isIdentifierNameES5:u,isIdentifierNameES6:c,isIdentifierES5:p,isIdentifierES6:f}}()}}),wn=W({"node_modules/esutils/lib/utils.js":function(e){G(),e.ast=Cn(),e.code=En(),e.keyword=An()}}),kn=W({"src/language-js/utils/is-block-comment.js":function(e,t){G();var n=new Set(["Block","CommentBlock","MultiLine"]),r=function(e){return n.has(null==e?void 0:e.type)};t.exports=r}}),Sn=W({"src/language-js/utils/is-node-matches.js":function(e,t){function n(e,t){for(var n=t.split("."),r=n.length-1;r>=0;r--){var i=n[r];if(0===r)return"Identifier"===e.type&&e.name===i;if("MemberExpression"!==e.type||e.optional||e.computed||"Identifier"!==e.property.type||e.property.name!==i)return!1;e=e.object}}function r(e,t){return t.some((function(t){return n(e,t)}))}G(),t.exports=r}}),Fn=W({"src/language-js/utils/index.js":function(e,t){G();var n=wn().keyword.isIdentifierNameES5,r=Me(),i=r.getLast,a=r.hasNewline,o=r.skipWhitespace,s=r.isNonEmptyArray,u=r.isNextLineEmptyAfterIndex,l=r.getStringWidth,c=on(),p=c.locStart,f=c.locEnd,d=c.hasSameLocStart,h=kn(),m=Sn(),y="(?:(?=.)\\s)",v=new RegExp("^".concat(y,"*:")),b=new RegExp("^".concat(y,"*::"));function x(e){var t,n;return(null===(t=e.extra)||void 0===t?void 0:t.parenthesized)&&h(null===(n=e.trailingComments)||void 0===n?void 0:n[0])&&v.test(e.trailingComments[0].value)}function C(e){var t=null==e?void 0:e[0];return h(t)&&b.test(t.value)}function E(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e))return e.some((function(e){return E(e,t)}));var n=t(e);return"boolean"==typeof n?n:Object.values(e).some((function(e){return E(e,t)}))}function A(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||ee(e)||te(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}function w(e){var t,n,r,i,a,o;return e.expressions?e.expressions[0]:null!==(t=null!==(n=null!==(r=null!==(i=null!==(a=null!==(o=e.left)&&void 0!==o?o:e.test)&&void 0!==a?a:e.callee)&&void 0!==i?i:e.object)&&void 0!==r?r:e.tag)&&void 0!==n?n:e.argument)&&void 0!==t?t:e.expression}function k(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function S(e){return e=new Set(e),function(t){return e.has(null==t?void 0:t.type)}}var F=S(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),T=S(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function P(e){var t=e.getParentNode();return"declaration"===e.getName()&&T(t)?t:null}var B=S(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function N(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function I(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&N(e.argument)}function L(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}var O=S(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),_=S(["FunctionExpression","ArrowFunctionExpression"]);function M(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}function j(e){return ee(e)&&"Identifier"===e.callee.type&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var R=S(["JSXElement","JSXFragment"]);function W(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;var n=t.getNode();if(!n.expression||!R(n.expression))return!1;var r=t.getParentNode();return"Program"===r.type&&1===r.body.length}function V(e){return"get"===e.kind||"set"===e.kind}function H(e){return V(e)||d(e,e.value)}function U(e){return("ObjectTypeProperty"===e.type||"ObjectTypeInternalSlot"===e.type)&&"FunctionTypeAnnotation"===e.value.type&&!e.static&&!H(e)}function z(e){return("TypeAnnotation"===e.type||"TSTypeAnnotation"===e.type)&&"FunctionTypeAnnotation"===e.typeAnnotation.type&&!e.static&&!d(e,e.typeAnnotation)}var q=S(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function K(e){return te(e)||"BindExpression"===e.type&&Boolean(e.object)}var J=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);function $(e){return!!e&&!(("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)&&!J.has(e.type))}function X(e){var t=/^(?:before|after)(?:Each|All)$/;return"Identifier"===e.callee.type&&t.test(e.callee.name)&&1===e.arguments.length}var Q=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function Y(e){return m(e,Q)}function Z(e,t){if("CallExpression"!==e.type)return!1;if(1===e.arguments.length){if(j(e)&&t&&Z(t))return _(e.arguments[0]);if(X(e))return j(e.arguments[0])}else if((2===e.arguments.length||3===e.arguments.length)&&("TemplateLiteral"===e.arguments[0].type||L(e.arguments[0]))&&Y(e.callee))return!(e.arguments[2]&&!N(e.arguments[2]))&&((2===e.arguments.length?_(e.arguments[1]):M(e.arguments[1])&&Pe(e.arguments[1]).length<=1)||j(e.arguments[1]));return!1}var ee=S(["CallExpression","OptionalCallExpression"]),te=S(["MemberExpression","OptionalMemberExpression"]);function ne(e){var t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");var n=e[t];return 0!==n.length&&n.every((function(e){if(Ve(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(te(e)){for(var t=e;te(t);)if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type||Ve(t=t.object))return!1;return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))}function re(e,t){return"+"===e||"-"===e?e+t:t}function ie(e,t){var n=p(t),r=o(e,f(t));return!1!==r&&"/*"===e.slice(n,n+2)&&"*/"===e.slice(r,r+2)}function ae(e,t){return R(t)?_e(t):Ve(t,Re.Leading,(function(t){return a(e,f(t))}))}function oe(e,t){return"json"!==t.parser&&L(e.key)&&me(e.key).slice(1,-1)===e.key.value&&(n(e.key.value)&&!("babel-ts"===t.parser&&"ClassProperty"===e.type||"typescript"===t.parser&&"PropertyDefinition"===e.type)||se(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser))}function se(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function ue(e,t){var n=/^[fx]?(?:describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name))}function le(e){return e.quasis.some((function(e){return e.value.raw.includes("\n")}))}function ce(e,t){return("TemplateLiteral"===e.type&&le(e)||"TaggedTemplateExpression"===e.type&&le(e.quasi))&&!a(t,p(e),{backwards:!0})}function pe(e){if(!Ve(e))return!1;var t=i(He(e,Re.Dangling));return t&&!h(t)}function fe(e){if(e.length<=1)return!1;var t,n=0,r=D(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(_(i)){if((n+=1)>1)return!0}else if(ee(i)){var a,o=D(i.arguments);try{for(o.s();!(a=o.n()).done;){var s=a.value;if(_(s))return!0}}catch(u){o.e(u)}finally{o.f()}}}}catch(u){r.e(u)}finally{r.f()}return!1}function de(e){var t=e.getValue(),n=e.getParentNode();return ee(t)&&ee(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0}function he(e,t){if(t>=2)return!1;var n=function(e){return he(e,t+1)},r="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return!(r&&l(r)>5)&&("Literal"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"BooleanLiteral"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"Identifier"===e.type||"ThisExpression"===e.type||"Super"===e.type||"PrivateName"===e.type||"PrivateIdentifier"===e.type||"ArgumentPlaceholder"===e.type||"Import"===e.type||("TemplateLiteral"===e.type?e.quasis.every((function(e){return!e.value.raw.includes("\n")}))&&e.expressions.every(n):"ObjectExpression"===e.type?e.properties.every((function(e){return!e.computed&&(e.shorthand||e.value&&n(e.value))})):"ArrayExpression"===e.type?e.elements.every((function(e){return null===e||n(e)})):ze(e)?("ImportExpression"===e.type||he(e.callee,t))&&Ie(e).every(n):te(e)?he(e.object,t)&&he(e.property,t):"UnaryExpression"!==e.type||"!"!==e.operator&&"-"!==e.operator?"TSNonNullExpression"===e.type&&he(e.expression,t):he(e.argument,t)))}function me(e){var t,n;return null!==(t=null===(n=e.extra)||void 0===n?void 0:n.raw)&&void 0!==t?t:e.raw}function ye(e){return e}function ve(e){return e.filepath&&/\.tsx$/i.test(e.filepath)}function ge(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es5";return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)}function De(e,t){switch((e=ke(e)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return t;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return De(e.object,t);case"TaggedTemplateExpression":return"FunctionExpression"!==e.tag.type&&De(e.tag,t);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==e.callee.type&&De(e.callee,t);case"ConditionalExpression":return De(e.test,t);case"UpdateExpression":return!e.prefix&&De(e.argument,t);case"BindExpression":return e.object&&De(e.object,t);case"SequenceExpression":return De(e.expressions[0],t);case"TSAsExpression":case"TSNonNullExpression":return De(e.expression,t);default:return!1}}var be={"==":!0,"!=":!0,"===":!0,"!==":!0},xe={"*":!0,"/":!0,"%":!0},Ce={">>":!0,">>>":!0,"<<":!0};function Ee(e,t){return!(we(t)!==we(e)||"**"===e||be[e]&&be[t]||"%"===t&&xe[e]||"%"===e&&xe[t]||t!==e&&xe[t]&&xe[e]||Ce[e]&&Ce[t])}var Ae=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((function(e,t){return e.map((function(e){return[e,t]}))})));function we(e){return Ae.get(e)}function ke(e){for(;e.left;)e=e.left;return e}function Se(e){return Boolean(Ce[e])||"|"===e||"^"===e||"&"===e}function Fe(e){var t;if(e.rest)return!0;var n=Pe(e);return"RestElement"===(null===(t=i(n))||void 0===t?void 0:t.type)}var Te=new WeakMap;function Pe(e){if(Te.has(e))return Te.get(e);var t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push.apply(t,g(e.parameters)):Array.isArray(e.params)&&t.push.apply(t,g(e.params)),e.rest&&t.push(e.rest),Te.set(e,t),t}function Be(e,t){var n=e.getValue(),r=0,i=function(e){return t(e,r++)};n.this&&e.call(i,"this"),Array.isArray(n.parameters)?e.each(i,"parameters"):Array.isArray(n.params)&&e.each(i,"params"),n.rest&&e.call(i,"rest")}var Ne=new WeakMap;function Ie(e){if(Ne.has(e))return Ne.get(e);var t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),Ne.set(e,t),t}function Le(e,t){var n=e.getValue();"ImportExpression"===n.type?(e.call((function(e){return t(e,0)}),"source"),n.attributes&&e.call((function(e){return t(e,1)}),"attributes")):e.each(t,"arguments")}function Oe(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function _e(e){return e&&(e.prettierIgnore||Ve(e,Re.PrettierIgnore))}function je(e){return _e(e.getValue())}var Re={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},We=function(e,t){if("function"==typeof e&&(t=e,e=0),e||t)return function(n,r,i){return!(e&Re.Leading&&!n.leading||e&Re.Trailing&&!n.trailing||e&Re.Dangling&&(n.leading||n.trailing)||e&Re.Block&&!h(n)||e&Re.Line&&!F(n)||e&Re.First&&0!==r||e&Re.Last&&r!==i.length-1||e&Re.PrettierIgnore&&!Oe(n)||t&&!t(n))}};function Ve(e,t,n){if(!s(null==e?void 0:e.comments))return!1;var r=We(t,n);return!r||e.comments.some(r)}function He(e,t,n){if(!Array.isArray(null==e?void 0:e.comments))return[];var r=We(t,n);return r?e.comments.filter(r):e.comments}var Ue=function(e,t){var n=t.originalText;return u(n,f(e))};function ze(e){return ee(e)||"NewExpression"===e.type||"ImportExpression"===e.type}function Ge(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)}function qe(e){return Boolean(e.__isUsingHackPipeline)}var Ke=Symbol("ifWithoutBlockAndSameLineComment");t.exports={getFunctionParameters:Pe,iterateFunctionParametersPath:Be,getCallArguments:Ie,iterateCallArgumentsPath:Le,hasRestParameter:Fe,getLeftSide:w,getLeftSidePathName:k,getParentExportDeclaration:P,getTypeScriptMappedTypeModifier:re,hasFlowAnnotationComment:C,hasFlowShorthandAnnotationComment:x,hasLeadingOwnLineComment:ae,hasNakedLeftSide:A,hasNode:E,hasIgnoreComment:je,hasNodeIgnoreComment:_e,identity:ye,isBinaryish:q,isCallLikeExpression:ze,isEnabledHackPipeline:qe,isLineComment:F,isPrettierIgnoreComment:Oe,isCallExpression:ee,isMemberExpression:te,isExportDeclaration:T,isFlowAnnotationComment:ie,isFunctionCompositionArgs:fe,isFunctionNotation:H,isFunctionOrArrowExpression:_,isGetterOrSetter:V,isJestEachTemplateLiteral:ue,isJsxNode:R,isLiteral:B,isLongCurriedCallExpression:de,isSimpleCallArgument:he,isMemberish:K,isNumericLiteral:N,isSignedNumericLiteral:I,isObjectProperty:Ge,isObjectType:O,isObjectTypePropertyAFunction:U,isSimpleType:$,isSimpleNumber:se,isSimpleTemplateLiteral:ne,isStringLiteral:L,isStringPropSafeToUnquote:oe,isTemplateOnItsOwnLine:ce,isTestCall:Z,isTheOnlyJsxElementInMarkdown:W,isTSXFile:ve,isTypeAnnotationAFunction:z,isNextLineEmpty:Ue,needsHardlineAfterDanglingComment:pe,rawText:me,shouldPrintComma:ge,isBitwiseOperator:Se,shouldFlatten:Ee,startsWithNoLookaheadToken:De,getPrecedence:we,hasComment:Ve,getComments:He,CommentCheckFlags:Re,markerForIfWithoutBlockAndSameLineComment:Ke}}}),Tn=W({"src/language-js/print/template-literal.js":function(e,t){G();var n=Q(),r=Me(),i=r.getStringWidth,a=r.getIndentSize,o=de(),s=o.builders,u=s.join,l=s.hardline,c=s.softline,p=s.group,f=s.indent,d=s.align,h=s.lineSuffixBoundary,m=s.addAlignmentToDoc,v=o.printer.printDocToString,b=o.utils.mapDoc,x=Fn(),C=x.isBinaryish,E=x.isJestEachTemplateLiteral,A=x.isSimpleTemplateLiteral,w=x.hasComment,k=x.isMemberExpression;function S(e,t,n){var r=e.getValue();if("TemplateLiteral"===r.type&&E(r,e.getParentNode())){var i=F(e,n,t);if(i)return i}var o="expressions";"TSTemplateLiteralType"===r.type&&(o="types");var s=[],u=e.map(t,o),l=A(r);return l&&(u=u.map((function(e){return v(e,Object.assign(Object.assign({},n),{},{printWidth:Number.POSITIVE_INFINITY})).formatted}))),s.push(h,"`"),e.each((function(e){var i=e.getName();if(s.push(t()),i1||o.some((function(e){return e.length>0}))){t.__inJestEach=!0;var s=e.map(r,"expressions");t.__inJestEach=!1;for(var c=[],p=s.map((function(e){return"${"+v(e,Object.assign(Object.assign({},t),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"})),d=[{hasLineBreak:!1,cells:[]}],m=1;m0})))),k=D(w.filter((function(e){return!e.hasLineBreak})));try{for(k.s();!(C=k.n()).done;){var S,F=C.value.cells,T=D(F.entries());try{for(T.s();!(S=T.n()).done;){var P=y(S.value,2),B=P[0],N=P[1];A[B]=Math.max(A[B],i(N))}}catch(I){T.e(I)}finally{T.f()}}}catch(I){k.e(I)}finally{k.f()}return c.push(h,"`",f([l,u(l,w.map((function(e){return u(" | ",e.cells.map((function(t,n){return e.hasLineBreak?t:t+" ".repeat(A[n]-i(t))})))})))]),l,"`"),c}}function T(e,t){var n=e.getValue(),r=t();return w(n)&&(r=p([f([c,r]),c])),["${",r,h,"}"]}function P(e,t){return e.map((function(e){return T(e,t)}),"expressions")}function B(e,t){return b(e,(function(e){return"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):N(e):e}))}function N(e){return e.replace(/([\\`]|\${)/g,"\\$1")}t.exports={printTemplateLiteral:S,printTemplateExpressions:P,escapeTemplateCharacters:B,uncookTemplateElementValue:N}}}),Pn=W({"src/language-js/embed/markdown.js":function(e,t){G();var n=de().builders,r=n.indent,i=n.softline,a=n.literalline,o=n.dedentToRoot,s=Tn().escapeTemplateCharacters;function u(e,t,n){var u=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(function(e,t){return"\\".repeat(t.length/2)+"`"})),c=l(u),p=""!==c;p&&(u=u.replace(new RegExp("^".concat(c),"gm"),""));var f=s(n(u,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",p?r([i,f]):[a,o(f)],i,"`"]}function l(e){var t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}t.exports=u}}),Bn=W({"src/language-js/embed/css.js":function(e,t){G();var n=Me().isNonEmptyArray,r=de(),i=r.builders,a=i.indent,o=i.hardline,s=i.softline,u=r.utils,l=u.mapDoc,c=u.replaceEndOfLine,p=u.cleanDoc,f=Tn().printTemplateExpressions;function d(e,t,n){var r=e.getValue(),i=r.quasis.map((function(e){return e.value.raw})),a=0;return h(n(i.reduce((function(e,t,n){return 0===n?t:e+"@prettier-placeholder-"+a+++"-id"+t}),""),{parser:"scss"},{stripTrailingHardline:!0}),r,f(e,t))}function h(e,t,n){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";var r=m(e,n);if(!r)throw new Error("Couldn't insert all the expressions");return["`",a([o,r]),s,"`"]}function m(e,t){if(!n(t))return e;var r=0,i=l(p(e),(function(e){return"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map((function(e,n){return n%2===0?c(e):(r++,t[e])})):e}));return t.length===r?i:null}t.exports=d}}),Nn=W({"src/language-js/embed/graphql.js":function(e,t){G();var n=de().builders,r=n.indent,i=n.join,a=n.hardline,o=Tn(),s=o.escapeTemplateCharacters,u=o.printTemplateExpressions;function l(e,t,n){var o=e.getValue(),l=o.quasis.length;if(1===l&&""===o.quasis[0].value.raw.trim())return"``";for(var p=u(e,t),f=[],d=0;d2&&""===v[0].trim()&&""===v[1].trim(),x=g>2&&""===v[g-1].trim()&&""===v[g-2].trim(),C=v.every((function(e){return/^\s*(?:#[^\n\r]*)?$/.test(e)}));if(!m&&/#[^\n\r]*$/.test(v[g-1]))return null;var E=null;(E=C?c(v):n(y,{parser:"graphql"},{stripTrailingHardline:!0}))?(E=s(E,!1),!h&&b&&f.push(""),f.push(E),!m&&x&&f.push("")):!h&&!m&&b&&f.push(""),D&&f.push(D)}return["`",r([a,i(a,f)]),a,"`"]}function c(e){var t,n=[],r=!1,o=e.map((function(e){return e.trim()})),s=D(o.entries());try{for(s.s();!(t=s.n()).done;){var u=y(t.value,2),l=u[0],c=u[1];""!==c&&(""===o[l-1]&&r?n.push([a,c]):n.push(c),r=!0)}}catch(p){s.e(p)}finally{s.f()}return 0===n.length?null:i(a,n)}t.exports=l}}),In=W({"src/language-js/embed/html.js":function(e,t){G();var n=de(),r=n.builders,i=r.indent,a=r.line,o=r.hardline,s=r.group,u=n.utils.mapDoc,l=Tn(),c=l.printTemplateExpressions,p=l.uncookTemplateElementValue,f=0;function d(e,t,n,r,l){var d=l.parser,h=e.getValue(),m=f;f=f+1>>>0;var y=function(e){return"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(m,"_IN_JS")},v=h.quasis.map((function(e,t,n){return t===n.length-1?e.value.cooked:e.value.cooked+y(t)})).join(""),g=c(e,t);if(0===g.length&&0===v.trim().length)return"``";var D=new RegExp(y("(\\d+)"),"g"),b=0,x=n(v,{parser:d,__onHtmlRoot:function(e){b=e.children.length}},{stripTrailingHardline:!0}),C=u(x,(function(e){if("string"!=typeof e)return e;for(var t=[],n=e.split(D),i=0;i1?i(s(C)):s(C),A,"`"])}t.exports=d}}),Ln=W({"src/language-js/embed.js":function(e,t){G();var n=Fn(),r=n.hasComment,i=n.CommentCheckFlags,a=n.isObjectProperty,o=Pn(),s=Bn(),u=Nn(),l=In();function c(e){return d(e)||v(e)||g(e)||h(e)?"css":x(e)?"graphql":E(e)?"html":m(e)?"angular":f(e)?"markdown":void 0}function p(e,t,n,r){var i=e.getValue();if("TemplateLiteral"===i.type&&!A(i)){var a=c(e);if(a){if("markdown"===a)return o(e,t,n);if("css"===a)return s(e,t,n);if("graphql"===a)return u(e,t,n);if("html"===a||"angular"===a)return l(e,t,n,r,{parser:a})}}}function f(e){var t=e.getValue(),n=e.getParentNode();return n&&"TaggedTemplateExpression"===n.type&&1===t.quasis.length&&"Identifier"===n.tag.type&&("md"===n.tag.name||"markdown"===n.tag.name)}function d(e){var t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some((function(e){return"jsx"===e.name.name}))||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}function h(e){return e.match.apply(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return"ArrayExpression"===e.type&&"elements"===t},function(e,t){return a(e)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t}].concat(y))}function m(e){return e.match.apply(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return a(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t}].concat(y))}var y=[function(e,t){return"ObjectExpression"===e.type&&"properties"===t},function(e,t){return"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t},function(e,t){return"Decorator"===e.type&&"expression"===t}];function v(e){var t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;var n="ParenthesizedExpression"===t.tag.type?t.tag.expression:t.tag;switch(n.type){case"MemberExpression":return D(n.object)||b(n);case"CallExpression":return D(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(D(n.callee.object.object)||b(n.callee.object))||"CallExpression"===n.callee.object.type&&D(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}function g(e){var t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}function D(e){return"Identifier"===e.type&&"styled"===e.name}function b(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function x(e){var t=e.getValue(),n=e.getParentNode();return C(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}function C(e,t){return r(e,i.Block|i.Leading,(function(e){return e.value===" ".concat(t," ")}))}function E(e){return C(e.getValue(),"HTML")||e.match((function(e){return"TemplateLiteral"===e.type}),(function(e,t){return"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t}))}function A(e){return e.quasis.some((function(e){return null===e.value.cooked}))}t.exports=p}}),On=W({"src/language-js/clean.js":function(e,t){G();var n=kn(),r=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),i=function(e){var t,n=D(e.quasis);try{for(n.s();!(t=n.n()).done;)delete t.value.value}catch(r){n.e(r)}finally{n.f()}};function a(e,t,r){if("Program"===e.type&&delete t.sourceType,("BigIntLiteral"===e.type||"BigIntLiteralTypeAnnotation"===e.type)&&t.value&&(t.value=t.value.toLowerCase()),("BigIntLiteral"===e.type||"Literal"===e.type)&&t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"Literal"===e.type&&t.decimal&&(t.decimal=Number(t.decimal)),"EmptyStatement"===e.type||"JSXText"===e.type||"JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if(("Property"===e.type||"ObjectProperty"===e.type||"MethodDefinition"===e.type||"ClassProperty"===e.type||"ClassMethod"===e.type||"PropertyDefinition"===e.type||"TSDeclareMethod"===e.type||"TSPropertySignature"===e.type||"ObjectTypeProperty"===e.type)&&"object"==typeof e.key&&e.key&&("Literal"===e.key.type||"NumericLiteral"===e.key.type||"StringLiteral"===e.key.type||"Identifier"===e.key.type)&&delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some((function(e){return"jsx"===e.name.name}))){var a,o=D(t.children);try{for(o.s();!(a=o.n()).done;){var s=a.value,u=s.type,l=s.expression;"JSXExpressionContainer"===u&&"TemplateLiteral"===l.type&&i(l)}}catch(b){o.e(b)}finally{o.f()}}"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&i(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));var c,p=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===p.type&&"Component"===p.callee.name&&1===p.arguments.length){var f,d=e.expression.arguments[0].properties,h=D(t.expression.arguments[0].properties.entries());try{for(h.s();!(f=h.n()).done;){var m=y(f.value,2),v=m[0],g=m[1];switch(d[v].key.name){case"styles":"ArrayExpression"===g.value.type&&i(g.value.elements[0]);break;case"template":"TemplateLiteral"===g.value.type&&i(g.value)}}}catch(b){h.e(b)}finally{h.f()}}return"TaggedTemplateExpression"===e.type&&("MemberExpression"===e.tag.type||"Identifier"===e.tag.type&&("gql"===e.tag.name||"graphql"===e.tag.name||"css"===e.tag.name||"md"===e.tag.name||"markdown"===e.tag.name||"html"===e.tag.name)||"CallExpression"===e.tag.type)&&i(t.quasi),"TemplateLiteral"===e.type&&((null===(c=e.leadingComments)||void 0===c?void 0:c.some((function(e){return n(e)&&["GraphQL","HTML"].some((function(t){return e.value===" ".concat(t," ")}))})))||"CallExpression"===r.type&&"graphql"===r.callee.name||!e.leadingComments)&&i(t),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}a.ignoredProperties=r,t.exports=a}}),_n={};function Mn(){if(typeof Qn>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])Qn="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");Qn="LE"}}return Qn}function jn(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Rn(){return[]}function Wn(){return 0}function Vn(){return Number.MAX_VALUE}function Hn(){return Number.MAX_VALUE}function Un(){return[]}function zn(){return"Browser"}function Gn(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function qn(){}function Kn(){}function Jn(){return"javascript"}function $n(){return"browser"}function Xn(){return"/tmp"}V(_n,{EOL:function(){return Zn},arch:function(){return Jn},cpus:function(){return Un},default:function(){return er},endianness:function(){return Mn},freemem:function(){return Vn},getNetworkInterfaces:function(){return Kn},hostname:function(){return jn},loadavg:function(){return Rn},networkInterfaces:function(){return qn},platform:function(){return $n},release:function(){return Gn},tmpDir:function(){return Xn},tmpdir:function(){return Yn},totalmem:function(){return Hn},type:function(){return zn},uptime:function(){return Wn}});var Qn,Yn,Zn,er,tr=R({"node-modules-polyfills:os":function(){G(),er={EOL:Zn="\n",tmpdir:Yn=Xn,tmpDir:Xn,networkInterfaces:qn,getNetworkInterfaces:Kn,release:Gn,type:zn,cpus:Un,totalmem:Hn,freemem:Vn,uptime:Wn,loadavg:Rn,hostname:jn,endianness:Mn}}}),nr=W({"node-modules-polyfills-commonjs:os":function(e,t){G();var n=(tr(),z(_n));if(n&&n.default)for(var r in t.exports=n.default,n)t.exports[r]=n[r];else n&&(t.exports=n)}}),rr=W({"node_modules/detect-newline/index.js":function(e,t){G();var n=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");var t=e.match(/(?:\r?\n)/g)||[];if(0!==t.length){var n=t.filter((function(e){return"\r\n"===e})).length;return n>t.length-n?"\r\n":"\n"}};t.exports=n,t.exports.graceful=function(e){return"string"==typeof e&&n(e)||"\n"}}}),ir=W({"node_modules/jest-docblock/build/index.js":function(e){function t(){var e=nr();return t=function(){return e},e}function n(){var e=r(rr());return n=function(){return e},e}function r(e){return e&&e.__esModule?e:{default:e}}G(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=d,e.parse=m,e.parseWithComments=y,e.print=v,e.strip=h;var i=/\*\/$/,a=/^\/\*\*/,o=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,s=/(^|\s+)\/\/([^\r\n]*)/g,u=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g,f=[];function d(e){var t=e.match(o);return t?t[0].trimLeft():""}function h(e){var t=e.match(o);return t&&t[0]?e.substring(t[0].length):e}function m(e){return y(e).pragmas}function y(e){var r=(0,n().default)(e)||t().EOL;e=e.replace(a,"").replace(i,"").replace(p,"$1");for(var o="";o!==e;)o=e,e=e.replace(l,"".concat(r,"$1 $2").concat(r));e=e.replace(u,"").trimRight();for(var d,h=Object.create(null),m=e.replace(c,"").replace(u,"").trimRight();d=c.exec(e);){var y=d[2].replace(s,"");"string"==typeof h[d[1]]||Array.isArray(h[d[1]])?h[d[1]]=f.concat(h[d[1]],y):h[d[1]]=y}return{comments:m,pragmas:h}}function v(e){var r=e.comments,i=void 0===r?"":r,a=e.pragmas,o=void 0===a?{}:a,s=(0,n().default)(i)||t().EOL,u="/**",l=" *",c=" */",p=Object.keys(o),f=p.map((function(e){return g(e,o[e])})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){return l+" "+e+s})).join("");if(!i){if(0===p.length)return"";if(1===p.length&&!Array.isArray(o[p[0]])){var d=o[p[0]];return"".concat(u," ").concat(g(p[0],d)[0]).concat(c)}}var h=i.split(s).map((function(e){return"".concat(l," ").concat(e)})).join(s)+s;return u+s+(i?h:"")+(i&&p.length?l+s:"")+f+c}function g(e,t){return f.concat(t).map((function(t){return"@".concat(e," ").concat(t).trim()}))}}}),ar=W({"src/language-js/utils/get-shebang.js":function(e,t){function n(e){if(!e.startsWith("#!"))return"";var t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}G(),t.exports=n}}),or=W({"src/language-js/pragma.js":function(e,t){G();var n=ir(),r=n.parseWithComments,i=n.strip,a=n.extract,o=n.print,s=X().normalizeEndOfLine,u=ar();function l(e){var t=u(e);t&&(e=e.slice(t.length+1));var n=a(e),i=r(n);return{shebang:t,text:e,pragmas:i.pragmas,comments:i.comments}}function c(e){var t=Object.keys(l(e).pragmas);return t.includes("prettier")||t.includes("format")}function p(e){var t=l(e),n=t.shebang,r=t.text,a=t.pragmas,u=t.comments,c=i(r),p=o({pragmas:Object.assign({format:""},a),comments:u.trimStart()});return(n?"".concat(n,"\n"):"")+s(p)+(c.startsWith("\n")?"\n":"\n\n")+c}t.exports={hasPragma:c,insertPragma:p}}}),sr=W({"src/language-js/comments.js":function(e,t){G();var n=Me(),r=n.getLast,i=n.hasNewline,a=n.getNextNonSpaceNonCommentCharacterIndexWithStartIndex,o=n.getNextNonSpaceNonCommentCharacter,s=n.hasNewlineInRange,u=n.addLeadingComment,l=n.addTrailingComment,c=n.addDanglingComment,p=n.getNextNonSpaceNonCommentCharacterIndex,f=n.isNonEmptyArray,d=Fn(),h=d.getFunctionParameters,m=d.isPrettierIgnoreComment,y=d.isJsxNode,v=d.hasFlowShorthandAnnotationComment,D=d.hasFlowAnnotationComment,b=d.hasIgnoreComment,x=d.isCallLikeExpression,C=d.getCallArguments,E=d.isCallExpression,A=d.isMemberExpression,w=d.isObjectProperty,k=d.isLineComment,S=d.getComments,F=d.CommentCheckFlags,T=d.markerForIfWithoutBlockAndSameLineComment,P=on(),B=P.locStart,N=P.locEnd,I=kn();function L(e){return[me,te,U,W,V,H,J,ue,ae,se,le,ce,X,ne,re].some((function(t){return t(e)}))}function O(e){return[R,te,z,le,W,V,H,J,ne,ie,oe,se,de,re,ve].some((function(t){return t(e)}))}function _(e){return[me,W,V,q,ee,X,se,Z,Y,ye,re,he].some((function(t){return t(e)}))}function M(e,t){var n=(e.body||e.properties).find((function(e){return"EmptyStatement"!==e.type}));n?u(n,t):c(e,t)}function j(e,t){"BlockStatement"===e.type?M(e,t):u(e,t)}function R(e){var t=e.comment,n=e.followingNode;return!(!n||!be(t))&&(u(n,t),!0)}function W(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,i=e.followingNode,a=e.text;if("IfStatement"!==(null==r?void 0:r.type)||!i)return!1;if(")"===o(a,t,N))return l(n,t),!0;if(n===r.consequent&&i===r.alternate){if("BlockStatement"===n.type)l(n,t);else{var s="SingleLine"===t.type||t.loc.start.line===t.loc.end.line,p=t.loc.start.line===n.loc.start.line;s&&p?c(n,t,T):c(r,t)}return!0}return"BlockStatement"===i.type?(M(i,t),!0):"IfStatement"===i.type?(j(i.consequent,t),!0):r.consequent===i&&(u(i,t),!0)}function V(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,i=e.followingNode,a=e.text;return!("WhileStatement"!==(null==r?void 0:r.type)||!i)&&(")"===o(a,t,N)?(l(n,t),!0):"BlockStatement"===i.type?(M(i,t),!0):r.body===i&&(u(i,t),!0))}function H(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,i=e.followingNode;return!("TryStatement"!==(null==r?void 0:r.type)&&"CatchClause"!==(null==r?void 0:r.type)||!i)&&("CatchClause"===r.type&&n?(l(n,t),!0):"BlockStatement"===i.type?(M(i,t),!0):"TryStatement"===i.type?(j(i.finalizer,t),!0):"CatchClause"===i.type&&(j(i.body,t),!0))}function U(e){var t=e.comment,n=e.enclosingNode,r=e.followingNode;return!(!A(n)||"Identifier"!==(null==r?void 0:r.type))&&(u(n,t),!0)}function z(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,i=e.followingNode,a=e.text,o=n&&!s(a,N(n),B(t));return!(n&&o||"ConditionalExpression"!==(null==r?void 0:r.type)&&"TSConditionalType"!==(null==r?void 0:r.type)||!i)&&(u(i,t),!0)}function q(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode;return!(!w(r)||!r.shorthand||r.key!==n||"AssignmentPattern"!==r.value.type)&&(l(r.value.left,t),!0)}var K=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function J(e){var t=e.comment,n=e.precedingNode,i=e.enclosingNode,a=e.followingNode;if(K.has(null==i?void 0:i.type)){if(f(i.decorators)&&(!a||"Decorator"!==a.type))return l(r(i.decorators),t),!0;if(i.body&&a===i.body)return M(i.body,t),!0;if(a){if(i.superClass&&a===i.superClass&&n&&(n===i.id||n===i.typeParameters))return l(n,t),!0;for(var o=0,s=["implements","extends","mixins"];o"===r.slice(i,i+2)&&(c(n,t),!0)}function ee(e){var t=e.comment,n=e.enclosingNode,r=e.text;return")"===o(r,t,N)&&(n&&(ge(n)&&0===h(n).length||x(n)&&0===C(n).length)?(c(n,t),!0):("MethodDefinition"===(null==n?void 0:n.type)||"TSAbstractMethodDefinition"===(null==n?void 0:n.type))&&0===h(n.value).length&&(c(n.value,t),!0))}function te(e){var t=e.comment,n=e.precedingNode,i=e.enclosingNode,s=e.followingNode,u=e.text;if("FunctionTypeParam"===(null==n?void 0:n.type)&&"FunctionTypeAnnotation"===(null==i?void 0:i.type)&&"FunctionTypeParam"!==(null==s?void 0:s.type)||("Identifier"===(null==n?void 0:n.type)||"AssignmentPattern"===(null==n?void 0:n.type))&&i&&ge(i)&&")"===o(u,t,N))return l(n,t),!0;if("FunctionDeclaration"===(null==i?void 0:i.type)&&"BlockStatement"===(null==s?void 0:s.type)){var c=function(){var e=h(i);if(e.length>0)return a(u,N(r(e)));var t=a(u,N(i.id));return!1!==t&&a(u,t+1)}();if(B(t)>c)return M(s,t),!0}return!1}function ne(e){var t=e.comment,n=e.enclosingNode;return"LabeledStatement"===(null==n?void 0:n.type)&&(u(n,t),!0)}function re(e){var t=e.comment,n=e.enclosingNode;return!("ContinueStatement"!==(null==n?void 0:n.type)&&"BreakStatement"!==(null==n?void 0:n.type)||n.label)&&(l(n,t),!0)}function ie(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode;return!!(E(r)&&n&&r.callee===n&&r.arguments.length>0)&&(u(r.arguments[0],t),!0)}function ae(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,i=e.followingNode;return"UnionTypeAnnotation"===(null==r?void 0:r.type)||"TSUnionType"===(null==r?void 0:r.type)?(m(t)&&(i.prettierIgnore=!0,t.unignore=!0),!!n&&(l(n,t),!0)):(("UnionTypeAnnotation"===(null==i?void 0:i.type)||"TSUnionType"===(null==i?void 0:i.type))&&m(t)&&(i.types[0].prettierIgnore=!0,t.unignore=!0),!1)}function oe(e){var t=e.comment,n=e.enclosingNode;return!!w(n)&&(u(n,t),!0)}function se(e){var t=e.comment,n=e.enclosingNode,r=e.followingNode,i=e.ast,a=e.isLastComment;return i&&i.body&&0===i.body.length?(a?c(i,t):u(i,t),!0):"Program"!==(null==n?void 0:n.type)||0!==(null==n?void 0:n.body.length)||f(n.directives)?"Program"===(null==r?void 0:r.type)&&0===(null==r?void 0:r.body.length)&&"ModuleExpression"===(null==n?void 0:n.type)&&(c(r,t),!0):(a?c(n,t):u(n,t),!0)}function ue(e){var t=e.comment,n=e.enclosingNode;return("ForInStatement"===(null==n?void 0:n.type)||"ForOfStatement"===(null==n?void 0:n.type))&&(u(n,t),!0)}function le(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,a=e.text;if("ImportSpecifier"===(null==r?void 0:r.type)||"ExportSpecifier"===(null==r?void 0:r.type))return u(r,t),!0;var o="ImportSpecifier"===(null==n?void 0:n.type)&&"ImportDeclaration"===(null==r?void 0:r.type),s="ExportSpecifier"===(null==n?void 0:n.type)&&"ExportNamedDeclaration"===(null==r?void 0:r.type);return!(!o&&!s||!i(a,N(t)))&&(l(n,t),!0)}function ce(e){var t=e.comment,n=e.enclosingNode;return"AssignmentPattern"===(null==n?void 0:n.type)&&(u(n,t),!0)}var pe=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),fe=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function de(e){var t=e.comment,n=e.enclosingNode,r=e.followingNode;return!(!pe.has(null==n?void 0:n.type)||!r||!fe.has(r.type)&&!I(t))&&(u(r,t),!0)}function he(e){var t=e.comment,n=e.enclosingNode,r=e.followingNode,i=e.text;return!(r||"TSMethodSignature"!==(null==n?void 0:n.type)&&"TSDeclareFunction"!==(null==n?void 0:n.type)&&"TSAbstractMethodDefinition"!==(null==n?void 0:n.type)||";"!==o(i,t,N))&&(l(n,t),!0)}function me(e){var t=e.comment,n=e.enclosingNode,r=e.followingNode;if(m(t)&&"TSMappedType"===(null==n?void 0:n.type)&&"TSTypeParameter"===(null==r?void 0:r.type)&&r.constraint)return n.prettierIgnore=!0,t.unignore=!0,!0}function ye(e){var t=e.comment,n=e.precedingNode,r=e.enclosingNode,i=e.followingNode;return"TSMappedType"===(null==r?void 0:r.type)&&("TSTypeParameter"===(null==i?void 0:i.type)&&i.name?(u(i.name,t),!0):!("TSTypeParameter"!==(null==n?void 0:n.type)||!n.constraint)&&(l(n.constraint,t),!0))}function ve(e){var t=e.comment,n=e.enclosingNode,r=e.followingNode;return!(!n||"SwitchCase"!==n.type||n.test)&&("BlockStatement"===r.type&&k(t)?M(r,t):c(n,t),!0)}function ge(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function De(e,t){if(("typescript"===t.parser||"flow"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===h(e.value).length&&!e.value.returnType&&!f(e.value.typeParameters)&&e.value.body)return[].concat(g(e.decorators||[]),[e.key,e.value.body])}function be(e){return I(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}function xe(e){var t=e.getValue(),n=e.getParentNode(),r=function(e){return D(S(e,F.Leading))||D(S(e,F.Trailing))};return(t&&(y(t)||v(t)||E(n)&&r(t))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!b(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}t.exports={handleOwnLineComment:L,handleEndOfLineComment:O,handleRemainingComment:_,isTypeCastComment:be,getCommentChildNodes:De,willPrintOwnComments:xe}}}),ur=W({"src/language-js/needs-parens.js":function(e,t){G();var n=Q(),r=Pe(),i=Fn(),a=i.getFunctionParameters,o=i.getLeftSidePathName,s=i.hasFlowShorthandAnnotationComment,u=i.hasNakedLeftSide,l=i.hasNode,c=i.isBitwiseOperator,p=i.startsWithNoLookaheadToken,f=i.shouldFlatten,d=i.getPrecedence,h=i.isCallExpression,m=i.isMemberExpression,y=i.isObjectProperty;function v(e,t){var n=e.getParentNode();if(!n)return!1;var i=e.getName(),o=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&C(o)&&E(e))return!0;if(D(o))return!1;if("flow"!==t.parser&&s(e.getValue()))return!0;if("Identifier"===o.type)return!!(o.extra&&o.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(o.name)||"left"===i&&"async"===o.name&&"ForOfStatement"===n.type&&!n.await);switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===i&&("ArrowFunctionExpression"===o.type||"AssignmentExpression"===o.type||"AwaitExpression"===o.type||"BinaryExpression"===o.type||"ConditionalExpression"===o.type||"LogicalExpression"===o.type||"NewExpression"===o.type||"ObjectExpression"===o.type||"SequenceExpression"===o.type||"TaggedTemplateExpression"===o.type||"UnaryExpression"===o.type||"UpdateExpression"===o.type||"YieldExpression"===o.type||"TSNonNullExpression"===o.type))return!0;break;case"ExportDefaultDeclaration":return A(e,t)||"SequenceExpression"===o.type;case"Decorator":if("expression"===i){for(var u=!1,l=!1,v=o;v;)switch(v.type){case"MemberExpression":l=!0,v=v.object;break;case"CallExpression":if(l||u)return"typescript"!==t.parser;u=!0,v=v.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return"typescript"!==t.parser;default:return!0}return!0}break;case"ExpressionStatement":if(p(o,!0))return!0;break;case"ArrowFunctionExpression":if("body"===i&&"SequenceExpression"!==o.type&&p(o,!1))return!0}switch(o.type){case"UpdateExpression":if("UnaryExpression"===n.type)return o.prefix&&("++"===o.operator&&"+"===n.operator||"--"===o.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return o.operator===n.operator&&("+"===o.operator||"-"===o.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===i;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===i;case"BinaryExpression":return"left"===i&&"**"===n.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===n.type||"in"===o.operator&&b(e))return!0;if("|>"===o.operator&&o.extra&&o.extra.parenthesized){var g=e.getParentNode(1);if("BinaryExpression"===g.type&&"|>"===g.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"TSAsExpression":return"TSAsExpression"!==o.type;case"ConditionalExpression":return"TSAsExpression"===o.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===i;case"ClassExpression":case"ClassDeclaration":return"superClass"===i;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===i;case"AssignmentExpression":case"AssignmentPattern":return"left"===i&&("TSTypeAssertion"===o.type||"TSAsExpression"===o.type);case"LogicalExpression":if("LogicalExpression"===o.type)return n.operator!==o.operator;case"BinaryExpression":var w=o.operator,k=o.type;if(!w&&"TSTypeAssertion"!==k)return!0;var S=d(w),F=n.operator,T=d(F);return T>S||"right"===i&&T===S||T===S&&!f(F,w)||(T"===n.operator);default:return!1}case"TSConditionalType":if("extendsType"===i&&"TSConditionalType"===n.type)return!0;case"TSFunctionType":case"TSConstructorType":if("checkType"===i&&"TSConditionalType"===n.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===n.type||"TSIntersectionType"===n.type)&&n.types.length>1&&(!o.types||o.types.length>1))return!0;case"TSInferType":if("TSInferType"===o.type&&"TSRestType"===n.type)return!1;case"TSTypeOperator":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"objectType"===i&&"TSIndexedAccessType"===n.type||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&e.getParentNode(1).type.startsWith("TSJSDoc");case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type||"objectType"===i&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"objectType"===i&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"FunctionTypeAnnotation":var P="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===P.type||"IntersectionTypeAnnotation"===P.type||"ArrayTypeAnnotation"===P.type||"objectType"===i&&("IndexedAccessType"===P.type||"OptionalIndexedAccessType"===P.type)||"NullableTypeAnnotation"===P.type||"FunctionTypeParam"===n.type&&null===n.name&&a(o).some((function(e){return e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type}));case"OptionalIndexedAccessType":return"objectType"===i&&"IndexedAccessType"===n.type;case"TypeofTypeAnnotation":return"objectType"===i&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof o.value&&"ExpressionStatement"===n.type&&!n.directive){var B=e.getParentNode(1);return"Program"===B.type||"BlockStatement"===B.type}return"object"===i&&"MemberExpression"===n.type&&"number"==typeof o.value;case"AssignmentExpression":var N=e.getParentNode(1);return"body"===i&&"ArrowFunctionExpression"===n.type||("key"!==i||"ClassProperty"!==n.type&&"PropertyDefinition"!==n.type||!n.computed)&&("init"!==i&&"update"!==i||"ForStatement"!==n.type)&&("ExpressionStatement"===n.type?"ObjectPattern"===o.left.type:!("key"===i&&"TSPropertySignature"===n.type||"AssignmentExpression"===n.type||"SequenceExpression"===n.type&&N&&"ForStatement"===N.type&&(N.init===n||N.update===n)||"value"===i&&"Property"===n.type&&N&&"ObjectPattern"===N.type&&N.properties.includes(n)||"NGChainedExpression"===n.type));case"ConditionalExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===i;case"ConditionalExpression":return"test"===i;case"MemberExpression":case"OptionalMemberExpression":return"object"===i;default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===i;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"BinaryExpression":return"|>"!==n.operator||o.extra&&o.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===i;case"MemberExpression":case"OptionalMemberExpression":return"object"===i;case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===i;default:return!1}case"ClassExpression":return!!r(o.decorators)||"NewExpression"===n.type&&"callee"===i;case"OptionalMemberExpression":case"OptionalCallExpression":var I=e.getParentNode(1);if("object"===i&&"MemberExpression"===n.type||"callee"===i&&("CallExpression"===n.type||"NewExpression"===n.type)||"TSNonNullExpression"===n.type&&"MemberExpression"===I.type&&I.object===n)return!0;case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===i&&("BindExpression"===n.type||"NewExpression"===n.type))for(var L=o;L;)switch(L.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":L=L.object;break;case"TaggedTemplateExpression":L=L.tag;break;case"TSNonNullExpression":L=L.expression;break;default:return!1}return!1;case"BindExpression":return"callee"===i&&("BindExpression"===n.type||"NewExpression"===n.type)||"object"===i&&m(n);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||"ObjectProperty"===n.type&&(!o.extra||!o.extra.parenthesized)||"ArrayExpression"===n.type||h(n)&&n.arguments[i]===o||"right"===i&&"NGPipeExpression"===n.type||"property"===i&&"MemberExpression"===n.type||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===i||"left"===i&&"BinaryExpression"===n.type&&"<"===n.operator||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&!h(n)&&!y(n)&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type&&"YieldExpression"!==n.type;case"TypeAnnotation":return"returnType"===i&&"ArrowFunctionExpression"===n.type&&x(o)}return!1}function D(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"PropertyDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}function b(e){for(var t=0,n=e.getValue();n;){var r=e.getParentNode(t++);if(r&&"ForStatement"===r.type&&r.init===n)return!0;n=r}return!1}function x(e){return l(e,(function(e){return"ObjectTypeAnnotation"===e.type&&l(e,(function(e){return"FunctionTypeAnnotation"===e.type||void 0}))||void 0}))}function C(e){return"ObjectExpression"===e.type}function E(e){var t=e.getValue(),r=e.getParentNode(),i=e.getName();switch(r.type){case"NGPipeExpression":if("number"==typeof i&&r.arguments[i]===t&&r.arguments.length-1===i)return e.callParent(E);break;case"ObjectProperty":if("value"===i){var a=e.getParentNode(1);return n(a.properties)===r}break;case"BinaryExpression":case"LogicalExpression":if("right"===i)return e.callParent(E);break;case"ConditionalExpression":if("alternate"===i)return e.callParent(E);break;case"UnaryExpression":if(r.prefix)return e.callParent(E)}return!1}function A(e,t){var n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!v(e,t):!(!u(n)||"ExportDefaultDeclaration"!==r.type&&v(e,t))&&e.call.apply(e,[function(e){return A(e,t)}].concat(g(o(e,n))))}t.exports=v}}),lr=W({"src/language-js/print-preprocess.js":function(e,t){function n(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},e),{},{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}}G(),t.exports=n}}),cr=W({"src/language-js/print/html-binding.js":function(e,t){G();var n=de().builders,r=n.join,i=n.line,a=n.group,o=n.softline,s=n.indent;function u(e,t,n){var u=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(u,t),"File"===u.type){if(t.__isVueForBindingLeft)return e.call((function(e){var t=r([",",i],e.map(n,"params"));return 1===e.getValue().params.length?t:["(",s([o,a(t)]),o,")"]}),"program","body",0);if(t.__isVueBindings)return e.call((function(e){return r([",",i],e.map(n,"params"))}),"program","body",0)}}function l(e){switch(e.type){case"MemberExpression":switch(e.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return l(e.object)}return!1;case"Identifier":return!0;default:return!1}}t.exports={isVueEventBindingExpression:l,printHtmlBinding:u}}}),pr=W({"src/language-js/print/binaryish.js":function(e,t){G();var n=hn().printComments,r=Me().getLast,i=de(),a=i.builders,o=a.join,s=a.line,u=a.softline,l=a.group,c=a.indent,p=a.align,f=a.ifBreak,d=a.indentIfBreak,h=i.utils,m=h.cleanDoc,y=h.getDocParts,v=h.isConcat,D=Fn(),b=D.hasLeadingOwnLineComment,x=D.isBinaryish,C=D.isJsxNode,E=D.shouldFlatten,A=D.hasComment,w=D.CommentCheckFlags,k=D.isCallExpression,S=D.isMemberExpression,F=D.isObjectProperty,T=D.isEnabledHackPipeline,P=0;function B(e,t,n){var i=e.getValue(),a=e.getParentNode(),o=e.getParentNode(1),s=i!==a.body&&("IfStatement"===a.type||"WhileStatement"===a.type||"SwitchStatement"===a.type||"DoWhileStatement"===a.type),p=T(t)&&"|>"===i.operator,f=N(e,n,t,!1,s);if(s)return f;if(p)return l(f);if(k(a)&&a.callee===i||"UnaryExpression"===a.type||S(a)&&!a.computed)return l([c([u].concat(g(f))),u]);var h="ReturnStatement"===a.type||"ThrowStatement"===a.type||"JSXExpressionContainer"===a.type&&"JSXAttribute"===o.type||"|"!==i.operator&&"JsExpressionRoot"===a.type||"NGPipeExpression"!==i.type&&("NGRoot"===a.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===a.type&&"NGMicrosyntax"===o.type&&1===o.body.length)||i===a.body&&"ArrowFunctionExpression"===a.type||i!==a.body&&"ForStatement"===a.type||"ConditionalExpression"===a.type&&"ReturnStatement"!==o.type&&"ThrowStatement"!==o.type&&!k(o)||"TemplateLiteral"===a.type,m="AssignmentExpression"===a.type||"VariableDeclarator"===a.type||"ClassProperty"===a.type||"PropertyDefinition"===a.type||"TSAbstractPropertyDefinition"===a.type||"ClassPrivateProperty"===a.type||F(a),y=x(i.left)&&E(i.operator,i.left.operator);if(h||I(i)&&!y||!I(i)&&m)return l(f);if(0===f.length)return"";var v=C(i.right),D=f.findIndex((function(e){return"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type})),b=f.slice(0,-1===D?1:D+1),A=f.slice(b.length,v?-1:void 0),w=Symbol("logicalChain-"+ ++P),B=l([].concat(g(b),[c(A)]),{id:w});if(!v)return B;var L=r(f);return l([B,d(L,{groupId:w})])}function N(e,t,r,i,a){var d=e.getValue();if(!x(d))return[l(t())];var h=[];E(d.operator,d.left.operator)?h=e.call((function(e){return N(e,t,r,!0,a)}),"left"):h.push(l(t("left")));var g,D=I(d),C=("|>"===d.operator||"NGPipeExpression"===d.type||"|"===d.operator&&"__vue_expression"===r.parser)&&!b(r.originalText,d.right),k="NGPipeExpression"===d.type?"|":d.operator,S="NGPipeExpression"===d.type&&d.arguments.length>0?l(c([u,": ",o([u,":",f(" ")],e.map(t,"arguments").map((function(e){return p(2,l(e))})))])):"";if(D)g=[k," ",t("right"),S];else{var F=T(r)&&"|>"===k?e.call((function(e){return N(e,t,r,!0,a)}),"right"):t("right");g=[C?s:"",k,C?" ":s,F,S]}var P=e.getParentNode(),B=A(d.left,w.Trailing|w.Line),L=B||!(a&&"LogicalExpression"===d.type)&&P.type!==d.type&&d.left.type!==d.type&&d.right.type!==d.type;if(h.push(C?"":" ",L?l(g,{shouldBreak:B}):g),i&&A(d)){var O=m(n(e,h,r));return v(O)||"fill"===O.type?y(O):[O]}return h}function I(e){return"LogicalExpression"===e.type&&!!("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||C(e.right))}t.exports={printBinaryishExpression:B,shouldInlineLogicalExpression:I}}}),fr=W({"src/language-js/print/angular.js":function(e,t){G();var n=de().builders,r=n.join,i=n.line,a=n.group,o=Fn(),s=o.hasNode,u=o.hasComment,l=o.getComments,c=pr().printBinaryishExpression;function p(e,t,n){var o=e.getValue();if(o.type.startsWith("NG"))switch(o.type){case"NGRoot":return[n("node"),u(o.node)?" //"+l(o.node)[0].value.trimEnd():""];case"NGPipeExpression":return c(e,t,n);case"NGChainedExpression":return a(r([";",i],e.map((function(e){return d(e)?n():["(",n(),")"]}),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[o.prefix,": ",o.value.trim()];case"NGMicrosyntax":return e.map((function(e,t){return[0===t?"":f(e.getValue(),t,o)?" ":[";",i],n()]}),"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(o.name)?o.name:JSON.stringify(o.name);case"NGMicrosyntaxExpression":return[n("expression"),null===o.alias?"":[" as ",n("alias")]];case"NGMicrosyntaxKeyedExpression":var s=e.getName(),p=e.getParentNode(),h=f(o,s,p)||(1===s&&("then"===o.key.name||"else"===o.key.name)||2===s&&"else"===o.key.name&&"NGMicrosyntaxKeyedExpression"===p.body[s-1].type&&"then"===p.body[s-1].key.name)&&"NGMicrosyntaxExpression"===p.body[0].type;return[n("key"),h?" ":": ",n("expression")];case"NGMicrosyntaxLet":return["let ",n("key"),null===o.value?"":[" = ",n("value")]];case"NGMicrosyntaxAs":return[n("key")," as ",n("alias")];default:throw new Error("Unknown Angular node type: ".concat(JSON.stringify(o.type),"."))}}function f(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value}function d(e){return s(e.getValue(),(function(e){switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))}t.exports={printAngular:p}}}),dr=W({"src/language-js/print/jsx.js":function(e,t){G();var n=hn(),r=n.printComments,i=n.printDanglingComments,a=de(),o=a.builders,s=o.line,u=o.hardline,l=o.softline,c=o.group,p=o.indent,f=o.conditionalGroup,d=o.fill,h=o.ifBreak,m=o.lineSuffixBoundary,v=o.join,b=a.utils.willBreak,x=Me(),C=x.getLast,E=x.getPreferredQuote,A=Fn(),w=A.isJsxNode,k=A.rawText,S=A.isLiteral,F=A.isCallExpression,T=A.isStringLiteral,P=A.isBinaryish,B=A.hasComment,N=A.CommentCheckFlags,I=A.hasNodeIgnoreComment,L=ur(),O=sr().willPrintOwnComments,_=function(e){return""===e||e===s||e===u||e===l};function M(e,t,n){var r=e.getValue();if("JSXElement"===r.type&&ne(r))return[n("openingElement"),n("closingElement")];var i="JSXElement"===r.type?n("openingElement"):n("openingFragment"),a="JSXElement"===r.type?n("closingElement"):n("closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return[i].concat(g(e.map(n,"children")),[a]);r.children=r.children.map((function(e){return ie(e)?{type:"JSXText",value:" ",raw:" "}:e}));for(var o=r.children.some(w),s=r.children.filter((function(e){return"JSXExpressionContainer"===e.type})).length>1,m="JSXElement"===r.type&&r.openingElement.attributes.length>1,v=b(i)||o||m||s,x="mdx"===e.getParentNode().rootMarker,E=t.singleQuote?"{' '}":'{" "}',A=x?" ":h([E,l]," "),k=j(e,t,n,A,r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name),S=r.children.some((function(e){return re(e)})),F=k.length-2;F>=0;F--){var T=""===k[F]&&""===k[F+1],P=k[F]===u&&""===k[F+1]&&k[F+2]===u,B=(k[F]===l||k[F]===u)&&""===k[F+1]&&k[F+2]===A,N=k[F]===A&&""===k[F+1]&&(k[F+2]===l||k[F+2]===u),I=k[F]===A&&""===k[F+1]&&k[F+2]===A,L=k[F]===l&&""===k[F+1]&&k[F+2]===u||k[F]===u&&""===k[F+1]&&k[F+2]===l;P&&S||T||B||I||L?k.splice(F,2):N&&k.splice(F+1,2)}for(;k.length>0&&_(C(k));)k.pop();for(;k.length>1&&_(k[0])&&_(k[1]);)k.shift(),k.shift();var O,M=[],R=D(k.entries());try{for(R.s();!(O=R.n()).done;){var W=y(O.value,2),V=W[0],H=W[1];if(H===A){if(1===V&&""===k[V-1]){if(2===k.length){M.push(E);continue}M.push([E,u]);continue}if(V===k.length-1){M.push(E);continue}if(""===k[V-1]&&k[V-2]===u){M.push(E);continue}}M.push(H),b(H)&&(v=!0)}}catch(G){R.e(G)}finally{R.f()}var U=S?d(M):c(M,{shouldBreak:!0});if(x)return U;var z=c([i,p([u,U]),u,a]);return v?z:f([c([i].concat(g(k),[a])),z])}function j(e,t,n,r,i){var a=[];return e.each((function(e,t,o){var l=e.getValue();if(S(l)){var c=k(l);if(re(l)){var p,f=c.split(Z);if(""===f[0]){if(a.push(""),f.shift(),/\n/.test(f[0])){var d=o[t+1];a.push(W(i,f[1],l,d))}else a.push(r);f.shift()}if(""===C(f)&&(f.pop(),p=f.pop()),0===f.length)return;var h,m=D(f.entries());try{for(m.s();!(h=m.n()).done;){var v=y(h.value,2),g=v[0],b=v[1];g%2===1?a.push(s):a.push(b)}}catch(T){m.e(T)}finally{m.f()}if(void 0!==p)if(/\n/.test(p)){var x=o[t+1];a.push(W(i,C(a),l,x))}else a.push(r);else{var E=o[t+1];a.push(R(i,C(a),l,E))}}else/\n/.test(c)?c.match(/\n/g).length>1&&a.push("",u):a.push("",r)}else{var A=n();a.push(A);var w=o[t+1];if(w&&re(w)){var F=te(k(w)).split(Z)[0];a.push(R(i,F,l,w))}else a.push(u)}}),"children"),a}function R(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?l:u:l}function W(e,t,n,r){return e?u:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?u:l:u}function V(e,t,n){var r=e.getParentNode();if(!r||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;var i=e.match(void 0,(function(e){return"ArrowFunctionExpression"===e.type}),F,(function(e){return"JSXExpressionContainer"===e.type})),a=L(e,n);return c([a?"":h("("),p([l,t]),l,a?"":h(")")],{shouldBreak:i})}function H(e,t,n){var r=e.getValue(),i=[];if(i.push(n("name")),r.value){var a;if(T(r.value)){var o=k(r.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),s=E(o,t.jsxSingleQuote?"'":'"'),u=s.escaped,l=s.quote,c=s.regex;a=[l,o=o.replace(c,u),l]}else a=n("value");i.push("=",a)}return i}function U(e,t,n){return function e(t,n){return"JSXEmptyExpression"===t.type||!B(t)&&("ArrayExpression"===t.type||"ObjectExpression"===t.type||"ArrowFunctionExpression"===t.type||"AwaitExpression"===t.type&&(e(t.argument,t)||"JSXElement"===t.argument.type)||F(t)||"FunctionExpression"===t.type||"TemplateLiteral"===t.type||"TaggedTemplateExpression"===t.type||"DoExpression"===t.type||w(n)&&("ConditionalExpression"===t.type||P(t)))}(e.getValue().expression,e.getParentNode(0))?c(["{",n("expression"),m,"}"]):c(["{",p([l,n("expression")]),l,m,"}"])}function z(e,t,n){var r=e.getValue(),i=r.name&&B(r.name)||r.typeParameters&&B(r.typeParameters);if(r.selfClosing&&0===r.attributes.length&&!i)return["<",n("name"),n("typeParameters")," />"];if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&T(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!i&&!B(r.attributes[0]))return c(["<",n("name"),n("typeParameters")," "].concat(g(e.map(n,"attributes")),[r.selfClosing?" />":">"]));var a=r.attributes.length>0&&B(C(r.attributes),N.Trailing),o=0===r.attributes.length&&!i||(t.bracketSameLine||t.jsxBracketSameLine)&&(!i||r.attributes.length>0)&&!a,f=r.attributes&&r.attributes.some((function(e){return e.value&&T(e.value)&&e.value.value.includes("\n")})),d=t.singleAttributePerLine&&r.attributes.length>1?u:s;return c(["<",n("name"),n("typeParameters"),p(e.map((function(){return[d,n()]}),"attributes")),r.selfClosing?s:o?">":l,r.selfClosing?"/>":o?"":">"],{shouldBreak:f})}function q(e,t,n){var r=e.getValue(),i=[];i.push(""),i}function K(e,t){var n=e.getValue(),r=B(n),a=B(n,N.Line),o="JSXOpeningFragment"===n.type;return[o?"<":""]}function J(e,t,n){return V(e,r(e,M(e,t,n),t),t)}function $(e,t){var n=e.getValue(),r=B(n,N.Line);return[i(e,t,!r),r?u:""]}function X(e,t,n){var i=e.getValue();return["{",e.call((function(e){var i=["...",n()],a=e.getValue();return B(a)&&O(e)?[p([l,r(e,i,t)]),l]:i}),"JSXSpreadAttribute"===i.type?"argument":"expression"),"}"]}function Q(e,t,n){var r=e.getValue();if(r.type.startsWith("JSX"))switch(r.type){case"JSXAttribute":return H(e,t,n);case"JSXIdentifier":return String(r.name);case"JSXNamespacedName":return v(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return v(".",[n("object"),n("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return X(e,t,n);case"JSXExpressionContainer":return U(e,t,n);case"JSXFragment":case"JSXElement":return J(e,t,n);case"JSXOpeningElement":return z(e,t,n);case"JSXClosingElement":return q(e,t,n);case"JSXOpeningFragment":case"JSXClosingFragment":return K(e,t);case"JSXEmptyExpression":return $(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error("Unknown JSX node type: ".concat(JSON.stringify(r.type),"."))}}var Y=" \n\r\t",Z=new RegExp("(["+Y+"]+)"),ee=new RegExp("[^"+Y+"]"),te=function(e){return e.replace(new RegExp("(?:^"+Z.source+"|"+Z.source+"$)"),"")};function ne(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;var t=e.children[0];return S(t)&&!re(t)}function re(e){return S(e)&&(ee.test(k(e))||!/\n/.test(k(e)))}function ie(e){return"JSXExpressionContainer"===e.type&&S(e.expression)&&" "===e.expression.value&&!B(e.expression)}function ae(e){var t=e.getValue(),n=e.getParentNode();if(!n||!t||!w(t)||!w(n))return!1;for(var r=null,i=n.children.indexOf(t);i>0;i--){var a=n.children[i-1];if("JSXText"!==a.type||re(a)){r=a;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&I(r.expression)}t.exports={hasJsxIgnoreComment:ae,printJsx:Q}}}),hr=W({"src/language-js/print/misc.js":function(e,t){G();var n=Me().isNonEmptyArray,r=de().builders,i=r.indent,a=r.join,o=r.line,s=Fn().isFlowAnnotationComment;function u(e){var t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"}function l(e){return e.getValue().definite||e.match(void 0,(function(e,t){return"id"===t&&"VariableDeclarator"===e.type&&e.definite}))?"!":""}function c(e,t,n){var r=e.getValue();return r.typeArguments?n("typeArguments"):r.typeParameters?n("typeParameters"):""}function p(e,t,n){var r=e.getValue();if(!r.typeAnnotation)return"";var i=e.getParentNode(),a="DeclareFunction"===i.type&&i.id===r;return s(t.originalText,r.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[a?"":": ",n("typeAnnotation")]}function f(e,t,n){return["::",n("callee")]}function d(e,t,r){var i=e.getValue();return n(i.modifiers)?[a(" ",e.map(r,"modifiers"))," "]:""}function h(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?[" ",t]:i([o,t])}function m(e,t,n){return["...",n("argument"),p(e,t,n)]}t.exports={printOptionalToken:u,printDefiniteToken:l,printFunctionTypeParameters:c,printBindExpressionCallee:f,printTypeScriptModifiers:d,printTypeAnnotation:p,printRestSpread:m,adjustClause:h}}}),mr=W({"src/language-js/print/array.js":function(e,t){G();var n=hn().printDanglingComments,r=de().builders,i=r.line,a=r.softline,o=r.hardline,s=r.group,u=r.indent,l=r.ifBreak,c=r.fill,p=Me(),f=p.getLast,d=p.hasNewline,h=Fn(),m=h.shouldPrintComma,y=h.hasComment,v=h.CommentCheckFlags,g=h.isNextLineEmpty,D=h.isNumericLiteral,b=h.isSignedNumericLiteral,x=on().locStart,C=hr(),E=C.printOptionalToken,A=C.printTypeAnnotation;function w(e,t,r){var i=e.getValue(),o=[],c="TupleExpression"===i.type?"#[":"[",p="]";if(0===i.elements.length)y(i,v.Dangling)?o.push(s([c,n(e,t),a,p])):o.push(c,p);else{var d=f(i.elements),h=!(d&&"RestElement"===d.type),g=null===d,D=Symbol("array"),b=!t.__inJestEach&&i.elements.length>1&&i.elements.every((function(e,t,n){var r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;var i=n[t+1];if(i&&r!==i.type)return!1;var a="ArrayExpression"===r?"elements":"properties";return e[a]&&e[a].length>1})),x=k(i,t),C=h?g?",":m(t)?x?l(",","",{groupId:D}):l(","):"":"";o.push(s([c,u([a,x?F(e,t,r,C):[S(e,t,"elements",r),C],n(e,t,!0)]),a,p],{shouldBreak:b,id:D}))}return o.push(E(e),A(e,t,r)),o}function k(e,t){return e.elements.length>1&&e.elements.every((function(e){return e&&(D(e)||b(e)&&!y(e.argument))&&!y(e,v.Trailing|v.Line,(function(e){return!d(t.originalText,x(e),{backwards:!0})}))}))}function S(e,t,n,r){var o=[],u=[];return e.each((function(e){o.push(u,s(r())),u=[",",i],e.getValue()&&g(e.getValue(),t)&&u.push(a)}),n),o}function F(e,t,n,r){var a=[];return e.each((function(e,s,u){var l=s===u.length-1;a.push([n(),l?r:","]),l||a.push(g(e.getValue(),t)?[o,o]:y(u[s+1],v.Leading|v.Line)?o:i)}),"elements"),c(a)}t.exports={printArray:w,printArrayItems:S,isConciselyPrintedArray:k}}}),yr=W({"src/language-js/print/call-arguments.js":function(e,t){G();var n=hn().printDanglingComments,r=Me(),i=r.getLast,a=r.getPenultimate,o=Fn(),s=o.getFunctionParameters,u=o.hasComment,l=o.CommentCheckFlags,c=o.isFunctionCompositionArgs,p=o.isJsxNode,f=o.isLongCurriedCallExpression,d=o.shouldPrintComma,h=o.getCallArguments,m=o.iterateCallArgumentsPath,v=o.isNextLineEmpty,D=o.isCallExpression,b=o.isStringLiteral,x=o.isObjectProperty,C=de(),E=C.builders,A=E.line,w=E.hardline,k=E.softline,S=E.group,F=E.indent,T=E.conditionalGroup,P=E.ifBreak,B=E.breakParent,N=C.utils.willBreak,I=ot().ArgExpansionBailout,L=mr().isConciselyPrintedArray;function O(e,t,r){var a=e.getValue(),o="ImportExpression"===a.type,s=h(a);if(0===s.length)return["(",n(e,t,!0),")"];if(R(s))return["(",r(["arguments",0]),", ",r(["arguments",1]),")"];var u=!1,l=!1,p=s.length-1,y=[];m(e,(function(e,n){var i=e.getNode(),a=[r()];n===p||(v(i,t)?(0===n&&(l=!0),u=!0,a.push(",",w,w)):a.push(",",A)),y.push(a)}));var D=o||a.callee&&"Import"===a.callee.type||!d(t,"all")?"":",";function b(){return S(["(",F([A].concat(y)),D,A,")"],{shouldBreak:!0})}if(u||"Decorator"!==e.getParentNode().type&&c(s))return b();var x=j(s),C=M(s,t);if(x||C){if(x?y.slice(1).some(N):y.slice(0,-1).some(N))return b();var E=[];try{e.try((function(){m(e,(function(e,t){x&&0===t&&(E=[[r([],{expandFirstArg:!0}),y.length>1?",":"",l?w:A,l?w:""]].concat(g(y.slice(1)))),C&&t===p&&(E=[].concat(g(y.slice(0,-1)),[r([],{expandLastArg:!0})]))}))}))}catch(O){if(O instanceof I)return b();throw O}return[y.some(N)?B:"",T([["("].concat(g(E),[")"]),x?["(",S(E[0],{shouldBreak:!0})].concat(g(E.slice(1)),[")"]):["("].concat(g(y.slice(0,-1)),[S(i(E),{shouldBreak:!0}),")"]),b()])]}var L=["(",F([k].concat(y)),P(D),k,")"];return f(e)?L:S(L,{shouldBreak:y.some(N)||u})}function _(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ObjectExpression"===e.type&&(e.properties.length>0||u(e))||"ArrayExpression"===e.type&&(e.elements.length>0||u(e))||"TSTypeAssertion"===e.type&&_(e.expression)||"TSAsExpression"===e.type&&_(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||W(e.body))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&_(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(D(e.body)||"ConditionalExpression"===e.body.type)||p(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type}function M(e,t){var n=i(e),r=a(e);return!u(n,l.Leading)&&!u(n,l.Trailing)&&_(n)&&(!r||r.type!==n.type)&&(2!==e.length||"ArrowFunctionExpression"!==r.type||"ArrayExpression"!==n.type)&&!(e.length>1&&"ArrayExpression"===n.type&&L(n,t))}function j(e){if(2!==e.length)return!1;var t=y(e,2),n=t[0],r=t[1];return!("ModuleExpression"!==n.type||!V(r))||!u(n)&&("FunctionExpression"===n.type||"ArrowFunctionExpression"===n.type&&"BlockStatement"===n.body.type)&&"FunctionExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"ConditionalExpression"!==r.type&&!_(r)}function R(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===s(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some((function(e){return u(e)}))}function W(e){return"BlockStatement"===e.type&&(e.body.some((function(e){return"EmptyStatement"!==e.type}))||u(e,l.Dangling))}function V(e){return"ObjectExpression"===e.type&&1===e.properties.length&&x(e.properties[0])&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&b(e.properties[0].value)&&"module"===e.properties[0].value.value}t.exports=O}}),vr=W({"src/language-js/print/member.js":function(e,t){G();var n=de().builders,r=n.softline,i=n.group,a=n.indent,o=n.label,s=Fn(),u=s.isNumericLiteral,l=s.isMemberExpression,c=s.isCallExpression,p=hr().printOptionalToken;function f(e,t,n){var s,u=e.getValue(),p=e.getParentNode(),f=0;do{s=e.getParentNode(f),f++}while(s&&(l(s)||"TSNonNullExpression"===s.type));var h=n("object"),m=d(e,t,n),y=s&&("NewExpression"===s.type||"BindExpression"===s.type||"AssignmentExpression"===s.type&&"Identifier"!==s.left.type)||u.computed||"Identifier"===u.object.type&&"Identifier"===u.property.type&&!l(p)||("AssignmentExpression"===p.type||"VariableDeclarator"===p.type)&&(c(u.object)&&u.object.arguments.length>0||"TSNonNullExpression"===u.object.type&&c(u.object.expression)&&u.object.expression.arguments.length>0||"member-chain"===h.label);return o("member-chain"===h.label?"member-chain":"member",[h,y?m:i(a([r,m]))])}function d(e,t,n){var o=n("property"),s=e.getValue(),l=p(e);return s.computed?!s.property||u(s.property)?[l,"[",o,"]"]:i([l,"[",a([r,o]),r,"]"]):[l,".",o]}t.exports={printMemberExpression:f,printMemberLookup:d}}}),gr=W({"src/language-js/print/member-chain.js":function(e,t){G();var n=hn().printComments,r=Me(),i=r.getLast,a=r.isNextLineEmptyAfterIndex,o=r.getNextNonSpaceNonCommentCharacterIndex,s=ur(),u=Fn(),l=u.isCallExpression,c=u.isMemberExpression,p=u.isFunctionOrArrowExpression,f=u.isLongCurriedCallExpression,d=u.isMemberish,h=u.isNumericLiteral,m=u.isSimpleCallArgument,y=u.hasComment,v=u.CommentCheckFlags,D=u.isNextLineEmpty,b=on().locEnd,x=de(),C=x.builders,E=C.join,A=C.hardline,w=C.group,k=C.indent,S=C.conditionalGroup,F=C.breakParent,T=C.label,P=x.utils.willBreak,B=yr(),N=vr().printMemberLookup,I=hr(),L=I.printOptionalToken,O=I.printFunctionTypeParameters,_=I.printBindExpressionCallee;function M(e,t,r){var u=e.getParentNode(),x=!u||"ExpressionStatement"===u.type,C=[];function I(e){var n=t.originalText,r=o(n,e,b);return")"===n.charAt(r)?!1!==r&&a(n,r+1):D(e,t)}function M(e){var i=e.getValue();l(i)&&(d(i.callee)||l(i.callee))?(C.unshift({node:i,printed:[n(e,[L(e),O(e,t,r),B(e,t,r)],t),I(i)?A:""]}),e.call((function(e){return M(e)}),"callee")):d(i)?(C.unshift({node:i,needsParens:s(e,t),printed:n(e,c(i)?N(e,t,r):_(e,t,r),t)}),e.call((function(e){return M(e)}),"object")):"TSNonNullExpression"===i.type?(C.unshift({node:i,printed:n(e,"!",t)}),e.call((function(e){return M(e)}),"expression")):C.unshift({node:i,printed:r()})}var j=e.getValue();C.unshift({node:j,printed:[L(e),O(e,t,r),B(e,t,r)]}),j.callee&&e.call((function(e){return M(e)}),"callee");for(var R=[],W=[C[0]],V=1;V0&&e[1][0].node.computed;if(1===e[0].length){var n=e[0][0].node;return"ThisExpression"===n.type||"Identifier"===n.type&&(U(n.name)||x&&z(n.name)||t)}var r=i(e[0]).node;return c(r)&&"Identifier"===r.property.type&&(U(r.property.name)||t)}W.length>0&&R.push(W);var q=R.length>=2&&!y(R[1][0].node)&&G(R);function K(e){var t=e.map((function(e){return e.printed}));return e.length>0&&i(e).needsParens?["("].concat(g(t),[")"]):t}function J(e){return 0===e.length?"":k(w([A,E(A,e.map(K))]))}var $=R.map(K),X=$,Q=q?3:2,Y=R.flat(),Z=Y.slice(1,-1).some((function(e){return y(e.node,v.Leading)}))||Y.slice(0,-1).some((function(e){return y(e.node,v.Trailing)}))||R[Q]&&y(R[Q][0].node,v.Leading);if(R.length<=Q&&!Z)return f(e)?X:w(X);var ee,te=i(R[q?1:0]).node,ne=!l(te)&&I(te),re=[K(R[0]),q?R.slice(1,2).map(K):"",ne?A:"",J(R.slice(q?2:1))],ie=C.map((function(e){return e.node})).filter(l);function ae(){var e=i(i(R)).node,t=i($);return l(e)&&P(t)&&ie.slice(0,-1).some((function(e){return e.arguments.some(p)}))}return ee=Z||ie.length>2&&ie.some((function(e){return!e.arguments.every((function(e){return m(e,0)}))}))||$.slice(0,-1).some(P)||ae()?w(re):[P(X)||ne?F:"",S([X,re])],T("member-chain",ee)}t.exports=M}}),Dr=W({"src/language-js/print/call-expression.js":function(e,t){G();var n=de().builders,r=n.join,i=n.group,a=ur(),o=Fn(),s=o.getCallArguments,u=o.hasFlowAnnotationComment,l=o.isCallExpression,c=o.isMemberish,p=o.isStringLiteral,f=o.isTemplateOnItsOwnLine,d=o.isTestCall,h=o.iterateCallArgumentsPath,m=gr(),y=yr(),v=hr(),g=v.printOptionalToken,D=v.printFunctionTypeParameters;function b(e,t,n){var o=e.getValue(),p=e.getParentNode(),v="NewExpression"===o.type,b="ImportExpression"===o.type,C=g(e),E=s(o);if(E.length>0&&(!b&&!v&&x(o,p)||1===E.length&&f(E[0],t.originalText)||!v&&d(o,p))){var A=[];return h(e,(function(){A.push(n())})),[v?"new ":"",n("callee"),C,D(e,t,n),"(",r(", ",A),")"]}var w=("babel"===t.parser||"babel-flow"===t.parser)&&o.callee&&"Identifier"===o.callee.type&&u(o.callee.trailingComments);if(w&&(o.callee.trailingComments[0].printed=!0),!b&&!v&&c(o.callee)&&!e.call((function(e){return a(e,t)}),"callee"))return m(e,t,n);var k=[v?"new ":"",b?"import":n("callee"),C,w?"/*:: ".concat(o.callee.trailingComments[0].value.slice(2).trim()," */"):"",D(e,t,n),y(e,t,n)];return b||l(o.callee)?i(k):k}function x(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){var n=s(e);return"ExpressionStatement"===t.type&&(1===n.length||2===n.length&&"ArrayExpression"===n[0].type||3===n.length&&p(n[0])&&"ArrayExpression"===n[1].type)}return!1}t.exports={printCallExpression:b}}}),br=W({"src/language-js/print/assignment.js":function(e,t){G();var n=Me(),r=n.isNonEmptyArray,i=n.getStringWidth,a=de(),o=a.builders,s=o.line,u=o.group,l=o.indent,c=o.indentIfBreak,p=o.lineSuffixBoundary,f=a.utils,d=f.cleanDoc,h=f.willBreak,m=f.canBreak,y=Fn(),v=y.hasLeadingOwnLineComment,g=y.isBinaryish,D=y.isStringLiteral,b=y.isLiteral,x=y.isNumericLiteral,C=y.isCallExpression,E=y.isMemberExpression,A=y.getCallArguments,w=y.rawText,k=y.hasComment,S=y.isSignedNumericLiteral,F=y.isObjectProperty,T=pr().shouldInlineLogicalExpression,P=Dr().printCallExpression;function B(e,t,n,r,i,a){var o=L(e,t,n,r,a),f=n(a,{assignmentLayout:o});switch(o){case"break-after-operator":return u([u(r),i,u(l([s,f]))]);case"never-break-after-operator":return u([u(r),i," ",f]);case"fluid":var d=Symbol("assignment");return u([u(r),i,u(l(s),{id:d}),p,c(f,{groupId:d})]);case"break-lhs":return u([r,i," ",u(f)]);case"chain":return[u(r),i,s,f];case"chain-tail":return[u(r),i,l([s,f])];case"chain-tail-arrow-chain":return[u(r),i,f];case"only-left":return r}}function N(e,t,n){var r=e.getValue();return B(e,t,n,n("left"),[" ",r.operator],"right")}function I(e,t,n){return B(e,t,n,n("id")," =","init")}function L(e,t,n,r,i){var a=e.getValue(),o=a[i];if(!o)return"only-left";var s=!M(o);if(e.match(M,j,(function(e){return!s||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type})))return s?"ArrowFunctionExpression"===o.type&&"ArrowFunctionExpression"===o.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!s&&M(o.right)||v(t.originalText,o))return"break-after-operator";if("CallExpression"===o.type&&"require"===o.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(_(a)||R(a)||H(a)||U(a)&&m(r))return"break-lhs";var u=X(a,r,t);return e.call((function(){return O(e,t,n,u)}),i)?"break-after-operator":u||"TemplateLiteral"===o.type||"TaggedTemplateExpression"===o.type||"BooleanLiteral"===o.type||x(o)||"ClassExpression"===o.type?"never-break-after-operator":"fluid"}function O(e,t,n,i){var a=e.getValue();if(g(a)&&!T(a))return!0;switch(a.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":var o=a.test;return g(o)&&!T(o);case"ClassExpression":return r(a.decorators)}if(i)return!1;for(var s=a,u=[];;)if("UnaryExpression"===s.type)s=s.argument,u.push("argument");else{if("TSNonNullExpression"!==s.type)break;s=s.expression,u.push("expression")}return!(!D(s)&&!e.call.apply(e,[function(){return K(e,t,n)}].concat(u)))}function _(e){if(j(e)){var t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some((function(e){return F(e)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type)}))}return!1}function M(e){return"AssignmentExpression"===e.type}function j(e){return M(e)||"VariableDeclarator"===e.type}function R(e){var t=W(e);if(r(t)){var n="TSTypeAliasDeclaration"===e.type?"constraint":"bound";if(t.length>1&&t.some((function(e){return e[n]||e.default})))return!0}return!1}function W(e){return V(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function V(e){return"TSTypeAliasDeclaration"===e.type||"TypeAlias"===e.type}function H(e){if("VariableDeclarator"!==e.type)return!1;var t=e.id.typeAnnotation;if(!t||!t.typeAnnotation)return!1;var n=z(t.typeAnnotation);return r(n)&&n.length>1&&n.some((function(e){return r(z(e))||"TSConditionalType"===e.type}))}function U(e){return"VariableDeclarator"===e.type&&e.init&&"ArrowFunctionExpression"===e.init.type}function z(e){return q(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function q(e){return"TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type}function K(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.getValue(),a=function(){return K(e,t,n,!0)};if("TSNonNullExpression"===i.type)return e.call(a,"expression");if(C(i)){if("member-chain"===P(e,t,n).label)return!1;var o=A(i);return!(!(0===o.length||1===o.length&&$(o[0],t))||Q(i,n))&&e.call(a,"callee")}return E(i)?e.call(a,"object"):r&&("Identifier"===i.type||"ThisExpression"===i.type)}var J=.25;function $(e,t){var n=t.printWidth;if(k(e))return!1;var r=n*J;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=r||S(e)&&!k(e.argument))return!0;var i="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return i?i.length<=r:D(e)?w(e).length<=r:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=r&&!e.quasis[0].value.raw.includes("\n"):b(e)}function X(e,t,n){if(!F(e))return!1;var r=3;return"string"==typeof(t=d(t))&&i(t)1)return!0;if(1===n.length){var i=n[0];if("TSUnionType"===i.type||"UnionTypeAnnotation"===i.type||"TSIntersectionType"===i.type||"IntersectionTypeAnnotation"===i.type||"TSTypeLiteral"===i.type||"ObjectTypeAnnotation"===i.type)return!0}var a=e.typeParameters?"typeParameters":"typeArguments";if(h(t(a)))return!0}return!1}function Y(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}t.exports={printVariableDeclarator:I,printAssignmentExpression:N,printAssignment:B,isArrowFunctionVariableDeclarator:U}}}),xr=W({"src/language-js/print/function-parameters.js":function(e,t){G();var n=Me().getNextNonSpaceNonCommentCharacter,r=hn().printDanglingComments,i=de(),a=i.builders,o=a.line,s=a.hardline,u=a.softline,l=a.group,c=a.indent,p=a.ifBreak,f=i.utils,d=f.removeLines,h=f.willBreak,m=Fn(),v=m.getFunctionParameters,g=m.iterateFunctionParametersPath,D=m.isSimpleType,b=m.isTestCall,x=m.isTypeAnnotationAFunction,C=m.isObjectType,E=m.isObjectTypePropertyAFunction,A=m.hasRestParameter,w=m.shouldPrintComma,k=m.hasComment,S=m.isNextLineEmpty,F=on().locEnd,T=ot().ArgExpansionBailout,P=hr().printFunctionTypeParameters;function B(e,t,i,a,f){var m=e.getValue(),y=v(m),C=f?P(e,i,t):"";if(0===y.length)return[C,"(",r(e,i,!0,(function(e){return")"===n(i.originalText,e,F)})),")"];var k=e.getParentNode(),B=b(k),I=N(m),L=[];if(g(e,(function(e,n){var r=n===y.length-1;r&&m.rest&&L.push("..."),L.push(t()),!r&&(L.push(","),B||I?L.push(" "):S(y[n],i)?L.push(s,s):L.push(o))})),a){if(h(C)||h(L))throw new T;return l([d(C),"(",d(L),")"])}var O=y.every((function(e){return!e.decorators}));return I&&O||B?[C,"("].concat(L,[")"]):(E(k)||x(k)||"TypeAlias"===k.type||"UnionTypeAnnotation"===k.type||"TSUnionType"===k.type||"IntersectionTypeAnnotation"===k.type||"FunctionTypeAnnotation"===k.type&&k.returnType===m)&&1===y.length&&null===y[0].name&&m.this!==y[0]&&y[0].typeAnnotation&&null===m.typeParameters&&D(y[0].typeAnnotation)&&!m.rest?"always"===i.arrowParens?["("].concat(L,[")"]):L:[C,"(",c([u].concat(L)),p(!A(m)&&w(i,"all")?",":""),u,")"]}function N(e){if(!e)return!1;var t=v(e);if(1!==t.length)return!1;var n=y(t,1)[0];return!k(n)&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&C(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&C(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length))}function I(e){var t;return e.returnType?(t=e.returnType).typeAnnotation&&(t=t.typeAnnotation):e.typeAnnotation&&(t=e.typeAnnotation),t}function L(e,t){var n=I(e);if(!n)return!1;var r=e.typeParameters&&e.typeParameters.params;if(r){if(r.length>1)return!1;if(1===r.length){var i=r[0];if(i.constraint||i.default)return!1}}return 1===v(e).length&&(C(n)||h(t))}t.exports={printFunctionParameters:B,shouldHugFunctionParameters:N,shouldGroupFunctionParameters:L}}}),Cr=W({"src/language-js/print/type-annotation.js":function(e,t){G();var n=hn(),r=n.printComments,i=n.printDanglingComments,a=Me().isNonEmptyArray,o=de().builders,s=o.group,u=o.join,l=o.line,c=o.softline,p=o.indent,f=o.align,d=o.ifBreak,h=ur(),m=on().locStart,y=Fn(),v=y.isSimpleType,g=y.isObjectType,D=y.hasLeadingOwnLineComment,b=y.isObjectTypePropertyAFunction,x=y.shouldPrintComma,C=br().printAssignment,E=xr(),A=E.printFunctionParameters,w=E.shouldGroupFunctionParameters,k=mr().printArrayItems;function S(e){if(v(e)||g(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){var t=e.types.filter((function(e){return"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type})).length,n=e.types.some((function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type}));if(e.types.length-1===t&&n)return!0}return!1}function F(e,t,n){var r=t.semi?";":"",i=e.getValue(),a=[];return a.push("opaque type ",n("id"),n("typeParameters")),i.supertype&&a.push(": ",n("supertype")),i.impltype&&a.push(" = ",n("impltype")),a.push(r),a}function T(e,t,n){var r=t.semi?";":"",i=e.getValue(),a=[];i.declare&&a.push("declare "),a.push("type ",n("id"),n("typeParameters"));var o="TSTypeAliasDeclaration"===i.type?"typeAnnotation":"right";return[C(e,t,n,a," =",o),r]}function P(e,t,n){for(var r=e.getValue(),i=e.map(n,"types"),a=[],o=!1,u=0;u1&&(o=!0),a.push(" & ",u>1?p(i[u]):i[u])):a.push(p([" &",l,i[u]]));return s(a)}function B(e,t,n){var i=e.getValue(),a=e.getParentNode(),o="TypeParameterInstantiation"!==a.type&&"TSTypeParameterInstantiation"!==a.type&&"GenericTypeAnnotation"!==a.type&&"TSTypeReference"!==a.type&&"TSTypeAssertion"!==a.type&&"TupleTypeAnnotation"!==a.type&&"TSTupleType"!==a.type&&!("FunctionTypeParam"===a.type&&!a.name&&e.getParentNode(1).this!==a)&&!(("TypeAlias"===a.type||"VariableDeclarator"===a.type||"TSTypeAliasDeclaration"===a.type)&&D(t.originalText,i)),m=S(i),y=e.map((function(e){var i=n();return m||(i=f(2,i)),r(e,i,t)}),"types");if(m)return u(" | ",y);var v=o&&!D(t.originalText,i),g=[d([v?l:"","| "]),u([l,"| "],y)];return h(e,t)?s([p(g),c]):"TupleTypeAnnotation"===a.type&&a.types.length>1||"TSTupleType"===a.type&&a.elementTypes.length>1?s([p([d(["(",c]),g]),c,d(")")]):s(o?p(g):g)}function N(e,t,n){var r=e.getValue(),i=[],a=e.getParentNode(0),o=e.getParentNode(1),u=e.getParentNode(2),l="TSFunctionType"===r.type||!(("ObjectTypeProperty"===a.type||"ObjectTypeInternalSlot"===a.type)&&!a.variance&&!a.optional&&m(a)===m(r)||"ObjectTypeCallProperty"===a.type||u&&"DeclareFunction"===u.type),c=l&&("TypeAnnotation"===a.type||"TSTypeAnnotation"===a.type),p=c&&l&&("TypeAnnotation"===a.type||"TSTypeAnnotation"===a.type)&&"ArrowFunctionExpression"===o.type;b(a)&&(l=!0,c=!0),p&&i.push("(");var f=A(e,n,t,!1,!0),d=r.returnType||r.predicate||r.typeAnnotation?[l?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",h=w(r,d);return i.push(h?s(f):f),d&&i.push(d),p&&i.push(")"),s(i)}function I(e,t,n){var r=e.getValue(),o="TSTupleType"===r.type?"elementTypes":"types",u=r[o],l=a(u),f=l?c:"";return s(["[",p([f,k(e,t,o,n)]),d(l&&x(t,"all")?",":""),i(e,t,!0),f,"]"])}function L(e,t,n){var r=e.getValue(),i="OptionalIndexedAccessType"===r.type&&r.optional?"?.[":"[";return[n("objectType"),i,n("indexType"),"]"]}function O(e,t,n){var r=e.getValue();return[r.postfix?"":n,t("typeAnnotation"),r.postfix?n:""]}t.exports={printOpaqueType:F,printTypeAlias:T,printIntersectionType:P,printUnionType:B,printFunctionType:N,printTupleType:I,printIndexedAccessType:L,shouldHugType:S,printJSDocType:O}}}),Er=W({"src/language-js/print/type-parameters.js":function(e,t){G();var n=hn().printDanglingComments,r=de().builders,i=r.join,a=r.line,o=r.hardline,s=r.softline,u=r.group,l=r.indent,c=r.ifBreak,p=Fn(),f=p.isTestCall,d=p.hasComment,h=p.CommentCheckFlags,m=p.isTSXFile,y=p.shouldPrintComma,v=p.getFunctionParameters,g=p.isObjectType,D=Me().createGroupIdMapper,b=Cr().shouldHugType,x=br().isArrowFunctionVariableDeclarator,C=D("typeParameters");function E(e,t,n,r){var o=e.getValue();if(!o[r])return"";if(!Array.isArray(o[r]))return n(r);var p=e.getNode(2),d=p&&f(p);if(!e.match((function(e){return!(1===e[r].length&&g(e[r][0]))}),void 0,(function(e,t){return"typeAnnotation"===t}),(function(e){return"Identifier"===e.type}),x)&&(d||0===o[r].length||1===o[r].length&&("NullableTypeAnnotation"===o[r][0].type||b(o[r][0]))))return["<",i(", ",e.map(n,r)),A(e,t),">"];var h="TSTypeParameterInstantiation"===o.type?"":1===v(o).length&&m(t)&&!o[r][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":y(t,"all")?c(","):"";return u(["<",l([s,i([",",a],e.map(n,r))]),h,s,">"],{id:C(o)})}function A(e,t){var r=e.getValue();if(!d(r,h.Dangling))return"";var i=!d(r,h.Line),a=n(e,t,i);return i?a:[a,o]}function w(e,t,n){var r=e.getValue(),i=[],a=e.getParentNode();return"TSMappedType"===a.type?(i.push("[",n("name")),r.constraint&&i.push(" in ",n("constraint")),a.nameType&&i.push(" as ",e.callParent((function(){return n("nameType")}))),i.push("]"),i):(r.variance&&i.push(n("variance")),r.in&&i.push("in "),r.out&&i.push("out "),i.push(n("name")),r.bound&&i.push(": ",n("bound")),r.constraint&&i.push(" extends ",n("constraint")),r.default&&i.push(" = ",n("default")),i)}t.exports={printTypeParameter:w,printTypeParameters:E,getTypeParametersGroupId:C}}}),Ar=W({"src/language-js/print/property.js":function(e,t){G();var n=hn().printComments,r=Me(),i=r.printString,a=r.printNumber,o=Fn(),s=o.isNumericLiteral,u=o.isSimpleNumber,l=o.isStringLiteral,c=o.isStringPropSafeToUnquote,p=o.rawText,f=br().printAssignment,d=new WeakMap;function h(e,t,r){var o=e.getNode();if(o.computed)return["[",r("key"),"]"];var f=e.getParentNode(),h=o.key;if("ClassPrivateProperty"===o.type&&"Identifier"===h.type)return["#",r("key")];if("consistent"===t.quoteProps&&!d.has(f)){var m=(f.properties||f.body||f.members).some((function(e){return!e.computed&&e.key&&l(e.key)&&!c(e,t)}));d.set(f,m)}if(("Identifier"===h.type||s(h)&&u(a(p(h)))&&String(h.value)===a(p(h))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&d.get(f))){var y=i(JSON.stringify("Identifier"===h.type?h.name:h.value.toString()),t);return e.call((function(e){return n(e,y,t)}),"key")}return c(o,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!d.get(f))?e.call((function(e){return n(e,/^\d/.test(h.value)?a(h.value):h.value,t)}),"key"):r("key")}function m(e,t,n){return e.getValue().shorthand?n("value"):f(e,t,n,h(e,t,n),":","value")}t.exports={printProperty:m,printPropertyKey:h}}}),wr=W({"src/language-js/print/function.js":function(e,t){G();var n=dn(),r=hn(),i=r.printDanglingComments,a=r.printCommentsSeparately,o=Q(),s=Me().getNextNonSpaceNonCommentCharacterIndex,u=de(),l=u.builders,c=l.line,p=l.softline,f=l.group,d=l.indent,h=l.ifBreak,m=l.hardline,y=l.join,v=l.indentIfBreak,g=u.utils,D=g.removeLines,b=g.willBreak,x=ot().ArgExpansionBailout,C=Fn(),E=C.getFunctionParameters,A=C.hasLeadingOwnLineComment,w=C.isFlowAnnotationComment,k=C.isJsxNode,S=C.isTemplateOnItsOwnLine,F=C.shouldPrintComma,T=C.startsWithNoLookaheadToken,P=C.isBinaryish,B=C.isLineComment,N=C.hasComment,I=C.getComments,L=C.CommentCheckFlags,O=C.isCallLikeExpression,_=C.isCallExpression,M=C.getCallArguments,j=C.hasNakedLeftSide,R=C.getLeftSide,W=on().locEnd,V=xr(),H=V.printFunctionParameters,U=V.shouldGroupFunctionParameters,z=Ar().printPropertyKey,q=hr().printFunctionTypeParameters;function K(e,t,n,r){var i=e.getValue(),a=!1;if(("FunctionDeclaration"===i.type||"FunctionExpression"===i.type)&&r&&r.expandLastArg){var o=e.getParentNode();_(o)&&M(o).length>1&&(a=!0)}var s=[];"TSDeclareFunction"===i.type&&i.declare&&s.push("declare "),i.async&&s.push("async "),i.generator?s.push("function* "):s.push("function "),i.id&&s.push(t("id"));var u=H(e,t,n,a),l=ne(e,t,n),c=U(i,l);return s.push(q(e,n,t),f([c?f(u):u,l]),i.body?" ":"",t("body")),n.semi&&(i.declare||!i.body)&&s.push(";"),s}function J(e,t,r){var i=e.getNode(),a=i.kind,o=i.value||i,s=[];return a&&"init"!==a&&"method"!==a&&"constructor"!==a?(n.ok("get"===a||"set"===a),s.push(a," ")):o.async&&s.push("async "),o.generator&&s.push("*"),s.push(z(e,t,r),i.optional||i.key.optional?"?":""),i===o?s.push($(e,t,r)):"FunctionExpression"===o.type?s.push(e.call((function(e){return $(e,t,r)}),"value")):s.push(r("value")),s}function $(e,t,n){var r=e.getNode(),i=H(e,n,t),a=ne(e,n,t),o=U(r,a),s=[q(e,t,n),f([o?f(i):i,a])];return r.body?s.push(" ",n("body")):s.push(t.semi?";":""),s}function X(e,t,n,r){var a=[];if(e.getValue().async&&a.push("async "),te(e,t))a.push(n(["params",0]));else{var o=r&&(r.expandLastArg||r.expandFirstArg),u=ne(e,n,t);if(o){if(b(u))throw new x;u=f(D(u))}a.push(f([H(e,n,t,o,!0),u]))}var l=i(e,t,!0,(function(e){var n=s(t.originalText,e,W);return!1!==n&&"=>"===t.originalText.slice(n,n+2)}));return l&&a.push(" ",l),a}function Y(e,t,n,r,i,a){var o=e.getName(),s=e.getParentNode(),u=O(s)&&"callee"===o,l=Boolean(t&&t.assignmentLayout),m="BlockStatement"!==a.body.type&&"ObjectExpression"!==a.body.type&&"SequenceExpression"!==a.body.type,g=u&&m||t&&"chain-tail-arrow-chain"===t.assignmentLayout,D=Symbol("arrow-chain");return"SequenceExpression"===a.body.type&&(i=f(["(",d([p,i]),p,")"])),f([f(d([u||l?p:"",f(y([" =>",c],n),{shouldBreak:r})]),{id:D,shouldBreak:g})," =>",v(m?d([c,i]):[" ",i],{groupId:D}),u?h(p,"",{groupId:D}):""])}function Z(e,t,n,r){var i=e.getValue(),o=[],s=[],u=!1;if(function l(){var c=X(e,t,n,r);if(0===o.length)o.push(c);else{var p=a(e,t),f=p.leading,d=p.trailing;o.push([f,c]),s.unshift(d)}u=u||i.returnType&&E(i).length>0||i.typeParameters||E(i).some((function(e){return"Identifier"!==e.type})),"ArrowFunctionExpression"!==i.body.type||r&&r.expandLastArg?s.unshift(n("body",r)):(i=i.body,e.call(l,"body"))}(),o.length>1)return Y(e,r,o,u,s,i);var l=o;if(l.push(" =>"),!A(t.originalText,i.body)&&("ArrayExpression"===i.body.type||"ObjectExpression"===i.body.type||"BlockStatement"===i.body.type||k(i.body)||S(i.body,t.originalText)||"ArrowFunctionExpression"===i.body.type||"DoExpression"===i.body.type))return f([].concat(l,[" ",s]));if("SequenceExpression"===i.body.type)return f([].concat(l,[f([" (",d([p,s]),p,")"])]));var m=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!N(i),y=r&&r.expandLastArg&&F(t,"all"),v="ConditionalExpression"===i.body.type&&!T(i.body,!1);return f([].concat(l,[f([d([c,v?h("","("):"",s,v?h("",")"):""]),m?[h(y?",":""),p]:""])]))}function ee(e){var t=E(e);return 1===t.length&&!e.typeParameters&&!N(e,L.Dangling)&&"Identifier"===t[0].type&&!t[0].typeAnnotation&&!N(t[0])&&!t[0].optional&&!e.predicate&&!e.returnType}function te(e,t){return"always"!==t.arrowParens&&"avoid"===t.arrowParens&&ee(e.getValue())}function ne(e,t,n){var r=e.getValue(),i=t("returnType");if(r.returnType&&w(n.originalText,r.returnType))return[" /*: ",i," */"];var a=[i];return r.returnType&&r.returnType.typeAnnotation&&a.unshift(": "),r.predicate&&a.push(r.returnType?" ":": ",t("predicate")),a}function re(e,t,n){var r=e.getValue(),a=t.semi?";":"",s=[];r.argument&&(oe(t,r.argument)?s.push([" (",d([m,n("argument")]),m,")"]):P(r.argument)||"SequenceExpression"===r.argument.type?s.push(f([h(" ("," "),d([p,n("argument")]),p,h(")")])):s.push(" ",n("argument")));var u=I(r),l=o(u),c=l&&B(l);return c&&s.push(a),N(r,L.Dangling)&&s.push(" ",i(e,t,!0)),c||s.push(a),s}function ie(e,t,n){return["return",re(e,t,n)]}function ae(e,t,n){return["throw",re(e,t,n)]}function oe(e,t){if(A(e.originalText,t))return!0;if(j(t))for(var n,r=t;n=R(r);)if(r=n,A(e.originalText,r))return!0;return!1}t.exports={printFunction:K,printArrowFunction:Z,printMethod:J,printReturnStatement:ie,printThrowStatement:ae,printMethodInternal:$,shouldPrintParamsWithoutParens:te}}}),kr=W({"src/language-js/print/decorators.js":function(e,t){G();var n=Me(),r=n.isNonEmptyArray,i=n.hasNewline,a=de().builders,o=a.line,s=a.hardline,u=a.join,l=a.breakParent,c=a.group,p=on(),f=p.locStart,d=p.locEnd,h=Fn().getParentExportDeclaration;function m(e,t,n){var r=e.getValue();return c([u(o,e.map(n,"decorators")),g(r,t)?s:o])}function y(e,t,n){return[u(s,e.map(n,"declaration","decorators")),s]}function v(e,t,n){var i=e.getValue(),a=i.decorators;if(r(a)&&!D(e.getParentNode())){var c="ClassExpression"===i.type||"ClassDeclaration"===i.type||g(i,t);return[h(e)?s:c?l:"",u(o,e.map(n,"decorators")),o]}}function g(e,t){return e.decorators.some((function(e){return i(t.originalText,d(e))}))}function D(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;var t=e.declaration&&e.declaration.decorators;return r(t)&&f(e,{ignoreDecorators:!0})>f(t[0])}t.exports={printDecorators:v,printClassMemberDecorators:m,printDecoratorsBeforeExport:y,hasDecoratorsBeforeExport:D}}}),Sr=W({"src/language-js/print/class.js":function(e,t){G();var n=Me(),r=n.isNonEmptyArray,i=n.createGroupIdMapper,a=hn(),o=a.printComments,s=a.printDanglingComments,u=de().builders,l=u.join,c=u.line,p=u.hardline,f=u.softline,d=u.group,h=u.indent,m=u.ifBreak,y=Fn(),v=y.hasComment,g=y.CommentCheckFlags,D=Er().getTypeParametersGroupId,b=wr().printMethod,x=hr(),C=x.printOptionalToken,E=x.printTypeAnnotation,A=x.printDefiniteToken,w=Ar().printPropertyKey,k=br().printAssignment,S=kr().printClassMemberDecorators;function F(e,t,n){var i=e.getValue(),a=[];i.declare&&a.push("declare "),i.abstract&&a.push("abstract "),a.push("class");var s,u=i.id&&v(i.id,g.Trailing)||i.typeParameters&&v(i.typeParameters,g.Trailing)||i.superClass&&v(i.superClass)||r(i.extends)||r(i.mixins)||r(i.implements),l=[],p=[];if(i.id&&l.push(" ",n("id")),l.push(n("typeParameters")),i.superClass){var f=[L(e,t,n),n("superTypeParameters")],m=e.call((function(e){return["extends ",o(e,f,t)]}),"superClass");u?p.push(c,d(m)):p.push(" ",m)}else p.push(I(e,t,n,"extends"));return p.push(I(e,t,n,"mixins"),I(e,t,n,"implements")),u?(s=N(i)?[].concat(l,[h(p)]):h([].concat(l,[p])),a.push(d(s,{id:T(i)}))):a.push.apply(a,l.concat(p)),a.push(" ",n("body")),a}var T=i("heritageGroup");function P(e){return m(p,"",{groupId:T(e)})}function B(e){return["superClass","extends","mixins","implements"].filter((function(t){return Boolean(e[t])})).length>1}function N(e){return e.typeParameters&&!v(e.typeParameters,g.Trailing|g.Line)&&!B(e)}function I(e,t,n,i){var a=e.getValue();if(!r(a[i]))return"";var o=s(e,t,!0,(function(e){return e.marker===i}));return[N(a)?m(" ",c,{groupId:D(a.typeParameters)}):c,o,o&&p,i,d(h([c,l([",",c],e.map(n,i))]))]}function L(e,t,n){var r=n("superClass");return"AssignmentExpression"===e.getParentNode().type?d(m(["(",h([f,r]),f,")"],r)):r}function O(e,t,n){var i=e.getValue(),a=[];return r(i.decorators)&&a.push(S(e,t,n)),i.accessibility&&a.push(i.accessibility+" "),i.readonly&&a.push("readonly "),i.declare&&a.push("declare "),i.static&&a.push("static "),("TSAbstractMethodDefinition"===i.type||i.abstract)&&a.push("abstract "),i.override&&a.push("override "),a.push(b(e,t,n)),a}function _(e,t,n){var i=e.getValue(),a=[],o=t.semi?";":"";return r(i.decorators)&&a.push(S(e,t,n)),i.accessibility&&a.push(i.accessibility+" "),i.declare&&a.push("declare "),i.static&&a.push("static "),("TSAbstractPropertyDefinition"===i.type||i.abstract)&&a.push("abstract "),i.override&&a.push("override "),i.readonly&&a.push("readonly "),i.variance&&a.push(n("variance")),"ClassAccessorProperty"===i.type&&a.push("accessor "),a.push(w(e,t,n),C(e),A(e),E(e,t,n)),[k(e,t,n,a," =","value"),o]}t.exports={printClass:F,printClassMethod:O,printClassProperty:_,printHardlineAfterHeritage:P}}}),Fr=W({"src/language-js/print/interface.js":function(e,t){G();var n=Me().isNonEmptyArray,r=de().builders,i=r.join,a=r.line,o=r.group,s=r.indent,u=r.ifBreak,l=Fn(),c=l.hasComment,p=l.identity,f=l.CommentCheckFlags,d=Er().getTypeParametersGroupId,h=hr().printTypeScriptModifiers;function m(e,t,r){var l=e.getValue(),m=[];l.declare&&m.push("declare "),"TSInterfaceDeclaration"===l.type&&m.push(l.abstract?"abstract ":"",h(e,t,r)),m.push("interface");var y=[],v=[];"InterfaceTypeAnnotation"!==l.type&&y.push(" ",r("id"),r("typeParameters"));var g=l.typeParameters&&!c(l.typeParameters,f.Trailing|f.Line);return n(l.extends)&&v.push(g?u(" ",a,{groupId:d(l.typeParameters)}):a,"extends ",(1===l.extends.length?p:s)(i([",",a],e.map(r,"extends")))),l.id&&c(l.id,f.Trailing)||n(l.extends)?g?m.push(o([].concat(y,[s(v)]))):m.push(o(s([].concat(y,v)))):m.push.apply(m,y.concat(v)),m.push(" ",r("body")),o(m)}t.exports={printInterface:m}}}),Tr=W({"src/language-js/print/module.js":function(e,t){G();var n=Me().isNonEmptyArray,r=de().builders,i=r.softline,a=r.group,o=r.indent,s=r.join,u=r.line,l=r.ifBreak,c=r.hardline,p=hn().printDanglingComments,f=Fn(),d=f.hasComment,h=f.CommentCheckFlags,m=f.shouldPrintComma,y=f.needsHardlineAfterDanglingComment,v=f.isStringLiteral,g=f.rawText,D=on(),b=D.locStart,x=D.hasSameLoc,C=kr(),E=C.hasDecoratorsBeforeExport,A=C.printDecoratorsBeforeExport;function w(e,t,n){var r=e.getValue(),i=t.semi?";":"",a=[],o=r.importKind;return a.push("import"),o&&"value"!==o&&a.push(" ",o),a.push(P(e,t,n),T(e,t,n),N(e,t,n),i),a}function k(e,t,n){var r=e.getValue(),i=[];E(r)&&i.push(A(e,t,n));var a=r.type,o=r.exportKind,s=r.declaration;return i.push("export"),(r.default||"ExportDefaultDeclaration"===a)&&i.push(" default"),d(r,h.Dangling)&&(i.push(" ",p(e,t,!0)),y(r)&&i.push(c)),s?i.push(" ",n("declaration")):i.push("type"===o?" type":"",P(e,t,n),T(e,t,n),N(e,t,n)),F(r,t)&&i.push(";"),i}function S(e,t,n){var r=e.getValue(),i=t.semi?";":"",a=[],o=r.exportKind,s=r.exported;return a.push("export"),"type"===o&&a.push(" type"),a.push(" *"),s&&a.push(" as ",n("exported")),a.push(T(e,t,n),N(e,t,n),i),a}function F(e,t){if(!t.semi)return!1;var n=e.type,r=e.declaration,i=e.default||"ExportDefaultDeclaration"===n;if(!r)return!0;var a=r.type;return!(!i||"ClassDeclaration"===a||"FunctionDeclaration"===a||"TSInterfaceDeclaration"===a||"DeclareClass"===a||"DeclareFunction"===a||"TSDeclareFunction"===a||"EnumDeclaration"===a)}function T(e,t,n){var r=e.getValue();if(!r.source)return"";var i=[];return B(r,t)||i.push(" from"),i.push(" ",n("source")),i}function P(e,t,r){var c=e.getValue();if(B(c,t))return"";var p=[" "];if(n(c.specifiers)){var f=[],h=[];e.each((function(){var t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)f.push(r());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error("Unknown specifier type ".concat(JSON.stringify(t)));h.push(r())}}),"specifiers"),p.push(s(", ",f)),h.length>0&&(f.length>0&&p.push(", "),h.length>1||f.length>0||c.specifiers.some((function(e){return d(e)}))?p.push(a(["{",o([t.bracketSpacing?u:i,s([",",u],h)]),l(m(t)?",":""),t.bracketSpacing?u:i,"}"])):p.push(["{",t.bracketSpacing?" ":""].concat(h,[t.bracketSpacing?" ":"","}"])))}else p.push("{}");return p}function B(e,t){var r=e.type,i=e.importKind,a=e.source,o=e.specifiers;return"ImportDeclaration"===r&&!n(o)&&"type"!==i&&!/{\s*}/.test(t.originalText.slice(b(e),b(a)))}function N(e,t,r){var i=e.getNode();return n(i.assertions)?[" assert {",t.bracketSpacing?" ":"",s(", ",e.map(r,"assertions")),t.bracketSpacing?" ":"","}"]:""}function I(e,t,n){var r=e.getNode(),i=r.type,a=[],o="ImportSpecifier"===i?r.importKind:r.exportKind;o&&"value"!==o&&a.push(o," ");var s=i.startsWith("Import"),u=s?"imported":"local",l=s?"local":"exported",c=r[u],p=r[l],f="",d="";return"ExportNamespaceSpecifier"===i||"ImportNamespaceSpecifier"===i?f="*":c&&(f=n(u)),p&&!L(r)&&(d=n(l)),a.push(f,f&&d?" as ":"",d),a}function L(e){if("ImportSpecifier"!==e.type&&"ExportSpecifier"!==e.type)return!1;var t=e.local,n=e["ImportSpecifier"===e.type?"imported":"exported"];return!(t.type!==n.type||!x(t,n))&&(v(t)?t.value===n.value&&g(t)===g(n):"Identifier"===t.type&&t.name===n.name)}t.exports={printImportDeclaration:w,printExportDeclaration:k,printExportAllDeclaration:S,printModuleSpecifier:I}}}),Pr=W({"src/language-js/print/object.js":function(e,t){G();var n=hn().printDanglingComments,r=de().builders,i=r.line,a=r.softline,o=r.group,s=r.indent,u=r.ifBreak,l=r.hardline,c=Me(),p=c.getLast,f=c.hasNewlineInRange,d=c.hasNewline,h=c.isNonEmptyArray,m=Fn(),y=m.shouldPrintComma,v=m.hasComment,D=m.getComments,b=m.CommentCheckFlags,x=m.isNextLineEmpty,C=on(),E=C.locStart,A=C.locEnd,w=hr(),k=w.printOptionalToken,S=w.printTypeAnnotation,F=xr().shouldHugFunctionParameters,T=Cr().shouldHugType,P=Sr().printHardlineAfterHeritage;function B(e,t,r){var c,m=t.semi?";":"",C=e.getValue();c="TSTypeLiteral"===C.type?"members":"TSInterfaceBody"===C.type?"body":"properties";var w="ObjectTypeAnnotation"===C.type,B=[c];w&&B.push("indexers","callProperties","internalSlots");for(var N=B.map((function(e){return C[e][0]})).sort((function(e,t){return E(e)-E(t)}))[0],I=e.getParentNode(0),L=w&&I&&("InterfaceDeclaration"===I.type||"DeclareInterface"===I.type||"DeclareClass"===I.type)&&"body"===e.getName(),O="TSInterfaceBody"===C.type||L||"ObjectPattern"===C.type&&"FunctionDeclaration"!==I.type&&"FunctionExpression"!==I.type&&"ArrowFunctionExpression"!==I.type&&"ObjectMethod"!==I.type&&"ClassMethod"!==I.type&&"ClassPrivateMethod"!==I.type&&"AssignmentPattern"!==I.type&&"CatchClause"!==I.type&&C.properties.some((function(e){return e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)}))||"ObjectPattern"!==C.type&&N&&f(t.originalText,E(C),E(N)),_=L?";":"TSInterfaceBody"===C.type||"TSTypeLiteral"===C.type?u(m,";"):",",M="RecordExpression"===C.type?"#{":C.exact?"{|":"{",j=C.exact?"|}":"}",R=[],W=0,V=B;W1&&R.sort((function(e,t){return e.loc-t.loc}));var U=[],z=R.map((function(e){var n=[].concat(g(U),[o(e.printed)]);return U=[_,i],("TSPropertySignature"===e.node.type||"TSMethodSignature"===e.node.type||"TSConstructSignatureDeclaration"===e.node.type)&&v(e.node,b.PrettierIgnore)&&U.shift(),x(e.node,t)&&U.push(l),n}));if(C.inexact){var G;if(v(C,b.Dangling)){var q=v(C,b.Line);G=[n(e,t,!0),q||d(t.originalText,A(p(D(C))))?l:i,"..."]}else G=["..."];z.push([].concat(g(U),g(G)))}var K,J=p(C[c]),$=!(C.inexact||J&&"RestElement"===J.type||J&&("TSPropertySignature"===J.type||"TSCallSignatureDeclaration"===J.type||"TSMethodSignature"===J.type||"TSConstructSignatureDeclaration"===J.type)&&v(J,b.PrettierIgnore));if(0===z.length){if(!v(C,b.Dangling))return[M,j,S(e,t,r)];K=o([M,n(e,t),a,j,k(e),S(e,t,r)])}else K=[L&&h(C.properties)?P(I):"",M,s([t.bracketSpacing?i:a].concat(g(z))),u($&&(","!==_||y(t))?_:""),t.bracketSpacing?i:a,j,k(e),S(e,t,r)];return e.match((function(e){return"ObjectPattern"===e.type&&!e.decorators}),(function(e,t,n){return F(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n}))||e.match(T,(function(e,t){return"typeAnnotation"===t}),(function(e,t){return"typeAnnotation"===t}),(function(e,t,n){return F(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n}))||!O&&e.match((function(e){return"ObjectPattern"===e.type}),(function(e){return"AssignmentExpression"===e.type||"VariableDeclarator"===e.type}))?K:o(K,{shouldBreak:O})}t.exports={printObject:B}}}),Br=W({"src/language-js/print/flow.js":function(e,t){G();var n=dn(),r=hn().printDanglingComments,i=Me(),a=i.printString,o=i.printNumber,s=de().builders,u=s.hardline,l=s.softline,c=s.group,p=s.indent,f=Fn(),d=f.getParentExportDeclaration,h=f.isFunctionNotation,m=f.isGetterOrSetter,y=f.rawText,v=f.shouldPrintComma,D=on(),b=D.locStart,x=D.locEnd,C=Sr().printClass,E=Cr(),A=E.printOpaqueType,w=E.printTypeAlias,k=E.printIntersectionType,S=E.printUnionType,F=E.printFunctionType,T=E.printTupleType,P=E.printIndexedAccessType,B=Fr().printInterface,N=Er(),I=N.printTypeParameter,L=N.printTypeParameters,O=Tr(),_=O.printExportDeclaration,M=O.printExportAllDeclaration,j=mr().printArrayItems,R=Pr().printObject,W=Ar().printPropertyKey,V=hr(),H=V.printOptionalToken,U=V.printTypeAnnotation,z=V.printRestSpread;function q(e,t,i){var s=e.getValue(),f=t.semi?";":"",d=[];switch(s.type){case"DeclareClass":return K(e,C(e,t,i));case"DeclareFunction":return K(e,["function ",i("id"),s.predicate?" ":"",i("predicate"),f]);case"DeclareModule":return K(e,["module ",i("id")," ",i("body")]);case"DeclareModuleExports":return K(e,["module.exports",": ",i("typeAnnotation"),f]);case"DeclareVariable":return K(e,["var ",i("id"),f]);case"DeclareOpaqueType":return K(e,A(e,t,i));case"DeclareInterface":return K(e,B(e,t,i));case"DeclareTypeAlias":return K(e,w(e,t,i));case"DeclareExportDeclaration":return K(e,_(e,t,i));case"DeclareExportAllDeclaration":return K(e,M(e,t,i));case"OpaqueType":return A(e,t,i);case"TypeAlias":return w(e,t,i);case"IntersectionTypeAnnotation":return k(e,t,i);case"UnionTypeAnnotation":return S(e,t,i);case"FunctionTypeAnnotation":return F(e,t,i);case"TupleTypeAnnotation":return T(e,t,i);case"GenericTypeAnnotation":return[i("id"),L(e,t,i,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return P(e,t,i);case"TypeAnnotation":return i("typeAnnotation");case"TypeParameter":return I(e,t,i);case"TypeofTypeAnnotation":return["typeof ",i("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[i("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(s.value);case"EnumDeclaration":return["enum ",i("id")," ",i("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===s.type||s.explicitType){var D=null;switch(s.type){case"EnumBooleanBody":D="boolean";break;case"EnumNumberBody":D="number";break;case"EnumStringBody":D="string";break;case"EnumSymbolBody":D="symbol"}d.push("of ",D," ")}if(0!==s.members.length||s.hasUnknownMembers){var E=s.members.length>0?[u,j(e,t,"members",i),s.hasUnknownMembers||v(t)?",":""]:[];d.push(c(["{",p([].concat(E,g(s.hasUnknownMembers?[u,"..."]:[]))),r(e,t,!0),u,"}"]))}else d.push(c(["{",r(e,t),l,"}"]));return d;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[i("id")," = ","object"==typeof s.init?i("init"):String(s.init)];case"EnumDefaultedMember":return i("id");case"FunctionTypeParam":var N=s.name?i("name"):e.getParentNode().this===s?"this":"";return[N,H(e),N?": ":"",i("typeAnnotation")];case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return B(e,t,i);case"ClassImplements":case"InterfaceExtends":return[i("id"),i("typeParameters")];case"NullableTypeAnnotation":return["?",i("typeAnnotation")];case"Variance":var O=s.kind;return n.ok("plus"===O||"minus"===O),"plus"===O?"+":"-";case"ObjectTypeCallProperty":return s.static&&d.push("static "),d.push(i("value")),d;case"ObjectTypeIndexer":return[s.static?"static ":"",s.variance?i("variance"):"","[",i("id"),s.id?": ":"",i("key"),"]: ",i("value")];case"ObjectTypeProperty":var V="";return s.proto?V="proto ":s.static&&(V="static "),[V,m(s)?s.kind+" ":"",s.variance?i("variance"):"",W(e,t,i),H(e),h(s)?"":": ",i("value")];case"ObjectTypeAnnotation":return R(e,t,i);case"ObjectTypeInternalSlot":return[s.static?"static ":"","[[",i("id"),"]]",H(e),s.method?"":": ",i("value")];case"ObjectTypeSpreadProperty":return z(e,t,i);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[i("qualification"),".",i("id")];case"StringLiteralTypeAnnotation":return a(y(s),t);case"NumberLiteralTypeAnnotation":n.strictEqual(typeof s.value,"number");case"BigIntLiteralTypeAnnotation":return s.extra?o(s.extra.raw):o(s.raw);case"TypeCastExpression":return["(",i("expression"),U(e,t,i),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":var G=L(e,t,i,"params");if("flow"===t.parser){var q=b(s),J=x(s),$=t.originalText.lastIndexOf("/*",q),X=t.originalText.indexOf("*/",J);if(-1!==$&&-1!==X){var Q=t.originalText.slice($+2,X).trim();if(Q.startsWith("::")&&!Q.includes("/*")&&!Q.includes("*/"))return["/*:: ",G," */"]}}return G;case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",i("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(s.type))}}function K(e,t){var r=d(e);return r?(n.strictEqual(r.type,"DeclareExportDeclaration"),t):["declare ",t]}t.exports={printFlow:q}}}),Nr=W({"src/language-js/utils/is-ts-keyword-type.js":function(e,t){function n(e){var t=e.type;return t.startsWith("TS")&&t.endsWith("Keyword")}G(),t.exports=n}}),Ir=W({"src/language-js/print/ternary.js":function(e,t){G();var n=Me().hasNewlineInRange,r=Fn(),i=r.isJsxNode,a=r.getComments,o=r.isCallExpression,s=r.isMemberExpression,u=on(),l=u.locStart,c=u.locEnd,p=kn(),f=de().builders,d=f.line,h=f.softline,m=f.group,y=f.indent,v=f.align,D=f.ifBreak,b=f.dedent,x=f.breakParent;function C(e){for(var t=[e],n=0;n=0;t--){var n=e[t];if("EmptyStatement"!==n.type)return n}}function m(e,t){return"ExpressionStatement"===e.getNode().type&&e.call((function(e){return y(e,t)}),"expression")}function y(e,t){var n=e.getValue();switch(n.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!f(e,t))return!0;break;case"UnaryExpression":var i=n.prefix,u=n.operator;if(i&&("+"===u||"-"===u))return!0;break;case"BindExpression":if(!n.object)return!0;break;case"Literal":if(n.regex)return!0;break;default:if(s(n))return!0}return!!r(e,t)||!!o(n)&&e.call.apply(e,[function(e){return y(e,t)}].concat(g(a(e,n))))}function v(e,t,n){return d(e,t,n,"body")}function D(e,t,n){return d(e,t,n,"consequent")}var b=function(e){var t=e.type;return"ClassProperty"===t||"PropertyDefinition"===t||"ClassPrivateProperty"===t||"ClassAccessorProperty"===t};function x(e,t){var n=e.key&&e.key.name;if(("static"===n||"get"===n||"set"===n)&&!e.value&&!e.typeAnnotation)return!0;if(!t||t.static||t.accessibility)return!1;if(!t.computed){var r=t.key&&t.key.name;if("in"===r||"instanceof"===r)return!0}if(b(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":if((t.value?t.value.async:t.async)||"get"===t.kind||"set"===t.kind)return!1;var i=t.value?t.value.generator:t.generator;return!(!t.computed&&!i);case"TSIndexSignature":return!0}return!1}t.exports={printBody:v,printSwitchCaseConsequent:D}}}),Or=W({"src/language-js/print/block.js":function(e,t){G();var n=hn().printDanglingComments,r=Me().isNonEmptyArray,i=de().builders,a=i.hardline,o=i.indent,s=Fn(),u=s.hasComment,l=s.CommentCheckFlags,c=s.isNextLineEmpty,p=Sr().printHardlineAfterHeritage,f=Lr().printBody;function d(e,t,n){var i=e.getValue(),s=[];if("StaticBlock"===i.type&&s.push("static "),"ClassBody"===i.type&&r(i.body)){var u=e.getParentNode();s.push(p(u))}s.push("{");var l=h(e,t,n);if(l)s.push(o([a,l]),a);else{var c=e.getParentNode(),f=e.getParentNode(1);"ArrowFunctionExpression"===c.type||"FunctionExpression"===c.type||"FunctionDeclaration"===c.type||"ObjectMethod"===c.type||"ClassMethod"===c.type||"ClassPrivateMethod"===c.type||"ForStatement"===c.type||"WhileStatement"===c.type||"DoWhileStatement"===c.type||"DoExpression"===c.type||"CatchClause"===c.type&&!f.finalizer||"TSModuleDeclaration"===c.type||"TSDeclareFunction"===c.type||"StaticBlock"===i.type||"ClassBody"===i.type||s.push(a)}return s.push("}"),s}function h(e,t,i){var o=e.getValue(),s=r(o.directives),p=o.body.some((function(e){return"EmptyStatement"!==e.type})),d=u(o,l.Dangling);if(!s&&!p&&!d)return"";var h=[];if(s&&e.each((function(e,n,r){h.push(i()),(n"]),_=[f("("),c([u,i("expression")]),u,f(")")];return S?p([[I,i("expression")],[I,l(_,{shouldBreak:!0})],[I,i("expression")]]):l([I,i("expression")]);case"TSDeclareFunction":return V(e,i,t);case"TSExportAssignment":return["export = ",i("expression"),b];case"TSModuleBlock":return z(e,t,i);case"TSInterfaceBody":case"TSTypeLiteral":return N(e,t,i);case"TSTypeAliasDeclaration":return K(e,t,i);case"TSQualifiedName":return a(".",[i("left"),i("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return O(e,t,i);case"TSAbstractPropertyDefinition":return L(e,t,i);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return E.push(i("expression")),d.typeParameters&&E.push(i("typeParameters")),E;case"TSTemplateLiteralType":return P(e,i,t);case"TSNamedTupleMember":return[i("label"),d.optional?"?":"",": ",i("elementType")];case"TSRestType":return["...",i("typeAnnotation")];case"TSOptionalType":return[i("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return U(e,t,i);case"TSClassImplements":case"TSInstantiationExpression":return[i("expression"),i("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return j(e,t,i,"params");case"TSTypeParameter":return M(e,t,i);case"TSAsExpression":E.push(i("expression")," as ",i("typeAnnotation"));var W=e.getParentNode();return v(W)&&W.callee===d||g(W)&&W.object===d?l([c([u].concat(E)),u]):E;case"TSArrayType":return[i("elementType"),"[]"];case"TSPropertySignature":return d.readonly&&E.push("readonly "),E.push(R(e,t,i),A(e)),d.typeAnnotation&&E.push(": ",i("typeAnnotation")),d.initializer&&E.push(" = ",i("initializer")),E;case"TSParameterProperty":return d.accessibility&&E.push(d.accessibility+" "),d.export&&E.push("export "),d.static&&E.push("static "),d.override&&E.push("override "),d.readonly&&E.push("readonly "),E.push(i("parameter")),E;case"TSTypeQuery":return["typeof ",i("exprName"),i("typeParameters")];case"TSIndexSignature":var G=e.getParentNode(),q=d.parameters.length>1?f(y(t)?",":""):"",ee=l([c([u,a([", ",u],e.map(i,"parameters"))]),q,u]);return[d.export?"export ":"",d.accessibility?[d.accessibility," "]:"",d.static?"static ":"",d.readonly?"readonly ":"",d.declare?"declare ":"","[",d.parameters?ee:"",d.typeAnnotation?"]: ":"]",d.typeAnnotation?i("typeAnnotation"):"","ClassBody"===G.type?b:""];case"TSTypePredicate":return[d.asserts?"asserts ":"",i("parameterName"),d.typeAnnotation?[" is ",i("typeAnnotation")]:""];case"TSNonNullExpression":return[i("expression"),"!"];case"TSImportType":return[d.isTypeOf?"typeof ":"","import(",i(d.parameter?"parameter":"argument"),")",d.qualifier?[".",i("qualifier")]:"",j(e,t,i,"typeParameters")];case"TSLiteralType":return i("literal");case"TSIndexedAccessType":return Y(e,t,i);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===d.type&&d.abstract&&E.push("abstract "),"TSCallSignatureDeclaration"!==d.type&&E.push("new "),E.push(l(F(e,i,t,!1,!0))),d.returnType||d.typeAnnotation){var te="TSConstructorType"===d.type;E.push(te?" => ":": ",i("returnType"),i("typeAnnotation"))}return E;case"TSTypeOperator":return[d.operator," ",i("typeAnnotation")];case"TSMappedType":var ne=r(t.originalText,x(d),C(d));return l(["{",c([t.bracketSpacing?o:u,d.readonly?[m(d.readonly,"readonly")," "]:"",w(e,t,i),i("typeParameter"),d.optional?m(d.optional,"?"):"",d.typeAnnotation?": ":"",i("typeAnnotation"),f(b)]),n(e,t,!0),t.bracketSpacing?o:u,"}"],{shouldBreak:ne});case"TSMethodSignature":var re=d.kind&&"method"!==d.kind?"".concat(d.kind," "):"";E.push(d.accessibility?[d.accessibility," "]:"",re,d.export?"export ":"",d.static?"static ":"",d.readonly?"readonly ":"",d.abstract?"abstract ":"",d.declare?"declare ":"",d.computed?"[":"",i("key"),d.computed?"]":"",A(e));var ie=F(e,i,t,!1,!0),ae=d.returnType?"returnType":"typeAnnotation",oe=d[ae],se=oe?i(ae):"",ue=T(d,se);return E.push(ue?l(ie):ie),oe&&E.push(": ",l(se)),l(E);case"TSNamespaceExportDeclaration":return E.push("export as namespace ",i("id")),t.semi&&E.push(";"),l(E);case"TSEnumDeclaration":return d.declare&&E.push("declare "),d.modifiers&&E.push(w(e,t,i)),d.const&&E.push("const "),E.push("enum ",i("id")," "),0===d.members.length?E.push(l(["{",n(e,t),u,"}"])):E.push(l(["{",c([s,B(e,t,"members",i),y(t,"es5")?",":""]),n(e,t,!0),s,"}"])),E;case"TSEnumMember":return d.computed?E.push("[",i("id"),"]"):E.push(i("id")),d.initializer&&E.push(" = ",i("initializer")),E;case"TSImportEqualsDeclaration":return d.isExport&&E.push("export "),E.push("import "),d.importKind&&"value"!==d.importKind&&E.push(d.importKind," "),E.push(i("id")," = ",i("moduleReference")),t.semi&&E.push(";"),l(E);case"TSExternalModuleReference":return["require(",i("expression"),")"];case"TSModuleDeclaration":var le=e.getParentNode(),ce=h(d.id),pe="TSModuleDeclaration"===le.type,fe=d.body&&"TSModuleDeclaration"===d.body.type;if(pe)E.push(".");else{d.declare&&E.push("declare "),E.push(w(e,t,i));var de=t.originalText.slice(x(d),x(d.id));"Identifier"===d.id.type&&"global"===d.id.name&&!/namespace|module/.test(de)||E.push(ce||/(?:^|\s)module(?:\s|$)/.test(de)?"module ":"namespace ")}return E.push(i("id")),fe?E.push(i("body")):d.body?E.push(" ",l(i("body"))):E.push(b),E;case"TSConditionalType":return k(e,t,i);case"TSInferType":return["infer"," ",i("typeParameter")];case"TSIntersectionType":return J(e,t,i);case"TSUnionType":return $(e,t,i);case"TSFunctionType":return X(e,t,i);case"TSTupleType":return Q(e,t,i);case"TSTypeReference":return[i("typeName"),j(e,t,i,"typeParameters")];case"TSTypeAnnotation":return i("typeAnnotation");case"TSEmptyBodyFunctionExpression":return H(e,t,i);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Z(e,i,"?");case"TSJSDocNonNullableType":return Z(e,i,"!");default:throw new Error("Unknown TypeScript node type: ".concat(JSON.stringify(d.type),"."))}}}t.exports={printTypescript:ee}}}),Mr=W({"src/language-js/print/comment.js":function(e,t){G();var n=Me().hasNewline,r=de(),i=r.builders,a=i.join,o=i.hardline,s=r.utils.replaceTextEndOfLine,u=Fn().isLineComment,l=on(),c=l.locStart,p=l.locEnd,f=kn();function d(e,t){var r=e.getValue();if(u(r))return t.originalText.slice(c(r),p(r)).trimEnd();if(f(r)){if(h(r)){var i=m(r);return r.trailing&&!n(t.originalText,c(r),{backwards:!0})?[o,i]:i}var a=p(r),l="*-/"===t.originalText.slice(a-3,a);return["/*",s(r.value),l?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(r))}function h(e){var t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every((function(e){return"*"===e.trim()[0]}))}function m(e){var t=e.value.split("\n");return["/*",a(o,t.map((function(e,n){return 0===n?e.trimEnd():" "+(n0&&(L=p(j[0])):L=j[0],D=[d.declare?"declare ":"",d.kind,L?[" ",L]:"",p(j.slice(1).map((function(e){return[",",G&&!z?u:s,e]})))],z&&H.body!==d||D.push(h),c(D);case"WithStatement":return c(["with (",i("object"),")",Y(d.body,i("body"))]);case"IfStatement":var J=Y(d.consequent,i("consequent")),te=c(["if (",c([p([l,i("test")]),l]),")",J]);if(D.push(te),d.alternate){var ce=E(d.consequent,A.Trailing|A.Line)||F(d),de="BlockStatement"===d.consequent.type&&!ce;D.push(de?" ":u),E(d,A.Dangling)&&D.push(n(e,t,!0),ce?u:" "),D.push("else",c(Y(d.alternate,i("alternate"),"IfStatement"===d.alternate.type)))}return D;case"ForStatement":var ye=Y(d.body,i("body")),Ee=n(e,t,!0),Te=Ee?[Ee,l]:"";return d.init||d.test||d.update?[Te,c(["for (",c([p([l,i("init"),";",s,i("test"),";",s,i("update")]),l]),")",ye])]:[Te,c(["for (;;)",ye])];case"WhileStatement":return c(["while (",c([p([l,i("test")]),l]),")",Y(d.body,i("body"))]);case"ForInStatement":return c(["for (",i("left")," in ",i("right"),")",Y(d.body,i("body"))]);case"ForOfStatement":return c(["for",d.await?" await":""," (",i("left")," of ",i("right"),")",Y(d.body,i("body"))]);case"DoWhileStatement":var Ne=Y(d.body,i("body"));return D=[c(["do",Ne])],"BlockStatement"===d.body.type?D.push(" "):D.push(u),D.push("while (",c([p([l,i("test")]),l]),")",h),D;case"DoExpression":return[d.async?"async ":"","do ",i("body")];case"BreakStatement":return D.push("break"),d.label&&D.push(" ",i("label")),D.push(h),D;case"ContinueStatement":return D.push("continue"),d.label&&D.push(" ",i("label")),D.push(h),D;case"LabeledStatement":return"EmptyStatement"===d.body.type?[i("label"),":;"]:[i("label"),": ",i("body")];case"TryStatement":return["try ",i("block"),d.handler?[" ",i("handler")]:"",d.finalizer?[" finally ",i("finalizer")]:""];case"CatchClause":if(d.param){var Le=E(d.param,(function(e){return!M(e)||e.leading&&r(t.originalText,_(e))||e.trailing&&r(t.originalText,O(e),{backwards:!0})})),Oe=i("param");return["catch ",Le?["(",p([l,Oe]),l,") "]:["(",Oe,") "],i("body")]}return["catch ",i("body")];case"SwitchStatement":return[c(["switch (",p([l,i("discriminant")]),l,")"])," {",d.cases.length>0?p([u,o(u,e.map((function(e,n,r){var a=e.getValue();return[i(),n!==r.length-1&&S(a,t)?u:""]}),"cases"))]):"",u,"}"];case"SwitchCase":d.test?D.push("case ",i("test"),":"):D.push("default:"),E(d,A.Dangling)&&D.push(" ",n(e,t,!0));var _e=d.consequent.filter((function(e){return"EmptyStatement"!==e.type}));if(_e.length>0){var Me=Se(e,t,i);D.push(1===_e.length&&"BlockStatement"===_e[0].type?[" ",Me]:p([u,Me]))}return D;case"DebuggerStatement":return["debugger",h];case"ClassDeclaration":case"ClassExpression":return pe(e,t,i);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return fe(e,t,i);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":return he(e,t,i);case"TemplateElement":return f(d.value.raw);case"TemplateLiteral":return se(e,i,t);case"TaggedTemplateExpression":return[i("tag"),i("typeParameters"),i("quasi")];case"PrivateIdentifier":return["#",i("name")];case"PrivateName":return["#",i("id")];case"InterpreterDirective":return D.push("#!",d.value,u),S(d,t)&&D.push(u),D;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":D.push("module {");var Re=i("body");return Re&&D.push(p([u,Re]),u),D.push("}"),D;default:throw new Error("unknown type: "+JSON.stringify(d.type))}}function je(e,t){var n=T(e),r=n.slice(1,-1);if(r.includes('"')||r.includes("'"))return n;var i=t.singleQuote?"'":'"';return i+r+i}function Re(e){return e.type&&!M(e)&&!k(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type}t.exports={preprocess:b,print:Oe,embed:d,insertPragma:m,massageAstNode:h,hasPrettierIgnore:function(e){return P(e)||z(e)},willPrintOwnComments:v.willPrintOwnComments,canAttachComment:Re,printComment:Ne,isBlockComment:M,handleComments:{avoidAstMutation:!0,ownLine:v.handleOwnLineComment,endOfLine:v.handleEndOfLineComment,remaining:v.handleRemainingComment},getCommentChildNodes:v.getCommentChildNodes}}}),Wr=W({"src/language-js/printer-estree-json.js":function(e,t){G();var n=de().builders,r=n.hardline,i=n.indent,a=n.join,o=lr();function s(e,t,n){var o=e.getValue();switch(o.type){case"JsonRoot":return[n("node"),r];case"ArrayExpression":if(0===o.elements.length)return"[]";var s=e.map((function(){return null===e.getValue()?"null":n()}),"elements");return["[",i([r,a([",",r],s)]),r,"]"];case"ObjectExpression":return 0===o.properties.length?"{}":["{",i([r,a([",",r],e.map(n,"properties"))]),r,"}"];case"ObjectProperty":return[n("key"),": ",n("value")];case"UnaryExpression":return["+"===o.operator?"":o.operator,n("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return o.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(o.value);case"Identifier":var u=e.getParentNode();return u&&"ObjectProperty"===u.type&&u.key===o?JSON.stringify(o.name):o.name;case"TemplateLiteral":return n(["quasis",0]);case"TemplateElement":return JSON.stringify(o.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(o.type))}}var u=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function l(e,t){var n=e.type;if("ObjectProperty"!==n||"Identifier"!==e.key.type){if("UnaryExpression"===n&&"+"===e.operator)return t.argument;if("ArrayExpression"!==n)return"TemplateLiteral"===n?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;var r,i=D(e.elements.entries());try{for(i.s();!(r=i.n()).done;){var a=y(r.value,2),o=a[0];null===a[1]&&t.elements.splice(o,0,{type:"NullLiteral"})}}catch(s){i.e(s)}finally{i.f()}}else t.key={type:"StringLiteral",value:e.key.name}}l.ignoredProperties=u,t.exports={preprocess:o,print:s,massageAstNode:l}}}),Vr=W({"src/common/common-options.js":function(e,t){G();var n="Common";t.exports={bracketSpacing:{since:"0.0.0",category:n,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:n,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:n,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:n,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:n,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),Hr=W({"src/language-js/options.js":function(e,t){G();var n=Vr(),r="JavaScript";t.exports={arrowParens:{since:"1.9.0",category:r,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:n.bracketSameLine,bracketSpacing:n.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:r,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:r,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:n.singleQuote,jsxSingleQuote:{since:"1.15.0",category:r,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:r,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:r,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]},singleAttributePerLine:n.singleAttributePerLine}}}),Ur=W({"src/language-js/parse/parsers.js":function(){G()}}),zr=W({"node_modules/linguist-languages/data/JavaScript.json":function(e,t){t.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),Gr=W({"node_modules/linguist-languages/data/TypeScript.json":function(e,t){t.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),qr=W({"node_modules/linguist-languages/data/TSX.json":function(e,t){t.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),Kr=W({"node_modules/linguist-languages/data/JSON.json":function(e,t){t.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),Jr=W({"node_modules/linguist-languages/data/JSON with Comments.json":function(e,t){t.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),$r=W({"node_modules/linguist-languages/data/JSON5.json":function(e,t){t.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),Xr=W({"src/language-js/index.js":function(e,t){G();var n=xn(),r=Rr(),i=Wr(),a=Hr(),o=Ur(),s=[n(zr(),(function(e){return{since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[].concat(g(e.interpreters),["zx"]),extensions:[].concat(g(e.extensions.filter((function(e){return".jsx"!==e}))),[".wxs"])}})),n(zr(),(function(){return{name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}})),n(zr(),(function(){return{name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0}})),n(Gr(),(function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}})),n(qr(),(function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}})),n(Kr(),(function(){return{name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]}})),n(Kr(),(function(e){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter((function(e){return".jsonl"!==e}))}})),n(Jr(),(function(e){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[].concat(g(e.filenames),[".eslintrc",".swcrc"])}})),n($r(),(function(){return{since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}}))],u={estree:r,"estree-json":i};t.exports={languages:s,options:a,printers:u,parsers:o}}}),Qr=W({"src/language-css/clean.js":function(e,t){G();var n=Me().isFrontMatterNode,r=Q(),i=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function a(e,t,i){if(n(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===i.type&&i.nodes.length>0&&((i.nodes[0]===e||n(i.nodes[0])&&i.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text))||"css-root"===i.type&&r(i.nodes)===e))return null;if("value-root"===e.type&&delete t.text,("media-query"===e.type||"media-query-list"===e.type||"media-feature-expression"===e.type)&&delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),("css-atrule"===e.type||"css-import"===e.type)&&(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),("media-feature"===e.type||"media-keyword"===e.type||"media-type"===e.type||"media-unknown"===e.type||"media-url"===e.type||"media-value"===e.type||"selector-attribute"===e.type||"selector-string"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"value-string"===e.type)&&t.value&&(t.value=o(t.value)),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),("media-value"===e.type||"media-type"===e.type||"value-number"===e.type||"selector-root-invalid"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"selector-tag"===e.type)&&t.value&&(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(function(e,t,n){var r=Number(t);return Number.isNaN(r)?e:r+n.toLowerCase()}))),"selector-tag"===e.type){var a=e.value.toLowerCase();["from","to"].includes(a)&&(t.value=a)}if("css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value,"value-comma_group"===e.type){var s=e.groups.findIndex((function(e){return"value-number"===e.type&&"..."===e.unit}));-1!==s&&(t.groups[s].unit="",t.groups.splice(s+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}}function o(e){return e.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}a.ignoredProperties=i,t.exports=a}}),Yr=W({"src/utils/front-matter/print.js":function(e,t){G();var n=de().builders,r=n.hardline,i=n.markAsRoot;function a(e,t){if("yaml"===e.lang){var n=e.value.trim(),a=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return i([e.startDelimiter,r,a,a?r:"",e.endDelimiter])}}t.exports=a}}),Zr=W({"src/language-css/embed.js":function(e,t){G();var n=de().builders.hardline,r=Yr();function i(e,t,i){var a=e.getValue();if("front-matter"===a.type){var o=r(a,i);return o?[o,n]:""}}t.exports=i}}),ei=W({"src/utils/front-matter/parse.js":function(e,t){G();var n=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function r(e){var t=e.match(n);if(!t)return{content:e};var r=t.groups,i=r.startDelimiter,a=r.language,o=r.value,s=void 0===o?"":o,u=r.endDelimiter,l=a.trim()||"yaml";if("+++"===i&&(l="toml"),"yaml"!==l&&i!==u)return{content:e};var c=y(t,1)[0];return{frontMatter:{type:"front-matter",lang:l,value:s,startDelimiter:i,endDelimiter:u,raw:c.replace(/\n$/,"")},content:c.replace(/[^\n]/g," ")+e.slice(c.length)}}t.exports=r}}),ti=W({"src/language-css/pragma.js":function(e,t){G();var n=or(),r=ei();function i(e){return n.hasPragma(r(e).content)}function a(e){var t=r(e),i=t.frontMatter,a=t.content;return(i?i.raw+"\n\n":"")+n.insertPragma(a)}t.exports={hasPragma:i,insertPragma:a}}}),ni=W({"src/language-css/utils/index.js":function(e,t){G();var n=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function r(e,t){for(var n,r=Array.isArray(t)?t:[t],i=-1;n=e.getParentNode(++i);)if(r.includes(n.type))return i;return-1}function i(e,t){var n=r(e,t);return-1===n?null:e.getParentNode(n)}function a(e){var t,n=i(e,"css-decl");return null==n||null===(t=n.prop)||void 0===t?void 0:t.toLowerCase()}var o=new Set(["initial","inherit","unset","revert"]);function s(e){return o.has(e.toLowerCase())}function u(e,t){var n=i(e,"css-atrule");return(null==n?void 0:n.name)&&n.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())}function l(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()}function c(e,t){var n,r=i(e,"value-func");return(null==r||null===(n=r.value)||void 0===n?void 0:n.toLowerCase())===t}function p(e){var t,n=i(e,"css-rule"),r=null==n||null===(t=n.raws)||void 0===t?void 0:t.selector;return r&&(r.startsWith(":import")||r.startsWith(":export"))}function f(e,t){var n=Array.isArray(t)?t:[t],r=i(e,"css-atrule");return r&&n.includes(r.name.toLowerCase())}function d(e){var t=e.getValue(),n=i(e,"css-atrule");return"import"===(null==n?void 0:n.name)&&"url"===t.groups[0].value&&2===t.groups.length}function h(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()}function m(e,t){var n,r=null===(n=e.getParentNode())||void 0===n?void 0:n.nodes;return r&&r.indexOf(t)===r.length-1}function y(e){var t=e.selector;return!!t&&("string"==typeof t&&/^@.+:.*$/.test(t)||t.value&&/^@.+:.*$/.test(t.value))}function v(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)}function g(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)}function D(e){return"value-word"===e.type&&"in"===e.value}function b(e){return"value-operator"===e.type&&"*"===e.value}function x(e){return"value-operator"===e.type&&"/"===e.value}function C(e){return"value-operator"===e.type&&"+"===e.value}function E(e){return"value-operator"===e.type&&"-"===e.value}function A(e){return"value-operator"===e.type&&"%"===e.value}function w(e){return b(e)||x(e)||C(e)||E(e)||A(e)}function k(e){return"value-word"===e.type&&["==","!="].includes(e.value)}function S(e){return"value-word"===e.type&&["<",">","<=",">="].includes(e.value)}function F(e){return"css-atrule"===e.type&&["if","else","for","each","while"].includes(e.name)}function T(e){var t;return(null===(t=e.raws)||void 0===t?void 0:t.params)&&/^\(\s*\)$/.test(e.raws.params)}function P(e){return e.name.startsWith("prettier-placeholder")}function B(e){return e.prop.startsWith("@prettier-placeholder")}function N(e,t){return"$$"===e.value&&"value-func"===e.type&&"value-word"===(null==t?void 0:t.type)&&!t.raws.before}function I(e){var t,n;return"value-root"===(null===(t=e.value)||void 0===t?void 0:t.type)&&"value-value"===(null===(n=e.value.group)||void 0===n?void 0:n.type)&&"composes"===e.prop.toLowerCase()}function L(e){var t,n,r;return"value-paren_group"===(null===(t=e.value)||void 0===t||null===(n=t.group)||void 0===n||null===(r=n.group)||void 0===r?void 0:r.type)&&null!==e.value.group.group.open&&null!==e.value.group.group.close}function O(e){var t;return""===(null===(t=e.raws)||void 0===t?void 0:t.before)}function _(e){var t,n;return"value-comma_group"===e.type&&"value-colon"===(null===(t=e.groups)||void 0===t||null===(n=t[1])||void 0===n?void 0:n.type)}function M(e){var t;return"value-paren_group"===e.type&&(null===(t=e.groups)||void 0===t?void 0:t[0])&&_(e.groups[0])}function j(e){var t,n=e.getValue();if(0===n.groups.length)return!1;var r=e.getParentNode(1);if(!M(n)&&(!r||!M(r)))return!1;var a=i(e,"css-decl");return!!(null!=a&&null!==(t=a.prop)&&void 0!==t&&t.startsWith("$")||M(r)||"value-func"===r.type)}function R(e){return"value-comment"===e.type&&e.inline}function W(e){return"value-word"===e.type&&"#"===e.value}function V(e){return"value-word"===e.type&&"{"===e.value}function H(e){return"value-word"===e.type&&"}"===e.value}function U(e){return["value-word","value-atword"].includes(e.type)}function z(e){return"value-colon"===(null==e?void 0:e.type)}function q(e,t){if(!_(t))return!1;var n=t.groups,r=n.indexOf(e);return-1!==r&&z(n[r+1])}function K(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())}function J(e){return"value-func"===e.type&&n.has(e.value.toLowerCase())}function $(e){return/\/\//.test(e.split(/[\n\r]/).pop())}function X(e){return"value-atword"===(null==e?void 0:e.type)&&e.value.startsWith("prettier-placeholder-")}function Q(e,t){var n,r;if("("!==(null===(n=e.open)||void 0===n?void 0:n.value)||")"!==(null===(r=e.close)||void 0===r?void 0:r.value)||e.groups.some((function(e){return"value-comma_group"!==e.type})))return!1;if("value-comma_group"===t.type){var i=t.groups.indexOf(e)-1,a=t.groups[i];if("value-word"===(null==a?void 0:a.type)&&"with"===a.value)return!0}return!1}function Y(e){var t,n;return"value-paren_group"===e.type&&"("===(null===(t=e.open)||void 0===t?void 0:t.value)&&")"===(null===(n=e.close)||void 0===n?void 0:n.value)}t.exports={getAncestorCounter:r,getAncestorNode:i,getPropOfDeclNode:a,maybeToLowerCase:l,insideValueFunctionNode:c,insideICSSRuleNode:p,insideAtRuleNode:f,insideURLFunctionInImportAtRuleNode:d,isKeyframeAtRuleKeywords:u,isWideKeywords:s,isLastNode:m,isSCSSControlDirectiveNode:F,isDetachedRulesetDeclarationNode:y,isRelationalOperatorNode:S,isEqualityOperatorNode:k,isMultiplicationNode:b,isDivisionNode:x,isAdditionNode:C,isSubtractionNode:E,isModuloNode:A,isMathOperatorNode:w,isEachKeywordNode:D,isForKeywordNode:v,isURLFunctionNode:h,isIfElseKeywordNode:g,hasComposesNode:I,hasParensAroundNode:L,hasEmptyRawBefore:O,isDetachedRulesetCallNode:T,isTemplatePlaceholderNode:P,isTemplatePropNode:B,isPostcssSimpleVarNode:N,isKeyValuePairNode:_,isKeyValuePairInParenGroupNode:M,isKeyInValuePairNode:q,isSCSSMapItemNode:j,isInlineValueCommentNode:R,isHashNode:W,isLeftCurlyBraceNode:V,isRightCurlyBraceNode:H,isWordNode:U,isColonNode:z,isMediaAndSupportsKeywords:K,isColorAdjusterFuncNode:J,lastLineHasInlineComment:$,isAtWordPlaceholderNode:X,isConfigurationNode:Q,isParenGroupNode:Y}}}),ri=W({"src/utils/line-column-to-index.js":function(e,t){G(),t.exports=function(e,t){for(var n=0,r=0;r0?h:""];case"css-comment":var c=i.inline||i.raws.inline,p=t.originalText.slice(we(i),ke(i));return c?p.trimEnd():p;case"css-rule":return[r("selector"),i.important?" !important":"",i.nodes?[i.selector&&"selector-unknown"===i.selector.type&&be(i.selector.value)?d:" ","{",i.nodes.length>0?D([h,Ne(e,t,r)]):"",h,"}",V(i)?";":""]:";"];case"css-decl":var E=e.getParentNode(),k=i.raws.between.trim(),S=":"===k,F=te(i)?A(r("value")):r("value");return!S&&be(k)&&(F=D([h,b(F)])),[i.raws.before.replace(/[\s;]/g,""),L(e)?i.prop:N(i.prop),k.startsWith("//")?" ":"",k,i.extend?"":" ",Se(t)&&i.extend&&i.selector?["extend(",r("selector"),")"]:"",F,i.raws.important?i.raws.important.replace(/\s*!\s*important/i," !important"):i.important?" !important":"",i.raws.scssDefault?i.raws.scssDefault.replace(/\s*!default/i," !default"):i.scssDefault?" !default":"",i.raws.scssGlobal?i.raws.scssGlobal.replace(/\s*!global/i," !global"):i.scssGlobal?" !global":"",i.nodes?[" {",D([m,Ne(e,t,r)]),m,"}"]:ue(i)&&!E.raws.semicolon&&";"!==t.originalText[ke(i)-1]?"":t.__isHTMLStyleAttribute&&R(e,i)?x(";"):";"];case"css-atrule":var T=e.getParentNode(),G=se(i)&&!T.raws.semicolon&&";"!==t.originalText[ke(i)-1];if(Se(t)){if(i.mixin)return[r("selector"),i.important?" !important":"",G?"":";"];if(i.function)return[i.name,r("params"),G?"":";"];if(i.variable)return["@",i.name,": ",i.value?r("value"):"",i.raws.between.trim()?i.raws.between.trim()+" ":"",i.nodes?["{",D([i.nodes.length>0?m:"",Ne(e,t,r)]),m,"}"]:"",G?"":";"]}return["@",oe(i)||i.name.endsWith(":")?i.name:N(i.name),i.params?[oe(i)?"":se(i)?""===i.raws.afterName?"":i.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(i.raws.afterName)?[h,h]:/^\s*\n/.test(i.raws.afterName)?h:" ":" ",r("params")]:"",i.selector?D([" ",r("selector")]):"",i.value?y([" ",r("value"),W(i)?ne(i)?" ":d:""]):"else"===i.name?" ":"",i.nodes?[W(i)?"":i.selector&&!i.selector.nodes&&"string"==typeof i.selector.value&&be(i.selector.value)||!i.selector&&"string"==typeof i.params&&be(i.params)?d:" ","{",D([i.nodes.length>0?m:"",Ne(e,t,r)]),m,"}"]:G?"":";"];case"media-query-list":var Q=[];return e.each((function(e){var t=e.getValue();"media-query"===t.type&&""===t.value||Q.push(r())}),"nodes"),y(D(f(d,Q)));case"media-query":return[f(" ",e.map(r,"nodes")),R(e,i)?"":","];case"media-type":case"media-value":return Ve(Re(i.value,t));case"media-feature-expression":return i.nodes?["("].concat(g(e.map(r,"nodes")),[")"]):i.value;case"media-feature":return N(Re(i.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[i.value," "];case"media-keyword":case"selector-string":return Re(i.value,t);case"media-url":return Re(i.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),t);case"media-unknown":case"selector-comment":case"selector-nesting":case"value-paren":case"value-operator":case"value-unicode-range":case"value-unknown":return i.value;case"selector-root":return y([O(e,"custom-selector")?[P(e,"css-atrule").customSelector,d]:"",f([",",O(e,["extend","custom-selector","nest"])?d:h],e.map(r,"nodes"))]);case"selector-selector":return y(D(e.map(r,"nodes")));case"selector-tag":var de=e.getParentNode(),Ae=de&&de.nodes.indexOf(i),Be=Ae&&de.nodes[Ae-1];return[i.namespace?[!0===i.namespace?"":i.namespace.trim(),"|"]:"","selector-nesting"===Be.type?i.value:Ve(M(e,i.value)?i.value.toLowerCase():i.value)];case"selector-id":return["#",i.value];case"selector-class":return[".",Ve(Re(i.value,t))];case"selector-attribute":return["[",i.namespace?[!0===i.namespace?"":i.namespace.trim(),"|"]:"",i.attribute.trim(),i.operator?i.operator:"",i.value?We(Re(i.value.trim(),t),t):"",i.insensitive?" i":"","]"];case"selector-combinator":if("+"===i.value||">"===i.value||"~"===i.value||">>>"===i.value){var Ie=e.getParentNode();return["selector-selector"===Ie.type&&Ie.nodes[0]===i?"":d,i.value,R(e,i)?"":" "]}return[i.value.trim().startsWith("(")?d:"",Ve(Re(i.value.trim(),t))||d];case"selector-universal":return[i.namespace?[!0===i.namespace?"":i.namespace.trim(),"|"]:"",i.value];case"selector-pseudo":return[N(i.value),l(i.nodes)?["(",f(", ",e.map(r,"nodes")),")"]:""];case"selector-unknown":var Le=P(e,"css-rule");if(Le&&Le.isSCSSNesterProperty)return Ve(Re(N(i.value),t));var Oe=e.getParentNode();if(Oe.raws&&Oe.raws.selector){var _e=we(Oe),Me=_e+Oe.raws.selector.length;return t.originalText.slice(_e,Me).trim()}var je=e.getParentNode(1);if("value-paren_group"===Oe.type&&je&&"value-func"===je.type&&"selector"===je.value){var Ue=ke(Oe.open)+1,ze=we(Oe.close),Ge=t.originalText.slice(Ue,ze).trim();return be(Ge)?[C,Ge]:Ge}return i.value;case"value-value":case"value-root":return r("group");case"value-comment":return t.originalText.slice(we(i),ke(i));case"value-comma_group":for(var qe=e.getParentNode(),Ke=e.getParentNode(1),Je=B(e),$e=Je&&"value-value"===qe.type&&("grid"===Je||Je.startsWith("grid-template")),Xe=P(e,"css-atrule"),Qe=Xe&&W(Xe),Ye=i.groups.some((function(e){return pe(e)})),Ze=e.map(r,"groups"),et=[],tt=I(e,"url"),nt=!1,rt=!1,it=0;it0&&"value-comma_group"===i.groups[0].type&&i.groups[0].groups.length>0&&"value-word"===i.groups[0].groups[0].type&&i.groups[0].groups[0].value.startsWith("data:")))return[i.open?r("open"):"",f(",",e.map(r,"groups")),i.close?r("close"):""];if(!i.open){for(var vt=e.map(r,"groups"),gt=[],Dt=0;Dt1&&void 0!==arguments[1]?arguments[1]:1))}function y(e){return h(e,1)}function v(e){return c(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}function g(e){var t=e.getValue(),n=m(e,2);return v(t)||v(n)}t.exports={getNextNode:y,getPreviousNode:m,hasPrettierIgnore:g,isLastNodeOfSiblings:i,isNextNodeOfSomeType:d,isNodeOfSomeType:c,isParentOfSomeType:p,isPreviousNodeOfSomeType:f,isVoid:u,isWhitespaceNode:l}}}),xi=W({"src/language-handlebars/printer-glimmer.js":function(e,t){G();var n=de(),r=n.builders,i=r.dedent,a=r.fill,o=r.group,s=r.hardline,u=r.ifBreak,l=r.indent,c=r.join,p=r.line,f=r.softline,d=n.utils,h=d.getDocParts,m=d.replaceTextEndOfLine,v=Me(),b=v.getPreferredQuote,x=v.isNonEmptyArray,C=vi(),E=C.locStart,A=C.locEnd,w=gi(),k=bi(),S=k.getNextNode,F=k.getPreviousNode,T=k.hasPrettierIgnore,P=k.isLastNodeOfSiblings,B=k.isNextNodeOfSomeType,N=k.isNodeOfSomeType,I=k.isParentOfSomeType,L=k.isPreviousNodeOfSomeType,O=k.isVoid,_=k.isWhitespaceNode,M=2;function j(e,t,n){var r=e.getValue();if(!r)return"";if(T(e))return t.originalText.slice(E(r),A(r));var u=t.singleQuote?"'":'"';switch(r.type){case"Block":case"Program":case"Template":return o(e.map(n,"body"));case"ElementNode":var d=o(W(e,n)),h="ignore"===t.htmlWhitespaceSensitivity&&B(e,["ElementNode"])?f:"";if(O(r))return[d,h];var v=[""];return 0===r.children.length?[d,l(v),h]:"ignore"===t.htmlWhitespaceSensitivity?[d,l(V(e,t,n)),s,l(v),h]:[d,l(o(V(e,t,n))),l(v),h];case"BlockStatement":var D=e.getParentNode(1);return D&&D.inverse&&1===D.inverse.body.length&&D.inverse.body[0]===r&&"if"===D.inverse.body[0].path.parts[0]?[ee(e,n),ae(e,n,t),oe(e,n,t)]:[Y(e,n),o([ae(e,n,t),oe(e,n,t),te(e,n,t)])];case"ElementModifierStatement":return o(["{{",ge(e,n),"}}"]);case"MustacheStatement":return o([U(r),ge(e,n),z(r)]);case"SubExpression":return o(["(",ve(e,n),f,")"]);case"AttrNode":var x="TextNode"===r.value.type;if(x&&""===r.value.chars&&E(r.value)===A(r.value))return r.name;var C=x?b(r.value.chars,u).quote:"ConcatStatement"===r.value.type?b(r.value.parts.filter((function(e){return"TextNode"===e.type})).map((function(e){return e.chars})).join(""),u).quote:"",w=n("value");return[r.name,"=",C,"class"===r.name&&C?o(l(w)):w,C];case"ConcatStatement":return e.map(n,"parts");case"Hash":return c(p,e.map(n,"pairs"));case"HashPair":return[r.key,"=",n("value")];case"TextNode":var k=r.chars.replace(/{{/g,"\\{{"),N=le(e);if(N){if("class"===N){var _=k.trim().split(/\s+/).join(" "),j=!1,R=!1;return I(e,["ConcatStatement"])&&(L(e,["MustacheStatement"])&&/^\s/.test(k)&&(j=!0),B(e,["MustacheStatement"])&&/\s$/.test(k)&&""!==_&&(R=!0)),[j?p:"",_,R?p:""]}return m(k)}var H=/^[\t\n\f\r ]*$/.test(k),G=!F(e),q=!S(e);if("ignore"!==t.htmlWhitespaceSensitivity){var K=/^[\t\n\f\r ]*/,J=/[\t\n\f\r ]*$/,$=q&&I(e,["Template"]),X=G&&I(e,["Template"]);if(H){if(X||$)return"";var Q=[p],Z=ce(k);return Z&&(Q=he(Z)),P(e)&&(Q=Q.map((function(e){return i(e)}))),Q}var ne=k.match(K),re=y(ne,1)[0],ie=k.match(J),ue=y(ie,1)[0],de=[];if(re){de=[p];var De=ce(re);De&&(de=he(De)),k=k.replace(K,"")}var be=[];if(ue){if(!$){be=[p];var xe=ce(ue);xe&&(be=he(xe)),P(e)&&(be=be.map((function(e){return i(e)})))}k=k.replace(J,"")}return[].concat(g(de),[a(se(k))],g(be))}var Ce=ce(k),Ee=pe(k),Ae=fe(k);if((G||q)&&H&&I(e,["Block","ElementNode","Template"]))return"";H&&Ce?(Ee=Math.min(Ce,M),Ae=0):(B(e,["BlockStatement","ElementNode"])&&(Ae=Math.max(Ae,1)),L(e,["BlockStatement","ElementNode"])&&(Ee=Math.max(Ee,1)));var we="",ke="";return 0===Ae&&B(e,["MustacheStatement"])&&(ke=" "),0===Ee&&L(e,["MustacheStatement"])&&(we=" "),G&&(Ee=0,we=""),q&&(Ae=0,ke=""),k=k.replace(/^[\t\n\f\r ]+/g,we).replace(/[\t\n\f\r ]+$/,ke),[].concat(g(he(Ee)),[a(se(k))],g(he(Ae)));case"MustacheCommentStatement":var Se=E(r),Fe=A(r),Te="~"===t.originalText.charAt(Se+2),Pe="~"===t.originalText.charAt(Fe-3),Be=r.value.includes("}}")?"--":"";return["{{",Te?"~":"","!",Be,r.value,Be,Pe?"~":"","}}"];case"PathExpression":return r.original;case"BooleanLiteral":case"NumberLiteral":return String(r.value);case"CommentStatement":return["\x3c!--",r.value,"--\x3e"];case"StringLiteral":if(ye(e)){var Ne=t.singleQuote?'"':"'";return me(r.value,Ne)}return me(r.value,u);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}}function R(e,t){return E(e)-E(t)}function W(e,t){var n,r=e.getValue(),i=["attributes","modifiers","comments"].filter((function(e){return x(r[e])})),a=i.flatMap((function(e){return r[e]})).sort(R),o=D(i);try{for(o.s();!(n=o.n()).done;){var s=n.value;e.each((function(e){var n=a.indexOf(e.getValue());a.splice(n,1,[p,t()])}),s)}}catch(u){o.e(u)}finally{o.f()}return x(r.blockParams)&&a.push(p,xe(r)),["<",r.tag,l(a),H(r)]}function V(e,t,n){var r=e.getValue().children.every((function(e){return _(e)}));return"ignore"===t.htmlWhitespaceSensitivity&&r?"":e.map((function(e,r){var i=n();return 0===r&&"ignore"===t.htmlWhitespaceSensitivity?[f,i]:i}),"children")}function H(e){return O(e)?u([f,"/>"],[" />",f]):u([f,">"],">")}function U(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function z(e){var t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function q(e){return[U(e),e.openStrip.open?"~":"","#"]}function K(e){var t=z(e);return[e.openStrip.close?"~":"",t]}function J(e){return[U(e),e.closeStrip.open?"~":"","/"]}function $(e){var t=z(e);return[e.closeStrip.close?"~":"",t]}function X(e){return[U(e),e.inverseStrip.open?"~":""]}function Q(e){var t=z(e);return[e.inverseStrip.close?"~":"",t]}function Y(e,t){var n=e.getValue(),r=q(n),i=K(n),a=[De(e,t)],s=be(e,t);if(s&&a.push(p,s),x(n.program.blockParams)){var u=xe(n.program);a.push(p,u)}return o([r,l(a),f,i])}function Z(e,t){return["ignore"===t.htmlWhitespaceSensitivity?s:"",X(e),"else",Q(e)]}function ee(e,t){var n=e.getParentNode(1);return[X(n),"else if ",be(e,t),Q(n)]}function te(e,t,n){var r=e.getValue();return"ignore"===n.htmlWhitespaceSensitivity?[ne(r)?f:s,J(r),t("path"),$(r)]:[J(r),t("path"),$(r)]}function ne(e){return N(e,["BlockStatement"])&&e.program.body.every((function(e){return _(e)}))}function re(e){return ie(e)&&1===e.inverse.body.length&&N(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0]}function ie(e){return N(e,["BlockStatement"])&&e.inverse}function ae(e,t,n){if(ne(e.getValue()))return"";var r=t("program");return"ignore"===n.htmlWhitespaceSensitivity?l([s,r]):l(r)}function oe(e,t,n){var r=e.getValue(),i=t("inverse"),a="ignore"===n.htmlWhitespaceSensitivity?[s,i]:i;return re(r)?a:ie(r)?[Z(r,n),l(a)]:""}function se(e){return h(c(p,ue(e)))}function ue(e){return e.split(/[\t\n\f\r ]+/)}function le(e){for(var t=0;t<2;t++){var n=e.getParentNode(t);if(n&&"AttrNode"===n.type)return n.name.toLowerCase()}}function ce(e){return(e="string"==typeof e?e:"").split("\n").length-1}function pe(e){return ce(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}function fe(e){return ce(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}function he(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.from({length:Math.min(e,M)}).fill(s)}function me(e,t){var n=b(e,t),r=n.quote,i=n.regex;return[r,e.replace(i,"\\".concat(r)),r]}function ye(e){for(var t=0,n=e.getParentNode(t);n&&N(n,["SubExpression"]);)t++,n=e.getParentNode(t);return!!(n&&N(e.getParentNode(t+1),["ConcatStatement"])&&N(e.getParentNode(t+2),["AttrNode"]))}function ve(e,t){var n=De(e,t),r=be(e,t);return r?l([n,p,o(r)]):n}function ge(e,t){var n=De(e,t),r=be(e,t);return r?[l([n,p,r]),f]:n}function De(e,t){return t("path")}function be(e,t){var n=e.getValue(),r=[];if(n.params.length>0){var i=e.map(t,"params");r.push.apply(r,g(i))}if(n.hash&&n.hash.pairs.length>0){var a=t("hash");r.push(a)}return 0===r.length?"":c(p,r)}function xe(e){return["as |",e.blockParams.join(" "),"|"]}t.exports={print:j,massageAstNode:w}}}),Ci=W({"src/language-handlebars/parsers.js":function(){G()}}),Ei=W({"node_modules/linguist-languages/data/Handlebars.json":function(e,t){t.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),Ai=W({"src/language-handlebars/index.js":function(e,t){G();var n=xn(),r=xi(),i=Ci(),a=[n(Ei(),(function(){return{since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}}))],o={glimmer:r};t.exports={languages:a,printers:o,parsers:i}}}),wi=W({"src/language-graphql/pragma.js":function(e,t){function n(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)}function r(e){return"# @format\n\n"+e}G(),t.exports={hasPragma:n,insertPragma:r}}}),ki=W({"src/language-graphql/loc.js":function(e,t){function n(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start}function r(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}G(),t.exports={locStart:n,locEnd:r}}}),Si=W({"src/language-graphql/printer-graphql.js":function(e,t){G();var n=de().builders,r=n.join,i=n.hardline,a=n.line,o=n.softline,s=n.group,u=n.indent,l=n.ifBreak,c=Me(),p=c.isNextLineEmpty,f=c.isNonEmptyArray,d=wi().insertPragma,h=ki(),m=h.locStart,y=h.locEnd;function v(e,t,n){var c=e.getValue();if(!c)return"";if("string"==typeof c)return c;switch(c.kind){case"Document":var d=[];return e.each((function(e,r,a){d.push(n()),r!==a.length-1&&(d.push(i),p(t.originalText,e.getValue(),y)&&d.push(i))}),"definitions"),[].concat(d,[i]);case"OperationDefinition":var h="{"!==t.originalText[m(c)],v=Boolean(c.name);return[h?c.operation:"",h&&v?[" ",n("name")]:"",h&&!v&&f(c.variableDefinitions)?" ":"",f(c.variableDefinitions)?s(["(",u([o,r([l("",", "),o],e.map(n,"variableDefinitions"))]),o,")"]):"",D(e,n,c),c.selectionSet&&(h||v)?" ":"",n("selectionSet")];case"FragmentDefinition":return["fragment ",n("name"),f(c.variableDefinitions)?s(["(",u([o,r([l("",", "),o],e.map(n,"variableDefinitions"))]),o,")"]):""," on ",n("typeCondition"),D(e,n,c)," ",n("selectionSet")];case"SelectionSet":return["{",u([i,r(i,b(e,t,n,"selections"))]),i,"}"];case"Field":return s([c.alias?[n("alias"),": "]:"",n("name"),c.arguments.length>0?s(["(",u([o,r([l("",", "),o],b(e,t,n,"arguments"))]),o,")"]):"",D(e,n,c),c.selectionSet?" ":"",n("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return c.value;case"StringValue":if(c.block){var x=c.value.replace(/"""/g,"\\$&").split("\n");return 1===x.length&&(x[0]=x[0].trim()),x.every((function(e){return""===e}))&&(x.length=0),r(i,['"""'].concat(g(x),['"""']))}return['"',c.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return c.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return s(["[",u([o,r([l("",", "),o],e.map(n,"values"))]),o,"]"]);case"ObjectValue":return s(["{",t.bracketSpacing&&c.fields.length>0?" ":"",u([o,r([l("",", "),o],e.map(n,"fields"))]),o,l("",t.bracketSpacing&&c.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),c.arguments.length>0?s(["(",u([o,r([l("",", "),o],b(e,t,n,"arguments"))]),o,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),c.defaultValue?[" = ",n("defaultValue")]:"",D(e,n,c)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[n("description"),c.description?i:"","ObjectTypeExtension"===c.kind?"extend ":"","type ",n("name"),c.interfaces.length>0?[" implements "].concat(g(E(e,t,n))):"",D(e,n,c),c.fields.length>0?[" {",u([i,r(i,b(e,t,n,"fields"))]),i,"}"]:""];case"FieldDefinition":return[n("description"),c.description?i:"",n("name"),c.arguments.length>0?s(["(",u([o,r([l("",", "),o],b(e,t,n,"arguments"))]),o,")"]):"",": ",n("type"),D(e,n,c)];case"DirectiveDefinition":return[n("description"),c.description?i:"","directive ","@",n("name"),c.arguments.length>0?s(["(",u([o,r([l("",", "),o],b(e,t,n,"arguments"))]),o,")"]):"",c.repeatable?" repeatable":""," on ",r(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[n("description"),c.description?i:"","EnumTypeExtension"===c.kind?"extend ":"","enum ",n("name"),D(e,n,c),c.values.length>0?[" {",u([i,r(i,b(e,t,n,"values"))]),i,"}"]:""];case"EnumValueDefinition":return[n("description"),c.description?i:"",n("name"),D(e,n,c)];case"InputValueDefinition":return[n("description"),c.description?c.description.block?i:a:"",n("name"),": ",n("type"),c.defaultValue?[" = ",n("defaultValue")]:"",D(e,n,c)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[n("description"),c.description?i:"","InputObjectTypeExtension"===c.kind?"extend ":"","input ",n("name"),D(e,n,c),c.fields.length>0?[" {",u([i,r(i,b(e,t,n,"fields"))]),i,"}"]:""];case"SchemaExtension":return["extend schema",D(e,n,c)].concat(g(c.operationTypes.length>0?[" {",u([i,r(i,b(e,t,n,"operationTypes"))]),i,"}"]:[]));case"SchemaDefinition":return[n("description"),c.description?i:"","schema",D(e,n,c)," {",c.operationTypes.length>0?u([i,r(i,b(e,t,n,"operationTypes"))]):"",i,"}"];case"OperationTypeDefinition":return[n("operation"),": ",n("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[n("description"),c.description?i:"","InterfaceTypeExtension"===c.kind?"extend ":"","interface ",n("name"),c.interfaces.length>0?[" implements "].concat(g(E(e,t,n))):"",D(e,n,c),c.fields.length>0?[" {",u([i,r(i,b(e,t,n,"fields"))]),i,"}"]:""];case"FragmentSpread":return["...",n("name"),D(e,n,c)];case"InlineFragment":return["...",c.typeCondition?[" on ",n("typeCondition")]:"",D(e,n,c)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return s([n("description"),c.description?i:"",s(["UnionTypeExtension"===c.kind?"extend ":"","union ",n("name"),D(e,n,c),c.types.length>0?[" =",l(""," "),u([l([a," "]),r([a,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[n("description"),c.description?i:"","ScalarTypeExtension"===c.kind?"extend ":"","scalar ",n("name"),D(e,n,c)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(c.kind))}}function D(e,t,n){if(0===n.directives.length)return"";var i=r(a,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?s([a,i]):[" ",s(u([o,i]))]}function b(e,t,n,r){return e.map((function(e,r,a){var o=n();return r2){var i=Number(m(e.children[2],t.originalText).numberText);return 1===r&&1===i}return 1===r}function b(e,t){var n=e.value;return e.position.end.offset===t.length&&n.endsWith("\n")&&t.endsWith("\n")?n.slice(0,-1):n}function x(e,t){return function e(n,r,i){var a=Object.assign({},t(n,r,i));return a.children&&(a.children=a.children.map((function(t,n){return e(t,n,[a].concat(g(i)))}))),a}(e,null,[])}function C(e){if("link"!==(null==e?void 0:e.type)||1!==e.children.length)return!1;var t=y(e.children,1)[0];return i(e)===i(t)&&a(e)===a(t)}t.exports={mapAst:x,splitText:h,punctuationPattern:l,getFencedCodeBlockValue:b,getOrderedListItemInfo:m,hasGitDiffFriendlyOrderedList:v,INLINE_NODE_TYPES:c,INLINE_NODE_WRAPPER_TYPES:p,isAutolink:C}}}),Oi=W({"src/language-markdown/embed.js":function(e,t){G();var n=Me(),r=n.inferParserByLanguage,i=n.getMaxContinuousCount,a=de(),o=a.builders,s=o.hardline,u=o.markAsRoot,l=a.utils.replaceEndOfLine,c=Yr(),p=Li().getFencedCodeBlockValue;function f(e,t,n,a){var o=e.getValue();if("code"===o.type&&null!==o.lang){var f=r(o.lang,a);if(f){var d=a.__inJsTemplate?"~":"`",h=d.repeat(Math.max(3,i(o.value,d)+1)),m={parser:f};"tsx"===o.lang&&(m.filepath="dummy.tsx");var y=n(p(o,a.originalText),m,{stripTrailingHardline:!0});return u([h,o.lang,o.meta?" "+o.meta:"",s,l(y),s,h])}}switch(o.type){case"front-matter":return c(o,n);case"importExport":return[n(o.value,{parser:"babel"},{stripTrailingHardline:!0}),s];case"jsx":return n("<$>".concat(o.value,""),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}t.exports=f}}),_i=W({"src/language-markdown/pragma.js":function(e,t){G();var n=ei(),r=["format","prettier"];function i(e){var t="@(".concat(r.join("|"),")"),n=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"{\\s*\\/\\*\\s*".concat(t,"\\s*\\*\\/\\s*}"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),i=e.match(n);return 0===(null==i?void 0:i.index)}t.exports={startWithPragma:i,hasPragma:function(e){return i(n(e).content.trimStart())},insertPragma:function(e){var t=n(e),i="\x3c!-- @".concat(r[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(i,"\n\n").concat(t.content):"".concat(i,"\n\n").concat(t.content)}}}}),Mi=W({"src/language-markdown/print-preprocess.js":function(e,t){G();var n=Q(),r=Li(),i=r.getOrderedListItemInfo,a=r.mapAst,o=r.splitText,s=/^(?:[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])$/;function u(e,t){return e=f(e=l(e=m(e=g(e=v(e=c(e=h(e=p(e,t))),t),t),t)))}function l(e){return a(e,(function(e){return"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"})}))}function c(e){return a(e,(function(e){return"inlineCode"!==e.type?e:Object.assign(Object.assign({},e),{},{value:e.value.replace(/\s+/g," ")})}))}function p(e,t){return a(e,(function(e){return"text"===e.type&&"*"!==e.value&&"_"!==e.value&&s.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign(Object.assign({},e),{},{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e}))}function f(e){return d(e,(function(e,t){return"importExport"===e.type&&"importExport"===t.type}),(function(e,t){return{type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}}}))}function d(e,t,r){return a(e,(function(e){if(!e.children)return e;var i=e.children.reduce((function(e,i){var a=n(e);return a&&t(a,i)?e.splice(-1,1,r(a,i)):e.push(i),e}),[]);return Object.assign(Object.assign({},e),{},{children:i})}))}function h(e){return d(e,(function(e,t){return"text"===e.type&&"text"===t.type}),(function(e,t){return{type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}}}))}function m(e,t){return a(e,(function(e,n,r){var i=y(r,1)[0];if("text"!==e.type)return e;var a=e.value;return"paragraph"===i.type&&(0===n&&(a=a.trimStart()),n===i.children.length-1&&(a=a.trimEnd())),{type:"sentence",position:e.position,children:o(a,t)}}))}function v(e,t){return a(e,(function(e,n,r){if("code"===e.type){var i=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=i,i)for(var a=0;a0){for(var i=0;i1)return!0;var s=n(a);return-1!==s&&(1===e.children.length?s%t.tabWidth===0:s===n(o)&&(s%t.tabWidth===0||i(o,t.originalText).leadingSpaces.length>1))}}t.exports=u}}),ji=W({"src/language-markdown/clean.js":function(e,t){G();var n=Me().isFrontMatterNode,r=_i().startWithPragma,i=new Set(["position","raw"]);function a(e,t,i){if(("front-matter"===e.type||"code"===e.type||"yaml"===e.type||"import"===e.type||"export"===e.type||"jsx"===e.type)&&delete t.value,"list"===e.type&&delete t.isAligned,("list"===e.type||"listItem"===e.type)&&(delete t.spread,delete t.loose),"text"===e.type||("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"wikiLink"===e.type&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),("definition"===e.type||"linkReference"===e.type)&&(t.label=e.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),("definition"===e.type||"link"===e.type||"image"===e.type)&&e.title&&(t.title=e.title.replace(/\\(["')])/g,"$1")),i&&"root"===i.type&&i.children.length>0&&(i.children[0]===e||n(i.children[0])&&i.children[1]===e)&&"html"===e.type&&r(e.value)))return null}a.ignoredProperties=i,t.exports=a}}),Ri=W({"src/language-markdown/printer-markdown.js":function(e,t){G();var n=Me(),r=n.getLast,i=n.getMinNotPresentContinuousCount,a=n.getMaxContinuousCount,o=n.getStringWidth,s=n.isNonEmptyArray,u=de(),l=u.builders,c=l.breakParent,p=l.join,f=l.line,d=l.literalline,h=l.markAsRoot,m=l.hardline,v=l.softline,b=l.ifBreak,x=l.fill,C=l.align,E=l.indent,A=l.group,w=l.hardlineWithoutBreakParent,k=u.utils,S=k.normalizeDoc,F=k.replaceTextEndOfLine,T=u.printer.printDocToString,P=Oi(),B=_i().insertPragma,N=Ni(),I=N.locStart,L=N.locEnd,O=Mi(),_=ji(),M=Li(),j=M.getFencedCodeBlockValue,R=M.hasGitDiffFriendlyOrderedList,W=M.splitText,V=M.punctuationPattern,H=M.INLINE_NODE_TYPES,U=M.INLINE_NODE_WRAPPER_TYPES,z=M.isAutolink,q=new Set(["importExport"]),K=["heading","tableCell","link","wikiLink"],J=new Set(["listItem","definition","footnoteDefinition"]);function $(e,t,n){var o=e.getValue();if(pe(e))return W(t.originalText.slice(o.position.start.offset,o.position.end.offset),t).map((function(n){return"word"===n.type?n.value:""===n.value?"":ne(e,n.value,t)}));switch(o.type){case"front-matter":return t.originalText.slice(o.position.start.offset,o.position.end.offset);case"root":return 0===o.children.length?"":[S(ie(e,t,n)),q.has(oe(o).type)?"":m];case"paragraph":return ae(e,t,n,{postprocessor:x});case"sentence":return ae(e,t,n);case"word":var s=o.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(V,")(_+)"),"(_+)(".concat(V,"|$)")].join("|"),"g"),(function(e,t,n,r,i){return(n?"".concat(t).concat(n):"".concat(r).concat(i)).replace(/_/g,"\\_")})),u=function(e,t,n){return"sentence"===e.type&&0===n},l=function(e,t,n){return z(e.children[n-1])};return s!==o.value&&(e.match(void 0,u,l)||e.match(void 0,u,(function(e,t,n){return"emphasis"===e.type&&0===n}),l))&&(s=s.replace(/^(\\?[*_])+/,(function(e){return e.replace(/\\/g,"")}))),s;case"whitespace":var c=e.getParentNode(),p=c.children.indexOf(o),y=c.children[p+1],D=y&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(y.value)?"never":t.proseWrap;return ne(e,o.value,{proseWrap:D});case"emphasis":var b;if(z(o.children[0]))b=t.originalText[o.position.start.offset];else{var w=e.getParentNode(),k=w.children.indexOf(o),T=w.children[k-1],P=w.children[k+1];b=T&&"sentence"===T.type&&T.children.length>0&&"word"===r(T.children).type&&!r(T.children).hasTrailingPunctuation||P&&"sentence"===P.type&&P.children.length>0&&"word"===P.children[0].type&&!P.children[0].hasLeadingPunctuation||te(e,"emphasis")?"*":"_"}return[b,ae(e,t,n),b];case"strong":return["**",ae(e,t,n),"**"];case"delete":return["~~",ae(e,t,n),"~~"];case"inlineCode":var B=i(o.value,"`"),N="`".repeat(B||1),O=B&&!/^\s/.test(o.value)?" ":"";return[N,O,o.value,O,N];case"wikiLink":return["[[","preserve"===t.proseWrap?o.value:o.value.replace(/[\t\n]+/g," "),"]]"];case"link":switch(t.originalText[o.position.start.offset]){case"<":var _="mailto:";return["<",o.url.startsWith(_)&&t.originalText.slice(o.position.start.offset+1,o.position.start.offset+1+_.length)!==_?o.url.slice(_.length):o.url,">"];case"[":return["[",ae(e,t,n),"](",fe(o.url,")"),he(o.title,t),")"];default:return t.originalText.slice(o.position.start.offset,o.position.end.offset)}case"image":return["![",o.alt||"","](",fe(o.url,")"),he(o.title,t),")"];case"blockquote":return["> ",C("> ",ae(e,t,n))];case"heading":return["#".repeat(o.depth)+" ",ae(e,t,n)];case"code":if(o.isIndented){var M=" ".repeat(4);return C(M,[M].concat(g(F(o.value,m))))}var H=t.__inJsTemplate?"~":"`",U=H.repeat(Math.max(3,a(o.value,H)+1));return[U,o.lang||"",o.meta?" "+o.meta:"",m].concat(g(F(j(o,t.originalText),m)),[m,U]);case"html":var G=e.getParentNode(),K="root"===G.type&&r(G.children)===o?o.value.trimEnd():o.value,J=/^$/.test(K);return F(K,J?m:h(d));case"list":var $=Y(o,e.getParentNode()),Z=R(o,t);return ae(e,t,n,{processor:function(e,r){var i=s(),a=e.getValue();return 2===a.children.length&&"html"===a.children[1].type&&a.children[0].position.start.column!==a.children[1].position.start.column?[i,X(e,t,n,i)]:[i,C(" ".repeat(i.length),X(e,t,n,i))];function s(){var e=o.ordered?(0===r?o.start:Z?1:o.start+r)+($%2===0?". ":") "):$%2===0?"- ":"* ";return o.isAligned||o.hasIndentedCodeblock?Q(e,t):e}}});case"thematicBreak":var se=ee(e,"list");return-1===se?"---":Y(e.getParentNode(se),e.getParentNode(se+1))%2===0?"***":"---";case"linkReference":return["[",ae(e,t,n),"]","full"===o.referenceType?["[",o.identifier,"]"]:"collapsed"===o.referenceType?"[]":""];case"imageReference":return"full"===o.referenceType?["![",o.alt||"","][",o.identifier,"]"]:["![",o.alt,"]","collapsed"===o.referenceType?"[]":""];case"definition":var ue="always"===t.proseWrap?f:" ";return A(["[",o.identifier,"]:",E([ue,fe(o.url),null===o.title?"":[ue,he(o.title,t,!1)]])]);case"footnote":return["[^",ae(e,t,n),"]"];case"footnoteReference":return["[^",o.identifier,"]"];case"footnoteDefinition":var le=e.getParentNode().children[e.getName()+1],ce=1===o.children.length&&"paragraph"===o.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&o.children[0].position.start.line===o.children[0].position.end.line);return["[^",o.identifier,"]: ",ce?ae(e,t,n):A([C(" ".repeat(4),ae(e,t,n,{processor:function(e,t){return 0===t?A([v,n()]):n()}})),le&&"footnoteDefinition"===le.type?v:""])];case"table":return re(e,t,n);case"tableCell":return ae(e,t,n);case"break":return/\s/.test(t.originalText[o.position.start.offset])?[" ",h(d)]:["\\",m];case"liquidNode":return F(o.value,m);case"importExport":return[o.value,m];case"esComment":return["{/* ",o.value," */}"];case"jsx":return o.value;case"math":return["$$",m,o.value?[].concat(g(F(o.value,m)),[m]):"","$$"];case"inlineMath":return t.originalText.slice(I(o),L(o));default:throw new Error("Unknown markdown type ".concat(JSON.stringify(o.type)))}}function X(e,t,n,r){var i=e.getValue(),a=null===i.checked?"":i.checked?"[x] ":"[ ] ";return[a,ae(e,t,n,{processor:function(e,i){if(0===i&&"list"!==e.getValue().type)return C(" ".repeat(a.length),n());var o=" ".repeat(me(t.tabWidth-r.length,0,3));return[o,C(o,n())]}})]}function Q(e,t){var n=r();return e+" ".repeat(n>=4?0:n);function r(){var n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}}function Y(e,t){return Z(e,t,(function(t){return t.ordered===e.ordered}))}function Z(e,t,n){var r,i=-1,a=D(t.children);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(o.type===e.type&&n(o)?i++:i=-1,o===e)return i}}catch(s){a.e(s)}finally{a.f()}}function ee(e,t){for(var n,r=Array.isArray(t)?t:[t],i=-1;n=e.getParentNode(++i);)if(r.includes(n.type))return i;return-1}function te(e,t){var n=ee(e,t);return-1===n?null:e.getParentNode(n)}function ne(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return m;var r="always"===n.proseWrap&&!te(e,K);return""!==t?r?f:" ":r?v:""}function re(e,t,n){var r=e.getValue(),i=[],a=e.map((function(e){return e.map((function(e,r){var a=T(n(),t).formatted,s=o(a);return i[r]=Math.max(i[r]||3,s),{text:a,width:s}}),"children")}),"children"),s=l(!1);if("never"!==t.proseWrap)return[c,s];var u=l(!0);return[c,A(b(u,s))];function l(e){var t=[d(a[0],e),f(e)];return a.length>1&&t.push(p(w,a.slice(1).map((function(t){return d(t,e)})))),p(w,t)}function f(e){var t=i.map((function(t,n){var i=r.align[n],a="center"===i||"left"===i?":":"-",o="center"===i||"right"===i?":":"-",s=e?"-":"-".repeat(t-2);return"".concat(a).concat(s).concat(o)}));return"| ".concat(t.join(" | ")," |")}function d(e,t){var n=e.map((function(e,n){var a=e.text,o=e.width;if(t)return a;var s=i[n]-o,u=r.align[n],l=0;"right"===u?l=s:"center"===u&&(l=Math.floor(s/2));var c=s-l;return"".concat(" ".repeat(l)).concat(a).concat(" ".repeat(c))}));return"| ".concat(n.join(" | ")," |")}}function ie(e,t,n){var r,i=[],a=null,o=e.getValue().children,s=D(o.entries());try{for(s.s();!(r=s.n()).done;){var u=y(r.value,2),l=u[0],c=u[1];switch(se(c)){case"start":null===a&&(a={index:l,offset:c.position.end.offset});break;case"end":null!==a&&(i.push({start:a,end:{index:l,offset:c.position.start.offset}}),a=null)}}}catch(p){s.e(p)}finally{s.f()}return ae(e,t,n,{processor:function(e,r){if(i.length>0){var a=i[0];if(r===a.start.index)return[o[a.start.index].value,t.originalText.slice(a.start.offset,a.end.offset),o[a.end.index].value];if(a.start.index3&&void 0!==arguments[3]?arguments[3]:{},a=i.postprocessor,o=i.processor||function(){return n()},s=e.getValue(),u=[];return e.each((function(e,n){var i=e.getValue(),a=o(e,n);if(!1!==a){var l={parts:u,prevNode:r,parentNode:s,options:t};ue(i,l)&&(u.push(m),r&&q.has(r.type)||(le(i,l)||ce(i,l))&&u.push(m),ce(i,l)&&u.push(m)),u.push(a),r=i}}),"children"),a?a(u):u}function oe(e){for(var t=e;s(t.children);)t=r(t.children);return t}function se(e){var t,n;return"html"===e.type?t=e.value.match(/^$/):("esComment"===e.type?n=e:"paragraph"===e.type&&1===e.children.length&&"esComment"===e.children[0].type&&(n=e.children[0]),n&&(t=n.value.match(/^prettier-ignore(?:-(start|end))?$/))),!!t&&(t[1]||"next")}function ue(e,t){var n=0===t.parts.length,r=H.includes(e.type),i="html"===e.type&&U.includes(t.parentNode.type);return!n&&!r&&!i}function le(e,t){var n,r,i,a=(t.prevNode&&t.prevNode.type)===e.type&&J.has(e.type),o="listItem"===t.parentNode.type&&!t.parentNode.loose,s="listItem"===(null===(n=t.prevNode)||void 0===n?void 0:n.type)&&t.prevNode.loose,u="next"===se(t.prevNode),l="html"===e.type&&"html"===(null===(r=t.prevNode)||void 0===r?void 0:r.type)&&t.prevNode.position.end.line+1===e.position.start.line,c="html"===e.type&&"listItem"===t.parentNode.type&&"paragraph"===(null===(i=t.prevNode)||void 0===i?void 0:i.type)&&t.prevNode.position.end.line+1===e.position.start.line;return s||!(a||o||u||l||c)}function ce(e,t){var n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function pe(e){var t=te(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}function fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[" "].concat(g(Array.isArray(t)?t:[t]));return new RegExp(n.map((function(e){return"\\".concat(e)})).join("|")).test(e)?"<".concat(e,">"):e}function he(e,t){if(!e)return"";if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])return" "+he(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");var n=e.split("'").length-1,r=e.split('"').length-1,i=n>r?'"':r>n||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(i,")"),"g"),"\\$1"),"".concat(i).concat(e).concat(i)}function me(e,t,n){return en?n:e}function ye(e){var t=Number(e.getName());return 0!==t&&"next"===se(e.getParentNode().children[t-1])}t.exports={preprocess:O,print:$,embed:P,massageAstNode:_,hasPrettierIgnore:ye,insertPragma:B}}}),Wi=W({"src/language-markdown/options.js":function(e,t){G();var n=Vr();t.exports={proseWrap:n.proseWrap,singleQuote:n.singleQuote}}}),Vi=W({"src/language-markdown/parsers.js":function(){G()}}),Hi=W({"node_modules/linguist-languages/data/Markdown.json":function(e,t){t.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),Ui=W({"src/language-markdown/index.js":function(e,t){G();var n=xn(),r=Ri(),i=Wi(),a=Vi(),o=[n(Hi(),(function(e){return{since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[].concat(g(e.filenames),["README"]),extensions:e.extensions.filter((function(e){return".mdx"!==e}))}})),n(Hi(),(function(){return{name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}}))],s={mdast:r};t.exports={languages:o,options:i,printers:s,parsers:a}}}),zi=W({"src/language-html/clean.js":function(e,t){G();var n=Me().isFrontMatterNode,r=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function i(e,t){if("text"===e.type||"comment"===e.type||n(e)||"yaml"===e.type||"toml"===e.type)return null;"attribute"===e.type&&delete t.value,"docType"===e.type&&delete t.value}i.ignoredProperties=r,t.exports=i}}),Gi=W({"src/language-html/constants.evaluate.js":function(e,t){t.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),qi=W({"src/language-html/utils/is-unknown-namespace.js":function(e,t){function n(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}G(),t.exports=n}}),Ki=W({"src/language-html/utils/index.js":function(e,t){G();var n=Me(),r=n.inferParserByLanguage,i=n.isFrontMatterNode,a=de(),o=a.builders,s=o.line,u=o.hardline,l=o.join,c=a.utils,p=c.getDocParts,f=c.replaceTextEndOfLine,d=Gi(),h=d.CSS_DISPLAY_TAGS,m=d.CSS_DISPLAY_DEFAULT,v=d.CSS_WHITE_SPACE_TAGS,g=d.CSS_WHITE_SPACE_DEFAULT,b=qi(),x=new Set(["\t","\n","\f","\r"," "]),C=function(e){return e.replace(/^[\t\n\f\r ]+/,"")},E=function(e){return e.replace(/[\t\n\f\r ]+$/,"")},A=function(e){return C(E(e))},w=function(e){return e.replace(/^[\t\f\r ]*\n/g,"")},k=function(e){return w(E(e))},S=function(e){return e.split(/[\t\n\f\r ]+/)},F=function(e){return e.match(/^[\t\n\f\r ]*/)[0]},T=function(e){var t=e.match(/^([\t\n\f\r ]*)([\s\S]*?)([\t\n\f\r ]*)$/),n=y(t,4),r=n[1],i=n[2];return{leadingWhitespace:r,trailingWhitespace:n[3],text:i}},P=function(e){return/[\t\n\f\r ]/.test(e)};function B(e,t){return!!("ieConditionalComment"===e.type&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.type&&!e.complete||le(e)&&e.children.some((function(e){return"text"!==e.type&&"interpolation"!==e.type}))||Ce(e,t)&&!O(e)&&"interpolation"!==e.type)}function N(e){return!("attribute"===e.type||!e.parent||!e.prev)&&I(e.prev)}function I(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}function L(e){return"text"===e.type||"comment"===e.type}function O(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||b(e)&&("script"===e.name||"style"===e.name))}function _(e){return e.children&&!O(e)}function M(e){return O(e)||"interpolation"===e.type||j(e)}function j(e){return he(e).startsWith("pre")}function R(e,t){var n=r();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n;function r(){return!i(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!le(e.parent)||!(!e.prev&&("root"===e.parent.type||le(e)&&e.parent||O(e.parent)||be(e.parent,t)||!ie(e.parent.cssDisplay))||e.prev&&!se(e.prev.cssDisplay))))}}function W(e,t){return!i(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!le(e.parent)||!(!e.next&&("root"===e.parent.type||le(e)&&e.parent||O(e.parent)||be(e.parent,t)||!ae(e.parent.cssDisplay))||e.next&&!oe(e.next.cssDisplay))))}function V(e){return ue(e.cssDisplay)&&!O(e)}function H(e){return i(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some((function(e){return Z(e)})))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&$(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||X(e.lastChild))}function z(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function q(e){return Q(e)||e.prev&&K(e.prev)||J(e)}function K(e){return Q(e)||"element"===e.type&&"br"===e.fullName||J(e)}function J(e){return $(e)&&X(e)}function $(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Q(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function Y(e){return e.lastChild?Y(e.lastChild):e}function Z(e){return e.children&&e.children.some((function(e){return"text"!==e.type}))}function ee(e){var t=e.attrMap,n=t.type,r=t.lang;return"module"===n||"text/javascript"===n||"text/babel"===n||"application/javascript"===n||"jsx"===r?"babel":"application/x-typescript"===n||"ts"===r||"tsx"===r?"typescript":"text/markdown"===n?"markdown":"text/html"===n?"html":n&&(n.endsWith("json")||n.endsWith("importmap"))||"speculationrules"===n?"json":"text/x-handlebars-template"===n?"glimmer":void 0}function te(e,t){var n=e.attrMap.lang;return n&&"postcss"!==n&&"css"!==n?"scss"===n?"scss":"less"===n?"less":"stylus"===n?r("stylus",t):void 0:"css"}function ne(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?te(e,t):t&&Ce(e,t)?ee(e)||!("src"in e.attrMap)&&r(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?ee(e):"babel"}function re(e){return"block"===e||"list-item"===e||e.startsWith("table")}function ie(e){return!re(e)&&"inline-block"!==e}function ae(e){return!re(e)&&"inline-block"!==e}function oe(e){return!re(e)}function se(e){return!re(e)}function ue(e){return!re(e)&&"inline-block"!==e}function le(e){return he(e).startsWith("pre")}function ce(e,t){for(var n=0,r=e.stack.length-1;r>=0;r--){var i=e.stack[r];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&n++}return n}function pe(e,t){for(var n=e;n;){if(t(n))return!0;n=n.parent}return!1}function fe(e,t){if(e.prev&&"comment"===e.prev.type){var n=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(n)return n[1]}var r=!1;if("element"===e.type&&"svg"===e.namespace){if(!pe(e,(function(e){return"svg:foreignObject"===e.fullName})))return"svg"===e.name?"inline-block":"block";r=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||r||b(e))&&h[e.name]||m}}function he(e){return"element"===e.type&&(!e.namespace||b(e))&&v[e.name]||g}function me(e){var t,n=Number.POSITIVE_INFINITY,r=D(e.split("\n"));try{for(r.s();!(t=r.n()).done;){var i=t.value;if(0!==i.length){if(!x.has(i[0]))return 0;var a=F(i).length;i.length!==a&&a1&&void 0!==arguments[1]?arguments[1]:me(e);return 0===t?e:e.split("\n").map((function(e){return e.slice(t)})).join("\n")}function ve(e,t){for(var n=0,r=0;r1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?f(t):f(ye(k(t)),u):p(l(s,S(t)))}function ke(e,t){return xe(e,t)&&"script"===e.name}t.exports={htmlTrim:A,htmlTrimPreserveIndentation:k,hasHtmlWhitespace:P,getLeadingAndTrailingHtmlWhitespace:T,canHaveInterpolation:_,countChars:ve,countParents:ce,dedentString:ye,forceBreakChildren:z,forceBreakContent:U,forceNextEmptyLine:H,getLastDescendant:Y,getNodeCssStyleDisplay:fe,getNodeCssStyleWhiteSpace:he,hasPrettierIgnore:N,inferScriptParser:ne,isVueCustomBlock:be,isVueNonHtmlBlock:Ce,isVueScriptTag:ke,isVueSlotAttribute:Ee,isVueSfcBindingsAttribute:Ae,isVueSfcBlock:xe,isDanglingSpaceSensitiveNode:V,isIndentationSensitiveNode:j,isLeadingSpaceSensitiveNode:R,isPreLikeNode:le,isScriptLikeTag:O,isTextLikeNode:L,isTrailingSpaceSensitiveNode:W,isWhitespaceSensitiveNode:M,isUnknownNamespace:b,preferHardlineAsLeadingSpaces:q,preferHardlineAsTrailingSpaces:K,shouldPreserveContent:B,unescapeQuoteEntities:ge,getTextValueParts:we}}}),Ji=W({"node_modules/angular-html-parser/lib/compiler/src/chars.js":function(e){function t(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP}function n(t){return e.$0<=t&&t<=e.$9}function r(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z}function i(t){return t>=e.$a&&t<=e.$f||t>=e.$A&&t<=e.$F||n(t)}function a(t){return t===e.$LF||t===e.$CR}function o(t){return e.$0<=t&&t<=e.$7}G(),Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=t,e.isDigit=n,e.isAsciiLetter=r,e.isAsciiHexDigit=i,e.isNewLine=a,e.isOctalDigit=o}}),$i=W({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js":function(e){G(),Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function e(t,n,r){h(this,e),this.filePath=t,this.name=n,this.members=r}return m(e,[{key:"assertNoMembers",value:function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}]),e}();e.StaticSymbol=t;var n=function(){function e(){h(this,e),this.cache=new Map}return m(e,[{key:"get",value:function(e,n,r){var i=(r=r||[]).length?".".concat(r.join(".")):"",a='"'.concat(e,'".').concat(n).concat(i),o=this.cache.get(a);return o||(o=new t(e,n,r),this.cache.set(a,o)),o}}]),e}();e.StaticSymbolCache=n}}),Xi=W({"node_modules/angular-html-parser/lib/compiler/src/util.js":function(e){G(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function n(e){return e.replace(t,(function(){for(var e=arguments.length,t=new Array(e),n=0;n=55296&&r<=56319&&e.length>n+1){var i=e.charCodeAt(n+1);i>=56320&&i<=57343&&(n++,r=(r-55296<<10)+i-56320+65536)}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return t}function C(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(C).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);if(!e.toString)return"object";var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function E(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e}function A(e){return!!e&&"function"==typeof e.then}e.utf8Encode=x,e.stringify=C,e.resolveForwardRef=E,e.isPromise=A;var w=m((function e(t){h(this,e),this.full=t;var n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}));e.Version=w;var k=typeof window<"u"&&window,S=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,F=typeof globalThis<"u"&&globalThis||k||S;e.global=F}}),Qi=W({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js":function(e){G(),Object.defineProperty(e,"__esModule",{value:!0});var t=$i(),n=Xi(),r=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=i;var a,o,s=0;function u(e){if(!e||!e.reference)return null;var r=e.reference;if(r instanceof t.StaticSymbol)return r.name;if(r.__anonymousType)return r.__anonymousType;var a=n.stringify(r);return a.indexOf("(")>=0?(a="anonymous_".concat(s++),r.__anonymousType=a):a=i(a),a}function l(e){var r=e.reference;return r instanceof t.StaticSymbol?r.filePath:"./".concat(n.stringify(r))}function c(e,t){return"View_".concat(u({reference:e}),"_").concat(t)}function p(e){return"RenderType_".concat(u({reference:e}))}function f(e){return"HostView_".concat(u({reference:e}))}function d(e){return"".concat(u({reference:e}),"NgFactory")}function y(e){return null!=e.value?i(e.value):u(e.identifier)}function v(e){return null!=e.identifier?e.identifier.reference:e.value}e.identifierName=u,e.identifierModuleUrl=l,e.viewClassName=c,e.rendererTypeName=p,e.hostViewClassName=f,e.componentFactoryName=d,(o=a=e.CompileSummaryKind||(e.CompileSummaryKind={}))[o.Pipe=0]="Pipe",o[o.Directive=1]="Directive",o[o.NgModule=2]="NgModule",o[o.Injectable=3]="Injectable",e.tokenName=y,e.tokenReference=v;var g=m((function e(){h(this,e);var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.moduleUrl,r=t.styles,i=t.styleUrls;this.moduleUrl=n||null,this.styles=w(r),this.styleUrls=w(i)}));e.CompileStylesheetMetadata=g;var D=function(){function e(t){h(this,e);var n=t.encapsulation,r=t.template,i=t.templateUrl,a=t.htmlAst,o=t.styles,s=t.styleUrls,u=t.externalStylesheets,l=t.animations,c=t.ngContentSelectors,p=t.interpolation,f=t.isInline,d=t.preserveWhitespaces;if(this.encapsulation=n,this.template=r,this.templateUrl=i,this.htmlAst=a,this.styles=w(o),this.styleUrls=w(s),this.externalStylesheets=w(u),this.animations=l?S(l):[],this.ngContentSelectors=c||[],p&&2!=p.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=p,this.isInline=f,this.preserveWhitespaces=d}return m(e,[{key:"toSummary",value:function(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}}]),e}();e.CompileTemplateMetadata=D;var b=function(){function e(t){h(this,e);var n=t.isHost,r=t.type,i=t.isComponent,a=t.selector,o=t.exportAs,s=t.changeDetection,u=t.inputs,l=t.outputs,c=t.hostListeners,p=t.hostProperties,f=t.hostAttributes,d=t.providers,m=t.viewProviders,y=t.queries,v=t.guards,g=t.viewQueries,D=t.entryComponents,b=t.template,x=t.componentViewType,C=t.rendererType,E=t.componentFactory;this.isHost=!!n,this.type=r,this.isComponent=i,this.selector=a,this.exportAs=o,this.changeDetection=s,this.inputs=u,this.outputs=l,this.hostListeners=c,this.hostProperties=p,this.hostAttributes=f,this.providers=w(d),this.viewProviders=w(m),this.queries=w(y),this.guards=v,this.viewQueries=w(g),this.entryComponents=w(D),this.template=b,this.componentViewType=x,this.rendererType=C,this.componentFactory=E}return m(e,[{key:"toSummary",value:function(){return{summaryKind:a.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}],[{key:"create",value:function(t){var i=t.isHost,a=t.type,o=t.isComponent,s=t.selector,u=t.exportAs,l=t.changeDetection,c=t.inputs,p=t.outputs,f=t.host,d=t.providers,h=t.viewProviders,m=t.queries,y=t.guards,v=t.viewQueries,g=t.entryComponents,D=t.template,b=t.componentViewType,x=t.rendererType,C=t.componentFactory,E={},A={},w={};null!=f&&Object.keys(f).forEach((function(e){var t=f[e],n=e.match(r);null===n?w[e]=t:null!=n[1]?A[n[1]]=t:null!=n[2]&&(E[n[2]]=t)}));var k={};null!=c&&c.forEach((function(e){var t=n.splitAtColon(e,[e,e]);k[t[0]]=t[1]}));var S={};return null!=p&&p.forEach((function(e){var t=n.splitAtColon(e,[e,e]);S[t[0]]=t[1]})),new e({isHost:i,type:a,isComponent:!!o,selector:s,exportAs:u,changeDetection:l,inputs:k,outputs:S,hostListeners:E,hostProperties:A,hostAttributes:w,providers:d,viewProviders:h,queries:m,guards:y,viewQueries:v,entryComponents:g,template:D,componentViewType:b,rendererType:x,componentFactory:C})}}]),e}();e.CompileDirectiveMetadata=b;var x=function(){function e(t){h(this,e);var n=t.type,r=t.name,i=t.pure;this.type=n,this.name=r,this.pure=!!i}return m(e,[{key:"toSummary",value:function(){return{summaryKind:a.Pipe,type:this.type,name:this.name,pure:this.pure}}}]),e}();e.CompilePipeMetadata=x;var C=m((function e(){h(this,e)}));e.CompileShallowModuleMetadata=C;var E=function(){function e(t){h(this,e);var n=t.type,r=t.providers,i=t.declaredDirectives,a=t.exportedDirectives,o=t.declaredPipes,s=t.exportedPipes,u=t.entryComponents,l=t.bootstrapComponents,c=t.importedModules,p=t.exportedModules,f=t.schemas,d=t.transitiveModule,m=t.id;this.type=n||null,this.declaredDirectives=w(i),this.exportedDirectives=w(a),this.declaredPipes=w(o),this.exportedPipes=w(s),this.providers=w(r),this.entryComponents=w(u),this.bootstrapComponents=w(l),this.importedModules=w(c),this.exportedModules=w(p),this.schemas=w(f),this.id=m||null,this.transitiveModule=d||null}return m(e,[{key:"toSummary",value:function(){var e=this.transitiveModule;return{summaryKind:a.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}}]),e}();e.CompileNgModuleMetadata=E;var A=function(){function e(){h(this,e),this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return m(e,[{key:"addProvider",value:function(e,t){this.providers.push({provider:e,module:t})}},{key:"addDirective",value:function(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}},{key:"addExportedDirective",value:function(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}},{key:"addPipe",value:function(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}},{key:"addExportedPipe",value:function(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}},{key:"addModule",value:function(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}},{key:"addEntryComponent",value:function(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}}]),e}();function w(e){return e||[]}e.TransitiveCompileNgModuleMetadata=A;var k=m((function e(t,n){h(this,e);var r=n.useClass,i=n.useValue,a=n.useExisting,o=n.useFactory,s=n.deps,u=n.multi;this.token=t,this.useClass=r||null,this.useValue=i,this.useExisting=a,this.useFactory=o||null,this.dependencies=s||null,this.multi=!!u}));function S(e){return e.reduce((function(e,t){var n=Array.isArray(t)?S(t):t;return e.concat(n)}),[])}function F(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function T(e,n,r){var i;return i=r.isInline?n.type.reference instanceof t.StaticSymbol?"".concat(n.type.reference.filePath,".").concat(n.type.reference.name,".html"):"".concat(u(e),"/").concat(u(n.type),".html"):r.templateUrl,n.type.reference instanceof t.StaticSymbol?i:F(i)}function P(e,t){var n=e.moduleUrl.split(/\/\\/g),r=n[n.length-1];return F("css/".concat(t).concat(r,".ngstyle.js"))}function B(e){return F("".concat(u(e.type),"/module.ngfactory.js"))}function N(e,t){return F("".concat(u(e),"/").concat(u(t.type),".ngfactory.js"))}e.ProviderMeta=k,e.flatten=S,e.templateSourceUrl=T,e.sharedStylesheetJitUrl=P,e.ngModuleJitUrl=B,e.templateJitUrl=N}}),Yi=W({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js":function(e){G(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ji(),n=Qi(),r=function(){function e(t,n,r,i){h(this,e),this.file=t,this.offset=n,this.line=r,this.col=i}return m(e,[{key:"toString",value:function(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}},{key:"moveBy",value:function(n){for(var r=this.file.content,i=r.length,a=this.offset,o=this.line,s=this.col;a>0&&n<0;)if(a--,n++,r.charCodeAt(a)==t.$LF){o--;var u=r.substr(0,a-1).lastIndexOf(String.fromCharCode(t.$LF));s=u>0?a-u:a}else s--;for(;a0;){var l=r.charCodeAt(a);a++,n--,l==t.$LF?(o++,s=0):s++}return new e(this.file,a,o,s)}},{key:"getContext",value:function(e,t){var n=this.file.content,r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);for(var i=r,a=0,o=0;a0&&(a++,"\n"!=n[--r]||++o!=t););for(a=0,o=0;a2&&void 0!==arguments[2]?arguments[2]:null;this.start=t,this.end=n,this.details=r}return m(e,[{key:"toString",value:function(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}]),e}();e.ParseSourceSpan=s,e.EMPTY_PARSE_LOCATION=new r(new i("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new s(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(o=a=e.ParseErrorLevel||(e.ParseErrorLevel={}))[o.WARNING=0]="WARNING",o[o.ERROR=1]="ERROR";var u=function(){function e(t,n){h(this,e);var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.ERROR;this.span=t,this.msg=n,this.level=r}return m(e,[{key:"contextualMessage",value:function(){var e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(a[this.level]," ->]").concat(e.after,'")'):this.msg}},{key:"toString",value:function(){var e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}}]),e}();function l(e,t){var a=n.identifierModuleUrl(t),o=null!=a?"in ".concat(e," ").concat(n.identifierName(t)," in ").concat(a):"in ".concat(e," ").concat(n.identifierName(t)),u=new i("",o);return new s(new r(u,-1,-1,-1),new r(u,-1,-1,-1))}function c(e,t,n){var a="in ".concat(e," ").concat(t," in ").concat(n),o=new i("",a);return new s(new r(o,-1,-1,-1),new r(o,-1,-1,-1))}e.ParseError=u,e.typeSourceSpan=l,e.r3JitTypeSourceSpan=c}}),Zi=W({"src/language-html/print-preprocess.js":function(e,t){G();var n=Yi().ParseSourceSpan,r=Ki(),i=r.htmlTrim,a=r.getLeadingAndTrailingHtmlWhitespace,o=r.hasHtmlWhitespace,s=r.canHaveInterpolation,u=r.getNodeCssStyleDisplay,l=r.isDanglingSpaceSensitiveNode,c=r.isIndentationSensitiveNode,p=r.isLeadingSpaceSensitiveNode,f=r.isTrailingSpaceSensitiveNode,d=r.isWhitespaceSensitiveNode,h=r.isVueScriptTag,m=[v,g,x,E,A,S,w,k,F,C,T];function y(e,t){var n,r=D(m);try{for(r.s();!(n=r.n()).done;)(0,n.value)(e,t)}catch(i){r.e(i)}finally{r.f()}return e}function v(e){e.walk((function(e){if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){var t=e.children[0];1===t.value.length?e.removeChild(t):t.value=t.value.slice(1)}}))}function g(e){var t=function(e){return"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset};e.walk((function(e){if(e.children)for(var r=0;r")}))}function C(e){var t=function(e){return"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!o(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type};e.walk((function(e){if(e.children)for(var r=0;r")+i.firstChild.value+"")+o.value,a.sourceSpan=new n(a.sourceSpan.start,o.sourceSpan.end),a.isTrailingSpaceSensitive=o.isTrailingSpaceSensitive,a.hasTrailingSpaces=o.hasTrailingSpaces,e.removeChild(i),r--,e.removeChild(o)}}}))}function E(e,t){if("html"!==t.parser){var r=/\{\{([\s\S]+?)\}\}/;e.walk((function(e){if(s(e)){var t,i=D(e.children);try{for(i.s();!(t=i.n()).done;){var a=t.value;if("text"===a.type){for(var o=a.sourceSpan.start,u=null,l=a.value.split(r),c=0;c0&&e.insertChildBefore(a,{type:"text",value:p,sourceSpan:new n(o,u)}))}e.removeChild(a)}}}catch(f){i.e(f)}finally{i.f()}}}))}}function A(e){e.walk((function(e){if(e.children){if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===i(e.children[0].value).length)return e.hasDanglingSpaces=e.children.length>0,void(e.children=[]);var t=d(e),r=c(e);if(!t)for(var o=0;o$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset)))}))}function S(e,t){e.walk((function(e){e.cssDisplay=u(e,t)}))}function F(e,t){e.walk((function(e){var n=e.children;if(n){if(0===n.length)return void(e.isDanglingSpaceSensitive=l(e));var r,i=D(n);try{for(i.s();!(r=i.n()).done;){var a=r.value;a.isLeadingSpaceSensitive=p(a,t),a.isTrailingSpaceSensitive=f(a,t)}}catch(u){i.e(u)}finally{i.f()}for(var o=0;o/.test(e)}function r(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}G(),t.exports={hasPragma:n,insertPragma:r}}}),ta=W({"src/language-html/loc.js":function(e,t){function n(e){return e.sourceSpan.start.offset}function r(e){return e.sourceSpan.end.offset}G(),t.exports={locStart:n,locEnd:r}}}),na=W({"src/language-html/print/tag.js":function(e,t){G();var n=dn(),r=Me().isNonEmptyArray,i=de(),a=i.builders,o=a.indent,s=a.join,u=a.line,l=a.softline,c=a.hardline,p=i.utils.replaceTextEndOfLine,f=ta(),d=f.locStart,h=f.locEnd,m=Ki(),y=m.isTextLikeNode,v=m.getLastDescendant,g=m.isPreLikeNode,D=m.hasPrettierIgnore,b=m.shouldPreserveContent,x=m.isVueSfcBlock;function C(e,t){return[e.isSelfClosing?"":E(e,t),A(e,t)]}function E(e,t){return e.lastChild&&N(e.lastChild)?"":[w(e,t),S(e,t)]}function A(e,t){return(e.next?P(e.next):B(e.parent))?"":[F(e,t),k(e,t)]}function w(e,t){return B(e)?F(e.lastChild,t):""}function k(e,t){return N(e)?S(e.parent,t):I(e)?V(e.next):""}function S(e,t){if(n(!e.isSelfClosing),T(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function T(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(D(e)||b(e.parent,t))}function P(e){return e.prev&&"docType"!==e.prev.type&&!y(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function B(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!y(v(e.lastChild))&&!g(e)}function N(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&y(v(e))}function I(e){return e.next&&!y(e.next)&&y(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function L(e){var t=e.trim().match(/^prettier\x2Dignore\x2Dattribute(?:\s+([\s\S]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))}function O(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function _(e,t,n){var i=e.getValue();if(!r(i.attrs))return i.isSelfClosing?" ":"";var a=i.prev&&"comment"===i.prev.type&&L(i.prev.value),f="boolean"==typeof a?function(){return a}:Array.isArray(a)?function(e){return a.includes(e.rawName)}:function(){return!1},m=e.map((function(e){var r=e.getValue();return f(r)?p(t.originalText.slice(d(r),h(r))):n()}),"attrs"),y="element"===i.type&&"script"===i.fullName&&1===i.attrs.length&&"src"===i.attrs[0].fullName&&0===i.children.length,v=t.singleAttributePerLine&&i.attrs.length>1&&!x(i,t)?c:u,g=[o([y?" ":u,s(v,m)])];return i.firstChild&&O(i.firstChild)||i.isSelfClosing&&B(i.parent)||y?g.push(i.isSelfClosing?" ":""):g.push(t.bracketSameLine?i.isSelfClosing?" ":"":i.isSelfClosing?u:l),g}function M(e){return e.firstChild&&O(e.firstChild)?"":H(e)}function j(e,t,n){var r=e.getValue();return[R(r,t),_(e,t,n),r.isSelfClosing?"":M(r)]}function R(e,t){return e.prev&&I(e.prev)?"":[W(e,t),V(e)]}function W(e,t){return O(e)?H(e.parent):P(e)?F(e.prev,t):""}function V(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if ".concat(e.condition);case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName)}}function H(e){switch(n(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}t.exports={printClosingTag:C,printClosingTagStart:E,printClosingTagStartMarker:S,printClosingTagEndMarker:F,printClosingTagSuffix:k,printClosingTagEnd:A,needsToBorrowLastChildClosingTagEndMarker:B,needsToBorrowParentClosingTagStartMarker:N,needsToBorrowPrevClosingTagEndMarker:P,printOpeningTag:j,printOpeningTagStart:R,printOpeningTagPrefix:W,printOpeningTagStartMarker:V,printOpeningTagEndMarker:H,needsToBorrowNextOpeningTagStartMarker:I,needsToBorrowParentOpeningTagEndMarker:O}}}),ra=W({"node_modules/parse-srcset/src/parse-srcset.js":function(n,r){var s;G(),s=function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function i(t){var n,r=t.exec(e.substring(v));if(r)return n=r[0],v+=n.length,n}for(var a,o,s,u,l,c=e.length,p=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,m=/^\d+$/,y=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,v=0,g=[];;){if(i(f),v>=c)return g;a=i(d),o=[],","===a.slice(-1)?(a=a.replace(h,""),b()):D()}function D(){for(i(p),s="",u="in descriptor";;){if(l=e.charAt(v),"in descriptor"===u)if(r(l))s&&(o.push(s),s="",u="after descriptor");else{if(","===l)return v+=1,s&&o.push(s),void b();if("("===l)s+=l,u="in parens";else{if(""===l)return s&&o.push(s),void b();s+=l}}else if("in parens"===u)if(")"===l)s+=l,u="in descriptor";else{if(""===l)return o.push(s),void b();s+=l}else if("after descriptor"===u&&!r(l)){if(""===l)return void b();u="in descriptor",v-=1}v+=1}}function b(){var t,r,i,s,u,l,c,p,f,d=!1,h={};for(s=0;s1)throw new Error("Mixed descriptor in srcset is not supported");var u=r?"w":s?"h":"d",l=r?"w":s?"h":"x",c=function(e){return Math.max.apply(Math,g(e))},p=t.map((function(e){return e.url})),f=c(p.map((function(e){return e.length}))),d=t.map((function(e){return e[u]})).map((function(e){return e?e.toString():""})),h=d.map((function(e){var t=e.indexOf(".");return-1===t?e.length:t})),m=c(h);return a([",",o],p.map((function(e,t){var n=[e],r=d[t];if(r){var a=f-e.length+1,o=m-h[t],s=" ".repeat(a+o);n.push(i(s," "),r+l)}return n})))}function u(e){return e.trim().split(/\s+/).join(" ")}t.exports={printImgSrcset:s,printClassNames:u}}}),aa=W({"src/language-html/syntax-vue.js":function(e,t){G();var n=de().builders.group;function r(e,t){var r=i(e),a=r.left,o=r.operator,s=r.right;return[n(t("function _(".concat(a,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",o," ",t(s,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function i(e){var t=/([\s\S]*?)\s+(in|of)\s+([\s\S]*)/,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,i=e.match(t);if(i){var a={};if(a.for=i[3].trim(),a.for){var o=i[1].trim().replace(r,""),s=o.match(n);s?(a.alias=o.replace(n,""),a.iterator1=s[1].trim(),s[2]&&(a.iterator2=s[2].trim())):a.alias=o;var u=[a.alias,a.iterator1,a.iterator2];return u.some((function(e,t){return!e&&(0===t||u.slice(t+1).some(Boolean))}))?void 0:{left:u.filter(Boolean).join(","),operator:i[2],right:a.for}}}}function a(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0})}function o(e){var t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,n=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,r=e.trim();return t.test(r)||n.test(r)}t.exports={isVueEventBindingExpression:o,printVueFor:r,printVueBindings:a}}}),oa=W({"src/language-html/get-node-content.js":function(e,t){G();var n=na(),r=n.needsToBorrowParentClosingTagStartMarker,i=n.printClosingTagStartMarker,a=n.needsToBorrowLastChildClosingTagEndMarker,o=n.printClosingTagEndMarker,s=n.needsToBorrowParentOpeningTagEndMarker,u=n.printOpeningTagEndMarker;function l(e,t){var n=e.startSourceSpan.end.offset;e.firstChild&&s(e.firstChild)&&(n-=u(e).length);var l=e.endSourceSpan.start.offset;return e.lastChild&&r(e.lastChild)?l+=i(e,t).length:a(e)&&(l-=o(e.lastChild,t).length),t.originalText.slice(n,l)}t.exports=l}}),sa=W({"src/language-html/embed.js":function(e,t){G();var n=de(),r=n.builders,i=r.breakParent,a=r.group,o=r.hardline,s=r.indent,u=r.line,l=r.fill,c=r.softline,p=n.utils,f=p.mapDoc,d=p.replaceTextEndOfLine,h=Yr(),m=na(),v=m.printClosingTag,g=m.printClosingTagSuffix,b=m.needsToBorrowPrevClosingTagEndMarker,x=m.printOpeningTagPrefix,C=m.printOpeningTag,E=ia(),A=E.printImgSrcset,w=E.printClassNames,k=aa(),S=k.printVueFor,F=k.printVueBindings,T=k.isVueEventBindingExpression,P=Ki(),B=P.isScriptLikeTag,N=P.isVueNonHtmlBlock,I=P.inferScriptParser,L=P.htmlTrimPreserveIndentation,O=P.dedentString,_=P.unescapeQuoteEntities,M=P.isVueSlotAttribute,j=P.isVueSfcBindingsAttribute,R=P.getTextValueParts,W=oa();function V(e,t,n){var r=function(t){return new RegExp(t.join("|")).test(e.fullName)},i=function(){return _(e.value)},o=!1,p=function(e,t){var n="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;n&&("ObjectExpression"===n.type||"ArrayExpression"===n.type||"__vue_expression"===t.parser&&("TemplateLiteral"===n.type||"StringLiteral"===n.type))&&(o=!0)},f=function(e){return a(e)},h=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return a([s([c,e]),t?c:""])},m=function(e){return o?f(e):h(e)},v=function(e,n){return t(e,Object.assign({__onHtmlBindingRoot:p,__embeddedInHtml:!0},n))};if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return h(A(i()));if("class"===e.fullName&&!n.parentParser){var g=i();if(!g.includes("{{"))return w(g)}if("style"===e.fullName&&!n.parentParser){var b=i();if(!b.includes("{{"))return h(v(b,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return S(i(),v);if(M(e)||j(e,n))return F(i(),v);var x=["^:","^v-bind:"],C=["^v-"];if(r(["^@","^v-on:"])){var E=i(),k=T(E)?"__js_expression":n.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return m(v(E,{parser:k}))}if(r(x))return m(v(i(),{parser:"__vue_expression"}));if(r(C))return m(v(i(),{parser:"__js_expression"}))}if("angular"===n.parser){var P=function(e,t){return v(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"}))},B=["^\\*"],N=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],I=["^i18n(-.+)?$"];if(r(["^\\(.+\\)$","^on-"]))return m(P(i(),{parser:"__ng_action"}));if(r(N))return m(P(i(),{parser:"__ng_binding"}));if(r(I)){var L=i().trim();return h(l(R(e,L)),!L.includes("@@"))}if(r(B))return m(P(i(),{parser:"__ng_directive"}));var O=/\{\{([\s\S]+?)\}\}/,W=i();if(O.test(W)){var V,H=[],U=D(W.split(O).entries());try{for(U.s();!(V=U.n()).done;){var z=y(V.value,2),G=z[0],q=z[1];if(G%2===0)H.push(d(q));else try{H.push(a(["{{",s([u,P(q,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),u,"}}"]))}catch(K){H.push("{{",d(q),"}}")}}}catch(J){U.e(J)}finally{U.f()}return a(H)}}return null}function H(e,t,n,r){var l=e.getValue();switch(l.type){case"element":if(B(l)||"interpolation"===l.type)return;if(!l.isSelfClosing&&N(l,r)){var c=I(l,r);if(!c)return;var p=W(l,r),d=/^\s*$/.test(p),m="";return d||(d=""===(m=n(L(p),{parser:c,__embeddedInHtml:!0},{stripTrailingHardline:!0}))),[x(l,r),a(C(e,r,t)),d?"":o,m,d?"":o,v(l,r),g(l,r)]}break;case"text":if(B(l.parent)){var y=I(l.parent,r);if(y){var D="markdown"===y?O(l.value.replace(/^[^\S\n]*\n/,"")):l.value,E={parser:y,__embeddedInHtml:!0};if("html"===r.parser&&"babel"===y){var A="script",w=l.parent.attrMap;w&&("module"===w.type||"text/babel"===w.type&&"module"===w["data-type"])&&(A="module"),E.__babelSourceType=A}return[i,x(l,r),n(D,E,{stripTrailingHardline:!0}),g(l,r)]}}else if("interpolation"===l.parent.type){var k={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===r.parser?(k.parser="__ng_interpolation",k.trailingComma="none"):"vue"===r.parser?k.parser=r.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":k.parser="__js_expression",[s([u,n(l.value,k,{stripTrailingHardline:!0})]),l.parent.next&&b(l.parent.next)?" ":u]}break;case"attribute":if(!l.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(r.originalText.slice(l.valueSpan.start.offset,l.valueSpan.end.offset)))return[l.rawName,"=",l.value];if("lwc"===r.parser&&/^\{[\s\S]*\}$/.test(r.originalText.slice(l.valueSpan.start.offset,l.valueSpan.end.offset)))return[l.rawName,"=",l.value];var S=V(l,(function(e,t){return n(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0})}),r);if(S)return[l.rawName,'="',a(f(S,(function(e){return"string"==typeof e?e.replace(/"/g,"""):e}))),'"'];break;case"front-matter":return h(l,n)}}t.exports=H}}),ua=W({"src/language-html/print/children.js":function(e,t){G();var n=de(),r=n.builders,i=r.breakParent,a=r.group,o=r.ifBreak,s=r.line,u=r.softline,l=r.hardline,c=n.utils.replaceTextEndOfLine,p=ta(),f=p.locStart,d=p.locEnd,h=Ki(),m=h.forceBreakChildren,y=h.forceNextEmptyLine,v=h.isTextLikeNode,D=h.hasPrettierIgnore,b=h.preferHardlineAsLeadingSpaces,x=na(),C=x.printOpeningTagPrefix,E=x.needsToBorrowNextOpeningTagStartMarker,A=x.printOpeningTagStartMarker,w=x.needsToBorrowPrevClosingTagEndMarker,k=x.printClosingTagEndMarker,S=x.printClosingTagSuffix,F=x.needsToBorrowParentClosingTagStartMarker;function T(e,t,n){var r=e.getValue();return D(r)?[C(r,t)].concat(g(c(t.originalText.slice(f(r)+(r.prev&&E(r.prev)?A(r).length:0),d(r)-(r.next&&w(r.next)?k(r,t).length:0)))),[S(r,t)]):n()}function P(e,t){return v(e)&&v(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?b(t)?l:s:"":b(t)?l:u:E(e)&&(D(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&w(t)?"":!t.isLeadingSpaceSensitive||b(t)||w(t)&&e.lastChild&&F(e.lastChild)&&e.lastChild.lastChild&&F(e.lastChild.lastChild)?l:t.hasLeadingSpaces?s:u}function B(e,t,n){var r=e.getValue();if(m(r))return[i].concat(g(e.map((function(e){var r=e.getValue(),i=r.prev?P(r.prev,r):"";return[i?[i,y(r.prev)?l:""]:"",T(e,t,n)]}),"children")));var s=r.children.map((function(){return Symbol("")}));return e.map((function(e,r){var i=e.getValue();if(v(i)){if(i.prev&&v(i.prev)){var c=P(i.prev,i);if(c)return y(i.prev)?[l,l,T(e,t,n)]:[c,T(e,t,n)]}return T(e,t,n)}var p=[],f=[],d=[],h=[],m=i.prev?P(i.prev,i):"",g=i.next?P(i,i.next):"";return m&&(y(i.prev)?p.push(l,l):m===l?p.push(l):v(i.prev)?f.push(m):f.push(o("",u,{groupId:s[r-1]}))),g&&(y(i)?v(i.next)&&h.push(l,l):g===l?v(i.next)&&h.push(l):d.push(g)),[].concat(p,[a([].concat(f,[a([T(e,t,n)].concat(d),{id:s[r]})]))],h)}),"children")}t.exports={printChildren:B}}}),la=W({"src/language-html/print/element.js":function(e,t){G();var n=de(),r=n.builders,i=r.breakParent,a=r.dedentToRoot,o=r.group,s=r.ifBreak,u=r.indentIfBreak,l=r.indent,c=r.line,p=r.softline,f=n.utils.replaceTextEndOfLine,d=oa(),h=Ki(),m=h.shouldPreserveContent,y=h.isScriptLikeTag,v=h.isVueCustomBlock,D=h.countParents,b=h.forceBreakContent,x=na(),C=x.printOpeningTagPrefix,E=x.printOpeningTag,A=x.printClosingTagSuffix,w=x.printClosingTag,k=x.needsToBorrowPrevClosingTagEndMarker,S=x.needsToBorrowLastChildClosingTagEndMarker,F=ua().printChildren;function T(e,t,n){var r=e.getValue();if(m(r,t))return[C(r,t),o(E(e,t,n))].concat(g(f(d(r,t))),g(w(r,t)),[A(r,t)]);var h=1===r.children.length&&"interpolation"===r.firstChild.type&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,x=Symbol("element-attr-group-id"),T=function(i){return o([o(E(e,t,n),{id:x}),i,w(r,t)])},P=function(e){return h?u(e,{groupId:x}):!y(r)&&!v(r,t)||"root"!==r.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?l(e):e},B=function(){return h?s(p,"",{groupId:x}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?c:"text"===r.firstChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive?a(p):p},N=function(){return(r.next?k(r.next):S(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":h?s(p,"",{groupId:x}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?c:("comment"===r.lastChild.type||"text"===r.lastChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*D(e,(function(e){return e.parent&&"root"!==e.parent.type})),"}$")).test(r.lastChild.value)?"":p};return 0===r.children.length?T(r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?c:""):T([b(r)?i:"",P([B(),F(e,t,n)]),N()])}t.exports={printElement:T}}}),ca=W({"src/language-html/printer-html.js":function(e,t){G();var n=de(),r=n.builders,i=r.fill,a=r.group,o=r.hardline,s=r.literalline,u=n.utils,l=u.cleanDoc,c=u.getDocParts,p=u.isConcat,f=u.replaceTextEndOfLine,d=zi(),h=Ki(),m=h.countChars,y=h.unescapeQuoteEntities,v=h.getTextValueParts,D=Zi(),b=ea().insertPragma,x=ta(),C=x.locStart,E=x.locEnd,A=sa(),w=na(),k=w.printClosingTagSuffix,S=w.printClosingTagEnd,F=w.printOpeningTagPrefix,T=w.printOpeningTagStart,P=la().printElement,B=ua().printChildren;function N(e,t,n){var r=e.getValue();switch(r.type){case"front-matter":return f(r.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),[a(B(e,t,n)),o];case"element":case"ieConditionalComment":return P(e,t,n);case"ieConditionalStartComment":case"ieConditionalEndComment":return[T(r),S(r)];case"interpolation":return[T(r,t)].concat(g(e.map(n,"children")),[S(r,t)]);case"text":if("interpolation"===r.parent.type){var u=/\n[^\S\n]*$/,d=u.test(r.value),h=d?r.value.replace(u,""):r.value;return[].concat(g(f(h)),[d?o:""])}var D=l([F(r,t)].concat(g(v(r)),[k(r,t)]));return p(D)||"fill"===D.type?i(c(D)):D;case"docType":return[a([T(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),S(r,t)];case"comment":return[F(r,t)].concat(g(f(t.originalText.slice(C(r),E(r)),s)),[k(r,t)]);case"attribute":if(null===r.value)return r.rawName;var b=y(r.value),x=m(b,"'")0&&n.length>0&&("quoteDouble"!==e||!r(r(t)).endsWith("\\"))?[].concat(g(t.slice(0,-1)),[[].concat(g(r(t)),g(n))]):[].concat(g(t),[n])}),[]).map((function(e){return"never"===n.proseWrap?[e.join(" ")]:e}))}function k(e,t){var n,i=t.parentIndent,a=t.isLastDescendant,o=t.options,u=e.position.start.line===e.position.end.line?"":o.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*\n([\s\S]*)$/)[1];if(null===e.indent){var l=u.match(s(/^( *)[^\n\r ]/m,{leadingSpace:1}));n=l?l.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else n=e.indent-1+i;var c=u.split("\n").map((function(e){return e.slice(n)}));return"preserve"===o.proseWrap||"blockLiteral"===e.type?p(c.map((function(e){return 0===e.length?[]:[e]}))):p(c.map((function(e){return 0===e.length?[]:A(e)})).reduce((function(e,t,n){return 0!==n&&c[n-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(r(e))?[].concat(g(e.slice(0,-1)),[[].concat(g(r(e)),g(t))]):[].concat(g(e),[t])}),[]).map((function(e){return e.reduce((function(e,t){return e.length>0&&/\s$/.test(r(e))?[].concat(g(e.slice(0,-1)),[r(e)+" "+t]):[].concat(g(e),[t])}),[])})).map((function(e){return"never"===o.proseWrap?[e.join(" ")]:e})));function p(t){if("keep"===e.chomping)return 0===r(t).length?t.slice(0,-1):t;for(var n=0,i=t.length-1;i>=0&&0===t[i].length;i--)n++;return 0===n?t:n>=2&&!a?t.slice(0,-(n-1)):t.slice(0,-n)}}function S(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}t.exports={getLast:r,getAncestorCount:a,isNode:o,isEmptyNode:m,isInlineNode:S,mapNode:u,defineShortcut:l,isNextLineEmpty:c,isLastDescendantNode:p,getBlockValueLineContents:k,getFlowScalarLineContents:w,getLastDescendantNode:f,hasPrettierIgnore:h,hasLeadingComments:v,hasMiddleComments:b,hasIndicatorComment:x,hasTrailingComment:C,hasEndComments:E}}}),ba=W({"src/language-yaml/print-preprocess.js":function(e,t){G();var n=Da(),r=n.defineShortcut,i=n.mapNode;function a(e){return i(e,o)}function o(e){switch(e.type){case"document":r(e,"head",(function(){return e.children[0]})),r(e,"body",(function(){return e.children[1]}));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":r(e,"content",(function(){return e.children[0]}));break;case"mappingItem":case"flowMappingItem":r(e,"key",(function(){return e.children[0]})),r(e,"value",(function(){return e.children[1]}))}return e}t.exports=a}}),xa=W({"src/language-yaml/print/misc.js":function(e,t){G();var n=de().builders,r=n.softline,i=n.align,a=Da(),o=a.hasEndComments,s=a.isNextLineEmpty,u=a.isNode,l=new WeakMap;function c(e,t){var n,i=e.getValue(),a=e.stack[0];return l.has(a)?n=l.get(a):(n=new Set,l.set(a,n)),n.has(i.position.end.line)||(n.add(i.position.end.line),!s(i,t)||p(e.getParentNode()))?"":r}function p(e){return o(e)&&!u(e,["documentHead","documentBody","flowMapping","flowSequence"])}function f(e,t){return i(" ".repeat(e),t)}t.exports={alignWithSpaces:f,shouldPrintEndComments:p,printNextEmptyLine:c}}}),Ca=W({"src/language-yaml/print/flow-mapping-sequence.js":function(e,t){G();var n=de().builders,r=n.ifBreak,i=n.line,a=n.softline,o=n.hardline,s=n.join,u=Da(),l=u.isEmptyNode,c=u.getLast,p=u.hasEndComments,f=xa(),d=f.printNextEmptyLine,h=f.alignWithSpaces;function m(e,t,n){var u=e.getValue(),f="flowMapping"===u.type,d=f?"{":"[",m=f?"}":"]",v=a;f&&u.children.length>0&&n.bracketSpacing&&(v=i);var g=c(u.children),D=g&&"flowMappingItem"===g.type&&l(g.key)&&l(g.value);return[d,h(n.tabWidth,[v,y(e,t,n),"none"===n.trailingComma?"":r(","),p(u)?[o,s(o,e.map(t,"endComments"))]:""]),D?"":v,m]}function y(e,t,n){var r=e.getValue();return e.map((function(e,a){return[t(),a===r.children.length-1?"":[",",i,r.children[a].position.start.line!==r.children[a+1].position.start.line?d(e,n.originalText):""]]}),"children")}t.exports={printFlowMapping:m,printFlowSequence:m}}}),Ea=W({"src/language-yaml/print/mapping-item.js":function(e,t){G();var n=de().builders,r=n.conditionalGroup,i=n.group,a=n.hardline,o=n.ifBreak,s=n.join,u=n.line,l=Da(),c=l.hasLeadingComments,p=l.hasMiddleComments,f=l.hasTrailingComment,d=l.hasEndComments,h=l.isNode,m=l.isEmptyNode,y=l.isInlineNode,v=xa().alignWithSpaces;function g(e,t,n,l,g){var C=e.key,E=e.value,A=m(C),w=m(E);if(A&&w)return": ";var k=l("key"),S=b(e)?" ":"";if(w)return"flowMappingItem"===e.type&&"flowMapping"===t.type?k:"mappingItem"!==e.type||!D(C.content,g)||f(C.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",v(2,k)]:[k,S,":"];var F=l("value");if(A)return[": ",v(2,F)];if(c(E)||!y(C.content))return["? ",v(2,k),a,s("",n.map(l,"value","leadingComments").map((function(e){return[e,a]}))),": ",v(2,F)];if(x(C.content)&&!c(C.content)&&!p(C.content)&&!f(C.content)&&!d(C)&&!c(E.content)&&!p(E.content)&&!d(E)&&D(E.content,g))return[k,S,": ",F];var T=Symbol("mappingKey"),P=i([o("? "),i(v(2,k),{id:T})]),B=[a,": ",v(2,F)],N=[S,":"];c(E.content)||d(E)&&E.content&&!h(E.content,["mapping","sequence"])||"mapping"===t.type&&f(C.content)&&y(E.content)||h(E.content,["mapping","sequence"])&&null===E.content.tag&&null===E.content.anchor?N.push(a):E.content&&N.push(u),N.push(F);var I=v(g.tabWidth,N);return!D(C.content,g)||c(C.content)||p(C.content)||d(C)?r([[P,o(B,I,{groupId:T})]]):r([[k,I]])}function D(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}function b(e){return e.key.content&&"alias"===e.key.content.type}function x(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}t.exports=g}}),Aa=W({"src/language-yaml/print/block.js":function(e,t){G();var n=de(),r=n.builders,i=r.dedent,a=r.dedentToRoot,o=r.fill,s=r.hardline,u=r.join,l=r.line,c=r.literalline,p=r.markAsRoot,f=n.utils.getDocParts,d=Da(),h=d.getAncestorCount,m=d.getBlockValueLineContents,v=d.hasIndicatorComment,g=d.isLastDescendantNode,b=d.isNode,x=xa().alignWithSpaces;function C(e,t,n){var r=e.getValue(),d=h(e,(function(e){return b(e,["sequence","mapping"])})),C=g(e),E=["blockFolded"===r.type?">":"|"];null!==r.indent&&E.push(r.indent.toString()),"clip"!==r.chomping&&E.push("keep"===r.chomping?"+":"-"),v(r)&&E.push(" ",t("indicatorComment"));var A,w=m(r,{parentIndent:d,isLastDescendant:C,options:n}),k=[],S=D(w.entries());try{for(S.s();!(A=S.n()).done;){var F=y(A.value,2),T=F[0],P=F[1];0===T&&k.push(s),k.push(o(f(u(l,P)))),T!==w.length-1?k.push(0===P.length?s:p(c)):"keep"===r.chomping&&C&&k.push(a(0===P.length?s:c))}}catch(B){S.e(B)}finally{S.f()}return null===r.indent?E.push(i(x(n.tabWidth,k))):E.push(a(x(r.indent-1+d,k))),E}t.exports=C}}),wa=W({"src/language-yaml/printer-yaml.js":function(e,t){G();var n=de(),r=n.builders,i=r.breakParent,a=r.fill,o=r.group,s=r.hardline,u=r.join,l=r.line,c=r.lineSuffix,p=r.literalline,f=n.utils,d=f.getDocParts,h=f.replaceTextEndOfLine,m=Me().isPreviousLineEmpty,y=ya(),v=y.insertPragma,D=y.isPragma,b=va().locStart,x=ga(),C=Da(),E=C.getFlowScalarLineContents,A=C.getLastDescendantNode,w=C.hasLeadingComments,k=C.hasMiddleComments,S=C.hasTrailingComment,F=C.hasEndComments,T=C.hasPrettierIgnore,P=C.isLastDescendantNode,B=C.isNode,N=C.isInlineNode,I=ba(),L=xa(),O=L.alignWithSpaces,_=L.printNextEmptyLine,M=L.shouldPrintEndComments,j=Ca(),R=j.printFlowMapping,W=j.printFlowSequence,V=Ea(),H=Aa();function U(e,t,n){var r=e.getValue(),a=[];"mappingValue"!==r.type&&w(r)&&a.push([u(s,e.map(n,"leadingComments")),s]);var l=r.tag,f=r.anchor;l&&a.push(n("tag")),l&&f&&a.push(" "),f&&a.push(n("anchor"));var d="";B(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!P(e)&&(d=_(e,t.originalText)),(l||f)&&(B(r,["sequence","mapping"])&&!k(r)?a.push(s):a.push(" ")),k(r)&&a.push([1===r.middleComments.length?"":s,u(s,e.map(n,"middleComments")),s]);var y=e.getParentNode();return T(e)?a.push(h(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),p)):a.push(o(z(r,y,e,t,n))),S(r)&&!B(r,["document","documentHead"])&&a.push(c(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===y.type&&"mapping"===e.getParentNode(2).type&&N(r)?"":i,n("trailingComment")])),M(r)&&a.push(O("sequenceItem"===r.type?2:0,[s,u(s,e.map((function(e){return[m(t.originalText,e.getValue(),b)?s:"",n()]}),"endComments"))])),a.push(d),a}function z(e,t,n,r,i){switch(e.type){case"root":var a=e.children,o=[];n.each((function(e,t){var n=a[t],r=a[t+1];0!==t&&o.push(s),o.push(i()),K(n,r)?(o.push(s,"..."),S(n)&&o.push(" ",i("trailingComment"))):r&&!S(r.head)&&o.push(s,"---")}),"children");var l=A(e);return(!B(l,["blockLiteral","blockFolded"])||"keep"!==l.chomping)&&o.push(s),o;case"document":var c=[];return"head"===J(e,t.children[n.getName()+1],t,r)&&((e.head.children.length>0||e.head.endComments.length>0)&&c.push(i("head")),S(e.head)?c.push(["---"," ",i(["head","trailingComment"])]):c.push("---")),q(e)&&c.push(i("body")),u(s,c);case"documentHead":return u(s,[].concat(g(n.map(i,"children")),g(n.map(i,"endComments"))));case"documentBody":var p=e.children,f=e.endComments,d="";if(p.length>0&&f.length>0){var h=A(e);B(h,["blockFolded","blockLiteral"])?"keep"!==h.chomping&&(d=[s,s]):d=s}return[u(s,n.map(i,"children")),d,u(s,n.map(i,"endComments"))];case"directive":return["%",u(" ",[e.name].concat(g(e.parameters)))];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return $(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":var m="'",y='"',v=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&v.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(v)){var D="quoteDouble"===e.type?y:m;return[D,$(e.type,v,r),D]}if(v.includes(y))return[m,$(e.type,"quoteDouble"===e.type?v.replace(/\\"/g,y).replace(/'/g,m.repeat(2)):v,r),m];if(v.includes(m))return[y,$(e.type,"quoteSingle"===e.type?v.replace(/''/g,m):v,r),y];var b=r.singleQuote?m:y;return[b,$(e.type,v,r),b];case"blockFolded":case"blockLiteral":return H(n,i,r);case"mapping":case"sequence":return u(s,n.map(i,"children"));case"sequenceItem":return["- ",O(2,e.content?i("content"):"")];case"mappingKey":case"mappingValue":return e.content?i("content"):"";case"mappingItem":case"flowMappingItem":return V(e,t,n,i,r);case"flowMapping":return R(n,i,r);case"flowSequence":return W(n,i,r);case"flowSequenceItem":return i("content");default:throw new Error("Unexpected node type ".concat(e.type))}}function q(e){return e.body.children.length>0||F(e.body)}function K(e,t){return S(e)||t&&(t.head.children.length>0||F(t.head))}function J(e,t,n,r){return n.children[0]===e&&/---(?:\s|$)/.test(r.originalText.slice(b(e),b(e)+4))||e.head.children.length>0||F(e.head)||S(e.head)?"head":!K(e,t)&&!!t&&"root"}function $(e,t,n){var r=E(e,t,n);return u(s,r.map((function(e){return a(d(u(l,e)))})))}function X(e,t){if(B(t))switch(delete t.position,t.type){case"comment":if(D(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}}t.exports={preprocess:I,embed:x,print:U,massageAstNode:X,insertPragma:v}}}),ka=W({"src/language-yaml/options.js":function(e,t){G();var n=Vr();t.exports={bracketSpacing:n.bracketSpacing,singleQuote:n.singleQuote,proseWrap:n.proseWrap}}}),Sa=W({"src/language-yaml/parsers.js":function(){G()}}),Fa=W({"node_modules/linguist-languages/data/YAML.json":function(e,t){t.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),Ta=W({"src/language-yaml/index.js":function(e,t){G();var n=xn(),r=wa(),i=ka(),a=Sa(),o=[n(Fa(),(function(e){return{since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[].concat(g(e.filenames.filter((function(e){return"yarn.lock"!==e}))),[".prettierrc",".stylelintrc"])}}))];t.exports={languages:o,printers:{yaml:r},options:i,parsers:a}}}),Pa=W({"src/languages.js":function(e,t){G(),t.exports=[Xr(),yi(),Ai(),Bi(),Ui(),ma(),Ta()]}});G();var Ba=q().version,Na=Dn(),Ia=Te().getSupportInfo,La=bn(),Oa=Pa(),_a=de();function Ma(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var n=arguments.length,r=new Array(n),i=0;i0&&r[0]<4?1:+(r[0]+r[1])),!i&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i})),T=e((function(e,t){var n=F(),r=f();t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))})),P=e((function(e,t){var n=T();t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),B=e((function(e,t){var r=n(),i=w(),a=E(),o=k(),s=P(),u=r.Object;t.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return a(t)&&o(t.prototype,u(e))}})),N=e((function(e,t){var r=n().String;t.exports=function(e){try{return r(e)}catch(t){return"Object"}}})),I=e((function(e,t){var r=n(),i=E(),a=N(),o=r.TypeError;t.exports=function(e){if(i(e))return e;throw o(a(e)+" is not a function")}})),L=e((function(e,t){var n=I();t.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}})),O=e((function(e,t){var r=n(),i=m(),a=E(),o=A(),s=r.TypeError;t.exports=function(e,t){var n,r;if("string"===t&&a(n=e.toString)&&!o(r=i(n,e))||a(n=e.valueOf)&&!o(r=i(n,e))||"string"!==t&&a(n=e.toString)&&!o(r=i(n,e)))return r;throw s("Can't convert object to primitive value")}})),_=e((function(e,t){t.exports=!1})),M=e((function(e,t){var r=n(),i=Object.defineProperty;t.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}})),j=e((function(e,t){var r=n(),i=M(),a="__core-js_shared__",o=r[a]||i(a,{});t.exports=o})),R=e((function(e,t){var n=_(),r=j();(t.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.2",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})})),W=e((function(e,t){var r=n(),i=x(),a=r.Object;t.exports=function(e){return a(i(e))}})),V=e((function(e,t){var n=g(),r=W(),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}})),H=e((function(e,t){var n=g(),r=0,i=Math.random(),a=n(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++r+i,36)}})),U=e((function(e,t){var r=n(),i=R(),a=V(),o=H(),s=T(),u=P(),l=i("wks"),c=r.Symbol,p=c&&c.for,f=u?c:c&&c.withoutSetter||o;t.exports=function(e){if(!a(l,e)||!s&&"string"!=typeof l[e]){var t="Symbol."+e;s&&a(c,e)?l[e]=c[e]:l[e]=u&&p?p(t):f(t)}return l[e]}})),z=e((function(e,t){var r=n(),i=m(),a=A(),o=B(),s=L(),u=O(),l=U(),c=r.TypeError,p=l("toPrimitive");t.exports=function(e,t){if(!a(e)||o(e))return e;var n,r=s(e,p);if(r){if(void 0===t&&(t="default"),n=i(r,e,t),!a(n)||o(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}})),G=e((function(e,t){var n=z(),r=B();t.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}})),q=e((function(e,t){var r=n(),i=A(),a=r.document,o=i(a)&&i(a.createElement);t.exports=function(e){return o?a.createElement(e):{}}})),K=e((function(e,t){var n=d(),r=f(),i=q();t.exports=!n&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))})),J=e((function(e){var t=d(),n=m(),r=y(),i=v(),a=C(),o=G(),s=V(),u=K(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(e,t){if(e=a(e),t=o(t),u)try{return l(e,t)}catch(c){}if(s(e,t))return i(!n(r.f,e,t),e[t])}})),$=e((function(e,t){var n=d(),r=f();t.exports=n&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),X=e((function(e,t){var r=n(),i=A(),a=r.String,o=r.TypeError;t.exports=function(e){if(i(e))return e;throw o(a(e)+" is not an object")}})),Q=e((function(e){var t=n(),r=d(),i=K(),a=$(),o=X(),s=G(),u=t.TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p="enumerable",f="configurable",h="writable";e.f=r?a?function(e,t,n){if(o(e),t=s(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=c(e,t);r&&r[h]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:p in n?n[p]:r[p],writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(o(e),t=s(t),o(n),i)try{return l(e,t,n)}catch(r){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}})),Y=e((function(e,t){var n=d(),r=Q(),i=v();t.exports=n?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}})),Z=e((function(e,t){var n=g(),r=E(),i=j(),a=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource})),ee=e((function(e,t){var r=n(),i=E(),a=Z(),o=r.WeakMap;t.exports=i(o)&&/native code/.test(a(o))})),te=e((function(e,t){var n=R(),r=H(),i=n("keys");t.exports=function(e){return i[e]||(i[e]=r(e))}})),ne=e((function(e,t){t.exports={}})),re=e((function(e,t){var r,i,a,o,s,u,l,c,p=ee(),f=n(),d=g(),h=A(),m=Y(),y=V(),v=j(),D=te(),b=ne(),x="Object already initialized",C=f.TypeError,E=f.WeakMap,w=function(e){return a(e)?i(e):r(e,{})},k=function(e){return function(t){var n;if(!h(t)||(n=i(t)).type!==e)throw C("Incompatible receiver, "+e+" required");return n}};p||v.state?(o=v.state||(v.state=new E),s=d(o.get),u=d(o.has),l=d(o.set),r=function(e,t){if(u(o,e))throw new C(x);return t.facade=e,l(o,e,t),t},i=function(e){return s(o,e)||{}},a=function(e){return u(o,e)}):(b[c=D("state")]=!0,r=function(e,t){if(y(e,c))throw new C(x);return t.facade=e,m(e,c,t),t},i=function(e){return y(e,c)?e[c]:{}},a=function(e){return y(e,c)}),t.exports={set:r,get:i,has:a,enforce:w,getterFor:k}})),ie=e((function(e,t){var n=d(),r=V(),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,o=r(i,"name"),s=o&&"something"===function(){}.name,u=o&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:o,PROPER:s,CONFIGURABLE:u}})),ae=e((function(e,t){var r=n(),i=E(),a=V(),o=Y(),s=M(),u=Z(),l=re(),c=ie().CONFIGURABLE,p=l.get,f=l.enforce,d=String(String).split("String");(t.exports=function(e,t,n,u){var l,p=!!u&&!!u.unsafe,h=!!u&&!!u.enumerable,m=!!u&&!!u.noTargetGet,y=u&&void 0!==u.name?u.name:t;i(n)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!a(n,"name")||c&&n.name!==y)&&o(n,"name",y),(l=f(n)).source||(l.source=d.join("string"==typeof y?y:""))),e!==r?(p?!m&&e[t]&&(h=!0):delete e[t],h?e[t]=n:o(e,t,n)):h?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return i(this)&&p(this).source||u(this)}))})),oe=e((function(e,t){var n=Math.ceil,r=Math.floor;t.exports=function(e){var t=+e;return t!==t||0===t?0:(t>0?r:n)(t)}})),se=e((function(e,t){var n=oe(),r=Math.max,i=Math.min;t.exports=function(e,t){var a=n(e);return a<0?r(a+t,0):i(a,t)}})),ue=e((function(e,t){var n=oe(),r=Math.min;t.exports=function(e){return e>0?r(n(e),9007199254740991):0}})),le=e((function(e,t){var n=ue();t.exports=function(e){return n(e.length)}})),ce=e((function(e,t){var n=C(),r=se(),i=le(),a=function(e){return function(t,a,o){var s,u=n(t),l=i(u),c=r(o,l);if(e&&a!=a){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===a)return e||c||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}})),pe=e((function(e,t){var n=g(),r=V(),i=C(),a=ce().indexOf,o=ne(),s=n([].push);t.exports=function(e,t){var n,u=i(e),l=0,c=[];for(n in u)!r(o,n)&&r(u,n)&&s(c,n);for(;t.length>l;)r(u,n=t[l++])&&(~a(c,n)||s(c,n));return c}})),fe=e((function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),de=e((function(e){var t=pe(),n=fe().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,n)}})),he=e((function(e){e.f=Object.getOwnPropertySymbols})),me=e((function(e,t){var n=w(),r=g(),i=de(),a=he(),o=X(),s=r([].concat);t.exports=n("Reflect","ownKeys")||function(e){var t=i.f(o(e)),n=a.f;return n?s(t,n(e)):t}})),ye=e((function(e,t){var n=V(),r=me(),i=J(),a=Q();t.exports=function(e,t,o){for(var s=r(t),u=a.f,l=i.f,c=0;c0&&i(d))h=e(t,n,d,a(d),h,c-1)-1;else{if(h>=9007199254740991)throw s("Exceed the acceptable array length");t[h]=d}h++}m++}return h};t.exports=u})),Ae=e((function(e,t){var n={};n[U()("toStringTag")]="z",t.exports="[object z]"===String(n)})),we=e((function(e,t){var r=n(),i=Ae(),a=E(),o=D(),s=U()("toStringTag"),u=r.Object,l="Arguments"==o(function(){return arguments}()),c=function(e,t){try{return e[t]}catch(n){}};t.exports=i?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=c(t=u(e),s))?n:l?o(t):"Object"==(r=o(t))&&a(t.callee)?"Arguments":r}})),ke=e((function(e,t){var n=g(),r=f(),i=E(),a=we(),o=w(),s=Z(),u=function(){},l=[],c=o("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=n(p.exec),h=!p.exec(u),m=function(e){if(!i(e))return!1;try{return c(u,l,e),!0}catch(t){return!1}},y=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!d(p,s(e))}catch(t){return!0}};y.sham=!0,t.exports=!c||r((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?y:m})),Se=e((function(e,t){var r=n(),i=xe(),a=ke(),o=A(),s=U()("species"),u=r.Array;t.exports=function(e){var t;return i(e)&&(t=e.constructor,(a(t)&&(t===u||i(t.prototype))||o(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?u:t}})),Fe=e((function(e,t){var n=Se();t.exports=function(e,t){return new(n(e))(0===t?0:t)}})),Te=e((function(){var e=ge(),t=Ee(),n=I(),r=W(),i=le(),a=Fe();e({target:"Array",proto:!0},{flatMap:function(e){var o,s=r(this),u=i(s);return n(e),(o=a(s,0)).length=t(o,s,s,u,0,1,e,arguments.length>1?arguments[1]:void 0),o}})})),Pe=e((function(e,t){var n,f,d,h,m;function y(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}be(),Te();var v=Object.defineProperty,g=Object.getOwnPropertyDescriptor,D=Object.getOwnPropertyNames,b=Object.prototype.hasOwnProperty,x=function(e,t){return function(){return e&&(t=(0,e[D(e)[0]])(e=0)),t}},C=function(e,t){return function(){return t||(0,e[D(e)[0]])((t={exports:{}}).exports,t),t.exports}},E=function(e,t){for(var n in t)v(e,n,{get:t[n],enumerable:!0})},A=function(e,t,n,r){if(t&&"object"==typeof t||"function"==typeof t){var i,a=p(D(t));try{var o=function(){var a=i.value;!b.call(e,a)&&a!==n&&v(e,a,{get:function(){return t[a]},enumerable:!(r=g(t,a))||r.enumerable})};for(a.s();!(i=a.n()).done;)o()}catch(s){a.e(s)}finally{a.f()}}return e},w=function(e){return A(v({},"__esModule",{value:!0}),e)},k=x({"":function(){}}),S=C({"src/utils/try-combinations.js":function(e,t){function n(){for(var e,t=arguments.length,n=new Array(t),r=0;r=0&&o"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])$="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");$="LE"}}return $}function _(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function M(){return[]}function j(){return 0}function R(){return Number.MAX_VALUE}function W(){return Number.MAX_VALUE}function V(){return[]}function H(){return"Browser"}function U(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function z(){}function G(){}function q(){return"javascript"}function K(){return"browser"}function J(){return"/tmp"}E(L,{EOL:function(){return Q},arch:function(){return q},cpus:function(){return V},default:function(){return Y},endianness:function(){return O},freemem:function(){return R},getNetworkInterfaces:function(){return G},hostname:function(){return _},loadavg:function(){return M},networkInterfaces:function(){return z},platform:function(){return K},release:function(){return U},tmpDir:function(){return J},tmpdir:function(){return X},totalmem:function(){return W},type:function(){return H},uptime:function(){return j}});var $,X,Q,Y,Z=x({"node-modules-polyfills:os":function(){k(),Y={EOL:Q="\n",tmpdir:X=J,tmpDir:J,networkInterfaces:z,getNetworkInterfaces:G,release:U,type:H,cpus:V,totalmem:W,freemem:R,uptime:j,loadavg:M,hostname:_,endianness:O}}}),ee=C({"node-modules-polyfills-commonjs:os":function(e,t){k();var n=(Z(),w(L));if(n&&n.default)for(var r in t.exports=n.default,n)t.exports[r]=n[r];else n&&(t.exports=n)}}),te=C({"node_modules/detect-newline/index.js":function(e,t){k();var n=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");var t=e.match(/(?:\r?\n)/g)||[];if(0!==t.length){var n=t.filter((function(e){return"\r\n"===e})).length;return n>t.length-n?"\r\n":"\n"}};t.exports=n,t.exports.graceful=function(e){return"string"==typeof e&&n(e)||"\n"}}}),ne=C({"node_modules/jest-docblock/build/index.js":function(e){function t(){var e=ee();return t=function(){return e},e}function n(){var e=r(te());return n=function(){return e},e}function r(e){return e&&e.__esModule?e:{default:e}}k(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=d,e.parse=m,e.parseWithComments=y,e.print=v,e.strip=h;var i=/\*\/$/,a=/^\/\*\*/,o=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,s=/(^|\s+)\/\/([^\r\n]*)/g,u=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g,f=[];function d(e){var t=e.match(o);return t?t[0].trimLeft():""}function h(e){var t=e.match(o);return t&&t[0]?e.substring(t[0].length):e}function m(e){return y(e).pragmas}function y(e){var r=(0,n().default)(e)||t().EOL;e=e.replace(a,"").replace(i,"").replace(p,"$1");for(var o="";o!==e;)o=e,e=e.replace(l,"".concat(r,"$1 $2").concat(r));e=e.replace(u,"").trimRight();for(var d,h=Object.create(null),m=e.replace(c,"").replace(u,"").trimRight();d=c.exec(e);){var y=d[2].replace(s,"");"string"==typeof h[d[1]]||Array.isArray(h[d[1]])?h[d[1]]=f.concat(h[d[1]],y):h[d[1]]=y}return{comments:m,pragmas:h}}function v(e){var r=e.comments,i=void 0===r?"":r,a=e.pragmas,o=void 0===a?{}:a,s=(0,n().default)(i)||t().EOL,u="/**",l=" *",c=" */",p=Object.keys(o),f=p.map((function(e){return g(e,o[e])})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){return l+" "+e+s})).join("");if(!i){if(0===p.length)return"";if(1===p.length&&!Array.isArray(o[p[0]])){var d=o[p[0]];return"".concat(u," ").concat(g(p[0],d)[0]).concat(c)}}var h=i.split(s).map((function(e){return"".concat(l," ").concat(e)})).join(s)+s;return u+s+(i?h:"")+(i&&p.length?l+s:"")+f+c}function g(e,t){return f.concat(t).map((function(t){return"@".concat(e," ").concat(t).trim()}))}}}),re=C({"src/common/end-of-line.js":function(e,t){function n(e){var t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"}function r(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function i(e,t){var n;switch(t){case"\n":n=/\n/g;break;case"\r":n=/\r/g;break;case"\r\n":n=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."))}var r=e.match(n);return r?r.length:0}function a(e){return e.replace(/\r\n?/g,"\n")}k(),t.exports={guessEndOfLine:n,convertEndOfLineToChars:r,countEndOfLineChars:i,normalizeEndOfLine:a}}}),ie=C({"src/language-js/pragma.js":function(e,t){k();var n=ne(),r=n.parseWithComments,i=n.strip,a=n.extract,o=n.print,s=re().normalizeEndOfLine,u=F();function l(e){var t=u(e);t&&(e=e.slice(t.length+1));var n=a(e),i=r(n);return{shebang:t,text:e,pragmas:i.pragmas,comments:i.comments}}function c(e){var t=Object.keys(l(e).pragmas);return t.includes("prettier")||t.includes("format")}function p(e){var t=l(e),n=t.shebang,r=t.text,a=t.pragmas,u=t.comments,c=i(r),p=o({pragmas:Object.assign({format:""},a),comments:u.trimStart()});return(n?"".concat(n,"\n"):"")+s(p)+(c.startsWith("\n")?"\n":"\n\n")+c}t.exports={hasPragma:c,insertPragma:p}}}),ae=C({"src/utils/is-non-empty-array.js":function(e,t){function n(e){return Array.isArray(e)&&e.length>0}k(),t.exports=n}}),oe=C({"src/language-js/loc.js":function(e,t){k();var n=ae();function r(e,t){if(!(t||{}).ignoreDecorators){var i=e.declaration&&e.declaration.decorators||e.decorators;if(n(i))return r(i[0])}return e.range?e.range[0]:e.start}function i(e){return e.range?e.range[1]:e.end}function a(e,t){var n=r(e);return Number.isInteger(n)&&n===r(t)}function o(e,t){var n=i(e);return Number.isInteger(n)&&n===i(t)}function s(e,t){return a(e,t)&&o(e,t)}t.exports={locStart:r,locEnd:i,hasSameLocStart:a,hasSameLoc:s}}}),se=C({"src/language-js/parse/utils/create-parser.js":function(e,t){k();var n=ie().hasPragma,r=oe(),i=r.locStart,a=r.locEnd;function o(e){return e="function"==typeof e?{parse:e}:e,Object.assign({astFormat:"estree",hasPragma:n,locStart:i,locEnd:a},e)}t.exports=o}}),ue=C({"src/common/parser-create-error.js":function(e,t){function n(e,t){var n=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return n.loc=t,n}k(),t.exports=n}}),le=C({"src/language-js/parse/utils/create-babel-parse-error.js":function(e,t){k();var n=ue();function r(e){var t=e.message,r=e.loc;return n(t.replace(/ \(.*\)/,""),{start:{line:r?r.line:0,column:r?r.column+1:0}})}t.exports=r}}),ce=C({"src/language-js/utils/is-ts-keyword-type.js":function(e,t){function n(e){var t=e.type;return t.startsWith("TS")&&t.endsWith("Keyword")}k(),t.exports=n}}),pe=C({"src/language-js/utils/is-block-comment.js":function(e,t){k();var n=new Set(["Block","CommentBlock","MultiLine"]),r=function(e){return n.has(null==e?void 0:e.type)};t.exports=r}}),fe=C({"src/language-js/utils/is-type-cast-comment.js":function(e,t){k();var n=pe();function r(e){return n(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}t.exports=r}}),de=C({"src/utils/get-last.js":function(e,t){k();var n=function(e){return e[e.length-1]};t.exports=n}}),he=C({"src/language-js/parse/postprocess/visit-node.js":function(e,t){function n(e,t){if(Array.isArray(e)){for(var r=0;r=0)&&(i[n]=e[n]);return i}k(),Object.defineProperty(e,"__esModule",{value:!0});var v=u((function e(t,n,r){l(this,e),this.line=void 0,this.column=void 0,this.index=void 0,this.line=t,this.column=n,this.index=r})),g=u((function e(t,n){l(this,e),this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=t,this.end=n}));function D(e,t){var n=e.line,r=e.column,i=e.index;return new v(n,r+t,i+t)}var b=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"}),x=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length-1;return{get:function(){return e.reduce((function(e,t){return e[t]}),this)},set:function(n){e.reduce((function(e,r,i){return i===t?e[r]=n:e[r]}),this)}}},C=function(e,t,n){return Object.keys(n).map((function(e){return[e,n[e]]})).filter((function(e){return!!c(e,2)[1]})).map((function(e){var t=c(e,2),n=t[0],r=t[1];return[n,"function"==typeof r?{value:r,enumerable:!1}:"string"==typeof r.reflect?Object.assign({},r,x(r.reflect.split("."))):r]})).reduce((function(e,t){var n=c(t,2),r=n[0],i=n[1];return Object.defineProperty(e,r,Object.assign({configurable:!0},i))}),Object.assign(new e,t))},E=function(e){return{ImportMetaOutsideModule:e("import.meta may appear only with 'sourceType: \"module\"'",{code:b.SourceTypeModuleError}),ImportOutsideModule:e("'import' and 'export' may appear only with 'sourceType: \"module\"'",{code:b.SourceTypeModuleError})}},A={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},w=function(e){var t=e.type,n=e.prefix;return"UpdateExpression"===t?A.UpdateExpression[String(n)]:A[t]},S=function(e){return{AccessorIsGenerator:e((function(e){var t=e.kind;return"A ".concat(t,"ter cannot be a generator.")})),ArgumentsInClass:e("'arguments' is only allowed in functions and class methods."),AsyncFunctionInSingleStatementContext:e("Async functions can only be declared at the top level or inside a block."),AwaitBindingIdentifier:e("Can not use 'await' as identifier inside an async function."),AwaitBindingIdentifierInStaticBlock:e("Can not use 'await' as identifier inside a static block."),AwaitExpressionFormalParameter:e("'await' is not allowed in async function parameters."),AwaitNotInAsyncContext:e("'await' is only allowed within async functions and at the top levels of modules."),AwaitNotInAsyncFunction:e("'await' is only allowed within async functions."),BadGetterArity:e("A 'get' accesor must not have any formal parameters."),BadSetterArity:e("A 'set' accesor must have exactly one formal parameter."),BadSetterRestParameter:e("A 'set' accesor function argument must not be a rest parameter."),ConstructorClassField:e("Classes may not have a field named 'constructor'."),ConstructorClassPrivateField:e("Classes may not have a private field named '#constructor'."),ConstructorIsAccessor:e("Class constructor may not be an accessor."),ConstructorIsAsync:e("Constructor can't be an async function."),ConstructorIsGenerator:e("Constructor can't be a generator."),DeclarationMissingInitializer:e((function(e){var t=e.kind;return"Missing initializer in ".concat(t," declaration.")})),DecoratorBeforeExport:e("Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax."),DecoratorConstructor:e("Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?"),DecoratorExportClass:e("Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead."),DecoratorSemicolon:e("Decorators must not be followed by a semicolon."),DecoratorStaticBlock:e("Decorators can't be used with a static block."),DeletePrivateField:e("Deleting a private field is not allowed."),DestructureNamedImport:e("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),DuplicateConstructor:e("Duplicate constructor in the same class."),DuplicateDefaultExport:e("Only one default export allowed per module."),DuplicateExport:e((function(e){var t=e.exportName;return"`".concat(t,"` has already been exported. Exported identifiers must be unique.")})),DuplicateProto:e("Redefinition of __proto__ property."),DuplicateRegExpFlags:e("Duplicate regular expression flag."),ElementAfterRest:e("Rest element must be last element."),EscapedCharNotAnIdentifier:e("Invalid Unicode escape."),ExportBindingIsString:e((function(e){var t=e.localName,n=e.exportName;return"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '".concat(t,"' as '").concat(n,"' } from 'some-module'`?")})),ExportDefaultFromAsIdentifier:e("'from' is not allowed as an identifier after 'export default'."),ForInOfLoopInitializer:e((function(e){var t=e.type;return"'".concat("ForInStatement"===t?"for-in":"for-of","' loop variable declaration may not have an initializer.")})),ForOfAsync:e("The left-hand side of a for-of loop may not be 'async'."),ForOfLet:e("The left-hand side of a for-of loop may not start with 'let'."),GeneratorInSingleStatementContext:e("Generators can only be declared at the top level or inside a block."),IllegalBreakContinue:e((function(e){var t=e.type;return"Unsyntactic ".concat("BreakStatement"===t?"break":"continue",".")})),IllegalLanguageModeDirective:e("Illegal 'use strict' directive in function with non-simple parameter list."),IllegalReturn:e("'return' outside of function."),ImportBindingIsString:e((function(e){var t=e.importName;return'A string literal cannot be used as an imported binding.\n- Did you mean `import { "'.concat(t,'" as foo }`?')})),ImportCallArgumentTrailingComma:e("Trailing comma is disallowed inside import(...) arguments."),ImportCallArity:e((function(e){var t=e.maxArgumentCount;return"`import()` requires exactly ".concat(1===t?"one argument":"one or two arguments",".")})),ImportCallNotNewExpression:e("Cannot use new with import(...)."),ImportCallSpreadArgument:e("`...` is not allowed in `import()`."),IncompatibleRegExpUVFlags:e("The 'u' and 'v' regular expression flags cannot be enabled at the same time."),InvalidBigIntLiteral:e("Invalid BigIntLiteral."),InvalidCodePoint:e("Code point out of bounds."),InvalidCoverInitializedName:e("Invalid shorthand property initializer."),InvalidDecimal:e("Invalid decimal."),InvalidDigit:e((function(e){var t=e.radix;return"Expected number in radix ".concat(t,".")})),InvalidEscapeSequence:e("Bad character escape sequence."),InvalidEscapeSequenceTemplate:e("Invalid escape sequence in template."),InvalidEscapedReservedWord:e((function(e){var t=e.reservedWord;return"Escape sequence in keyword ".concat(t,".")})),InvalidIdentifier:e((function(e){var t=e.identifierName;return"Invalid identifier ".concat(t,".")})),InvalidLhs:e((function(e){var t=e.ancestor;return"Invalid left-hand side in ".concat(w(t),".")})),InvalidLhsBinding:e((function(e){var t=e.ancestor;return"Binding invalid left-hand side in ".concat(w(t),".")})),InvalidNumber:e("Invalid number."),InvalidOrMissingExponent:e("Floating-point numbers require a valid exponent after the 'e'."),InvalidOrUnexpectedToken:e((function(e){var t=e.unexpected;return"Unexpected character '".concat(t,"'.")})),InvalidParenthesizedAssignment:e("Invalid parenthesized assignment pattern."),InvalidPrivateFieldResolution:e((function(e){var t=e.identifierName;return"Private name #".concat(t," is not defined.")})),InvalidPropertyBindingPattern:e("Binding member expression."),InvalidRecordProperty:e("Only properties and spread elements are allowed in record definitions."),InvalidRestAssignmentPattern:e("Invalid rest operator's argument."),LabelRedeclaration:e((function(e){var t=e.labelName;return"Label '".concat(t,"' is already declared.")})),LetInLexicalBinding:e("'let' is not allowed to be used as a name in 'let' or 'const' declarations."),LineTerminatorBeforeArrow:e("No line break is allowed before '=>'."),MalformedRegExpFlags:e("Invalid regular expression flag."),MissingClassName:e("A class name is required."),MissingEqInAssignment:e("Only '=' operator can be used for specifying default value."),MissingSemicolon:e("Missing semicolon."),MissingPlugin:e((function(e){var t=e.missingPlugin;return"This experimental syntax requires enabling the parser plugin: ".concat(t.map((function(e){return JSON.stringify(e)})).join(", "),".")})),MissingOneOfPlugins:e((function(e){var t=e.missingPlugin;return"This experimental syntax requires enabling one of the following parser plugin(s): ".concat(t.map((function(e){return JSON.stringify(e)})).join(", "),".")})),MissingUnicodeEscape:e("Expecting Unicode escape sequence \\uXXXX."),MixingCoalesceWithLogical:e("Nullish coalescing operator(??) requires parens when mixing with logical operators."),ModuleAttributeDifferentFromType:e("The only accepted module attribute is `type`."),ModuleAttributeInvalidValue:e("Only string literals are allowed as module attribute values."),ModuleAttributesWithDuplicateKeys:e((function(e){var t=e.key;return'Duplicate key "'.concat(t,'" is not allowed in module attributes.')})),ModuleExportNameHasLoneSurrogate:e((function(e){var t=e.surrogateCharCode;return"An export name cannot include a lone surrogate, found '\\u".concat(t.toString(16),"'.")})),ModuleExportUndefined:e((function(e){var t=e.localName;return"Export '".concat(t,"' is not defined.")})),MultipleDefaultsInSwitch:e("Multiple default clauses."),NewlineAfterThrow:e("Illegal newline after throw."),NoCatchOrFinally:e("Missing catch or finally clause."),NumberIdentifier:e("Identifier directly after number."),NumericSeparatorInEscapeSequence:e("Numeric separators are not allowed inside unicode escape sequences or hex escape sequences."),ObsoleteAwaitStar:e("'await*' has been removed from the async functions proposal. Use Promise.all() instead."),OptionalChainingNoNew:e("Constructors in/after an Optional Chain are not allowed."),OptionalChainingNoTemplate:e("Tagged Template Literals are not allowed in optionalChain."),OverrideOnConstructor:e("'override' modifier cannot appear on a constructor declaration."),ParamDupe:e("Argument name clash."),PatternHasAccessor:e("Object pattern can't contain getter or setter."),PatternHasMethod:e("Object pattern can't contain methods."),PrivateInExpectedIn:e((function(e){var t=e.identifierName;return"Private names are only allowed in property accesses (`obj.#".concat(t,"`) or in `in` expressions (`#").concat(t," in obj`).")})),PrivateNameRedeclaration:e((function(e){var t=e.identifierName;return"Duplicate private name #".concat(t,".")})),RecordExpressionBarIncorrectEndSyntaxType:e("Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionBarIncorrectStartSyntaxType:e("Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionHashIncorrectStartSyntaxType:e("Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),RecordNoProto:e("'__proto__' is not allowed in Record expressions."),RestTrailingComma:e("Unexpected trailing comma after rest element."),SloppyFunction:e("In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement."),StaticPrototype:e("Classes may not have static property named prototype."),SuperNotAllowed:e("`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?"),SuperPrivateField:e("Private fields can't be accessed on super."),TrailingDecorator:e("Decorators must be attached to a class element."),TupleExpressionBarIncorrectEndSyntaxType:e("Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionBarIncorrectStartSyntaxType:e("Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionHashIncorrectStartSyntaxType:e("Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),UnexpectedArgumentPlaceholder:e("Unexpected argument placeholder."),UnexpectedAwaitAfterPipelineBody:e('Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.'),UnexpectedDigitAfterHash:e("Unexpected digit after hash token."),UnexpectedImportExport:e("'import' and 'export' may only appear at the top level."),UnexpectedKeyword:e((function(e){var t=e.keyword;return"Unexpected keyword '".concat(t,"'.")})),UnexpectedLeadingDecorator:e("Leading decorators must be attached to a class declaration."),UnexpectedLexicalDeclaration:e("Lexical declaration cannot appear in a single-statement context."),UnexpectedNewTarget:e("`new.target` can only be used in functions or class properties."),UnexpectedNumericSeparator:e("A numeric separator is only allowed between two digits."),UnexpectedPrivateField:e("Unexpected private name."),UnexpectedReservedWord:e((function(e){var t=e.reservedWord;return"Unexpected reserved word '".concat(t,"'.")})),UnexpectedSuper:e("'super' is only allowed in object methods and classes."),UnexpectedToken:e((function(e){var t=e.expected,n=e.unexpected;return"Unexpected token".concat(n?" '".concat(n,"'."):"").concat(t?', expected "'.concat(t,'"'):"")})),UnexpectedTokenUnaryExponentiation:e("Illegal expression. Wrap left hand side or entire exponentiation in parentheses."),UnsupportedBind:e("Binding should be performed on object property."),UnsupportedDecoratorExport:e("A decorated export must export a class declaration."),UnsupportedDefaultExport:e("Only expressions, functions or classes are allowed as the `default` export."),UnsupportedImport:e("`import` can only be used in `import()` or `import.meta`."),UnsupportedMetaProperty:e((function(e){var t=e.target,n=e.onlyValidPropertyName;return"The only valid meta property for ".concat(t," is ").concat(t,".").concat(n,".")})),UnsupportedParameterDecorator:e("Decorators cannot be used to decorate parameters."),UnsupportedPropertyDecorator:e("Decorators cannot be used to decorate object literal properties."),UnsupportedSuper:e("'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop])."),UnterminatedComment:e("Unterminated comment."),UnterminatedRegExp:e("Unterminated regular expression."),UnterminatedString:e("Unterminated string constant."),UnterminatedTemplate:e("Unterminated template."),VarRedeclaration:e((function(e){var t=e.identifierName;return"Identifier '".concat(t,"' has already been declared.")})),YieldBindingIdentifier:e("Can not use 'yield' as identifier inside a generator."),YieldInParameter:e("Yield expression is not allowed in formal parameters."),ZeroDigitNumericSeparator:e("Numeric separator can not be used after leading 0.")}},F=function(e){return{StrictDelete:e("Deleting local variable in strict mode."),StrictEvalArguments:e((function(e){var t=e.referenceName;return"Assigning to '".concat(t,"' in strict mode.")})),StrictEvalArgumentsBinding:e((function(e){var t=e.bindingName;return"Binding '".concat(t,"' in strict mode.")})),StrictFunction:e("In strict mode code, functions can only be declared at top level or inside a block."),StrictNumericEscape:e("The only valid numeric escape in strict mode is '\\0'."),StrictOctalLiteral:e("Legacy octal literals are not allowed in strict mode."),StrictWith:e("'with' in strict mode.")}},T=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),P=function(e){return{PipeBodyIsTighter:e("Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence."),PipeTopicRequiresHackPipes:e('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'),PipeTopicUnbound:e("Topic reference is unbound; it must be inside a pipe body."),PipeTopicUnconfiguredToken:e((function(e){var t=e.token;return"Invalid topic token ".concat(t,". In order to use ").concat(t,' as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "').concat(t,'" }.')})),PipeTopicUnused:e("Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once."),PipeUnparenthesizedBody:e((function(e){var t=e.type;return"Hack-style pipe body cannot be an unparenthesized ".concat(w({type:t}),"; please wrap it in parentheses.")})),PipelineBodyNoArrow:e('Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.'),PipelineBodySequenceExpression:e("Pipeline body may not be a comma-separated sequence expression."),PipelineHeadSequenceExpression:e("Pipeline head should not be a comma-separated sequence expression."),PipelineTopicUnused:e("Pipeline is in topic style but does not use topic reference."),PrimaryTopicNotAllowed:e("Topic reference was used in a lexical context without topic binding."),PrimaryTopicRequiresSmartPipeline:e('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.')}},B=["toMessage"];function N(e){var n=e.toMessage,r=t(e,B);return function e(t){var i=t.loc,a=t.details;return C(SyntaxError,Object.assign({},r,{loc:i}),{clone:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.loc||{};return e({loc:new v("line"in n?n.line:this.loc.line,"column"in n?n.column:this.loc.column,"index"in n?n.index:this.loc.index),details:Object.assign({},this.details,t.details)})},details:{value:a,enumerable:!1},message:{get:function(){return"".concat(n(this.details)," (").concat(this.loc.line,":").concat(this.loc.column,")")},set:function(e){Object.defineProperty(this,"message",{value:e})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in a&&{reflect:"details.missingPlugin",enumerable:!0}})}}function I(e,t){return Object.assign({toMessage:"string"==typeof e?function(){return e}:e},t)}function L(e,t){if(Array.isArray(e))return function(t){return L(t,e[0])};for(var n=e(I),r={},i=0,a=Object.keys(n);i1?o-1:0),u=1;u2&&void 0!==arguments[2]&&arguments[2];i(a(n.prototype),"parseFunctionBody",this).call(this,e,t,r),e.expression="BlockStatement"!==e.body.type}},{key:"parseMethod",value:function(e,t,r,o,s,u){var l=arguments.length>6&&void 0!==arguments[6]&&arguments[6],c=this.startNode();return c.kind=e.kind,(c=i(a(n.prototype),"parseMethod",this).call(this,c,t,r,o,s,u,l)).type="FunctionExpression",delete c.kind,e.value=c,"ClassPrivateMethod"===u&&(e.computed=!1),u="MethodDefinition",this.finishNode(e,u)}},{key:"parseClassProperty",value:function(){var e=i(a(n.prototype),"parseClassProperty",this).apply(this,arguments);return this.getPluginOption("estree","classFeatures")&&(e.type="PropertyDefinition"),e}},{key:"parseClassPrivateProperty",value:function(){var e=i(a(n.prototype),"parseClassPrivateProperty",this).apply(this,arguments);return this.getPluginOption("estree","classFeatures")&&(e.type="PropertyDefinition",e.computed=!1),e}},{key:"parseObjectMethod",value:function(e,t,r,o,s){var u=i(a(n.prototype),"parseObjectMethod",this).call(this,e,t,r,o,s);return u&&(u.type="Property","method"===u.kind&&(u.kind="init"),u.shorthand=!1),u}},{key:"parseObjectProperty",value:function(e,t,r,o,s){var u=i(a(n.prototype),"parseObjectProperty",this).call(this,e,t,r,o,s);return u&&(u.kind="init",u.type="Property"),u}},{key:"isValidLVal",value:function(e){for(var t,r=arguments.length,o=new Array(r>1?r-1:0),s=1;s1&&void 0!==arguments[1]&&arguments[1];if(null!=e&&this.isObjectProperty(e)){var r=e.key,o=e.value;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(o,t)}else i(a(n.prototype),"toAssignable",this).call(this,e,t)}},{key:"toAssignableObjectExpressionProp",value:function(e){"get"===e.kind||"set"===e.kind?this.raise(O.PatternHasAccessor,{at:e.key}):e.method?this.raise(O.PatternHasMethod,{at:e.key}):i(a(n.prototype),"toAssignableObjectExpressionProp",this).apply(this,arguments)}},{key:"finishCallExpression",value:function(e,t){var r;(i(a(n.prototype),"finishCallExpression",this).call(this,e,t),"Import"===e.callee.type)&&(e.type="ImportExpression",e.source=e.arguments[0],this.hasPlugin("importAssertions")&&(e.attributes=null!=(r=e.arguments[1])?r:null),delete e.arguments,delete e.callee);return e}},{key:"toReferencedArguments",value:function(e){"ImportExpression"!==e.type&&i(a(n.prototype),"toReferencedArguments",this).call(this,e)}},{key:"parseExport",value:function(e){switch(i(a(n.prototype),"parseExport",this).call(this,e),e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":1===e.specifiers.length&&"ExportNamespaceSpecifier"===e.specifiers[0].type&&(e.type="ExportAllDeclaration",e.exported=e.specifiers[0].exported,delete e.specifiers)}return e}},{key:"parseSubscript",value:function(e,t,r,o,s){var u=i(a(n.prototype),"parseSubscript",this).call(this,e,t,r,o,s);if(s.optionalChainMember){if(("OptionalMemberExpression"===u.type||"OptionalCallExpression"===u.type)&&(u.type=u.type.substring(8)),s.stop){var l=this.startNodeAtNode(u);return l.expression=u,this.finishNode(l,"ChainExpression")}}else("MemberExpression"===u.type||"CallExpression"===u.type)&&(u.optional=!1);return u}},{key:"hasPropertyAsPrivateName",value:function(e){return"ChainExpression"===e.type&&(e=e.expression),i(a(n.prototype),"hasPropertyAsPrivateName",this).call(this,e)}},{key:"isOptionalChain",value:function(e){return"ChainExpression"===e.type}},{key:"isObjectProperty",value:function(e){return"Property"===e.type&&"init"===e.kind&&!e.method}},{key:"isObjectMethod",value:function(e){return e.method||"get"===e.kind||"set"===e.kind}},{key:"finishNodeAt",value:function(e,t,r){return j(i(a(n.prototype),"finishNodeAt",this).call(this,e,t,r))}},{key:"resetEndLocation",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;i(a(n.prototype),"resetEndLocation",this).call(this,e,t),j(e)}}]),n}(e)},W=u((function e(t,n){l(this,e),this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!n})),V={brace:new W("{"),j_oTag:new W("...",!0)};V.template=new W("`",!0);var H=!0,U=!0,z=!0,G=!0,q=!0,K=!0,J=u((function e(t){l(this,e);var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=t,this.keyword=n.keyword,this.beforeExpr=!!n.beforeExpr,this.startsExpr=!!n.startsExpr,this.rightAssociative=!!n.rightAssociative,this.isLoop=!!n.isLoop,this.isAssign=!!n.isAssign,this.prefix=!!n.prefix,this.postfix=!!n.postfix,this.binop=null!=n.binop?n.binop:null,this.updateContext=null})),$=new Map;function X(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.keyword=e;var n=ae(e,t);return $.set(e,n),n}function Q(e,t){return ae(e,{beforeExpr:H,binop:t})}var Y=-1,Z=[],ee=[],te=[],ne=[],re=[],ie=[];function ae(e){var t,n,r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return++Y,ee.push(e),te.push(null!=(t=a.binop)?t:-1),ne.push(null!=(n=a.beforeExpr)&&n),re.push(null!=(r=a.startsExpr)&&r),ie.push(null!=(i=a.prefix)&&i),Z.push(new J(e,a)),Y}function oe(e){var t,n,r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return++Y,$.set(e,Y),ee.push(e),te.push(null!=(t=a.binop)?t:-1),ne.push(null!=(n=a.beforeExpr)&&n),re.push(null!=(r=a.startsExpr)&&r),ie.push(null!=(i=a.prefix)&&i),Z.push(new J("name",a)),Y}var se={bracketL:ae("[",{beforeExpr:H,startsExpr:U}),bracketHashL:ae("#[",{beforeExpr:H,startsExpr:U}),bracketBarL:ae("[|",{beforeExpr:H,startsExpr:U}),bracketR:ae("]"),bracketBarR:ae("|]"),braceL:ae("{",{beforeExpr:H,startsExpr:U}),braceBarL:ae("{|",{beforeExpr:H,startsExpr:U}),braceHashL:ae("#{",{beforeExpr:H,startsExpr:U}),braceR:ae("}"),braceBarR:ae("|}"),parenL:ae("(",{beforeExpr:H,startsExpr:U}),parenR:ae(")"),comma:ae(",",{beforeExpr:H}),semi:ae(";",{beforeExpr:H}),colon:ae(":",{beforeExpr:H}),doubleColon:ae("::",{beforeExpr:H}),dot:ae("."),question:ae("?",{beforeExpr:H}),questionDot:ae("?."),arrow:ae("=>",{beforeExpr:H}),template:ae("template"),ellipsis:ae("...",{beforeExpr:H}),backQuote:ae("`",{startsExpr:U}),dollarBraceL:ae("${",{beforeExpr:H,startsExpr:U}),templateTail:ae("...`",{startsExpr:U}),templateNonTail:ae("...${",{beforeExpr:H,startsExpr:U}),at:ae("@"),hash:ae("#",{startsExpr:U}),interpreterDirective:ae("#!..."),eq:ae("=",{beforeExpr:H,isAssign:G}),assign:ae("_=",{beforeExpr:H,isAssign:G}),slashAssign:ae("_=",{beforeExpr:H,isAssign:G}),xorAssign:ae("_=",{beforeExpr:H,isAssign:G}),moduloAssign:ae("_=",{beforeExpr:H,isAssign:G}),incDec:ae("++/--",{prefix:q,postfix:K,startsExpr:U}),bang:ae("!",{beforeExpr:H,prefix:q,startsExpr:U}),tilde:ae("~",{beforeExpr:H,prefix:q,startsExpr:U}),doubleCaret:ae("^^",{startsExpr:U}),doubleAt:ae("@@",{startsExpr:U}),pipeline:Q("|>",0),nullishCoalescing:Q("??",1),logicalOR:Q("||",1),logicalAND:Q("&&",2),bitwiseOR:Q("|",3),bitwiseXOR:Q("^",4),bitwiseAND:Q("&",5),equality:Q("==/!=/===/!==",6),lt:Q("/<=/>=",7),gt:Q("/<=/>=",7),relational:Q("/<=/>=",7),bitShift:Q("<>/>>>",8),bitShiftL:Q("<>/>>>",8),bitShiftR:Q("<>/>>>",8),plusMin:ae("+/-",{beforeExpr:H,binop:9,prefix:q,startsExpr:U}),modulo:ae("%",{binop:10,startsExpr:U}),star:ae("*",{binop:10}),slash:Q("/",10),exponent:ae("**",{beforeExpr:H,binop:11,rightAssociative:!0}),_in:X("in",{beforeExpr:H,binop:7}),_instanceof:X("instanceof",{beforeExpr:H,binop:7}),_break:X("break"),_case:X("case",{beforeExpr:H}),_catch:X("catch"),_continue:X("continue"),_debugger:X("debugger"),_default:X("default",{beforeExpr:H}),_else:X("else",{beforeExpr:H}),_finally:X("finally"),_function:X("function",{startsExpr:U}),_if:X("if"),_return:X("return",{beforeExpr:H}),_switch:X("switch"),_throw:X("throw",{beforeExpr:H,prefix:q,startsExpr:U}),_try:X("try"),_var:X("var"),_const:X("const"),_with:X("with"),_new:X("new",{beforeExpr:H,startsExpr:U}),_this:X("this",{startsExpr:U}),_super:X("super",{startsExpr:U}),_class:X("class",{startsExpr:U}),_extends:X("extends",{beforeExpr:H}),_export:X("export"),_import:X("import",{startsExpr:U}),_null:X("null",{startsExpr:U}),_true:X("true",{startsExpr:U}),_false:X("false",{startsExpr:U}),_typeof:X("typeof",{beforeExpr:H,prefix:q,startsExpr:U}),_void:X("void",{beforeExpr:H,prefix:q,startsExpr:U}),_delete:X("delete",{beforeExpr:H,prefix:q,startsExpr:U}),_do:X("do",{isLoop:z,beforeExpr:H}),_for:X("for",{isLoop:z}),_while:X("while",{isLoop:z}),_as:oe("as",{startsExpr:U}),_assert:oe("assert",{startsExpr:U}),_async:oe("async",{startsExpr:U}),_await:oe("await",{startsExpr:U}),_from:oe("from",{startsExpr:U}),_get:oe("get",{startsExpr:U}),_let:oe("let",{startsExpr:U}),_meta:oe("meta",{startsExpr:U}),_of:oe("of",{startsExpr:U}),_sent:oe("sent",{startsExpr:U}),_set:oe("set",{startsExpr:U}),_static:oe("static",{startsExpr:U}),_yield:oe("yield",{startsExpr:U}),_asserts:oe("asserts",{startsExpr:U}),_checks:oe("checks",{startsExpr:U}),_exports:oe("exports",{startsExpr:U}),_global:oe("global",{startsExpr:U}),_implements:oe("implements",{startsExpr:U}),_intrinsic:oe("intrinsic",{startsExpr:U}),_infer:oe("infer",{startsExpr:U}),_is:oe("is",{startsExpr:U}),_mixins:oe("mixins",{startsExpr:U}),_proto:oe("proto",{startsExpr:U}),_require:oe("require",{startsExpr:U}),_keyof:oe("keyof",{startsExpr:U}),_readonly:oe("readonly",{startsExpr:U}),_unique:oe("unique",{startsExpr:U}),_abstract:oe("abstract",{startsExpr:U}),_declare:oe("declare",{startsExpr:U}),_enum:oe("enum",{startsExpr:U}),_module:oe("module",{startsExpr:U}),_namespace:oe("namespace",{startsExpr:U}),_interface:oe("interface",{startsExpr:U}),_type:oe("type",{startsExpr:U}),_opaque:oe("opaque",{startsExpr:U}),name:ae("name",{startsExpr:U}),string:ae("string",{startsExpr:U}),num:ae("num",{startsExpr:U}),bigint:ae("bigint",{startsExpr:U}),decimal:ae("decimal",{startsExpr:U}),regexp:ae("regexp",{startsExpr:U}),privateName:ae("#name",{startsExpr:U}),eof:ae("eof"),jsxName:ae("jsxName"),jsxText:ae("jsxText",{beforeExpr:!0}),jsxTagStart:ae("jsxTagStart",{startsExpr:!0}),jsxTagEnd:ae("jsxTagEnd"),placeholder:ae("%%",{startsExpr:!0})};function ue(e){return e>=93&&e<=128}function le(e){return e<=92}function ce(e){return e>=58&&e<=128}function pe(e){return e>=58&&e<=132}function fe(e){return ne[e]}function de(e){return re[e]}function he(e){return e>=29&&e<=33}function me(e){return e>=125&&e<=127}function ye(e){return e>=90&&e<=92}function ve(e){return e>=58&&e<=92}function ge(e){return e>=39&&e<=59}function De(e){return 34===e}function be(e){return ie[e]}function xe(e){return e>=117&&e<=119}function Ce(e){return e>=120&&e<=126}function Ee(e){return ee[e]}function Ae(e){return te[e]}function we(e){return-1!==te[e]}function ke(e){return 57===e}function Se(e){return e>=24&&e<=25}function Fe(e){return Z[e]}Z[8].updateContext=function(e){e.pop()},Z[5].updateContext=Z[7].updateContext=Z[23].updateContext=function(e){e.push(V.brace)},Z[22].updateContext=function(e){e[e.length-1]===V.template?e.pop():e.push(V.template)},Z[138].updateContext=function(e){e.push(V.j_expr,V.j_oTag)};var Te="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Pe="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Be=new RegExp("["+Te+"]"),Ne=new RegExp("["+Te+Pe+"]");Te=Pe=null;var Ie=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],Le=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function Oe(e,t){for(var n=65536,r=0,i=t.length;re)return!1;if((n+=t[r+1])>=e)return!0}return!1}function _e(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Be.test(String.fromCharCode(e)):Oe(e,Ie)))}function Me(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Ne.test(String.fromCharCode(e)):Oe(e,Ie)||Oe(e,Le))))}var je={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Re=new Set(je.keyword),We=new Set(je.strict),Ve=new Set(je.strictBind);function He(e,t){return t&&"await"===e||"enum"===e}function Ue(e,t){return He(e,t)||We.has(e)}function ze(e){return Ve.has(e)}function Ge(e,t){return Ue(e,t)||ze(e)}function qe(e){return Re.has(e)}function Ke(e,t,n){return 64===e&&64===t&&_e(n)}var Je=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function $e(e){return Je.has(e)}var Xe=0,Qe=1,Ye=2,Ze=4,et=8,tt=16,nt=32,rt=64,it=128,at=256,ot=Qe|Ye|at,st=1,ut=2,lt=4,ct=8,pt=16,ft=64,dt=128,ht=256,mt=512,yt=1024,vt=2048,gt=st|ut|ct|dt,Dt=0|st|ct|0,bt=0|st|lt|0,xt=0|st|pt|0,Ct=0|ut|dt,Et=0|ut,At=st|ut|ct|ht,wt=0|yt,kt=0|ft,St=0|st|ft,Ft=At|mt,Tt=0|yt,Pt=vt,Bt=4,Nt=2,It=1,Lt=Nt|It,Ot=Nt|Bt,_t=It|Bt,Mt=Nt,jt=It,Rt=0,Wt=function(){function e(){l(this,e),this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}return u(e,[{key:"hasPlugin",value:function(e){if("string"==typeof e)return this.plugins.has(e);var t=c(e,2),n=t[0],r=t[1];if(!this.hasPlugin(n))return!1;for(var i=this.plugins.get(n),a=0,o=Object.keys(r);a0;)r=t[--i];null===r||r.start>n.start?Ut(e,n.comments):Vt(r,n.comments)}var Gt=function(e){o(n,e);var t=s(n);function n(){return l(this,n),t.apply(this,arguments)}return u(n,[{key:"addComment",value:function(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}},{key:"processComment",value:function(e){var t=this.state.commentStack,n=t.length;if(0!==n){var r=n-1,i=t[r];i.start===e.end&&(i.leadingNode=e,r--);for(var a=e.start;r>=0;r--){var o=t[r],s=o.end;if(!(s>a)){s===a&&(o.trailingNode=e);break}o.containingNode=e,this.finalizeComment(o),t.splice(r,1)}}}},{key:"finalizeComment",value:function(e){var t=e.comments;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&Vt(e.leadingNode,t),null!==e.trailingNode&&Ht(e.trailingNode,t);else{var n=e.containingNode,r=e.start;if(44===this.input.charCodeAt(r-1))switch(n.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":zt(n,n.properties,e);break;case"CallExpression":case"OptionalCallExpression":zt(n,n.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":zt(n,n.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":zt(n,n.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":zt(n,n.specifiers,e);break;default:Ut(n,t)}else Ut(n,t)}}},{key:"finalizeRemainingComments",value:function(){for(var e=this.state.commentStack,t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}},{key:"resetPreviousNodeTrailingComments",value:function(e){var t=this.state.commentStack,n=t.length;if(0!==n){var r=t[n-1];r.leadingNode===e&&(r.leadingNode=null)}}},{key:"takeSurroundingComments",value:function(e,t,n){var r=this.state.commentStack,i=r.length;if(0!==i)for(var a=i-1;a>=0;a--){var o=r[a],s=o.end;if(o.start===n)o.leadingNode=e;else if(s===t)o.trailingNode=e;else if(s=48&&e<=57},rn=new Set([103,109,115,105,121,117,100,118]),an={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},on={bin:function(e){return 48===e||49===e},oct:function(e){return e>=48&&e<=55},dec:function(e){return e>=48&&e<=57},hex:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}},sn=u((function e(t){l(this,e),this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,this.loc=new g(t.startLoc,t.endLoc)})),un=function(e){o(r,e);var n=s(r);function r(e,t){var i;return l(this,r),(i=n.call(this)).isLookahead=void 0,i.tokens=[],i.state=new Zt,i.state.init(e),i.input=t,i.length=t.length,i.isLookahead=!1,i}return u(r,[{key:"pushToken",value:function(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}},{key:"next",value:function(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new sn(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}},{key:"eat",value:function(e){return!!this.match(e)&&(this.next(),!0)}},{key:"match",value:function(e){return this.state.type===e}},{key:"createLookaheadState",value:function(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}},{key:"lookahead",value:function(){var e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;var t=this.state;return this.state=e,t}},{key:"nextTokenStart",value:function(){return this.nextTokenStartSince(this.state.pos)}},{key:"nextTokenStartSince",value:function(e){return $t.lastIndex=e,$t.test(this.input)?$t.lastIndex:e}},{key:"lookaheadCharCode",value:function(){return this.input.charCodeAt(this.nextTokenStart())}},{key:"codePointAtPos",value:function(e){var t=this.input.charCodeAt(e);if(55296===(64512&t)&&++e=this.length?this.finishToken(135):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}},{key:"skipBlockComment",value:function(){var e;this.isLookahead||(e=this.state.curPosition());var t=this.state.pos,n=this.input.indexOf("*/",t+2);if(-1===n)throw this.raise(O.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=n+2,Kt.lastIndex=t+2;Kt.test(this.input)&&Kt.lastIndex<=n;)++this.state.curLine,this.state.lineStart=Kt.lastIndex;if(!this.isLookahead){var r={type:"CommentBlock",value:this.input.slice(t+2,n),start:t,end:n+2,loc:new g(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(r),r}}},{key:"skipLineComment",value:function(e){var t,n=this.state.pos;this.isLookahead||(t=this.state.curPosition());var r=this.input.charCodeAt(this.state.pos+=e);if(this.state.pose))break e;var u=this.skipLineComment(3);void 0!==u&&(this.addComment(u),this.options.attachComment&&t.push(u))}}}if(t.length>0){var l={start:e,end:this.state.pos,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(l)}}},{key:"finishToken",value:function(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();var n=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(n)}},{key:"replaceToken",value:function(e){this.state.type=e,this.updateContext()}},{key:"readToken_numberSign",value:function(){if(0!==this.state.pos||!this.readToken_interpreter()){var e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(O.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"hash"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?O.RecordExpressionHashIncorrectStartSyntaxType:O.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else _e(t)?(++this.state.pos,this.finishToken(134,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(134,this.readWord1())):this.finishOp(27,1)}}},{key:"readToken_dot",value:function(){var e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}},{key:"readToken_slash",value:function(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)}},{key:"readToken_interpreter",value:function(){if(0!==this.state.pos||this.length<2)return!1;var e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;var t=this.state.pos;for(this.state.pos+=1;!Jt(e)&&++this.state.pos=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}},{key:"getTokenFromCode",value:function(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(O.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(O.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:var t=this.input.charCodeAt(this.state.pos+1);if(120===t||88===t)return void this.readRadixNumber(16);if(111===t||79===t)return void this.readRadixNumber(8);if(98===t||66===t)return void this.readRadixNumber(2);case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(_e(e))return void this.readWord(e)}throw this.raise(O.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(e)})}},{key:"finishOp",value:function(e,t){var n=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,n)}},{key:"readRegexp",value:function(){for(var e,t,n=this.state.startLoc,r=this.state.start+1,i=this.state.pos;;++i){if(i>=this.length)throw this.raise(O.UnterminatedRegExp,{at:D(n,1)});var a=this.input.charCodeAt(i);if(Jt(a))throw this.raise(O.UnterminatedRegExp,{at:D(n,1)});if(e)e=!1;else{if(91===a)t=!0;else if(93===a&&t)t=!1;else if(47===a&&!t)break;e=92===a}}var o=this.input.slice(r,i);++i;for(var s="",u=function(){return D(n,i+2-r)};i3&&void 0!==arguments[3])||arguments[3],i=this.state.pos,a=16===e?an.hex:an.decBinOct,o=16===e?on.hex:10===e?on.dec:8===e?on.oct:on.bin,s=!1,u=0,l=0,c=null==t?1/0:t;l=97?p-97+10:p>=65?p-65+10:nn(p)?p-48:1/0)>=e)if(this.options.errorRecovery&&f<=9)f=0,this.raise(O.InvalidDigit,{at:this.state.curPosition(),radix:e});else{if(!n)break;f=0,s=!0}++this.state.pos,u=u*e+f}else{var d=this.input.charCodeAt(this.state.pos-1),h=this.input.charCodeAt(this.state.pos+1);r?(Number.isNaN(h)||!o(h)||a.has(d)||a.has(h))&&this.raise(O.UnexpectedNumericSeparator,{at:this.state.curPosition()}):this.raise(O.NumericSeparatorInEscapeSequence,{at:this.state.curPosition()}),++this.state.pos}}return this.state.pos===i||null!=t&&this.state.pos-i!==t||s?null:u}},{key:"readRadixNumber",value:function(e){var t=this.state.curPosition(),n=!1;this.state.pos+=2;var r=this.readInt(e);null==r&&this.raise(O.InvalidDigit,{at:D(t,2),radix:e});var i=this.input.charCodeAt(this.state.pos);if(110===i)++this.state.pos,n=!0;else if(109===i)throw this.raise(O.InvalidDecimal,{at:t});if(_e(this.codePointAtPos(this.state.pos)))throw this.raise(O.NumberIdentifier,{at:this.state.curPosition()});if(n){var a=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(131,a)}else this.finishToken(130,r)}},{key:"readNumber",value:function(e){var t=this.state.pos,n=this.state.curPosition(),r=!1,i=!1,a=!1,o=!1,s=!1;!e&&null===this.readInt(10)&&this.raise(O.InvalidNumber,{at:this.state.curPosition()});var u=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(u){var l=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(O.StrictOctalLiteral,{at:n}),!this.state.strict){var c=l.indexOf("_");c>0&&this.raise(O.ZeroDigitNumericSeparator,{at:D(n,c)})}s=u&&!/[89]/.test(l)}var p=this.input.charCodeAt(this.state.pos);if(46===p&&!s&&(++this.state.pos,this.readInt(10),r=!0,p=this.input.charCodeAt(this.state.pos)),(69===p||101===p)&&!s&&((43===(p=this.input.charCodeAt(++this.state.pos))||45===p)&&++this.state.pos,null===this.readInt(10)&&this.raise(O.InvalidOrMissingExponent,{at:n}),r=!0,o=!0,p=this.input.charCodeAt(this.state.pos)),110===p&&((r||u)&&this.raise(O.InvalidBigIntLiteral,{at:n}),++this.state.pos,i=!0),109===p&&(this.expectPlugin("decimal",this.state.curPosition()),(o||u)&&this.raise(O.InvalidDecimal,{at:n}),++this.state.pos,a=!0),_e(this.codePointAtPos(this.state.pos)))throw this.raise(O.NumberIdentifier,{at:this.state.curPosition()});var f=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(i)this.finishToken(131,f);else if(a)this.finishToken(132,f);else{var d=s?parseInt(f,8):parseFloat(f);this.finishToken(130,d)}}},{key:"readCodePoint",value:function(e){var t;if(123===this.input.charCodeAt(this.state.pos)){if(++this.state.pos,t=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,!0,e),++this.state.pos,null!==t&&t>1114111){if(!e)return null;this.raise(O.InvalidCodePoint,{at:this.state.curPosition()})}}else t=this.readHexChar(4,!1,e);return t}},{key:"readString",value:function(e){for(var t="",n=++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(O.UnterminatedString,{at:this.state.startLoc});var r=this.input.charCodeAt(this.state.pos);if(r===e)break;if(92===r)t+=this.input.slice(n,this.state.pos),t+=this.readEscapedChar(!1),n=this.state.pos;else if(8232===r||8233===r)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(Jt(r))throw this.raise(O.UnterminatedString,{at:this.state.startLoc});++this.state.pos}}t+=this.input.slice(n,this.state.pos++),this.finishToken(129,t)}},{key:"readTemplateContinuation",value:function(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}},{key:"readTemplateToken",value:function(){var e="",t=this.state.pos,n=!1;for(++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(O.UnterminatedTemplate,{at:D(this.state.startLoc,1)});var r=this.input.charCodeAt(this.state.pos);if(96===r)return++this.state.pos,e+=this.input.slice(t,this.state.pos),void this.finishToken(24,n?null:e);if(36===r&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos+=2,e+=this.input.slice(t,this.state.pos),void this.finishToken(25,n?null:e);if(92===r){e+=this.input.slice(t,this.state.pos);var i=this.readEscapedChar(!0);null===i?n=!0:e+=i,t=this.state.pos}else if(Jt(r)){switch(e+=this.input.slice(t,this.state.pos),++this.state.pos,r){case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r)}++this.state.curLine,this.state.lineStart=this.state.pos,t=this.state.pos}else++this.state.pos}}},{key:"recordStrictModeErrors",value:function(e,t){var n=t.at,r=n.index;this.state.strict&&!this.state.strictErrors.has(r)?this.raise(e,{at:n}):this.state.strictErrors.set(r,[e,n])}},{key:"readEscapedChar",value:function(e){var t=!e,n=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,n){case 110:return"\n";case 114:return"\r";case 120:var r=this.readHexChar(2,!1,t);return null===r?null:String.fromCharCode(r);case 117:var i=this.readCodePoint(t);return null===i?null:String.fromCodePoint(i);case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:this.state.lineStart=this.state.pos,++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e)return null;this.recordStrictModeErrors(O.StrictNumericEscape,{at:D(this.state.curPosition(),-1)});default:if(n>=48&&n<=55){var a=D(this.state.curPosition(),-1),o=this.input.slice(this.state.pos-1,this.state.pos+2).match(/^[0-7]+/)[0],s=parseInt(o,8);s>255&&(o=o.slice(0,-1),s=parseInt(o,8)),this.state.pos+=o.length-1;var u=this.input.charCodeAt(this.state.pos);if("0"!==o||56===u||57===u){if(e)return null;this.recordStrictModeErrors(O.StrictNumericEscape,{at:a})}return String.fromCharCode(s)}return String.fromCharCode(n)}}},{key:"readHexChar",value:function(e,t,n){var r=this.state.curPosition(),i=this.readInt(16,e,t,!1);return null===i&&(n?this.raise(O.InvalidEscapeSequence,{at:r}):this.state.pos=r.index-1),i}},{key:"readWord1",value:function(e){this.state.containsEsc=!1;var t="",n=this.state.pos,r=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos=0;u--){var l=s[u];if(l.loc.index===o)return s[u]=e({loc:a,details:i});if(l.loc.index0}},{key:"allowSuper",get:function(){return(this.currentThisScopeFlags()&tt)>0}},{key:"allowDirectSuper",get:function(){return(this.currentThisScopeFlags()&nt)>0}},{key:"inClass",get:function(){return(this.currentThisScopeFlags()&rt)>0}},{key:"inClassAndNotInNonArrowFunction",get:function(){var e=this.currentThisScopeFlags();return(e&rt)>0&&0===(e&Ye)}},{key:"inStaticBlock",get:function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e].flags;if(t&it)return!0;if(t&(ot|rt))return!1}}},{key:"inNonArrowFunction",get:function(){return(this.currentThisScopeFlags()&Ye)>0}},{key:"treatFunctionsAsVar",get:function(){return this.treatFunctionsAsVarInScope(this.currentScope())}},{key:"createScope",value:function(e){return new ln(e)}},{key:"enter",value:function(e){this.scopeStack.push(this.createScope(e))}},{key:"exit",value:function(){this.scopeStack.pop()}},{key:"treatFunctionsAsVarInScope",value:function(e){return!!(e.flags&(Ye|it)||!this.parser.inModule&&e.flags&Qe)}},{key:"declareName",value:function(e,t,n){var r=this.currentScope();if(t&ct||t&pt)this.checkRedeclarationInScope(r,e,t,n),t&pt?r.functions.add(e):r.lexical.add(e),t&ct&&this.maybeExportDefined(r,e);else if(t<)for(var i=this.scopeStack.length-1;i>=0&&(r=this.scopeStack[i],this.checkRedeclarationInScope(r,e,t,n),r.var.add(e),this.maybeExportDefined(r,e),!(r.flags&ot));--i);this.parser.inModule&&r.flags&Qe&&this.undefinedExports.delete(e)}},{key:"maybeExportDefined",value:function(e,t){this.parser.inModule&&e.flags&Qe&&this.undefinedExports.delete(t)}},{key:"checkRedeclarationInScope",value:function(e,t,n,r){this.isRedeclaredInScope(e,t,n)&&this.parser.raise(O.VarRedeclaration,{at:r,identifierName:t})}},{key:"isRedeclaredInScope",value:function(e,t,n){return!!(n&st)&&(n&ct?e.lexical.has(t)||e.functions.has(t)||e.var.has(t):n&pt?e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t):e.lexical.has(t)&&!(e.flags&et&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t))}},{key:"checkLocalExport",value:function(e){var t=e.name,n=this.scopeStack[0];!n.lexical.has(t)&&!n.var.has(t)&&!n.functions.has(t)&&this.undefinedExports.set(t,e.loc.start)}},{key:"currentScope",value:function(){return this.scopeStack[this.scopeStack.length-1]}},{key:"currentVarScopeFlags",value:function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e].flags;if(t&ot)return t}}},{key:"currentThisScopeFlags",value:function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e].flags;if(t&(ot|rt)&&!(t&Ze))return t}}}]),e}(),pn=function(e){o(n,e);var t=s(n);function n(){var e;return l(this,n),(e=t.apply(this,arguments)).declareFunctions=new Set,e}return u(n)}(ln),fn=function(e){o(n,e);var t=s(n);function n(){return l(this,n),t.apply(this,arguments)}return u(n,[{key:"createScope",value:function(e){return new pn(e)}},{key:"declareName",value:function(e,t,r){var o=this.currentScope();if(t&vt)return this.checkRedeclarationInScope(o,e,t,r),this.maybeExportDefined(o,e),void o.declareFunctions.add(e);i(a(n.prototype),"declareName",this).apply(this,arguments)}},{key:"isRedeclaredInScope",value:function(e,t,r){return!!i(a(n.prototype),"isRedeclaredInScope",this).apply(this,arguments)||!!(r&vt)&&!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}},{key:"checkLocalExport",value:function(e){this.scopeStack[0].declareFunctions.has(e.name)||i(a(n.prototype),"checkLocalExport",this).call(this,e)}}]),n}(cn),dn=u((function e(){l(this,e),this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map})),hn=function(){function e(t){l(this,e),this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=t}return u(e,[{key:"current",value:function(){return this.stack[this.stack.length-1]}},{key:"enter",value:function(){this.stack.push(new dn)}},{key:"exit",value:function(){for(var e=this.stack.pop(),t=this.current(),n=0,r=Array.from(e.undefinedPrivateNames);n0&&void 0!==arguments[0]?arguments[0]:mn;this.type=void 0,this.type=t}return u(e,[{key:"canBeArrowParameterDeclaration",value:function(){return this.type===vn||this.type===yn}},{key:"isCertainlyParameterDeclaration",value:function(){return this.type===gn}}]),e}(),bn=function(e){o(n,e);var t=s(n);function n(e){var r;return l(this,n),(r=t.call(this,e)).declarationErrors=new Map,r}return u(n,[{key:"recordDeclarationError",value:function(e,t){var n=t.at,r=n.index;this.declarationErrors.set(r,[e,n])}},{key:"clearDeclarationError",value:function(e){this.declarationErrors.delete(e)}},{key:"iterateErrors",value:function(e){this.declarationErrors.forEach(e)}}]),n}(Dn),xn=function(){function e(t){l(this,e),this.parser=void 0,this.stack=[new Dn],this.parser=t}return u(e,[{key:"enter",value:function(e){this.stack.push(e)}},{key:"exit",value:function(){this.stack.pop()}},{key:"recordParameterInitializerError",value:function(e,t){for(var n={at:t.at.loc.start},r=this.stack,i=r.length-1,a=r[i];!a.isCertainlyParameterDeclaration();){if(!a.canBeArrowParameterDeclaration())return;a.recordDeclarationError(e,n),a=r[--i]}this.parser.raise(e,n)}},{key:"recordArrowParemeterBindingError",value:function(e,t){var n=t.at,r=this.stack,i=r[r.length-1],a={at:n.loc.start};if(i.isCertainlyParameterDeclaration())this.parser.raise(e,a);else{if(!i.canBeArrowParameterDeclaration())return;i.recordDeclarationError(e,a)}}},{key:"recordAsyncArrowParametersError",value:function(e){for(var t=e.at,n=this.stack,r=n.length-1,i=n[r];i.canBeArrowParameterDeclaration();)i.type===vn&&i.recordDeclarationError(O.AwaitBindingIdentifier,{at:t}),i=n[--r]}},{key:"validateAsPattern",value:function(){var e=this,t=this.stack,n=t[t.length-1];!n.canBeArrowParameterDeclaration()||n.iterateErrors((function(n){var r=c(n,2),i=r[0],a=r[1];e.parser.raise(i,{at:a});for(var o=t.length-2,s=t[o];s.canBeArrowParameterDeclaration();)s.clearDeclarationError(a.index),s=t[--o]}))}}]),e}();function Cn(){return new Dn(gn)}function En(){return new bn(yn)}function An(){return new bn(vn)}function wn(){return new Dn}var kn=0,Sn=1,Fn=2,Tn=4,Pn=8,Bn=function(){function e(){l(this,e),this.stacks=[]}return u(e,[{key:"enter",value:function(e){this.stacks.push(e)}},{key:"exit",value:function(){this.stacks.pop()}},{key:"currentFlags",value:function(){return this.stacks[this.stacks.length-1]}},{key:"hasAwait",get:function(){return(this.currentFlags()&Fn)>0}},{key:"hasYield",get:function(){return(this.currentFlags()&Sn)>0}},{key:"hasReturn",get:function(){return(this.currentFlags()&Tn)>0}},{key:"hasIn",get:function(){return(this.currentFlags()&Pn)>0}}]),e}();function Nn(e,t){return(e?Fn:0)|(t?Sn:0)}var In=function(e){o(n,e);var t=s(n);function n(){return l(this,n),t.apply(this,arguments)}return u(n,[{key:"addExtra",value:function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e){var i=e.extra=e.extra||{};r?i[t]=n:Object.defineProperty(i,t,{enumerable:r,value:n})}}},{key:"isContextual",value:function(e){return this.state.type===e&&!this.state.containsEsc}},{key:"isUnparsedContextual",value:function(e,t){var n=e+t.length;if(this.input.slice(e,n)===t){var r=this.input.charCodeAt(n);return!(Me(r)||55296===(64512&r))}return!1}},{key:"isLookaheadContextual",value:function(e){var t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}},{key:"eatContextual",value:function(e){return!!this.isContextual(e)&&(this.next(),!0)}},{key:"expectContextual",value:function(e,t){if(!this.eatContextual(e))throw null!=t?this.raise(t,{at:this.state.startLoc}):this.unexpected(null,e)}},{key:"canInsertSemicolon",value:function(){return this.match(135)||this.match(8)||this.hasPrecedingLineBreak()}},{key:"hasPrecedingLineBreak",value:function(){return qt.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}},{key:"hasFollowingLineBreak",value:function(){return Qt.lastIndex=this.state.end,Qt.test(this.input)}},{key:"isLineTerminator",value:function(){return this.eat(13)||this.canInsertSemicolon()}},{key:"semicolon",value:function(){(arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.eat(13):this.isLineTerminator())||this.raise(O.MissingSemicolon,{at:this.state.lastTokEndLoc})}},{key:"expect",value:function(e,t){this.eat(e)||this.unexpected(t,e)}},{key:"tryParse",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.clone(),n={node:null};try{var r=e((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;throw n.node=e,n}));if(this.state.errors.length>t.errors.length){var i=this.state;return this.state=t,this.state.tokensLength=i.tokensLength,{node:r,error:i.errors[t.errors.length],thrown:!1,aborted:!1,failState:i}}return{node:r,error:null,thrown:!1,aborted:!1,failState:null}}catch(r){var a=this.state;if(this.state=t,r instanceof SyntaxError)return{node:null,error:r,thrown:!0,aborted:!1,failState:a};if(r===n)return{node:n.node,error:null,thrown:!1,aborted:!0,failState:a};throw r}}},{key:"checkExpressionErrors",value:function(e,t){if(!e)return!1;var n=e.shorthandAssignLoc,r=e.doubleProtoLoc,i=e.privateKeyLoc,a=e.optionalParametersLoc;if(!t)return!!n||!!r||!!a||!!i;null!=n&&this.raise(O.InvalidCoverInitializedName,{at:n}),null!=r&&this.raise(O.DuplicateProto,{at:r}),null!=i&&this.raise(O.UnexpectedPrivateField,{at:i}),null!=a&&this.unexpected(a)}},{key:"isLiteralPropertyName",value:function(){return pe(this.state.type)}},{key:"isPrivateName",value:function(e){return"PrivateName"===e.type}},{key:"getPrivateNameSV",value:function(e){return e.id.name}},{key:"hasPropertyAsPrivateName",value:function(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)}},{key:"isOptionalChain",value:function(e){return"OptionalMemberExpression"===e.type||"OptionalCallExpression"===e.type}},{key:"isObjectProperty",value:function(e){return"ObjectProperty"===e.type}},{key:"isObjectMethod",value:function(e){return"ObjectMethod"===e.type}},{key:"initializeScopes",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"module"===this.options.sourceType,n=this.state.labels;this.state.labels=[];var r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;var i=this.inModule;this.inModule=t;var a=this.scope,o=this.getScopeHandler();this.scope=new o(this,t);var s=this.prodParam;this.prodParam=new Bn;var u=this.classScope;this.classScope=new hn(this);var l=this.expressionScope;return this.expressionScope=new xn(this),function(){e.state.labels=n,e.exportedIdentifiers=r,e.inModule=i,e.scope=a,e.prodParam=s,e.classScope=u,e.expressionScope=l}}},{key:"enterInitialScopes",value:function(){var e=kn;this.inModule&&(e|=Fn),this.scope.enter(Qe),this.prodParam.enter(e)}},{key:"checkDestructuringPrivate",value:function(e){var t=e.privateKeyLoc;null!==t&&this.expectPlugin("destructuringPrivate",t)}}]),n}(un),Ln=u((function e(){l(this,e),this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null})),On=u((function e(t,n,r){l(this,e),this.type="",this.start=n,this.end=0,this.loc=new g(r),null!=t&&t.options.ranges&&(this.range=[n,0]),null!=t&&t.filename&&(this.loc.filename=t.filename)})),_n=On.prototype;function Mn(e){return jn(e)}function jn(e){var t=e.type,n=e.start,r=e.end,i=e.loc,a=e.range,o=e.extra,s=e.name,u=Object.create(_n);return u.type=t,u.start=n,u.end=r,u.loc=i,u.range=a,u.extra=o,u.name=s,"Placeholder"===t&&(u.expectedNode=e.expectedNode),u}function Rn(e){var t=e.type,n=e.start,r=e.end,i=e.loc,a=e.range,o=e.extra;if("Placeholder"===t)return Mn(e);var s=Object.create(_n);return s.type=t,s.start=n,s.end=r,s.loc=i,s.range=a,void 0!==e.raw?s.raw=e.raw:s.extra=o,s.value=e.value,s}_n.__clone=function(){for(var e=new On,t=Object.keys(this),n=0,r=t.length;n1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;e.end=t.index,e.loc.end=t,this.options.ranges&&(e.range[1]=t.index)}},{key:"resetStartLocationFromNode",value:function(e,t){this.resetStartLocation(e,t.start,t.loc.start)}}]),n}(In),Vn=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Hn=L(f||(f=y(["flow"])))((function(e){return{AmbiguousConditionalArrow:e("Ambiguous expression: wrap the arrow functions in parentheses to disambiguate."),AmbiguousDeclareModuleKind:e("Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module."),AssignReservedType:e((function(e){var t=e.reservedType;return"Cannot overwrite reserved type ".concat(t,".")})),DeclareClassElement:e("The `declare` modifier can only appear on class fields."),DeclareClassFieldInitializer:e("Initializers are not allowed in fields with the `declare` modifier."),DuplicateDeclareModuleExports:e("Duplicate `declare module.exports` statement."),EnumBooleanMemberNotInitialized:e((function(e){var t=e.memberName,n=e.enumName;return"Boolean enum members need to be initialized. Use either `".concat(t," = true,` or `").concat(t," = false,` in enum `").concat(n,"`.")})),EnumDuplicateMemberName:e((function(e){var t=e.memberName,n=e.enumName;return"Enum member names need to be unique, but the name `".concat(t,"` has already been used before in enum `").concat(n,"`.")})),EnumInconsistentMemberValues:e((function(e){var t=e.enumName;return"Enum `".concat(t,"` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.")})),EnumInvalidExplicitType:e((function(e){var t=e.invalidEnumType,n=e.enumName;return"Enum type `".concat(t,"` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `").concat(n,"`.")})),EnumInvalidExplicitTypeUnknownSupplied:e((function(e){var t=e.enumName;return"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `".concat(t,"`.")})),EnumInvalidMemberInitializerPrimaryType:e((function(e){var t=e.enumName,n=e.memberName,r=e.explicitType;return"Enum `".concat(t,"` has type `").concat(r,"`, so the initializer of `").concat(n,"` needs to be a ").concat(r," literal.")})),EnumInvalidMemberInitializerSymbolType:e((function(e){var t=e.enumName,n=e.memberName;return"Symbol enum members cannot be initialized. Use `".concat(n,",` in enum `").concat(t,"`.")})),EnumInvalidMemberInitializerUnknownType:e((function(e){var t=e.enumName,n=e.memberName;return"The enum member initializer for `".concat(n,"` needs to be a literal (either a boolean, number, or string) in enum `").concat(t,"`.")})),EnumInvalidMemberName:e((function(e){var t=e.enumName,n=e.memberName,r=e.suggestion;return"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `".concat(n,"`, consider using `").concat(r,"`, in enum `").concat(t,"`.")})),EnumNumberMemberNotInitialized:e((function(e){var t=e.enumName,n=e.memberName;return"Number enum members need to be initialized, e.g. `".concat(n," = 1` in enum `").concat(t,"`.")})),EnumStringMemberInconsistentlyInitailized:e((function(e){var t=e.enumName;return"String enum members need to consistently either all use initializers, or use no initializers, in enum `".concat(t,"`.")})),GetterMayNotHaveThisParam:e("A getter cannot have a `this` parameter."),ImportTypeShorthandOnlyInPureImport:e("The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements."),InexactInsideExact:e("Explicit inexact syntax cannot appear inside an explicit exact object type."),InexactInsideNonObject:e("Explicit inexact syntax cannot appear in class or interface definitions."),InexactVariance:e("Explicit inexact syntax cannot have variance."),InvalidNonTypeImportInDeclareModule:e("Imports within a `declare module` body must always be `import type` or `import typeof`."),MissingTypeParamDefault:e("Type parameter declaration needs a default, since a preceding type parameter declaration has a default."),NestedDeclareModule:e("`declare module` cannot be used inside another `declare module`."),NestedFlowComment:e("Cannot have a flow comment inside another flow comment."),PatternIsOptional:e("A binding pattern parameter cannot be optional in an implementation signature.",{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:e("A setter cannot have a `this` parameter."),SpreadVariance:e("Spread properties cannot have variance."),ThisParamAnnotationRequired:e("A type annotation is required for the `this` parameter."),ThisParamBannedInConstructor:e("Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions."),ThisParamMayNotBeOptional:e("The `this` parameter cannot be optional."),ThisParamMustBeFirst:e("The `this` parameter must be the first function parameter."),ThisParamNoDefault:e("The `this` parameter may not have a default value."),TypeBeforeInitializer:e("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeCastInPattern:e("The type cast expression is expected to be wrapped with parenthesis."),UnexpectedExplicitInexactInObject:e("Explicit inexact syntax must appear at the end of an inexact object."),UnexpectedReservedType:e((function(e){var t=e.reservedType;return"Unexpected reserved type ".concat(t,".")})),UnexpectedReservedUnderscore:e("`_` is only allowed as a type argument to call or new."),UnexpectedSpaceBetweenModuloChecks:e("Spaces between `%` and `checks` are not allowed here."),UnexpectedSpreadType:e("Spread operator cannot appear in class or interface definitions."),UnexpectedSubtractionOperand:e('Unexpected token, expected "number" or "bigint".'),UnexpectedTokenAfterTypeParameter:e("Expected an arrow function after this type parameter declaration."),UnexpectedTypeParameterBeforeAsyncArrowFunction:e("Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`."),UnsupportedDeclareExportKind:e((function(e){var t=e.unsupportedExportKind,n=e.suggestion;return"`declare export ".concat(t,"` is not supported. Use `").concat(n,"` instead.")})),UnsupportedStatementInDeclareModule:e("Only declares and type imports are allowed inside declare module."),UnterminatedFlowComment:e("Unterminated flow-comment.")}}));function Un(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}function zn(e){return"type"===e.importKind||"typeof"===e.importKind}function Gn(e){return ce(e)&&97!==e}var qn={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function Kn(e,t){for(var n=[],r=[],i=0;it.index+1&&this.raise(Hn.UnexpectedSpaceBetweenModuloChecks,{at:t}),this.eat(10)?(e.value=this.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}},{key:"flowParseTypeAndPredicateInitialiser",value:function(){var e=this.state.inType;this.state.inType=!0,this.expect(14);var t=null,n=null;return this.match(54)?(this.state.inType=e,n=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(n=this.flowParsePredicate())),[t,n]}},{key:"flowParseDeclareClass",value:function(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}},{key:"flowParseDeclareFunction",value:function(e){var t,n;this.next();var r=e.id=this.parseIdentifier(),i=this.startNode(),a=this.startNode();this.match(47)?i.typeParameters=this.flowParseTypeParameterDeclaration():i.typeParameters=null,this.expect(10);var o=this.flowParseFunctionTypeParams();return i.params=o.params,i.rest=o.rest,i.this=o._this,this.expect(11),t=this.flowParseTypeAndPredicateInitialiser(),n=c(t,2),i.returnType=n[0],e.predicate=n[1],a.typeAnnotation=this.finishNode(i,"FunctionTypeAnnotation"),r.typeAnnotation=this.finishNode(a,"TypeAnnotation"),this.resetEndLocation(r),this.semicolon(),this.scope.declareName(e.id.name,Pt,e.id.loc.start),this.finishNode(e,"DeclareFunction")}},{key:"flowParseDeclare",value:function(e,t){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(123))return this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(Hn.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(e));if(this.isContextual(126))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(127))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(125))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()}},{key:"flowParseDeclareVariable",value:function(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,bt,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}},{key:"flowParseDeclareModule",value:function(e){var t=this;this.scope.enter(Xe),this.match(129)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();var n=e.body=this.startNode(),r=n.body=[];for(this.expect(5);!this.match(8);){var i=this.startNode();this.match(83)?(this.next(),!this.isContextual(126)&&!this.match(87)&&this.raise(Hn.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),this.parseImport(i)):(this.expectContextual(121,Hn.UnsupportedStatementInDeclareModule),i=this.flowParseDeclare(i,!0)),r.push(i)}this.scope.exit(),this.expect(8),this.finishNode(n,"BlockStatement");var a=null,o=!1;return r.forEach((function(e){Un(e)?("CommonJS"===a&&t.raise(Hn.AmbiguousDeclareModuleKind,{at:e}),a="ES"):"DeclareModuleExports"===e.type&&(o&&t.raise(Hn.DuplicateDeclareModuleExports,{at:e}),"ES"===a&&t.raise(Hn.AmbiguousDeclareModuleKind,{at:e}),a="CommonJS",o=!0)})),e.kind=a||"CommonJS",this.finishNode(e,"DeclareModule")}},{key:"flowParseDeclareExportDeclaration",value:function(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(126)||this.isContextual(125))&&!t){var n=this.state.value;throw this.raise(Hn.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:n,suggestion:qn[n]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(127))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(125)||this.isContextual(126)||this.isContextual(127))return"ExportNamedDeclaration"===(e=this.parseExport(e)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;throw this.unexpected()}},{key:"flowParseDeclareModuleExports",value:function(e){return this.next(),this.expectContextual(108),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}},{key:"flowParseDeclareTypeAlias",value:function(e){return this.next(),this.flowParseTypeAlias(e),e.type="DeclareTypeAlias",e}},{key:"flowParseDeclareOpaqueType",value:function(e){return this.next(),this.flowParseOpaqueType(e,!0),e.type="DeclareOpaqueType",e}},{key:"flowParseDeclareInterface",value:function(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareInterface")}},{key:"flowParseInterfaceish",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?xt:Dt,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(this.isContextual(114)){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12))}if(this.isContextual(110)){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}},{key:"flowParseInterfaceExtends",value:function(){var e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}},{key:"flowParseInterface",value:function(e){return this.flowParseInterfaceish(e),this.finishNode(e,"InterfaceDeclaration")}},{key:"checkNotUnderscore",value:function(e){"_"===e&&this.raise(Hn.UnexpectedReservedUnderscore,{at:this.state.startLoc})}},{key:"checkReservedType",value:function(e,t,n){!Vn.has(e)||this.raise(n?Hn.AssignReservedType:Hn.UnexpectedReservedType,{at:t,reservedType:e})}},{key:"flowParseRestrictedIdentifier",value:function(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)}},{key:"flowParseTypeAlias",value:function(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,Dt,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}},{key:"flowParseOpaqueType",value:function(e,t){return this.expectContextual(126),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,Dt,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}},{key:"flowParseTypeParameter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.state.startLoc,n=this.startNode(),r=this.flowParseVariance(),i=this.flowParseTypeAnnotatableIdentifier();return n.name=i.name,n.variance=r,n.bound=i.typeAnnotation,this.match(29)?(this.eat(29),n.default=this.flowParseType()):e&&this.raise(Hn.MissingTypeParamDefault,{at:t}),this.finishNode(n,"TypeParameter")}},{key:"flowParseTypeParameterDeclaration",value:function(){var e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(138)?this.next():this.unexpected();var n=!1;do{var r=this.flowParseTypeParameter(n);t.params.push(r),r.default&&(n=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}},{key:"flowParseTypeParameterInstantiation",value:function(){var e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);var n=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=n,this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}},{key:"flowParseTypeParameterInstantiationCallOrNew",value:function(){var e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}},{key:"flowParseInterfaceType",value:function(){var e=this.startNode();if(this.expectContextual(125),e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}},{key:"flowParseObjectPropertyKey",value:function(){return this.match(130)||this.match(129)?this.parseExprAtom():this.parseIdentifier(!0)}},{key:"flowParseObjectTypeIndexer",value:function(e,t,n){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=n,this.finishNode(e,"ObjectTypeIndexer")}},{key:"flowParseObjectTypeInternalSlot",value:function(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}},{key:"flowParseObjectTypeMethodish",value:function(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}},{key:"flowParseObjectTypeCallProperty",value:function(e,t){var n=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(n),this.finishNode(e,"ObjectTypeCallProperty")}},{key:"flowParseObjectType",value:function(e){var t=e.allowStatic,n=e.allowExact,r=e.allowSpread,i=e.allowProto,a=e.allowInexact,o=this.state.inType;this.state.inType=!0;var s=this.startNode();s.callProperties=[],s.properties=[],s.indexers=[],s.internalSlots=[];var u,l,c=!1;for(n&&this.match(6)?(this.expect(6),u=9,l=!0):(this.expect(5),u=8,l=!1),s.exact=l;!this.match(u);){var p=!1,f=null,d=null,h=this.startNode();if(i&&this.isContextual(115)){var m=this.lookahead();14!==m.type&&17!==m.type&&(this.next(),f=this.state.startLoc,t=!1)}if(t&&this.isContextual(104)){var y=this.lookahead();14!==y.type&&17!==y.type&&(this.next(),p=!0)}var v=this.flowParseVariance();if(this.eat(0))null!=f&&this.unexpected(f),this.eat(0)?(v&&this.unexpected(v.loc.start),s.internalSlots.push(this.flowParseObjectTypeInternalSlot(h,p))):s.indexers.push(this.flowParseObjectTypeIndexer(h,p,v));else if(this.match(10)||this.match(47))null!=f&&this.unexpected(f),v&&this.unexpected(v.loc.start),s.callProperties.push(this.flowParseObjectTypeCallProperty(h,p));else{var g="init";(this.isContextual(98)||this.isContextual(103))&&pe(this.lookahead().type)&&(g=this.state.value,this.next());var D=this.flowParseObjectTypeProperty(h,p,f,v,g,r,null!=a?a:!l);null===D?(c=!0,d=this.state.lastTokStartLoc):s.properties.push(D)}this.flowObjectTypeSemicolon(),d&&!this.match(8)&&!this.match(9)&&this.raise(Hn.UnexpectedExplicitInexactInObject,{at:d})}this.expect(u),r&&(s.inexact=c);var b=this.finishNode(s,"ObjectTypeAnnotation");return this.state.inType=o,b}},{key:"flowParseObjectTypeProperty",value:function(e,t,n,r,i,a,o){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(a?o||this.raise(Hn.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(Hn.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),r&&this.raise(Hn.InexactVariance,{at:r}),null):(a||this.raise(Hn.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),null!=n&&this.unexpected(n),r&&this.raise(Hn.SpreadVariance,{at:r}),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=n,e.kind=i;var s=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=n&&this.unexpected(n),r&&this.unexpected(r.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start)),("get"===i||"set"===i)&&this.flowCheckGetterSetterParams(e),!a&&"constructor"===e.key.name&&e.value.this&&this.raise(Hn.ThisParamBannedInConstructor,{at:e.value.this})):("init"!==i&&this.unexpected(),e.method=!1,this.eat(17)&&(s=!0),e.value=this.flowParseTypeInitialiser(),e.variance=r),e.optional=s,this.finishNode(e,"ObjectTypeProperty")}},{key:"flowCheckGetterSetterParams",value:function(e){var t="get"===e.kind?0:1,n=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?Hn.GetterMayNotHaveThisParam:Hn.SetterMayNotHaveThisParam,{at:e.value.this}),n!==t&&this.raise("get"===e.kind?O.BadGetterArity:O.BadSetterArity,{at:e}),"set"===e.kind&&e.value.rest&&this.raise(O.BadSetterRestParameter,{at:e})}},{key:"flowObjectTypeSemicolon",value:function(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}},{key:"flowParseQualifiedTypeIdentifier",value:function(e,t,n){e=e||this.state.start,t=t||this.state.startLoc;for(var r=n||this.flowParseRestrictedIdentifier(!0);this.eat(16);){var i=this.startNodeAt(e,t);i.qualification=r,i.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(i,"QualifiedTypeIdentifier")}return r}},{key:"flowParseGenericType",value:function(e,t,n){var r=this.startNodeAt(e,t);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,t,n),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")}},{key:"flowParseTypeofType",value:function(){var e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}},{key:"flowParseTupleType",value:function(){var e=this.startNode();for(e.types=[],this.expect(0);this.state.pos0&&void 0!==arguments[0]?arguments[0]:[],t=null,n=null;for(this.match(78)&&((n=this.flowParseFunctionTypeParam(!0)).name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:n}}},{key:"flowIdentToTypeAnnotation",value:function(e,t,n,r){switch(r.name){case"any":return this.finishNode(n,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(n,"BooleanTypeAnnotation");case"mixed":return this.finishNode(n,"MixedTypeAnnotation");case"empty":return this.finishNode(n,"EmptyTypeAnnotation");case"number":return this.finishNode(n,"NumberTypeAnnotation");case"string":return this.finishNode(n,"StringTypeAnnotation");case"symbol":return this.finishNode(n,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(r.name),this.flowParseGenericType(e,t,r)}}},{key:"flowParsePrimaryType",value:function(){var e,t,r=this.state.start,o=this.state.startLoc,s=this.startNode(),u=!1,l=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,t=this.flowParseTupleType(),this.state.noAnonFunctionType=l,t;case 47:return s.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),e=this.flowParseFunctionTypeParams(),s.params=e.params,s.rest=e.rest,s.this=e._this,this.expect(11),this.expect(19),s.returnType=this.flowParseType(),this.finishNode(s,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(ue(this.state.type)||this.match(78)){var c=this.lookahead().type;u=17!==c&&14!==c}else u=!0;if(u){if(this.state.noAnonFunctionType=!1,t=this.flowParseType(),this.state.noAnonFunctionType=l,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),t;this.eat(12)}return e=t?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(t)]):this.flowParseFunctionTypeParams(),s.params=e.params,s.rest=e.rest,s.this=e._this,this.expect(11),this.expect(19),s.returnType=this.flowParseType(),s.typeParameters=null,this.finishNode(s,"FunctionTypeAnnotation");case 129:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return s.value=this.match(85),this.next(),this.finishNode(s,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(130))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",s);if(this.match(131))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",s);throw this.raise(Hn.UnexpectedSubtractionOperand,{at:this.state.startLoc})}throw this.unexpected();case 130:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(s,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(s,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(s,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(s,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(ve(this.state.type)){var p=Ee(this.state.type);return this.next(),i(a(n.prototype),"createIdentifier",this).call(this,s,p)}if(ue(this.state.type))return this.isContextual(125)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(r,o,s,this.parseIdentifier())}throw this.unexpected()}},{key:"flowParsePostfixType",value:function(){for(var e=this.state.start,t=this.state.startLoc,n=this.flowParsePrimaryType(),r=!1;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){var i=this.startNodeAt(e,t),a=this.eat(18);r=r||a,this.expect(0),!a&&this.match(3)?(i.elementType=n,this.next(),n=this.finishNode(i,"ArrayTypeAnnotation")):(i.objectType=n,i.indexType=this.flowParseType(),this.expect(3),r?(i.optional=a,n=this.finishNode(i,"OptionalIndexedAccessType")):n=this.finishNode(i,"IndexedAccessType"))}return n}},{key:"flowParsePrefixType",value:function(){var e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}},{key:"flowParseAnonFunctionWithoutParens",value:function(){var e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){var t=this.startNodeAt(e.start,e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e}},{key:"flowParseIntersectionType",value:function(){var e=this.startNode();this.eat(45);var t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}},{key:"flowParseUnionType",value:function(){var e=this.startNode();this.eat(43);var t=this.flowParseIntersectionType();for(e.types=[t];this.eat(43);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")}},{key:"flowParseType",value:function(){var e=this.state.inType;this.state.inType=!0;var t=this.flowParseUnionType();return this.state.inType=e,t}},{key:"flowParseTypeOrImplicitInstantiation",value:function(){if(128===this.state.type&&"_"===this.state.value){var e=this.state.start,t=this.state.startLoc,n=this.parseIdentifier();return this.flowParseGenericType(e,t,n)}return this.flowParseType()}},{key:"flowParseTypeAnnotation",value:function(){var e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}},{key:"flowParseTypeAnnotatableIdentifier",value:function(e){var t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),t}},{key:"typeCastToParameter",value:function(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}},{key:"flowParseVariance",value:function(){var e=null;return this.match(53)&&(e=this.startNode(),"+"===this.state.value?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")),e}},{key:"parseFunctionBody",value:function(e,t){var r=this,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t?this.forwardNoArrowParamsConversionAt(e,(function(){return i(a(n.prototype),"parseFunctionBody",r).call(r,e,!0,o)})):i(a(n.prototype),"parseFunctionBody",this).call(this,e,!1,o)}},{key:"parseFunctionBodyAndFinish",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.match(14)){var o,s,u=this.startNode();o=this.flowParseTypeAndPredicateInitialiser(),s=c(o,2),u.typeAnnotation=s[0],e.predicate=s[1],e.returnType=u.typeAnnotation?this.finishNode(u,"TypeAnnotation"):null}i(a(n.prototype),"parseFunctionBodyAndFinish",this).call(this,e,t,r)}},{key:"parseStatement",value:function(e,t){if(this.state.strict&&this.isContextual(125)){if(ce(this.lookahead().type)){var r=this.startNode();return this.next(),this.flowParseInterface(r)}}else if(this.shouldParseEnums()&&this.isContextual(122)){var o=this.startNode();return this.next(),this.flowParseEnumDeclaration(o)}var s=i(a(n.prototype),"parseStatement",this).call(this,e,t);return void 0===this.flowPragma&&!this.isValidDirective(s)&&(this.flowPragma=null),s}},{key:"parseExpressionStatement",value:function(e,t){if("Identifier"===t.type)if("declare"===t.name){if(this.match(80)||ue(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(ue(this.state.type)){if("interface"===t.name)return this.flowParseInterface(e);if("type"===t.name)return this.flowParseTypeAlias(e);if("opaque"===t.name)return this.flowParseOpaqueType(e,!1)}return i(a(n.prototype),"parseExpressionStatement",this).call(this,e,t)}},{key:"shouldParseExportDeclaration",value:function(){var e=this.state.type;return me(e)||this.shouldParseEnums()&&122===e?!this.state.containsEsc:i(a(n.prototype),"shouldParseExportDeclaration",this).call(this)}},{key:"isExportDefaultSpecifier",value:function(){var e=this.state.type;return me(e)||this.shouldParseEnums()&&122===e?this.state.containsEsc:i(a(n.prototype),"isExportDefaultSpecifier",this).call(this)}},{key:"parseExportDefaultExpression",value:function(){if(this.shouldParseEnums()&&this.isContextual(122)){var e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return i(a(n.prototype),"parseExportDefaultExpression",this).call(this)}},{key:"parseConditional",value:function(e,t,n,i){var a=this;if(!this.match(17))return e;if(this.state.maybeInArrowParameters&&(44===(g=this.lookaheadCharCode())||61===g||58===g||41===g))return this.setOptionalParametersError(i),e;this.expect(17);var o=this.state.clone(),s=this.state.noArrowAt,u=this.startNodeAt(t,n),l=this.tryParseConditionalConsequent(),p=l.consequent,f=l.failed,d=this.getArrowLikeExpressions(p),h=c(d,2),m=h[0],y=h[1];if(f||y.length>0){var v,g=r(s);if(y.length>0){var D,b,x;this.state=o,this.state.noArrowAt=g;for(var C=0;C1&&this.raise(Hn.AmbiguousConditionalArrow,{at:o.startLoc}),f&&1===m.length&&(this.state=o,g.push(m[0].start),this.state.noArrowAt=g,p=(v=this.tryParseConditionalConsequent()).consequent,f=v.failed)}return this.getArrowLikeExpressions(p,!0),this.state.noArrowAt=s,this.expect(14),u.test=e,u.consequent=p,u.alternate=this.forwardNoArrowParamsConversionAt(u,(function(){return a.parseMaybeAssign(void 0,void 0)})),this.finishNode(u,"ConditionalExpression")}},{key:"tryParseConditionalConsequent",value:function(){this.state.noArrowParamsConversionAt.push(this.state.start);var e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}},{key:"getArrowLikeExpressions",value:function(e,t){for(var n=this,r=[e],i=[];0!==r.length;){var a=r.pop();"ArrowFunctionExpression"===a.type?(a.typeParameters||!a.returnType?this.finishArrowValidation(a):i.push(a),r.push(a.body)):"ConditionalExpression"===a.type&&(r.push(a.consequent),r.push(a.alternate))}return t?(i.forEach((function(e){return n.finishArrowValidation(e)})),[i,[]]):Kn(i,(function(e){return e.params.every((function(e){return n.isAssignable(e,!0)}))}))}},{key:"finishArrowValidation",value:function(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingCommaLoc,!1),this.scope.enter(Ye|Ze),i(a(n.prototype),"checkParams",this).call(this,e,!1,!0),this.scope.exit()}},{key:"forwardNoArrowParamsConversionAt",value:function(e,t){var n;return-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),n=t(),this.state.noArrowParamsConversionAt.pop()):n=t(),n}},{key:"parseParenItem",value:function(e,t,r){if(e=i(a(n.prototype),"parseParenItem",this).call(this,e,t,r),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){var o=this.startNodeAt(t,r);return o.expression=e,o.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(o,"TypeCastExpression")}return e}},{key:"assertModuleNodeAllowed",value:function(e){"ImportDeclaration"===e.type&&("type"===e.importKind||"typeof"===e.importKind)||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"ExportAllDeclaration"===e.type&&"type"===e.exportKind||i(a(n.prototype),"assertModuleNodeAllowed",this).call(this,e)}},{key:"parseExport",value:function(e){var t=i(a(n.prototype),"parseExport",this).call(this,e);return("ExportNamedDeclaration"===t.type||"ExportAllDeclaration"===t.type)&&(t.exportKind=t.exportKind||"value"),t}},{key:"parseExportDeclaration",value:function(e){if(this.isContextual(126)){e.exportKind="type";var t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),this.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(127)){e.exportKind="type";var r=this.startNode();return this.next(),this.flowParseOpaqueType(r,!1)}if(this.isContextual(125)){e.exportKind="type";var o=this.startNode();return this.next(),this.flowParseInterface(o)}if(this.shouldParseEnums()&&this.isContextual(122)){e.exportKind="value";var s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}return i(a(n.prototype),"parseExportDeclaration",this).call(this,e)}},{key:"eatExportStar",value:function(e){return!!i(a(n.prototype),"eatExportStar",this).apply(this,arguments)||!(!this.isContextual(126)||55!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}},{key:"maybeParseExportNamespaceSpecifier",value:function(e){var t=this.state.startLoc,r=i(a(n.prototype),"maybeParseExportNamespaceSpecifier",this).call(this,e);return r&&"type"===e.exportKind&&this.unexpected(t),r}},{key:"parseClassId",value:function(e,t,r){i(a(n.prototype),"parseClassId",this).call(this,e,t,r),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}},{key:"parseClassMember",value:function(e,t,r){var o=this.state.startLoc;if(this.isContextual(121)){if(this.parseClassMemberFromModifier(e,t))return;t.declare=!0}i(a(n.prototype),"parseClassMember",this).call(this,e,t,r),t.declare&&("ClassProperty"!==t.type&&"ClassPrivateProperty"!==t.type&&"PropertyDefinition"!==t.type?this.raise(Hn.DeclareClassElement,{at:o}):t.value&&this.raise(Hn.DeclareClassFieldInitializer,{at:t.value}))}},{key:"isIterator",value:function(e){return"iterator"===e||"asyncIterator"===e}},{key:"readIterator",value:function(){var e=i(a(n.prototype),"readWord1",this).call(this),t="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(O.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t}),this.finishToken(128,t)}},{key:"getTokenFromCode",value:function(e){var t=this.input.charCodeAt(this.state.pos+1);return 123===e&&124===t?this.finishOp(6,2):!this.state.inType||62!==e&&60!==e?this.state.inType&&63===e?46===t?this.finishOp(18,2):this.finishOp(17,1):Ke(e,t,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):i(a(n.prototype),"getTokenFromCode",this).call(this,e):this.finishOp(62===e?48:47,1)}},{key:"isAssignable",value:function(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):i(a(n.prototype),"isAssignable",this).call(this,e,t)}},{key:"toAssignable",value:function(e){!(arguments.length>1&&void 0!==arguments[1]&&arguments[1])&&"AssignmentExpression"===e.type&&"TypeCastExpression"===e.left.type&&(e.left=this.typeCastToParameter(e.left)),i(a(n.prototype),"toAssignable",this).apply(this,arguments)}},{key:"toAssignableList",value:function(e,t,r){for(var o=0;o1||!t)&&this.raise(Hn.TypeCastInPattern,{at:i.typeAnnotation})}return e}},{key:"parseArrayLike",value:function(e,t,r,o){var s=i(a(n.prototype),"parseArrayLike",this).call(this,e,t,r,o);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(s.elements),s}},{key:"isValidLVal",value:function(e){for(var t,r=arguments.length,o=new Array(r>1?r-1:0),s=1;s0&&this.isThisParam(l[0])&&this.raise(Hn.ThisParamBannedInConstructor,{at:t})}else if("MethodDefinition"===t.type&&s&&t.value.params){var c=t.value.params;c.length>0&&this.isThisParam(c[0])&&this.raise(Hn.ThisParamBannedInConstructor,{at:t})}}},{key:"pushClassPrivateMethod",value:function(e,t,r,o){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),i(a(n.prototype),"pushClassPrivateMethod",this).call(this,e,t,r,o)}},{key:"parseClassSuper",value:function(e){if(i(a(n.prototype),"parseClassSuper",this).call(this,e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(110)){this.next();var t=e.implements=[];do{var r=this.startNode();r.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?r.typeParameters=this.flowParseTypeParameterInstantiation():r.typeParameters=null,t.push(this.finishNode(r,"ClassImplements"))}while(this.eat(12))}}},{key:"checkGetterSetterParams",value:function(e){i(a(n.prototype),"checkGetterSetterParams",this).call(this,e);var t=this.getObjectOrClassMethodParams(e);if(t.length>0){var r=t[0];this.isThisParam(r)&&"get"===e.kind?this.raise(Hn.GetterMayNotHaveThisParam,{at:r}):this.isThisParam(r)&&this.raise(Hn.SetterMayNotHaveThisParam,{at:r})}}},{key:"parsePropertyNamePrefixOperator",value:function(e){e.variance=this.flowParseVariance()}},{key:"parseObjPropValue",value:function(e,t,r,o,s,u,l,c){var p;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!l&&(p=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected()),i(a(n.prototype),"parseObjPropValue",this).call(this,e,t,r,o,s,u,l,c),p&&((e.value||e).typeParameters=p)}},{key:"parseAssignableListItemTypes",value:function(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(Hn.PatternIsOptional,{at:e}),this.isThisParam(e)&&this.raise(Hn.ThisParamMayNotBeOptional,{at:e}),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(Hn.ThisParamAnnotationRequired,{at:e}),this.match(29)&&this.isThisParam(e)&&this.raise(Hn.ThisParamNoDefault,{at:e}),this.resetEndLocation(e),e}},{key:"parseMaybeDefault",value:function(e,t,r){var o=i(a(n.prototype),"parseMaybeDefault",this).call(this,e,t,r);return"AssignmentPattern"===o.type&&o.typeAnnotation&&o.right.start0&&this.raise(Hn.ThisParamMustBeFirst,{at:e.params[o]});return i(a(n.prototype),"checkParams",this).apply(this,arguments)}}},{key:"parseParenAndDistinguishExpression",value:function(e){return i(a(n.prototype),"parseParenAndDistinguishExpression",this).call(this,e&&-1===this.state.noArrowAt.indexOf(this.state.start))}},{key:"parseSubscripts",value:function(e,t,r,o){var s=this;if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t)){this.next();var u=this.startNodeAt(t,r);u.callee=e,u.arguments=this.parseCallExpressionArguments(11,!1),e=this.finishNode(u,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){var l=this.state.clone(),c=this.tryParse((function(e){return s.parseAsyncArrowWithTypeParameters(t,r)||e()}),l);if(!c.error&&!c.aborted)return c.node;var p=this.tryParse((function(){return i(a(n.prototype),"parseSubscripts",s).call(s,e,t,r,o)}),l);if(p.node&&!p.error)return p.node;if(c.node)return this.state=c.failState,c.node;if(p.node)return this.state=p.failState,p.node;throw c.error||p.error}return i(a(n.prototype),"parseSubscripts",this).call(this,e,t,r,o)}},{key:"parseSubscript",value:function(e,t,r,o,s){var u=this;if(this.match(18)&&this.isLookaheadToken_lt()){if(s.optionalChainMember=!0,o)return s.stop=!0,e;this.next();var l=this.startNodeAt(t,r);return l.callee=e,l.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),l.arguments=this.parseCallExpressionArguments(11,!1),l.optional=!0,this.finishCallExpression(l,!0)}if(!o&&this.shouldParseTypes()&&this.match(47)){var c=this.startNodeAt(t,r);c.callee=e;var p=this.tryParse((function(){return c.typeArguments=u.flowParseTypeParameterInstantiationCallOrNew(),u.expect(10),c.arguments=u.parseCallExpressionArguments(11,!1),s.optionalChainMember&&(c.optional=!1),u.finishCallExpression(c,s.optionalChainMember)}));if(p.node)return p.error&&(this.state=p.failState),p.node}return i(a(n.prototype),"parseSubscript",this).call(this,e,t,r,o,s)}},{key:"parseNewCallee",value:function(e){var t=this;i(a(n.prototype),"parseNewCallee",this).call(this,e);var r=null;this.shouldParseTypes()&&this.match(47)&&(r=this.tryParse((function(){return t.flowParseTypeParameterInstantiationCallOrNew()})).node),e.typeArguments=r}},{key:"parseAsyncArrowWithTypeParameters",value:function(e,t){var n=this.startNodeAt(e,t);if(this.parseFunctionParams(n),this.parseArrow(n))return this.parseArrowExpression(n,void 0,!0)}},{key:"readToken_mult_modulo",value:function(e){var t=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===t&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();i(a(n.prototype),"readToken_mult_modulo",this).call(this,e)}},{key:"readToken_pipe_amp",value:function(e){var t=this.input.charCodeAt(this.state.pos+1);124!==e||125!==t?i(a(n.prototype),"readToken_pipe_amp",this).call(this,e):this.finishOp(9,2)}},{key:"parseTopLevel",value:function(e,t){var r=i(a(n.prototype),"parseTopLevel",this).call(this,e,t);return this.state.hasFlowComment&&this.raise(Hn.UnterminatedFlowComment,{at:this.state.curPosition()}),r}},{key:"skipBlockComment",value:function(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Hn.NestedFlowComment,{at:this.state.startLoc});return this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),void(this.state.hasFlowComment=!0)}if(!this.state.hasFlowComment)return i(a(n.prototype),"skipBlockComment",this).call(this);var e=this.input.indexOf("*-/",this.state.pos+2);if(-1===e)throw this.raise(O.UnterminatedComment,{at:this.state.curPosition()});this.state.pos=e+2+3}},{key:"skipFlowComment",value:function(){for(var e=this.state.pos,t=2;[32,9].includes(this.input.charCodeAt(e+t));)t++;var n=this.input.charCodeAt(t+e),r=this.input.charCodeAt(t+e+1);return 58===n&&58===r?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===n&&58!==r&&t}},{key:"hasFlowCommentCompletion",value:function(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(O.UnterminatedComment,{at:this.state.curPosition()})}},{key:"flowEnumErrorBooleanMemberNotInitialized",value:function(e,t){var n=t.enumName,r=t.memberName;this.raise(Hn.EnumBooleanMemberNotInitialized,{at:e,memberName:r,enumName:n})}},{key:"flowEnumErrorInvalidMemberInitializer",value:function(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?Hn.EnumInvalidMemberInitializerSymbolType:Hn.EnumInvalidMemberInitializerPrimaryType:Hn.EnumInvalidMemberInitializerUnknownType,Object.assign({at:e},t))}},{key:"flowEnumErrorNumberMemberNotInitialized",value:function(e,t){var n=t.enumName,r=t.memberName;this.raise(Hn.EnumNumberMemberNotInitialized,{at:e,enumName:n,memberName:r})}},{key:"flowEnumErrorStringMemberInconsistentlyInitailized",value:function(e,t){var n=t.enumName;this.raise(Hn.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:n})}},{key:"flowEnumMemberInit",value:function(){var e=this,t=this.state.startLoc,n=function(){return e.match(12)||e.match(8)};switch(this.state.type){case 130:var r=this.parseNumericLiteral(this.state.value);return n()?{type:"number",loc:r.loc.start,value:r}:{type:"invalid",loc:t};case 129:var i=this.parseStringLiteral(this.state.value);return n()?{type:"string",loc:i.loc.start,value:i}:{type:"invalid",loc:t};case 85:case 86:var a=this.parseBooleanLiteral(this.match(85));return n()?{type:"boolean",loc:a.loc.start,value:a}:{type:"invalid",loc:t};default:return{type:"invalid",loc:t}}}},{key:"flowEnumMemberRaw",value:function(){var e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e}}}},{key:"flowEnumCheckExplicitTypeMismatch",value:function(e,t,n){var r=t.explicitType;null!==r&&r!==n&&this.flowEnumErrorInvalidMemberInitializer(e,t)}},{key:"flowEnumMembers",value:function(e){for(var t=e.enumName,n=e.explicitType,r=new Set,i={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},a=!1;!this.match(8);){if(this.eat(21)){a=!0;break}var o=this.startNode(),s=this.flowEnumMemberRaw(),u=s.id,l=s.init,c=u.name;if(""!==c){/^[a-z]/.test(c)&&this.raise(Hn.EnumInvalidMemberName,{at:u,memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:t}),r.has(c)&&this.raise(Hn.EnumDuplicateMemberName,{at:u,memberName:c,enumName:t}),r.add(c);var p={enumName:t,explicitType:n,memberName:c};switch(o.id=u,l.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(l.loc,p,"boolean"),o.init=l.value,i.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(l.loc,p,"number"),o.init=l.value,i.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(l.loc,p,"string"),o.init=l.value,i.stringMembers.push(this.finishNode(o,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(l.loc,p);case"none":switch(n){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(l.loc,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(l.loc,p);break;default:i.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}}return{members:i,hasUnknownMembers:a}}},{key:"flowEnumStringMembers",value:function(e,t,n){var r=n.enumName;if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){var i,a=p(e);try{for(a.s();!(i=a.n()).done;){var o=i.value;this.flowEnumErrorStringMemberInconsistentlyInitailized(o,{enumName:r})}}catch(c){a.e(c)}finally{a.f()}return t}var s,u=p(t);try{for(u.s();!(s=u.n()).done;){var l=s.value;this.flowEnumErrorStringMemberInconsistentlyInitailized(l,{enumName:r})}}catch(c){u.e(c)}finally{u.f()}return e}},{key:"flowEnumParseExplicitType",value:function(e){var t=e.enumName;if(!this.eatContextual(101))return null;if(!ue(this.state.type))throw this.raise(Hn.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:t});var n=this.state.value;return this.next(),"boolean"!==n&&"number"!==n&&"string"!==n&&"symbol"!==n&&this.raise(Hn.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:t,invalidEnumType:n}),n}},{key:"flowEnumBody",value:function(e,t){var n=this,r=t.name,i=t.loc.start,a=this.flowEnumParseExplicitType({enumName:r});this.expect(5);var o=this.flowEnumMembers({enumName:r,explicitType:a}),s=o.members,u=o.hasUnknownMembers;switch(e.hasUnknownMembers=u,a){case"boolean":return e.explicitType=!0,e.members=s.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=s.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=s.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:var l=function(){return e.members=[],n.expect(8),n.finishNode(e,"EnumStringBody")};e.explicitType=!1;var c=s.booleanMembers.length,f=s.numberMembers.length,d=s.stringMembers.length,h=s.defaultedMembers.length;if(!c&&!f&&!d&&!h)return l();if(!c&&!f)return e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!f&&!d&&c>=h){var m,y=p(s.defaultedMembers);try{for(y.s();!(m=y.n()).done;){var v=m.value;this.flowEnumErrorBooleanMemberNotInitialized(v.loc.start,{enumName:r,memberName:v.id.name})}}catch(x){y.e(x)}finally{y.f()}return e.members=s.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!c&&!d&&f>=h){var g,D=p(s.defaultedMembers);try{for(D.s();!(g=D.n()).done;){var b=g.value;this.flowEnumErrorNumberMemberNotInitialized(b.loc.start,{enumName:r,memberName:b.id.name})}}catch(x){D.e(x)}finally{D.f()}return e.members=s.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.raise(Hn.EnumInconsistentMemberValues,{at:i,enumName:r}),l()}}},{key:"flowParseEnumDeclaration",value:function(e){var t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),this.finishNode(e,"EnumDeclaration")}},{key:"isLookaheadToken_lt",value:function(){var e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){var t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}},{key:"maybeUnwrapTypeCastExpression",value:function(e){return"TypeCastExpression"===e.type?e.expression:e}}]),n}(e)},Xn={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},Qn=L(d||(d=y(["jsx"])))((function(e){return{AttributeIsEmpty:e("JSX attributes must only be assigned a non-empty expression."),MissingClosingTagElement:e((function(e){var t=e.openingTagName;return"Expected corresponding JSX closing tag for <".concat(t,">.")})),MissingClosingTagFragment:e("Expected corresponding JSX closing tag for <>."),UnexpectedSequenceExpression:e("Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?"),UnexpectedToken:e((function(e){var t=e.unexpected,n=e.HTMLEntity;return"Unexpected token `".concat(t,"`. Did you mean `").concat(n,"` or `{'").concat(t,"'}`?")})),UnsupportedJsxValue:e("JSX value should be either an expression or a quoted JSX text."),UnterminatedJsxContent:e("Unterminated JSX contents."),UnwrappedAdjacentJSXElements:e("Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?")}}));function Yn(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function Zn(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return Zn(e.object)+"."+Zn(e.property);throw new Error("Node had unexpected type: "+e.type)}var er=function(e){return function(e){o(n,e);var t=s(n);function n(){return l(this,n),t.apply(this,arguments)}return u(n,[{key:"jsxReadToken",value:function(){for(var e="",t=this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(Qn.UnterminatedJsxContent,{at:this.state.startLoc});var r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:return this.state.pos===this.state.start?60===r&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(138)):i(a(n.prototype),"getTokenFromCode",this).call(this,r):(e+=this.input.slice(t,this.state.pos),this.finishToken(137,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:Jt(r)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}},{key:"jsxReadNewLine",value:function(e){var t,n=this.input.charCodeAt(this.state.pos);return++this.state.pos,13===n&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(n),++this.state.curLine,this.state.lineStart=this.state.pos,t}},{key:"jsxReadString",value:function(e){for(var t="",n=++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(O.UnterminatedString,{at:this.state.startLoc});var r=this.input.charCodeAt(this.state.pos);if(r===e)break;38===r?(t+=this.input.slice(n,this.state.pos),t+=this.jsxReadEntity(),n=this.state.pos):Jt(r)?(t+=this.input.slice(n,this.state.pos),t+=this.jsxReadNewLine(!1),n=this.state.pos):++this.state.pos}return t+=this.input.slice(n,this.state.pos++),this.finishToken(129,t)}},{key:"jsxReadEntity",value:function(){var e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;var t=10;120===this.codePointAtPos(this.state.pos)&&(t=16,++this.state.pos);var n=this.readInt(t,void 0,!1,"bail");if(null!==n&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(n)}else{for(var r=0,i=!1;r++<10&&this.state.pos() => ...`."),ReservedTypeAssertion:e("This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),SetAccesorCannotHaveOptionalParameter:e("A 'set' accessor cannot have an optional parameter."),SetAccesorCannotHaveRestParameter:e("A 'set' accessor cannot have rest parameter."),SetAccesorCannotHaveReturnType:e("A 'set' accessor cannot have a return type annotation."),SingleTypeParameterWithoutTrailingComma:e((function(e){var t=e.typeParameterName;return"Single type parameter ".concat(t," should have a trailing comma. Example usage: <").concat(t,",>.")})),StaticBlockCannotHaveModifier:e("Static class blocks cannot have any modifier."),TypeAnnotationAfterAssign:e("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeImportCannotSpecifyDefaultAndNamed:e("A type-only import can specify a default import or named bindings, but not both."),TypeModifierIsUsedInTypeExports:e("The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),TypeModifierIsUsedInTypeImports:e("The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),UnexpectedParameterModifier:e("A parameter property is only allowed in a constructor implementation."),UnexpectedReadonly:e("'readonly' type modifier is only permitted on array and tuple literal types."),UnexpectedTypeAnnotation:e("Did not expect a type annotation here."),UnexpectedTypeCastInParameter:e("Unexpected type cast in parameter position."),UnsupportedImportTypeArgument:e("Argument in a type import must be a string literal."),UnsupportedParameterPropertyKind:e("A parameter property may not be declared using a binding pattern."),UnsupportedSignatureParameterKind:e((function(e){var t=e.type;return"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ".concat(t,".")}))}}));function ur(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function lr(e){return"private"===e||"public"===e||"protected"===e}function cr(e){return"in"===e||"out"===e}var pr=function(e){return function(e){o(n,e);var t=s(n);function n(){return l(this,n),t.apply(this,arguments)}return u(n,[{key:"getScopeHandler",value:function(){return nr}},{key:"tsIsIdentifier",value:function(){return ue(this.state.type)}},{key:"tsTokenCanFollowModifier",value:function(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(134)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}},{key:"tsNextTokenCanFollowModifier",value:function(){return this.next(),this.tsTokenCanFollowModifier()}},{key:"tsParseModifier",value:function(e,t){if(ue(this.state.type)||58===this.state.type){var n=this.state.value;if(-1!==e.indexOf(n)){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return n}}}},{key:"tsParseModifiers",value:function(e){for(var t=this,n=e.modified,r=e.allowedModifiers,i=e.disallowedModifiers,a=e.stopOnStartOfClassStaticBlock,o=e.errorTemplate,s=void 0===o?sr.InvalidModifierOnTypeMember:o,u=function(e,r,i,a){r===i&&n[a]&&t.raise(sr.InvalidModifiersOrder,{at:e,orderedModifiers:[i,a]})},l=function(e,r,i,a){(n[i]&&r===a||n[a]&&r===i)&&t.raise(sr.IncompatibleModifiers,{at:e,modifiers:[i,a]})};;){var c=this.state.startLoc,p=this.tsParseModifier(r.concat(null!=i?i:[]),a);if(!p)break;lr(p)?n.accessibility?this.raise(sr.DuplicateAccessibilityModifier,{at:c,modifier:p}):(u(c,p,p,"override"),u(c,p,p,"static"),u(c,p,p,"readonly"),n.accessibility=p):cr(p)?(n[p]&&this.raise(sr.DuplicateModifier,{at:c,modifier:p}),n[p]=!0,u(c,p,"in","out")):(Object.hasOwnProperty.call(n,p)?this.raise(sr.DuplicateModifier,{at:c,modifier:p}):(u(c,p,"static","readonly"),u(c,p,"static","override"),u(c,p,"override","readonly"),u(c,p,"abstract","override"),l(c,p,"declare","override"),l(c,p,"static","abstract")),n[p]=!0),null!=i&&i.includes(p)&&this.raise(s,{at:c,modifier:p})}}},{key:"tsIsListTerminator",value:function(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}throw new Error("Unreachable")}},{key:"tsParseList",value:function(e,t){for(var n=[];!this.tsIsListTerminator(e);)n.push(t());return n}},{key:"tsParseDelimitedList",value:function(e,t,n){return ir(this.tsParseDelimitedListWorker(e,t,!0,n))}},{key:"tsParseDelimitedListWorker",value:function(e,t,n,r){for(var i=[],a=-1;!this.tsIsListTerminator(e);){a=-1;var o=t();if(null==o)return;if(i.push(o),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(n&&this.expect(12))}a=this.state.lastTokStart}return r&&(r.value=a),i}},{key:"tsParseBracketedList",value:function(e,t,n,r,i){r||(n?this.expect(0):this.expect(47));var a=this.tsParseDelimitedList(e,t,i);return n?this.expect(3):this.expect(48),a}},{key:"tsParseImportType",value:function(){var e=this.startNode();return this.expect(83),this.expect(10),this.match(129)||this.raise(sr.UnsupportedImportTypeArgument,{at:this.state.startLoc}),e.argument=this.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}},{key:"tsParseEntityName",value:function(){for(var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.parseIdentifier(e);this.eat(16);){var n=this.startNodeAtNode(t);n.left=t,n.right=this.parseIdentifier(e),t=this.finishNode(n,"TSQualifiedName")}return t}},{key:"tsParseTypeReference",value:function(){var e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}},{key:"tsParseThisTypePredicate",value:function(e){this.next();var t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")}},{key:"tsParseThisTypeNode",value:function(){var e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}},{key:"tsParseTypeQuery",value:function(){var e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}},{key:"tsParseInOutModifiers",value:function(e){this.tsParseModifiers({modified:e,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:sr.InvalidModifierOnTypeParameter})}},{key:"tsParseNoneModifiers",value:function(e){this.tsParseModifiers({modified:e,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:sr.InvalidModifierOnTypeParameterPositions})}},{key:"tsParseTypeParameter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tsParseNoneModifiers.bind(this),t=this.startNode();return e(t),t.name=this.tsParseTypeParameterName(),t.constraint=this.tsEatThenParseType(81),t.default=this.tsEatThenParseType(29),this.finishNode(t,"TSTypeParameter")}},{key:"tsTryParseTypeParameters",value:function(e){if(this.match(47))return this.tsParseTypeParameters(e)}},{key:"tsParseTypeParameters",value:function(e){var t=this.startNode();this.match(47)||this.match(138)?this.next():this.unexpected();var n={value:-1};return t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,n),0===t.params.length&&this.raise(sr.EmptyTypeParameters,{at:t}),-1!==n.value&&this.addExtra(t,"trailingComma",n.value),this.finishNode(t,"TSTypeParameterDeclaration")}},{key:"tsTryNextParseConstantContext",value:function(){if(75!==this.lookahead().type)return null;this.next();var e=this.tsParseTypeReference();return e.typeParameters&&this.raise(sr.CannotFindName,{at:e.typeName,name:"const"}),e}},{key:"tsFillSignature",value:function(e,t){var n=19===e,r="parameters",i="typeAnnotation";t.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),t[r]=this.tsParseBindingListForSignature(),(n||this.match(e))&&(t[i]=this.tsParseTypeOrTypePredicateAnnotation(e))}},{key:"tsParseBindingListForSignature",value:function(){var e=this;return this.parseBindingList(11,41).map((function(t){return"Identifier"!==t.type&&"RestElement"!==t.type&&"ObjectPattern"!==t.type&&"ArrayPattern"!==t.type&&e.raise(sr.UnsupportedSignatureParameterKind,{at:t,type:t.type}),t}))}},{key:"tsParseTypeMemberSemicolon",value:function(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}},{key:"tsParseSignatureMember",value:function(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}},{key:"tsIsUnambiguouslyIndexSignature",value:function(){return this.next(),!!ue(this.state.type)&&(this.next(),this.match(14))}},{key:"tsTryParseIndexSignature",value:function(e){if(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))){this.expect(0);var t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];var n=this.tsTryParseTypeAnnotation();return n&&(e.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}}},{key:"tsParsePropertyOrMethodSignature",value:function(e,t){this.eat(17)&&(e.optional=!0);var n=e;if(this.match(10)||this.match(47)){t&&this.raise(sr.ReadonlyForMethodSignature,{at:e});var r=n;r.kind&&this.match(47)&&this.raise(sr.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon();var i="parameters",a="typeAnnotation";if("get"===r.kind)r[i].length>0&&(this.raise(O.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(r[i][0])&&this.raise(sr.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if("set"===r.kind){if(1!==r[i].length)this.raise(O.BadSetterArity,{at:this.state.curPosition()});else{var o=r[i][0];this.isThisParam(o)&&this.raise(sr.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),"Identifier"===o.type&&o.optional&&this.raise(sr.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),"RestElement"===o.type&&this.raise(sr.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}r[a]&&this.raise(sr.SetAccesorCannotHaveReturnType,{at:r[a]})}else r.kind="method";return this.finishNode(r,"TSMethodSignature")}var s=n;t&&(s.readonly=!0);var u=this.tsTryParseTypeAnnotation();return u&&(s.typeAnnotation=u),this.tsParseTypeMemberSemicolon(),this.finishNode(s,"TSPropertySignature")}},{key:"tsParseTypeMember",value:function(){var e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){var t=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}return this.tsParseModifiers({modified:e,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]}),this.tsTryParseIndexSignature(e)||(this.parsePropertyName(e),!e.computed&&"Identifier"===e.key.type&&("get"===e.key.name||"set"===e.key.name)&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,this.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}},{key:"tsParseTypeLiteral",value:function(){var e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}},{key:"tsParseObjectTypeMembers",value:function(){this.expect(5);var e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}},{key:"tsIsStartOfMappedType",value:function(){return this.next(),this.eat(53)?this.isContextual(118):(this.isContextual(118)&&this.next(),!(!this.match(0)||(this.next(),!this.tsIsIdentifier()))&&(this.next(),this.match(58)))}},{key:"tsParseMappedTypeParameter",value:function(){var e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}},{key:"tsParseMappedType",value:function(){var e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(118)):this.eatContextual(118)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}},{key:"tsParseTupleType",value:function(){var e=this,t=this.startNode();t.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);var n=!1,r=null;return t.elementTypes.forEach((function(t){var i,a=t.type;n&&"TSRestType"!==a&&"TSOptionalType"!==a&&!("TSNamedTupleMember"===a&&t.optional)&&e.raise(sr.OptionalTypeBeforeRequired,{at:t}),n=n||"TSNamedTupleMember"===a&&t.optional||"TSOptionalType"===a,"TSRestType"===a&&(a=(t=t.typeAnnotation).type);var o="TSNamedTupleMember"===a;(r=null!=(i=r)?i:o)!==o&&e.raise(sr.MixedLabeledAndUnlabeledElements,{at:t})})),this.finishNode(t,"TSTupleType")}},{key:"tsParseTupleElementType",value:function(){var e=this.state,t=e.start,n=e.startLoc,r=this.eat(21),i=this.tsParseType(),a=this.eat(17);if(this.eat(14)){var o=this.startNodeAtNode(i);o.optional=a,"TSTypeReference"!==i.type||i.typeParameters||"Identifier"!==i.typeName.type?(this.raise(sr.InvalidTupleMemberLabel,{at:i}),o.label=i):o.label=i.typeName,o.elementType=this.tsParseType(),i=this.finishNode(o,"TSNamedTupleMember")}else if(a){var s=this.startNodeAtNode(i);s.typeAnnotation=i,i=this.finishNode(s,"TSOptionalType")}if(r){var u=this.startNodeAt(t,n);u.typeAnnotation=i,i=this.finishNode(u,"TSRestType")}return i}},{key:"tsParseParenthesizedType",value:function(){var e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}},{key:"tsParseFunctionOrConstructorType",value:function(e,t){var n=this.startNode();return"TSConstructorType"===e&&(n.abstract=!!t,t&&this.next(),this.next()),this.tsFillSignature(19,n),this.finishNode(n,e)}},{key:"tsParseLiteralTypeNode",value:function(){var e=this,t=this.startNode();return t.literal=function(){switch(e.state.type){case 130:case 131:case 129:case 85:case 86:return e.parseExprAtom();default:throw e.unexpected()}}(),this.finishNode(t,"TSLiteralType")}},{key:"tsParseTemplateLiteralType",value:function(){var e=this.startNode();return e.literal=this.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}},{key:"parseTemplateSubstitution",value:function(){return this.state.inType?this.tsParseType():i(a(n.prototype),"parseTemplateSubstitution",this).call(this)}},{key:"tsParseThisTypeOrThisTypePredicate",value:function(){var e=this.tsParseThisTypeNode();return this.isContextual(113)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}},{key:"tsParseNonArrayType",value:function(){switch(this.state.type){case 129:case 130:case 131:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){var e=this.startNode(),t=this.lookahead();if(130!==t.type&&131!==t.type)throw this.unexpected();return e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:var n=this.state.type;if(ue(n)||88===n||84===n){var r=88===n?"TSVoidKeyword":84===n?"TSNullKeyword":ur(this.state.value);if(void 0!==r&&46!==this.lookaheadCharCode()){var i=this.startNode();return this.next(),this.finishNode(i,r)}return this.tsParseTypeReference()}}throw this.unexpected()}},{key:"tsParseArrayTypeOrHigher",value:function(){for(var e=this.tsParseNonArrayType();!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){var t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,"TSArrayType")}else{var n=this.startNodeAtNode(e);n.objectType=e,n.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(n,"TSIndexedAccessType")}return e}},{key:"tsParseTypeOperator",value:function(){var e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}},{key:"tsCheckTypeAnnotationForReadOnly",value:function(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(sr.UnexpectedReadonly,{at:e})}}},{key:"tsParseInferType",value:function(){var e=this,t=this.startNode();this.expectContextual(112);var n=this.startNode();return n.name=this.tsParseTypeParameterName(),n.constraint=this.tsTryParse((function(){return e.tsParseConstraintForInferType()})),t.typeParameter=this.finishNode(n,"TSTypeParameter"),this.finishNode(t,"TSInferType")}},{key:"tsParseConstraintForInferType",value:function(){var e=this;if(this.eat(81)){var t=this.tsInDisallowConditionalTypesContext((function(){return e.tsParseType()}));if(this.state.inDisallowConditionalTypesContext||!this.match(17))return t}}},{key:"tsParseTypeOperatorOrHigher",value:function(){var e=this;return xe(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(112)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((function(){return e.tsParseArrayTypeOrHigher()}))}},{key:"tsParseUnionOrIntersectionType",value:function(e,t,n){var r=this.startNode(),i=this.eat(n),a=[];do{a.push(t())}while(this.eat(n));return 1!==a.length||i?(r.types=a,this.finishNode(r,e)):a[0]}},{key:"tsParseIntersectionTypeOrHigher",value:function(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}},{key:"tsParseUnionTypeOrHigher",value:function(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}},{key:"tsIsStartOfFunctionType",value:function(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}},{key:"tsSkipParameterStart",value:function(){if(ue(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){var e=this.state.errors,t=e.length;try{return this.parseObjectLike(8,!0),e.length===t}catch(i){return!1}}if(this.match(0)){this.next();var n=this.state.errors,r=n.length;try{return this.parseBindingList(3,93,!0),n.length===r}catch(a){return!1}}return!1}},{key:"tsIsUnambiguouslyStartOfFunctionType",value:function(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}},{key:"tsParseTypeOrTypePredicateAnnotation",value:function(e){var t=this;return this.tsInType((function(){var n=t.startNode();t.expect(e);var r=t.startNode(),i=!!t.tsTryParse(t.tsParseTypePredicateAsserts.bind(t));if(i&&t.match(78)){var a=t.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===a.type?(r.parameterName=a,r.asserts=!0,r.typeAnnotation=null,a=t.finishNode(r,"TSTypePredicate")):(t.resetStartLocationFromNode(a,r),a.asserts=!0),n.typeAnnotation=a,t.finishNode(n,"TSTypeAnnotation")}var o=t.tsIsIdentifier()&&t.tsTryParse(t.tsParseTypePredicatePrefix.bind(t));if(!o)return i?(r.parameterName=t.parseIdentifier(),r.asserts=i,r.typeAnnotation=null,n.typeAnnotation=t.finishNode(r,"TSTypePredicate"),t.finishNode(n,"TSTypeAnnotation")):t.tsParseTypeAnnotation(!1,n);var s=t.tsParseTypeAnnotation(!1);return r.parameterName=o,r.typeAnnotation=s,r.asserts=i,n.typeAnnotation=t.finishNode(r,"TSTypePredicate"),t.finishNode(n,"TSTypeAnnotation")}))}},{key:"tsTryParseTypeOrTypePredicateAnnotation",value:function(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}},{key:"tsTryParseTypeAnnotation",value:function(){return this.match(14)?this.tsParseTypeAnnotation():void 0}},{key:"tsTryParseType",value:function(){return this.tsEatThenParseType(14)}},{key:"tsParseTypePredicatePrefix",value:function(){var e=this.parseIdentifier();if(this.isContextual(113)&&!this.hasPrecedingLineBreak())return this.next(),e}},{key:"tsParseTypePredicateAsserts",value:function(){if(106!==this.state.type)return!1;var e=this.state.containsEsc;return this.next(),!(!ue(this.state.type)&&!this.match(78))&&(e&&this.raise(O.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}},{key:"tsParseTypeAnnotation",value:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.startNode();return this.tsInType((function(){t&&e.expect(14),n.typeAnnotation=e.tsParseType()})),this.finishNode(n,"TSTypeAnnotation")}},{key:"tsParseType",value:function(){var e=this;ar(this.state.inType);var t=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return t;var n=this.startNodeAtNode(t);return n.checkType=t,n.extendsType=this.tsInDisallowConditionalTypesContext((function(){return e.tsParseNonConditionalType()})),this.expect(17),n.trueType=this.tsInAllowConditionalTypesContext((function(){return e.tsParseType()})),this.expect(14),n.falseType=this.tsInAllowConditionalTypesContext((function(){return e.tsParseType()})),this.finishNode(n,"TSConditionalType")}},{key:"isAbstractConstructorSignature",value:function(){return this.isContextual(120)&&77===this.lookahead().type}},{key:"tsParseNonConditionalType",value:function(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}},{key:"tsParseTypeAssertion",value:function(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(sr.ReservedTypeAssertion,{at:this.state.startLoc});var e=this.startNode(),t=this.tsTryNextParseConstantContext();return e.typeAnnotation=t||this.tsNextThenParseType(),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}},{key:"tsParseHeritageClause",value:function(e){var t=this,n=this.state.startLoc,r=this.tsParseDelimitedList("HeritageClauseElement",(function(){var e=t.startNode();return e.expression=t.tsParseEntityName(),t.match(47)&&(e.typeParameters=t.tsParseTypeArguments()),t.finishNode(e,"TSExpressionWithTypeArguments")}));return r.length||this.raise(sr.EmptyHeritageClauseType,{at:n,token:e}),r}},{key:"tsParseInterfaceDeclaration",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(125),t.declare&&(e.declare=!0),ue(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,Ct)):(e.id=null,this.raise(sr.MissingInterfaceName,{at:this.state.startLoc})),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));var n=this.startNode();return n.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(n,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}},{key:"tsParseTypeAliasDeclaration",value:function(e){var t=this;return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,Et),e.typeAnnotation=this.tsInType((function(){if(e.typeParameters=t.tsTryParseTypeParameters(t.tsParseInOutModifiers.bind(t)),t.expect(29),t.isContextual(111)&&16!==t.lookahead().type){var n=t.startNode();return t.next(),t.finishNode(n,"TSIntrinsicKeyword")}return t.tsParseType()})),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}},{key:"tsInNoContext",value:function(e){var t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}},{key:"tsInType",value:function(e){var t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}},{key:"tsInDisallowConditionalTypesContext",value:function(e){var t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}},{key:"tsInAllowConditionalTypesContext",value:function(e){var t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}},{key:"tsEatThenParseType",value:function(e){return this.match(e)?this.tsNextThenParseType():void 0}},{key:"tsExpectThenParseType",value:function(e){var t=this;return this.tsDoThenParseType((function(){return t.expect(e)}))}},{key:"tsNextThenParseType",value:function(){var e=this;return this.tsDoThenParseType((function(){return e.next()}))}},{key:"tsDoThenParseType",value:function(e){var t=this;return this.tsInType((function(){return e(),t.tsParseType()}))}},{key:"tsParseEnumMember",value:function(){var e=this.startNode();return e.id=this.match(129)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(29)&&(e.initializer=this.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}},{key:"tsParseEnumDeclaration",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(122),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?Ft:At),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}},{key:"tsParseModuleBlock",value:function(){var e=this.startNode();return this.scope.enter(Xe),this.expect(5),this.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}},{key:"tsParseModuleOrNamespaceDeclaration",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,Tt),this.eat(16)){var n=this.startNode();this.tsParseModuleOrNamespaceDeclaration(n,!0),e.body=n}else this.scope.enter(at),this.prodParam.enter(kn),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}},{key:"tsParseAmbientExternalModuleDeclaration",value:function(e){return this.isContextual(109)?(e.global=!0,e.id=this.parseIdentifier()):this.match(129)?e.id=this.parseExprAtom():this.unexpected(),this.match(5)?(this.scope.enter(at),this.prodParam.enter(kn),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}},{key:"tsParseImportEqualsDeclaration",value:function(e,t){e.isExport=t||!1,e.id=this.parseIdentifier(),this.checkIdentifier(e.id,Dt),this.expect(29);var n=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==n.type&&this.raise(sr.ImportAliasHasImportType,{at:n}),e.moduleReference=n,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}},{key:"tsIsExternalModuleReference",value:function(){return this.isContextual(116)&&40===this.lookaheadCharCode()}},{key:"tsParseModuleReference",value:function(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}},{key:"tsParseExternalModuleReference",value:function(){var e=this.startNode();if(this.expectContextual(116),this.expect(10),!this.match(129))throw this.unexpected();return e.expression=this.parseExprAtom(),this.expect(11),this.finishNode(e,"TSExternalModuleReference")}},{key:"tsLookAhead",value:function(e){var t=this.state.clone(),n=e();return this.state=t,n}},{key:"tsTryParseAndCatch",value:function(e){var t=this.tryParse((function(t){return e()||t()}));if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node}},{key:"tsTryParse",value:function(e){var t=this.state.clone(),n=e();if(void 0!==n&&!1!==n)return n;this.state=t}},{key:"tsTryParseDeclare",value:function(e){var t=this;if(!this.isLineTerminator()){var n,r=this.state.type;return this.isContextual(99)&&(r=74,n="let"),this.tsInAmbientContext((function(){if(68===r)return e.declare=!0,t.parseFunctionStatement(e,!1,!0);if(80===r)return e.declare=!0,t.parseClass(e,!0,!1);if(122===r)return t.tsParseEnumDeclaration(e,{declare:!0});if(109===r)return t.tsParseAmbientExternalModuleDeclaration(e);if(75===r||74===r)return t.match(75)&&t.isLookaheadContextual("enum")?(t.expect(75),t.tsParseEnumDeclaration(e,{const:!0,declare:!0})):(e.declare=!0,t.parseVarStatement(e,n||t.state.value,!0));if(125===r){var i=t.tsParseInterfaceDeclaration(e,{declare:!0});if(i)return i}return ue(r)?t.tsParseDeclaration(e,t.state.value,!0):void 0}))}}},{key:"tsTryParseExportDeclaration",value:function(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}},{key:"tsParseExpressionStatement",value:function(e,t){switch(t.name){case"declare":var n=this.tsTryParseDeclare(e);if(n)return n.declare=!0,n;break;case"global":if(this.match(5)){this.scope.enter(at),this.prodParam.enter(kn);var r=e;return r.global=!0,r.id=t,r.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1)}}},{key:"tsParseDeclaration",value:function(e,t,n){switch(t){case"abstract":if(this.tsCheckLineTerminator(n)&&(this.match(80)||ue(this.state.type)))return this.tsParseAbstractDeclaration(e);break;case"module":if(this.tsCheckLineTerminator(n)){if(this.match(129))return this.tsParseAmbientExternalModuleDeclaration(e);if(ue(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(n)&&ue(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(n)&&ue(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}},{key:"tsCheckLineTerminator",value:function(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}},{key:"tsTryParseGenericAsyncArrowFunction",value:function(e,t){var r=this;if(this.match(47)){var o=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;var s=this.tsTryParseAndCatch((function(){var o=r.startNodeAt(e,t);return o.typeParameters=r.tsParseTypeParameters(),i(a(n.prototype),"parseFunctionParams",r).call(r,o),o.returnType=r.tsTryParseTypeOrTypePredicateAnnotation(),r.expect(19),o}));return this.state.maybeInArrowParameters=o,s?this.parseArrowExpression(s,null,!0):void 0}}},{key:"tsParseTypeArgumentsInExpression",value:function(){if(47===this.reScan_lt())return this.tsParseTypeArguments()}},{key:"tsParseTypeArguments",value:function(){var e=this,t=this.startNode();return t.params=this.tsInType((function(){return e.tsInNoContext((function(){return e.expect(47),e.tsParseDelimitedList("TypeParametersOrArguments",e.tsParseType.bind(e))}))})),0===t.params.length&&this.raise(sr.EmptyTypeArguments,{at:t}),this.expect(48),this.finishNode(t,"TSTypeParameterInstantiation")}},{key:"tsIsDeclarationStart",value:function(){return Ce(this.state.type)}},{key:"isExportDefaultSpecifier",value:function(){return!this.tsIsDeclarationStart()&&i(a(n.prototype),"isExportDefaultSpecifier",this).call(this)}},{key:"parseAssignableListItem",value:function(e,t){var n,r=this.state.start,i=this.state.startLoc,a=!1,o=!1;if(void 0!==e){var s={};this.tsParseModifiers({modified:s,allowedModifiers:["public","private","protected","override","readonly"]}),n=s.accessibility,o=s.override,a=s.readonly,!1===e&&(n||a||o)&&this.raise(sr.UnexpectedParameterModifier,{at:i})}var u=this.parseMaybeDefault();this.parseAssignableListItemTypes(u);var l=this.parseMaybeDefault(u.start,u.loc.start,u);if(n||a||o){var c=this.startNodeAt(r,i);return t.length&&(c.decorators=t),n&&(c.accessibility=n),a&&(c.readonly=a),o&&(c.override=o),"Identifier"!==l.type&&"AssignmentPattern"!==l.type&&this.raise(sr.UnsupportedParameterPropertyKind,{at:c}),c.parameter=l,this.finishNode(c,"TSParameterProperty")}return t.length&&(u.decorators=t),l}},{key:"isSimpleParameter",value:function(e){return"TSParameterProperty"===e.type&&i(a(n.prototype),"isSimpleParameter",this).call(this,e.parameter)||i(a(n.prototype),"isSimpleParameter",this).call(this,e)}},{key:"parseFunctionBodyAndFinish",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));var o="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;o&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,o):"TSDeclareFunction"===o&&this.state.isAmbientContext&&(this.raise(sr.DeclareFunctionHasImplementation,{at:e}),e.declare)?i(a(n.prototype),"parseFunctionBodyAndFinish",this).call(this,e,o,r):i(a(n.prototype),"parseFunctionBodyAndFinish",this).call(this,e,t,r)}},{key:"registerFunctionStatementId",value:function(e){!e.body&&e.id?this.checkIdentifier(e.id,wt):i(a(n.prototype),"registerFunctionStatementId",this).apply(this,arguments)}},{key:"tsCheckForInvalidTypeCasts",value:function(e){var t=this;e.forEach((function(e){"TSTypeCastExpression"===(null==e?void 0:e.type)&&t.raise(sr.UnexpectedTypeAnnotation,{at:e.typeAnnotation})}))}},{key:"toReferencedList",value:function(e,t){return this.tsCheckForInvalidTypeCasts(e),e}},{key:"parseArrayLike",value:function(){var e=i(a(n.prototype),"parseArrayLike",this).apply(this,arguments);return"ArrayExpression"===e.type&&this.tsCheckForInvalidTypeCasts(e.elements),e}},{key:"parseSubscript",value:function(e,t,r,o,s){var u=this;if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();var l=this.startNodeAt(t,r);return l.expression=e,this.finishNode(l,"TSNonNullExpression")}var c=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(o)return s.stop=!0,e;s.optionalChainMember=c=!0,this.next()}if(this.match(47)||this.match(51)){var p,f=this.tsTryParseAndCatch((function(){if(!o&&u.atPossibleAsyncArrow(e)){var n=u.tsTryParseGenericAsyncArrowFunction(t,r);if(n)return n}var i=u.tsParseTypeArgumentsInExpression();if(!i)throw u.unexpected();if(c&&!u.match(10))throw p=u.state.curPosition(),u.unexpected();if(Se(u.state.type)){var a=u.parseTaggedTemplateExpression(e,t,r,s);return a.typeParameters=i,a}if(!o&&u.eat(10)){var l=u.startNodeAt(t,r);return l.callee=e,l.arguments=u.parseCallExpressionArguments(11,!1),u.tsCheckForInvalidTypeCasts(l.arguments),l.typeParameters=i,s.optionalChainMember&&(l.optional=c),u.finishCallExpression(l,s.optionalChainMember)}if(or(u.state.type)&&10!==u.state.type)throw u.unexpected();var f=u.startNodeAt(t,r);return f.expression=e,f.typeParameters=i,u.finishNode(f,"TSInstantiationExpression")}));if(p&&this.unexpected(p,10),f)return f}return i(a(n.prototype),"parseSubscript",this).call(this,e,t,r,o,s)}},{key:"parseNewCallee",value:function(e){var t;i(a(n.prototype),"parseNewCallee",this).call(this,e);var r=e.callee;"TSInstantiationExpression"===r.type&&(null==(t=r.extra)||!t.parenthesized)&&(e.typeParameters=r.typeParameters,e.callee=r.expression)}},{key:"parseExprOp",value:function(e,t,r,o){if(Ae(58)>o&&!this.hasPrecedingLineBreak()&&this.isContextual(93)){var s=this.startNodeAt(t,r);s.expression=e;var u=this.tsTryNextParseConstantContext();return s.typeAnnotation=u||this.tsNextThenParseType(),this.finishNode(s,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(s,t,r,o)}return i(a(n.prototype),"parseExprOp",this).call(this,e,t,r,o)}},{key:"checkReservedWord",value:function(e,t,r,o){this.state.isAmbientContext||i(a(n.prototype),"checkReservedWord",this).call(this,e,t,r,o)}},{key:"checkDuplicateExports",value:function(){}},{key:"parseImport",value:function(e){if(e.importKind="value",ue(this.state.type)||this.match(55)||this.match(5)){var t=this.lookahead();if(this.isContextual(126)&&12!==t.type&&97!==t.type&&29!==t.type&&(e.importKind="type",this.next(),t=this.lookahead()),ue(this.state.type)&&29===t.type)return this.tsParseImportEqualsDeclaration(e)}var r=i(a(n.prototype),"parseImport",this).call(this,e);return"type"===r.importKind&&r.specifiers.length>1&&"ImportDefaultSpecifier"===r.specifiers[0].type&&this.raise(sr.TypeImportCannotSpecifyDefaultAndNamed,{at:r}),r}},{key:"parseExport",value:function(e){if(this.match(83))return this.next(),this.isContextual(126)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.next()):e.importKind="value",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(29)){var t=e;return t.expression=this.parseExpression(),this.semicolon(),this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(93)){var r=e;return this.expectContextual(124),r.id=this.parseIdentifier(),this.semicolon(),this.finishNode(r,"TSNamespaceExportDeclaration")}return this.isContextual(126)&&5===this.lookahead().type?(this.next(),e.exportKind="type"):e.exportKind="value",i(a(n.prototype),"parseExport",this).call(this,e)}},{key:"isAbstractClass",value:function(){return this.isContextual(120)&&80===this.lookahead().type}},{key:"parseExportDefaultExpression",value:function(){if(this.isAbstractClass()){var e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0),e}if(this.match(125)){var t=this.tsParseInterfaceDeclaration(this.startNode());if(t)return t}return i(a(n.prototype),"parseExportDefaultExpression",this).call(this)}},{key:"parseVarStatement",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=this.state.isAmbientContext,s=i(a(n.prototype),"parseVarStatement",this).call(this,e,t,r||o);if(!o)return s;var u,l=p(s.declarations);try{for(l.s();!(u=l.n()).done;){var c=u.value,f=c.id,d=c.init;!d||("const"!==t||f.typeAnnotation?this.raise(sr.InitializerNotAllowedInAmbientContext,{at:d}):"StringLiteral"!==d.type&&"BooleanLiteral"!==d.type&&"NumericLiteral"!==d.type&&"BigIntLiteral"!==d.type&&("TemplateLiteral"!==d.type||d.expressions.length>0)&&!fr(d)&&this.raise(sr.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:d}))}}catch(h){l.e(h)}finally{l.f()}return s}},{key:"parseStatementContent",value:function(e,t){if(this.match(75)&&this.isLookaheadContextual("enum")){var r=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(r,{const:!0})}if(this.isContextual(122))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(125)){var o=this.tsParseInterfaceDeclaration(this.startNode());if(o)return o}return i(a(n.prototype),"parseStatementContent",this).call(this,e,t)}},{key:"parseAccessModifier",value:function(){return this.tsParseModifier(["public","protected","private"])}},{key:"tsHasSomeModifiers",value:function(e,t){return t.some((function(t){return lr(t)?e.accessibility===t:!!e[t]}))}},{key:"tsIsStartOfStaticBlocks",value:function(){return this.isContextual(104)&&123===this.lookaheadCharCode()}},{key:"parseClassMember",value:function(e,t,n){var r=this,i=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({modified:t,allowedModifiers:i,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:sr.InvalidModifierOnTypeParameterPositions});var a=function(){r.tsIsStartOfStaticBlocks()?(r.next(),r.next(),r.tsHasSomeModifiers(t,i)&&r.raise(sr.StaticBlockCannotHaveModifier,{at:r.state.curPosition()}),r.parseClassStaticBlock(e,t)):r.parseClassMemberWithIsStatic(e,t,n,!!t.static)};t.declare?this.tsInAmbientContext(a):a()}},{key:"parseClassMemberWithIsStatic",value:function(e,t,r,o){var s=this.tsTryParseIndexSignature(t);if(s)return e.body.push(s),t.abstract&&this.raise(sr.IndexSignatureHasAbstract,{at:t}),t.accessibility&&this.raise(sr.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility}),t.declare&&this.raise(sr.IndexSignatureHasDeclare,{at:t}),void(t.override&&this.raise(sr.IndexSignatureHasOverride,{at:t}));!this.state.inAbstractClass&&t.abstract&&this.raise(sr.NonAbstractClassHasAbstractMethod,{at:t}),t.override&&(r.hadSuperClass||this.raise(sr.OverrideNotInSubClass,{at:t})),i(a(n.prototype),"parseClassMemberWithIsStatic",this).call(this,e,t,r,o)}},{key:"parsePostMemberNameModifiers",value:function(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(sr.ClassMethodHasReadonly,{at:e}),e.declare&&this.match(10)&&this.raise(sr.ClassMethodHasDeclare,{at:e})}},{key:"parseExpressionStatement",value:function(e,t){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t):void 0)||i(a(n.prototype),"parseExpressionStatement",this).call(this,e,t)}},{key:"shouldParseExportDeclaration",value:function(){return!!this.tsIsDeclarationStart()||i(a(n.prototype),"shouldParseExportDeclaration",this).call(this)}},{key:"parseConditional",value:function(e,t,r,o){var s=this;if(!this.state.maybeInArrowParameters||!this.match(17))return i(a(n.prototype),"parseConditional",this).call(this,e,t,r,o);var u=this.tryParse((function(){return i(a(n.prototype),"parseConditional",s).call(s,e,t,r)}));return u.node?(u.error&&(this.state=u.failState),u.node):(u.error&&i(a(n.prototype),"setOptionalParametersError",this).call(this,o,u.error),e)}},{key:"parseParenItem",value:function(e,t,r){if(e=i(a(n.prototype),"parseParenItem",this).call(this,e,t,r),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){var o=this.startNodeAt(t,r);return o.expression=e,o.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(o,"TSTypeCastExpression")}return e}},{key:"parseExportDeclaration",value:function(e){var t=this;if(!this.state.isAmbientContext&&this.isContextual(121))return this.tsInAmbientContext((function(){return t.parseExportDeclaration(e)}));var r=this.state.start,o=this.state.startLoc,s=this.eatContextual(121);if(s&&(this.isContextual(121)||!this.shouldParseExportDeclaration()))throw this.raise(sr.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});var u=ue(this.state.type)&&this.tsTryParseExportDeclaration()||i(a(n.prototype),"parseExportDeclaration",this).call(this,e);return u?(("TSInterfaceDeclaration"===u.type||"TSTypeAliasDeclaration"===u.type||s)&&(e.exportKind="type"),s&&(this.resetStartLocation(u,r,o),u.declare=!0),u):null}},{key:"parseClassId",value:function(e,t,r){if(t&&!r||!this.isContextual(110)){i(a(n.prototype),"parseClassId",this).call(this,e,t,r,e.declare?wt:gt);var o=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));o&&(e.typeParameters=o)}}},{key:"parseClassPropertyAnnotation",value:function(e){!e.optional&&this.eat(35)&&(e.definite=!0);var t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}},{key:"parseClassProperty",value:function(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&this.match(29)&&this.raise(sr.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),e.abstract&&this.match(29)){var t=e.key;this.raise(sr.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:"Identifier"!==t.type||e.computed?"[".concat(this.input.slice(t.start,t.end),"]"):t.name})}return i(a(n.prototype),"parseClassProperty",this).call(this,e)}},{key:"parseClassPrivateProperty",value:function(e){return e.abstract&&this.raise(sr.PrivateElementHasAbstract,{at:e}),e.accessibility&&this.raise(sr.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),i(a(n.prototype),"parseClassPrivateProperty",this).call(this,e)}},{key:"pushClassMethod",value:function(e,t,r,o,s,u){var l=this.tsTryParseTypeParameters();l&&s&&this.raise(sr.ConstructorHasTypeParameters,{at:l});var c=t.declare,p=void 0!==c&&c,f=t.kind;p&&("get"===f||"set"===f)&&this.raise(sr.DeclareAccessor,{at:t,kind:f}),l&&(t.typeParameters=l),i(a(n.prototype),"pushClassMethod",this).call(this,e,t,r,o,s,u)}},{key:"pushClassPrivateMethod",value:function(e,t,r,o){var s=this.tsTryParseTypeParameters();s&&(t.typeParameters=s),i(a(n.prototype),"pushClassPrivateMethod",this).call(this,e,t,r,o)}},{key:"declareClassPrivateMethodInScope",value:function(e,t){"TSDeclareMethod"!==e.type&&("MethodDefinition"===e.type&&!e.value.body||i(a(n.prototype),"declareClassPrivateMethodInScope",this).call(this,e,t))}},{key:"parseClassSuper",value:function(e){i(a(n.prototype),"parseClassSuper",this).call(this,e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(110)&&(e.implements=this.tsParseHeritageClause("implements"))}},{key:"parseObjPropValue",value:function(e){var t,r=this.tsTryParseTypeParameters();r&&(e.typeParameters=r);for(var o=arguments.length,s=new Array(o>1?o-1:0),u=1;u1&&void 0!==arguments[1]&&arguments[1];switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":t?this.expressionScope.recordArrowParemeterBindingError(sr.UnexpectedTypeCastInParameter,{at:e}):this.raise(sr.UnexpectedTypeCastInParameter,{at:e}),this.toAssignable(e.expression,t);break;case"AssignmentExpression":!t&&"TSTypeCastExpression"===e.left.type&&(e.left=this.typeCastToParameter(e.left));default:i(a(n.prototype),"toAssignable",this).call(this,e,t)}}},{key:"toAssignableParenthesizedExpression",value:function(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:i(a(n.prototype),"toAssignable",this).call(this,e,t)}}},{key:"checkToRestConversion",value:function(e,t){switch(e.type){case"TSAsExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:i(a(n.prototype),"checkToRestConversion",this).call(this,e,t)}}},{key:"isValidLVal",value:function(e,t,r){return rr({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(r!==kt||!t)&&["expression",!0],TSTypeAssertion:(r!==kt||!t)&&["expression",!0]},e)||i(a(n.prototype),"isValidLVal",this).call(this,e,t,r)}},{key:"parseBindingAtom",value:function(){return 78===this.state.type?this.parseIdentifier(!0):i(a(n.prototype),"parseBindingAtom",this).call(this)}},{key:"parseMaybeDecoratorArguments",value:function(e){if(this.match(47)||this.match(51)){var t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){var r=i(a(n.prototype),"parseMaybeDecoratorArguments",this).call(this,e);return r.typeParameters=t,r}this.unexpected(null,10)}return i(a(n.prototype),"parseMaybeDecoratorArguments",this).call(this,e)}},{key:"checkCommaAfterRest",value:function(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):i(a(n.prototype),"checkCommaAfterRest",this).call(this,e)}},{key:"isClassMethod",value:function(){return this.match(47)||i(a(n.prototype),"isClassMethod",this).call(this)}},{key:"isClassProperty",value:function(){return this.match(35)||this.match(14)||i(a(n.prototype),"isClassProperty",this).call(this)}},{key:"parseMaybeDefault",value:function(){var e=i(a(n.prototype),"parseMaybeDefault",this).apply(this,arguments);return"AssignmentPattern"===e.type&&e.typeAnnotation&&e.right.start1?o-1:0),u=1;u0))&&dr(e.object)}function dr(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&dr(e.object)}var hr=L(m||(m=y(["placeholders"])))((function(e){return{ClassNameIsRequired:e("A class name is required."),UnexpectedSpace:e("Unexpected space in placeholder.")}})),mr=function(e){return function(e){o(n,e);var t=s(n);function n(){return l(this,n),t.apply(this,arguments)}return u(n,[{key:"parsePlaceholder",value:function(e){if(this.match(140)){var t=this.startNode();return this.next(),this.assertNoSpace(),t.name=i(a(n.prototype),"parseIdentifier",this).call(this,!0),this.assertNoSpace(),this.expect(140),this.finishPlaceholder(t,e)}}},{key:"finishPlaceholder",value:function(e,t){var n=!(!e.expectedNode||"Placeholder"!==e.type);return e.expectedNode=t,n?e:this.finishNode(e,"Placeholder")}},{key:"getTokenFromCode",value:function(e){return 37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(140,2):i(a(n.prototype),"getTokenFromCode",this).apply(this,arguments)}},{key:"parseExprAtom",value:function(){return this.parsePlaceholder("Expression")||i(a(n.prototype),"parseExprAtom",this).apply(this,arguments)}},{key:"parseIdentifier",value:function(){return this.parsePlaceholder("Identifier")||i(a(n.prototype),"parseIdentifier",this).apply(this,arguments)}},{key:"checkReservedWord",value:function(e){void 0!==e&&i(a(n.prototype),"checkReservedWord",this).apply(this,arguments)}},{key:"parseBindingAtom",value:function(){return this.parsePlaceholder("Pattern")||i(a(n.prototype),"parseBindingAtom",this).apply(this,arguments)}},{key:"isValidLVal",value:function(e){for(var t,r=arguments.length,o=new Array(r>1?r-1:0),s=1;s0)||i(a(n.prototype),"maybeParseExportDefaultSpecifier",this).apply(this,arguments)}},{key:"checkExport",value:function(e){var t=e.specifiers;null!=t&&t.length&&(e.specifiers=t.filter((function(e){return"Placeholder"===e.exported.type}))),i(a(n.prototype),"checkExport",this).call(this,e),e.specifiers=t}},{key:"parseImport",value:function(e){var t=this.parsePlaceholder("Identifier");if(!t)return i(a(n.prototype),"parseImport",this).apply(this,arguments);if(e.specifiers=[],!this.isContextual(97)&&!this.match(12))return e.source=this.finishPlaceholder(t,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");var r=this.startNodeAtNode(t);return r.local=t,this.finishNode(r,"ImportDefaultSpecifier"),e.specifiers.push(r),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(97),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}},{key:"parseImportSource",value:function(){return this.parsePlaceholder("StringLiteral")||i(a(n.prototype),"parseImportSource",this).apply(this,arguments)}},{key:"assertNoSpace",value:function(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(hr.UnexpectedSpace,{at:this.state.lastTokEndLoc})}}]),n}(e)},yr=function(e){return function(e){o(n,e);var t=s(n);function n(){return l(this,n),t.apply(this,arguments)}return u(n,[{key:"parseV8Intrinsic",value:function(){if(this.match(54)){var e=this.state.startLoc,t=this.startNode();if(this.next(),ue(this.state.type)){var n=this.parseIdentifierName(this.state.start),r=this.createIdentifier(t,n);if(r.type="V8IntrinsicIdentifier",this.match(10))return r}this.unexpected(e)}}},{key:"parseExprAtom",value:function(){return this.parseV8Intrinsic()||i(a(n.prototype),"parseExprAtom",this).apply(this,arguments)}}]),n}(e)};function vr(e,t){var n=c("string"==typeof t?[t,{}]:t,2),r=n[0],i=n[1],a=Object.keys(i),o=0===a.length;return e.some((function(e){if("string"==typeof e)return o&&e===r;var t=c(e,2),n=t[0],s=t[1];if(n!==r)return!1;var u,l=p(a);try{for(l.s();!(u=l.n()).done;){var f=u.value;if(s[f]!==i[f])return!1}}catch(d){l.e(d)}finally{l.f()}return!0}))}function gr(e,t,n){var r=e.find((function(e){return Array.isArray(e)?e[0]===t:e===t}));return r&&Array.isArray(r)?r[1][n]:null}var Dr=["minimal","fsharp","hack","smart"],br=["^^","@@","^","%","#"],xr=["hash","bar"];function Cr(e){if(vr(e,"decorators")){if(vr(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");var t=gr(e,"decorators","decoratorsBeforeExport");if(null==t)throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.");if("boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean.")}if(vr(e,"flow")&&vr(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(vr(e,"placeholders")&&vr(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(vr(e,"pipelineOperator")){var n=gr(e,"pipelineOperator","proposal");if(!Dr.includes(n)){var r=Dr.map((function(e){return'"'.concat(e,'"')})).join(", ");throw new Error('"pipelineOperator" requires "proposal" option whose value must be one of: '.concat(r,"."))}var i=vr(e,["recordAndTuple",{syntaxType:"hash"}]);if("hack"===n){if(vr(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(vr(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");var a=gr(e,"pipelineOperator","topicToken");if(!br.includes(a)){var o=br.map((function(e){return'"'.concat(e,'"')})).join(", ");throw new Error('"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: '.concat(o,"."))}if("#"===a&&i)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if("smart"===n&&i)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(vr(e,"moduleAttributes")){if(vr(e,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if("may-2020"!==gr(e,"moduleAttributes","version"))throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(vr(e,"recordAndTuple")&&!xr.includes(gr(e,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+xr.map((function(e){return"'".concat(e,"'")})).join(", "));if(vr(e,"asyncDoExpressions")&&!vr(e,"doExpressions")){var s=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw s.missingPlugins="doExpressions",s}}var Er={estree:R,jsx:er,flow:$n,typescript:pr,v8intrinsic:yr,placeholders:mr},Ar=Object.keys(Er),wr={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0};function kr(e){for(var t={},n=0,r=Object.keys(wr);n1&&void 0!==arguments[1]&&arguments[1];switch(("ParenthesizedExpression"===e.type||null!=(t=e.extra)&&t.parenthesized)&&(r=Fr(e),i?"Identifier"===r.type?this.expressionScope.recordArrowParemeterBindingError(O.InvalidParenthesizedAssignment,{at:e}):"MemberExpression"!==r.type&&this.raise(O.InvalidParenthesizedAssignment,{at:e}):this.raise(O.InvalidParenthesizedAssignment,{at:e})),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(var a=0,o=e.properties.length,s=o-1;a2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:!(t&ct);this.state.strict&&(n?Ge(e.name,this.inModule):ze(e.name))&&(t===kt?this.raise(O.StrictEvalArguments,{at:e,referenceName:e.name}):this.raise(O.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})),!r&&"let"===e.name&&this.raise(O.LetInLexicalBinding,{at:e}),t&kt||this.declareNameFromIdentifier(e,t)}},{key:"declareNameFromIdentifier",value:function(e,t){this.scope.declareName(e.name,t,e.loc.start)}},{key:"checkToRestConversion",value:function(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(O.InvalidRestAssignmentPattern,{at:e})}}},{key:"checkCommaAfterRest",value:function(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?O.RestTrailingComma:O.ElementAfterRest,{at:this.state.startLoc}),!0)}}]),n}(Wn),Pr=function(e){o(n,e);var t=s(n);function n(){return l(this,n),t.apply(this,arguments)}return u(n,[{key:"checkProto",value:function(e,t,n,r){if(!("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)){var i=e.key;if("__proto__"===("Identifier"===i.type?i.name:i.value)){if(t)return void this.raise(O.RecordNoProto,{at:i});n.used&&(r?null===r.doubleProtoLoc&&(r.doubleProtoLoc=i.loc.start):this.raise(O.DuplicateProto,{at:i})),n.used=!0}}}},{key:"shouldExitDescending",value:function(e,t){return"ArrowFunctionExpression"===e.type&&e.start===t}},{key:"getExpression",value:function(){this.enterInitialScopes(),this.nextToken();var e=this.parseExpression();return this.match(135)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.state.comments,e.errors=this.state.errors,this.options.tokens&&(e.tokens=this.tokens),e}},{key:"parseExpression",value:function(e,t){var n=this;return e?this.disallowInAnd((function(){return n.parseExpressionBase(t)})):this.allowInAnd((function(){return n.parseExpressionBase(t)}))}},{key:"parseExpressionBase",value:function(e){var t=this.state.start,n=this.state.startLoc,r=this.parseMaybeAssign(e);if(this.match(12)){var i=this.startNodeAt(t,n);for(i.expressions=[r];this.eat(12);)i.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(i.expressions),this.finishNode(i,"SequenceExpression")}return r}},{key:"parseMaybeAssignDisallowIn",value:function(e,t){var n=this;return this.disallowInAnd((function(){return n.parseMaybeAssign(e,t)}))}},{key:"parseMaybeAssignAllowIn",value:function(e,t){var n=this;return this.allowInAnd((function(){return n.parseMaybeAssign(e,t)}))}},{key:"setOptionalParametersError",value:function(e,t){var n;e.optionalParametersLoc=null!=(n=null==t?void 0:t.loc)?n:this.state.startLoc}},{key:"parseMaybeAssign",value:function(e,t){var n,r=this.state.start,i=this.state.startLoc;if(this.isContextual(105)&&this.prodParam.hasYield){var a=this.parseYield();return t&&(a=t.call(this,a,r,i)),a}e?n=!1:(e=new Ln,n=!0);var o=this.state.type;(10===o||ue(o))&&(this.state.potentialArrowAt=this.state.start);var s=this.parseMaybeConditional(e);if(t&&(s=t.call(this,s,r,i)),he(this.state.type)){a=this.startNodeAt(r,i);var u=this.state.value;return a.operator=u,this.match(29)?(this.toAssignable(s,!0),a.left=s,null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=r&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=r&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=r&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null)):a.left=s,this.next(),a.right=this.parseMaybeAssign(),this.checkLVal(s,{in:this.finishNode(a,"AssignmentExpression")}),a}return n&&this.checkExpressionErrors(e,!0),s}},{key:"parseMaybeConditional",value:function(e){var t=this.state.start,n=this.state.startLoc,r=this.state.potentialArrowAt,i=this.parseExprOps(e);return this.shouldExitDescending(i,r)?i:this.parseConditional(i,t,n,e)}},{key:"parseConditional",value:function(e,t,n,r){if(this.eat(17)){var i=this.startNodeAt(t,n);return i.test=e,i.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),i.alternate=this.parseMaybeAssign(),this.finishNode(i,"ConditionalExpression")}return e}},{key:"parseMaybeUnaryOrPrivate",value:function(e){return this.match(134)?this.parsePrivateName():this.parseMaybeUnary(e)}},{key:"parseExprOps",value:function(e){var t=this.state.start,n=this.state.startLoc,r=this.state.potentialArrowAt,i=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(i,r)?i:this.parseExprOp(i,t,n,-1)}},{key:"parseExprOp",value:function(e,t,n,r){if(this.isPrivateName(e)){var i=this.getPrivateNameSV(e);(r>=Ae(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(O.PrivateInExpectedIn,{at:e,identifierName:i}),this.classScope.usePrivateName(i,e.loc.start)}var a=this.state.type;if(ge(a)&&(this.prodParam.hasIn||!this.match(58))){var o=Ae(a);if(o>r){if(39===a){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,n)}var s=this.startNodeAt(t,n);s.left=e,s.operator=this.state.value;var u=41===a||42===a,l=40===a;if(l&&(o=Ae(42)),this.next(),39===a&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(O.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});s.right=this.parseExprOpRightExpr(a,o),this.finishNode(s,u||l?"LogicalExpression":"BinaryExpression");var c=this.state.type;if(l&&(41===c||42===c)||u&&40===c)throw this.raise(O.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(s,t,n,r)}}return e}},{key:"parseExprOpRightExpr",value:function(e,t){var n=this,r=this.state.start,i=this.state.startLoc;if(39===e)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((function(){return n.parseHackPipeBody()}));case"smart":return this.withTopicBindingContext((function(){if(n.prodParam.hasYield&&n.isContextual(105))throw n.raise(O.PipeBodyIsTighter,{at:n.state.startLoc});return n.parseSmartPipelineBodyInStyle(n.parseExprOpBaseRightExpr(e,t),r,i)}));case"fsharp":return this.withSoloAwaitPermittingContext((function(){return n.parseFSharpPipelineBody(t)}))}return this.parseExprOpBaseRightExpr(e,t)}},{key:"parseExprOpBaseRightExpr",value:function(e,t){var n=this.state.start,r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),n,r,ke(e)?t-1:t)}},{key:"parseHackPipeBody",value:function(){var e,t=this.state.startLoc,n=this.parseMaybeAssign();return T.has(n.type)&&!(null!=(e=n.extra)&&e.parenthesized)&&this.raise(O.PipeUnparenthesizedBody,{at:t,type:n.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(O.PipeTopicUnused,{at:t}),n}},{key:"checkExponentialAfterUnary",value:function(e){this.match(57)&&this.raise(O.UnexpectedTokenUnaryExponentiation,{at:e.argument})}},{key:"parseMaybeUnary",value:function(e,t){var n=this.state.start,r=this.state.startLoc,i=this.isContextual(96);if(i&&this.isAwaitAllowed()){this.next();var a=this.parseAwait(n,r);return t||this.checkExponentialAfterUnary(a),a}var o=this.match(34),s=this.startNode();if(be(this.state.type)){s.operator=this.state.value,s.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");var u=this.match(89);if(this.next(),s.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&u){var l=s.argument;"Identifier"===l.type?this.raise(O.StrictDelete,{at:s}):this.hasPropertyAsPrivateName(l)&&this.raise(O.DeletePrivateField,{at:s})}if(!o)return t||this.checkExponentialAfterUnary(s),this.finishNode(s,"UnaryExpression")}var c=this.parseUpdate(s,o,e);if(i){var p=this.state.type;if((this.hasPlugin("v8intrinsic")?de(p):de(p)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(O.AwaitNotInAsyncContext,{at:r}),this.parseAwait(n,r)}return c}},{key:"parseUpdate",value:function(e,t,n){if(t)return this.checkLVal(e.argument,{in:this.finishNode(e,"UpdateExpression")}),e;var r=this.state.start,i=this.state.startLoc,a=this.parseExprSubscripts(n);if(this.checkExpressionErrors(n,!1))return a;for(;De(this.state.type)&&!this.canInsertSemicolon();){var o=this.startNodeAt(r,i);o.operator=this.state.value,o.prefix=!1,o.argument=a,this.next(),this.checkLVal(a,{in:a=this.finishNode(o,"UpdateExpression")})}return a}},{key:"parseExprSubscripts",value:function(e){var t=this.state.start,n=this.state.startLoc,r=this.state.potentialArrowAt,i=this.parseExprAtom(e);return this.shouldExitDescending(i,r)?i:this.parseSubscripts(i,t,n)}},{key:"parseSubscripts",value:function(e,t,n,r){var i={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,n,r,i),i.maybeAsyncArrow=!1}while(!i.stop);return e}},{key:"parseSubscript",value:function(e,t,n,r,i){var a=this.state.type;if(!r&&15===a)return this.parseBind(e,t,n,r,i);if(Se(a))return this.parseTaggedTemplateExpression(e,t,n,i);var o=!1;if(18===a){if(r&&40===this.lookaheadCharCode())return i.stop=!0,e;i.optionalChainMember=o=!0,this.next()}if(!r&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,n,i,o);var s=this.eat(0);return s||o||this.eat(16)?this.parseMember(e,t,n,i,s,o):(i.stop=!0,e)}},{key:"parseMember",value:function(e,t,n,r,i,a){var o=this.startNodeAt(t,n);return o.object=e,o.computed=i,i?(o.property=this.parseExpression(),this.expect(3)):this.match(134)?("Super"===e.type&&this.raise(O.SuperPrivateField,{at:n}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),o.property=this.parsePrivateName()):o.property=this.parseIdentifier(!0),r.optionalChainMember?(o.optional=a,this.finishNode(o,"OptionalMemberExpression")):this.finishNode(o,"MemberExpression")}},{key:"parseBind",value:function(e,t,n,r,i){var a=this.startNodeAt(t,n);return a.object=e,this.next(),a.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(a,"BindExpression"),t,n,r)}},{key:"parseCoverCallAndAsyncArrowHead",value:function(e,t,n,r,i){var a=this.state.maybeInArrowParameters,o=null;this.state.maybeInArrowParameters=!0,this.next();var s=this.startNodeAt(t,n);s.callee=e;var u=r.maybeAsyncArrow,l=r.optionalChainMember;return u&&(this.expressionScope.enter(An()),o=new Ln),l&&(s.optional=i),s.arguments=i?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,s,o),this.finishCallExpression(s,l),u&&this.shouldParseAsyncArrow()&&!i?(r.stop=!0,this.checkDestructuringPrivate(o),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),s=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,n),s)):(u&&(this.checkExpressionErrors(o,!0),this.expressionScope.exit()),this.toReferencedArguments(s)),this.state.maybeInArrowParameters=a,s}},{key:"toReferencedArguments",value:function(e,t){this.toReferencedListDeep(e.arguments,t)}},{key:"parseTaggedTemplateExpression",value:function(e,t,n,r){var i=this.startNodeAt(t,n);return i.tag=e,i.quasi=this.parseTemplate(!0),r.optionalChainMember&&this.raise(O.OptionalChainingNoTemplate,{at:n}),this.finishNode(i,"TaggedTemplateExpression")}},{key:"atPossibleAsyncArrow",value:function(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}},{key:"finishCallExpression",value:function(e,t){if("Import"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),0===e.arguments.length||e.arguments.length>2)this.raise(O.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else{var n,r=p(e.arguments);try{for(r.s();!(n=r.n()).done;){var i=n.value;"SpreadElement"===i.type&&this.raise(O.ImportCallSpreadArgument,{at:i})}}catch(a){r.e(a)}finally{r.f()}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}},{key:"parseCallExpressionArguments",value:function(e,t,n,r,i){var a=[],o=!0,s=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(O.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),r&&this.addTrailingCommaExtraToNode(r),this.next();break}a.push(this.parseExprListItem(!1,i,n))}return this.state.inFSharpPipelineDirectBody=s,a}},{key:"shouldParseAsyncArrow",value:function(){return this.match(19)&&!this.canInsertSemicolon()}},{key:"parseAsyncArrowFromCallExpression",value:function(e,t){var n;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(n=t.extra)?void 0:n.trailingCommaLoc),t.innerComments&&Ut(e,t.innerComments),t.callee.trailingComments&&Ut(e,t.callee.trailingComments),e}},{key:"parseNoCallExpr",value:function(){var e=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,!0)}},{key:"parseExprAtom",value:function(e){var t,n=this.state.type;switch(n){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(O.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 130:return this.parseNumericLiteral(this.state.value);case 131:return this.parseBigIntLiteral(this.state.value);case 132:return this.parseDecimalLiteral(this.state.value);case 129:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:var r=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(r);case 2:case 1:return this.parseArrayLike(2===this.state.type?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(6===this.state.type?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:this.parseDecorators();case 80:return t=this.startNode(),this.takeDecorators(t),this.parseClass(t,!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:t=this.startNode(),this.next(),t.object=null;var i=t.callee=this.parseNoCallExpr();if("MemberExpression"===i.type)return this.finishNode(t,"BindExpression");throw this.raise(O.UnsupportedBind,{at:i});case 134:return this.raise(O.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:var a=this.getPluginOption("pipelineOperator","proposal");if(a)return this.parseTopicReference(a);throw this.unexpected();case 47:var o=this.input.codePointAt(this.nextTokenStart());if(_e(o)||62===o){this.expectOnePlugin(["jsx","flow","typescript"]);break}throw this.unexpected();default:if(ue(n)){if(this.isContextual(123)&&123===this.lookaheadCharCode()&&!this.hasFollowingLineBreak())return this.parseModuleExpression();var s=this.state.potentialArrowAt===this.state.start,u=this.state.containsEsc,l=this.parseIdentifier();if(!u&&"async"===l.name&&!this.canInsertSemicolon()){var c=this.state.type;if(68===c)return this.resetPreviousNodeTrailingComments(l),this.next(),this.parseFunction(this.startNodeAtNode(l),void 0,!0);if(ue(c))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(l)):l;if(90===c)return this.resetPreviousNodeTrailingComments(l),this.parseDo(this.startNodeAtNode(l),!0)}return s&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(l),[l],!1)):l}throw this.unexpected()}}},{key:"parseTopicReferenceThenEqualsSign",value:function(e,t){var n=this.getPluginOption("pipelineOperator","proposal");if(n)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=D(this.state.endLoc,-1),this.parseTopicReference(n);throw this.unexpected()}},{key:"parseTopicReference",value:function(e){var t=this.startNode(),n=this.state.startLoc,r=this.state.type;return this.next(),this.finishTopicReference(t,n,e,r)}},{key:"finishTopicReference",value:function(e,t,n,r){if(this.testTopicReferenceConfiguration(n,t,r)){var i="smart"===n?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise("smart"===n?O.PrimaryTopicNotAllowed:O.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(e,i)}throw this.raise(O.PipeTopicUnconfiguredToken,{at:t,token:Ee(r)})}},{key:"testTopicReferenceConfiguration",value:function(e,t,n){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Ee(n)}]);case"smart":return 27===n;default:throw this.raise(O.PipeTopicRequiresHackPipes,{at:t})}}},{key:"parseAsyncArrowUnaryFunction",value:function(e){this.prodParam.enter(Nn(!0,this.prodParam.hasYield));var t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(O.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(e,t,!0),e}},{key:"parseDo",value:function(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();var n=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(Fn),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=n,this.finishNode(e,"DoExpression")}},{key:"parseSuper",value:function(){var e=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(O.UnexpectedSuper,{at:e}):this.raise(O.SuperNotAllowed,{at:e}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(O.UnsupportedSuper,{at:e}),this.finishNode(e,"Super")}},{key:"parsePrivateName",value:function(){var e=this.startNode(),t=this.startNodeAt(this.state.start+1,new v(this.state.curLine,this.state.start+1-this.state.lineStart,this.state.start+1)),n=this.state.value;return this.next(),e.id=this.createIdentifier(t,n),this.finishNode(e,"PrivateName")}},{key:"parseFunctionOrFunctionSent",value:function(){var e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){var t=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}},{key:"parseMetaProperty",value:function(e,t,n){e.meta=t;var r=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==n||r)&&this.raise(O.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:n}),this.finishNode(e,"MetaProperty")}},{key:"parseImportMetaProperty",value:function(e){var t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(O.ImportMetaOutsideModule,{at:t}),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}},{key:"parseLiteralAtNode",value:function(e,t,n){return this.addExtra(n,"rawValue",e),this.addExtra(n,"raw",this.input.slice(n.start,this.state.end)),n.value=e,this.next(),this.finishNode(n,t)}},{key:"parseLiteral",value:function(e,t){var n=this.startNode();return this.parseLiteralAtNode(e,t,n)}},{key:"parseStringLiteral",value:function(e){return this.parseLiteral(e,"StringLiteral")}},{key:"parseNumericLiteral",value:function(e){return this.parseLiteral(e,"NumericLiteral")}},{key:"parseBigIntLiteral",value:function(e){return this.parseLiteral(e,"BigIntLiteral")}},{key:"parseDecimalLiteral",value:function(e){return this.parseLiteral(e,"DecimalLiteral")}},{key:"parseRegExpLiteral",value:function(e){var t=this.parseLiteral(e.value,"RegExpLiteral");return t.pattern=e.pattern,t.flags=e.flags,t}},{key:"parseBooleanLiteral",value:function(e){var t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}},{key:"parseNullLiteral",value:function(){var e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}},{key:"parseParenAndDistinguishExpression",value:function(e){var t,n=this.state.start,r=this.state.startLoc;this.next(),this.expressionScope.enter(En());var i=this.state.maybeInArrowParameters,a=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;for(var o,s,u=this.state.start,l=this.state.startLoc,c=[],p=new Ln,f=!0;!this.match(11);){if(f)f=!1;else if(this.expect(12,null===p.optionalParametersLoc?null:p.optionalParametersLoc),this.match(11)){s=this.state.startLoc;break}if(this.match(21)){var d=this.state.start,h=this.state.startLoc;if(o=this.state.startLoc,c.push(this.parseParenItem(this.parseRestBinding(),d,h)),!this.checkCommaAfterRest(41))break}else c.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem))}var m=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=i,this.state.inFSharpPipelineDirectBody=a;var y=this.startNodeAt(n,r);return e&&this.shouldParseArrow(c)&&(y=this.parseArrow(y))?(this.checkDestructuringPrivate(p),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(y,c,!1),y):(this.expressionScope.exit(),c.length||this.unexpected(this.state.lastTokStartLoc),s&&this.unexpected(s),o&&this.unexpected(o),this.checkExpressionErrors(p,!0),this.toReferencedListDeep(c,!0),c.length>1?((t=this.startNodeAt(u,l)).expressions=c,this.finishNode(t,"SequenceExpression"),this.resetEndLocation(t,m)):t=c[0],this.wrapParenthesis(n,r,t))}},{key:"wrapParenthesis",value:function(e,t,n){if(!this.options.createParenthesizedExpressions)return this.addExtra(n,"parenthesized",!0),this.addExtra(n,"parenStart",e),this.takeSurroundingComments(n,e,this.state.lastTokEndLoc.index),n;var r=this.startNodeAt(e,t);return r.expression=n,this.finishNode(r,"ParenthesizedExpression"),r}},{key:"shouldParseArrow",value:function(e){return!this.canInsertSemicolon()}},{key:"parseArrow",value:function(e){if(this.eat(19))return e}},{key:"parseParenItem",value:function(e,t,n){return e}},{key:"parseNewOrNewTarget",value:function(){var e=this.startNode();if(this.next(),this.match(16)){var t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();var n=this.parseMetaProperty(e,t,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&this.raise(O.UnexpectedNewTarget,{at:n}),n}return this.parseNew(e)}},{key:"parseNew",value:function(e){if(this.parseNewCallee(e),this.eat(10)){var t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,"NewExpression")}},{key:"parseNewCallee",value:function(e){e.callee=this.parseNoCallExpr(),"Import"===e.callee.type?this.raise(O.ImportCallNotNewExpression,{at:e.callee}):this.isOptionalChain(e.callee)?this.raise(O.OptionalChainingNoNew,{at:this.state.lastTokEndLoc}):this.eat(18)&&this.raise(O.OptionalChainingNoNew,{at:this.state.startLoc})}},{key:"parseTemplateElement",value:function(e){var t=this.state,n=t.start,r=t.startLoc,i=t.end,a=t.value,o=n+1,s=this.startNodeAt(o,D(r,1));null===a&&(e||this.raise(O.InvalidEscapeSequenceTemplate,{at:D(r,2)}));var u=this.match(24),l=u?-1:-2,c=i+l;return s.value={raw:this.input.slice(o,c).replace(/\r\n?/g,"\n"),cooked:null===a?null:a.slice(1,l)},s.tail=u,this.next(),this.finishNode(s,"TemplateElement"),this.resetEndLocation(s,D(this.state.lastTokEndLoc,l)),s}},{key:"parseTemplate",value:function(e){var t=this.startNode();t.expressions=[];var n=this.parseTemplateElement(e);for(t.quasis=[n];!n.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(n=this.parseTemplateElement(e));return this.finishNode(t,"TemplateLiteral")}},{key:"parseTemplateSubstitution",value:function(){return this.parseExpression()}},{key:"parseObjectLike",value:function(e,t,n,r){n&&this.expectPlugin("recordAndTuple");var i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;var a=Object.create(null),o=!0,s=this.startNode();for(s.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(s);break}var u=void 0;t?u=this.parseBindingProperty():(u=this.parsePropertyDefinition(r),this.checkProto(u,n,a,r)),n&&!this.isObjectProperty(u)&&"SpreadElement"!==u.type&&this.raise(O.InvalidRecordProperty,{at:u}),u.shorthand&&this.addExtra(u,"shorthand",!0),s.properties.push(u)}this.next(),this.state.inFSharpPipelineDirectBody=i;var l="ObjectExpression";return t?l="ObjectPattern":n&&(l="RecordExpression"),this.finishNode(s,l)}},{key:"addTrailingCommaExtraToNode",value:function(e){this.addExtra(e,"trailingComma",this.state.lastTokStart),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}},{key:"maybeAsyncOrAccessorProp",value:function(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}},{key:"parsePropertyDefinition",value:function(e){var t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(O.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());var n,r,i=this.startNode(),a=!1,o=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(i.decorators=t,t=[]),i.method=!1,e&&(n=this.state.start,r=this.state.startLoc);var s=this.eat(55);this.parsePropertyNamePrefixOperator(i);var u=this.state.containsEsc,l=this.parsePropertyName(i,e);if(!s&&!u&&this.maybeAsyncOrAccessorProp(i)){var c=l.name;"async"===c&&!this.hasPrecedingLineBreak()&&(a=!0,this.resetPreviousNodeTrailingComments(l),s=this.eat(55),this.parsePropertyName(i)),("get"===c||"set"===c)&&(o=!0,this.resetPreviousNodeTrailingComments(l),i.kind=c,this.match(55)&&(s=!0,this.raise(O.AccessorIsGenerator,{at:this.state.curPosition(),kind:c}),this.next()),this.parsePropertyName(i))}return this.parseObjPropValue(i,n,r,s,a,!1,o,e),i}},{key:"getGetterSetterExpectedParamCount",value:function(e){return"get"===e.kind?0:1}},{key:"getObjectOrClassMethodParams",value:function(e){return e.params}},{key:"checkGetterSetterParams",value:function(e){var t,n=this.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e);r.length!==n&&this.raise("get"===e.kind?O.BadGetterArity:O.BadSetterArity,{at:e}),"set"===e.kind&&"RestElement"===(null==(t=r[r.length-1])?void 0:t.type)&&this.raise(O.BadSetterRestParameter,{at:e})}},{key:"parseObjectMethod",value:function(e,t,n,r,i){return i?(this.parseMethod(e,t,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(e),e):n||t||this.match(10)?(r&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,n,!1,!1,"ObjectMethod")):void 0}},{key:"parseObjectProperty",value:function(e,t,n,r,i){if(e.shorthand=!1,this.eat(14))return e.value=r?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),r)e.value=this.parseMaybeDefault(t,n,jn(e.key));else if(this.match(29)){var a=this.state.startLoc;null!=i?null===i.shorthandAssignLoc&&(i.shorthandAssignLoc=a):this.raise(O.InvalidCoverInitializedName,{at:a}),e.value=this.parseMaybeDefault(t,n,jn(e.key))}else e.value=jn(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}}},{key:"parseObjPropValue",value:function(e,t,n,r,i,a,o,s){var u=this.parseObjectMethod(e,r,i,a,o)||this.parseObjectProperty(e,t,n,a,s);return u||this.unexpected(),u}},{key:"parsePropertyName",value:function(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{var n,r=this.state,i=r.type,a=r.value;if(ce(i))n=this.parseIdentifier(!0);else switch(i){case 130:n=this.parseNumericLiteral(a);break;case 129:n=this.parseStringLiteral(a);break;case 131:n=this.parseBigIntLiteral(a);break;case 132:n=this.parseDecimalLiteral(a);break;case 134:var o=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=o):this.raise(O.UnexpectedPrivateField,{at:o}),n=this.parsePrivateName();break;default:throw this.unexpected()}e.key=n,134!==i&&(e.computed=!1)}return e.key}},{key:"initFunction",value:function(e,t){e.id=null,e.generator=!1,e.async=!!t}},{key:"parseMethod",value:function(e,t,n,r,i,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];this.initFunction(e,n),e.generator=!!t;var s=r;return this.scope.enter(Ye|tt|(o?rt:0)|(i?nt:0)),this.prodParam.enter(Nn(n,e.generator)),this.parseFunctionParams(e,s),this.parseFunctionBodyAndFinish(e,a,!0),this.prodParam.exit(),this.scope.exit(),e}},{key:"parseArrayLike",value:function(e,t,n,r){n&&this.expectPlugin("recordAndTuple");var i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;var a=this.startNode();return this.next(),a.elements=this.parseExprList(e,!n,r,a),this.state.inFSharpPipelineDirectBody=i,this.finishNode(a,n?"TupleExpression":"ArrayExpression")}},{key:"parseArrowExpression",value:function(e,t,n,r){this.scope.enter(Ye|Ze);var i=Nn(n,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=Pn),this.prodParam.enter(i),this.initFunction(e,n);var a=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,r)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(e,"ArrowFunctionExpression")}},{key:"setArrowFunctionParameters",value:function(e,t,n){this.toAssignableList(t,n,!1),e.params=t}},{key:"parseFunctionBodyAndFinish",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.parseFunctionBody(e,!1,n),this.finishNode(e,t)}},{key:"parseFunctionBody",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t&&!this.match(5);if(this.expressionScope.enter(wn()),i)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{var a=this.state.strict,o=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|Tn),e.body=this.parseBlock(!0,!1,(function(i){var o=!n.isSimpleParamList(e.params);i&&o&&n.raise(O.IllegalLanguageModeDirective,{at:"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end});var s=!a&&n.state.strict;n.checkParams(e,!n.state.strict&&!t&&!r&&!o,t,s),n.state.strict&&e.id&&n.checkIdentifier(e.id,St,s)})),this.prodParam.exit(),this.state.labels=o}this.expressionScope.exit()}},{key:"isSimpleParameter",value:function(e){return"Identifier"===e.type}},{key:"isSimpleParamList",value:function(e){for(var t=0,n=e.length;t3&&void 0!==arguments[3])||arguments[3],a=!t&&new Set,o={type:"FormalParameters"},s=p(e.params);try{for(s.s();!(r=s.n()).done;){var u=r.value;this.checkLVal(u,{in:o,binding:bt,checkClashes:a,strictModeChanged:i})}}catch(l){s.e(l)}finally{s.f()}}},{key:"parseExprList",value:function(e,t,n,r){for(var i=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){r&&this.addTrailingCommaExtraToNode(r),this.next();break}i.push(this.parseExprListItem(t,n))}return i}},{key:"parseExprListItem",value:function(e,t,n){var r;if(this.match(12))e||this.raise(O.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),r=null;else if(this.match(21)){var i=this.state.start,a=this.state.startLoc;r=this.parseParenItem(this.parseSpread(t),i,a)}else if(this.match(17)){this.expectPlugin("partialApplication"),n||this.raise(O.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});var o=this.startNode();this.next(),r=this.finishNode(o,"ArgumentPlaceholder")}else r=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return r}},{key:"parseIdentifier",value:function(e){var t=this.startNode(),n=this.parseIdentifierName(t.start,e);return this.createIdentifier(t,n)}},{key:"createIdentifier",value:function(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}},{key:"parseIdentifierName",value:function(e,t){var n,r=this.state,i=r.startLoc,a=r.type;if(!ce(a))throw this.unexpected();n=this.state.value;var o=le(a);return t?o&&this.replaceToken(128):this.checkReservedWord(n,i,o,!1),this.next(),n}},{key:"checkReservedWord",value:function(e,t,n,r){if(!(e.length>10)&&$e(e)){if("yield"===e){if(this.prodParam.hasYield)return void this.raise(O.YieldBindingIdentifier,{at:t})}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(O.AwaitBindingIdentifier,{at:t});if(this.scope.inStaticBlock)return void this.raise(O.AwaitBindingIdentifierInStaticBlock,{at:t});this.expressionScope.recordAsyncArrowParametersError({at:t})}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(O.ArgumentsInClass,{at:t});n&&qe(e)?this.raise(O.UnexpectedKeyword,{at:t,keyword:e}):(this.state.strict?r?Ge:Ue:He)(e,this.inModule)&&this.raise(O.UnexpectedReservedWord,{at:t,reservedWord:e})}}},{key:"isAwaitAllowed",value:function(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}},{key:"parseAwait",value:function(e,t){var n=this.startNodeAt(e,t);return this.expressionScope.recordParameterInitializerError(O.AwaitExpressionFormalParameter,{at:n}),this.eat(55)&&this.raise(O.ObsoleteAwaitStar,{at:n}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(n.argument=this.parseMaybeUnary(null,!0)),this.finishNode(n,"AwaitExpression")}},{key:"isAmbiguousAwait",value:function(){if(this.hasPrecedingLineBreak())return!0;var e=this.state.type;return 53===e||10===e||0===e||Se(e)||133===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}},{key:"parseYield",value:function(){var e=this.startNode();this.expressionScope.recordParameterInitializerError(O.YieldInParameter,{at:e}),this.next();var t=!1,n=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 135:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:n=this.parseMaybeAssign()}return e.delegate=t,e.argument=n,this.finishNode(e,"YieldExpression")}},{key:"checkPipelineAtInfixOperator",value:function(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(O.PipelineHeadSequenceExpression,{at:t})}},{key:"parseSmartPipelineBodyInStyle",value:function(e,t,n){var r=this.startNodeAt(t,n);return this.isSimpleReference(e)?(r.callee=e,this.finishNode(r,"PipelineBareFunction")):(this.checkSmartPipeTopicBodyEarlyErrors(n),r.expression=e,this.finishNode(r,"PipelineTopicExpression"))}},{key:"isSimpleReference",value:function(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}},{key:"checkSmartPipeTopicBodyEarlyErrors",value:function(e){if(this.match(19))throw this.raise(O.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(O.PipelineTopicUnused,{at:e})}},{key:"withTopicBindingContext",value:function(e){var t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}},{key:"withSmartMixTopicForbiddingContext",value:function(e){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return e();var t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}},{key:"withSoloAwaitPermittingContext",value:function(e){var t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}},{key:"allowInAnd",value:function(e){var t=this.prodParam.currentFlags();if(Pn&~t){this.prodParam.enter(t|Pn);try{return e()}finally{this.prodParam.exit()}}return e()}},{key:"disallowInAnd",value:function(e){var t=this.prodParam.currentFlags();if(Pn&t){this.prodParam.enter(t&~Pn);try{return e()}finally{this.prodParam.exit()}}return e()}},{key:"registerTopicReference",value:function(){this.state.topicContext.maxTopicIndex=0}},{key:"topicReferenceIsAllowedInCurrentContext",value:function(){return this.state.topicContext.maxNumOfResolvableTopics>=1}},{key:"topicReferenceWasUsedInCurrentContext",value:function(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}},{key:"parseFSharpPipelineBody",value:function(e){var t=this.state.start,n=this.state.startLoc;this.state.potentialArrowAt=this.state.start;var r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;var i=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,n,e);return this.state.inFSharpPipelineDirectBody=r,i}},{key:"parseModuleExpression",value:function(){this.expectPlugin("moduleBlocks");var e=this.startNode();this.next(),this.eat(5);var t=this.initializeScopes(!0);this.enterInitialScopes();var n=this.startNode();try{e.body=this.parseProgram(n,8,"module")}finally{t()}return this.eat(8),this.finishNode(e,"ModuleExpression")}},{key:"parsePropertyNamePrefixOperator",value:function(e){}}]),n}(Tr),Br={kind:"loop"},Nr={kind:"switch"},Ir=0,Lr=1,Or=2,_r=4,Mr=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,jr=new RegExp("in(?:stanceof)?","y");function Rr(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:135,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.options.sourceType;if(e.sourceType=n,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(var r=0,i=Array.from(this.scope.undefinedExports);r2&&void 0!==arguments[2]&&arguments[2];return this.next(),this.parseVar(e,!1,t,n),this.semicolon(),this.finishNode(e,"VariableDeclaration")}},{key:"parseWhileStatement",value:function(e){var t=this;return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(Br),e.body=this.withSmartMixTopicForbiddingContext((function(){return t.parseStatement("while")})),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}},{key:"parseWithStatement",value:function(e){var t=this;return this.state.strict&&this.raise(O.StrictWith,{at:this.state.startLoc}),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext((function(){return t.parseStatement("with")})),this.finishNode(e,"WithStatement")}},{key:"parseEmptyStatement",value:function(e){return this.next(),this.finishNode(e,"EmptyStatement")}},{key:"parseLabeledStatement",value:function(e,t,n,r){var i,a=p(this.state.labels);try{for(a.s();!(i=a.n()).done;)i.value.name===t&&this.raise(O.LabelRedeclaration,{at:n,labelName:t})}catch(l){a.e(l)}finally{a.f()}for(var o=ye(this.state.type)?"loop":this.match(71)?"switch":null,s=this.state.labels.length-1;s>=0;s--){var u=this.state.labels[s];if(u.statementStart!==e.start)break;u.statementStart=this.state.start,u.kind=o}return this.state.labels.push({name:t,kind:o,statementStart:this.state.start}),e.body=this.parseStatement(r?-1===r.indexOf("label")?r+"label":r:"label"),this.state.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")}},{key:"parseExpressionStatement",value:function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}},{key:"parseBlock",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,r=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(Xe),this.parseBlockBody(r,e,!1,8,n),t&&this.scope.exit(),this.finishNode(r,"BlockStatement")}},{key:"isValidDirective",value:function(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}},{key:"parseBlockBody",value:function(e,t,n,r,i){var a=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(a,t?o:void 0,n,r,i)}},{key:"parseBlockOrModuleBlockBody",value:function(e,t,n,r,i){for(var a=this.state.strict,o=!1,s=!1;!this.match(r);){var u=this.parseStatement(null,n);if(t&&!s){if(this.isValidDirective(u)){var l=this.stmtToDirective(u);t.push(l),!o&&"use strict"===l.value.value&&(o=!0,this.setStrict(!0));continue}s=!0,this.state.strictErrors.clear()}e.push(u)}i&&i.call(this,o),a||this.setStrict(!1),this.next()}},{key:"parseFor",value:function(e,t){var n=this;return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((function(){return n.parseStatement("for")})),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}},{key:"parseForIn",value:function(e,t,n){var r=this,i=this.match(58);return this.next(),i?null!==n&&this.unexpected(n):e.await=null!==n,"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!i||this.state.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(O.ForInOfLoopInitializer,{at:t,type:i?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(O.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}}),e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((function(){return r.parseStatement("for")})),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")}},{key:"parseVar",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.declarations=[];for(e.kind=n;;){var a=this.startNode();if(this.parseVarId(a,n),a.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null===a.init&&!r&&("Identifier"===a.id.type||t&&(this.match(58)||this.isContextual(101))?"const"===n&&!(this.match(58)||this.isContextual(101))&&this.raise(O.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"}):this.raise(O.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})),i.push(this.finishNode(a,"VariableDeclarator")),!this.eat(12))break}return e}},{key:"parseVarId",value:function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,{in:{type:"VariableDeclarator"},binding:"var"===t?bt:Dt})}},{key:"parseFunction",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ir,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=n&Lr,a=n&Or,o=!!i&&!(n&_r);this.initFunction(e,r),this.match(55)&&a&&this.raise(O.GeneratorInSingleStatementContext,{at:this.state.startLoc}),e.generator=this.eat(55),i&&(e.id=this.parseFunctionId(o));var s=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(Ye),this.prodParam.enter(Nn(r,e.generator)),i||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext((function(){t.parseFunctionBodyAndFinish(e,i?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),i&&!a&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=s,e}},{key:"parseFunctionId",value:function(e){return e||ue(this.state.type)?this.parseIdentifier():null}},{key:"parseFunctionParams",value:function(e,t){this.expect(10),this.expressionScope.enter(Cn()),e.params=this.parseBindingList(11,41,!1,t),this.expressionScope.exit()}},{key:"registerFunctionStatementId",value:function(e){!e.id||this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?bt:Dt:xt,e.id.loc.start)}},{key:"parseClass",value:function(e,t,n){this.next(),this.takeDecorators(e);var r=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,n),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,r),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}},{key:"isClassProperty",value:function(){return this.match(29)||this.match(13)||this.match(8)}},{key:"isClassMethod",value:function(){return this.match(10)}},{key:"isNonstaticConstructor",value:function(e){return!e.computed&&!e.static&&("constructor"===e.key.name||"constructor"===e.key.value)}},{key:"parseClassBody",value:function(e,t){var n=this;this.classScope.enter();var r={hadConstructor:!1,hadSuperClass:e},i=[],a=this.startNode();if(a.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((function(){for(;!n.match(8);)if(n.eat(13)){if(i.length>0)throw n.raise(O.DecoratorSemicolon,{at:n.state.lastTokEndLoc})}else if(n.match(26))i.push(n.parseDecorator());else{var e=n.startNode();i.length&&(e.decorators=i,n.resetStartLocationFromNode(e,i[0]),i=[]),n.parseClassMember(a,e,r),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&n.raise(O.DecoratorConstructor,{at:e})}})),this.state.strict=t,this.next(),i.length)throw this.raise(O.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(a,"ClassBody")}},{key:"parseClassMemberFromModifier",value:function(e,t){var n=this.parseIdentifier(!0);if(this.isClassMethod()){var r=t;return r.kind="method",r.computed=!1,r.key=n,r.static=!1,this.pushClassMethod(e,r,!1,!1,!1,!1),!0}if(this.isClassProperty()){var i=t;return i.computed=!1,i.key=n,i.static=!1,e.body.push(this.parseClassProperty(i)),!0}return this.resetPreviousNodeTrailingComments(n),!1}},{key:"parseClassMember",value:function(e,t,n){var r=this.isContextual(104);if(r){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,n,r)}},{key:"parseClassMemberWithIsStatic",value:function(e,t,n,r){var i=t,a=t,o=t,s=t,u=t,l=i,c=i;if(t.static=r,this.parsePropertyNamePrefixOperator(t),this.eat(55)){l.kind="method";var p=this.match(134);return this.parseClassElementName(l),p?void this.pushClassPrivateMethod(e,a,!0,!1):(this.isNonstaticConstructor(i)&&this.raise(O.ConstructorIsGenerator,{at:i.key}),void this.pushClassMethod(e,i,!0,!1,!1,!1))}var f=ue(this.state.type)&&!this.state.containsEsc,d=this.match(134),h=this.parseClassElementName(t),m=this.state.startLoc;if(this.parsePostMemberNameModifiers(c),this.isClassMethod()){if(l.kind="method",d)return void this.pushClassPrivateMethod(e,a,!1,!1);var y=this.isNonstaticConstructor(i),v=!1;y&&(i.kind="constructor",n.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(O.DuplicateConstructor,{at:h}),y&&this.hasPlugin("typescript")&&t.override&&this.raise(O.OverrideOnConstructor,{at:h}),n.hadConstructor=!0,v=n.hadSuperClass),this.pushClassMethod(e,i,!1,!1,y,v)}else if(this.isClassProperty())d?this.pushClassPrivateProperty(e,s):this.pushClassProperty(e,o);else if(f&&"async"===h.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(h);var g=this.eat(55);c.optional&&this.unexpected(m),l.kind="method";var D=this.match(134);this.parseClassElementName(l),this.parsePostMemberNameModifiers(c),D?this.pushClassPrivateMethod(e,a,g,!0):(this.isNonstaticConstructor(i)&&this.raise(O.ConstructorIsAsync,{at:i.key}),this.pushClassMethod(e,i,g,!0,!1,!1))}else if(!f||"get"!==h.name&&"set"!==h.name||this.match(55)&&this.isLineTerminator())if(f&&"accessor"===h.name&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(h);var b=this.match(134);this.parseClassElementName(o),this.pushClassAccessorProperty(e,u,b)}else this.isLineTerminator()?d?this.pushClassPrivateProperty(e,s):this.pushClassProperty(e,o):this.unexpected();else{this.resetPreviousNodeTrailingComments(h),l.kind=h.name;var x=this.match(134);this.parseClassElementName(i),x?this.pushClassPrivateMethod(e,a,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(O.ConstructorIsAccessor,{at:i.key}),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}}},{key:"parseClassElementName",value:function(e){var t=this.state,n=t.type,r=t.value;if((128===n||129===n)&&e.static&&"prototype"===r&&this.raise(O.StaticPrototype,{at:this.state.startLoc}),134===n){"constructor"===r&&this.raise(O.ConstructorClassPrivateField,{at:this.state.startLoc});var i=this.parsePrivateName();return e.key=i,i}return this.parsePropertyName(e)}},{key:"parseClassStaticBlock",value:function(e,t){var n;this.scope.enter(rt|it|tt);var r=this.state.labels;this.state.labels=[],this.prodParam.enter(kn);var i=t.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=r,e.body.push(this.finishNode(t,"StaticBlock")),null!=(n=t.decorators)&&n.length&&this.raise(O.DecoratorStaticBlock,{at:t})}},{key:"pushClassProperty",value:function(e,t){!t.computed&&("constructor"===t.key.name||"constructor"===t.key.value)&&this.raise(O.ConstructorClassField,{at:t.key}),e.body.push(this.parseClassProperty(t))}},{key:"pushClassPrivateProperty",value:function(e,t){var n=this.parseClassPrivateProperty(t);e.body.push(n),this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),Rt,n.key.loc.start)}},{key:"pushClassAccessorProperty",value:function(e,t,n){if(!n&&!t.computed){var r=t.key;("constructor"===r.name||"constructor"===r.value)&&this.raise(O.ConstructorClassField,{at:r})}var i=this.parseClassAccessorProperty(t);e.body.push(i),n&&this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),Rt,i.key.loc.start)}},{key:"pushClassMethod",value:function(e,t,n,r,i,a){e.body.push(this.parseMethod(t,n,r,i,a,"ClassMethod",!0))}},{key:"pushClassPrivateMethod",value:function(e,t,n,r){var i=this.parseMethod(t,n,r,!1,!1,"ClassPrivateMethod",!0);e.body.push(i);var a="get"===i.kind?i.static?Ot:Mt:"set"===i.kind?i.static?_t:jt:Rt;this.declareClassPrivateMethodInScope(i,a)}},{key:"declareClassPrivateMethodInScope",value:function(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}},{key:"parsePostMemberNameModifiers",value:function(e){}},{key:"parseClassPrivateProperty",value:function(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}},{key:"parseClassProperty",value:function(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}},{key:"parseClassAccessorProperty",value:function(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")}},{key:"parseInitializer",value:function(e){this.scope.enter(rt|tt),this.expressionScope.enter(wn()),this.prodParam.enter(kn),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}},{key:"parseClassId",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:gt;if(ue(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,r);else{if(!n&&t)throw this.raise(O.MissingClassName,{at:this.state.startLoc});e.id=null}}},{key:"parseClassSuper",value:function(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}},{key:"parseExport",value:function(e){var t=this.maybeParseExportDefaultSpecifier(e),n=!t||this.eat(12),r=n&&this.eatExportStar(e),i=r&&this.maybeParseExportNamespaceSpecifier(e),a=n&&(!i||this.eat(12)),o=t||r;if(r&&!i)return t&&this.unexpected(),this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration");var s,u=this.maybeParseExportNamedSpecifiers(e);if(t&&n&&!r&&!u||i&&a&&!u)throw this.unexpected(null,5);if(o||u?(s=!1,this.parseExportFrom(e,o)):s=this.maybeParseExportDeclaration(e),o||u||s)return this.checkExport(e,!0,!1,!!e.source),this.finishNode(e,"ExportNamedDeclaration");if(this.eat(65))return e.declaration=this.parseExportDefaultExpression(),this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration");throw this.unexpected(null,5)}},{key:"eatExportStar",value:function(e){return this.eat(55)}},{key:"maybeParseExportDefaultSpecifier",value:function(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");var t=this.startNode();return t.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")],!0}return!1}},{key:"maybeParseExportNamespaceSpecifier",value:function(e){if(this.isContextual(93)){e.specifiers||(e.specifiers=[]);var t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}},{key:"maybeParseExportNamedSpecifiers",value:function(e){if(this.match(5)){var t;e.specifiers||(e.specifiers=[]);var n="type"===e.exportKind;return(t=e.specifiers).push.apply(t,r(this.parseExportSpecifiers(n))),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}},{key:"maybeParseExportDeclaration",value:function(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0)}},{key:"isAsyncFunction",value:function(){if(!this.isContextual(95))return!1;var e=this.nextTokenStart();return!qt.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}},{key:"parseExportDefaultExpression",value:function(){var e=this.startNode(),t=this.isAsyncFunction();if(this.match(68)||t)return this.next(),t&&this.next(),this.parseFunction(e,Lr|_r,t);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(O.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseDecorators(!1),this.parseClass(e,!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(O.UnsupportedDefaultExport,{at:this.state.startLoc});var n=this.parseMaybeAssignAllowIn();return this.semicolon(),n}},{key:"parseExportDeclaration",value:function(e){return this.parseStatement(null)}},{key:"isExportDefaultSpecifier",value:function(){var e=this.state.type;if(ue(e)){if(95===e&&!this.state.containsEsc||99===e)return!1;if((126===e||125===e)&&!this.state.containsEsc){var t=this.lookahead().type;if(ue(t)&&97!==t||5===t)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;var n=this.nextTokenStart(),r=this.isUnparsedContextual(n,"from");if(44===this.input.charCodeAt(n)||ue(this.state.type)&&r)return!0;if(this.match(65)&&r){var i=this.input.charCodeAt(this.nextTokenStartSince(n+4));return 34===i||39===i}return!1}},{key:"parseExportFrom",value:function(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource(),this.checkExport(e);var n=this.maybeParseImportAssertions();n&&(e.assertions=n)}else t&&this.unexpected();this.semicolon()}},{key:"shouldParseExportDeclaration",value:function(){var e=this.state.type;if(26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(this.getPluginOption("decorators","decoratorsBeforeExport"))throw this.raise(O.DecoratorBeforeExport,{at:this.state.startLoc});return!0}return 74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}},{key:"checkExport",value:function(e,t,n,r){if(t)if(n){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var i,a=e.declaration;"Identifier"===a.type&&"from"===a.name&&a.end-a.start===4&&(null==(i=a.extra)||!i.parenthesized)&&this.raise(O.ExportDefaultFromAsIdentifier,{at:a})}}else if(e.specifiers&&e.specifiers.length){var o,s=p(e.specifiers);try{for(s.s();!(o=s.n()).done;){var u=o.value,l=u.exported,c="Identifier"===l.type?l.name:l.value;if(this.checkDuplicateExports(u,c),!r&&u.local){var f=u.local;"Identifier"!==f.type?this.raise(O.ExportBindingIsString,{at:u,localName:f.value,exportName:c}):(this.checkReservedWord(f.name,f.loc.start,!0,!1),this.scope.checkLocalExport(f))}}}catch(v){s.e(v)}finally{s.f()}}else if(e.declaration)if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type){var d=e.declaration.id;if(!d)throw new Error("Assertion failure");this.checkDuplicateExports(e,d.name)}else if("VariableDeclaration"===e.declaration.type){var h,m=p(e.declaration.declarations);try{for(m.s();!(h=m.n()).done;){var y=h.value;this.checkDeclaration(y.id)}}catch(v){m.e(v)}finally{m.f()}}if(this.state.decoratorStack[this.state.decoratorStack.length-1].length)throw this.raise(O.UnsupportedDecoratorExport,{at:e})}},{key:"checkDeclaration",value:function(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type){var t,n=p(e.properties);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.checkDeclaration(r)}}catch(s){n.e(s)}finally{n.f()}}else if("ArrayPattern"===e.type){var i,a=p(e.elements);try{for(a.s();!(i=a.n()).done;){var o=i.value;o&&this.checkDeclaration(o)}}catch(s){a.e(s)}finally{a.f()}}else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"AssignmentPattern"===e.type&&this.checkDeclaration(e.left)}},{key:"checkDuplicateExports",value:function(e,t){this.exportedIdentifiers.has(t)&&("default"===t?this.raise(O.DuplicateDefaultExport,{at:e}):this.raise(O.DuplicateExport,{at:e,exportName:t})),this.exportedIdentifiers.add(t)}},{key:"parseExportSpecifiers",value:function(e){var t=[],n=!0;for(this.expect(5);!this.eat(8);){if(n)n=!1;else if(this.expect(12),this.eat(8))break;var r=this.isContextual(126),i=this.match(129),a=this.startNode();a.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(a,i,e,r))}return t}},{key:"parseExportSpecifier",value:function(e,t,n,r){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=Rn(e.local):e.exported||(e.exported=jn(e.local)),this.finishNode(e,"ExportSpecifier")}},{key:"parseModuleExportName",value:function(){if(this.match(129)){var e=this.parseStringLiteral(this.state.value),t=e.value.match(Mr);return t&&this.raise(O.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}},{key:"parseImport",value:function(e){if(e.specifiers=[],!this.match(129)){var t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),n=t&&this.maybeParseStarImportSpecifier(e);t&&!n&&this.parseNamedImportSpecifiers(e),this.expectContextual(97)}e.source=this.parseImportSource();var r=this.maybeParseImportAssertions();if(r)e.assertions=r;else{var i=this.maybeParseModuleAttributes();i&&(e.attributes=i)}return this.semicolon(),this.finishNode(e,"ImportDeclaration")}},{key:"parseImportSource",value:function(){return this.match(129)||this.unexpected(),this.parseExprAtom()}},{key:"shouldParseDefaultImport",value:function(e){return ue(this.state.type)}},{key:"parseImportSpecifierLocal",value:function(e,t,n){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,n))}},{key:"finishImportSpecifier",value:function(e,t){return this.checkLVal(e.local,{in:e,binding:Dt}),this.finishNode(e,t)}},{key:"parseAssertEntries",value:function(){var e=[],t=new Set;do{if(this.match(8))break;var n=this.startNode(),r=this.state.value;if(t.has(r)&&this.raise(O.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:r}),t.add(r),this.match(129)?n.key=this.parseStringLiteral(r):n.key=this.parseIdentifier(!0),this.expect(14),!this.match(129))throw this.raise(O.ModuleAttributeInvalidValue,{at:this.state.startLoc});n.value=this.parseStringLiteral(this.state.value),this.finishNode(n,"ImportAttribute"),e.push(n)}while(this.eat(12));return e}},{key:"maybeParseModuleAttributes",value:function(){if(!this.match(76)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();var e=[],t=new Set;do{var n=this.startNode();if(n.key=this.parseIdentifier(!0),"type"!==n.key.name&&this.raise(O.ModuleAttributeDifferentFromType,{at:n.key}),t.has(n.key.name)&&this.raise(O.ModuleAttributesWithDuplicateKeys,{at:n.key,key:n.key.name}),t.add(n.key.name),this.expect(14),!this.match(129))throw this.raise(O.ModuleAttributeInvalidValue,{at:this.state.startLoc});n.value=this.parseStringLiteral(this.state.value),this.finishNode(n,"ImportAttribute"),e.push(n)}while(this.eat(12));return e}},{key:"maybeParseImportAssertions",value:function(){if(!this.isContextual(94)||this.hasPrecedingLineBreak())return this.hasPlugin("importAssertions")?[]:null;this.expectPlugin("importAssertions"),this.next(),this.eat(5);var e=this.parseAssertEntries();return this.eat(8),e}},{key:"maybeParseDefaultImportSpecifier",value:function(e){return!!this.shouldParseDefaultImport(e)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0)}},{key:"maybeParseStarImportSpecifier",value:function(e){if(this.match(55)){var t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier"),!0}return!1}},{key:"parseNamedImportSpecifiers",value:function(e){var t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(O.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}var n=this.startNode(),r=this.match(129),i=this.isContextual(126);n.imported=this.parseModuleExportName();var a=this.parseImportSpecifier(n,r,"type"===e.importKind||"typeof"===e.importKind,i);e.specifiers.push(a)}}},{key:"parseImportSpecifier",value:function(e,t,n,r){if(this.eatContextual(93))e.local=this.parseIdentifier();else{var i=e.imported;if(t)throw this.raise(O.ImportBindingIsString,{at:e,importName:i.value});this.checkReservedWord(i.name,e.loc.start,!0,!0),e.local||(e.local=jn(i))}return this.finishImportSpecifier(e,"ImportSpecifier")}},{key:"isThisParam",value:function(e){return"Identifier"===e.type&&"this"===e.name}}]),n}(Pr),Vr=function(e){o(n,e);var t=s(n);function n(e,r){var i;return l(this,n),e=kr(e),(i=t.call(this,e,r)).options=e,i.initializeScopes(),i.plugins=Hr(i.options.plugins),i.filename=e.sourceFilename,i}return u(n,[{key:"getScopeHandler",value:function(){return cn}},{key:"parse",value:function(){this.enterInitialScopes();var e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e}}]),n}(Wr);function Hr(e){var t,n=new Map,r=p(e);try{for(r.s();!(t=r.n()).done;){var i=t.value,a=Array.isArray(i)?i:[i,{}],o=c(a,2),s=o[0],u=o[1];n.has(s)||n.set(s,u||{})}}catch(l){r.e(l)}finally{r.f()}return n}function Ur(e,t){var n;if("unambiguous"!==(null==(n=t)?void 0:n.sourceType))return Kr(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";var r=Kr(t,e),i=r.parse();if(r.sawUnambiguousESM)return i;if(r.ambiguousScriptDifferentAst)try{return t.sourceType="script",Kr(t,e).parse()}catch(a){}else i.program.sourceType="script";return i}catch(r){try{return t.sourceType="script",Kr(t,e).parse()}catch(o){}throw r}}function zr(e,t){var n=Kr(t,e);return n.options.strictMode&&(n.state.strict=!0),n.getExpression()}function Gr(e){for(var t={},n=0,r=Object.keys(e);n0&&void 0!==arguments[0]?arguments[0]:{}).allowComments,t=void 0===e||e;return function(e){var r,i=ge().parseExpression;try{r=i(e,{tokens:!0,ranges:!0})}catch(o){throw a(o)}if(!t&&n(r.comments))throw s(r.comments[0],"Comment");return u(r),r}}function s(e,t){var n=[e.loc.start,e.loc.end].map((function(e){return{line:e.line,column:e.column+1}})),i=c(n,2),a=i[0],o=i[1];return r("".concat(t," is not allowed in JSON."),{start:a,end:o})}function u(e){switch(e.type){case"ArrayExpression":var t,r=p(e.elements);try{for(r.s();!(t=r.n()).done;){var i=t.value;null!==i&&u(i)}}catch(h){r.e(h)}finally{r.f()}return;case"ObjectExpression":var a,o=p(e.properties);try{for(o.s();!(a=o.n()).done;)u(a.value)}catch(h){o.e(h)}finally{o.f()}return;case"ObjectProperty":if(e.computed)throw s(e.key,"Computed key");if(e.shorthand)throw s(e.key,"Shorthand property");return"Identifier"!==e.key.type&&u(e.key),void u(e.value);case"UnaryExpression":var l=e.operator,c=e.argument;if("+"!==l&&"-"!==l)throw s(e,"Operator '".concat(e.operator,"'"));if("NumericLiteral"===c.type||"Identifier"===c.type&&("Infinity"===c.name||"NaN"===c.name))return;throw s(c,"Operator '".concat(l,"' before '").concat(c.type,"'"));case"Identifier":if("Infinity"!==e.name&&"NaN"!==e.name&&"undefined"!==e.name)throw s(e,"Identifier '".concat(e.name,"'"));return;case"TemplateLiteral":if(n(e.expressions))throw s(e.expressions[0],"'TemplateLiteral' with expression");var f,d=p(e.quasis);try{for(d.s();!(f=d.n()).done;)u(f.value)}catch(h){d.e(h)}finally{d.f()}return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw s(e,"'".concat(e.type,"'"))}}var l=o(),f={json:i({parse:l,hasPragma:function(){return!0}}),json5:i(l),"json-stringify":i({parse:o({allowComments:!1}),astFormat:"estree-json"})};t.exports=f}});k();var xe=S(),Ce=F(),Ee=I(),Ae=se(),we=le(),ke=ve(),Se=De(),Fe={sourceType:"module",allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication",["decorators",{decoratorsBeforeExport:!1}],"importAssertions","decimal","moduleBlocks","asyncDoExpressions","regexpUnicodeSets","destructuringPrivate","decoratorAutoAccessors"],tokens:!0,ranges:!0},Pe=["recordAndTuple",{syntaxType:"hash"}],Be="v8intrinsic",Ne=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],Ie=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fe;return Object.assign(Object.assign({},t),{},{plugins:[].concat(r(t.plugins),r(e))})},Le=/@(?:no)?flow\b/;function Oe(e,t){if(t.filepath&&t.filepath.endsWith(".js.flow"))return!0;var n=Ce(e);n&&(e=e.slice(n.length));var r=Ee(e,0);return!1!==r&&(e=e.slice(0,r)),Le.test(e)}function _e(e,t,n){var r=ge()[e](t,n),i=r.errors.find((function(e){return!ze.has(e.reasonCode)}));if(i)throw i;return r}function Me(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:{};if(("babel"===a.parser||"__babel_estree"===a.parser)&&Oe(t,a))return a.parser="babel-flow",Re(t,i,a);var o=n;"script"===a.__babelSourceType&&(o=o.map((function(e){return Object.assign(Object.assign({},e),{},{sourceType:"script"})}))),/#[[{]/.test(t)&&(o=o.map((function(e){return Ie([Pe],e)})));var s=/%[A-Z]/.test(t);t.includes("|>")?o=(s?[].concat(Ne,[Be]):Ne).flatMap((function(e){return o.map((function(t){return Ie([e],t)}))})):s&&(o=o.map((function(e){return Ie([Be],e)})));var u=xe.apply(void 0,r(o.map((function(n){return function(){return _e(e,t,n)}})))),l=u.result,c=u.error;if(!l)throw we(c);return a.originalText=t,ke(l,a)}}var je=Me("parse",Ie(["jsx","flow"])),Re=Me("parse",Ie(["jsx",["flow",{all:!0,enums:!0}]])),We=Me("parse",Ie(["jsx","typescript"]),Ie(["typescript"])),Ve=Me("parse",Ie(["jsx","flow","estree"])),He=Me("parseExpression",Ie(["jsx"])),Ue=Me("parseExpression",Ie(["typescript"])),ze=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","EmptyTypeArguments","EmptyTypeParameters","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","UnexpectedParameterModifier","MixedLabeledAndUnlabeledElements","InvalidTupleMemberLabel","NonClassMethodPropertyHasAbstractModifer","ReadonlyForMethodSignature","ClassMethodHasDeclare","ClassMethodHasReadonly","InvalidModifierOnTypeMember","DuplicateAccessibilityModifier","IndexSignatureHasDeclare","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","LineTerminatorBeforeArrow","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","UnsupportedPropertyDecorator","OptionalTypeBeforeRequired","PatternIsOptional","OptionalBindingPattern","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","DeclareFunctionHasImplementation","ConstructorClassField","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport"]),Ge=Ae(je),qe=Ae(We),Ke=Ae(He),Je=Ae(Ue);t.exports={parsers:Object.assign(Object.assign({babel:Ge,"babel-flow":Ae(Re),"babel-ts":qe},Se),{},{__js_expression:Ke,__vue_expression:Ke,__vue_ts_expression:Je,__vue_event_binding:Ge,__vue_ts_event_binding:qe,__babel_estree:Ae(Ve)})}}));return Pe()}()}).call(this,n(12))},function(e,t,n){"use strict";var r=n(23),i=60103,a=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var o=60109,s=60110,u=60112;t.Suspense=60113;var l=60115,c=60116;if("function"===typeof Symbol&&Symbol.for){var p=Symbol.for;i=p("react.element"),a=p("react.portal"),t.Fragment=p("react.fragment"),t.StrictMode=p("react.strict_mode"),t.Profiler=p("react.profiler"),o=p("react.provider"),s=p("react.context"),u=p("react.forward_ref"),t.Suspense=p("react.suspense"),l=p("react.memo"),c=p("react.lazy")}var f="function"===typeof Symbol&&Symbol.iterator;function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n