You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Quantum__Index.0fcc09cb....

293 lines
1.3 MiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

var mt=Object.assign,KR=(ht,re,O)=>new Promise((oe,ve)=>{var We=ue=>{try{H(O.next(ue))}catch(pe){ve(pe)}},ke=ue=>{try{H(O.throw(ue))}catch(pe){ve(pe)}},H=ue=>ue.done?oe(ue.value):Promise.resolve(ue.value).then(We,ke);H((O=O.apply(ht,re)).next())});(window.webpackJsonp=window.webpackJsonp||[]).push([[237,3,5,6,8,11,12],{"+GGh":function(ht,re){ht.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAAA4CAYAAAAB3jHPAAAAAXNSR0IArs4c6QAAIABJREFUeF7VXQm4VVXZfvc+5yKzMqiAgpggqGihoBI4Zz+iQA7VX2Fa+GeFmjnmjAZmDlnmDGaDY5KzJmmWAiKIoCihmAN/ySTDvRcF4e691v+s4VvrW2vvcwFB8r/lcy/n7LP32nu9+/3e7/2+tU+CLfwjpaw0NmJfIcRBSYK+Uoq+QNIdEu0AtJMSLaSUABJzZPWn+iUlEiRQb6l37MvsfbOdfs+9qf5htnav6ffsvoP9+mPSsej4+iM0Jr5vPR4aIF0o9po6ziccPx1GnbWQZvzqNfef/rd9j7+uXhPmIqn36XN6H+rf+n/+dTV+2o/6kNq/39YfT72m3le7Vj/Cnq76tx4TGx9tS2Olz5RByc/EZgBNSlm3enU+TAiMkhJHSshtHULchKkrok5WnUY8SQxwNNf2hAmMRWD5ARMG9H4tWAxQ/XHoPQ5kt4cAVBZrHgF2Mw/kePwBYC2ozUDo+OoTFosMr24y7eTpCbY3SzzBZvLN9TMAor/55DMAWYAawHkwanAkBkgejAROvy8POPOe+r/+DL8R2N+14LNZAJNStmpoEGcikWdLKTvpiTbjt0zkJ5z4J5hgDjhiEY01zwyOXAL2spNtZ8GAx5wtAdgxEk14xJh6v3qGOdvFLGlhwW4SN/4YyHRw4lkGWn8DEPsyINkhqG2ILYhBPBNZkEjzOQNcYiILngCYFoAJ387MhQZm8Lq5ERzg1DW078cMZdjPMxyBrTlu+kQAU2GwYXV+shS4HJA7xUwQhjB+J9vwVRIiOZB8fCSgxmGxVriii2+ugmeamD1jINn9EbtE4GiWcdm5hGHa7LOMMQtA4myjgMNkgLmHolDpmMO8Xgh9jOk8Y9kwrMFTZCweBl1YJEC60OrBpc8tlislSNtkgDU0ZEcJyGshsSftj3RTyDY8DHqQ0WT5z/gwYmck0Gc018EkW6qOgU0hyQQkAiVjKQ6gCBh0IYJwG9wpZpyffPwsvBCI7CxpQLEJKw2DFmQObIEmsmAmIKoIYNkmABPTUoEOY4Ar01c0Bxx4zekujrONBpiUMmlYnY2TAhcWgUoXn7NVOCFmxi2DWZo3UcVPWnPC338+DIMUEnniwIFg1bANoYkN3z6hKN4kHvDhfuz4Kf5bgV82fv45SlzcHR8JZhNmiInY30onCQpnkoXPKEzaa8kBw/WT0Vs8iSiGT7eNvTEJSGXsSMB101nCWpsMMCll2/rG/C5IObJ0fyWhhYtcg2LOVDrQM3CVZYf2rmThylxLC1wmjHkmZ47EjhUzldWHPAz7z7OzY+cUjJ8BrBD+SliRk6AGkxXLjmFi9rLb+OyQ2I2HNgMYCp8UqoIkwF7dECTm/Hxm6PUY6asCW0Xj4aF0A9iys76BrVatlT2xLnsUwN5lmxb1lmUp+0aYzTGms0K+jHn03UFnGv12IcwCLdZrBl5G+xj28rosAB7p9xjAdFk2afz+BgrDM7G2DY8MXJQJhnrHgsnpJBLVnuGcfrPMRKHKC/DYiiDbwtsVOiu0VgQPobXA6DJIpsk2BlwUr2puq8CVrM9nSCl3qLmRmyDLGnzCYpvATToPjc2xBhf3BJaIDaOEgbJJCrfcQii7GYpa0CcWnnUjVqwh3mNPjN8onCE4CxBTkYfFAVfbmvDivuBpSRNODdN7z8sDisS5YS8OUGLF5kAXTO9GoKymBtNhsSF7oRZz6X2T2CaTx56YeZ1pKworLMTpKbPbkS2hJ5v8VzKC7ElocOj3ufnJw6yJmep9PTRrQXiNZGmxhgXiVLb+eKI/7w1fm4UGx4+Z0t805vj+6rsQZl8KssiCkekZiMJZoKMYu3EDlYdH87nQYCV/zYGWrAhrW5BN4TPSyGB1IXkjUMU2KQWYEvT1jflDNTVXs5NOe+ci36KxTBgrUcKse5/FhWGSxDyZtT5jbJ7ROIvEZm1pxhgxctGi2FBiYs6fH4tsB+e0Ry49N1hdNunMVHMdvV0RG6TceCU7g7JIprGYliL7j0BIQA6YtcTzcopjEzBWCrD6xqbx5dmiDR8MEH4CS7LGguC2zGbvHjdOJ6iL2R0HErGYByTZEVEm6mKhf59nk5p7GNebzb0+5KG0zEujffnxxzovZK8yc5JPJoU0o4GYCLcOPL3uhT1tw4BEmShljZqwrQPvslFrtFpfi8Acu/Y+bJvLxLXZJmDL3WjBZ7TPJeWTNXfEtHPsTbl7l4Q1p48S9gpSeDvhzbEM2RpcvLvXLEj0GALw2AHTCTkwc13FP8MSg3j8gfYKb4aAee0YYkbwQtyK94KFELIRTa4BAnPimScWbxOzkQuNTpOZC0EVgbJaowdeWBraVHARk7MbUVbqG7O53EQNdhqAi9XsotQ9ZCYSVZy9aEf+tTKroCDACSuMccxJGEFrwBXXO0krkX/WXHUgMocj0BY8L+bjheMPC85xCOSMRTmKYTnmWZVlnAQ0MkZZ6ORsZBiIFb6t/OSuvjkWD7dec3HwEdkHCdImIC0IkfWN2Wgp5MTm2ctncz5k+QzS1QV5GHJWga9TEtOQsHf74gdnnRLhfhlAuVHLAeHxFjAakVLIlLwo7uuFjg0dI0ch3NU+mS3C2Ysm1o4lAFHg3PtSkGEXA7ZiVhdZDsyOCQvhvjLw8cdAUxPQqq1zbJgPxrsmmi8fbQKmgk0dwFThur4hfyuoLbJNiU3M1Na2JEJR7N1773f5SVKvzZ4JTLxVYP9BCU4+JQ3EcZ4DaWozx6A2wZnGhzTuef36VwJ990hw8CEpttnGZHUkHeMwzNlHZ6n8WPqE7Ws1XXwm6tVwBCv92EvAOyeK7jrP2JjnRX6gdfXfe0eiW/cElbpY+JtZ8cxjwDJ3Zo6/PJCj5+4pRo6uOFarxV5e/IcZ5CcFVxAi6+vzCyTElbV25sNV5E3RHattCSILJqKd5lHuc4L6lUCHjl4XvThN4pZfCQwakuDU01J3+OeelXj8YYHvn57ic7txUe6TCdrYsJ/f57zXJa67Ose22wJXX1tFtc68ffcfBJYuZQItYMvimQ/6YooD91dn1Uy9lJ2/895cOch3TVAI4zqMd0sEhmuUQartXpmV4+F7BXbomuCEkyrYrpPVZA7AFmT29BQLrl8H3D6uSf/+zgVVtN2WWyD+8/rYrMuCj/WThka6mprBVD9XQ2O+WLXc1Ear94LcNoFg9njVbEU6yTfQ4De3CsyaIXHWT1Ls1tuEgBkveIB9/zR1l5nP3jlBQIGsWgW+/s0UXxqaGn1FfV52O8dLOpyanxt+meOV2RLHfzXFUUcrTjXvXTE2x8L3agCs5MSPO66CoUOpUGR1novpTMtZkCmCM5PlGcx7XrU6Ivj2UT+XJWc14iWLgT/+tgkrlgHbtEpw/EkV9FTXEAnynIU3GzYpHD/3eIY5UwUOPLKK/Q5PSzspFBgTe2/rsLwRfV4by2r66jU2ZiNzIR/eMHsxK8Ig00x4oWzDpJ29O/5wh8QzT0m0aw9cNLaCrjubC/viCxK3EoONSakMrn9PnyLxuzsE1q0DBgxM8N3vVdCylTRmKpm0etD+3x8sBy44J8c2LYFrf1FFq1YeCMuWAuvXS+QiwRVjM7RsBfzkJ5WwAVICkyYJvD5PYsyYKr7w+Zi9yOTyuotCriNS3hHq2IwVsq0Ad2Ak8zSoL/pEgfwqdR0euz/DvFcEKpUEI0dV0LlLgtt/3rSx811zu+9c3gKpZnrfkLjZO6W+mPr6bJKEPL5sh1x7ufTfkYANipY9uM4iBssyibvvlPjrZIk2bYELxqbYuTtxCjCdA0yFSCI/e4w3/iFxzZUCQgA77Zzg7PMr2K6DVYLRtmr8990t8JfJAkcNS3HC19QdyxILu08len9waobWrYEbfl01p22L7+r3pZc2YfFi4Oc/r0OH7QygQ1amYFg0g4m9uJ5Ruy+tOQadqWUMZ/UYszOUfpv8cIaZzwv0H1TBoMMr+NPvsmDqPl4j0LASqNsmQYfO5gY0p+5lBP2LPjji1CqS6pbTXrTfRDUP1jfkK6DanEsR5jYNCshuqK6rwTKJupK2XLN8KXDjLwTe+adEq9bA+Zek2NXqKTITlAa79QavwQjQWZbg6acEHnlQ4OO1QMuWgMqIOnUCzjqviq7dCOWeYVYuBy48P0OaAFddW0X79uaaNjYA7ZX+sILiww+BM8/I9Pu/uL7KevwTrFsnccbpBnzX/6LOnXPRn2OTxa6BBxJ1P1C4jOqHzfZzmWvp22xIL3lWe/N1gV57mRAZ1w4fnJjjvQUCXzqhij0HmthH2k/9XrUMaL+9Gb953bZFsxthS7CXPouGBrm/kNmMmuxVs72lhotuNcCcl4DbbxRY8xHQc9cEY85KsMOO9BnPANMJYIONyFeJwMsvCTxwr8DSJUDrNsCxx6cYcmiCCTcJzH5Zok0b4MxzKtitV9gtcdstEjNfFFp7DTvasNf6JuCi8zNUqsAll1XRpjXwwVLgggsydOoIXHV1NWjvefddiSuvzLDXXgl+dEbFsleYRIRt0+bKFboanI9lgKKth6Bdx/hUResiBOIG+7ksKxFI5r4o8PSfMnTdJcVXf1gpFL2nPJLjtek5Dv9aFb36m2ukW4i0EPMMtsUAtqoxPwtCXFdrhy57DPqvLOE6wW0/zcT93FckrhsvcMR/JfjGSSmqFX8El5lIYHUjsHiR2d+CN4Hn/irwwTJDgocenuLYryZo184AM88kJtwq8cocgXPOUwCzrAngnXckxo3N0a0bMPanVVTs8R55SODRRwQOOTTFid9Wd3OChQsFfnp5js6dgauuqvPGv5T4+98E7r5HYMTICoZrkIZMpXFC5ElJTuBphWGmEBpLWnH04gvbb28uoTdJqUwzf67Ex+sE9hlQYauCQkO3foXE767PkGXAN8+oolOXotm6cIHEk3dm+vqM+EEVnbqR4eqTjS0FLj079fXZBAl5SmGnPENkHQzerih6YZThmUmQWPR+gm7Use/2Z/UTEqxfJ6E01rTnJWbNlPrCpBXgC/0TjDw+QY8elCz45EJ1eS5ZBHTdyQv7rCnB1VflePufEudfWMHuuydYtRJYvFjixl/l2qYY/7Mq2lqzccEbEtdck+tTvu46G0otcCZOFJg5U+DHP65gj74KkBZgZLba307Ys1BHbEBi3/+u3c8VZ5yG6EI9tmwJcPt1TRA5cOBhKQ4ZVkGSWmDYysXatQkeuK0Jy96XOPiYKvofZBKm4vIziVnPSMz6a4b2HROMHFOHOpsIkWzZogBb1dD0PCQO4jstgEi/WezHCgrBtAPWqkNAcwFRAh98AMydLfHqHAMulRmpn+23Bw4+PMVBhyTav3KekvXXyNl243QTDvzxXoHJTwnU1UGz0vLlxr2mnxNPSnHIIRVHPXPmADfdaITxySenGDzY0+u55zahvj68xHv3S3D6aUYBE58Ri2kQsUzxk/ZzqSOargvWz6VeU4VqAHNmSvz5gUyHsr5fqGD4N1IkFWOdrFkDPHB7hmXvC+y8W4pDh6f46KMEa1ZLfPSRxNrV0FJlzYf27w8lPqw3d3zvfSs46ARlD3F/c8tBTDHYuxKyZ7jLks4Cd3Fru+jETQSstR8n+N93BN57N8G7b0u8+0+p/Rz+Q8Dacy8TFn1HKIlQ3ymxQ5cEbVoz595OyLSpEr+ZIDRTbd8Z2H6HRIdepacUm533EwUuAkeCaVNz3Hmnubf33TfBD36gwCOx+kPglpsNs6mjf7haYslS4KAhKUZ9S4Gw2O1RKzvknRHBmsLSfi6+ZC0U3q7TARIL35KY9Nsc6z6W2OMLFQz7ptKIEk/cIzB/jhn3hn6q1QSt2gOt2yVYuViiab3El0+qQ7fdSxtrNrS7Db6f1DdkywODlfRFjGj9epmwt6+zkKrM04fuFxpMTq9scCgb3mDMGRXsNzAU9mpM69cbLdexoxmhuqMvvTjTgBl7eRVduviSlQLJI48IPPaoAZjKTn/5yzpUnNHoNdefHswxebLA/5xSwYD9Urfec9EiiVWruGaxWicyKJ0k5fVFtwo9XOhB4Ym6H7brkKLjjlxjmb///a7E/ROatGYbdUYVHXdM8MYrArOnCrRsDbRsnWCbVkDLVgnq1L9bAa3aJWjd1gCrrqUddwLMmy4w/dEMHbumGKEY+lP4UQBbJ6VsYVjH1+tI+SpGUXcR4TsUuEXAKc/og6US554utNnZ83MJeu4KvDpbaTLg4MMSdIzqBaTdvAbg3keC2S9J/OtfEgpg+w6wtVAFdwZqHcFVF2qSYMJtAi9OFzj+hBTDhhlRzMd/469zvPqqxF79Eqiy0tlnVdB3j9R9njyvSy/P9E1y3TVVtGvrFxHfdY/AlKlRy+0WnpyBB6UY+pWKaWtmq4vUtVr4tmHY7ruFpR/fPm2SBgrfngVtScjaE7kAZjyeY++DK2hdblJt9lkFADMCI2IIx2glYHJL9dUJm3yXPq7u8A7beQa7ZrzAvLkSF12eoncfqi0aozYAbVxQllIDZvpUidMswKg2aAxQVwDVF2P2LImbbszRp0+iM01P/H78552baQa6bGwVP78qw/4DU4w60WSYJN6VVrzo4iZ03znBxRcpK8P8qOM986zAa6+bvN7cFPY9/Yv3k7FwEJmdwWIXtg/ypvrunWK/wanzwniPPVkXpsBtxrRymcQDt2bYvluCEaOreo8v/DnHgjkC+x1RQd+BRvS/+GSOt+cKDD62ip13N9ePj3KzERXtoBAigwkLwMXqgC5196+5i8ysCr7g4moLsG+PTtG9h5kIqjsWWnHouDYsP/awwGuvSYw5PcV+6kIpRnLg8iFNsdxV43Mt9pXn1bGDme81axIsWSSw6+cSrF4NnPXjTJeQbrihirvuEpgyReCSS6rYeSefGT/9jMQDk3J8+cgUJxxfCYDsskVbtyONpc6KazLvjfHuB7ZSyN5csS3BM0u3Asgu4FDgWrNGQmXOrduZG5tC56RbmtCjT4rh31F6McHfHszwj5kCXzymin6Djef1/IM53pyV44hRdeixBzn8WxpWfn9O5BOLhI71hjPHwiJXfZuzAds7hBhsc07ltNMr2Hcgay5kx1qxAvjZuAwNjcD3Tq3oNp8Fb0osWCDxr/+V6N4jwSWXVDDvdaW5MsNw51S1JzZuXI7evROce46ZGNV9cMllTZrlzj27il7K0GXHKvO2KNvTIHOMFrvxcT8XsXf0YJPoCTnxQtrpzwpMeyrHoSMr2GeQ6fZ463WBJ36foU//Cr70dZMV/v2hHP+YkeOLR1fRb4hiQ2AKA1j3PT4dYc/nONE2hTA2hdZCwaod2pRljiT2g85Rq93MDhzAOGiJwYaNSLBjl7AnngDpLIAw5mDKc1J7XApg/ZUGi9hrxXJg7KWZFvfKR1N+Ef0ooO3SM8HAAQmO/HKKhx8SeOIJgWOOSTFihOo/S3DDrzPNkKNHpzhg/woefSTH408K7LVngjNON+GRziXomeIemLMqavRz0fMiyEh13ai+wTDsjQ+7LHg2+ZtrMh0S/3tMFV12Mcw07yWBZyZl2GdwBUOGW4A9mGH+TIFBCmCDTVlJMdiCWTkO/1Ydeuy5FQBGRqtuyHOEZYvYpCeoEMy6Fny5mrSJhUcU0GliuAbr1dtoNfNsL/KRjAXgmgapaUHCajChAaYZjOqd9lgKUKp+uHYN0KED0LVbgu7dE/Tpk2L33iaj0vU6qbonMqxcAVx6WVXrKwVu1YEx9rImXS8980dV/OxnGbIcuOTiKrp19ezlRbMntNIFtAxspk5IPfjq9Cxb6UN7DRSwFFuU4XvmDfstWihx941N2LZTgu+eb6oQ6rxmPJPjxadzHKDaco4weksx2PwZuQbYXipEwjDYVgWYKhXJ3JSKaLUNFYWJ1eg9/7p10Ws8VyKwJiwIVEeEEvnDj03QRZUwainLEoD+/VnDYGMUwAaQkPYspfa1eBGw3XYJWrfyz2HgzKPObd48geuvz7Wpe+V4I4TJLH7iSWVf5FqbrV3LvC+nN2t1RNTo5yqUj4pdqAawvijuRTurUbo0wjj3f5mUYe4MgUFHVnHAkYa9VEh+7LcZ3psvcNSoOvTsZ/b53EMC82dagA0x2075U44FL29FBmtokAOFyGbWzOSsmekqoa50Qv1QNEmeySiEEQ+qjxDANleD9R/AFnFYMAa6MYizvoapQufttwm89JLA0KEpjj9OCXdCc4KsCTj/giadBLRoAYy/ok5XFPQWcTko6ufiRqrXX56hqF/eACju8zI3DPlfHnSG4DWALMjVGG++okkbrd85vwXadzTsqEA68YomrP1I4qQL69C6vQHj84rBZuY4kDHY1BKAvfOqQPe+Keq22ZzZKf+sadepV+062NZdcNuVSXos6MGnh4840zUU9Jz1uDDWIfI1iVEnp9jJPVGMheIAyH7i1ZiefFxqv0plkfsOMD1j7of9zW+SNWuhi+Ivz5JQvf2jR1dw7rmZnrBxP62ic2ff2aFC7B/uzjFtmve2hg1VGs3bHJ+sn6u4PM0/ycYCK3hWlwFfuIDDP2Fn/hyBJ+7J0XWXBF8fY8KjGteSf0k8cGMT2nVIMEqFTctqCmBvWIDt+UUTIqc+mOOtiMHuGdeENtsmGHn6ljdb9VVetSqbJKVqOCxmjWYiPWsQaMIuA28VeGHPS0qewS66vIJevcNMs/iZUPdMVD7YNGFDJBW5aWTmLv9oDfDO2yaUqv/eessUz9VP//4JWrVO8MI0gSFDUpz0bWKvRPeY3XJrhvnzDVIP2D/FrJeFBuU++yQYfXJVG8Y8lHldZLDOWYtbEw4oUYcE1RvjEBn0dkXspbZV9caFbwkcflwV/Q4w2aN6/cHbm/D+2xL9D67ggKMUkMz1e84C7ABiMFkOsN9f1oQOOyYY/sNPCWCNjXJk1pQ9bNIlW4e0K2nK2qFDH8p6izZJ0AxGCYP2Is2V0iHyNYljv5qiqyrdEHlRbhCHO3uB1WZ/fUZqy2HMaUqDGf1mkgQDrl9en+P110LxppoJBwxUWWGKxkaJm27KdYY5flwdOnU0PtqcVyT+eH+G5Sug21e+fWIFgw5MMWeOxO0TMw2yLl2BH55ah07bWwnger8+nX4udRTnyLOFGI31EhOubEKaJjjl4ipatjFh8I3ZAk/fn+ny0LfOa4EWrXxv2vMPZXhjpoACGDHYNMtgh32rDrvsmWDdGuDe8evRZdcUQ0/5lACmFn3U14vFUghbxGG990zkugyP5rKGLcFDo94ElsEiEGxqxCeAOVvDAu3663LdD6ay0969EuzeJ0HPngkqqTJWJS4bm+mu1mOOTjFyZEUXsO+7L8O8eeZEVPfq90+tog8r+KpS0sQ7Mt2wqN4fPbqqvTPz/FKWGZKYL31aNO9qZY2Etv+LTFIyVkOtZq4OgW3GswJT/5yhV78UR59oEpS35wk8eXcOmUsMGV5FPxsGKbOc8rAJkRxgL0/O8drzObr1StFn/wreXyB0VtmrfwVDTmBNe5s6OTW2d0bIypX5BVKIK023M1voYAEWG6qOgOxTdIwQprwsbspLcM2VuWawI45M0Hn7Ev8lzh6ZTTFjusTChYbB+u9HIdtXApQwb6d6vVw53ofnV+ZI3Hxzjt12U0ZqVXcfzJgpcMcdJrANHpziuK9U7OfD8f/7fYkJd2RYsgQ44MAUJ46qmNKMlQ2+pdmGSnsOcT8XD33uORO1njzI2phJ/Kvfj92VYcGrQoNrt35GT02+J8eCV3N8fnAFg44xK7K4868A9ubMHPtbBlPDXrlI4tGb4kUiCQ77ZhW77LXlfTG3R7XwdtVK8ZaUwkpwq7vIWWSt0y5rc2miha8NWR7M5FkB9/3eaKOTvptg5x683GP9LzIzLVBd246QmPyUxD/mSQwfkWqWotDofTsDOvO6TxDMOCXmzJbo0TM1pSMdw4F778tx4IEpdt2FXdRo/GpPaz8G/vxUjqFDK6hrYT07FiZj1vH9XEa3mUK1GV9BvEf99CTa4x570lrvL5TYYafEmMkSaFoPvPqCQP9DDeA8E5rTbFgBfNgo0bZjgjZqfYL9Wb0K+PebAmtXS70EbsddEnTuvuXBZWfFH7h+RTZaSOhHBzgRTwxmc/W4yZBCIKXzZm8+WXBR1Chat0ranA5fEkYNWxwoJMRKQOXCtMOM3n+4pM1/njokfKXCH8fUQml8Roe6fi57ecqzSPZYb9ZSboDCDVZfMuJZZCDqo+dMBDqMWqhtskC2hTuOe9aXtTZKwOZneev+FcBWWRYrV9qHn9jnQjhmYCHLWWGW3RyTxGGO2n/c62xVAVuiX9YVYUDuGcddFm6hUMrGqMwbuKwxkbGift+inh5SFzBhwfOyXhTdEDUWajhd5sbNPS/vVxkLwYTigP3ouPEjxtli3rBx0fpjKimzp+oYMDJ5ty6kwqMVeLFhpTwqyzP7+CbrFdk+Kzc5rAmGgMDNTj/J1oTVpR2f9fnISvaHueClhXOdlfLFtvHlKvkcH4Dabzz+kqcc8vHHK5u5LcF73A3pUenHHMc8ltI38fgwGQr+sjComSnQZlG/l40spvvCh2ueJBjg+vf+k+AqhEgazMrl+XgppX5cOQ8tpH0cqAg0FF6C8GjeNKAku4Jub2aF8IyUmbcOhO7zHqD+ooWh2JxQWIaqOX5b5iKX3mWmLLxwRgjARNvYjLK8D58/z4u5+oy9eGnIEGsZG1Hpi/YXeW/sixsC0PEI8B9EWamyU4/QXLU8f0hIOdL3yDNwBOEy7KDgIKTzIt1m9JrJ/uLqALceyA7heWFxvwZc5qYPWYyySTqeC7cUGtkXbzlTzQK9Occ+YK/gKc/hMjNiFJrwWODHXRMOaPaGdmslLRiL4p+Vm2gby1qfJfaqyWCWudqu+kC8ICH3DrQQN0i9nAkeemuA5QviBjyR4LbvF/SQswH8Hy6RKGkncgAjPeYcXN42ZCHnkGelm2E6AAAD+0lEQVRGSOzKH1qiXo+deQ0Yp3N4qAsfM24AxdYiukm3mivQXoZpm9VjkZYKWoVKmJYCCQH8P0hc7tDN5qarVsme+fp8RgLsEJSG2OTwk3AMRYhk4t7oK+Ik3zlqxBlNeLhqh3bD9ZEHL3XTel/KG8H2wPYXz3w5u3mmtJqFgGSf7+U9L/7lBfRlUdTxsBH9XLavPmh1LnxzWvH5XqTTNOi5+Heds+HCW34jfBbA1SyD0QAVyMR68aiU0n0RA4GNWw3crqAJDSaWDFnSdTxRcP5V6EkZmmFs44BIsLTbB59nbBVkogQtb8HQ0TST1GgeNKuuoy5V620V+7lIXId9XoEdET1Ul8KotyWYeGcsFQAsAhuNn7du/78BmJ7jZbLtCqm+SgYjOZBo8t1vJ9L9SgLanr4CxoVLF6O8KOfCnodFfSfU/GYPHlNt1utiBLMqXBZrWTICLw9vG6vDnKhmHliweJYW01rJ4Jz/Gs+6D8AWe16u+G2g4x+NXgTkZwVcG8VgLHwlqz4Q4/JcXrjhDI9NrGUsvqCWjM3Q/CSghAzkcGgnKQhrBCT2RQ/m074gHlsr8Q2i3yevKXqIietWdRgmC8LqJ7Ijyso+Ud8XufFkRRjWKfpjhrCN1UD3QHENAPWJ+c4l2uazBK5NAhgNfOUyeZTIxbVSyj1rtvcUtBdv3YnB51UYTyYCrRSFRseKhUdbUjilAYQt2AqcBRuDhyEunEmg22PzCfR/M8DZG0n7Xny1kOuI8N/XGDrxJUCyxjB5bKGdUe6BGZvjswYvrrA3YWza8V+anyzz5HIJuZMX4xGQ7IUOrA57W9I6SnObcn1kB1X21ES7HW/pdnVJe+c7fchqp56Frd/L2CHUV/wxTNED4aLnpjbbgOj67X3rs7YaeFYYfWmoL1KzgnWUKRJhUxh2hqtXJJswi1tn082qcKoC+YrF4kzI5GwhTatPmbCn9Y/mlLxnRdiKs8TAlmB1OKJcl60ycFIVwLxEYbYo7F3csZPtPKc4q3PPzOJLz7jeKa6q5mHQCfvIjCVPzGSUZqy+Bah8nzGg4vAZ9IluHdxs9FE2C2CeGWTdikUYJmR+YiKTL0lg29AyiA7jMsNIcFO9O8j+yNWNDFq2AolAEyxKYUzpFrMwg1gzCmeyWo+5dNmlLYAHX9VCvhfvnbflo9jzYiHUM5H1x+w4wkyRHHuzDWfaoKOWNyFv9LRvvQ23CMD4cFX4XLEE+8lcDIHEHlLKPkDaXUrZDkjaSSlaGJ4jozNkmbJw6r6ElAGPVweIGXmo5fZGWTHbuevMniAjM+jnonbnuMmwpExEwAn6vwrmKhP2hcdXhv1cpKvCLzEtbrP14LLpR/o/JBqhquSiLD0AAAAASUVORK5CYII="},"+oxA":function(ht,re,O){ht.exports={flex_box_center:"flex_box_center___1SA8P",flex_space_between:"flex_space_between___3iSxN",flex_box_vertical_center:"flex_box_vertical_center___2JAtS",flex_box_center_end:"flex_box_center_end___2w-PB",flex_box_column:"flex_box_column___2s4Ak",head:"head___3iBvF",node:"node____ISDx"}},"+ua5":function(ht,re,O){},"/cxE":function(ht,re,O){"use strict";O.d(re,"f",function(){return We}),O.d(re,"g",function(){return ke}),O.d(re,"h",function(){return H}),O.d(re,"e",function(){return pe}),O.d(re,"b",function(){return F}),O.d(re,"c",function(){return f}),O.d(re,"d",function(){return V}),O.d(re,"a",function(){return z});class oe{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(j){setTimeout(()=>{throw j.stack?new Error(j.message+`
`+j.stack):j},0)}}emit(j){this.listeners.forEach(A=>{A(j)})}onUnexpectedError(j){this.unexpectedErrorHandler(j),this.emit(j)}onUnexpectedExternalError(j){this.unexpectedErrorHandler(j)}}const ve=new oe;function We(j){pe(j)||ve.onUnexpectedError(j);return}function ke(j){pe(j)||ve.onUnexpectedExternalError(j);return}function H(j){if(j instanceof Error){let{name:A,message:w}=j;const S=j.stacktrace||j.stack;return{$isError:!0,name:A,message:w,stack:S}}return j}const ue="Canceled";function pe(j){return j instanceof Error&&j.name===ue&&j.message===ue}function F(){const j=new Error(ue);return j.name=j.message,j}function f(j){return j?new Error(`Illegal argument: ${j}`):new Error("Illegal argument")}function V(j){return j?new Error(`Illegal state: ${j}`):new Error("Illegal state")}class z extends Error{constructor(j){super("NotSupported");j&&(this.message=j)}}},"1j5w":function(ht,re,O){"use strict";O.d(re,"d",function(){return Mt}),O.d(re,"b",function(){return xr}),O.d(re,"c",function(){return ko}),O.d(re,"a",function(){return Lr});var oe=O("VTBJ"),ve=O("1OyB"),We=O("vuIU"),ke=O("JX7q"),H=O("Ji7U"),ue=O("LK+K"),pe=O("q1tI"),F=O("I8Z2"),f=O("BGR+"),V=O("wx14"),z=O("rePB"),j=O("4IlW"),A=O("2GS6"),w=O("Gytx"),S=O.n(w),I=O("TSYQ"),k=O.n(I),Z=O("U8pU"),P=O("ODXe"),N=/iPhone/i,ie=/iPod/i,me=/iPad/i,Se=/\bAndroid(?:.+)Mobile\b/i,te=/Android/i,xe=/\bAndroid(?:.+)SD4930UR\b/i,Ue=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,Te=/Windows Phone/i,ye=/\bWindows(?:.+)ARM\b/i,fe=/BlackBerry/i,J=/BB10/i,B=/Opera Mini/i,Y=/\b(CriOS|Chrome)(?:.+)Mobile/i,le=/Mobile(?:.+)Firefox\b/i;function M(tn,at){return tn.test(at)}function b(tn){var at=tn||(typeof navigator!="undefined"?navigator.userAgent:""),Tt=at.split("[FBAN");if(typeof Tt[1]!="undefined"){var Ve=Tt,Q=Object(P.a)(Ve,1);at=Q[0]}if(Tt=at.split("Twitter"),typeof Tt[1]!="undefined"){var he=Tt,st=Object(P.a)(he,1);at=st[0]}var et={apple:{phone:M(N,at)&&!M(Te,at),ipod:M(ie,at),tablet:!M(N,at)&&M(me,at)&&!M(Te,at),device:(M(N,at)||M(ie,at)||M(me,at))&&!M(Te,at)},amazon:{phone:M(xe,at),tablet:!M(xe,at)&&M(Ue,at),device:M(xe,at)||M(Ue,at)},android:{phone:!M(Te,at)&&M(xe,at)||!M(Te,at)&&M(Se,at),tablet:!M(Te,at)&&!M(xe,at)&&!M(Se,at)&&(M(Ue,at)||M(te,at)),device:!M(Te,at)&&(M(xe,at)||M(Ue,at)||M(Se,at)||M(te,at))||M(/\bokhttp\b/i,at)},windows:{phone:M(Te,at),tablet:M(ye,at),device:M(Te,at)||M(ye,at)},other:{blackberry:M(fe,at),blackberry10:M(J,at),opera:M(B,at),firefox:M(le,at),chrome:M(Y,at),device:M(fe,at)||M(J,at)||M(B,at)||M(le,at)||M(Y,at)},any:null,phone:null,tablet:null};return et.any=et.apple.device||et.android.device||et.windows.device||et.other.device,et.phone=et.apple.phone||et.android.phone||et.windows.phone,et.tablet=et.apple.tablet||et.android.tablet||et.windows.tablet,et}var C=Object(oe.a)(Object(oe.a)({},b()),{},{isMobile:b}),D=C;function v(){}function L(tn,at,Tt){var Ve=at||"";return tn.key||"".concat(Ve,"item_").concat(Tt)}function G(tn){return"".concat(tn,"-menu-")}function ce(tn,at){var Tt=-1;pe.Children.forEach(tn,function(Ve){Tt+=1,Ve&&Ve.type&&Ve.type.isMenuItemGroup?pe.Children.forEach(Ve.props.children,function(Q){Tt+=1,at(Q,Tt)}):at(Ve,Tt)})}function Ce(tn,at,Tt){if(!tn||Tt.find)return;pe.Children.forEach(tn,function(Ve){if(Ve){var Q=Ve.type;if(!Q||!(Q.isSubMenu||Q.isMenuItem||Q.isMenuItemGroup))return;at.indexOf(Ve.key)!==-1?Tt.find=!0:Ve.props.children&&Ce(Ve.props.children,at,Tt)}})}var Ge=["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","onSelect","onDeselect","onDestroy","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","onOpenChange","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","onItemHover","onTitleMouseEnter","onTitleMouseLeave","onTitleClick","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","motion","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],be=function(at){var Tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ve=at&&typeof at.getBoundingClientRect=="function"&&at.getBoundingClientRect().width;if(Ve){if(Tt){var Q=getComputedStyle(at),he=Q.marginLeft,st=Q.marginRight;Ve+=+he.replace("px","")+ +st.replace("px","")}Ve=+Ve.toFixed(6)}return Ve||0},Be=function(at,Tt,Ve){at&&Object(Z.a)(at.style)==="object"&&(at.style[Tt]=Ve)},Qe=function(){return D.any},qe=O("KQm4"),Ie=O("Ff2n"),Rt=O("i8i4"),K=O("bdgK"),se=O("uciX"),$=O("8XRh"),je={adjustX:1,adjustY:1},tt={topLeft:{points:["bl","tl"],overflow:je,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:je,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:je,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:je,offset:[4,0]}},ct={topLeft:{points:["bl","tl"],overflow:je,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:je,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:je,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:je,offset:[4,0]}},Lt=tt,Zt=0,ee={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Ae=function(at,Tt,Ve){var Q=G(Tt),he=at.getState();at.setState({defaultActiveFirst:Object(oe.a)(Object(oe.a)({},he.defaultActiveFirst),{},Object(z.a)({},Q,Ve))})},ze=function(tn){Object(H.a)(Tt,tn);var at=Object(ue.a)(Tt);function Tt(Ve){var Q;Object(ve.a)(this,Tt),Q=at.call(this,Ve),Q.onDestroy=function(it){Q.props.onDestroy(it)},Q.onKeyDown=function(it){var vt=it.keyCode,ft=Q.menuInstance,Re=Q.props,St=Re.isOpen,jt=Re.store;if(vt===j.a.ENTER)return Q.onTitleClick(it),Ae(jt,Q.props.eventKey,!0),!0;if(vt===j.a.RIGHT)return St?ft.onKeyDown(it):(Q.triggerOpenChange(!0),Ae(jt,Q.props.eventKey,!0)),!0;if(vt===j.a.LEFT){var zt;if(St)zt=ft.onKeyDown(it);else return;return zt||(Q.triggerOpenChange(!1),zt=!0),zt}return St&&(vt===j.a.UP||vt===j.a.DOWN)?ft.onKeyDown(it):void 0},Q.onOpenChange=function(it){Q.props.onOpenChange(it)},Q.onPopupVisibleChange=function(it){Q.triggerOpenChange(it,it?"mouseenter":"mouseleave")},Q.onMouseEnter=function(it){var vt=Q.props,ft=vt.eventKey,Re=vt.onMouseEnter,St=vt.store;Ae(St,Q.props.eventKey,!1),Re({key:ft,domEvent:it})},Q.onMouseLeave=function(it){var vt=Q.props,ft=vt.parentMenu,Re=vt.eventKey,St=vt.onMouseLeave;ft.subMenuInstance=Object(ke.a)(Q),St({key:Re,domEvent:it})},Q.onTitleMouseEnter=function(it){var vt=Q.props,ft=vt.eventKey,Re=vt.onItemHover,St=vt.onTitleMouseEnter;Re({key:ft,hover:!0}),St({key:ft,domEvent:it})},Q.onTitleMouseLeave=function(it){var vt=Q.props,ft=vt.parentMenu,Re=vt.eventKey,St=vt.onItemHover,jt=vt.onTitleMouseLeave;ft.subMenuInstance=Object(ke.a)(Q),St({key:Re,hover:!1}),jt({key:Re,domEvent:it})},Q.onTitleClick=function(it){var vt=Object(ke.a)(Q),ft=vt.props;if(ft.onTitleClick({key:ft.eventKey,domEvent:it}),ft.triggerSubMenuAction==="hover")return;Q.triggerOpenChange(!ft.isOpen,"click"),Ae(ft.store,Q.props.eventKey,!1)},Q.onSubMenuClick=function(it){typeof Q.props.onClick=="function"&&Q.props.onClick(Q.addKeyPath(it))},Q.onSelect=function(it){Q.props.onSelect(it)},Q.onDeselect=function(it){Q.props.onDeselect(it)},Q.getPrefixCls=function(){return"".concat(Q.props.rootPrefixCls,"-submenu")},Q.getActiveClassName=function(){return"".concat(Q.getPrefixCls(),"-active")},Q.getDisabledClassName=function(){return"".concat(Q.getPrefixCls(),"-disabled")},Q.getSelectedClassName=function(){return"".concat(Q.getPrefixCls(),"-selected")},Q.getOpenClassName=function(){return"".concat(Q.props.rootPrefixCls,"-submenu-open")},Q.saveMenuInstance=function(it){Q.menuInstance=it},Q.addKeyPath=function(it){return Object(oe.a)(Object(oe.a)({},it),{},{keyPath:(it.keyPath||[]).concat(Q.props.eventKey)})},Q.triggerOpenChange=function(it,vt){var ft=Q.props.eventKey,Re=function(){Q.onOpenChange({key:ft,item:Object(ke.a)(Q),trigger:vt,open:it})};vt==="mouseenter"?Q.mouseenterTimeout=setTimeout(function(){Re()},0):Re()},Q.isChildrenSelected=function(){var it={find:!1};return Ce(Q.props.children,Q.props.selectedKeys,it),it.find},Q.isOpen=function(){return Q.props.openKeys.indexOf(Q.props.eventKey)!==-1},Q.adjustWidth=function(){if(!Q.subMenuTitle||!Q.menuInstance)return;var it=Rt.findDOMNode(Q.menuInstance);if(it.offsetWidth>=Q.subMenuTitle.offsetWidth)return;it.style.minWidth="".concat(Q.subMenuTitle.offsetWidth,"px")},Q.saveSubMenuTitle=function(it){Q.subMenuTitle=it},Q.getBaseProps=function(){var it=Object(ke.a)(Q),vt=it.props;return{mode:vt.mode==="horizontal"?"vertical":vt.mode,visible:Q.props.isOpen,level:vt.level+1,inlineIndent:vt.inlineIndent,focusable:!1,onClick:Q.onSubMenuClick,onSelect:Q.onSelect,onDeselect:Q.onDeselect,onDestroy:Q.onDestroy,selectedKeys:vt.selectedKeys,eventKey:"".concat(vt.eventKey,"-menu-"),openKeys:vt.openKeys,motion:vt.motion,onOpenChange:Q.onOpenChange,subMenuOpenDelay:vt.subMenuOpenDelay,parentMenu:Object(ke.a)(Q),subMenuCloseDelay:vt.subMenuCloseDelay,forceSubMenuRender:vt.forceSubMenuRender,triggerSubMenuAction:vt.triggerSubMenuAction,builtinPlacements:vt.builtinPlacements,defaultActiveFirst:vt.store.getState().defaultActiveFirst[G(vt.eventKey)],multiple:vt.multiple,prefixCls:vt.rootPrefixCls,id:Q.internalMenuId,manualRef:Q.saveMenuInstance,itemIcon:vt.itemIcon,expandIcon:vt.expandIcon,direction:vt.direction}},Q.getMotion=function(it,vt){var ft=Object(ke.a)(Q),Re=ft.haveRendered,St=Q.props,jt=St.motion,zt=St.rootPrefixCls,$t=Object(oe.a)(Object(oe.a)({},jt),{},{leavedClassName:"".concat(zt,"-hidden"),removeOnLeave:!1,motionAppear:Re||!vt||it!=="inline"});return $t};var he=Ve.store,st=Ve.eventKey,et=he.getState(),Ut=et.defaultActiveFirst;Q.isRootMenu=!1;var Ht=!1;return Ut&&(Ht=Ut[st]),Ae(he,st,Ht),Q}return Object(We.a)(Tt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Q=this,he=this.props,st=he.mode,et=he.parentMenu,Ut=he.manualRef;if(Ut&&Ut(this),st!=="horizontal"||!et.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return Q.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var Q=this.props,he=Q.onDestroy,st=Q.eventKey;he&&he(st),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(Q){var he=this,st=this.getBaseProps(),et=this.getMotion(st.mode,st.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||st.visible||st.forceSubMenuRender,!this.haveOpened)return pe.createElement("div",null);var Ut=st.direction;return pe.createElement($.default,Object.assign({visible:st.visible},et),function(Ht){var it=Ht.className,vt=Ht.style,ft=k()("".concat(st.prefixCls,"-sub"),it,Object(z.a)({},"".concat(st.prefixCls,"-rtl"),Ut==="rtl"));return pe.createElement(In,Object.assign({},st,{id:he.internalMenuId,className:ft,style:vt}),Q)})}},{key:"render",value:function(){var Q,he=Object(oe.a)({},this.props),st=he.isOpen,et=this.getPrefixCls(),Ut=he.mode==="inline",Ht=k()(et,"".concat(et,"-").concat(he.mode),(Q={},Object(z.a)(Q,he.className,!!he.className),Object(z.a)(Q,this.getOpenClassName(),st),Object(z.a)(Q,this.getActiveClassName(),he.active||st&&!Ut),Object(z.a)(Q,this.getDisabledClassName(),he.disabled),Object(z.a)(Q,this.getSelectedClassName(),this.isChildrenSelected()),Q));this.internalMenuId||(he.eventKey?this.internalMenuId="".concat(he.eventKey,"$Menu"):(Zt+=1,this.internalMenuId="$__$".concat(Zt,"$Menu")));var it={},vt={},ft={};he.disabled||(it={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},vt={onClick:this.onTitleClick},ft={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Re={},St=he.direction;Ut&&(St==="rtl"?Re.paddingRight=he.inlineIndent*he.level:Re.paddingLeft=he.inlineIndent*he.level);var jt={};this.props.isOpen&&(jt={"aria-owns":this.internalMenuId});var zt=null;he.mode!=="horizontal"&&(zt=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(zt=pe.createElement(this.props.expandIcon,Object(oe.a)({},this.props))));var $t=pe.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:Re,className:"".concat(et,"-title"),role:"button"},ft,vt,{"aria-expanded":st},jt,{"aria-haspopup":"true",title:typeof he.title=="string"?he.title:void 0}),he.title,zt||pe.createElement("i",{className:"".concat(et,"-arrow")})),Dt=this.renderChildren(he.children),nn=he.parentMenu.isRootMenu?he.parentMenu.props.getPopupContainer:function(gr){return gr.parentNode},Ft=ee[he.mode],ln=he.popupOffset?{offset:he.popupOffset}:{},yn=he.mode==="inline"?"":he.popupClassName;yn+=St==="rtl"?" ".concat(et,"-rtl"):"";var pn=he.disabled,Vn=he.triggerSubMenuAction,Mr=he.subMenuOpenDelay,Gn=he.forceSubMenuRender,ii=he.subMenuCloseDelay,Ai=he.builtinPlacements;Ge.forEach(function(gr){return delete he[gr]}),delete he.onClick;var en=St==="rtl"?Object.assign({},ct,Ai):Object.assign({},tt,Ai);return delete he.direction,pe.createElement("li",Object.assign({},he,it,{className:Ht,role:"menuitem"}),Ut&&$t,Ut&&Dt,!Ut&&pe.createElement(se.a,{prefixCls:et,popupClassName:k()("".concat(et,"-popup"),yn),getPopupContainer:nn,builtinPlacements:en,popupPlacement:Ft,popupVisible:st,popupAlign:ln,popup:Dt,action:pn?[]:[Vn],mouseEnterDelay:Mr,mouseLeaveDelay:ii,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:Gn},$t))}}]),Tt}(pe.Component);ze.defaultProps={onMouseEnter:v,onMouseLeave:v,onTitleMouseEnter:v,onTitleMouseLeave:v,onTitleClick:v,manualRef:v,mode:"vertical",title:""};var Ye=Object(F.b)(function(tn,at){var Tt=tn.openKeys,Ve=tn.activeKey,Q=tn.selectedKeys,he=at.eventKey,st=at.subMenuKey;return{isOpen:Tt.indexOf(he)>-1,active:Ve[st]===he,selectedKeys:Q}})(ze);Ye.isSubMenu=!0;var Mt=Ye,hn="menuitem-overflowed",Mn=.5,Dn=function(tn){Object(H.a)(Tt,tn);var at=Object(ue.a)(Tt);function Tt(){var Ve;return Object(ve.a)(this,Tt),Ve=at.apply(this,arguments),Ve.resizeObserver=null,Ve.mutationObserver=null,Ve.originalTotalWidth=0,Ve.overflowedItems=[],Ve.menuItemSizes=[],Ve.cancelFrameId=null,Ve.state={lastVisibleIndex:void 0},Ve.getMenuItemNodes=function(){var Q=Ve.props.prefixCls,he=Rt.findDOMNode(Object(ke.a)(Ve));return he?[].slice.call(he.children).filter(function(st){return st.className.split(" ").indexOf("".concat(Q,"-overflowed-submenu"))<0}):[]},Ve.getOverflowedSubMenuItem=function(Q,he,st){var et=Ve.props,Ut=et.overflowedIndicator,Ht=et.level,it=et.mode,vt=et.prefixCls,ft=et.theme;if(Ht!==1||it!=="horizontal")return null;var Re=Ve.props.children[0],St=Re.props,jt=St.children,zt=St.title,$t=St.style,Dt=Object(Ie.a)(St,["children","title","style"]),nn=Object(oe.a)({},$t),Ft="".concat(Q,"-overflowed-indicator"),ln="".concat(Q,"-overflowed-indicator");he.length===0&&st!==!0?nn=Object(oe.a)(Object(oe.a)({},nn),{},{display:"none"}):st&&(nn=Object(oe.a)(Object(oe.a)({},nn),{},{visibility:"hidden",position:"absolute"}),Ft="".concat(Ft,"-placeholder"),ln="".concat(ln,"-placeholder"));var yn=ft?"".concat(vt,"-").concat(ft):"",pn={};return Ge.forEach(function(Vn){Dt[Vn]!==void 0&&(pn[Vn]=Dt[Vn])}),pe.createElement(Mt,Object.assign({title:Ut,className:"".concat(vt,"-overflowed-submenu"),popupClassName:yn},pn,{key:Ft,eventKey:ln,disabled:!1,style:nn}),he)},Ve.setChildrenWidthAndResize=function(){if(Ve.props.mode!=="horizontal")return;var Q=Rt.findDOMNode(Object(ke.a)(Ve));if(!Q)return;var he=Q.children;if(!he||he.length===0)return;var st=Q.children[he.length-1];Be(st,"display","inline-block");var et=Ve.getMenuItemNodes(),Ut=et.filter(function(Ht){return Ht.className.split(" ").indexOf(hn)>=0});Ut.forEach(function(Ht){Be(Ht,"display","inline-block")}),Ve.menuItemSizes=et.map(function(Ht){return be(Ht,!0)}),Ut.forEach(function(Ht){Be(Ht,"display","none")}),Ve.overflowedIndicatorWidth=be(Q.children[Q.children.length-1],!0),Ve.originalTotalWidth=Ve.menuItemSizes.reduce(function(Ht,it){return Ht+it},0),Ve.handleResize(),Be(st,"display","none")},Ve.handleResize=function(){if(Ve.props.mode!=="horizontal")return;var Q=Rt.findDOMNode(Object(ke.a)(Ve));if(!Q)return;var he=be(Q);Ve.overflowedItems=[];var st=0,et;Ve.originalTotalWidth>he+Mn&&(et=-1,Ve.menuItemSizes.forEach(function(Ut){st+=Ut,st+Ve.overflowedIndicatorWidth<=he&&(et+=1)})),Ve.setState({lastVisibleIndex:et})},Ve}return Object(We.a)(Tt,[{key:"componentDidMount",value:function(){var Q=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var he=Rt.findDOMNode(this);if(!he)return;this.resizeObserver=new K.default(function(st){st.forEach(function(){var et=Q.cancelFrameId;cancelAnimationFrame(et),Q.cancelFrameId=requestAnimationFrame(Q.setChildrenWidthAndResize)})}),[].slice.call(he.children).concat(he).forEach(function(st){Q.resizeObserver.observe(st)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){Q.resizeObserver.disconnect(),[].slice.call(he.children).concat(he).forEach(function(st){Q.resizeObserver.observe(st)}),Q.setChildrenWidthAndResize()}),this.mutationObserver.observe(he,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(Q){var he=this,st=this.state.lastVisibleIndex;return(Q||[]).reduce(function(et,Ut,Ht){var it=Ut;if(he.props.mode==="horizontal"){var vt=he.getOverflowedSubMenuItem(Ut.props.eventKey,[]);st!==void 0&&he.props.className.indexOf("".concat(he.props.prefixCls,"-root"))!==-1&&(Ht>st&&(it=pe.cloneElement(Ut,{style:{display:"none"},eventKey:"".concat(Ut.props.eventKey,"-hidden"),className:"".concat(hn)})),Ht===st+1&&(he.overflowedItems=Q.slice(st+1).map(function(Re){return pe.cloneElement(Re,{key:Re.props.eventKey,mode:"vertical-left"})}),vt=he.getOverflowedSubMenuItem(Ut.props.eventKey,he.overflowedItems)));var ft=[].concat(Object(qe.a)(et),[vt,it]);return Ht===Q.length-1&&ft.push(he.getOverflowedSubMenuItem(Ut.props.eventKey,[],!0)),ft}return[].concat(Object(qe.a)(et),[it])},[])}},{key:"render",value:function(){var Q=this.props,he=Q.visible,st=Q.prefixCls,et=Q.overflowedIndicator,Ut=Q.mode,Ht=Q.level,it=Q.tag,vt=Q.children,ft=Q.theme,Re=Object(Ie.a)(Q,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),St=it;return pe.createElement(St,Object.assign({},Re),this.renderChildren(vt))}}]),Tt}(pe.Component);Dn.defaultProps={tag:"div",className:""};var sn=Dn;function Ir(tn){return tn.length?tn.every(function(at){return!!at.props.disabled}):!0}function Pr(tn,at,Tt){var Ve=tn.getState();tn.setState({activeKey:Object(oe.a)(Object(oe.a)({},Ve.activeKey),{},Object(z.a)({},at,Tt))})}function Jr(tn){return tn.eventKey||"0-menu-"}function Ln(tn,at){var Tt=at,Ve=tn.children,Q=tn.eventKey;if(Tt){var he;if(ce(Ve,function(st,et){st&&st.props&&!st.props.disabled&&Tt===L(st,Q,et)&&(he=!0)}),he)return Tt}return Tt=null,tn.defaultActiveFirst&&ce(Ve,function(st,et){!Tt&&st&&!st.props.disabled&&(Tt=L(st,Q,et))}),Tt}function Er(tn){if(tn){var at=this.instanceArray.indexOf(tn);at!==-1?this.instanceArray[at]=tn:this.instanceArray.push(tn)}}var gn=function(tn){Object(H.a)(Tt,tn);var at=Object(ue.a)(Tt);function Tt(Ve){var Q;return Object(ve.a)(this,Tt),Q=at.call(this,Ve),Q.onKeyDown=function(he,st){var et=he.keyCode,Ut;if(Q.getFlatInstanceArray().forEach(function(it){it&&it.props.active&&it.onKeyDown&&(Ut=it.onKeyDown(he))}),Ut)return 1;var Ht=null;return(et===j.a.UP||et===j.a.DOWN)&&(Ht=Q.step(et===j.a.UP?-1:1)),Ht?(he.preventDefault(),Pr(Q.props.store,Jr(Q.props),Ht.props.eventKey),typeof st=="function"&&st(Ht),1):void 0},Q.onItemHover=function(he){var st=he.key,et=he.hover;Pr(Q.props.store,Jr(Q.props),et?st:null)},Q.onDeselect=function(he){Q.props.onDeselect(he)},Q.onSelect=function(he){Q.props.onSelect(he)},Q.onClick=function(he){Q.props.onClick(he)},Q.onOpenChange=function(he){Q.props.onOpenChange(he)},Q.onDestroy=function(he){Q.props.onDestroy(he)},Q.getFlatInstanceArray=function(){return Q.instanceArray},Q.step=function(he){var st=Q.getFlatInstanceArray(),et=Q.props.store.getState().activeKey[Jr(Q.props)],Ut=st.length;if(!Ut)return null;he<0&&(st=st.concat().reverse());var Ht=-1;if(st.every(function(Re,St){return Re&&Re.props.eventKey===et?(Ht=St,!1):!0}),!Q.props.defaultActiveFirst&&Ht!==-1&&Ir(st.slice(Ht,Ut-1)))return;var it=(Ht+1)%Ut,vt=it;do{var ft=st[vt];if(!ft||ft.props.disabled)vt=(vt+1)%Ut;else return ft}while(vt!==it);return null},Q.renderCommonMenuItem=function(he,st,et){var Ut=Q.props.store.getState(),Ht=Object(ke.a)(Q),it=Ht.props,vt=L(he,it.eventKey,st),ft=he.props;if(!ft||typeof he.type=="string")return he;var Re=vt===Ut.activeKey,St=Object(oe.a)(Object(oe.a)({mode:ft.mode||it.mode,level:it.level,inlineIndent:it.inlineIndent,renderMenuItem:Q.renderMenuItem,rootPrefixCls:it.prefixCls,index:st,parentMenu:it.parentMenu,manualRef:ft.disabled?void 0:Object(A.a)(he.ref,Er.bind(Object(ke.a)(Q))),eventKey:vt,active:!ft.disabled&&Re,multiple:it.multiple,onClick:function(zt){(ft.onClick||v)(zt),Q.onClick(zt)},onItemHover:Q.onItemHover,motion:it.motion,subMenuOpenDelay:it.subMenuOpenDelay,subMenuCloseDelay:it.subMenuCloseDelay,forceSubMenuRender:it.forceSubMenuRender,onOpenChange:Q.onOpenChange,onDeselect:Q.onDeselect,onSelect:Q.onSelect,builtinPlacements:it.builtinPlacements,itemIcon:ft.itemIcon||Q.props.itemIcon,expandIcon:ft.expandIcon||Q.props.expandIcon},et),{},{direction:it.direction});return(it.mode==="inline"||Qe())&&(St.triggerSubMenuAction="click"),pe.cloneElement(he,St)},Q.renderMenuItem=function(he,st,et){if(!he)return null;var Ut=Q.props.store.getState(),Ht={openKeys:Ut.openKeys,selectedKeys:Ut.selectedKeys,triggerSubMenuAction:Q.props.triggerSubMenuAction,subMenuKey:et};return Q.renderCommonMenuItem(he,st,Ht)},Ve.store.setState({activeKey:Object(oe.a)(Object(oe.a)({},Ve.store.getState().activeKey),{},Object(z.a)({},Ve.eventKey,Ln(Ve,Ve.activeKey)))}),Q.instanceArray=[],Q}return Object(We.a)(Tt,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(Q){return this.props.visible||Q.visible||this.props.className!==Q.className||!S()(this.props.style,Q.style)}},{key:"componentDidUpdate",value:function(Q){var he=this.props,st="activeKey"in he?he.activeKey:he.store.getState().activeKey[Jr(he)],et=Ln(he,st);if(et!==st)Pr(he.store,Jr(he),et);else if("activeKey"in Q){var Ut=Ln(Q,Q.activeKey);et!==Ut&&Pr(he.store,Jr(he),et)}}},{key:"render",value:function(){var Q=this,he=Object(V.a)({},this.props);this.instanceArray=[];var st=k()(he.prefixCls,he.className,"".concat(he.prefixCls,"-").concat(he.mode)),et={className:st,role:he.role||"menu"};he.id&&(et.id=he.id),he.focusable&&(et.tabIndex=0,et.onKeyDown=this.onKeyDown);var Ut=he.prefixCls,Ht=he.eventKey,it=he.visible,vt=he.level,ft=he.mode,Re=he.overflowedIndicator,St=he.theme;return Ge.forEach(function(jt){return delete he[jt]}),delete he.onClick,pe.createElement(sn,Object.assign({},he,{prefixCls:Ut,mode:ft,tag:"ul",level:vt,theme:St,visible:it,overflowedIndicator:Re},et),pe.Children.map(he.children,function(jt,zt){return Q.renderMenuItem(jt,zt,Ht||"0-menu-")}))}}]),Tt}(pe.Component);gn.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:v};var vn=Object(F.b)()(gn),In=vn,qt=O("Kwbf");function fr(tn,at,Tt){var Ve=tn.prefixCls,Q=tn.motion,he=tn.defaultMotions,st=he===void 0?{}:he,et=tn.openAnimation,Ut=tn.openTransitionName,Ht=at.switchingModeFromInline;if(Q)return Q;if(Object(Z.a)(et)==="object"&&et)Object(qt.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof et=="string")return{motionName:"".concat(Ve,"-open-").concat(et)};if(Ut)return{motionName:Ut};var it=st[Tt];return it||(Ht?null:st.other)}var jn=function(tn){Object(H.a)(Tt,tn);var at=Object(ue.a)(Tt);function Tt(Ve){var Q;Object(ve.a)(this,Tt),Q=at.call(this,Ve),Q.inlineOpenKeys=[],Q.onSelect=function(et){var Ut=Object(ke.a)(Q),Ht=Ut.props;if(Ht.selectable){var it=Q.store.getState(),vt=it.selectedKeys,ft=et.key;Ht.multiple?vt=vt.concat([ft]):vt=[ft],"selectedKeys"in Ht||Q.store.setState({selectedKeys:vt}),Ht.onSelect(Object(oe.a)(Object(oe.a)({},et),{},{selectedKeys:vt}))}},Q.onClick=function(et){var Ut=Q.getRealMenuMode(),Ht=Object(ke.a)(Q),it=Ht.store,vt=Ht.props.onOpenChange;Ut!=="inline"&&!("openKeys"in Q.props)&&(it.setState({openKeys:[]}),vt([])),Q.props.onClick(et)},Q.onKeyDown=function(et,Ut){Q.innerMenu.getWrappedInstance().onKeyDown(et,Ut)},Q.onOpenChange=function(et){var Ut=Object(ke.a)(Q),Ht=Ut.props,it=Q.store.getState().openKeys.concat(),vt=!1,ft=function(St){var jt=!1;if(St.open)jt=it.indexOf(St.key)===-1,jt&&it.push(St.key);else{var zt=it.indexOf(St.key);jt=zt!==-1,jt&&it.splice(zt,1)}vt=vt||jt};Array.isArray(et)?et.forEach(ft):ft(et),vt&&("openKeys"in Q.props||Q.store.setState({openKeys:it}),Ht.onOpenChange(it))},Q.onDeselect=function(et){var Ut=Object(ke.a)(Q),Ht=Ut.props;if(Ht.selectable){var it=Q.store.getState().selectedKeys.concat(),vt=et.key,ft=it.indexOf(vt);ft!==-1&&it.splice(ft,1),"selectedKeys"in Ht||Q.store.setState({selectedKeys:it}),Ht.onDeselect(Object(oe.a)(Object(oe.a)({},et),{},{selectedKeys:it}))}},Q.onMouseEnter=function(et){Q.restoreModeVerticalFromInline();var Ut=Q.props.onMouseEnter;Ut&&Ut(et)},Q.onTransitionEnd=function(et){var Ut=et.propertyName==="width"&&et.target===et.currentTarget,Ht=et.target.className,it=Object.prototype.toString.call(Ht)==="[object SVGAnimatedString]"?Ht.animVal:Ht,vt=et.propertyName==="font-size"&&it.indexOf("anticon")>=0;(Ut||vt)&&Q.restoreModeVerticalFromInline()},Q.setInnerMenu=function(et){Q.innerMenu=et},Q.isRootMenu=!0;var he=Ve.defaultSelectedKeys,st=Ve.defaultOpenKeys;return"selectedKeys"in Ve&&(he=Ve.selectedKeys||[]),"openKeys"in Ve&&(st=Ve.openKeys||[]),Q.store=Object(F.c)({selectedKeys:he,openKeys:st,activeKey:{"0-menu-":Ln(Ve,Ve.activeKey)}}),Q.state={switchingModeFromInline:!1},Q}return Object(We.a)(Tt,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(Q){this.updateOpentKeysWhenSwitchMode(Q),this.updateMiniStore();var he=this.props,st=he.siderCollapsed,et=he.inlineCollapsed,Ut=he.onOpenChange;(!Q.inlineCollapsed&&et||!Q.siderCollapsed&&st)&&Ut([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(Q){var he=this.props,st=this.store,et=this.inlineOpenKeys,Ut=st.getState(),Ht={};Q.mode==="inline"&&he.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in he||((he.inlineCollapsed&&!Q.inlineCollapsed||he.siderCollapsed&&!Q.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=Ut.openKeys.concat(),Ht.openKeys=[]),(!he.inlineCollapsed&&Q.inlineCollapsed||!he.siderCollapsed&&Q.siderCollapsed)&&(Ht.openKeys=et,this.inlineOpenKeys=[])),Object.keys(Ht).length&&st.setState(Ht)}},{key:"updateMenuDisplay",value:function(){var Q=this.props.collapsedWidth,he=this.store,st=this.prevOpenKeys,et=this.getInlineCollapsed()&&(Q===0||Q==="0"||Q==="0px");et?(this.prevOpenKeys=he.getState().openKeys.concat(),this.store.setState({openKeys:[]})):st&&(this.store.setState({openKeys:st}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var Q=this.props.mode,he=this.state.switchingModeFromInline,st=this.getInlineCollapsed();return he&&st?"inline":st?"vertical":Q}},{key:"getInlineCollapsed",value:function(){var Q=this.props,he=Q.inlineCollapsed,st=Q.siderCollapsed;return st!==void 0?st:he}},{key:"restoreModeVerticalFromInline",value:function(){var Q=this.state.switchingModeFromInline;Q&&this.setState({switchingModeFromInline:!1})}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var Q=Object(oe.a)({},Object(f.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),he=this.getRealMenuMode();return Q.className+=" ".concat(Q.prefixCls,"-root"),Q.direction==="rtl"&&(Q.className+=" ".concat(Q.prefixCls,"-rtl")),Q=Object(oe.a)(Object(oe.a)({},Q),{},{mode:he,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:fr(this.props,this.state,he)}),delete Q.openAnimation,delete Q.openTransitionName,pe.createElement(F.a,{store:this.store},pe.createElement(In,Object.assign({},Q,{ref:this.setInnerMenu}),this.props.children))}}]),Tt}(pe.Component);jn.defaultProps={selectable:!0,onClick:v,onSelect:v,onOpenChange:v,onDeselect:v,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:pe.createElement("span",null,"\xB7\xB7\xB7")};var zn=jn,Ur=function(tn){Object(H.a)(Tt,tn);var at=Object(ue.a)(Tt);function Tt(){var Ve;return Object(ve.a)(this,Tt),Ve=at.apply(this,arguments),Ve.onKeyDown=function(Q){var he=Q.keyCode;return he===j.a.ENTER?(Ve.onClick(Q),!0):void 0},Ve.onMouseLeave=function(Q){var he=Ve.props,st=he.eventKey,et=he.onItemHover,Ut=he.onMouseLeave;et({key:st,hover:!1}),Ut({key:st,domEvent:Q})},Ve.onMouseEnter=function(Q){var he=Ve.props,st=he.eventKey,et=he.onItemHover,Ut=he.onMouseEnter;et({key:st,hover:!0}),Ut({key:st,domEvent:Q})},Ve.onClick=function(Q){var he=Ve.props,st=he.eventKey,et=he.multiple,Ut=he.onClick,Ht=he.onSelect,it=he.onDeselect,vt=he.isSelected,ft={key:st,keyPath:[st],item:Object(ke.a)(Ve),domEvent:Q};Ut(ft),et?vt?it(ft):Ht(ft):vt||Ht(ft)},Ve.saveNode=function(Q){Ve.node=Q},Ve}return Object(We.a)(Tt,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var Q=this.props;Q.onDestroy&&Q.onDestroy(Q.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var Q,he=Object(oe.a)({},this.props),st=k()(this.getPrefixCls(),he.className,(Q={},Object(z.a)(Q,this.getActiveClassName(),!he.disabled&&he.active),Object(z.a)(Q,this.getSelectedClassName(),he.isSelected),Object(z.a)(Q,this.getDisabledClassName(),he.disabled),Q)),et=Object(oe.a)(Object(oe.a)({},he.attribute),{},{title:typeof he.title=="string"?he.title:void 0,className:st,role:he.role||"menuitem","aria-disabled":he.disabled});he.role==="option"?et=Object(oe.a)(Object(oe.a)({},et),{},{role:"option","aria-selected":he.isSelected}):(he.role===null||he.role==="none")&&(et.role="none");var Ut={onClick:he.disabled?null:this.onClick,onMouseLeave:he.disabled?null:this.onMouseLeave,onMouseEnter:he.disabled?null:this.onMouseEnter},Ht=Object(oe.a)({},he.style);he.mode==="inline"&&(he.direction==="rtl"?Ht.paddingRight=he.inlineIndent*he.level:Ht.paddingLeft=he.inlineIndent*he.level),Ge.forEach(function(vt){return delete he[vt]}),delete he.direction;var it=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(it=pe.createElement(this.props.itemIcon,this.props)),pe.createElement("li",Object.assign({},Object(f.default)(he,["onClick","onMouseEnter","onMouseLeave","onSelect"]),et,Ut,{style:Ht,ref:this.saveNode}),he.children,it)}}]),Tt}(pe.Component);Ur.isMenuItem=!0,Ur.defaultProps={onSelect:v,onMouseEnter:v,onMouseLeave:v,manualRef:v};var mr=Object(F.b)(function(tn,at){var Tt=tn.activeKey,Ve=tn.selectedKeys,Q=at.eventKey,he=at.subMenuKey;return{active:Tt[he]===Q,isSelected:Ve.indexOf(Q)!==-1}})(Ur),xr=mr,Bi=function(tn){Object(H.a)(Tt,tn);var at=Object(ue.a)(Tt);function Tt(){var Ve;return Object(ve.a)(this,Tt),Ve=at.apply(this,arguments),Ve.renderInnerMenuItem=function(Q){var he=Ve.props,st=he.renderMenuItem,et=he.index;return st(Q,et,Ve.props.subMenuKey)},Ve}return Object(We.a)(Tt,[{key:"render",value:function(){var Q=Object(V.a)({},this.props),he=Q.className,st=he===void 0?"":he,et=Q.rootPrefixCls,Ut="".concat(et,"-item-group-title"),Ht="".concat(et,"-item-group-list"),it=Q.title,vt=Q.children;return Ge.forEach(function(ft){return delete Q[ft]}),delete Q.onClick,delete Q.direction,pe.createElement("li",Object.assign({},Q,{className:"".concat(st," ").concat(et,"-item-group")}),pe.createElement("div",{className:Ut,title:typeof it=="string"?it:void 0},it),pe.createElement("ul",{className:Ht},pe.Children.map(vt,this.renderInnerMenuItem)))}}]),Tt}(pe.Component);Bi.isMenuItemGroup=!0,Bi.defaultProps={disabled:!0};var ko=Bi,xo=function(at){var Tt=at.className,Ve=at.rootPrefixCls,Q=at.style;return pe.createElement("li",{className:"".concat(Tt," ").concat(Ve,"-item-divider"),style:Q})};xo.defaultProps={disabled:!0,className:"",style:{}};var Lr=xo,go=re.e=zn},"24hK":function(ht,re,O){"use strict";O.d(re,"a",function(){return ve});class oe{constructor(We){this.element=We,this.next=oe.Undefined,this.prev=oe.Undefined}}oe.Undefined=new oe(void 0);class ve{constructor(){this._first=oe.Undefined,this._last=oe.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===oe.Undefined}clear(){let We=this._first;for(;We!==oe.Undefined;){const ke=We.next;We.prev=oe.Undefined,We.next=oe.Undefined,We=ke}this._first=oe.Undefined,this._last=oe.Undefined,this._size=0}unshift(We){return this._insert(We,!1)}push(We){return this._insert(We,!0)}_insert(We,ke){const H=new oe(We);if(this._first===oe.Undefined)this._first=H,this._last=H;else if(ke){const pe=this._last;this._last=H,H.prev=pe,pe.next=H}else{const pe=this._first;this._first=H,H.next=pe,pe.prev=H}this._size+=1;let ue=!1;return()=>{ue||(ue=!0,this._remove(H))}}shift(){if(this._first===oe.Undefined)return;{const We=this._first.element;return this._remove(this._first),We}}pop(){if(this._last===oe.Undefined)return;{const We=this._last.element;return this._remove(this._last),We}}_remove(We){if(We.prev!==oe.Undefined&&We.next!==oe.Undefined){const ke=We.prev;ke.next=We.next,We.next.prev=ke}else We.prev===oe.Undefined&&We.next===oe.Undefined?(this._first=oe.Undefined,this._last=oe.Undefined):We.next===oe.Undefined?(this._last=this._last.prev,this._last.next=oe.Undefined):We.prev===oe.Undefined&&(this._first=this._first.next,this._first.prev=oe.Undefined);this._size-=1}*[Symbol.iterator](){let We=this._first;for(;We!==oe.Undefined;)yield We.element,We=We.next}}},"3/fG":function(ht,re,O){"use strict";O.d(re,"a",function(){return ve});function oe(We,ke){let H;return ke.length===0?H=We:H=We.replace(/\{(\d+)\}/g,function(ue,pe){const F=pe[0];return typeof ke[F]!="undefined"?ke[F]:ue}),H}function ve(We,ke,...H){return oe(ke,H)}},"4Lfy":function(ht,re){ht.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAA19JREFUaEPtmltIFFEYx/+zs17WVVtZRUMhykLoKSjBBytKUCRCyKDIILpQUFHkiqT1YFJo5S1BQ4JKSPOlhwwLLH0oC0sK0iBEVqxcWW+r6bb3mRMzJm24Ojs6244187acb77z/33/bw+Hc4YihND4hx5KAZK5m4pDMjcI/6dDpsxN5wnDngZIspQOadKznuuv3M6WMqegQ3MwTKWUk87n0u7NA6Wi2nTnSnOkyi8INJyR3C+1M95AdEwsmMnxppj8q0ekgPIDaINHiol85eAc4oC4h5001+ryy/JXOpdsgCiKIsz4cInOcOPaSqBkAzQHQVj3qOmCvvBm3XKhZAbEN5+HHfl6TFdU3bwcKBkC8UwuxjySG1NU+UwslDyBuObzuGzEbMrWXap5LQYqqEARWfuhjk9cVC9xOWbU4+ad2uLqPn+hggoUsnkrNNvSl9RKnPaJ8LGRtLDLtUP+QAUViKhDoM3cB3VswpJaWbvVFGqZSI0orh4TggoqEL9Qq2iEpmwBHbcWqrCwRfUyE2NDcRWNG2UPNC+QeFiwLFlS77pXX9SrBkhIKDee1DGoAC0o1HBG4Dan/rjiHaM45KtiikNi+0hEvNJySsuJaBcpQpWWU1pOij4SkSOgLRd54CS/9ScMw0ty9fVguqEMcDkRfaIQmrRdICwLEAJHdydm7lcjPG03oo/OnVSpIiLB2qz8+FTFRbgHPgmiBRRIX9oA66O7cH58C0obhRhDGdzGz5htqkNc1UNM15Xyv1U6PfQl9bA+aYa94zEvmouPv/MU5kPbBSH+2tbHG4ibVJORg/DUHZgqN/wBxI1F5Z0BFRqGmXtV8gayd3fC3d8LOjYB0ccLMNvSAHtnKw9kbX0Az7dBqJPWY82pIljKDXD1vpM3EFd1xjIO4rTD8b4Ljq52XjAHxHy3gNhtIDYr7G9ewPnh9+HNqmg5717ngCzXC8CMmnz+RxSgX2UJ6Cqn3XMQjp6XYMZGFrgQmXsMP9paQBw236sYrUb04bOYaayRzyonSolEwQF1SCKNotIoQL43p4G7khRlDyhjUocxRegdwZPTQF4aC4nzHqdo2pDYPnBL6B1BIC5BoK71hcTNjVNGilbV+wPDRysfL/lX1qBFKQ4FrfR+Tqw45Gehghb2EzV0UlPSsDHCAAAAAElFTkSuQmCC"},"5VLF":function(ht,re,O){"use strict";var oe,ve;function We(ke,H,ue){var pe=function(F,f){return ke.js_beautify(F,f)};return pe.js=ke.js_beautify,pe.css=H.css_beautify,pe.html=ue.html_beautify,pe.js_beautify=ke.js_beautify,pe.css_beautify=H.css_beautify,pe.html_beautify=ue.html_beautify,pe}!(oe=[O("6UM0"),O("TXwP"),O("psGv")],ve=function(ke,H,ue){return We(ke,H,ue)}.apply(re,oe),ve!==void 0&&(ht.exports=ve))},"5Y4S":function(ht,re,O){"use strict";O.d(re,"a",function(){return We});var oe=O("MNsG");const ve=oe.b.performance&&typeof oe.b.performance.now=="function";class We{constructor(ke){this._highResolution=ve&&ke,this._startTime=this._now(),this._stopTime=-1}static create(ke=!0){return new We(ke)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?oe.b.performance.now():Date.now()}}},"6+eU":function(ht,re,O){"use strict";O.d(re,"a",function(){return Se});var oe=O("wx14"),ve=O("rePB"),We=O("VTBJ"),ke=O("1OyB"),H=O("vuIU"),ue=O("Ji7U"),pe=O("LK+K"),F=O("q1tI"),f=O.n(F),V=O("TSYQ"),z=O.n(V),j=function(xe){var Ue,Te="".concat(xe.rootPrefixCls,"-item"),ye=z()(Te,"".concat(Te,"-").concat(xe.page),(Ue={},Object(ve.a)(Ue,"".concat(Te,"-active"),xe.active),Object(ve.a)(Ue,xe.className,!!xe.className),Object(ve.a)(Ue,"".concat(Te,"-disabled"),!xe.page),Ue)),fe=function(){xe.onClick(xe.page)},J=function(Y){xe.onKeyPress(Y,xe.onClick,xe.page)};return f.a.createElement("li",{title:xe.showTitle?xe.page:null,className:ye,onClick:fe,onKeyPress:J,tabIndex:"0"},xe.itemRender(xe.page,"page",f.a.createElement("a",{rel:"nofollow"},xe.page)))},A=j,w={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},S=function(te){Object(ue.a)(Ue,te);var xe=Object(pe.a)(Ue);function Ue(){var Te;Object(ke.a)(this,Ue);for(var ye=arguments.length,fe=new Array(ye),J=0;J<ye;J++)fe[J]=arguments[J];return Te=xe.call.apply(xe,[this].concat(fe)),Te.state={goInputText:""},Te.buildOptionText=function(B){return"".concat(B," ").concat(Te.props.locale.items_per_page)},Te.changeSize=function(B){Te.props.changeSize(Number(B))},Te.handleChange=function(B){Te.setState({goInputText:B.target.value})},Te.handleBlur=function(B){var Y=Te.props,le=Y.goButton,M=Y.quickGo,b=Y.rootPrefixCls,C=Te.state.goInputText;if(le||C==="")return;if(B.relatedTarget&&(B.relatedTarget.className.indexOf("".concat(b,"-prev"))>=0||B.relatedTarget.className.indexOf("".concat(b,"-next"))>=0))return;Te.setState({goInputText:""}),M(Te.getValidValue())},Te.go=function(B){var Y=Te.state.goInputText;if(Y==="")return;(B.keyCode===w.ENTER||B.type==="click")&&(Te.setState({goInputText:""}),Te.props.quickGo(Te.getValidValue()))},Te}return Object(H.a)(Ue,[{key:"getValidValue",value:function(){var ye=this.state,fe=ye.goInputText,J=ye.current;return!fe||isNaN(fe)?J:Number(fe)}},{key:"getPageSizeOptions",value:function(){var ye=this.props,fe=ye.pageSize,J=ye.pageSizeOptions;return J.some(function(B){return B.toString()===fe.toString()})?J:J.concat([fe.toString()]).sort(function(B,Y){var le=isNaN(Number(B))?0:Number(B),M=isNaN(Number(Y))?0:Number(Y);return le-M})}},{key:"render",value:function(){var ye=this,fe=this.props,J=fe.pageSize,B=fe.locale,Y=fe.rootPrefixCls,le=fe.changeSize,M=fe.quickGo,b=fe.goButton,C=fe.selectComponentClass,D=fe.buildOptionText,v=fe.selectPrefixCls,L=fe.disabled,G=this.state.goInputText,ce="".concat(Y,"-options"),Ce=C,Ge=null,be=null,Be=null;if(!le&&!M)return null;var Qe=this.getPageSizeOptions();if(le&&Ce){var qe=Qe.map(function(Ie,Rt){return f.a.createElement(Ce.Option,{key:Rt,value:Ie.toString()},(D||ye.buildOptionText)(Ie))});Ge=f.a.createElement(Ce,{disabled:L,prefixCls:v,showSearch:!1,className:"".concat(ce,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(J||Qe[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Rt){return Rt.parentNode}},qe)}return M&&(b&&(Be=typeof b=="boolean"?f.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:L,className:"".concat(ce,"-quick-jumper-button")},B.jump_to_confirm):f.a.createElement("span",{onClick:this.go,onKeyUp:this.go},b)),be=f.a.createElement("div",{className:"".concat(ce,"-quick-jumper")},B.jump_to,f.a.createElement("input",{disabled:L,type:"text",value:G,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),B.page,Be)),f.a.createElement("li",{className:"".concat(ce)},Ge,be)}}]),Ue}(f.a.Component);S.defaultProps={pageSizeOptions:["10","20","50","100"]};var I=S,k=O("N2Kk");function Z(){}function P(te){return typeof te=="number"&&isFinite(te)&&Math.floor(te)===te}function N(te,xe,Ue){return Ue}function ie(te,xe,Ue){var Te=typeof te=="undefined"?xe.pageSize:te;return Math.floor((Ue.total-1)/Te)+1}var me=function(te){Object(ue.a)(Ue,te);var xe=Object(pe.a)(Ue);function Ue(Te){var ye;Object(ke.a)(this,Ue),ye=xe.call(this,Te),ye.getJumpPrevPage=function(){return Math.max(1,ye.state.current-(ye.props.showLessItems?3:5))},ye.getJumpNextPage=function(){return Math.min(ie(void 0,ye.state,ye.props),ye.state.current+(ye.props.showLessItems?3:5))},ye.getItemIcon=function(le,M){var b=ye.props.prefixCls,C=le||f.a.createElement("button",{type:"button","aria-label":M,className:"".concat(b,"-item-link")});return typeof le=="function"&&(C=f.a.createElement(le,Object(We.a)({},ye.props))),C},ye.savePaginationNode=function(le){ye.paginationNode=le},ye.isValid=function(le){return P(le)&&le!==ye.state.current},ye.shouldDisplayQuickJumper=function(){var le=ye.props,M=le.showQuickJumper,b=le.pageSize,C=le.total;return C<=b?!1:M},ye.handleKeyDown=function(le){(le.keyCode===w.ARROW_UP||le.keyCode===w.ARROW_DOWN)&&le.preventDefault()},ye.handleKeyUp=function(le){var M=ye.getValidValue(le),b=ye.state.currentInputValue;M!==b&&ye.setState({currentInputValue:M}),le.keyCode===w.ENTER?ye.handleChange(M):le.keyCode===w.ARROW_UP?ye.handleChange(M-1):le.keyCode===w.ARROW_DOWN&&ye.handleChange(M+1)},ye.changePageSize=function(le){var M=ye.state.current,b=ie(le,ye.state,ye.props);M=M>b?b:M,b===0&&(M=ye.state.current),typeof le=="number"&&("pageSize"in ye.props||ye.setState({pageSize:le}),"current"in ye.props||ye.setState({current:M,currentInputValue:M})),ye.props.onShowSizeChange(M,le),"onChange"in ye.props&&ye.props.onChange&&ye.props.onChange(M,le)},ye.handleChange=function(le){var M=ye.props.disabled,b=le;if(ye.isValid(b)&&!M){var C=ie(void 0,ye.state,ye.props);b>C?b=C:b<1&&(b=1),"current"in ye.props||ye.setState({current:b,currentInputValue:b});var D=ye.state.pageSize;return ye.props.onChange(b,D),b}return ye.state.current},ye.prev=function(){ye.hasPrev()&&ye.handleChange(ye.state.current-1)},ye.next=function(){ye.hasNext()&&ye.handleChange(ye.state.current+1)},ye.jumpPrev=function(){ye.handleChange(ye.getJumpPrevPage())},ye.jumpNext=function(){ye.handleChange(ye.getJumpNextPage())},ye.hasPrev=function(){return ye.state.current>1},ye.hasNext=function(){return ye.state.current<ie(void 0,ye.state,ye.props)},ye.runIfEnter=function(le,M){if(le.key==="Enter"||le.charCode===13){for(var b=arguments.length,C=new Array(b>2?b-2:0),D=2;D<b;D++)C[D-2]=arguments[D];M.apply(void 0,C)}},ye.runIfEnterPrev=function(le){ye.runIfEnter(le,ye.prev)},ye.runIfEnterNext=function(le){ye.runIfEnter(le,ye.next)},ye.runIfEnterJumpPrev=function(le){ye.runIfEnter(le,ye.jumpPrev)},ye.runIfEnterJumpNext=function(le){ye.runIfEnter(le,ye.jumpNext)},ye.handleGoTO=function(le){(le.keyCode===w.ENTER||le.type==="click")&&ye.handleChange(ye.state.currentInputValue)};var fe=Te.onChange!==Z,J="current"in Te;J&&!fe&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var B=Te.defaultCurrent;"current"in Te&&(B=Te.current);var Y=Te.defaultPageSize;return"pageSize"in Te&&(Y=Te.pageSize),B=Math.min(B,ie(Y,void 0,Te)),ye.state={current:B,currentInputValue:B,pageSize:Y},ye}return Object(H.a)(Ue,[{key:"componentDidUpdate",value:function(ye,fe){var J=this.props.prefixCls;if(fe.current!==this.state.current&&this.paginationNode){var B=this.paginationNode.querySelector(".".concat(J,"-item-").concat(fe.current));B&&document.activeElement===B&&B.blur()}}},{key:"getValidValue",value:function(ye){var fe=ye.target.value,J=ie(void 0,this.state,this.props),B=this.state.currentInputValue,Y;return fe===""?Y=fe:isNaN(Number(fe))?Y=B:fe>=J?Y=J:Y=Number(fe),Y}},{key:"getShowSizeChanger",value:function(){var ye=this.props,fe=ye.showSizeChanger,J=ye.total,B=ye.totalBoundaryShowSizeChanger;return typeof fe!="undefined"?fe:J>B}},{key:"renderPrev",value:function(ye){var fe=this.props,J=fe.prevIcon,B=fe.itemRender,Y=B(ye,"prev",this.getItemIcon(J,"prev page")),le=!this.hasPrev();return Object(F.isValidElement)(Y)?Object(F.cloneElement)(Y,{disabled:le}):Y}},{key:"renderNext",value:function(ye){var fe=this.props,J=fe.nextIcon,B=fe.itemRender,Y=B(ye,"next",this.getItemIcon(J,"next page")),le=!this.hasNext();return Object(F.isValidElement)(Y)?Object(F.cloneElement)(Y,{disabled:le}):Y}},{key:"render",value:function(){var ye=this,fe=this.props,J=fe.prefixCls,B=fe.className,Y=fe.style,le=fe.disabled,M=fe.hideOnSinglePage,b=fe.total,C=fe.locale,D=fe.showQuickJumper,v=fe.showLessItems,L=fe.showTitle,G=fe.showTotal,ce=fe.simple,Ce=fe.itemRender,Ge=fe.showPrevNextJumpers,be=fe.jumpPrevIcon,Be=fe.jumpNextIcon,Qe=fe.selectComponentClass,qe=fe.selectPrefixCls,Ie=fe.pageSizeOptions,Rt=this.state,K=Rt.current,se=Rt.pageSize,$=Rt.currentInputValue;if(M===!0&&b<=se)return null;var je=ie(void 0,this.state,this.props),tt=[],ct=null,Lt=null,Zt=null,ee=null,Ae=null,ze=D&&D.goButton,Ye=v?1:2,Mt=K-1>0?K-1:0,hn=K+1<je?K+1:je,Mn=Object.keys(this.props).reduce(function(jn,zn){return(zn.substr(0,5)==="data-"||zn.substr(0,5)==="aria-"||zn==="role")&&(jn[zn]=ye.props[zn]),jn},{});if(ce)return ze&&(typeof ze=="boolean"?Ae=f.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},C.jump_to_confirm):Ae=f.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ze),Ae=f.a.createElement("li",{title:L?"".concat(C.jump_to).concat(K,"/").concat(je):null,className:"".concat(J,"-simple-pager")},Ae)),f.a.createElement("ul",Object(oe.a)({className:z()(J,"".concat(J,"-simple"),Object(ve.a)({},"".concat(J,"-disabled"),le),B),style:Y,ref:this.savePaginationNode},Mn),f.a.createElement("li",{title:L?C.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:z()("".concat(J,"-prev"),Object(ve.a)({},"".concat(J,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(Mt)),f.a.createElement("li",{title:L?"".concat(K,"/").concat(je):null,className:"".concat(J,"-simple-pager")},f.a.createElement("input",{type:"text",value:$,disabled:le,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),f.a.createElement("span",{className:"".concat(J,"-slash")},"/"),je),f.a.createElement("li",{title:L?C.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:z()("".concat(J,"-next"),Object(ve.a)({},"".concat(J,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(hn)),Ae);if(je<=3+Ye*2){var Dn={locale:C,rootPrefixCls:J,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:L,itemRender:Ce};je||tt.push(f.a.createElement(A,Object(oe.a)({},Dn,{key:"noPager",page:je,className:"".concat(J,"-disabled")})));for(var sn=1;sn<=je;sn+=1){var Ir=K===sn;tt.push(f.a.createElement(A,Object(oe.a)({},Dn,{key:sn,page:sn,active:Ir})))}}else{var Pr=v?C.prev_3:C.prev_5,Jr=v?C.next_3:C.next_5;Ge&&(ct=f.a.createElement("li",{title:L?Pr:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:z()("".concat(J,"-jump-prev"),Object(ve.a)({},"".concat(J,"-jump-prev-custom-icon"),!!be))},Ce(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(be,"prev page"))),Lt=f.a.createElement("li",{title:L?Jr:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:z()("".concat(J,"-jump-next"),Object(ve.a)({},"".concat(J,"-jump-next-custom-icon"),!!Be))},Ce(this.getJumpNextPage(),"jump-next",this.getItemIcon(Be,"next page")))),ee=f.a.createElement(A,{locale:C,last:!0,rootPrefixCls:J,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:je,page:je,active:!1,showTitle:L,itemRender:Ce}),Zt=f.a.createElement(A,{locale:C,rootPrefixCls:J,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:L,itemRender:Ce});var Ln=Math.max(1,K-Ye),Er=Math.min(K+Ye,je);K-1<=Ye&&(Er=1+Ye*2),je-K<=Ye&&(Ln=je-Ye*2);for(var gn=Ln;gn<=Er;gn+=1){var vn=K===gn;tt.push(f.a.createElement(A,{locale:C,rootPrefixCls:J,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:gn,page:gn,active:vn,showTitle:L,itemRender:Ce}))}K-1>=Ye*2&&K!==1+2&&(tt[0]=Object(F.cloneElement)(tt[0],{className:"".concat(J,"-item-after-jump-prev")}),tt.unshift(ct)),je-K>=Ye*2&&K!==je-2&&(tt[tt.length-1]=Object(F.cloneElement)(tt[tt.length-1],{className:"".concat(J,"-item-before-jump-next")}),tt.push(Lt)),Ln!==1&&tt.unshift(Zt),Er!==je&&tt.push(ee)}var In=null;G&&(In=f.a.createElement("li",{className:"".concat(J,"-total-text")},G(b,[b===0?0:(K-1)*se+1,K*se>b?b:K*se])));var qt=!this.hasPrev()||!je,fr=!this.hasNext()||!je;return f.a.createElement("ul",Object(oe.a)({className:z()(J,B,Object(ve.a)({},"".concat(J,"-disabled"),le)),style:Y,unselectable:"unselectable",ref:this.savePaginationNode},Mn),In,f.a.createElement("li",{title:L?C.prev_page:null,onClick:this.prev,tabIndex:qt?null:0,onKeyPress:this.runIfEnterPrev,className:z()("".concat(J,"-prev"),Object(ve.a)({},"".concat(J,"-disabled"),qt)),"aria-disabled":qt},this.renderPrev(Mt)),tt,f.a.createElement("li",{title:L?C.next_page:null,onClick:this.next,tabIndex:fr?null:0,onKeyPress:this.runIfEnterNext,className:z()("".concat(J,"-next"),Object(ve.a)({},"".concat(J,"-disabled"),fr)),"aria-disabled":fr},this.renderNext(hn)),f.a.createElement(I,{disabled:le,locale:C,rootPrefixCls:J,selectComponentClass:Qe,selectPrefixCls:qe,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:K,pageSize:se,pageSizeOptions:Ie,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:ze}))}}],[{key:"getDerivedStateFromProps",value:function(ye,fe){var J={};if("current"in ye&&(J.current=ye.current,ye.current!==fe.current&&(J.currentInputValue=J.current)),"pageSize"in ye&&ye.pageSize!==fe.pageSize){var B=fe.current,Y=ie(ye.pageSize,fe,ye);B=B>Y?Y:B,"current"in ye||(J.current=B,J.currentInputValue=B),J.pageSize=ye.pageSize}return J}}]),Ue}(f.a.Component);me.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Z,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Z,locale:k.a,style:{},itemRender:N,totalBoundaryShowSizeChanger:50};var Se=me},"6UM0":function(ht,re,O){var oe,ve;(function(){var We;(function(){"use strict";var H=[function(f,V,z){var j=z(1).Beautifier,A=z(5).Options;function w(S,I){var k=new j(S,I);return k.beautify()}f.exports=w,f.exports.defaultOptions=function(){return new A}},function(f,V,z){var j=z(2).Output,A=z(3).Token,w=z(4),S=z(5).Options,I=z(7).Tokenizer,k=z(7).line_starters,Z=z(7).positionable_operators,P=z(7).TOKEN;function N(v,L){return L.indexOf(v)!==-1}function ie(v){return v.replace(/^\s+/g,"")}function me(v){for(var L={},G=0;G<v.length;G++)L[v[G].replace(/-/g,"_")]=v[G];return L}function Se(v,L){return v&&v.type===P.RESERVED&&v.text===L}function te(v,L){return v&&v.type===P.RESERVED&&N(v.text,L)}var xe=["case","return","do","if","throw","else","await","break","continue","async"],Ue=["before-newline","after-newline","preserve-newline"],Te=me(Ue),ye=[Te.before_newline,Te.preserve_newline],fe={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function J(v,L){if(L.multiline_frame||L.mode===fe.ForInitializer||L.mode===fe.Conditional)return;v.remove_indent(L.start_line_index)}function B(v){v=v.replace(w.allLineBreaks,`
`);for(var L=[],G=v.indexOf(`
`);G!==-1;)L.push(v.substring(0,G)),v=v.substring(G+1),G=v.indexOf(`
`);return v.length&&L.push(v),L}function Y(v){return v===fe.ArrayLiteral}function le(v){return N(v,[fe.Expression,fe.ForInitializer,fe.Conditional])}function M(v,L){for(var G=0;G<v.length;G++){var ce=v[G].trim();if(ce.charAt(0)!==L)return!1}return!0}function b(v,L){for(var G=0,ce=v.length,Ce;G<ce;G++)if(Ce=v[G],Ce&&Ce.indexOf(L)!==0)return!1;return!0}function C(v,L){L=L||{},this._source_text=v||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new S(L)}C.prototype.create_flags=function(v,L){var G=0;v&&(G=v.indentation_level,!this._output.just_added_newline()&&v.line_indent_level>G&&(G=v.line_indent_level));var ce={mode:L,parent:v,last_token:v?v.last_token:new A(P.START_BLOCK,""),last_word:v?v.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:G,alignment:0,line_indent_level:v?v.line_indent_level:G,start_line_index:this._output.get_line_number(),ternary_depth:0};return ce},C.prototype._reset=function(v){var L=v.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new j(this._options,L),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(fe.BlockStatement);var G=new I(v,this._options);return this._tokens=G.tokenize(),v},C.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var v,L=this._reset(this._source_text),G=this._options.eol;this._options.eol==="auto"&&(G=`
`,L&&w.lineBreak.test(L||"")&&(G=L.match(w.lineBreak)[0]));for(var ce=this._tokens.next();ce;)this.handle_token(ce),this._last_last_text=this._flags.last_token.text,this._flags.last_token=ce,ce=this._tokens.next();return v=this._output.get_code(G),v},C.prototype.handle_token=function(v,L){v.type===P.START_EXPR?this.handle_start_expr(v):v.type===P.END_EXPR?this.handle_end_expr(v):v.type===P.START_BLOCK?this.handle_start_block(v):v.type===P.END_BLOCK?this.handle_end_block(v):v.type===P.WORD?this.handle_word(v):v.type===P.RESERVED?this.handle_word(v):v.type===P.SEMICOLON?this.handle_semicolon(v):v.type===P.STRING?this.handle_string(v):v.type===P.EQUALS?this.handle_equals(v):v.type===P.OPERATOR?this.handle_operator(v):v.type===P.COMMA?this.handle_comma(v):v.type===P.BLOCK_COMMENT?this.handle_block_comment(v,L):v.type===P.COMMENT?this.handle_comment(v,L):v.type===P.DOT?this.handle_dot(v):v.type===P.EOF?this.handle_eof(v):v.type===P.UNKNOWN?this.handle_unknown(v,L):this.handle_unknown(v,L)},C.prototype.handle_whitespace_and_comments=function(v,L){var G=v.newlines,ce=this._options.keep_array_indentation&&Y(this._flags.mode);if(v.comments_before)for(var Ce=v.comments_before.next();Ce;)this.handle_whitespace_and_comments(Ce,L),this.handle_token(Ce,L),Ce=v.comments_before.next();if(ce)for(var Ge=0;Ge<G;Ge+=1)this.print_newline(Ge>0,L);else if(this._options.max_preserve_newlines&&G>this._options.max_preserve_newlines&&(G=this._options.max_preserve_newlines),this._options.preserve_newlines&&G>1){this.print_newline(!1,L);for(var be=1;be<G;be+=1)this.print_newline(!0,L)}};var D=["async","break","continue","return","throw","yield"];C.prototype.allow_wrap_or_preserved_newline=function(v,L){if(L=L===void 0?!1:L,this._output.just_added_newline())return;var G=this._options.preserve_newlines&&v.newlines||L,ce=N(this._flags.last_token.text,Z)||N(v.text,Z);if(ce){var Ce=N(this._flags.last_token.text,Z)&&N(this._options.operator_position,ye)||N(v.text,Z);G=G&&Ce}if(G)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(te(this._flags.last_token,D))return;this._output.set_wrap_point()}},C.prototype.print_newline=function(v,L){if(!L&&(this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==P.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")))for(var G=this._tokens.peek();this._flags.mode===fe.Statement&&!(this._flags.if_block&&Se(G,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(v)&&(this._flags.multiline_frame=!0)},C.prototype.print_token_line_indentation=function(v){this._output.just_added_newline()&&(this._options.keep_array_indentation&&v.newlines&&(v.text==="["||Y(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(v.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},C.prototype.print_token=function(v){if(this._output.raw){this._output.add_raw_token(v);return}if(this._options.comma_first&&v.previous&&v.previous.type===P.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var L=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(L),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(v),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(v),this._output.non_breaking_space=!0,this._output.add_token(v.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},C.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},C.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},C.prototype.set_mode=function(v){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,v),this._flags=this.create_flags(this._previous_flags,v),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},C.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===fe.Statement&&J(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},C.prototype.start_of_object_property=function(){return this._flags.parent.mode===fe.ObjectLiteral&&this._flags.mode===fe.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||te(this._flags.last_token,["get","set"]))},C.prototype.start_of_statement=function(v){var L=!1;return L=L||te(this._flags.last_token,["var","let","const"])&&v.type===P.WORD,L=L||Se(this._flags.last_token,"do"),L=L||!(this._flags.parent.mode===fe.ObjectLiteral&&this._flags.mode===fe.Statement)&&te(this._flags.last_token,D)&&!v.newlines,L=L||Se(this._flags.last_token,"else")&&!(Se(v,"if")&&!v.comments_before),L=L||this._flags.last_token.type===P.END_EXPR&&(this._previous_flags.mode===fe.ForInitializer||this._previous_flags.mode===fe.Conditional),L=L||this._flags.last_token.type===P.WORD&&this._flags.mode===fe.BlockStatement&&!this._flags.in_case&&!(v.text==="--"||v.text==="++")&&this._last_last_text!=="function"&&v.type!==P.WORD&&v.type!==P.RESERVED,L=L||this._flags.mode===fe.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||te(this._flags.last_token,["get","set"])),L?(this.set_mode(fe.Statement),this.indent(),this.handle_whitespace_and_comments(v,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(v,te(v,["do","for","if","while"])),!0):!1},C.prototype.handle_start_expr=function(v){this.start_of_statement(v)||this.handle_whitespace_and_comments(v);var L=fe.Expression;if(v.text==="["){if(this._flags.last_token.type===P.WORD||this._flags.last_token.text===")"){te(this._flags.last_token,k)&&(this._output.space_before_token=!0),this.print_token(v),this.set_mode(L),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}L=fe.ArrayLiteral,Y(this._flags.mode)&&((this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline())),N(this._flags.last_token.type,[P.START_EXPR,P.END_EXPR,P.WORD,P.OPERATOR,P.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===P.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,L=fe.ForInitializer):N(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,L=fe.Conditional):N(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&v.whitespace_before===""?this._output.space_before_token=!1:(N(this._flags.last_token.text,k)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===P.EQUALS||this._flags.last_token.type===P.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(v);else if(this._flags.last_token.type===P.WORD){this._output.space_before_token=!1;var G=this._tokens.peek(-3);if(this._options.space_after_named_function&&G){var ce=this._tokens.peek(-4);te(G,["async","function"])||G.text==="*"&&te(ce,["async","function"])?this._output.space_before_token=!0:this._flags.mode===fe.ObjectLiteral?(G.text==="{"||G.text===","||G.text==="*"&&(ce.text==="{"||ce.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(v);(this._flags.last_token.type===P.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(N(this._last_last_text,["function","yield"])||this._flags.mode===fe.ObjectLiteral&&N(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===P.START_BLOCK?this.print_newline():(this._flags.last_token.type===P.END_EXPR||this._flags.last_token.type===P.START_EXPR||this._flags.last_token.type===P.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===P.COMMA)&&this.allow_wrap_or_preserved_newline(v,v.newlines),this.print_token(v),this.set_mode(L),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},C.prototype.handle_end_expr=function(v){for(;this._flags.mode===fe.Statement;)this.restore_mode();this.handle_whitespace_and_comments(v),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(v,v.text==="]"&&Y(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===P.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(v),this.restore_mode(),J(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===fe.Conditional&&(this._previous_flags.mode=fe.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},C.prototype.handle_start_block=function(v){this.handle_whitespace_and_comments(v);var L=this._tokens.peek(),G=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===P.END_EXPR?(this.set_mode(fe.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(fe.BlockStatement):G&&(N(G.text,[":",","])&&N(L.type,[P.STRING,P.WORD,P.RESERVED])||N(L.text,["get","set","..."])&&N(G.type,[P.WORD,P.RESERVED]))?N(this._last_last_text,["class","interface"])&&!N(G.text,[":",","])?this.set_mode(fe.BlockStatement):this.set_mode(fe.ObjectLiteral):this._flags.last_token.type===P.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(fe.BlockStatement):N(this._flags.last_token.type,[P.EQUALS,P.START_EXPR,P.COMMA,P.OPERATOR])||te(this._flags.last_token,["return","throw","import","default"])?this.set_mode(fe.ObjectLiteral):this.set_mode(fe.BlockStatement),this._flags.last_token&&(te(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0));var ce=!L.comments_before&&L.text==="}",Ce=ce&&this._flags.last_word==="function"&&this._flags.last_token.type===P.END_EXPR;if(this._options.brace_preserve_inline){var Ge=0,be=null;this._flags.inline_frame=!0;do if(Ge+=1,be=this._tokens.peek(Ge-1),be.newlines){this._flags.inline_frame=!1;break}while(be.type!==P.EOF&&!(be.type===P.END_BLOCK&&be.opened===v))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&v.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==P.OPERATOR&&(Ce||this._flags.last_token.type===P.EQUALS||te(this._flags.last_token,xe)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(Y(this._previous_flags.mode)&&(this._flags.last_token.type===P.START_EXPR||this._flags.last_token.type===P.COMMA)&&((this._flags.last_token.type===P.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===P.COMMA||this._flags.last_token.type===P.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(v),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==P.OPERATOR&&this._flags.last_token.type!==P.START_EXPR&&(this._flags.last_token.type===P.START_BLOCK&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(v),this.indent(),!ce&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},C.prototype.handle_end_block=function(v){for(this.handle_whitespace_and_comments(v);this._flags.mode===fe.Statement;)this.restore_mode();var L=this._flags.last_token.type===P.START_BLOCK;this._flags.inline_frame&&!L?this._output.space_before_token=!0:this._options.brace_style==="expand"?L||this.print_newline():L||(Y(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(v)},C.prototype.handle_word=function(v){if(v.type===P.RESERVED){if(N(v.text,["set","get"])&&this._flags.mode!==fe.ObjectLiteral)v.type=P.WORD;else if(v.text==="import"&&N(this._tokens.peek().text,["(","."]))v.type=P.WORD;else if(N(v.text,["as","from"])&&!this._flags.import_block)v.type=P.WORD;else if(this._flags.mode===fe.ObjectLiteral){var L=this._tokens.peek();L.text===":"&&(v.type=P.WORD)}}if(this.start_of_statement(v)?te(this._flags.last_token,["var","let","const"])&&v.type===P.WORD&&(this._flags.declaration_statement=!0):v.newlines&&!le(this._flags.mode)&&(this._flags.last_token.type!==P.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==P.EQUALS&&(this._options.preserve_newlines||!te(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(v),this.print_newline()):this.handle_whitespace_and_comments(v),this._flags.do_block&&!this._flags.do_while)if(Se(v,"while")){this._output.space_before_token=!0,this.print_token(v),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&Se(v,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===fe.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&te(v,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(v),this._flags.in_case=!0;return}if((this._flags.last_token.type===P.COMMA||this._flags.last_token.type===P.START_EXPR||this._flags.last_token.type===P.EQUALS||this._flags.last_token.type===P.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(v)),Se(v,"function")){(N(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(N(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===P.OPERATOR))&&(!this._output.just_added_blankline()&&!v.comments_before&&(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===P.RESERVED||this._flags.last_token.type===P.WORD?te(this._flags.last_token,["get","set","new","export"])||te(this._flags.last_token,D)?this._output.space_before_token=!0:Se(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===P.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(le(this._flags.mode)||Y(this._flags.mode))||this.print_newline(),this.print_token(v),this._flags.last_word=v.text;return}var G="NONE";if(this._flags.last_token.type===P.END_BLOCK?this._previous_flags.inline_frame?G="SPACE":te(v,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&v.newlines?G="NEWLINE":(G="SPACE",this._output.space_before_token=!0):G="NEWLINE":this._flags.last_token.type===P.SEMICOLON&&this._flags.mode===fe.BlockStatement?G="NEWLINE":this._flags.last_token.type===P.SEMICOLON&&le(this._flags.mode)?G="SPACE":this._flags.last_token.type===P.STRING?G="NEWLINE":this._flags.last_token.type===P.RESERVED||this._flags.last_token.type===P.WORD||this._flags.last_token.text==="*"&&(N(this._last_last_text,["function","yield"])||this._flags.mode===fe.ObjectLiteral&&N(this._last_last_text,["{",","]))?G="SPACE":this._flags.last_token.type===P.START_BLOCK?this._flags.inline_frame?G="SPACE":G="NEWLINE":this._flags.last_token.type===P.END_EXPR&&(this._output.space_before_token=!0,G="NEWLINE"),te(v,k)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?G="SPACE":G="NEWLINE"),te(v,["else","catch","finally"]))if((!(this._flags.last_token.type===P.END_BLOCK&&this._previous_flags.mode===fe.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&v.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var ce=this._output.current_line;ce.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else G==="NEWLINE"?te(this._flags.last_token,xe)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&te(v,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==P.END_EXPR?(this._flags.last_token.type!==P.START_EXPR||!te(v,["var","let","const"]))&&this._flags.last_token.text!==":"&&(Se(v,"if")&&Se(v.previous,"else")?this._output.space_before_token=!0:this.print_newline()):te(v,k)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&Y(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():G==="SPACE"&&(this._output.space_before_token=!0);v.previous&&(v.previous.type===P.WORD||v.previous.type===P.RESERVED)&&(this._output.space_before_token=!0),this.print_token(v),this._flags.last_word=v.text,v.type===P.RESERVED&&(v.text==="do"?this._flags.do_block=!0:v.text==="if"?this._flags.if_block=!0:v.text==="import"?this._flags.import_block=!0:this._flags.import_block&&Se(v,"from")&&(this._flags.import_block=!1))},C.prototype.handle_semicolon=function(v){this.start_of_statement(v)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(v);for(var L=this._tokens.peek();this._flags.mode===fe.Statement&&!(this._flags.if_block&&Se(L,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(v)},C.prototype.handle_string=function(v){v.text.startsWith("`")&&v.newlines===0&&v.whitespace_before===""&&(v.previous.text===")"||this._flags.last_token.type===P.WORD)||(this.start_of_statement(v)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(v),this._flags.last_token.type===P.RESERVED||this._flags.last_token.type===P.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===P.COMMA||this._flags.last_token.type===P.START_EXPR||this._flags.last_token.type===P.EQUALS||this._flags.last_token.type===P.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(v):v.text.startsWith("`")&&this._flags.last_token.type===P.END_EXPR&&(v.previous.text==="]"||v.previous.text===")")&&v.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(v)},C.prototype.handle_equals=function(v){this.start_of_statement(v)||this.handle_whitespace_and_comments(v),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(v),this._output.space_before_token=!0},C.prototype.handle_comma=function(v){this.handle_whitespace_and_comments(v,!0),this.print_token(v),this._output.space_before_token=!0,this._flags.declaration_statement?(le(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(v)):this._flags.mode===fe.ObjectLiteral||this._flags.mode===fe.Statement&&this._flags.parent.mode===fe.ObjectLiteral?(this._flags.mode===fe.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(v)},C.prototype.handle_operator=function(v){var L=v.text==="*"&&(te(this._flags.last_token,["function","yield"])||N(this._flags.last_token.type,[P.START_BLOCK,P.COMMA,P.END_BLOCK,P.SEMICOLON])),G=N(v.text,["-","+"])&&(N(this._flags.last_token.type,[P.START_BLOCK,P.START_EXPR,P.EQUALS,P.OPERATOR])||N(this._flags.last_token.text,k)||this._flags.last_token.text===",");if(!this.start_of_statement(v)){var ce=!L;this.handle_whitespace_and_comments(v,ce)}if(v.text==="*"&&this._flags.last_token.type===P.DOT){this.print_token(v);return}if(v.text==="::"){this.print_token(v);return}if(this._flags.last_token.type===P.OPERATOR&&N(this._options.operator_position,ye)&&this.allow_wrap_or_preserved_newline(v),v.text===":"&&this._flags.in_case){this.print_token(v),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==P.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var Ce=!0,Ge=!0,be=!1;if(v.text===":"?this._flags.ternary_depth===0?Ce=!1:(this._flags.ternary_depth-=1,be=!0):v.text==="?"&&(this._flags.ternary_depth+=1),!G&&!L&&this._options.preserve_newlines&&N(v.text,Z)){var Be=v.text===":",Qe=Be&&be,qe=Be&&!be;switch(this._options.operator_position){case Te.before_newline:this._output.space_before_token=!qe,this.print_token(v),(!Be||Qe)&&this.allow_wrap_or_preserved_newline(v),this._output.space_before_token=!0;return;case Te.after_newline:this._output.space_before_token=!0,!Be||Qe?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(v):this._output.space_before_token=!1,this.print_token(v),this._output.space_before_token=!0;return;case Te.preserve_newline:qe||this.allow_wrap_or_preserved_newline(v),Ce=!(this._output.just_added_newline()||qe),this._output.space_before_token=Ce,this.print_token(v),this._output.space_before_token=!0;return}}if(L){this.allow_wrap_or_preserved_newline(v),Ce=!1;var Ie=this._tokens.peek();Ge=Ie&&N(Ie.type,[P.WORD,P.RESERVED])}else if(v.text==="...")this.allow_wrap_or_preserved_newline(v),Ce=this._flags.last_token.type===P.START_BLOCK,Ge=!1;else if(N(v.text,["--","++","!","~"])||G){if((this._flags.last_token.type===P.COMMA||this._flags.last_token.type===P.START_EXPR)&&this.allow_wrap_or_preserved_newline(v),Ce=!1,Ge=!1,v.newlines&&(v.text==="--"||v.text==="++"||v.text==="~")){var Rt=te(this._flags.last_token,xe)&&v.newlines;Rt&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Rt,!0)}this._flags.last_token.text===";"&&le(this._flags.mode)&&(Ce=!0),this._flags.last_token.type===P.RESERVED?Ce=!0:this._flags.last_token.type===P.END_EXPR?Ce=!(this._flags.last_token.text==="]"&&(v.text==="--"||v.text==="++")):this._flags.last_token.type===P.OPERATOR&&(Ce=N(v.text,["--","-","++","+"])&&N(this._flags.last_token.text,["--","-","++","+"]),N(v.text,["+","-"])&&N(this._flags.last_token.text,["--","++"])&&(Ge=!0)),(this._flags.mode===fe.BlockStatement&&!this._flags.inline_frame||this._flags.mode===fe.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Ce,this.print_token(v),this._output.space_before_token=Ge},C.prototype.handle_block_comment=function(v,L){if(this._output.raw){this._output.add_raw_token(v),v.directives&&v.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(v.directives){this.print_newline(!1,L),this.print_token(v),v.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!w.newline.test(v.text)&&!v.newlines){this._output.space_before_token=!0,this.print_token(v),this._output.space_before_token=!0;return}else this.print_block_commment(v,L)},C.prototype.print_block_commment=function(v,L){var G=B(v.text),ce,Ce=!1,Ge=!1,be=v.whitespace_before,Be=be.length;if(this.print_newline(!1,L),this.print_token_line_indentation(v),this._output.add_token(G[0]),this.print_newline(!1,L),G.length>1){for(G=G.slice(1),Ce=M(G,"*"),Ge=b(G,be),Ce&&(this._flags.alignment=1),ce=0;ce<G.length;ce++)Ce?(this.print_token_line_indentation(v),this._output.add_token(ie(G[ce]))):Ge&&G[ce]?(this.print_token_line_indentation(v),this._output.add_token(G[ce].substring(Be))):(this._output.current_line.set_indent(-1),this._output.add_token(G[ce])),this.print_newline(!1,L);this._flags.alignment=0}},C.prototype.handle_comment=function(v,L){v.newlines?this.print_newline(!1,L):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(v),this.print_newline(!1,L)},C.prototype.handle_dot=function(v){this.start_of_statement(v)||this.handle_whitespace_and_comments(v,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),te(this._flags.last_token,xe)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(v,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(v)},C.prototype.handle_unknown=function(v,L){this.print_token(v),v.text[v.text.length-1]===`
`&&this.print_newline(!1,L)},C.prototype.handle_eof=function(v){for(;this._flags.mode===fe.Statement;)this.restore_mode();this.handle_whitespace_and_comments(v)},f.exports.Beautifier=C},function(f){function V(A){this.__parent=A,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}V.prototype.clone_empty=function(){var A=new V(this.__parent);return A.set_indent(this.__indent_count,this.__alignment_count),A},V.prototype.item=function(A){return A<0?this.__items[this.__items.length+A]:this.__items[A]},V.prototype.has_match=function(A){for(var w=this.__items.length-1;w>=0;w--)if(this.__items[w].match(A))return!0;return!1},V.prototype.set_indent=function(A,w){this.is_empty()&&(this.__indent_count=A||0,this.__alignment_count=w||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},V.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},V.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},V.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var A=this.__parent.current_line;return A.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),A.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),A.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,A.__items[0]===" "&&(A.__items.splice(0,1),A.__character_count-=1),!0}return!1},V.prototype.is_empty=function(){return this.__items.length===0},V.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},V.prototype.push=function(A){this.__items.push(A);var w=A.lastIndexOf(`
`);w!==-1?this.__character_count=A.length-w:this.__character_count+=A.length},V.prototype.pop=function(){var A=null;return this.is_empty()||(A=this.__items.pop(),this.__character_count-=A.length),A},V.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},V.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},V.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},V.prototype.toString=function(){var A="";return this.is_empty()?this.__parent.indent_empty_lines&&(A=this.__parent.get_indent_string(this.__indent_count)):(A=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),A+=this.__items.join("")),A};function z(A,w){this.__cache=[""],this.__indent_size=A.indent_size,this.__indent_string=A.indent_char,A.indent_with_tabs||(this.__indent_string=new Array(A.indent_size+1).join(A.indent_char)),w=w||"",A.indent_level>0&&(w=new Array(A.indent_level+1).join(this.__indent_string)),this.__base_string=w,this.__base_string_length=w.length}z.prototype.get_indent_size=function(A,w){var S=this.__base_string_length;return w=w||0,A<0&&(S=0),S+=A*this.__indent_size,S+=w,S},z.prototype.get_indent_string=function(A,w){var S=this.__base_string;return w=w||0,A<0&&(A=0,S=""),w+=A*this.__indent_size,this.__ensure_cache(w),S+=this.__cache[w],S},z.prototype.__ensure_cache=function(A){for(;A>=this.__cache.length;)this.__add_column()},z.prototype.__add_column=function(){var A=this.__cache.length,w=0,S="";this.__indent_size&&A>=this.__indent_size&&(w=Math.floor(A/this.__indent_size),A-=w*this.__indent_size,S=new Array(w+1).join(this.__indent_string)),A&&(S+=new Array(A+1).join(" ")),this.__cache.push(S)};function j(A,w){this.__indent_cache=new z(A,w),this.raw=!1,this._end_with_newline=A.end_with_newline,this.indent_size=A.indent_size,this.wrap_line_length=A.wrap_line_length,this.indent_empty_lines=A.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new V(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}j.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},j.prototype.get_line_number=function(){return this.__lines.length},j.prototype.get_indent_string=function(A,w){return this.__indent_cache.get_indent_string(A,w)},j.prototype.get_indent_size=function(A,w){return this.__indent_cache.get_indent_size(A,w)},j.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},j.prototype.add_new_line=function(A){return this.is_empty()||!A&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},j.prototype.get_code=function(A){this.trim(!0);var w=this.current_line.pop();w&&(w[w.length-1]===`
`&&(w=w.replace(/\n+$/g,"")),this.current_line.push(w)),this._end_with_newline&&this.__add_outputline();var S=this.__lines.join(`
`);return A!==`
`&&(S=S.replace(/[\n]/g,A)),S},j.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},j.prototype.set_indent=function(A,w){return A=A||0,w=w||0,this.next_line.set_indent(A,w),this.__lines.length>1?(this.current_line.set_indent(A,w),!0):(this.current_line.set_indent(),!1)},j.prototype.add_raw_token=function(A){for(var w=0;w<A.newlines;w++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(A.whitespace_before),this.current_line.push(A.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},j.prototype.add_token=function(A){this.__add_space_before_token(),this.current_line.push(A),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},j.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},j.prototype.remove_indent=function(A){for(var w=this.__lines.length;A<w;)this.__lines[A]._remove_indent(),A++;this.current_line._remove_wrap_indent()},j.prototype.trim=function(A){for(A=A===void 0?!1:A,this.current_line.trim();A&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},j.prototype.just_added_newline=function(){return this.current_line.is_empty()},j.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},j.prototype.ensure_empty_line_above=function(A,w){for(var S=this.__lines.length-2;S>=0;){var I=this.__lines[S];if(I.is_empty())break;if(I.item(0).indexOf(A)!==0&&I.item(-1)!==w){this.__lines.splice(S+1,0,new V(this)),this.previous_line=this.__lines[this.__lines.length-2];break}S--}},f.exports.Output=j},function(f){function V(z,j,A,w){this.type=z,this.text=j,this.comments_before=null,this.newlines=A||0,this.whitespace_before=w||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}f.exports.Token=V},function(f,V){var z="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",j="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",A="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\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\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\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\\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-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\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-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\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-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\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",w="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",S="(?:\\\\u[0-9a-fA-F]{4}|["+z+A+"])",I="(?:\\\\u[0-9a-fA-F]{4}|["+j+A+w+"])*";V.identifier=new RegExp(S+I,"g"),V.identifierStart=new RegExp(S),V.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+j+A+w+"])+");var k=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;V.newline=/[\n\r\u2028\u2029]/,V.lineBreak=new RegExp(`\r
|`+V.newline.source),V.allLineBreaks=new RegExp(V.lineBreak.source,"g")},function(f,V,z){var j=z(6).Options,A=["before-newline","after-newline","preserve-newline"];function w(S){j.call(this,S,"js");var I=this.raw_options.brace_style||null;I==="expand-strict"?this.raw_options.brace_style="expand":I==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var k=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var Z=0;Z<k.length;Z++)k[Z]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=k[Z];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",A),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}w.prototype=new j,f.exports.Options=w},function(f){function V(A,w){this.raw_options=z(A,w),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}V.prototype._get_array=function(A,w){var S=this.raw_options[A],I=w||[];return typeof S=="object"?S!==null&&typeof S.concat=="function"&&(I=S.concat()):typeof S=="string"&&(I=S.split(/[^a-zA-Z0-9_\/\-]+/)),I},V.prototype._get_boolean=function(A,w){var S=this.raw_options[A],I=S===void 0?!!w:!!S;return I},V.prototype._get_characters=function(A,w){var S=this.raw_options[A],I=w||"";return typeof S=="string"&&(I=S.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),I},V.prototype._get_number=function(A,w){var S=this.raw_options[A];w=parseInt(w,10),isNaN(w)&&(w=0);var I=parseInt(S,10);return isNaN(I)&&(I=w),I},V.prototype._get_selection=function(A,w,S){var I=this._get_selection_list(A,w,S);if(I.length!==1)throw new Error("Invalid Option Value: The option '"+A+`' can only be one of the following values:
`+w+`
You passed in: '`+this.raw_options[A]+"'");return I[0]},V.prototype._get_selection_list=function(A,w,S){if(!w||w.length===0)throw new Error("Selection list cannot be empty.");if(S=S||[w[0]],!this._is_valid_selection(S,w))throw new Error("Invalid Default Value!");var I=this._get_array(A,S);if(!this._is_valid_selection(I,w))throw new Error("Invalid Option Value: The option '"+A+`' can contain only the following values:
`+w+`
You passed in: '`+this.raw_options[A]+"'");return I},V.prototype._is_valid_selection=function(A,w){return A.length&&w.length&&!A.some(function(S){return w.indexOf(S)===-1})};function z(A,w){var S={};A=j(A);var I;for(I in A)I!==w&&(S[I]=A[I]);if(w&&A[w])for(I in A[w])S[I]=A[w][I];return S}function j(A){var w={},S;for(S in A){var I=S.replace(/-/g,"_");w[I]=A[S]}return w}f.exports.Options=V,f.exports.normalizeOpts=j,f.exports.mergeOpts=z},function(f,V,z){var j=z(8).InputScanner,A=z(9).Tokenizer,w=z(9).TOKEN,S=z(13).Directives,I=z(4),k=z(12).Pattern,Z=z(14).TemplatablePattern;function P(M,b){return b.indexOf(M)!==-1}var N={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:w.START,RAW:w.RAW,EOF:w.EOF},ie=new S(/\/\*/,/\*\//),me=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,Se=/[0-9]/,te=/[^\d\.]/,xe=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),Ue=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";Ue=Ue.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),Ue="\\?\\.(?!\\d) "+Ue,Ue=Ue.replace(/ /g,"|");var Te=new RegExp(Ue),ye="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),fe=ye.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),J=new RegExp("^(?:"+fe.join("|")+")$"),B,Y=function(M,b){A.call(this,M,b),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var C=new k(this._input),D=new Z(this._input).read_options(this._options);this.__patterns={template:D,identifier:D.starting_with(I.identifier).matching(I.identifierMatch),number:C.matching(me),punct:C.matching(Te),comment:C.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:C.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:C.matching(/<!--/),html_comment_end:C.matching(/-->/),include:C.starting_with(/#include/).until_after(I.lineBreak),shebang:C.starting_with(/#!/).until_after(I.lineBreak),xml:C.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:D.until(/['\\\n\r\u2028\u2029]/),double_quote:D.until(/["\\\n\r\u2028\u2029]/),template_text:D.until(/[`\\$]/),template_expression:D.until(/[`}\\]/)}};Y.prototype=new A,Y.prototype._is_comment=function(M){return M.type===N.COMMENT||M.type===N.BLOCK_COMMENT||M.type===N.UNKNOWN},Y.prototype._is_opening=function(M){return M.type===N.START_BLOCK||M.type===N.START_EXPR},Y.prototype._is_closing=function(M,b){return(M.type===N.END_BLOCK||M.type===N.END_EXPR)&&b&&(M.text==="]"&&b.text==="["||M.text===")"&&b.text==="("||M.text==="}"&&b.text==="{")},Y.prototype._reset=function(){B=!1},Y.prototype._get_next_token=function(M,b){var C=null;this._readWhitespace();var D=this._input.peek();return D===null?this._create_token(N.EOF,""):(C=C||this._read_non_javascript(D),C=C||this._read_string(D),C=C||this._read_word(M),C=C||this._read_singles(D),C=C||this._read_comment(D),C=C||this._read_regexp(D,M),C=C||this._read_xml(D,M),C=C||this._read_punctuation(),C=C||this._create_token(N.UNKNOWN,this._input.next()),C)},Y.prototype._read_word=function(M){var b;if(b=this.__patterns.identifier.read(),b!=="")return b=b.replace(I.allLineBreaks,`
`),!(M.type===N.DOT||M.type===N.RESERVED&&(M.text==="set"||M.text==="get"))&&J.test(b)?(b==="in"||b==="of")&&(M.type===N.WORD||M.type===N.STRING)?this._create_token(N.OPERATOR,b):this._create_token(N.RESERVED,b):this._create_token(N.WORD,b);if(b=this.__patterns.number.read(),b!=="")return this._create_token(N.WORD,b)},Y.prototype._read_singles=function(M){var b=null;return M==="("||M==="["?b=this._create_token(N.START_EXPR,M):M===")"||M==="]"?b=this._create_token(N.END_EXPR,M):M==="{"?b=this._create_token(N.START_BLOCK,M):M==="}"?b=this._create_token(N.END_BLOCK,M):M===";"?b=this._create_token(N.SEMICOLON,M):M==="."&&te.test(this._input.peek(1))?b=this._create_token(N.DOT,M):M===","&&(b=this._create_token(N.COMMA,M)),b&&this._input.next(),b},Y.prototype._read_punctuation=function(){var M=this.__patterns.punct.read();if(M!=="")return M==="="?this._create_token(N.EQUALS,M):M==="?."?this._create_token(N.DOT,M):this._create_token(N.OPERATOR,M)},Y.prototype._read_non_javascript=function(M){var b="";if(M==="#"){if(this._is_first_token()&&(b=this.__patterns.shebang.read(),b))return this._create_token(N.UNKNOWN,b.trim()+`
`);if(b=this.__patterns.include.read(),b)return this._create_token(N.UNKNOWN,b.trim()+`
`);M=this._input.next();var C="#";if(this._input.hasNext()&&this._input.testChar(Se)){do M=this._input.next(),C+=M;while(this._input.hasNext()&&M!=="#"&&M!=="=");return M==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(C+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(C+="{}",this._input.next(),this._input.next())),this._create_token(N.WORD,C)}this._input.back()}else if(M==="<"&&this._is_first_token()){if(b=this.__patterns.html_comment_start.read(),b){for(;this._input.hasNext()&&!this._input.testChar(I.newline);)b+=this._input.next();return B=!0,this._create_token(N.COMMENT,b)}}else if(B&&M==="-"&&(b=this.__patterns.html_comment_end.read(),b))return B=!1,this._create_token(N.COMMENT,b);return null},Y.prototype._read_comment=function(M){var b=null;if(M==="/"){var C="";if(this._input.peek(1)==="*"){C=this.__patterns.block_comment.read();var D=ie.get_directives(C);D&&D.ignore==="start"&&(C+=ie.readIgnored(this._input)),C=C.replace(I.allLineBreaks,`
`),b=this._create_token(N.BLOCK_COMMENT,C),b.directives=D}else this._input.peek(1)==="/"&&(C=this.__patterns.comment.read(),b=this._create_token(N.COMMENT,C))}return b},Y.prototype._read_string=function(M){if(M==="`"||M==="'"||M==='"'){var b=this._input.next();return this.has_char_escapes=!1,M==="`"?b+=this._read_string_recursive("`",!0,"${"):b+=this._read_string_recursive(M),this.has_char_escapes&&this._options.unescape_strings&&(b=le(b)),this._input.peek()===M&&(b+=this._input.next()),b=b.replace(I.allLineBreaks,`
`),this._create_token(N.STRING,b)}return null},Y.prototype._allow_regexp_or_xml=function(M){return M.type===N.RESERVED&&P(M.text,["return","case","throw","else","do","typeof","yield"])||M.type===N.END_EXPR&&M.text===")"&&M.opened.previous.type===N.RESERVED&&P(M.opened.previous.text,["if","while","for"])||P(M.type,[N.COMMENT,N.START_EXPR,N.START_BLOCK,N.START,N.END_BLOCK,N.OPERATOR,N.EQUALS,N.EOF,N.SEMICOLON,N.COMMA])},Y.prototype._read_regexp=function(M,b){if(M==="/"&&this._allow_regexp_or_xml(b)){for(var C=this._input.next(),D=!1,v=!1;this._input.hasNext()&&(D||v||this._input.peek()!==M)&&!this._input.testChar(I.newline);)C+=this._input.peek(),D?D=!1:(D=this._input.peek()==="\\",this._input.peek()==="["?v=!0:this._input.peek()==="]"&&(v=!1)),this._input.next();return this._input.peek()===M&&(C+=this._input.next(),C+=this._input.read(I.identifier)),this._create_token(N.STRING,C)}return null},Y.prototype._read_xml=function(M,b){if(this._options.e4x&&M==="<"&&this._allow_regexp_or_xml(b)){var C="",D=this.__patterns.xml.read_match();if(D){for(var v=D[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),L=v.indexOf("{")===0,G=0;D;){var ce=!!D[1],Ce=D[2],Ge=!!D[D.length-1]||Ce.slice(0,8)==="![CDATA[";if(!Ge&&(Ce===v||L&&Ce.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(ce?--G:++G),C+=D[0],G<=0)break;D=this.__patterns.xml.read_match()}return D||(C+=this._input.match(/[\s\S]*/g)[0]),C=C.replace(I.allLineBreaks,`
`),this._create_token(N.STRING,C)}}return null};function le(M){for(var b="",C=0,D=new j(M),v=null;D.hasNext();)if(v=D.match(/([\s]|[^\\]|\\\\)+/g),v&&(b+=v[0]),D.peek()==="\\"){if(D.next(),D.peek()==="x")v=D.match(/x([0-9A-Fa-f]{2})/g);else if(D.peek()==="u")v=D.match(/u([0-9A-Fa-f]{4})/g);else{b+="\\",D.hasNext()&&(b+=D.next());continue}if(!v)return M;if(C=parseInt(v[1],16),C>126&&C<=255&&v[0].indexOf("x")===0)return M;if(C>=0&&C<32){b+="\\"+v[0];continue}else C===34||C===39||C===92?b+="\\"+String.fromCharCode(C):b+=String.fromCharCode(C)}return b}Y.prototype._read_string_recursive=function(M,b,C){var D,v;M==="'"?v=this.__patterns.single_quote:M==='"'?v=this.__patterns.double_quote:M==="`"?v=this.__patterns.template_text:M==="}"&&(v=this.__patterns.template_expression);for(var L=v.read(),G="";this._input.hasNext();){if(G=this._input.next(),G===M||!b&&I.newline.test(G)){this._input.back();break}else G==="\\"&&this._input.hasNext()?(D=this._input.peek(),D==="x"||D==="u"?this.has_char_escapes=!0:D==="\r"&&this._input.peek(1)===`
`&&this._input.next(),G+=this._input.next()):C&&(C==="${"&&G==="$"&&this._input.peek()==="{"&&(G+=this._input.next()),C===G&&(M==="`"?G+=this._read_string_recursive("}",b,"`"):G+=this._read_string_recursive("`",b,"${"),this._input.hasNext()&&(G+=this._input.next())));G+=v.read(),L+=G}return L},f.exports.Tokenizer=Y,f.exports.TOKEN=N,f.exports.positionable_operators=xe.slice(),f.exports.line_starters=ye.slice()},function(f){var V=RegExp.prototype.hasOwnProperty("sticky");function z(j){this.__input=j||"",this.__input_length=this.__input.length,this.__position=0}z.prototype.restart=function(){this.__position=0},z.prototype.back=function(){this.__position>0&&(this.__position-=1)},z.prototype.hasNext=function(){return this.__position<this.__input_length},z.prototype.next=function(){var j=null;return this.hasNext()&&(j=this.__input.charAt(this.__position),this.__position+=1),j},z.prototype.peek=function(j){var A=null;return j=j||0,j+=this.__position,j>=0&&j<this.__input_length&&(A=this.__input.charAt(j)),A},z.prototype.__match=function(j,A){j.lastIndex=A;var w=j.exec(this.__input);return w&&!(V&&j.sticky)&&(w.index!==A&&(w=null)),w},z.prototype.test=function(j,A){return A=A||0,A+=this.__position,A>=0&&A<this.__input_length?!!this.__match(j,A):!1},z.prototype.testChar=function(j,A){var w=this.peek(A);return j.lastIndex=0,w!==null&&j.test(w)},z.prototype.match=function(j){var A=this.__match(j,this.__position);return A?this.__position+=A[0].length:A=null,A},z.prototype.read=function(j,A,w){var S="",I;return j&&(I=this.match(j),I&&(S+=I[0])),A&&(I||!j)&&(S+=this.readUntil(A,w)),S},z.prototype.readUntil=function(j,A){var w="",S=this.__position;j.lastIndex=this.__position;var I=j.exec(this.__input);return I?(S=I.index,A&&(S+=I[0].length)):S=this.__input_length,w=this.__input.substring(this.__position,S),this.__position=S,w},z.prototype.readUntilAfter=function(j){return this.readUntil(j,!0)},z.prototype.get_regexp=function(j,A){var w=null,S="g";return A&&V&&(S="y"),typeof j=="string"&&j!==""?w=new RegExp(j,S):j&&(w=new RegExp(j.source,S)),w},z.prototype.get_literal_regexp=function(j){return RegExp(j.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},z.prototype.peekUntilAfter=function(j){var A=this.__position,w=this.readUntilAfter(j);return this.__position=A,w},z.prototype.lookBack=function(j){var A=this.__position-1;return A>=j.length&&this.__input.substring(A-j.length,A).toLowerCase()===j},f.exports.InputScanner=z},function(f,V,z){var j=z(8).InputScanner,A=z(3).Token,w=z(10).TokenStream,S=z(11).WhitespacePattern,I={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},k=function(Z,P){this._input=new j(Z),this._options=P||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new S(this._input)};k.prototype.tokenize=function(){this._input.restart(),this.__tokens=new w,this._reset();for(var Z,P=new A(I.START,""),N=null,ie=[],me=new w;P.type!==I.EOF;){for(Z=this._get_next_token(P,N);this._is_comment(Z);)me.add(Z),Z=this._get_next_token(P,N);me.isEmpty()||(Z.comments_before=me,me=new w),Z.parent=N,this._is_opening(Z)?(ie.push(N),N=Z):N&&this._is_closing(Z,N)&&(Z.opened=N,N.closed=Z,N=ie.pop(),Z.parent=N),Z.previous=P,P.next=Z,this.__tokens.add(Z),P=Z}return this.__tokens},k.prototype._is_first_token=function(){return this.__tokens.isEmpty()},k.prototype._reset=function(){},k.prototype._get_next_token=function(Z,P){this._readWhitespace();var N=this._input.read(/.+/g);return N?this._create_token(I.RAW,N):this._create_token(I.EOF,"")},k.prototype._is_comment=function(Z){return!1},k.prototype._is_opening=function(Z){return!1},k.prototype._is_closing=function(Z,P){return!1},k.prototype._create_token=function(Z,P){var N=new A(Z,P,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return N},k.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},f.exports.Tokenizer=k,f.exports.TOKEN=I},function(f){function V(z){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=z}V.prototype.restart=function(){this.__position=0},V.prototype.isEmpty=function(){return this.__tokens_length===0},V.prototype.hasNext=function(){return this.__position<this.__tokens_length},V.prototype.next=function(){var z=null;return this.hasNext()&&(z=this.__tokens[this.__position],this.__position+=1),z},V.prototype.peek=function(z){var j=null;return z=z||0,z+=this.__position,z>=0&&z<this.__tokens_length&&(j=this.__tokens[z]),j},V.prototype.add=function(z){this.__parent_token&&(z.parent=this.__parent_token),this.__tokens.push(z),this.__tokens_length+=1},f.exports.TokenStream=V},function(f,V,z){var j=z(12).Pattern;function A(w,S){j.call(this,w,S),S?this._line_regexp=this._input.get_regexp(S._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}A.prototype=new j,A.prototype.__set_whitespace_patterns=function(w,S){w+="\\t ",S+="\\n\\r",this._match_pattern=this._input.get_regexp("["+w+S+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+S+"]")},A.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var w=this._input.read(this._match_pattern);if(w===" ")this.whitespace_before_token=" ";else if(w){var S=this.__split(this._newline_regexp,w);this.newline_count=S.length-1,this.whitespace_before_token=S[this.newline_count]}return w},A.prototype.matching=function(w,S){var I=this._create();return I.__set_whitespace_patterns(w,S),I._update(),I},A.prototype._create=function(){return new A(this._input,this)},A.prototype.__split=function(w,S){w.lastIndex=0;for(var I=0,k=[],Z=w.exec(S);Z;)k.push(S.substring(I,Z.index)),I=Z.index+Z[0].length,Z=w.exec(S);return I<S.length?k.push(S.substring(I,S.length)):k.push(""),k},f.exports.WhitespacePattern=A},function(f){function V(z,j){this._input=z,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,j&&(this._starting_pattern=this._input.get_regexp(j._starting_pattern,!0),this._match_pattern=this._input.get_regexp(j._match_pattern,!0),this._until_pattern=this._input.get_regexp(j._until_pattern),this._until_after=j._until_after)}V.prototype.read=function(){var z=this._input.read(this._starting_pattern);return(!this._starting_pattern||z)&&(z+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),z},V.prototype.read_match=function(){return this._input.match(this._match_pattern)},V.prototype.until_after=function(z){var j=this._create();return j._until_after=!0,j._until_pattern=this._input.get_regexp(z),j._update(),j},V.prototype.until=function(z){var j=this._create();return j._until_after=!1,j._until_pattern=this._input.get_regexp(z),j._update(),j},V.prototype.starting_with=function(z){var j=this._create();return j._starting_pattern=this._input.get_regexp(z,!0),j._update(),j},V.prototype.matching=function(z){var j=this._create();return j._match_pattern=this._input.get_regexp(z,!0),j._update(),j},V.prototype._create=function(){return new V(this._input,this)},V.prototype._update=function(){},f.exports.Pattern=V},function(f){function V(z,j){z=typeof z=="string"?z:z.source,j=typeof j=="string"?j:j.source,this.__directives_block_pattern=new RegExp(z+/ beautify( \w+[:]\w+)+ /.source+j,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(z+/\sbeautify\signore:end\s/.source+j,"g")}V.prototype.get_directives=function(z){if(!z.match(this.__directives_block_pattern))return null;var j={};this.__directive_pattern.lastIndex=0;for(var A=this.__directive_pattern.exec(z);A;)j[A[1]]=A[2],A=this.__directive_pattern.exec(z);return j},V.prototype.readIgnored=function(z){return z.readUntilAfter(this.__directives_end_ignore_pattern)},f.exports.Directives=V},function(f,V,z){var j=z(12).Pattern,A={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function w(S,I){j.call(this,S,I),this.__template_pattern=null,this._disabled=Object.assign({},A),this._excluded=Object.assign({},A),I&&(this.__template_pattern=this._input.get_regexp(I.__template_pattern),this._excluded=Object.assign(this._excluded,I._excluded),this._disabled=Object.assign(this._disabled,I._disabled));var k=new j(S);this.__patterns={handlebars_comment:k.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:k.starting_with(/{{{/).until_after(/}}}/),handlebars:k.starting_with(/{{/).until_after(/}}/),php:k.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:k.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:k.starting_with(/{%/).until_after(/%}/),django_value:k.starting_with(/{{/).until_after(/}}/),django_comment:k.starting_with(/{#/).until_after(/#}/),smarty:k.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:k.starting_with(/{\*/).until_after(/\*}/),smarty_literal:k.starting_with(/{literal}/).until_after(/{\/literal}/)}}w.prototype=new j,w.prototype._create=function(){return new w(this._input,this)},w.prototype._update=function(){this.__set_templated_pattern()},w.prototype.disable=function(S){var I=this._create();return I._disabled[S]=!0,I._update(),I},w.prototype.read_options=function(S){var I=this._create();for(var k in A)I._disabled[k]=S.templating.indexOf(k)===-1;return I._update(),I},w.prototype.exclude=function(S){var I=this._create();return I._excluded[S]=!0,I._update(),I},w.prototype.read=function(){var S="";this._match_pattern?S=this._input.read(this._starting_pattern):S=this._input.read(this._starting_pattern,this.__template_pattern);for(var I=this._read_template();I;)this._match_pattern?I+=this._input.read(this._match_pattern):I+=this._input.readUntil(this.__template_pattern),S+=I,I=this._read_template();return this._until_after&&(S+=this._input.readUntilAfter(this._until_pattern)),S},w.prototype.__set_templated_pattern=function(){var S=[];this._disabled.php||S.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||S.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||S.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(S.push(this.__patterns.django._starting_pattern.source),S.push(this.__patterns.django_value._starting_pattern.source),S.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||S.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&S.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+S.join("|")+")")},w.prototype._read_template=function(){var S="",I=this._input.peek();if(I==="<"){var k=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&k==="?"&&(S=S||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&k==="%"&&(S=S||this.__patterns.erb.read())}else I==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(S=S||this.__patterns.handlebars_comment.read(),S=S||this.__patterns.handlebars_unescaped.read(),S=S||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(S=S||this.__patterns.django_value.read()),this._excluded.django||(S=S||this.__patterns.django_comment.read(),S=S||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(S=S||this.__patterns.smarty_comment.read(),S=S||this.__patterns.smarty_literal.read(),S=S||this.__patterns.smarty.read()));return S},f.exports.TemplatablePattern=w}],ue={};function pe(f){var V=ue[f];if(V!==void 0)return V.exports;var z=ue[f]={exports:{}};return H[f](z,z.exports,pe),z.exports}var F=pe(0);We=F})();var ke=We;!(oe=[],ve=function(){return{js_beautify:ke}}.apply(re,oe),ve!==void 0&&(ht.exports=ve))})()},"6nfa":function(ht,re,O){ht.exports={flex_box_center:"flex_box_center___24EuS",flex_space_between:"flex_space_between___H0sq_",flex_box_vertical_center:"flex_box_vertical_center___lroQv",flex_box_center_end:"flex_box_center_end___2zqAg",flex_box_column:"flex_box_column___1sePp",row:"row___FQAuJ",title:"title___1l3-g",tagsWrap:"tagsWrap___18FE-",action:"action___asdVT",bar:"bar___M_nl0",name:"name___BKyJY",active:"active___1eybt",tagsBorderWrap:"tagsBorderWrap___1NzgL"}},"6rzw":function(ht,re){ht.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAABQBJREFUaEPtmmtoU2cYx//POc3pRVtte7K7G92YK1QHY/tQkbmi4hA/TOZyUp0oirWguNEJo8gu/bbJ3JVNhjJRmmKTbNBNd0FWkF2g0IGMUf0wGH5wF0napkubmEvfZ7xpUtqs5sT05LKZ8y3nvJfn9/yf93ne9yXEzCr+Rw+VgUpczbJCJS4Qbk+FAnv2rIiHw29CiCcB3GmRStfV6urN9WfOjFg0XmIYU4USMJOTlxhYbsXERBRjYBTMdxHRmKJpWxpcrmErxs4KyG8YZ5nZYdWEIJqsqq5+PBIKXWDgAflb0bStjS7XRSvmMFXIZxi/g9mqMIMEsHs8y8c7O++dHh+/wMyPgOiGYrO1N/b1nV8slDmQwxFf7CTz+ieB5Lupjg49HAh8zcBjBMRRUbFbP3vWvZj5igokDZ84cKAu6vefA/NaIhIgOqi73SdzhSo6UMLwnp5q38jIZwA2yZ+KonQ3ut3HcoEqDaAZKJvv8mUXmLclod5odLtfvVWo0gGSlp84ofgGB09CiN0JEEU5bne7X7gVqMIDASG711uXychRp/NdIcShRF1RFJe+YcNe7N8vsgErBhDU2tr7G06d+sMEqkcI8UoCimhAX7NmB7q6omZQRQEiVT2s9/e/b2ac3+nsYiHeSkJ9qzc1PYujR0OZ+hUFCECIqqq26L2932cBtRfMHzOzko0jigUkw0jWnE8J+JEBXyYwlpmPeRup6st6f/87paiQmTALfi8DLeQWn9V7uZy0melUVuj2VIhokpgT6ZaJFGKuZKIVYH4o5RAiGgfzULJNBYAaeXQn4EGZfuc6jgAG8E26M5noPjCvntc2H1mOiC7rHs+j8ixDQqg1uh6UxW58585N8WjUC+YlIPrB7vG0hTo775gGYrXNzVOyygc7O+sjgcARMB9kZi1ZMGO6x1MtjxEVsVjinXxCwWA7pqffKxiQzzB+BXPTzGqln211dc/Eg8HnWIhjKSC/YURSN7MEXCNF6a3S9Q9uTEy0cDQqT6uKvGOQQD6H46vU8eFmeSMvSSGl0DwguTFW1UOsab9wOHxxIaDZcAQu6S0t6/xXrvSwEIdLEkh6X1u6dH0sFNokhPgwE5AEkwc4rqwc5HB4OAXkdzp7wbxuVh3mJek3TXlVaHTXrpUqs0Y2W3DZ5s3XAgMDrfFYbICZ682ACPhcX7Vqh39k5G8AQoZcepiNOZ27p4X4pGBraLS9/W0W4h4AVWB+mIHm2cmTSWHuGkrLbOd1r3erzzAmCNAkkN/pdEGIp+aMUcPMywoGlL6G5nnYDEhVX7fV1vZGA4HfZteQYXwJ5qczbSTyGnK5AiWSSlNT6+jVq91CiCP/KSCfYfyZyOrMEQB/QVG+qLTbj0cmJlYjEpFp21aSWe5fYZIMuXnvvV51/Ny5lfFo9HkS4qX0wlrMOjTNgJ8Ae/o2Zs7WR17Ij82pPTYw1zNAC64RousE1KcgC1pYMy3afH/LS1LIt9EFz3JlIAs9YFXITQGotNCunIdSFOXFRrf7o4xhafbHC7/DMcTAEzlbYWFH0rT1el/fd4sD2r7dyfF4n4V25TQUEQ3rGzeuNbvjNr1olLP72tu7SYjXzOpETpZm04loSKup2bns9OmrZs2zApKDjHV03I1wuJXjcbvZoFZ9F0RRVVVHGvbt+wltbfLuwfTJGsh0pBJpUAYqESFuakZZobJCBfbAP/nAgWJ1139AAAAAAElFTkSuQmCC"},"746U":function(ht,re,O){"use strict";O.d(re,"f",function(){return oe}),O.d(re,"l",function(){return ve}),O.d(re,"k",function(){return We}),O.d(re,"j",function(){return ke}),O.d(re,"g",function(){return H}),O.d(re,"m",function(){return ue}),O.d(re,"h",function(){return pe}),O.d(re,"n",function(){return F}),O.d(re,"c",function(){return f}),O.d(re,"a",function(){return V}),O.d(re,"i",function(){return z}),O.d(re,"o",function(){return j}),O.d(re,"e",function(){return S}),O.d(re,"d",function(){return I}),O.d(re,"p",function(){return k}),O.d(re,"b",function(){return Z});function oe(P){return Array.isArray(P)}function ve(P){return typeof P=="string"}function We(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)&&!(P instanceof RegExp)&&!(P instanceof Date)}function ke(P){return typeof P=="number"&&!isNaN(P)}function H(P){return P===!0||P===!1}function ue(P){return typeof P=="undefined"}function pe(P){return!F(P)}function F(P){return ue(P)||P===null}function f(P,N){if(!P)throw new Error(N?`Unexpected type, expected '${N}'`:"Unexpected type")}function V(P){if(F(P))throw new Error("Assertion Failed: argument is undefined or null");return P}function z(P){return typeof P=="function"}function j(P,N){const ie=Math.min(P.length,N.length);for(let me=0;me<ie;me++)A(P[me],N[me])}function A(P,N){if(ve(N)){if(typeof P!==N)throw new Error(`argument does not match constraint: typeof ${N}`)}else if(z(N)){try{if(P instanceof N)return}catch(ie){}if(!F(P)&&P.constructor===N)return;if(N.length===1&&N.call(void 0,P)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function w(P){let N=[],ie=Object.getPrototypeOf(P);for(;Object.prototype!==ie;)N=N.concat(Object.getOwnPropertyNames(ie)),ie=Object.getPrototypeOf(ie);return N}function S(P){const N=[];for(const ie of w(P))typeof P[ie]=="function"&&N.push(ie);return N}function I(P,N){const ie=Se=>function(){const te=Array.prototype.slice.call(arguments,0);return N(Se,te)};let me={};for(const Se of P)me[Se]=ie(Se);return me}function k(P){return P===null?void 0:P}function Z(P,N="Unreachable"){throw new Error(N)}},"7ixt":function(ht,re,O){"use strict";O.d(re,"a",function(){return We});var oe={adjustX:1,adjustY:1},ve=[0,0],We={left:{points:["cr","cl"],overflow:oe,offset:[-4,0],targetOffset:ve},right:{points:["cl","cr"],overflow:oe,offset:[4,0],targetOffset:ve},top:{points:["bc","tc"],overflow:oe,offset:[0,-4],targetOffset:ve},bottom:{points:["tc","bc"],overflow:oe,offset:[0,4],targetOffset:ve},topLeft:{points:["bl","tl"],overflow:oe,offset:[0,-4],targetOffset:ve},leftTop:{points:["tr","tl"],overflow:oe,offset:[-4,0],targetOffset:ve},topRight:{points:["br","tr"],overflow:oe,offset:[0,-4],targetOffset:ve},rightTop:{points:["tl","tr"],overflow:oe,offset:[4,0],targetOffset:ve},bottomRight:{points:["tr","br"],overflow:oe,offset:[0,4],targetOffset:ve},rightBottom:{points:["bl","br"],overflow:oe,offset:[4,0],targetOffset:ve},bottomLeft:{points:["tl","bl"],overflow:oe,offset:[0,4],targetOffset:ve},leftBottom:{points:["br","bl"],overflow:oe,offset:[-4,0],targetOffset:ve}},ke=We},"8HAY":function(ht,re,O){"use strict";O.d(re,"a",function(){return H}),O.d(re,"b",function(){return ue}),O.d(re,"d",function(){return pe}),O.d(re,"e",function(){return F}),O.d(re,"c",function(){return f});var oe=O("MI8n"),ve=O("pmY6"),We=O("3/fG"),ke=function(V,z,j,A){function w(S){return S instanceof j?S:new j(function(I){I(S)})}return new(j||(j=Promise))(function(S,I){function k(N){try{P(A.next(N))}catch(ie){I(ie)}}function Z(N){try{P(A.throw(N))}catch(ie){I(ie)}}function P(N){N.done?S(N.value):w(N.value).then(k,Z)}P((A=A.apply(V,z||[])).next())})};class H extends ve.a{constructor(V,z="",j="",A=!0,w){super();this._onDidChange=this._register(new oe.b),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=V,this._label=z,this._cssClass=j,this._enabled=A,this._actionCallback=w}get id(){return this._id}get label(){return this._label}set label(V){this._setLabel(V)}_setLabel(V){this._label!==V&&(this._label=V,this._onDidChange.fire({label:V}))}get tooltip(){return this._tooltip||""}set tooltip(V){this._setTooltip(V)}_setTooltip(V){this._tooltip!==V&&(this._tooltip=V,this._onDidChange.fire({tooltip:V}))}get class(){return this._cssClass}set class(V){this._setClass(V)}_setClass(V){this._cssClass!==V&&(this._cssClass=V,this._onDidChange.fire({class:V}))}get enabled(){return this._enabled}set enabled(V){this._setEnabled(V)}_setEnabled(V){this._enabled!==V&&(this._enabled=V,this._onDidChange.fire({enabled:V}))}get checked(){return this._checked}set checked(V){this._setChecked(V)}_setChecked(V){this._checked!==V&&(this._checked=V,this._onDidChange.fire({checked:V}))}run(V,z){return ke(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(V))})}}class ue extends ve.a{constructor(){super(...arguments);this._onBeforeRun=this._register(new oe.b),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new oe.b),this.onDidRun=this._onDidRun.event}run(V,z){return ke(this,void 0,void 0,function*(){if(!V.enabled)return;this._onBeforeRun.fire({action:V});let j;try{yield this.runAction(V,z)}catch(A){j=A}this._onDidRun.fire({action:V,error:j})})}runAction(V,z){return ke(this,void 0,void 0,function*(){yield V.run(z)})}}class pe extends H{constructor(V){super(pe.ID,V,V?"separator text":"separator");this.checked=!1,this.enabled=!1}}pe.ID="vs.actions.separator";class F{constructor(V,z,j,A){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=V,this.label=z,this.class=A,this._actions=j}get actions(){return this._actions}dispose(){}run(){return ke(this,void 0,void 0,function*(){})}}class f extends H{constructor(){super(f.ID,We.a("submenu.empty","(empty)"),void 0,!1)}}f.ID="vs.actions.empty"},"8WcF":function(ht,re,O){ht.exports={flex_box_center:"flex_box_center___2fahw",flex_space_between:"flex_space_between___1h4HM",flex_box_vertical_center:"flex_box_vertical_center___2kxeE",flex_box_center_end:"flex_box_center_end___OjPB4",flex_box_column:"flex_box_column___3zY1h",orderWrap:"orderWrap___VQuq1",orderIconWrap:"orderIconWrap___18q7W",orderAsc:"orderAsc___3WBGg",orderDesc:"orderDesc____ipxK",active:"active___3EMfI",cursorPointer:"cursorPointer___3og_L",orderTextWrap:"orderTextWrap___XQlmv"}},"8mKB":function(ht,re,O){"use strict";var oe=O("rePB"),ve=O("1OyB"),We=O("vuIU"),ke=O("Ji7U"),H=O("md7G"),ue=O("foSv"),pe=O("q1tI"),F=O.n(pe),f=O("m+aA"),V=O("TSYQ"),z=O.n(V),j=O("4IlW");function A(Te){var ye=Te.pageXOffset,fe="scrollLeft";if(typeof ye!="number"){var J=Te.document;ye=J.documentElement[fe],typeof ye!="number"&&(ye=J.body[fe])}return ye}function w(Te){var ye,fe,J=Te.ownerDocument,B=J.body,Y=J&&J.documentElement,le=Te.getBoundingClientRect();return ye=le.left,fe=le.top,ye-=Y.clientLeft||B.clientLeft||0,fe-=Y.clientTop||B.clientTop||0,{left:ye,top:fe}}function S(Te){var ye=w(Te),fe=Te.ownerDocument,J=fe.defaultView||fe.parentWindow;return ye.left+=A(J),ye.left}function I(Te){var ye=k();return function(){var J=Object(ue.a)(Te),B;if(ye){var Y=Object(ue.a)(this).constructor;B=Reflect.construct(J,arguments,Y)}else B=J.apply(this,arguments);return Object(H.a)(this,B)}}function k(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Te){return!1}}var Z=function(Te){Object(ke.a)(fe,Te);var ye=I(fe);function fe(){var J;return Object(ve.a)(this,fe),J=ye.apply(this,arguments),J.onHover=function(B){var Y=J.props,le=Y.onHover,M=Y.index;le(B,M)},J.onClick=function(B){var Y=J.props,le=Y.onClick,M=Y.index;le(B,M)},J.onKeyDown=function(B){var Y=J.props,le=Y.onClick,M=Y.index;B.keyCode===13&&le(B,M)},J}return Object(We.a)(fe,[{key:"getClassName",value:function(){var B=this.props,Y=B.prefixCls,le=B.index,M=B.value,b=B.allowHalf,C=B.focused,D=le+1,v=Y;return M===0&&le===0&&C?v+=" ".concat(Y,"-focused"):b&&M+.5>=D&&M<D?(v+=" ".concat(Y,"-half ").concat(Y,"-active"),C&&(v+=" ".concat(Y,"-focused"))):(v+=D<=M?" ".concat(Y,"-full"):" ".concat(Y,"-zero"),D===M&&C&&(v+=" ".concat(Y,"-focused"))),v}},{key:"render",value:function(){var B=this.onHover,Y=this.onClick,le=this.onKeyDown,M=this.props,b=M.disabled,C=M.prefixCls,D=M.character,v=M.characterRender,L=M.index,G=M.count,ce=M.value,Ce=typeof D=="function"?D(this.props):D,Ge=F.a.createElement("li",{className:this.getClassName()},F.a.createElement("div",{onClick:b?null:Y,onKeyDown:b?null:le,onMouseMove:b?null:B,role:"radio","aria-checked":ce>L?"true":"false","aria-posinset":L+1,"aria-setsize":G,tabIndex:b?-1:0},F.a.createElement("div",{className:"".concat(C,"-first")},Ce),F.a.createElement("div",{className:"".concat(C,"-second")},Ce)));return v&&(Ge=v(Ge,this.props)),Ge}}]),fe}(F.a.Component);function P(Te,ye){var fe=Object.keys(Te);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(Te);ye&&(J=J.filter(function(B){return Object.getOwnPropertyDescriptor(Te,B).enumerable})),fe.push.apply(fe,J)}return fe}function N(Te){for(var ye=1;ye<arguments.length;ye++){var fe=arguments[ye]!=null?arguments[ye]:{};ye%2?P(Object(fe),!0).forEach(function(J){Object(oe.a)(Te,J,fe[J])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Te,Object.getOwnPropertyDescriptors(fe)):P(Object(fe)).forEach(function(J){Object.defineProperty(Te,J,Object.getOwnPropertyDescriptor(fe,J))})}return Te}function ie(Te){var ye=me();return function(){var J=Object(ue.a)(Te),B;if(ye){var Y=Object(ue.a)(this).constructor;B=Reflect.construct(J,arguments,Y)}else B=J.apply(this,arguments);return Object(H.a)(this,B)}}function me(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Te){return!1}}function Se(){}var te=function(Te){Object(ke.a)(fe,Te);var ye=ie(fe);function fe(J){var B;Object(ve.a)(this,fe),B=ye.call(this,J),B.onHover=function(le,M){var b=B.props.onHoverChange,C=B.getStarValue(M,le.pageX),D=B.state.cleanedValue;C!==D&&B.setState({hoverValue:C,cleanedValue:null}),b(C)},B.onMouseLeave=function(){var le=B.props.onHoverChange;B.setState({hoverValue:void 0,cleanedValue:null}),le(void 0)},B.onClick=function(le,M){var b=B.props.allowClear,C=B.state.value,D=B.getStarValue(M,le.pageX),v=!1;b&&(v=D===C),B.onMouseLeave(),B.changeValue(v?0:D),B.setState({cleanedValue:v?D:null})},B.onFocus=function(){var le=B.props.onFocus;B.setState({focused:!0}),le&&le()},B.onBlur=function(){var le=B.props.onBlur;B.setState({focused:!1}),le&&le()},B.onKeyDown=function(le){var M=le.keyCode,b=B.props,C=b.count,D=b.allowHalf,v=b.onKeyDown,L=b.direction,G=L==="rtl",ce=B.state.value;M===j.a.RIGHT&&ce<C&&!G?(D?ce+=.5:ce+=1,B.changeValue(ce),le.preventDefault()):M===j.a.LEFT&&ce>0&&!G||M===j.a.RIGHT&&ce>0&&G?(D?ce-=.5:ce-=1,B.changeValue(ce),le.preventDefault()):M===j.a.LEFT&&ce<C&&G&&(D?ce+=.5:ce+=1,B.changeValue(ce),le.preventDefault()),v&&v(le)},B.saveRef=function(le){return function(M){B.stars[le]=M}},B.saveRate=function(le){B.rate=le};var Y=J.value;return Y===void 0&&(Y=J.defaultValue),B.stars={},B.state={value:Y,focused:!1,cleanedValue:null},B}return Object(We.a)(fe,[{key:"componentDidMount",value:function(){var B=this.props,Y=B.autoFocus,le=B.disabled;Y&&!le&&this.focus()}},{key:"getStarDOM",value:function(B){return Object(f.a)(this.stars[B])}},{key:"getStarValue",value:function(B,Y){var le=this.props,M=le.allowHalf,b=le.direction,C=b==="rtl",D=B+1;if(M){var v=this.getStarDOM(B),L=S(v),G=v.clientWidth;(C&&Y-L>G/2||!C&&Y-L<G/2)&&(D-=.5)}return D}},{key:"focus",value:function(){var B=this.props.disabled;B||this.rate.focus()}},{key:"blur",value:function(){var B=this.props.disabled;B||this.rate.blur()}},{key:"changeValue",value:function(B){var Y=this.props.onChange;"value"in this.props||this.setState({value:B}),Y(B)}},{key:"render",value:function(){for(var B=this.props,Y=B.count,le=B.allowHalf,M=B.style,b=B.prefixCls,C=B.disabled,D=B.className,v=B.character,L=B.characterRender,G=B.tabIndex,ce=B.direction,Ce=this.state,Ge=Ce.value,be=Ce.hoverValue,Be=Ce.focused,Qe=[],qe=C?"".concat(b,"-disabled"):"",Ie=0;Ie<Y;Ie+=1)Qe.push(F.a.createElement(Z,{ref:this.saveRef(Ie),index:Ie,count:Y,disabled:C,prefixCls:"".concat(b,"-star"),allowHalf:le,value:be===void 0?Ge:be,onClick:this.onClick,onHover:this.onHover,key:Ie,character:v,characterRender:L,focused:Be}));var Rt=z()(b,qe,D,Object(oe.a)({},"".concat(b,"-rtl"),ce==="rtl"));return F.a.createElement("ul",{className:Rt,style:M,onMouseLeave:C?null:this.onMouseLeave,tabIndex:C?-1:G,onFocus:C?null:this.onFocus,onBlur:C?null:this.onBlur,onKeyDown:C?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},Qe)}}],[{key:"getDerivedStateFromProps",value:function(B,Y){return"value"in B&&B.value!==void 0?N(N({},Y),{},{value:B.value}):Y}}]),fe}(F.a.Component);te.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:Se,character:"\u2605",onHoverChange:Se,tabIndex:0,direction:"ltr"};var xe=te,Ue=re.a=xe},"9JIy":function(ht,re,O){ht.exports={flex_box_center:"flex_box_center___Hq8-r",flex_space_between:"flex_space_between___3Nl1U",flex_box_vertical_center:"flex_box_vertical_center___1hgum",flex_box_center_end:"flex_box_center_end___i5ldC",flex_box_column:"flex_box_column____1u-K",table:"table___2yPMl"}},BU3w:function(ht,re,O){"use strict";O.d(re,"a",function(){return ue});var oe=O("MNnm"),ve="rc-util-key";function We(pe){if(pe.attachTo)return pe.attachTo;var F=document.querySelector("head");return F||document.body}function ke(pe){var F,f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(oe.a)())return null;var V=document.createElement("style");if((F=f.csp)===null||F===void 0?void 0:F.nonce){var z;V.nonce=(z=f.csp)===null||z===void 0?void 0:z.nonce}V.innerHTML=pe;var j=We(f),A=j.firstChild;return f.prepend&&j.prepend?j.prepend(V):f.prepend&&A?j.insertBefore(V,A):j.appendChild(V),V}var H=new Map;function ue(pe,F){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},V=We(f);if(!H.has(V)){var z=ke("",f),j=z.parentNode;H.set(V,j),j.removeChild(z)}var A=Array.from(H.get(V).children).find(function(Z){return Z.tagName==="STYLE"&&Z[ve]===F});if(A){var w,S;if(((w=f.csp)===null||w===void 0?void 0:w.nonce)&&A.nonce!==((S=f.csp)===null||S===void 0?void 0:S.nonce)){var I;A.nonce=(I=f.csp)===null||I===void 0?void 0:I.nonce}return A.innerHTML!==pe&&(A.innerHTML=pe),A}var k=ke(pe,f);return k[ve]=F,k}},BdwD:function(ht,re,O){"use strict";var oe=O("+L6B"),ve=O("2/Rp"),We=O("0Owb"),ke=O("k1fw"),H=O("q1tI"),ue=O.n(H),pe=O("FOrL"),F=O.n(pe),f=function(z){var j=z.buttonProps,A=j===void 0?{}:j,w=z.styles,S=w===void 0?{}:w,I=z.imgStyles,k=I===void 0?{}:I,Z=z.customText,P=z.ButtonText,N=z.ButtonClick,ie=z.Buttonclass,me=z.ButtonTwo;return ue.a.createElement("section",{className:"tc animated fadeIn",style:Object(ke.a)(Object(ke.a)({},{color:"#999",margin:"0 auto",padding:"100px 0"}),S)},ue.a.createElement("img",{src:F.a,style:Object(ke.a)(Object(ke.a)({},{width:"200px",height:"150px"}),k)}),ue.a.createElement("p",{className:"mt10 font14"},Z||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),P&&ue.a.createElement(ve.a,Object(We.a)({className:ie,onClick:N},A),P),me&&me)};re.a=f},Bq7L:function(ht,re){ht.exports="data:image/png;base64,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"},"C/vA":function(ht,re,O){"use strict";O.d(re,"a",function(){return oe});function oe(ve){const We=this;let ke=!1,H;return function(){return ke||(ke=!0,H=ve.apply(We,arguments)),H}}},"Cg/j":function(ht,re,O){"use strict";O.d(re,"b",function(){return oe}),O.d(re,"a",function(){return ve}),O.d(re,"c",function(){return ke}),O.d(re,"d",function(){return H});var oe;(function(ue){ue.serviceIds=new Map,ue.DI_TARGET="$di$target",ue.DI_DEPENDENCIES="$di$dependencies";function pe(F){return F[ue.DI_DEPENDENCIES]||[]}ue.getServiceDependencies=pe})(oe||(oe={}));const ve=ke("instantiationService");function We(ue,pe,F,f){pe[oe.DI_TARGET]===pe?pe[oe.DI_DEPENDENCIES].push({id:ue,index:F,optional:f}):(pe[oe.DI_DEPENDENCIES]=[{id:ue,index:F,optional:f}],pe[oe.DI_TARGET]=pe)}function ke(ue){if(oe.serviceIds.has(ue))return oe.serviceIds.get(ue);const pe=function(F,f,V){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");We(pe,F,V,!1)};return pe.toString=()=>ue,oe.serviceIds.set(ue,pe),pe}function H(ue){return function(pe,F,f){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");We(ue,pe,f,!0)}}},D8AG:function(ht,re){ht.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAA0hJREFUaEPtmctLVFEcxz+30dDRXDiSWaDLSAUN0jAhTPFNJhIuotVI+cAHZJLgZhYFToSizsbX/QtEbaOtQkJDDYygRYtoISgqbbTwgQ43DrdhMB/3OjN3ulP3LM895/f7fc73d55XUhTFxj9UJAvI5GpaCplcIP5jhZ48ucTWVheKcg9FuRwWpSRpFUl6jcPxHLd7XY9PfQq1tFxne3saRUnSYzTkbSTpO3Z7OQMDH7VsawO5XBdYXv4MXNEyZvD3FVJTM3G5fpzmRxvo0aNneL0vDA5Wn3mbrYvhYXdwQE7nO+CWPo+Gt3qPLN8OFugnEGN4qPoc7CLL8cECHejzFaZWshxlAR0aAafTUsjQ5DMs5WpqoKAAenuhsBDy8/0csgznz8PDh/66mRmYn4f2doiOVuu/foWREejoAIdDrdvfh+lpmJw8flwMAxoagqgo2NqC7m548AAyM9UgvF7o74erV6Giwh/Y+DisrUFDA5w7p9YvLcHEBHR2QlycH6q+PsxAQgVfWV+Hnh5oaoK0NLV2dxdevoTiYsjL87cdHYXYWHUAfOXtW1hcPKye0/kXgYTrb99gcFBNn6TfR77NTXC71dRLT1cDPDiAvj7IyICyMn/QY2OwsaGqJ0lQVxdmoOPdGV9r2BwSk9k3D4zACHvKWUBnlNF0Cq2swNSUuueUlkJKytmITAcklue5ORVCzDWxCVdVQUKCPjDTAYklfGHhcPAxMVBZCSUl/tPCSXgRAeQLPjERamshN/dktSIKyIfR2grZ2cdDRSRQWxtkZf0DQOJkLVIuJyfCU04cSu/ehaKiCFwUxGl8dlZVwGaDO3fUZTv+1DcOv2Kmm0NiY33zRr3oiWU6OVnf/uNrZTqgs4V/tLUFpI6J9lPwSa8+4iTgexsIVo0/+4tL4OPHYb7gVVdDeXnoocQjiZh74p3huGLYBS/Uqui1ZwH9OVLWy6ne3AmwXQhSbhW4GKD7UHfbQJZP/b+rvWzX1Y2hKNWhjiwge5I0yejo/dP6agM1Nl5jb++DCX567WK338Dj+RIckOjd3JzFzs4r4CaKYg9odAPtJEnbwAKxsU/xeD5pmdFWSMuCyb5bQCYT5Eg4lkKWQmEegV/wVtNEQlRZ7wAAAABJRU5ErkJggg=="},FOrL:function(ht,re,O){ht.exports=O.p+"static/nodata.a6b3f948.png"},FWmy:function(ht,re,O){"use strict";O.d(re,"a",function(){return oe});function oe(ve,We){if(!ve)throw new Error(We?`Assertion failed (${We})`:"Assertion Failed")}},GfqC:function(ht,re,O){"use strict";var oe=O("q1tI"),ve=O.n(oe),We=O("TSYQ"),ke=O.n(We);function H(C,D){var v="cannot "+C.method+" "+C.action+" "+D.status+"'",L=new Error(v);return L.status=D.status,L.method=C.method,L.url=C.action,L}function ue(C){var D=C.responseText||C.response;if(!D)return D;try{return JSON.parse(D)}catch(v){return D}}function pe(C){var D=new XMLHttpRequest;C.onProgress&&D.upload&&(D.upload.onprogress=function(ce){ce.total>0&&(ce.percent=ce.loaded/ce.total*100),C.onProgress(ce)});var v=new FormData;C.data&&Object.keys(C.data).forEach(function(G){var ce=C.data[G];if(Array.isArray(ce)){ce.forEach(function(Ce){v.append(G+"[]",Ce)});return}v.append(G,C.data[G])}),C.file instanceof Blob?v.append(C.filename,C.file,C.file.name):v.append(C.filename,C.file),D.onerror=function(ce){C.onError(ce)},D.onload=function(){return D.status<200||D.status>=300?C.onError(H(C,D),ue(D)):C.onSuccess(ue(D),D)},D.open(C.method,C.action,!0),C.withCredentials&&"withCredentials"in D&&(D.withCredentials=!0);var L=C.headers||{};return L["X-Requested-With"]!==null&&D.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(L).forEach(function(G){L[G]!==null&&D.setRequestHeader(G,L[G])}),D.send(v),{abort:function(){D.abort()}}}var F=+new Date,f=0;function V(){return"rc-upload-"+F+"-"+ ++f}function z(C,D){return C.indexOf(D,C.length-D.length)!==-1}var j=function(C,D){if(C&&D){var v=Array.isArray(D)?D:D.split(","),L=C.name||"",G=C.type||"",ce=G.replace(/\/.*$/,"");return v.some(function(Ce){var Ge=Ce.trim();return Ge.charAt(0)==="."?z(L.toLowerCase(),Ge.toLowerCase()):/\/\*$/.test(Ge)?ce===Ge.replace(/\/.*$/,""):G===Ge})}return!0};function A(C,D){var v=C.createReader(),L=[];function G(){v.readEntries(function(ce){var Ce=Array.prototype.slice.apply(ce);L=L.concat(Ce);var Ge=!Ce.length;Ge?D(L):G()})}G()}var w=function(D,v,L){var G=function ce(Ce,Ge){Ge=Ge||"",Ce.isFile?Ce.file(function(be){L(be)&&(Ce.fullPath&&!be.webkitRelativePath&&(Object.defineProperties(be,{webkitRelativePath:{writable:!0}}),be.webkitRelativePath=Ce.fullPath.replace(/^\//,""),Object.defineProperties(be,{webkitRelativePath:{writable:!1}})),v([be]))}):Ce.isDirectory&&A(Ce,function(be){be.forEach(function(Be){ce(Be,""+Ge+Ce.name+"/")})})};D.forEach(function(ce){G(ce.webkitGetAsEntry())})},S=w,I=Object.assign||function(C){for(var D=1;D<arguments.length;D++){var v=arguments[D];for(var L in v)Object.prototype.hasOwnProperty.call(v,L)&&(C[L]=v[L])}return C},k=function(){function C(D,v){var L=[],G=!0,ce=!1,Ce=void 0;try{for(var Ge=D[Symbol.iterator](),be;!(G=(be=Ge.next()).done)&&!(L.push(be.value),v&&L.length===v);G=!0);}catch(Be){ce=!0,Ce=Be}finally{try{!G&&Ge.return&&Ge.return()}finally{if(ce)throw Ce}}return L}return function(D,v){if(Array.isArray(D))return D;if(Symbol.iterator in Object(D))return C(D,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Z=function(){function C(D,v){for(var L=0;L<v.length;L++){var G=v[L];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(D,G.key,G)}}return function(D,v,L){return v&&C(D.prototype,v),L&&C(D,L),D}}();function P(C,D,v){return D in C?Object.defineProperty(C,D,{value:v,enumerable:!0,configurable:!0,writable:!0}):C[D]=v,C}function N(C,D){var v={};for(var L in C){if(D.indexOf(L)>=0)continue;if(!Object.prototype.hasOwnProperty.call(C,L))continue;v[L]=C[L]}return v}function ie(C,D){if(!(C instanceof D))throw new TypeError("Cannot call a class as a function")}function me(C,D){if(!C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:C}function Se(C,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);C.prototype=Object.create(D&&D.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(C,D):C.__proto__=D)}var te=function(D){return Object.keys(D).reduce(function(v,L){return(L.substr(0,5)==="data-"||L.substr(0,5)==="aria-"||L==="role")&&(v[L]=D[L]),v},{})},xe=function(C){Se(D,C);function D(){var v,L,G,ce;ie(this,D);for(var Ce=arguments.length,Ge=Array(Ce),be=0;be<Ce;be++)Ge[be]=arguments[be];return ce=(L=(G=me(this,(v=D.__proto__||Object.getPrototypeOf(D)).call.apply(v,[this].concat(Ge))),G),G.state={uid:V()},G.reqs={},G.onChange=function(Be){var Qe=Be.target.files;G.uploadFiles(Qe),G.reset()},G.onClick=function(Be){var Qe=G.fileInput;if(!Qe)return;var qe=G.props,Ie=qe.children,Rt=qe.onClick;Ie&&Ie.type==="button"&&(Qe.parentNode.focus(),Qe.parentNode.querySelector("button").blur()),Qe.click(),Rt&&Rt(Be)},G.onKeyDown=function(Be){Be.key==="Enter"&&G.onClick()},G.onFileDrop=function(Be){var Qe=G.props.multiple;if(Be.preventDefault(),Be.type==="dragover")return;if(G.props.directory)S(Array.prototype.slice.call(Be.dataTransfer.items),G.uploadFiles,function(Ie){return j(Ie,G.props.accept)});else{var qe=Array.prototype.slice.call(Be.dataTransfer.files).filter(function(Ie){return j(Ie,G.props.accept)});Qe===!1&&(qe=qe.slice(0,1)),G.uploadFiles(qe)}},G.uploadFiles=function(Be){var Qe=Array.prototype.slice.call(Be);Qe.map(function(qe){return qe.uid=V(),qe}).forEach(function(qe){G.upload(qe,Qe)})},G.saveFileInput=function(Be){G.fileInput=Be},L),me(G,ce)}return Z(D,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(L,G){var ce=this,Ce=this.props;if(!Ce.beforeUpload)return setTimeout(function(){return ce.post(L)},0);var Ge=Ce.beforeUpload(L,G);Ge&&Ge.then?Ge.then(function(be){var Be=Object.prototype.toString.call(be);return Be==="[object File]"||Be==="[object Blob]"?ce.post(be):ce.post(L)}).catch(function(be){console.log(be)}):Ge!==!1&&setTimeout(function(){return ce.post(L)},0);return}},{key:"post",value:function(L){var G=this;if(!this._isMounted)return;var ce=this.props,Ce=ce.onStart,Ge=ce.onProgress,be=ce.transformFile,Be=be===void 0?function(Qe){return Qe}:be;new Promise(function(Qe){var qe=ce.action;return typeof qe=="function"&&(qe=qe(L)),Qe(qe)}).then(function(Qe){var qe=L.uid,Ie=ce.customRequest||pe,Rt=Promise.resolve(Be(L)).then(function(K){var se=ce.data;return typeof se=="function"&&(se=se(K)),Promise.all([K,se])}).catch(function(K){console.error(K)});Rt.then(function(K){var se=k(K,2),$=se[0],je=se[1],tt={action:Qe,filename:ce.name,data:je,file:$,headers:ce.headers,withCredentials:ce.withCredentials,method:ce.method||"post",onProgress:Ge?function(ct){Ge(ct,L)}:null,onSuccess:function(Lt,Zt){delete G.reqs[qe],ce.onSuccess(Lt,L,Zt)},onError:function(Lt,Zt){delete G.reqs[qe],ce.onError(Lt,Zt,L)}};Ce(L),G.reqs[qe]=Ie(tt)})})}},{key:"reset",value:function(){this.setState({uid:V()})}},{key:"abort",value:function(L){var G=this.reqs;if(L){var ce=L;L&&L.uid&&(ce=L.uid),G[ce]&&G[ce].abort&&G[ce].abort(),delete G[ce]}else Object.keys(G).forEach(function(Ce){G[Ce]&&G[Ce].abort&&G[Ce].abort(),delete G[Ce]})}},{key:"render",value:function(){var L,G=this.props,ce=G.component,Ce=G.prefixCls,Ge=G.className,be=G.disabled,Be=G.id,Qe=G.style,qe=G.multiple,Ie=G.accept,Rt=G.children,K=G.directory,se=G.openFileDialogOnClick,$=G.onMouseEnter,je=G.onMouseLeave,tt=N(G,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),ct=ke()((L={},P(L,Ce,!0),P(L,Ce+"-disabled",be),P(L,Ge,Ge),L)),Lt=be?{}:{onClick:se?this.onClick:function(){},onKeyDown:se?this.onKeyDown:function(){},onMouseEnter:$,onMouseLeave:je,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return ve.a.createElement(ce,I({},Lt,{className:ct,role:"button",style:Qe}),ve.a.createElement("input",I({},te(tt),{id:Be,type:"file",ref:this.saveFileInput,onClick:function(ee){return ee.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Ie,directory:K?"directory":null,webkitdirectory:K?"webkitdirectory":null,multiple:qe,onChange:this.onChange})),Rt)}}]),D}(oe.Component),Ue=xe,Te=Object.assign||function(C){for(var D=1;D<arguments.length;D++){var v=arguments[D];for(var L in v)Object.prototype.hasOwnProperty.call(v,L)&&(C[L]=v[L])}return C},ye=function(){function C(D,v){for(var L=0;L<v.length;L++){var G=v[L];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(D,G.key,G)}}return function(D,v,L){return v&&C(D.prototype,v),L&&C(D,L),D}}();function fe(C,D){if(!(C instanceof D))throw new TypeError("Cannot call a class as a function")}function J(C,D){if(!C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:C}function B(C,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);C.prototype=Object.create(D&&D.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(C,D):C.__proto__=D)}function Y(){}var le=function(C){B(D,C);function D(){var v,L,G,ce;fe(this,D);for(var Ce=arguments.length,Ge=Array(Ce),be=0;be<Ce;be++)Ge[be]=arguments[be];return ce=(L=(G=J(this,(v=D.__proto__||Object.getPrototypeOf(D)).call.apply(v,[this].concat(Ge))),G),G.saveUploader=function(Be){G.uploader=Be},L),J(G,ce)}return ye(D,[{key:"abort",value:function(L){this.uploader.abort(L)}},{key:"render",value:function(){return ve.a.createElement(Ue,Te({},this.props,{ref:this.saveUploader}))}}]),D}(oe.Component);le.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Y,onError:Y,onSuccess:Y,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var M=le,b=re.a=M},Gytx:function(ht,re){ht.exports=function(oe,ve,We,ke){var H=We?We.call(ke,oe,ve):void 0;if(H!==void 0)return!!H;if(oe===ve)return!0;if(typeof oe!="object"||!oe||typeof ve!="object"||!ve)return!1;var ue=Object.keys(oe),pe=Object.keys(ve);if(ue.length!==pe.length)return!1;for(var F=Object.prototype.hasOwnProperty.bind(ve),f=0;f<ue.length;f++){var V=ue[f];if(!F(V))return!1;var z=oe[V],j=ve[V];if(H=We?We.call(ke,z,j,V):void 0,H===!1||H===void 0&&z!==j)return!1}return!0}},I8Z2:function(ht,re,O){"use strict";O.d(re,"a",function(){return ke}),O.d(re,"b",function(){return A}),O.d(re,"c",function(){return S});var oe=O("q1tI"),ve=function(){var I=function(k,Z){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(P,N){P.__proto__=N}||function(P,N){for(var ie in N)N.hasOwnProperty(ie)&&(P[ie]=N[ie])},I(k,Z)};return function(k,Z){I(k,Z);function P(){this.constructor=k}k.prototype=Z===null?Object.create(Z):(P.prototype=Z.prototype,new P)}}(),We=oe.createContext(null),ke=function(I){ve(k,I);function k(){return I!==null&&I.apply(this,arguments)||this}return k.prototype.render=function(){return oe.createElement(We.Provider,{value:this.props.store},this.props.children)},k}(oe.Component),H=O("Gytx"),ue=O.n(H),pe=O("2mql"),F=O.n(pe),f=function(){var I=function(k,Z){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(P,N){P.__proto__=N}||function(P,N){for(var ie in N)N.hasOwnProperty(ie)&&(P[ie]=N[ie])},I(k,Z)};return function(k,Z){I(k,Z);function P(){this.constructor=k}k.prototype=Z===null?Object.create(Z):(P.prototype=Z.prototype,new P)}}(),V=function(){return V=Object.assign||function(I){for(var k,Z=1,P=arguments.length;Z<P;Z++){k=arguments[Z];for(var N in k)Object.prototype.hasOwnProperty.call(k,N)&&(I[N]=k[N])}return I},V.apply(this,arguments)};function z(I){return I.displayName||I.name||"Component"}var j=function(){return{}};function A(I,k){k===void 0&&(k={});var Z=!!I,P=I||j;return function(ie){var me=function(te){f(xe,te);function xe(Ue,Te){var ye=te.call(this,Ue,Te)||this;return ye.unsubscribe=null,ye.handleChange=function(){if(!ye.unsubscribe)return;var fe=P(ye.store.getState(),ye.props);ye.setState({subscribed:fe})},ye.store=ye.context,ye.state={subscribed:P(ye.store.getState(),Ue),store:ye.store,props:Ue},ye}return xe.getDerivedStateFromProps=function(Ue,Te){return I&&I.length===2&&Ue!==Te.props?{subscribed:P(Te.store.getState(),Ue),props:Ue}:{props:Ue}},xe.prototype.componentDidMount=function(){this.trySubscribe()},xe.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},xe.prototype.shouldComponentUpdate=function(Ue,Te){return!ue()(this.props,Ue)||!ue()(this.state.subscribed,Te.subscribed)},xe.prototype.trySubscribe=function(){Z&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},xe.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},xe.prototype.render=function(){var Ue=V(V(V({},this.props),this.state.subscribed),{store:this.store});return oe.createElement(ie,V({},Ue,{ref:this.props.miniStoreForwardedRef}))},xe.displayName="Connect("+z(ie)+")",xe.contextType=We,xe}(oe.Component);if(k.forwardRef){var Se=oe.forwardRef(function(te,xe){return oe.createElement(me,V({},te,{miniStoreForwardedRef:xe}))});return F()(Se,ie)}return F()(me,ie)}}var w=function(){return w=Object.assign||function(I){for(var k,Z=1,P=arguments.length;Z<P;Z++){k=arguments[Z];for(var N in k)Object.prototype.hasOwnProperty.call(k,N)&&(I[N]=k[N])}return I},w.apply(this,arguments)};function S(I){var k=I,Z=[];function P(me){k=w(w({},k),me);for(var Se=0;Se<Z.length;Se++)Z[Se]()}function N(){return k}function ie(me){return Z.push(me),function(){var te=Z.indexOf(me);Z.splice(te,1)}}return{setState:P,getState:N,subscribe:ie}}},Iovw:function(ht,re){ht.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAABDNJREFUaEPtmXtsU1Ucx7+37bq1rGu7Rxndypjr6CozhkV8hKAs6AwJ8ZEAMkMQHxlEosPgI4qvf1hEo4n/EFEhOkXDNhSJkYfRkQyZJgQxwKJbtznLykbtXLvbduvjHnOuNlD3uC3cS69w75+9v/s738/5fs/JvacMIUSNa+hiFCCZu6k4JHODcP05dBRg6ttcW+KENBCCG8R0aFuN5ecGu3GRmD0FHSpucz0f50iTmIMmerXXzYUnFDtdZ521UKz+gkCWlh4XAeaJNeClfShQtSkbX7nZjvttubVijCEIVNTSExNjoKl6JIDovb2/j+1/aJ5h5ZWOJRsgAKS5179rXYVx45VAyQkIcQLyca9/+2N248uXCyUrIAoxwRHyUR/77Aa74d3LgZIdEIVgoxzZ3Rt49Okq06fpQskSiEL4JuJcc3/ggWeqzN+kA5VRoP1LS7DYop9W7/lwLNbcN1b7wgJzZ6pQGQV6ymHCqzcXzai1j41G9vwxUfPKjbm/pgKVUSC9Cti3tBS3FOpm1Nrlj4RazgWdry8wDwpBZRSIistmgA12IxYV6mDQTv/xfMI7fqGxOt8qe6CEQBKNg8TJjHp965ya/w2QkFB637u6UgGaNFFSvpym4sqlNYpDU82Y4lC6OUqjXomcErk04iJGqRI5JXJi5CiNHpJGrqHShPryPBACeMJRdHrD+KDHjwh38QXTkqPG1psK+LM3WnfcG8b2sz4EYxdrSvUavFhdAKcxG3FC0D4UwltdPkS5yaSSAjUvnoP3ukd5kVadhoermzMLK9rdvBhjlgrf3mPDttM+HHCzUDPAE5UmPGgzYPn3blDuEr0GX9eWYuspLw4OBpGlYrDZacZgKIY9/YFJRFcNKDFy08IiDLBR7OwZxUvVBfzPTWd8ScLev70YBwdZfOlmsePW2Tg5Mo4PXf6UgnfVgZZYdFhfYcTjnUPYd1cJ3ukawQ/ecJLYh8vz4MjT4rVf/sSPy8tQ3+FBPxuVJ9CyYj1WlRmw8adhfL7Eip3dozg6HEoS+0iFEXTd0Ch23DuXh+8OROQJtOuOYnw3FMJn/QE0Vpl54c+d9CaJbb3Tyq89WvdmTRFGIhze+E8sp6OTPHJHPEGc+mscVl0W1pQboFUxWHvsPK8nR83g0DIbv17aBsb4Bd8w34R8rRrrj/9TY9aqcPhuG1oHxvDFvzWbnfk44QtPua4kBbqvNBcrywygG7AnFOO37QPn2KTJ1akZbHKYcVthDj3i5bfk3S4//0ziytWosMlh4g9JxuMcDnuC+KRv8g5H6yUFSin0IhcpQNfFu5ylxfUbAakQOT1pt2PA9F5YbXcIPSh4cjq71dXIEfK2UCOp76sYZsvwKrvgf0aCQFQohSIET2bCKeoMw2BHKjBUa0pAUs++mP0VIDFnU4peikNSzKqYPa85h/4GTP+NU24sRsEAAAAASUVORK5CYII="},JAbv:function(ht,re){ht.exports="data:image/png;base64,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"},JYp7:function(ht,re,O){"use strict";O.d(re,"a",function(){return oe});var oe;(function(ve){function We(N){return N&&typeof N=="object"&&typeof N[Symbol.iterator]=="function"}ve.is=We;const ke=Object.freeze([]);function H(){return ke}ve.empty=H;function*ue(N){yield N}ve.single=ue;function pe(N){return N||ke}ve.from=pe;function F(N){return!N||N[Symbol.iterator]().next().done===!0}ve.isEmpty=F;function f(N){return N[Symbol.iterator]().next().value}ve.first=f;function V(N,ie){for(const me of N)if(ie(me))return!0;return!1}ve.some=V;function z(N,ie){for(const me of N)if(ie(me))return me;return}ve.find=z;function*j(N,ie){for(const me of N)ie(me)&&(yield me)}ve.filter=j;function*A(N,ie){let me=0;for(const Se of N)yield ie(Se,me++)}ve.map=A;function*w(...N){for(const ie of N)for(const me of ie)yield me}ve.concat=w;function*S(N){for(const ie of N)for(const me of ie)yield me}ve.concatNested=S;function I(N,ie,me){let Se=me;for(const te of N)Se=ie(Se,te);return Se}ve.reduce=I;function*k(N,ie,me=N.length){for(ie<0&&(ie+=N.length),me<0?me+=N.length:me>N.length&&(me=N.length);ie<me;ie++)yield N[ie]}ve.slice=k;function Z(N,ie=Number.POSITIVE_INFINITY){const me=[];if(ie===0)return[me,N];const Se=N[Symbol.iterator]();for(let te=0;te<ie;te++){const xe=Se.next();if(xe.done)return[me,ve.empty()];me.push(xe.value)}return[me,{[Symbol.iterator](){return Se}}]}ve.consume=Z;function P(N,ie,me=(Se,te)=>Se===te){const Se=N[Symbol.iterator](),te=ie[Symbol.iterator]();for(;;){const xe=Se.next(),Ue=te.next();if(xe.done!==Ue.done)return!1;if(xe.done)return!0;if(!me(xe.value,Ue.value))return!1}}ve.equals=P})(oe||(oe={}))},KOXS:function(ht,re,O){ht.exports={flex_box_center:"flex_box_center___4BHX-",flex_space_between:"flex_space_between___fH2oM",flex_box_vertical_center:"flex_box_vertical_center___TgSS9",flex_box_center_end:"flex_box_center_end___1vKaD",flex_box_column:"flex_box_column___1kCgI",input:"input___2mV-b",dropdown:"dropdown___1QKW2",menu:"menu___37CBn",text:"text___159fF",b1:"b1___2uGyF",b2:"b2___2DXw1"}},LdHM:function(ht,re,O){"use strict";O.d(re,"b",function(){return N}),O.d(re,"a",function(){return me});var oe=O("1OyB"),ve=O("vuIU"),We=O("Ji7U"),ke=O("LK+K"),H=O("q1tI"),ue=O("rePB"),pe=O("Ff2n"),F=O("ODXe"),f=O("4IlW"),V=O("bX4T"),z=O("YrtM"),j=O("TSYQ"),A=O.n(j),w=O("+nKL"),S=O("8OUc"),I=function(L,G){var ce=L.prefixCls,Ce=L.id,Ge=L.flattenOptions,be=L.childrenAsData,Be=L.values,Qe=L.searchValue,qe=L.multiple,Ie=L.defaultActiveFirstOption,Rt=L.height,K=L.itemHeight,se=L.notFoundContent,$=L.open,je=L.menuItemSelectedIcon,tt=L.virtual,ct=L.onSelect,Lt=L.onToggleOpen,Zt=L.onActiveValue,ee=L.onScroll,Ae=L.onMouseEnter,ze="".concat(ce,"-item"),Ye=Object(z.a)(function(){return Ge},[$,Ge],function(vn,In){return In[0]&&vn[1]!==In[1]}),Mt=H.useRef(null),hn=function(In){In.preventDefault()},Mn=function(In){Mt.current&&Mt.current.scrollTo({index:In})},Dn=function(In){for(var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,fr=Ye.length,jn=0;jn<fr;jn+=1){var zn=(In+jn*qt+fr)%fr,Ur=Ye[zn],mr=Ur.group,xr=Ur.data;if(!mr&&!xr.disabled)return zn}return-1},sn=H.useState(function(){return Dn(0)}),Ir=Object(F.a)(sn,2),Pr=Ir[0],Jr=Ir[1],Ln=function(In){Jr(In);var qt=Ye[In];if(!qt){Zt(null,-1);return}Zt(qt.data.value,In)};H.useEffect(function(){Ln(Ie!==!1?Dn(0):-1)},[Ye.length,Qe]),H.useEffect(function(){var vn=setTimeout(function(){if(!qe&&$&&Be.size===1){var In=Array.from(Be)[0],qt=Ye.findIndex(function(fr){var jn=fr.data;return jn.value===In});Ln(qt),Mn(qt)}});return function(){return clearTimeout(vn)}},[$]);var Er=function(In){In!==void 0&&ct(In,{selected:!Be.has(In)}),qe||Lt(!1)};if(H.useImperativeHandle(G,function(){return{onKeyDown:function(In){var qt=In.which;switch(qt){case f.a.UP:case f.a.DOWN:{var fr=0;if(qt===f.a.UP?fr=-1:qt===f.a.DOWN&&(fr=1),fr!==0){var jn=Dn(Pr+fr,fr);Mn(jn),Ln(jn)}break}case f.a.ENTER:{var zn=Ye[Pr];zn&&!zn.data.disabled?Er(zn.data.value):Er(void 0),$&&In.preventDefault();break}case f.a.ESC:Lt(!1)}},onKeyUp:function(){},scrollTo:function(In){Mn(In)}}}),Ye.length===0)return H.createElement("div",{role:"listbox",id:"".concat(Ce,"_list"),className:"".concat(ze,"-empty"),onMouseDown:hn},se);function gn(vn){var In=Ye[vn];if(!In)return null;var qt=In.data||{},fr=qt.value,jn=qt.label,zn=qt.children,Ur=Object(V.a)(qt,!0),mr=be?zn:jn;return In?H.createElement("div",Object.assign({"aria-label":typeof mr=="string"?mr:null},Ur,{key:vn,role:"option",id:"".concat(Ce,"_list_").concat(vn),"aria-selected":Be.has(fr)}),fr):null}return H.createElement(H.Fragment,null,H.createElement("div",{role:"listbox",id:"".concat(Ce,"_list"),style:{height:0,width:0,overflow:"hidden"}},gn(Pr-1),gn(Pr),gn(Pr+1)),H.createElement(w.a,{itemKey:"key",ref:Mt,data:Ye,height:Rt,itemHeight:K,fullHeight:!1,onMouseDown:hn,onScroll:ee,virtual:tt,onMouseEnter:Ae},function(vn,In){var qt,fr=vn.group,jn=vn.groupOption,zn=vn.data,Ur=zn.label,mr=zn.key;if(fr)return H.createElement("div",{className:A()(ze,"".concat(ze,"-group"))},Ur!==void 0?Ur:mr);var xr=zn.disabled,Bi=zn.value,ko=zn.title,xo=zn.children,Lr=zn.style,go=zn.className,tn=Object(pe.a)(zn,["disabled","value","title","children","style","className"]),at=Be.has(Bi),Tt="".concat(ze,"-option"),Ve=A()(ze,Tt,go,(qt={},Object(ue.a)(qt,"".concat(Tt,"-grouped"),jn),Object(ue.a)(qt,"".concat(Tt,"-active"),Pr===In&&!xr),Object(ue.a)(qt,"".concat(Tt,"-disabled"),xr),Object(ue.a)(qt,"".concat(Tt,"-selected"),at),qt)),Q=be?xo:Ur,he=!je||typeof je=="function"||at;return H.createElement("div",Object.assign({},tn,{"aria-selected":at,className:Ve,title:ko,onMouseMove:function(){if(Pr===In||xr)return;Ln(In)},onClick:function(){xr||Er(Bi)},style:Lr}),H.createElement("div",{className:"".concat(Tt,"-content")},Q||Bi),H.isValidElement(je)||at,he&&H.createElement(S.a,{className:"".concat(ze,"-option-state"),customizeIcon:je,customizeIconProps:{isSelected:at}},at?"\u2713":null))}))},k=H.forwardRef(I);k.displayName="OptionList";var Z=k,P=function(){return null};P.isSelectOption=!0;var N=P,ie=function(){return null};ie.isSelectOptGroup=!0;var me=ie,Se=O("VTBJ"),te=O("Zm9Q");function xe(v){var L=v.key,G=v.props,ce=G.children,Ce=G.value,Ge=Object(pe.a)(G,["children","value"]);return Object(Se.a)({key:L,value:Ce!==void 0?Ce:L,children:ce},Ge)}function Ue(v){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(te.a)(v).map(function(G,ce){if(!H.isValidElement(G)||!G.type)return null;var Ce=G.type.isSelectOptGroup,Ge=G.key,be=G.props,Be=be.children,Qe=Object(pe.a)(be,["children"]);return L||!Ce?xe(G):Object(Se.a)(Object(Se.a)({key:"__RC_SELECT_GRP__".concat(Ge===null?ce:Ge,"__"),label:Ge},Qe),{},{options:Ue(Be)})}).filter(function(G){return G})}var Te=O("2Qr1"),ye=O("qNPg"),fe=O("U8pU"),J=O("Kwbf"),B=O("WKfj");function Y(v){var L=v.mode,G=v.options,ce=v.children,Ce=v.backfill,Ge=v.allowClear,be=v.placeholder,Be=v.getInputElement,Qe=v.showSearch,qe=v.onSearch,Ie=v.defaultOpen,Rt=v.autoFocus,K=v.labelInValue,se=v.value,$=v.inputValue,je=v.optionLabelProp,tt=L==="multiple"||L==="tags",ct=Qe!==void 0?Qe:tt||L==="combobox",Lt=G||Ue(ce);if(Object(J.a)(L!=="tags"||Lt.every(function(ze){return!ze.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),L==="tags"||L==="combobox"){var Zt=Lt.some(function(ze){return ze.options?ze.options.some(function(Ye){return typeof("value"in Ye?Ye.value:Ye.key)=="number"}):typeof("value"in ze?ze.value:ze.key)=="number"});Object(J.a)(!Zt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(J.a)(L!=="combobox"||!je,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(J.a)(L==="combobox"||!Ce,"`backfill` only works with `combobox` mode."),Object(J.a)(L==="combobox"||!Be,"`getInputElement` only work with `combobox` mode."),Object(J.b)(L!=="combobox"||!Be||!Ge||!be,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),qe&&!ct&&L!=="combobox"&&L!=="tags"&&Object(J.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(J.b)(!Ie||Rt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),se!=null){var ee=Object(B.d)(se);Object(J.a)(!K||ee.every(function(ze){return Object(fe.a)(ze)==="object"&&("key"in ze||"value"in ze)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(J.a)(!tt||Array.isArray(se),"`value` should be array when `mode` is `multiple` or `tags`")}if(ce){var Ae=null;Object(te.a)(ce).some(function(ze){if(!H.isValidElement(ze)||!ze.type)return!1;var Ye=ze.type;if(Ye.isSelectOption)return!1;if(Ye.isSelectOptGroup){var Mt=Object(te.a)(ze.props.children).every(function(hn){return!H.isValidElement(hn)||!ze.type||hn.type.isSelectOption?!0:(Ae=hn.type,!1)});return!Mt}return Ae=Ye,!0}),Ae&&Object(J.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ae.displayName||Ae.name||Ae,"`.")),Object(J.a)($===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var le=Y,M=Object(ye.a)({prefixCls:"rc-select",components:{optionList:Z},convertChildrenToData:Ue,flattenOptions:Te.d,getLabeledValue:Te.e,filterOptions:Te.b,isValueDisabled:Te.g,findValueOption:Te.c,warningProps:le,fillOptionsWithMissingValue:Te.a}),b=function(v){Object(We.a)(G,v);var L=Object(ke.a)(G);function G(){var ce;return Object(oe.a)(this,G),ce=L.apply(this,arguments),ce.selectRef=H.createRef(),ce.focus=function(){ce.selectRef.current.focus()},ce.blur=function(){ce.selectRef.current.blur()},ce}return Object(ve.a)(G,[{key:"render",value:function(){return H.createElement(M,Object.assign({ref:this.selectRef},this.props))}}]),G}(H.Component);b.Option=N,b.OptGroup=me;var C=b,D=re.c=C},MEgm:function(ht,re){ht.exports="data:image/png;base64,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"},MI8n:function(ht,re,O){"use strict";O.d(re,"c",function(){return H}),O.d(re,"b",function(){return f}),O.d(re,"e",function(){return V}),O.d(re,"a",function(){return z}),O.d(re,"d",function(){return j}),O.d(re,"f",function(){return A});var oe=O("/cxE"),ve=O("pmY6"),We=O("24hK"),ke=O("5Y4S"),H;(function(w){w.None=()=>ve.a.None;function S(Y){return(le,M=null,b)=>{let C=!1,D;return D=Y(v=>C?void 0:(D?D.dispose():C=!0,le.call(M,v)),null,b),C&&D.dispose(),D}}w.once=S;function I(Y,le){return me((M,b=null,C)=>Y(D=>M.call(b,le(D)),null,C))}w.map=I;function k(Y,le){return me((M,b=null,C)=>Y(D=>{le(D),M.call(b,D)},null,C))}w.forEach=k;function Z(Y,le){return me((M,b=null,C)=>Y(D=>le(D)&&M.call(b,D),null,C))}w.filter=Z;function P(Y){return Y}w.signal=P;function N(...Y){return(le,M=null,b)=>Object(ve.e)(...Y.map(C=>C(D=>le.call(M,D),null,b)))}w.any=N;function ie(Y,le,M){let b=M;return I(Y,C=>(b=le(b,C),b))}w.reduce=ie;function me(Y){let le;const M=new f({onFirstListenerAdd(){le=Y(M.fire,M)},onLastListenerRemove(){le.dispose()}});return M.event}function Se(Y,le,M=100,b=!1,C){let D,v,L,G=0;const ce=new f({leakWarningThreshold:C,onFirstListenerAdd(){D=Y(Ce=>{G++,v=le(v,Ce),b&&!L&&(ce.fire(v),v=void 0),clearTimeout(L),L=setTimeout(()=>{const Ge=v;v=void 0,L=void 0,(!b||G>1)&&ce.fire(Ge),G=0},M)})},onLastListenerRemove(){D.dispose()}});return ce.event}w.debounce=Se;function te(Y,le=(M,b)=>M===b){let M=!0,b;return Z(Y,C=>{const D=M||!le(C,b);return M=!1,b=C,D})}w.latch=te;function xe(Y,le){return[w.filter(Y,le),w.filter(Y,M=>!le(M))]}w.split=xe;function Ue(Y,le=!1,M=[]){let b=M.slice(),C=Y(L=>{b?b.push(L):v.fire(L)});const D=()=>{b&&b.forEach(L=>v.fire(L)),b=null},v=new f({onFirstListenerAdd(){C||(C=Y(L=>v.fire(L)))},onFirstListenerDidAdd(){b&&(le?setTimeout(D):D())},onLastListenerRemove(){C&&C.dispose(),C=null}});return v.event}w.buffer=Ue;class Te{constructor(Y){this.event=Y}map(Y){return new Te(I(this.event,Y))}forEach(Y){return new Te(k(this.event,Y))}filter(Y){return new Te(Z(this.event,Y))}reduce(Y,le){return new Te(ie(this.event,Y,le))}latch(){return new Te(te(this.event))}debounce(Y,le=100,M=!1,b){return new Te(Se(this.event,Y,le,M,b))}on(Y,le,M){return this.event(Y,le,M)}once(Y,le,M){return S(this.event)(Y,le,M)}}function ye(Y){return new Te(Y)}w.chain=ye;function fe(Y,le,M=b=>b){const b=(...L)=>v.fire(M(...L)),C=()=>Y.on(le,b),D=()=>Y.removeListener(le,b),v=new f({onFirstListenerAdd:C,onLastListenerRemove:D});return v.event}w.fromNodeEventEmitter=fe;function J(Y,le,M=b=>b){const b=(...L)=>v.fire(M(...L)),C=()=>Y.addEventListener(le,b),D=()=>Y.removeEventListener(le,b),v=new f({onFirstListenerAdd:C,onLastListenerRemove:D});return v.event}w.fromDOMEventEmitter=J;function B(Y){return new Promise(le=>S(Y)(le))}w.toPromise=B})(H||(H={}));class ue{constructor(w){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${w}_${ue._idPool++}`}start(w){this._stopWatch=new ke.a(!0),this._listenerCount=w}stop(){if(this._stopWatch){const w=this._stopWatch.elapsed();this._elapsedOverall+=w,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${w.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}ue._idPool=0;let pe=-1;class F{constructor(w,S=Math.random().toString(18).slice(2,5)){this.customThreshold=w,this.name=S,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(w){let S=pe;if(typeof this.customThreshold=="number"&&(S=this.customThreshold),S<=0||w<S)return;this._stacks||(this._stacks=new Map);const I=new Error().stack.split(`
`).slice(3).join(`
`),k=this._stacks.get(I)||0;if(this._stacks.set(I,k+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=S*.5;let Z,P=0;for(const[N,ie]of this._stacks)(!Z||P<ie)&&(Z=N,P=ie);console.warn(`[${this.name}] potential listener LEAK detected, having ${w} listeners already. MOST frequent listener (${P}):`),console.warn(Z)}return()=>{const Z=this._stacks.get(I)||0;this._stacks.set(I,Z-1)}}}class f{constructor(w){var S;this._disposed=!1,this._options=w,this._leakageMon=pe>0?new F(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=((S=this._options)===null||S===void 0?void 0:S._profName)?new ue(this._options._profName):void 0}get event(){return this._event||(this._event=(w,S,I)=>{var k;this._listeners||(this._listeners=new We.a);const Z=this._listeners.isEmpty();Z&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const P=this._listeners.push(S?[w,S]:w);Z&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,w,S);const N=(k=this._leakageMon)===null||k===void 0?void 0:k.check(this._listeners.size),ie=Object(ve.i)(()=>{if(N&&N(),!this._disposed&&(P(),this._options&&this._options.onLastListenerRemove)){const me=this._listeners&&!this._listeners.isEmpty();me||this._options.onLastListenerRemove(this)}});return I instanceof ve.b?I.add(ie):Array.isArray(I)&&I.push(ie),ie}),this._event}fire(w){var S,I;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new We.a);for(let k of this._listeners)this._deliveryQueue.push([k,w]);for((S=this._perfMon)===null||S===void 0||S.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[k,Z]=this._deliveryQueue.shift();try{typeof k=="function"?k.call(void 0,Z):k[0].call(k[1],Z)}catch(P){Object(oe.f)(P)}}(I=this._perfMon)===null||I===void 0||I.stop()}}dispose(){var w,S,I,k,Z;this._disposed||(this._disposed=!0,(w=this._listeners)===null||w===void 0||w.clear(),(S=this._deliveryQueue)===null||S===void 0||S.clear(),(k=(I=this._options)===null||I===void 0?void 0:I.onLastListenerRemove)===null||k===void 0||k.call(I),(Z=this._leakageMon)===null||Z===void 0||Z.dispose())}}class V extends f{constructor(w){super(w);this._isPaused=0,this._eventQueue=new We.a,this._mergeFn=w==null?void 0:w.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const w=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(w))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(w){this._listeners&&(this._isPaused!==0?this._eventQueue.push(w):super.fire(w))}}class z extends V{constructor(w){var S;super(w);this._delay=(S=w.delay)!==null&&S!==void 0?S:100}fire(w){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(w)}}class j{constructor(){this.buffers=[]}wrapEvent(w){return(S,I,k)=>w(Z=>{const P=this.buffers[this.buffers.length-1];P?P.push(()=>S.call(I,Z)):S.call(I,Z)},void 0,k)}bufferEvents(w){const S=[];this.buffers.push(S);const I=w();return this.buffers.pop(),S.forEach(k=>k()),I}}class A{constructor(){this.listening=!1,this.inputEvent=H.None,this.inputEventListener=ve.a.None,this.emitter=new f({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(w){this.inputEvent=w,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=w(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},MNsG:function(ht,re,O){"use strict";(function(oe,ve){O.d(re,"b",function(){return I}),O.d(re,"i",function(){return N}),O.d(re,"f",function(){return ie}),O.d(re,"d",function(){return me}),O.d(re,"g",function(){return Se}),O.d(re,"h",function(){return te}),O.d(re,"c",function(){return xe}),O.d(re,"k",function(){return Ue}),O.d(re,"j",function(){return Te}),O.d(re,"a",function(){return ye}),O.d(re,"e",function(){return B});var We;const ke="en";let H=!1,ue=!1,pe=!1,F=!1,f=!1,V=!1,z=!1,j,A=ke,w,S;const I=typeof self=="object"?self:typeof oe=="object"?oe:{};let k;typeof I.vscode!="undefined"&&typeof I.vscode.process!="undefined"?k=I.vscode.process:typeof ve!="undefined"&&(k=ve);const Z=typeof((We=k==null?void 0:k.versions)===null||We===void 0?void 0:We.electron)=="string"&&k.type==="renderer";if(typeof navigator=="object"&&!Z)S=navigator.userAgent,H=S.indexOf("Windows")>=0,ue=S.indexOf("Macintosh")>=0,z=(S.indexOf("Macintosh")>=0||S.indexOf("iPad")>=0||S.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,pe=S.indexOf("Linux")>=0,V=!0,j=navigator.language,A=j;else if(typeof k=="object"){H=k.platform==="win32",ue=k.platform==="darwin",pe=k.platform==="linux",F=pe&&!!k.env.SNAP&&!!k.env.SNAP_REVISION,j=ke,A=ke;const Y=k.env.VSCODE_NLS_CONFIG;if(Y)try{const le=JSON.parse(Y),M=le.availableLanguages["*"];j=le.locale,A=M||ke,w=le._translationsConfigFile}catch(le){}f=!0}else console.error("Unable to resolve platform.");let P=0;ue?P=1:H?P=3:pe&&(P=2);const N=H,ie=ue,me=pe,Se=f,te=V,xe=z,Ue=S,Te=function(){if(I.setImmediate)return I.setImmediate.bind(I);if(typeof I.postMessage=="function"&&!I.importScripts){let M=[];I.addEventListener("message",C=>{if(C.data&&C.data.vscodeSetImmediateId)for(let D=0,v=M.length;D<v;D++){const L=M[D];if(L.id===C.data.vscodeSetImmediateId){M.splice(D,1),L.callback();return}}});let b=0;return C=>{const D=++b;M.push({id:D,callback:C}),I.postMessage({vscodeSetImmediateId:D},"*")}}if(typeof(k==null?void 0:k.nextTick)=="function")return k.nextTick.bind(k);const le=Promise.resolve();return M=>le.then(M)}(),ye=ue||z?2:H?1:3;let fe=!0,J=!1;function B(){if(!J){J=!0;const Y=new Uint8Array(2);Y[0]=1,Y[1]=2;const le=new Uint16Array(Y.buffer);fe=le[0]===(2<<8)+1}return fe}}).call(this,O("IyRk"),O("Q2Ig"))},N0LK:function(ht,re,O){"use strict";O.d(re,"C",function(){return oe}),O.d(re,"v",function(){return We}),O.d(re,"s",function(){return ke}),O.d(re,"t",function(){return H}),O.d(re,"U",function(){return ue}),O.d(re,"J",function(){return pe}),O.d(re,"O",function(){return F}),O.d(re,"p",function(){return f}),O.d(re,"T",function(){return V}),O.d(re,"q",function(){return z}),O.d(re,"N",function(){return j}),O.d(re,"M",function(){return A}),O.d(re,"Q",function(){return w}),O.d(re,"u",function(){return S}),O.d(re,"x",function(){return I}),O.d(re,"I",function(){return k}),O.d(re,"f",function(){return Z}),O.d(re,"h",function(){return P}),O.d(re,"g",function(){return N}),O.d(re,"i",function(){return ie}),O.d(re,"G",function(){return me}),O.d(re,"H",function(){return Se}),O.d(re,"r",function(){return te}),O.d(re,"R",function(){return xe}),O.d(re,"d",function(){return Ue}),O.d(re,"e",function(){return Te}),O.d(re,"E",function(){return ye}),O.d(re,"F",function(){return fe}),O.d(re,"j",function(){return J}),O.d(re,"z",function(){return B}),O.d(re,"K",function(){return le}),O.d(re,"L",function(){return M}),O.d(re,"m",function(){return C}),O.d(re,"k",function(){return v}),O.d(re,"A",function(){return G}),O.d(re,"a",function(){return ce}),O.d(re,"n",function(){return Ce}),O.d(re,"l",function(){return Ge}),O.d(re,"D",function(){return be}),O.d(re,"B",function(){return Be}),O.d(re,"b",function(){return Qe}),O.d(re,"S",function(){return qe}),O.d(re,"o",function(){return Ie}),O.d(re,"P",function(){return Rt}),O.d(re,"w",function(){return K}),O.d(re,"c",function(){return se}),O.d(re,"y",function(){return tt});function oe(ee){return!ee||typeof ee!="string"?!0:ee.trim().length===0}const ve=/{(\d+)}/g;function We(ee,...Ae){return Ae.length===0?ee:ee.replace(ve,function(ze,Ye){const Mt=parseInt(Ye,10);return isNaN(Mt)||Mt<0||Mt>=Ae.length?ze:Ae[Mt]})}function ke(ee){return ee.replace(/[<>&]/g,function(Ae){switch(Ae){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return Ae}})}function H(ee){return ee.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function ue(ee,Ae=" "){const ze=pe(ee,Ae);return F(ze,Ae)}function pe(ee,Ae){if(!ee||!Ae)return ee;const ze=Ae.length;if(ze===0||ee.length===0)return ee;let Ye=0;for(;ee.indexOf(Ae,Ye)===Ye;)Ye=Ye+ze;return ee.substring(Ye)}function F(ee,Ae){if(!ee||!Ae)return ee;const ze=Ae.length,Ye=ee.length;if(ze===0||Ye===0)return ee;let Mt=Ye,hn=-1;for(;!(hn=ee.lastIndexOf(Ae,Mt-1),hn===-1||hn+ze!==Mt);){if(hn===0)return"";Mt=hn}return ee.substring(0,Mt)}function f(ee){return ee.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function V(ee){return ee.replace(/\*/g,"")}function z(ee,Ae,ze={}){if(!ee)throw new Error("Cannot create regex from empty string");Ae||(ee=H(ee)),ze.wholeWord&&(/\B/.test(ee.charAt(0))||(ee="\\b"+ee),/\B/.test(ee.charAt(ee.length-1))||(ee=ee+"\\b"));let Ye="";return ze.global&&(Ye+="g"),ze.matchCase||(Ye+="i"),ze.multiline&&(Ye+="m"),ze.unicode&&(Ye+="u"),new RegExp(ee,Ye)}function j(ee){if(ee.source==="^"||ee.source==="^$"||ee.source==="$"||ee.source==="^\\s*$")return!1;const Ae=ee.exec("");return!!(Ae&&ee.lastIndex===0)}function A(ee){return(ee.global?"g":"")+(ee.ignoreCase?"i":"")+(ee.multiline?"m":"")+(ee.unicode?"u":"")}function w(ee){return ee.split(/\r\n|\r|\n/)}function S(ee){for(let Ae=0,ze=ee.length;Ae<ze;Ae++){const Ye=ee.charCodeAt(Ae);if(Ye!==32&&Ye!==9)return Ae}return-1}function I(ee,Ae=0,ze=ee.length){for(let Ye=Ae;Ye<ze;Ye++){const Mt=ee.charCodeAt(Ye);if(Mt!==32&&Mt!==9)return ee.substring(Ae,Ye)}return ee.substring(Ae,ze)}function k(ee,Ae=ee.length-1){for(let ze=Ae;ze>=0;ze--){const Ye=ee.charCodeAt(ze);if(Ye!==32&&Ye!==9)return ze}return-1}function Z(ee,Ae){return ee<Ae?-1:ee>Ae?1:0}function P(ee,Ae,ze=0,Ye=ee.length,Mt=0,hn=Ae.length){for(;ze<Ye&&Mt<hn;ze++,Mt++){let sn=ee.charCodeAt(ze),Ir=Ae.charCodeAt(Mt);if(sn<Ir)return-1;if(sn>Ir)return 1}const Mn=Ye-ze,Dn=hn-Mt;return Mn<Dn?-1:Mn>Dn?1:0}function N(ee,Ae){return ie(ee,Ae,0,ee.length,0,Ae.length)}function ie(ee,Ae,ze=0,Ye=ee.length,Mt=0,hn=Ae.length){for(;ze<Ye&&Mt<hn;ze++,Mt++){let sn=ee.charCodeAt(ze),Ir=Ae.charCodeAt(Mt);if(sn===Ir)continue;if(sn>=128||Ir>=128)return P(ee.toLowerCase(),Ae.toLowerCase(),ze,Ye,Mt,hn);me(sn)&&(sn-=32),me(Ir)&&(Ir-=32);const Pr=sn-Ir;if(Pr===0)continue;return Pr}const Mn=Ye-ze,Dn=hn-Mt;return Mn<Dn?-1:Mn>Dn?1:0}function me(ee){return ee>=97&&ee<=122}function Se(ee){return ee>=65&&ee<=90}function te(ee,Ae){return ee.length===Ae.length&&ie(ee,Ae)===0}function xe(ee,Ae){const ze=Ae.length;return Ae.length>ee.length?!1:ie(ee,Ae,0,ze)===0}function Ue(ee,Ae){let ze,Ye=Math.min(ee.length,Ae.length);for(ze=0;ze<Ye;ze++)if(ee.charCodeAt(ze)!==Ae.charCodeAt(ze))return ze;return Ye}function Te(ee,Ae){let ze,Ye=Math.min(ee.length,Ae.length);const Mt=ee.length-1,hn=Ae.length-1;for(ze=0;ze<Ye;ze++)if(ee.charCodeAt(Mt-ze)!==Ae.charCodeAt(hn-ze))return ze;return Ye}function ye(ee){return 55296<=ee&&ee<=56319}function fe(ee){return 56320<=ee&&ee<=57343}function J(ee,Ae){return(ee-55296<<10)+(Ae-56320)+65536}function B(ee,Ae,ze){const Ye=ee.charCodeAt(ze);if(ye(Ye)&&ze+1<Ae){const Mt=ee.charCodeAt(ze+1);if(fe(Mt))return J(Ye,Mt)}return Ye}function Y(ee,Ae){const ze=ee.charCodeAt(Ae-1);if(fe(ze)&&Ae>1){const Ye=ee.charCodeAt(Ae-2);if(ye(Ye))return J(Ye,ze)}return ze}function le(ee,Ae){const ze=$.getInstance(),Ye=Ae,Mt=ee.length,hn=B(ee,Mt,Ae);Ae+=hn>=65536?2:1;let Mn=ze.getGraphemeBreakType(hn);for(;Ae<Mt;){const Dn=B(ee,Mt,Ae),sn=ze.getGraphemeBreakType(Dn);if(se(Mn,sn))break;Ae+=Dn>=65536?2:1,Mn=sn}return Ae-Ye}function M(ee,Ae){const ze=$.getInstance(),Ye=Ae,Mt=Y(ee,Ae);Ae-=Mt>=65536?2:1;let hn=ze.getGraphemeBreakType(Mt);for(;Ae>0;){const Mn=Y(ee,Ae),Dn=ze.getGraphemeBreakType(Mn);if(se(Dn,hn))break;Ae-=Mn>=65536?2:1,hn=Dn}return Ye-Ae}const b=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function C(ee){return b.test(ee)}const D=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function v(ee){return D.test(ee)}const L=/^[\t\n\r\x20-\x7E]*$/;function G(ee){return L.test(ee)}const ce=/[\u2028\u2029]/;function Ce(ee){return ce.test(ee)}function Ge(ee){for(let Ae=0,ze=ee.length;Ae<ze;Ae++)if(be(ee.charCodeAt(Ae)))return!0;return!1}function be(ee){return ee=+ee,ee>=11904&&ee<=55215||ee>=63744&&ee<=64255||ee>=65281&&ee<=65374}function Be(ee){return ee>=127462&&ee<=127487||ee===8986||ee===8987||ee===9200||ee===9203||ee>=9728&&ee<=10175||ee===11088||ee===11093||ee>=127744&&ee<=128591||ee>=128640&&ee<=128764||ee>=128992&&ee<=129003||ee>=129280&&ee<=129535||ee>=129648&&ee<=129750}const Qe=String.fromCharCode(65279);function qe(ee){return!!(ee&&ee.length>0&&ee.charCodeAt(0)===65279)}function Ie(ee,Ae=!1){return ee?(Ae&&(ee=ee.replace(/\\./g,"")),ee.toLowerCase()!==ee):!1}function Rt(ee){const Ae=90-65+1;return ee=ee%(2*Ae),ee<Ae?String.fromCharCode(97+ee):String.fromCharCode(65+ee-Ae)}function K(ee){const Ae=$.getInstance();return Ae.getGraphemeBreakType(ee)}function se(ee,Ae){return ee===0?Ae!==5&&Ae!==7:ee===2&&Ae===3?!1:ee===4||ee===2||ee===3||(Ae===4||Ae===2||Ae===3)?!0:ee===8&&(Ae===8||Ae===9||Ae===11||Ae===12)||((ee===11||ee===9)&&(Ae===9||Ae===10)||((ee===12||ee===10)&&Ae===10||(Ae===5||Ae===13||(Ae===7||(ee===1||ee===13&&Ae===14)))))?!1:!(ee===6&&Ae===6)}class ${constructor(){this._data=je()}static getInstance(){return $._INSTANCE||($._INSTANCE=new $),$._INSTANCE}getGraphemeBreakType(ee){if(ee<32)return ee===10?3:ee===13?2:4;if(ee<127)return 0;const Ae=this._data,ze=Ae.length/3;let Ye=1;for(;Ye<=ze;)if(ee<Ae[3*Ye])Ye=2*Ye;else if(ee>Ae[3*Ye+1])Ye=2*Ye+1;else return Ae[3*Ye+2];return 0}}$._INSTANCE=null;function je(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function tt(ee,Ae){if(ee===0)return 0;const ze=ct(ee,Ae);if(ze!==void 0)return ze;const Ye=Y(Ae,ee);return ee-=Lt(Ye),ee}function ct(ee,Ae){let ze=Y(Ae,ee);for(ee-=Lt(ze);Zt(ze)||ze===65039||ze===8419;){if(ee===0)return;ze=Y(Ae,ee),ee-=Lt(ze)}if(!Be(ze))return;if(ee>=0){const Ye=Y(Ae,ee);Ye===8205&&(ee-=Lt(Ye))}return ee}function Lt(ee){return ee>=65536?2:1}function Zt(ee){return 127995<=ee&&ee<=127999}},NQs2:function(ht,re,O){ht.exports={flex_box_center:"flex_box_center___3K14R",flex_space_between:"flex_space_between___1KE7t",flex_box_vertical_center:"flex_box_vertical_center___3Yslx",flex_box_center_end:"flex_box_center_end___2RmV-",flex_box_column:"flex_box_column___3k3IQ",banner:"banner___3caau",content:"content___fxe_p",btns:"btns___Vv-WB",img_noactive:"img_noactive___s1naU",img_active:"img_active___11s7p",input_warp:"input_warp___3Y7JU"}},Nf5h:function(ht,re,O){"use strict";O.d(re,"a",function(){return f}),O.d(re,"i",function(){return S}),O.d(re,"l",function(){return P}),O.d(re,"f",function(){return Se}),O.d(re,"j",function(){return Te}),O.d(re,"d",function(){return Lt}),O.d(re,"b",function(){return Ye}),O.d(re,"h",function(){return Dn}),O.d(re,"g",function(){return Jr}),O.d(re,"k",function(){return zn}),O.d(re,"e",function(){return Ve}),O.d(re,"c",function(){return vt});var oe=O("5NDa"),ve=O("5rEg"),We=O("tJVT"),ke=O("q1tI"),H=O.n(ke),ue=O("NQs2"),pe=O.n(ue),F=function(Re){var St=Re.dataSource,jt=St===void 0?[]:St,zt=Re.bannerImg,$t=Re.img,Dt=Re.imgWidth,nn=Dt===void 0?346:Dt,Ft=Re.title,ln=Re.sunTitle,yn=Re.bannerExtraContent,pn=Re.placeholder,Vn=Re.onChange,Mr=Object(ke.useState)(""),Gn=Object(We.a)(Mr,2),ii=Gn[0],Ai=Gn[1];return H.a.createElement("div",{className:pe.a.banner,style:{backgroundImage:"url('".concat(zt,"')"),backgroundPosition:"center",backgroundSize:"cover"}},H.a.createElement("div",{className:pe.a.content},H.a.createElement("aside",null,H.a.createElement("p",{style:{marginBottom:"".concat(jt.length==0?"0":"")}},H.a.createElement("b",null,Ft),H.a.createElement("span",null,ln)),jt.length>0&&H.a.createElement("div",{className:pe.a.btns},jt.map(function(en,gr){return en.buttonShow&&H.a.createElement(H.a.Fragment,null,en.Button?en.Button:H.a.createElement("div",{key:gr,onClick:en.click},H.a.createElement("img",{src:en.img,className:pe.a.img_noactive}),H.a.createElement("img",{src:en.img_active,className:pe.a.img_active}),en.name))})),yn),jt.length>0&&H.a.createElement("div",{className:pe.a.input_warp},H.a.createElement(ve.a,{value:ii,onChange:function(gr){Ai(gr.target.value)},placeholder:pn,onPressEnter:function(){return Vn(ii)},color:"#fff"}),H.a.createElement("i",{onClick:function(){return Vn(ii)},className:"iconfont icon-sousuo9 font14 pl10 current"}))))},f=F,V=O("6nfa"),z=O.n(V),j=O("TSYQ"),A=O.n(j),w=function(Re){var St=Re.dataSource,jt=St===void 0?[]:St,zt=Re.value,$t=Re.onChange,Dt=Re.className,nn=Re.title,Ft=Re.titleWidth,ln=Ft===void 0?56:Ft,yn=Re.style,pn=yn===void 0?{}:yn,Vn=Re.fontColor,Mr=Vn===void 0?"#6A7283":Vn,Gn=Re.isId,ii=Gn===void 0?!1:Gn,Ai=Object(ke.useState)(0),en=Object(We.a)(Ai,2),gr=en[0],vr=en[1],So=Object(ke.useState)(!1),ei=Object(We.a)(So,2),Zr=ei[0],Ui=ei[1],vo=Object(ke.useRef)(null);return Object(ke.useEffect)(function(){if(jt.length!==0){var sr;(vo==null||((sr=vo.current)===null||sr===void 0)?void 0:sr.clientHeight)>98?vr(1):vr(0)}jt.length===0&&vr(0)},[jt]),H.a.createElement("div",{className:A()(z.a.row,Dt),style:pn},H.a.createElement("div",{style:{width:ln,marginTop:Zr?12:4},className:z.a.title},nn),H.a.createElement("div",{className:Zr?"".concat(z.a.tagsWrap," ").concat(z.a.tagsBorderWrap):z.a.tagsWrap},H.a.createElement("div",{className:z.a.bar,style:gr>0?{height:gr===1?100:"auto",overflow:gr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},H.a.createElement("div",{className:z.a.name,ref:vo},jt==null?void 0:jt.map(function(sr){return H.a.createElement("span",{onClick:function(){return $t(ii?sr.id:sr.name)},key:ii?sr.id:sr.name,title:sr.name,style:{color:Mr},className:zt===(ii?sr.id:sr.name)?z.a.active:""},sr.name)}))),!!gr&&H.a.createElement(ke.Fragment,null,gr===1?H.a.createElement("div",{onClick:function(){var qa;vr(2),(vo==null||((qa=vo.current)===null||qa===void 0)?void 0:qa.clientHeight)>205?Ui(!0):Ui(!1)},className:z.a.action},"\u5C55\u5F00",H.a.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):H.a.createElement("div",{onClick:function(){vr(1),Ui(!1)},className:z.a.action},"\u6536\u8D77",H.a.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},S=w,I=O("cz0n"),k=O.n(I),Z=function(Re){var St=Re.dataSource,jt=St===void 0?[]:St,zt=Re.value,$t=Re.onChange,Dt=Re.className;return H.a.createElement("div",{className:A()(k.a.tabs,Dt)},jt.map(function(nn){return H.a.createElement("span",{onClick:function(){return $t(nn.id)},className:zt===nn.id?k.a.active:"",key:nn.id},nn.name)}))},P=Z,N=O("KOXS"),ie=O.n(N),me=function(Re){var St,jt=Re.dataSource,zt=jt===void 0?[]:jt,$t=Re.value,Dt=Re.onChange,nn=Re.className,Ft=Re.style,ln=Ft===void 0?{}:Ft,yn=Re.placeholder,pn=Object(ke.useState)(""),Vn=Object(We.a)(pn,2),Mr=Vn[0],Gn=Vn[1],ii=Object(ke.useState)(""),Ai=Object(We.a)(ii,2),en=Ai[0],gr=Ai[1];Object(ke.useEffect)(function(){var ei;(ei=JSON.stringify($t))!==null&&ei!==void 0&&ei.includes("{")?(Gn($t.id),gr($t.value)):gr($t)},[$t]);var vr=function(){Dt(en||null,Mr||"")},So=function(Zr){if(Zr===Mr)return;Gn(Zr),Dt(en,Zr)};return H.a.createElement("div",{className:A()(ie.a.input,nn),style:ln},!!zt.length&&H.a.createElement("div",{className:ie.a.dropdown},H.a.createElement("div",{className:ie.a.text},(St=zt.find(function(ei){return ei.id===Mr}))===null||St===void 0?void 0:St.name,H.a.createElement("i",{className:"iconfont icon-zhankai4"}),H.a.createElement("b",{className:ie.a.b1}),H.a.createElement("b",{className:ie.a.b2})),H.a.createElement("div",{className:ie.a.menu},zt.map(function(ei,Zr){return H.a.createElement("div",{key:Zr,onClick:function(){return So(ei.id)}},ei.name)}))),H.a.createElement(ve.a,{onPressEnter:vr,value:en,onChange:function(Zr){return gr(Zr.target.value||"")},bordered:!1,placeholder:yn}),H.a.createElement("i",{onClick:vr,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Se=me,te=O("f9pc"),xe=O.n(te),Ue=function(Re){var St=Re.value,jt=Re.onChange,zt=Re.className,$t=Re.total,Dt=Re.pageSize,nn=Re.style,Ft=nn===void 0?{}:nn,ln=St<2,yn=St>=Math.ceil($t/Dt);return $t<=Dt?H.a.createElement(H.a.Fragment,null):H.a.createElement("div",{className:A()(xe.a.quickPager,zt),style:Ft},H.a.createElement("div",{onClick:function(){ln||jt(St-1,"prev")},className:ln?xe.a.disabled:""},"\u4E0A\u4E00\u9875"),H.a.createElement("div",{onClick:function(){yn||jt(St+1,"next")},className:yn?xe.a.disabled:""},"\u4E0B\u4E00\u9875"))},Te=Ue,ye=O("T2oS"),fe=O("W9HT"),J=O("pC0b"),B=O("GzdX"),Y=O("5Dmo"),le=O("3S7+"),M=O("Oe0F"),b=O.n(M),C=O("m3rI"),D=O("1vsH"),v=O("JAbv"),L=O.n(v),G=O("Bq7L"),ce=O.n(G),Ce=O("MEgm"),Ge=O.n(Ce),be=O("BdwD"),Be=function(Re){var St=Re.className,jt=Re.dataSource,zt=jt===void 0?[]:jt,$t=Re.col,Dt=$t===void 0?4:$t,nn=Re.right,Ft=Re.bottom,ln=Ft===void 0?23:Ft,yn=Re.precision,pn=yn===void 0?0:yn,Vn=Re.wrapWidth,Mr=Vn===void 0?1200:Vn,Gn=Re.trackEventItems,ii=Re.loading,Ai=Math.floor((Mr-(Dt-1)*nn)/Dt);return H.a.createElement(fe.a,{spinning:ii},H.a.createElement("div",{className:A()(b.a.list,St)},!!zt.length&&zt.map(function(en,gr){var vr=en.name,So=en.id,ei=en.identifier,Zr=en.power,Ui=en.cover_image_id,vo=en.pic;return H.a.createElement("div",{className:b.a.wrap,key:So,style:{width:Ai,marginRight:(1+gr)%Dt===0?0:nn+pn,marginBottom:ln}},H.a.createElement("a",{target:"_blank",href:"/shixuns/".concat(ei,"/challenges"),className:b.a.li,onClick:function(qa){qa.preventDefault(),Gn&&Object(D.db)([Gn]),Zr&&Object(D.S)("/shixuns/".concat(ei,"/challenges"))}},H.a.createElement("div",{className:b.a.img},H.a.createElement("img",{className:b.a.cover,src:Ui?"".concat(C.a.API_SERVER,"/api/attachments/").concat(Ui):"".concat(C.a.IMG_SERVER,"/").concat(vo)}),en.is_jupyter&&H.a.createElement("img",{className:b.a.sign,src:L.a}),en.is_jupyter_lab&&H.a.createElement("img",{className:b.a.sign,src:ce.a}),en.is_unity_3d&&H.a.createElement("img",{className:b.a.sign,src:Ge.a})),H.a.createElement("div",{className:b.a.name},H.a.createElement(le.a,{title:vr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},H.a.createElement("span",{className:b.a.e},vr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),H.a.createElement("div",{className:b.a.tags},H.a.createElement(le.a,{placement:"bottom",title:"\u5173\u5361\u6570"},H.a.createElement("span",null,H.a.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr3"}),H.a.createElement("span",null,en.challenges_count))),!!en.myshixuns_count&&H.a.createElement(le.a,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},H.a.createElement("span",null,H.a.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),H.a.createElement("span",null,en.myshixuns_count))),H.a.createElement(le.a,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},H.a.createElement("span",null,H.a.createElement("span",null,en.level))),H.a.createElement("div",{className:b.a.rate},H.a.createElement(B.a,{allowHalf:!0,disabled:!0,defaultValue:en.score_info}),H.a.createElement("span",null,"\xA0",en.score_info?"".concat(en.score_info,"\u5206"):"5\u5206")))),!Zr&&H.a.createElement("div",{className:b.a.lockWrap},H.a.createElement("img",{src:"".concat(C.a.IMG_SERVER,"/images/educoder/icon/lockclose.svg")}),H.a.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!zt.length&&H.a.createElement(be.a,null)))},Qe=Be,qe=O("ZJlW"),Ie=O.n(qe),Rt=O("z4EP"),K=O.n(Rt),se=O("+GGh"),$=O.n(se),je=O("cFMs"),tt=O.n(je),ct=function(Re){var St=Re.className,jt=Re.dataSource,zt=jt===void 0?[]:jt,$t=Re.col,Dt=$t===void 0?4:$t,nn=Re.right,Ft=Re.bottom,ln=Ft===void 0?23:Ft,yn=Re.precision,pn=yn===void 0?0:yn,Vn=Re.wrapWidth,Mr=Vn===void 0?1200:Vn,Gn=Re.trackEventItems,ii=Re.loading,Ai=Math.floor((Mr-(Dt-1)*nn)/Dt);return H.a.createElement(fe.a,{spinning:ii},H.a.createElement("div",{className:A()(Ie.a.list,St)},!!zt.length&&zt.map(function(en,gr){var vr=en.name,So=en.id,ei=en.identifier,Zr=en.featured,Ui=en.school_name,vo=en.image_url,sr=en.excellent;return H.a.createElement("div",{key:So,className:Ie.a.wrap,style:{width:Ai,marginRight:(1+gr)%Dt===0?0:nn+pn,marginBottom:ln}},H.a.createElement("a",{target:"_blank",href:"/paths/".concat(ei),className:Ie.a.li,onClick:function(Up){Up.preventDefault(),Gn&&Object(D.db)([Gn]),Object(D.S)("/paths/".concat(ei))}},H.a.createElement("div",{className:Ie.a.img},H.a.createElement("img",{className:Ie.a.cover,src:"".concat(C.a.IMG_SERVER,"/").concat(vo)}),Zr===1&&H.a.createElement("img",{className:Ie.a.sign,src:K.a}),Zr===2&&H.a.createElement("img",{className:Ie.a.sign,src:""}),Zr===3&&H.a.createElement("img",{className:Ie.a.sign,src:$.a}),Zr===4&&H.a.createElement("img",{className:Ie.a.sign,src:""}),Zr===5&&H.a.createElement("img",{className:Ie.a.sign,src:tt.a})),H.a.createElement("div",{className:Ie.a.name},H.a.createElement(le.a,{title:vr},H.a.createElement("span",{className:Ie.a.e},vr))),H.a.createElement(le.a,{title:"\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(Ui)},H.a.createElement("div",{className:Ie.a.unit},H.a.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),Ui)),H.a.createElement("div",{className:Ie.a.tags},H.a.createElement(le.a,{placement:"bottom",title:"\u7AE0\u8282\u6570"},H.a.createElement("span",null,H.a.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),H.a.createElement("span",null,en.stages_count))),H.a.createElement(le.a,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},H.a.createElement("span",null,H.a.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),H.a.createElement("span",null,en.members_count))),sr&&H.a.createElement("div",{className:Ie.a.tag},"\u5F00\u653E\u8BFE\u7A0B"))))}),!zt.length&&H.a.createElement(be.a,null)))},Lt=ct,Zt=O("iL++"),ee=O.n(Zt),Ae=O("xiVL"),ze=function(Re){var St=Re.className,jt=Re.dataSource,zt=jt===void 0?[]:jt,$t=Re.col,Dt=$t===void 0?4:$t,nn=Re.right,Ft=Re.bottom,ln=Ft===void 0?23:Ft,yn=Re.precision,pn=yn===void 0?0:yn,Vn=Re.wrapWidth,Mr=Vn===void 0?1200:Vn,Gn=Re.trackEventItems,ii=Re.loading,Ai=Math.floor((Mr-(Dt-1)*nn)/Dt);return H.a.createElement(fe.a,{spinning:ii},H.a.createElement("div",{className:A()(ee.a.list,St)},!!zt.length&&zt.map(function(en,gr){var vr=en.subject_identifier,So=en.id,ei=en.identifier,Zr=en.power,Ui=en.is_public!=0&&en.is_public;return H.a.createElement("div",{className:ee.a.wrap,key:So,style:{width:Ai,marginRight:(1+gr)%Dt===0?0:nn+pn,marginBottom:ln}},H.a.createElement("a",{className:ee.a.li,onClick:function(sr){sr.preventDefault()}},H.a.createElement("div",{className:ee.a.top},H.a.createElement(le.a,{title:en.name},H.a.createElement("div",{className:ee.a.name},en.name)),H.a.createElement("img",{className:ee.a.img,src:C.a.IMG_SERVER+"/images/"+en.avatar_url}),H.a.createElement("div",{className:ee.a.text},en.creator),vr&&H.a.createElement("div",{className:ee.a.btns},H.a.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),H.a.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ui&&H.a.createElement("div",{className:ee.a.sign},"\u516C\u5F00")),H.a.createElement("div",{className:ee.a.bottom},en.visits>0&&H.a.createElement(le.a,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},H.a.createElement("span",null,H.a.createElement("i",{className:"iconfont icon-liulanyan"}),H.a.createElement("span",null,en.visits))),en.course_members_count>0&&H.a.createElement(le.a,{title:"\u6210\u5458",placement:"bottom"},H.a.createElement("span",null,H.a.createElement("i",{className:"iconfont icon-chengyuan"}),en.course_members_count)),en.tasks_count>0&&H.a.createElement(le.a,{title:"\u4F5C\u4E1A",placement:"bottom"},H.a.createElement("span",null,H.a.createElement("i",{className:"iconfont icon-zuoye"}),en.tasks_count)),en.is_end?H.a.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):H.a.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),H.a.createElement("div",{className:ee.a.lockWrap},en.is_accessible?H.a.createElement(H.a.Fragment,null,vr&&H.a.createElement("div",{onClick:function(){return Object(D.S)("/paths/".concat(vr))}},"\u8FDB\u5165\u5B9E\u8DF5\u8BFE\u7A0B"),H.a.createElement("div",{onClick:function(sr){Gn&&Object(D.db)([Gn]),Object(D.S)(en.first_category_url)}},"\u8FDB\u5165\u6559\u5B66\u8BFE\u5802")):H.a.createElement(H.a.Fragment,null,H.a.createElement("img",{src:"".concat(C.a.IMG_SERVER,"/images/educoder/icon/lockclose.svg")}),H.a.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165"))))}),!zt.length&&H.a.createElement(be.a,null)))},Ye=ze,Mt=O("f0W+"),hn=O.n(Mt),Mn=function(Re){var St=Re.dataSource,jt=St===void 0?[]:St,zt=Re.value,$t=Re.onChange,Dt=Re.className,nn=Re.style,Ft=nn===void 0?{}:nn,ln=Re.tabBarExtraContent;return H.a.createElement("div",{className:A()(hn.a.tabs,Dt),style:Ft},H.a.createElement("div",{className:hn.a.tabsWrap},jt.map(function(yn,pn){return H.a.createElement("div",{onClick:function(){return $t(yn.id)},className:zt===yn.id?hn.a.active:"",key:pn},yn.name)})),H.a.createElement("div",{className:hn.a.tabBar},ln))},Dn=Mn,sn=O("9JIy"),Ir=O.n(sn),Pr=function(Re){var St=Re.className,jt=Re.style,zt=jt===void 0?{}:jt,$t=Re.children;return H.a.createElement("div",{className:A()(Ir.a.table,St),style:zt},$t)},Jr=Pr,Ln=O("qVdP"),Er=O("jsC+"),gn=O("lUTK"),vn=O("BvKs"),In=O("8WcF"),qt=O.n(In),fr=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}],jn=function(Re){var St,jt=Re.sortValue,zt=Re.dropValue,$t=Re.className,Dt=Re.onSort,nn=Re.onDrop,Ft=Re.dataSource,ln=Ft===void 0?fr:Ft;return H.a.createElement("div",{className:A()(qt.a.orderWrap,$t)},H.a.createElement(Er.a,{overlay:H.a.createElement(vn.a,null,ln.map(function(yn,pn){return H.a.createElement(vn.a.Item,{key:pn,onClick:function(){return nn(yn.id)}},yn.name)}))},H.a.createElement("span",{className:qt.a.orderTextWrap},(St=ln.find(function(yn){return zt===yn.id}))===null||St===void 0?void 0:St.name)),H.a.createElement("span",{className:qt.a.orderIconWrap},H.a.createElement("span",{className:qt.a.orderAsc},H.a.createElement("i",{className:jt==="asc"?"iconfont icon-sanjiaoxing-up font12 ".concat(qt.a.cursorPointer," ").concat(qt.a.active):"iconfont icon-sanjiaoxing-up font12 ".concat(qt.a.cursorPointer),onClick:function(){return Dt(jt==="asc"?"desc":"asc")}})),H.a.createElement("span",{className:qt.a.orderDesc},H.a.createElement("i",{className:jt==="desc"?"iconfont icon-sanjiaoxing-down font12 ".concat(qt.a.cursorPointer," ").concat(qt.a.active):"iconfont icon-sanjiaoxing-down font12 ".concat(qt.a.cursorPointer),onClick:function(){return Dt(jt==="asc"?"desc":"asc")}}))))},zn=jn,Ur=O("+L6B"),mr=O("2/Rp"),xr=O("0Owb"),Bi=O("9og8"),ko=O("PpiC"),xo=O("WmNS"),Lr=O.n(xo),go=O("siWv"),tn=O.n(go),at=O("LvDl"),Tt=function(Re){var St=Re.className,jt=Re.style,zt=Re.children,$t=Re.loading,Dt=$t===void 0?!1:$t,nn=Re.openLoading,Ft=Re.onClick,ln=Ft===void 0?function(){}:Ft,yn=Re.size,pn=yn===void 0?"middle":yn,Vn=Re.shape,Mr=Vn===void 0?"round":Vn,Gn=Re.type,ii=Gn===void 0?"default":Gn,Ai=Object(ko.a)(Re,["className","style","children","loading","openLoading","onClick","size","shape","type"]),en=Object(ke.useState)(!1),gr=Object(We.a)(en,2),vr=gr[0],So=gr[1];return H.a.createElement(mr.a,Object(xr.a)({onClick:Object(at.throttle)(function(){var ei=Object(Bi.a)(Lr.a.mark(function Zr(Ui){return Lr.a.wrap(function(sr){for(;;)switch(sr.prev=sr.next){case 0:return nn&&So(!0),sr.prev=1,sr.next=4,ln(Ui);case 4:sr.next=9;break;case 6:sr.prev=6,sr.t0=sr.catch(1),console.log("error",sr.t0);case 9:nn&&So(!1);case 10:case"end":return sr.stop()}},Zr,null,[[1,6]])}));return function(Zr){return ei.apply(this,arguments)}}(),2e3,{leading:!0,trailing:!1}),className:A()(tn.a.btn,tn.a["".concat(pn,"-").concat(Mr)],St),style:jt,size:pn,shape:Mr,type:ii,loading:vr||Dt},Ai),zt)},Ve=Tt,Q=O("+oxA"),he=O.n(Q),st=function(Re){var St=Re.className,jt=Re.style,zt=Re.children,$t=zt===void 0?null:zt,Dt=Re.onClick,nn=Re.title;return H.a.createElement("div",{className:A()(he.a.head,St),style:jt},H.a.createElement("span",{className:"primary-hover",onClick:Dt},H.a.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),H.a.createElement("b",{title:nn},nn),H.a.createElement("div",{className:he.a.node},$t))},et=st,Ut=O("fgAr"),Ht=O.n(Ut),it=function(Re){var St=Re.confirmShow,jt=St===void 0?!0:St,zt=Re.confirmTitle,$t=Re.confirmClick,Dt=Re.cancelShow,nn=Dt===void 0?!0:Dt,Ft=Re.cancelTitle,ln=Re.cancelClick,yn=Re.className,pn=Re.style,Vn=Re.confirmLoading,Mr=Vn===void 0?!1:Vn;return H.a.createElement("div",{className:A()(Ht.a.btns,yn),style:pn},jt&&H.a.createElement(mr.a,{loading:Mr,onClick:$t,type:"primary",className:Ht.a.confirm},zt),nn&&H.a.createElement(mr.a,{onClick:ln,className:Ht.a.cancel},Ft))},vt=it},OLES:function(ht,re,O){"use strict";var oe=O("U8pU"),ve=O("VTBJ"),We=O("Ff2n"),ke=O("q1tI"),H=O("uciX"),ue=O("7ixt"),pe=function(A){var w=A.overlay,S=A.prefixCls,I=A.id,k=A.overlayInnerStyle;return ke.createElement("div",{className:"".concat(S,"-inner"),id:I,role:"tooltip",style:k},typeof w=="function"?w():w)},F=pe,f=function(A,w){var S=A.overlayClassName,I=A.trigger,k=I===void 0?["hover"]:I,Z=A.mouseEnterDelay,P=Z===void 0?0:Z,N=A.mouseLeaveDelay,ie=N===void 0?.1:N,me=A.overlayStyle,Se=A.prefixCls,te=Se===void 0?"rc-tooltip":Se,xe=A.children,Ue=A.onVisibleChange,Te=A.afterVisibleChange,ye=A.transitionName,fe=A.animation,J=A.placement,B=J===void 0?"right":J,Y=A.align,le=Y===void 0?{}:Y,M=A.destroyTooltipOnHide,b=M===void 0?!1:M,C=A.defaultVisible,D=A.getTooltipContainer,v=A.overlayInnerStyle,L=Object(We.a)(A,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),G=Object(ke.useRef)(null);Object(ke.useImperativeHandle)(w,function(){return G.current});var ce=Object(ve.a)({},L);"visible"in A&&(ce.popupVisible=A.visible);var Ce=function(){var qe=A.arrowContent,Ie=qe===void 0?null:qe,Rt=A.overlay,K=A.id;return[ke.createElement("div",{className:"".concat(te,"-arrow"),key:"arrow"},Ie),ke.createElement(F,{key:"content",prefixCls:te,id:K,overlay:Rt,overlayInnerStyle:v})]},Ge=!1,be=!1;if(typeof b=="boolean")Ge=b;else if(b&&Object(oe.a)(b)==="object"){var Be=b.keepParent;Ge=Be===!0,be=Be===!1}return ke.createElement(H.a,Object.assign({popupClassName:S,prefixCls:te,popup:Ce,action:k,builtinPlacements:ue.a,popupPlacement:B,ref:G,popupAlign:le,getPopupContainer:D,onPopupVisibleChange:Ue,afterPopupVisibleChange:Te,popupTransitionName:ye,popupAnimation:fe,defaultPopupVisible:C,destroyPopupOnHide:Ge,autoDestroy:be,mouseLeaveDelay:ie,popupStyle:me,mouseEnterDelay:P},ce),xe)},V=Object(ke.forwardRef)(f),z=re.a=V},Oe0F:function(ht,re,O){ht.exports={flex_box_center:"flex_box_center___1lU21",flex_space_between:"flex_space_between___3CfJd",flex_box_vertical_center:"flex_box_vertical_center___20q2h",flex_box_center_end:"flex_box_center_end___1jeZT",flex_box_column:"flex_box_column___2EyZF",list:"list___3Kz8E",wrap:"wrap___12_X7",lockWrap:"lockWrap___9zL4z",li:"li___2bcH1",cover:"cover___1j6mq",img:"img___3itdG",sign:"sign___1Bm21",name:"name___3H1zU",e:"e___1W7k4",tags:"tags___G1tID",rate:"rate___aZiJa"}},T8No:function(ht,re,O){"use strict";O.d(re,"a",function(){return pe}),O.d(re,"e",function(){return F}),O.d(re,"c",function(){return ye}),O.d(re,"b",function(){return fe}),O.d(re,"d",function(){return J}),O.d(re,"f",function(){return le});var oe=O("MNsG"),ve=O("N0LK"),We=O("Cg/j");let ke=oe.k||"";const H=new Map;H.set("false",!1),H.set("true",!0),H.set("isMac",oe.f),H.set("isLinux",oe.d),H.set("isWindows",oe.i),H.set("isWeb",oe.h),H.set("isMacNative",oe.f&&!oe.h),H.set("isEdge",ke.indexOf("Edg/")>=0),H.set("isFirefox",ke.indexOf("Firefox")>=0),H.set("isChrome",ke.indexOf("Chrome")>=0),H.set("isSafari",ke.indexOf("Safari")>=0);const ue=Object.prototype.hasOwnProperty;class pe{static has(b){return j.create(b)}static equals(b,C){return A.create(b,C)}static regex(b,C){return Se.create(b,C)}static not(b){return k.create(b)}static and(...b){return Ue.create(b,null)}static or(...b){return Te.create(b,null,!0)}static deserialize(b,C=!1){return b?this._deserializeOrExpression(b,C):void 0}static _deserializeOrExpression(b,C){let D=b.split("||");return Te.create(D.map(v=>this._deserializeAndExpression(v,C)),null,!0)}static _deserializeAndExpression(b,C){let D=b.split("&&");return Ue.create(D.map(v=>this._deserializeOne(v,C)),null)}static _deserializeOne(b,C){if(b=b.trim(),b.indexOf("!=")>=0){let D=b.split("!=");return I.create(D[0].trim(),this._deserializeValue(D[1],C))}if(b.indexOf("==")>=0){let D=b.split("==");return A.create(D[0].trim(),this._deserializeValue(D[1],C))}if(b.indexOf("=~")>=0){let D=b.split("=~");return Se.create(D[0].trim(),this._deserializeRegexValue(D[1],C))}if(b.indexOf(" in ")>=0){let D=b.split(" in ");return w.create(D[0].trim(),D[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(b)){const D=b.split(">=");return N.create(D[0].trim(),D[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(b)){const D=b.split(">");return P.create(D[0].trim(),D[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(b)){const D=b.split("<=");return me.create(D[0].trim(),D[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(b)){const D=b.split("<");return ie.create(D[0].trim(),D[1].trim())}return/^\!\s*/.test(b)?k.create(b.substr(1).trim()):j.create(b)}static _deserializeValue(b,C){if(b=b.trim(),b==="true")return!0;if(b==="false")return!1;let D=/^'([^']*)'$/.exec(b);return D?D[1].trim():b}static _deserializeRegexValue(b,C){if(Object(ve.C)(b)){if(C)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let D=b.indexOf("/"),v=b.lastIndexOf("/");if(D===v||D<0){if(C)throw new Error(`bad regexp-value '${b}', missing /-enclosure`);return console.warn(`bad regexp-value '${b}', missing /-enclosure`),null}let L=b.slice(D+1,v),G=b[v+1]==="i"?"i":"";try{return new RegExp(L,G)}catch(ce){if(C)throw new Error(`bad regexp-value '${b}', parse error: ${ce}`);return console.warn(`bad regexp-value '${b}', parse error: ${ce}`),null}}}function F(b,C){const D=b?b.substituteConstants():void 0,v=C?C.substituteConstants():void 0;return!D&&!v?!0:!D||!v?!1:D.equals(v)}function f(b,C){return b.cmp(C)}class V{constructor(){this.type=0}cmp(b){return this.type-b.type}equals(b){return b.type===this.type}substituteConstants(){return this}evaluate(b){return!1}serialize(){return"false"}keys(){return[]}negate(){return z.INSTANCE}}V.INSTANCE=new V;class z{constructor(){this.type=1}cmp(b){return this.type-b.type}equals(b){return b.type===this.type}substituteConstants(){return this}evaluate(b){return!0}serialize(){return"true"}keys(){return[]}negate(){return V.INSTANCE}}z.INSTANCE=new z;class j{constructor(b,C){this.key=b,this.negated=C,this.type=2}static create(b,C=null){const D=H.get(b);return typeof D=="boolean"?D?z.INSTANCE:V.INSTANCE:new j(b,C)}cmp(b){return b.type!==this.type?this.type-b.type:B(this.key,b.key)}equals(b){return b.type===this.type?this.key===b.key:!1}substituteConstants(){const b=H.get(this.key);return typeof b=="boolean"?b?z.INSTANCE:V.INSTANCE:this}evaluate(b){return!!b.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=k.create(this.key,this)),this.negated}}class A{constructor(b,C,D){this.key=b,this.value=C,this.negated=D,this.type=4}static create(b,C,D=null){if(typeof C=="boolean")return C?j.create(b,D):k.create(b,D);const v=H.get(b);if(typeof v=="boolean"){const L=v?"true":"false";return C===L?z.INSTANCE:V.INSTANCE}return new A(b,C,D)}cmp(b){return b.type!==this.type?this.type-b.type:Y(this.key,this.value,b.key,b.value)}equals(b){return b.type===this.type?this.key===b.key&&this.value===b.value:!1}substituteConstants(){const b=H.get(this.key);if(typeof b=="boolean"){const C=b?"true":"false";return this.value===C?z.INSTANCE:V.INSTANCE}return this}evaluate(b){return b.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=I.create(this.key,this.value,this)),this.negated}}class w{constructor(b,C){this.key=b,this.valueKey=C,this.type=10,this.negated=null}static create(b,C){return new w(b,C)}cmp(b){return b.type!==this.type?this.type-b.type:Y(this.key,this.valueKey,b.key,b.valueKey)}equals(b){return b.type===this.type?this.key===b.key&&this.valueKey===b.valueKey:!1}substituteConstants(){return this}evaluate(b){const C=b.getValue(this.valueKey),D=b.getValue(this.key);return Array.isArray(C)?C.indexOf(D)>=0:typeof D=="string"&&typeof C=="object"&&C!==null?ue.call(C,D):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=S.create(this)),this.negated}}class S{constructor(b){this._actual=b,this.type=11}static create(b){return new S(b)}cmp(b){return b.type!==this.type?this.type-b.type:this._actual.cmp(b._actual)}equals(b){return b.type===this.type?this._actual.equals(b._actual):!1}substituteConstants(){return this}evaluate(b){return!this._actual.evaluate(b)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class I{constructor(b,C,D){this.key=b,this.value=C,this.negated=D,this.type=5}static create(b,C,D=null){if(typeof C=="boolean")return C?k.create(b,D):j.create(b,D);const v=H.get(b);if(typeof v=="boolean"){const L=v?"true":"false";return C===L?V.INSTANCE:z.INSTANCE}return new I(b,C,D)}cmp(b){return b.type!==this.type?this.type-b.type:Y(this.key,this.value,b.key,b.value)}equals(b){return b.type===this.type?this.key===b.key&&this.value===b.value:!1}substituteConstants(){const b=H.get(this.key);if(typeof b=="boolean"){const C=b?"true":"false";return this.value===C?V.INSTANCE:z.INSTANCE}return this}evaluate(b){return b.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=A.create(this.key,this.value,this)),this.negated}}class k{constructor(b,C){this.key=b,this.negated=C,this.type=3}static create(b,C=null){const D=H.get(b);return typeof D=="boolean"?D?V.INSTANCE:z.INSTANCE:new k(b,C)}cmp(b){return b.type!==this.type?this.type-b.type:B(this.key,b.key)}equals(b){return b.type===this.type?this.key===b.key:!1}substituteConstants(){const b=H.get(this.key);return typeof b=="boolean"?b?V.INSTANCE:z.INSTANCE:this}evaluate(b){return!b.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=j.create(this.key,this)),this.negated}}function Z(b,C){if(typeof b=="string"){const D=parseFloat(b);isNaN(D)||(b=D)}return typeof b=="string"||typeof b=="number"?C(b):V.INSTANCE}class P{constructor(b,C,D){this.key=b,this.value=C,this.negated=D,this.type=12}static create(b,C,D=null){return Z(C,v=>new P(b,v,D))}cmp(b){return b.type!==this.type?this.type-b.type:Y(this.key,this.value,b.key,b.value)}equals(b){return b.type===this.type?this.key===b.key&&this.value===b.value:!1}substituteConstants(){return this}evaluate(b){return typeof this.value=="string"?!1:parseFloat(b.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=me.create(this.key,this.value,this)),this.negated}}class N{constructor(b,C,D){this.key=b,this.value=C,this.negated=D,this.type=13}static create(b,C,D=null){return Z(C,v=>new N(b,v,D))}cmp(b){return b.type!==this.type?this.type-b.type:Y(this.key,this.value,b.key,b.value)}equals(b){return b.type===this.type?this.key===b.key&&this.value===b.value:!1}substituteConstants(){return this}evaluate(b){return typeof this.value=="string"?!1:parseFloat(b.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=ie.create(this.key,this.value,this)),this.negated}}class ie{constructor(b,C,D){this.key=b,this.value=C,this.negated=D,this.type=14}static create(b,C,D=null){return Z(C,v=>new ie(b,v,D))}cmp(b){return b.type!==this.type?this.type-b.type:Y(this.key,this.value,b.key,b.value)}equals(b){return b.type===this.type?this.key===b.key&&this.value===b.value:!1}substituteConstants(){return this}evaluate(b){return typeof this.value=="string"?!1:parseFloat(b.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=N.create(this.key,this.value,this)),this.negated}}class me{constructor(b,C,D){this.key=b,this.value=C,this.negated=D,this.type=15}static create(b,C,D=null){return Z(C,v=>new me(b,v,D))}cmp(b){return b.type!==this.type?this.type-b.type:Y(this.key,this.value,b.key,b.value)}equals(b){return b.type===this.type?this.key===b.key&&this.value===b.value:!1}substituteConstants(){return this}evaluate(b){return typeof this.value=="string"?!1:parseFloat(b.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=P.create(this.key,this.value,this)),this.negated}}class Se{constructor(b,C){this.key=b,this.regexp=C,this.type=7,this.negated=null}static create(b,C){return new Se(b,C)}cmp(b){if(b.type!==this.type)return this.type-b.type;if(this.key<b.key)return-1;if(this.key>b.key)return 1;const C=this.regexp?this.regexp.source:"",D=b.regexp?b.regexp.source:"";return C<D?-1:C>D?1:0}equals(b){if(b.type===this.type){const C=this.regexp?this.regexp.source:"",D=b.regexp?b.regexp.source:"";return this.key===b.key&&C===D}return!1}substituteConstants(){return this}evaluate(b){let C=b.getValue(this.key);return this.regexp?this.regexp.test(C):!1}serialize(){const b=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${b}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=te.create(this)),this.negated}}class te{constructor(b){this._actual=b,this.type=8}static create(b){return new te(b)}cmp(b){return b.type!==this.type?this.type-b.type:this._actual.cmp(b._actual)}equals(b){return b.type===this.type?this._actual.equals(b._actual):!1}substituteConstants(){return this}evaluate(b){return!this._actual.evaluate(b)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function xe(b){let C=null;for(let D=0,v=b.length;D<v;D++){const L=b[D].substituteConstants();if(b[D]!==L&&C===null){C=[];for(let G=0;G<D;G++)C[G]=b[G]}C!==null&&(C[D]=L)}return C===null?b:C}class Ue{constructor(b,C){this.expr=b,this.negated=C,this.type=6}static create(b,C){return Ue._normalizeArr(b,C)}cmp(b){if(b.type!==this.type)return this.type-b.type;if(this.expr.length<b.expr.length)return-1;if(this.expr.length>b.expr.length)return 1;for(let C=0,D=this.expr.length;C<D;C++){const v=f(this.expr[C],b.expr[C]);if(v!==0)return v}return 0}equals(b){if(b.type===this.type){if(this.expr.length!==b.expr.length)return!1;for(let C=0,D=this.expr.length;C<D;C++)if(!this.expr[C].equals(b.expr[C]))return!1;return!0}return!1}substituteConstants(){const b=xe(this.expr);return b===this.expr?this:Ue.create(b,this.negated)}evaluate(b){for(let C=0,D=this.expr.length;C<D;C++)if(!this.expr[C].evaluate(b))return!1;return!0}static _normalizeArr(b,C){const D=[];let v=!1;for(const L of b){if(!L)continue;if(L.type===1){v=!0;continue}if(L.type===0)return V.INSTANCE;if(L.type===6){D.push(...L.expr);continue}D.push(L)}if(D.length===0&&v)return z.INSTANCE;if(D.length===0)return;if(D.length===1)return D[0];D.sort(f);for(let L=1;L<D.length;L++)D[L-1].equals(D[L])&&(D.splice(L,1),L--);if(D.length===1)return D[0];for(;D.length>1;){const L=D[D.length-1];if(L.type!==9)break;D.pop();const G=D.pop(),ce=D.length===0,Ce=Te.create(L.expr.map(Ge=>Ue.create([Ge,G],null)),null,ce);Ce&&(D.push(Ce),D.sort(f))}return D.length===1?D[0]:new Ue(D,C)}serialize(){return this.expr.map(b=>b.serialize()).join(" && ")}keys(){const b=[];for(let C of this.expr)b.push(...C.keys());return b}negate(){if(!this.negated){const b=[];for(let C of this.expr)b.push(C.negate());this.negated=Te.create(b,this,!0)}return this.negated}}class Te{constructor(b,C){this.expr=b,this.negated=C,this.type=9}static create(b,C,D){return Te._normalizeArr(b,C,D)}cmp(b){if(b.type!==this.type)return this.type-b.type;if(this.expr.length<b.expr.length)return-1;if(this.expr.length>b.expr.length)return 1;for(let C=0,D=this.expr.length;C<D;C++){const v=f(this.expr[C],b.expr[C]);if(v!==0)return v}return 0}equals(b){if(b.type===this.type){if(this.expr.length!==b.expr.length)return!1;for(let C=0,D=this.expr.length;C<D;C++)if(!this.expr[C].equals(b.expr[C]))return!1;return!0}return!1}substituteConstants(){const b=xe(this.expr);return b===this.expr?this:Te.create(b,this.negated,!1)}evaluate(b){for(let C=0,D=this.expr.length;C<D;C++)if(this.expr[C].evaluate(b))return!0;return!1}static _normalizeArr(b,C,D){let v=[],L=!1;if(b){for(let G=0,ce=b.length;G<ce;G++){const Ce=b[G];if(!Ce)continue;if(Ce.type===0){L=!0;continue}if(Ce.type===1)return z.INSTANCE;if(Ce.type===9){v=v.concat(Ce.expr);continue}v.push(Ce)}if(v.length===0&&L)return V.INSTANCE;v.sort(f)}if(v.length===0)return;if(v.length===1)return v[0];for(let G=1;G<v.length;G++)v[G-1].equals(v[G])&&(v.splice(G,1),G--);if(v.length===1)return v[0];if(D){for(let G=0;G<v.length;G++)for(let ce=G+1;ce<v.length;ce++)le(v[G],v[ce])&&(v.splice(ce,1),ce--);if(v.length===1)return v[0]}return new Te(v,C)}serialize(){return this.expr.map(b=>b.serialize()).join(" || ")}keys(){const b=[];for(let C of this.expr)b.push(...C.keys());return b}negate(){if(!this.negated){let b=[];for(let C of this.expr)b.push(C.negate());for(;b.length>1;){const C=b.shift(),D=b.shift(),v=[];for(const G of M(C))for(const ce of M(D))v.push(Ue.create([G,ce],null));const L=b.length===0;b.unshift(Te.create(v,null,L))}this.negated=b[0]}return this.negated}}class ye extends j{constructor(b,C,D){super(b,null);this._defaultValue=C,typeof D=="object"?ye._info.push(Object.assign(Object.assign({},D),{key:b})):D!==!0&&ye._info.push({key:b,description:D,type:C!=null?typeof C:void 0})}static all(){return ye._info.values()}bindTo(b){return b.createKey(this.key,this._defaultValue)}getValue(b){return b.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(b){return A.create(this.key,b)}}ye._info=[];const fe=Object(We.c)("contextKeyService"),J="setContext";function B(b,C){return b<C?-1:b>C?1:0}function Y(b,C,D,v){return b<D?-1:b>D?1:C<v?-1:C>v?1:0}function le(b,C){if(C.type===6&&b.type!==9&&b.type!==6){for(const L of C.expr)if(b.equals(L))return!0}const D=b.negate(),v=M(D).concat(M(C));v.sort(f);for(let L=0;L<v.length;L++){const G=v[L],ce=G.negate();for(let Ce=L+1;Ce<v.length;Ce++){const Ge=v[Ce];if(ce.equals(Ge))return!0}}return!1}function M(b){return b.type===9?b.expr:[b]}},TXwP:function(ht,re,O){var oe,ve;(function(){var We;(function(){"use strict";var H=[,,function(f){function V(A){this.__parent=A,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}V.prototype.clone_empty=function(){var A=new V(this.__parent);return A.set_indent(this.__indent_count,this.__alignment_count),A},V.prototype.item=function(A){return A<0?this.__items[this.__items.length+A]:this.__items[A]},V.prototype.has_match=function(A){for(var w=this.__items.length-1;w>=0;w--)if(this.__items[w].match(A))return!0;return!1},V.prototype.set_indent=function(A,w){this.is_empty()&&(this.__indent_count=A||0,this.__alignment_count=w||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},V.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},V.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},V.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var A=this.__parent.current_line;return A.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),A.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),A.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,A.__items[0]===" "&&(A.__items.splice(0,1),A.__character_count-=1),!0}return!1},V.prototype.is_empty=function(){return this.__items.length===0},V.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},V.prototype.push=function(A){this.__items.push(A);var w=A.lastIndexOf(`
`);w!==-1?this.__character_count=A.length-w:this.__character_count+=A.length},V.prototype.pop=function(){var A=null;return this.is_empty()||(A=this.__items.pop(),this.__character_count-=A.length),A},V.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},V.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},V.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},V.prototype.toString=function(){var A="";return this.is_empty()?this.__parent.indent_empty_lines&&(A=this.__parent.get_indent_string(this.__indent_count)):(A=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),A+=this.__items.join("")),A};function z(A,w){this.__cache=[""],this.__indent_size=A.indent_size,this.__indent_string=A.indent_char,A.indent_with_tabs||(this.__indent_string=new Array(A.indent_size+1).join(A.indent_char)),w=w||"",A.indent_level>0&&(w=new Array(A.indent_level+1).join(this.__indent_string)),this.__base_string=w,this.__base_string_length=w.length}z.prototype.get_indent_size=function(A,w){var S=this.__base_string_length;return w=w||0,A<0&&(S=0),S+=A*this.__indent_size,S+=w,S},z.prototype.get_indent_string=function(A,w){var S=this.__base_string;return w=w||0,A<0&&(A=0,S=""),w+=A*this.__indent_size,this.__ensure_cache(w),S+=this.__cache[w],S},z.prototype.__ensure_cache=function(A){for(;A>=this.__cache.length;)this.__add_column()},z.prototype.__add_column=function(){var A=this.__cache.length,w=0,S="";this.__indent_size&&A>=this.__indent_size&&(w=Math.floor(A/this.__indent_size),A-=w*this.__indent_size,S=new Array(w+1).join(this.__indent_string)),A&&(S+=new Array(A+1).join(" ")),this.__cache.push(S)};function j(A,w){this.__indent_cache=new z(A,w),this.raw=!1,this._end_with_newline=A.end_with_newline,this.indent_size=A.indent_size,this.wrap_line_length=A.wrap_line_length,this.indent_empty_lines=A.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new V(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}j.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},j.prototype.get_line_number=function(){return this.__lines.length},j.prototype.get_indent_string=function(A,w){return this.__indent_cache.get_indent_string(A,w)},j.prototype.get_indent_size=function(A,w){return this.__indent_cache.get_indent_size(A,w)},j.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},j.prototype.add_new_line=function(A){return this.is_empty()||!A&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},j.prototype.get_code=function(A){this.trim(!0);var w=this.current_line.pop();w&&(w[w.length-1]===`
`&&(w=w.replace(/\n+$/g,"")),this.current_line.push(w)),this._end_with_newline&&this.__add_outputline();var S=this.__lines.join(`
`);return A!==`
`&&(S=S.replace(/[\n]/g,A)),S},j.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},j.prototype.set_indent=function(A,w){return A=A||0,w=w||0,this.next_line.set_indent(A,w),this.__lines.length>1?(this.current_line.set_indent(A,w),!0):(this.current_line.set_indent(),!1)},j.prototype.add_raw_token=function(A){for(var w=0;w<A.newlines;w++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(A.whitespace_before),this.current_line.push(A.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},j.prototype.add_token=function(A){this.__add_space_before_token(),this.current_line.push(A),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},j.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},j.prototype.remove_indent=function(A){for(var w=this.__lines.length;A<w;)this.__lines[A]._remove_indent(),A++;this.current_line._remove_wrap_indent()},j.prototype.trim=function(A){for(A=A===void 0?!1:A,this.current_line.trim();A&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},j.prototype.just_added_newline=function(){return this.current_line.is_empty()},j.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},j.prototype.ensure_empty_line_above=function(A,w){for(var S=this.__lines.length-2;S>=0;){var I=this.__lines[S];if(I.is_empty())break;if(I.item(0).indexOf(A)!==0&&I.item(-1)!==w){this.__lines.splice(S+1,0,new V(this)),this.previous_line=this.__lines[this.__lines.length-2];break}S--}},f.exports.Output=j},,,,function(f){function V(A,w){this.raw_options=z(A,w),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}V.prototype._get_array=function(A,w){var S=this.raw_options[A],I=w||[];return typeof S=="object"?S!==null&&typeof S.concat=="function"&&(I=S.concat()):typeof S=="string"&&(I=S.split(/[^a-zA-Z0-9_\/\-]+/)),I},V.prototype._get_boolean=function(A,w){var S=this.raw_options[A],I=S===void 0?!!w:!!S;return I},V.prototype._get_characters=function(A,w){var S=this.raw_options[A],I=w||"";return typeof S=="string"&&(I=S.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),I},V.prototype._get_number=function(A,w){var S=this.raw_options[A];w=parseInt(w,10),isNaN(w)&&(w=0);var I=parseInt(S,10);return isNaN(I)&&(I=w),I},V.prototype._get_selection=function(A,w,S){var I=this._get_selection_list(A,w,S);if(I.length!==1)throw new Error("Invalid Option Value: The option '"+A+`' can only be one of the following values:
`+w+`
You passed in: '`+this.raw_options[A]+"'");return I[0]},V.prototype._get_selection_list=function(A,w,S){if(!w||w.length===0)throw new Error("Selection list cannot be empty.");if(S=S||[w[0]],!this._is_valid_selection(S,w))throw new Error("Invalid Default Value!");var I=this._get_array(A,S);if(!this._is_valid_selection(I,w))throw new Error("Invalid Option Value: The option '"+A+`' can contain only the following values:
`+w+`
You passed in: '`+this.raw_options[A]+"'");return I},V.prototype._is_valid_selection=function(A,w){return A.length&&w.length&&!A.some(function(S){return w.indexOf(S)===-1})};function z(A,w){var S={};A=j(A);var I;for(I in A)I!==w&&(S[I]=A[I]);if(w&&A[w])for(I in A[w])S[I]=A[w][I];return S}function j(A){var w={},S;for(S in A){var I=S.replace(/-/g,"_");w[I]=A[S]}return w}f.exports.Options=V,f.exports.normalizeOpts=j,f.exports.mergeOpts=z},,function(f){var V=RegExp.prototype.hasOwnProperty("sticky");function z(j){this.__input=j||"",this.__input_length=this.__input.length,this.__position=0}z.prototype.restart=function(){this.__position=0},z.prototype.back=function(){this.__position>0&&(this.__position-=1)},z.prototype.hasNext=function(){return this.__position<this.__input_length},z.prototype.next=function(){var j=null;return this.hasNext()&&(j=this.__input.charAt(this.__position),this.__position+=1),j},z.prototype.peek=function(j){var A=null;return j=j||0,j+=this.__position,j>=0&&j<this.__input_length&&(A=this.__input.charAt(j)),A},z.prototype.__match=function(j,A){j.lastIndex=A;var w=j.exec(this.__input);return w&&!(V&&j.sticky)&&(w.index!==A&&(w=null)),w},z.prototype.test=function(j,A){return A=A||0,A+=this.__position,A>=0&&A<this.__input_length?!!this.__match(j,A):!1},z.prototype.testChar=function(j,A){var w=this.peek(A);return j.lastIndex=0,w!==null&&j.test(w)},z.prototype.match=function(j){var A=this.__match(j,this.__position);return A?this.__position+=A[0].length:A=null,A},z.prototype.read=function(j,A,w){var S="",I;return j&&(I=this.match(j),I&&(S+=I[0])),A&&(I||!j)&&(S+=this.readUntil(A,w)),S},z.prototype.readUntil=function(j,A){var w="",S=this.__position;j.lastIndex=this.__position;var I=j.exec(this.__input);return I?(S=I.index,A&&(S+=I[0].length)):S=this.__input_length,w=this.__input.substring(this.__position,S),this.__position=S,w},z.prototype.readUntilAfter=function(j){return this.readUntil(j,!0)},z.prototype.get_regexp=function(j,A){var w=null,S="g";return A&&V&&(S="y"),typeof j=="string"&&j!==""?w=new RegExp(j,S):j&&(w=new RegExp(j.source,S)),w},z.prototype.get_literal_regexp=function(j){return RegExp(j.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},z.prototype.peekUntilAfter=function(j){var A=this.__position,w=this.readUntilAfter(j);return this.__position=A,w},z.prototype.lookBack=function(j){var A=this.__position-1;return A>=j.length&&this.__input.substring(A-j.length,A).toLowerCase()===j},f.exports.InputScanner=z},,,,,function(f){function V(z,j){z=typeof z=="string"?z:z.source,j=typeof j=="string"?j:j.source,this.__directives_block_pattern=new RegExp(z+/ beautify( \w+[:]\w+)+ /.source+j,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(z+/\sbeautify\signore:end\s/.source+j,"g")}V.prototype.get_directives=function(z){if(!z.match(this.__directives_block_pattern))return null;var j={};this.__directive_pattern.lastIndex=0;for(var A=this.__directive_pattern.exec(z);A;)j[A[1]]=A[2],A=this.__directive_pattern.exec(z);return j},V.prototype.readIgnored=function(z){return z.readUntilAfter(this.__directives_end_ignore_pattern)},f.exports.Directives=V},,function(f,V,z){var j=z(16).Beautifier,A=z(17).Options;function w(S,I){var k=new j(S,I);return k.beautify()}f.exports=w,f.exports.defaultOptions=function(){return new A}},function(f,V,z){var j=z(17).Options,A=z(2).Output,w=z(8).InputScanner,S=z(13).Directives,I=new S(/\/\*/,/\*\//),k=/\r\n|[\r\n]/,Z=/\r\n|[\r\n]/g,P=/\s/,N=/(?:\s|\n)+/g,ie=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,me=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function Se(te,xe){this._source_text=te||"",this._options=new j(xe),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}Se.prototype.eatString=function(te){var xe="";for(this._ch=this._input.next();this._ch;){if(xe+=this._ch,this._ch==="\\")xe+=this._input.next();else if(te.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return xe},Se.prototype.eatWhitespace=function(te){for(var xe=P.test(this._input.peek()),Ue=0;P.test(this._input.peek());)this._ch=this._input.next(),te&&this._ch===`
`&&((Ue===0||Ue<this._options.max_preserve_newlines)&&(Ue++,this._output.add_new_line(!0)));return xe},Se.prototype.foundNestedPseudoClass=function(){for(var te=0,xe=1,Ue=this._input.peek(xe);Ue;){if(Ue==="{")return!0;if(Ue==="(")te+=1;else if(Ue===")"){if(te===0)return!1;te-=1}else if(Ue===";"||Ue==="}")return!1;xe++,Ue=this._input.peek(xe)}return!1},Se.prototype.print_string=function(te){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(te)},Se.prototype.preserveSingleSpace=function(te){te&&(this._output.space_before_token=!0)},Se.prototype.indent=function(){this._indentLevel++},Se.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},Se.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var te=this._source_text,xe=this._options.eol;xe==="auto"&&(xe=`
`,te&&k.test(te||"")&&(xe=te.match(k)[0])),te=te.replace(Z,`
`);var Ue=te.match(/^[\t ]*/)[0];this._output=new A(this._options,Ue),this._input=new w(te),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var Te=0,ye=!1,fe=!1,J=!1,B=!1,Y=!1,le=!1,M=this._ch,b=!1,C,D,v;C=this._input.read(N),D=C!=="",v=M,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),M=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var L=this._input.read(ie),G=I.get_directives(L);G&&G.ignore==="start"&&(L+=I.readIgnored(this._input)),this.print_string(L),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(me)),this.eatWhitespace(!0);else if(this._ch==="@"||this._ch==="$")if(this.preserveSingleSpace(D),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var ce=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);ce.match(/[ :]$/)&&(ce=this.eatString(": ").replace(/\s$/,""),this.print_string(ce),this._output.space_before_token=!0),ce=ce.replace(/\s$/,""),ce==="extend"?B=!0:ce==="import"&&(Y=!0),ce in this.NESTED_AT_RULE?(this._nestedLevel+=1,ce in this.CONDITIONAL_GROUP_RULE&&(J=!0)):!ye&&Te===0&&ce.indexOf(":")!==-1&&(fe=!0,this.indent())}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(D),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")fe&&(fe=!1,this.outdent()),J?(J=!1,ye=this._indentLevel>=this._nestedLevel):ye=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&ye&&(this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",",")),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(v==="("?this._output.space_before_token=!1:v!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),v==="{"&&this._output.trim(!0),Y=!1,B=!1,fe&&(this.outdent(),fe=!1),this.print_string(this._ch),ye=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&(this._input.peek()!=="}"&&this._output.add_new_line(!0)),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var Ce=0;Ce<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Ce++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Ce])){b=!0;break}(ye||J)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!B&&Te===0?(this.print_string(":"),fe||(fe=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var Ge=v==='"'||v==="'";this.preserveSingleSpace(Ge||D),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")b=!1,Te===0?(fe&&(this.outdent(),fe=!1),B=!1,Y=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),Te++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),Te&&(Te--,this.outdent()));else{var be=!1;this._input.lookBack("with")&&(be=!0),this.preserveSingleSpace(D||be),this.print_string(this._ch),fe&&v==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),le=!0):(this.eatWhitespace(),Te++,this.indent())}else if(this._ch===")")Te&&(Te--,this.outdent()),le&&this._input.peek()===";"&&this._options.selector_separator_newline&&(le=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!fe||le)&&Te===0&&!Y&&!B?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!fe&&Te===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&P.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(D),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),P.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var Be=v==='"'||v==="'";this.preserveSingleSpace(Be||D),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&b&&this._output.add_new_line()}var Qe=this._output.get_code(xe);return Qe},f.exports.Beautifier=Se},function(f,V,z){var j=z(6).Options;function A(w){j.call(this,w,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var S=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||S;var I=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var k=0;k<I.length;k++)I[k]!=="expand"?this.brace_style="collapse":this.brace_style=I[k]}A.prototype=new j,f.exports.Options=A}],ue={};function pe(f){var V=ue[f];if(V!==void 0)return V.exports;var z=ue[f]={exports:{}};return H[f](z,z.exports,pe),z.exports}var F=pe(15);We=F})();var ke=We;!(oe=[],ve=function(){return{css_beautify:ke}}.apply(re,oe),ve!==void 0&&(ht.exports=ve))})()},UgWf:function(ht,re,O){ht.exports={Onerow:"Onerow___3MI5p",ItemTitle:"ItemTitle___3Uh0g",MultiLine:"MultiLine___REGv7",DivDownPlay:"DivDownPlay___2P_bb",Bg:"Bg___1HJbz",Item:"Item___2SBUE",UseEdit:"UseEdit___3jrLu"}},VfCK:function(ht,re,O){"use strict";O.r(re);var oe=O("T2oS"),ve=O("W9HT"),We=O("DjyN"),ke=O("NUBc"),H=O("14J3"),ue=O("BMrR"),pe=O("jCWc"),F=O("kPKH"),f=O("oBTY"),V=O("+L6B"),z=O("2/Rp"),j=O("miYZ"),A=O("tsqr"),w=O("k1fw"),S=O("2qtc"),I=O("kLXV"),k=O("9og8"),Z=O("y8nQ"),P=O("Vl3Y"),N=O("tJVT"),ie=O("WmNS"),me=O.n(ie),Se=O("q1tI"),te=O.n(Se),xe=O("9kvl"),Ue=O("UgWf"),Te=O.n(Ue),ye=O("m3rI"),fe=O("xKgJ"),J=O("Nf5h"),B=O("ErOA"),Y=O("0Owb"),le=O("DZo9"),M=O("8z0m"),b=O("iQDF"),C=O("+eQT"),D=O("5NDa"),v=O("5rEg"),L=O("PpiC"),G=O("phzI"),ce=function(Ln){var Er=Ln.handleFinish,gn=Ln.form,vn=Ln.core_subject_tag,In=Object(L.a)(Ln,["handleFinish","form","core_subject_tag"]),qt={beforeUpload:function(jn){var zn=jn.size/1024/1024;return zn==0?(A.b.error("".concat(jn.name," \u65E0\u6CD5\u4E0A\u4F20\u3002").concat(zn==0?"\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A":"\u8D85\u8FC7\u56FE\u7247\u5927\u5C0F\u9650\u5236(2MB)")),Promise.reject()):Promise.resolve()},action:"".concat(ye.a.API_SERVER,"/api/attachments.json")};return te.a.createElement(I.a,Object(Y.a)({},In,{destroyOnClose:!0,centered:!0,width:1200}),te.a.createElement(P.a,{form:gn,size:"large",initialValues:{details:""},colon:!1,labelCol:{span:3},onValuesChange:function(jn){},onFinish:Er},te.a.createElement(P.a.Item,{name:"id",hidden:!0,label:"\u77E5\u8BC6\u70B9id"}),te.a.createElement(P.a.Item,{name:"knowledge_points",label:"\u77E5\u8BC6\u70B9",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9"}]},te.a.createElement(v.a,{placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9",maxLength:100})),te.a.createElement(P.a.Item,{name:"title",label:"\u6807\u9898",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6807\u9898"}]},te.a.createElement(v.a,{placeholder:"\u8BF7\u8F93\u5165\u6807\u9898",maxLength:100})),te.a.createElement(P.a.Item,{name:"publisher",label:"\u53D1\u5E03\u4EBA",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u53D1\u5E03\u4EBA"}]},te.a.createElement(v.a,{placeholder:"\u8BF7\u8F93\u5165\u53D1\u5E03\u4EBA",maxLength:100})),te.a.createElement(P.a.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4"}]},te.a.createElement(C.a,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",style:{width:"100%"}})),te.a.createElement(P.a.Item,{name:"attachment_id",label:"\u91CF\u5B50\u8BA1\u7B97\u6587\u4EF6",valuePropName:"fileList",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u91CF\u5B50\u8BA1\u7B97\u6587\u4EF6"}],normalize:function(jn){return jn!=null&&jn.at(-1)?[jn==null?void 0:jn.at(-1)]:[]},getValueFromEvent:function(jn){return Array.isArray(jn)?jn:jn==null?void 0:jn.fileList}},te.a.createElement(M.a,qt,te.a.createElement(J.e,{style:{borderRadius:"2px"},icon:te.a.createElement("i",{className:"iconfont icon-shangchuanfujian"})},"\u4E0A\u4F20\u6587\u4EF6"))),te.a.createElement(P.a.Item,{name:"details",label:"\u7B80\u4ECB",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7B80\u4ECB"}]},te.a.createElement(G.a,{style:{height:"300px"},defaultvalue:gn.getFieldValue("details")}))))},Ce=ce,Ge=O("5Dmo"),be=O("3S7+"),Be=O("XhM9"),Qe=O.n(Be),qe=O("p8Ha"),Ie=O.n(qe),Rt=O("6rzw"),K=O.n(Rt),se=O("4Lfy"),$=O.n(se),je=O("D8AG"),tt=O.n(je),ct=O("Iovw"),Lt=O.n(ct),Zt=O("cejO"),ee=O.n(Zt),Ae=function(Ln){var Er=Ln.fileName,gn=Ln.width,vn=gn===void 0?26:gn,In=Object(L.a)(Ln,["fileName","width"]),qt=function(){var jn=Er.split(".").pop().toLowerCase();switch(jn){case"mp4":case"ram":case"avi":case"wmv":case"mov":case"mkv":case"flv":case"webm":case"m4v":case"rmvb":case"vob":case"f4v":case"ogv":case"swf":case"asf":case"mpg":case"mpeg":case"3gp":case"3g2":case"m2ts":case"mts":return tt.a;case"zip":case"rar":case"7z":case"gz":case"tar":case"tgz":case"xz":case"z":return ee.a;case"doc":case"docx":return Lt.a;case"ppt":case"pptx":return $.a;case"xls":case"xlsx":return Ie.a;case"pdf":return K.a;default:return Qe.a}};return te.a.createElement("img",Object(Y.a)({},In,{width:vn,src:qt()}))},ze=Ae,Ye=O("wd/R"),Mt=O.n(Ye),hn=function(Ln){var Er,gn=Ln.item,vn=Ln.className,In=Ln.style,qt=Ln.UseEdit,fr=Object(L.a)(Ln,["item","className","style","UseEdit"]),jn=Object(Se.useState)(null),zn=Object(N.a)(jn,2),Ur=zn[0],mr=zn[1];return Object(Se.useEffect)(function(){var xr=document.createElement("div");xr.innerHTML=gn==null?void 0:gn.details,mr(xr.textContent)},[]),te.a.createElement(ue.a,{className:Te.a.Item},te.a.createElement(F.a,null,te.a.createElement(ze,{fileName:(gn==null||((Er=gn.attachment)===null||Er===void 0)?void 0:Er.title)||"",width:100,height:100})),te.a.createElement(F.a,{className:"ml10",flex:1,style:{width:1050}},te.a.createElement(ue.a,{align:"middle",style:{flexWrap:"nowrap"}},te.a.createElement(be.a,{placement:"topLeft",title:gn==null?void 0:gn.title},te.a.createElement(F.a,{flex:1,className:Te.a.ItemTitle},gn==null?void 0:gn.title)),te.a.createElement(F.a,null,te.a.createElement(ue.a,{align:"middle",style:{flexWrap:"nowrap"}},(qt==null?void 0:qt.length)>0&&(qt==null?void 0:qt.map(function(xr,Bi){var ko=xr.children,xo=xr.style,Lr=xr.isShow,go=xr.type,tn=go===void 0?"link":go,at=xr.onClick,Tt=Object(L.a)(xr,["children","style","isShow","type","onClick"]);return te.a.createElement(J.e,Object(Y.a)({key:Bi,type:tn},Tt,{style:Object(w.a)({padding:0,border:"none"},xo),onClick:function(Q){Q.preventDefault(),Q.stopPropagation(),at(Q)}}),ko)}))))),te.a.createElement("div",{className:Te.a.Onerow},Ur),te.a.createElement("div",{className:"mt10"},te.a.createElement("span",null,"\u53D1\u5E03\u4EBA\uFF1A",te.a.createElement("span",null,(gn==null?void 0:gn.publisher)||"--")),te.a.createElement("span",{className:"ml40"},"\u53D1\u5E03\u65F6\u95F4\uFF1A",te.a.createElement("span",null,Mt()(gn==null?void 0:gn.publish_time).format("YYYY-MM-DD"))))))},Mn=hn,Dn=O("p5ED"),sn=O("BdwD"),Ir=function(Ln){var Er,gn,vn,In=Ln.dispatch,qt=Ln.globalSetting,fr=P.a.useForm(),jn=Object(N.a)(fr,1),zn=jn[0],Ur=Object(Se.useState)(""),mr=Object(N.a)(Ur,2),xr=mr[0],Bi=mr[1],ko=Object(Se.useState)({}),xo=Object(N.a)(ko,2),Lr=xo[0],go=xo[1],tn=Object(Se.useState)({page:1,limit:12,keyword:"",knowledge_points:null}),at=Object(N.a)(tn,2),Tt=at[0],Ve=at[1],Q=Object(Se.useState)(!1),he=Object(N.a)(Q,2),st=he[0],et=he[1],Ut=Object(Se.useState)({content:"",type:""}),Ht=Object(N.a)(Ut,2),it=Ht[0],vt=Ht[1],ft=Object(Se.useRef)(),Re=function(){var $t=Object(k.a)(me.a.mark(function Dt(){var nn,Ft=arguments;return me.a.wrap(function(yn){for(;;)switch(yn.prev=yn.next){case 0:nn=Ft.length>0&&Ft[0]!==void 0?Ft[0]:"",nn==""&&(zn.resetFields(),zn.setFieldsValue({})),Bi(nn);case 3:case"end":return yn.stop()}},Dt)}));return function(){return $t.apply(this,arguments)}}(),St=function(){var $t=Object(k.a)(me.a.mark(function Dt(){var nn,Ft,ln=arguments;return me.a.wrap(function(pn){for(;;)switch(pn.prev=pn.next){case 0:return nn=ln.length>0&&ln[0]!==void 0?ln[0]:Tt,et(!0),pn.next=4,Object(B.a)("/api/core_subject_computings.json",{method:"get",params:nn});case 4:Ft=pn.sent,(Ft==null?void 0:Ft.status)==0&&go(Ft==null?void 0:Ft.data),et(!1);case 7:case"end":return pn.stop()}},Dt)}));return function(){return $t.apply(this,arguments)}}();Object(Se.useEffect)(function(){St()},[Tt]);var jt=function(){var $t=Object(k.a)(me.a.mark(function Dt(nn){var Ft,ln;return me.a.wrap(function(pn){for(;;)switch(pn.prev=pn.next){case 0:return pn.next=2,Object(B.a)("/api/attachments/".concat(nn,"/detail.json"),{method:"get"});case 2:if(Ft=pn.sent,!((Ft==null?void 0:Ft.status)!==-1)){pn.next=10;break}if(!(Ft.file_type==="txt")){pn.next=9;break}return pn.next=7,Object(B.a)(Ft.url,{method:"get",headers:{"Content-Type":"application/xml"}});case 7:ln=pn.sent,ft.current=ln;case 9:vt({type:Ft.file_type,content:Ft.url+"&nocredentials=true"});case 10:return pn.next=12,Re("\u6587\u4EF6\u9884\u89C8");case 12:case"end":return pn.stop()}},Dt)}));return function(nn){return $t.apply(this,arguments)}}(),zt=function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},nn=[{children:"\u9884\u89C8",icon:te.a.createElement("i",{className:"iconfont icon-yulan1 font14 mr5"}),onClick:function(){jt(Dt==null?void 0:Dt.attachment_id)},isShow:Dt==null?void 0:Dt.attachment_id},{children:"\u67E5\u770B",className:"ml20",icon:te.a.createElement("i",{className:"iconfont icon-chakan11 mr5 font14"}),onClick:function(){var ln=I.a.confirm({className:"ConfirmModalOpenColseIconHideBtn",icon:null,title:"\u67E5\u770B\u7B80\u4ECB",maskClosable:!0,width:1200,centered:!0,content:te.a.createElement("div",{style:{height:700,overflow:"auto"},dangerouslySetInnerHTML:{__html:Dt==null?void 0:Dt.details}}),onCancel:function(){ln.destroy()}})},isShow:Dt==null?void 0:Dt.details},{children:"\u7F16\u8F91",className:"ml20",icon:te.a.createElement("i",{className:"iconfont icon-bianji-moren mr5 font14"}),onClick:function(){var ln,yn,pn;zn.setFieldsValue(Object(w.a)(Object(w.a)({},Dt),{},{details:Dt==null?void 0:Dt.details,publish_time:Mt()(Dt==null?void 0:Dt.publish_time),attachment_id:(Dt==null?void 0:Dt.attachment_id)&&[{uid:Dt==null||((ln=Dt.attachment)===null||ln===void 0)?void 0:ln.id,name:Dt==null||((yn=Dt.attachment)===null||yn===void 0)?void 0:yn.title,status:"down",response:{id:Dt==null||((pn=Dt.attachment)===null||pn===void 0)?void 0:pn.id}}]})),Re("\u7F16\u8F91\u91CF\u5B50\u8BA1\u7B97")},isShow:Object(fe.w)()},{children:"\u5220\u9664",className:"delete-hover ml20",icon:te.a.createElement("i",{className:"iconfont icon-shanchutimu mr5 font14"}),onClick:function(){var Ft=Object(k.a)(me.a.mark(function yn(){var pn;return me.a.wrap(function(Mr){for(;;)switch(Mr.prev=Mr.next){case 0:pn=I.a.confirm({title:"\u63D0\u793A",icon:null,content:"\u786E\u8BA4\u5220\u9664".concat(Dt==null?void 0:Dt.title,"\u5417\uFF1F"),okText:"\u786E\u5B9A\u5220\u9664",cancelText:"\u53D6\u6D88",onOk:function(){var Gn=Object(k.a)(me.a.mark(function Ai(){var en;return me.a.wrap(function(vr){for(;;)switch(vr.prev=vr.next){case 0:return vr.next=2,Object(B.a)("/api/core_subject_computings/".concat(Dt==null?void 0:Dt.id,".json"),{method:"delete"});case 2:en=vr.sent,en.status==0&&(A.b.success("\u5220\u9664\u6210\u529F"),St());case 4:case"end":return vr.stop()}},Ai)}));function ii(){return Gn.apply(this,arguments)}return ii}(),onCancel:function(){return pn.destroy()}});case 1:case"end":return Mr.stop()}},yn)}));function ln(){return Ft.apply(this,arguments)}return ln}(),style:{color:"#8E94A0"},isShow:Object(fe.w)()}].filter(function(Ft){return Ft==null?void 0:Ft.isShow});return nn};return te.a.createElement(ve.a,{spinning:st},te.a.createElement("section",null,te.a.createElement(J.a,{title:"\u91CF\u5B50\u8BA1\u7B97",sunTitle:"",dataSource:[{buttonShow:Object(fe.w)(),Button:te.a.createElement(z.a,{className:"".concat(Te.a.DivDownPlay),icon:te.a.createElement("i",{className:"iconfont icon-icon_xinyong_xianxing_jijin-249"}),onClick:function(){Bi("\u65B0\u5EFA\u91CF\u5B50\u8BA1\u7B97")}},"\u65B0\u5EFA\u91CF\u5B50\u8BA1\u7B97")}],bannerImg:"".concat(ye.a.IMG_SERVER,"/").concat(qt==null||((Er=qt.setting)===null||Er===void 0)?void 0:Er.core_banner_url),placeholder:"\u8BF7\u8F93\u5165\u91CF\u5B50\u8BA1\u7B97\u540D\u79F0\u641C\u7D22",onChange:function(Dt){Ve(Object(w.a)(Object(w.a)({},Tt),{},{keyword:Dt,page:1}))}}),te.a.createElement(J.i,{title:"\u77E5\u8BC6\u70B9",isId:!0,value:Tt==null?void 0:Tt.knowledge_points,dataSource:[{name:"\u5168\u90E8",id:null}].concat(Object(f.a)((Lr==null||((gn=Lr.tag)===null||gn===void 0)?void 0:gn.map(function($t){return{name:$t,id:$t}}))||[])),style:{width:1200,margin:"30px auto 10px"},onChange:function(Dt){Ve(Object(w.a)(Object(w.a)({},Tt),{},{knowledge_points:Dt}))},fontColor:"#333333"}),te.a.createElement("div",{style:{width:1200,margin:"30px auto 0"}},(Lr==null?void 0:Lr.total)>0?te.a.createElement(ue.a,{gutter:[20,20]},Lr==null||((vn=Lr.list)===null||vn===void 0)?void 0:vn.map(function($t){return te.a.createElement(F.a,{key:$t==null?void 0:$t.id,style:{width:"100%"}},te.a.createElement(Mn,{item:$t,UseEdit:zt($t)}))})):te.a.createElement(sn.a,null),te.a.createElement(ue.a,{className:"mt20",align:"middle",justify:"space-between"},te.a.createElement(F.a,null,"\u5171\xA0",te.a.createElement("span",{style:{color:"#165DFF"}},(Lr==null?void 0:Lr.total)||0),"\xA0\u6761\u6570\u636E"),te.a.createElement(F.a,null,te.a.createElement(ke.a,{showSizeChanger:!1,showQuickJumper:!0,current:Tt.page,pageSize:Tt.limit,onChange:function(Dt,nn){return Ve(Object(w.a)(Object(w.a)({},Tt),{},{page:Dt,limit:nn}))},total:(Lr==null?void 0:Lr.total)||0})))),te.a.createElement(Ce,{title:xr,visible:["\u65B0\u5EFA\u91CF\u5B50\u8BA1\u7B97","\u7F16\u8F91\u91CF\u5B50\u8BA1\u7B97"].includes(xr),form:zn,core_subject_tag:(Lr==null?void 0:Lr.core_subject_tag)||[],onCancel:function(){Re("")},confirmLoading:st,onOk:function(){return zn.submit()},handleFinish:function(){var $t=Object(k.a)(me.a.mark(function Dt(nn){var Ft,ln,yn,pn,Vn;return me.a.wrap(function(Gn){for(;;)switch(Gn.prev=Gn.next){case 0:if(console.log(nn),nn.attachment_id=(Ft=nn.attachment_id)===null||Ft===void 0||((ln=Ft[0])===null||ln===void 0||((yn=ln.response)===null||yn===void 0))?void 0:yn.id,et(!0),!(xr=="\u65B0\u5EFA\u91CF\u5B50\u8BA1\u7B97")){Gn.next=7;break}return Gn.next=6,Object(B.a)("/api/core_subject_computings.json",{method:"post",body:Object(w.a)({},nn)});case 6:Vn=Gn.sent;case 7:if(!(xr=="\u7F16\u8F91\u91CF\u5B50\u8BA1\u7B97")){Gn.next=11;break}return Gn.next=10,Object(B.a)("/api/core_subject_computings/".concat(nn.id,".json"),{method:"PUT",body:Object(w.a)({},nn)});case 10:Vn=Gn.sent;case 11:((pn=Vn)===null||pn===void 0?void 0:pn.status)==0&&(A.b.success(xr=="\u65B0\u5EFA\u91CF\u5B50\u8BA1\u7B97"?"\u6DFB\u52A0\u6210\u529F":"\u4FEE\u6539\u6210\u529F"),Ve(Object(w.a)(Object(w.a)({},Tt),{},{page:1,keyword:""})),Re("")),et(!1);case 13:case"end":return Gn.stop()}},Dt)}));return function(Dt){return $t.apply(this,arguments)}}()}),te.a.createElement(I.a,{title:xr,visible:xr=="\u6587\u4EF6\u9884\u89C8",destroyOnClose:!0,centered:!0,width:1200,footer:null,onCancel:function(){Re()}},te.a.createElement("div",{style:{height:700,overflow:"hidden",position:"relative"}},te.a.createElement(Dn.a,{data:it==null?void 0:it.content,type:it==null?void 0:it.type,disabledDownload:!Object(fe.p)(),style:{position:"absolute",zIndex:1,alignItems:"flex-start"},monacoEditor:{value:ft.current,language:"txt",onChange:function(){},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onClose:function(){return Re()}})))))},Pr=re.default=Object(xe.a)(function(Jr){var Ln=Jr.user,Er=Jr.loading,gn=Jr.globalSetting;return{user:Ln,loading:Er.effects,globalSetting:gn}})(Ir)},Vg4E:function(ht,re,O){},Vhoy:function(ht,re,O){"use strict";O.d(re,"d",function(){return ke}),O.d(re,"e",function(){return H}),O.d(re,"c",function(){return ue}),O.d(re,"b",function(){return pe}),O.d(re,"a",function(){return F});var oe=O("MI8n");class ve{constructor(){this._icons=new Map,this._onDidRegister=new oe.b}add(f){const V=this._icons.get(f.id);V?f.description?V.description=f.description:console.error(`Duplicate registration of codicon ${f.id}`):(this._icons.set(f.id,f),this._onDidRegister.fire(f))}get(f){return this._icons.get(f)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const We=new ve,ke=We;function H(f,V){return new pe(f,V)}function ue(f){return f?f.replace(/\$\((.*?)\)/g,(V,z)=>` ${z} `).trim():""}class pe{constructor(f,V,z){this.id=f,this.definition=V,this.description=z,We.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var F;(function(f){f.iconNameSegment="[A-Za-z0-9]+",f.iconNameExpression="[A-Za-z0-9\\-]+",f.iconModifierExpression="~[A-Za-z]+";const V=new RegExp(`^(${f.iconNameExpression})(${f.iconModifierExpression})?$`);function z(w){if(w instanceof pe)return["codicon","codicon-"+w.id];const S=V.exec(w.id);if(!S)return z(pe.error);let[,I,k]=S;const Z=["codicon","codicon-"+I];return k&&Z.push("codicon-modifier-"+k.substr(1)),Z}f.asClassNameArray=z;function j(w){return z(w).join(" ")}f.asClassName=j;function A(w){return"."+z(w).join(".")}f.asCSSSelector=A})(F||(F={})),function(f){f.add=new f("add",{fontCharacter:"\\ea60"}),f.plus=new f("plus",f.add.definition),f.gistNew=new f("gist-new",f.add.definition),f.repoCreate=new f("repo-create",f.add.definition),f.lightbulb=new f("lightbulb",{fontCharacter:"\\ea61"}),f.lightBulb=new f("light-bulb",{fontCharacter:"\\ea61"}),f.repo=new f("repo",{fontCharacter:"\\ea62"}),f.repoDelete=new f("repo-delete",{fontCharacter:"\\ea62"}),f.gistFork=new f("gist-fork",{fontCharacter:"\\ea63"}),f.repoForked=new f("repo-forked",{fontCharacter:"\\ea63"}),f.gitPullRequest=new f("git-pull-request",{fontCharacter:"\\ea64"}),f.gitPullRequestAbandoned=new f("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),f.recordKeys=new f("record-keys",{fontCharacter:"\\ea65"}),f.keyboard=new f("keyboard",{fontCharacter:"\\ea65"}),f.tag=new f("tag",{fontCharacter:"\\ea66"}),f.tagAdd=new f("tag-add",{fontCharacter:"\\ea66"}),f.tagRemove=new f("tag-remove",{fontCharacter:"\\ea66"}),f.person=new f("person",{fontCharacter:"\\ea67"}),f.personFollow=new f("person-follow",{fontCharacter:"\\ea67"}),f.personOutline=new f("person-outline",{fontCharacter:"\\ea67"}),f.personFilled=new f("person-filled",{fontCharacter:"\\ea67"}),f.gitBranch=new f("git-branch",{fontCharacter:"\\ea68"}),f.gitBranchCreate=new f("git-branch-create",{fontCharacter:"\\ea68"}),f.gitBranchDelete=new f("git-branch-delete",{fontCharacter:"\\ea68"}),f.sourceControl=new f("source-control",{fontCharacter:"\\ea68"}),f.mirror=new f("mirror",{fontCharacter:"\\ea69"}),f.mirrorPublic=new f("mirror-public",{fontCharacter:"\\ea69"}),f.star=new f("star",{fontCharacter:"\\ea6a"}),f.starAdd=new f("star-add",{fontCharacter:"\\ea6a"}),f.starDelete=new f("star-delete",{fontCharacter:"\\ea6a"}),f.starEmpty=new f("star-empty",{fontCharacter:"\\ea6a"}),f.comment=new f("comment",{fontCharacter:"\\ea6b"}),f.commentAdd=new f("comment-add",{fontCharacter:"\\ea6b"}),f.alert=new f("alert",{fontCharacter:"\\ea6c"}),f.warning=new f("warning",{fontCharacter:"\\ea6c"}),f.search=new f("search",{fontCharacter:"\\ea6d"}),f.searchSave=new f("search-save",{fontCharacter:"\\ea6d"}),f.logOut=new f("log-out",{fontCharacter:"\\ea6e"}),f.signOut=new f("sign-out",{fontCharacter:"\\ea6e"}),f.logIn=new f("log-in",{fontCharacter:"\\ea6f"}),f.signIn=new f("sign-in",{fontCharacter:"\\ea6f"}),f.eye=new f("eye",{fontCharacter:"\\ea70"}),f.eyeUnwatch=new f("eye-unwatch",{fontCharacter:"\\ea70"}),f.eyeWatch=new f("eye-watch",{fontCharacter:"\\ea70"}),f.circleFilled=new f("circle-filled",{fontCharacter:"\\ea71"}),f.primitiveDot=new f("primitive-dot",{fontCharacter:"\\ea71"}),f.closeDirty=new f("close-dirty",{fontCharacter:"\\ea71"}),f.debugBreakpoint=new f("debug-breakpoint",{fontCharacter:"\\ea71"}),f.debugBreakpointDisabled=new f("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),f.debugHint=new f("debug-hint",{fontCharacter:"\\ea71"}),f.primitiveSquare=new f("primitive-square",{fontCharacter:"\\ea72"}),f.edit=new f("edit",{fontCharacter:"\\ea73"}),f.pencil=new f("pencil",{fontCharacter:"\\ea73"}),f.info=new f("info",{fontCharacter:"\\ea74"}),f.issueOpened=new f("issue-opened",{fontCharacter:"\\ea74"}),f.gistPrivate=new f("gist-private",{fontCharacter:"\\ea75"}),f.gitForkPrivate=new f("git-fork-private",{fontCharacter:"\\ea75"}),f.lock=new f("lock",{fontCharacter:"\\ea75"}),f.mirrorPrivate=new f("mirror-private",{fontCharacter:"\\ea75"}),f.close=new f("close",{fontCharacter:"\\ea76"}),f.removeClose=new f("remove-close",{fontCharacter:"\\ea76"}),f.x=new f("x",{fontCharacter:"\\ea76"}),f.repoSync=new f("repo-sync",{fontCharacter:"\\ea77"}),f.sync=new f("sync",{fontCharacter:"\\ea77"}),f.clone=new f("clone",{fontCharacter:"\\ea78"}),f.desktopDownload=new f("desktop-download",{fontCharacter:"\\ea78"}),f.beaker=new f("beaker",{fontCharacter:"\\ea79"}),f.microscope=new f("microscope",{fontCharacter:"\\ea79"}),f.vm=new f("vm",{fontCharacter:"\\ea7a"}),f.deviceDesktop=new f("device-desktop",{fontCharacter:"\\ea7a"}),f.file=new f("file",{fontCharacter:"\\ea7b"}),f.fileText=new f("file-text",{fontCharacter:"\\ea7b"}),f.more=new f("more",{fontCharacter:"\\ea7c"}),f.ellipsis=new f("ellipsis",{fontCharacter:"\\ea7c"}),f.kebabHorizontal=new f("kebab-horizontal",{fontCharacter:"\\ea7c"}),f.mailReply=new f("mail-reply",{fontCharacter:"\\ea7d"}),f.reply=new f("reply",{fontCharacter:"\\ea7d"}),f.organization=new f("organization",{fontCharacter:"\\ea7e"}),f.organizationFilled=new f("organization-filled",{fontCharacter:"\\ea7e"}),f.organizationOutline=new f("organization-outline",{fontCharacter:"\\ea7e"}),f.newFile=new f("new-file",{fontCharacter:"\\ea7f"}),f.fileAdd=new f("file-add",{fontCharacter:"\\ea7f"}),f.newFolder=new f("new-folder",{fontCharacter:"\\ea80"}),f.fileDirectoryCreate=new f("file-directory-create",{fontCharacter:"\\ea80"}),f.trash=new f("trash",{fontCharacter:"\\ea81"}),f.trashcan=new f("trashcan",{fontCharacter:"\\ea81"}),f.history=new f("history",{fontCharacter:"\\ea82"}),f.clock=new f("clock",{fontCharacter:"\\ea82"}),f.folder=new f("folder",{fontCharacter:"\\ea83"}),f.fileDirectory=new f("file-directory",{fontCharacter:"\\ea83"}),f.symbolFolder=new f("symbol-folder",{fontCharacter:"\\ea83"}),f.logoGithub=new f("logo-github",{fontCharacter:"\\ea84"}),f.markGithub=new f("mark-github",{fontCharacter:"\\ea84"}),f.github=new f("github",{fontCharacter:"\\ea84"}),f.terminal=new f("terminal",{fontCharacter:"\\ea85"}),f.console=new f("console",{fontCharacter:"\\ea85"}),f.repl=new f("repl",{fontCharacter:"\\ea85"}),f.zap=new f("zap",{fontCharacter:"\\ea86"}),f.symbolEvent=new f("symbol-event",{fontCharacter:"\\ea86"}),f.error=new f("error",{fontCharacter:"\\ea87"}),f.stop=new f("stop",{fontCharacter:"\\ea87"}),f.variable=new f("variable",{fontCharacter:"\\ea88"}),f.symbolVariable=new f("symbol-variable",{fontCharacter:"\\ea88"}),f.array=new f("array",{fontCharacter:"\\ea8a"}),f.symbolArray=new f("symbol-array",{fontCharacter:"\\ea8a"}),f.symbolModule=new f("symbol-module",{fontCharacter:"\\ea8b"}),f.symbolPackage=new f("symbol-package",{fontCharacter:"\\ea8b"}),f.symbolNamespace=new f("symbol-namespace",{fontCharacter:"\\ea8b"}),f.symbolObject=new f("symbol-object",{fontCharacter:"\\ea8b"}),f.symbolMethod=new f("symbol-method",{fontCharacter:"\\ea8c"}),f.symbolFunction=new f("symbol-function",{fontCharacter:"\\ea8c"}),f.symbolConstructor=new f("symbol-constructor",{fontCharacter:"\\ea8c"}),f.symbolBoolean=new f("symbol-boolean",{fontCharacter:"\\ea8f"}),f.symbolNull=new f("symbol-null",{fontCharacter:"\\ea8f"}),f.symbolNumeric=new f("symbol-numeric",{fontCharacter:"\\ea90"}),f.symbolNumber=new f("symbol-number",{fontCharacter:"\\ea90"}),f.symbolStructure=new f("symbol-structure",{fontCharacter:"\\ea91"}),f.symbolStruct=new f("symbol-struct",{fontCharacter:"\\ea91"}),f.symbolParameter=new f("symbol-parameter",{fontCharacter:"\\ea92"}),f.symbolTypeParameter=new f("symbol-type-parameter",{fontCharacter:"\\ea92"}),f.symbolKey=new f("symbol-key",{fontCharacter:"\\ea93"}),f.symbolText=new f("symbol-text",{fontCharacter:"\\ea93"}),f.symbolReference=new f("symbol-reference",{fontCharacter:"\\ea94"}),f.goToFile=new f("go-to-file",{fontCharacter:"\\ea94"}),f.symbolEnum=new f("symbol-enum",{fontCharacter:"\\ea95"}),f.symbolValue=new f("symbol-value",{fontCharacter:"\\ea95"}),f.symbolRuler=new f("symbol-ruler",{fontCharacter:"\\ea96"}),f.symbolUnit=new f("symbol-unit",{fontCharacter:"\\ea96"}),f.activateBreakpoints=new f("activate-breakpoints",{fontCharacter:"\\ea97"}),f.archive=new f("archive",{fontCharacter:"\\ea98"}),f.arrowBoth=new f("arrow-both",{fontCharacter:"\\ea99"}),f.arrowDown=new f("arrow-down",{fontCharacter:"\\ea9a"}),f.arrowLeft=new f("arrow-left",{fontCharacter:"\\ea9b"}),f.arrowRight=new f("arrow-right",{fontCharacter:"\\ea9c"}),f.arrowSmallDown=new f("arrow-small-down",{fontCharacter:"\\ea9d"}),f.arrowSmallLeft=new f("arrow-small-left",{fontCharacter:"\\ea9e"}),f.arrowSmallRight=new f("arrow-small-right",{fontCharacter:"\\ea9f"}),f.arrowSmallUp=new f("arrow-small-up",{fontCharacter:"\\eaa0"}),f.arrowUp=new f("arrow-up",{fontCharacter:"\\eaa1"}),f.bell=new f("bell",{fontCharacter:"\\eaa2"}),f.bold=new f("bold",{fontCharacter:"\\eaa3"}),f.book=new f("book",{fontCharacter:"\\eaa4"}),f.bookmark=new f("bookmark",{fontCharacter:"\\eaa5"}),f.debugBreakpointConditionalUnverified=new f("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),f.debugBreakpointConditional=new f("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),f.debugBreakpointConditionalDisabled=new f("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),f.debugBreakpointDataUnverified=new f("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),f.debugBreakpointData=new f("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),f.debugBreakpointDataDisabled=new f("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),f.debugBreakpointLogUnverified=new f("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),f.debugBreakpointLog=new f("debug-breakpoint-log",{fontCharacter:"\\eaab"}),f.debugBreakpointLogDisabled=new f("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),f.briefcase=new f("briefcase",{fontCharacter:"\\eaac"}),f.broadcast=new f("broadcast",{fontCharacter:"\\eaad"}),f.browser=new f("browser",{fontCharacter:"\\eaae"}),f.bug=new f("bug",{fontCharacter:"\\eaaf"}),f.calendar=new f("calendar",{fontCharacter:"\\eab0"}),f.caseSensitive=new f("case-sensitive",{fontCharacter:"\\eab1"}),f.check=new f("check",{fontCharacter:"\\eab2"}),f.checklist=new f("checklist",{fontCharacter:"\\eab3"}),f.chevronDown=new f("chevron-down",{fontCharacter:"\\eab4"}),f.dropDownButton=new f("drop-down-button",f.chevronDown.definition),f.chevronLeft=new f("chevron-left",{fontCharacter:"\\eab5"}),f.chevronRight=new f("chevron-right",{fontCharacter:"\\eab6"}),f.chevronUp=new f("chevron-up",{fontCharacter:"\\eab7"}),f.chromeClose=new f("chrome-close",{fontCharacter:"\\eab8"}),f.chromeMaximize=new f("chrome-maximize",{fontCharacter:"\\eab9"}),f.chromeMinimize=new f("chrome-minimize",{fontCharacter:"\\eaba"}),f.chromeRestore=new f("chrome-restore",{fontCharacter:"\\eabb"}),f.circleOutline=new f("circle-outline",{fontCharacter:"\\eabc"}),f.debugBreakpointUnverified=new f("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),f.circleSlash=new f("circle-slash",{fontCharacter:"\\eabd"}),f.circuitBoard=new f("circuit-board",{fontCharacter:"\\eabe"}),f.clearAll=new f("clear-all",{fontCharacter:"\\eabf"}),f.clippy=new f("clippy",{fontCharacter:"\\eac0"}),f.closeAll=new f("close-all",{fontCharacter:"\\eac1"}),f.cloudDownload=new f("cloud-download",{fontCharacter:"\\eac2"}),f.cloudUpload=new f("cloud-upload",{fontCharacter:"\\eac3"}),f.code=new f("code",{fontCharacter:"\\eac4"}),f.collapseAll=new f("collapse-all",{fontCharacter:"\\eac5"}),f.colorMode=new f("color-mode",{fontCharacter:"\\eac6"}),f.commentDiscussion=new f("comment-discussion",{fontCharacter:"\\eac7"}),f.compareChanges=new f("compare-changes",{fontCharacter:"\\eafd"}),f.creditCard=new f("credit-card",{fontCharacter:"\\eac9"}),f.dash=new f("dash",{fontCharacter:"\\eacc"}),f.dashboard=new f("dashboard",{fontCharacter:"\\eacd"}),f.database=new f("database",{fontCharacter:"\\eace"}),f.debugContinue=new f("debug-continue",{fontCharacter:"\\eacf"}),f.debugDisconnect=new f("debug-disconnect",{fontCharacter:"\\ead0"}),f.debugPause=new f("debug-pause",{fontCharacter:"\\ead1"}),f.debugRestart=new f("debug-restart",{fontCharacter:"\\ead2"}),f.debugStart=new f("debug-start",{fontCharacter:"\\ead3"}),f.debugStepInto=new f("debug-step-into",{fontCharacter:"\\ead4"}),f.debugStepOut=new f("debug-step-out",{fontCharacter:"\\ead5"}),f.debugStepOver=new f("debug-step-over",{fontCharacter:"\\ead6"}),f.debugStop=new f("debug-stop",{fontCharacter:"\\ead7"}),f.debug=new f("debug",{fontCharacter:"\\ead8"}),f.deviceCameraVideo=new f("device-camera-video",{fontCharacter:"\\ead9"}),f.deviceCamera=new f("device-camera",{fontCharacter:"\\eada"}),f.deviceMobile=new f("device-mobile",{fontCharacter:"\\eadb"}),f.diffAdded=new f("diff-added",{fontCharacter:"\\eadc"}),f.diffIgnored=new f("diff-ignored",{fontCharacter:"\\eadd"}),f.diffModified=new f("diff-modified",{fontCharacter:"\\eade"}),f.diffRemoved=new f("diff-removed",{fontCharacter:"\\eadf"}),f.diffRenamed=new f("diff-renamed",{fontCharacter:"\\eae0"}),f.diff=new f("diff",{fontCharacter:"\\eae1"}),f.discard=new f("discard",{fontCharacter:"\\eae2"}),f.editorLayout=new f("editor-layout",{fontCharacter:"\\eae3"}),f.emptyWindow=new f("empty-window",{fontCharacter:"\\eae4"}),f.exclude=new f("exclude",{fontCharacter:"\\eae5"}),f.extensions=new f("extensions",{fontCharacter:"\\eae6"}),f.eyeClosed=new f("eye-closed",{fontCharacter:"\\eae7"}),f.fileBinary=new f("file-binary",{fontCharacter:"\\eae8"}),f.fileCode=new f("file-code",{fontCharacter:"\\eae9"}),f.fileMedia=new f("file-media",{fontCharacter:"\\eaea"}),f.filePdf=new f("file-pdf",{fontCharacter:"\\eaeb"}),f.fileSubmodule=new f("file-submodule",{fontCharacter:"\\eaec"}),f.fileSymlinkDirectory=new f("file-symlink-directory",{fontCharacter:"\\eaed"}),f.fileSymlinkFile=new f("file-symlink-file",{fontCharacter:"\\eaee"}),f.fileZip=new f("file-zip",{fontCharacter:"\\eaef"}),f.files=new f("files",{fontCharacter:"\\eaf0"}),f.filter=new f("filter",{fontCharacter:"\\eaf1"}),f.flame=new f("flame",{fontCharacter:"\\eaf2"}),f.foldDown=new f("fold-down",{fontCharacter:"\\eaf3"}),f.foldUp=new f("fold-up",{fontCharacter:"\\eaf4"}),f.fold=new f("fold",{fontCharacter:"\\eaf5"}),f.folderActive=new f("folder-active",{fontCharacter:"\\eaf6"}),f.folderOpened=new f("folder-opened",{fontCharacter:"\\eaf7"}),f.gear=new f("gear",{fontCharacter:"\\eaf8"}),f.gift=new f("gift",{fontCharacter:"\\eaf9"}),f.gistSecret=new f("gist-secret",{fontCharacter:"\\eafa"}),f.gist=new f("gist",{fontCharacter:"\\eafb"}),f.gitCommit=new f("git-commit",{fontCharacter:"\\eafc"}),f.gitCompare=new f("git-compare",{fontCharacter:"\\eafd"}),f.gitMerge=new f("git-merge",{fontCharacter:"\\eafe"}),f.githubAction=new f("github-action",{fontCharacter:"\\eaff"}),f.githubAlt=new f("github-alt",{fontCharacter:"\\eb00"}),f.globe=new f("globe",{fontCharacter:"\\eb01"}),f.grabber=new f("grabber",{fontCharacter:"\\eb02"}),f.graph=new f("graph",{fontCharacter:"\\eb03"}),f.gripper=new f("gripper",{fontCharacter:"\\eb04"}),f.heart=new f("heart",{fontCharacter:"\\eb05"}),f.home=new f("home",{fontCharacter:"\\eb06"}),f.horizontalRule=new f("horizontal-rule",{fontCharacter:"\\eb07"}),f.hubot=new f("hubot",{fontCharacter:"\\eb08"}),f.inbox=new f("inbox",{fontCharacter:"\\eb09"}),f.issueClosed=new f("issue-closed",{fontCharacter:"\\eba4"}),f.issueReopened=new f("issue-reopened",{fontCharacter:"\\eb0b"}),f.issues=new f("issues",{fontCharacter:"\\eb0c"}),f.italic=new f("italic",{fontCharacter:"\\eb0d"}),f.jersey=new f("jersey",{fontCharacter:"\\eb0e"}),f.json=new f("json",{fontCharacter:"\\eb0f"}),f.kebabVertical=new f("kebab-vertical",{fontCharacter:"\\eb10"}),f.key=new f("key",{fontCharacter:"\\eb11"}),f.law=new f("law",{fontCharacter:"\\eb12"}),f.lightbulbAutofix=new f("lightbulb-autofix",{fontCharacter:"\\eb13"}),f.linkExternal=new f("link-external",{fontCharacter:"\\eb14"}),f.link=new f("link",{fontCharacter:"\\eb15"}),f.listOrdered=new f("list-ordered",{fontCharacter:"\\eb16"}),f.listUnordered=new f("list-unordered",{fontCharacter:"\\eb17"}),f.liveShare=new f("live-share",{fontCharacter:"\\eb18"}),f.loading=new f("loading",{fontCharacter:"\\eb19"}),f.location=new f("location",{fontCharacter:"\\eb1a"}),f.mailRead=new f("mail-read",{fontCharacter:"\\eb1b"}),f.mail=new f("mail",{fontCharacter:"\\eb1c"}),f.markdown=new f("markdown",{fontCharacter:"\\eb1d"}),f.megaphone=new f("megaphone",{fontCharacter:"\\eb1e"}),f.mention=new f("mention",{fontCharacter:"\\eb1f"}),f.milestone=new f("milestone",{fontCharacter:"\\eb20"}),f.mortarBoard=new f("mortar-board",{fontCharacter:"\\eb21"}),f.move=new f("move",{fontCharacter:"\\eb22"}),f.multipleWindows=new f("multiple-windows",{fontCharacter:"\\eb23"}),f.mute=new f("mute",{fontCharacter:"\\eb24"}),f.noNewline=new f("no-newline",{fontCharacter:"\\eb25"}),f.note=new f("note",{fontCharacter:"\\eb26"}),f.octoface=new f("octoface",{fontCharacter:"\\eb27"}),f.openPreview=new f("open-preview",{fontCharacter:"\\eb28"}),f.package_=new f("package",{fontCharacter:"\\eb29"}),f.paintcan=new f("paintcan",{fontCharacter:"\\eb2a"}),f.pin=new f("pin",{fontCharacter:"\\eb2b"}),f.play=new f("play",{fontCharacter:"\\eb2c"}),f.run=new f("run",{fontCharacter:"\\eb2c"}),f.plug=new f("plug",{fontCharacter:"\\eb2d"}),f.preserveCase=new f("preserve-case",{fontCharacter:"\\eb2e"}),f.preview=new f("preview",{fontCharacter:"\\eb2f"}),f.project=new f("project",{fontCharacter:"\\eb30"}),f.pulse=new f("pulse",{fontCharacter:"\\eb31"}),f.question=new f("question",{fontCharacter:"\\eb32"}),f.quote=new f("quote",{fontCharacter:"\\eb33"}),f.radioTower=new f("radio-tower",{fontCharacter:"\\eb34"}),f.reactions=new f("reactions",{fontCharacter:"\\eb35"}),f.references=new f("references",{fontCharacter:"\\eb36"}),f.refresh=new f("refresh",{fontCharacter:"\\eb37"}),f.regex=new f("regex",{fontCharacter:"\\eb38"}),f.remoteExplorer=new f("remote-explorer",{fontCharacter:"\\eb39"}),f.remote=new f("remote",{fontCharacter:"\\eb3a"}),f.remove=new f("remove",{fontCharacter:"\\eb3b"}),f.replaceAll=new f("replace-all",{fontCharacter:"\\eb3c"}),f.replace=new f("replace",{fontCharacter:"\\eb3d"}),f.repoClone=new f("repo-clone",{fontCharacter:"\\eb3e"}),f.repoForcePush=new f("repo-force-push",{fontCharacter:"\\eb3f"}),f.repoPull=new f("repo-pull",{fontCharacter:"\\eb40"}),f.repoPush=new f("repo-push",{fontCharacter:"\\eb41"}),f.report=new f("report",{fontCharacter:"\\eb42"}),f.requestChanges=new f("request-changes",{fontCharacter:"\\eb43"}),f.rocket=new f("rocket",{fontCharacter:"\\eb44"}),f.rootFolderOpened=new f("root-folder-opened",{fontCharacter:"\\eb45"}),f.rootFolder=new f("root-folder",{fontCharacter:"\\eb46"}),f.rss=new f("rss",{fontCharacter:"\\eb47"}),f.ruby=new f("ruby",{fontCharacter:"\\eb48"}),f.saveAll=new f("save-all",{fontCharacter:"\\eb49"}),f.saveAs=new f("save-as",{fontCharacter:"\\eb4a"}),f.save=new f("save",{fontCharacter:"\\eb4b"}),f.screenFull=new f("screen-full",{fontCharacter:"\\eb4c"}),f.screenNormal=new f("screen-normal",{fontCharacter:"\\eb4d"}),f.searchStop=new f("search-stop",{fontCharacter:"\\eb4e"}),f.server=new f("server",{fontCharacter:"\\eb50"}),f.settingsGear=new f("settings-gear",{fontCharacter:"\\eb51"}),f.settings=new f("settings",{fontCharacter:"\\eb52"}),f.shield=new f("shield",{fontCharacter:"\\eb53"}),f.smiley=new f("smiley",{fontCharacter:"\\eb54"}),f.sortPrecedence=new f("sort-precedence",{fontCharacter:"\\eb55"}),f.splitHorizontal=new f("split-horizontal",{fontCharacter:"\\eb56"}),f.splitVertical=new f("split-vertical",{fontCharacter:"\\eb57"}),f.squirrel=new f("squirrel",{fontCharacter:"\\eb58"}),f.starFull=new f("star-full",{fontCharacter:"\\eb59"}),f.starHalf=new f("star-half",{fontCharacter:"\\eb5a"}),f.symbolClass=new f("symbol-class",{fontCharacter:"\\eb5b"}),f.symbolColor=new f("symbol-color",{fontCharacter:"\\eb5c"}),f.symbolConstant=new f("symbol-constant",{fontCharacter:"\\eb5d"}),f.symbolEnumMember=new f("symbol-enum-member",{fontCharacter:"\\eb5e"}),f.symbolField=new f("symbol-field",{fontCharacter:"\\eb5f"}),f.symbolFile=new f("symbol-file",{fontCharacter:"\\eb60"}),f.symbolInterface=new f("symbol-interface",{fontCharacter:"\\eb61"}),f.symbolKeyword=new f("symbol-keyword",{fontCharacter:"\\eb62"}),f.symbolMisc=new f("symbol-misc",{fontCharacter:"\\eb63"}),f.symbolOperator=new f("symbol-operator",{fontCharacter:"\\eb64"}),f.symbolProperty=new f("symbol-property",{fontCharacter:"\\eb65"}),f.wrench=new f("wrench",{fontCharacter:"\\eb65"}),f.wrenchSubaction=new f("wrench-subaction",{fontCharacter:"\\eb65"}),f.symbolSnippet=new f("symbol-snippet",{fontCharacter:"\\eb66"}),f.tasklist=new f("tasklist",{fontCharacter:"\\eb67"}),f.telescope=new f("telescope",{fontCharacter:"\\eb68"}),f.textSize=new f("text-size",{fontCharacter:"\\eb69"}),f.threeBars=new f("three-bars",{fontCharacter:"\\eb6a"}),f.thumbsdown=new f("thumbsdown",{fontCharacter:"\\eb6b"}),f.thumbsup=new f("thumbsup",{fontCharacter:"\\eb6c"}),f.tools=new f("tools",{fontCharacter:"\\eb6d"}),f.triangleDown=new f("triangle-down",{fontCharacter:"\\eb6e"}),f.triangleLeft=new f("triangle-left",{fontCharacter:"\\eb6f"}),f.triangleRight=new f("triangle-right",{fontCharacter:"\\eb70"}),f.triangleUp=new f("triangle-up",{fontCharacter:"\\eb71"}),f.twitter=new f("twitter",{fontCharacter:"\\eb72"}),f.unfold=new f("unfold",{fontCharacter:"\\eb73"}),f.unlock=new f("unlock",{fontCharacter:"\\eb74"}),f.unmute=new f("unmute",{fontCharacter:"\\eb75"}),f.unverified=new f("unverified",{fontCharacter:"\\eb76"}),f.verified=new f("verified",{fontCharacter:"\\eb77"}),f.versions=new f("versions",{fontCharacter:"\\eb78"}),f.vmActive=new f("vm-active",{fontCharacter:"\\eb79"}),f.vmOutline=new f("vm-outline",{fontCharacter:"\\eb7a"}),f.vmRunning=new f("vm-running",{fontCharacter:"\\eb7b"}),f.watch=new f("watch",{fontCharacter:"\\eb7c"}),f.whitespace=new f("whitespace",{fontCharacter:"\\eb7d"}),f.wholeWord=new f("whole-word",{fontCharacter:"\\eb7e"}),f.window=new f("window",{fontCharacter:"\\eb7f"}),f.wordWrap=new f("word-wrap",{fontCharacter:"\\eb80"}),f.zoomIn=new f("zoom-in",{fontCharacter:"\\eb81"}),f.zoomOut=new f("zoom-out",{fontCharacter:"\\eb82"}),f.listFilter=new f("list-filter",{fontCharacter:"\\eb83"}),f.listFlat=new f("list-flat",{fontCharacter:"\\eb84"}),f.listSelection=new f("list-selection",{fontCharacter:"\\eb85"}),f.selection=new f("selection",{fontCharacter:"\\eb85"}),f.listTree=new f("list-tree",{fontCharacter:"\\eb86"}),f.debugBreakpointFunctionUnverified=new f("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),f.debugBreakpointFunction=new f("debug-breakpoint-function",{fontCharacter:"\\eb88"}),f.debugBreakpointFunctionDisabled=new f("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),f.debugStackframeActive=new f("debug-stackframe-active",{fontCharacter:"\\eb89"}),f.debugStackframeDot=new f("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),f.debugStackframe=new f("debug-stackframe",{fontCharacter:"\\eb8b"}),f.debugStackframeFocused=new f("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),f.debugBreakpointUnsupported=new f("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),f.symbolString=new f("symbol-string",{fontCharacter:"\\eb8d"}),f.debugReverseContinue=new f("debug-reverse-continue",{fontCharacter:"\\eb8e"}),f.debugStepBack=new f("debug-step-back",{fontCharacter:"\\eb8f"}),f.debugRestartFrame=new f("debug-restart-frame",{fontCharacter:"\\eb90"}),f.callIncoming=new f("call-incoming",{fontCharacter:"\\eb92"}),f.callOutgoing=new f("call-outgoing",{fontCharacter:"\\eb93"}),f.menu=new f("menu",{fontCharacter:"\\eb94"}),f.expandAll=new f("expand-all",{fontCharacter:"\\eb95"}),f.feedback=new f("feedback",{fontCharacter:"\\eb96"}),f.groupByRefType=new f("group-by-ref-type",{fontCharacter:"\\eb97"}),f.ungroupByRefType=new f("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),f.account=new f("account",{fontCharacter:"\\eb99"}),f.bellDot=new f("bell-dot",{fontCharacter:"\\eb9a"}),f.debugConsole=new f("debug-console",{fontCharacter:"\\eb9b"}),f.library=new f("library",{fontCharacter:"\\eb9c"}),f.output=new f("output",{fontCharacter:"\\eb9d"}),f.runAll=new f("run-all",{fontCharacter:"\\eb9e"}),f.syncIgnored=new f("sync-ignored",{fontCharacter:"\\eb9f"}),f.pinned=new f("pinned",{fontCharacter:"\\eba0"}),f.githubInverted=new f("github-inverted",{fontCharacter:"\\eba1"}),f.debugAlt=new f("debug-alt",{fontCharacter:"\\eb91"}),f.serverProcess=new f("server-process",{fontCharacter:"\\eba2"}),f.serverEnvironment=new f("server-environment",{fontCharacter:"\\eba3"}),f.pass=new f("pass",{fontCharacter:"\\eba4"}),f.stopCircle=new f("stop-circle",{fontCharacter:"\\eba5"}),f.playCircle=new f("play-circle",{fontCharacter:"\\eba6"}),f.record=new f("record",{fontCharacter:"\\eba7"}),f.debugAltSmall=new f("debug-alt-small",{fontCharacter:"\\eba8"}),f.vmConnect=new f("vm-connect",{fontCharacter:"\\eba9"}),f.cloud=new f("cloud",{fontCharacter:"\\ebaa"}),f.merge=new f("merge",{fontCharacter:"\\ebab"}),f.exportIcon=new f("export",{fontCharacter:"\\ebac"}),f.graphLeft=new f("graph-left",{fontCharacter:"\\ebad"}),f.magnet=new f("magnet",{fontCharacter:"\\ebae"}),f.notebook=new f("notebook",{fontCharacter:"\\ebaf"}),f.redo=new f("redo",{fontCharacter:"\\ebb0"}),f.checkAll=new f("check-all",{fontCharacter:"\\ebb1"}),f.pinnedDirty=new f("pinned-dirty",{fontCharacter:"\\ebb2"}),f.passFilled=new f("pass-filled",{fontCharacter:"\\ebb3"}),f.circleLargeFilled=new f("circle-large-filled",{fontCharacter:"\\ebb4"}),f.circleLargeOutline=new f("circle-large-outline",{fontCharacter:"\\ebb5"}),f.combine=new f("combine",{fontCharacter:"\\ebb6"}),f.gather=new f("gather",{fontCharacter:"\\ebb6"}),f.table=new f("table",{fontCharacter:"\\ebb7"}),f.variableGroup=new f("variable-group",{fontCharacter:"\\ebb8"}),f.typeHierarchy=new f("type-hierarchy",{fontCharacter:"\\ebb9"}),f.typeHierarchySub=new f("type-hierarchy-sub",{fontCharacter:"\\ebba"}),f.typeHierarchySuper=new f("type-hierarchy-super",{fontCharacter:"\\ebbb"}),f.gitPullRequestCreate=new f("git-pull-request-create",{fontCharacter:"\\ebbc"}),f.runAbove=new f("run-above",{fontCharacter:"\\ebbd"}),f.runBelow=new f("run-below",{fontCharacter:"\\ebbe"}),f.notebookTemplate=new f("notebook-template",{fontCharacter:"\\ebbf"}),f.debugRerun=new f("debug-rerun",{fontCharacter:"\\ebc0"}),f.workspaceTrusted=new f("workspace-trusted",{fontCharacter:"\\ebc1"}),f.workspaceUntrusted=new f("workspace-untrusted",{fontCharacter:"\\ebc2"}),f.workspaceUnspecified=new f("workspace-unspecified",{fontCharacter:"\\ebc3"}),f.terminalCmd=new f("terminal-cmd",{fontCharacter:"\\ebc4"}),f.terminalDebian=new f("terminal-debian",{fontCharacter:"\\ebc5"}),f.terminalLinux=new f("terminal-linux",{fontCharacter:"\\ebc6"}),f.terminalPowershell=new f("terminal-powershell",{fontCharacter:"\\ebc7"}),f.terminalTmux=new f("terminal-tmux",{fontCharacter:"\\ebc8"}),f.terminalUbuntu=new f("terminal-ubuntu",{fontCharacter:"\\ebc9"}),f.terminalBash=new f("terminal-bash",{fontCharacter:"\\ebca"}),f.arrowSwap=new f("arrow-swap",{fontCharacter:"\\ebcb"}),f.copy=new f("copy",{fontCharacter:"\\ebcc"}),f.personAdd=new f("person-add",{fontCharacter:"\\ebcd"}),f.filterFilled=new f("filter-filled",{fontCharacter:"\\ebce"}),f.wand=new f("wand",{fontCharacter:"\\ebcf"}),f.debugLineByLine=new f("debug-line-by-line",{fontCharacter:"\\ebd0"}),f.inspect=new f("inspect",{fontCharacter:"\\ebd1"}),f.layers=new f("layers",{fontCharacter:"\\ebd2"}),f.layersDot=new f("layers-dot",{fontCharacter:"\\ebd3"}),f.layersActive=new f("layers-active",{fontCharacter:"\\ebd4"}),f.compass=new f("compass",{fontCharacter:"\\ebd5"}),f.compassDot=new f("compass-dot",{fontCharacter:"\\ebd6"}),f.compassActive=new f("compass-active",{fontCharacter:"\\ebd7"}),f.azure=new f("azure",{fontCharacter:"\\ebd8"}),f.issueDraft=new f("issue-draft",{fontCharacter:"\\ebd9"}),f.gitPullRequestClosed=new f("git-pull-request-closed",{fontCharacter:"\\ebda"}),f.gitPullRequestDraft=new f("git-pull-request-draft",{fontCharacter:"\\ebdb"}),f.debugAll=new f("debug-all",{fontCharacter:"\\ebdc"}),f.debugCoverage=new f("debug-coverage",{fontCharacter:"\\ebdd"}),f.runErrors=new f("run-errors",{fontCharacter:"\\ebde"}),f.folderLibrary=new f("folder-library",{fontCharacter:"\\ebdf"}),f.debugContinueSmall=new f("debug-continue-small",{fontCharacter:"\\ebe0"}),f.beakerStop=new f("beaker-stop",{fontCharacter:"\\ebe1"}),f.graphLine=new f("graph-line",{fontCharacter:"\\ebe2"}),f.graphScatter=new f("graph-scatter",{fontCharacter:"\\ebe3"}),f.pieChart=new f("pie-chart",{fontCharacter:"\\ebe4"}),f.bracket=new f("bracket",f.json.definition),f.bracketDot=new f("bracket-dot",{fontCharacter:"\\ebe5"}),f.bracketError=new f("bracket-error",{fontCharacter:"\\ebe6"}),f.lockSmall=new f("lock-small",{fontCharacter:"\\ebe7"}),f.azureDevops=new f("azure-devops",{fontCharacter:"\\ebe8"}),f.verifiedFilled=new f("verified-filled",{fontCharacter:"\\ebe9"})}(pe||(pe={}))},XhM9:function(ht,re){ht.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAAzZJREFUaEPt2W1IE3EcB/Dv3dzUPTTbfFi5RuiCkjJ6AEt8oLRAKQl9EfSiICL0RS+KXkT4IoogEExMcBQRvYogyZKIwDcmlPUiZxYI2YO4czG3qTn35G4XNyhEc9vd5u5mt3dj/7v7f37f3/9ud0cwDCPDOvoQEkjkaUoJiTwg/H8J5Vu+XqHBXAID3Rqk45IR5L2HtUXX6swIJWP/MRPSW8Z9YCBPxsFW28fVgwWOyQBZ2lGmciZ6nNig7vGkVC7aRO/XmTDlCXnHZoPlnRU5nxJBiQbEItx+OjTsCDXdqdK84IsSFYhF+GkmPGRbuNxRrevkgxIdiEXQDMEMUR5LW8XGC1xRogSxCIIgmPd2b//NA9o6LijRgv4gRp2BMbVBs/eiEcF4YKIHsYjx2eA0RZO7b+9TOmKh0gLEIuwLtPezO1jZVakdiYYSBShW1Zf8bnW1mPevJxBcLeYMCbS0AvoU/PXh0HJSQiuKJSX0j/7RZ5Fw+cNcOmvVsYKdFAxKGa6X56LGpEROpgzzwTAGKS9a3zgx8Yv/HYkgoGKtHP1NRmzIXPnIzxcK43gvheHpAK/EBAGxmD35WXD6aNx454LV4ccOnQKtZXoYNXJ8n1tE2aMJ0Ax3U8pBm1UZGD29NTLTxj4KAzbf31mX6BQYPGmKfK95Mgkrj5RSDtqVq4ClxoD5II36XgrhZSlMnCuCWk7ifP9P9HzxcI4o5aBoM6wqzMbThsLIkCM9k/jg4L6ORAHarlOg0axGc2kOVHISww4/antsnNNhNxAcdGiLEo/rN0FGEhEA5QnhxHMK3+YW0xPUVpmHszu1CNIMuj/Ooss6A3cCF1nBE2qvzsOZEi1e/VjAqZd2Xqks3UhwkFGdAXYNsS3Gt81EBVKQQEWhEkN2H7whHlfSZZkKntDd2gI0bdNgwOZFY99U+rfcg6MGNBSr8XbKh2PPqPQHaeQEDptUeG3zYiaQ+C2E4C2XcCRiW0MSKEYFpJZbXiDpIUmyF03STwopeGkcdw0ILLqazdnRxsd8WL/Gr/XjtoCAWwai3dFcfCshUPxHFMfImAmJY5rxz0ICxV8rYUZKCQlT9/iP+htQKA9TYDw82QAAAABJRU5ErkJggg=="},Y1PL:function(ht,re,O){"use strict";O.r(re),O.d(re,"ResizableTextArea",function(){return ce});var oe=O("wx14"),ve=O("1OyB"),We=O("vuIU"),ke=O("Ji7U"),H=O("LK+K"),ue=O("q1tI"),pe=O("VTBJ"),F=O("rePB"),f=O("Zm9Q"),V=O("Kwbf"),z=O("c+Xe"),j=O("m+aA"),A=O("bdgK"),w=new Map;function S(be){be.forEach(function(Be){var Qe,qe=Be.target;(Qe=w.get(qe))===null||Qe===void 0||Qe.forEach(function(Ie){return Ie(qe)})})}var I=new A.default(S),k=null,Z=null;function P(be,Be){w.has(be)||(w.set(be,new Set),I.observe(be)),w.get(be).add(Be)}function N(be,Be){w.has(be)&&(w.get(be).delete(Be),w.get(be).size||(I.unobserve(be),w.delete(be)))}var ie=function(be){Object(ke.a)(Qe,be);var Be=Object(H.a)(Qe);function Qe(){return Object(ve.a)(this,Qe),Be.apply(this,arguments)}return Object(We.a)(Qe,[{key:"render",value:function(){return this.props.children}}]),Qe}(ue.Component),me=ue.createContext(null);function Se(be){var Be=be.children,Qe=be.onBatchResize,qe=ue.useRef(0),Ie=ue.useRef([]),Rt=ue.useContext(me),K=ue.useCallback(function(se,$,je){qe.current+=1;var tt=qe.current;Ie.current.push({size:se,element:$,data:je}),Promise.resolve().then(function(){tt===qe.current&&(Qe==null||Qe(Ie.current),Ie.current=[])}),Rt==null||Rt(se,$,je)},[Qe,Rt]);return ue.createElement(me.Provider,{value:K},Be)}function te(be){var Be=be.children,Qe=be.disabled,qe=ue.useRef(null),Ie=ue.useRef(null),Rt=ue.useContext(me),K=ue.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),se=ue.isValidElement(Be)&&Object(z.c)(Be),$=se?Be.ref:null,je=ue.useMemo(function(){return Object(z.a)($,qe)},[$,qe]),tt=ue.useRef(be);tt.current=be;var ct=ue.useCallback(function(Lt){var Zt=tt.current,ee=Zt.onResize,Ae=Zt.data,ze=Lt.getBoundingClientRect(),Ye=ze.width,Mt=ze.height,hn=Lt.offsetWidth,Mn=Lt.offsetHeight,Dn=Math.floor(Ye),sn=Math.floor(Mt);if(K.current.width!==Dn||K.current.height!==sn||K.current.offsetWidth!==hn||K.current.offsetHeight!==Mn){var Ir={width:Dn,height:sn,offsetWidth:hn,offsetHeight:Mn};K.current=Ir;var Pr=hn===Math.round(Ye)?Ye:hn,Jr=Mn===Math.round(Mt)?Mt:Mn,Ln=Object(pe.a)(Object(pe.a)({},Ir),{},{offsetWidth:Pr,offsetHeight:Jr});Rt==null||Rt(Ln,Lt,Ae),ee&&Promise.resolve().then(function(){ee(Ln,Lt)})}},[]);return ue.useEffect(function(){var Lt=Object(j.a)(qe.current)||Object(j.a)(Ie.current);return Lt&&!Qe&&P(Lt,ct),function(){return N(Lt,ct)}},[qe.current,Qe]),ue.createElement(ie,{ref:Ie},se?ue.cloneElement(Be,{ref:je}):Be)}var xe="rc-observer-key";function Ue(be){var Be=be.children,Qe=Object(f.a)(Be);return Qe.map(function(qe,Ie){var Rt=(qe==null?void 0:qe.key)||"".concat(xe,"-").concat(Ie);return ue.createElement(te,Object(oe.a)({},be,{key:Rt}),qe)})}Ue.Collection=Se;var Te=Ue,ye=O("bT9E"),fe=O("TSYQ"),J=O.n(fe),B=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important
`,Y=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],le={},M;function b(be){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qe=be.getAttribute("id")||be.getAttribute("data-reactid")||be.getAttribute("name");if(Be&&le[Qe])return le[Qe];var qe=window.getComputedStyle(be),Ie=qe.getPropertyValue("box-sizing")||qe.getPropertyValue("-moz-box-sizing")||qe.getPropertyValue("-webkit-box-sizing"),Rt=parseFloat(qe.getPropertyValue("padding-bottom"))+parseFloat(qe.getPropertyValue("padding-top")),K=parseFloat(qe.getPropertyValue("border-bottom-width"))+parseFloat(qe.getPropertyValue("border-top-width")),se=Y.map(function(je){return"".concat(je,":").concat(qe.getPropertyValue(je))}).join(";"),$={sizingStyle:se,paddingSize:Rt,borderSize:K,boxSizing:Ie};return Be&&Qe&&(le[Qe]=$),$}function C(be){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,qe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;M||(M=document.createElement("textarea"),M.setAttribute("tab-index","-1"),M.setAttribute("aria-hidden","true"),document.body.appendChild(M)),be.getAttribute("wrap")?M.setAttribute("wrap",be.getAttribute("wrap")):M.removeAttribute("wrap");var Ie=b(be,Be),Rt=Ie.paddingSize,K=Ie.borderSize,se=Ie.boxSizing,$=Ie.sizingStyle;M.setAttribute("style","".concat($,";").concat(B)),M.value=be.value||be.placeholder||"";var je=Number.MIN_SAFE_INTEGER,tt=Number.MAX_SAFE_INTEGER,ct=M.scrollHeight,Lt;if(se==="border-box"?ct+=K:se==="content-box"&&(ct-=Rt),Qe!==null||qe!==null){M.value=" ";var Zt=M.scrollHeight-Rt;Qe!==null&&(je=Zt*Qe,se==="border-box"&&(je=je+Rt+K),ct=Math.max(je,ct)),qe!==null&&(tt=Zt*qe,se==="border-box"&&(tt=tt+Rt+K),Lt=ct>tt?"":"hidden",ct=Math.min(tt,ct))}return{height:ct,minHeight:je,maxHeight:tt,overflowY:Lt,resize:"none"}}var D=O("Gytx"),v=O.n(D),L;(function(be){be[be.NONE=0]="NONE",be[be.RESIZING=1]="RESIZING",be[be.RESIZED=2]="RESIZED"})(L||(L={}));var G=function(be){Object(ke.a)(Qe,be);var Be=Object(H.a)(Qe);function Qe(qe){var Ie;return Object(ve.a)(this,Qe),Ie=Be.call(this,qe),Ie.nextFrameActionId=void 0,Ie.resizeFrameId=void 0,Ie.textArea=void 0,Ie.saveTextArea=function(Rt){Ie.textArea=Rt},Ie.handleResize=function(Rt){var K=Ie.state.resizeStatus,se=Ie.props,$=se.autoSize,je=se.onResize;if(K!==L.NONE)return;typeof je=="function"&&je(Rt),$&&Ie.resizeOnNextFrame()},Ie.resizeOnNextFrame=function(){cancelAnimationFrame(Ie.nextFrameActionId),Ie.nextFrameActionId=requestAnimationFrame(Ie.resizeTextarea)},Ie.resizeTextarea=function(){var Rt=Ie.props.autoSize;if(!Rt||!Ie.textArea)return;var K=Rt.minRows,se=Rt.maxRows,$=C(Ie.textArea,!1,K,se);Ie.setState({textareaStyles:$,resizeStatus:L.RESIZING},function(){cancelAnimationFrame(Ie.resizeFrameId),Ie.resizeFrameId=requestAnimationFrame(function(){Ie.setState({resizeStatus:L.RESIZED},function(){Ie.resizeFrameId=requestAnimationFrame(function(){Ie.setState({resizeStatus:L.NONE}),Ie.fixFirefoxAutoScroll()})})})})},Ie.renderTextArea=function(){var Rt=Ie.props,K=Rt.prefixCls,se=K===void 0?"rc-textarea":K,$=Rt.autoSize,je=Rt.onResize,tt=Rt.className,ct=Rt.disabled,Lt=Ie.state,Zt=Lt.textareaStyles,ee=Lt.resizeStatus,Ae=Object(ye.a)(Ie.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),ze=J()(se,tt,Object(F.a)({},"".concat(se,"-disabled"),ct));"value"in Ae&&(Ae.value=Ae.value||"");var Ye=Object(pe.a)(Object(pe.a)(Object(pe.a)({},Ie.props.style),Zt),ee===L.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return ue.createElement(Te,{onResize:Ie.handleResize,disabled:!($||je)},ue.createElement("textarea",Object(oe.a)({},Ae,{className:ze,style:Ye,ref:Ie.saveTextArea})))},Ie.state={textareaStyles:{},resizeStatus:L.NONE},Ie}return Object(We.a)(Qe,[{key:"componentDidUpdate",value:function(Ie){(Ie.value!==this.props.value||!v()(Ie.autoSize,this.props.autoSize))&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var Ie=this.textArea.selectionStart,Rt=this.textArea.selectionEnd;this.textArea.setSelectionRange(Ie,Rt)}}catch(K){}}},{key:"render",value:function(){return this.renderTextArea()}}]),Qe}(ue.Component),ce=G,Ce=function(be){Object(ke.a)(Qe,be);var Be=Object(H.a)(Qe);function Qe(qe){var Ie;Object(ve.a)(this,Qe),Ie=Be.call(this,qe),Ie.resizableTextArea=void 0,Ie.focus=function(){Ie.resizableTextArea.textArea.focus()},Ie.saveTextArea=function(K){Ie.resizableTextArea=K},Ie.handleChange=function(K){var se=Ie.props.onChange;Ie.setValue(K.target.value,function(){Ie.resizableTextArea.resizeTextarea()}),se&&se(K)},Ie.handleKeyDown=function(K){var se=Ie.props,$=se.onPressEnter,je=se.onKeyDown;K.keyCode===13&&$&&$(K),je&&je(K)};var Rt=typeof qe.value=="undefined"||qe.value===null?qe.defaultValue:qe.value;return Ie.state={value:Rt},Ie}return Object(We.a)(Qe,[{key:"setValue",value:function(Ie,Rt){"value"in this.props||this.setState({value:Ie},Rt)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return ue.createElement(ce,Object(oe.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(Ie){return"value"in Ie?{value:Ie.value}:null}}]),Qe}(ue.Component),Ge=re.default=Ce},ZJlW:function(ht,re,O){ht.exports={flex_box_center:"flex_box_center___XZ1Hd",flex_space_between:"flex_space_between___2oG4i",flex_box_vertical_center:"flex_box_vertical_center___1UWtb",flex_box_center_end:"flex_box_center_end___1o2xT",flex_box_column:"flex_box_column___SlAE0",list:"list___1HvWe",wrap:"wrap___10sri",lockWrap:"lockWrap___2djiu",li:"li___2W_zn",cover:"cover___2FS3L",img:"img___cyxrw",sign:"sign___1cxDK",name:"name___3tYlu",e:"e___1-orw",unit:"unit___ycOgg",tags:"tags___2FRpJ",tag:"tag___1e0XO"}},ZW9T:function(ht,re,O){"use strict";O.d(re,"a",function(){return D});var oe=O("k1fw"),ve=O("oBTY"),We=O("miYZ"),ke=O("tsqr"),H=O("rAM+"),ue=O("tJVT"),pe=O("PpiC"),F=O("q1tI"),f=O.n(F),V=O("bdgK"),z=O("9og8"),j=O("WmNS"),A=O.n(j),w={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},S={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},I={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
`)},{label:"if",content:["if () {"," $0","}"].join(`
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
`)},{label:"include <vector>",content:["#include <vector>"].join(`
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
`)},{label:"include <map>",content:["#include <map>"].join(`
`)},{label:"include <string>",content:["#include <string>"].join(`
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
`)}]},k={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},Z=O("5VLF"),P=O.n(Z),N={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},ie=function(L,G){return G.map(function(ce){return{label:ce,kind:L.languages.CompletionItemKind.Keyword,insertText:ce}})},me=function(L){return Object.keys(N.tables).map(function(G){return{label:G,kind:L.languages.CompletionItemKind.Variable,insertText:G}})},Se=function(L,G){var ce=N.tables[L];return ce?ce.map(function(Ce){return{label:Ce,kind:G.languages.CompletionItemKind.Field,insertText:Ce}}):[]};function te(v,L,G,ce,Ce){var Ge=L.getWordUntilPosition(G),be={startLineNumber:G.lineNumber,endLineNumber:G.lineNumber,startColumn:Ge.startColumn,endColumn:Ge.endColumn},Be=ce.map(function(Qe){return{label:Qe,kind:v.languages.CompletionItemKind.Keyword,insertText:Qe,insertTextRules:v.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:be}});return Ce.map(function(Qe){Be.push(Object(oe.a)(Object(oe.a)({},Qe),{},{range:be}))}),Be}var xe=function(v){N.languages.map(function(Ce){return v.languages.registerDocumentFormattingEditProvider(Ce,{provideDocumentFormattingEdits:function(be,Be,Qe){return Object(z.a)(A.a.mark(function qe(){var Ie;return A.a.wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return Ie=P()(be.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1}),K.abrupt("return",[{range:be.getFullModelRange(),text:Ie}]);case 2:case"end":return K.stop()}},qe)}))()}}),Ce});var L=I.quickKey.map(function(Ce){return{label:Ce.label,kind:v.languages.CompletionItemKind.Method,insertText:Ce.content,insertTextRules:v.languages.CompletionItemInsertTextRule.InsertAsSnippet}}),G=k.quickKey.map(function(Ce){return{label:Ce.label,kind:v.languages.CompletionItemKind.Method,insertText:Ce.content,insertTextRules:v.languages.CompletionItemInsertTextRule.InsertAsSnippet}}),ce=S.quickKey.map(function(Ce){return{label:Ce.label,kind:v.languages.CompletionItemKind.Method,insertText:Ce.content,insertTextRules:v.languages.CompletionItemInsertTextRule.InsertAsSnippet}});v.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(Ge,be){var Be=Ge.getWordUntilPosition(be),Qe={startLineNumber:be.lineNumber,endLineNumber:be.lineNumber,startColumn:Be.startColumn,endColumn:Be.endColumn},qe=Ge.getLineContent(be.lineNumber).substring(Be.startColumn-2,Be.endColumn);return{suggestions:[].concat(Object(ve.a)(I.keywords.map(function(Ie){return{label:Ie,kind:v.languages.CompletionItemKind.Function,documentation:Ie,insertText:Ie,insertTextRules:v.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe}})),Object(ve.a)(I.quickKey.map(function(Ie){return{label:Ie.label,kind:v.languages.CompletionItemKind.Function,documentation:Ie.content,insertText:qe.startsWith("#")?Ie.content.replace(/#/,""):Ie.content,insertTextRules:v.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe}})))}}}),v.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(Ge,be){var Be=Ge.getWordUntilPosition(be),Qe={startLineNumber:be.lineNumber,endLineNumber:be.lineNumber,startColumn:Be.startColumn,endColumn:Be.endColumn};return{suggestions:Object(ve.a)(w.keywords.map(function(qe){return{label:qe,kind:v.languages.CompletionItemKind.Function,documentation:qe,insertText:qe,insertTextRules:v.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe}}))}}}),v.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(Ge,be){var Be=Ge.getWordUntilPosition(be),Qe={startLineNumber:be.lineNumber,endLineNumber:be.lineNumber,startColumn:Be.startColumn,endColumn:Be.endColumn},qe=Ge.getLineContent(be.lineNumber).substring(Be.startColumn-2,Be.endColumn);return{suggestions:[].concat(Object(ve.a)(S.keywords.map(function(Ie){return{label:Ie,kind:v.languages.CompletionItemKind.Function,documentation:Ie,insertText:Ie,insertTextRules:v.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe}})),Object(ve.a)(S.quickKey.map(function(Ie){return{label:Ie.label,kind:v.languages.CompletionItemKind.Function,documentation:Ie.content,insertText:qe.startsWith("#")?Ie.content.replace(/#/,""):Ie.content,insertTextRules:v.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe}})))}}}),v.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(Ge,be){var Be=Ge.getWordUntilPosition(be),Qe={startLineNumber:be.lineNumber,endLineNumber:be.lineNumber,startColumn:Be.startColumn,endColumn:Be.endColumn},qe=Ge.getLineContent(be.lineNumber).substring(Be.startColumn-2,Be.endColumn);return{suggestions:[].concat(Object(ve.a)(k.keywords.map(function(Ie){return{label:Ie,kind:v.languages.CompletionItemKind.Function,documentation:Ie,insertText:Ie,insertTextRules:v.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe}})),Object(ve.a)(k.quickKey.map(function(Ie){return{label:Ie.label,kind:v.languages.CompletionItemKind.Function,documentation:Ie.content,insertText:qe.startsWith("#")?Ie.content.replace(/#/,""):Ie.content,insertTextRules:v.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe}})))}}})},Ue="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002",Te=O("fjLI"),ye=O("LvDl"),fe=O("+ua5");function J(v){return/^\d+$/.test(v)?"".concat(v,"px"):v}function B(){}var Y=!1,le={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python"};function M(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],L=v;if(Array.isArray(v)){for(var G=0;G<v.length;G++){var ce=le[v[G]];if(ce)return ce}return L[0]}return le[L]||L}var b=null,C=re.b=function(v){var L=v.width,G=L===void 0?"100%":L,ce=v.height,Ce=ce===void 0?"100%":ce,Ge=v.value,be=v.language,Be=be===void 0?"javascript":be,Qe=v.style,qe=Qe===void 0?{}:Qe,Ie=v.options,Rt=Ie===void 0?{}:Ie,K=v.overrideServices,se=K===void 0?{}:K,$=v.theme,je=$===void 0?"vs-dark":$,tt=v.onEditBlur,ct=v.onSave,Lt=v.autoHeight,Zt=Lt===void 0?!1:Lt,ee=v.forbidCopy,Ae=ee===void 0?!1:ee,ze=v.onChange,Ye=ze===void 0?B:ze,Mt=v.editorDidMount,hn=Mt===void 0?B:Mt,Mn=v.onFocus,Dn=Mn===void 0?B:Mn,sn=v.filename,Ir=sn===void 0?"educoder.txt":sn,Pr=v.errorLine,Jr=v.errorContent,Ln=Jr===void 0?"":Jr,Er=Object(pe.a)(v,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","filename","errorLine","errorContent"]),gn=Object(F.useRef)(),vn=Object(F.useRef)({}),In=Object(F.useRef)(),qt=Object(F.useRef)(),fr=Object(F.useRef)(!1),jn=Object(F.useRef)(),zn=Object(F.useState)(!1),Ur=Object(ue.a)(zn,2),mr=Ur[0],xr=Ur[1];function Bi(){var ft;return gn.current&&(ft=new V.default(function(Re){var St=Object(H.a)(Re),jt;try{for(St.s();!(jt=St.n()).done;){var zt=jt.value;(zt.target.offsetHeight>0||zt.target.offsetWidth>0)&&vn.current.instance.layout()}}catch($t){St.e($t)}finally{St.f()}}),ft.observe(gn.current)),ft}function ko(){ke.b.warn(decodeURIComponent(Ue))}var xo=function(){var Re=vn.current.instance;if(Ge!=null&&Re&&mr){var St=Re.getModel();St&&Ge!==St.getValue()&&(Y=!0,St.setValue(Ge),Re.layout(),Y=!1)}};Object(F.useEffect)(function(){qt.current&&clearTimeout(qt.current),qt.current=setTimeout(function(){xo()},500)},[Ge,mr,vn.current]),Object(F.useEffect)(function(){if(Pr&&vn.current&&vn.current.instance){var ft=vn.current.instance;ft.changeViewZones(function(St){var jt=document.createElement("div");jt.style.padding="10px 20px",jt.style.width="calc(100% - 20px)",jt.className="my-error-line-wrp",jt.innerHTML=Ln,St.addZone({afterLineNumber:Pr||11,heightInLines:3,domNode:jt})});var Re={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};ft.addOverlayWidget(Re),ft.revealPositionInCenter({lineNumber:20,column:1})}},[Pr,vn.current,mr]);function Lr(){var ft=vn.current.instance;if(ft){var Re=ft.getSelection(),St=vn.current.pastePos||{},jt=new b.Range(St.startLineNumber||Re.endLineNumber,St.startColumn||Re.endColumn,St.endLineNumber||Re.endLineNumber,St.endColumn||Re.endColumn);setTimeout(function(){ft.executeEdits("",[{range:jt,text:""}])},300)}}function go(ft){(window.navigator.platform.match("Mac")?ft.metaKey:ft.ctrlKey)&&ft.keyCode==83&&(ft.preventDefault(),ct())}var tn=function(){if(Zt&&vn.current.instance){var Re=vn.current.instance.getContentHeight();it(Re<Ce?Ce:Re)}else it(Ce)};function at(ft){var Re=document.createEvent("MouseEvents");Re.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),ft.dispatchEvent(Re)}function Tt(ft,Re){var St=window.URL||window.webkitURL||window,jt=new Blob([Re]),zt=document.createElementNS("http://www.w3.org/1999/xhtml","a");zt.href=St.createObjectURL(jt),zt.download=ft,at(zt)}Object(F.useEffect)(function(){tn()},[tn]),Object(F.useEffect)(function(){gn.current&&!mr&&Promise.all([O.e(18),O.e(29)]).then(O.t.bind(null,"M/lh",7)).then(function(ft){try{b=ft,vn.current.instance=b.editor.create(gn.current,{value:Ge,language:M(Be),theme:je,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},se);var Re=vn.current.instance,St=Te.d._menuItems,jt=Object(ve.a)(St).find(function(Ft){return Ft[0]._debugName=="EditorContext"}),zt=jt[1],$t=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Dt=function(ln,yn){var pn=ln._first;do{var Vn,Mr,Gn=yn.includes((Vn=pn.element)===null||Vn===void 0||((Mr=Vn.command)===null||Mr===void 0)?void 0:Mr.id);Gn&&ln._remove(pn)}while(pn=pn.next)};if(hn(Re,b),setTimeout(function(){tn(),vn.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:function(){Tt(Ir||"educoder.txt",Re.getValue())}}),Re.getDomNode().addEventListener("input",function(){In.current.autoFormat&&Re.getAction("editor.action.formatDocument").run()})},500),vn.current.subscription=Re.onDidChangeModelContent(function(Ft){fr.current?clearTimeout(jn.current):(tn(),Ye(Re.getValue(),Ft)),jn.current=setTimeout(function(){fr.current=!1},500)}),window.Monaco||xe(b,M(Be)),Ae&&(Dt(zt,$t),gn.current.classList.add("noCopyPaste"),Re.onKeyDown(function(Ft){var ln=Ft.keyCode,yn=Ft.ctrlKey,pn=Ft.metaKey;(ln===33||ln===52)&&(pn||yn)&&(ko(),Ft.preventDefault())})),window.Monaco=b,tt&&Re.onDidBlurEditorWidget(function(){tt(Re.getValue())}),Dn&&Re.onDidFocusEditorText(function(){Dn(Re.getValue())}),Ae){Re.addCommand(b.KeyMod.CtrlCmd|b.KeyCode.KEY_V,function(){return ko(),null}),Re.onDidPaste(function(Ft){vn.current.pastePos=Ft});try{window.addEventListener("paste",Lr)}catch(Ft){}}var nn=Bi();return xr(!0),function(){var Ft=vn.current.instance;Ft.dispose();var ln=Ft.getModel();ln&&ln.dispose(),vn.current.subscription&&vn.current.subscription.dispose(),Ae&&window.removeEventListener("paste",Lr),nn.unobserve(gn.current)}}catch(Ft){}})},[]),Object(F.useEffect)(function(){var ft=vn.current.instance;if(ft&&mr)return document.addEventListener("keydown",go,!1),function(){document.removeEventListener("keydown",go)}},[ct,mr]),Object(F.useEffect)(function(){var ft=vn.current.instance;if(ft&&mr){var Re=M(Be);b.editor.setModelLanguage(ft.getModel(),Re),console.log("language:",Be,ft.getModel(),Re)}},[Be,mr]),Object(F.useEffect)(function(){var ft=vn.current.instance;ft&&mr&&b.editor.setTheme(je)},[je,mr]),Object(F.useEffect)(function(){var ft=vn.current.instance;In.current=Rt,ft&&mr&&(ft.updateOptions(Object(oe.a)({},Rt)),setTimeout(function(){ft.getModel().updateOptions(Object(oe.a)({},Rt))},200))},[JSON.stringify(Rt),mr]),Object(F.useEffect)(function(){var ft=vn.current.instance;ft&&mr&&ft.layout()},[G,Ce,mr]);var Ve=Object(F.useState)(J(G)),Q=Object(ue.a)(Ve,2),he=Q[0],st=Q[1],et=Object(F.useState)(J(Ce)),Ut=Object(ue.a)(et,2),Ht=Ut[0],it=Ut[1],vt=Object(oe.a)(Object(oe.a)({},qe),{},{width:he,height:Ht});return f.a.createElement("div",{className:"my-monaco-editor",ref:gn,style:vt})};function D(v){var L=v.width,G=L===void 0?"100%":L,ce=v.height,Ce=ce===void 0?"100%":ce,Ge=v.original,be=v.modified,Be=v.language,Qe=v.options,qe=Qe===void 0?{}:Qe,Ie=Object(F.useRef)(),Rt=Object(F.useState)(null),K=Object(ue.a)(Rt,2),se=K[0],$=K[1];function je(Zt){var ee;return Ie.current&&(ee=new V.default(function(Ae){var ze=Object(H.a)(Ae),Ye;try{for(ze.s();!(Ye=ze.n()).done;){var Mt=Ye.value;(Mt.target.offsetHeight>0||Mt.target.offsetWidth>0)&&Zt.layout()}}catch(hn){ze.e(hn)}finally{ze.f()}}),ee.observe(Ie.current)),ee}Object(F.useEffect)(function(){Ie.current&&Promise.all([O.e(18),O.e(29)]).then(O.t.bind(null,"M/lh",7)).then(function(Zt){b=Zt;var ee=b.editor.createDiffEditor(Ie.current,Object(oe.a)(Object(oe.a)({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",ignoreTrimWhitespace:!1,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},qe),{},{wordWrap:!0}));$(ee);var Ae=je(ee);return function(){ee.dispose();var ze=ee.getModel();ze&&ze.dispose(),Ae.unobserve(Ie.current)}})},[]),Object(F.useEffect)(function(){se&&se.setModel({original:b.editor.createModel(Ge,Be),modified:b.editor.createModel(be,Be)})},[Ge,be,Be,se]);var tt=J(G),ct=J(Ce),Lt={width:tt,height:ct};return f.a.createElement("div",{className:"my-diff-editor",ref:Ie,style:Lt})}},Zss7:function(ht,re,O){var oe;(function(ve){var We=/^\s+/,ke=/\s+$/,H=0,ue=ve.round,pe=ve.min,F=ve.max,f=ve.random;function V(K,se){if(K=K||"",se=se||{},K instanceof V)return K;if(!(this instanceof V))return new V(K,se);var $=z(K);this._originalInput=K,this._r=$.r,this._g=$.g,this._b=$.b,this._a=$.a,this._roundA=ue(100*this._a)/100,this._format=se.format||$.format,this._gradientType=se.gradientType,this._r<1&&(this._r=ue(this._r)),this._g<1&&(this._g=ue(this._g)),this._b<1&&(this._b=ue(this._b)),this._ok=$.ok,this._tc_id=H++}V.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var K=this.toRgb();return(K.r*299+K.g*587+K.b*114)/1e3},getLuminance:function(){var K=this.toRgb(),se,$,je,tt,ct,Lt;return se=K.r/255,$=K.g/255,je=K.b/255,se<=.03928?tt=se/12.92:tt=ve.pow((se+.055)/1.055,2.4),$<=.03928?ct=$/12.92:ct=ve.pow(($+.055)/1.055,2.4),je<=.03928?Lt=je/12.92:Lt=ve.pow((je+.055)/1.055,2.4),.2126*tt+.7152*ct+.0722*Lt},setAlpha:function(K){return this._a=C(K),this._roundA=ue(100*this._a)/100,this},toHsv:function(){var K=S(this._r,this._g,this._b);return{h:K.h*360,s:K.s,v:K.v,a:this._a}},toHsvString:function(){var K=S(this._r,this._g,this._b),se=ue(K.h*360),$=ue(K.s*100),je=ue(K.v*100);return this._a==1?"hsv("+se+", "+$+"%, "+je+"%)":"hsva("+se+", "+$+"%, "+je+"%, "+this._roundA+")"},toHsl:function(){var K=A(this._r,this._g,this._b);return{h:K.h*360,s:K.s,l:K.l,a:this._a}},toHslString:function(){var K=A(this._r,this._g,this._b),se=ue(K.h*360),$=ue(K.s*100),je=ue(K.l*100);return this._a==1?"hsl("+se+", "+$+"%, "+je+"%)":"hsla("+se+", "+$+"%, "+je+"%, "+this._roundA+")"},toHex:function(K){return k(this._r,this._g,this._b,K)},toHexString:function(K){return"#"+this.toHex(K)},toHex8:function(K){return Z(this._r,this._g,this._b,this._a,K)},toHex8String:function(K){return"#"+this.toHex8(K)},toRgb:function(){return{r:ue(this._r),g:ue(this._g),b:ue(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+ue(this._r)+", "+ue(this._g)+", "+ue(this._b)+")":"rgba("+ue(this._r)+", "+ue(this._g)+", "+ue(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:ue(D(this._r,255)*100)+"%",g:ue(D(this._g,255)*100)+"%",b:ue(D(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+ue(D(this._r,255)*100)+"%, "+ue(D(this._g,255)*100)+"%, "+ue(D(this._b,255)*100)+"%)":"rgba("+ue(D(this._r,255)*100)+"%, "+ue(D(this._g,255)*100)+"%, "+ue(D(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:M[k(this._r,this._g,this._b,!0)]||!1},toFilter:function(K){var se="#"+P(this._r,this._g,this._b,this._a),$=se,je=this._gradientType?"GradientType = 1, ":"";if(K){var tt=V(K);$="#"+P(tt._r,tt._g,tt._b,tt._a)}return"progid:DXImageTransform.Microsoft.gradient("+je+"startColorstr="+se+",endColorstr="+$+")"},toString:function(K){var se=!!K;K=K||this._format;var $=!1,je=this._a<1&&this._a>=0,tt=!se&&je&&(K==="hex"||K==="hex6"||K==="hex3"||K==="hex4"||K==="hex8"||K==="name");return tt?K==="name"&&this._a===0?this.toName():this.toRgbString():(K==="rgb"&&($=this.toRgbString()),K==="prgb"&&($=this.toPercentageRgbString()),(K==="hex"||K==="hex6")&&($=this.toHexString()),K==="hex3"&&($=this.toHexString(!0)),K==="hex4"&&($=this.toHex8String(!0)),K==="hex8"&&($=this.toHex8String()),K==="name"&&($=this.toName()),K==="hsl"&&($=this.toHslString()),K==="hsv"&&($=this.toHsvString()),$||this.toHexString())},clone:function(){return V(this.toString())},_applyModification:function(K,se){var $=K.apply(null,[this].concat([].slice.call(se)));return this._r=$._r,this._g=$._g,this._b=$._b,this.setAlpha($._a),this},lighten:function(){return this._applyModification(Se,arguments)},brighten:function(){return this._applyModification(te,arguments)},darken:function(){return this._applyModification(xe,arguments)},desaturate:function(){return this._applyModification(N,arguments)},saturate:function(){return this._applyModification(ie,arguments)},greyscale:function(){return this._applyModification(me,arguments)},spin:function(){return this._applyModification(Ue,arguments)},_applyCombination:function(K,se){return K.apply(null,[this].concat([].slice.call(se)))},analogous:function(){return this._applyCombination(B,arguments)},complement:function(){return this._applyCombination(Te,arguments)},monochromatic:function(){return this._applyCombination(Y,arguments)},splitcomplement:function(){return this._applyCombination(J,arguments)},triad:function(){return this._applyCombination(ye,arguments)},tetrad:function(){return this._applyCombination(fe,arguments)}},V.fromRatio=function(K,se){if(typeof K=="object"){var $={};for(var je in K)K.hasOwnProperty(je)&&(je==="a"?$[je]=K[je]:$[je]=Ge(K[je]));K=$}return V(K,se)};function z(K){var se={r:0,g:0,b:0},$=1,je=null,tt=null,ct=null,Lt=!1,Zt=!1;return typeof K=="string"&&(K=Ie(K)),typeof K=="object"&&(qe(K.r)&&qe(K.g)&&qe(K.b)?(se=j(K.r,K.g,K.b),Lt=!0,Zt=String(K.r).substr(-1)==="%"?"prgb":"rgb"):qe(K.h)&&qe(K.s)&&qe(K.v)?(je=Ge(K.s),tt=Ge(K.v),se=I(K.h,je,tt),Lt=!0,Zt="hsv"):qe(K.h)&&qe(K.s)&&qe(K.l)&&(je=Ge(K.s),ct=Ge(K.l),se=w(K.h,je,ct),Lt=!0,Zt="hsl"),K.hasOwnProperty("a")&&($=K.a)),$=C($),{ok:Lt,format:K.format||Zt,r:pe(255,F(se.r,0)),g:pe(255,F(se.g,0)),b:pe(255,F(se.b,0)),a:$}}function j(K,se,$){return{r:D(K,255)*255,g:D(se,255)*255,b:D($,255)*255}}function A(K,se,$){K=D(K,255),se=D(se,255),$=D($,255);var je=F(K,se,$),tt=pe(K,se,$),ct,Lt,Zt=(je+tt)/2;if(je==tt)ct=Lt=0;else{var ee=je-tt;Lt=Zt>.5?ee/(2-je-tt):ee/(je+tt);switch(je){case K:ct=(se-$)/ee+(se<$?6:0);break;case se:ct=($-K)/ee+2;break;case $:ct=(K-se)/ee+4;break}ct/=6}return{h:ct,s:Lt,l:Zt}}function w(K,se,$){var je,tt,ct;K=D(K,360),se=D(se,100),$=D($,100);function Lt(Ae,ze,Ye){return Ye<0&&(Ye+=1),Ye>1&&(Ye-=1),Ye<1/6?Ae+(ze-Ae)*6*Ye:Ye<1/2?ze:Ye<2/3?Ae+(ze-Ae)*(2/3-Ye)*6:Ae}if(se===0)je=tt=ct=$;else{var Zt=$<.5?$*(1+se):$+se-$*se,ee=2*$-Zt;je=Lt(ee,Zt,K+1/3),tt=Lt(ee,Zt,K),ct=Lt(ee,Zt,K-1/3)}return{r:je*255,g:tt*255,b:ct*255}}function S(K,se,$){K=D(K,255),se=D(se,255),$=D($,255);var je=F(K,se,$),tt=pe(K,se,$),ct,Lt,Zt=je,ee=je-tt;if(Lt=je===0?0:ee/je,je==tt)ct=0;else{switch(je){case K:ct=(se-$)/ee+(se<$?6:0);break;case se:ct=($-K)/ee+2;break;case $:ct=(K-se)/ee+4;break}ct/=6}return{h:ct,s:Lt,v:Zt}}function I(K,se,$){K=D(K,360)*6,se=D(se,100),$=D($,100);var je=ve.floor(K),tt=K-je,ct=$*(1-se),Lt=$*(1-tt*se),Zt=$*(1-(1-tt)*se),ee=je%6,Ae=[$,Lt,ct,ct,Zt,$][ee],ze=[Zt,$,$,Lt,ct,ct][ee],Ye=[ct,ct,Zt,$,$,Lt][ee];return{r:Ae*255,g:ze*255,b:Ye*255}}function k(K,se,$,je){var tt=[Ce(ue(K).toString(16)),Ce(ue(se).toString(16)),Ce(ue($).toString(16))];return je&&tt[0].charAt(0)==tt[0].charAt(1)&&tt[1].charAt(0)==tt[1].charAt(1)&&tt[2].charAt(0)==tt[2].charAt(1)?tt[0].charAt(0)+tt[1].charAt(0)+tt[2].charAt(0):tt.join("")}function Z(K,se,$,je,tt){var ct=[Ce(ue(K).toString(16)),Ce(ue(se).toString(16)),Ce(ue($).toString(16)),Ce(be(je))];return tt&&ct[0].charAt(0)==ct[0].charAt(1)&&ct[1].charAt(0)==ct[1].charAt(1)&&ct[2].charAt(0)==ct[2].charAt(1)&&ct[3].charAt(0)==ct[3].charAt(1)?ct[0].charAt(0)+ct[1].charAt(0)+ct[2].charAt(0)+ct[3].charAt(0):ct.join("")}function P(K,se,$,je){var tt=[Ce(be(je)),Ce(ue(K).toString(16)),Ce(ue(se).toString(16)),Ce(ue($).toString(16))];return tt.join("")}V.equals=function(K,se){return!K||!se?!1:V(K).toRgbString()==V(se).toRgbString()},V.random=function(){return V.fromRatio({r:f(),g:f(),b:f()})};function N(K,se){se=se===0?0:se||10;var $=V(K).toHsl();return $.s-=se/100,$.s=v($.s),V($)}function ie(K,se){se=se===0?0:se||10;var $=V(K).toHsl();return $.s+=se/100,$.s=v($.s),V($)}function me(K){return V(K).desaturate(100)}function Se(K,se){se=se===0?0:se||10;var $=V(K).toHsl();return $.l+=se/100,$.l=v($.l),V($)}function te(K,se){se=se===0?0:se||10;var $=V(K).toRgb();return $.r=F(0,pe(255,$.r-ue(255*-(se/100)))),$.g=F(0,pe(255,$.g-ue(255*-(se/100)))),$.b=F(0,pe(255,$.b-ue(255*-(se/100)))),V($)}function xe(K,se){se=se===0?0:se||10;var $=V(K).toHsl();return $.l-=se/100,$.l=v($.l),V($)}function Ue(K,se){var $=V(K).toHsl(),je=($.h+se)%360;return $.h=je<0?360+je:je,V($)}function Te(K){var se=V(K).toHsl();return se.h=(se.h+180)%360,V(se)}function ye(K){var se=V(K).toHsl(),$=se.h;return[V(K),V({h:($+120)%360,s:se.s,l:se.l}),V({h:($+240)%360,s:se.s,l:se.l})]}function fe(K){var se=V(K).toHsl(),$=se.h;return[V(K),V({h:($+90)%360,s:se.s,l:se.l}),V({h:($+180)%360,s:se.s,l:se.l}),V({h:($+270)%360,s:se.s,l:se.l})]}function J(K){var se=V(K).toHsl(),$=se.h;return[V(K),V({h:($+72)%360,s:se.s,l:se.l}),V({h:($+216)%360,s:se.s,l:se.l})]}function B(K,se,$){se=se||6,$=$||30;var je=V(K).toHsl(),tt=360/$,ct=[V(K)];for(je.h=(je.h-(tt*se>>1)+720)%360;--se;)je.h=(je.h+tt)%360,ct.push(V(je));return ct}function Y(K,se){se=se||6;for(var $=V(K).toHsv(),je=$.h,tt=$.s,ct=$.v,Lt=[],Zt=1/se;se--;)Lt.push(V({h:je,s:tt,v:ct})),ct=(ct+Zt)%1;return Lt}V.mix=function(K,se,$){$=$===0?0:$||50;var je=V(K).toRgb(),tt=V(se).toRgb(),ct=$/100,Lt={r:(tt.r-je.r)*ct+je.r,g:(tt.g-je.g)*ct+je.g,b:(tt.b-je.b)*ct+je.b,a:(tt.a-je.a)*ct+je.a};return V(Lt)},V.readability=function(K,se){var $=V(K),je=V(se);return(ve.max($.getLuminance(),je.getLuminance())+.05)/(ve.min($.getLuminance(),je.getLuminance())+.05)},V.isReadable=function(K,se,$){var je=V.readability(K,se),tt,ct;ct=!1,tt=Rt($);switch(tt.level+tt.size){case"AAsmall":case"AAAlarge":ct=je>=4.5;break;case"AAlarge":ct=je>=3;break;case"AAAsmall":ct=je>=7;break}return ct},V.mostReadable=function(K,se,$){var je=null,tt=0,ct,Lt,Zt,ee;$=$||{},Lt=$.includeFallbackColors,Zt=$.level,ee=$.size;for(var Ae=0;Ae<se.length;Ae++)ct=V.readability(K,se[Ae]),ct>tt&&(tt=ct,je=V(se[Ae]));return V.isReadable(K,je,{level:Zt,size:ee})||!Lt?je:($.includeFallbackColors=!1,V.mostReadable(K,["#fff","#000"],$))};var le=V.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},M=V.hexNames=b(le);function b(K){var se={};for(var $ in K)K.hasOwnProperty($)&&(se[K[$]]=$);return se}function C(K){return K=parseFloat(K),(isNaN(K)||K<0||K>1)&&(K=1),K}function D(K,se){G(K)&&(K="100%");var $=ce(K);return K=pe(se,F(0,parseFloat(K))),$&&(K=parseInt(K*se,10)/100),ve.abs(K-se)<1e-6?1:K%se/parseFloat(se)}function v(K){return pe(1,F(0,K))}function L(K){return parseInt(K,16)}function G(K){return typeof K=="string"&&K.indexOf(".")!=-1&&parseFloat(K)===1}function ce(K){return typeof K=="string"&&K.indexOf("%")!=-1}function Ce(K){return K.length==1?"0"+K:""+K}function Ge(K){return K<=1&&(K=K*100+"%"),K}function be(K){return ve.round(parseFloat(K)*255).toString(16)}function Be(K){return L(K)/255}var Qe=function(){var K="[-\\+]?\\d+%?",se="[-\\+]?\\d*\\.\\d+%?",$="(?:"+se+")|(?:"+K+")",je="[\\s|\\(]+("+$+")[,|\\s]+("+$+")[,|\\s]+("+$+")\\s*\\)?",tt="[\\s|\\(]+("+$+")[,|\\s]+("+$+")[,|\\s]+("+$+")[,|\\s]+("+$+")\\s*\\)?";return{CSS_UNIT:new RegExp($),rgb:new RegExp("rgb"+je),rgba:new RegExp("rgba"+tt),hsl:new RegExp("hsl"+je),hsla:new RegExp("hsla"+tt),hsv:new RegExp("hsv"+je),hsva:new RegExp("hsva"+tt),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function qe(K){return!!Qe.CSS_UNIT.exec(K)}function Ie(K){K=K.replace(We,"").replace(ke,"").toLowerCase();var se=!1;if(le[K])K=le[K],se=!0;else if(K=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var $;return($=Qe.rgb.exec(K))?{r:$[1],g:$[2],b:$[3]}:($=Qe.rgba.exec(K))?{r:$[1],g:$[2],b:$[3],a:$[4]}:($=Qe.hsl.exec(K))?{h:$[1],s:$[2],l:$[3]}:($=Qe.hsla.exec(K))?{h:$[1],s:$[2],l:$[3],a:$[4]}:($=Qe.hsv.exec(K))?{h:$[1],s:$[2],v:$[3]}:($=Qe.hsva.exec(K))?{h:$[1],s:$[2],v:$[3],a:$[4]}:($=Qe.hex8.exec(K))?{r:L($[1]),g:L($[2]),b:L($[3]),a:Be($[4]),format:se?"name":"hex8"}:($=Qe.hex6.exec(K))?{r:L($[1]),g:L($[2]),b:L($[3]),format:se?"name":"hex"}:($=Qe.hex4.exec(K))?{r:L($[1]+""+$[1]),g:L($[2]+""+$[2]),b:L($[3]+""+$[3]),a:Be($[4]+""+$[4]),format:se?"name":"hex8"}:($=Qe.hex3.exec(K))?{r:L($[1]+""+$[1]),g:L($[2]+""+$[2]),b:L($[3]+""+$[3]),format:se?"name":"hex"}:!1}function Rt(K){var se,$;return K=K||{level:"AA",size:"small"},se=(K.level||"AA").toUpperCase(),$=(K.size||"small").toLowerCase(),se!=="AA"&&se!=="AAA"&&(se="AA"),$!=="small"&&$!=="large"&&($="small"),{level:se,size:$}}ht.exports?ht.exports=V:!(oe=function(){return V}.call(re,O,re,ht),oe!==void 0&&(ht.exports=oe))})(Math)},bT9E:function(ht,re,O){"use strict";O.d(re,"a",function(){return ve});var oe=O("VTBJ");function ve(We,ke){var H=Object(oe.a)({},We);return Array.isArray(ke)&&ke.forEach(function(ue){delete H[ue]}),H}},cFMs:function(ht,re){ht.exports="data:image/png;base64,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"},cejO:function(ht,re){ht.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAABIRJREFUaEPtml1oHFUUx//nzswmaZNso0lTNNAUTGtb8UFb44v9MEQs1NYiQoqiRh/0RRCsCtqCFqFBSrX4JggRqk3yUB+qUCSE2hTMhxELokJiWo2xTZs1SROyn3OP7G52dtmd7M7O7qy7uvM4c885/9/93537MUvMrOA/dFEZqMjdLDtU5Abhf+7QWGcLdP/rYPkIGHeBVBXKmrhpodv2DCT8oXtm5+Syd1Srv/tt7Onz2ksEqw6NCYycegNSHgO4MlaMt74Hcm8xavPkGdDNr2xpCd28gdDfsxCatkCu6jbt6cEf7SSyNuRGDh+F5HeTC/B9J0HVTcZt+VsfxK1zdnQgBhQOJkUJiNo1u7SD332fbbLMQD907kTAOwhATQHafhJUkwA00Qsx+2W2GiLtE4EiUEIJKuvce9UDl4aySZgZaLijF4ynzJLyti5QbXPcofHPITzns6lvtE0GWnEqqFS729VDly5bTWoB6PA0mBvNEgaXq0Bag/FIVGmgjfsAiMg98s8Af/Za0mIGFIVSQ0rdHY+r+wcuWklkBSgA5qjCDJdctxfi3peNVqz7QaPPZwqLPNfnPAjOXDdtS4qqK+76feqB/oFMyTIDDXWEMiWJPZfuPRBbX7EFxIEAAtfGwZJNywnN5XNtaG5C27n5dHqKBigsUi4uIHjjL7Cum2pW3XUX1EOD+50DqmgAXPVGfn3ZBzQ9CaLoCOXFKSiePqsGR9tJCfb7TKFIiCv06PkHHQPi7V2gmvhbjid7wFfPhFEiNUnVQBXGPJwdmFlrwjJae2odBMrfPGSZ9uGelPkwMTan3xDncWItCiC55ThE3WZDi/y1G2L+gmVttho66ZB+2wvJa1d0MZSGFtDmF42JFb7roIkPbeleNchJoOSiucxDlqnLQMldVaCVQlE6pAfXguvbAKKovqVpqKGstzTp2Qo55CJKQuGl38p6TCiAsLSutWwQCg5kXZq9lo4C3bkLvPFZQE04KInJDC6Brn4KzI/aE75alJNAvO0EqHbTqoJ59gpo4kQJASUtfVLmJc/PEOPHy0Bpe8DRIZfgEMv4xpZEdEEsS9EhaNUIXXwJFJwzOpZd66G2dYMXJktvyPHSFMTvp1NGiWw5Ft7ilR4QpA/0y9EkIALf/xHY6yktILnpCETjDvD8T9EzuNhGorIpcuYtpwYgpj8pnbdcyOsCGtsBLbYnStDuXwDd6odSZX6CY5vSybdcbO3GLFP0RU5+1LTbf3tMjgPZk2U/Kmeg4Y4gGCv7Afs68haZM9BQR/jAOX4inzdlNhIRzaL17IZ0kVaOscIffJ6wUT7/IURfo/XswdyARp7bDQ70/+vDjsAQle3Y2Z32s0pmh8LdMfxMF1g/kv8uzyKjEKfw0BdvZoqwBnStW8PMN++D5WsACv3fIB1CnMb6x95B8wvB/ADFsox2PgDpfQug3WCOf3bIVMXO8/ALAPwtlIoPsOOzMasprDlklm3iYxU1fgdmTgCLFSHc86rlD22J8uwDWe2yArcrAxW4w7MuV3Yo6y4rcMA/JZNzUzMJvf0AAAAASUVORK5CYII="},cz0n:function(ht,re,O){ht.exports={flex_box_center:"flex_box_center___G8W6i",flex_space_between:"flex_space_between___1p_ZB",flex_box_vertical_center:"flex_box_vertical_center___2wivF",flex_box_center_end:"flex_box_center_end___y5a20",flex_box_column:"flex_box_column___6oXp3",tabs:"tabs___sKski",active:"active___10xGM"}},"f0W+":function(ht,re,O){ht.exports={flex_box_center:"flex_box_center___2AWuG",flex_space_between:"flex_space_between___4j1zo",flex_box_vertical_center:"flex_box_vertical_center___3dWcm",flex_box_center_end:"flex_box_center_end___qvHJi",flex_box_column:"flex_box_column___3Eier",tabs:"tabs___25WKT",tabsWrap:"tabsWrap___2lPJE",active:"active___gGp9s"}},f9pc:function(ht,re,O){ht.exports={flex_box_center:"flex_box_center___fO1Sq",flex_space_between:"flex_space_between___2MANs",flex_box_vertical_center:"flex_box_vertical_center___2x-su",flex_box_center_end:"flex_box_center_end___6bZNq",flex_box_column:"flex_box_column___CGTHC",quickPager:"quickPager___2XH6F",disabled:"disabled___2gPWV"}},fgAr:function(ht,re,O){ht.exports={flex_box_center:"flex_box_center___3W32R",flex_space_between:"flex_space_between___2uUoZ",flex_box_vertical_center:"flex_box_vertical_center___3Oxpz",flex_box_center_end:"flex_box_center_end___2tkyR",flex_box_column:"flex_box_column___2IFiF",btns:"btns___1c8D8",confirm:"confirm___2gIuB",cancel:"cancel___1ssuo"}},fjLI:function(ht,re,O){"use strict";O.d(re,"f",function(){return A}),O.d(re,"b",function(){return w}),O.d(re,"a",function(){return S}),O.d(re,"d",function(){return I}),O.d(re,"e",function(){return k}),O.d(re,"c",function(){return Z});var oe=O("8HAY"),ve=O("Vhoy"),We=O("MI8n"),ke=O("JYp7"),H=O("pmY6"),ue=O("24hK"),pe=O("nnTU"),F=O("T8No"),f=O("Cg/j"),V=O("t9D7"),z=function(P,N,ie,me){var Se=arguments.length,te=Se<3?N:me===null?me=Object.getOwnPropertyDescriptor(N,ie):me,xe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")te=Reflect.decorate(P,N,ie,me);else for(var Ue=P.length-1;Ue>=0;Ue--)(xe=P[Ue])&&(te=(Se<3?xe(te):Se>3?xe(N,ie,te):xe(N,ie))||te);return Se>3&&te&&Object.defineProperty(N,ie,te),te},j=function(P,N){return function(ie,me){N(ie,me,P)}};function A(P){return P.command!==void 0}class w{constructor(P){this.id=w._idPool++,this._debugName=P}}w._idPool=0,w.CommandPalette=new w("CommandPalette"),w.EditorContext=new w("EditorContext"),w.SimpleEditorContext=new w("SimpleEditorContext"),w.EditorContextCopy=new w("EditorContextCopy"),w.EditorContextPeek=new w("EditorContextPeek"),w.MenubarEditMenu=new w("MenubarEditMenu"),w.MenubarCopy=new w("MenubarCopy"),w.MenubarGoMenu=new w("MenubarGoMenu"),w.MenubarSelectionMenu=new w("MenubarSelectionMenu"),w.InlineCompletionsActions=new w("InlineCompletionsActions");const S=Object(f.c)("menuService"),I=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new We.b,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:P=>P===w.CommandPalette}}addCommand(P){return this.addCommands(ke.a.single(P))}addCommands(P){for(const N of P)this._commands.set(N.id,N);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),Object(H.i)(()=>{let N=!1;for(const ie of P)N=this._commands.delete(ie.id)||N;N&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(P){return this._commands.get(P)}getCommands(){const P=new Map;return this._commands.forEach((N,ie)=>P.set(ie,N)),P}appendMenuItem(P,N){return this.appendMenuItems(ke.a.single({id:P,item:N}))}appendMenuItems(P){const N=new Set,ie=new ue.a;for(const{id:me,item:Se}of P){let te=this._menuItems.get(me);te||(te=new ue.a,this._menuItems.set(me,te)),ie.push(te.push(Se)),N.add(me)}return this._onDidChangeMenu.fire(N),Object(H.i)(()=>{if(ie.size>0){for(let me of ie)me();this._onDidChangeMenu.fire(N),ie.clear()}})}getMenuItems(P){let N;return this._menuItems.has(P)?N=[...this._menuItems.get(P)]:N=[],P===w.CommandPalette&&this._appendImplicitItems(N),N}_appendImplicitItems(P){const N=new Set;for(const ie of P)A(ie)&&(N.add(ie.command.id),ie.alt&&N.add(ie.alt.id));this._commands.forEach((ie,me)=>{N.has(me)||P.push({command:ie})})}};class k extends oe.e{constructor(P,N,ie,me){super(`submenuitem.${P.submenu.id}`,typeof P.title=="string"?P.title:P.title.value,[],"submenu");this.item=P,this._menuService=N,this._contextKeyService=ie,this._options=me}get actions(){const P=[],N=this._menuService.createMenu(this.item.submenu,this._contextKeyService),ie=N.getActions(this._options);N.dispose();for(const[,me]of ie)me.length>0&&(P.push(...me),P.push(new oe.d));return P.length&&P.pop(),P}}let Z=class P{constructor(N,ie,me,Se,te){var xe,Ue;if(this._commandService=te,this.id=N.id,this.label=(me==null?void 0:me.renderShortTitle)&&N.shortTitle?typeof N.shortTitle=="string"?N.shortTitle:N.shortTitle.value:typeof N.title=="string"?N.title:N.title.value,this.tooltip=(Ue=typeof N.tooltip=="string"?N.tooltip:(xe=N.tooltip)===null||xe===void 0?void 0:xe.value)!==null&&Ue!==void 0?Ue:"",this.enabled=!N.precondition||Se.contextMatchesRules(N.precondition),this.checked=void 0,N.toggled){const Te=N.toggled.condition?N.toggled:{condition:N.toggled};this.checked=Se.contextMatchesRules(Te.condition),this.checked&&Te.tooltip&&(this.tooltip=typeof Te.tooltip=="string"?Te.tooltip:Te.tooltip.value),Te.title&&(this.label=typeof Te.title=="string"?Te.title:Te.title.value)}this.item=N,this.alt=ie?new P(ie,void 0,me,Se,te):void 0,this._options=me,V.d.isThemeIcon(N.icon)&&(this.class=ve.a.asClassName(N.icon))}dispose(){}run(...N){var ie,me;let Se=[];return((ie=this._options)===null||ie===void 0?void 0:ie.arg)&&(Se=[...Se,this._options.arg]),((me=this._options)===null||me===void 0?void 0:me.shouldForwardArgs)&&(Se=[...Se,...N]),this._commandService.executeCommand(this.id,...Se)}};Z=z([j(3,F.b),j(4,pe.b)],Z)},h78n:function(ht,re,O){"use strict";O.d(re,"a",function(){return Y});var oe=O("q1tI"),ve=O.n(oe),We=O("TSYQ"),ke=O.n(We),H={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ue=function(b){var C=b.map(function(){return Object(oe.useRef)()}),D=Object(oe.useRef)();return Object(oe.useEffect)(function(){var v=Date.now(),L=!1;Object.keys(C).forEach(function(G){var ce=C[G].current;if(!ce)return;L=!0;var Ce=ce.style;Ce.transitionDuration=".3s, .3s, .3s, .06s",D.current&&v-D.current<100&&(Ce.transitionDuration="0s, 0s")}),L&&(D.current=Date.now())}),[C]};function pe(){return pe=Object.assign||function(M){for(var b=1;b<arguments.length;b++){var C=arguments[b];for(var D in C)Object.prototype.hasOwnProperty.call(C,D)&&(M[D]=C[D])}return M},pe.apply(this,arguments)}function F(M,b){return A(M)||j(M,b)||V(M,b)||f()}function f(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function V(M,b){if(!M)return;if(typeof M=="string")return z(M,b);var C=Object.prototype.toString.call(M).slice(8,-1);if(C==="Object"&&M.constructor&&(C=M.constructor.name),C==="Map"||C==="Set")return Array.from(M);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return z(M,b)}function z(M,b){(b==null||b>M.length)&&(b=M.length);for(var C=0,D=new Array(b);C<b;C++)D[C]=M[C];return D}function j(M,b){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(M)))return;var C=[],D=!0,v=!1,L=void 0;try{for(var G=M[Symbol.iterator](),ce;!(D=(ce=G.next()).done)&&!(C.push(ce.value),b&&C.length===b);D=!0);}catch(Ce){v=!0,L=Ce}finally{try{!D&&G.return!=null&&G.return()}finally{if(v)throw L}}return C}function A(M){if(Array.isArray(M))return M}function w(M,b){if(M==null)return{};var C=S(M,b),D,v;if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(M);for(v=0;v<L.length;v++){if(D=L[v],b.indexOf(D)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(M,D))continue;C[D]=M[D]}}return C}function S(M,b){if(M==null)return{};var C={},D=Object.keys(M),v,L;for(L=0;L<D.length;L++){if(v=D[L],b.indexOf(v)>=0)continue;C[v]=M[v]}return C}var I=function(b){var C=b.className,D=b.percent,v=b.prefixCls,L=b.strokeColor,G=b.strokeLinecap,ce=b.strokeWidth,Ce=b.style,Ge=b.trailColor,be=b.trailWidth,Be=b.transition,Qe=w(b,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete Qe.gapPosition;var qe=Array.isArray(D)?D:[D],Ie=Array.isArray(L)?L:[L],Rt=ue(qe),K=F(Rt,1),se=K[0],$=ce/2,je=100-ce/2,tt="M ".concat(G==="round"?$:0,",").concat($,`
L `).concat(G==="round"?je:100,",").concat($),ct="0 0 100 ".concat(ce),Lt=0;return ve.a.createElement("svg",pe({className:ke()("".concat(v,"-line"),C),viewBox:ct,preserveAspectRatio:"none",style:Ce},Qe),ve.a.createElement("path",{className:"".concat(v,"-line-trail"),d:tt,strokeLinecap:G,stroke:Ge,strokeWidth:be||ce,fillOpacity:"0"}),qe.map(function(Zt,ee){var Ae={strokeDasharray:"".concat(Zt,"px, 100px"),strokeDashoffset:"-".concat(Lt,"px"),transition:Be||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},ze=Ie[ee]||Ie[Ie.length-1];return Lt+=Zt,ve.a.createElement("path",{key:ee,className:"".concat(v,"-line-path"),d:tt,strokeLinecap:G,stroke:ze,strokeWidth:ce,fillOpacity:"0",ref:se[ee],style:Ae})}))};I.defaultProps=H;var k=I;function Z(){return Z=Object.assign||function(M){for(var b=1;b<arguments.length;b++){var C=arguments[b];for(var D in C)Object.prototype.hasOwnProperty.call(C,D)&&(M[D]=C[D])}return M},Z.apply(this,arguments)}function P(M,b){return te(M)||Se(M,b)||ie(M,b)||N()}function N(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ie(M,b){if(!M)return;if(typeof M=="string")return me(M,b);var C=Object.prototype.toString.call(M).slice(8,-1);if(C==="Object"&&M.constructor&&(C=M.constructor.name),C==="Map"||C==="Set")return Array.from(M);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return me(M,b)}function me(M,b){(b==null||b>M.length)&&(b=M.length);for(var C=0,D=new Array(b);C<b;C++)D[C]=M[C];return D}function Se(M,b){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(M)))return;var C=[],D=!0,v=!1,L=void 0;try{for(var G=M[Symbol.iterator](),ce;!(D=(ce=G.next()).done)&&!(C.push(ce.value),b&&C.length===b);D=!0);}catch(Ce){v=!0,L=Ce}finally{try{!D&&G.return!=null&&G.return()}finally{if(v)throw L}}return C}function te(M){if(Array.isArray(M))return M}function xe(M,b){if(M==null)return{};var C=Ue(M,b),D,v;if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(M);for(v=0;v<L.length;v++){if(D=L[v],b.indexOf(D)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(M,D))continue;C[D]=M[D]}}return C}function Ue(M,b){if(M==null)return{};var C={},D=Object.keys(M),v,L;for(L=0;L<D.length;L++){if(v=D[L],b.indexOf(v)>=0)continue;C[v]=M[v]}return C}var Te=0;function ye(M){return+M.replace("%","")}function fe(M){return Array.isArray(M)?M:[M]}function J(M,b,C,D){var v=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,L=arguments.length>5?arguments[5]:void 0,G=50-D/2,ce=0,Ce=-G,Ge=0,be=-2*G;switch(L){case"left":ce=-G,Ce=0,Ge=2*G,be=0;break;case"right":ce=G,Ce=0,Ge=-2*G,be=0;break;case"bottom":Ce=G,be=2*G;break;default:}var Be="M 50,50 m ".concat(ce,",").concat(Ce,`
a `).concat(G,",").concat(G," 0 1 1 ").concat(Ge,",").concat(-be,`
a `).concat(G,",").concat(G," 0 1 1 ").concat(-Ge,",").concat(be),Qe=Math.PI*2*G,qe={stroke:C,strokeDasharray:"".concat(b/100*(Qe-v),"px ").concat(Qe,"px"),strokeDashoffset:"-".concat(v/2+M/100*(Qe-v),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:Be,pathStyle:qe}}var B=function(b){var C=b.prefixCls,D=b.strokeWidth,v=b.trailWidth,L=b.gapDegree,G=b.gapPosition,ce=b.trailColor,Ce=b.strokeLinecap,Ge=b.style,be=b.className,Be=b.strokeColor,Qe=b.percent,qe=xe(b,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),Ie=Object(oe.useMemo)(function(){return Te+=1,Te},[]),Rt=J(0,100,ce,D,L,G),K=Rt.pathString,se=Rt.pathStyle,$=fe(Qe),je=fe(Be),tt=je.find(function(Ae){return Object.prototype.toString.call(Ae)==="[object Object]"}),ct=ue($),Lt=P(ct,1),Zt=Lt[0],ee=function(){var ze=0;return $.map(function(Ye,Mt){var hn=je[Mt]||je[je.length-1],Mn=Object.prototype.toString.call(hn)==="[object Object]"?"url(#".concat(C,"-gradient-").concat(Ie,")"):"",Dn=J(ze,Ye,hn,D,L,G);return ze+=Ye,ve.a.createElement("path",{key:Mt,className:"".concat(C,"-circle-path"),d:Dn.pathString,stroke:Mn,strokeLinecap:Ce,strokeWidth:D,opacity:Ye===0?0:1,fillOpacity:"0",style:Dn.pathStyle,ref:Zt[Mt]})})};return ve.a.createElement("svg",Z({className:ke()("".concat(C,"-circle"),be),viewBox:"0 0 100 100",style:Ge},qe),tt&&ve.a.createElement("defs",null,ve.a.createElement("linearGradient",{id:"".concat(C,"-gradient-").concat(Ie),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(tt).sort(function(Ae,ze){return ye(Ae)-ye(ze)}).map(function(Ae,ze){return ve.a.createElement("stop",{key:ze,offset:Ae,stopColor:tt[Ae]})}))),ve.a.createElement("path",{className:"".concat(C,"-circle-trail"),d:K,stroke:ce,strokeLinecap:Ce,strokeWidth:v||D,fillOpacity:"0",style:se}),ee().reverse())};B.defaultProps=H;var Y=B,le={Line:k,Circle:Y}},"iL++":function(ht,re,O){ht.exports={flex_box_center:"flex_box_center___2pHUo",flex_space_between:"flex_space_between___3Bfes",flex_box_vertical_center:"flex_box_vertical_center___1thiW",flex_box_center_end:"flex_box_center_end___3Zr7k",flex_box_column:"flex_box_column___3xe1a",list:"list___3rlGv",wrap:"wrap____oZzM",lockWrap:"lockWrap___24eY2",top:"top___3SCOc",sign:"sign____uZ_B",name:"name___2nHyM",img:"img___3Spn7",text:"text___1Pg2L",btns:"btns___Kr_Ti",bottom:"bottom___2_iOx"}},ic2d:function(ht,re,O){"use strict";O.d(re,"a",function(){return ke});var oe=O("FWmy"),ve=O("746U");class We{constructor(){this.data=new Map}add(H,ue){oe.a(ve.l(H)),oe.a(ve.k(ue)),oe.a(!this.data.has(H),"There is already an extension with this id"),this.data.set(H,ue)}as(H){return this.data.get(H)||null}}const ke=new We},nEHx:function(ht,re,O){"use strict";O.d(re,"a",function(){return oe});var oe;(function(ve){ve.DARK="dark",ve.LIGHT="light",ve.HIGH_CONTRAST="hc"})(oe||(oe={}))},nnTU:function(ht,re,O){"use strict";O.d(re,"b",function(){return pe}),O.d(re,"a",function(){return F});var oe=O("MI8n"),ve=O("JYp7"),We=O("pmY6"),ke=O("24hK"),H=O("746U"),ue=O("Cg/j");const pe=Object(ue.c)("commandService"),F=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new oe.b,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(f,V){if(!f)throw new Error("invalid command");if(typeof f=="string"){if(!V)throw new Error("invalid command");return this.registerCommand({id:f,handler:V})}if(f.description){const S=[];for(let k of f.description.args)S.push(k.constraint);const I=f.handler;f.handler=function(k,...Z){return Object(H.o)(Z,S),I(k,...Z)}}const{id:z}=f;let j=this._commands.get(z);j||(j=new ke.a,this._commands.set(z,j));let A=j.unshift(f),w=Object(We.i)(()=>{A();const S=this._commands.get(z);(S==null?void 0:S.isEmpty())&&this._commands.delete(z)});return this._onDidRegisterCommand.fire(z),w}registerCommandAlias(f,V){return F.registerCommand(f,(z,...j)=>z.get(pe).executeCommand(V,...j))}getCommand(f){const V=this._commands.get(f);return!V||V.isEmpty()?void 0:ve.a.first(V)}getCommands(){const f=new Map;for(const V of this._commands.keys()){const z=this.getCommand(V);z&&f.set(V,z)}return f}};F.registerCommand("noop",()=>{})},ogmK:function(ht,re,O){"use strict";O.d(re,"a",function(){return Ns});var oe=O("1OyB"),ve=O("vuIU"),We=O("Ji7U"),ke=O("LK+K"),H=O("rePB"),ue=O("VTBJ"),pe=O("ODXe"),F=O("q1tI"),f=O("TSYQ"),V=O.n(f),z=O("Kwbf"),j=O("6cGi"),A=O("U8pU"),w=O("4IlW"),S=F.createContext({}),I=S,k={visibility:"hidden"};function Z(x){var ne=x.prefixCls,Ee=x.prevIcon,_e=Ee===void 0?"\u2039":Ee,Ke=x.nextIcon,Fe=Ke===void 0?"\u203A":Ke,Xe=x.superPrevIcon,lt=Xe===void 0?"\xAB":Xe,wt=x.superNextIcon,Ot=wt===void 0?"\xBB":wt,kt=x.onSuperPrev,Nt=x.onSuperNext,Je=x.onPrev,xt=x.onNext,pt=x.children,Pt=F.useContext(I),At=Pt.hideNextBtn,Qt=Pt.hidePrevBtn;return F.createElement("div",{className:ne},kt&&F.createElement("button",{type:"button",onClick:kt,tabIndex:-1,className:"".concat(ne,"-super-prev-btn"),style:Qt?k:{}},lt),Je&&F.createElement("button",{type:"button",onClick:Je,tabIndex:-1,className:"".concat(ne,"-prev-btn"),style:Qt?k:{}},_e),F.createElement("div",{className:"".concat(ne,"-view")},pt),xt&&F.createElement("button",{type:"button",onClick:xt,tabIndex:-1,className:"".concat(ne,"-next-btn"),style:At?k:{}},Fe),Nt&&F.createElement("button",{type:"button",onClick:Nt,tabIndex:-1,className:"".concat(ne,"-super-next-btn"),style:At?k:{}},Ot))}var P=Z;function N(x){var ne=F.useContext(I),Ee=ne.hideHeader;if(Ee)return null;var _e=x.prefixCls,Ke=x.generateConfig,Fe=x.locale,Xe=x.value,lt=x.format,wt="".concat(_e,"-header");return F.createElement(P,{prefixCls:wt},Xe?Ke.locale.format(Fe.locale,Xe,lt):"\xA0")}var ie=N,me=O("YrtM"),Se=O("KQm4"),te=new Map;function xe(x,ne,Ee){if(te.get(x)&&cancelAnimationFrame(te.get(x)),Ee<=0){te.set(x,requestAnimationFrame(function(){x.scrollTop=ne}));return}var _e=ne-x.scrollTop,Ke=_e/Ee*10;te.set(x,requestAnimationFrame(function(){x.scrollTop+=Ke,x.scrollTop!==ne&&xe(x,ne,Ee-10)}))}function Ue(x,ne){var Ee=ne.onLeftRight,_e=ne.onCtrlLeftRight,Ke=ne.onUpDown,Fe=ne.onPageUpDown,Xe=ne.onEnter,lt=x.which,wt=x.ctrlKey,Ot=x.metaKey;switch(lt){case w.a.LEFT:if(wt||Ot){if(_e)return _e(-1),!0}else if(Ee)return Ee(-1),!0;break;case w.a.RIGHT:if(wt||Ot){if(_e)return _e(1),!0}else if(Ee)return Ee(1),!0;break;case w.a.UP:if(Ke)return Ke(-1),!0;break;case w.a.DOWN:if(Ke)return Ke(1),!0;break;case w.a.PAGE_UP:if(Fe)return Fe(-1),!0;break;case w.a.PAGE_DOWN:if(Fe)return Fe(1),!0;break;case w.a.ENTER:if(Xe)return Xe(),!0;break}return!1}function Te(x,ne,Ee,_e){var Ke=x;if(!Ke)switch(ne){case"time":Ke=_e?"hh:mm:ss a":"HH:mm:ss";break;case"week":Ke="gggg-wo";break;case"month":Ke="YYYY-MM";break;case"quarter":Ke="YYYY-[Q]Q";break;case"year":Ke="YYYY";break;default:Ke=Ee?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Ke}function ye(x,ne){var Ee=x==="time"?8:10;return Math.max(Ee,ne.length)+2}var fe=null,J=new Set;function B(x){return!fe&&typeof window!="undefined"&&window.addEventListener&&(fe=function(Ee){Object(Se.a)(J).forEach(function(_e){_e(Ee)})},window.addEventListener("mousedown",fe)),J.add(x),function(){J.delete(x),J.size===0&&(window.removeEventListener("mousedown",fe),fe=null)}}var Y=function(ne){return ne==="month"||ne==="date"?"year":ne},le=function(ne){return ne==="date"?"month":ne},M=function(ne){return ne==="month"||ne==="date"?"quarter":ne},b=function(ne){return ne==="date"?"week":ne},C={year:Y,month:le,quarter:M,week:b,time:null,date:null};function D(x,ne){return x.some(function(Ee){return Ee&&Ee.contains(ne)})}function v(x){var ne=x.prefixCls,Ee=x.units,_e=x.onSelect,Ke=x.value,Fe=x.active,Xe=x.hideDisabledOptions,lt="".concat(ne,"-cell"),wt=F.useContext(I),Ot=wt.open,kt=F.useRef(null),Nt=F.useRef(new Map);return F.useLayoutEffect(function(){var Je=Nt.current.get(Ke);Je&&Ot!==!1&&xe(kt.current,Je.offsetTop,120)},[Ke]),F.useLayoutEffect(function(){if(Ot){var Je=Nt.current.get(Ke);Je&&xe(kt.current,Je.offsetTop,0)}},[Ot]),F.createElement("ul",{className:V()("".concat(ne,"-column"),Object(H.a)({},"".concat(ne,"-column-active"),Fe)),ref:kt,style:{position:"relative"}},Ee.map(function(Je){var xt;return Xe&&Je.disabled?null:F.createElement("li",{key:Je.value,ref:function(Pt){Nt.current.set(Je.value,Pt)},className:V()(lt,(xt={},Object(H.a)(xt,"".concat(lt,"-disabled"),Je.disabled),Object(H.a)(xt,"".concat(lt,"-selected"),Ke===Je.value),xt)),onClick:function(){if(Je.disabled)return;_e(Je.value)}},F.createElement("div",{className:"".concat(lt,"-inner")},Je.label))}))}var L=v;function G(x,ne){for(var Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",_e=String(x);_e.length<ne;)_e="".concat(Ee).concat(x);return _e}var ce=function(){for(var ne=arguments.length,Ee=new Array(ne),_e=0;_e<ne;_e++)Ee[_e]=arguments[_e];return Ee};function Ce(x){return x==null?[]:Array.isArray(x)?x:[x]}function Ge(x){var ne={};return Object.keys(x).forEach(function(Ee){(Ee.substr(0,5)==="data-"||Ee.substr(0,5)==="aria-"||Ee==="role"||Ee==="name")&&Ee.substr(0,7)!=="data-__"&&(ne[Ee]=x[Ee])}),ne}function be(x,ne){return x?x[ne]:null}function Be(x,ne,Ee){var _e=[be(x,0),be(x,1)];return _e[Ee]=typeof ne=="function"?ne(_e[Ee]):ne,!_e[0]&&!_e[1]?null:_e}function Qe(x,ne,Ee,_e,Ke){var Fe=x.setHour(ne,Ee);return Fe=x.setMinute(Fe,_e),Fe=x.setSecond(Fe,Ke),Fe}function qe(x,ne,Ee,_e,Ke,Fe){var Xe=Math.floor(x/_e)*_e;if(Xe<x)return[Xe,60-Ke,60-Fe];var lt=Math.floor(ne/Ke)*Ke;if(lt<ne)return[Xe,lt,60-Fe];var wt=Math.floor(Ee/Fe)*Fe;return[Xe,lt,wt]}function Ie(x,ne){if(x.length!==ne.length)return!0;for(var Ee=0;Ee<x.length;Ee+=1)if(x[Ee].disabled!==ne[Ee].disabled)return!0;return!1}function Rt(x,ne,Ee,_e){for(var Ke=[],Fe=x;Fe<=ne;Fe+=Ee)Ke.push({label:G(Fe,2),value:Fe,disabled:(_e||[]).includes(Fe)});return Ke}function K(x){var ne=x.generateConfig,Ee=x.prefixCls,_e=x.operationRef,Ke=x.activeColumnIndex,Fe=x.value,Xe=x.showHour,lt=x.showMinute,wt=x.showSecond,Ot=x.use12Hours,kt=x.hourStep,Nt=kt===void 0?1:kt,Je=x.minuteStep,xt=Je===void 0?1:Je,pt=x.secondStep,Pt=pt===void 0?1:pt,At=x.disabledHours,Qt=x.disabledMinutes,un=x.disabledSeconds,Rn=x.hideDisabledOptions,er=x.onSelect,An=[],Tn="".concat(Ee,"-content"),Kn="".concat(Ee,"-time-panel"),Wn,Hi=Fe?ne.getHour(Fe):-1,yi=Fe?ne.getMinute(Fe):-1,Fo=Fe?ne.getSecond(Fe):-1,Ci=function(jr,li,Uo,To){var Wi=Fe||ne.getNow(),Zo=Math.max(0,li),zi=Math.max(0,Uo),Ho=Math.max(0,To);return Wi=Qe(ne,Wi,!Ot||!jr?Zo:Zo+12,zi,Ho),Wi},yo=Rt(0,23,Nt,At&&At()),xi=Object(me.a)(function(){return yo},yo,Ie);Ot&&(Wn=Hi>=12,Hi%=12);var $a=F.useMemo(function(){if(!Ot)return[!1,!1];var yr=[!0,!0];return xi.forEach(function(jr){var li=jr.disabled,Uo=jr.value;if(li)return;Uo>=12?yr[1]=!1:yr[0]=!1}),yr},[Ot,xi]),es=Object(pe.a)($a,2),ts=es[0],fa=es[1],ns=F.useMemo(function(){return Ot?xi.filter(Wn?function(yr){return yr.value>=12}:function(yr){return yr.value<12}).map(function(yr){var jr=yr.value%12,li=jr===0?"12":G(jr,2);return Object(ue.a)(Object(ue.a)({},yr),{},{label:li,value:jr})}):xi},[Ot,xi]),Bo=Rt(0,59,xt,Qt&&Qt(Hi)),rs=Rt(0,59,Pt,un&&un(Hi,yi));_e.current={onUpDown:function(jr){var li=An[Ke];if(li)for(var Uo=li.units.findIndex(function(zi){return zi.value===li.value}),To=li.units.length,Wi=1;Wi<To;Wi+=1){var Zo=li.units[(Uo+jr*Wi+To)%To];if(Zo.disabled!==!0){li.onSelect(Zo.value);break}}}};function Ra(yr,jr,li,Uo,To){yr!==!1&&An.push({node:F.cloneElement(jr,{prefixCls:Kn,value:li,active:Ke===An.length,onSelect:To,units:Uo,hideDisabledOptions:Rn}),onSelect:To,value:li,units:Uo})}Ra(Xe,F.createElement(L,{key:"hour"}),Hi,ns,function(yr){er(Ci(Wn,yr,yi,Fo),"mouse")}),Ra(lt,F.createElement(L,{key:"minute"}),yi,Bo,function(yr){er(Ci(Wn,Hi,yr,Fo),"mouse")}),Ra(wt,F.createElement(L,{key:"second"}),Fo,rs,function(yr){er(Ci(Wn,Hi,yi,yr),"mouse")});var Na=-1;return typeof Wn=="boolean"&&(Na=Wn?1:0),Ra(Ot===!0,F.createElement(L,{key:"12hours"}),Na,[{label:"AM",value:0,disabled:ts},{label:"PM",value:1,disabled:fa}],function(yr){er(Ci(!!yr,Hi,yi,Fo),"mouse")}),F.createElement("div",{className:Tn},An.map(function(yr){var jr=yr.node;return jr}))}var se=K,$=function(ne){return ne.filter(function(Ee){return Ee!==!1}).length};function je(x){var ne=x.generateConfig,Ee=x.format,_e=Ee===void 0?"HH:mm:ss":Ee,Ke=x.prefixCls,Fe=x.active,Xe=x.operationRef,lt=x.showHour,wt=x.showMinute,Ot=x.showSecond,kt=x.use12Hours,Nt=kt===void 0?!1:kt,Je=x.onSelect,xt=x.value,pt="".concat(Ke,"-time-panel"),Pt=F.useRef(),At=F.useState(-1),Qt=Object(pe.a)(At,2),un=Qt[0],Rn=Qt[1],er=$([lt,wt,Ot,Nt]);return Xe.current={onKeyDown:function(Tn){return Ue(Tn,{onLeftRight:function(Wn){Rn((un+Wn+er)%er)},onUpDown:function(Wn){un===-1?Rn(0):Pt.current&&Pt.current.onUpDown(Wn)},onEnter:function(){Je(xt||ne.getNow(),"key"),Rn(-1)}})},onBlur:function(){Rn(-1)}},F.createElement("div",{className:V()(pt,Object(H.a)({},"".concat(pt,"-active"),Fe))},F.createElement(ie,Object.assign({},x,{format:_e,prefixCls:Ke})),F.createElement(se,Object.assign({},x,{prefixCls:Ke,activeColumnIndex:un,operationRef:Pt})))}var tt=je,ct=7;function Lt(x,ne){return!x&&!ne?!0:!x||!ne?!1:void 0}function Zt(x,ne,Ee){var _e=Lt(ne,Ee);if(typeof _e=="boolean")return _e;var Ke=Math.floor(x.getYear(ne)/10),Fe=Math.floor(x.getYear(Ee)/10);return Ke===Fe}function ee(x,ne,Ee){var _e=Lt(ne,Ee);return typeof _e=="boolean"?_e:x.getYear(ne)===x.getYear(Ee)}function Ae(x,ne){var Ee=Math.floor(x.getMonth(ne)/3);return Ee+1}function ze(x,ne,Ee){var _e=Lt(ne,Ee);return typeof _e=="boolean"?_e:ee(x,ne,Ee)&&Ae(x,ne)===Ae(x,Ee)}function Ye(x,ne,Ee){var _e=Lt(ne,Ee);return typeof _e=="boolean"?_e:ee(x,ne,Ee)&&x.getMonth(ne)===x.getMonth(Ee)}function Mt(x,ne,Ee){var _e=Lt(ne,Ee);return typeof _e=="boolean"?_e:x.getYear(ne)===x.getYear(Ee)&&x.getMonth(ne)===x.getMonth(Ee)&&x.getDate(ne)===x.getDate(Ee)}function hn(x,ne,Ee){var _e=Lt(ne,Ee);return typeof _e=="boolean"?_e:x.getHour(ne)===x.getHour(Ee)&&x.getMinute(ne)===x.getMinute(Ee)&&x.getSecond(ne)===x.getSecond(Ee)}function Mn(x,ne,Ee,_e){var Ke=Lt(Ee,_e);return typeof Ke=="boolean"?Ke:x.locale.getWeek(ne,Ee)===x.locale.getWeek(ne,_e)}function Dn(x,ne,Ee){return Mt(x,ne,Ee)&&hn(x,ne,Ee)}function sn(x,ne,Ee,_e){return!ne||!Ee||!_e?!1:!Mt(x,ne,_e)&&!Mt(x,Ee,_e)&&x.isAfter(_e,ne)&&x.isAfter(Ee,_e)}function Ir(x,ne,Ee){var _e=ne.locale.getWeekFirstDay(x),Ke=ne.setDate(Ee,1),Fe=ne.getWeekDay(Ke),Xe=ne.addDate(Ke,_e-Fe);return ne.getMonth(Xe)===ne.getMonth(Ee)&&ne.getDate(Xe)>1&&(Xe=ne.addDate(Xe,-7)),Xe}function Pr(x,ne,Ee){var _e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ne){case"year":return Ee.addYear(x,_e*10);case"quarter":case"month":return Ee.addYear(x,_e);default:return Ee.addMonth(x,_e)}}var Jr=F.createContext({}),Ln=Jr;function Er(x){var ne=x.cellPrefixCls,Ee=x.generateConfig,_e=x.rangedValue,Ke=x.hoverRangedValue,Fe=x.isInView,Xe=x.isSameCell,lt=x.offsetCell,wt=x.today,Ot=x.value;function kt(Nt){var Je,xt=lt(Nt,-1),pt=lt(Nt,1),Pt=be(_e,0),At=be(_e,1),Qt=be(Ke,0),un=be(Ke,1),Rn=sn(Ee,Qt,un,Nt);function er(yi){return Xe(Pt,yi)}function An(yi){return Xe(At,yi)}var Tn=Xe(Qt,Nt),Kn=Xe(un,Nt),Wn=(Rn||Kn)&&(!Fe(xt)||An(xt)),Hi=(Rn||Tn)&&(!Fe(pt)||er(pt));return Je={},Object(H.a)(Je,"".concat(ne,"-in-view"),Fe(Nt)),Object(H.a)(Je,"".concat(ne,"-in-range"),sn(Ee,Pt,At,Nt)),Object(H.a)(Je,"".concat(ne,"-range-start"),er(Nt)),Object(H.a)(Je,"".concat(ne,"-range-end"),An(Nt)),Object(H.a)(Je,"".concat(ne,"-range-start-single"),er(Nt)&&!At),Object(H.a)(Je,"".concat(ne,"-range-end-single"),An(Nt)&&!Pt),Object(H.a)(Je,"".concat(ne,"-range-start-near-hover"),er(Nt)&&(Xe(xt,Qt)||sn(Ee,Qt,un,xt))),Object(H.a)(Je,"".concat(ne,"-range-end-near-hover"),An(Nt)&&(Xe(pt,un)||sn(Ee,Qt,un,pt))),Object(H.a)(Je,"".concat(ne,"-range-hover"),Rn),Object(H.a)(Je,"".concat(ne,"-range-hover-start"),Tn),Object(H.a)(Je,"".concat(ne,"-range-hover-end"),Kn),Object(H.a)(Je,"".concat(ne,"-range-hover-edge-start"),Wn),Object(H.a)(Je,"".concat(ne,"-range-hover-edge-end"),Hi),Object(H.a)(Je,"".concat(ne,"-range-hover-edge-start-near-range"),Wn&&Xe(xt,At)),Object(H.a)(Je,"".concat(ne,"-range-hover-edge-end-near-range"),Hi&&Xe(pt,Pt)),Object(H.a)(Je,"".concat(ne,"-today"),Xe(wt,Nt)),Object(H.a)(Je,"".concat(ne,"-selected"),Xe(Ot,Nt)),Je}return kt}function gn(x){for(var ne=x.prefixCls,Ee=x.disabledDate,_e=x.onSelect,Ke=x.rowNum,Fe=x.colNum,Xe=x.prefixColumn,lt=x.rowClassName,wt=x.baseDate,Ot=x.getCellClassName,kt=x.getCellText,Nt=x.getCellNode,Je=x.getCellDate,xt=x.titleCell,pt=x.headerCells,Pt=F.useContext(I),At=Pt.onDateMouseEnter,Qt=Pt.onDateMouseLeave,un="".concat(ne,"-cell"),Rn=[],er=0;er<Ke;er+=1){for(var An=[],Tn=void 0,Kn=function(yi){var Fo=er*Fe+yi,Ci=Je(wt,Fo),yo=Ee&&Ee(Ci);yi===0&&(Tn=Ci,Xe&&An.push(Xe(Tn))),An.push(F.createElement("td",{key:yi,title:xt&&xt(Ci),className:V()(un,Object(ue.a)(Object(H.a)({},"".concat(un,"-disabled"),yo),Ot(Ci))),onClick:function(){yo||_e(Ci)},onMouseEnter:function(){!yo&&At&&At(Ci)},onMouseLeave:function(){!yo&&Qt&&Qt(Ci)}},Nt?Nt(Ci):F.createElement("div",{className:"".concat(un,"-inner")},kt(Ci))))},Wn=0;Wn<Fe;Wn+=1)Kn(Wn);Rn.push(F.createElement("tr",{key:er,className:lt&&lt(Tn)},An))}return F.createElement("div",{className:"".concat(ne,"-body")},F.createElement("table",{className:"".concat(ne,"-content")},pt&&F.createElement("thead",null,F.createElement("tr",null,pt)),F.createElement("tbody",null,Rn)))}function vn(x){var ne=x.prefixCls,Ee=x.generateConfig,_e=x.prefixColumn,Ke=x.locale,Fe=x.rowCount,Xe=x.viewDate,lt=x.value,wt=x.dateRender,Ot=F.useContext(Ln),kt=Ot.rangedValue,Nt=Ot.hoverRangedValue,Je=Ir(Ke.locale,Ee,Xe),xt="".concat(ne,"-cell"),pt=Ee.locale.getWeekFirstDay(Ke.locale),Pt=Ee.getNow(),At=[],Qt=Ke.shortWeekDays||(Ee.locale.getShortWeekDays?Ee.locale.getShortWeekDays(Ke.locale):[]);_e&&At.push(F.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var un=0;un<ct;un+=1)At.push(F.createElement("th",{key:un},Qt[(un+pt)%ct]));var Rn=Er({cellPrefixCls:xt,today:Pt,value:lt,generateConfig:Ee,rangedValue:_e?null:kt,hoverRangedValue:_e?null:Nt,isSameCell:function(Tn,Kn){return Mt(Ee,Tn,Kn)},isInView:function(Tn){return Ye(Ee,Tn,Xe)},offsetCell:function(Tn,Kn){return Ee.addDate(Tn,Kn)}}),er=wt?function(An){return wt(An,Pt)}:void 0;return F.createElement(gn,Object.assign({},x,{rowNum:Fe,colNum:ct,baseDate:Je,getCellNode:er,getCellText:Ee.getDate,getCellClassName:Rn,getCellDate:Ee.addDate,titleCell:function(Tn){return Ee.locale.format(Ke.locale,Tn,"YYYY-MM-DD")},headerCells:At}))}var In=vn;function qt(x){var ne=x.prefixCls,Ee=x.generateConfig,_e=x.locale,Ke=x.viewDate,Fe=x.onNextMonth,Xe=x.onPrevMonth,lt=x.onNextYear,wt=x.onPrevYear,Ot=x.onYearClick,kt=x.onMonthClick,Nt=F.useContext(I),Je=Nt.hideHeader;if(Je)return null;var xt="".concat(ne,"-header"),pt=_e.shortMonths||(Ee.locale.getShortMonths?Ee.locale.getShortMonths(_e.locale):[]),Pt=Ee.getMonth(Ke),At=F.createElement("button",{type:"button",key:"year",onClick:Ot,tabIndex:-1,className:"".concat(ne,"-year-btn")},Ee.locale.format(_e.locale,Ke,_e.yearFormat)),Qt=F.createElement("button",{type:"button",key:"month",onClick:kt,tabIndex:-1,className:"".concat(ne,"-month-btn")},_e.monthFormat?Ee.locale.format(_e.locale,Ke,_e.monthFormat):pt[Pt]),un=_e.monthBeforeYear?[Qt,At]:[At,Qt];return F.createElement(P,Object.assign({},x,{prefixCls:xt,onSuperPrev:wt,onPrev:Xe,onNext:Fe,onSuperNext:lt}),un)}var fr=qt,jn=6;function zn(x){var ne=x.prefixCls,Ee=x.panelName,_e=Ee===void 0?"date":Ee,Ke=x.keyboardConfig,Fe=x.active,Xe=x.operationRef,lt=x.generateConfig,wt=x.value,Ot=x.viewDate,kt=x.onViewDateChange,Nt=x.onPanelChange,Je=x.onSelect,xt="".concat(ne,"-").concat(_e,"-panel");Xe.current={onKeyDown:function(Qt){return Ue(Qt,Object(ue.a)({onLeftRight:function(Rn){Je(lt.addDate(wt||Ot,Rn),"key")},onCtrlLeftRight:function(Rn){Je(lt.addYear(wt||Ot,Rn),"key")},onUpDown:function(Rn){Je(lt.addDate(wt||Ot,Rn*ct),"key")},onPageUpDown:function(Rn){Je(lt.addMonth(wt||Ot,Rn),"key")}},Ke))}};var pt=function(Qt){var un=lt.addYear(Ot,Qt);kt(un),Nt(null,un)},Pt=function(Qt){var un=lt.addMonth(Ot,Qt);kt(un),Nt(null,un)};return F.createElement("div",{className:V()(xt,Object(H.a)({},"".concat(xt,"-active"),Fe))},F.createElement(fr,Object.assign({},x,{prefixCls:ne,value:wt,viewDate:Ot,onPrevYear:function(){pt(-1)},onNextYear:function(){pt(1)},onPrevMonth:function(){Pt(-1)},onNextMonth:function(){Pt(1)},onMonthClick:function(){Nt("month",Ot)},onYearClick:function(){Nt("year",Ot)}})),F.createElement(In,Object.assign({},x,{onSelect:function(Qt){return Je(Qt,"mouse")},prefixCls:ne,value:wt,viewDate:Ot,rowCount:jn})))}var Ur=zn;function mr(x,ne,Ee){if(!Ee)return ne;var _e=ne;return _e=x.setHour(_e,x.getHour(Ee)),_e=x.setMinute(_e,x.getMinute(Ee)),_e=x.setSecond(_e,x.getSecond(Ee)),_e}var xr=ce("date","time");function Bi(x){var ne=x.prefixCls,Ee=x.operationRef,_e=x.generateConfig,Ke=x.value,Fe=x.defaultValue,Xe=x.disabledTime,lt=x.showTime,wt=x.onSelect,Ot="".concat(ne,"-datetime-panel"),kt=F.useState(null),Nt=Object(pe.a)(kt,2),Je=Nt[0],xt=Nt[1],pt=F.useRef({}),Pt=F.useRef({}),At=Object(A.a)(lt)==="object"?Object(ue.a)({},lt):{};function Qt(An){var Tn=xr.indexOf(Je)+An,Kn=xr[Tn]||null;return Kn}var un=function(Tn){Pt.current.onBlur&&Pt.current.onBlur(Tn),xt(null)};Ee.current={onKeyDown:function(Tn){if(Tn.which===w.a.TAB){var Kn=Qt(Tn.shiftKey?-1:1);return xt(Kn),Kn&&Tn.preventDefault(),!0}if(Je){var Wn=Je==="date"?pt:Pt;return Wn.current&&Wn.current.onKeyDown&&Wn.current.onKeyDown(Tn),!0}return[w.a.LEFT,w.a.RIGHT,w.a.UP,w.a.DOWN].includes(Tn.which)?(xt("date"),!0):!1},onBlur:un,onClose:un};var Rn=function(Tn,Kn){var Wn=Tn;Kn==="date"&&!Ke&&At.defaultValue?(Wn=_e.setHour(Wn,_e.getHour(At.defaultValue)),Wn=_e.setMinute(Wn,_e.getMinute(At.defaultValue)),Wn=_e.setSecond(Wn,_e.getSecond(At.defaultValue))):Kn==="time"&&!Ke&&Fe&&(Wn=_e.setYear(Wn,_e.getYear(Fe)),Wn=_e.setMonth(Wn,_e.getMonth(Fe)),Wn=_e.setDate(Wn,_e.getDate(Fe))),wt&&wt(Wn,"mouse")},er=Xe?Xe(Ke||null):{};return F.createElement("div",{className:V()(Ot,Object(H.a)({},"".concat(Ot,"-active"),Je))},F.createElement(Ur,Object.assign({},x,{operationRef:pt,active:Je==="date",onSelect:function(Tn){Rn(mr(_e,Tn,lt&&Object(A.a)(lt)==="object"?lt.defaultValue:null),"date")}})),F.createElement(tt,Object.assign({},x,{format:void 0},At,er,{defaultValue:void 0,operationRef:Pt,active:Je==="time",onSelect:function(Tn){Rn(Tn,"time")}})))}var ko=Bi;function xo(x){var ne=x.prefixCls,Ee=x.generateConfig,_e=x.locale,Ke=x.value,Fe="".concat(ne,"-cell"),Xe=function(kt){return F.createElement("td",{key:"week",className:V()(Fe,"".concat(Fe,"-week"))},Ee.locale.getWeek(_e.locale,kt))},lt="".concat(ne,"-week-panel-row"),wt=function(kt){return V()(lt,Object(H.a)({},"".concat(lt,"-selected"),Mn(Ee,_e.locale,Ke,kt)))};return F.createElement(Ur,Object.assign({},x,{panelName:"week",prefixColumn:Xe,rowClassName:wt,keyboardConfig:{onLeftRight:null}}))}var Lr=xo;function go(x){var ne=x.prefixCls,Ee=x.generateConfig,_e=x.locale,Ke=x.viewDate,Fe=x.onNextYear,Xe=x.onPrevYear,lt=x.onYearClick,wt=F.useContext(I),Ot=wt.hideHeader;if(Ot)return null;var kt="".concat(ne,"-header");return F.createElement(P,Object.assign({},x,{prefixCls:kt,onSuperPrev:Xe,onSuperNext:Fe}),F.createElement("button",{type:"button",onClick:lt,className:"".concat(ne,"-year-btn")},Ee.locale.format(_e.locale,Ke,_e.yearFormat)))}var tn=go,at=3,Tt=4;function Ve(x){var ne=x.prefixCls,Ee=x.locale,_e=x.value,Ke=x.viewDate,Fe=x.generateConfig,Xe=x.monthCellRender,lt=F.useContext(Ln),wt=lt.rangedValue,Ot=lt.hoverRangedValue,kt="".concat(ne,"-cell"),Nt=Er({cellPrefixCls:kt,value:_e,generateConfig:Fe,rangedValue:wt,hoverRangedValue:Ot,isSameCell:function(At,Qt){return Ye(Fe,At,Qt)},isInView:function(){return!0},offsetCell:function(At,Qt){return Fe.addMonth(At,Qt)}}),Je=Ee.shortMonths||(Fe.locale.getShortMonths?Fe.locale.getShortMonths(Ee.locale):[]),xt=Fe.setMonth(Ke,0),pt=Xe?function(Pt){return Xe(Pt,Ee)}:void 0;return F.createElement(gn,Object.assign({},x,{rowNum:Tt,colNum:at,baseDate:xt,getCellNode:pt,getCellText:function(At){return Ee.monthFormat?Fe.locale.format(Ee.locale,At,Ee.monthFormat):Je[Fe.getMonth(At)]},getCellClassName:Nt,getCellDate:Fe.addMonth,titleCell:function(At){return Fe.locale.format(Ee.locale,At,"YYYY-MM")}}))}var Q=Ve;function he(x){var ne=x.prefixCls,Ee=x.operationRef,_e=x.onViewDateChange,Ke=x.generateConfig,Fe=x.value,Xe=x.viewDate,lt=x.onPanelChange,wt=x.onSelect,Ot="".concat(ne,"-month-panel");Ee.current={onKeyDown:function(Je){return Ue(Je,{onLeftRight:function(pt){wt(Ke.addMonth(Fe||Xe,pt),"key")},onCtrlLeftRight:function(pt){wt(Ke.addYear(Fe||Xe,pt),"key")},onUpDown:function(pt){wt(Ke.addMonth(Fe||Xe,pt*at),"key")},onEnter:function(){lt("date",Fe||Xe)}})}};var kt=function(Je){var xt=Ke.addYear(Xe,Je);_e(xt),lt(null,xt)};return F.createElement("div",{className:Ot},F.createElement(tn,Object.assign({},x,{prefixCls:ne,onPrevYear:function(){kt(-1)},onNextYear:function(){kt(1)},onYearClick:function(){lt("year",Xe)}})),F.createElement(Q,Object.assign({},x,{prefixCls:ne,onSelect:function(Je){wt(Je,"mouse"),lt("date",Je)}})))}var st=he;function et(x){var ne=x.prefixCls,Ee=x.generateConfig,_e=x.locale,Ke=x.viewDate,Fe=x.onNextYear,Xe=x.onPrevYear,lt=x.onYearClick,wt=F.useContext(I),Ot=wt.hideHeader;if(Ot)return null;var kt="".concat(ne,"-header");return F.createElement(P,Object.assign({},x,{prefixCls:kt,onSuperPrev:Xe,onSuperNext:Fe}),F.createElement("button",{type:"button",onClick:lt,className:"".concat(ne,"-year-btn")},Ee.locale.format(_e.locale,Ke,_e.yearFormat)))}var Ut=et,Ht=4,it=1;function vt(x){var ne=x.prefixCls,Ee=x.locale,_e=x.value,Ke=x.viewDate,Fe=x.generateConfig,Xe=F.useContext(Ln),lt=Xe.rangedValue,wt=Xe.hoverRangedValue,Ot="".concat(ne,"-cell"),kt=Er({cellPrefixCls:Ot,value:_e,generateConfig:Fe,rangedValue:lt,hoverRangedValue:wt,isSameCell:function(xt,pt){return ze(Fe,xt,pt)},isInView:function(){return!0},offsetCell:function(xt,pt){return Fe.addMonth(xt,pt*3)}}),Nt=Fe.setDate(Fe.setMonth(Ke,0),1);return F.createElement(gn,Object.assign({},x,{rowNum:it,colNum:Ht,baseDate:Nt,getCellText:function(xt){return Fe.locale.format(Ee.locale,xt,Ee.quarterFormat||"[Q]Q")},getCellClassName:kt,getCellDate:function(xt,pt){return Fe.addMonth(xt,pt*3)},titleCell:function(xt){return Fe.locale.format(Ee.locale,xt,"YYYY-[Q]Q")}}))}var ft=vt;function Re(x){var ne=x.prefixCls,Ee=x.operationRef,_e=x.onViewDateChange,Ke=x.generateConfig,Fe=x.value,Xe=x.viewDate,lt=x.onPanelChange,wt=x.onSelect,Ot="".concat(ne,"-quarter-panel");Ee.current={onKeyDown:function(Je){return Ue(Je,{onLeftRight:function(pt){wt(Ke.addMonth(Fe||Xe,pt*3),"key")},onCtrlLeftRight:function(pt){wt(Ke.addYear(Fe||Xe,pt),"key")},onUpDown:function(pt){wt(Ke.addYear(Fe||Xe,pt),"key")}})}};var kt=function(Je){var xt=Ke.addYear(Xe,Je);_e(xt),lt(null,xt)};return F.createElement("div",{className:Ot},F.createElement(Ut,Object.assign({},x,{prefixCls:ne,onPrevYear:function(){kt(-1)},onNextYear:function(){kt(1)},onYearClick:function(){lt("year",Xe)}})),F.createElement(ft,Object.assign({},x,{prefixCls:ne,onSelect:function(Je){wt(Je,"mouse")}})))}var St=Re;function jt(x){var ne=x.prefixCls,Ee=x.generateConfig,_e=x.viewDate,Ke=x.onPrevDecade,Fe=x.onNextDecade,Xe=x.onDecadeClick,lt=F.useContext(I),wt=lt.hideHeader;if(wt)return null;var Ot="".concat(ne,"-header"),kt=Ee.getYear(_e),Nt=Math.floor(kt/ln)*ln,Je=Nt+ln-1;return F.createElement(P,Object.assign({},x,{prefixCls:Ot,onSuperPrev:Ke,onSuperNext:Fe}),F.createElement("button",{type:"button",onClick:Xe,className:"".concat(ne,"-decade-btn")},Nt,"-",Je))}var zt=jt,$t=3,Dt=4;function nn(x){var ne=x.prefixCls,Ee=x.value,_e=x.viewDate,Ke=x.locale,Fe=x.generateConfig,Xe=F.useContext(Ln),lt=Xe.rangedValue,wt=Xe.hoverRangedValue,Ot="".concat(ne,"-cell"),kt=Fe.getYear(_e),Nt=Math.floor(kt/ln)*ln,Je=Nt+ln-1,xt=Fe.setYear(_e,Nt-Math.ceil(($t*Dt-ln)/2)),pt=function(Qt){var un=Fe.getYear(Qt);return Nt<=un&&un<=Je},Pt=Er({cellPrefixCls:Ot,value:Ee,generateConfig:Fe,rangedValue:lt,hoverRangedValue:wt,isSameCell:function(Qt,un){return ee(Fe,Qt,un)},isInView:pt,offsetCell:function(Qt,un){return Fe.addYear(Qt,un)}});return F.createElement(gn,Object.assign({},x,{rowNum:Dt,colNum:$t,baseDate:xt,getCellText:Fe.getYear,getCellClassName:Pt,getCellDate:Fe.addYear,titleCell:function(Qt){return Fe.locale.format(Ke.locale,Qt,"YYYY")}}))}var Ft=nn,ln=10;function yn(x){var ne=x.prefixCls,Ee=x.operationRef,_e=x.onViewDateChange,Ke=x.generateConfig,Fe=x.value,Xe=x.viewDate,lt=x.sourceMode,wt=x.onSelect,Ot=x.onPanelChange,kt="".concat(ne,"-year-panel");Ee.current={onKeyDown:function(xt){return Ue(xt,{onLeftRight:function(Pt){wt(Ke.addYear(Fe||Xe,Pt),"key")},onCtrlLeftRight:function(Pt){wt(Ke.addYear(Fe||Xe,Pt*ln),"key")},onUpDown:function(Pt){wt(Ke.addYear(Fe||Xe,Pt*$t),"key")},onEnter:function(){Ot(lt==="date"?"date":"month",Fe||Xe)}})}};var Nt=function(xt){var pt=Ke.addYear(Xe,xt*10);_e(pt),Ot(null,pt)};return F.createElement("div",{className:kt},F.createElement(zt,Object.assign({},x,{prefixCls:ne,onPrevDecade:function(){Nt(-1)},onNextDecade:function(){Nt(1)},onDecadeClick:function(){Ot("decade",Xe)}})),F.createElement(Ft,Object.assign({},x,{prefixCls:ne,onSelect:function(xt){Ot(lt==="date"?"date":"month",xt),wt(xt,"mouse")}})))}var pn=yn;function Vn(x){var ne=x.prefixCls,Ee=x.generateConfig,_e=x.viewDate,Ke=x.onPrevDecades,Fe=x.onNextDecades,Xe=F.useContext(I),lt=Xe.hideHeader;if(lt)return null;var wt="".concat(ne,"-header"),Ot=Ee.getYear(_e),kt=Math.floor(Ot/vr)*vr,Nt=kt+vr-1;return F.createElement(P,Object.assign({},x,{prefixCls:wt,onSuperPrev:Ke,onSuperNext:Fe}),kt,"-",Nt)}var Mr=Vn,Gn=3,ii=4;function Ai(x){var ne=gr-1,Ee=x.prefixCls,_e=x.viewDate,Ke=x.generateConfig,Fe=x.disabledDate,Xe="".concat(Ee,"-cell"),lt=Ke.getYear(_e),wt=Math.floor(lt/gr)*gr,Ot=Math.floor(lt/vr)*vr,kt=Ot+vr-1,Nt=Ke.setYear(_e,Ot-Math.ceil((Gn*ii*gr-vr)/2)),Je=function(pt){var Pt,At=Fe&&Fe(pt),Qt=Ke.getYear(pt),un=Qt+ne;return Pt={},Object(H.a)(Pt,"".concat(Xe,"-disabled"),At),Object(H.a)(Pt,"".concat(Xe,"-in-view"),Ot<=Qt&&un<=kt),Object(H.a)(Pt,"".concat(Xe,"-selected"),Qt===wt),Pt};return F.createElement(gn,Object.assign({},x,{rowNum:ii,colNum:Gn,baseDate:Nt,getCellText:function(pt){var Pt=Ke.getYear(pt);return"".concat(Pt,"-").concat(Pt+ne)},getCellClassName:Je,getCellDate:function(pt,Pt){return Ke.addYear(pt,Pt*gr)}}))}var en=Ai,gr=10,vr=gr*10;function So(x){var ne=x.prefixCls,Ee=x.onViewDateChange,_e=x.generateConfig,Ke=x.viewDate,Fe=x.operationRef,Xe=x.onSelect,lt=x.onPanelChange,wt="".concat(ne,"-decade-panel");Fe.current={onKeyDown:function(Je){return Ue(Je,{onLeftRight:function(pt){Xe(_e.addYear(Ke,pt*gr),"key")},onCtrlLeftRight:function(pt){Xe(_e.addYear(Ke,pt*vr),"key")},onUpDown:function(pt){Xe(_e.addYear(Ke,pt*gr*Gn),"key")},onEnter:function(){lt("year",Ke)}})}};var Ot=function(Je){var xt=_e.addYear(Ke,Je*vr);Ee(xt),lt(null,xt)},kt=function(Je){Xe(Je,"mouse"),lt("year",Je)};return F.createElement("div",{className:wt},F.createElement(Mr,Object.assign({},x,{prefixCls:ne,onPrevDecades:function(){Ot(-1)},onNextDecades:function(){Ot(1)}})),F.createElement(en,Object.assign({},x,{prefixCls:ne,onSelect:kt})))}var ei=So;function Zr(x,ne,Ee){return Ee?F.createElement("div",{className:"".concat(x,"-footer-extra")},Ee(ne)):null}function Ui(x){var ne=x.prefixCls,Ee=x.rangeList,_e=Ee===void 0?[]:Ee,Ke=x.components,Fe=Ke===void 0?{}:Ke,Xe=x.needConfirmButton,lt=x.onNow,wt=x.onOk,Ot=x.okDisabled,kt=x.showNow,Nt=x.locale,Je,xt;if(_e.length){var pt=Fe.rangeItem||"span";Je=F.createElement(F.Fragment,null,_e.map(function(At){var Qt=At.label,un=At.onClick,Rn=At.onMouseEnter,er=At.onMouseLeave;return F.createElement("li",{key:Qt,className:"".concat(ne,"-preset")},F.createElement(pt,{onClick:un,onMouseEnter:Rn,onMouseLeave:er},Qt))}))}if(Xe){var Pt=Fe.button||"button";lt&&!Je&&kt!==!1&&(Je=F.createElement("li",{className:"".concat(ne,"-now")},F.createElement("a",{className:"".concat(ne,"-now-btn"),onClick:lt},Nt.now))),xt=Xe&&F.createElement("li",{className:"".concat(ne,"-ok")},F.createElement(Pt,{disabled:Ot,onClick:wt},Nt.ok))}return!Je&&!xt?null:F.createElement("ul",{className:"".concat(ne,"-ranges")},Je,xt)}function vo(x){var ne,Ee=x.prefixCls,_e=Ee===void 0?"rc-picker":Ee,Ke=x.className,Fe=x.style,Xe=x.locale,lt=x.generateConfig,wt=x.value,Ot=x.defaultValue,kt=x.pickerValue,Nt=x.defaultPickerValue,Je=x.disabledDate,xt=x.mode,pt=x.picker,Pt=pt===void 0?"date":pt,At=x.tabIndex,Qt=At===void 0?0:At,un=x.showNow,Rn=x.showTime,er=x.showToday,An=x.renderExtraFooter,Tn=x.hideHeader,Kn=x.onSelect,Wn=x.onChange,Hi=x.onPanelChange,yi=x.onMouseDown,Fo=x.onPickerValueChange,Ci=x.onOk,yo=x.components,xi=x.direction,$a=x.hourStep,es=$a===void 0?1:$a,ts=x.minuteStep,fa=ts===void 0?1:ts,ns=x.secondStep,Bo=ns===void 0?1:ns,rs=Pt==="date"&&!!Rn||Pt==="time",Ra=24%es===0,Na=60%fa===0,yr=60%Bo===0,jr=F.useContext(I),li=jr.operationRef,Uo=jr.panelRef,To=jr.onSelect,Wi=jr.hideRanges,Zo=jr.defaultOpenValue,zi=F.useContext(Ln),Ho=zi.inRange,Is=zi.panelPosition,ya=zi.rangedValue,da=zi.hoverRangedValue,ci=F.useRef({}),ba=F.useRef(!0),Uu=Object(j.a)(null,{value:wt,defaultValue:Ot,postState:function(_n){return!_n&&Zo&&Pt==="time"?Zo:_n}}),to=Object(pe.a)(Uu,2),qo=to[0],Hu=to[1],Wo=Object(j.a)(null,{value:kt,defaultValue:Nt||qo,postState:function(_n){return _n||lt.getNow()}}),Ia=Object(pe.a)(Wo,2),Si=Ia[0],Vi=Ia[1],bo=function(_n){Vi(_n),Fo&&Fo(_n)},is=function(_n){var br=C[Pt];return br?br(_n):_n},Gi=Object(j.a)(function(){return Pt==="time"?"time":is("date")},{value:xt}),Pa=Object(pe.a)(Gi,2),Ki=Pa[0],ru=Pa[1];F.useEffect(function(){ru(Pt)},[Pt]);var _a=F.useState(function(){return Ki}),Yn=Object(pe.a)(_a,2),_l=Yn[0],ha=Yn[1],kr=function(_n,br){var $o=is(_n||Ki);ha(Ki),ru($o),Hi&&(Ki!==$o||Dn(lt,Si,Si))&&Hi(br,$o)},no=function(_n,br){var $o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Ki===Pt||$o)&&(Hu(_n),Kn&&Kn(_n),To&&To(_n,br),Wn&&!Dn(lt,_n,qo)&&Wn(_n))},os=function(_n){return ci.current&&ci.current.onKeyDown?([w.a.LEFT,w.a.RIGHT,w.a.UP,w.a.DOWN,w.a.PAGE_UP,w.a.PAGE_DOWN,w.a.ENTER].includes(_n.which)&&_n.preventDefault(),ci.current.onKeyDown(_n)):(Object(z.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},fi=function(_n){ci.current&&ci.current.onBlur&&ci.current.onBlur(_n)};li&&Is!=="right"&&(li.current={onKeyDown:os,onClose:function(){ci.current&&ci.current.onClose&&ci.current.onClose()}}),F.useEffect(function(){wt&&!ba.current&&Vi(wt)},[wt]),F.useEffect(function(){ba.current=!1},[]);var ro,zo=Object(ue.a)(Object(ue.a)({},x),{},{operationRef:ci,prefixCls:_e,viewDate:Si,value:qo,onViewDateChange:bo,sourceMode:_l,onPanelChange:kr,disabledDate:Ki!=="decade"?Je:void 0});delete zo.onChange,delete zo.onSelect;switch(Ki){case"decade":ro=F.createElement(ei,Object.assign({},zo,{onSelect:function(_n,br){bo(_n),no(_n,br)}}));break;case"year":ro=F.createElement(pn,Object.assign({},zo,{onSelect:function(_n,br){bo(_n),no(_n,br)}}));break;case"month":ro=F.createElement(st,Object.assign({},zo,{onSelect:function(_n,br){bo(_n),no(_n,br)}}));break;case"quarter":ro=F.createElement(St,Object.assign({},zo,{onSelect:function(_n,br){bo(_n),no(_n,br)}}));break;case"week":ro=F.createElement(Lr,Object.assign({},zo,{onSelect:function(_n,br){bo(_n),no(_n,br)}}));break;case"time":delete zo.showTime,ro=F.createElement(tt,Object.assign({},zo,Object(A.a)(Rn)==="object"?Rn:null,{onSelect:function(_n,br){bo(_n),no(_n,br)}}));break;default:Rn?ro=F.createElement(ko,Object.assign({},zo,{onSelect:function(_n,br){bo(_n),no(_n,br)}})):ro=F.createElement(Ur,Object.assign({},zo,{onSelect:function(_n,br){bo(_n),no(_n,br)}}))}var iu,ou,as=function(){var _n=lt.getNow(),br=qe(lt.getHour(_n),lt.getMinute(_n),lt.getSecond(_n),Ra?es:1,Na?fa:1,yr?Bo:1),$o=Qe(lt,_n,br[0],br[1],br[2]);no($o,"submit")};Wi||(iu=Zr(_e,Ki,An),ou=Ui({prefixCls:_e,components:yo,needConfirmButton:rs,okDisabled:!qo||Je&&Je(qo),locale:Xe,showNow:un,onNow:rs&&as,onOk:function(){qo&&(no(qo,"submit",!0),Ci&&Ci(qo))}}));var au;if(er&&Ki==="date"&&Pt==="date"&&!Rn){var su=lt.getNow(),Ti="".concat(_e,"-today-btn"),pa=Je&&Je(su);au=F.createElement("a",{className:V()(Ti,pa&&"".concat(Ti,"-disabled")),"aria-disabled":pa,onClick:function(){pa||no(su,"mouse",!0)}},Xe.today)}return F.createElement(I.Provider,{value:Object(ue.a)(Object(ue.a)({},jr),{},{hideHeader:"hideHeader"in x?Tn:jr.hideHeader,hidePrevBtn:Ho&&Is==="right",hideNextBtn:Ho&&Is==="left"})},F.createElement("div",{tabIndex:Qt,className:V()("".concat(_e,"-panel"),Ke,(ne={},Object(H.a)(ne,"".concat(_e,"-panel-has-range"),ya&&ya[0]&&ya[1]),Object(H.a)(ne,"".concat(_e,"-panel-has-range-hover"),da&&da[0]&&da[1]),Object(H.a)(ne,"".concat(_e,"-panel-rtl"),xi==="rtl"),ne)),style:Fe,onKeyDown:os,onBlur:fi,onMouseDown:yi,ref:Uo},ro,iu||ou||au?F.createElement("div",{className:"".concat(_e,"-footer")},iu,ou,au):null))}var sr=vo,qa=O("uciX"),Up={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function Qc(x){var ne,Ee=x.prefixCls,_e=x.popupElement,Ke=x.popupStyle,Fe=x.visible,Xe=x.dropdownClassName,lt=x.dropdownAlign,wt=x.transitionName,Ot=x.getPopupContainer,kt=x.children,Nt=x.range,Je=x.popupPlacement,xt=x.direction,pt="".concat(Ee,"-dropdown"),Pt=function(){return Je!==void 0?Je:xt==="rtl"?"bottomRight":"bottomLeft"};return F.createElement(qa.a,{showAction:[],hideAction:[],popupPlacement:Pt(),builtinPlacements:Up,prefixCls:pt,popupTransitionName:wt,popup:_e,popupAlign:lt,popupVisible:Fe,popupClassName:V()(Xe,(ne={},Object(H.a)(ne,"".concat(pt,"-range"),Nt),Object(H.a)(ne,"".concat(pt,"-rtl"),xt==="rtl"),ne)),popupStyle:Ke,getPopupContainer:Ot},kt)}var j0=Qc;function xd(x){var ne=x.open,Ee=x.value,_e=x.isClickOutside,Ke=x.triggerOpen,Fe=x.forwardKeyDown,Xe=x.blurToCancel,lt=x.onSubmit,wt=x.onCancel,Ot=x.onFocus,kt=x.onBlur,Nt=Object(F.useState)(!1),Je=Object(pe.a)(Nt,2),xt=Je[0],pt=Je[1],Pt=Object(F.useState)(!1),At=Object(pe.a)(Pt,2),Qt=At[0],un=At[1],Rn=Object(F.useRef)(!1),er=Object(F.useRef)(!1),An={onMouseDown:function(){pt(!0),Ke(!0)},onKeyDown:function(Kn){switch(Kn.which){case w.a.ENTER:{ne?lt()!==!1&&pt(!0):Ke(!0),Kn.preventDefault();return}case w.a.TAB:{xt&&ne&&!Kn.shiftKey?(pt(!1),Kn.preventDefault()):!xt&&ne&&(!Fe(Kn)&&Kn.shiftKey&&(pt(!0),Kn.preventDefault()));return}case w.a.ESC:{pt(!0),wt();return}}!ne&&![w.a.SHIFT].includes(Kn.which)?Ke(!0):xt||Fe(Kn)},onFocus:function(Kn){pt(!0),un(!0),Ot&&Ot(Kn)},onBlur:function(Kn){if(Rn.current||!_e(document.activeElement)){Rn.current=!1;return}Xe?setTimeout(function(){_e(document.activeElement)&&wt()},0):ne&&(Ke(!1),er.current&&lt()),un(!1),kt&&kt(Kn)}};return Object(F.useEffect)(function(){er.current=!1},[ne]),Object(F.useEffect)(function(){er.current=!0},[Ee]),Object(F.useEffect)(function(){return B(function(Tn){var Kn=Tn.target;ne&&(_e(Kn)?Qt||Ke(!1):(Rn.current=!0,requestAnimationFrame(function(){Rn.current=!1})))})}),[An,{focused:Qt,typing:xt}]}function Sd(x){var ne=x.valueTexts,Ee=x.onTextChange,_e=F.useState(""),Ke=Object(pe.a)(_e,2),Fe=Ke[0],Xe=Ke[1],lt=F.useRef([]);lt.current=ne;function wt(kt){Xe(kt),Ee(kt)}function Ot(){Xe(lt.current[0])}return F.useEffect(function(){ne.every(function(kt){return kt!==Fe})&&Ot()},[ne.join("||")]),[Fe,wt,Ot]}var Td=O("Gytx"),$E=O.n(Td);function Dd(x,ne){var Ee=ne.formatList,_e=ne.generateConfig,Ke=ne.locale;return Object(me.a)(function(){if(!x)return[[""],""];for(var Fe="",Xe=[],lt=0;lt<Ee.length;lt+=1){var wt=Ee[lt],Ot=_e.locale.format(Ke.locale,x,wt);Xe.push(Ot),lt===0&&(Fe=Ot)}return[Xe,Fe]},[x,Ee],function(Fe,Xe){return Fe[0]!==Xe[0]||!$E()(Fe[1],Xe[1])})}function Zc(x,ne){var Ee=ne.formatList,_e=ne.generateConfig,Ke=ne.locale,Fe=Object(F.useState)(null),Xe=Object(pe.a)(Fe,2),lt=Xe[0],wt=Xe[1],Ot=Object(F.useRef)(null);function kt(At){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(Ot.current),Qt){wt(At);return}Ot.current=requestAnimationFrame(function(){wt(At)})}var Nt=Dd(lt,{formatList:Ee,generateConfig:_e,locale:Ke}),Je=Object(pe.a)(Nt,2),xt=Je[1];function pt(At){kt(At)}function Pt(){var At=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;kt(null,At)}return Object(F.useEffect)(function(){Pt(!0)},[x]),Object(F.useEffect)(function(){return function(){return cancelAnimationFrame(Ot.current)}},[]),[xt,pt,Pt]}function Rd(x){var ne,Ee=x.prefixCls,_e=Ee===void 0?"rc-picker":Ee,Ke=x.id,Fe=x.tabIndex,Xe=x.style,lt=x.className,wt=x.dropdownClassName,Ot=x.dropdownAlign,kt=x.popupStyle,Nt=x.transitionName,Je=x.generateConfig,xt=x.locale,pt=x.inputReadOnly,Pt=x.allowClear,At=x.autoFocus,Qt=x.showTime,un=x.picker,Rn=un===void 0?"date":un,er=x.format,An=x.use12Hours,Tn=x.value,Kn=x.defaultValue,Wn=x.open,Hi=x.defaultOpen,yi=x.defaultOpenValue,Fo=x.suffixIcon,Ci=x.clearIcon,yo=x.disabled,xi=x.disabledDate,$a=x.placeholder,es=x.getPopupContainer,ts=x.pickerRef,fa=x.panelRender,ns=x.onChange,Bo=x.onOpenChange,rs=x.onFocus,Ra=x.onBlur,Na=x.onMouseDown,yr=x.onMouseUp,jr=x.onMouseEnter,li=x.onMouseLeave,Uo=x.onContextMenu,To=x.onClick,Wi=x.direction,Zo=x.autoComplete,zi=Zo===void 0?"off":Zo,Ho=F.useRef(null),Is=Rn==="date"&&!!Qt||Rn==="time",ya=Ce(Te(er,Rn,Qt,An)),da=F.useRef(null),ci=F.useRef(null),ba=Object(j.a)(null,{value:Tn,defaultValue:Kn}),Uu=Object(pe.a)(ba,2),to=Uu[0],qo=Uu[1],Hu=F.useState(to),Wo=Object(pe.a)(Hu,2),Ia=Wo[0],Si=Wo[1],Vi=F.useRef(null),bo=Object(j.a)(!1,{value:Wn,defaultValue:Hi,postState:function(Nn){return yo?!1:Nn},onChange:function(Nn){Bo&&Bo(Nn),!Nn&&Vi.current&&Vi.current.onClose&&Vi.current.onClose()}}),is=Object(pe.a)(bo,2),Gi=is[0],Pa=is[1],Ki=Dd(Ia,{formatList:ya,generateConfig:Je,locale:xt}),ru=Object(pe.a)(Ki,2),_a=ru[0],Yn=ru[1],_l=Sd({valueTexts:_a,onTextChange:function(Nn){var Ls=Je.locale.parse(xt.locale,Nn,ya);Ls&&(!xi||!xi(Ls))&&Si(Ls)}}),ha=Object(pe.a)(_l,3),kr=ha[0],no=ha[1],os=ha[2],fi=function(Nn){Si(Nn),qo(Nn),ns&&!Dn(Je,to,Nn)&&ns(Nn,Nn?Je.locale.format(xt.locale,Nn,ya[0]):"")},ro=function(Nn){if(yo&&Nn)return;Pa(Nn)},zo=function(Nn){return Gi&&Vi.current&&Vi.current.onKeyDown?Vi.current.onKeyDown(Nn):(Object(z.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},iu=function(){yr&&yr.apply(void 0,arguments),Ho.current&&(Ho.current.focus(),ro(!0))},ou=xd({blurToCancel:Is,open:Gi,value:kr,triggerOpen:ro,forwardKeyDown:zo,isClickOutside:function(Nn){return!D([da.current,ci.current],Nn)},onSubmit:function(){return xi&&xi(Ia)?!1:(fi(Ia),ro(!1),os(),!0)},onCancel:function(){ro(!1),Si(to),os()},onFocus:rs,onBlur:Ra}),as=Object(pe.a)(ou,2),au=as[0],su=as[1],Ti=su.focused,pa=su.typing;F.useEffect(function(){Gi||(Si(to),!_a.length||_a[0]===""?no(""):Yn!==kr&&os())},[Gi,_a]),F.useEffect(function(){Gi||os()},[Rn]),F.useEffect(function(){Si(to)},[to]),ts&&(ts.current={focus:function(){Ho.current&&Ho.current.focus()},blur:function(){Ho.current&&Ho.current.blur()}});var di=Object(ue.a)(Object(ue.a)({},x),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),_n=F.createElement(sr,Object.assign({},di,{generateConfig:Je,className:V()(Object(H.a)({},"".concat(_e,"-panel-focused"),!pa)),value:Ia,locale:xt,tabIndex:-1,onChange:Si,direction:Wi}));fa&&(_n=fa(_n));var br=F.createElement("div",{className:"".concat(_e,"-panel-container"),onMouseDown:function(Nn){Nn.preventDefault()}},_n),$o;Fo&&($o=F.createElement("span",{className:"".concat(_e,"-suffix")},Fo));var El;Pt&&to&&!yo&&(El=F.createElement("span",{onMouseDown:function(Nn){Nn.preventDefault(),Nn.stopPropagation()},onMouseUp:function(Nn){Nn.preventDefault(),Nn.stopPropagation(),fi(null),ro(!1)},className:"".concat(_e,"-clear")},Ci||F.createElement("span",{className:"".concat(_e,"-clear-btn")})));var ss=function(Nn,Ls){(Ls==="submit"||Ls!=="key"&&!Is)&&(fi(Nn),ro(!1))},Wu=Wi==="rtl"?"bottomRight":"bottomLeft",Pd=Zc(kr,{formatList:ya,generateConfig:Je,locale:xt}),Ps=Object(pe.a)(Pd,3),Pn=Ps[0],Di=Ps[1],oi=Ps[2];return F.createElement(I.Provider,{value:{operationRef:Vi,hideHeader:Rn==="time",panelRef:da,onSelect:ss,open:Gi,defaultOpenValue:yi,onDateMouseEnter:Di,onDateMouseLeave:oi}},F.createElement(j0,{visible:Gi,popupElement:br,popupStyle:kt,prefixCls:_e,dropdownClassName:wt,dropdownAlign:Ot,getPopupContainer:es,transitionName:Nt,popupPlacement:Wu,direction:Wi},F.createElement("div",{className:V()(_e,lt,(ne={},Object(H.a)(ne,"".concat(_e,"-disabled"),yo),Object(H.a)(ne,"".concat(_e,"-focused"),Ti),Object(H.a)(ne,"".concat(_e,"-rtl"),Wi==="rtl"),ne)),style:Xe,onMouseDown:Na,onMouseUp:iu,onMouseEnter:jr,onMouseLeave:li,onContextMenu:Uo,onClick:To},F.createElement("div",{className:V()("".concat(_e,"-input"),Object(H.a)({},"".concat(_e,"-input-placeholder"),!!Pn)),ref:ci},F.createElement("input",Object.assign({id:Ke,tabIndex:Fe,disabled:yo,readOnly:pt||!pa,value:Pn||kr,onChange:function(Nn){no(Nn.target.value)},autoFocus:At,placeholder:$a,ref:Ho,title:kr},au,{size:ye(Rn,ya[0])},Ge(x),{autoComplete:zi})),$o,El))))}var e2=function(x){Object(We.a)(Ee,x);var ne=Object(ke.a)(Ee);function Ee(){var _e;return Object(oe.a)(this,Ee),_e=ne.apply(this,arguments),_e.pickerRef=F.createRef(),_e.focus=function(){_e.pickerRef.current&&_e.pickerRef.current.focus()},_e.blur=function(){_e.pickerRef.current&&_e.pickerRef.current.blur()},_e}return Object(ve.a)(Ee,[{key:"render",value:function(){return F.createElement(Rd,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Ee}(F.Component),t2=e2;function Hp(x,ne,Ee){var _e=x.picker,Ke=x.locale,Fe=x.selectedValue,Xe=x.disabledDate,lt=x.disabled,wt=x.generateConfig,Ot=be(Fe,0),kt=be(Fe,1);function Nt(At){var Qt=wt.getYear(At),un=wt.locale.getWeek(Ke.locale,At);return Qt*100+un}function Je(At){var Qt=wt.getYear(At),un=wt.getMonth(At);return Qt*100+un}function xt(At){var Qt=wt.getYear(At),un=Ae(wt,At);return Qt*10+un}var pt=F.useCallback(function(At){if(Xe&&Xe(At))return!0;if(lt[1]&&kt)return!Mt(wt,At,kt)&&wt.isAfter(At,kt);if(ne&&kt)switch(_e){case"quarter":return xt(At)>xt(kt);case"month":return Je(At)>Je(kt);case"week":return Nt(At)>Nt(kt);default:return!Mt(wt,At,kt)&&wt.isAfter(At,kt)}return!1},[Xe,lt[1],kt,ne]),Pt=F.useCallback(function(At){if(Xe&&Xe(At))return!0;if(lt[0]&&Ot)return!Mt(wt,At,kt)&&wt.isAfter(Ot,At);if(Ee&&Ot)switch(_e){case"quarter":return xt(At)<xt(Ot);case"month":return Je(At)<Je(Ot);case"week":return Nt(At)<Nt(Ot);default:return!Mt(wt,At,Ot)&&wt.isAfter(Ot,At)}return!1},[Xe,lt[0],Ot,Ee]);return[pt,Pt]}function n2(x,ne,Ee,_e){var Ke=Pr(x,Ee,_e,1);function Fe(Xe){return Xe(x,ne)?"same":Xe(Ke,ne)?"closing":"far"}switch(Ee){case"year":return Fe(function(Xe,lt){return Zt(_e,Xe,lt)});case"quarter":case"month":return Fe(function(Xe,lt){return ee(_e,Xe,lt)});default:return Fe(function(Xe,lt){return Ye(_e,Xe,lt)})}}function r2(x,ne,Ee,_e){var Ke=be(x,0),Fe=be(x,1);if(ne===0)return Ke;if(Ke&&Fe){var Xe=n2(Ke,Fe,Ee,_e);switch(Xe){case"same":return Ke;case"closing":return Ke;default:return Pr(Fe,Ee,_e,-1)}}return Ke}function k0(x){var ne=x.values,Ee=x.picker,_e=x.defaultDates,Ke=x.generateConfig,Fe=F.useState(function(){return[be(_e,0),be(_e,1)]}),Xe=Object(pe.a)(Fe,2),lt=Xe[0],wt=Xe[1],Ot=F.useState(null),kt=Object(pe.a)(Ot,2),Nt=kt[0],Je=kt[1],xt=be(ne,0),pt=be(ne,1);function Pt(Qt){return lt[Qt]?lt[Qt]:be(Nt,Qt)||r2(ne,Qt,Ee,Ke)||xt||pt||Ke.getNow()}function At(Qt,un){if(Qt){var Rn=Be(Nt,Qt,un);wt(Be(lt,null,un)||[null,null]);var er=(un+1)%2;be(ne,er)||(Rn=Be(Rn,Qt,er)),Je(Rn)}else(xt||pt)&&Je(null)}return[Pt,At]}function Nd(x,ne){return x&&x[0]&&x[1]&&ne.isAfter(x[0],x[1])?[x[1],x[0]]:x}function Wp(x,ne,Ee,_e){return x||_e&&_e[ne]?!0:!!Ee[(ne+1)%2]}function F0(x){var ne,Ee,_e,Ke=x.prefixCls,Fe=Ke===void 0?"rc-picker":Ke,Xe=x.id,lt=x.style,wt=x.className,Ot=x.popupStyle,kt=x.dropdownClassName,Nt=x.transitionName,Je=x.dropdownAlign,xt=x.getPopupContainer,pt=x.generateConfig,Pt=x.locale,At=x.placeholder,Qt=x.autoFocus,un=x.disabled,Rn=x.format,er=x.picker,An=er===void 0?"date":er,Tn=x.showTime,Kn=x.use12Hours,Wn=x.separator,Hi=Wn===void 0?"~":Wn,yi=x.value,Fo=x.defaultValue,Ci=x.defaultPickerValue,yo=x.open,xi=x.defaultOpen,$a=x.disabledDate,es=x.disabledTime,ts=x.dateRender,fa=x.panelRender,ns=x.ranges,Bo=x.allowEmpty,rs=x.allowClear,Ra=x.suffixIcon,Na=x.clearIcon,yr=x.pickerRef,jr=x.inputReadOnly,li=x.mode,Uo=x.renderExtraFooter,To=x.onChange,Wi=x.onOpenChange,Zo=x.onPanelChange,zi=x.onCalendarChange,Ho=x.onFocus,Is=x.onBlur,ya=x.onOk,da=x.components,ci=x.order,ba=x.direction,Uu=x.activePickerIndex,to=x.autoComplete,qo=to===void 0?"off":to,Hu=An==="date"&&!!Tn||An==="time",Wo=Object(F.useRef)({}),Ia=Object(F.useRef)(null),Si=Object(F.useRef)(null),Vi=Object(F.useRef)(null),bo=Object(F.useRef)(null),is=Object(F.useRef)(null),Gi=Object(F.useRef)(null),Pa=Object(F.useRef)(null),Ki=Ce(Te(Rn,An,Tn,Kn)),ru=Object(j.a)(0,{value:Uu}),_a=Object(pe.a)(ru,2),Yn=_a[0],_l=_a[1],ha=Object(F.useRef)(null),kr=F.useMemo(function(){return Array.isArray(un)?un:[un||!1,un||!1]},[un]),no=Object(j.a)(null,{value:yi,defaultValue:Fo,postState:function(on){return An==="time"&&!ci?on:Nd(on,pt)}}),os=Object(pe.a)(no,2),fi=os[0],ro=os[1],zo=k0({values:fi,picker:An,defaultDates:Ci,generateConfig:pt}),iu=Object(pe.a)(zo,2),ou=iu[0],as=iu[1],au=Object(j.a)(fi,{postState:function(on){var Sn=on;if(kr[0]&&kr[1])return Sn;for(var rr=0;rr<2;rr+=1)kr[rr]&&!be(Sn,rr)&&!be(Bo,rr)&&(Sn=Be(Sn,pt.getNow(),rr));return Sn}}),su=Object(pe.a)(au,2),Ti=su[0],pa=su[1],di=Object(j.a)([An,An],{value:li}),_n=Object(pe.a)(di,2),br=_n[0],$o=_n[1];Object(F.useEffect)(function(){$o([An,An])},[An]);var El=function(on,Sn){$o(on),Zo&&Zo(Sn,on)},ss=Hp({picker:An,selectedValue:Ti,locale:Pt,disabled:kr,disabledDate:$a,generateConfig:pt},Wo.current[1],Wo.current[0]),Wu=Object(pe.a)(ss,2),Pd=Wu[0],Ps=Wu[1],Pn=Object(j.a)(!1,{value:yo,defaultValue:xi,postState:function(on){return kr[Yn]?!1:on},onChange:function(on){Wi&&Wi(on),!on&&ha.current&&ha.current.onClose&&ha.current.onClose()}}),Di=Object(pe.a)(Pn,2),oi=Di[0],hi=Di[1],Nn=oi&&Yn===0,Ls=oi&&Yn===1,U0=Object(F.useState)(0),H0=Object(pe.a)(U0,2),i2=H0[0],uu=H0[1];Object(F.useEffect)(function(){!oi&&Ia.current&&uu(Ia.current.offsetWidth)},[oi]);var zp=F.useRef();function lu(nr,on){if(nr)clearTimeout(zp.current),Wo.current[on]=!0,_l(on),hi(nr),oi||as(null,on);else if(Yn===on){hi(nr);var Sn=Wo.current;zp.current=setTimeout(function(){Sn===Wo.current&&(Wo.current={})})}}function qc(nr){lu(!0,nr),setTimeout(function(){var on=[Gi,Pa][nr];on.current&&on.current.focus()},0)}function $c(nr,on){var Sn=nr,rr=be(Sn,0),pi=be(Sn,1);rr&&pi&&pt.isAfter(rr,pi)&&(An==="week"&&!Mn(pt,Pt.locale,rr,pi)||An==="quarter"&&!ze(pt,rr,pi)||An!=="week"&&An!=="quarter"&&An!=="time"&&!Mt(pt,rr,pi)?(on===0?(Sn=[rr,null],pi=null):(rr=null,Sn=[null,pi]),Wo.current=Object(H.a)({},on,!0)):(An!=="time"||ci!==!1)&&(Sn=Nd(Sn,pt))),pa(Sn);var Ku=Sn&&Sn[0]?pt.locale.format(Pt.locale,Sn[0],Ki[0]):"",Go=Sn&&Sn[1]?pt.locale.format(Pt.locale,Sn[1],Ki[0]):"";if(zi){var Ma={range:on===0?"start":"end"};zi(Sn,[Ku,Go],Ma)}var ja=Wp(rr,0,kr,Bo),js=Wp(pi,1,kr,Bo),us=Sn===null||ja&&js;us&&(ro(Sn),To&&(!Dn(pt,be(fi,0),rr)||!Dn(pt,be(fi,1),pi))&&To(Sn,[Ku,Go]));var Yi=null;on===0&&!kr[1]?Yi=1:on===1&&!kr[0]&&(Yi=0),Yi!==null&&Yi!==Yn&&(!Wo.current[Yi]||!be(Sn,Yi))&&be(Sn,on)?qc(Yi):lu(!1,on)}var Hr=function(on){return oi&&ha.current&&ha.current.onKeyDown?ha.current.onKeyDown(on):(Object(z.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},W0={formatList:Ki,generateConfig:pt,locale:Pt},o2=Dd(be(Ti,0),W0),cu=Object(pe.a)(o2,2),wl=cu[0],a2=cu[1],z0=Dd(be(Ti,1),W0),V0=Object(pe.a)(z0,2),zu=V0[0],Ol=V0[1],Ri=function(on,Sn){var rr=pt.locale.parse(Pt.locale,on,Ki),pi=Sn===0?Pd:Ps;rr&&!pi(rr)&&(pa(Be(Ti,rr,Sn)),as(rr,Sn))},La=Sd({valueTexts:wl,onTextChange:function(on){return Ri(on,0)}}),Vp=Object(pe.a)(La,3),fu=Vp[0],ef=Vp[1],Ld=Vp[2],G0=Sd({valueTexts:zu,onTextChange:function(on){return Ri(on,1)}}),Md=Object(pe.a)(G0,3),tf=Md[0],Gp=Md[1],Kp=Md[2],Yp=Object(F.useState)(null),jd=Object(pe.a)(Yp,2),s2=jd[0],kd=jd[1],u2=Object(F.useState)(null),Fd=Object(pe.a)(u2,2),Al=Fd[0],Bd=Fd[1],nf=Zc(fu,{formatList:Ki,generateConfig:pt,locale:Pt}),Xp=Object(pe.a)(nf,3),K0=Xp[0],Jp=Xp[1],Ms=Xp[2],Qp=Zc(tf,{formatList:Ki,generateConfig:pt,locale:Pt}),Zp=Object(pe.a)(Qp,3),Ud=Zp[0],l2=Zp[1],Vo=Zp[2],c2=function(on){Bd(Be(Ti,on,Yn)),Yn===0?Jp(on):l2(on)},f2=function(){Bd(Be(Ti,null,Yn)),Yn===0?Ms():Vo()},Y0=function(on,Sn){return{blurToCancel:Hu,forwardKeyDown:Hr,onBlur:Is,isClickOutside:function(pi){return!D([Si.current,Vi.current,bo.current],pi)},onFocus:function(pi){_l(on),Ho&&Ho(pi)},triggerOpen:function(pi){lu(pi,on)},onSubmit:function(){$c(Ti,on),Sn()},onCancel:function(){lu(!1,on),pa(fi),Sn()}}},X0=xd(Object(ue.a)(Object(ue.a)({},Y0(0,Ld)),{},{open:Nn,value:fu})),Cl=Object(pe.a)(X0,2),Vu=Cl[0],qp=Cl[1],J0=qp.focused,Do=qp.typing,d2=xd(Object(ue.a)(Object(ue.a)({},Y0(1,Kp)),{},{open:Ls,value:tf})),Q0=Object(pe.a)(d2,2),h2=Q0[0],Hd=Q0[1],Wd=Hd.focused,Z0=Hd.typing,$p=function(on){!oi&&!Gi.current.contains(on.target)&&!Pa.current.contains(on.target)&&(kr[0]?kr[1]||qc(1):qc(0))},q0=function(on){oi&&(J0||Wd)&&!Gi.current.contains(on.target)&&!Pa.current.contains(on.target)&&on.preventDefault()},$0=fi&&fi[0]?pt.locale.format(Pt.locale,fi[0],"YYYYMMDDHHmmss"):"",p2=fi&&fi[1]?pt.locale.format(Pt.locale,fi[1],"YYYYMMDDHHmmss"):"";Object(F.useEffect)(function(){oi||(pa(fi),!wl.length||wl[0]===""?ef(""):a2!==fu&&Ld(),!zu.length||zu[0]===""?Gp(""):Ol!==tf&&Kp())},[oi,wl,zu]),Object(F.useEffect)(function(){pa(fi)},[$0,p2]),yr&&(yr.current={focus:function(){Gi.current&&Gi.current.focus()},blur:function(){Gi.current&&Gi.current.blur(),Pa.current&&Pa.current.blur()}});var em=Object.keys(ns||{}),m2=em.map(function(nr){var on=ns[nr],Sn=typeof on=="function"?on():on;return{label:nr,onClick:function(){$c(Sn,null),lu(!1,Yn)},onMouseEnter:function(){kd(Sn)},onMouseLeave:function(){kd(null)}}});function tm(){var nr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,on=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Sn=null;oi&&Al&&Al[0]&&Al[1]&&pt.isAfter(Al[1],Al[0])&&(Sn=Al);var rr=Tn;if(Tn&&Object(A.a)(Tn)==="object"&&Tn.defaultValue){var pi=Tn.defaultValue;rr=Object(ue.a)(Object(ue.a)({},Tn),{},{defaultValue:be(pi,Yn)||void 0})}var Ku=null;return ts&&(Ku=function(Ma,ja){return ts(Ma,ja,{range:Yn?"end":"start"})}),F.createElement(Ln.Provider,{value:{inRange:!0,panelPosition:nr,rangedValue:s2||Ti,hoverRangedValue:Sn}},F.createElement(sr,Object.assign({},x,on,{dateRender:Ku,showTime:rr,mode:br[Yn],generateConfig:pt,style:void 0,direction:ba,disabledDate:Yn===0?Pd:Ps,disabledTime:function(Ma){return es?es(Ma,Yn===0?"start":"end"):!1},className:V()(Object(H.a)({},"".concat(Fe,"-panel-focused"),Yn===0?!Do:!Z0)),value:be(Ti,Yn),locale:Pt,tabIndex:-1,onPanelChange:function(Ma,ja){El(Be(br,ja,Yn),Be(Ti,Ma,Yn));var js=Ma;nr==="right"&&br[Yn]===ja&&(js=Pr(js,ja,pt,-1)),as(js,Yn)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var io=0,e1=0;Yn&&Vi.current&&is.current&&Si.current&&(io=Vi.current.offsetWidth+is.current.offsetWidth,Si.current.offsetWidth&&io>Si.current.offsetWidth&&(e1=io));var t1=ba==="rtl"?{right:io}:{left:io};function g2(){var nr,on=Zr(Fe,br[Yn],Uo),Sn=Ui({prefixCls:Fe,components:da,needConfirmButton:Hu,okDisabled:!be(Ti,Yn)||$a&&$a(Ti[Yn]),locale:Pt,rangeList:m2,onOk:function(){be(Ti,Yn)&&($c(Ti,Yn),ya&&ya(Ti))}});if(An!=="time"&&!Tn){var rr=ou(Yn),pi=Pr(rr,An,pt),Ku=br[Yn],Go=Ku===An,Ma=tm(Go?"left":!1,{pickerValue:rr,onPickerValueChange:function(Yi){as(Yi,Yn)}}),ja=tm("right",{pickerValue:pi,onPickerValueChange:function(Yi){as(Pr(Yi,An,pt,-1),Yn)}});ba==="rtl"?nr=F.createElement(F.Fragment,null,ja,Go&&Ma):nr=F.createElement(F.Fragment,null,Ma,Go&&ja)}else nr=tm();var js=F.createElement(F.Fragment,null,F.createElement("div",{className:"".concat(Fe,"-panels")},nr),(on||Sn)&&F.createElement("div",{className:"".concat(Fe,"-footer")},on,Sn));return fa&&(js=fa(js)),F.createElement("div",{className:"".concat(Fe,"-panel-container"),style:{marginLeft:e1},ref:Si,onMouseDown:function(Yi){Yi.preventDefault()}},js)}var xl=F.createElement("div",{className:V()("".concat(Fe,"-range-wrapper"),"".concat(Fe,"-").concat(An,"-range-wrapper")),style:{minWidth:i2}},F.createElement("div",{className:"".concat(Fe,"-range-arrow"),style:t1}),g2()),Ro;Ra&&(Ro=F.createElement("span",{className:"".concat(Fe,"-suffix")},Ra));var n1;rs&&(be(fi,0)&&!kr[0]||be(fi,1)&&!kr[1])&&(n1=F.createElement("span",{onMouseDown:function(on){on.preventDefault(),on.stopPropagation()},onMouseUp:function(on){on.preventDefault(),on.stopPropagation();var Sn=fi;kr[0]||(Sn=Be(Sn,null,0)),kr[1]||(Sn=Be(Sn,null,1)),$c(Sn,null),lu(!1,Yn)},className:"".concat(Fe,"-clear")},Na||F.createElement("span",{className:"".concat(Fe,"-clear-btn")})));var rf={size:ye(An,Ki[0])},Gu=0,Sl=0;Vi.current&&bo.current&&is.current&&(Yn===0?Sl=Vi.current.offsetWidth:(Gu=io,Sl=bo.current.offsetWidth));var nm=ba==="rtl"?{right:Gu}:{left:Gu},r1=function(on,Sn){var rr=Be(Ti,on,Yn);Sn==="submit"||Sn!=="key"&&!Hu?($c(rr,Yn),Yn===0?Ms():Vo()):pa(rr)};return F.createElement(I.Provider,{value:{operationRef:ha,hideHeader:An==="time",onDateMouseEnter:c2,onDateMouseLeave:f2,hideRanges:!0,onSelect:r1,open:oi}},F.createElement(j0,{visible:oi,popupElement:xl,popupStyle:Ot,prefixCls:Fe,dropdownClassName:kt,dropdownAlign:Je,getPopupContainer:xt,transitionName:Nt,range:!0,direction:ba},F.createElement("div",Object.assign({ref:Ia,className:V()(Fe,"".concat(Fe,"-range"),wt,(ne={},Object(H.a)(ne,"".concat(Fe,"-disabled"),kr[0]&&kr[1]),Object(H.a)(ne,"".concat(Fe,"-focused"),Yn===0?J0:Wd),Object(H.a)(ne,"".concat(Fe,"-rtl"),ba==="rtl"),ne)),style:lt,onClick:$p,onMouseDown:q0},Ge(x)),F.createElement("div",{className:V()("".concat(Fe,"-input"),(Ee={},Object(H.a)(Ee,"".concat(Fe,"-input-active"),Yn===0),Object(H.a)(Ee,"".concat(Fe,"-input-placeholder"),!!K0),Ee)),ref:Vi},F.createElement("input",Object.assign({id:Xe,disabled:kr[0],readOnly:jr||!Do,value:K0||fu,onChange:function(on){ef(on.target.value)},autoFocus:Qt,placeholder:be(At,0)||"",ref:Gi},Vu,rf,{autoComplete:qo}))),F.createElement("div",{className:"".concat(Fe,"-range-separator"),ref:is},Hi),F.createElement("div",{className:V()("".concat(Fe,"-input"),(_e={},Object(H.a)(_e,"".concat(Fe,"-input-active"),Yn===1),Object(H.a)(_e,"".concat(Fe,"-input-placeholder"),!!Ud),_e)),ref:bo},F.createElement("input",Object.assign({disabled:kr[1],readOnly:jr||!Z0,value:Ud||tf,onChange:function(on){Gp(on.target.value)},placeholder:be(At,1)||"",ref:Pa},h2,rf,{autoComplete:qo}))),F.createElement("div",{className:"".concat(Fe,"-active-bar"),style:Object(ue.a)(Object(ue.a)({},nm),{},{width:Sl,position:"absolute"})}),Ro,n1)))}var Id=function(x){Object(We.a)(Ee,x);var ne=Object(ke.a)(Ee);function Ee(){var _e;return Object(oe.a)(this,Ee),_e=ne.apply(this,arguments),_e.pickerRef=F.createRef(),_e.focus=function(){_e.pickerRef.current&&_e.pickerRef.current.focus()},_e.blur=function(){_e.pickerRef.current&&_e.pickerRef.current.blur()},_e}return Object(ve.a)(Ee,[{key:"render",value:function(){return F.createElement(F0,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Ee}(F.Component),Ns=Id,B0=re.b=t2},p5ED:function(ht,re,O){"use strict";var oe=O("+L6B"),ve=O("2/Rp"),We=O("5Dmo"),ke=O("3S7+"),H=O("k1fw"),ue=O("9og8"),pe=O("tJVT"),F=O("WmNS"),f=O.n(F),V=O("q1tI"),z=O.n(V),j=O("vHTk"),A=O.n(j),w=O("yEEn"),S=O("ZW9T"),I=O("1vsH"),k=O("V0Rq"),Z=O("m3rI");re.a=function(P){var N,ie,me,Se,te,xe,Ue,Te=P.editOffice,ye=Te===void 0?"view":Te,fe=P.data,J=P.theme,B=P.type,Y=P.filename,le=P.monacoEditor,M=P.className,b=P.style,C=P.close,D=P.onClose,v=P.hasMask,L=P.disabledDownload,G=Object(V.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),ce=Object(pe.a)(G,2),Ce=ce[0],Ge=ce[1],be=Object(V.useState)(""),Be=Object(pe.a)(be,2),Qe=Be[0],qe=Be[1],Ie=Object(V.useState)(),Rt=Object(pe.a)(Ie,2),K=Rt[0],se=Rt[1],$=window.ENV==="build"?"/react/build":"",je=Z.a.PROXY_SERVER||location.origin,tt,ct=1024*1024,Lt=10*ct,Zt=Object(V.useRef)();(N=fe)!==null&&N!==void 0&&N.startsWith("/api")&&B!=="txt"&&(fe=(Z.a.API_SERVER||location.origin)+fe),B==="office"&&(tt=Object(I.T)(fe).filesize,tt>Lt&&(B="other")),Y&&le&&(le.filename=Y),Object(V.useEffect)(function(){var Ye,Mt,hn=(Ye=document.cookie)===null||Ye===void 0||((Mt=Ye.replace(/\s/g,""))===null||Mt===void 0)?void 0:Mt.split(";");hn==null||hn.map(function(Mn){var Dn=Mn.split("=");Dn[0]==="_educoder_session"&&qe(Dn[1])})},[]),Object(V.useEffect)(function(){B==="office"&&ee()},[B,fe]);var ee=function(){var Ye=Object(ue.a)(f.a.mark(function Mt(){var hn,Mn,Dn;return f.a.wrap(function(Ir){for(;;)switch(Ir.prev=Ir.next){case 0:return console.log("data:",fe),hn=fe,fe.startsWith("http")||(hn=location.origin+hn),Mn=new URL(hn).pathname.split("/").pop(),Ir.next=6,Object(k.V)({attachment_id:Mn});case 6:Dn=Ir.sent,se(Dn);case 8:case"end":return Ir.stop()}},Mt)}));return function(){return Ye.apply(this,arguments)}}(),Ae=function(){if(fe.startsWith("http")||fe.startsWith("blob:")){ze();return}Object(I.z)(Y||"educoder",fe,Y)},ze=function(){Object(I.x)(Y||"educoder",decodeURIComponent(fe))};return z.a.createElement("div",{style:Object(H.a)({},b||{}),className:"".concat(v&&A.a.bgBlack," ").concat(B?A.a.wrp:"hide")},C&&z.a.createElement("div",{className:A.a.close,ref:Zt},!L&&z.a.createElement(ke.a,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:function(){return Zt.current}},z.a.createElement("span",{onClick:ze},z.a.createElement("i",{className:"icon-quxiaozhiding"}))),z.a.createElement(ke.a,{title:"\u5173\u95ED",getPopupContainer:function(){return Zt.current}},z.a.createElement("span",{className:"",onClick:D},z.a.createElement("i",{className:"icon-guanbi1"})))),z.a.createElement("div",{className:"".concat(A.a[M]," ").concat(M," ").concat(A.a.monaco," ").concat(B==="txt"?"show":"hide")},B==="txt"&&z.a.createElement(S.b,le)),B==="audio"&&z.a.createElement("audio",{src:"".concat(((ie=fe)===null||ie===void 0?void 0:ie.indexOf("http://"))>-1||((me=fe)===null||me===void 0?void 0:me.indexOf("https://"))>-1?"":"data:audio/mp3;base64,").concat(fe),autoPlay:!0}),B==="video"&&z.a.createElement(z.a.Fragment,null,((Se=fe)===null||Se===void 0?void 0:Se.indexOf("http"))>-1?z.a.createElement("video",{controls:!0,src:"".concat(fe),autoPlay:!0}):z.a.createElement("video",{controls:!0,src:"data:video/mp4;base64,".concat(fe),autoPlay:!0})),B==="office"&&K&&z.a.createElement("iframe",{src:"".concat($,"/office.html?key=").concat(K.key,"&url=").concat(je+K.url,"&callbackUrl=").concat(je+K.callbackUrl,"&fileType=").concat(K.fileType,"&title=").concat(K.title,"&model=").concat(ye,"&officeServer=").concat(Z.a.OFFICE_SERVER,"&disabledDownload=").concat(!!L)}),B==="html"&&z.a.createElement("iframe",{src:fe+"&disposition=inline"}),B==="pdf"&&z.a.createElement("iframe",{src:"".concat($,"/js/pdfview/index.html?url=").concat(fe,"&disabledDownload=").concat(!!L)}),B==="image"&&z.a.createElement("img",{src:"".concat(((te=fe)===null||te===void 0?void 0:te.indexOf("http://"))>-1||((xe=fe)===null||xe===void 0?void 0:xe.indexOf("https://"))>-1||(Ue=fe)!==null&&Ue!==void 0&&Ue.startsWith("/api")?"":"data:image/png;base64,").concat(fe)}),B==="other"&&z.a.createElement("div",null,z.a.createElement(ve.a,{type:"primary",size:"large",onClick:Ae},z.a.createElement(w.a,null),"\u70B9\u51FB\u4E0B\u8F7D")),B==="download"&&z.a.createElement(ve.a,{type:"primary",size:"large",onClick:Ae},z.a.createElement(w.a,null),"\u70B9\u51FB\u4E0B\u8F7D"))}},p8Ha:function(ht,re){ht.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAA+NJREFUaEPtmnlIFFEcx7/jrlnZoVYWlrFZ2F3qtrVBm0FlF2UF0fGPEXRZqWV22KEWJf1hIkX0TwRBZUSHFXZIoV2moFJRYmaY7uZupmbrrsceL97Clh3rzNZMs9W8f99v3vt+3vc7w8x7wxBCZPiHGiMBebibkkMebhD+T4fmXVsVbycklgDD+XRIEzQlb58qYR6fY7I6RGFshGTwOalzrKXD58NkMV9PDF+/hK/xWYHm5Kys4NuZzkC+8h7Qt9afSQrfuIYPKFagqJyVVj4m+tkY1CEKRJvOrM/cFbE56Xfn8hggMAx516Lfv1O5Kf13oDwHCAABsWtb6uKSJ8Wd/FUojwKiEATEWmvUr96j2pL9K1AeB0QhbMTeoTXpl+ydFHfbXSiPBKIQFrvVXNdqmLNHGV/oDpSoQAsUsxDg09el3g5iaTa0GGYkqxKec4USFWhCwGhMHDCmS62ttvYP70mjeu+4LdVcoEQF8mbkmDV0Ovp39+9Sq9naqmtob1AlKxPes0GJCkTFyYgXQv2GYUCPfujm5e1Sb0NbU/URzb4RHg/kFGi1WmC3dv1Skr/8qvyvAWITSvvvRJ+XgH5YKCFfTrm40rlGcuhnKyY55G6O3KiXIidFzo248FEqRU6KHB85cmMMQSM3PUiNIN+ByK7M+SJpzegVeNFYgSJDGTaNX42bb+/hzaeabyQP6hmIrWFrEdwrCG22duRrH+PsqyuwERsrmqBAckaGTE0aTpdfQGn9c6gHRmB5aDS2PzzgEJc6ORGXq3LxrKH8G6GH1Dvx4F0RbtXko7vMBwsUM3FP+whN7c3iAtHZqUPpU3cjveQ4todvwK7Hh/GhrdEhzBVQluYALr6+gYd1xawA3xcI6pBzsqihkdgWtg6pRRl4Yij9osEV0Cj/EYgdHwNfeU8U6ApxvTqPkzt/7PNht3Kz42tTZzIgo+zr/qArICexoncwIgerQTdKkh4dxFujltUxwR1aqJgNZeAEpBUfxUF1Egp0T5BXe7/LyH2vOmbUMrRYTLhUlSsuUKhfCHZExCL+/n6YrGb06dYbWZo0pBRnoMaoQ8rkbSjSl6Hy4xuH0OYOo+P+ovfQnZoClNQ/Qy9vXySGb8Cxp6fwsqlSXKCZQ6ah2qhFVfPX3aWxAaGO+OXrCqEKDHNEytno45s+9fx9+mJxyFwo+gTTsyHcrX2Aknpu226CR451SXkukID+i3c5IY8k3UkkA1Tdjj4/ku0a1p1TIQ+N2cR17pcxTOLNReey2K5hBaIDCHWszyaO9lNnvBjmBBcYR7308xKXZRWxRnJIxMXnNLXkEKdlErHoM3lAaVMM4OYsAAAAAElFTkSuQmCC"},phzI:function(ht,re,O){"use strict";var oe=O("k1fw"),ve=O("9og8"),We=O("tJVT"),ke=O("WmNS"),H=O.n(ke),ue=O("q1tI"),pe=O.n(ue),F=O("yyNy");/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var f=function(){return f=Object.assign||function(Z){for(var P,N=1,ie=arguments.length;N<ie;N++)for(var me in P=arguments[N])Object.prototype.hasOwnProperty.call(P,me)&&(Z[me]=P[me]);return Z},f.apply(this,arguments)};function V(Z,P){var N=typeof Symbol=="function"&&Z[Symbol.iterator];if(!N)return Z;var ie,me,Se=N.call(Z),te=[];try{for(;(P===void 0||P-- >0)&&!(ie=Se.next()).done;)te.push(ie.value)}catch(xe){me={error:xe}}finally{try{ie&&!ie.done&&(N=Se.return)&&N.call(Se)}finally{if(me)throw me.error}}return te}function z(Z){var P=Z.defaultContent,N=P===void 0?[]:P,ie=Z.onCreated,me=Z.defaultHtml,Se=me===void 0?"":me,te=Z.value,xe=te===void 0?"":te,Ue=Z.onChange,Te=Z.defaultConfig,ye=Te===void 0?{}:Te,fe=Z.mode,J=fe===void 0?"default":fe,B=Z.style,Y=B===void 0?{}:B,le=Z.className,M=Object(ue.useRef)(null),b=V(Object(ue.useState)(null),2),C=b[0],D=b[1],v=V(Object(ue.useState)(""),2),L=v[0],G=v[1],ce=function(be){ie&&ie(be);var Be=ye.onCreated;Be&&Be(be)},Ce=function(be){G(be.getHtml()),Ue&&Ue(be);var Be=ye.onChange;Be&&Be(be)},Ge=function(be){var Be=ye.onDestroyed;D(null),Be&&Be(be)};return Object(ue.useEffect)(function(){if(C!=null&&xe!==L)try{C.setHtml(xe)}catch(be){console.error(be)}},[xe]),Object(ue.useEffect)(function(){var be;if(M.current!=null&&C==null&&!((be=M.current)===null||be===void 0?void 0:be.getAttribute("data-w-e-textarea"))){var Be=Object(F.a)({selector:M.current,config:f(f({},ye),{onCreated:ce,onChange:Ce,onDestroyed:Ge}),content:N,html:Se||xe,mode:J});D(Be)}},[C]),pe.a.createElement("div",{style:Y,ref:M,className:le})}function j(Z){var P=Z.editor,N=Z.defaultConfig,ie=N===void 0?{}:N,me=Z.mode,Se=me===void 0?"default":me,te=Z.style,xe=te===void 0?{}:te,Ue=Z.className,Te=Object(ue.useRef)(null);return Object(ue.useEffect)(function(){Te.current!=null&&P!=null&&F.b({editor:P,selector:Te.current,config:ie,mode:Se})},[P]),pe.a.createElement("div",{style:xe,ref:Te,className:Ue})}var A=O("ErOA"),w=O("9kvl"),S=O("Vg4E"),I=function(P){var N=P.defaultvalue,ie=P.onChange,me=P.style,Se=P.user,te=P.placeholder,xe=1024*1024*2,Ue=Object(ue.useRef)(null),Te=4,ye=Object(ue.useState)(null),fe=Object(We.a)(ye,2),J=fe[0],B=fe[1],Y=Object(ue.useState)(""),le=Object(We.a)(Y,2),M=le[0],b=le[1];Object(ue.useEffect)(function(){b(N)},[N]),Object(ue.useEffect)(function(){ie(M)},[M]);var C={},D={placeholder:te||"\u8BF7\u8F93\u5165\u5185\u5BB9...",MENU_CONF:{}};return D.MENU_CONF.uploadImage={customUpload:function(L,G){return Object(ve.a)(H.a.mark(function ce(){var Ce,Ge;return H.a.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return Ce=new FormData,Ce.append("file",L),Be.next=4,Object(A.a)("/api/attachments.json",{method:"post",body:Ce},!0);case 4:Ge=Be.sent,G(Ge==null?void 0:Ge.url,"","");case 6:case"end":return Be.stop()}},ce)}))()}},D.MENU_CONF.uploadVideo={customUpload:function(L,G){return Object(ve.a)(H.a.mark(function ce(){var Ce,Ge,be,Be,Qe,qe,Ie,Rt,K,se,$,je,tt,ct,Lt,Zt;return H.a.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ce=L.size,Ge=Math.ceil(Ce/xe),Ae.prev=2,Ae.next=5,Object(A.a)("/api/attachments/multipart_upload_start",{method:"POST",body:{fileName:L.name,chunkCount:Ge,user_id:Se==null||((be=Se.userInfo)===null||be===void 0)?void 0:be.user_id}});case 5:if(Qe=Ae.sent,!((Qe==null?void 0:Qe.status)!==0)){Ae.next=8;break}throw new Error;case 8:for(qe=Qe.upload_id,Ue.current=new AbortController,Ie=[],Rt=0,K=function(Ye){var Mt=Ye*xe,hn=Math.min(Mt+xe,Ce),Mn=L.slice(Mt,hn),Dn=new FormData;Dn.append("chunk",Mn),Dn.append("fileName",L.name),Dn.append("chunkIndex",(Ye+1).toString()),Dn.append("uploadId",qe),Ie.push(function(){return Object(A.a)("/api/attachments/multipart_upload",{method:"POST",body:Dn,signal:Ue.current.signal},!0).then(function(sn){})})},se=0;se<Ge;se++)K(se);$=0,je=Te,console.log(Ie,"promises");case 17:if(!($<Ie.length)){Ae.next=26;break}if(ct=(tt=Ie.slice($,$+je))===null||tt===void 0?void 0:tt.map(function(ze){return ze()}),!(ct.length>0)){Ae.next=24;break}return Ae.next=22,Promise.all(ct);case 22:Lt=Ae.sent,$+=je;case 24:Ae.next=17;break;case 26:return Ae.next=28,Object(A.a)("/api/attachments/multipart_upload_end",{method:"POST",body:{fileName:L.name,chunkCount:Ge,uploadId:qe,user_id:Se==null||((Be=Se.userInfo)===null||Be===void 0)?void 0:Be.user_id}});case 28:Zt=Ae.sent,G(Zt==null?void 0:Zt.object,""),Ae.next=34;break;case 32:Ae.prev=32,Ae.t0=Ae.catch(2);case 34:case"end":return Ae.stop()}},ce,null,[[2,32]])}))()}},Object(ue.useEffect)(function(){return function(){if(J==null)return;J.destroy(),B(null),ie(null)}},[J]),pe.a.createElement(pe.a.Fragment,null,pe.a.createElement("div",{style:{border:"1px solid #ccc",zIndex:100}},pe.a.createElement(j,{editor:J,defaultConfig:C,mode:"default",style:{borderBottom:"1px solid #ccc"}}),pe.a.createElement(z,{defaultConfig:D,value:M,onCreated:B,onChange:function(L){return b(L.getHtml())},mode:"default",style:Object(oe.a)({height:"500px",overflowY:"hidden"},me)})))},k=re.a=Object(w.a)(function(Z){var P=Z.user;return{user:P}})(I)},pmY6:function(ht,re,O){"use strict";O.d(re,"h",function(){return V}),O.d(re,"g",function(){return j}),O.d(re,"f",function(){return A}),O.d(re,"e",function(){return w}),O.d(re,"i",function(){return S}),O.d(re,"b",function(){return I}),O.d(re,"a",function(){return k}),O.d(re,"d",function(){return Z}),O.d(re,"c",function(){return P});var oe=O("C/vA"),ve=O("JYp7");const We=!1;let ke=null;function H(N){ke=N}if(We){const N="__is_disposable_tracked__";H(new class{trackDisposable(ie){const me=new Error("Potentially leaked disposable").stack;setTimeout(()=>{ie[N]||console.log(me)},3e3)}setParent(ie,me){if(ie&&ie!==k.None)try{ie[N]=!0}catch(Se){}}markAsDisposed(ie){if(ie&&ie!==k.None)try{ie[N]=!0}catch(me){}}markAsSingleton(ie){}})}function ue(N){return ke==null||ke.trackDisposable(N),N}function pe(N){ke==null||ke.markAsDisposed(N)}function F(N,ie){ke==null||ke.setParent(N,ie)}function f(N,ie){if(!ke)return;for(const me of N)ke.setParent(me,ie)}function V(N){return ke==null||ke.markAsSingleton(N),N}class z extends Error{constructor(N){super(`Encountered errors while disposing of store. Errors: [${N.join(", ")}]`);this.errors=N}}function j(N){return typeof N.dispose=="function"&&N.dispose.length===0}function A(N){if(ve.a.is(N)){let ie=[];for(const me of N)if(me)try{me.dispose()}catch(Se){ie.push(Se)}if(ie.length===1)throw ie[0];if(ie.length>1)throw new z(ie);return Array.isArray(N)?[]:N}else if(N)return N.dispose(),N}function w(...N){const ie=S(()=>A(N));return f(N,ie),ie}function S(N){const ie=ue({dispose:Object(oe.a)(()=>{pe(ie),N()})});return ie}class I{constructor(){this._toDispose=new Set,this._isDisposed=!1,ue(this)}dispose(){if(this._isDisposed)return;pe(this),this._isDisposed=!0,this.clear()}clear(){try{A(this._toDispose.values())}finally{this._toDispose.clear()}}add(N){if(!N)return N;if(N===this)throw new Error("Cannot register a disposable on itself!");return F(N,this),this._isDisposed?I.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(N),N}}I.DISABLE_DISPOSED_WARNING=!1;class k{constructor(){this._store=new I,ue(this),F(this._store,this)}dispose(){pe(this),this._store.dispose()}_register(N){if(N===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(N)}}k.None=Object.freeze({dispose(){}});class Z{constructor(){this._isDisposed=!1,ue(this)}get value(){return this._isDisposed?void 0:this._value}set value(N){var ie;if(this._isDisposed||N===this._value)return;(ie=this._value)===null||ie===void 0||ie.dispose(),N&&F(N,this),this._value=N}clear(){this.value=void 0}dispose(){var N;this._isDisposed=!0,pe(this),(N=this._value)===null||N===void 0||N.dispose(),this._value=void 0}clearAndLeak(){const N=this._value;return this._value=void 0,N&&F(N,null),N}}class P{constructor(N){this.object=N}dispose(){}}},psGv:function(ht,re,O){var oe,ve;(function(){var We;(function(){"use strict";var pe=[,,function(z){function j(S){this.__parent=S,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}j.prototype.clone_empty=function(){var S=new j(this.__parent);return S.set_indent(this.__indent_count,this.__alignment_count),S},j.prototype.item=function(S){return S<0?this.__items[this.__items.length+S]:this.__items[S]},j.prototype.has_match=function(S){for(var I=this.__items.length-1;I>=0;I--)if(this.__items[I].match(S))return!0;return!1},j.prototype.set_indent=function(S,I){this.is_empty()&&(this.__indent_count=S||0,this.__alignment_count=I||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},j.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},j.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},j.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var S=this.__parent.current_line;return S.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),S.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),S.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,S.__items[0]===" "&&(S.__items.splice(0,1),S.__character_count-=1),!0}return!1},j.prototype.is_empty=function(){return this.__items.length===0},j.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},j.prototype.push=function(S){this.__items.push(S);var I=S.lastIndexOf(`
`);I!==-1?this.__character_count=S.length-I:this.__character_count+=S.length},j.prototype.pop=function(){var S=null;return this.is_empty()||(S=this.__items.pop(),this.__character_count-=S.length),S},j.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},j.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},j.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},j.prototype.toString=function(){var S="";return this.is_empty()?this.__parent.indent_empty_lines&&(S=this.__parent.get_indent_string(this.__indent_count)):(S=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),S+=this.__items.join("")),S};function A(S,I){this.__cache=[""],this.__indent_size=S.indent_size,this.__indent_string=S.indent_char,S.indent_with_tabs||(this.__indent_string=new Array(S.indent_size+1).join(S.indent_char)),I=I||"",S.indent_level>0&&(I=new Array(S.indent_level+1).join(this.__indent_string)),this.__base_string=I,this.__base_string_length=I.length}A.prototype.get_indent_size=function(S,I){var k=this.__base_string_length;return I=I||0,S<0&&(k=0),k+=S*this.__indent_size,k+=I,k},A.prototype.get_indent_string=function(S,I){var k=this.__base_string;return I=I||0,S<0&&(S=0,k=""),I+=S*this.__indent_size,this.__ensure_cache(I),k+=this.__cache[I],k},A.prototype.__ensure_cache=function(S){for(;S>=this.__cache.length;)this.__add_column()},A.prototype.__add_column=function(){var S=this.__cache.length,I=0,k="";this.__indent_size&&S>=this.__indent_size&&(I=Math.floor(S/this.__indent_size),S-=I*this.__indent_size,k=new Array(I+1).join(this.__indent_string)),S&&(k+=new Array(S+1).join(" ")),this.__cache.push(k)};function w(S,I){this.__indent_cache=new A(S,I),this.raw=!1,this._end_with_newline=S.end_with_newline,this.indent_size=S.indent_size,this.wrap_line_length=S.wrap_line_length,this.indent_empty_lines=S.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new j(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}w.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},w.prototype.get_line_number=function(){return this.__lines.length},w.prototype.get_indent_string=function(S,I){return this.__indent_cache.get_indent_string(S,I)},w.prototype.get_indent_size=function(S,I){return this.__indent_cache.get_indent_size(S,I)},w.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},w.prototype.add_new_line=function(S){return this.is_empty()||!S&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},w.prototype.get_code=function(S){this.trim(!0);var I=this.current_line.pop();I&&(I[I.length-1]===`
`&&(I=I.replace(/\n+$/g,"")),this.current_line.push(I)),this._end_with_newline&&this.__add_outputline();var k=this.__lines.join(`
`);return S!==`
`&&(k=k.replace(/[\n]/g,S)),k},w.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},w.prototype.set_indent=function(S,I){return S=S||0,I=I||0,this.next_line.set_indent(S,I),this.__lines.length>1?(this.current_line.set_indent(S,I),!0):(this.current_line.set_indent(),!1)},w.prototype.add_raw_token=function(S){for(var I=0;I<S.newlines;I++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(S.whitespace_before),this.current_line.push(S.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},w.prototype.add_token=function(S){this.__add_space_before_token(),this.current_line.push(S),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},w.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},w.prototype.remove_indent=function(S){for(var I=this.__lines.length;S<I;)this.__lines[S]._remove_indent(),S++;this.current_line._remove_wrap_indent()},w.prototype.trim=function(S){for(S=S===void 0?!1:S,this.current_line.trim();S&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},w.prototype.just_added_newline=function(){return this.current_line.is_empty()},w.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},w.prototype.ensure_empty_line_above=function(S,I){for(var k=this.__lines.length-2;k>=0;){var Z=this.__lines[k];if(Z.is_empty())break;if(Z.item(0).indexOf(S)!==0&&Z.item(-1)!==I){this.__lines.splice(k+1,0,new j(this)),this.previous_line=this.__lines[this.__lines.length-2];break}k--}},z.exports.Output=w},function(z){function j(A,w,S,I){this.type=A,this.text=w,this.comments_before=null,this.newlines=S||0,this.whitespace_before=I||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}z.exports.Token=j},,,function(z){function j(S,I){this.raw_options=A(S,I),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}j.prototype._get_array=function(S,I){var k=this.raw_options[S],Z=I||[];return typeof k=="object"?k!==null&&typeof k.concat=="function"&&(Z=k.concat()):typeof k=="string"&&(Z=k.split(/[^a-zA-Z0-9_\/\-]+/)),Z},j.prototype._get_boolean=function(S,I){var k=this.raw_options[S],Z=k===void 0?!!I:!!k;return Z},j.prototype._get_characters=function(S,I){var k=this.raw_options[S],Z=I||"";return typeof k=="string"&&(Z=k.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),Z},j.prototype._get_number=function(S,I){var k=this.raw_options[S];I=parseInt(I,10),isNaN(I)&&(I=0);var Z=parseInt(k,10);return isNaN(Z)&&(Z=I),Z},j.prototype._get_selection=function(S,I,k){var Z=this._get_selection_list(S,I,k);if(Z.length!==1)throw new Error("Invalid Option Value: The option '"+S+`' can only be one of the following values:
`+I+`
You passed in: '`+this.raw_options[S]+"'");return Z[0]},j.prototype._get_selection_list=function(S,I,k){if(!I||I.length===0)throw new Error("Selection list cannot be empty.");if(k=k||[I[0]],!this._is_valid_selection(k,I))throw new Error("Invalid Default Value!");var Z=this._get_array(S,k);if(!this._is_valid_selection(Z,I))throw new Error("Invalid Option Value: The option '"+S+`' can contain only the following values:
`+I+`
You passed in: '`+this.raw_options[S]+"'");return Z},j.prototype._is_valid_selection=function(S,I){return S.length&&I.length&&!S.some(function(k){return I.indexOf(k)===-1})};function A(S,I){var k={};S=w(S);var Z;for(Z in S)Z!==I&&(k[Z]=S[Z]);if(I&&S[I])for(Z in S[I])k[Z]=S[I][Z];return k}function w(S){var I={},k;for(k in S){var Z=k.replace(/-/g,"_");I[Z]=S[k]}return I}z.exports.Options=j,z.exports.normalizeOpts=w,z.exports.mergeOpts=A},,function(z){var j=RegExp.prototype.hasOwnProperty("sticky");function A(w){this.__input=w||"",this.__input_length=this.__input.length,this.__position=0}A.prototype.restart=function(){this.__position=0},A.prototype.back=function(){this.__position>0&&(this.__position-=1)},A.prototype.hasNext=function(){return this.__position<this.__input_length},A.prototype.next=function(){var w=null;return this.hasNext()&&(w=this.__input.charAt(this.__position),this.__position+=1),w},A.prototype.peek=function(w){var S=null;return w=w||0,w+=this.__position,w>=0&&w<this.__input_length&&(S=this.__input.charAt(w)),S},A.prototype.__match=function(w,S){w.lastIndex=S;var I=w.exec(this.__input);return I&&!(j&&w.sticky)&&(I.index!==S&&(I=null)),I},A.prototype.test=function(w,S){return S=S||0,S+=this.__position,S>=0&&S<this.__input_length?!!this.__match(w,S):!1},A.prototype.testChar=function(w,S){var I=this.peek(S);return w.lastIndex=0,I!==null&&w.test(I)},A.prototype.match=function(w){var S=this.__match(w,this.__position);return S?this.__position+=S[0].length:S=null,S},A.prototype.read=function(w,S,I){var k="",Z;return w&&(Z=this.match(w),Z&&(k+=Z[0])),S&&(Z||!w)&&(k+=this.readUntil(S,I)),k},A.prototype.readUntil=function(w,S){var I="",k=this.__position;w.lastIndex=this.__position;var Z=w.exec(this.__input);return Z?(k=Z.index,S&&(k+=Z[0].length)):k=this.__input_length,I=this.__input.substring(this.__position,k),this.__position=k,I},A.prototype.readUntilAfter=function(w){return this.readUntil(w,!0)},A.prototype.get_regexp=function(w,S){var I=null,k="g";return S&&j&&(k="y"),typeof w=="string"&&w!==""?I=new RegExp(w,k):w&&(I=new RegExp(w.source,k)),I},A.prototype.get_literal_regexp=function(w){return RegExp(w.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},A.prototype.peekUntilAfter=function(w){var S=this.__position,I=this.readUntilAfter(w);return this.__position=S,I},A.prototype.lookBack=function(w){var S=this.__position-1;return S>=w.length&&this.__input.substring(S-w.length,S).toLowerCase()===w},z.exports.InputScanner=A},function(z,j,A){var w=A(8).InputScanner,S=A(3).Token,I=A(10).TokenStream,k=A(11).WhitespacePattern,Z={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},P=function(N,ie){this._input=new w(N),this._options=ie||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new k(this._input)};P.prototype.tokenize=function(){this._input.restart(),this.__tokens=new I,this._reset();for(var N,ie=new S(Z.START,""),me=null,Se=[],te=new I;ie.type!==Z.EOF;){for(N=this._get_next_token(ie,me);this._is_comment(N);)te.add(N),N=this._get_next_token(ie,me);te.isEmpty()||(N.comments_before=te,te=new I),N.parent=me,this._is_opening(N)?(Se.push(me),me=N):me&&this._is_closing(N,me)&&(N.opened=me,me.closed=N,me=Se.pop(),N.parent=me),N.previous=ie,ie.next=N,this.__tokens.add(N),ie=N}return this.__tokens},P.prototype._is_first_token=function(){return this.__tokens.isEmpty()},P.prototype._reset=function(){},P.prototype._get_next_token=function(N,ie){this._readWhitespace();var me=this._input.read(/.+/g);return me?this._create_token(Z.RAW,me):this._create_token(Z.EOF,"")},P.prototype._is_comment=function(N){return!1},P.prototype._is_opening=function(N){return!1},P.prototype._is_closing=function(N,ie){return!1},P.prototype._create_token=function(N,ie){var me=new S(N,ie,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return me},P.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},z.exports.Tokenizer=P,z.exports.TOKEN=Z},function(z){function j(A){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=A}j.prototype.restart=function(){this.__position=0},j.prototype.isEmpty=function(){return this.__tokens_length===0},j.prototype.hasNext=function(){return this.__position<this.__tokens_length},j.prototype.next=function(){var A=null;return this.hasNext()&&(A=this.__tokens[this.__position],this.__position+=1),A},j.prototype.peek=function(A){var w=null;return A=A||0,A+=this.__position,A>=0&&A<this.__tokens_length&&(w=this.__tokens[A]),w},j.prototype.add=function(A){this.__parent_token&&(A.parent=this.__parent_token),this.__tokens.push(A),this.__tokens_length+=1},z.exports.TokenStream=j},function(z,j,A){var w=A(12).Pattern;function S(I,k){w.call(this,I,k),k?this._line_regexp=this._input.get_regexp(k._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}S.prototype=new w,S.prototype.__set_whitespace_patterns=function(I,k){I+="\\t ",k+="\\n\\r",this._match_pattern=this._input.get_regexp("["+I+k+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+k+"]")},S.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var I=this._input.read(this._match_pattern);if(I===" ")this.whitespace_before_token=" ";else if(I){var k=this.__split(this._newline_regexp,I);this.newline_count=k.length-1,this.whitespace_before_token=k[this.newline_count]}return I},S.prototype.matching=function(I,k){var Z=this._create();return Z.__set_whitespace_patterns(I,k),Z._update(),Z},S.prototype._create=function(){return new S(this._input,this)},S.prototype.__split=function(I,k){I.lastIndex=0;for(var Z=0,P=[],N=I.exec(k);N;)P.push(k.substring(Z,N.index)),Z=N.index+N[0].length,N=I.exec(k);return Z<k.length?P.push(k.substring(Z,k.length)):P.push(""),P},z.exports.WhitespacePattern=S},function(z){function j(A,w){this._input=A,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,w&&(this._starting_pattern=this._input.get_regexp(w._starting_pattern,!0),this._match_pattern=this._input.get_regexp(w._match_pattern,!0),this._until_pattern=this._input.get_regexp(w._until_pattern),this._until_after=w._until_after)}j.prototype.read=function(){var A=this._input.read(this._starting_pattern);return(!this._starting_pattern||A)&&(A+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),A},j.prototype.read_match=function(){return this._input.match(this._match_pattern)},j.prototype.until_after=function(A){var w=this._create();return w._until_after=!0,w._until_pattern=this._input.get_regexp(A),w._update(),w},j.prototype.until=function(A){var w=this._create();return w._until_after=!1,w._until_pattern=this._input.get_regexp(A),w._update(),w},j.prototype.starting_with=function(A){var w=this._create();return w._starting_pattern=this._input.get_regexp(A,!0),w._update(),w},j.prototype.matching=function(A){var w=this._create();return w._match_pattern=this._input.get_regexp(A,!0),w._update(),w},j.prototype._create=function(){return new j(this._input,this)},j.prototype._update=function(){},z.exports.Pattern=j},function(z){function j(A,w){A=typeof A=="string"?A:A.source,w=typeof w=="string"?w:w.source,this.__directives_block_pattern=new RegExp(A+/ beautify( \w+[:]\w+)+ /.source+w,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(A+/\sbeautify\signore:end\s/.source+w,"g")}j.prototype.get_directives=function(A){if(!A.match(this.__directives_block_pattern))return null;var w={};this.__directive_pattern.lastIndex=0;for(var S=this.__directive_pattern.exec(A);S;)w[S[1]]=S[2],S=this.__directive_pattern.exec(A);return w},j.prototype.readIgnored=function(A){return A.readUntilAfter(this.__directives_end_ignore_pattern)},z.exports.Directives=j},function(z,j,A){var w=A(12).Pattern,S={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function I(k,Z){w.call(this,k,Z),this.__template_pattern=null,this._disabled=Object.assign({},S),this._excluded=Object.assign({},S),Z&&(this.__template_pattern=this._input.get_regexp(Z.__template_pattern),this._excluded=Object.assign(this._excluded,Z._excluded),this._disabled=Object.assign(this._disabled,Z._disabled));var P=new w(k);this.__patterns={handlebars_comment:P.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:P.starting_with(/{{{/).until_after(/}}}/),handlebars:P.starting_with(/{{/).until_after(/}}/),php:P.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:P.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:P.starting_with(/{%/).until_after(/%}/),django_value:P.starting_with(/{{/).until_after(/}}/),django_comment:P.starting_with(/{#/).until_after(/#}/),smarty:P.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:P.starting_with(/{\*/).until_after(/\*}/),smarty_literal:P.starting_with(/{literal}/).until_after(/{\/literal}/)}}I.prototype=new w,I.prototype._create=function(){return new I(this._input,this)},I.prototype._update=function(){this.__set_templated_pattern()},I.prototype.disable=function(k){var Z=this._create();return Z._disabled[k]=!0,Z._update(),Z},I.prototype.read_options=function(k){var Z=this._create();for(var P in S)Z._disabled[P]=k.templating.indexOf(P)===-1;return Z._update(),Z},I.prototype.exclude=function(k){var Z=this._create();return Z._excluded[k]=!0,Z._update(),Z},I.prototype.read=function(){var k="";this._match_pattern?k=this._input.read(this._starting_pattern):k=this._input.read(this._starting_pattern,this.__template_pattern);for(var Z=this._read_template();Z;)this._match_pattern?Z+=this._input.read(this._match_pattern):Z+=this._input.readUntil(this.__template_pattern),k+=Z,Z=this._read_template();return this._until_after&&(k+=this._input.readUntilAfter(this._until_pattern)),k},I.prototype.__set_templated_pattern=function(){var k=[];this._disabled.php||k.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||k.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||k.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(k.push(this.__patterns.django._starting_pattern.source),k.push(this.__patterns.django_value._starting_pattern.source),k.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||k.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&k.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+k.join("|")+")")},I.prototype._read_template=function(){var k="",Z=this._input.peek();if(Z==="<"){var P=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&P==="?"&&(k=k||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&P==="%"&&(k=k||this.__patterns.erb.read())}else Z==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(k=k||this.__patterns.handlebars_comment.read(),k=k||this.__patterns.handlebars_unescaped.read(),k=k||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(k=k||this.__patterns.django_value.read()),this._excluded.django||(k=k||this.__patterns.django_comment.read(),k=k||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(k=k||this.__patterns.smarty_comment.read(),k=k||this.__patterns.smarty_literal.read(),k=k||this.__patterns.smarty.read()));return k},z.exports.TemplatablePattern=I},,,,function(z,j,A){var w=A(19).Beautifier,S=A(20).Options;function I(k,Z,P,N){var ie=new w(k,Z,P,N);return ie.beautify()}z.exports=I,z.exports.defaultOptions=function(){return new S}},function(z,j,A){var w=A(20).Options,S=A(2).Output,I=A(21).Tokenizer,k=A(21).TOKEN,Z=/\r\n|[\r\n]/,P=/\r\n|[\r\n]/g,N=function(J,B){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=J.max_preserve_newlines,this.preserve_newlines=J.preserve_newlines,this._output=new S(J,B)};N.prototype.current_line_has_match=function(J){return this._output.current_line.has_match(J)},N.prototype.set_space_before_token=function(J,B){this._output.space_before_token=J,this._output.non_breaking_space=B},N.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},N.prototype.add_raw_token=function(J){this._output.add_raw_token(J)},N.prototype.print_preserved_newlines=function(J){var B=0;J.type!==k.TEXT&&J.previous.type!==k.TEXT&&(B=J.newlines?1:0),this.preserve_newlines&&(B=J.newlines<this.max_preserve_newlines+1?J.newlines:this.max_preserve_newlines+1);for(var Y=0;Y<B;Y++)this.print_newline(Y>0);return B!==0},N.prototype.traverse_whitespace=function(J){return J.whitespace_before||J.newlines?(this.print_preserved_newlines(J)||(this._output.space_before_token=!0),!0):!1},N.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},N.prototype.print_newline=function(J){this._output.add_new_line(J)},N.prototype.print_token=function(J){J.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(J.text))},N.prototype.indent=function(){this.indent_level++},N.prototype.get_full_indent=function(J){return J=this.indent_level+(J||0),J<1?"":this._output.get_indent_string(J)};var ie=function(J){for(var B=null,Y=J.next;Y.type!==k.EOF&&J.closed!==Y;){if(Y.type===k.ATTRIBUTE&&Y.text==="type"){Y.next&&Y.next.type===k.EQUALS&&Y.next.next&&Y.next.next.type===k.VALUE&&(B=Y.next.next.text);break}Y=Y.next}return B},me=function(J,B){var Y=null,le=null;return B.closed?(J==="script"?Y="text/javascript":J==="style"&&(Y="text/css"),Y=ie(B)||Y,Y.search("text/css")>-1?le="css":Y.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?le="javascript":Y.search(/(text|application|dojo)\/(x-)?(html)/)>-1?le="html":Y.search(/test\/null/)>-1&&(le="null"),le):null};function Se(J,B){return B.indexOf(J)!==-1}function te(J,B,Y){this.parent=J||null,this.tag=B?B.tag_name:"",this.indent_level=Y||0,this.parser_token=B||null}function xe(J){this._printer=J,this._current_frame=null}xe.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},xe.prototype.record_tag=function(J){var B=new te(this._current_frame,J,this._printer.indent_level);this._current_frame=B},xe.prototype._try_pop_frame=function(J){var B=null;return J&&(B=J.parser_token,this._printer.indent_level=J.indent_level,this._current_frame=J.parent),B},xe.prototype._get_frame=function(J,B){for(var Y=this._current_frame;Y&&!(J.indexOf(Y.tag)!==-1);){if(B&&B.indexOf(Y.tag)!==-1){Y=null;break}Y=Y.parent}return Y},xe.prototype.try_pop=function(J,B){var Y=this._get_frame([J],B);return this._try_pop_frame(Y)},xe.prototype.indent_to_tag=function(J){var B=this._get_frame(J);B&&(this._printer.indent_level=B.indent_level)};function Ue(J,B,Y,le){this._source_text=J||"",B=B||{},this._js_beautify=Y,this._css_beautify=le,this._tag_stack=null;var M=new w(B,"html");this._options=M,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,"force".length)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,"preserve".length)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}Ue.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var J=this._source_text,B=this._options.eol;this._options.eol==="auto"&&(B=`
`,J&&Z.test(J)&&(B=J.match(Z)[0])),J=J.replace(P,`
`);var Y=J.match(/^[\t ]*/)[0],le={text:"",type:""},M=new Te,b=new N(this._options,Y),C=new I(J,this._options).tokenize();this._tag_stack=new xe(b);for(var D=null,v=C.next();v.type!==k.EOF;)v.type===k.TAG_OPEN||v.type===k.COMMENT?(D=this._handle_tag_open(b,v,M,le),M=D):v.type===k.ATTRIBUTE||v.type===k.EQUALS||v.type===k.VALUE||v.type===k.TEXT&&!M.tag_complete?D=this._handle_inside_tag(b,v,M,C):v.type===k.TAG_CLOSE?D=this._handle_tag_close(b,v,M):v.type===k.TEXT?D=this._handle_text(b,v,M):b.add_raw_token(v),le=D,v=C.next();var L=b._output.get_code(B);return L},Ue.prototype._handle_tag_close=function(J,B,Y){var le={text:B.text,type:B.type};return J.alignment_size=0,Y.tag_complete=!0,J.set_space_before_token(B.newlines||B.whitespace_before!=="",!0),Y.is_unformatted?J.add_raw_token(B):(Y.tag_start_char==="<"&&(J.set_space_before_token(B.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&Y.has_wrapped_attrs&&J.print_newline(!1)),J.print_token(B)),Y.indent_content&&!(Y.is_unformatted||Y.is_content_unformatted)&&(J.indent(),Y.indent_content=!1),!Y.is_inline_element&&!(Y.is_unformatted||Y.is_content_unformatted)&&J.set_wrap_point(),le},Ue.prototype._handle_inside_tag=function(J,B,Y,le){var M=Y.has_wrapped_attrs,b={text:B.text,type:B.type};if(J.set_space_before_token(B.newlines||B.whitespace_before!=="",!0),Y.is_unformatted)J.add_raw_token(B);else if(Y.tag_start_char==="{"&&B.type===k.TEXT)J.print_preserved_newlines(B)?(B.newlines=0,J.add_raw_token(B)):J.print_token(B);else{if(B.type===k.ATTRIBUTE?(J.set_space_before_token(!0),Y.attr_count+=1):(B.type===k.EQUALS||B.type===k.VALUE&&B.previous.type===k.EQUALS)&&J.set_space_before_token(!1),B.type===k.ATTRIBUTE&&Y.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(J.traverse_whitespace(B),M=M||B.newlines!==0),this._is_wrap_attributes_force)){var C=Y.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&Y.attr_count===1){var D=!0,v=0,L;do{if(L=le.peek(v),L.type===k.ATTRIBUTE){D=!1;break}v+=1}while(v<4&&L.type!==k.EOF&&L.type!==k.TAG_CLOSE);C=!D}C&&(J.print_newline(!1),M=!0)}J.print_token(B),M=M||J.previous_token_wrapped(),Y.has_wrapped_attrs=M}return b},Ue.prototype._handle_text=function(J,B,Y){var le={text:B.text,type:"TK_CONTENT"};return Y.custom_beautifier_name?this._print_custom_beatifier_text(J,B,Y):Y.is_unformatted||Y.is_content_unformatted?J.add_raw_token(B):(J.traverse_whitespace(B),J.print_token(B)),le},Ue.prototype._print_custom_beatifier_text=function(J,B,Y){var le=this;if(B.text!==""){var M=B.text,b,C=1,D="",v="";Y.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?b=this._js_beautify:Y.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?b=this._css_beautify:Y.custom_beautifier_name==="html"&&(b=function(be,Be){var Qe=new Ue(be,Be,le._js_beautify,le._css_beautify);return Qe.beautify()}),this._options.indent_scripts==="keep"?C=0:this._options.indent_scripts==="separate"&&(C=-J.indent_level);var L=J.get_full_indent(C);if(M=M.replace(/\n[ \t]*$/,""),Y.custom_beautifier_name!=="html"&&M[0]==="<"&&M.match(/^(<!--|<!\[CDATA\[)/)){var G=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(M);if(!G){J.add_raw_token(B);return}D=L+G[1]+`
`,M=G[4],G[5]&&(v=L+G[5]),M=M.replace(/\n[ \t]*$/,""),(G[2]||G[3].indexOf(`
`)!==-1)&&(G=G[3].match(/[ \t]+$/),G&&(B.whitespace_before=G[0]))}if(M)if(b){var ce=function(){this.eol=`
`};ce.prototype=this._options.raw_options;var Ce=new ce;M=b(L+M,Ce)}else{var Ge=B.whitespace_before;Ge&&(M=M.replace(new RegExp(`
(`+Ge+")?","g"),`
`)),M=L+M.replace(/\n/g,`
`+L)}D&&(M?M=D+M+`
`+v:M=D+v),J.print_newline(!1),M&&(B.text=M,B.whitespace_before="",B.newlines=0,J.add_raw_token(B),J.print_newline(!0))}},Ue.prototype._handle_tag_open=function(J,B,Y,le){var M=this._get_tag_open_token(B);return(Y.is_unformatted||Y.is_content_unformatted)&&!Y.is_empty_element&&B.type===k.TAG_OPEN&&B.text.indexOf("</")===0?(J.add_raw_token(B),M.start_tag_token=this._tag_stack.try_pop(M.tag_name)):(J.traverse_whitespace(B),this._set_tag_position(J,B,M,Y,le),M.is_inline_element||J.set_wrap_point(),J.print_token(B)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(M.alignment_size=B.text.length+1),!M.tag_complete&&!M.is_unformatted&&(J.alignment_size=M.alignment_size),M};var Te=function(J,B){if(this.parent=J||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!B)this.tag_complete=!0;else{var Y;this.tag_start_char=B.text[0],this.text=B.text,this.tag_start_char==="<"?(Y=B.text.match(/^<([^\s>]*)/),this.tag_check=Y?Y[1]:""):(Y=B.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=Y?Y[1]:"",(B.text.startsWith("{{#>")||B.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&B.next!==null?this.tag_check=B.next.text.split(" ")[0]:this.tag_check=B.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),B.type===k.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||B.closed&&B.closed.text==="/>";var le=2;this.tag_start_char==="{"&&this.text.length>=3&&(this.text.charAt(2)==="~"&&(le=3)),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(le)))}};Ue.prototype._get_tag_open_token=function(J){var B=new Te(this._tag_stack.get_parser_token(),J);return B.alignment_size=this._options.wrap_attributes_indent_size,B.is_end_tag=B.is_end_tag||Se(B.tag_check,this._options.void_elements),B.is_empty_element=B.tag_complete||B.is_start_tag&&B.is_end_tag,B.is_unformatted=!B.tag_complete&&Se(B.tag_check,this._options.unformatted),B.is_content_unformatted=!B.is_empty_element&&Se(B.tag_check,this._options.content_unformatted),B.is_inline_element=Se(B.tag_name,this._options.inline)||B.tag_name.includes("-")||B.tag_start_char==="{",B},Ue.prototype._set_tag_position=function(J,B,Y,le,M){if(Y.is_empty_element||(Y.is_end_tag?Y.start_tag_token=this._tag_stack.try_pop(Y.tag_name):(this._do_optional_end_element(Y)&&(Y.is_inline_element||J.print_newline(!1)),this._tag_stack.record_tag(Y),(Y.tag_name==="script"||Y.tag_name==="style")&&!(Y.is_unformatted||Y.is_content_unformatted)&&(Y.custom_beautifier_name=me(Y.tag_check,B)))),Se(Y.tag_check,this._options.extra_liners)&&(J.print_newline(!1),J._output.just_added_blankline()||J.print_newline(!0)),Y.is_empty_element){if(Y.tag_start_char==="{"&&Y.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),Y.indent_content=!0;var b=J.current_line_has_match(/{{#if/);b||J.print_newline(!1)}Y.tag_name==="!--"&&M.type===k.TAG_CLOSE&&le.is_end_tag&&Y.text.indexOf(`
`)===-1||(Y.is_inline_element||Y.is_unformatted||J.print_newline(!1),this._calcluate_parent_multiline(J,Y))}else if(Y.is_end_tag){var C=!1;C=Y.start_tag_token&&Y.start_tag_token.multiline_content,C=C||!Y.is_inline_element&&!(le.is_inline_element||le.is_unformatted)&&!(M.type===k.TAG_CLOSE&&Y.start_tag_token===le)&&M.type!=="TK_CONTENT",(Y.is_content_unformatted||Y.is_unformatted)&&(C=!1),C&&J.print_newline(!1)}else Y.indent_content=!Y.custom_beautifier_name,Y.tag_start_char==="<"&&(Y.tag_name==="html"?Y.indent_content=this._options.indent_inner_html:Y.tag_name==="head"?Y.indent_content=this._options.indent_head_inner_html:Y.tag_name==="body"&&(Y.indent_content=this._options.indent_body_inner_html)),!(Y.is_inline_element||Y.is_unformatted)&&(M.type!=="TK_CONTENT"||Y.is_content_unformatted)&&J.print_newline(!1),this._calcluate_parent_multiline(J,Y)},Ue.prototype._calcluate_parent_multiline=function(J,B){B.parent&&J._output.just_added_newline()&&!((B.is_inline_element||B.is_unformatted)&&B.parent.is_inline_element)&&(B.parent.multiline_content=!0)};var ye=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],fe=["a","audio","del","ins","map","noscript","video"];Ue.prototype._do_optional_end_element=function(J){var B=null;if(J.is_empty_element||!J.is_start_tag||!J.parent)return;if(J.tag_name==="body")B=B||this._tag_stack.try_pop("head");else if(J.tag_name==="li")B=B||this._tag_stack.try_pop("li",["ol","ul"]);else if(J.tag_name==="dd"||J.tag_name==="dt")B=B||this._tag_stack.try_pop("dt",["dl"]),B=B||this._tag_stack.try_pop("dd",["dl"]);else if(J.parent.tag_name==="p"&&ye.indexOf(J.tag_name)!==-1){var Y=J.parent.parent;(!Y||fe.indexOf(Y.tag_name)===-1)&&(B=B||this._tag_stack.try_pop("p"))}else J.tag_name==="rp"||J.tag_name==="rt"?(B=B||this._tag_stack.try_pop("rt",["ruby","rtc"]),B=B||this._tag_stack.try_pop("rp",["ruby","rtc"])):J.tag_name==="optgroup"?B=B||this._tag_stack.try_pop("optgroup",["select"]):J.tag_name==="option"?B=B||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):J.tag_name==="colgroup"?B=B||this._tag_stack.try_pop("caption",["table"]):J.tag_name==="thead"?(B=B||this._tag_stack.try_pop("caption",["table"]),B=B||this._tag_stack.try_pop("colgroup",["table"])):J.tag_name==="tbody"||J.tag_name==="tfoot"?(B=B||this._tag_stack.try_pop("caption",["table"]),B=B||this._tag_stack.try_pop("colgroup",["table"]),B=B||this._tag_stack.try_pop("thead",["table"]),B=B||this._tag_stack.try_pop("tbody",["table"])):J.tag_name==="tr"?(B=B||this._tag_stack.try_pop("caption",["table"]),B=B||this._tag_stack.try_pop("colgroup",["table"]),B=B||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(J.tag_name==="th"||J.tag_name==="td")&&(B=B||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),B=B||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return J.parent=this._tag_stack.get_parser_token(),B},z.exports.Beautifier=Ue},function(z,j,A){var w=A(6).Options;function S(I){w.call(this,I,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}S.prototype=new w,z.exports.Options=S},function(z,j,A){var w=A(9).Tokenizer,S=A(9).TOKEN,I=A(13).Directives,k=A(14).TemplatablePattern,Z=A(12).Pattern,P={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:S.START,RAW:S.RAW,EOF:S.EOF},N=new I(/<\!--/,/-->/),ie=function(me,Se){w.call(this,me,Se),this._current_tag_name="";var te=new k(this._input).read_options(this._options),xe=new Z(this._input);if(this.__patterns={word:te.until(/[\n\r\t <]/),single_quote:te.until_after(/'/),double_quote:te.until_after(/"/),attribute:te.until(/[\n\r\t =>]|\/>/),element_name:te.until(/[\n\r\t >\/]/),handlebars_comment:xe.starting_with(/{{!--/).until_after(/--}}/),handlebars:xe.starting_with(/{{/).until_after(/}}/),handlebars_open:xe.until(/[\n\r\t }]/),handlebars_raw_close:xe.until(/}}/),comment:xe.starting_with(/<!--/).until_after(/-->/),cdata:xe.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:xe.starting_with(/<!\[/).until_after(/]>/),processing:xe.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var Ue=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=xe.matching(Ue).until_after(Ue)}};ie.prototype=new w,ie.prototype._is_comment=function(me){return!1},ie.prototype._is_opening=function(me){return me.type===P.TAG_OPEN},ie.prototype._is_closing=function(me,Se){return me.type===P.TAG_CLOSE&&Se&&((me.text===">"||me.text==="/>")&&Se.text[0]==="<"||me.text==="}}"&&Se.text[0]==="{"&&Se.text[1]==="{")},ie.prototype._reset=function(){this._current_tag_name=""},ie.prototype._get_next_token=function(me,Se){var te=null;this._readWhitespace();var xe=this._input.peek();return xe===null?this._create_token(P.EOF,""):(te=te||this._read_open_handlebars(xe,Se),te=te||this._read_attribute(xe,me,Se),te=te||this._read_close(xe,Se),te=te||this._read_raw_content(xe,me,Se),te=te||this._read_content_word(xe),te=te||this._read_comment_or_cdata(xe),te=te||this._read_processing(xe),te=te||this._read_open(xe,Se),te=te||this._create_token(P.UNKNOWN,this._input.next()),te)},ie.prototype._read_comment_or_cdata=function(me){var Se=null,te=null,xe=null;if(me==="<"){var Ue=this._input.peek(1);Ue==="!"&&(te=this.__patterns.comment.read(),te?(xe=N.get_directives(te),xe&&xe.ignore==="start"&&(te+=N.readIgnored(this._input))):te=this.__patterns.cdata.read()),te&&(Se=this._create_token(P.COMMENT,te),Se.directives=xe)}return Se},ie.prototype._read_processing=function(me){var Se=null,te=null,xe=null;if(me==="<"){var Ue=this._input.peek(1);(Ue==="!"||Ue==="?")&&(te=this.__patterns.conditional_comment.read(),te=te||this.__patterns.processing.read()),te&&(Se=this._create_token(P.COMMENT,te),Se.directives=xe)}return Se},ie.prototype._read_open=function(me,Se){var te=null,xe=null;return Se||me==="<"&&(te=this._input.next(),this._input.peek()==="/"&&(te+=this._input.next()),te+=this.__patterns.element_name.read(),xe=this._create_token(P.TAG_OPEN,te)),xe},ie.prototype._read_open_handlebars=function(me,Se){var te=null,xe=null;return Se||this._options.indent_handlebars&&me==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(te=this.__patterns.handlebars_comment.read(),te=te||this.__patterns.handlebars.read(),xe=this._create_token(P.COMMENT,te)):(te=this.__patterns.handlebars_open.read(),xe=this._create_token(P.TAG_OPEN,te))),xe},ie.prototype._read_close=function(me,Se){var te=null,xe=null;return Se&&(Se.text[0]==="<"&&(me===">"||me==="/"&&this._input.peek(1)===">")?(te=this._input.next(),me==="/"&&(te+=this._input.next()),xe=this._create_token(P.TAG_CLOSE,te)):Se.text[0]==="{"&&me==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),xe=this._create_token(P.TAG_CLOSE,"}}"))),xe},ie.prototype._read_attribute=function(me,Se,te){var xe=null,Ue="";if(te&&te.text[0]==="<")if(me==="=")xe=this._create_token(P.EQUALS,this._input.next());else if(me==='"'||me==="'"){var Te=this._input.next();me==='"'?Te+=this.__patterns.double_quote.read():Te+=this.__patterns.single_quote.read(),xe=this._create_token(P.VALUE,Te)}else Ue=this.__patterns.attribute.read(),Ue&&(Se.type===P.EQUALS?xe=this._create_token(P.VALUE,Ue):xe=this._create_token(P.ATTRIBUTE,Ue));return xe},ie.prototype._is_content_unformatted=function(me){return this._options.void_elements.indexOf(me)===-1&&(this._options.content_unformatted.indexOf(me)!==-1||this._options.unformatted.indexOf(me)!==-1)},ie.prototype._read_raw_content=function(me,Se,te){var xe="";if(te&&te.text[0]==="{")xe=this.__patterns.handlebars_raw_close.read();else if(Se.type===P.TAG_CLOSE&&Se.opened.text[0]==="<"&&Se.text[0]!=="/"){var Ue=Se.opened.text.substr(1).toLowerCase();if(Ue==="script"||Ue==="style"){var Te=this._read_comment_or_cdata(me);if(Te)return Te.type=P.TEXT,Te;xe=this._input.readUntil(new RegExp("</"+Ue+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(Ue)&&(xe=this._input.readUntil(new RegExp("</"+Ue+"[\\n\\r\\t ]*?>","ig")))}return xe?this._create_token(P.TEXT,xe):null},ie.prototype._read_content_word=function(me){var Se="";if(this._options.unformatted_content_delimiter&&(me===this._options.unformatted_content_delimiter[0]&&(Se=this.__patterns.unformatted_content_delimiter.read())),Se||(Se=this.__patterns.word.read()),Se)return this._create_token(P.TEXT,Se)},z.exports.Tokenizer=ie,z.exports.TOKEN=P}],F={};function f(z){var j=F[z];if(j!==void 0)return j.exports;var A=F[z]={exports:{}};return pe[z](A,A.exports,f),A.exports}var V=f(18);We=V})();var ke=We;if(!0)!(oe=[O,O("6UM0"),O("TXwP")],ve=function(pe){var F=O("6UM0"),f=O("TXwP");return{html_beautify:function(V,z){return ke(V,z,F.js_beautify,f.css_beautify)}}}.apply(re,oe),ve!==void 0&&(ht.exports=ve));else var H,ue})()},"rAM+":function(ht,re,O){"use strict";O.d(re,"a",function(){return ve});var oe=O("Qw5x");function ve(We,ke){var H;if(typeof Symbol=="undefined"||We[Symbol.iterator]==null){if(Array.isArray(We)||(H=Object(oe.a)(We))||ke&&We&&typeof We.length=="number"){H&&(We=H);var ue=0,pe=function(){};return{s:pe,n:function(){return ue>=We.length?{done:!0}:{done:!1,value:We[ue++]}},e:function(j){throw j},f:pe}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var F=!0,f=!1,V;return{s:function(){H=We[Symbol.iterator]()},n:function(){var j=H.next();return F=j.done,j},e:function(j){f=!0,V=j},f:function(){try{!F&&H.return!=null&&H.return()}finally{if(f)throw V}}}}},siWv:function(ht,re,O){ht.exports={flex_box_center:"flex_box_center___3IH6S",flex_space_between:"flex_space_between___3AU-S",flex_box_vertical_center:"flex_box_vertical_center___1ykIO",flex_box_center_end:"flex_box_center_end___1aIQB",flex_box_column:"flex_box_column___2A_ra",btn:"btn___23gjd","mediacy-round":"mediacy-round___3vc8E","mediacy-default":"mediacy-default___2zIGi",default:"default___20Yio"}},t9D7:function(ht,re,O){"use strict";O.d(re,"b",function(){return pe}),O.d(re,"g",function(){return f}),O.d(re,"d",function(){return V}),O.d(re,"e",function(){return z}),O.d(re,"a",function(){return j}),O.d(re,"f",function(){return S}),O.d(re,"c",function(){return I});var oe=O("Vhoy"),ve=O("MI8n"),We=O("pmY6"),ke=O("Cg/j"),H=O("ic2d"),ue=O("nEHx");const pe=Object(ke.c)("themeService");var F;(function(k){function Z(P){return P&&typeof P=="object"&&typeof P.id=="string"}k.isThemeColor=Z})(F||(F={}));function f(k){return{id:k}}var V;(function(k){function Z(te){return te&&typeof te=="object"&&typeof te.id=="string"&&(typeof te.color=="undefined"||F.isThemeColor(te.color))}k.isThemeIcon=Z;const P=new RegExp(`^\\$\\((${oe.a.iconNameExpression}(?:${oe.a.iconModifierExpression})?)\\)$`);function N(te){const xe=P.exec(te);if(!xe)return;let[,Ue]=xe;return{id:Ue}}k.fromString=N;function ie(te,xe){let Ue=te.id;const Te=Ue.lastIndexOf("~");return Te!==-1&&(Ue=Ue.substring(0,Te)),xe&&(Ue=`${Ue}~${xe}`),{id:Ue}}k.modify=ie;function me(te,xe){var Ue,Te;return te.id===xe.id&&((Ue=te.color)===null||Ue===void 0?void 0:Ue.id)===((Te=xe.color)===null||Te===void 0?void 0:Te.id)}k.isEqual=me;function Se(te,xe){return{id:te.id,color:xe?f(xe):void 0}}k.asThemeIcon=Se,k.asClassNameArray=oe.a.asClassNameArray,k.asClassName=oe.a.asClassName,k.asCSSSelector=oe.a.asCSSSelector})(V||(V={}));function z(k){switch(k){case ue.a.DARK:return"vs-dark";case ue.a.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const j={ThemingContribution:"base.contributions.theming"};class A{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new ve.b}onColorThemeChange(k){return this.themingParticipants.push(k),this.onThemingParticipantAddedEmitter.fire(k),Object(We.i)(()=>{const Z=this.themingParticipants.indexOf(k);this.themingParticipants.splice(Z,1)})}getThemingParticipants(){return this.themingParticipants}}let w=new A;H.a.add(j.ThemingContribution,w);function S(k){return w.onColorThemeChange(k)}class I extends We.a{constructor(k){super();this.themeService=k,this.theme=k.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(Z=>this.onThemeChange(Z)))}onThemeChange(k){this.theme=k,this.updateStyles()}updateStyles(){}}},vHTk:function(ht,re,O){ht.exports={wrp:"wrp___z2l1F",bgBlack:"bgBlack___3ezfX",monaco:"monaco___1ypjT",darkBlue:"darkBlue___2ViJc",close:"close___3q-z4",embed:"embed___3dQqc"}},xiVL:function(ht,re){ht.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC"},yyNy:function(ht,re,O){"use strict";(function(oe){O.d(re,"a",function(){return F1e}),O.d(re,"b",function(){return B1e});var ve=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof oe!="undefined"?oe:typeof self!="undefined"?self:{};function We(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ke(e){var t={exports:{}};return e(t,t.exports),t.exports}var H,ue,pe=function(e){return e&&e.Math==Math&&e},F=pe(typeof globalThis=="object"&&globalThis)||pe(typeof window=="object"&&window)||pe(typeof self=="object"&&self)||pe(typeof ve=="object"&&ve)||function(){return this}()||Function("return this")(),f=Function.prototype,V=f.apply,z=f.bind,j=f.call,A=typeof Reflect=="object"&&Reflect.apply||(z?j.bind(V):function(){return j.apply(V,arguments)}),w=Function.prototype,S=w.bind,I=w.call,k=S&&S.bind(I),Z=S?function(e){return e&&k(I,e)}:function(e){return e&&function(){return I.apply(e,arguments)}},P=function(e){return typeof e=="function"},N=function(e){try{return!!e()}catch(t){return!0}},ie=!N(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),me=Function.prototype.call,Se=me.bind?me.bind(me):function(){return me.apply(me,arguments)},te={}.propertyIsEnumerable,xe=Object.getOwnPropertyDescriptor,Ue=xe&&!te.call({1:2},1)?function(e){var t=xe(this,e);return!!t&&t.enumerable}:te,Te={f:Ue},ye=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},fe=Z({}.toString),J=Z("".slice),B=function(e){return J(fe(e),8,-1)},Y=F.Object,le=Z("".split),M=N(function(){return!Y("z").propertyIsEnumerable(0)})?function(e){return B(e)=="String"?le(e,""):Y(e)}:Y,b=F.TypeError,C=function(e){if(e==null)throw b("Can't call method on "+e);return e},D=function(e){return M(C(e))},v=function(e){return typeof e=="object"?e!==null:P(e)},L={},G=function(e){return P(e)?e:void 0},ce=function(e,t){return arguments.length<2?G(L[e])||G(F[e]):L[e]&&L[e][t]||F[e]&&F[e][t]},Ce=Z({}.isPrototypeOf),Ge=ce("navigator","userAgent")||"",be=F.process,Be=F.Deno,Qe=be&&be.versions||Be&&Be.version,qe=Qe&&Qe.v8;qe&&(ue=(H=qe.split("."))[0]>0&&H[0]<4?1:+(H[0]+H[1])),!ue&&Ge&&(!(H=Ge.match(/Edge\/(\d+)/))||H[1]>=74)&&(H=Ge.match(/Chrome\/(\d+)/))&&(ue=+H[1]);var Ie,Rt=ue,K=!!Object.getOwnPropertySymbols&&!N(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Rt&&Rt<41}),se=K&&!Symbol.sham&&typeof Symbol.iterator=="symbol",$=F.Object,je=se?function(e){return typeof e=="symbol"}:function(e){var t=ce("Symbol");return P(t)&&Ce(t.prototype,$(e))},tt=F.String,ct=function(e){try{return tt(e)}catch(t){return"Object"}},Lt=F.TypeError,Zt=function(e){if(P(e))return e;throw Lt(ct(e)+" is not a function")},ee=function(e,t){var n=e[t];return n==null?void 0:Zt(n)},Ae=F.TypeError,ze=Object.defineProperty,Ye=F["__core-js_shared__"]||function(e,t){try{ze(F,e,{value:t,configurable:!0,writable:!0})}catch(n){F[e]=t}return t}("__core-js_shared__",{}),Mt=ke(function(e){(e.exports=function(t,n){return Ye[t]||(Ye[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),hn=F.Object,Mn=function(e){return hn(C(e))},Dn=Z({}.hasOwnProperty),sn=Object.hasOwn||function(e,t){return Dn(Mn(e),t)},Ir=0,Pr=Math.random(),Jr=Z(1 .toString),Ln=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Jr(++Ir+Pr,36)},Er=Mt("wks"),gn=F.Symbol,vn=gn&&gn.for,In=se?gn:gn&&gn.withoutSetter||Ln,qt=function(e){if(!sn(Er,e)||!K&&typeof Er[e]!="string"){var t="Symbol."+e;K&&sn(gn,e)?Er[e]=gn[e]:Er[e]=se&&vn?vn(t):In(t)}return Er[e]},fr=F.TypeError,jn=qt("toPrimitive"),zn=function(e,t){if(!v(e)||je(e))return e;var n,r=ee(e,jn);if(r){if(t===void 0&&(t="default"),n=Se(r,e,t),!v(n)||je(n))return n;throw fr("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(i,o){var a,s;if(o==="string"&&P(a=i.toString)&&!v(s=Se(a,i)))return s;if(P(a=i.valueOf)&&!v(s=Se(a,i)))return s;if(o!=="string"&&P(a=i.toString)&&!v(s=Se(a,i)))return s;throw Ae("Can't convert object to primitive value")}(e,t)},Ur=function(e){var t=zn(e,"string");return je(t)?t:t+""},mr=F.document,xr=v(mr)&&v(mr.createElement),Bi=function(e){return xr?mr.createElement(e):{}},ko=!ie&&!N(function(){return Object.defineProperty(Bi("div"),"a",{get:function(){return 7}}).a!=7}),xo=Object.getOwnPropertyDescriptor,Lr=ie?xo:function(e,t){if(e=D(e),t=Ur(t),ko)try{return xo(e,t)}catch(n){}if(sn(e,t))return ye(!Se(Te.f,e,t),e[t])},go={f:Lr},tn=/#|\.prototype\./,at=function(e,t){var n=Ve[Tt(e)];return n==he||n!=Q&&(P(t)?N(t):!!t)},Tt=at.normalize=function(e){return String(e).replace(tn,".").toLowerCase()},Ve=at.data={},Q=at.NATIVE="N",he=at.POLYFILL="P",st=at,et=Z(Z.bind),Ut=function(e,t){return Zt(e),t===void 0?e:et?et(e,t):function(){return e.apply(t,arguments)}},Ht=F.String,it=F.TypeError,vt=function(e){if(v(e))return e;throw it(Ht(e)+" is not an object")},ft=F.TypeError,Re=Object.defineProperty,St=ie?Re:function(e,t,n){if(vt(e),t=Ur(t),vt(n),ko)try{return Re(e,t,n)}catch(r){}if("get"in n||"set"in n)throw ft("Accessors not supported");return"value"in n&&(e[t]=n.value),e},jt={f:St},zt=ie?function(e,t,n){return jt.f(e,t,ye(1,n))}:function(e,t,n){return e[t]=n,e},$t=go.f,Dt=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return A(e,this,arguments)};return t.prototype=e.prototype,t},nn=function(e,t){var n,r,i,o,a,s,u,l,c=e.target,d=e.global,p=e.stat,h=e.proto,E=d?F:p?F[c]:(F[c]||{}).prototype,g=d?L:L[c]||zt(L,c,{})[c],y=g.prototype;for(i in t)n=!st(d?i:c+(p?".":"#")+i,e.forced)&&E&&sn(E,i),a=g[i],n&&(s=e.noTargetGet?(l=$t(E,i))&&l.value:E[i]),o=n&&s?s:t[i],n&&typeof a==typeof o||(u=e.bind&&n?Ut(o,F):e.wrap&&n?Dt(o):h&&P(o)?Z(o):o,(e.sham||o&&o.sham||a&&a.sham)&&zt(u,"sham",!0),zt(g,i,u),h&&(sn(L,r=c+"Prototype")||zt(L,r,{}),zt(L[r],i,o),e.real&&y&&!y[i]&&zt(y,i,o)))},Ft=Mt("keys"),ln=function(e){return Ft[e]||(Ft[e]=Ln(e))},yn=!N(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),pn=ln("IE_PROTO"),Vn=F.Object,Mr=Vn.prototype,Gn=yn?Vn.getPrototypeOf:function(e){var t=Mn(e);if(sn(t,pn))return t[pn];var n=t.constructor;return P(n)&&t instanceof n?n.prototype:t instanceof Vn?Mr:null},ii=F.String,Ai=F.TypeError,en=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Z(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,i){return vt(r),function(o){if(typeof o=="object"||P(o))return o;throw Ai("Can't set "+ii(o)+" as a prototype")}(i),t?e(r,i):r.__proto__=i,r}}():void 0),gr=Math.ceil,vr=Math.floor,So=function(e){var t=+e;return t!=t||t===0?0:(t>0?vr:gr)(t)},ei=Math.max,Zr=Math.min,Ui=function(e,t){var n=So(e);return n<0?ei(n+t,0):Zr(n,t)},vo=Math.min,sr=function(e){return(t=e.length)>0?vo(So(t),9007199254740991):0;var t},qa=function(e){return function(t,n,r){var i,o=D(t),a=sr(o),s=Ui(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Up={includes:qa(!0),indexOf:qa(!1)},Qc={},j0=Up.indexOf,xd=Z([].push),Sd=function(e,t){var n,r=D(e),i=0,o=[];for(n in r)!sn(Qc,n)&&sn(r,n)&&xd(o,n);for(;t.length>i;)sn(r,n=t[i++])&&(~j0(o,n)||xd(o,n));return o},Td=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$E=Td.concat("length","prototype"),Dd=Object.getOwnPropertyNames||function(e){return Sd(e,$E)},Zc={f:Dd},Rd={f:Object.getOwnPropertySymbols},e2=Z([].concat),t2=ce("Reflect","ownKeys")||function(e){var t=Zc.f(vt(e)),n=Rd.f;return n?e2(t,n(e)):t},Hp=Object.keys||function(e){return Sd(e,Td)},n2=ie?Object.defineProperties:function(e,t){vt(e);for(var n,r=D(t),i=Hp(t),o=i.length,a=0;o>a;)jt.f(e,n=i[a++],r[n]);return e},r2=ce("document","documentElement"),k0=ln("IE_PROTO"),Nd=function(){},Wp=function(e){return"<script>"+e+"</script>"},F0=function(e){e.write(Wp("")),e.close();var t=e.parentWindow.Object;return e=null,t},Id=function(){try{Ie=new ActiveXObject("htmlfile")}catch(r){}var e,t;Id=typeof document!="undefined"?document.domain&&Ie?F0(Ie):((t=Bi("iframe")).style.display="none",r2.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Wp("document.F=Object")),e.close(),e.F):F0(Ie);for(var n=Td.length;n--;)delete Id.prototype[Td[n]];return Id()};Qc[k0]=!0;var Ns=Object.create||function(e,t){var n;return e!==null?(Nd.prototype=vt(e),n=new Nd,Nd.prototype=null,n[k0]=e):n=Id(),t===void 0?n:n2(n,t)},B0=function(e,t,n){var r=Ur(t);r in e?jt.f(e,r,ye(0,n)):e[r]=n},x=F.Array,ne=Math.max,Ee=function(e,t,n){for(var r=sr(e),i=Ui(t,r),o=Ui(n===void 0?r:n,r),a=x(ne(o-i,0)),s=0;i<o;i++,s++)B0(a,s,e[i]);return a.length=s,a},_e=Z("".replace),Ke=Z("".split),Fe=Z([].join),Xe=String(Error("zxcasd").stack),lt=/\n\s*at [^:]*:[^\n]*/,wt=lt.test(Xe),Ot=/@[^\n]*\n/.test(Xe)&&!/zxcasd/.test(Xe),kt=function(e,t){if(typeof e!="string")return e;if(wt)for(;t--;)e=_e(e,lt,"");else if(Ot)return Fe(Ee(Ke(e,`
`),t),`
`);return e},Nt=function(e,t){v(t)&&"cause"in t&&zt(e,"cause",t.cause)},Je={},xt=qt("iterator"),pt=Array.prototype,Pt={};Pt[qt("toStringTag")]="z";var At=String(Pt)==="[object z]",Qt=qt("toStringTag"),un=F.Object,Rn=B(function(){return arguments}())=="Arguments",er=At?B:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=un(e),Qt))=="string"?n:Rn?B(t):(r=B(t))=="Object"&&P(t.callee)?"Arguments":r},An=qt("iterator"),Tn=function(e){if(e!=null)return ee(e,An)||ee(e,"@@iterator")||Je[er(e)]},Kn=F.TypeError,Wn=function(e,t,n){var r,i;vt(e);try{if(!(r=ee(e,"return"))){if(t==="throw")throw n;return n}r=Se(r,e)}catch(o){i=!0,r=o}if(t==="throw")throw n;if(i)throw r;return vt(r),n},Hi=F.TypeError,yi=function(e,t){this.stopped=e,this.result=t},Fo=yi.prototype,Ci=function(e,t,n){var r,i,o,a,s,u,l,c=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),E=Ut(t,c),g=function(_){return r&&Wn(r,"normal",_),new yi(!0,_)},y=function(_){return d?(vt(_),h?E(_[0],_[1],g):E(_[0],_[1])):h?E(_,g):E(_)};if(p)r=e;else{if(!(i=Tn(e)))throw Hi(ct(e)+" is not iterable");if(function(_){return _!==void 0&&(Je.Array===_||pt[xt]===_)}(i)){for(o=0,a=sr(e);a>o;o++)if((s=y(e[o]))&&Ce(Fo,s))return s;return new yi(!1)}r=function(_,m){var T=arguments.length<2?Tn(_):m;if(Zt(T))return vt(Se(T,_));throw Kn(ct(_)+" is not iterable")}(e,i)}for(u=r.next;!(l=Se(u,r)).done;){try{s=y(l.value)}catch(_){Wn(r,"throw",_)}if(typeof s=="object"&&s&&Ce(Fo,s))return s}return new yi(!1)},yo=F.String,xi=function(e){if(er(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return yo(e)},$a=function(e,t){return e===void 0?arguments.length<2?"":t:xi(e)},es=!N(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",ye(1,7)),e.stack!==7)}),ts=qt("toStringTag"),fa=F.Error,ns=[].push,Bo=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,i=Ce(rs,this);en?n=en(new fa(void 0),i?Gn(this):rs):(n=i?this:Ns(rs),zt(n,ts,"Error")),zt(n,"message",$a(t,"")),es&&zt(n,"stack",kt(n.stack,1)),Nt(n,r);var o=[];return Ci(e,ns,{that:o}),zt(n,"errors",o),n};en?en(Bo,fa):function(e,t){for(var n=t2(t),r=jt.f,i=go.f,o=0;o<n.length;o++){var a=n[o];sn(e,a)||r(e,a,i(t,a))}}(Bo,fa);var rs=Bo.prototype=Ns(fa.prototype,{constructor:ye(1,Bo),message:ye(1,""),name:ye(1,"AggregateError")});nn({global:!0},{AggregateError:Bo});var Ra=Z(Function.toString);P(Ye.inspectSource)||(Ye.inspectSource=function(e){return Ra(e)});var Na,yr,jr,li=Ye.inspectSource,Uo=F.WeakMap,To=P(Uo)&&/native code/.test(li(Uo)),Wi=F.TypeError,Zo=F.WeakMap;if(To||Ye.state){var zi=Ye.state||(Ye.state=new Zo),Ho=Z(zi.get),Is=Z(zi.has),ya=Z(zi.set);Na=function(e,t){if(Is(zi,e))throw new Wi("Object already initialized");return t.facade=e,ya(zi,e,t),t},yr=function(e){return Ho(zi,e)||{}},jr=function(e){return Is(zi,e)}}else{var da=ln("state");Qc[da]=!0,Na=function(e,t){if(sn(e,da))throw new Wi("Object already initialized");return t.facade=e,zt(e,da,t),t},yr=function(e){return sn(e,da)?e[da]:{}},jr=function(e){return sn(e,da)}}var ci,ba,Uu,to={set:Na,get:yr,has:jr,enforce:function(e){return jr(e)?yr(e):Na(e,{})},getterFor:function(e){return function(t){var n;if(!v(t)||(n=yr(t)).type!==e)throw Wi("Incompatible receiver, "+e+" required");return n}}},qo=Function.prototype,Hu=ie&&Object.getOwnPropertyDescriptor,Wo=sn(qo,"name"),Ia={EXISTS:Wo,PROPER:Wo&&function(){}.name==="something",CONFIGURABLE:Wo&&(!ie||ie&&Hu(qo,"name").configurable)},Si=function(e,t,n,r){r&&r.enumerable?e[t]=n:zt(e,t,n)},Vi=qt("iterator"),bo=!1;[].keys&&("next"in(Uu=[].keys())?(ba=Gn(Gn(Uu)))!==Object.prototype&&(ci=ba):bo=!0);var is=ci==null||N(function(){var e={};return ci[Vi].call(e)!==e});ci=is?{}:Ns(ci),P(ci[Vi])||Si(ci,Vi,function(){return this});var Gi={IteratorPrototype:ci,BUGGY_SAFARI_ITERATORS:bo},Pa=At?{}.toString:function(){return"[object "+er(this)+"]"},Ki=jt.f,ru=qt("toStringTag"),_a=function(e,t,n,r){if(e){var i=n?e:e.prototype;sn(i,ru)||Ki(i,ru,{configurable:!0,value:t}),r&&!At&&zt(i,"toString",Pa)}},Yn=Gi.IteratorPrototype,_l=function(){return this},ha=Ia.PROPER,kr=Gi.BUGGY_SAFARI_ITERATORS,no=qt("iterator"),os=function(){return this},fi=function(e,t,n,r,i,o,a){!function(_,m,T,R){var W=m+" Iterator";_.prototype=Ns(Yn,{next:ye(+!R,T)}),_a(_,W,!1,!0),Je[W]=_l}(n,t,r);var s,u,l,c=function(_){if(_===i&&g)return g;if(!kr&&_ in h)return h[_];switch(_){case"keys":case"values":case"entries":return function(){return new n(this,_)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,E=h[no]||h["@@iterator"]||i&&h[i],g=!kr&&E||c(i),y=t=="Array"&&h.entries||E;if(y&&(s=Gn(y.call(new e)))!==Object.prototype&&s.next&&(_a(s,d,!0,!0),Je[d]=os),ha&&i=="values"&&E&&E.name!=="values"&&(p=!0,g=function(){return Se(E,this)}),i)if(u={values:c("values"),keys:o?g:c("keys"),entries:c("entries")},a)for(l in u)(kr||p||!(l in h))&&Si(h,l,u[l]);else nn({target:t,proto:!0,forced:kr||p},u);return a&&h[no]!==g&&Si(h,no,g,{name:i}),Je[t]=g,u},ro=to.set,zo=to.getterFor("Array Iterator");fi(Array,"Array",function(e,t){ro(this,{type:"Array Iterator",target:D(e),index:0,kind:t})},function(){var e=zo(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),Je.Arguments=Je.Array;var iu=Z("".charAt),ou=Z("".charCodeAt),as=Z("".slice),au=function(e){return function(t,n){var r,i,o=xi(C(t)),a=So(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=ou(o,a))<55296||r>56319||a+1===s||(i=ou(o,a+1))<56320||i>57343?e?iu(o,a):r:e?as(o,a,a+2):i-56320+(r-55296<<10)+65536}},su={codeAt:au(!1),charAt:au(!0)}.charAt,Ti=to.set,pa=to.getterFor("String Iterator");fi(String,"String",function(e){Ti(this,{type:"String Iterator",string:xi(e),index:0})},function(){var e,t=pa(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=su(n,r),t.index+=e.length,{value:e,done:!1})});var di=L.AggregateError,_n=qt("toStringTag");for(var br in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var $o=F[br],El=$o&&$o.prototype;El&&er(El)!==_n&&zt(El,_n,br),Je[br]=Je.Array}var ss,Wu,Pd=di,Ps=function(e){return e&&e.Math==Math&&e},Pn=Ps(typeof globalThis=="object"&&globalThis)||Ps(typeof window=="object"&&window)||Ps(typeof self=="object"&&self)||Ps(typeof ve=="object"&&ve)||function(){return this}()||Function("return this")(),Di=function(e){try{return!!e()}catch(t){return!0}},oi=!Di(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),hi=Function.prototype.call,Nn=hi.bind?hi.bind(hi):function(){return hi.apply(hi,arguments)},Ls={}.propertyIsEnumerable,U0=Object.getOwnPropertyDescriptor,H0=U0&&!Ls.call({1:2},1)?function(e){var t=U0(this,e);return!!t&&t.enumerable}:Ls,i2={f:H0},uu=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},zp=Function.prototype,lu=zp.bind,qc=zp.call,$c=lu&&lu.bind(qc),Hr=lu?function(e){return e&&$c(qc,e)}:function(e){return e&&function(){return qc.apply(e,arguments)}},W0=Hr({}.toString),o2=Hr("".slice),cu=function(e){return o2(W0(e),8,-1)},wl=Pn.Object,a2=Hr("".split),z0=Di(function(){return!wl("z").propertyIsEnumerable(0)})?function(e){return cu(e)=="String"?a2(e,""):wl(e)}:wl,V0=Pn.TypeError,zu=function(e){if(e==null)throw V0("Can't call method on "+e);return e},Ol=function(e){return z0(zu(e))},Ri=function(e){return typeof e=="function"},La=function(e){return typeof e=="object"?e!==null:Ri(e)},Vp=function(e){return Ri(e)?e:void 0},fu=function(e,t){return arguments.length<2?Vp(Pn[e]):Pn[e]&&Pn[e][t]},ef=Hr({}.isPrototypeOf),Ld=fu("navigator","userAgent")||"",G0=Pn.process,Md=Pn.Deno,tf=G0&&G0.versions||Md&&Md.version,Gp=tf&&tf.v8;Gp&&(Wu=(ss=Gp.split("."))[0]>0&&ss[0]<4?1:+(ss[0]+ss[1])),!Wu&&Ld&&(!(ss=Ld.match(/Edge\/(\d+)/))||ss[1]>=74)&&(ss=Ld.match(/Chrome\/(\d+)/))&&(Wu=+ss[1]);var Kp=Wu,Yp=!!Object.getOwnPropertySymbols&&!Di(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Kp&&Kp<41}),jd=Yp&&!Symbol.sham&&typeof Symbol.iterator=="symbol",s2=Pn.Object,kd=jd?function(e){return typeof e=="symbol"}:function(e){var t=fu("Symbol");return Ri(t)&&ef(t.prototype,s2(e))},u2=Pn.String,Fd=function(e){try{return u2(e)}catch(t){return"Object"}},Al=Pn.TypeError,Bd=function(e){if(Ri(e))return e;throw Al(Fd(e)+" is not a function")},nf=function(e,t){var n=e[t];return n==null?void 0:Bd(n)},Xp=Pn.TypeError,K0=Object.defineProperty,Jp=function(e,t){try{K0(Pn,e,{value:t,configurable:!0,writable:!0})}catch(n){Pn[e]=t}return t},Ms=Pn["__core-js_shared__"]||Jp("__core-js_shared__",{}),Qp=ke(function(e){(e.exports=function(t,n){return Ms[t]||(Ms[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Zp=Pn.Object,Ud=function(e){return Zp(zu(e))},l2=Hr({}.hasOwnProperty),Vo=Object.hasOwn||function(e,t){return l2(Ud(e),t)},c2=0,f2=Math.random(),Y0=Hr(1 .toString),X0=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Y0(++c2+f2,36)},Cl=Qp("wks"),Vu=Pn.Symbol,qp=Vu&&Vu.for,J0=jd?Vu:Vu&&Vu.withoutSetter||X0,Do=function(e){if(!Vo(Cl,e)||!Yp&&typeof Cl[e]!="string"){var t="Symbol."+e;Yp&&Vo(Vu,e)?Cl[e]=Vu[e]:Cl[e]=jd&&qp?qp(t):J0(t)}return Cl[e]},d2=Pn.TypeError,Q0=Do("toPrimitive"),h2=function(e,t){if(!La(e)||kd(e))return e;var n,r=nf(e,Q0);if(r){if(t===void 0&&(t="default"),n=Nn(r,e,t),!La(n)||kd(n))return n;throw d2("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(i,o){var a,s;if(o==="string"&&Ri(a=i.toString)&&!La(s=Nn(a,i)))return s;if(Ri(a=i.valueOf)&&!La(s=Nn(a,i)))return s;if(o!=="string"&&Ri(a=i.toString)&&!La(s=Nn(a,i)))return s;throw Xp("Can't convert object to primitive value")}(e,t)},Hd=function(e){var t=h2(e,"string");return kd(t)?t:t+""},Wd=Pn.document,Z0=La(Wd)&&La(Wd.createElement),$p=function(e){return Z0?Wd.createElement(e):{}},q0=!oi&&!Di(function(){return Object.defineProperty($p("div"),"a",{get:function(){return 7}}).a!=7}),$0=Object.getOwnPropertyDescriptor,p2=oi?$0:function(e,t){if(e=Ol(e),t=Hd(t),q0)try{return $0(e,t)}catch(n){}if(Vo(e,t))return uu(!Nn(i2.f,e,t),e[t])},em={f:p2},m2=Pn.String,tm=Pn.TypeError,io=function(e){if(La(e))return e;throw tm(m2(e)+" is not an object")},e1=Pn.TypeError,t1=Object.defineProperty,g2=oi?t1:function(e,t,n){if(io(e),t=Hd(t),io(n),q0)try{return t1(e,t,n)}catch(r){}if("get"in n||"set"in n)throw e1("Accessors not supported");return"value"in n&&(e[t]=n.value),e},xl={f:g2},Ro=oi?function(e,t,n){return xl.f(e,t,uu(1,n))}:function(e,t,n){return e[t]=n,e},n1=Hr(Function.toString);Ri(Ms.inspectSource)||(Ms.inspectSource=function(e){return n1(e)});var rf,Gu,Sl,nm=Ms.inspectSource,r1=Pn.WeakMap,nr=Ri(r1)&&/native code/.test(nm(r1)),on=Qp("keys"),Sn=function(e){return on[e]||(on[e]=X0(e))},rr={},pi=Pn.TypeError,Ku=Pn.WeakMap;if(nr||Ms.state){var Go=Ms.state||(Ms.state=new Ku),Ma=Hr(Go.get),ja=Hr(Go.has),js=Hr(Go.set);rf=function(e,t){if(ja(Go,e))throw new pi("Object already initialized");return t.facade=e,js(Go,e,t),t},Gu=function(e){return Ma(Go,e)||{}},Sl=function(e){return ja(Go,e)}}else{var us=Sn("state");rr[us]=!0,rf=function(e,t){if(Vo(e,us))throw new pi("Object already initialized");return t.facade=e,Ro(e,us,t),t},Gu=function(e){return Vo(e,us)?e[us]:{}},Sl=function(e){return Vo(e,us)}}var Yi={set:rf,get:Gu,has:Sl,enforce:function(e){return Sl(e)?Gu(e):rf(e,{})},getterFor:function(e){return function(t){var n;if(!La(t)||(n=Gu(t)).type!==e)throw pi("Incompatible receiver, "+e+" required");return n}}},YR=Function.prototype,Rz=oi&&Object.getOwnPropertyDescriptor,v2=Vo(YR,"name"),y2={EXISTS:v2,PROPER:v2&&function(){}.name==="something",CONFIGURABLE:v2&&(!oi||oi&&Rz(YR,"name").configurable)},Tl=ke(function(e){var t=y2.CONFIGURABLE,n=Yi.get,r=Yi.enforce,i=String(String).split("String");(e.exports=function(o,a,s,u){var l,c=!!u&&!!u.unsafe,d=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet,h=u&&u.name!==void 0?u.name:a;Ri(s)&&(String(h).slice(0,7)==="Symbol("&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Vo(s,"name")||t&&s.name!==h)&&Ro(s,"name",h),(l=r(s)).source||(l.source=i.join(typeof h=="string"?h:""))),o!==Pn?(c?!p&&o[a]&&(d=!0):delete o[a],d?o[a]=s:Ro(o,a,s)):d?o[a]=s:Jp(a,s)})(Function.prototype,"toString",function(){return Ri(this)&&n(this).source||nm(this)})}),Nz=Math.ceil,Iz=Math.floor,b2=function(e){var t=+e;return t!=t||t===0?0:(t>0?Iz:Nz)(t)},Pz=Math.max,Lz=Math.min,_2=function(e,t){var n=b2(e);return n<0?Pz(n+t,0):Lz(n,t)},Mz=Math.min,XR=function(e){return e>0?Mz(b2(e),9007199254740991):0},i1=function(e){return XR(e.length)},JR=function(e){return function(t,n,r){var i,o=Ol(t),a=i1(o),s=_2(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},jz={includes:JR(!0),indexOf:JR(!1)}.indexOf,QR=Hr([].push),ZR=function(e,t){var n,r=Ol(e),i=0,o=[];for(n in r)!Vo(rr,n)&&Vo(r,n)&&QR(o,n);for(;t.length>i;)Vo(r,n=t[i++])&&(~jz(o,n)||QR(o,n));return o},o1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kz=o1.concat("length","prototype"),Fz=Object.getOwnPropertyNames||function(e){return ZR(e,kz)},Bz={f:Fz},Uz={f:Object.getOwnPropertySymbols},Hz=Hr([].concat),Wz=fu("Reflect","ownKeys")||function(e){var t=Bz.f(io(e)),n=Uz.f;return n?Hz(t,n(e)):t},qR=function(e,t){for(var n=Wz(t),r=xl.f,i=em.f,o=0;o<n.length;o++){var a=n[o];Vo(e,a)||r(e,a,i(t,a))}},zz=/#|\.prototype\./,rm=function(e,t){var n=Gz[Vz(e)];return n==Yz||n!=Kz&&(Ri(t)?Di(t):!!t)},Vz=rm.normalize=function(e){return String(e).replace(zz,".").toLowerCase()},Gz=rm.data={},Kz=rm.NATIVE="N",Yz=rm.POLYFILL="P",Xz=rm,Jz=em.f,im=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,l=e.stat;if(n=u?Pn:l?Pn[s]||Jp(s,{}):(Pn[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=Jz(n,r))&&a.value:n[r],!Xz(u?r:s+(l?".":"#")+r,e.forced)&&i!==void 0){if(typeof o==typeof i)continue;qR(o,i)}(e.sham||i&&i.sham)&&Ro(o,"sham",!0),Tl(n,r,o,e)}},$R={};$R[Do("toStringTag")]="z";var a1,E2=String($R)==="[object z]",Qz=Do("toStringTag"),Zz=Pn.Object,qz=cu(function(){return arguments}())=="Arguments",s1=E2?cu:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=Zz(e),Qz))=="string"?n:qz?cu(t):(r=cu(t))=="Object"&&Ri(t.callee)?"Arguments":r},$z=Pn.String,of=function(e){if(s1(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return $z(e)},eV=function(){var e=io(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},w2=Pn.RegExp,O2=Di(function(){var e=w2("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),tV=O2||Di(function(){return!w2("a","y").sticky}),nV=O2||Di(function(){var e=w2("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),rV={BROKEN_CARET:nV,MISSED_STICKY:tV,UNSUPPORTED_Y:O2},iV=Object.keys||function(e){return ZR(e,o1)},oV=oi?Object.defineProperties:function(e,t){io(e);for(var n,r=Ol(t),i=iV(t),o=i.length,a=0;o>a;)xl.f(e,n=i[a++],r[n]);return e},aV=fu("document","documentElement"),e3=Sn("IE_PROTO"),A2=function(){},t3=function(e){return"<script>"+e+"</script>"},n3=function(e){e.write(t3("")),e.close();var t=e.parentWindow.Object;return e=null,t},u1=function(){try{a1=new ActiveXObject("htmlfile")}catch(r){}var e,t;u1=typeof document!="undefined"?document.domain&&a1?n3(a1):((t=$p("iframe")).style.display="none",aV.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(t3("document.F=Object")),e.close(),e.F):n3(a1);for(var n=o1.length;n--;)delete u1.prototype[o1[n]];return u1()};rr[e3]=!0;var r3,C2,om=Object.create||function(e,t){var n;return e!==null?(A2.prototype=io(e),n=new A2,A2.prototype=null,n[e3]=e):n=u1(),t===void 0?n:oV(n,t)},sV=Pn.RegExp,uV=Di(function(){var e=sV(".","s");return!(e.dotAll&&e.exec(`
`)&&e.flags==="s")}),lV=Pn.RegExp,cV=Di(function(){var e=lV("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),fV=Yi.get,dV=Qp("native-string-replace",String.prototype.replace),l1=RegExp.prototype.exec,x2=l1,hV=Hr("".charAt),pV=Hr("".indexOf),mV=Hr("".replace),S2=Hr("".slice),T2=(C2=/b*/g,Nn(l1,r3=/a/,"a"),Nn(l1,C2,"a"),r3.lastIndex!==0||C2.lastIndex!==0),i3=rV.BROKEN_CARET,D2=/()??/.exec("")[1]!==void 0;(T2||D2||i3||uV||cV)&&(x2=function(e){var t,n,r,i,o,a,s,u=this,l=fV(u),c=of(e),d=l.raw;if(d)return d.lastIndex=u.lastIndex,t=Nn(x2,d,c),u.lastIndex=d.lastIndex,t;var p=l.groups,h=i3&&u.sticky,E=Nn(eV,u),g=u.source,y=0,_=c;if(h&&(E=mV(E,"y",""),pV(E,"g")===-1&&(E+="g"),_=S2(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&hV(c,u.lastIndex-1)!==`
`)&&(g="(?: "+g+")",_=" "+_,y++),n=new RegExp("^(?:"+g+")",E)),D2&&(n=new RegExp("^"+g+"$(?!\\s)",E)),T2&&(r=u.lastIndex),i=Nn(l1,h?n:u,_),h?i?(i.input=S2(i.input,y),i[0]=S2(i[0],y),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:T2&&i&&(u.lastIndex=u.global?i.index+i[0].length:r),D2&&i&&i.length>1&&Nn(dV,i[0],n,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(i[o]=void 0)}),i&&p)for(i.groups=a=om(null),o=0;o<p.length;o++)a[(s=p[o])[0]]=i[s[1]];return i});var c1=x2;im({target:"RegExp",proto:!0,forced:/./.exec!==c1},{exec:c1});var gV=Do("species"),R2=RegExp.prototype,vV=Hr("".charAt),o3=Hr("".charCodeAt),yV=Hr("".slice),a3=function(e){return function(t,n){var r,i,o=of(zu(t)),a=b2(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=o3(o,a))<55296||r>56319||a+1===s||(i=o3(o,a+1))<56320||i>57343?e?vV(o,a):r:e?yV(o,a,a+2):i-56320+(r-55296<<10)+65536}},s3={codeAt:a3(!1),charAt:a3(!0)},bV=s3.charAt,_V=function(e,t,n){return t+(n?bV(e,t).length:1)},EV=Pn.TypeError,u3=function(e,t){var n=e.exec;if(Ri(n)){var r=Nn(n,e,t);return r!==null&&io(r),r}if(cu(e)==="RegExp")return Nn(c1,e,t);throw EV("RegExp#exec called on incompatible receiver")};!function(e,t,n,r){var i=Do(e),o=!Di(function(){var l={};return l[i]=function(){return 7},""[e](l)!=7}),a=o&&!Di(function(){var l=!1,c=/a/;return e==="split"&&((c={}).constructor={},c.constructor[gV]=function(){return c},c.flags="",c[i]=/./[i]),c.exec=function(){return l=!0,null},c[i](""),!l});if(!o||!a||n){var s=Hr(/./[i]),u=t(i,""[e],function(l,c,d,p,h){var E=Hr(l),g=c.exec;return g===c1||g===R2.exec?o&&!h?{done:!0,value:s(c,d,p)}:{done:!0,value:E(d,c,p)}:{done:!1}});Tl(String.prototype,e,u[0]),Tl(R2,i,u[1])}r&&Ro(R2[i],"sham",!0)}("match",function(e,t,n){return[function(r){var i=zu(this),o=r==null?void 0:nf(r,e);return o?Nn(o,r,i):new RegExp(r)[e](of(i))},function(r){var i=io(this),o=of(r),a=n(t,i,o);if(a.done)return a.value;if(!i.global)return u3(i,o);var s=i.unicode;i.lastIndex=0;for(var u,l=[],c=0;(u=u3(i,o))!==null;){var d=of(u[0]);l[c]=d,d===""&&(i.lastIndex=_V(o,XR(i.lastIndex),s)),c++}return c===0?null:l}]}),im({global:!0},{globalThis:Pn});var wV=!Di(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),l3=Sn("IE_PROTO"),N2=Pn.Object,OV=N2.prototype,am=wV?N2.getPrototypeOf:function(e){var t=Ud(e);if(Vo(t,l3))return t[l3];var n=t.constructor;return Ri(n)&&t instanceof n?n.prototype:t instanceof N2?OV:null},AV=Pn.String,CV=Pn.TypeError,zd=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Hr(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,i){return io(r),function(o){if(typeof o=="object"||Ri(o))return o;throw CV("Can't set "+AV(o)+" as a prototype")}(i),t?e(r,i):r.__proto__=i,r}}():void 0),xV=Pn.Array,SV=Math.max,TV=Hr("".replace),DV=Hr("".split),RV=Hr([].join),I2=String(Error("zxcasd").stack),c3=/\n\s*at [^:]*:[^\n]*/,NV=c3.test(I2),IV=/@[^\n]*\n/.test(I2)&&!/zxcasd/.test(I2),PV=function(e,t){if(typeof e!="string")return e;if(NV)for(;t--;)e=TV(e,c3,"");else if(IV)return RV(function(n,r,i){for(var o,a,s,u,l=i1(n),c=_2(r,l),d=_2(i===void 0?l:i,l),p=xV(SV(d-c,0)),h=0;c<d;c++,h++)o=p,a=h,s=n[c],u=void 0,(u=Hd(a))in o?xl.f(o,u,uu(0,s)):o[u]=s;return p.length=h,p}(DV(e,`
`),t),`
`);return e},LV=function(e,t){La(t)&&"cause"in t&&Ro(e,"cause",t.cause)},f3=Hr(Hr.bind),d3=function(e,t){return Bd(e),t===void 0?e:f3?f3(e,t):function(){return e.apply(t,arguments)}},Vd={},MV=Do("iterator"),jV=Array.prototype,kV=Do("iterator"),h3=function(e){if(e!=null)return nf(e,kV)||nf(e,"@@iterator")||Vd[s1(e)]},FV=Pn.TypeError,p3=function(e,t,n){var r,i;io(e);try{if(!(r=nf(e,"return"))){if(t==="throw")throw n;return n}r=Nn(r,e)}catch(o){i=!0,r=o}if(t==="throw")throw n;if(i)throw r;return io(r),n},BV=Pn.TypeError,f1=function(e,t){this.stopped=e,this.result=t},m3=f1.prototype,UV=function(e,t,n){var r,i,o,a,s,u,l,c=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),E=d3(t,c),g=function(_){return r&&p3(r,"normal",_),new f1(!0,_)},y=function(_){return d?(io(_),h?E(_[0],_[1],g):E(_[0],_[1])):h?E(_,g):E(_)};if(p)r=e;else{if(!(i=h3(e)))throw BV(Fd(e)+" is not iterable");if(function(_){return _!==void 0&&(Vd.Array===_||jV[MV]===_)}(i)){for(o=0,a=i1(e);a>o;o++)if((s=y(e[o]))&&ef(m3,s))return s;return new f1(!1)}r=function(_,m){var T=arguments.length<2?h3(_):m;if(Bd(T))return io(Nn(T,_));throw FV(Fd(_)+" is not iterable")}(e,i)}for(u=r.next;!(l=Nn(u,r)).done;){try{s=y(l.value)}catch(_){p3(r,"throw",_)}if(typeof s=="object"&&s&&ef(m3,s))return s}return new f1(!1)},HV=function(e,t){return e===void 0?arguments.length<2?"":t:of(e)},WV=!Di(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",uu(1,7)),e.stack!==7)}),zV=Do("toStringTag"),d1=Pn.Error,VV=[].push,sm=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,i=ef(P2,this);zd?n=zd(new d1(void 0),i?am(this):P2):(n=i?this:om(P2),Ro(n,zV,"Error")),Ro(n,"message",HV(t,"")),WV&&Ro(n,"stack",PV(n.stack,1)),LV(n,r);var o=[];return UV(e,VV,{that:o}),Ro(n,"errors",o),n};zd?zd(sm,d1):qR(sm,d1);var P2=sm.prototype=om(d1.prototype,{constructor:uu(1,sm),message:uu(1,""),name:uu(1,"AggregateError")});im({global:!0},{AggregateError:sm});var L2=Do("unscopables"),M2=Array.prototype;M2[L2]==null&&xl.f(M2,L2,{configurable:!0,value:om(null)});var af,g3,v3,j2=function(e){M2[L2][e]=!0},k2=Do("iterator"),y3=!1;[].keys&&("next"in(v3=[].keys())?(g3=am(am(v3)))!==Object.prototype&&(af=g3):y3=!0);var GV=af==null||Di(function(){var e={};return af[k2].call(e)!==e});GV&&(af={}),Ri(af[k2])||Tl(af,k2,function(){return this});var F2={IteratorPrototype:af,BUGGY_SAFARI_ITERATORS:y3},KV=xl.f,b3=Do("toStringTag"),_3=function(e,t,n){e&&!Vo(e=n?e:e.prototype,b3)&&KV(e,b3,{configurable:!0,value:t})},YV=F2.IteratorPrototype,XV=function(){return this},JV=y2.PROPER,QV=y2.CONFIGURABLE,E3=F2.IteratorPrototype,h1=F2.BUGGY_SAFARI_ITERATORS,um=Do("iterator"),ZV=function(){return this},w3=function(e,t,n,r,i,o,a){!function(_,m,T,R){var W=m+" Iterator";_.prototype=om(YV,{next:uu(+!R,T)}),_3(_,W,!1),Vd[W]=XV}(n,t,r);var s,u,l,c=function(_){if(_===i&&g)return g;if(!h1&&_ in h)return h[_];switch(_){case"keys":case"values":case"entries":return function(){return new n(this,_)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,E=h[um]||h["@@iterator"]||i&&h[i],g=!h1&&E||c(i),y=t=="Array"&&h.entries||E;if(y&&(s=am(y.call(new e)))!==Object.prototype&&s.next&&(am(s)!==E3&&(zd?zd(s,E3):Ri(s[um])||Tl(s,um,ZV)),_3(s,d,!0)),JV&&i=="values"&&E&&E.name!=="values"&&(QV?Ro(h,"name","values"):(p=!0,g=function(){return Nn(E,this)})),i)if(u={values:c("values"),keys:o?g:c("keys"),entries:c("entries")},a)for(l in u)(h1||p||!(l in h))&&Tl(h,l,u[l]);else im({target:t,proto:!0,forced:h1||p},u);return h[um]!==g&&Tl(h,um,g,{name:i}),Vd[t]=g,u},qV=Yi.set,$V=Yi.getterFor("Array Iterator"),lm=w3(Array,"Array",function(e,t){qV(this,{type:"Array Iterator",target:Ol(e),index:0,kind:t})},function(){var e=$V(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");Vd.Arguments=Vd.Array,j2("keys"),j2("values"),j2("entries");var eG=s3.charAt,tG=Yi.set,nG=Yi.getterFor("String Iterator");w3(String,"String",function(e){tG(this,{type:"String Iterator",string:of(e),index:0})},function(){var e,t=nG(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=eG(n,r),t.index+=e.length,{value:e,done:!1})});var B2,p1={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},U2=$p("span").classList,O3=U2&&U2.constructor&&U2.constructor.prototype,A3=O3===Object.prototype?void 0:O3,H2=Do("iterator"),C3=Do("toStringTag"),W2=lm.values,x3=function(e,t){if(e){if(e[H2]!==W2)try{Ro(e,H2,W2)}catch(r){e[H2]=W2}if(e[C3]||Ro(e,C3,t),p1[t]){for(var n in lm)if(e[n]!==lm[n])try{Ro(e,n,lm[n])}catch(r){e[n]=lm[n]}}}};for(var z2 in p1)x3(Pn[z2]&&Pn[z2].prototype,z2);(x3(A3,"DOMTokenList"),typeof oe=="undefined")?("ActiveXObject"in window&&console.error(`\u62B1\u6B49\uFF0CwangEditor V5+ \u7248\u672C\u5F00\u59CB\uFF0C\u4E0D\u5728\u652F\u6301 IE \u6D4F\u89C8\u5668
Sorry, wangEditor V5+ versions do not support IE browser.`),S3(),T3()):oe&&((B2=oe.navigator)===null||B2===void 0?void 0:B2.userAgent.match("QQBrowser"))&&(S3(),T3());function S3(){typeof globalThis=="undefined"&&(window.globalThis=window)}function T3(){Pd===void 0&&(window.AggregateError=function(e,t){var n=new Error(t);return n.errors=e,n})}var D3,m1=Array.isArray||function(e){return B(e)=="Array"},R3=function(){},rG=[],N3=ce("Reflect","construct"),V2=/^\s*(?:class|function)\b/,iG=Z(V2.exec),oG=!V2.exec(R3),cm=function(e){if(!P(e))return!1;try{return N3(R3,rG,e),!0}catch(t){return!1}},aG=!N3||N(function(){var e;return cm(cm.call)||!cm(Object)||!cm(function(){e=!0})||e})?function(e){if(!P(e))return!1;switch(er(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return oG||!!iG(V2,li(e))}:cm,sG=qt("species"),I3=F.Array,P3=function(e,t){return new(function(n){var r;return m1(n)&&(r=n.constructor,(aG(r)&&(r===I3||m1(r.prototype))||v(r)&&(r=r[sG])===null)&&(r=void 0)),r===void 0?I3:r}(e))(t===0?0:t)},uG=qt("species"),L3=qt("isConcatSpreadable"),M3=F.TypeError,lG=Rt>=51||!N(function(){var e=[];return e[L3]=!1,e.concat()[0]!==e}),cG=(D3="concat",Rt>=51||!N(function(){var e=[];return(e.constructor={})[uG]=function(){return{foo:1}},e[D3](Boolean).foo!==1})),fG=function(e){if(!v(e))return!1;var t=e[L3];return t!==void 0?!!t:m1(e)};nn({target:"Array",proto:!0,forced:!lG||!cG},{concat:function(e){var t,n,r,i,o,a=Mn(this),s=P3(a,0),u=0;for(t=-1,r=arguments.length;t<r;t++)if(fG(o=t===-1?a:arguments[t])){if(u+(i=sr(o))>9007199254740991)throw M3("Maximum allowed index exceeded");for(n=0;n<i;n++,u++)n in o&&B0(s,u,o[n])}else{if(u>=9007199254740991)throw M3("Maximum allowed index exceeded");B0(s,u++,o)}return s.length=u,s}});var j3=Zc.f,k3=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],F3={f:function(e){return k3&&B(e)=="Window"?function(t){try{return j3(t)}catch(n){return Ee(k3)}}(e):j3(D(e))}},dG=Z([].slice),G2={f:qt},hG=jt.f,Xi=function(e){var t=L.Symbol||(L.Symbol={});sn(t,e)||hG(t,e,{value:G2.f(e)})},B3=Z([].push),Dl=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,E=Mn(u),g=M(E),y=Ut(l,c),_=sr(g),m=0,T=d||P3,R=t?T(u,_):n||a?T(u,0):void 0;_>m;m++)if((s||m in g)&&(h=y(p=g[m],m,E),e))if(t)R[m]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return m;case 2:B3(R,p)}else switch(e){case 4:return!1;case 7:B3(R,p)}return o?-1:r||i?i:R}},g1={forEach:Dl(0),map:Dl(1),filter:Dl(2),some:Dl(3),every:Dl(4),find:Dl(5),findIndex:Dl(6),filterReject:Dl(7)}.forEach,Ea=ln("hidden"),U3=qt("toPrimitive"),pG=to.set,H3=to.getterFor("Symbol"),ks=Object.prototype,Rl=F.Symbol,Nl=Rl&&Rl.prototype,W3=F.TypeError,K2=F.QObject,fm=ce("JSON","stringify"),z3=go.f,Il=jt.f,V3=F3.f,mG=Te.f,G3=Z([].push),Yu=Mt("symbols"),dm=Mt("op-symbols"),Y2=Mt("string-to-symbol-registry"),X2=Mt("symbol-to-string-registry"),gG=Mt("wks"),J2=!K2||!K2.prototype||!K2.prototype.findChild,Q2=ie&&N(function(){return Ns(Il({},"a",{get:function(){return Il(this,"a",{value:7}).a}})).a!=7})?function(e,t,n){var r=z3(ks,t);r&&delete ks[t],Il(e,t,n),r&&e!==ks&&Il(ks,t,r)}:Il,Z2=function(e,t){var n=Yu[e]=Ns(Nl);return pG(n,{type:"Symbol",tag:e,description:t}),ie||(n.description=t),n},v1=function(e,t,n){e===ks&&v1(dm,t,n),vt(e);var r=Ur(t);return vt(n),sn(Yu,r)?(n.enumerable?(sn(e,Ea)&&e[Ea][r]&&(e[Ea][r]=!1),n=Ns(n,{enumerable:ye(0,!1)})):(sn(e,Ea)||Il(e,Ea,ye(1,{})),e[Ea][r]=!0),Q2(e,r,n)):Il(e,r,n)},K3=function(e,t){vt(e);var n=D(t),r=Hp(n).concat(q2(n));return g1(r,function(i){ie&&!Se(Y3,n,i)||v1(e,i,n[i])}),e},Y3=function(e){var t=Ur(e),n=Se(mG,this,t);return!(this===ks&&sn(Yu,t)&&!sn(dm,t))&&(!(n||!sn(this,t)||!sn(Yu,t)||sn(this,Ea)&&this[Ea][t])||n)},X3=function(e,t){var n=D(e),r=Ur(t);if(n!==ks||!sn(Yu,r)||sn(dm,r)){var i=z3(n,r);return!i||!sn(Yu,r)||sn(n,Ea)&&n[Ea][r]||(i.enumerable=!0),i}},J3=function(e){var t=V3(D(e)),n=[];return g1(t,function(r){sn(Yu,r)||sn(Qc,r)||G3(n,r)}),n},q2=function(e){var t=e===ks,n=V3(t?dm:D(e)),r=[];return g1(n,function(i){!sn(Yu,i)||t&&!sn(ks,i)||G3(r,Yu[i])}),r};if(K||(Nl=(Rl=function(){if(Ce(Nl,this))throw W3("Symbol is not a constructor");var e=arguments.length&&arguments[0]!==void 0?xi(arguments[0]):void 0,t=Ln(e),n=function(r){this===ks&&Se(n,dm,r),sn(this,Ea)&&sn(this[Ea],t)&&(this[Ea][t]=!1),Q2(this,t,ye(1,r))};return ie&&J2&&Q2(ks,t,{configurable:!0,set:n}),Z2(t,e)}).prototype,Si(Nl,"toString",function(){return H3(this).tag}),Si(Rl,"withoutSetter",function(e){return Z2(Ln(e),e)}),Te.f=Y3,jt.f=v1,go.f=X3,Zc.f=F3.f=J3,Rd.f=q2,G2.f=function(e){return Z2(qt(e),e)},ie&&Il(Nl,"description",{configurable:!0,get:function(){return H3(this).description}})),nn({global:!0,wrap:!0,forced:!K,sham:!K},{Symbol:Rl}),g1(Hp(gG),function(e){Xi(e)}),nn({target:"Symbol",stat:!0,forced:!K},{for:function(e){var t=xi(e);if(sn(Y2,t))return Y2[t];var n=Rl(t);return Y2[t]=n,X2[n]=t,n},keyFor:function(e){if(!je(e))throw W3(e+" is not a symbol");if(sn(X2,e))return X2[e]},useSetter:function(){J2=!0},useSimple:function(){J2=!1}}),nn({target:"Object",stat:!0,forced:!K,sham:!ie},{create:function(e,t){return t===void 0?Ns(e):K3(Ns(e),t)},defineProperty:v1,defineProperties:K3,getOwnPropertyDescriptor:X3}),nn({target:"Object",stat:!0,forced:!K},{getOwnPropertyNames:J3,getOwnPropertySymbols:q2}),nn({target:"Object",stat:!0,forced:N(function(){Rd.f(1)})},{getOwnPropertySymbols:function(e){return Rd.f(Mn(e))}}),fm){var vG=!K||N(function(){var e=Rl();return fm([e])!="[null]"||fm({a:e})!="{}"||fm(Object(e))!="{}"});nn({target:"JSON",stat:!0,forced:vG},{stringify:function(e,t,n){var r=dG(arguments),i=t;if((v(t)||e!==void 0)&&!je(e))return m1(t)||(t=function(o,a){if(P(i)&&(a=Se(i,this,o,a)),!je(a))return a}),r[1]=t,A(fm,null,r)}})}if(!Nl[U3]){var yG=Nl.valueOf;Si(Nl,U3,function(e){return Se(yG,this)})}_a(Rl,"Symbol"),Qc[Ea]=!0,Xi("asyncIterator"),Xi("hasInstance"),Xi("isConcatSpreadable"),Xi("iterator"),Xi("match"),Xi("matchAll"),Xi("replace"),Xi("search"),Xi("species"),Xi("split"),Xi("toPrimitive"),Xi("toStringTag"),Xi("unscopables"),_a(F.JSON,"JSON",!0);var bG=L.Symbol;Xi("asyncDispose"),Xi("dispose"),Xi("matcher"),Xi("metadata"),Xi("observable"),Xi("patternMatch"),Xi("replaceAll");var y1=bG,_G=G2.f("iterator"),EG=ke(function(e){function t(n){return typeof y1=="function"&&typeof _G=="symbol"?(e.exports=t=function(r){return typeof r},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(r){return r&&typeof y1=="function"&&r.constructor===y1&&r!==y1.prototype?"symbol":typeof r},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}),wG=We(EG),Q3=em.f,OG=Di(function(){Q3(1)});if(im({target:"Object",stat:!0,forced:!oi||OG,sham:!oi},{getOwnPropertyDescriptor:function(e,t){return Q3(Ol(e),t)}}),(typeof oe=="undefined"?"undefined":wG(oe))==="object"){var AG=Object.getOwnPropertyDescriptor(oe,"window");oe.window&&!AG.set||(oe.window=oe,oe.requestAnimationFrame=function(){},oe.navigator={userAgent:""},oe.location={hostname:"0.0.0.0",port:0,protocol:"http:"},oe.btoa=function(){},oe.crypto={getRandomValues:function(e){return nodeCrypto.randomFillSync(e)}}),oe.document!=null&&oe.document.getElementsByTagName==null&&(oe.document.getElementsByTagName=function(){return[]})}/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/function Z3(e){return Object.prototype.toString.call(e)==="[object Object]"}function ea(e){var t,n;return Z3(e)!==!1&&((t=e.constructor)===void 0||Z3(n=t.prototype)!==!1&&n.hasOwnProperty("isPrototypeOf")!==!1)}function Fs(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(i){return"'"+i+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function sf(e){return!!e&&!!e[ka]}function uf(e){return!!e&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var r=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return r===Object||typeof r=="function"&&Function.toString.call(r)===RG}(e)||Array.isArray(e)||!!e[sN]||!!e.constructor[sN]||ew(e)||tw(e))}function hm(e,t,n){n===void 0&&(n=!1),Gd(e)===0?(n?Object.keys:hw)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,i){return t(i,r,e)})}function Gd(e){var t=e[ka];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ew(e)?2:tw(e)?3:0}function $2(e,t){return Gd(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function q3(e,t,n){var r=Gd(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function ew(e){return TG&&e instanceof Map}function tw(e){return DG&&e instanceof Set}function lf(e){return e.o||e.t}function nw(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=NG(e);delete t[ka];for(var n=hw(t),r=0;r<n.length;r++){var i=n[r],o=t[i];o.writable===!1&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function rw(e,t){return t===void 0&&(t=!1),iw(e)||sf(e)||!uf(e)||(Gd(e)>1&&(e.set=e.add=e.clear=e.delete=CG),Object.freeze(e),t&&hm(e,function(n,r){return rw(r,!0)},!0)),e}function CG(){Fs(2)}function iw(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Xu(e){var t=IG[e];return t||Fs(18,e),t}function $3(){return pm}function ow(e,t){t&&(Xu("Patches"),e.u=[],e.s=[],e.v=t)}function b1(e){aw(e),e.p.forEach(xG),e.p=null}function aw(e){e===pm&&(pm=e.l)}function eN(e){return pm={p:[],l:pm,h:e,m:!0,_:0}}function xG(e){var t=e[ka];t.i===0||t.i===1?t.j():t.O=!0}function sw(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||Xu("ES5").S(t,e,r),r?(n[ka].P&&(b1(t),Fs(4)),uf(e)&&(e=_1(t,e),t.l||E1(t,e)),t.u&&Xu("Patches").M(n[ka],e,t.u,t.s)):e=_1(t,n,[]),b1(t),t.u&&t.v(t.u,t.s),e!==aN?e:void 0}function _1(e,t,n){if(iw(t))return t;var r=t[ka];if(!r)return hm(t,function(o,a){return tN(e,r,t,o,a,n)},!0),t;if(r.A!==e)return t;if(!r.P)return E1(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=nw(r.k):r.o;hm(r.i===3?new Set(i):i,function(o,a){return tN(e,r,i,o,a,n)}),E1(e,i,!1),n&&e.u&&Xu("Patches").R(r,n,e.u,e.s)}return r.o}function tN(e,t,n,r,i,o){if(sf(i)){var a=_1(e,i,o&&t&&t.i!==3&&!$2(t.D,r)?o.concat(r):void 0);if(q3(n,r,a),!sf(a))return;e.m=!1}if(uf(i)&&!iw(i)){if(!e.h.F&&e._<1)return;_1(e,i),t&&t.A.l||E1(e,i)}}function E1(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&rw(t,n)}function uw(e,t){var n=e[ka];return(n?lf(n):e)[t]}function nN(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function lw(e){e.P||(e.P=!0,e.l&&lw(e.l))}function cw(e){e.o||(e.o=nw(e.t))}function fw(e,t,n){var r=ew(t)?Xu("MapSet").N(t,n):tw(t)?Xu("MapSet").T(t,n):e.g?function(i,o){var a=Array.isArray(i),s={i:a?1:0,A:o?o.A:$3(),P:!1,I:!1,D:{},l:o,t:i,k:null,o:null,j:null,C:!1},u=s,l=w1;a&&(u=[s],l=O1);var c=Proxy.revocable(u,l),d=c.revoke,p=c.proxy;return s.k=p,s.j=d,p}(t,n):Xu("ES5").J(t,n);return(n?n.A:$3()).p.push(r),r}function SG(e){return sf(e)||Fs(22,e),function t(n){if(!uf(n))return n;var r,i=n[ka],o=Gd(n);if(i){if(!i.P&&(i.i<4||!Xu("ES5").K(i)))return i.t;i.I=!0,r=rN(n,o),i.I=!1}else r=rN(n,o);return hm(r,function(a,s){i&&function(u,l){return Gd(u)===2?u.get(l):u[l]}(i.t,a)===s||q3(r,a,t(s))}),o===3?new Set(r):r}(e)}function rN(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return nw(e)}var iN,pm,dw=typeof Symbol!="undefined"&&typeof Symbol("x")=="symbol",TG=typeof Map!="undefined",DG=typeof Set!="undefined",oN=typeof Proxy!="undefined"&&Proxy.revocable!==void 0&&typeof Reflect!="undefined",aN=dw?Symbol.for("immer-nothing"):((iN={})["immer-nothing"]=!0,iN),sN=dw?Symbol.for("immer-draftable"):"__$immer_draftable",ka=dw?Symbol.for("immer-state"):"__$immer_state",RG=""+Object.prototype.constructor,hw=typeof Reflect!="undefined"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,NG=Object.getOwnPropertyDescriptors||function(e){var t={};return hw(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},IG={},w1={get:function(e,t){if(t===ka)return e;var n=lf(e);if(!$2(n,t))return function(i,o,a){var s,u=nN(o,a);return u?"value"in u?u.value:(s=u.get)===null||s===void 0?void 0:s.call(i.k):void 0}(e,n,t);var r=n[t];return e.I||!uf(r)?r:r===uw(e.t,t)?(cw(e),e.o[t]=fw(e.A.h,r,e)):r},has:function(e,t){return t in lf(e)},ownKeys:function(e){return Reflect.ownKeys(lf(e))},set:function(e,t,n){var r=nN(lf(e),t);if(r==null?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=uw(lf(e),t),o=i==null?void 0:i[ka];if(o&&o.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(function(a,s){return a===s?a!==0||1/a==1/s:a!=a&&s!=s}(n,i)&&(n!==void 0||$2(e.t,t)))return!0;cw(e),lw(e)}return e.o[t]===n&&typeof n!="number"&&(n!==void 0||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return uw(e.t,t)!==void 0||t in e.t?(e.D[t]=!1,cw(e),lw(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=lf(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){Fs(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Fs(12)}},O1={};hm(w1,function(e,t){O1[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),O1.deleteProperty=function(e,t){return w1.deleteProperty.call(this,e[0],t)},O1.set=function(e,t,n){return w1.set.call(this,e[0],t,n,e[0])};var PG=function(){function e(n){var r=this;this.g=oN,this.F=!0,this.produce=function(i,o,a){if(typeof i=="function"&&typeof o!="function"){var s=o;o=i;var u=r;return function(h){var E=this;h===void 0&&(h=s);for(var g=arguments.length,y=Array(g>1?g-1:0),_=1;_<g;_++)y[_-1]=arguments[_];return u.produce(h,function(m){var T;return(T=o).call.apply(T,[E,m].concat(y))})}}var l;if(typeof o!="function"&&Fs(6),a!==void 0&&typeof a!="function"&&Fs(7),uf(i)){var c=eN(r),d=fw(r,i,void 0),p=!0;try{l=o(d),p=!1}finally{p?b1(c):aw(c)}return typeof Promise!="undefined"&&l instanceof Promise?l.then(function(h){return ow(c,a),sw(h,c)},function(h){throw b1(c),h}):(ow(c,a),sw(l,c))}if(!i||typeof i!="object")return(l=o(i))===aN?void 0:(l===void 0&&(l=i),r.F&&rw(l,!0),l);Fs(21,i)},this.produceWithPatches=function(i,o){return typeof i=="function"?function(u){for(var l=arguments.length,c=Array(l>1?l-1:0),d=1;d<l;d++)c[d-1]=arguments[d];return r.produceWithPatches(u,function(p){return i.apply(void 0,[p].concat(c))})}:[r.produce(i,o,function(u,l){a=u,s=l}),a,s];var a,s},typeof(n==null?void 0:n.useProxies)=="boolean"&&this.setUseProxies(n.useProxies),typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){uf(n)||Fs(8),sf(n)&&(n=SG(n));var r=eN(this),i=fw(this,n,void 0);return i[ka].C=!0,aw(r),i},t.finishDraft=function(n,r){var i=(n&&n[ka]).A;return ow(i,r),sw(void 0,i)},t.setAutoFreeze=function(n){this.F=n},t.setUseProxies=function(n){n&&!oN&&Fs(20),this.g=n},t.applyPatches=function(n,r){var i;for(i=r.length-1;i>=0;i--){var o=r[i];if(o.path.length===0&&o.op==="replace"){n=o.value;break}}i>-1&&(r=r.slice(i+1));var a=Xu("Patches").$;return sf(n)?a(n,r):this.produce(n,function(s){return a(s,r)})},e}(),Fa=new PG,A1=Fa.produce;Fa.produceWithPatches.bind(Fa),Fa.setAutoFreeze.bind(Fa),Fa.setUseProxies.bind(Fa),Fa.applyPatches.bind(Fa);var uN=Fa.createDraft.bind(Fa),lN=Fa.finishDraft.bind(Fa);function du(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C1=new WeakMap,mm=new WeakMap,cN=new WeakMap,fN=new WeakMap,dN=new WeakMap,hN=new WeakMap;function pN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function x1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pN(Object(n),!0).forEach(function(r){du(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var LG=()=>{var e={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:t=>{for(var n of U.pathRefs(e))cK.transform(n,t);for(var r of U.pointRefs(e))fK.transform(r,t);for(var i of U.rangeRefs(e))hK.transform(i,t);var o=new Set,a=[],s=p=>{if(p){var h=p.join(",");o.has(h)||(o.add(h),a.push(p))}},u=C1.get(e)||[],l=MG(t);for(var c of u)s(Me.transform(c,t));for(var d of l)s(d);C1.set(e,a),He.transform(e,t),e.operations.push(t),U.normalize(e),t.type==="set_selection"&&(e.marks=null),mm.get(e)||(mm.set(e,!0),Promise.resolve().then(()=>{mm.set(e,!1),e.onChange(),e.operations=[]}))},addMark:(t,n)=>{var{selection:r}=e;if(r)if($e.isExpanded(r))He.setNodes(e,{[t]:n},{match:rn.isText,split:!0});else{var i=x1(x1({},U.marks(e)||{}),{},{[t]:n});e.marks=i,mm.get(e)||e.onChange()}},deleteBackward:t=>{var{selection:n}=e;n&&$e.isCollapsed(n)&&He.delete(e,{unit:t,reverse:!0})},deleteForward:t=>{var{selection:n}=e;n&&$e.isCollapsed(n)&&He.delete(e,{unit:t})},deleteFragment:t=>{var{selection:n}=e;n&&$e.isExpanded(n)&&He.delete(e,{reverse:t==="backward"})},getFragment:()=>{var{selection:t}=e;return t?Vt.fragment(e,t):[]},insertBreak:()=>{He.splitNodes(e,{always:!0})},insertFragment:t=>{He.insertFragment(e,t)},insertNode:t=>{He.insertNodes(e,t)},insertText:t=>{var{selection:n,marks:r}=e;if(n){if(r){var i=x1({text:t},r);He.insertNodes(e,i)}else He.insertText(e,t);e.marks=null}},normalizeNode:t=>{var[n,r]=t;if(!rn.isText(n))if(bn.isElement(n)&&n.children.length===0)He.insertNodes(e,{text:""},{at:r.concat(0),voids:!0});else for(var i=!U.isEditor(n)&&bn.isElement(n)&&(e.isInline(n)||n.children.length===0||rn.isText(n.children[0])||e.isInline(n.children[0])),o=0,a=0;a<n.children.length;a++,o++){var s=Vt.get(e,r);if(!rn.isText(s)){var u=n.children[a],l=s.children[o-1],c=a===n.children.length-1;(rn.isText(u)||bn.isElement(u)&&e.isInline(u))!==i?(He.removeNodes(e,{at:r.concat(o),voids:!0}),o--):bn.isElement(u)?e.isInline(u)&&(l!=null&&rn.isText(l)?c&&(He.insertNodes(e,{text:""},{at:r.concat(o+1),voids:!0}),o++):(He.insertNodes(e,{text:""},{at:r.concat(o),voids:!0}),o++)):l!=null&&rn.isText(l)&&(rn.equals(u,l,{loose:!0})?(He.mergeNodes(e,{at:r.concat(o),voids:!0}),o--):l.text===""?(He.removeNodes(e,{at:r.concat(o-1),voids:!0}),o--):u.text===""&&(He.removeNodes(e,{at:r.concat(o),voids:!0}),o--))}}},removeMark:t=>{var{selection:n}=e;if(n)if($e.isExpanded(n))He.unsetNodes(e,t,{match:rn.isText,split:!0});else{var r=x1({},U.marks(e)||{});delete r[t],e.marks=r,mm.get(e)||e.onChange()}}};return e},MG=e=>{switch(e.type){case"insert_text":case"remove_text":case"set_node":var{path:t}=e;return Me.levels(t);case"insert_node":var{node:n,path:r}=e,i=Me.levels(r),o=rn.isText(n)?[]:Array.from(Vt.nodes(n),R=>{var[,W]=R;return r.concat(W)});return[...i,...o];case"merge_node":var{path:a}=e;return[...Me.ancestors(a),Me.previous(a)];case"move_node":var{path:s,newPath:u}=e;if(Me.equals(s,u))return[];var l=[],c=[];for(var d of Me.ancestors(s)){var p=Me.transform(d,e);l.push(p)}for(var h of Me.ancestors(u)){var E=Me.transform(h,e);c.push(E)}var g=c[c.length-1],y=u[u.length-1],_=g.concat(y);return[...l,...c,_];case"remove_node":var{path:m}=e;return[...Me.ancestors(m)];case"split_node":var{path:T}=e;return[...Me.levels(T),Me.next(T)];default:return[]}};function Ju(e,t){if(e==null)return{};var n,r,i=function(a,s){if(a==null)return{};var u,l,c={},d=Object.keys(a);for(l=0;l<d.length;l++)u=d[l],s.indexOf(u)>=0||(c[u]=a[u]);return c}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Qn,pw=function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=!t,r=t?UG(e):e,i=Qn.None,o=Qn.None,a=0,s=null;for(var u of r){var l=u.codePointAt(0);if(!l)break;var c=qG(u,l);if([i,o]=n?[o,c]:[c,i],Kd(i,Qn.ZWJ)&&Kd(o,Qn.ExtPict)&&!nK(n?e.substring(0,a):e.substring(0,e.length-a)))break;if(Kd(i,Qn.RI)&&Kd(o,Qn.RI)&&!(s=s!==null?!s:!!n||iK(e.substring(0,e.length-a))))break;if(i!==Qn.None&&o!==Qn.None&&eK(i,o))break;a+=u.length}return a||1},jG=/\s/,kG=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,FG=/['\u2018\u2019]/,mw=(e,t,n)=>{if(n){var r=e.length-t;return[e.slice(r,e.length),e.slice(0,r)]}return[e.slice(0,t),e.slice(t)]},BG=function e(t,n){var r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(jG.test(t))return!1;if(FG.test(t)){var i=pw(n,r),[o,a]=mw(n,i,r);if(e(o,a,r))return!0}return!kG.test(t)},UG=function*(e){for(var t=e.length-1,n=0;n<e.length;n++){var r=e.charAt(t-n);if(WG(r.charCodeAt(0))){var i=e.charAt(t-n-1);if(HG(i.charCodeAt(0))){yield i+r,n++;continue}}yield r}},HG=e=>e>=55296&&e<=56319,WG=e=>e>=56320&&e<=57343;!function(e){e[e.None=0]="None",e[e.Extend=1]="Extend",e[e.ZWJ=2]="ZWJ",e[e.RI=4]="RI",e[e.Prepend=8]="Prepend",e[e.SpacingMark=16]="SpacingMark",e[e.L=32]="L",e[e.V=64]="V",e[e.T=128]="T",e[e.LV=256]="LV",e[e.LVT=512]="LVT",e[e.ExtPict=1024]="ExtPict",e[e.Any=2048]="Any"}(Qn||(Qn={}));var zG=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,VG=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,GG=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,KG=/^[\u1100-\u115F\uA960-\uA97C]$/,YG=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,XG=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,JG=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,QG=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,ZG=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,qG=(e,t)=>{var n=Qn.Any;return e.search(zG)!==-1&&(n|=Qn.Extend),t===8205&&(n|=Qn.ZWJ),t>=127462&&t<=127487&&(n|=Qn.RI),e.search(VG)!==-1&&(n|=Qn.Prepend),e.search(GG)!==-1&&(n|=Qn.SpacingMark),e.search(KG)!==-1&&(n|=Qn.L),e.search(YG)!==-1&&(n|=Qn.V),e.search(XG)!==-1&&(n|=Qn.T),e.search(JG)!==-1&&(n|=Qn.LV),e.search(QG)!==-1&&(n|=Qn.LVT),e.search(ZG)!==-1&&(n|=Qn.ExtPict),n};function Kd(e,t){return(e&t)!=0}var $G=[[Qn.L,Qn.L|Qn.V|Qn.LV|Qn.LVT],[Qn.LV|Qn.V,Qn.V|Qn.T],[Qn.LVT|Qn.T,Qn.T],[Qn.Any,Qn.Extend|Qn.ZWJ],[Qn.Any,Qn.SpacingMark],[Qn.Prepend,Qn.Any],[Qn.ZWJ,Qn.ExtPict],[Qn.RI,Qn.RI]];function eK(e,t){return $G.findIndex(n=>Kd(e,n[0])&&Kd(t,n[1]))===-1}var tK=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,nK=e=>e.search(tK)!==-1,rK=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,iK=e=>{var t=e.match(rK);return t!==null&&t[0].length/2%2==1},mN=e=>ea(e)&&Vt.isNodeList(e.children)&&!U.isEditor(e),bn={isAncestor:e=>ea(e)&&Vt.isNodeList(e.children),isElement:mN,isElementList:e=>Array.isArray(e)&&e.every(t=>bn.isElement(t)),isElementProps:e=>e.children!==void 0,isElementType:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"type";return mN(e)&&e[n]===t},matches(e,t){for(var n in t)if(n!=="children"&&e[n]!==t[n])return!1;return!0}},oK=["text"],aK=["text"];function gN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Yd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?gN(Object(n),!0).forEach(function(r){du(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var vN=new WeakMap,U={above(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{voids:n=!1,mode:r="lowest",at:i=e.selection,match:o}=t;if(i){var a=U.path(e,i),s=r==="lowest";for(var[u,l]of U.levels(e,{at:a,voids:n,match:o,reverse:s}))if(!rn.isText(u)&&!Me.equals(a,l))return[u,l]}},addMark(e,t,n){e.addMark(t,n)},after(e,t){var n,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i={anchor:U.point(e,t,{edge:"end"}),focus:U.end(e,[])},{distance:o=1}=r,a=0;for(var s of U.positions(e,Yd(Yd({},r),{},{at:i}))){if(a>o)break;a!==0&&(n=s),a++}return n},before(e,t){var n,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i={anchor:U.start(e,[]),focus:U.point(e,t,{edge:"start"})},{distance:o=1}=r,a=0;for(var s of U.positions(e,Yd(Yd({},r),{},{at:i,reverse:!0}))){if(a>o)break;a!==0&&(n=s),a++}return n},deleteBackward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:n="character"}=t;e.deleteBackward(n)},deleteForward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:n="character"}=t;e.deleteForward(n)},deleteFragment(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{direction:n="forward"}=t;e.deleteFragment(n)},edges:(e,t)=>[U.start(e,t),U.end(e,t)],end:(e,t)=>U.point(e,t,{edge:"end"}),first(e,t){var n=U.path(e,t,{edge:"start"});return U.node(e,n)},fragment(e,t){var n=U.range(e,t);return Vt.fragment(e,n)},hasBlocks:(e,t)=>t.children.some(n=>U.isBlock(e,n)),hasInlines:(e,t)=>t.children.some(n=>rn.isText(n)||U.isInline(e,n)),hasTexts:(e,t)=>t.children.every(n=>rn.isText(n)),insertBreak(e){e.insertBreak()},insertFragment(e,t){e.insertFragment(t)},insertNode(e,t){e.insertNode(t)},insertText(e,t){e.insertText(t)},isBlock:(e,t)=>bn.isElement(t)&&!e.isInline(t),isEditor(e){if(!ea(e))return!1;var t=vN.get(e);if(t!==void 0)return t;var n=typeof e.addMark=="function"&&typeof e.apply=="function"&&typeof e.deleteBackward=="function"&&typeof e.deleteForward=="function"&&typeof e.deleteFragment=="function"&&typeof e.insertBreak=="function"&&typeof e.insertFragment=="function"&&typeof e.insertNode=="function"&&typeof e.insertText=="function"&&typeof e.isInline=="function"&&typeof e.isVoid=="function"&&typeof e.normalizeNode=="function"&&typeof e.onChange=="function"&&typeof e.removeMark=="function"&&(e.marks===null||ea(e.marks))&&(e.selection===null||$e.isRange(e.selection))&&Vt.isNodeList(e.children)&&Pl.isOperationList(e.operations);return vN.set(e,n),n},isEnd(e,t,n){var r=U.end(e,n);return tr.equals(t,r)},isEdge:(e,t,n)=>U.isStart(e,t,n)||U.isEnd(e,t,n),isEmpty(e,t){var{children:n}=t,[r]=n;return n.length===0||n.length===1&&rn.isText(r)&&r.text===""&&!e.isVoid(t)},isInline:(e,t)=>bn.isElement(t)&&e.isInline(t),isNormalizing(e){var t=cN.get(e);return t===void 0||t},isStart(e,t,n){if(t.offset!==0)return!1;var r=U.start(e,n);return tr.equals(t,r)},isVoid:(e,t)=>bn.isElement(t)&&e.isVoid(t),last(e,t){var n=U.path(e,t,{edge:"end"});return U.node(e,n)},leaf(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=U.path(e,t,n);return[Vt.leaf(e,r),r]},*levels(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=e.selection,reverse:r=!1,voids:i=!1}=t,{match:o}=t;if(o==null&&(o=()=>!0),n){var a=[],s=U.path(e,n);for(var[u,l]of Vt.levels(e,s))if(o(u,l)&&(a.push([u,l]),!i&&U.isVoid(e,u)))break;r&&a.reverse(),yield*a}},marks(e){var{marks:t,selection:n}=e;if(!n)return null;if(t)return t;if($e.isExpanded(n)){var[r]=U.nodes(e,{match:rn.isText});if(r){var[i]=r;return Ju(i,oK)}return{}}var{anchor:o}=n,{path:a}=o,[s]=U.leaf(e,a);if(o.offset===0){var u=U.previous(e,{at:a,match:rn.isText}),l=U.above(e,{match:h=>U.isBlock(e,h)});if(u&&l){var[c,d]=u,[,p]=l;Me.isAncestor(p,d)&&(s=c)}}return Ju(s,aK)},next(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:i,at:o=e.selection}=t;if(o){var a=U.after(e,o,{voids:r});if(a){var[,s]=U.last(e,[]),u=[a.path,s];if(Me.isPath(o)&&o.length===0)throw new Error("Cannot get the next node from the root node!");if(i==null)if(Me.isPath(o)){var[l]=U.parent(e,o);i=d=>l.children.includes(d)}else i=()=>!0;var[c]=U.nodes(e,{at:u,match:i,mode:n,voids:r});return c}}},node(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=U.path(e,t,n);return[Vt.get(e,r),r]},*nodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=e.selection,mode:r="all",universal:i=!1,reverse:o=!1,voids:a=!1}=t,{match:s}=t;if(s||(s=()=>!0),n){var u,l;if(sK.isSpan(n))u=n[0],l=n[1];else{var c=U.path(e,n,{edge:"start"}),d=U.path(e,n,{edge:"end"});u=o?d:c,l=o?c:d}var p,h=Vt.nodes(e,{reverse:o,from:u,to:l,pass:T=>{var[R]=T;return!a&&U.isVoid(e,R)}}),E=[];for(var[g,y]of h){var _=p&&Me.compare(y,p[1])===0;if(r!=="highest"||!_){if(s(g,y))if(r==="lowest"&&_)p=[g,y];else{var m=r==="lowest"?p:[g,y];m&&(i?E.push(m):yield m),p=[g,y]}else if(i&&!_&&rn.isText(g))return}}r==="lowest"&&p&&(i?E.push(p):yield p),i&&(yield*E)}},normalize(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:n=!1}=t,r=o=>C1.get(o)||[];if(U.isNormalizing(e)){if(n){var i=Array.from(Vt.nodes(e),o=>{var[,a]=o;return a});C1.set(e,i)}r(e).length!==0&&U.withoutNormalizing(e,()=>{for(var o of r(e))if(Vt.has(e,o)){var a=U.node(e,o),[s,u]=a;bn.isElement(s)&&s.children.length===0&&e.normalizeNode(a)}for(var l=42*r(e).length,c=0;r(e).length!==0;){if(c>l)throw new Error(`
Could not completely normalize the editor after `.concat(l,` iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.
`));var d=r(e).pop();if(Vt.has(e,d)){var p=U.node(e,d);e.normalizeNode(p)}c++}})}},parent(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=U.path(e,t,n),i=Me.parent(r);return U.node(e,i)},path(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:r,edge:i}=n;if(Me.isPath(t)){if(i==="start"){var[,o]=Vt.first(e,t);t=o}else if(i==="end"){var[,a]=Vt.last(e,t);t=a}}return $e.isRange(t)&&(t=i==="start"?$e.start(t):i==="end"?$e.end(t):Me.common(t.anchor.path,t.focus.path)),tr.isPoint(t)&&(t=t.path),r!=null&&(t=t.slice(0,r)),t},hasPath:(e,t)=>Vt.has(e,t),pathRef(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,i={current:t,affinity:r,unref(){var{current:o}=i;return U.pathRefs(e).delete(i),i.current=null,o}};return U.pathRefs(e).add(i),i},pathRefs(e){var t=fN.get(e);return t||(t=new Set,fN.set(e,t)),t},point(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:r="start"}=n;if(Me.isPath(t)){var i;if(r==="end"){var[,o]=Vt.last(e,t);i=o}else{var[,a]=Vt.first(e,t);i=a}var s=Vt.get(e,i);if(!rn.isText(s))throw new Error("Cannot get the ".concat(r," point in the node at path [").concat(t,"] because it has no ").concat(r," text node."));return{path:i,offset:r==="end"?s.text.length:0}}if($e.isRange(t)){var[u,l]=$e.edges(t);return r==="start"?u:l}return t},pointRef(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,i={current:t,affinity:r,unref(){var{current:o}=i;return U.pointRefs(e).delete(i),i.current=null,o}};return U.pointRefs(e).add(i),i},pointRefs(e){var t=dN.get(e);return t||(t=new Set,dN.set(e,t)),t},*positions(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=e.selection,unit:r="offset",reverse:i=!1,voids:o=!1}=t;if(n){var a=U.range(e,n),[s,u]=$e.edges(a),l=i?u:s,c=!1,d="",p=0,h=0,E=0;for(var[g,y]of U.nodes(e,{at:n,reverse:i,voids:o})){if(bn.isElement(g)){if(!o&&e.isVoid(g)){yield U.start(e,y);continue}if(e.isInline(g))continue;if(U.hasInlines(e,g)){var _=Me.isAncestor(y,u.path)?u:U.end(e,y),m=Me.isAncestor(y,s.path)?s:U.start(e,y);d=U.string(e,{anchor:m,focus:_},{voids:o}),c=!0}}if(rn.isText(g)){var T=Me.equals(y,l.path);for(T?(h=i?l.offset:g.text.length-l.offset,E=l.offset):(h=g.text.length,E=i?h:0),(T||c||r==="offset")&&(yield{path:y,offset:E},c=!1);;){if(p===0){if(d==="")break;p=R(d,r,i),d=mw(d,p,i)[1]}if(E=i?E-p:E+p,(h-=p)<0){p=-h;break}p=0,yield{path:y,offset:E}}}}}function R(W,q,X){return q==="character"?pw(W,X):q==="word"?function(ge){for(var Ne=arguments.length>1&&arguments[1]!==void 0&&arguments[1],nt=0,dt=!1;ge.length>0;){var rt=pw(ge,Ne),[Ct,yt]=mw(ge,rt,Ne);if(BG(Ct,yt,Ne))dt=!0,nt+=rt;else{if(dt)break;nt+=rt}ge=yt}return nt}(W,X):q==="line"||q==="block"?W.length:1}},previous(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:i,at:o=e.selection}=t;if(o){var a=U.before(e,o,{voids:r});if(a){var[,s]=U.first(e,[]),u=[a.path,s];if(Me.isPath(o)&&o.length===0)throw new Error("Cannot get the previous node from the root node!");if(i==null)if(Me.isPath(o)){var[l]=U.parent(e,o);i=d=>l.children.includes(d)}else i=()=>!0;var[c]=U.nodes(e,{reverse:!0,at:u,match:i,mode:n,voids:r});return c}}},range:(e,t,n)=>$e.isRange(t)&&!n?t:{anchor:U.start(e,t),focus:U.end(e,n||t)},rangeRef(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,i={current:t,affinity:r,unref(){var{current:o}=i;return U.rangeRefs(e).delete(i),i.current=null,o}};return U.rangeRefs(e).add(i),i},rangeRefs(e){var t=hN.get(e);return t||(t=new Set,hN.set(e,t)),t},removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){cN.set(e,t)},start:(e,t)=>U.point(e,t,{edge:"start"}),string(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:r=!1}=n,i=U.range(e,t),[o,a]=$e.edges(i),s="";for(var[u,l]of U.nodes(e,{at:i,match:rn.isText,voids:r})){var c=u.text;Me.equals(l,a.path)&&(c=c.slice(0,a.offset)),Me.equals(l,o.path)&&(c=c.slice(o.offset)),s+=c}return s},unhangRange(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:r=!1}=n,[i,o]=$e.edges(t);if(i.offset!==0||o.offset!==0||$e.isCollapsed(t))return t;var a=U.above(e,{at:o,match:p=>U.isBlock(e,p)}),s=a?a[1]:[],u={anchor:U.start(e,[]),focus:o},l=!0;for(var[c,d]of U.nodes(e,{at:u,match:rn.isText,reverse:!0,voids:r}))if(l)l=!1;else if(c.text!==""||Me.isBefore(d,s)){o={path:d,offset:c.text.length};break}return{anchor:i,focus:o}},void(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return U.above(e,Yd(Yd({},t),{},{match:n=>U.isVoid(e,n)}))},withoutNormalizing(e,t){var n=U.isNormalizing(e);U.setNormalizing(e,!1);try{t()}finally{U.setNormalizing(e,n)}U.normalize(e)}},U1e={isLocation:e=>Me.isPath(e)||tr.isPoint(e)||$e.isRange(e)},sK={isSpan:e=>Array.isArray(e)&&e.length===2&&e.every(Me.isPath)},uK=["children"],lK=["text"],yN=new WeakMap,Vt={ancestor(e,t){var n=Vt.get(e,t);if(rn.isText(n))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(n));return n},*ancestors(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var r of Me.ancestors(t,n)){var i=[Vt.ancestor(e,r),r];yield i}},child(e,t){if(rn.isText(e))throw new Error("Cannot get the child of a text node: ".concat(JSON.stringify(e)));var n=e.children[t];if(n==null)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(JSON.stringify(e)));return n},*children(e,t){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{reverse:r=!1}=n,i=Vt.ancestor(e,t),{children:o}=i,a=r?o.length-1:0;r?a>=0:a<o.length;){var s=Vt.child(i,a),u=t.concat(a);yield[s,u],a=r?a-1:a+1}},common(e,t,n){var r=Me.common(t,n);return[Vt.get(e,r),r]},descendant(e,t){var n=Vt.get(e,t);if(U.isEditor(n))throw new Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(n));return n},*descendants(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of Vt.nodes(e,t))r.length!==0&&(yield[n,r])},*elements(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of Vt.nodes(e,t))bn.isElement(n)&&(yield[n,r])},extractProps:e=>bn.isAncestor(e)?Ju(e,uK):Ju(e,lK),first(e,t){for(var n=t.slice(),r=Vt.get(e,n);r&&!rn.isText(r)&&r.children.length!==0;)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){if(rn.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(JSON.stringify(e)));var n=A1({children:e.children},r=>{var[i,o]=$e.edges(t),a=Vt.nodes(r,{reverse:!0,pass:p=>{var[,h]=p;return!$e.includes(t,h)}});for(var[,s]of a){if(!$e.includes(t,s)){var u=Vt.parent(r,s),l=s[s.length-1];u.children.splice(l,1)}if(Me.equals(s,o.path)){var c=Vt.leaf(r,s);c.text=c.text.slice(0,o.offset)}if(Me.equals(s,i.path)){var d=Vt.leaf(r,s);d.text=d.text.slice(i.offset)}}U.isEditor(r)&&(r.selection=null)});return n.children},get(e,t){for(var n=e,r=0;r<t.length;r++){var i=t[r];if(rn.isText(n)||!n.children[i])throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(JSON.stringify(e)));n=n.children[i]}return n},has(e,t){for(var n=e,r=0;r<t.length;r++){var i=t[r];if(rn.isText(n)||!n.children[i])return!1;n=n.children[i]}return!0},isNode:e=>rn.isText(e)||bn.isElement(e)||U.isEditor(e),isNodeList(e){if(!Array.isArray(e))return!1;var t=yN.get(e);if(t!==void 0)return t;var n=e.every(r=>Vt.isNode(r));return yN.set(e,n),n},last(e,t){for(var n=t.slice(),r=Vt.get(e,n);r&&!rn.isText(r)&&r.children.length!==0;){var i=r.children.length-1;r=r.children[i],n.push(i)}return[r,n]},leaf(e,t){var n=Vt.get(e,t);if(!rn.isText(n))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(n));return n},*levels(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var r of Me.levels(t,n)){var i=Vt.get(e,r);yield[i,r]}},matches:(e,t)=>bn.isElement(e)&&bn.isElementProps(t)&&bn.matches(e,t)||rn.isText(e)&&rn.isTextProps(t)&&rn.matches(e,t),*nodes(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{pass:n,reverse:r=!1}=t,{from:i=[],to:o}=t,a=new Set,s=[],u=e;!o||!(r?Me.isBefore(s,o):Me.isAfter(s,o));)if(a.has(u)||(yield[u,s]),a.has(u)||rn.isText(u)||u.children.length===0||n!=null&&n([u,s])!==!1){if(s.length===0)break;if(!r){var l=Me.next(s);if(Vt.has(e,l)){s=l,u=Vt.get(e,s);continue}}r&&s[s.length-1]!==0?(s=Me.previous(s),u=Vt.get(e,s)):(s=Me.parent(s),u=Vt.get(e,s),a.add(u))}else{a.add(u);var c=r?u.children.length-1:0;Me.isAncestor(s,i)&&(c=i[s.length]),s=s.concat(c),u=Vt.get(e,s)}},parent(e,t){var n=Me.parent(t),r=Vt.get(e,n);if(rn.isText(r))throw new Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return r},string:e=>rn.isText(e)?e.text:e.children.map(Vt.string).join(""),*texts(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of Vt.nodes(e,t))rn.isText(n)&&(yield[n,r])}};function bN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function oo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bN(Object(n),!0).forEach(function(r){du(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Pl={isNodeOperation:e=>Pl.isOperation(e)&&e.type.endsWith("_node"),isOperation(e){if(!ea(e))return!1;switch(e.type){case"insert_node":case"remove_node":return Me.isPath(e.path)&&Vt.isNode(e.node);case"insert_text":case"remove_text":return typeof e.offset=="number"&&typeof e.text=="string"&&Me.isPath(e.path);case"merge_node":return typeof e.position=="number"&&Me.isPath(e.path)&&ea(e.properties);case"move_node":return Me.isPath(e.path)&&Me.isPath(e.newPath);case"set_node":return Me.isPath(e.path)&&ea(e.properties)&&ea(e.newProperties);case"set_selection":return e.properties===null&&$e.isRange(e.newProperties)||e.newProperties===null&&$e.isRange(e.properties)||ea(e.properties)&&ea(e.newProperties);case"split_node":return Me.isPath(e.path)&&typeof e.position=="number"&&ea(e.properties);default:return!1}},isOperationList:e=>Array.isArray(e)&&e.every(t=>Pl.isOperation(t)),isSelectionOperation:e=>Pl.isOperation(e)&&e.type.endsWith("_selection"),isTextOperation:e=>Pl.isOperation(e)&&e.type.endsWith("_text"),inverse(e){switch(e.type){case"insert_node":return oo(oo({},e),{},{type:"remove_node"});case"insert_text":return oo(oo({},e),{},{type:"remove_text"});case"merge_node":return oo(oo({},e),{},{type:"split_node",path:Me.previous(e.path)});case"move_node":var{newPath:t,path:n}=e;if(Me.equals(t,n))return e;if(Me.isSibling(n,t))return oo(oo({},e),{},{path:t,newPath:n});var r=Me.transform(n,e),i=Me.transform(Me.next(n),e);return oo(oo({},e),{},{path:r,newPath:i});case"remove_node":return oo(oo({},e),{},{type:"insert_node"});case"remove_text":return oo(oo({},e),{},{type:"insert_text"});case"set_node":var{properties:o,newProperties:a}=e;return oo(oo({},e),{},{properties:a,newProperties:o});case"set_selection":var{properties:s,newProperties:u}=e;return oo(oo({},e),{},s==null?{properties:u,newProperties:null}:u==null?{properties:null,newProperties:s}:{properties:u,newProperties:s});case"split_node":return oo(oo({},e),{},{type:"merge_node",path:Me.next(e.path)})}}},Me={ancestors(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,r=Me.levels(e,t);return r=n?r.slice(1):r.slice(0,-1)},common(e,t){for(var n=[],r=0;r<e.length&&r<t.length;r++){var i=e[r];if(i!==t[r])break;n.push(i)}return n},compare(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){if(e[r]<t[r])return-1;if(e[r]>t[r])return 1}return 0},endsAfter(e,t){var n=e.length-1,r=e.slice(0,n),i=t.slice(0,n),o=e[n],a=t[n];return Me.equals(r,i)&&o>a},endsAt(e,t){var n=e.length,r=e.slice(0,n),i=t.slice(0,n);return Me.equals(r,i)},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),i=t.slice(0,n),o=e[n],a=t[n];return Me.equals(r,i)&&o<a},equals:(e,t)=>e.length===t.length&&e.every((n,r)=>n===t[r]),hasPrevious:e=>e[e.length-1]>0,isAfter:(e,t)=>Me.compare(e,t)===1,isAncestor:(e,t)=>e.length<t.length&&Me.compare(e,t)===0,isBefore:(e,t)=>Me.compare(e,t)===-1,isChild:(e,t)=>e.length===t.length+1&&Me.compare(e,t)===0,isCommon:(e,t)=>e.length<=t.length&&Me.compare(e,t)===0,isDescendant:(e,t)=>e.length>t.length&&Me.compare(e,t)===0,isParent:(e,t)=>e.length+1===t.length&&Me.compare(e,t)===0,isPath:e=>Array.isArray(e)&&(e.length===0||typeof e[0]=="number"),isSibling(e,t){if(e.length!==t.length)return!1;var n=e.slice(0,-1),r=t.slice(0,-1);return e[e.length-1]!==t[t.length-1]&&Me.equals(n,r)},levels(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,r=[],i=0;i<=e.length;i++)r.push(e.slice(0,i));return n&&r.reverse(),r},next(e){if(e.length===0)throw new Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},parent(e){if(e.length===0)throw new Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(e.length===0)throw new Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw new Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!Me.isAncestor(t,e)&&!Me.equals(e,t))throw new Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return A1(e,r=>{var{affinity:i="forward"}=n;if(e&&(e==null?void 0:e.length)!==0){if(r===null)return null;switch(t.type){case"insert_node":var{path:o}=t;(Me.equals(o,r)||Me.endsBefore(o,r)||Me.isAncestor(o,r))&&(r[o.length-1]+=1);break;case"remove_node":var{path:a}=t;if(Me.equals(a,r)||Me.isAncestor(a,r))return null;Me.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:s,position:u}=t;Me.equals(s,r)||Me.endsBefore(s,r)?r[s.length-1]-=1:Me.isAncestor(s,r)&&(r[s.length-1]-=1,r[s.length]+=u);break;case"split_node":var{path:l,position:c}=t;if(Me.equals(l,r)){if(i==="forward")r[r.length-1]+=1;else if(i!=="backward")return null}else Me.endsBefore(l,r)?r[l.length-1]+=1:Me.isAncestor(l,r)&&e[l.length]>=c&&(r[l.length-1]+=1,r[l.length]-=c);break;case"move_node":var{path:d,newPath:p}=t;if(Me.equals(d,p))return;if(Me.isAncestor(d,r)||Me.equals(d,r)){var h=p.slice();return Me.endsBefore(d,p)&&d.length<p.length&&(h[d.length-1]-=1),h.concat(r.slice(d.length))}Me.isSibling(d,p)&&(Me.isAncestor(p,r)||Me.equals(p,r))?Me.endsBefore(d,r)?r[d.length-1]-=1:r[d.length-1]+=1:Me.endsBefore(p,r)||Me.equals(p,r)||Me.isAncestor(p,r)?(Me.endsBefore(d,r)&&(r[d.length-1]-=1),r[p.length-1]+=1):Me.endsBefore(d,r)&&(Me.equals(p,r)&&(r[p.length-1]+=1),r[d.length-1]-=1)}}})}},cK={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var i=Me.transform(n,t,{affinity:r});e.current=i,i==null&&e.unref()}}};function _N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function EN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_N(Object(n),!0).forEach(function(r){du(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_N(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var tr={compare(e,t){var n=Me.compare(e.path,t.path);return n===0?e.offset<t.offset?-1:e.offset>t.offset?1:0:n},isAfter:(e,t)=>tr.compare(e,t)===1,isBefore:(e,t)=>tr.compare(e,t)===-1,equals:(e,t)=>e.offset===t.offset&&Me.equals(e.path,t.path),isPoint:e=>ea(e)&&typeof e.offset=="number"&&Me.isPath(e.path),transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return A1(e,r=>{if(r===null)return null;var{affinity:i="forward"}=n,{path:o,offset:a}=r;switch(t.type){case"insert_node":case"move_node":r.path=Me.transform(o,t,n);break;case"insert_text":Me.equals(t.path,o)&&t.offset<=a&&(r.offset+=t.text.length);break;case"merge_node":Me.equals(t.path,o)&&(r.offset+=t.position),r.path=Me.transform(o,t,n);break;case"remove_text":Me.equals(t.path,o)&&t.offset<=a&&(r.offset-=Math.min(a-t.offset,t.text.length));break;case"remove_node":if(Me.equals(t.path,o)||Me.isAncestor(t.path,o))return null;r.path=Me.transform(o,t,n);break;case"split_node":if(Me.equals(t.path,o)){if(t.position===a&&i==null)return null;(t.position<a||t.position===a&&i==="forward")&&(r.offset-=t.position,r.path=Me.transform(o,t,EN(EN({},n),{},{affinity:"forward"})))}else r.path=Me.transform(o,t,n)}})}},fK={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var i=tr.transform(n,t,{affinity:r});e.current=i,i==null&&e.unref()}}},dK=["anchor","focus"];function wN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}var $e={edges(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:i}=e;return $e.isBackward(e)===n?[r,i]:[i,r]},end(e){var[,t]=$e.edges(e);return t},equals:(e,t)=>tr.equals(e.anchor,t.anchor)&&tr.equals(e.focus,t.focus),includes(e,t){if($e.isRange(t)){if($e.includes(e,t.anchor)||$e.includes(e,t.focus))return!0;var[n,r]=$e.edges(e),[i,o]=$e.edges(t);return tr.isBefore(n,i)&&tr.isAfter(r,o)}var[a,s]=$e.edges(e),u=!1,l=!1;return tr.isPoint(t)?(u=tr.compare(t,a)>=0,l=tr.compare(t,s)<=0):(u=Me.compare(t,a.path)>=0,l=Me.compare(t,s.path)<=0),u&&l},intersection(e,t){var n=Ju(e,dK),[r,i]=$e.edges(e),[o,a]=$e.edges(t),s=tr.isBefore(r,o)?o:r,u=tr.isBefore(i,a)?i:a;return tr.isBefore(u,s)?null:function(l){for(var c=1;c<arguments.length;c++){var d=arguments[c]!=null?arguments[c]:{};c%2?wN(Object(d),!0).forEach(function(p){du(l,p,d[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(d)):wN(Object(d)).forEach(function(p){Object.defineProperty(l,p,Object.getOwnPropertyDescriptor(d,p))})}return l}({anchor:s,focus:u},n)},isBackward(e){var{anchor:t,focus:n}=e;return tr.isAfter(t,n)},isCollapsed(e){var{anchor:t,focus:n}=e;return tr.equals(t,n)},isExpanded:e=>!$e.isCollapsed(e),isForward:e=>!$e.isBackward(e),isRange:e=>ea(e)&&tr.isPoint(e.anchor)&&tr.isPoint(e.focus),*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=$e.edges(e);return t},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return A1(e,r=>{if(r===null)return null;var i,o,{affinity:a="inward"}=n;if(a==="inward"){var s=$e.isCollapsed(r);$e.isForward(r)?(i="forward",o=s?i:"backward"):(i="backward",o=s?i:"forward")}else a==="outward"?$e.isForward(r)?(i="backward",o="forward"):(i="forward",o="backward"):(i=a,o=a);var u=tr.transform(r.anchor,t,{affinity:i}),l=tr.transform(r.focus,t,{affinity:o});if(!u||!l)return null;r.anchor=u,r.focus=l})}},hK={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var i=$e.transform(n,t,{affinity:r});e.current=i,i==null&&e.unref()}}},ON=(e,t)=>{for(var n in e){var r=e[n],i=t[n];if(ea(r)&&ea(i)){if(!ON(r,i))return!1}else if(Array.isArray(r)&&Array.isArray(i)){if(r.length!==i.length)return!1;for(var o=0;o<r.length;o++)if(r[o]!==i[o])return!1}else if(r!==i)return!1}for(var a in t)if(e[a]===void 0&&t[a]!==void 0)return!1;return!0},pK=["text"],mK=["anchor","focus"];function AN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Qu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?AN(Object(n),!0).forEach(function(r){du(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var rn={equals(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:r=!1}=n;function i(o){return Ju(o,pK)}return ON(r?i(e):e,r?i(t):t)},isText:e=>ea(e)&&typeof e.text=="string",isTextList:e=>Array.isArray(e)&&e.every(t=>rn.isText(t)),isTextProps:e=>e.text!==void 0,matches(e,t){for(var n in t)if(n!=="text"&&(!e.hasOwnProperty(n)||e[n]!==t[n]))return!1;return!0},decorations(e,t){var n=[Qu({},e)];for(var r of t){var i=Ju(r,mK),[o,a]=$e.edges(r),s=[],u=0;for(var l of n){var{length:c}=l.text,d=u;if(u+=c,o.offset<=d&&a.offset>=u)Object.assign(l,i),s.push(l);else if(o.offset!==a.offset&&(o.offset===u||a.offset===d)||o.offset>u||a.offset<d||a.offset===d&&d!==0)s.push(l);else{var p=l,h=void 0,E=void 0;if(a.offset<u){var g=a.offset-d;E=Qu(Qu({},p),{},{text:p.text.slice(g)}),p=Qu(Qu({},p),{},{text:p.text.slice(0,g)})}if(o.offset>d){var y=o.offset-d;h=Qu(Qu({},p),{},{text:p.text.slice(0,y)}),p=Qu(Qu({},p),{},{text:p.text.slice(y)})}Object.assign(p,i),h&&s.push(h),s.push(p),E&&s.push(E)}}n=s}return n}};function CN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function gm(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?CN(Object(n),!0).forEach(function(r){du(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var gK={transform(e,t){e.children=uN(e.children);var n=e.selection&&uN(e.selection);try{n=((r,i,o)=>{switch(o.type){case"insert_node":var{path:a,node:s}=o,u=Vt.parent(r,a),l=a[a.length-1];if(l>u.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(a,"] because the destination is past the end of the node."));if(u.children.splice(l,0,s),i)for(var[c,d]of $e.points(i))i[d]=tr.transform(c,o);break;case"insert_text":var{path:p,offset:h,text:E}=o;if(E.length===0)break;var g=Vt.leaf(r,p),y=g.text.slice(0,h),_=g.text.slice(h);if(g.text=y+E+_,i)for(var[m,T]of $e.points(i))i[T]=tr.transform(m,o);break;case"merge_node":var{path:R}=o,W=Vt.get(r,R),q=Me.previous(R),X=Vt.get(r,q),ge=Vt.parent(r,R),Ne=R[R.length-1];if(rn.isText(W)&&rn.isText(X))X.text+=W.text;else{if(rn.isText(W)||rn.isText(X))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(R,"] to nodes of different interfaces: ").concat(W," ").concat(X));X.children.push(...W.children)}if(ge.children.splice(Ne,1),i)for(var[nt,dt]of $e.points(i))i[dt]=tr.transform(nt,o);break;case"move_node":var{path:rt,newPath:Ct}=o;if(Me.isAncestor(rt,Ct))throw new Error("Cannot move a path [".concat(rt,"] to new path [").concat(Ct,"] because the destination is inside itself."));var yt=Vt.get(r,rt),bt=Vt.parent(r,rt),Et=rt[rt.length-1];bt.children.splice(Et,1);var Jt=Me.transform(rt,o),mn=Vt.get(r,Me.parent(Jt)),dn=Jt[Jt.length-1];if(mn.children.splice(dn,0,yt),i)for(var[cn,Oe]of $e.points(i))i[Oe]=tr.transform(cn,o);break;case"remove_node":var{path:ae}=o,Le=ae[ae.length-1];if(Vt.parent(r,ae).children.splice(Le,1),i)for(var[ut,It]of $e.points(i)){var gt=tr.transform(ut,o);if(i!=null&&gt!=null)i[It]=gt;else{var an=void 0,xn=void 0;for(var[Fn,Jn]of Vt.texts(r)){if(Me.compare(Jn,ae)!==-1){xn=[Fn,Jn];break}an=[Fn,Jn]}var _t=!1;an&&xn&&(_t=Me.equals(xn[1],ae)?!Me.hasPrevious(xn[1]):Me.common(an[1],ae).length<Me.common(xn[1],ae).length),an&&!_t?(ut.path=an[1],ut.offset=an[0].text.length):xn?(ut.path=xn[1],ut.offset=0):i=null}}break;case"remove_text":var{path:hr,offset:qn,text:On}=o;if(On.length===0)break;var $n=Vt.leaf(r,hr),ki=$n.text.slice(0,qn),Cr=$n.text.slice(qn+On.length);if($n.text=ki+Cr,i)for(var[Kr,vi]of $e.points(i))i[vi]=tr.transform(Kr,o);break;case"set_node":var{path:aa,properties:wr,newProperties:Ta}=o;if(aa.length===0)throw new Error("Cannot set properties on the root node!");var qs=Vt.get(r,aa);for(var Mu in Ta){if(Mu==="children"||Mu==="text")throw new Error('Cannot set the "'.concat(Mu,'" property of nodes!'));var Mp=Ta[Mu];Mp==null?delete qs[Mu]:qs[Mu]=Mp}for(var wd in wr)Ta.hasOwnProperty(wd)||delete qs[wd];break;case"set_selection":var{newProperties:$s}=o;if($s==null)i=$s;else{if(i==null){if(!$e.isRange($s))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(JSON.stringify($s)," when there is no current selection."));i=gm({},$s)}for(var ju in $s){var pl=$s[ju];if(pl==null){if(ju==="anchor"||ju==="focus")throw new Error('Cannot remove the "'.concat(ju,'" selection property'));delete i[ju]}else i[ju]=pl}}break;case"split_node":var{path:sa,position:ua,properties:la}=o;if(sa.length===0)throw new Error('Cannot apply a "split_node" operation at path ['.concat(sa,"] because the root node cannot be split."));var ga,jo=Vt.get(r,sa),Ds=Vt.parent(r,sa),I0=sa[sa.length-1];if(rn.isText(jo)){var Gc=jo.text.slice(0,ua),ml=jo.text.slice(ua);jo.text=Gc,ga=gm(gm({},la),{},{text:ml})}else{var jp=jo.children.slice(0,ua),Od=jo.children.slice(ua);jo.children=jp,ga=gm(gm({},la),{},{children:Od})}if(Ds.children.splice(I0+1,0,ga),i)for(var[kp,eu]of $e.points(i))i[eu]=tr.transform(kp,o)}return i})(e,n,t)}finally{e.children=lN(e.children),e.selection=n?sf(n)?lN(n):n:null}}},vK=["text"],yK=["children"];function xN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function SN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?xN(Object(n),!0).forEach(function(r){du(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var bK={insertNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};U.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:i=!1,mode:o="lowest"}=n,{at:a,match:s,select:u}=n;if(Vt.isNode(t)&&(t=[t]),t.length!==0){var[l]=t;if(a||(a=e.selection?e.selection:e.children.length>0?U.end(e,[]):[0],u=!0),u==null&&(u=!1),$e.isRange(a))if(r||(a=U.unhangRange(e,a)),$e.isCollapsed(a))a=a.anchor;else{var[,c]=$e.edges(a),d=U.pointRef(e,c);He.delete(e,{at:a}),a=d.unref()}if(tr.isPoint(a)){s==null&&(s=rn.isText(l)?q=>rn.isText(q):e.isInline(l)?q=>rn.isText(q)||U.isInline(e,q):q=>U.isBlock(e,q));var[p]=U.nodes(e,{at:a.path,match:s,mode:o,voids:i});if(!p)return;var[,h]=p,E=U.pathRef(e,h),g=U.isEnd(e,a,h);He.splitNodes(e,{at:a,match:s,mode:o,voids:i});var y=E.unref();a=g?Me.next(y):y}var _=Me.parent(a),m=a[a.length-1];if(i||!U.void(e,{at:_})){for(var T of t){var R=_.concat(m);m++,e.apply({type:"insert_node",path:R,node:T}),a=Me.next(a)}if(a=Me.previous(a),u){var W=U.end(e,a);W&&He.select(e,W)}}}})},liftNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};U.withoutNormalizing(e,()=>{var{at:n=e.selection,mode:r="lowest",voids:i=!1}=t,{match:o}=t;if(o==null&&(o=Me.isPath(n)?Xd(e,n):T=>U.isBlock(e,T)),n){var a=U.nodes(e,{at:n,match:o,mode:r,voids:i}),s=Array.from(a,T=>{var[,R]=T;return U.pathRef(e,R)});for(var u of s){var l=u.unref();if(l.length<2)throw new Error("Cannot lift node at a path [".concat(l,"] because it has a depth of less than `2`."));var c=U.node(e,Me.parent(l)),[d,p]=c,h=l[l.length-1],{length:E}=d.children;if(E===1){var g=Me.next(p);He.moveNodes(e,{at:l,to:g,voids:i}),He.removeNodes(e,{at:p,voids:i})}else if(h===0)He.moveNodes(e,{at:l,to:p,voids:i});else if(h===E-1){var y=Me.next(p);He.moveNodes(e,{at:l,to:y,voids:i})}else{var _=Me.next(l),m=Me.next(p);He.splitNodes(e,{at:_,voids:i}),He.moveNodes(e,{at:l,to:m,voids:i})}}}})},mergeNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};U.withoutNormalizing(e,()=>{var{match:n,at:r=e.selection}=t,{hanging:i=!1,voids:o=!1,mode:a="lowest"}=t;if(r){if(n==null)if(Me.isPath(r)){var[s]=U.parent(e,r);n=Ne=>s.children.includes(Ne)}else n=Ne=>U.isBlock(e,Ne);if(!i&&$e.isRange(r)&&(r=U.unhangRange(e,r)),$e.isRange(r))if($e.isCollapsed(r))r=r.anchor;else{var[,u]=$e.edges(r),l=U.pointRef(e,u);He.delete(e,{at:r}),r=l.unref(),t.at==null&&He.select(e,r)}var[c]=U.nodes(e,{at:r,match:n,voids:o,mode:a}),d=U.previous(e,{at:r,match:n,voids:o,mode:a});if(c&&d){var[p,h]=c,[E,g]=d;if(h.length!==0&&g.length!==0){var y,_,m=Me.next(g),T=Me.common(h,g),R=Me.isSibling(h,g),W=Array.from(U.levels(e,{at:h}),Ne=>{var[nt]=Ne;return nt}).slice(T.length).slice(0,-1),q=U.above(e,{at:h,mode:"highest",match:Ne=>W.includes(Ne)&&TN(e,Ne)}),X=q&&U.pathRef(e,q[1]);if(rn.isText(p)&&rn.isText(E)){var ge=Ju(p,vK);_=E.text.length,y=ge}else{if(!bn.isElement(p)||!bn.isElement(E))throw new Error("Cannot merge the node at path [".concat(h,"] with the previous sibling because it is not the same kind: ").concat(JSON.stringify(p)," ").concat(JSON.stringify(E)));ge=Ju(p,yK),_=E.children.length,y=ge}R||He.moveNodes(e,{at:h,to:m,voids:o}),X&&He.removeNodes(e,{at:X.current,voids:o}),bn.isElement(E)&&U.isEmpty(e,E)||rn.isText(E)&&E.text===""&&g[g.length-1]!==0?He.removeNodes(e,{at:g,voids:o}):e.apply({type:"merge_node",path:m,position:_,properties:y}),X&&X.unref()}}}})},moveNodes(e,t){U.withoutNormalizing(e,()=>{var{to:n,at:r=e.selection,mode:i="lowest",voids:o=!1}=t,{match:a}=t;if(r){a==null&&(a=Me.isPath(r)?Xd(e,r):h=>U.isBlock(e,h));var s=U.pathRef(e,n),u=U.nodes(e,{at:r,match:a,mode:i,voids:o}),l=Array.from(u,h=>{var[,E]=h;return U.pathRef(e,E)});for(var c of l){var d=c.unref(),p=s.current;d.length!==0&&e.apply({type:"move_node",path:d,newPath:p}),s.current&&Me.isSibling(p,d)&&Me.isAfter(p,d)&&(s.current=Me.next(s.current))}s.unref()}})},removeNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};U.withoutNormalizing(e,()=>{var{hanging:n=!1,voids:r=!1,mode:i="lowest"}=t,{at:o=e.selection,match:a}=t;if(o){a==null&&(a=Me.isPath(o)?Xd(e,o):p=>U.isBlock(e,p)),!n&&$e.isRange(o)&&(o=U.unhangRange(e,o));var s=U.nodes(e,{at:o,match:a,mode:i,voids:r}),u=Array.from(s,p=>{var[,h]=p;return U.pathRef(e,h)});for(var l of u){var c=l.unref();if(c){var[d]=U.node(e,c);e.apply({type:"remove_node",path:c,node:d})}}}})},setNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};U.withoutNormalizing(e,()=>{var{match:r,at:i=e.selection}=n,{hanging:o=!1,mode:a="lowest",split:s=!1,voids:u=!1}=n;if(i){if(r==null&&(r=Me.isPath(i)?Xd(e,i):W=>U.isBlock(e,W)),!o&&$e.isRange(i)&&(i=U.unhangRange(e,i)),s&&$e.isRange(i)){if($e.isCollapsed(i)&&U.leaf(e,i.anchor)[0].text.length>0)return;var l=U.rangeRef(e,i,{affinity:"inward"}),[c,d]=$e.edges(i),p=a==="lowest"?"lowest":"highest",h=U.isEnd(e,d,d.path);He.splitNodes(e,{at:d,match:r,mode:p,voids:u,always:!h});var E=U.isStart(e,c,c.path);He.splitNodes(e,{at:c,match:r,mode:p,voids:u,always:!E}),i=l.unref(),n.at==null&&He.select(e,i)}for(var[g,y]of U.nodes(e,{at:i,match:r,mode:a,voids:u})){var _={},m={};if(y.length!==0){var T=!1;for(var R in t)R!=="children"&&R!=="text"&&t[R]!==g[R]&&(T=!0,g.hasOwnProperty(R)&&(_[R]=g[R]),t[R]!=null&&(m[R]=t[R]));T&&e.apply({type:"set_node",path:y,properties:_,newProperties:m})}}}})},splitNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};U.withoutNormalizing(e,()=>{var{mode:n="lowest",voids:r=!1}=t,{match:i,at:o=e.selection,height:a=0,always:s=!1}=t;if(i==null&&(i=yt=>U.isBlock(e,yt)),$e.isRange(o)&&(o=_K(e,o)),Me.isPath(o)){var u=o,l=U.point(e,u),[c]=U.parent(e,u);i=yt=>yt===c,a=l.path.length-u.length+1,o=l,s=!0}if(o){var d=U.pointRef(e,o,{affinity:"backward"}),[p]=U.nodes(e,{at:o,match:i,mode:n,voids:r});if(p){var h=U.void(e,{at:o,mode:"highest"});if(!r&&h){var[E,g]=h;if(bn.isElement(E)&&e.isInline(E)){var y=U.after(e,g);if(!y){var _=Me.next(g);He.insertNodes(e,{text:""},{at:_,voids:r}),y=U.point(e,_)}o=y,s=!0}a=o.path.length-g.length+1,s=!0}var m=U.pointRef(e,o),T=o.path.length-a,[,R]=p,W=o.path.slice(0,T),q=a===0?o.offset:o.path[T]+0;for(var[X,ge]of U.levels(e,{at:W,reverse:!0,voids:r})){var Ne=!1;if(ge.length<R.length||ge.length===0||!r&&U.isVoid(e,X))break;var nt=d.current,dt=U.isEnd(e,nt,ge);if(s||!d||!U.isEdge(e,nt,ge)){Ne=!0;var rt=Vt.extractProps(X);e.apply({type:"split_node",path:ge,position:q,properties:rt})}q=ge[ge.length-1]+(Ne||dt?1:0)}if(t.at==null){var Ct=m.current||U.end(e,[]);He.select(e,Ct)}d.unref(),m.unref()}}})},unsetNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(t)||(t=[t]);var r={};for(var i of t)r[i]=null;He.setNodes(e,r,n)},unwrapNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};U.withoutNormalizing(e,()=>{var{mode:n="lowest",split:r=!1,voids:i=!1}=t,{at:o=e.selection,match:a}=t;if(o){a==null&&(a=Me.isPath(o)?Xd(e,o):p=>U.isBlock(e,p)),Me.isPath(o)&&(o=U.range(e,o));var s=$e.isRange(o)?U.rangeRef(e,o):null,u=U.nodes(e,{at:o,match:a,mode:n,voids:i}),l=Array.from(u,p=>{var[,h]=p;return U.pathRef(e,h)}).reverse(),c=function(p){var h=p.unref(),[E]=U.node(e,h),g=U.range(e,h);r&&s&&(g=$e.intersection(s.current,g)),He.liftNodes(e,{at:g,match:y=>bn.isAncestor(E)&&E.children.includes(y),voids:i})};for(var d of l)c(d);s&&s.unref()}})},wrapNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};U.withoutNormalizing(e,()=>{var{mode:r="lowest",split:i=!1,voids:o=!1}=n,{match:a,at:s=e.selection}=n;if(s){if(a==null&&(a=Me.isPath(s)?Xd(e,s):e.isInline(t)?y=>U.isInline(e,y)||rn.isText(y):y=>U.isBlock(e,y)),i&&$e.isRange(s)){var[u,l]=$e.edges(s),c=U.rangeRef(e,s,{affinity:"inward"});He.splitNodes(e,{at:l,match:a,voids:o}),He.splitNodes(e,{at:u,match:a,voids:o}),s=c.unref(),n.at==null&&He.select(e,s)}var d=Array.from(U.nodes(e,{at:s,match:e.isInline(t)?y=>U.isBlock(e,y):y=>U.isEditor(y),mode:"lowest",voids:o}));for(var[,p]of d){var h=$e.isRange(s)?$e.intersection(s,U.range(e,p)):s;if(h){var E=Array.from(U.nodes(e,{at:h,match:a,mode:r,voids:o}));if(E.length>0){var g=function(){var[y]=E,_=E[E.length-1],[,m]=y,[,T]=_;if(m.length===0&&T.length===0)return"continue";var R=Me.equals(m,T)?Me.parent(m):Me.common(m,T),W=U.range(e,m,T),q=U.node(e,R),[X]=q,ge=R.length+1,Ne=Me.next(T.slice(0,ge)),nt=SN(SN({},t),{},{children:[]});He.insertNodes(e,nt,{at:Ne,voids:o}),He.moveNodes(e,{at:W,match:dt=>bn.isAncestor(X)&&X.children.includes(dt),to:Ne.concat(0),voids:o})}();if(g==="continue")continue}}}}})}},TN=(e,t)=>{if(bn.isElement(t)){var n=t;return!!U.isVoid(e,t)||n.children.length===1&&TN(e,n.children[0])}return!U.isEditor(t)},_K=(e,t)=>{if($e.isCollapsed(t))return t.anchor;var[,n]=$e.edges(t),r=U.pointRef(e,n);return He.delete(e,{at:t}),r.unref()},Xd=(e,t)=>{var[n]=U.node(e,t);return r=>r===n};function DN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function RN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?DN(Object(n),!0).forEach(function(r){du(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):DN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var EK={collapse(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{edge:n="anchor"}=t,{selection:r}=e;if(r){if(n==="anchor")He.select(e,r.anchor);else if(n==="focus")He.select(e,r.focus);else if(n==="start"){var[i]=$e.edges(r);He.select(e,i)}else if(n==="end"){var[,o]=$e.edges(r);He.select(e,o)}}},deselect(e){var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},move(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=e,{distance:r=1,unit:i="character",reverse:o=!1}=t,{edge:a=null}=t;if(n){a==="start"&&(a=$e.isBackward(n)?"focus":"anchor"),a==="end"&&(a=$e.isBackward(n)?"anchor":"focus");var{anchor:s,focus:u}=n,l={distance:r,unit:i},c={};if(a==null||a==="anchor"){var d=o?U.before(e,s,l):U.after(e,s,l);d&&(c.anchor=d)}if(a==null||a==="focus"){var p=o?U.before(e,u,l):U.after(e,u,l);p&&(c.focus=p)}He.setSelection(e,c)}},select(e,t){var{selection:n}=e;if(t=U.range(e,t),n)He.setSelection(e,t);else{if(!$e.isRange(t))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(JSON.stringify(t)));e.apply({type:"set_selection",properties:n,newProperties:t})}},setPoint(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:r}=e,{edge:i="both"}=n;if(r){i==="start"&&(i=$e.isBackward(r)?"focus":"anchor"),i==="end"&&(i=$e.isBackward(r)?"anchor":"focus");var{anchor:o,focus:a}=r,s=i==="anchor"?o:a;He.setSelection(e,{[i==="anchor"?"anchor":"focus"]:RN(RN({},s),t)})}},setSelection(e,t){var{selection:n}=e,r={},i={};if(n){for(var o in t)(o==="anchor"&&t.anchor!=null&&!tr.equals(t.anchor,n.anchor)||o==="focus"&&t.focus!=null&&!tr.equals(t.focus,n.focus)||o!=="anchor"&&o!=="focus"&&t[o]!==n[o])&&(r[o]=n[o],i[o]=t[o]);Object.keys(r).length>0&&e.apply({type:"set_selection",properties:r,newProperties:i})}}},wK={delete(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};U.withoutNormalizing(e,()=>{var{reverse:n=!1,unit:r="character",distance:i=1,voids:o=!1}=t,{at:a=e.selection,hanging:s=!1}=t;if(a){if($e.isRange(a)&&$e.isCollapsed(a)&&(a=a.anchor),tr.isPoint(a)){var u=U.void(e,{at:a,mode:"highest"});if(!o&&u){var[,l]=u;a=l}else{var c={unit:r,distance:i};a={anchor:a,focus:n?U.before(e,a,c)||U.start(e,[]):U.after(e,a,c)||U.end(e,[])},s=!0}}if(Me.isPath(a))He.removeNodes(e,{at:a,voids:o});else if(!$e.isCollapsed(a)){if(!s){var[,d]=$e.edges(a),p=U.end(e,[]);tr.equals(d,p)||(a=U.unhangRange(e,a,{voids:o}))}var[h,E]=$e.edges(a),g=U.above(e,{match:xn=>U.isBlock(e,xn),at:h,voids:o}),y=U.above(e,{match:xn=>U.isBlock(e,xn),at:E,voids:o}),_=g&&y&&!Me.equals(g[1],y[1]),m=Me.equals(h.path,E.path),T=o?null:U.void(e,{at:h,mode:"highest"}),R=o?null:U.void(e,{at:E,mode:"highest"});if(T){var W=U.before(e,h);W&&g&&Me.isAncestor(g[1],W.path)&&(h=W)}if(R){var q=U.after(e,E);q&&y&&Me.isAncestor(y[1],q.path)&&(E=q)}var X,ge=[];for(var Ne of U.nodes(e,{at:a,voids:o})){var[nt,dt]=Ne;X&&Me.compare(dt,X)===0||(!o&&U.isVoid(e,nt)||!Me.isCommon(dt,h.path)&&!Me.isCommon(dt,E.path))&&(ge.push(Ne),X=dt)}var rt=Array.from(ge,xn=>{var[,Fn]=xn;return U.pathRef(e,Fn)}),Ct=U.pointRef(e,h),yt=U.pointRef(e,E);if(!m&&!T){var bt=Ct.current,[Et]=U.leaf(e,bt),{path:Jt}=bt,{offset:mn}=h,dn=Et.text.slice(mn);dn.length>0&&e.apply({type:"remove_text",path:Jt,offset:mn,text:dn})}for(var cn of rt){var Oe=cn.unref();He.removeNodes(e,{at:Oe,voids:o})}if(!R){var ae=yt.current,[Le]=U.leaf(e,ae),{path:ut}=ae,It=m?h.offset:0,gt=Le.text.slice(It,E.offset);gt.length>0&&e.apply({type:"remove_text",path:ut,offset:It,text:gt})}!m&&_&&yt.current&&Ct.current&&He.mergeNodes(e,{at:yt.current,hanging:!0,voids:o});var an=n?Ct.unref()||yt.unref():yt.unref()||Ct.unref();t.at==null&&an&&He.select(e,an)}}})},insertFragment(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};U.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:i=!1}=n,{at:o=e.selection}=n;if(t.length&&o){if($e.isRange(o))if(r||(o=U.unhangRange(e,o)),$e.isCollapsed(o))o=o.anchor;else{var[,a]=$e.edges(o);if(!i&&U.void(e,{at:a}))return;var s=U.pointRef(e,a);He.delete(e,{at:o}),o=s.unref()}else Me.isPath(o)&&(o=U.start(e,o));if(i||!U.void(e,{at:o})){var u=U.above(e,{at:o,match:ae=>U.isInline(e,ae),mode:"highest",voids:i});if(u){var[,l]=u;U.isEnd(e,o,l)?o=U.after(e,l):U.isStart(e,o,l)&&(o=U.before(e,l))}var c=U.above(e,{match:ae=>U.isBlock(e,ae),at:o,voids:i}),[,d]=c,p=U.isStart(e,o,d),h=U.isEnd(e,o,d),E=p&&h,g=!p||p&&h,y=!h,[,_]=Vt.first({children:t},[]),[,m]=Vt.last({children:t},[]),T=[],R=ae=>{var[Le,ut]=ae;return!(ut.length===0)&&(!!E||!(g&&Me.isAncestor(ut,_)&&bn.isElement(Le)&&!e.isVoid(Le)&&!e.isInline(Le))&&!(y&&Me.isAncestor(ut,m)&&bn.isElement(Le)&&!e.isVoid(Le)&&!e.isInline(Le)))};for(var W of Vt.nodes({children:t},{pass:R}))R(W)&&T.push(W);var q=[],X=[],ge=[],Ne=!0,nt=!1;for(var[dt]of T)bn.isElement(dt)&&!e.isInline(dt)?(Ne=!1,nt=!0,X.push(dt)):Ne?q.push(dt):ge.push(dt);var[rt]=U.nodes(e,{at:o,match:ae=>rn.isText(ae)||U.isInline(e,ae),mode:"highest",voids:i}),[,Ct]=rt,yt=U.isStart(e,o,Ct),bt=U.isEnd(e,o,Ct),Et=U.pathRef(e,h?Me.next(d):d),Jt=U.pathRef(e,bt?Me.next(Ct):Ct),mn=U.pathRef(e,d);He.splitNodes(e,{at:o,match:ae=>nt?U.isBlock(e,ae):rn.isText(ae)||U.isInline(e,ae),mode:nt?"lowest":"highest",voids:i});var dn=U.pathRef(e,!yt||yt&&bt?Me.next(Ct):Ct);if(He.insertNodes(e,q,{at:dn.current,match:ae=>rn.isText(ae)||U.isInline(e,ae),mode:"highest",voids:i}),E&&X.length&&He.delete(e,{at:mn.unref(),voids:i}),He.insertNodes(e,X,{at:Et.current,match:ae=>U.isBlock(e,ae),mode:"lowest",voids:i}),He.insertNodes(e,ge,{at:Jt.current,match:ae=>rn.isText(ae)||U.isInline(e,ae),mode:"highest",voids:i}),!n.at){var cn;cn=ge.length>0?Me.previous(Jt.current):X.length>0?Me.previous(Et.current):Me.previous(dn.current);var Oe=U.end(e,cn);He.select(e,Oe)}dn.unref(),Et.unref(),Jt.unref()}}})},insertText(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};U.withoutNormalizing(e,()=>{var{voids:r=!1}=n,{at:i=e.selection}=n;if(i){if(Me.isPath(i)&&(i=U.range(e,i)),$e.isRange(i))if($e.isCollapsed(i))i=i.anchor;else{var o=$e.end(i);if(!r&&U.void(e,{at:o}))return;var a=U.pointRef(e,o);He.delete(e,{at:i,voids:r}),i=a.unref(),He.setSelection(e,{anchor:i,focus:i})}if(r||!U.void(e,{at:i})){var{path:s,offset:u}=i;t.length>0&&e.apply({type:"insert_text",path:s,offset:u,text:t})}}})}};function NN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function S1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?NN(Object(n),!0).forEach(function(r){du(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):NN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var He=S1(S1(S1(S1({},gK),bK),EK),wK),gw="[object Map]",vw="[object Set]",OK=/^\[object .+?Constructor\]$/,AK=/^(?:0|[1-9]\d*)$/,CK="[\\ud800-\\udfff]",yw="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",bw="\\ud83c[\\udffb-\\udfff]",IN="[^\\ud800-\\udfff]",PN="(?:\\ud83c[\\udde6-\\uddff]){2}",LN="[\\ud800-\\udbff][\\udc00-\\udfff]",MN="(?:"+yw+"|"+bw+")?",xK="[\\ufe0e\\ufe0f]?"+MN+("(?:\\u200d(?:"+[IN,PN,LN].join("|")+")[\\ufe0e\\ufe0f]?"+MN+")*"),SK="(?:"+[IN+yw+"?",yw,PN,LN,CK].join("|")+")",TK=RegExp(bw+"(?="+bw+")|"+SK+xK,"g"),DK=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),RK=typeof ve=="object"&&ve&&ve.Object===Object&&ve,NK=typeof self=="object"&&self&&self.Object===Object&&self,cf=RK||NK||Function("return this")();function IK(e,t){return function(n,r){for(var i=-1,o=n?n.length:0,a=Array(o);++i<o;)a[i]=r(n[i],i,n);return a}(t,function(n){return e[n]})}function PK(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}function LK(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}function MK(e){return function(t){return DK.test(t)}(e)?function(t){return t.match(TK)||[]}(e):function(t){return t.split("")}(e)}var jN,kN,jK=Function.prototype,T1=Object.prototype,_w=cf["__core-js_shared__"],FN=function(){var e=/[^.]+$/.exec(_w&&_w.keys&&_w.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),BN=jK.toString,D1=T1.hasOwnProperty,vm=T1.toString,kK=RegExp("^"+BN.call(D1).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),UN=cf.Symbol,Ew=UN?UN.iterator:void 0,FK=T1.propertyIsEnumerable,BK=(jN=Object.keys,kN=Object,function(e){return jN(kN(e))}),ww=ym(cf,"DataView"),Ow=ym(cf,"Map"),Aw=ym(cf,"Promise"),Cw=ym(cf,"Set"),xw=ym(cf,"WeakMap"),UK=df(ww),HK=df(Ow),WK=df(Aw),zK=df(Cw),VK=df(xw);function GK(e,t){var n=HN(e)||function(a){return function(s){return VN(s)&&Sw(s)}(a)&&D1.call(a,"callee")&&(!FK.call(a,"callee")||vm.call(a)=="[object Arguments]")}(e)?function(a,s){for(var u=-1,l=Array(a);++u<a;)l[u]=s(u);return l}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!t&&!D1.call(e,o)||i&&(o=="length"||XK(o,r))||n.push(o);return n}function KK(e){if(!zN(e)||function(n){return!!FN&&FN in n}(e))return!1;var t=WN(e)||function(n){var r=!1;if(n!=null&&typeof n.toString!="function")try{r=!!(n+"")}catch(i){}return r}(e)?kK:OK;return t.test(df(e))}function YK(e){if(n=(t=e)&&t.constructor,r=typeof n=="function"&&n.prototype||T1,t!==r)return BK(e);var t,n,r,i=[];for(var o in Object(e))D1.call(e,o)&&o!="constructor"&&i.push(o);return i}function ym(e,t){var n=function(r,i){return r==null?void 0:r[i]}(e,t);return KK(n)?n:void 0}var ff=function(e){return vm.call(e)};function XK(e,t){return!!(t=t==null?9007199254740991:t)&&(typeof e=="number"||AK.test(e))&&e>-1&&e%1==0&&e<t}function df(e){if(e!=null){try{return BN.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(ww&&ff(new ww(new ArrayBuffer(1)))!="[object DataView]"||Ow&&ff(new Ow)!=gw||Aw&&ff(Aw.resolve())!="[object Promise]"||Cw&&ff(new Cw)!=vw||xw&&ff(new xw)!="[object WeakMap]")&&(ff=function(e){var t=vm.call(e),n=t=="[object Object]"?e.constructor:void 0,r=n?df(n):void 0;if(r)switch(r){case UK:return"[object DataView]";case HK:return gw;case WK:return"[object Promise]";case zK:return vw;case VK:return"[object WeakMap]"}return t});var HN=Array.isArray;function Sw(e){return e!=null&&function(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=9007199254740991}(e.length)&&!WN(e)}function WN(e){var t=zN(e)?vm.call(e):"";return t=="[object Function]"||t=="[object GeneratorFunction]"}function zN(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function VN(e){return!!e&&typeof e=="object"}function JK(e){return e?IK(e,function(t){return Sw(t)?GK(t):YK(t)}(e)):[]}var GN=function(e){if(!e)return[];if(Sw(e))return function(n){return typeof n=="string"||!HN(n)&&VN(n)&&vm.call(n)=="[object String]"}(e)?MK(e):function(n,r){var i=-1,o=n.length;for(r||(r=Array(o));++i<o;)r[i]=n[i];return r}(e);if(Ew&&e[Ew])return function(n){for(var r,i=[];!(r=n.next()).done;)i.push(r.value);return i}(e[Ew]());var t=ff(e);return(t==gw?PK:t==vw?LK:JK)(e)};function KN(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Tw(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(function(n){e[n]===void 0?e[n]=t[n]:KN(t[n])&&KN(e[n])&&Object.keys(t[n]).length>0&&Tw(e[n],t[n])})}var YN={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function bm(){var e=typeof document!="undefined"?document:{};return Tw(e,YN),e}var QK={document:YN,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return typeof setTimeout=="undefined"?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){typeof setTimeout!="undefined"&&clearTimeout(e)}};function hf(){var e=typeof window!="undefined"?window:{};return Tw(e,QK),e}function Dw(e){return Dw=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Dw(e)}function R1(e,t){return R1=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},R1(e,t)}function ZK(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Rw(e,t,n){return Rw=ZK()?Reflect.construct:function(r,i,o){var a=[null];a.push.apply(a,i);var s=new(Function.bind.apply(r,a));return o&&R1(s,o.prototype),s},Rw.apply(null,arguments)}function Nw(e){var t=typeof Map=="function"?new Map:void 0;return Nw=function(n){if(n===null||!function(i){return Function.toString.call(i).indexOf("[native code]")!==-1}(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,r)}function r(){return Rw(n,arguments,Dw(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),R1(r,n)},Nw(e)}var Ll=function(e){var t,n;function r(i){var o,a,s;return o=e.call.apply(e,[this].concat(i))||this,a=function(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}(o),s=a.__proto__,Object.defineProperty(a,"__proto__",{get:function(){return s},set:function(u){s.__proto__=u}}),o}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(Nw(Array));function N1(e){e===void 0&&(e=[]);var t=[];return e.forEach(function(n){Array.isArray(n)?t.push.apply(t,N1(n)):t.push(n)}),t}function XN(e,t){return Array.prototype.filter.call(e,t)}function we(e,t){var n=hf(),r=bm(),i=[];if(!t&&e instanceof Ll)return e;if(!e)return new Ll(i);if(typeof e=="string"){var o=e.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){var a="div";o.indexOf("<li")===0&&(a="ul"),o.indexOf("<tr")===0&&(a="tbody"),o.indexOf("<td")!==0&&o.indexOf("<th")!==0||(a="tr"),o.indexOf("<tbody")===0&&(a="table"),o.indexOf("<option")===0&&(a="select");var s=r.createElement(a);s.innerHTML=o;for(var u=0;u<s.childNodes.length;u+=1)i.push(s.childNodes[u])}else i=function(l,c){if(typeof l!="string")return[l];for(var d=[],p=c.querySelectorAll(l),h=0;h<p.length;h+=1)d.push(p[h]);return d}(e.trim(),t||r)}else if(e.nodeType||e===n||e===r)i.push(e);else if(Array.isArray(e)){if(e instanceof Ll)return e;i=e}return new Ll(function(l){for(var c=[],d=0;d<l.length;d+=1)c.indexOf(l[d])===-1&&c.push(l[d]);return c}(i))}function Jd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=N1(t.map(function(i){return i.split(" ")}));return this.forEach(function(i){var o;(o=i.classList).add.apply(o,r)}),this}function Qd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=N1(t.map(function(i){return i.split(" ")}));return this.forEach(function(i){var o;(o=i.classList).remove.apply(o,r)}),this}function Zd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=N1(t.map(function(i){return i.split(" ")}));return XN(this,function(i){return r.filter(function(o){return i.classList.contains(o)}).length>0}).length>0}function ls(e,t){if(arguments.length===1&&typeof e=="string")return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(arguments.length===2)this[n].setAttribute(e,t);else for(var r in e)this[n][r]=e[r],this[n].setAttribute(r,e[r]);return this}function I1(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function qd(){var e=this[0];if(e){var t,n={};if(e.dataset)for(var r in e.dataset)n[r]=e.dataset[r];else for(var i=0;i<e.attributes.length;i+=1){var o=e.attributes[i];o.name.indexOf("data-")>=0&&(n[t=o.name.split("data-")[1],t.toLowerCase().replace(/-(.)/g,function(s,u){return u.toUpperCase()})]=o.value)}for(var a in n)n[a]==="false"?n[a]=!1:n[a]==="true"?n[a]=!0:parseFloat(n[a])===1*n[a]&&(n[a]*=1);return n}}function hu(e){if(e===void 0){var t=this[0];if(!t)return;if(t.multiple&&t.nodeName.toLowerCase()==="select"){for(var n=[],r=0;r<t.selectedOptions.length;r+=1)n.push(t.selectedOptions[r].value);return n}return t.value}for(var i=0;i<this.length;i+=1){var o=this[i];if(Array.isArray(e)&&o.multiple&&o.nodeName.toLowerCase()==="select")for(var a=0;a<o.options.length;a+=1)o.options[a].selected=e.indexOf(o.options[a].value)>=0;else o.value=e}return this}function pu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t[1],o=t[2],a=t[3];function s(g){var y=g.target;if(y){var _=g.target.dom7EventData||[];if(_.indexOf(g)<0&&_.unshift(g),we(y).is(i))o.apply(y,_);else for(var m=we(y).parents(),T=0;T<m.length;T+=1)we(m[T]).is(i)&&o.apply(m[T],_)}}function u(g){var y=g&&g.target&&g.target.dom7EventData||[];y.indexOf(g)<0&&y.unshift(g),o.apply(this,y)}typeof t[1]=="function"&&(r=t[0],o=t[1],a=t[2],i=void 0),a||(a=!1);for(var l,c=r.split(" "),d=0;d<this.length;d+=1){var p=this[d];if(i)for(l=0;l<c.length;l+=1){var h=c[l];p.dom7LiveListeners||(p.dom7LiveListeners={}),p.dom7LiveListeners[h]||(p.dom7LiveListeners[h]=[]),p.dom7LiveListeners[h].push({listener:o,proxyListener:s}),p.addEventListener(h,s,a)}else for(l=0;l<c.length;l+=1){var E=c[l];p.dom7Listeners||(p.dom7Listeners={}),p.dom7Listeners[E]||(p.dom7Listeners[E]=[]),p.dom7Listeners[E].push({listener:o,proxyListener:u}),p.addEventListener(E,u,a)}}return this}function JN(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t[1],o=t[2],a=t[3];typeof t[1]=="function"&&(r=t[0],o=t[1],a=t[2],i=void 0),a||(a=!1);for(var s=r.split(" "),u=0;u<s.length;u+=1)for(var l=s[u],c=0;c<this.length;c+=1){var d=this[c],p=void 0;if(!i&&d.dom7Listeners?p=d.dom7Listeners[l]:i&&d.dom7LiveListeners&&(p=d.dom7LiveListeners[l]),p&&p.length)for(var h=p.length-1;h>=0;h-=1){var E=p[h];o&&E.listener===o||o&&E.listener&&E.listener.dom7proxy&&E.listener.dom7proxy===o?(d.removeEventListener(l,E.proxyListener,a),p.splice(h,1)):o||(d.removeEventListener(l,E.proxyListener,a),p.splice(h,1))}}return this}function P1(){var e=hf();return this[0]===e?e.innerWidth:this.length>0?parseFloat(this.css("width")):null}function L1(){var e=hf();return this[0]===e?e.innerHeight:this.length>0?parseFloat(this.css("height")):null}function QN(){if(this.length>0){var e=hf(),t=bm(),n=this[0],r=n.getBoundingClientRect(),i=t.body,o=n.clientTop||i.clientTop||0,a=n.clientLeft||i.clientLeft||0,s=n===e?e.scrollY:n.scrollTop,u=n===e?e.scrollX:n.scrollLeft;return{top:r.top+s-o,left:r.left+u-a}}return null}function $d(){for(var e=0;e<this.length;e+=1)this[e].style.display="none";return this}function M1(){for(var e=hf(),t=0;t<this.length;t+=1){var n=this[t];n.style.display==="none"&&(n.style.display=""),e.getComputedStyle(n,null).getPropertyValue("display")==="none"&&(n.style.display="block")}return this}function j1(e,t){var n,r=hf();if(arguments.length===1){if(typeof e!="string"){for(n=0;n<this.length;n+=1)for(var i in e)this[n].style[i]=e[i];return this}if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(e)}if(arguments.length===2&&typeof e=="string"){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this}function k1(e){return e?(this.forEach(function(t,n){e.apply(t,[t,n])}),this):this}function ZN(e){return we(XN(this,e))}function Ml(e){if(e===void 0)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function F1(e){if(e===void 0)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function qN(e){var t,n,r=hf(),i=bm(),o=this[0];if(!o||e===void 0)return!1;if(typeof e=="string"){if(o.matches)return o.matches(e);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(e);if(o.msMatchesSelector)return o.msMatchesSelector(e);for(t=we(e),n=0;n<t.length;n+=1)if(t[n]===o)return!0;return!1}if(e===i)return o===i;if(e===r)return o===r;if(e.nodeType||e instanceof Ll){for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===o)return!0;return!1}return!1}function cs(){for(var e,t=bm(),n=0;n<arguments.length;n+=1){e=n<0||arguments.length<=n?void 0:arguments[n];for(var r=0;r<this.length;r+=1)if(typeof e=="string"){var i=t.createElement("div");for(i.innerHTML=e;i.firstChild;)this[r].appendChild(i.firstChild)}else if(e instanceof Ll)for(var o=0;o<e.length;o+=1)this[r].appendChild(e[o]);else this[r].appendChild(e)}return this}function $N(e){var t,n,r=bm();for(t=0;t<this.length;t+=1)if(typeof e=="string"){var i=r.createElement("div");for(i.innerHTML=e,n=i.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(i.childNodes[n],this[t].childNodes[0])}else if(e instanceof Ll)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function eh(e){for(var t=[],n=0;n<this.length;n+=1)this[n].parentNode!==null&&(e?we(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return we(t)}function B1(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)e?we(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return we(t)}function th(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].querySelectorAll(e),i=0;i<r.length;i+=1)t.push(r[i]);return we(t)}function nh(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].children,i=0;i<r.length;i+=1)e&&!we(r[i]).is(e)||t.push(r[i]);return we(t)}function rh(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function ih(){for(var e=0;e<this.length;e+=1){var t=this[e];if(t.nodeType===1){for(var n=0;n<t.childNodes.length;n+=1)t.childNodes[n].parentNode&&t.childNodes[n].parentNode.removeChild(t.childNodes[n]);t.textContent=""}}return this}we.fn=Ll.prototype;var qK="resize scroll".split(" ");function e7(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(n[0]===void 0){for(var i=0;i<this.length;i+=1)qK.indexOf(e)<0&&(e in this[i]?this[i][e]():we(this[i]).trigger(e));return this}return this.on.apply(this,[e].concat(n))}}var t7=e7("click"),jl=e7("focus"),$K="[object GeneratorFunction]",eY=/^(?:0|[1-9]\d*)$/;function tY(e,t){for(var n=-1,r=e?e.length:0;++n<r&&t(e[n],n,e)!==!1;);return e}var U1=Object.prototype,Iw=U1.hasOwnProperty,n7=U1.toString,nY=U1.propertyIsEnumerable,rY=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object);function iY(e,t){var n=o7(e)||function(a){return function(s){return function(u){return!!u&&typeof u=="object"}(s)&&Pw(s)}(a)&&Iw.call(a,"callee")&&(!nY.call(a,"callee")||n7.call(a)=="[object Arguments]")}(e)?function(a,s){for(var u=-1,l=Array(a);++u<a;)l[u]=s(u);return l}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!t&&!Iw.call(e,o)||i&&(o=="length"||uY(o,r))||n.push(o);return n}var r7,i7,oY=(r7=function(e,t){return e&&aY(e,t,lY)},function(e,t){if(e==null)return e;if(!Pw(e))return r7(e,t);for(var n=e.length,r=i7?n:-1,i=Object(e);(i7?r--:++r<n)&&t(i[r],r,i)!==!1;);return e}),aY=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++i];if(n(o[u],u,o)===!1)break}return t}}();function sY(e){if(n=(t=e)&&t.constructor,r=typeof n=="function"&&n.prototype||U1,t!==r)return rY(e);var t,n,r,i=[];for(var o in Object(e))Iw.call(e,o)&&o!="constructor"&&i.push(o);return i}function uY(e,t){return!!(t=t==null?9007199254740991:t)&&(typeof e=="number"||eY.test(e))&&e>-1&&e%1==0&&e<t}var o7=Array.isArray;function Pw(e){return e!=null&&function(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=9007199254740991}(e.length)&&!function(t){var n=function(r){var i=typeof r;return!!r&&(i=="object"||i=="function")}(t)?n7.call(t):"";return n=="[object Function]"||n==$K}(e)}function lY(e){return Pw(e)?iY(e):sY(e)}function cY(e){return e}var Lw=function(e,t){return(o7(e)?tY:oY)(e,typeof t=="function"?t:cY)};let a7=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t};var fY=/^\s+|\s+$/g,dY=/^[-+]0x[0-9a-f]+$/i,hY=/^0b[01]+$/i,pY=/^0o[0-7]+$/i,mY=parseInt,gY=typeof ve=="object"&&ve&&ve.Object===Object&&ve,vY=typeof self=="object"&&self&&self.Object===Object&&self,yY=gY||vY||Function("return this")(),bY=Object.prototype.toString,_Y=Math.max,EY=Math.min,Mw=function(){return yY.Date.now()};function wY(e,t,n){var r,i,o,a,s,u,l=0,c=!1,d=!1,p=!0;if(typeof e!="function")throw new TypeError("Expected a function");function h(T){var R=r,W=i;return r=i=void 0,l=T,a=e.apply(W,R)}function E(T){return l=T,s=setTimeout(y,t),c?h(T):a}function g(T){var R=T-u;return u===void 0||R>=t||R<0||d&&T-l>=o}function y(){var T=Mw();if(g(T))return _(T);s=setTimeout(y,function(R){var W=t-(R-u);return d?EY(W,o-(R-l)):W}(T))}function _(T){return s=void 0,p&&r?h(T):(r=i=void 0,a)}function m(){var T=Mw(),R=g(T);if(r=arguments,i=this,u=T,R){if(s===void 0)return E(u);if(d)return s=setTimeout(y,t),h(u)}return s===void 0&&(s=setTimeout(y,t)),a}return t=s7(t)||0,H1(n)&&(c=!!n.leading,o=(d="maxWait"in n)?_Y(s7(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),m.cancel=function(){s!==void 0&&clearTimeout(s),l=0,r=u=i=s=void 0},m.flush=function(){return s===void 0?a:_(Mw())},m}function H1(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function s7(e){if(typeof e=="number")return e;if(function(r){return typeof r=="symbol"||function(i){return!!i&&typeof i=="object"}(r)&&bY.call(r)=="[object Symbol]"}(e))return NaN;if(H1(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=H1(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(fY,"");var n=hY.test(e);return n||pY.test(e)?mY(e.slice(2),n?2:8):dY.test(e)?NaN:+e}var pf=function(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError("Expected a function");return H1(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),wY(e,t,{leading:r,maxWait:t,trailing:i})};const OY={createElement:function(e,t){return document.createElement(e,t)},createElementNS:function(e,t,n){return document.createElementNS(e,t,n)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},getTextContent:function(e){return e.textContent},isElement:function(e){return e.nodeType===1},isText:function(e){return e.nodeType===3},isComment:function(e){return e.nodeType===8}};function _m(e,t,n,r,i){return{sel:e,data:t,children:n,text:r,elm:i,key:t===void 0?void 0:t.key}}const jw=Array.isArray;function W1(e){return typeof e=="string"||typeof e=="number"||e instanceof String||e instanceof Number}function kw(e){return e===void 0}function Ba(e){return e!==void 0}const u7=_m("",{},[],void 0,void 0);function Em(e,t){var n,r;const i=e.key===t.key,o=((n=e.data)===null||n===void 0?void 0:n.is)===((r=t.data)===null||r===void 0?void 0:r.is);return e.sel===t.sel&&i&&o}function AY(e,t,n){var r;const i={};for(let o=t;o<=n;++o){const a=(r=e[o])===null||r===void 0?void 0:r.key;a!==void 0&&(i[a]=o)}return i}const CY=["create","update","remove","destroy","pre","post"];function xY(e,t){const n={create:[],update:[],remove:[],destroy:[],pre:[],post:[]},r=t!==void 0?t:OY;for(const d of CY)for(const p of e){const h=p[d];h!==void 0&&n[d].push(h)}function i(d){const p=d.id?"#"+d.id:"",h=d.getAttribute("class"),E=h?"."+h.split(" ").join("."):"";return _m(r.tagName(d).toLowerCase()+p+E,{},[],void 0,d)}function o(d,p){return function(){if(--p==0){const h=r.parentNode(d);r.removeChild(h,d)}}}function a(d,p){var h,E;let g,y=d.data;if(y!==void 0){const T=(h=y.hook)===null||h===void 0?void 0:h.init;Ba(T)&&(T(d),y=d.data)}const _=d.children,m=d.sel;if(m==="!")kw(d.text)&&(d.text=""),d.elm=r.createComment(d.text);else if(m!==void 0){const T=m.indexOf("#"),R=m.indexOf(".",T),W=T>0?T:m.length,q=R>0?R:m.length,X=T!==-1||R!==-1?m.slice(0,Math.min(W,q)):m,ge=d.elm=Ba(y)&&Ba(g=y.ns)?r.createElementNS(g,X,y):r.createElement(X,y);for(W<q&&ge.setAttribute("id",m.slice(W+1,q)),R>0&&ge.setAttribute("class",m.slice(q+1).replace(/\./g," ")),g=0;g<n.create.length;++g)n.create[g](u7,d);if(jw(_))for(g=0;g<_.length;++g){const nt=_[g];nt!=null&&r.appendChild(ge,a(nt,p))}else W1(d.text)&&r.appendChild(ge,r.createTextNode(d.text));const Ne=d.data.hook;Ba(Ne)&&((E=Ne.create)===null||E===void 0||E.call(Ne,u7,d),Ne.insert&&p.push(d))}else d.elm=r.createTextNode(d.text);return d.elm}function s(d,p,h,E,g,y){for(;E<=g;++E){const _=h[E];_!=null&&r.insertBefore(d,a(_,y),p)}}function u(d){var p,h;const E=d.data;if(E!==void 0){(h=(p=E==null?void 0:E.hook)===null||p===void 0?void 0:p.destroy)===null||h===void 0||h.call(p,d);for(let g=0;g<n.destroy.length;++g)n.destroy[g](d);if(d.children!==void 0)for(let g=0;g<d.children.length;++g){const y=d.children[g];y!=null&&typeof y!="string"&&u(y)}}}function l(d,p,h,E){for(var g,y;h<=E;++h){let _,m;const T=p[h];if(T!=null)if(Ba(T.sel)){u(T),_=n.remove.length+1,m=o(T.elm,_);for(let W=0;W<n.remove.length;++W)n.remove[W](T,m);const R=(y=(g=T==null?void 0:T.data)===null||g===void 0?void 0:g.hook)===null||y===void 0?void 0:y.remove;Ba(R)?R(T,m):m()}else r.removeChild(d,T.elm)}}function c(d,p,h){var E,g,y,_,m;const T=(E=p.data)===null||E===void 0?void 0:E.hook;(g=T==null?void 0:T.prepatch)===null||g===void 0||g.call(T,d,p);const R=p.elm=d.elm,W=d.children,q=p.children;if(d!==p){if(p.data!==void 0){for(let X=0;X<n.update.length;++X)n.update[X](d,p);(_=(y=p.data.hook)===null||y===void 0?void 0:y.update)===null||_===void 0||_.call(y,d,p)}kw(p.text)?Ba(W)&&Ba(q)?W!==q&&function(X,ge,Ne,nt){let dt,rt,Ct,yt,bt=0,Et=0,Jt=ge.length-1,mn=ge[0],dn=ge[Jt],cn=Ne.length-1,Oe=Ne[0],ae=Ne[cn];for(;bt<=Jt&&Et<=cn;)mn==null?mn=ge[++bt]:dn==null?dn=ge[--Jt]:Oe==null?Oe=Ne[++Et]:ae==null?ae=Ne[--cn]:Em(mn,Oe)?(c(mn,Oe,nt),mn=ge[++bt],Oe=Ne[++Et]):Em(dn,ae)?(c(dn,ae,nt),dn=ge[--Jt],ae=Ne[--cn]):Em(mn,ae)?(c(mn,ae,nt),r.insertBefore(X,mn.elm,r.nextSibling(dn.elm)),mn=ge[++bt],ae=Ne[--cn]):Em(dn,Oe)?(c(dn,Oe,nt),r.insertBefore(X,dn.elm,mn.elm),dn=ge[--Jt],Oe=Ne[++Et]):(dt===void 0&&(dt=AY(ge,bt,Jt)),rt=dt[Oe.key],kw(rt)?r.insertBefore(X,a(Oe,nt),mn.elm):(Ct=ge[rt],Ct.sel!==Oe.sel?r.insertBefore(X,a(Oe,nt),mn.elm):(c(Ct,Oe,nt),ge[rt]=void 0,r.insertBefore(X,Ct.elm,mn.elm))),Oe=Ne[++Et]);(bt<=Jt||Et<=cn)&&(bt>Jt?(yt=Ne[cn+1]==null?null:Ne[cn+1].elm,s(X,yt,Ne,Et,cn,nt)):l(X,ge,bt,Jt))}(R,W,q,h):Ba(q)?(Ba(d.text)&&r.setTextContent(R,""),s(R,null,q,0,q.length-1,h)):Ba(W)?l(R,W,0,W.length-1):Ba(d.text)&&r.setTextContent(R,""):d.text!==p.text&&(Ba(W)&&l(R,W,0,W.length-1),r.setTextContent(R,p.text)),(m=T==null?void 0:T.postpatch)===null||m===void 0||m.call(T,d,p)}}return function(d,p){let h,E,g;const y=[];for(h=0;h<n.pre.length;++h)n.pre[h]();for(function(_){return _.sel!==void 0}(d)||(d=i(d)),Em(d,p)?c(d,p,y):(E=d.elm,g=r.parentNode(E),a(p,y),g!==null&&(r.insertBefore(g,p.elm,r.nextSibling(E)),l(g,[d],0,0))),h=0;h<y.length;++h)y[h].data.hook.insert(y[h]);for(h=0;h<n.post.length;++h)n.post[h]();return p}}function l7(e,t,n){if(e.ns="http://www.w3.org/2000/svg",n!=="foreignObject"&&t!==void 0)for(let r=0;r<t.length;++r){const i=t[r].data;i!==void 0&&l7(i,t[r].children,t[r].sel)}}function oh(e,t,n){let r,i,o,a={};if(n!==void 0?(t!==null&&(a=t),jw(n)?r=n:W1(n)?i=n.toString():n&&n.sel&&(r=[n])):t!=null&&(jw(t)?r=t:W1(t)?i=t.toString():t&&t.sel?r=[t]:a=t),r!==void 0)for(o=0;o<r.length;++o)W1(r[o])&&(r[o]=_m(void 0,void 0,void 0,r[o],void 0));return e[0]!=="s"||e[1]!=="v"||e[2]!=="g"||e.length!==3&&e[3]!=="."&&e[3]!=="#"||l7(a,r,e),_m(e,a,r,i,void 0)}function c7(e,t){let n;const r=t.elm;let i=e.data.attrs,o=t.data.attrs;if((i||o)&&i!==o){for(n in i=i||{},o=o||{},o){const a=o[n];i[n]!==a&&(a===!0?r.setAttribute(n,""):a===!1?r.removeAttribute(n):n.charCodeAt(0)!==120?r.setAttribute(n,a):n.charCodeAt(3)===58?r.setAttributeNS("http://www.w3.org/XML/1998/namespace",n,a):n.charCodeAt(5)===58?r.setAttributeNS("http://www.w3.org/1999/xlink",n,a):r.setAttribute(n,a))}for(n in i)n in o||r.removeAttribute(n)}}const SY={create:c7,update:c7};function f7(e,t){let n,r;const i=t.elm;let o=e.data.class,a=t.data.class;if((o||a)&&o!==a){for(r in o=o||{},a=a||{},o)o[r]&&!Object.prototype.hasOwnProperty.call(a,r)&&i.classList.remove(r);for(r in a)n=a[r],n!==o[r]&&i.classList[n?"add":"remove"](r)}}const TY={create:f7,update:f7},d7=/[A-Z]/g;function h7(e,t){const n=t.elm;let r,i=e.data.dataset,o=t.data.dataset;if(!i&&!o)return;if(i===o)return;i=i||{},o=o||{};const a=n.dataset;for(r in i)o[r]||(a?r in a&&delete a[r]:n.removeAttribute("data-"+r.replace(d7,"-$&").toLowerCase()));for(r in o)i[r]!==o[r]&&(a?a[r]=o[r]:n.setAttribute("data-"+r.replace(d7,"-$&").toLowerCase(),o[r]))}const DY={create:h7,update:h7};function p7(e,t,n){if(typeof e=="function")e.call(t,n,t);else if(typeof e=="object")for(let r=0;r<e.length;r++)p7(e[r],t,n)}function RY(e,t){const n=e.type,r=t.data.on;r&&r[n]&&p7(r[n],t,e)}function Fw(e,t){const n=e.data.on,r=e.listener,i=e.elm,o=t&&t.data.on,a=t&&t.elm;let s;if(n!==o){if(n&&r)if(o)for(s in n)o[s]||i.removeEventListener(s,r,!1);else for(s in n)i.removeEventListener(s,r,!1);if(o){const u=t.listener=e.listener||function l(c){RY(c,l.vnode)};if(u.vnode=t,n)for(s in o)n[s]||a.addEventListener(s,u,!1);else for(s in o)a.addEventListener(s,u,!1)}}}const NY={create:Fw,update:Fw,destroy:Fw};function m7(e,t){let n,r,i;const o=t.elm;let a=e.data.props,s=t.data.props;if((a||s)&&a!==s)for(n in a=a||{},s=s||{},s)r=s[n],i=a[n],i===r||n==="value"&&o[n]===r||(o[n]=r)}const IY={create:m7,update:m7},g7=typeof window!="undefined"&&window.requestAnimationFrame.bind(window)||setTimeout;let Bw=!1;function PY(e,t,n){!function(r){g7(function(){g7(r)})}(function(){e[t]=n})}function v7(e,t){let n,r;const i=t.elm;let o=e.data.style,a=t.data.style;if(!o&&!a)return;if(o===a)return;o=o||{},a=a||{};const s="delayed"in o;for(r in o)a[r]||(r[0]==="-"&&r[1]==="-"?i.style.removeProperty(r):i.style[r]="");for(r in a)if(n=a[r],r==="delayed"&&a.delayed)for(const u in a.delayed)n=a.delayed[u],s&&n===o.delayed[u]||PY(i.style,u,n);else r!=="remove"&&n!==o[r]&&(r[0]==="-"&&r[1]==="-"?i.style.setProperty(r,n):i.style[r]=n)}const LY={pre:function(){Bw=!1},create:v7,update:v7,destroy:function(e){let t,n;const r=e.elm,i=e.data.style;if(i&&(t=i.destroy))for(n in t)r.style[n]=t[n]},remove:function(e,t){const n=e.data.style;if(!n||!n.remove)return void t();let r;Bw||(e.elm.offsetLeft,Bw=!0);const i=e.elm;let o=0;const a=n.remove;let s=0;const u=[];for(r in a)u.push(r),i.style[r]=a[r];const l=getComputedStyle(i)["transition-property"].split(", ");for(;o<l.length;++o)u.indexOf(l[o])!==-1&&s++;i.addEventListener("transitionend",function(c){c.target===i&&--s,s===0&&t()})}};function y7(e,t){for(const n of e)n!=null&&n!==!1&&n!==""&&(Array.isArray(n)?y7(n,t):typeof n=="string"||typeof n=="number"||typeof n=="boolean"?t.push(_m(void 0,void 0,void 0,String(n),void 0)):t.push(n));return t}function Bn(e,t,...n){const r=y7(n,[]);return typeof e=="function"?e(t,r):r.length===1&&!r[0].sel&&r[0].text?oh(e,t,r[0].text):oh(e,t,r)}Bn||(Bn={});var MY=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,jY=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,b7="\\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",kY="[\\ud800-\\udfff]",_7="["+b7+"]",z1="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",E7="\\d+",FY="[\\u2700-\\u27bf]",w7="[a-z\\xdf-\\xf6\\xf8-\\xff]",O7="[^\\ud800-\\udfff"+b7+E7+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Uw="\\ud83c[\\udffb-\\udfff]",A7="[^\\ud800-\\udfff]",Hw="(?:\\ud83c[\\udde6-\\uddff]){2}",Ww="[\\ud800-\\udbff][\\udc00-\\udfff]",ah="[A-Z\\xc0-\\xd6\\xd8-\\xde]",C7="(?:"+w7+"|"+O7+")",BY="(?:"+ah+"|"+O7+")",x7="(?:"+z1+"|"+Uw+")?",S7="[\\ufe0e\\ufe0f]?"+x7+("(?:\\u200d(?:"+[A7,Hw,Ww].join("|")+")[\\ufe0e\\ufe0f]?"+x7+")*"),UY="(?:"+[FY,Hw,Ww].join("|")+")"+S7,HY="(?:"+[A7+z1+"?",z1,Hw,Ww,kY].join("|")+")",WY=RegExp("['\u2019]","g"),zY=RegExp(z1,"g"),VY=RegExp(Uw+"(?="+Uw+")|"+HY+S7,"g"),GY=RegExp([ah+"?"+w7+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[_7,ah,"$"].join("|")+")",BY+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[_7,ah+C7,"$"].join("|")+")",ah+"?"+C7+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",ah+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",E7,UY].join("|"),"g"),KY=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),YY=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,XY=typeof ve=="object"&&ve&&ve.Object===Object&&ve,JY=typeof self=="object"&&self&&self.Object===Object&&self,QY=XY||JY||Function("return this")(),zw,ZY=(zw={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"ss"},function(e){return zw==null?void 0:zw[e]});function T7(e){return KY.test(e)}function qY(e){return T7(e)?function(t){return t.match(VY)||[]}(e):function(t){return t.split("")}(e)}var $Y=Object.prototype.toString,D7=QY.Symbol,R7=D7?D7.prototype:void 0,N7=R7?R7.toString:void 0;function eX(e){if(typeof e=="string")return e;if(function(n){return typeof n=="symbol"||function(r){return!!r&&typeof r=="object"}(n)&&$Y.call(n)=="[object Symbol]"}(e))return N7?N7.call(e):"";var t=e+"";return t=="0"&&1/e==-Infinity?"-0":t}function tX(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:function(i,o,a){var s=-1,u=i.length;o<0&&(o=-o>u?0:u+o),(a=a>u?u:a)<0&&(a+=u),u=o>a?0:a-o>>>0,o>>>=0;for(var l=Array(u);++s<u;)l[s]=i[s+o];return l}(e,t,n)}function V1(e){return e==null?"":eX(e)}for(var I7,nX=(I7=function(e,t,n){return t=t.toLowerCase(),e+(n?rX(V1(t).toLowerCase()):t)},function(e){return function(t,n,r,i){var o=-1,a=t?t.length:0;for(i&&a&&(r=t[++o]);++o<a;)r=n(r,t[o],o,t);return r}(function(t,n,r){return t=V1(t),(n=r?void 0:n)===void 0?function(i){return YY.test(i)}(t)?function(i){return i.match(GY)||[]}(t):function(i){return i.match(MY)||[]}(t):t.match(n)||[]}(function(t){return(t=V1(t))&&t.replace(jY,ZY).replace(zY,"")}(e).replace(WY,"")),I7,"")}),P7,rX=(P7="toUpperCase",function(e){var t=T7(e=V1(e))?qY(e):void 0,n=t?t[0]:e.charAt(0),r=t?tX(t,1).join(""):e.slice(1);return n[P7]()+r}),iX=nX,oX=typeof window!="undefined"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),Vw={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},L7={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:oX?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},Gw={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},G1=1;G1<20;G1++)Gw["f"+G1]=111+G1;function M7(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map(function(o){return function(a,s){var u=s&&s.byKey,l={},c=(a=a.replace("++","+add")).split("+"),d=c.length;for(var p in Vw)l[Vw[p]]=!1;var h=!0,E=!1,g=void 0;try{for(var y,_=c[Symbol.iterator]();!(h=(y=_.next()).done);h=!0){var m=y.value,T=m.endsWith("?")&&m.length>1;T&&(m=m.slice(0,-1));var R=j7(m),W=Vw[R];if(m.length>1&&!W&&!L7[m]&&!Gw[R])throw new TypeError('Unknown modifier: "'+m+'"');d!==1&&W||(u?l.key=R:l.which=aX(m)),W&&(l[W]=!T||null)}}catch(q){E=!0,g=q}finally{try{!h&&_.return&&_.return()}finally{if(E)throw g}}return l}(o,t)}),i=function(o){return r.some(function(a){return function(s,u){for(var l in s){var c=s[l],d=void 0;if(c!=null&&((d=l==="key"&&u.key!=null?u.key.toLowerCase():l==="which"?c===91&&u.which===93?91:u.which:u[l])!=null||c!==!1)&&d!==c)return!1}return!0}(a,o)})};return n==null?i:i(n)}function aX(e){return e=j7(e),Gw[e]||e.toUpperCase().charCodeAt(0)}function j7(e){return e=e.toLowerCase(),e=L7[e]||e}var sX=M7,Kw=function(e,t){return M7(e,{byKey:!0},t)},uX=/^\s+|\s+$/g,lX=/^[-+]0x[0-9a-f]+$/i,cX=/^0b[01]+$/i,fX=/^0o[0-7]+$/i,dX=parseInt,hX=typeof ve=="object"&&ve&&ve.Object===Object&&ve,pX=typeof self=="object"&&self&&self.Object===Object&&self,mX=hX||pX||Function("return this")(),gX=Object.prototype.toString,vX=Math.max,yX=Math.min,Yw=function(){return mX.Date.now()};function Xw(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function k7(e){if(typeof e=="number")return e;if(function(r){return typeof r=="symbol"||function(i){return!!i&&typeof i=="object"}(r)&&gX.call(r)=="[object Symbol]"}(e))return NaN;if(Xw(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Xw(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(uX,"");var n=cX.test(e);return n||fX.test(e)?dX(e.slice(2),n?2:8):lX.test(e)?NaN:+e}var sh,F7=function(e,t,n){var r,i,o,a,s,u,l=0,c=!1,d=!1,p=!0;if(typeof e!="function")throw new TypeError("Expected a function");function h(T){var R=r,W=i;return r=i=void 0,l=T,a=e.apply(W,R)}function E(T){return l=T,s=setTimeout(y,t),c?h(T):a}function g(T){var R=T-u;return u===void 0||R>=t||R<0||d&&T-l>=o}function y(){var T=Yw();if(g(T))return _(T);s=setTimeout(y,function(R){var W=t-(R-u);return d?yX(W,o-(R-l)):W}(T))}function _(T){return s=void 0,p&&r?h(T):(r=i=void 0,a)}function m(){var T=Yw(),R=g(T);if(r=arguments,i=this,u=T,R){if(s===void 0)return E(u);if(d)return s=setTimeout(y,t),h(u)}return s===void 0&&(s=setTimeout(y,t)),a}return t=k7(t)||0,Xw(n)&&(c=!!n.leading,o=(d="maxWait"in n)?vX(k7(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),m.cancel=function(){s!==void 0&&clearTimeout(s),l=0,r=u=i=s=void 0},m.flush=function(){return s===void 0?a:_(Yw())},m},B7=ke(function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,i="[object Arguments]",o="[object Boolean]",a="[object Date]",s="[object Function]",u="[object GeneratorFunction]",l="[object Map]",c="[object Number]",d="[object Object]",p="[object Promise]",h="[object RegExp]",E="[object Set]",g="[object String]",y="[object Symbol]",_="[object WeakMap]",m="[object ArrayBuffer]",T="[object DataView]",R="[object Float32Array]",W="[object Float64Array]",q="[object Int8Array]",X="[object Int16Array]",ge="[object Int32Array]",Ne="[object Uint8Array]",nt="[object Uint8ClampedArray]",dt="[object Uint16Array]",rt="[object Uint32Array]",Ct=/\w*$/,yt=/^\[object .+?Constructor\]$/,bt=/^(?:0|[1-9]\d*)$/,Et={};Et[i]=Et["[object Array]"]=Et[m]=Et[T]=Et[o]=Et[a]=Et[R]=Et[W]=Et[q]=Et[X]=Et[ge]=Et[l]=Et[c]=Et[d]=Et[h]=Et[E]=Et[g]=Et[y]=Et[Ne]=Et[nt]=Et[dt]=Et[rt]=!0,Et["[object Error]"]=Et[s]=Et[_]=!1;var Jt=typeof ve=="object"&&ve&&ve.Object===Object&&ve,mn=typeof self=="object"&&self&&self.Object===Object&&self,dn=Jt||mn||Function("return this")(),cn=t&&!t.nodeType&&t,Oe=cn&&e&&!e.nodeType&&e,ae=Oe&&Oe.exports===cn;function Le(De,ot){return De.set(ot[0],ot[1]),De}function ut(De,ot){return De.add(ot),De}function It(De,ot,Kt,fn){var _r=-1,ui=De?De.length:0;for(fn&&ui&&(Kt=De[++_r]);++_r<ui;)Kt=ot(Kt,De[_r],_r,De);return Kt}function gt(De){var ot=!1;if(De!=null&&typeof De.toString!="function")try{ot=!!(De+"")}catch(Kt){}return ot}function an(De){var ot=-1,Kt=Array(De.size);return De.forEach(function(fn,_r){Kt[++ot]=[_r,fn]}),Kt}function xn(De,ot){return function(Kt){return De(ot(Kt))}}function Fn(De){var ot=-1,Kt=Array(De.size);return De.forEach(function(fn){Kt[++ot]=fn}),Kt}var Jn=Array.prototype,_t=Function.prototype,hr=Object.prototype,qn=dn["__core-js_shared__"],On=function(){var De=/[^.]+$/.exec(qn&&qn.keys&&qn.keys.IE_PROTO||"");return De?"Symbol(src)_1."+De:""}(),$n=_t.toString,ki=hr.hasOwnProperty,Cr=hr.toString,Kr=RegExp("^"+$n.call(ki).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vi=ae?dn.Buffer:void 0,aa=dn.Symbol,wr=dn.Uint8Array,Ta=xn(Object.getPrototypeOf,Object),qs=Object.create,Mu=hr.propertyIsEnumerable,Mp=Jn.splice,wd=Object.getOwnPropertySymbols,$s=vi?vi.isBuffer:void 0,ju=xn(Object.keys,Object),pl=ku(dn,"DataView"),sa=ku(dn,"Map"),ua=ku(dn,"Promise"),la=ku(dn,"Set"),ga=ku(dn,"WeakMap"),jo=ku(Object,"create"),Ds=Bu(pl),I0=Bu(sa),Gc=Bu(ua),ml=Bu(la),jp=Bu(ga),Od=aa?aa.prototype:void 0,kp=Od?Od.valueOf:void 0;function eu(De){var ot=-1,Kt=De?De.length:0;for(this.clear();++ot<Kt;){var fn=De[ot];this.set(fn[0],fn[1])}}function Rs(De){var ot=-1,Kt=De?De.length:0;for(this.clear();++ot<Kt;){var fn=De[ot];this.set(fn[0],fn[1])}}function gl(De){var ot=-1,Kt=De?De.length:0;for(this.clear();++ot<Kt;){var fn=De[ot];this.set(fn[0],fn[1])}}function tu(De){this.__data__=new Rs(De)}function Kc(De,ot){var Kt=Pe(De)||function(Xr){return function(Dr){return function(Co){return!!Co&&typeof Co=="object"}(Dr)&&Ze(Dr)}(Xr)&&ki.call(Xr,"callee")&&(!Mu.call(Xr,"callee")||Cr.call(Xr)==i)}(De)?function(Xr,Dr){for(var Co=-1,ca=Array(Xr);++Co<Xr;)ca[Co]=Dr(Co);return ca}(De.length,String):[],fn=Kt.length,_r=!!fn;for(var ui in De)!ot&&!ki.call(De,ui)||_r&&(ui=="length"||GE(ui,fn))||Kt.push(ui);return Kt}function zE(De,ot,Kt){var fn=De[ot];ki.call(De,ot)&&KE(fn,Kt)&&(Kt!==void 0||ot in De)||(De[ot]=Kt)}function Za(De,ot){for(var Kt=De.length;Kt--;)if(KE(De[Kt][0],ot))return Kt;return-1}function P0(De,ot,Kt,fn,_r,ui,Xr){var Dr;if(fn&&(Dr=ui?fn(De,_r,ui,Xr):fn(De)),Dr!==void 0)return Dr;if(!Yr(De))return De;var Co=Pe(De);if(Co){if(Dr=function(Hn){var Br=Hn.length,eo=Hn.constructor(Br);return Br&&typeof Hn[0]=="string"&&ki.call(Hn,"index")&&(eo.index=Hn.index,eo.input=Hn.input),eo}(De),!ot)return function(Hn,Br){var eo=-1,pr=Hn.length;for(Br||(Br=Array(pr));++eo<pr;)Br[eo]=Hn[eo];return Br}(De,Dr)}else{var ca=Fu(De),Ad=ca==s||ca==u;if(Wt(De))return function(Hn,Br){if(Br)return Hn.slice();var eo=new Hn.constructor(Hn.length);return Hn.copy(eo),eo}(De,ot);if(ca==d||ca==i||Ad&&!ui){if(gt(De))return ui?De:{};if(Dr=function(Hn){return typeof Hn.constructor!="function"||Yc(Hn)?{}:(Br=Ta(Hn),Yr(Br)?qs(Br):{});var Br}(Ad?{}:De),!ot)return function(Hn,Br){return VE(Hn,L0(Hn),Br)}(De,function(Hn,Br){return Hn&&VE(Br,cr(Br),Hn)}(Dr,De))}else{if(!Et[ca])return ui?De:{};Dr=function(Hn,Br,eo,pr){var Rr=Hn.constructor;switch(Br){case m:return Fp(Hn);case o:case a:return new Rr(+Hn);case T:return function(Nr,Fi){var va=Fi?Fp(Nr.buffer):Nr.buffer;return new Nr.constructor(va,Nr.byteOffset,Nr.byteLength)}(Hn,pr);case R:case W:case q:case X:case ge:case Ne:case nt:case dt:case rt:return function(Nr,Fi){var va=Fi?Fp(Nr.buffer):Nr.buffer;return new Nr.constructor(va,Nr.byteOffset,Nr.length)}(Hn,pr);case l:return function(Nr,Fi,va){return It(Fi?va(an(Nr),!0):an(Nr),Le,new Nr.constructor)}(Hn,pr,eo);case c:case g:return new Rr(Hn);case h:return function(Nr){var Fi=new Nr.constructor(Nr.source,Ct.exec(Nr));return Fi.lastIndex=Nr.lastIndex,Fi}(Hn);case E:return function(Nr,Fi,va){return It(Fi?va(Fn(Nr),!0):Fn(Nr),ut,new Nr.constructor)}(Hn,pr,eo);case y:return function(Nr){return kp?Object(kp.call(Nr)):{}}(Hn)}}(De,ca,P0,ot)}}Xr||(Xr=new tu);var bl=Xr.get(De);if(bl)return bl;if(Xr.set(De,Dr),!Co)var Xc=Kt?function(Hn){return function(Br,eo,pr){var Rr=eo(Br);return Pe(Br)?Rr:function(Nr,Fi){for(var va=-1,Da=Fi.length,nu=Nr.length;++va<Da;)Nr[nu+va]=Fi[va];return Nr}(Rr,pr(Br))}(Hn,cr,L0)}(De):cr(De);return function(Hn,Br){for(var eo=-1,pr=Hn?Hn.length:0;++eo<pr&&Br(Hn[eo],eo,Hn)!==!1;);}(Xc||De,function(Hn,Br){Xc&&(Hn=De[Br=Hn]),zE(Dr,Br,P0(Hn,ot,Kt,fn,Br,De,Xr))}),Dr}function vl(De){return!(!Yr(De)||function(ot){return!!On&&On in ot}(De))&&(Cn(De)||gt(De)?Kr:yt).test(Bu(De))}function Fp(De){var ot=new De.constructor(De.byteLength);return new wr(ot).set(new wr(De)),ot}function VE(De,ot,Kt,fn){Kt||(Kt={});for(var _r=-1,ui=ot.length;++_r<ui;){var Xr=ot[_r],Dr=fn?fn(Kt[Xr],De[Xr],Xr,Kt,De):void 0;zE(Kt,Xr,Dr===void 0?De[Xr]:Dr)}return Kt}function yl(De,ot){var Kt,fn,_r=De.__data__;return((fn=typeof(Kt=ot))=="string"||fn=="number"||fn=="symbol"||fn=="boolean"?Kt!=="__proto__":Kt===null)?_r[typeof ot=="string"?"string":"hash"]:_r.map}function ku(De,ot){var Kt=function(fn,_r){return fn==null?void 0:fn[_r]}(De,ot);return vl(Kt)?Kt:void 0}eu.prototype.clear=function(){this.__data__=jo?jo(null):{}},eu.prototype.delete=function(De){return this.has(De)&&delete this.__data__[De]},eu.prototype.get=function(De){var ot=this.__data__;if(jo){var Kt=ot[De];return Kt===n?void 0:Kt}return ki.call(ot,De)?ot[De]:void 0},eu.prototype.has=function(De){var ot=this.__data__;return jo?ot[De]!==void 0:ki.call(ot,De)},eu.prototype.set=function(De,ot){return this.__data__[De]=jo&&ot===void 0?n:ot,this},Rs.prototype.clear=function(){this.__data__=[]},Rs.prototype.delete=function(De){var ot=this.__data__,Kt=Za(ot,De);return!(Kt<0)&&(Kt==ot.length-1?ot.pop():Mp.call(ot,Kt,1),!0)},Rs.prototype.get=function(De){var ot=this.__data__,Kt=Za(ot,De);return Kt<0?void 0:ot[Kt][1]},Rs.prototype.has=function(De){return Za(this.__data__,De)>-1},Rs.prototype.set=function(De,ot){var Kt=this.__data__,fn=Za(Kt,De);return fn<0?Kt.push([De,ot]):Kt[fn][1]=ot,this},gl.prototype.clear=function(){this.__data__={hash:new eu,map:new(sa||Rs),string:new eu}},gl.prototype.delete=function(De){return yl(this,De).delete(De)},gl.prototype.get=function(De){return yl(this,De).get(De)},gl.prototype.has=function(De){return yl(this,De).has(De)},gl.prototype.set=function(De,ot){return yl(this,De).set(De,ot),this},tu.prototype.clear=function(){this.__data__=new Rs},tu.prototype.delete=function(De){return this.__data__.delete(De)},tu.prototype.get=function(De){return this.__data__.get(De)},tu.prototype.has=function(De){return this.__data__.has(De)},tu.prototype.set=function(De,ot){var Kt=this.__data__;if(Kt instanceof Rs){var fn=Kt.__data__;if(!sa||fn.length<199)return fn.push([De,ot]),this;Kt=this.__data__=new gl(fn)}return Kt.set(De,ot),this};var L0=wd?xn(wd,Object):function(){return[]},Fu=function(De){return Cr.call(De)};function GE(De,ot){return!!(ot=ot==null?r:ot)&&(typeof De=="number"||bt.test(De))&&De>-1&&De%1==0&&De<ot}function Yc(De){var ot=De&&De.constructor;return De===(typeof ot=="function"&&ot.prototype||hr)}function Bu(De){if(De!=null){try{return $n.call(De)}catch(ot){}try{return De+""}catch(ot){}}return""}function KE(De,ot){return De===ot||De!=De&&ot!=ot}(pl&&Fu(new pl(new ArrayBuffer(1)))!=T||sa&&Fu(new sa)!=l||ua&&Fu(ua.resolve())!=p||la&&Fu(new la)!=E||ga&&Fu(new ga)!=_)&&(Fu=function(De){var ot=Cr.call(De),Kt=ot==d?De.constructor:void 0,fn=Kt?Bu(Kt):void 0;if(fn)switch(fn){case Ds:return T;case I0:return l;case Gc:return p;case ml:return E;case jp:return _}return ot});var Pe=Array.isArray;function Ze(De){return De!=null&&function(ot){return typeof ot=="number"&&ot>-1&&ot%1==0&&ot<=r}(De.length)&&!Cn(De)}var Wt=$s||function(){return!1};function Cn(De){var ot=Yr(De)?Cr.call(De):"";return ot==s||ot==u}function Yr(De){var ot=typeof De;return!!De&&(ot=="object"||ot=="function")}function cr(De){return Ze(De)?Kc(De):function(ot){if(!Yc(ot))return ju(ot);var Kt=[];for(var fn in Object(ot))ki.call(ot,fn)&&fn!="constructor"&&Kt.push(fn);return Kt}(De)}e.exports=function(De){return P0(De,!0,!0)}});function U7(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var bX=0;function _X(e){return"__private_"+bX+++"_"+e}function EX(e,t,n){const r=[];return e.forEach(i=>typeof i!="string"?r.push(i):t[Symbol.split](i).forEach((o,a,s)=>{o!==""&&r.push(o),a<s.length-1&&r.push(n)})),r}/**
* Takes a string with placeholder variables like `%{smart_count} file selected`
* and replaces it with values from options `{smart_count: 5}`
*
* @license https://github.com/airbnb/polyglot.js/blob/master/LICENSE
* taken from https://github.com/airbnb/polyglot.js/blob/master/lib/polyglot.js#L299
*
* @param {string} phrase that needs interpolation, with placeholders
* @param {object} options with values that will be used to replace placeholders
* @returns {any[]} interpolated
*/function H7(e,t){const n=/\$/g;let r=[e];if(t==null)return r;for(const i of Object.keys(t))if(i!=="_"){let o=t[i];typeof o=="string"&&(o=n[Symbol.replace](o,"$$$$")),r=EX(r,new RegExp(`%\\{${i}\\}`,"g"),o)}return r}var W7=(sh=_X("apply"),class{constructor(e){Object.defineProperty(this,sh,{value:wX}),this.locale={strings:{},pluralize:t=>t===1?0:1},Array.isArray(e)?e.forEach(U7(this,sh)[sh],this):U7(this,sh)[sh](e)}translate(e,t){return this.translateArray(e,t).join("")}translateArray(e,t){if(!function(r,i){return Object.prototype.hasOwnProperty.call(r,i)}(this.locale.strings,e))throw new Error(`missing string: ${e}`);const n=this.locale.strings[e];if(typeof n=="object"){if(t&&t.smart_count!==void 0)return H7(n[this.locale.pluralize(t.smart_count)],t);throw new Error("Attempted to use a string with plural forms, but no value was given for %{smart_count}")}return H7(n,t)}});function wX(e){if(e==null||!e.strings)return;const t=this.locale;this.locale=mt(mt({},t),{strings:mt(mt({},t.strings),e.strings)}),this.locale.pluralize=e.pluralize||t.pluralize}var z7=function(){var e={},t=e._fns={};return e.emit=function(n,r,i,o,a,s,u){var l=function(c){for(var d=t[c]?t[c]:[],p=c.indexOf(":"),h=p===-1?[c]:[c.substring(0,p),c.substring(p+1)],E=Object.keys(t),g=0,y=E.length;g<y;g++){var _=E[g];if(_==="*"&&(d=d.concat(t[_])),h.length===2&&h[0]===_){d=d.concat(t[_]);break}}return d}(n);l.length&&function(c,d,p){for(var h=0,E=d.length;h<E&&d[h];h++)d[h].event=c,d[h].apply(d[h],p)}(n,l,[r,i,o,a,s,u])},e.on=function(n,r){t[n]||(t[n]=[]),t[n].push(r)},e.once=function(n,r){this.on(n,function i(){r.apply(this,arguments),e.off(n,i)})},e.off=function(n,r){var i=[];if(n&&r)for(var o=this._fns[n],a=0,s=o?o.length:0;a<s;a++)o[a]!==r&&i.push(o[a]);i.length?this._fns[n]=i:delete this._fns[n]},e},OX={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"};let{urlAlphabet:AX}=OX,V7=e=>crypto.getRandomValues(new Uint8Array(e)),G7=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,i=-~(1.6*r*t/e.length);return()=>{let o="";for(;;){let a=n(i),s=i;for(;s--;)if(o+=e[a[s]&r]||"",o.length===t)return o}}};var CX={nanoid:(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t},customAlphabet:(e,t)=>G7(e,t,V7),customRandom:G7,urlAlphabet:AX,random:V7},Jw=function(e){if(typeof e!="number"||isNaN(e))throw new TypeError("Expected a number, got "+typeof e);var t=e<0,n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return(t?"-":"")+e+" B";var r=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1);e=Number(e/Math.pow(1024,r));var i=n[r];return e>=10||e%1==0?(t?"-":"")+e.toFixed(0)+" "+i:(t?"-":"")+e.toFixed(1)+" "+i};function K7(e,t){this.text=e=e||"",this.hasWild=~e.indexOf("*"),this.separator=t,this.parts=e.split(t)}K7.prototype.match=function(e){var t,n,r=!0,i=this.parts,o=i.length;if(typeof e=="string"||e instanceof String)if(this.hasWild||this.text==e){for(n=(e||"").split(this.separator),t=0;r&&t<o;t++)i[t]!=="*"&&(r=t<n.length&&i[t]===n[t]);r=r&&n}else r=!1;else if(typeof e.splice=="function")for(r=[],t=e.length;t--;)this.match(e[t])&&(r[r.length]=e[t]);else if(typeof e=="object")for(var a in r={},e)this.match(a)&&(r[a]=e[a]);return r};var xX=/[\/\+\.]/,SX=function(e,t){function n(r){var i=function(o,a,s){var u=new K7(o,s||/[\/\.]/);return a!==void 0?u.match(a):u}(r,e,xX);return i&&i.length>=2}return t?n(t.split(";")[0]):n},TX=0;function DX(e){return"__private_"+TX+++"_"+e}var Qw=DX("publish");class Y7{constructor(){Object.defineProperty(this,Qw,{value:RX}),this.state={},this.callbacks=[]}getState(){return this.state}setState(e){const t=mt({},this.state),n=mt(mt({},this.state),e);this.state=n,function(r,i){if(!Object.prototype.hasOwnProperty.call(r,i))throw new TypeError("attempted to use private field on non-instance");return r}(this,Qw)[Qw](t,n,e)}subscribe(e){return this.callbacks.push(e),()=>{this.callbacks.splice(this.callbacks.indexOf(e),1)}}}function RX(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.callbacks.forEach(r=>{r(...t)})}Y7.VERSION="2.0.3";var X7=function(e){const t=e.lastIndexOf(".");return t===-1||t===e.length-1?{name:e,extension:void 0}:{name:e.slice(0,t),extension:e.slice(t+1)}},J7={md:"text/markdown",markdown:"text/markdown",mp4:"video/mp4",mp3:"audio/mp3",svg:"image/svg+xml",jpg:"image/jpeg",png:"image/png",gif:"image/gif",heic:"image/heic",heif:"image/heif",yaml:"text/yaml",yml:"text/yaml",csv:"text/csv",tsv:"text/tab-separated-values",tab:"text/tab-separated-values",avi:"video/x-msvideo",mks:"video/x-matroska",mkv:"video/x-matroska",mov:"video/quicktime",doc:"application/msword",docm:"application/vnd.ms-word.document.macroenabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroenabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroenabled.12",xlc:"application/vnd.ms-excel",xlf:"application/x-xliff+xml",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroenabled.12",xlsm:"application/vnd.ms-excel.sheet.macroenabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroenabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",txt:"text/plain",text:"text/plain",conf:"text/plain",log:"text/plain",pdf:"application/pdf",zip:"application/zip","7z":"application/x-7z-compressed",rar:"application/x-rar-compressed",tar:"application/x-tar",gz:"application/gzip",dmg:"application/x-apple-diskimage"};function Q7(e){let t="";return e.replace(/[^A-Z0-9]/gi,n=>(t+=`-${function(r){return r.charCodeAt(0).toString(32)}(n)}`,"/"))+t}var NX=function(e){if(e==null&&(e=typeof navigator!="undefined"?navigator.userAgent:null),!e)return!0;const t=/Edge\/(\d+\.\d+)/.exec(e);if(!t)return!0;const n=t[1];let[r,i]=n.split(".");return r=parseInt(r,10),i=parseInt(i,10),r<15||r===15&&i<15063||r>18||r===18&&i>=18218};function Zw(e){return e<10?`0${e}`:e.toString()}var K1=function(){const e=new Date;return`${Zw(e.getHours())}:${Zw(e.getMinutes())}:${Zw(e.getSeconds())}`},Z7={justErrorsLogger:{debug:()=>{},warn:()=>{},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${K1()}]`,...t)}},debugLogger:{debug:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.debug(`[Uppy] [${K1()}]`,...t)},warn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.warn(`[Uppy] [${K1()}]`,...t)},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${K1()}]`,...t)}}},IX={strings:{addBulkFilesFailed:{0:"Failed to add %{smart_count} file due to an internal error",1:"Failed to add %{smart_count} files due to internal errors"},youCanOnlyUploadX:{0:"You can only upload %{smart_count} file",1:"You can only upload %{smart_count} files"},youHaveToAtLeastSelectX:{0:"You have to select at least %{smart_count} file",1:"You have to select at least %{smart_count} files"},exceedsSize:"%{file} exceeds maximum allowed size of %{size}",missingRequiredMetaField:"Missing required meta fields",missingRequiredMetaFieldOnFile:"Missing required meta fields in %{fileName}",inferiorSize:"This file is smaller than the allowed size of %{size}",youCanOnlyUploadFileTypes:"You can only upload: %{types}",noMoreFilesAllowed:"Cannot add more files",noDuplicates:"Cannot add the duplicate file '%{fileName}', it already exists",companionError:"Connection with Companion failed",authAborted:"Authentication aborted",companionUnauthorizeHint:"To unauthorize to your %{provider} account, please go to %{url}",failedToUpload:"Failed to upload %{file}",noInternetConnection:"No Internet connection",connectedToInternet:"Connected to the Internet",noFilesFound:"You have no files or folders here",selectX:{0:"Select %{smart_count}",1:"Select %{smart_count}"},allFilesFromFolderNamed:"All files from folder %{name}",openFolderNamed:"Open folder %{name}",cancel:"Cancel",logOut:"Log out",filter:"Filter",resetFilter:"Reset filter",loading:"Loading...",authenticateWithTitle:"Please authenticate with %{pluginName} to select files",authenticateWith:"Connect to %{pluginName}",signInWithGoogle:"Sign in with Google",searchImages:"Search for images",enterTextToSearch:"Enter text to search for images",backToSearch:"Back to Search",emptyFolderAdded:"No files were added from empty folder",folderAlreadyAdded:'The folder "%{folder}" was already added',folderAdded:{0:"Added %{smart_count} file from %{folder}",1:"Added %{smart_count} files from %{folder}"}}},q7=CX;let $7,e8;function En(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var PX=0;function ao(e){return"__private_"+PX+++"_"+e}const{nanoid:LX}=q7,{justErrorsLogger:MX,debugLogger:jX}=Z7;class mu extends Error{constructor(){super(...arguments),this.isRestriction=!0}}typeof AggregateError=="undefined"&&(globalThis.AggregateError=class extends Error{constructor(e,t){super(t),this.errors=e}});class kX extends AggregateError{constructor(){super(...arguments),this.isRestriction=!0}}var Ko=ao("plugins"),wm=ao("storeUnsubscribe"),Zu=ao("emitter"),mf=ao("preProcessors"),gf=ao("uploaders"),qu=ao("postProcessors"),Om=ao("checkRestrictions"),qw=ao("checkMinNumberOfFiles"),Am=ao("checkRequiredMetaFieldsOnFile"),$w=ao("checkRequiredMetaFields"),_o=ao("showOrLogErrorAndThrow"),Cm=ao("assertNewUploadAllowed"),xm=ao("checkAndCreateFileStateObject"),Sm=ao("startIfAutoProceed"),eO=ao("addListeners"),Bs=ao("updateOnlineStatus"),$u=ao("createUpload"),tO=ao("getUpload"),vf=ao("removeUpload"),el=ao("runUpload");$7=Symbol.for("uppy test: getPlugins"),e8=Symbol.for("uppy test: createUpload");class t8{constructor(e){Object.defineProperty(this,el,{value:QX}),Object.defineProperty(this,vf,{value:JX}),Object.defineProperty(this,tO,{value:XX}),Object.defineProperty(this,$u,{value:YX}),Object.defineProperty(this,eO,{value:KX}),Object.defineProperty(this,Sm,{value:GX}),Object.defineProperty(this,xm,{value:VX}),Object.defineProperty(this,Cm,{value:zX}),Object.defineProperty(this,_o,{value:WX}),Object.defineProperty(this,$w,{value:HX}),Object.defineProperty(this,Am,{value:UX}),Object.defineProperty(this,qw,{value:BX}),Object.defineProperty(this,Om,{value:FX}),Object.defineProperty(this,Ko,{writable:!0,value:Object.create(null)}),Object.defineProperty(this,wm,{writable:!0,value:void 0}),Object.defineProperty(this,Zu,{writable:!0,value:z7()}),Object.defineProperty(this,mf,{writable:!0,value:new Set}),Object.defineProperty(this,gf,{writable:!0,value:new Set}),Object.defineProperty(this,qu,{writable:!0,value:new Set}),Object.defineProperty(this,Bs,{writable:!0,value:this.updateOnlineStatus.bind(this)}),this.defaultLocale=IX;const t={id:"uppy",autoProceed:!1,allowMultipleUploads:!0,allowMultipleUploadBatches:!0,debug:!1,restrictions:{maxFileSize:null,minFileSize:null,maxTotalFileSize:null,maxNumberOfFiles:null,minNumberOfFiles:null,allowedFileTypes:null,requiredMetaFields:[]},meta:{},onBeforeFileAdded:n=>n,onBeforeUpload:n=>n,store:new Y7,logger:MX,infoTimeout:5e3};if(this.opts=mt(mt(mt({},t),e),{restrictions:mt(mt({},t.restrictions),e&&e.restrictions)}),e&&e.logger&&e.debug?this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.","warning"):e&&e.debug&&(this.opts.logger=jX),this.log(`Using Core v${this.constructor.VERSION}`),this.opts.restrictions.allowedFileTypes&&this.opts.restrictions.allowedFileTypes!==null&&!Array.isArray(this.opts.restrictions.allowedFileTypes))throw new TypeError("`restrictions.allowedFileTypes` must be an array");this.i18nInit(),this.calculateProgress=pf(this.calculateProgress.bind(this),500,{leading:!0,trailing:!0}),this.store=this.opts.store,this.setState({plugins:{},files:{},currentUploads:{},allowNewUpload:!0,capabilities:{uploadProgress:NX(),individualCancellation:!0,resumableUploads:!1},totalProgress:0,meta:mt({},this.opts.meta),info:[],recoveredState:null}),En(this,wm)[wm]=this.store.subscribe((n,r,i)=>{this.emit("state-update",n,r,i),this.updateAll(r)}),this.opts.debug&&typeof window!="undefined"&&(window[this.opts.id]=this),En(this,eO)[eO]()}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];En(this,Zu)[Zu].emit(e,...n)}on(e,t){return En(this,Zu)[Zu].on(e,t),this}once(e,t){return En(this,Zu)[Zu].once(e,t),this}off(e,t){return En(this,Zu)[Zu].off(e,t),this}updateAll(e){this.iteratePlugins(t=>{t.update(e)})}setState(e){this.store.setState(e)}getState(){return this.store.getState()}get state(){return this.getState()}setFileState(e,t){if(!this.getState().files[e])throw new Error(`Can\u2019t set state for ${e} (the file could have been removed)`);this.setState({files:mt(mt({},this.getState().files),{[e]:mt(mt({},this.getState().files[e]),t)})})}i18nInit(){const e=new W7([this.defaultLocale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.locale=e.locale}setOptions(e){this.opts=mt(mt(mt({},this.opts),e),{restrictions:mt(mt({},this.opts.restrictions),e&&e.restrictions)}),e.meta&&this.setMeta(e.meta),this.i18nInit(),e.locale&&this.iteratePlugins(t=>{t.setOptions()}),this.setState()}resetProgress(){const e={percentage:0,bytesUploaded:0,uploadComplete:!1,uploadStarted:null},t=mt({},this.getState().files),n={};Object.keys(t).forEach(r=>{const i=mt({},t[r]);i.progress=mt(mt({},i.progress),e),n[r]=i}),this.setState({files:n,totalProgress:0}),this.emit("reset-progress")}addPreProcessor(e){En(this,mf)[mf].add(e)}removePreProcessor(e){return En(this,mf)[mf].delete(e)}addPostProcessor(e){En(this,qu)[qu].add(e)}removePostProcessor(e){return En(this,qu)[qu].delete(e)}addUploader(e){En(this,gf)[gf].add(e)}removeUploader(e){return En(this,gf)[gf].delete(e)}setMeta(e){const t=mt(mt({},this.getState().meta),e),n=mt({},this.getState().files);Object.keys(n).forEach(r=>{n[r]=mt(mt({},n[r]),{meta:mt(mt({},n[r].meta),e)})}),this.log("Adding metadata:"),this.log(e),this.setState({meta:t,files:n})}setFileMeta(e,t){const n=mt({},this.getState().files);if(!n[e])return void this.log("Was trying to set metadata for a file that has been removed: ",e);const r=mt(mt({},n[e].meta),t);n[e]=mt(mt({},n[e]),{meta:r}),this.setState({files:n})}getFile(e){return this.getState().files[e]}getFiles(){const{files:e}=this.getState();return Object.values(e)}getObjectOfFilesPerState(){const{files:e,totalProgress:t,error:n}=this.getState(),r=Object.values(e),i=r.filter(h=>{let{progress:E}=h;return!E.uploadComplete&&E.uploadStarted}),o=r.filter(h=>!h.progress.uploadStarted),a=r.filter(h=>h.progress.uploadStarted||h.progress.preprocess||h.progress.postprocess),s=r.filter(h=>h.progress.uploadStarted),u=r.filter(h=>h.isPaused),l=r.filter(h=>h.progress.uploadComplete),c=r.filter(h=>h.error),d=i.filter(h=>!h.isPaused),p=r.filter(h=>h.progress.preprocess||h.progress.postprocess);return{newFiles:o,startedFiles:a,uploadStartedFiles:s,pausedFiles:u,completeFiles:l,erroredFiles:c,inProgressFiles:i,inProgressNotPausedFiles:d,processingFiles:p,isUploadStarted:s.length>0,isAllComplete:t===100&&l.length===r.length&&p.length===0,isAllErrored:!!n&&c.length===r.length,isAllPaused:i.length!==0&&u.length===i.length,isUploadInProgress:i.length>0,isSomeGhost:r.some(h=>h.isGhost)}}validateRestrictions(e,t){try{return En(this,Om)[Om](e,t),{result:!0}}catch(n){return{result:!1,reason:n.message}}}checkIfFileAlreadyExists(e){const{files:t}=this.getState();return!(!t[e]||t[e].isGhost)}addFile(e){En(this,Cm)[Cm](e);const{files:t}=this.getState();let n=En(this,xm)[xm](t,e);return t[n.id]&&t[n.id].isGhost&&(n=mt(mt({},t[n.id]),{data:e.data,isGhost:!1}),this.log(`Replaced the blob in the restored ghost file: ${n.name}, ${n.id}`)),this.setState({files:mt(mt({},t),{[n.id]:n})}),this.emit("file-added",n),this.emit("files-added",[n]),this.log(`Added file: ${n.name}, ${n.id}, mime type: ${n.type}`),En(this,Sm)[Sm](),n.id}addFiles(e){En(this,Cm)[Cm]();const t=mt({},this.getState().files),n=[],r=[];for(let i=0;i<e.length;i++)try{let o=En(this,xm)[xm](t,e[i]);t[o.id]&&t[o.id].isGhost&&(o=mt(mt({},t[o.id]),{data:e[i].data,isGhost:!1}),this.log(`Replaced blob in a ghost file: ${o.name}, ${o.id}`)),t[o.id]=o,n.push(o)}catch(o){o.isRestriction||r.push(o)}if(this.setState({files:t}),n.forEach(i=>{this.emit("file-added",i)}),this.emit("files-added",n),n.length>5?this.log(`Added batch of ${n.length} files`):Object.keys(n).forEach(i=>{this.log(`Added file: ${n[i].name}
id: ${n[i].id}
type: ${n[i].type}`)}),n.length>0&&En(this,Sm)[Sm](),r.length>0){let i=`Multiple errors occurred while adding files:
`;if(r.forEach(o=>{i+=`
* ${o.message}`}),this.info({message:this.i18n("addBulkFilesFailed",{smart_count:r.length}),details:i},"error",this.opts.infoTimeout),typeof AggregateError=="function")throw new AggregateError(r,i);{const o=new Error(i);throw o.errors=r,o}}}removeFiles(e,t){const{files:n,currentUploads:r}=this.getState(),i=mt({},n),o=mt({},r),a=Object.create(null);function s(c){return a[c]===void 0}e.forEach(c=>{n[c]&&(a[c]=n[c],delete i[c])}),Object.keys(o).forEach(c=>{const d=r[c].fileIDs.filter(s);d.length!==0?o[c]=mt(mt({},r[c]),{fileIDs:d}):delete o[c]});const u={currentUploads:o,files:i};Object.keys(i).length===0&&(u.allowNewUpload=!0,u.error=null,u.recoveredState=null),this.setState(u),this.calculateTotalProgress();const l=Object.keys(a);l.forEach(c=>{this.emit("file-removed",a[c],t)}),l.length>5?this.log(`Removed ${l.length} files`):this.log(`Removed files: ${l.join(", ")}`)}removeFile(e,t){t===void 0&&(t=null),this.removeFiles([e],t)}pauseResume(e){if(!this.getState().capabilities.resumableUploads||this.getFile(e).uploadComplete)return;const t=!(this.getFile(e).isPaused||!1);return this.setFileState(e,{isPaused:t}),this.emit("upload-pause",e,t),t}pauseAll(){const e=mt({},this.getState().files);Object.keys(e).filter(t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted).forEach(t=>{const n=mt(mt({},e[t]),{isPaused:!0});e[t]=n}),this.setState({files:e}),this.emit("pause-all")}resumeAll(){const e=mt({},this.getState().files);Object.keys(e).filter(t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted).forEach(t=>{const n=mt(mt({},e[t]),{isPaused:!1,error:null});e[t]=n}),this.setState({files:e}),this.emit("resume-all")}retryAll(){const e=mt({},this.getState().files),t=Object.keys(e).filter(r=>e[r].error);if(t.forEach(r=>{const i=mt(mt({},e[r]),{isPaused:!1,error:null});e[r]=i}),this.setState({files:e,error:null}),this.emit("retry-all",t),t.length===0)return Promise.resolve({successful:[],failed:[]});const n=En(this,$u)[$u](t,{forceAllowNewUpload:!0});return En(this,el)[el](n)}cancelAll(){this.emit("cancel-all");const{files:e}=this.getState(),t=Object.keys(e);t.length&&this.removeFiles(t,"cancel-all"),this.setState({totalProgress:0,error:null,recoveredState:null})}retryUpload(e){this.setFileState(e,{error:null,isPaused:!1}),this.emit("upload-retry",e);const t=En(this,$u)[$u]([e],{forceAllowNewUpload:!0});return En(this,el)[el](t)}reset(){this.cancelAll()}logout(){this.iteratePlugins(e=>{e.provider&&e.provider.logout&&e.provider.logout()})}calculateProgress(e,t){if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);const n=Number.isFinite(t.bytesTotal)&&t.bytesTotal>0;this.setFileState(e.id,{progress:mt(mt({},this.getFile(e.id).progress),{bytesUploaded:t.bytesUploaded,bytesTotal:t.bytesTotal,percentage:n?Math.round(t.bytesUploaded/t.bytesTotal*100):0})}),this.calculateTotalProgress()}calculateTotalProgress(){const e=this.getFiles().filter(s=>s.progress.uploadStarted||s.progress.preprocess||s.progress.postprocess);if(e.length===0)return this.emit("progress",0),void this.setState({totalProgress:0});const t=e.filter(s=>s.progress.bytesTotal!=null),n=e.filter(s=>s.progress.bytesTotal==null);if(t.length===0){const s=100*e.length,u=n.reduce((c,d)=>c+d.progress.percentage,0),l=Math.round(u/s*100);return void this.setState({totalProgress:l})}let r=t.reduce((s,u)=>s+u.progress.bytesTotal,0);const i=r/t.length;r+=i*n.length;let o=0;t.forEach(s=>{o+=s.progress.bytesUploaded}),n.forEach(s=>{o+=i*(s.progress.percentage||0)/100});let a=r===0?0:Math.round(o/r*100);a>100&&(a=100),this.setState({totalProgress:a}),this.emit("progress",a)}updateOnlineStatus(){window.navigator.onLine===void 0||window.navigator.onLine?(this.emit("is-online"),this.wasOffline&&(this.emit("back-online"),this.info(this.i18n("connectedToInternet"),"success",3e3),this.wasOffline=!1)):(this.emit("is-offline"),this.info(this.i18n("noInternetConnection"),"error",0),this.wasOffline=!0)}getID(){return this.opts.id}use(e,t){if(typeof e!="function")throw new TypeError(`Expected a plugin class, but got ${e===null?"null":typeof e}. Please verify that the plugin was imported and spelled correctly.`);const n=new e(this,t),r=n.id;if(!r)throw new Error("Your plugin must have an id");if(!n.type)throw new Error("Your plugin must have a type");const i=this.getPlugin(r);if(i){const o=`Already found a plugin named '${i.id}'. Tried to use: '${r}'.
Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`;throw new Error(o)}return e.VERSION&&this.log(`Using ${r} v${e.VERSION}`),n.type in En(this,Ko)[Ko]?En(this,Ko)[Ko][n.type].push(n):En(this,Ko)[Ko][n.type]=[n],n.install(),this}getPlugin(e){for(const t of Object.values(En(this,Ko)[Ko])){const n=t.find(r=>r.id===e);if(n!=null)return n}}[$7](e){return En(this,Ko)[Ko][e]}iteratePlugins(e){Object.values(En(this,Ko)[Ko]).flat(1).forEach(e)}removePlugin(e){this.log(`Removing plugin ${e.id}`),this.emit("plugin-remove",e),e.uninstall&&e.uninstall();const t=En(this,Ko)[Ko][e.type],n=t.findIndex(i=>i.id===e.id);n!==-1&&t.splice(n,1);const r={plugins:mt(mt({},this.getState().plugins),{[e.id]:void 0})};this.setState(r)}close(){this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`),this.reset(),En(this,wm)[wm](),this.iteratePlugins(e=>{this.removePlugin(e)}),typeof window!="undefined"&&window.removeEventListener&&(window.removeEventListener("online",En(this,Bs)[Bs]),window.removeEventListener("offline",En(this,Bs)[Bs]))}hideInfo(){const{info:e}=this.getState();this.setState({info:e.slice(1)}),this.emit("info-hidden")}info(e,t,n){t===void 0&&(t="info"),n===void 0&&(n=3e3);const r=typeof e=="object";this.setState({info:[...this.getState().info,{type:t,message:r?e.message:e,details:r?e.details:null}]}),setTimeout(()=>this.hideInfo(),n),this.emit("info-visible")}log(e,t){const{logger:n}=this.opts;switch(t){case"error":n.error(e);break;case"warning":n.warn(e);break;default:n.debug(e)}}restore(e){return this.log(`Core: attempting to restore upload "${e}"`),this.getState().currentUploads[e]?En(this,el)[el](e):(En(this,vf)[vf](e),Promise.reject(new Error("Nonexistent upload")))}[e8](){return En(this,$u)[$u](...arguments)}addResultData(e,t){if(!En(this,tO)[tO](e))return void this.log(`Not setting result for an upload that has been removed: ${e}`);const{currentUploads:n}=this.getState(),r=mt(mt({},n[e]),{result:mt(mt({},n[e].result),t)});this.setState({currentUploads:mt(mt({},n),{[e]:r})})}upload(){var e;(e=En(this,Ko)[Ko].uploader)!=null&&e.length||this.log("No uploader type plugins are used","warning");let{files:t}=this.getState();const n=this.opts.onBeforeUpload(t);return n===!1?Promise.reject(new Error("Not starting the upload because onBeforeUpload returned false")):(n&&typeof n=="object"&&(t=n,this.setState({files:t})),Promise.resolve().then(()=>{En(this,qw)[qw](t),En(this,$w)[$w](t)}).catch(r=>{En(this,_o)[_o](r)}).then(()=>{const{currentUploads:r}=this.getState(),i=Object.values(r).flatMap(s=>s.fileIDs),o=[];Object.keys(t).forEach(s=>{const u=this.getFile(s);u.progress.uploadStarted||i.indexOf(s)!==-1||o.push(u.id)});const a=En(this,$u)[$u](o);return En(this,el)[el](a)}).catch(r=>{En(this,_o)[_o](r,{showInformer:!1})}))}}function FX(e,t){t===void 0&&(t=this.getFiles());const{maxFileSize:n,minFileSize:r,maxTotalFileSize:i,maxNumberOfFiles:o,allowedFileTypes:a}=this.opts.restrictions;if(o&&t.length+1>o)throw new mu(`${this.i18n("youCanOnlyUploadX",{smart_count:o})}`);if(a&&!a.some(s=>s.indexOf("/")>-1?!!e.type&&SX(e.type.replace(/;.*?$/,""),s):!(s[0]!=="."||!e.extension)&&e.extension.toLowerCase()===s.substr(1).toLowerCase())){const s=a.join(", ");throw new mu(this.i18n("youCanOnlyUploadFileTypes",{types:s}))}if(i&&e.size!=null){let s=0;if(s+=e.size,t.forEach(u=>{s+=u.size}),s>i)throw new mu(this.i18n("exceedsSize",{size:Jw(i),file:e.name}))}if(n&&e.size!=null&&e.size>n)throw new mu(this.i18n("exceedsSize",{size:Jw(n),file:e.name}));if(r&&e.size!=null&&e.size<r)throw new mu(this.i18n("inferiorSize",{size:Jw(r)}))}function BX(e){const{minNumberOfFiles:t}=this.opts.restrictions;if(Object.keys(e).length<t)throw new mu(`${this.i18n("youHaveToAtLeastSelectX",{smart_count:t})}`)}function UX(e){const{requiredMetaFields:t}=this.opts.restrictions,{hasOwnProperty:n}=Object.prototype,r=[],i=[];for(let o=0;o<t.length;o++)if(!n.call(e.meta,t[o])||e.meta[t[o]]===""){const a=new mu(`${this.i18n("missingRequiredMetaFieldOnFile",{fileName:e.name})}`);r.push(a),i.push(t[o]),En(this,_o)[_o](a,{file:e,showInformer:!1,throwErr:!1})}return this.setFileState(e.id,{missingRequiredMetaFields:i}),r}function HX(e){const t=Object.keys(e).flatMap(n=>{const r=this.getFile(n);return En(this,Am)[Am](r)});if(t.length)throw new kX(t,`${this.i18n("missingRequiredMetaField")}`)}function WX(e,t){let{showInformer:n=!0,file:r=null,throwErr:i=!0}=t===void 0?{}:t;const o=typeof e=="object"?e.message:e,a=typeof e=="object"&&e.details?e.details:"";let s=o;if(a&&(s+=` ${a}`),e.isRestriction?(this.log(s),this.emit("restriction-failed",r,e)):this.log(s,"error"),n&&this.info({message:o,details:a},"error",this.opts.infoTimeout),i)throw typeof e=="object"?e:new Error(e)}function zX(e){const{allowNewUpload:t}=this.getState();t===!1&&En(this,_o)[_o](new mu(this.i18n("noMoreFilesAllowed")),{file:e})}function VX(e,t){const n=function(d){var p;if(d.type)return d.type;const h=d.name?(p=X7(d.name).extension)==null?void 0:p.toLowerCase():null;return h&&h in J7?J7[h]:"application/octet-stream"}(t),r=function(d,p){return p.name?p.name:d.split("/")[0]==="image"?`${d.split("/")[0]}.${d.split("/")[1]}`:"noname"}(n,t),i=X7(r).extension,o=Boolean(t.isRemote),a=function(d){let p="uppy";return typeof d.name=="string"&&(p+=`-${Q7(d.name.toLowerCase())}`),d.type!==void 0&&(p+=`-${d.type}`),d.meta&&typeof d.meta.relativePath=="string"&&(p+=`-${Q7(d.meta.relativePath.toLowerCase())}`),d.data.size!==void 0&&(p+=`-${d.data.size}`),d.data.lastModified!==void 0&&(p+=`-${d.data.lastModified}`),p}(mt(mt({},t),{type:n}));if(this.checkIfFileAlreadyExists(a)){const d=new mu(this.i18n("noDuplicates",{fileName:r}));En(this,_o)[_o](d,{file:t})}const s=t.meta||{};s.name=r,s.type=n;const u=Number.isFinite(t.data.size)?t.data.size:null;let l={source:t.source||"",id:a,name:r,extension:i||"",meta:mt(mt({},this.getState().meta),s),type:n,data:t.data,progress:{percentage:0,bytesUploaded:0,bytesTotal:u,uploadComplete:!1,uploadStarted:null},size:u,isRemote:o,remote:t.remote||"",preview:t.preview};const c=this.opts.onBeforeFileAdded(l,e);c===!1?En(this,_o)[_o](new mu("Cannot add the file because onBeforeFileAdded returned false."),{showInformer:!1,fileDescriptor:t}):typeof c=="object"&&c!==null&&(l=c);try{const d=Object.keys(e).map(p=>e[p]);En(this,Om)[Om](l,d)}catch(d){En(this,_o)[_o](d,{file:l})}return l}function GX(){this.opts.autoProceed&&!this.scheduledAutoProceed&&(this.scheduledAutoProceed=setTimeout(()=>{this.scheduledAutoProceed=null,this.upload().catch(e=>{e.isRestriction||this.log(e.stack||e.message||e)})},4))}function KX(){const e=(t,n,r)=>{let i=t.message||"Unknown error";t.details&&(i+=` ${t.details}`),this.setState({error:i}),n!=null&&n.id in this.getState().files&&this.setFileState(n.id,{error:i,response:r})};this.on("error",e),this.on("upload-error",(t,n,r)=>{if(e(n,t,r),typeof n=="object"&&n.message){const i=new Error(n.message);i.details=n.message,n.details&&(i.details+=` ${n.details}`),i.message=this.i18n("failedToUpload",{file:t.name}),En(this,_o)[_o](i,{throwErr:!1})}else En(this,_o)[_o](n,{throwErr:!1})}),this.on("upload",()=>{this.setState({error:null})}),this.on("upload-started",t=>{this.getFile(t.id)?this.setFileState(t.id,{progress:{uploadStarted:Date.now(),uploadComplete:!1,percentage:0,bytesUploaded:0,bytesTotal:t.size}}):this.log(`Not setting progress for a file that has been removed: ${t.id}`)}),this.on("upload-progress",this.calculateProgress),this.on("upload-success",(t,n)=>{if(!this.getFile(t.id))return void this.log(`Not setting progress for a file that has been removed: ${t.id}`);const r=this.getFile(t.id).progress;this.setFileState(t.id,{progress:mt(mt({},r),{postprocess:En(this,qu)[qu].size>0?{mode:"indeterminate"}:null,uploadComplete:!0,percentage:100,bytesUploaded:r.bytesTotal}),response:n,uploadURL:n.uploadURL,isPaused:!1}),t.size==null&&this.setFileState(t.id,{size:n.bytesUploaded||r.bytesTotal}),this.calculateTotalProgress()}),this.on("preprocess-progress",(t,n)=>{this.getFile(t.id)?this.setFileState(t.id,{progress:mt(mt({},this.getFile(t.id).progress),{preprocess:n})}):this.log(`Not setting progress for a file that has been removed: ${t.id}`)}),this.on("preprocess-complete",t=>{if(!this.getFile(t.id))return void this.log(`Not setting progress for a file that has been removed: ${t.id}`);const n=mt({},this.getState().files);n[t.id]=mt(mt({},n[t.id]),{progress:mt({},n[t.id].progress)}),delete n[t.id].progress.preprocess,this.setState({files:n})}),this.on("postprocess-progress",(t,n)=>{this.getFile(t.id)?this.setFileState(t.id,{progress:mt(mt({},this.getState().files[t.id].progress),{postprocess:n})}):this.log(`Not setting progress for a file that has been removed: ${t.id}`)}),this.on("postprocess-complete",t=>{if(!this.getFile(t.id))return void this.log(`Not setting progress for a file that has been removed: ${t.id}`);const n=mt({},this.getState().files);n[t.id]=mt(mt({},n[t.id]),{progress:mt({},n[t.id].progress)}),delete n[t.id].progress.postprocess,this.setState({files:n})}),this.on("restored",()=>{this.calculateTotalProgress()}),this.on("dashboard:file-edit-complete",t=>{t&&En(this,Am)[Am](t)}),typeof window!="undefined"&&window.addEventListener&&(window.addEventListener("online",En(this,Bs)[Bs]),window.addEventListener("offline",En(this,Bs)[Bs]),setTimeout(En(this,Bs)[Bs],3e3))}function YX(e,t){t===void 0&&(t={});const{forceAllowNewUpload:n=!1}=t,{allowNewUpload:r,currentUploads:i}=this.getState();if(!r&&!n)throw new Error("Cannot create a new upload: already uploading.");const o=LX();return this.emit("upload",{id:o,fileIDs:e}),this.setState({allowNewUpload:this.opts.allowMultipleUploadBatches!==!1&&this.opts.allowMultipleUploads!==!1,currentUploads:mt(mt({},i),{[o]:{fileIDs:e,step:0,result:{}}})}),o}function XX(e){const{currentUploads:t}=this.getState();return t[e]}function JX(e){const t=mt({},this.getState().currentUploads);delete t[e],this.setState({currentUploads:t})}function QX(e){return KR(this,null,function*(){let{currentUploads:t}=this.getState(),n=t[e];const r=n.step||0,i=[...En(this,mf)[mf],...En(this,gf)[gf],...En(this,qu)[qu]];try{for(let a=r;a<i.length&&n;a++){const s=i[a],u=mt(mt({},n),{step:a});this.setState({currentUploads:mt(mt({},t),{[e]:u})}),yield s(u.fileIDs,e),t=this.getState().currentUploads,n=t[e]}}catch(a){throw this.emit("error",a),En(this,vf)[vf](e),a}if(n){n.fileIDs.forEach(l=>{const c=this.getFile(l);c&&c.progress.postprocess&&this.emit("postprocess-complete",c)});const a=n.fileIDs.map(l=>this.getFile(l)),s=a.filter(l=>!l.error),u=a.filter(l=>l.error);yield this.addResultData(e,{successful:s,failed:u,uploadID:e}),t=this.getState().currentUploads,n=t[e]}let o;return n&&(o=n.result,this.emit("complete",o),En(this,vf)[vf](e)),o==null&&this.log(`Not setting result for an upload that has been removed: ${e}`),o})}t8.VERSION="2.1.3";var n8=t8,ZX=ke(function(e,t){var n,r,i,o,a,s,u,l,c={},d=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(Oe,ae){for(var Le in ae)Oe[Le]=ae[Le];return Oe}function E(Oe){var ae=Oe.parentNode;ae&&ae.removeChild(Oe)}function g(Oe,ae,Le){var ut,It,gt,an={};for(gt in ae)gt=="key"?ut=ae[gt]:gt=="ref"?It=ae[gt]:an[gt]=ae[gt];if(arguments.length>2&&(an.children=arguments.length>3?n.call(arguments,2):Le),typeof Oe=="function"&&Oe.defaultProps!=null)for(gt in Oe.defaultProps)an[gt]===void 0&&(an[gt]=Oe.defaultProps[gt]);return y(Oe,an,ut,It,null)}function y(Oe,ae,Le,ut,It){var gt={type:Oe,props:ae,key:Le,ref:ut,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:It==null?++i:It};return It==null&&r.vnode!=null&&r.vnode(gt),gt}function _(Oe){return Oe.children}function m(Oe,ae){this.props=Oe,this.context=ae}function T(Oe,ae){if(ae==null)return Oe.__?T(Oe.__,Oe.__.__k.indexOf(Oe)+1):null;for(var Le;ae<Oe.__k.length;ae++)if((Le=Oe.__k[ae])!=null&&Le.__e!=null)return Le.__e;return typeof Oe.type=="function"?T(Oe):null}function R(Oe){var ae,Le;if((Oe=Oe.__)!=null&&Oe.__c!=null){for(Oe.__e=Oe.__c.base=null,ae=0;ae<Oe.__k.length;ae++)if((Le=Oe.__k[ae])!=null&&Le.__e!=null){Oe.__e=Oe.__c.base=Le.__e;break}return R(Oe)}}function W(Oe){(!Oe.__d&&(Oe.__d=!0)&&a.push(Oe)&&!q.__r++||u!==r.debounceRendering)&&((u=r.debounceRendering)||s)(q)}function q(){for(var Oe;q.__r=a.length;)Oe=a.sort(function(ae,Le){return ae.__v.__b-Le.__v.__b}),a=[],Oe.some(function(ae){var Le,ut,It,gt,an,xn;ae.__d&&(an=(gt=(Le=ae).__v).__e,(xn=Le.__P)&&(ut=[],(It=h({},gt)).__v=gt.__v+1,yt(xn,gt,It,Le.__n,xn.ownerSVGElement!==void 0,gt.__h!=null?[an]:null,ut,an==null?T(gt):an,gt.__h),bt(ut,gt),gt.__e!=an&&R(gt)))})}function X(Oe,ae,Le,ut,It,gt,an,xn,Fn,Jn){var _t,hr,qn,On,$n,ki,Cr,Kr=ut&&ut.__k||d,vi=Kr.length;for(Le.__k=[],_t=0;_t<ae.length;_t++)if((On=Le.__k[_t]=(On=ae[_t])==null||typeof On=="boolean"?null:typeof On=="string"||typeof On=="number"||typeof On=="bigint"?y(null,On,null,null,On):Array.isArray(On)?y(_,{children:On},null,null,null):On.__b>0?y(On.type,On.props,On.key,null,On.__v):On)!=null){if(On.__=Le,On.__b=Le.__b+1,(qn=Kr[_t])===null||qn&&On.key==qn.key&&On.type===qn.type)Kr[_t]=void 0;else for(hr=0;hr<vi;hr++){if((qn=Kr[hr])&&On.key==qn.key&&On.type===qn.type){Kr[hr]=void 0;break}qn=null}yt(Oe,On,qn=qn||c,It,gt,an,xn,Fn,Jn),$n=On.__e,(hr=On.ref)&&qn.ref!=hr&&(Cr||(Cr=[]),qn.ref&&Cr.push(qn.ref,null,On),Cr.push(hr,On.__c||$n,On)),$n!=null?(ki==null&&(ki=$n),typeof On.type=="function"&&On.__k===qn.__k?On.__d=Fn=ge(On,Fn,Oe):Fn=Ne(Oe,On,qn,Kr,$n,Fn),typeof Le.type=="function"&&(Le.__d=Fn)):Fn&&qn.__e==Fn&&Fn.parentNode!=Oe&&(Fn=T(qn))}for(Le.__e=ki,_t=vi;_t--;)Kr[_t]!=null&&(typeof Le.type=="function"&&Kr[_t].__e!=null&&Kr[_t].__e==Le.__d&&(Le.__d=T(ut,_t+1)),mn(Kr[_t],Kr[_t]));if(Cr)for(_t=0;_t<Cr.length;_t++)Jt(Cr[_t],Cr[++_t],Cr[++_t])}function ge(Oe,ae,Le){for(var ut,It=Oe.__k,gt=0;It&&gt<It.length;gt++)(ut=It[gt])&&(ut.__=Oe,ae=typeof ut.type=="function"?ge(ut,ae,Le):Ne(Le,ut,ut,It,ut.__e,ae));return ae}function Ne(Oe,ae,Le,ut,It,gt){var an,xn,Fn;if(ae.__d!==void 0)an=ae.__d,ae.__d=void 0;else if(Le==null||It!=gt||It.parentNode==null)e:if(gt==null||gt.parentNode!==Oe)Oe.appendChild(It),an=null;else{for(xn=gt,Fn=0;(xn=xn.nextSibling)&&Fn<ut.length;Fn+=2)if(xn==It)break e;Oe.insertBefore(It,gt),an=gt}return an!==void 0?an:It.nextSibling}function nt(Oe,ae,Le){ae[0]==="-"?Oe.setProperty(ae,Le):Oe[ae]=Le==null?"":typeof Le!="number"||p.test(ae)?Le:Le+"px"}function dt(Oe,ae,Le,ut,It){var gt;e:if(ae==="style")if(typeof Le=="string")Oe.style.cssText=Le;else{if(typeof ut=="string"&&(Oe.style.cssText=ut=""),ut)for(ae in ut)Le&&ae in Le||nt(Oe.style,ae,"");if(Le)for(ae in Le)ut&&Le[ae]===ut[ae]||nt(Oe.style,ae,Le[ae])}else if(ae[0]==="o"&&ae[1]==="n")gt=ae!==(ae=ae.replace(/Capture$/,"")),ae=ae.toLowerCase()in Oe?ae.toLowerCase().slice(2):ae.slice(2),Oe.l||(Oe.l={}),Oe.l[ae+gt]=Le,Le?ut||Oe.addEventListener(ae,gt?Ct:rt,gt):Oe.removeEventListener(ae,gt?Ct:rt,gt);else if(ae!=="dangerouslySetInnerHTML"){if(It)ae=ae.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if(ae!=="href"&&ae!=="list"&&ae!=="form"&&ae!=="tabIndex"&&ae!=="download"&&ae in Oe)try{Oe[ae]=Le==null?"":Le;break e}catch(an){}typeof Le=="function"||(Le!=null&&(Le!==!1||ae[0]==="a"&&ae[1]==="r")?Oe.setAttribute(ae,Le):Oe.removeAttribute(ae))}}function rt(Oe){this.l[Oe.type+!1](r.event?r.event(Oe):Oe)}function Ct(Oe){this.l[Oe.type+!0](r.event?r.event(Oe):Oe)}function yt(Oe,ae,Le,ut,It,gt,an,xn,Fn){var Jn,_t,hr,qn,On,$n,ki,Cr,Kr,vi,aa,wr=ae.type;if(ae.constructor!==void 0)return null;Le.__h!=null&&(Fn=Le.__h,xn=ae.__e=Le.__e,ae.__h=null,gt=[xn]),(Jn=r.__b)&&Jn(ae);try{e:if(typeof wr=="function"){if(Cr=ae.props,Kr=(Jn=wr.contextType)&&ut[Jn.__c],vi=Jn?Kr?Kr.props.value:Jn.__:ut,Le.__c?ki=(_t=ae.__c=Le.__c).__=_t.__E:("prototype"in wr&&wr.prototype.render?ae.__c=_t=new wr(Cr,vi):(ae.__c=_t=new m(Cr,vi),_t.constructor=wr,_t.render=dn),Kr&&Kr.sub(_t),_t.props=Cr,_t.state||(_t.state={}),_t.context=vi,_t.__n=ut,hr=_t.__d=!0,_t.__h=[]),_t.__s==null&&(_t.__s=_t.state),wr.getDerivedStateFromProps!=null&&(_t.__s==_t.state&&(_t.__s=h({},_t.__s)),h(_t.__s,wr.getDerivedStateFromProps(Cr,_t.__s))),qn=_t.props,On=_t.state,hr)wr.getDerivedStateFromProps==null&&_t.componentWillMount!=null&&_t.componentWillMount(),_t.componentDidMount!=null&&_t.__h.push(_t.componentDidMount);else{if(wr.getDerivedStateFromProps==null&&Cr!==qn&&_t.componentWillReceiveProps!=null&&_t.componentWillReceiveProps(Cr,vi),!_t.__e&&_t.shouldComponentUpdate!=null&&_t.shouldComponentUpdate(Cr,_t.__s,vi)===!1||ae.__v===Le.__v){_t.props=Cr,_t.state=_t.__s,ae.__v!==Le.__v&&(_t.__d=!1),_t.__v=ae,ae.__e=Le.__e,ae.__k=Le.__k,ae.__k.forEach(function(Ta){Ta&&(Ta.__=ae)}),_t.__h.length&&an.push(_t);break e}_t.componentWillUpdate!=null&&_t.componentWillUpdate(Cr,_t.__s,vi),_t.componentDidUpdate!=null&&_t.__h.push(function(){_t.componentDidUpdate(qn,On,$n)})}_t.context=vi,_t.props=Cr,_t.state=_t.__s,(Jn=r.__r)&&Jn(ae),_t.__d=!1,_t.__v=ae,_t.__P=Oe,Jn=_t.render(_t.props,_t.state,_t.context),_t.state=_t.__s,_t.getChildContext!=null&&(ut=h(h({},ut),_t.getChildContext())),hr||_t.getSnapshotBeforeUpdate==null||($n=_t.getSnapshotBeforeUpdate(qn,On)),aa=Jn!=null&&Jn.type===_&&Jn.key==null?Jn.props.children:Jn,X(Oe,Array.isArray(aa)?aa:[aa],ae,Le,ut,It,gt,an,xn,Fn),_t.base=ae.__e,ae.__h=null,_t.__h.length&&an.push(_t),ki&&(_t.__E=_t.__=null),_t.__e=!1}else gt==null&&ae.__v===Le.__v?(ae.__k=Le.__k,ae.__e=Le.__e):ae.__e=Et(Le.__e,ae,Le,ut,It,gt,an,Fn);(Jn=r.diffed)&&Jn(ae)}catch(Ta){ae.__v=null,(Fn||gt!=null)&&(ae.__e=xn,ae.__h=!!Fn,gt[gt.indexOf(xn)]=null),r.__e(Ta,ae,Le)}}function bt(Oe,ae){r.__c&&r.__c(ae,Oe),Oe.some(function(Le){try{Oe=Le.__h,Le.__h=[],Oe.some(function(ut){ut.call(Le)})}catch(ut){r.__e(ut,Le.__v)}})}function Et(Oe,ae,Le,ut,It,gt,an,xn){var Fn,Jn,_t,hr=Le.props,qn=ae.props,On=ae.type,$n=0;if(On==="svg"&&(It=!0),gt!=null){for(;$n<gt.length;$n++)if((Fn=gt[$n])&&"setAttribute"in Fn==!!On&&(On?Fn.localName===On:Fn.nodeType===3)){Oe=Fn,gt[$n]=null;break}}if(Oe==null){if(On===null)return document.createTextNode(qn);Oe=It?document.createElementNS("http://www.w3.org/2000/svg",On):document.createElement(On,qn.is&&qn),gt=null,xn=!1}if(On===null)hr===qn||xn&&Oe.data===qn||(Oe.data=qn);else{if(gt=gt&&n.call(Oe.childNodes),Jn=(hr=Le.props||c).dangerouslySetInnerHTML,_t=qn.dangerouslySetInnerHTML,!xn){if(gt!=null)for(hr={},$n=0;$n<Oe.attributes.length;$n++)hr[Oe.attributes[$n].name]=Oe.attributes[$n].value;(_t||Jn)&&(_t&&(Jn&&_t.__html==Jn.__html||_t.__html===Oe.innerHTML)||(Oe.innerHTML=_t&&_t.__html||""))}if(function(ki,Cr,Kr,vi,aa){var wr;for(wr in Kr)wr==="children"||wr==="key"||wr in Cr||dt(ki,wr,null,Kr[wr],vi);for(wr in Cr)aa&&typeof Cr[wr]!="function"||wr==="children"||wr==="key"||wr==="value"||wr==="checked"||Kr[wr]===Cr[wr]||dt(ki,wr,Cr[wr],Kr[wr],vi)}(Oe,qn,hr,It,xn),_t)ae.__k=[];else if($n=ae.props.children,X(Oe,Array.isArray($n)?$n:[$n],ae,Le,ut,It&&On!=="foreignObject",gt,an,gt?gt[0]:Le.__k&&T(Le,0),xn),gt!=null)for($n=gt.length;$n--;)gt[$n]!=null&&E(gt[$n]);xn||("value"in qn&&($n=qn.value)!==void 0&&($n!==hr.value||$n!==Oe.value||On==="progress"&&!$n)&&dt(Oe,"value",$n,hr.value,!1),"checked"in qn&&($n=qn.checked)!==void 0&&$n!==Oe.checked&&dt(Oe,"checked",$n,hr.checked,!1))}return Oe}function Jt(Oe,ae,Le){try{typeof Oe=="function"?Oe(ae):Oe.current=ae}catch(ut){r.__e(ut,Le)}}function mn(Oe,ae,Le){var ut,It;if(r.unmount&&r.unmount(Oe),(ut=Oe.ref)&&(ut.current&&ut.current!==Oe.__e||Jt(ut,null,ae)),(ut=Oe.__c)!=null){if(ut.componentWillUnmount)try{ut.componentWillUnmount()}catch(gt){r.__e(gt,ae)}ut.base=ut.__P=null}if(ut=Oe.__k)for(It=0;It<ut.length;It++)ut[It]&&mn(ut[It],ae,typeof Oe.type!="function");Le||Oe.__e==null||E(Oe.__e),Oe.__e=Oe.__d=void 0}function dn(Oe,ae,Le){return this.constructor(Oe,Le)}function cn(Oe,ae,Le){var ut,It,gt;r.__&&r.__(Oe,ae),It=(ut=typeof Le=="function")?null:Le&&Le.__k||ae.__k,gt=[],yt(ae,Oe=(!ut&&Le||ae).__k=g(_,null,[Oe]),It||c,c,ae.ownerSVGElement!==void 0,!ut&&Le?[Le]:It?null:ae.firstChild?n.call(ae.childNodes):null,gt,!ut&&Le?Le:It?It.__e:ae.firstChild,ut),bt(gt,Oe)}n=d.slice,r={__e:function(Oe,ae){for(var Le,ut,It;ae=ae.__;)if((Le=ae.__c)&&!Le.__)try{if((ut=Le.constructor)&&ut.getDerivedStateFromError!=null&&(Le.setState(ut.getDerivedStateFromError(Oe)),It=Le.__d),Le.componentDidCatch!=null&&(Le.componentDidCatch(Oe),It=Le.__d),It)return Le.__E=Le}catch(gt){Oe=gt}throw Oe}},i=0,o=function(Oe){return Oe!=null&&Oe.constructor===void 0},m.prototype.setState=function(Oe,ae){var Le;Le=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=h({},this.state),typeof Oe=="function"&&(Oe=Oe(h({},Le),this.props)),Oe&&h(Le,Oe),Oe!=null&&this.__v&&(ae&&this.__h.push(ae),W(this))},m.prototype.forceUpdate=function(Oe){this.__v&&(this.__e=!0,Oe&&this.__h.push(Oe),W(this))},m.prototype.render=_,a=[],s=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,q.__r=0,l=0,t.Component=m,t.Fragment=_,t.cloneElement=function(Oe,ae,Le){var ut,It,gt,an=h({},Oe.props);for(gt in ae)gt=="key"?ut=ae[gt]:gt=="ref"?It=ae[gt]:an[gt]=ae[gt];return arguments.length>2&&(an.children=arguments.length>3?n.call(arguments,2):Le),y(Oe.type,an,ut||Oe.key,It||Oe.ref,null)},t.createContext=function(Oe,ae){var Le={__c:ae="__cC"+l++,__:Oe,Consumer:function(ut,It){return ut.children(It)},Provider:function(ut){var It,gt;return this.getChildContext||(It=[],(gt={})[ae]=this,this.getChildContext=function(){return gt},this.shouldComponentUpdate=function(an){this.props.value!==an.value&&It.some(W)},this.sub=function(an){It.push(an);var xn=an.componentWillUnmount;an.componentWillUnmount=function(){It.splice(It.indexOf(an),1),xn&&xn.call(an)}}),ut.children}};return Le.Provider.__=Le.Consumer.contextType=Le},t.createElement=g,t.createRef=function(){return{current:null}},t.h=g,t.hydrate=function Oe(ae,Le){cn(ae,Le,Oe)},t.isValidElement=o,t.options=r,t.render=cn,t.toChildArray=function Oe(ae,Le){return Le=Le||[],ae==null||typeof ae=="boolean"||(Array.isArray(ae)?ae.some(function(ut){Oe(ut,Le)}):Le.push(ae)),Le}}),qX=function(e,t){return t===void 0&&(t=document),typeof e=="string"?t.querySelector(e):((n=e)==null?void 0:n.nodeType)===Node.ELEMENT_NODE?e:null;var n},nO=class{constructor(e,t){t===void 0&&(t={}),this.uppy=e,this.opts=t}getPluginState(){const{plugins:e}=this.uppy.getState();return e[this.id]||{}}setPluginState(e){const{plugins:t}=this.uppy.getState();this.uppy.setState({plugins:mt(mt({},t),{[this.id]:mt(mt({},t[this.id]),e)})})}setOptions(e){this.opts=mt(mt({},this.opts),e),this.setPluginState(),this.i18nInit()}i18nInit(){const e=new W7([this.defaultLocale,this.uppy.locale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.setPluginState()}addTarget(){throw new Error("Extend the addTarget method to add your plugin to another plugin's target")}install(){}uninstall(){}render(){throw new Error("Extend the render method to add your plugin to a DOM element")}update(){}afterUpdate(){}};function r8(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var $X=0;function eJ(e){return"__private_"+$X+++"_"+e}const{render:i8}=ZX;var Tm=eJ("updateUI");class o8 extends nO{constructor(){super(...arguments),Object.defineProperty(this,Tm,{writable:!0,value:void 0})}mount(e,t){const n=t.id,r=qX(e);if(r){this.isTargetDOMEl=!0;const a=document.createDocumentFragment();return r8(this,Tm)[Tm]=function(s){let u=null,l=null;return function(){for(var c=arguments.length,d=new Array(c),p=0;p<c;p++)d[p]=arguments[p];return l=d,u||(u=Promise.resolve().then(()=>(u=null,s(...l)))),u}}(s=>{this.uppy.getPlugin(this.id)&&(i8(this.render(s),a),this.afterUpdate())}),this.uppy.log(`Installing ${n} to a DOM element '${e}'`),this.opts.replaceTargetContent&&(r.innerHTML=""),i8(this.render(this.uppy.getState()),a),this.el=a.firstElementChild,r.appendChild(a),this.onMount(),this.el}let i;if(typeof e=="object"&&e instanceof o8)i=e;else if(typeof e=="function"){const a=e;this.uppy.iteratePlugins(s=>{if(s instanceof a)return i=s,!1})}if(i)return this.uppy.log(`Installing ${n} to ${i.id}`),this.parent=i,this.el=i.addTarget(t),this.onMount(),this.el;this.uppy.log(`Not installing ${n}`);let o=`Invalid target option given to ${n}.`;throw o+=typeof e=="function"?" The given target is not a Plugin class. Please check that you're not specifying a React Component instead of a plugin. If you are using @uppy/* packages directly, make sure you have only 1 version of @uppy/core installed: run `npm ls @uppy/core` on the command line and verify that all the versions match and are deduped correctly.":"If you meant to target an HTML element, please make sure that the element exists. Check that the <script> tag initializing Uppy is right before the closing </body> tag at the end of the page. (see https://github.com/transloadit/uppy/issues/1042)\n\nIf you meant to target a plugin, please confirm that your `import` statements or `require` calls are correct.",new Error(o)}update(e){var t,n;this.el!=null&&((t=(n=r8(this,Tm))[Tm])==null||t.call(n,e))}unmount(){var e;this.isTargetDOMEl&&((e=this.el)==null||e.remove()),this.onUnmount()}onMount(){}onUnmount(){}}var tJ=o8;const{debugLogger:nJ}=Z7;var Dm=n8,rJ=n8,iJ=tJ,oJ=nO,aJ=nJ;Dm.Uppy=rJ,Dm.UIPlugin=iJ,Dm.BasePlugin=oJ,Dm.debugLogger=aJ;class sJ extends Error{constructor(e,t){t===void 0&&(t=null),super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall."),this.cause=e,this.isNetworkError=!0,this.request=t}}var rO=sJ,iO=function(){return fetch(...arguments).catch(e=>{throw e.name==="AbortError"?e:new rO(e)})};class uJ extends Error{constructor(){super("Authorization required"),this.name="AuthError",this.isAuthError=!0}}var Y1,kl,gu,Fl,a8,lJ=uJ;function vu(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var cJ=0;function oO(e){return"__private_"+cJ+++"_"+e}function aO(e){return KR(this,null,function*(){if(e.status===401)throw new lJ;const t=e.json();if(e.status<200||e.status>300){let n=`Failed request with status: ${e.status}. ${e.statusText}`;try{const r=yield t;n=r.message?`${n} message: ${r.message}`:n,n=r.requestId?`${n} request-Id: ${r.requestId}`:n}finally{throw new Error(n)}}return t})}var sO=(kl=oO("getPostResponseFunc"),gu=oO("getUrl"),Fl=oO("errorHandler"),a8=Y1=class e{constructor(t,n){Object.defineProperty(this,Fl,{value:dJ}),Object.defineProperty(this,gu,{value:fJ}),Object.defineProperty(this,kl,{writable:!0,value:r=>i=>r?i:this.onReceiveResponse(i)}),this.uppy=t,this.opts=n,this.onReceiveResponse=this.onReceiveResponse.bind(this),this.allowedHeaders=["accept","content-type","uppy-auth-token"],this.preflightDone=!1}get hostname(){const{companion:t}=this.uppy.getState(),n=this.opts.companionUrl;return(t&&t[n]?t[n]:n).replace(/\/$/,"")}headers(){const t=this.opts.companionHeaders||{};return Promise.resolve(mt(mt({},e.defaultHeaders),t))}onReceiveResponse(t){const n=this.uppy.getState().companion||{},r=this.opts.companionUrl,{headers:i}=t;return i.has("i-am")&&i.get("i-am")!==n[r]&&this.uppy.setState({companion:mt(mt({},n),{[r]:i.get("i-am")})}),t}preflight(t){return this.preflightDone?Promise.resolve(this.allowedHeaders.slice()):fetch(vu(this,gu)[gu](t),{method:"OPTIONS"}).then(n=>(n.headers.has("access-control-allow-headers")&&(this.allowedHeaders=n.headers.get("access-control-allow-headers").split(",").map(r=>r.trim().toLowerCase())),this.preflightDone=!0,this.allowedHeaders.slice())).catch(n=>(this.uppy.log(`[CompanionClient] unable to make preflight request ${n}`,"warning"),this.preflightDone=!0,this.allowedHeaders.slice()))}preflightAndHeaders(t){return Promise.all([this.preflight(t),this.headers()]).then(n=>{let[r,i]=n;return Object.keys(i).forEach(o=>{r.includes(o.toLowerCase())||(this.uppy.log(`[CompanionClient] excluding disallowed header ${o}`),delete i[o])}),i})}get(t,n){return this.preflightAndHeaders(t).then(r=>iO(vu(this,gu)[gu](t),{method:"get",headers:r,credentials:this.opts.companionCookiesRule||"same-origin"})).then(vu(this,kl)[kl](n)).then(aO).catch(vu(this,Fl)[Fl]("get",t))}post(t,n,r){const i="post";return this.preflightAndHeaders(t).then(o=>iO(vu(this,gu)[gu](t),{method:i,headers:o,credentials:this.opts.companionCookiesRule||"same-origin",body:JSON.stringify(n)})).then(vu(this,kl)[kl](r)).then(aO).catch(vu(this,Fl)[Fl](i,t))}delete(t,n,r){const i="delete";return this.preflightAndHeaders(t).then(o=>iO(`${this.hostname}/${t}`,{method:i,headers:o,credentials:this.opts.companionCookiesRule||"same-origin",body:n?JSON.stringify(n):null})).then(vu(this,kl)[kl](r)).then(aO).catch(vu(this,Fl)[Fl](i,t))}},Y1.VERSION="2.0.4",Y1.defaultHeaders={Accept:"application/json","Content-Type":"application/json","Uppy-Versions":`@uppy/companion-client=${Y1.VERSION}`},a8);function fJ(e){return/^(https?:|)\/\//.test(e)?e:`${this.hostname}/${e}`}function dJ(e,t){return n=>{var r;if((r=n)==null||!r.isAuthError){const i=new Error(`Could not ${e} ${vu(this,gu)[gu](t)}`);i.cause=n,n=i}return Promise.reject(n)}}var hJ={setItem:(e,t)=>new Promise(n=>{localStorage.setItem(e,t),n()}),getItem:e=>Promise.resolve(localStorage.getItem(e)),removeItem:e=>new Promise(t=>{localStorage.removeItem(e),t()})},yu,Bl,fs,ta,X1;let s8,u8;function so(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var pJ=0;function Rm(e){return"__private_"+pJ+++"_"+e}var mJ=(yu=Rm("queued"),Bl=Rm("emitter"),fs=Rm("isOpen"),ta=Rm("socket"),X1=Rm("handleMessage"),s8=Symbol.for("uppy test: getSocket"),u8=Symbol.for("uppy test: getQueued"),class{constructor(e){Object.defineProperty(this,yu,{writable:!0,value:[]}),Object.defineProperty(this,Bl,{writable:!0,value:z7()}),Object.defineProperty(this,fs,{writable:!0,value:!1}),Object.defineProperty(this,ta,{writable:!0,value:void 0}),Object.defineProperty(this,X1,{writable:!0,value:t=>{try{const n=JSON.parse(t.data);this.emit(n.action,n.payload)}catch(n){console.log(n)}}}),this.opts=e,e&&e.autoOpen===!1||this.open()}get isOpen(){return so(this,fs)[fs]}[s8](){return so(this,ta)[ta]}[u8](){return so(this,yu)[yu]}open(){so(this,ta)[ta]=new WebSocket(this.opts.target),so(this,ta)[ta].onopen=()=>{for(so(this,fs)[fs]=!0;so(this,yu)[yu].length>0&&so(this,fs)[fs];){const e=so(this,yu)[yu].shift();this.send(e.action,e.payload)}},so(this,ta)[ta].onclose=()=>{so(this,fs)[fs]=!1},so(this,ta)[ta].onmessage=so(this,X1)[X1]}close(){var e;(e=so(this,ta)[ta])==null||e.close()}send(e,t){so(this,fs)[fs]?so(this,ta)[ta].send(JSON.stringify({action:e,payload:t})):so(this,yu)[yu].push({action:e,payload:t})}on(e,t){so(this,Bl)[Bl].on(e,t)}emit(e,t){so(this,Bl)[Bl].emit(e,t)}once(e,t){so(this,Bl)[Bl].once(e,t)}}),gJ={RequestClient:sO,Provider:class extends sO{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||(n=>n.split("-").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" "))(this.id),this.pluginId=this.opts.pluginId,this.tokenKey=`companion-${this.pluginId}-auth-token`,this.companionKeysParams=this.opts.companionKeysParams,this.preAuthToken=null}headers(){return Promise.all([super.headers(),this.getAuthToken()]).then(e=>{let[t,n]=e;const r={};return n&&(r["uppy-auth-token"]=n),this.companionKeysParams&&(r["uppy-credentials-params"]=btoa(JSON.stringify({params:this.companionKeysParams}))),mt(mt({},t),r)})}onReceiveResponse(e){e=super.onReceiveResponse(e);const t=this.uppy.getPlugin(this.pluginId),n=t.getPluginState().authenticated?e.status!==401:e.status<400;return t.setPluginState({authenticated:n}),e}setAuthToken(e){return this.uppy.getPlugin(this.pluginId).storage.setItem(this.tokenKey,e)}getAuthToken(){return this.uppy.getPlugin(this.pluginId).storage.getItem(this.tokenKey)}authUrl(e){return e===void 0&&(e={}),this.preAuthToken&&(e.uppyPreAuthToken=this.preAuthToken),`${this.hostname}/${this.id}/connect?${new URLSearchParams(e)}`}fileUrl(e){return`${this.hostname}/${this.id}/get/${e}`}fetchPreAuthToken(){return this.companionKeysParams?this.post(`${this.id}/preauth/`,{params:this.companionKeysParams}).then(e=>{this.preAuthToken=e.token}).catch(e=>{this.uppy.log(`[CompanionClient] unable to fetch preAuthToken ${e}`,"warning")}):Promise.resolve()}list(e){return this.get(`${this.id}/list/${e||""}`)}logout(){return this.get(`${this.id}/logout`).then(e=>Promise.all([e,this.uppy.getPlugin(this.pluginId).storage.removeItem(this.tokenKey)])).then(e=>{let[t]=e;return t})}static initPlugin(e,t,n){if(e.type="acquirer",e.files=[],n&&(e.opts=mt(mt({},n),t)),t.serverUrl||t.serverPattern)throw new Error("`serverUrl` and `serverPattern` have been renamed to `companionUrl` and `companionAllowedHosts` respectively in the 0.30.5 release. Please consult the docs (for example, https://uppy.io/docs/instagram/ for the Instagram plugin) and use the updated options.`");if(t.companionAllowedHosts){const r=t.companionAllowedHosts;if(!(typeof r=="string"||Array.isArray(r)||r instanceof RegExp))throw new TypeError(`${e.id}: the option "companionAllowedHosts" must be one of string, Array, RegExp`);e.opts.companionAllowedHosts=r}else/^(?!https?:\/\/).*$/i.test(t.companionUrl)?e.opts.companionAllowedHosts=`https://${t.companionUrl.replace(/^\/\//,"")}`:e.opts.companionAllowedHosts=new URL(t.companionUrl).origin;e.storage=e.opts.storage||hJ}},SearchProvider:class extends sO{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||(n=>n.split("-").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" "))(this.id),this.pluginId=this.opts.pluginId}fileUrl(e){return`${this.hostname}/search/${this.id}/get/${e}`}search(e,t){return t=t?`&${t}`:"",this.get(`search/${this.id}/list?q=${encodeURIComponent(e)}${t}`)}},Socket:mJ},Ul,uh,vJ=pf(function(e,t,n){const{progress:r,bytesUploaded:i,bytesTotal:o}=t;r&&(e.uppy.log(`Upload progress: ${r}`),e.uppy.emit("upload-progress",n,{uploader:e,bytesUploaded:i,bytesTotal:o}))},300,{leading:!0,trailing:!0});function Nm(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var yJ=0;function l8(e){return"__private_"+yJ+++"_"+e}var c8=(Ul=l8("emitter"),uh=l8("events"),class{constructor(e){Object.defineProperty(this,Ul,{writable:!0,value:void 0}),Object.defineProperty(this,uh,{writable:!0,value:[]}),Nm(this,Ul)[Ul]=e}on(e,t){return Nm(this,uh)[uh].push([e,t]),Nm(this,Ul)[Ul].on(e,t)}remove(){for(const[e,t]of Nm(this,uh)[uh].splice(0))Nm(this,Ul)[Ul].off(e,t)}});function ds(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var bJ=0;function J1(e){return"__private_"+bJ+++"_"+e}var tl=J1("aliveTimer"),yf=J1("isDone"),Im=J1("onTimedOut"),bf=J1("timeout"),f8=class{constructor(e,t){Object.defineProperty(this,tl,{writable:!0,value:void 0}),Object.defineProperty(this,yf,{writable:!0,value:!1}),Object.defineProperty(this,Im,{writable:!0,value:void 0}),Object.defineProperty(this,bf,{writable:!0,value:void 0}),ds(this,bf)[bf]=e,ds(this,Im)[Im]=t}progress(){ds(this,yf)[yf]||ds(this,bf)[bf]>0&&(clearTimeout(ds(this,tl)[tl]),ds(this,tl)[tl]=setTimeout(ds(this,Im)[Im],ds(this,bf)[bf]))}done(){ds(this,yf)[yf]||(clearTimeout(ds(this,tl)[tl]),ds(this,tl)[tl]=null,ds(this,yf)[yf]=!0)}};function uo(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var _J=0;function _f(e){return"__private_"+_J+++"_"+e}function EJ(){return new Error("Cancelled")}var Ua=_f("activeRequests"),ma=_f("queuedHandlers"),Pm=_f("call"),Lm=_f("queueNext"),uO=_f("next"),lO=_f("queue"),cO=_f("dequeue");function wJ(e){uo(this,Ua)[Ua]+=1;let t,n=!1;try{t=e()}catch(r){throw uo(this,Ua)[Ua]-=1,r}return{abort:()=>{n||(n=!0,uo(this,Ua)[Ua]-=1,t(),uo(this,Lm)[Lm]())},done:()=>{n||(n=!0,uo(this,Ua)[Ua]-=1,uo(this,Lm)[Lm]())}}}function OJ(){queueMicrotask(()=>uo(this,uO)[uO]())}function AJ(){if(uo(this,Ua)[Ua]>=this.limit)return;if(uo(this,ma)[ma].length===0)return;const e=uo(this,ma)[ma].shift(),t=uo(this,Pm)[Pm](e.fn);e.abort=t.abort,e.done=t.done}function CJ(e,t){t===void 0&&(t={});const n={fn:e,priority:t.priority||0,abort:()=>{uo(this,cO)[cO](n)},done:()=>{throw new Error("Cannot mark a queued request as done: this indicates a bug")}},r=uo(this,ma)[ma].findIndex(i=>n.priority>i.priority);return r===-1?uo(this,ma)[ma].push(n):uo(this,ma)[ma].splice(r,0,n),n}function xJ(e){const t=uo(this,ma)[ma].indexOf(e);t!==-1&&uo(this,ma)[ma].splice(t,1)}var SJ={RateLimitedQueue:class{constructor(e){Object.defineProperty(this,cO,{value:xJ}),Object.defineProperty(this,lO,{value:CJ}),Object.defineProperty(this,uO,{value:AJ}),Object.defineProperty(this,Lm,{value:OJ}),Object.defineProperty(this,Pm,{value:wJ}),Object.defineProperty(this,Ua,{writable:!0,value:0}),Object.defineProperty(this,ma,{writable:!0,value:[]}),this.limit=typeof e!="number"||e===0?1/0:e}run(e,t){return uo(this,Ua)[Ua]<this.limit?uo(this,Pm)[Pm](e):uo(this,lO)[lO](e,t)}wrapPromiseFunction(e,t){var n=this;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];let a;const s=new Promise((u,l)=>{a=n.run(()=>{let c,d;try{d=Promise.resolve(e(...i))}catch(p){d=Promise.reject(p)}return d.then(p=>{c?l(c):(a.done(),u(p))},p=>{c?l(c):(a.done(),l(p))}),()=>{c=EJ()}},t)});return s.abort=()=>{a.abort()},s}}},internalRateLimitedQueue:Symbol("__queue")},d8,h8,p8=function(e){return!!e&&(e.readyState!==0&&e.readyState!==4||e.status===0)},TJ={strings:{timedOut:"Upload stalled for %{seconds} seconds, aborting."}};const{nanoid:DJ}=q7,{Provider:RJ,RequestClient:NJ,Socket:IJ}=gJ,{RateLimitedQueue:PJ,internalRateLimitedQueue:fO}=SJ;function m8(e,t){let n=t;return n||(n=new Error("Upload error")),typeof n=="string"&&(n=new Error(n)),n instanceof Error||(n=Object.assign(new Error("Upload error"),{data:n})),p8(e)?(n=new rO(n,e),n):(n.request=e,n)}function g8(e){return e.data.slice(0,e.data.size,e.meta.type)}var LJ=(h8=d8=class extends nO{constructor(e,t){super(e,t),this.type="uploader",this.id=this.opts.id||"XHRUpload",this.title="XHRUpload",this.defaultLocale=TJ;const n={formData:!0,fieldName:t.bundle?"files[]":"file",method:"post",metaFields:null,responseUrlFieldName:"url",bundle:!1,headers:{},timeout:3e4,limit:5,withCredentials:!1,responseType:"",getResponseData(r){let i={};try{i=JSON.parse(r)}catch(o){e.log(o)}return i},getResponseError(r,i){let o=new Error("Upload error");return p8(i)&&(o=new rO(o,i)),o},validateStatus:r=>r>=200&&r<300};if(this.opts=mt(mt({},n),t),this.i18nInit(),this.handleUpload=this.handleUpload.bind(this),fO in this.opts?this.requests=this.opts[fO]:this.requests=new PJ(this.opts.limit),this.opts.bundle&&!this.opts.formData)throw new Error("`opts.formData` must be true when `opts.bundle` is enabled.");this.uploaderEvents=Object.create(null)}getOptions(e){const t=this.uppy.getState().xhrUpload,{headers:n}=this.opts,r=mt(mt(mt(mt({},this.opts),t||{}),e.xhrUpload||{}),{headers:{}});return typeof n=="function"?r.headers=n(e):Object.assign(r.headers,this.opts.headers),t&&Object.assign(r.headers,t.headers),e.xhrUpload&&Object.assign(r.headers,e.xhrUpload.headers),r}addMetadata(e,t,n){(Array.isArray(n.metaFields)?n.metaFields:Object.keys(t)).forEach(r=>{e.append(r,t[r])})}createFormDataUpload(e,t){const n=new FormData;this.addMetadata(n,e.meta,t);const r=g8(e);return e.name?n.append(t.fieldName,r,e.meta.name):n.append(t.fieldName,r),n}createBundledUpload(e,t){const n=new FormData,{meta:r}=this.uppy.getState();return this.addMetadata(n,r,t),e.forEach(i=>{const o=this.getOptions(i),a=g8(i);i.name?n.append(o.fieldName,a,i.name):n.append(o.fieldName,a)}),n}upload(e,t,n){const r=this.getOptions(e);return this.uppy.log(`uploading ${t} of ${n}`),new Promise((i,o)=>{this.uppy.emit("upload-started",e);const a=r.formData?this.createFormDataUpload(e,r):e.data,s=new XMLHttpRequest;this.uploaderEvents[e.id]=new c8(this.uppy);const u=new f8(r.timeout,()=>{s.abort(),c.done();const d=new Error(this.i18n("timedOut",{seconds:Math.ceil(r.timeout/1e3)}));this.uppy.emit("upload-error",e,d),o(d)}),l=DJ();s.upload.addEventListener("loadstart",()=>{this.uppy.log(`[XHRUpload] ${l} started`)}),s.upload.addEventListener("progress",d=>{this.uppy.log(`[XHRUpload] ${l} progress: ${d.loaded} / ${d.total}`),u.progress(),d.lengthComputable&&this.uppy.emit("upload-progress",e,{uploader:this,bytesUploaded:d.loaded,bytesTotal:d.total})}),s.addEventListener("load",d=>{if(this.uppy.log(`[XHRUpload] ${l} finished`),u.done(),c.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),r.validateStatus(d.target.status,s.responseText,s)){const g=r.getResponseData(s.responseText,s),y=g[r.responseUrlFieldName],_={status:d.target.status,body:g,uploadURL:y};return this.uppy.emit("upload-success",e,_),y&&this.uppy.log(`Download ${e.name} from ${y}`),i(e)}const p=r.getResponseData(s.responseText,s),h=m8(s,r.getResponseError(s.responseText,s)),E={status:d.target.status,body:p};return this.uppy.emit("upload-error",e,h,E),o(h)}),s.addEventListener("error",()=>{this.uppy.log(`[XHRUpload] ${l} errored`),u.done(),c.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null);const d=m8(s,r.getResponseError(s.responseText,s));return this.uppy.emit("upload-error",e,d),o(d)}),s.open(r.method.toUpperCase(),r.endpoint,!0),s.withCredentials=r.withCredentials,r.responseType!==""&&(s.responseType=r.responseType);const c=this.requests.run(()=>{this.uppy.emit("upload-started",e);const d=this.getOptions(e);return Object.keys(d.headers).forEach(p=>{s.setRequestHeader(p,d.headers[p])}),s.send(a),()=>{u.done(),s.abort()}});this.onFileRemove(e.id,()=>{c.abort(),o(new Error("File removed"))}),this.onCancelAll(e.id,()=>{c.abort(),o(new Error("Upload cancelled"))})})}uploadRemote(e){const t=this.getOptions(e);return new Promise((n,r)=>{this.uppy.emit("upload-started",e);const i={};(Array.isArray(t.metaFields)?t.metaFields:Object.keys(e.meta)).forEach(o=>{i[o]=e.meta[o]}),new(e.remote.providerOptions.provider?RJ:NJ)(this.uppy,e.remote.providerOptions).post(e.remote.url,mt(mt({},e.remote.body),{endpoint:t.endpoint,size:e.data.size,fieldname:t.fieldName,metadata:i,httpMethod:t.method,useFormData:t.formData,headers:t.headers})).then(o=>{const{token:a}=o,s=function(c){const d=/^(?:https?:\/\/|\/\/)?(?:[^@\n]+@)?(?:www\.)?([^\n]+)/i.exec(c)[1];return`${/^http:\/\//i.test(c)?"ws":"wss"}://${d}`}(e.remote.companionUrl),u=new IJ({target:`${s}/api/${a}`,autoOpen:!1});this.uploaderEvents[e.id]=new c8(this.uppy),this.onFileRemove(e.id,()=>{u.send("cancel",{}),l.abort(),n(`upload ${e.id} was removed`)}),this.onCancelAll(e.id,()=>{u.send("cancel",{}),l.abort(),n(`upload ${e.id} was canceled`)}),this.onRetry(e.id,()=>{u.send("pause",{}),u.send("resume",{})}),this.onRetryAll(e.id,()=>{u.send("pause",{}),u.send("resume",{})}),u.on("progress",c=>vJ(this,c,e)),u.on("success",c=>{const d=t.getResponseData(c.response.responseText,c.response),p=d[t.responseUrlFieldName],h={status:c.response.status,body:d,uploadURL:p};return this.uppy.emit("upload-success",e,h),l.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),n()}),u.on("error",c=>{const d=c.response,p=d?t.getResponseError(d.responseText,d):Object.assign(new Error(c.error.message),{cause:c.error});this.uppy.emit("upload-error",e,p),l.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),r(p)});const l=this.requests.run(()=>(u.open(),e.isPaused&&u.send("pause",{}),()=>u.close()))}).catch(o=>{this.uppy.emit("upload-error",e,o),r(o)})})}uploadBundle(e){return new Promise((t,n)=>{const{endpoint:r}=this.opts,{method:i}=this.opts,o=this.uppy.getState().xhrUpload,a=this.createBundledUpload(e,mt(mt({},this.opts),o||{})),s=new XMLHttpRequest,u=new f8(this.opts.timeout,()=>{s.abort();const c=new Error(this.i18n("timedOut",{seconds:Math.ceil(this.opts.timeout/1e3)}));l(c),n(c)}),l=c=>{e.forEach(d=>{this.uppy.emit("upload-error",d,c)})};s.upload.addEventListener("loadstart",()=>{this.uppy.log("[XHRUpload] started uploading bundle"),u.progress()}),s.upload.addEventListener("progress",c=>{u.progress(),c.lengthComputable&&e.forEach(d=>{this.uppy.emit("upload-progress",d,{uploader:this,bytesUploaded:c.loaded/c.total*d.size,bytesTotal:d.size})})}),s.addEventListener("load",c=>{if(u.done(),this.opts.validateStatus(c.target.status,s.responseText,s)){const p=this.opts.getResponseData(s.responseText,s),h={status:c.target.status,body:p};return e.forEach(E=>{this.uppy.emit("upload-success",E,h)}),t()}const d=this.opts.getResponseError(s.responseText,s)||new Error("Upload error");return d.request=s,l(d),n(d)}),s.addEventListener("error",()=>{u.done();const c=this.opts.getResponseError(s.responseText,s)||new Error("Upload error");return l(c),n(c)}),this.uppy.on("cancel-all",()=>{u.done(),s.abort()}),s.open(i.toUpperCase(),r,!0),s.withCredentials=this.opts.withCredentials,this.opts.responseType!==""&&(s.responseType=this.opts.responseType),Object.keys(this.opts.headers).forEach(c=>{s.setRequestHeader(c,this.opts.headers[c])}),s.send(a),e.forEach(c=>{this.uppy.emit("upload-started",c)})})}uploadFiles(e){const t=e.map((n,r)=>{const i=parseInt(r,10)+1,o=e.length;return n.error?Promise.reject(new Error(n.error)):n.isRemote?this.uploadRemote(n,i,o):this.upload(n,i,o)});return function(n){const r=[],i=[];function o(s){r.push(s)}function a(s){i.push(s)}return Promise.all(n.map(s=>s.then(o,a))).then(()=>({successful:r,failed:i}))}(t)}onFileRemove(e,t){this.uploaderEvents[e].on("file-removed",n=>{e===n.id&&t(n.id)})}onRetry(e,t){this.uploaderEvents[e].on("upload-retry",n=>{e===n&&t()})}onRetryAll(e,t){this.uploaderEvents[e].on("retry-all",()=>{this.uppy.getFile(e)&&t()})}onCancelAll(e,t){this.uploaderEvents[e].on("cancel-all",()=>{this.uppy.getFile(e)&&t()})}handleUpload(e){if(e.length===0)return this.uppy.log("[XHRUpload] No files to upload!"),Promise.resolve();this.opts.limit!==0||this.opts[fO]||this.uppy.log("[XHRUpload] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/xhr-upload/#limit-0","warning"),this.uppy.log("[XHRUpload] Uploading...");const t=e.map(n=>this.uppy.getFile(n));if(this.opts.bundle){if(t.some(n=>n.isRemote))throw new Error("Can\u2019t upload remote files when the `bundle: true` option is set");if(typeof this.opts.headers=="function")throw new TypeError("`headers` may not be a function when the `bundle: true` option is set");return this.uploadBundle(t)}return this.uploadFiles(t).then(()=>null)}install(){if(this.opts.bundle){const{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:mt(mt({},e),{individualCancellation:!1})})}this.uppy.addUploader(this.handleUpload)}uninstall(){if(this.opts.bundle){const{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:mt(mt({},e),{individualCancellation:!0})})}this.uppy.removeUploader(this.handleUpload)}},d8.VERSION="2.0.6",h8),v8=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof oe!="undefined"?oe:typeof self!="undefined"?self:{};function Mm(e){var t={exports:{}};return e(t,t.exports),t.exports}var Hl,Q1,Z1=function(e){return e&&e.Math==Math&&e},Bt=Z1(typeof globalThis=="object"&&globalThis)||Z1(typeof window=="object"&&window)||Z1(typeof self=="object"&&self)||Z1(typeof v8=="object"&&v8)||function(){return this}()||Function("return this")(),MJ=Object.defineProperty,dO=function(e,t){try{MJ(Bt,e,{value:t,configurable:!0,writable:!0})}catch(n){Bt[e]=t}return t},Wl=Bt["__core-js_shared__"]||dO("__core-js_shared__",{}),hO=Mm(function(e){(e.exports=function(t,n){return Wl[t]||(Wl[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),y8=Function.prototype,pO=y8.bind,mO=y8.call,jJ=pO&&pO.bind(mO),wn=pO?function(e){return e&&jJ(mO,e)}:function(e){return e&&function(){return mO.apply(e,arguments)}},kJ=Bt.TypeError,hs=function(e){if(e==null)throw kJ("Can't call method on "+e);return e},FJ=Bt.Object,zl=function(e){return FJ(hs(e))},BJ=wn({}.hasOwnProperty),Ji=Object.hasOwn||function(e,t){return BJ(zl(e),t)},UJ=0,HJ=Math.random(),WJ=wn(1 .toString),gO=function(e){return"Symbol("+(e===void 0?"":e)+")_"+WJ(++UJ+HJ,36)},Vr=function(e){return typeof e=="function"},zJ=function(e){return Vr(e)?e:void 0},Ef=function(e,t){return arguments.length<2?zJ(Bt[e]):Bt[e]&&Bt[e][t]},lh=Ef("navigator","userAgent")||"",b8=Bt.process,_8=Bt.Deno,E8=b8&&b8.versions||_8&&_8.version,w8=E8&&E8.v8;w8&&(Q1=(Hl=w8.split("."))[0]>0&&Hl[0]<4?1:+(Hl[0]+Hl[1])),!Q1&&lh&&(!(Hl=lh.match(/Edge\/(\d+)/))||Hl[1]>=74)&&(Hl=lh.match(/Chrome\/(\d+)/))&&(Q1=+Hl[1]);var jm=Q1,Fr=function(e){try{return!!e()}catch(t){return!0}},vO=!!Object.getOwnPropertySymbols&&!Fr(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&jm&&jm<41}),yO=vO&&!Symbol.sham&&typeof Symbol.iterator=="symbol",km=hO("wks"),wf=Bt.Symbol,O8=wf&&wf.for,VJ=yO?wf:wf&&wf.withoutSetter||gO,bi=function(e){if(!Ji(km,e)||!vO&&typeof km[e]!="string"){var t="Symbol."+e;vO&&Ji(wf,e)?km[e]=wf[e]:km[e]=yO&&O8?O8(t):VJ(t)}return km[e]},A8={};A8[bi("toStringTag")]="z";var bO=String(A8)==="[object z]",No=!Fr(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),ti=function(e){return typeof e=="object"?e!==null:Vr(e)},_O=Bt.document,GJ=ti(_O)&&ti(_O.createElement),Fm=function(e){return GJ?_O.createElement(e):{}},C8=!No&&!Fr(function(){return Object.defineProperty(Fm("div"),"a",{get:function(){return 7}}).a!=7}),KJ=Bt.String,YJ=Bt.TypeError,Qi=function(e){if(ti(e))return e;throw YJ(KJ(e)+" is not an object")},Bm=Function.prototype.call,Or=Bm.bind?Bm.bind(Bm):function(){return Bm.apply(Bm,arguments)},Of=wn({}.isPrototypeOf),XJ=Bt.Object,EO=yO?function(e){return typeof e=="symbol"}:function(e){var t=Ef("Symbol");return Vr(t)&&Of(t.prototype,XJ(e))},JJ=Bt.String,q1=function(e){try{return JJ(e)}catch(t){return"Object"}},QJ=Bt.TypeError,Vl=function(e){if(Vr(e))return e;throw QJ(q1(e)+" is not a function")},Af=function(e,t){var n=e[t];return n==null?void 0:Vl(n)},ZJ=Bt.TypeError,qJ=Bt.TypeError,$J=bi("toPrimitive"),wO=function(e){var t=function(n,r){if(!ti(n)||EO(n))return n;var i,o=Af(n,$J);if(o){if(r===void 0&&(r="default"),i=Or(o,n,r),!ti(i)||EO(i))return i;throw qJ("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,s){var u,l;if(s==="string"&&Vr(u=a.toString)&&!ti(l=Or(u,a)))return l;if(Vr(u=a.valueOf)&&!ti(l=Or(u,a)))return l;if(s!=="string"&&Vr(u=a.toString)&&!ti(l=Or(u,a)))return l;throw ZJ("Can't convert object to primitive value")}(n,r)}(e,"string");return EO(t)?t:t+""},eQ=Bt.TypeError,x8=Object.defineProperty,Us={f:No?x8:function(e,t,n){if(Qi(e),t=wO(t),Qi(n),C8)try{return x8(e,t,n)}catch(r){}if("get"in n||"set"in n)throw eQ("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},$1=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Hs=No?function(e,t,n){return Us.f(e,t,$1(1,n))}:function(e,t,n){return e[t]=n,e},tQ=wn(Function.toString);Vr(Wl.inspectSource)||(Wl.inspectSource=function(e){return tQ(e)});var ey,Um,ty,ny=Wl.inspectSource,S8=Bt.WeakMap,T8=Vr(S8)&&/native code/.test(ny(S8)),D8=hO("keys"),OO=function(e){return D8[e]||(D8[e]=gO(e))},ry={},AO=Bt.TypeError,nQ=Bt.WeakMap;if(T8||Wl.state){var Cf=Wl.state||(Wl.state=new nQ),rQ=wn(Cf.get),R8=wn(Cf.has),iQ=wn(Cf.set);ey=function(e,t){if(R8(Cf,e))throw new AO("Object already initialized");return t.facade=e,iQ(Cf,e,t),t},Um=function(e){return rQ(Cf,e)||{}},ty=function(e){return R8(Cf,e)}}else{var ch=OO("state");ry[ch]=!0,ey=function(e,t){if(Ji(e,ch))throw new AO("Object already initialized");return t.facade=e,Hs(e,ch,t),t},Um=function(e){return Ji(e,ch)?e[ch]:{}},ty=function(e){return Ji(e,ch)}}var na={set:ey,get:Um,has:ty,enforce:function(e){return ty(e)?Um(e):ey(e,{})},getterFor:function(e){return function(t){var n;if(!ti(t)||(n=Um(t)).type!==e)throw AO("Incompatible receiver, "+e+" required");return n}}},N8=Function.prototype,oQ=No&&Object.getOwnPropertyDescriptor,CO=Ji(N8,"name"),fh={EXISTS:CO,PROPER:CO&&function(){}.name==="something",CONFIGURABLE:CO&&(!No||No&&oQ(N8,"name").configurable)},wa=Mm(function(e){var t=fh.CONFIGURABLE,n=na.get,r=na.enforce,i=String(String).split("String");(e.exports=function(o,a,s,u){var l,c=!!u&&!!u.unsafe,d=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet,h=u&&u.name!==void 0?u.name:a;Vr(s)&&(String(h).slice(0,7)==="Symbol("&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ji(s,"name")||t&&s.name!==h)&&Hs(s,"name",h),(l=r(s)).source||(l.source=i.join(typeof h=="string"?h:""))),o!==Bt?(c?!p&&o[a]&&(d=!0):delete o[a],d?o[a]=s:Hs(o,a,s)):d?o[a]=s:dO(a,s)})(Function.prototype,"toString",function(){return Vr(this)&&n(this).source||ny(this)})}),aQ=wn({}.toString),sQ=wn("".slice),Ws=function(e){return sQ(aQ(e),8,-1)},uQ=bi("toStringTag"),lQ=Bt.Object,cQ=Ws(function(){return arguments}())=="Arguments",iy=bO?Ws:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=lQ(e),uQ))=="string"?n:cQ?Ws(t):(r=Ws(t))=="Object"&&Vr(t.callee)?"Arguments":r},fQ=bO?{}.toString:function(){return"[object "+iy(this)+"]"};bO||wa(Object.prototype,"toString",fQ,{unsafe:!0});var oy={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},xO=Fm("span").classList,I8=xO&&xO.constructor&&xO.constructor.prototype,P8=I8===Object.prototype?void 0:I8,L8=wn(wn.bind),xf=function(e,t){return Vl(e),t===void 0?e:L8?L8(e,t):function(){return e.apply(t,arguments)}},SO=Bt.Object,dQ=wn("".split),ay=Fr(function(){return!SO("z").propertyIsEnumerable(0)})?function(e){return Ws(e)=="String"?dQ(e,""):SO(e)}:SO,hQ=Math.ceil,pQ=Math.floor,Hm=function(e){var t=+e;return t!=t||t===0?0:(t>0?pQ:hQ)(t)},mQ=Math.min,dh=function(e){return e>0?mQ(Hm(e),9007199254740991):0},Sf=function(e){return dh(e.length)},sy=Array.isArray||function(e){return Ws(e)=="Array"},M8=function(){},gQ=[],j8=Ef("Reflect","construct"),TO=/^\s*(?:class|function)\b/,vQ=wn(TO.exec),yQ=!TO.exec(M8),Wm=function(e){if(!Vr(e))return!1;try{return j8(M8,gQ,e),!0}catch(t){return!1}},uy=!j8||Fr(function(){var e;return Wm(Wm.call)||!Wm(Object)||!Wm(function(){e=!0})||e})?function(e){if(!Vr(e))return!1;switch(iy(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return yQ||!!vQ(TO,ny(e))}:Wm,bQ=bi("species"),k8=Bt.Array,F8=function(e,t){return new(function(n){var r;return sy(n)&&(r=n.constructor,(uy(r)&&(r===k8||sy(r.prototype))||ti(r)&&(r=r[bQ])===null)&&(r=void 0)),r===void 0?k8:r}(e))(t===0?0:t)},B8=wn([].push),Gl=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,E=zl(u),g=ay(E),y=xf(l,c),_=Sf(g),m=0,T=d||F8,R=t?T(u,_):n||a?T(u,0):void 0;_>m;m++)if((s||m in g)&&(h=y(p=g[m],m,E),e))if(t)R[m]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return m;case 2:B8(R,p)}else switch(e){case 4:return!1;case 7:B8(R,p)}return o?-1:r||i?i:R}},hh={forEach:Gl(0),map:Gl(1),filter:Gl(2),some:Gl(3),every:Gl(4),find:Gl(5),findIndex:Gl(6),filterReject:Gl(7)},U8=function(e,t){var n=[][e];return!!n&&Fr(function(){n.call(null,t||function(){throw 1},1)})},_Q=hh.forEach,DO=U8("forEach")?[].forEach:function(e){return _Q(this,e,arguments.length>1?arguments[1]:void 0)},H8=function(e){if(e&&e.forEach!==DO)try{Hs(e,"forEach",DO)}catch(t){e.forEach=DO}};for(var RO in oy)oy[RO]&&H8(Bt[RO]&&Bt[RO].prototype);H8(P8);var W8={}.propertyIsEnumerable,z8=Object.getOwnPropertyDescriptor,EQ=z8&&!W8.call({1:2},1)?function(e){var t=z8(this,e);return!!t&&t.enumerable}:W8,V8={f:EQ},Kl=function(e){return ay(hs(e))},G8=Object.getOwnPropertyDescriptor,zm={f:No?G8:function(e,t){if(e=Kl(e),t=wO(t),C8)try{return G8(e,t)}catch(n){}if(Ji(e,t))return $1(!Or(V8.f,e,t),e[t])}},wQ=Math.max,OQ=Math.min,ph=function(e,t){var n=Hm(e);return n<0?wQ(n+t,0):OQ(n,t)},K8=function(e){return function(t,n,r){var i,o=Kl(t),a=Sf(o),s=ph(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Y8={includes:K8(!0),indexOf:K8(!1)},AQ=Y8.indexOf,X8=wn([].push),J8=function(e,t){var n,r=Kl(e),i=0,o=[];for(n in r)!Ji(ry,n)&&Ji(r,n)&&X8(o,n);for(;t.length>i;)Ji(r,n=t[i++])&&(~AQ(o,n)||X8(o,n));return o},ly=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],CQ=ly.concat("length","prototype"),Vm={f:Object.getOwnPropertyNames||function(e){return J8(e,CQ)}},Q8={f:Object.getOwnPropertySymbols},xQ=wn([].concat),SQ=Ef("Reflect","ownKeys")||function(e){var t=Vm.f(Qi(e)),n=Q8.f;return n?xQ(t,n(e)):t},TQ=function(e,t){for(var n=SQ(t),r=Us.f,i=zm.f,o=0;o<n.length;o++){var a=n[o];Ji(e,a)||r(e,a,i(t,a))}},DQ=/#|\.prototype\./,Gm=function(e,t){var n=NQ[RQ(e)];return n==PQ||n!=IQ&&(Vr(t)?Fr(t):!!t)},RQ=Gm.normalize=function(e){return String(e).replace(DQ,".").toLowerCase()},NQ=Gm.data={},IQ=Gm.NATIVE="N",PQ=Gm.POLYFILL="P",Km=Gm,LQ=zm.f,_i=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,l=e.stat;if(n=u?Bt:l?Bt[s]||dO(s,{}):(Bt[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=LQ(n,r))&&a.value:n[r],!Km(u?r:s+(l?".":"#")+r,e.forced)&&i!==void 0){if(typeof o==typeof i)continue;TQ(o,i)}(e.sham||i&&i.sham)&&Hs(o,"sham",!0),wa(n,r,o,e)}},mh=Object.keys||function(e){return J8(e,ly)},MQ=Fr(function(){mh(1)});/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/function Z8(e){return Object.prototype.toString.call(e)==="[object Object]"}_i({target:"Object",stat:!0,forced:MQ},{keys:function(e){return mh(zl(e))}});var jQ={isHistory(e){return Z8(t=e)!==!1&&((n=t.constructor)===void 0||Z8(r=n.prototype)!==!1&&r.hasOwnProperty("isPrototypeOf")!==!1)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(e.redos.length===0||Pl.isOperationList(e.redos[0]))&&(e.undos.length===0||Pl.isOperationList(e.undos[0]));var t,n,r}},NO=new WeakMap,IO=new WeakMap,gh={isHistoryEditor:e=>jQ.isHistory(e.history)&&U.isEditor(e),isMerging:e=>IO.get(e),isSaving:e=>NO.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=gh.isMerging(e);IO.set(e,!1),t(),IO.set(e,n)},withoutSaving(e,t){var n=gh.isSaving(e);NO.set(e,!1),t(),NO.set(e,n)}},kQ=Bt.String,qr=function(e){if(iy(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return kQ(e)},PO=function(){var e=Qi(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},FQ=fh.PROPER,LO=RegExp.prototype,q8=LO.toString,BQ=wn(PO),UQ=Fr(function(){return q8.call({source:"a",flags:"b"})!="/a/b"}),HQ=FQ&&q8.name!="toString";(UQ||HQ)&&wa(RegExp.prototype,"toString",function(){var e=Qi(this),t=qr(e.source),n=e.flags;return"/"+t+"/"+qr(n===void 0&&Of(LO,e)&&!("flags"in LO)?BQ(e):n)},{unsafe:!0});var cy,WQ=No?Object.defineProperties:function(e,t){Qi(e);for(var n,r=Kl(t),i=mh(t),o=i.length,a=0;o>a;)Us.f(e,n=i[a++],r[n]);return e},MO=Ef("document","documentElement"),$8=OO("IE_PROTO"),jO=function(){},e6=function(e){return"<script>"+e+"</script>"},t6=function(e){e.write(e6("")),e.close();var t=e.parentWindow.Object;return e=null,t},fy=function(){try{cy=new ActiveXObject("htmlfile")}catch(r){}var e,t;fy=typeof document!="undefined"?document.domain&&cy?t6(cy):((t=Fm("iframe")).style.display="none",MO.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(e6("document.F=Object")),e.close(),e.F):t6(cy);for(var n=ly.length;n--;)delete fy.prototype[ly[n]];return fy()};ry[$8]=!0;var dy=Object.create||function(e,t){var n;return e!==null?(jO.prototype=Qi(e),n=new jO,jO.prototype=null,n[$8]=e):n=fy(),t===void 0?n:WQ(n,t)},kO=bi("unscopables"),FO=Array.prototype;FO[kO]==null&&Us.f(FO,kO,{configurable:!0,value:dy(null)});var Ym=function(e){FO[kO][e]=!0},zQ=Y8.includes;_i({target:"Array",proto:!0},{includes:function(e){return zQ(this,e,arguments.length>1?arguments[1]:void 0)}}),Ym("includes");var VQ=bi("match"),BO=function(e){var t;return ti(e)&&((t=e[VQ])!==void 0?!!t:Ws(e)=="RegExp")},GQ=Bt.TypeError,UO=function(e){if(BO(e))throw GQ("The method doesn't accept regular expressions");return e},KQ=bi("match"),HO=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[KQ]=!1,"/./"[e](t)}catch(r){}}return!1},YQ=wn("".indexOf);_i({target:"String",proto:!0,forced:!HO("includes")},{includes:function(e){return!!~YQ(qr(hs(this)),qr(UO(e)),arguments.length>1?arguments[1]:void 0)}});var XQ=/"/g,JQ=wn("".replace);_i({target:"String",proto:!0,forced:Fr(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){return t=e,n=qr(hs(this)),r="<a",(r+=' name="'+JQ(qr(t),XQ,"&quot;")+'"')+">"+n+"</a>";var t,n,r}});var WO=function(e,t,n){var r,i;Qi(e);try{if(!(r=Af(e,"return"))){if(t==="throw")throw n;return n}r=Or(r,e)}catch(o){i=!0,r=o}if(t==="throw")throw n;if(i)throw r;return Qi(r),n},QQ=function(e,t,n,r){try{return r?t(Qi(n)[0],n[1]):t(n)}catch(i){WO(e,"throw",i)}},vh={},ZQ=bi("iterator"),qQ=Array.prototype,n6=function(e){return e!==void 0&&(vh.Array===e||qQ[ZQ]===e)},Xm=function(e,t,n){var r=wO(t);r in e?Us.f(e,r,$1(0,n)):e[r]=n},$Q=bi("iterator"),zO=function(e){if(e!=null)return Af(e,$Q)||Af(e,"@@iterator")||vh[iy(e)]},eZ=Bt.TypeError,r6=function(e,t){var n=arguments.length<2?zO(e):t;if(Vl(n))return Qi(Or(n,e));throw eZ(q1(e)+" is not iterable")},i6=Bt.Array,o6=bi("iterator"),a6=!1;try{var tZ=0,s6={next:function(){return{done:!!tZ++}},return:function(){a6=!0}};s6[o6]=function(){return this},Array.from(s6,function(){throw 2})}catch(e){}var VO=function(e,t){if(!t&&!a6)return!1;var n=!1;try{var r={};r[o6]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(i){}return n},nZ=!VO(function(e){Array.from(e)});_i({target:"Array",stat:!0,forced:nZ},{from:function(e){var t=zl(e),n=uy(this),r=arguments.length,i=r>1?arguments[1]:void 0,o=i!==void 0;o&&(i=xf(i,r>2?arguments[2]:void 0));var a,s,u,l,c,d,p=zO(t),h=0;if(!p||this==i6&&n6(p))for(a=Sf(t),s=n?new this(a):i6(a);a>h;h++)d=o?i(t[h],h):t[h],Xm(s,h,d);else for(c=(l=r6(t,p)).next,s=n?new this:[];!(u=Or(c,l)).done;h++)d=o?QQ(l,i,[u.value,h],!0):u.value,Xm(s,h,d);return s.length=h,s}});var Tf,u6,l6,rZ=wn("".charAt),c6=wn("".charCodeAt),iZ=wn("".slice),f6=function(e){return function(t,n){var r,i,o=qr(hs(t)),a=Hm(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=c6(o,a))<55296||r>56319||a+1===s||(i=c6(o,a+1))<56320||i>57343?e?rZ(o,a):r:e?iZ(o,a,a+2):i-56320+(r-55296<<10)+65536}},d6={codeAt:f6(!1),charAt:f6(!0)},oZ=!Fr(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),h6=OO("IE_PROTO"),GO=Bt.Object,aZ=GO.prototype,hy=oZ?GO.getPrototypeOf:function(e){var t=zl(e);if(Ji(t,h6))return t[h6];var n=t.constructor;return Vr(n)&&t instanceof n?n.prototype:t instanceof GO?aZ:null},KO=bi("iterator"),p6=!1;[].keys&&("next"in(l6=[].keys())?(u6=hy(hy(l6)))!==Object.prototype&&(Tf=u6):p6=!0);var sZ=Tf==null||Fr(function(){var e={};return Tf[KO].call(e)!==e});sZ&&(Tf={}),Vr(Tf[KO])||wa(Tf,KO,function(){return this});var YO={IteratorPrototype:Tf,BUGGY_SAFARI_ITERATORS:p6},uZ=Us.f,m6=bi("toStringTag"),py=function(e,t,n){e&&!Ji(e=n?e:e.prototype,m6)&&uZ(e,m6,{configurable:!0,value:t})},lZ=YO.IteratorPrototype,cZ=function(){return this},fZ=Bt.String,dZ=Bt.TypeError,yh=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=wn(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,i){return Qi(r),function(o){if(typeof o=="object"||Vr(o))return o;throw dZ("Can't set "+fZ(o)+" as a prototype")}(i),t?e(r,i):r.__proto__=i,r}}():void 0),hZ=fh.PROPER,pZ=fh.CONFIGURABLE,g6=YO.IteratorPrototype,my=YO.BUGGY_SAFARI_ITERATORS,Jm=bi("iterator"),mZ=function(){return this},XO=function(e,t,n,r,i,o,a){!function(_,m,T,R){var W=m+" Iterator";_.prototype=dy(lZ,{next:$1(1,T)}),py(_,W,!1),vh[W]=cZ}(n,t,r);var s,u,l,c=function(_){if(_===i&&g)return g;if(!my&&_ in h)return h[_];switch(_){case"keys":case"values":case"entries":return function(){return new n(this,_)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,E=h[Jm]||h["@@iterator"]||i&&h[i],g=!my&&E||c(i),y=t=="Array"&&h.entries||E;if(y&&(s=hy(y.call(new e)))!==Object.prototype&&s.next&&(hy(s)!==g6&&(yh?yh(s,g6):Vr(s[Jm])||wa(s,Jm,mZ)),py(s,d,!0)),hZ&&i=="values"&&E&&E.name!=="values"&&(pZ?Hs(h,"name","values"):(p=!0,g=function(){return Or(E,this)})),i)if(u={values:c("values"),keys:o?g:c("keys"),entries:c("entries")},a)for(l in u)(my||p||!(l in h))&&wa(h,l,u[l]);else _i({target:t,proto:!0,forced:my||p},u);return h[Jm]!==g&&wa(h,Jm,g,{name:i}),vh[t]=g,u},gZ=d6.charAt,vZ=na.set,yZ=na.getterFor("String Iterator");XO(String,"String",function(e){vZ(this,{type:"String Iterator",string:qr(e),index:0})},function(){var e,t=yZ(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=gZ(n,r),t.index+=e.length,{value:e,done:!1})});var JO,bZ=zm.f,v6=wn("".endsWith),_Z=wn("".slice),EZ=Math.min,y6=HO("endsWith"),wZ=!(y6||(JO=bZ(String.prototype,"endsWith"),!JO||JO.writable));_i({target:"String",proto:!0,forced:!wZ&&!y6},{endsWith:function(e){var t=qr(hs(this));UO(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,i=n===void 0?r:EZ(dh(n),r),o=qr(e);return v6?v6(t,o,i):_Z(t,i-o.length,i)===o}});var OZ=wn([].join),AZ=ay!=Object,CZ=U8("join",",");_i({target:"Array",proto:!0,forced:AZ||!CZ},{join:function(e){return OZ(Kl(this),e===void 0?",":e)}});var xZ=bi("species"),gy=function(e){return jm>=51||!Fr(function(){var t=[];return(t.constructor={})[xZ]=function(){return{foo:1}},t[e](Boolean).foo!==1})},SZ=hh.map,TZ=gy("map");_i({target:"Array",proto:!0,forced:!TZ},{map:function(e){return SZ(this,e,arguments.length>1?arguments[1]:void 0)}});var QO=Bt.RegExp,ZO=Fr(function(){var e=QO("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),DZ=ZO||Fr(function(){return!QO("a","y").sticky}),vy={BROKEN_CARET:ZO||Fr(function(){var e=QO("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:DZ,UNSUPPORTED_Y:ZO},RZ=Bt.RegExp,qO=Fr(function(){var e=RZ(".","s");return!(e.dotAll&&e.exec(`
`)&&e.flags==="s")}),NZ=Bt.RegExp,$O=Fr(function(){var e=NZ("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),IZ=na.get,PZ=hO("native-string-replace",String.prototype.replace),yy=RegExp.prototype.exec,eA=yy,LZ=wn("".charAt),MZ=wn("".indexOf),jZ=wn("".replace),tA=wn("".slice),nA=function(){var e=/a/,t=/b*/g;return Or(yy,e,"a"),Or(yy,t,"a"),e.lastIndex!==0||t.lastIndex!==0}(),b6=vy.BROKEN_CARET,rA=/()??/.exec("")[1]!==void 0;(nA||rA||b6||qO||$O)&&(eA=function(e){var t,n,r,i,o,a,s,u=this,l=IZ(u),c=qr(e),d=l.raw;if(d)return d.lastIndex=u.lastIndex,t=Or(eA,d,c),u.lastIndex=d.lastIndex,t;var p=l.groups,h=b6&&u.sticky,E=Or(PO,u),g=u.source,y=0,_=c;if(h&&(E=jZ(E,"y",""),MZ(E,"g")===-1&&(E+="g"),_=tA(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&LZ(c,u.lastIndex-1)!==`
`)&&(g="(?: "+g+")",_=" "+_,y++),n=new RegExp("^(?:"+g+")",E)),rA&&(n=new RegExp("^"+g+"$(?!\\s)",E)),nA&&(r=u.lastIndex),i=Or(yy,h?n:u,_),h?i?(i.input=tA(i.input,y),i[0]=tA(i[0],y),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:nA&&i&&(u.lastIndex=u.global?i.index+i[0].length:r),rA&&i&&i.length>1&&Or(PZ,i[0],n,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(i[o]=void 0)}),i&&p)for(i.groups=a=dy(null),o=0;o<p.length;o++)a[(s=p[o])[0]]=i[s[1]];return i});var Qm=eA;_i({target:"RegExp",proto:!0,forced:/./.exec!==Qm},{exec:Qm});var iA=Function.prototype,_6=iA.apply,kZ=iA.bind,E6=iA.call,oA=typeof Reflect=="object"&&Reflect.apply||(kZ?E6.bind(_6):function(){return E6.apply(_6,arguments)}),FZ=bi("species"),aA=RegExp.prototype,sA=function(e,t,n,r){var i=bi(e),o=!Fr(function(){var l={};return l[i]=function(){return 7},""[e](l)!=7}),a=o&&!Fr(function(){var l=!1,c=/a/;return e==="split"&&((c={}).constructor={},c.constructor[FZ]=function(){return c},c.flags="",c[i]=/./[i]),c.exec=function(){return l=!0,null},c[i](""),!l});if(!o||!a||n){var s=wn(/./[i]),u=t(i,""[e],function(l,c,d,p,h){var E=wn(l),g=c.exec;return g===Qm||g===aA.exec?o&&!h?{done:!0,value:s(c,d,p)}:{done:!0,value:E(d,c,p)}:{done:!1}});wa(String.prototype,e,u[0]),wa(aA,i,u[1])}r&&Hs(aA[i],"sham",!0)},BZ=d6.charAt,uA=function(e,t,n){return t+(n?BZ(e,t).length:1)},UZ=Math.floor,lA=wn("".charAt),HZ=wn("".replace),cA=wn("".slice),WZ=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,zZ=/\$([$&'`]|\d{1,2})/g,VZ=function(e,t,n,r,i,o){var a=n+e.length,s=r.length,u=zZ;return i!==void 0&&(i=zl(i),u=WZ),HZ(o,u,function(l,c){var d;switch(lA(c,0)){case"$":return"$";case"&":return e;case"`":return cA(t,0,n);case"'":return cA(t,a);case"<":d=i[cA(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>s){var h=UZ(p/10);return h===0?l:h<=s?r[h-1]===void 0?lA(c,1):r[h-1]+lA(c,1):l}d=r[p-1]}return d===void 0?"":d})},GZ=Bt.TypeError,Zm=function(e,t){var n=e.exec;if(Vr(n)){var r=Or(n,e,t);return r!==null&&Qi(r),r}if(Ws(e)==="RegExp")return Or(Qm,e,t);throw GZ("RegExp#exec called on incompatible receiver")},fA=bi("replace"),KZ=Math.max,YZ=Math.min,XZ=wn([].concat),dA=wn([].push),w6=wn("".indexOf),O6=wn("".slice),JZ="a".replace(/./,"$0")==="$0",A6=!!/./[fA]&&/./[fA]("a","$0")==="";sA("replace",function(e,t,n){var r=A6?"$":"$0";return[function(i,o){var a=hs(this),s=i==null?void 0:Af(i,fA);return s?Or(s,i,a,o):Or(t,qr(a),i,o)},function(i,o){var a=Qi(this),s=qr(i);if(typeof o=="string"&&w6(o,r)===-1&&w6(o,"$<")===-1){var u=n(t,a,s,o);if(u.done)return u.value}var l=Vr(o);l||(o=qr(o));var c=a.global;if(c){var d=a.unicode;a.lastIndex=0}for(var p=[];;){var h=Zm(a,s);if(h===null)break;if(dA(p,h),!c)break;qr(h[0])===""&&(a.lastIndex=uA(s,dh(a.lastIndex),d))}for(var E,g="",y=0,_=0;_<p.length;_++){for(var m=qr((h=p[_])[0]),T=KZ(YZ(Hm(h.index),s.length),0),R=[],W=1;W<h.length;W++)dA(R,(E=h[W])===void 0?E:String(E));var q=h.groups;if(l){var X=XZ([m],R,T,s);q!==void 0&&dA(X,q);var ge=qr(oA(o,void 0,X))}else ge=VZ(m,s,T,R,q,o);T>=y&&(g+=O6(s,y,T)+ge,y=T+m.length)}return g+O6(s,y)}]},!!Fr(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!JZ||A6);/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var hA=function(e,t){return hA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},hA(e,t)};function bh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}hA(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var ps=function(){return ps=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ps.apply(this,arguments)};function ms(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=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 Ar(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function pA(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}var QZ=0,C6=function(){this.id=""+QZ++},ZZ=na.set,qZ=na.getterFor("Array Iterator"),qm=XO(Array,"Array",function(e,t){ZZ(this,{type:"Array Iterator",target:Kl(e),index:0,kind:t})},function(){var e=qZ(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");vh.Arguments=vh.Array,Ym("keys"),Ym("values"),Ym("entries");var _h=function(e,t,n){for(var r in t)wa(e,r,t[r],n);return e},$Z=Bt.Array,eq=Math.max,mA=function(e,t,n){for(var r=Sf(e),i=ph(t,r),o=ph(n===void 0?r:n,r),a=$Z(eq(o-i,0)),s=0;i<o;i++,s++)Xm(a,s,e[i]);return a.length=s,a},x6=Vm.f,S6=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],tq={f:function(e){return S6&&Ws(e)=="Window"?function(t){try{return x6(t)}catch(n){return mA(S6)}}(e):x6(Kl(e))}},T6=Fr(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),by=Object.isExtensible,Df=Fr(function(){by(1)})||T6?function(e){return!!ti(e)&&(!T6||Ws(e)!="ArrayBuffer")&&(!by||by(e))}:by,nq=!Fr(function(){return Object.isExtensible(Object.preventExtensions({}))}),_y=Mm(function(e){var t=Us.f,n=!1,r=gO("meta"),i=0,o=function(s){t(s,r,{value:{objectID:"O"+i++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var s=Vm.f,u=wn([].splice),l={};l[r]=1,s(l).length&&(Vm.f=function(c){for(var d=s(c),p=0,h=d.length;p<h;p++)if(d[p]===r){u(d,p,1);break}return d},_i({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:tq.f}))},fastKey:function(s,u){if(!ti(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!Ji(s,r)){if(!Df(s))return"F";if(!u)return"E";o(s)}return s[r].objectID},getWeakData:function(s,u){if(!Ji(s,r)){if(!Df(s))return!0;if(!u)return!1;o(s)}return s[r].weakData},onFreeze:function(s){return nq&&n&&Df(s)&&!Ji(s,r)&&o(s),s}};ry[r]=!0}),rq=Bt.TypeError,Ey=function(e,t){this.stopped=e,this.result=t},D6=Ey.prototype,$m=function(e,t,n){var r,i,o,a,s,u,l,c=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),E=xf(t,c),g=function(_){return r&&WO(r,"normal",_),new Ey(!0,_)},y=function(_){return d?(Qi(_),h?E(_[0],_[1],g):E(_[0],_[1])):h?E(_,g):E(_)};if(p)r=e;else{if(!(i=zO(e)))throw rq(q1(e)+" is not iterable");if(n6(i)){for(o=0,a=Sf(e);a>o;o++)if((s=y(e[o]))&&Of(D6,s))return s;return new Ey(!1)}r=r6(e,i)}for(u=r.next;!(l=Or(u,r)).done;){try{s=y(l.value)}catch(_){WO(r,"throw",_)}if(typeof s=="object"&&s&&Of(D6,s))return s}return new Ey(!1)},iq=Bt.TypeError,wy=function(e,t){if(Of(t,e))return e;throw iq("Incorrect invocation")},R6=function(e,t,n){var r,i;return yh&&Vr(r=t.constructor)&&r!==n&&ti(i=r.prototype)&&i!==n.prototype&&yh(e,i),e},N6=function(e,t,n){var r=e.indexOf("Map")!==-1,i=e.indexOf("Weak")!==-1,o=r?"set":"add",a=Bt[e],s=a&&a.prototype,u=a,l={},c=function(y){var _=wn(s[y]);wa(s,y,y=="add"?function(m){return _(this,m===0?0:m),this}:y=="delete"?function(m){return!(i&&!ti(m))&&_(this,m===0?0:m)}:y=="get"?function(m){return i&&!ti(m)?void 0:_(this,m===0?0:m)}:y=="has"?function(m){return!(i&&!ti(m))&&_(this,m===0?0:m)}:function(m,T){return _(this,m===0?0:m,T),this})};if(Km(e,!Vr(a)||!(i||s.forEach&&!Fr(function(){new a().entries().next()}))))u=n.getConstructor(t,e,r,o),_y.enable();else if(Km(e,!0)){var d=new u,p=d[o](i?{}:-0,1)!=d,h=Fr(function(){d.has(1)}),E=VO(function(y){new a(y)}),g=!i&&Fr(function(){for(var y=new a,_=5;_--;)y[o](_,_);return!y.has(-0)});E||((u=t(function(y,_){wy(y,s);var m=R6(new a,y,u);return _!=null&&$m(_,m[o],{that:m,AS_ENTRIES:r}),m})).prototype=s,s.constructor=u),(h||g)&&(c("delete"),c("has"),r&&c("get")),(g||p)&&c(o),i&&s.clear&&delete s.clear}return l[e]=u,_i({global:!0,forced:u!=a},l),py(u,e),i||n.setStrong(u,e,r),u},Oy=_y.getWeakData,oq=na.set,aq=na.getterFor,sq=hh.find,uq=hh.findIndex,lq=wn([].splice),cq=0,Ay=function(e){return e.frozen||(e.frozen=new I6)},I6=function(){this.entries=[]},gA=function(e,t){return sq(e.entries,function(n){return n[0]===t})};I6.prototype={get:function(e){var t=gA(this,e);if(t)return t[1]},has:function(e){return!!gA(this,e)},set:function(e,t){var n=gA(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=uq(this.entries,function(n){return n[0]===e});return~t&&lq(this.entries,t,1),!!~t}};var eg,P6={getConstructor:function(e,t,n,r){var i=e(function(u,l){wy(u,o),oq(u,{type:t,id:cq++,frozen:void 0}),l!=null&&$m(l,u[r],{that:u,AS_ENTRIES:n})}),o=i.prototype,a=aq(t),s=function(u,l,c){var d=a(u),p=Oy(Qi(l),!0);return p===!0?Ay(d).set(l,c):p[d.id]=c,u};return _h(o,{delete:function(u){var l=a(this);if(!ti(u))return!1;var c=Oy(u);return c===!0?Ay(l).delete(u):c&&Ji(c,l.id)&&delete c[l.id]},has:function(u){var l=a(this);if(!ti(u))return!1;var c=Oy(u);return c===!0?Ay(l).has(u):c&&Ji(c,l.id)}}),_h(o,n?{get:function(u){var l=a(this);if(ti(u)){var c=Oy(u);return c===!0?Ay(l).get(u):c?c[l.id]:void 0}},set:function(u,l){return s(this,u,l)}}:{add:function(u){return s(this,u,!0)}}),i}},Cy=na.enforce,fq=!Bt.ActiveXObject&&"ActiveXObject"in Bt,L6=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},dq=N6("WeakMap",L6,P6);if(T8&&fq){eg=P6.getConstructor(L6,"WeakMap",!0),_y.enable();var tg=dq.prototype,M6=wn(tg.delete),xy=wn(tg.has),j6=wn(tg.get),k6=wn(tg.set);_h(tg,{delete:function(e){if(ti(e)&&!Df(e)){var t=Cy(this);return t.frozen||(t.frozen=new eg),M6(this,e)||t.frozen.delete(e)}return M6(this,e)},has:function(e){if(ti(e)&&!Df(e)){var t=Cy(this);return t.frozen||(t.frozen=new eg),xy(this,e)||t.frozen.has(e)}return xy(this,e)},get:function(e){if(ti(e)&&!Df(e)){var t=Cy(this);return t.frozen||(t.frozen=new eg),xy(this,e)?j6(this,e):t.frozen.get(e)}return j6(this,e)},set:function(e,t){if(ti(e)&&!Df(e)){var n=Cy(this);n.frozen||(n.frozen=new eg),xy(this,e)?k6(this,e,t):n.frozen.set(e,t)}else k6(this,e,t);return this}})}var vA=bi("iterator"),F6=bi("toStringTag"),yA=qm.values,B6=function(e,t){if(e){if(e[vA]!==yA)try{Hs(e,vA,yA)}catch(r){e[vA]=yA}if(e[F6]||Hs(e,F6,t),oy[t]){for(var n in qm)if(e[n]!==qm[n])try{Hs(e,n,qm[n])}catch(r){e[n]=qm[n]}}}};for(var bA in oy)B6(Bt[bA]&&Bt[bA].prototype,bA);B6(P8,"DOMTokenList");var _A=new WeakMap,EA=new WeakMap,wA=new WeakMap,Sy=new WeakMap,OA=new WeakMap,Ty=new WeakMap,AA=new WeakMap,CA=new WeakMap,Dy=new WeakMap,U6=new WeakMap,H6=new WeakMap,W6=new WeakMap,z6=new WeakMap,ng=new WeakMap,Eh=new WeakMap,xA=new WeakMap,Ry=new WeakMap,SA=new WeakMap,Ny=new WeakMap,Iy=new WeakMap,V6=new WeakMap,Rf=new WeakMap,TA=new WeakMap,G6=new WeakMap,DA=new WeakMap,hq=hh.find,K6=!0;"find"in[]&&Array(1).find(function(){K6=!1}),_i({target:"Array",proto:!0,forced:K6},{find:function(e){return hq(this,e,arguments.length>1?arguments[1]:void 0)}}),Ym("find"),_i({global:!0},{globalThis:Bt});const pq=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"];j1&&(we.fn.css=j1),cs&&(we.fn.append=cs),Jd&&(we.fn.addClass=Jd),Qd&&(we.fn.removeClass=Qd),Zd&&(we.fn.hasClass=Zd),pu&&(we.fn.on=pu),jl&&(we.fn.focus=jl),ls&&(we.fn.attr=ls),I1&&(we.fn.removeAttr=I1),$d&&(we.fn.hide=$d),M1&&(we.fn.show=M1),QN&&(we.fn.offset=QN),P1&&(we.fn.width=P1),L1&&(we.fn.height=L1),eh&&(we.fn.parent=eh),B1&&(we.fn.parents=B1),qN&&(we.fn.is=qN),qd&&(we.fn.dataset=qd),hu&&(we.fn.val=hu),F1&&(we.fn.text=F1),Ml&&(we.fn.html=Ml),nh&&(we.fn.children=nh),rh&&(we.fn.remove=rh),th&&(we.fn.find=th),k1&&(we.fn.each=k1),ih&&(we.fn.empty=ih);var bu,ra,RA=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||null},zs=function(e){return Nf(e)&&e.nodeType===1},Nf=function(e){var t=RA(e);return!!t&&e instanceof t.Node},Y6=function(e){var t=e&&e.anchorNode&&RA(e.anchorNode);return!!t&&e instanceof t.Selection},X6=function(e){return Nf(e)&&e.nodeType===3},NA=function(e){var t,n,r;return(t=window.document.getElementById(e))!==null&&t!==void 0?t:((r=(n=window.document.activeElement)===null||n===void 0?void 0:n.shadowRoot)===null||r===void 0?void 0:r.getElementById(e))||null},J6=function(e,t,n){for(var r,i=e.childNodes,o=i[t],a=t,s=!1,u=!1;(Nf(r=o)&&r.nodeType===8||zs(o)&&o.childNodes.length===0||zs(o)&&o.getAttribute("contenteditable")==="false")&&(!s||!u);)a>=i.length?(s=!0,a=t-1,n="backward"):a<0?(u=!0,a=t+1,n="forward"):(o=i[a],t=a,a+=n==="forward"?1:-1);return[o,t]},mq=function(e,t,n){return Ar(J6(e,t,n),1)[0]},gq=function e(t){var n,r,i="";if(X6(t)&&t.nodeValue)return t.nodeValue;if(zs(t)){try{for(var o=ms(Array.from(t.childNodes)),a=o.next();!a.done;a=o.next())i+=e(a.value)}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}var s=getComputedStyle(t).getPropertyValue("display");s!=="block"&&s!=="list"&&s!=="table-row"&&t.tagName!=="BR"||(i+=`
`)}return i};function Q6(e,t){if(!(e instanceof HTMLElement&&e.dataset.slateVoid==="true"))for(var n=e.childNodes,r=n.length;r--;){var i=n[r],o=i.nodeType;o==3?t(i,e):o!=1&&o!=9&&o!=11||Q6(i,t)}}function Z6(e){if(e.length===0)return"";var t=e[0];return t.nodeType!==bu.ELEMENT_NODE?"":t.tagName.toLowerCase()}(ra=bu||(bu={}))[ra.ELEMENT_NODE=1]="ELEMENT_NODE",ra[ra.TEXT_NODE=3]="TEXT_NODE",ra[ra.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",ra[ra.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",ra[ra.COMMENT_NODE=8]="COMMENT_NODE",ra[ra.DOCUMENT_NODE=9]="DOCUMENT_NODE",ra[ra.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",ra[ra.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE",globalThis.navigator!==void 0&&globalThis.window!==void 0&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&globalThis.window.MSStream;var IA=typeof navigator!="undefined"&&/Mac OS X/.test(navigator.userAgent),rg=typeof navigator!="undefined"&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);typeof navigator!="undefined"&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent);var ig=typeof navigator!="undefined"&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),vq=typeof navigator!="undefined"&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),yq=typeof navigator!="undefined"&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),PA=typeof navigator!="undefined"&&/Chrome/i.test(navigator.userAgent);typeof navigator!="undefined"&&/.*QQBrowser/.test(navigator.userAgent);var og=!yq&&!vq&&typeof globalThis!="undefined"&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges=="function",de={getWindow:function(e){var t=V6.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},findKey:function(e,t){var n=Iy.get(t);return n||(n=new C6,Iy.set(t,n)),n},setNewKey:function(e){var t=new C6;Iy.set(e,t)},findPath:function(e,t){for(var n=[],r=t;;){var i=Eh.get(r);if(i==null){if(U.isEditor(r))return n;break}var o=ng.get(r);if(o==null)break;n.unshift(o),r=i}throw new Error("Unable to find the path for Slate node: "+JSON.stringify(t))},findDocumentOrShadowRoot:function(e){if(e.isDestroyed)return window.document;var t=de.toDOMNode(e,e),n=t.getRootNode();return(n instanceof Document||n instanceof ShadowRoot)&&n.getSelection!=null?n:t.ownerDocument},getParentNode:function(e,t){return Eh.get(t)||null},getParentsNodes:function(e,t){for(var n=[],r=t;r!==e&&r!=null;){var i=de.getParentNode(e,r);if(i==null)break;n.push(i),r=i}return n},getTopNode:function(e,t){var n=[de.findPath(e,t)[0]];return Vt.get(e,n)},toDOMNode:function(e,t){var n;if(U.isEditor(t))n=xA.get(e);else{var r=de.findKey(e,t);n=SA.get(r)}if(!n)throw new Error("Cannot resolve a DOM node from Slate node: "+JSON.stringify(t));return n},hasDOMNode:function(e,t,n){n===void 0&&(n={});var r,i=n.editable,o=i!==void 0&&i,a=de.toDOMNode(e,e);try{r=zs(t)?t:t.parentElement}catch(s){if(!s.message.includes('Permission denied to access property "nodeType"'))throw s}return!!r&&r.closest("[data-slate-editor]")===a&&(!o||r.isContentEditable||!!r.getAttribute("data-slate-zero-width"))},toDOMRange:function(e,t){var n=t.anchor,r=t.focus,i=$e.isBackward(t),o=de.toDOMPoint(e,n),a=$e.isCollapsed(t)?o:de.toDOMPoint(e,r),s=de.getWindow(e).document.createRange(),u=Ar(i?a:o,2),l=u[0],c=u[1],d=Ar(i?o:a,2),p=d[0],h=d[1],E=!!(zs(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),g=!!(zs(p)?p:p.parentElement).getAttribute("data-slate-zero-width");return s.setStart(l,E?1:c),s.setEnd(p,g?1:h),s},toDOMPoint:function(e,t){var n,r,i,o=Ar(U.node(e,t.path),1)[0],a=de.toDOMNode(e,o);U.void(e,{at:t})&&(t={path:t.path,offset:0});var s=Array.from(a.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),u=0;try{for(var l=ms(s),c=l.next();!c.done;c=l.next()){var d=c.value,p=d.childNodes[0];if(p!=null&&p.textContent!=null){var h=p.textContent.length,E=d.getAttribute("data-slate-length"),g=u+(E==null?h:parseInt(E,10));if(t.offset<=g){i=[p,Math.min(h,Math.max(0,t.offset-u))];break}u=g}}}catch(y){n={error:y}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}if(!i)throw new Error("Cannot resolve a DOM point from Slate point: "+JSON.stringify(t));return i},toSlateNode:function(e,t){var n=zs(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?Ry.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: "+n);return r},findEventRange:function(e,t){"nativeEvent"in t&&(t=t.nativeEvent);var n=t.clientX,r=t.clientY,i=t.target;if(n==null||r==null)throw new Error("Cannot resolve a Slate range from a DOM event: "+t);var o,a=de.toSlateNode(e,t.target),s=de.findPath(e,a);if(U.isVoid(e,a)){var u=i.getBoundingClientRect(),l=e.isInline(a)?n-u.left<u.left+u.width-n:r-u.top<u.top+u.height-r,c=U.point(e,s,{edge:l?"start":"end"}),d=l?U.before(e,c):U.after(e,c);if(d)return U.range(e,d)}var p=this.getWindow(e).document;if(p.caretRangeFromPoint)o=p.caretRangeFromPoint(n,r);else{var h=p.caretPositionFromPoint(n,r);h&&((o=p.createRange()).setStart(h.offsetNode,h.offset),o.setEnd(h.offsetNode,h.offset))}if(!o)throw new Error("Cannot resolve a Slate range from a DOM event: "+t);return de.toSlateRange(e,o,{exactMatch:!1,suppressThrow:!1})},toSlateRange:function(e,t,n){var r,i,o,a,s,u=n.exactMatch,l=n.suppressThrow;if((Y6(t)?t.anchorNode:t.startContainer)&&(Y6(t)?(r=t.anchorNode,i=t.anchorOffset,o=t.focusNode,a=t.focusOffset,s=PA&&window.document.activeElement&&window.document.activeElement.shadowRoot?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(r=t.startContainer,i=t.startOffset,o=t.endContainer,a=t.endOffset,s=t.collapsed)),r==null||o==null||i==null||a==null)throw new Error("Cannot resolve a Slate range from DOM range: "+t);var c=de.toSlatePoint(e,[r,i],{exactMatch:u,suppressThrow:l});if(!c)return null;var d=s?c:de.toSlatePoint(e,[o,a],{exactMatch:u,suppressThrow:l});if(!d)return null;var p={anchor:c,focus:d};return $e.isExpanded(p)&&$e.isForward(p)&&zs(o)&&U.void(e,{at:p.focus,mode:"highest"})&&(p=U.unhangRange(e,p,{voids:!0})),p},toSlatePoint:function(e,t,n){var r,i=n.exactMatch,o=n.suppressThrow,a=Ar(i?t:function(m){var T,R=Ar(m,2),W=R[0],q=R[1];if(zs(W)&&W.childNodes.length){var X=q===W.childNodes.length,ge=X?q-1:q;for(W=(T=Ar(J6(W,ge,X?"backward":"forward"),2))[0],X=(ge=T[1])<q;zs(W)&&W.childNodes.length;){var Ne=X?W.childNodes.length-1:0;W=mq(W,Ne,X?"backward":"forward")}q=X&&W.textContent!=null?W.textContent.length:0}return[W,q]}(t),2),s=a[0],u=a[1],l=s.parentNode,c=null,d=0;if(l){var p=l.closest('[data-slate-void="true"]'),h=l.closest("[data-slate-leaf]"),E=null;if(h){c=h.closest('[data-slate-node="text"]');var g=de.getWindow(e).document.createRange();g.setStart(c,0),g.setEnd(s,u);var y=g.cloneContents();pA(pA([],Ar(GN(y.querySelectorAll("[data-slate-zero-width]")))),Ar(GN(y.querySelectorAll("[contenteditable=false]")))).forEach(function(m){m.parentNode.removeChild(m)}),d=y.textContent.length,E=c}else p&&((h=p.querySelector("[data-slate-leaf]"))?(c=h.closest('[data-slate-node="text"]'),d=(E=h).textContent.length,E.querySelectorAll("[data-slate-zero-width]").forEach(function(m){d-=m.textContent.length})):d=1);E&&d===E.textContent.length&&(l.hasAttribute("data-slate-zero-width")||rg&&((r=E.textContent)===null||r===void 0?void 0:r.endsWith(`
`)))&&d--}if(!c){if(o)return null;throw new Error("Cannot resolve a Slate point from DOM point: "+t)}var _=de.toSlateNode(e,c);return{path:de.findPath(e,_),offset:d}},hasRange:function(e,t){var n=t.anchor,r=t.focus;return U.hasPath(e,n.path)&&U.hasPath(e,r.path)},getNodeType:function(e){return bn.isElement(e)?e.type:""},checkNodeType:function(e,t){return this.getNodeType(e)===t},getNodesStr:function(e){return e.map(function(t){return Vt.string(t)}).join("")},getSelectedElems:function(e){var t,n,r=[],i=U.nodes(e,{universal:!0});try{for(var o=ms(i),a=o.next();!a.done;a=o.next()){var s=Ar(a.value,1)[0];bn.isElement(s)&&r.push(s)}}catch(u){t={error:u}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r},getSelectedNodeByType:function(e,t){var n=this,r=Ar(U.nodes(e,{match:function(o){return n.checkNodeType(o,t)},universal:!0}),1),i=r[0];return i==null?null:i[0]},getSelectedTextNode:function(e){var t=Ar(U.nodes(e,{match:function(r){return rn.isText(r)},universal:!0}),1),n=t[0];return n==null?null:n[0]},isNodeSelected:function(e,t){var n=Ar(U.nodes(e,{match:function(i){return i===t},universal:!0}),1),r=n[0];return r!=null&&Ar(r,1)[0]===t},isSelectionAtLineEnd:function(e,t){var n=e.selection;return!!n&&(U.isEnd(e,n.anchor,t)||U.isEnd(e,n.focus,t))},getTextarea:function(e){var t=_A.get(e);if(t==null)throw new Error("Cannot find textarea instance by editor");return t},getToolbar:function(e){return Sy.get(e)||null},getHoverbar:function(e){return Ty.get(e)||null},normalizeContent:function(e){e.children.forEach(function(t,n){e.normalizeNode([t,[n]])})},getLeftLengthOfMaxLength:function(e){var t=e.getConfig(),n=t.maxLength,r=t.onMaxLength;if(typeof n!="number"||n<=0)return 1/0;var i=n-e.getText().replace(/\r|\n|(\r\n)/g,"").length;return i<=0&&r&&r(e),i},cleanExposedTexNodeInSelectionBlock:function(e){var t,n,r,i,o=de.getTextarea(e).$textArea,a=o==null?void 0:o[0].childNodes;if(a)try{for(var s=ms(Array.from(a)),u=s.next();!u.done;u=s.next()){var l=u.value;if(l.nodeType!==3)break;l.remove()}}catch(g){t={error:g}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}var c=U.nodes(e,{match:function(g){return!(!bn.isElement(g)||e.isInline(g))},universal:!0});try{for(var d=ms(c),p=d.next();!p.done;p=d.next()){var h=p.value;if(h!=null){var E=h[0];Q6(de.toDOMNode(e,E),function(g,y){var _=we(y);_.attr("data-slate-string")||_.attr("data-slate-zero-width")||_.attr("data-w-e-reserve")||y.removeChild(g)})}}}catch(g){r={error:g}}finally{try{p&&!p.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}},isLastNode:function(e,t){var n=e.children||[];return n[n.length-1]===t},genEmptyParagraph:function(){return{type:"paragraph",children:[{text:""}]}},isSelectedVoidNode:function(e){var t,n,r=U.nodes(e,{match:function(s){return e.isVoid(s)}}),i=0;try{for(var o=ms(r),a=o.next();!a.done;a=o.next())a.value,i++}catch(s){t={error:s}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return i>0},isSelectedEmptyParagraph:function(e){var t=e.selection;if(t==null)return!1;if($e.isExpanded(t))return!1;var n=de.getSelectedNodeByType(e,"paragraph");if(n===null)return!1;var r=n.children;return r.length===1&&(r[0].text===""||void 0)},isEmptyPath:function(e,t){var n=U.node(e,t);if(n==null)return!1;var r=Ar(n,1)[0].children;return r.length===1&&r[0].text===""}},bq=1,q6={},ag={},_q=hh.filter,Eq=gy("filter");_i({target:"Array",proto:!0,forced:!Eq},{filter:function(e){return _q(this,e,arguments.length>1?arguments[1]:void 0)}});var LA=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,$6=wn("".replace),Py="["+LA+"]",wq=RegExp("^"+Py+Py+"*"),Oq=RegExp(Py+Py+"*$"),MA=function(e){return function(t){var n=qr(hs(t));return 1&e&&(n=$6(n,wq,"")),2&e&&(n=$6(n,Oq,"")),n}},Aq={start:MA(1),end:MA(2),trim:MA(3)},Cq=fh.PROPER,xq=Aq.trim;_i({target:"String",proto:!0,forced:function(e){return Fr(function(){return!!LA[e]()||"\u200B\x85\u180E"[e]()!=="\u200B\x85\u180E"||Cq&&LA[e].name!==e})}("trim")},{trim:function(){return xq(this)}});var jA=[],eI={};function Sq(e,t,n){var r=n.isInline(e)?"span":"div";return"<"+r+">"+t+"</"+r+">"}var sg,wh,tI,kA,Ly=Bt.Promise,nI=bi("species"),FA=function(e){var t=Ef(e),n=Us.f;No&&t&&!t[nI]&&n(t,nI,{configurable:!0,get:function(){return this}})},Tq=Bt.TypeError,Dq=bi("species"),rI=function(e,t){var n,r=Qi(e).constructor;return r===void 0||(n=Qi(r)[Dq])==null?t:function(i){if(uy(i))return i;throw Tq(q1(i)+" is not a constructor")}(n)},iI=wn([].slice),oI=/(?:ipad|iphone|ipod).*applewebkit/i.test(lh),Yl=Ws(Bt.process)=="process",BA=Bt.setImmediate,UA=Bt.clearImmediate,Rq=Bt.process,HA=Bt.Dispatch,Nq=Bt.Function,aI=Bt.MessageChannel,Iq=Bt.String,WA=0,ug={};try{sg=Bt.location}catch(e){}var zA=function(e){if(Ji(ug,e)){var t=ug[e];delete ug[e],t()}},VA=function(e){return function(){zA(e)}},sI=function(e){zA(e.data)},uI=function(e){Bt.postMessage(Iq(e),sg.protocol+"//"+sg.host)};BA&&UA||(BA=function(e){var t=iI(arguments,1);return ug[++WA]=function(){oA(Vr(e)?e:Nq(e),void 0,t)},wh(WA),WA},UA=function(e){delete ug[e]},Yl?wh=function(e){Rq.nextTick(VA(e))}:HA&&HA.now?wh=function(e){HA.now(VA(e))}:aI&&!oI?(kA=(tI=new aI).port2,tI.port1.onmessage=sI,wh=xf(kA.postMessage,kA)):Bt.addEventListener&&Vr(Bt.postMessage)&&!Bt.importScripts&&sg&&sg.protocol!=="file:"&&!Fr(uI)?(wh=uI,Bt.addEventListener("message",sI,!1)):wh="onreadystatechange"in Fm("script")?function(e){MO.appendChild(Fm("script")).onreadystatechange=function(){MO.removeChild(this),zA(e)}}:function(e){setTimeout(VA(e),0)});var lg,If,cg,Oh,GA,KA,YA,lI,cI={set:BA,clear:UA},Pq=/ipad|iphone|ipod/i.test(lh)&&Bt.Pebble!==void 0,Lq=/web0s(?!.*chrome)/i.test(lh),Mq=zm.f,XA=cI.set,fI=Bt.MutationObserver||Bt.WebKitMutationObserver,dI=Bt.document,hI=Bt.process,My=Bt.Promise,pI=Mq(Bt,"queueMicrotask"),mI=pI&&pI.value;mI||(lg=function(){var e,t;for(Yl&&(e=hI.domain)&&e.exit();If;){t=If.fn,If=If.next;try{t()}catch(n){throw If?Oh():cg=void 0,n}}cg=void 0,e&&e.enter()},oI||Yl||Lq||!fI||!dI?!Pq&&My&&My.resolve?((YA=My.resolve(void 0)).constructor=My,lI=xf(YA.then,YA),Oh=function(){lI(lg)}):Yl?Oh=function(){hI.nextTick(lg)}:(XA=xf(XA,Bt),Oh=function(){XA(lg)}):(GA=!0,KA=dI.createTextNode(""),new fI(lg).observe(KA,{characterData:!0}),Oh=function(){KA.data=GA=!GA}));var JA,gI,vI,yI,bI=mI||function(e){var t={fn:e,next:void 0};cg&&(cg.next=t),If||(If=t,Oh()),cg=t},jq=function(e){var t,n;this.promise=new e(function(r,i){if(t!==void 0||n!==void 0)throw TypeError("Bad Promise constructor");t=r,n=i}),this.resolve=Vl(t),this.reject=Vl(n)},QA={f:function(e){return new jq(e)}},ZA=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},kq=typeof window=="object",_I=cI.set,Fq=bi("species"),_u="Promise",EI=na.getterFor(_u),Bq=na.set,Uq=na.getterFor(_u),Pf=Ly&&Ly.prototype,Eu=Ly,fg=Pf,wI=Bt.TypeError,qA=Bt.document,$A=Bt.process,Ah=QA.f,Hq=Ah,Wq=!!(qA&&qA.createEvent&&Bt.dispatchEvent),OI=Vr(Bt.PromiseRejectionEvent),AI=!1,dg=Km(_u,function(){var e=ny(Eu),t=e!==String(Eu);if(!t&&jm===66)return!0;if(jm>=51&&/native code/.test(e))return!1;var n=new Eu(function(i){i(1)}),r=function(i){i(function(){},function(){})};return(n.constructor={})[Fq]=r,!(AI=n.then(function(){})instanceof r)||!t&&kq&&!OI}),zq=dg||!VO(function(e){Eu.all(e).catch(function(){})}),CI=function(e){var t;return!(!ti(e)||!Vr(t=e.then))&&t},e4=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;bI(function(){for(var r=e.value,i=e.state==1,o=0;n.length>o;){var a,s,u,l=n[o++],c=i?l.ok:l.fail,d=l.resolve,p=l.reject,h=l.domain;try{c?(i||(e.rejection===2&&Gq(e),e.rejection=1),c===!0?a=r:(h&&h.enter(),a=c(r),h&&(h.exit(),u=!0)),a===l.promise?p(wI("Promise-chain cycle")):(s=CI(a))?Or(s,a,d,p):d(a)):p(r)}catch(E){h&&!u&&h.exit(),p(E)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&Vq(e)})}},xI=function(e,t,n){var r,i;Wq?((r=qA.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Bt.dispatchEvent(r)):r={promise:t,reason:n},!OI&&(i=Bt["on"+e])?i(r):e==="unhandledrejection"&&function(o,a){var s=Bt.console;s&&s.error&&(arguments.length==1?s.error(o):s.error(o,a))}("Unhandled promise rejection",n)},Vq=function(e){Or(_I,Bt,function(){var t,n=e.facade,r=e.value;if(SI(e)&&(t=ZA(function(){Yl?$A.emit("unhandledRejection",r,n):xI("unhandledrejection",n,r)}),e.rejection=Yl||SI(e)?2:1,t.error))throw t.value})},SI=function(e){return e.rejection!==1&&!e.parent},Gq=function(e){Or(_I,Bt,function(){var t=e.facade;Yl?$A.emit("rejectionHandled",t):xI("rejectionhandled",t,e.value)})},Ch=function(e,t,n){return function(r){e(t,r,n)}},xh=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,e4(e,!0))},t4=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw wI("Promise can't be resolved itself");var r=CI(t);r?bI(function(){var i={done:!1};try{Or(r,t,Ch(t4,i,e),Ch(xh,i,e))}catch(o){xh(i,o,e)}}):(e.value=t,e.state=1,e4(e,!1))}catch(i){xh({done:!1},i,e)}}};if(dg&&(fg=(Eu=function(e){wy(this,fg),Vl(e),Or(JA,this);var t=EI(this);try{e(Ch(t4,t),Ch(xh,t))}catch(n){xh(t,n)}}).prototype,(JA=function(e){Bq(this,{type:_u,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=_h(fg,{then:function(e,t){var n=Uq(this),r=n.reactions,i=Ah(rI(this,Eu));return i.ok=!Vr(e)||e,i.fail=Vr(t)&&t,i.domain=Yl?$A.domain:void 0,n.parent=!0,r[r.length]=i,n.state!=0&&e4(n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),gI=function(){var e=new JA,t=EI(e);this.promise=e,this.resolve=Ch(t4,t),this.reject=Ch(xh,t)},QA.f=Ah=function(e){return e===Eu||e===vI?new gI(e):Hq(e)},Vr(Ly)&&Pf!==Object.prototype)){yI=Pf.then,AI||(wa(Pf,"then",function(e,t){var n=this;return new Eu(function(r,i){Or(yI,n,r,i)}).then(e,t)},{unsafe:!0}),wa(Pf,"catch",fg.catch,{unsafe:!0}));try{delete Pf.constructor}catch(e){}yh&&yh(Pf,fg)}_i({global:!0,wrap:!0,forced:dg},{Promise:Eu}),py(Eu,_u,!1),FA(_u),vI=Ef(_u),_i({target:_u,stat:!0,forced:dg},{reject:function(e){var t=Ah(this);return Or(t.reject,void 0,e),t.promise}}),_i({target:_u,stat:!0,forced:dg},{resolve:function(e){return function(t,n){if(Qi(t),ti(n)&&n.constructor===t)return n;var r=QA.f(t);return(0,r.resolve)(n),r.promise}(this,e)}}),_i({target:_u,stat:!0,forced:zq},{all:function(e){var t=this,n=Ah(t),r=n.resolve,i=n.reject,o=ZA(function(){var a=Vl(t.resolve),s=[],u=0,l=1;$m(e,function(c){var d=u++,p=!1;l++,Or(a,t,c).then(function(h){p||(p=!0,s[d]=h,--l||r(s))},i)}),--l||r(s)});return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=Ah(t),r=n.reject,i=ZA(function(){var o=Vl(t.resolve);$m(e,function(a){Or(o,t,a).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}});var Sh=vy.UNSUPPORTED_Y,Kq=Math.min,TI=[].push,Yq=wn(/./.exec),Th=wn(TI),hg=wn("".slice);function gs(e){Promise.resolve().then(e)}function DI(e,t){return bn.isElement(e)?function(n,r){var i=n.type,o=i===void 0?"":i,a=n.children,s=a===void 0?[]:a,u=U.isVoid(r,n),l="";u||(l=s.map(function(_){return DI(_,r)}).join(""));var c=function(_){return eI[_]||Sq}(o),d=c(n,l,r),p="";if(p=typeof d=="string"?d:d.html||"",u||jA.forEach(function(_){return p=_(n,p)}),typeof d=="string")return p;var h=d.prefix,E=h===void 0?"":h,g=d.suffix,y=g===void 0?"":g;return E&&(p=E+p),y&&(p+=y),p}(e,t):function(n,r){var i=n.text;if(i==null)throw new Error("Current node is not slate Text "+JSON.stringify(n));var o=i;o=function(u){return u.replace(/ {2}/g," &nbsp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/®/g,"&reg;").replace(/©/g,"&copy;").replace(/™/g,"&trade;")}(o);var a=de.getParentsNodes(r,n).some(function(u){return de.getNodeType(u)==="pre"});if(a||(o=o.replace(/\r\n|\r|\n/g,"<br>")),a&&(o=o.replace(/&nbsp;/g," ")),o===""){var s=de.getParentNode(null,n);if(!s||s.children.length!==0)return o;o="<br>"}return jA.forEach(function(u){return o=u(n,o)}),o}(e,t)}function RI(e){return"w-e-element-"+e}sA("split",function(e,t,n){var r;return r="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(i,o){var a=qr(hs(this)),s=o===void 0?4294967295:o>>>0;if(s===0)return[];if(i===void 0)return[a];if(!BO(i))return Or(t,a,i,s);for(var u,l,c,d=[],p=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(i.sticky?"y":""),h=0,E=new RegExp(i.source,p+"g");(u=Or(Qm,E,a))&&!((l=E.lastIndex)>h&&(Th(d,hg(a,h,u.index)),u.length>1&&u.index<a.length&&oA(TI,d,mA(u,1)),c=u[0].length,h=l,d.length>=s));)E.lastIndex===u.index&&E.lastIndex++;return h===a.length?!c&&Yq(E,"")||Th(d,""):Th(d,hg(a,h)),d.length>s?mA(d,0,s):d}:"0".split(void 0,0).length?function(i,o){return i===void 0&&o===0?[]:Or(t,this,i,o)}:t,[function(i,o){var a=hs(this),s=i==null?void 0:Af(i,e);return s?Or(s,i,a,o):Or(r,qr(a),i,o)},function(i,o){var a=Qi(this),s=qr(i),u=n(r,a,s,o,r!==t);if(u.done)return u.value;var l=rI(a,RegExp),c=a.unicode,d=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Sh?"g":"y"),p=new l(Sh?"^(?:"+a.source+")":a,d),h=o===void 0?4294967295:o>>>0;if(h===0)return[];if(s.length===0)return Zm(p,s)===null?[s]:[];for(var E=0,g=0,y=[];g<s.length;){p.lastIndex=Sh?0:g;var _,m=Zm(p,Sh?hg(s,g):s);if(m===null||(_=Kq(dh(p.lastIndex+(Sh?g:0)),s.length))===E)g=uA(s,g,c);else{if(Th(y,hg(s,E,g)),y.length===h)return y;for(var T=1;T<=m.length-1;T++)if(Th(y,m[T]),y.length===h)return y;g=E=_}}return Th(y,hg(s,E)),y}]},!!Fr(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),Sh);var NI=function(e,t){var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},II=function(e,t,n){var r=de.toDOMRange(e,t).getBoundingClientRect(),i=de.toDOMRange(e,n).getBoundingClientRect();return NI(r,i)&&NI(i,r)},PI=["span","b","strong","i","em","s","strike","u","font","sub","sup"],LI=[],n4=[],jy={},Xq=Us.f,Jq=Vm.f,Qq=na.enforce,Zq=bi("match"),nl=Bt.RegExp,Dh=nl.prototype,qq=Bt.SyntaxError,$q=wn(PO),e$=wn(Dh.exec),ky=wn("".charAt),MI=wn("".replace),jI=wn("".indexOf),t$=wn("".slice),n$=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Lf=/a/g,r4=/a/g,r$=new nl(Lf)!==Lf,kI=vy.MISSED_STICKY,i$=vy.UNSUPPORTED_Y,o$=No&&(!r$||kI||qO||$O||Fr(function(){return r4[Zq]=!1,nl(Lf)!=Lf||nl(r4)==r4||nl(Lf,"i")!="/a/i"}));if(Km("RegExp",o$)){for(var Xl=function(e,t){var n,r,i,o,a,s,u=Of(Dh,this),l=BO(e),c=t===void 0,d=[],p=e;if(!u&&l&&c&&e.constructor===Xl)return e;if((l||Of(Dh,e))&&(e=e.source,c&&(t="flags"in p?p.flags:$q(p))),e=e===void 0?"":qr(e),t=t===void 0?"":qr(t),p=e,qO&&"dotAll"in Lf&&(r=!!t&&jI(t,"s")>-1)&&(t=MI(t,/s/g,"")),n=t,kI&&"sticky"in Lf&&(i=!!t&&jI(t,"y")>-1)&&i$&&(t=MI(t,/y/g,"")),$O&&(o=function(h){for(var E,g=h.length,y=0,_="",m=[],T={},R=!1,W=!1,q=0,X="";y<=g;y++){if((E=ky(h,y))==="\\")E+=ky(h,++y);else if(E==="]")R=!1;else if(!R)switch(!0){case E==="[":R=!0;break;case E==="(":e$(n$,t$(h,y+1))&&(y+=2,W=!0),_+=E,q++;continue;case(E===">"&&W):if(X===""||Ji(T,X))throw new qq("Invalid capture group name");T[X]=!0,m[m.length]=[X,q],W=!1,X="";continue}W?X+=E:_+=E}return[_,m]}(e),e=o[0],d=o[1]),a=R6(nl(e,t),u?this:Dh,Xl),(r||i||d.length)&&(s=Qq(a),r&&(s.dotAll=!0,s.raw=Xl(function(h){for(var E,g=h.length,y=0,_="",m=!1;y<=g;y++)(E=ky(h,y))!=="\\"?m||E!=="."?(E==="["?m=!0:E==="]"&&(m=!1),_+=E):_+="[\\s\\S]":_+=E+ky(h,++y);return _}(e),n)),i&&(s.sticky=!0),d.length&&(s.groups=d)),e!==p)try{Hs(a,"source",p===""?"(?:)":p)}catch(h){}return a},a$=function(e){e in Xl||Xq(Xl,e,{configurable:!0,get:function(){return nl[e]},set:function(t){nl[e]=t}})},FI=Jq(nl),BI=0;FI.length>BI;)a$(FI[BI++]);Dh.constructor=Xl,Xl.prototype=Dh,wa(Bt,"RegExp",Xl)}FA("RegExp");var s$=new RegExp(String.fromCharCode(160),"g");function UI(e){return e.replace(s$," ")}function HI(e,t){var n=e.length;if(n){var r=e[n-1];if(rn.isText(r)){var i=Object.keys(r);if(i.length===1&&i[0]==="text")return r.text=r.text+t,!0}}return!1}function u$(e,t,n){return{type:"paragraph",children:[{text:we(e).text().replace(/\s+/gm," ")}]}}function i4(e,t){var n=function(o,a){var s=[];if(o.attr("data-w-e-is-void")!=null)return s;var u=o[0].childNodes;return u.length===1&&u[0].nodeName==="BR"?(s.push({text:""}),s):(u.forEach(function(l){if(l.nodeType!==bu.ELEMENT_NODE){if(!(l.nodeType!==bu.TEXT_NODE)){var c=l.textContent||"";if(c.trim()===""&&c.indexOf(`
`)>=0)return;c&&(c=UI(c),HI(s,c)||s.push({text:c}))}}else{if(l.nodeName==="BR")return void(HI(s,`
`)||s.push({text:`
`}));var d=a4(we(l),a);Array.isArray(d)?d.forEach(function(p){return s.push(p)}):s.push(d)}}),s)}(e,t),r=function(o){for(var a in jy)if(o[0].matches(a))return jy[a];return u$}(e),i=r(e[0],n,t);return Array.isArray(i)||(i=[i]),i.forEach(function(o){U.isVoid(t,o)||(n.length===0&&(o.children=[{text:e.text().replace(/\s+/gm," ")}]),n4.forEach(function(a){o=a(e[0],o,t)}))}),i}function o4(e,t){e.parents("pre").length===0&&(e[0].innerHTML=e[0].innerHTML.replace(/\s+/gm," ").replace(/<br>/g,`
`));var n=e[0].textContent||"";n=function(i){return i.replace(/&nbsp;/g," ").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&reg;/g,"\xAE").replace(/&copy;/g,"\xA9").replace(/&trade;/g,"\u2122").replace(/&quot;/g,'"')}(n);var r={text:n=UI(n)};return n4.forEach(function(i){r=i(e[0],r,t)}),r}function a4(e,t){LI.forEach(function(r){var i=r.selector,o=r.preParseHtml;e[0].matches(i)&&(e=we(o(e[0])))});var n=Z6(e);return n==="span"?e.attr("data-w-e-type")?i4(e,t):o4(e,t):n==="code"?Z6(e.parent())==="pre"?i4(e,t):o4(e,t):PI.includes(n)?o4(e,t):i4(e,t)}function WI(e,t,n){var r=we(n);return!!r.attr(t)||(r.attr(t,"true"),e.on("destroyed",function(){r.removeAttr(t)}),!1)}function zI(e,t){t===void 0&&(t="");var n=[];t===""&&(t="<p><br></p>"),t.indexOf("<")!==0&&(t=t.split(/\n/).map(function(i){return"<p>"+i+"</p>"}).join(""));var r=we("<div>"+t+"</div>");return Array.from(r.children()).forEach(function(i){var o=a4(we(i),e);Array.isArray(o)?o.forEach(function(a){return n.push(a)}):n.push(o)}),n}var l$=Us.f,VI=_y.fastKey,GI=na.set,s4=na.getterFor,c$={getConstructor:function(e,t,n,r){var i=e(function(l,c){wy(l,o),GI(l,{type:t,index:dy(null),first:void 0,last:void 0,size:0}),No||(l.size=0),c!=null&&$m(c,l[r],{that:l,AS_ENTRIES:n})}),o=i.prototype,a=s4(t),s=function(l,c,d){var p,h,E=a(l),g=u(l,c);return g?g.value=d:(E.last=g={index:h=VI(c,!0),key:c,value:d,previous:p=E.last,next:void 0,removed:!1},E.first||(E.first=g),p&&(p.next=g),No?E.size++:l.size++,h!=="F"&&(E.index[h]=g)),l},u=function(l,c){var d,p=a(l),h=VI(c);if(h!=="F")return p.index[h];for(d=p.first;d;d=d.next)if(d.key==c)return d};return _h(o,{clear:function(){for(var l=a(this),c=l.index,d=l.first;d;)d.removed=!0,d.previous&&(d.previous=d.previous.next=void 0),delete c[d.index],d=d.next;l.first=l.last=void 0,No?l.size=0:this.size=0},delete:function(l){var c=this,d=a(c),p=u(c,l);if(p){var h=p.next,E=p.previous;delete d.index[p.index],p.removed=!0,E&&(E.next=h),h&&(h.previous=E),d.first==p&&(d.first=h),d.last==p&&(d.last=E),No?d.size--:c.size--}return!!p},forEach:function(l){for(var c,d=a(this),p=xf(l,arguments.length>1?arguments[1]:void 0);c=c?c.next:d.first;)for(p(c.value,c.key,this);c&&c.removed;)c=c.previous},has:function(l){return!!u(this,l)}}),_h(o,n?{get:function(l){var c=u(this,l);return c&&c.value},set:function(l,c){return s(this,l===0?0:l,c)}}:{add:function(l){return s(this,l=l===0?0:l,l)}}),No&&l$(o,"size",{get:function(){return a(this).size}}),i},setStrong:function(e,t,n){var r=t+" Iterator",i=s4(t),o=s4(r);XO(e,t,function(a,s){GI(this,{type:r,target:a,state:i(a),kind:s,last:void 0})},function(){for(var a=o(this),s=a.kind,u=a.last;u&&u.removed;)u=u.previous;return a.target&&(a.last=u=u?u.next:a.state.first)?s=="keys"?{value:u.key,done:!1}:s=="values"?{value:u.value,done:!1}:{value:[u.key,u.value],done:!1}:(a.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),FA(t)}};N6("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},c$);var KI=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]);function YI(e,t){e.isInline(t)?(e.insertNode(t),t.type==="link"&&e.insertFragment([{text:""}])):He.insertNodes(e,t,{mode:"highest"})}var f$=function(e){var t=e,n=t.insertText;return t.insertFragment,t.setFragmentData=function(r){var i=t.selection;if(i){var o=Ar($e.edges(i),2),a=o[0],s=o[1],u=U.void(t,{at:a.path}),l=U.void(t,{at:s.path});if(!$e.isCollapsed(i)||u){var c=de.toDOMRange(t,i),d=c.cloneContents(),p=d.childNodes[0];if(d.childNodes.forEach(function(W){W.textContent&&W.textContent.trim()!==""&&(p=W)}),l){var h=Ar(l,1)[0],E=c.cloneRange(),g=de.toDOMNode(t,h);E.setEndAfter(g),d=E.cloneContents()}if(u&&(p=d.querySelector("[data-slate-spacer]")),Array.from(d.querySelectorAll("[data-slate-zero-width]")).forEach(function(W){var q=W.getAttribute("data-slate-zero-width")==="n";W.textContent=q?`
`:""}),X6(p)){var y=p.ownerDocument.createElement("span");y.style.whiteSpace="pre",y.appendChild(p),d.appendChild(y),p=y}var _=t.getFragment(),m=JSON.stringify(_),T=window.btoa(encodeURIComponent(m));p.setAttribute("data-slate-fragment",T),r.setData("application/x-slate-fragment",T);var R=d.ownerDocument.createElement("div");return R.appendChild(d),R.setAttribute("hidden","true"),d.ownerDocument.body.appendChild(R),r.setData("text/html",R.innerHTML),r.setData("text/plain",gq(R)),d.ownerDocument.body.removeChild(R),r}}},t.insertData=function(r){var i,o,a=r.getData("application/x-slate-fragment");if(a){var s=decodeURIComponent(window.atob(a)),u=JSON.parse(s);t.insertFragment(u)}else{var l=r.getData("text/plain"),c=r.getData("text/html");if(c)t.dangerouslyInsertHtml(c);else if(l){var d=l.split(/\r\n|\r|\n/),p=!1;try{for(var h=ms(d),E=h.next();!E.done;E=h.next()){var g=E.value;p&&He.splitNodes(t,{always:!0}),n(g),p=!0}}catch(y){i={error:y}}finally{try{E&&!E.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}}}},t},pg=function(e){return e!=null},d$={object:!0,function:!0,undefined:!0},h$=/^\s*class[\s{/}]/,p$=Function.prototype.toString,XI=function(e){return!!function(t){if(typeof t!="function")return!1;if(!hasOwnProperty.call(t,"length"))return!1;try{if(typeof t.length!="number")return!1;if(typeof t.call!="function")return!1;if(typeof t.apply!="function")return!1}catch(n){return!1}return!function(n){if(!function(r){return!!pg(r)&&hasOwnProperty.call(d$,typeof r)}(n))return!1;try{return!!n.constructor&&n.constructor.prototype===n}catch(r){return!1}}(t)}(e)&&!h$.test(p$.call(e))},u4=function(e){return e!=null},m$=Object.keys,g$=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}()?Object.keys:function(e){return m$(u4(e)?Object(e):e)},v$=function(e){if(!u4(e))throw new TypeError("Cannot use null or undefined");return e},y$=Math.max,JI=function(){var e,t=Object.assign;return typeof t=="function"&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}()?Object.assign:function(e,t){var n,r,i,o=y$(arguments.length,2);for(e=Object(v$(e)),i=function(a){try{e[a]=t[a]}catch(s){n||(n=s)}},r=1;r<o;++r)g$(t=arguments[r]).forEach(i);if(n!==void 0)throw n;return e},b$=Array.prototype.forEach,_$=Object.create,E$=function(e,t){var n;for(n in e)t[n]=e[n]},QI=function(e){var t=_$(null);return b$.call(arguments,function(n){u4(n)&&E$(Object(n),t)}),t},l4="razdwatrzy",w$=String.prototype.indexOf,mg=typeof l4.contains=="function"&&l4.contains("dwa")===!0&&l4.contains("foo")===!1?String.prototype.contains:function(e){return w$.call(this,e,arguments[1])>-1},Fy=Mm(function(e){var t=e.exports=function(n,r){var i,o,a,s,u;return arguments.length<2||typeof n!="string"?(s=r,r=n,n=null):s=arguments[2],pg(n)?(i=mg.call(n,"c"),o=mg.call(n,"e"),a=mg.call(n,"w")):(i=a=!0,o=!1),u={value:r,configurable:i,enumerable:o,writable:a},s?JI(QI(s),u):u};t.gs=function(n,r,i){var o,a,s,u;return typeof n!="string"?(s=i,i=r,r=n,n=null):s=arguments[3],pg(r)?XI(r)?pg(i)?XI(i)||(s=i,i=void 0):i=void 0:(s=r,r=i=void 0):r=void 0,pg(n)?(o=mg.call(n,"c"),a=mg.call(n,"e")):(o=!0,a=!1),u={get:r,set:i,configurable:o,enumerable:a},s?JI(QI(s),u):u}}),c4=function(e){if(typeof e!="function")throw new TypeError(e+" is not a function");return e},O$=Mm(function(e,t){var n,r,i,o,a,s,u,l=Function.prototype.apply,c=Function.prototype.call,d=Object.create,p=Object.defineProperty,h=Object.defineProperties,E=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};n=function(y,_){var m;return c4(_),E.call(this,"__ee__")?m=this.__ee__:(m=g.value=d(null),p(this,"__ee__",g),g.value=null),m[y]?typeof m[y]=="object"?m[y].push(_):m[y]=[m[y],_]:m[y]=_,this},r=function(y,_){var m,T;return c4(_),T=this,n.call(this,y,m=function(){i.call(T,y,m),l.call(_,this,arguments)}),m.__eeOnceListener__=_,this},i=function(y,_){var m,T,R,W;if(c4(_),!E.call(this,"__ee__"))return this;if(!(m=this.__ee__)[y])return this;if(typeof(T=m[y])=="object")for(W=0;R=T[W];++W)R!==_&&R.__eeOnceListener__!==_||(T.length===2?m[y]=T[W?0:1]:T.splice(W,1));else T!==_&&T.__eeOnceListener__!==_||delete m[y];return this},o=function(y){var _,m,T,R,W;if(E.call(this,"__ee__")&&(R=this.__ee__[y]))if(typeof R=="object"){for(m=arguments.length,W=new Array(m-1),_=1;_<m;++_)W[_-1]=arguments[_];for(R=R.slice(),_=0;T=R[_];++_)l.call(T,this,W)}else switch(arguments.length){case 1:c.call(R,this);break;case 2:c.call(R,this,arguments[1]);break;case 3:c.call(R,this,arguments[1],arguments[2]);break;default:for(m=arguments.length,W=new Array(m-1),_=1;_<m;++_)W[_-1]=arguments[_];l.call(R,this,W)}},a={on:n,once:r,off:i,emit:o},s={on:Fy(n),once:Fy(r),off:Fy(i),emit:Fy(o)},u=h({},s),e.exports=t=function(y){return y==null?d(u):h(Object(y),s)},t.methods=a});function By(e){var t=G6.get(e);return t==null&&(t=O$(),G6.set(e,t)),t}var Uy=new WeakMap;function ZI(e,t){var n=Uy.get(e);n==null&&(n=new Set,Uy.set(e,n)),n.add(t)}function A$(e){return Uy.get(e)||new Set}function C$(e){Uy.set(e,new Set)}function f4(e){var t=de.getTextarea(e).$textAreaContainer,n=t.width(),r=t.height(),i=t.offset();return{top:i.top,left:i.left,width:n,height:r}}function d4(e){var t={top:"0",left:"0"},n=e.selection;if(n==null)return t;var r=f4(e);if(r==null)return t;var i=r.top,o=r.left,a=r.width,s=r.height,u=de.toDOMRange(e,n).getClientRects()[0];if(u==null)return t;u.width;var l=u.height,c={},d=u.top-i,p=u.left-o;if(p>a/2){var h=a-p;c.right=h+5+"px"}else c.left=p+5+"px";if(d>s/2){var E=s-d;c.bottom=E+5+"px"}else{var g=d+l;g<0&&(g=0),c.top=g+5+"px"}return c}function h4(e,t,n){n===void 0&&(n="modal");var r={top:"0",left:"0"};if(e.selection==null)return r;var i=bn.isElement(t)&&e.isVoid(t),o=bn.isElement(t)&&e.isInline(t),a=Ny.get(t);if(a==null)return r;var s=a.getBoundingClientRect(),u=s.top,l=s.left,c=s.height,d=s.width;if(i){var p=function(X){var ge=[];ge.push(X);for(var Ne=0;ge.length>0;){var nt=ge.pop();if(nt==null)break;if(++Ne>1e4)break;var dt=nt.nodeName;if(nt.nodeType===1){var rt=dt.toLowerCase();if(pq.includes(rt)||rt==="iframe"||rt==="video")return nt;var Ct=nt.children||[],yt=Ct.length;if(yt)for(var bt=yt-1;bt>=0;bt--)ge.push(Ct[bt])}}return null}(a);if(p!=null){var h=p.getBoundingClientRect();u=h.top,c=h.height}}var E=f4(e);if(E==null)return r;var g,y=E.top,_=E.left,m=E.width,T=E.height,R={},W=u-y,q=l-_;if(n==="bar")return R.left=q+"px",W>40?R.bottom=T-W+5+"px":R.top=W+c+5+"px",R;if(n==="modal")return i?o?q>(m-d)/2?R.right=m-q+5+"px":R.left=q+d+5+"px":R.left="20px":R.left=q+"px",i?((g=W)<0&&(g=0),R.top=g+"px"):W>(T-c)/2?R.bottom=T-W+5+"px":((g=W+c)<0&&(g=0),R.top=g+5+"px"),R;throw new Error("type '"+n+"' is invalid")}function p4(e,t){gs(function(){var n=f4(e);if(n!=null){var r,i=n.top,o=n.left,a=n.width,s=n.height,u=t.offset(),l=u.top,c=u.left,d=t.width(),p=t.height(),h=l-i,E=c-o,g=t.attr("style");if(g.indexOf("top")>=0&&(r=h+p-s)>0){var y=t.css("top"),_=parseInt(y.toString())-r;_<0&&(_=0),t.css("top",_+"px")}if(g.indexOf("bottom")>=0&&l<0){var m=t.css("bottom"),T=parseInt(m.toString())-Math.abs(l);t.css("bottom",T+"px")}if(g.indexOf("left")>=0&&(r=E+d-a)>0){var R=t.css("left"),W=parseInt(R.toString())-r;W<0&&(W=0),t.css("left",W+"px")}if(g.indexOf("right")>=0&&c<0){var q=t.css("right"),X=parseInt(q.toString())-Math.abs(c);t.css("right",X+"px")}}})}var x$=gy("slice"),S$=bi("species"),m4=Bt.Array,T$=Math.max;_i({target:"Array",proto:!0,forced:!x$},{slice:function(e,t){var n,r,i,o=Kl(this),a=Sf(o),s=ph(e,a),u=ph(t===void 0?a:t,a);if(sy(o)&&(n=o.constructor,(uy(n)&&(n===m4||sy(n.prototype))||ti(n)&&(n=n[S$])===null)&&(n=void 0),n===m4||n===void 0))return iI(o,s,u);for(r=new(n===void 0?m4:n)(T$(u-s,0)),i=0;s<u;s++,i++)s in o&&Xm(r,i,o[s]);return r.length=i,r}});var D$=zm.f,qI=wn("".startsWith),R$=wn("".slice),N$=Math.min,$I=HO("startsWith"),I$=!$I&&!!function(){var e=D$(String.prototype,"startsWith");return e&&!e.writable}();_i({target:"String",proto:!0,forced:!I$&&!$I},{startsWith:function(e){var t=qr(hs(this));UO(e);var n=dh(N$(arguments.length>1?arguments[1]:void 0,t.length)),r=qr(e);return qI?qI(t,r,n):R$(t,n,n+r.length)===r}});var Rh=Object.assign,e9=Object.defineProperty,P$=wn([].concat),t9=!Rh||Fr(function(){if(No&&Rh({b:1},Rh(e9({},"a",{enumerable:!0,get:function(){e9(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(i){t[i]=i}),Rh({},e)[n]!=7||mh(Rh({},t)).join("")!=r})?function(e,t){for(var n=zl(e),r=arguments.length,i=1,o=Q8.f,a=V8.f;r>i;)for(var s,u=ay(arguments[i++]),l=o?P$(mh(u),o(u)):mh(u),c=l.length,d=0;c>d;)s=l[d++],No&&!Or(a,u,s)||(n[s]=u[s]);return n}:Rh;_i({target:"Object",stat:!0,forced:Object.assign!==t9},{assign:t9});var L$=["props","attrs","style","dataset","on","hook"];function n9(e){var t=e.data,n=t===void 0?{}:t,r=e.children,i=r===void 0?[]:r;Object.keys(n).forEach(function(o){var a,s,u=n[o];if(o!=="key"){if(!L$.includes(o)){if(o.startsWith("data-")){var l=o.slice(5);return l=iX(l),function(c,d){c.data==null&&(c.data={});var p=c.data;p.dataset==null&&(p.dataset={}),Object.assign(p.dataset,d)}(e,((a={})[l]=u,a)),void delete n[o]}!function(c,d){c.data==null&&(c.data={});var p=c.data;p.props==null&&(p.props={}),Object.assign(p.props,d)}(e,(s={},s[o]=u,s)),delete n[o]}}else e.key=u}),i.length>0&&i.forEach(function(o){typeof o!="string"&&n9(o)})}var g4=[],r9={};function M$(e,t,n){return Bn(n.isInline(e)?"span":"div",null,t)}function i9(e,t){return t===void 0&&(t=!1),Bn("span",{"data-slate-string":!0},t?e+`
`:e)}function v4(e,t){return e===void 0&&(e=0),t===void 0&&(t=!1),Bn("span",{"data-slate-zero-width":t?"n":"z","data-slate-length":e},"\uFEFF",t?Bn("br",null):null)}function y4(e,t,n,r){return ng.set(e,t),Eh.set(e,n),bn.isElement(e)?function(i,o){var a,s=de.findKey(o,i),u=o.isInline(i),l=U.isVoid(o,i),c=RI(s.id),d={id:c,key:s.id,"data-slate-node":"element","data-slate-inline":u},p=i.type,h=i.children,E=h===void 0?[]:h,g=function(W){return r9[W]||M$}(p);a=l?null:E.map(function(W,q){return y4(W,q,i,o)});var y=g(i,a,o);if(l){d["data-slate-void"]=!0;var _=u?"span":"div",m=Ar(Vt.texts(i),1),T=Ar(m[0],1)[0],R=Bn(_,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},y4(T,0,i,o));y=Bn(_,{style:{position:"relative"}},y,R),ng.set(T,0),Eh.set(T,i)}return y.data==null&&(y.data={}),Object.assign(y.data,d),l||u||(y=function(W,q){var X=q;return g4.forEach(function(ge){X=ge(W,q)}),X}(i,y)),gs(function(){var W=NA(c);W!=null&&(SA.set(s,W),Ny.set(i,W),Ry.set(W,i))}),y}(e,r):function(i,o,a){if(i.text==null)throw new Error("Current node is not slate Text "+JSON.stringify(i));var s=de.findKey(a,i),u=a.getConfig().decorate;if(u==null)throw new Error("Can not get config.decorate");var l=de.findPath(a,i),c=u([i,l]),d=rn.decorations(i,c),p=d.map(function(g,y){var _=function(m,T,R,W,q){T===void 0&&(T=!1);var X=m.text,ge=de.findPath(q,R),Ne=Me.parent(ge);if(U.isEditor(W))throw new Error("Text node "+JSON.stringify(R)+" parent is Editor");return q.isVoid(W)?v4(Vt.string(W).length):X!==""||W.children[W.children.length-1]!==R||q.isInline(W)||U.string(q,Ne)!==""?X===""?v4():T&&X.slice(-1)===`
`?i9(X,!0):i9(X):v4(0,!0)}(g,y===d.length-1,i,o,a);return _=function(m,T){var R=T;return g4.forEach(function(W){R=W(m,R)}),R}(g,_),Bn("span",{"data-slate-leaf":!0},_)}),h=function(g){return"w-e-text-"+g}(s.id),E=Bn("span",{"data-slate-node":"text",id:h,key:s.id},p);return gs(function(){var g=NA(h);g!=null&&(SA.set(s,g),Ny.set(i,g),Ry.set(g,i))}),E}(e,n,r)}function j$(e,t){var n,r=e.$scroll,i=function(g){return"w-e-textarea-"+g}(e.id),o=t.getConfig(),a=o.readOnly,s=o.autoFocus,u=function(g,y){return y===void 0&&(y=!1),oh("div#"+g,{props:{contentEditable:!y}})}(i,a),l=t.children||[];u.children=l.map(function(g,y){var _=y4(g,y,t,t);return n9(_),_});var c=H6.get(e);if(c==null&&(c=!0),c){var d=function(g,y){return we(`<div
id="`+g+`"
data-slate-editor
data-slate-node="value"
suppressContentEditableWarning
role="textarea"
spellCheck="true"
autoCorrect="true"
autoCapitalize="true"
></div>`)}(i);r.append(d),e.$textArea=d,n=d[0],(h=xY([TY,IY,LY,DY,NY,SY]))(n,u),H6.set(e,!1),W6.set(e,h)}else{var p=z6.get(e),h=W6.get(e);if(p==null||h==null)return;n=p.elm,h(p,u)}if(n!=null||(n=NA(i))!=null){if((c?s:t.isFocused())&&n.focus({preventScroll:!0}),c){var E=RA(n);E&&V6.set(t,E)}xA.set(t,n),Ny.set(t,n),Ry.set(n,t),z6.set(e,u)}}function o9(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function a9(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function b4(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return a9(n.overflowY,t)||a9(n.overflowX,t)||function(r){var i=function(o){if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch(a){return null}}(r);return!!i&&(i.clientHeight<r.scrollHeight||i.clientWidth<r.scrollWidth)}(e)}return!1}function Hy(e,t,n,r,i,o,a,s){return o<e&&a>t||o>e&&a<t?0:o<=e&&s<=n||a>=t&&s>=n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0}function s9(e,t){var n=window,r=t.scrollMode,i=t.block,o=t.inline,a=t.boundary,s=t.skipOverflowHiddenElements,u=typeof a=="function"?a:function(Jn){return Jn!==a};if(!o9(e))throw new TypeError("Invalid target");for(var l=document.scrollingElement||document.documentElement,c=[],d=e;o9(d)&&u(d);){if((d=d.parentElement)===l){c.push(d);break}d!=null&&d===document.body&&b4(d)&&!b4(document.documentElement)||d!=null&&b4(d,s)&&c.push(d)}for(var p=n.visualViewport?n.visualViewport.width:innerWidth,h=n.visualViewport?n.visualViewport.height:innerHeight,E=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,y=e.getBoundingClientRect(),_=y.height,m=y.width,T=y.top,R=y.right,W=y.bottom,q=y.left,X=i==="start"||i==="nearest"?T:i==="end"?W:T+_/2,ge=o==="center"?q+m/2:o==="end"?R:q,Ne=[],nt=0;nt<c.length;nt++){var dt=c[nt],rt=dt.getBoundingClientRect(),Ct=rt.height,yt=rt.width,bt=rt.top,Et=rt.right,Jt=rt.bottom,mn=rt.left;if(r==="if-needed"&&T>=0&&q>=0&&W<=h&&R<=p&&T>=bt&&W<=Jt&&q>=mn&&R<=Et)return Ne;var dn=getComputedStyle(dt),cn=parseInt(dn.borderLeftWidth,10),Oe=parseInt(dn.borderTopWidth,10),ae=parseInt(dn.borderRightWidth,10),Le=parseInt(dn.borderBottomWidth,10),ut=0,It=0,gt="offsetWidth"in dt?dt.offsetWidth-dt.clientWidth-cn-ae:0,an="offsetHeight"in dt?dt.offsetHeight-dt.clientHeight-Oe-Le:0;if(l===dt)ut=i==="start"?X:i==="end"?X-h:i==="nearest"?Hy(g,g+h,h,Oe,Le,g+X,g+X+_,_):X-h/2,It=o==="start"?ge:o==="center"?ge-p/2:o==="end"?ge-p:Hy(E,E+p,p,cn,ae,E+ge,E+ge+m,m),ut=Math.max(0,ut+g),It=Math.max(0,It+E);else{ut=i==="start"?X-bt-Oe:i==="end"?X-Jt+Le+an:i==="nearest"?Hy(bt,Jt,Ct,Oe,Le+an,X,X+_,_):X-(bt+Ct/2)+an/2,It=o==="start"?ge-mn-cn:o==="center"?ge-(mn+yt/2)+gt/2:o==="end"?ge-Et+ae+gt:Hy(mn,Et,yt,cn,ae+gt,ge,ge+m,m);var xn=dt.scrollLeft,Fn=dt.scrollTop;X+=Fn-(ut=Math.max(0,Math.min(Fn+ut,dt.scrollHeight-Ct+an))),ge+=xn-(It=Math.max(0,Math.min(xn+It,dt.scrollWidth-yt+gt)))}Ne.push({el:dt,top:ut,left:It})}return Ne}function u9(e){return e===Object(e)&&Object.keys(e).length!==0}function vs(e,t){return Nf(t)&&de.hasDOMNode(e,t,{editable:!0})}function l9(e,t){if(e.getConfig().readOnly)return!1;var n=Nh(e,t)&&de.toSlateNode(e,t);return U.isVoid(e,n)}function Nh(e,t){return Nf(t)&&de.hasDOMNode(e,t)}function c9(e,t,n){n===void 0&&(n=!1);var r=t.selection,i=t.getConfig(),o=de.findDocumentOrShadowRoot(t).getSelection();if(o&&(!e.isComposing||n)&&t.isFocused()){var a=o.type!=="None";if(r||a){var s=xA.get(t),u=!1;if(s.contains(o.anchorNode)&&s.contains(o.focusNode)&&(u=!0),a&&u&&r){var l=de.toSlateRange(t,o,{exactMatch:!0,suppressThrow:!0});if(l&&$e.equals(l,r)){var c=!0;if($e.isCollapsed(r)){var d=o.anchorNode,p=o.anchorOffset;if(d===s){var h=s.childNodes,E=void 0;(E=h[p])&&E.matches("table")&&(c=!1),(E=h[p-1])&&E.matches("table")&&(c=!1)}}if(c)return}}if(!r||de.hasRange(t,r)){e.isUpdatingSelection=!0;var g=r&&de.toDOMRange(t,r);if(g){$e.isBackward(r)?o.setBaseAndExtent(g.endContainer,g.endOffset,g.startContainer,g.startOffset):o.setBaseAndExtent(g.startContainer,g.startOffset,g.endContainer,g.endOffset);var y=g.startContainer.parentElement;if(!y.closest("[data-slate-spacer]")){y.getBoundingClientRect=g.getBoundingClientRect.bind(g);var _=document.body;(function(m,T){var R=!m.ownerDocument.documentElement.contains(m);if(u9(T)&&typeof T.behavior=="function")return T.behavior(R?[]:s9(m,T));if(!R){var W=function(q){return q===!1?{block:"end",inline:"nearest"}:u9(q)?q:{block:"start",inline:"nearest"}}(T);(function(q,X){X===void 0&&(X="auto");var ge="scrollBehavior"in document.body.style;q.forEach(function(Ne){var nt=Ne.el,dt=Ne.top,rt=Ne.left;nt.scroll&&ge?nt.scroll({top:dt,left:rt,behavior:X}):(nt.scrollTop=dt,nt.scrollLeft=rt)})})(s9(m,W),W.behavior)}})(y,{scrollMode:"if-needed",boundary:i.scroll?s.parentElement:_,block:"end",behavior:"smooth"}),delete y.getBoundingClientRect}}else o.removeAllRanges();setTimeout(function(){g&&rg&&s.focus(),e.isUpdatingSelection=!1})}else t.selection=de.toSlateRange(t,o,{exactMatch:!1,suppressThrow:!1})}}}var _4=new WeakMap,f9=new WeakMap,k$={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",splitBlock:"shift?+enter",undo:"mod+z",tab:"tab",selectAll:"mod+a"},F$={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},B$={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},mi=function(e){var t=k$[e],n=F$[e],r=B$[e],i=t&&Kw(t),o=n&&Kw(n),a=r&&Kw(r);return function(s){return!(!i||!i(s))||!!(IA&&o&&o(s))||!(IA||!a||!a(s))}},Ei={isBold:mi("bold"),isCompose:mi("compose"),isMoveBackward:mi("moveBackward"),isMoveForward:mi("moveForward"),isDeleteBackward:mi("deleteBackward"),isDeleteForward:mi("deleteForward"),isDeleteLineBackward:mi("deleteLineBackward"),isDeleteLineForward:mi("deleteLineForward"),isDeleteWordBackward:mi("deleteWordBackward"),isDeleteWordForward:mi("deleteWordForward"),isExtendBackward:mi("extendBackward"),isExtendForward:mi("extendForward"),isExtendLineBackward:mi("extendLineBackward"),isExtendLineForward:mi("extendLineForward"),isItalic:mi("italic"),isMoveLineBackward:mi("moveLineBackward"),isMoveLineForward:mi("moveLineForward"),isMoveWordBackward:mi("moveWordBackward"),isMoveWordForward:mi("moveWordForward"),isRedo:mi("redo"),isSplitBlock:mi("splitBlock"),isTransposeCharacter:mi("transposeCharacter"),isUndo:mi("undo"),isTab:mi("tab"),isSelectAll:mi("selectAll")};function lo(e){e.preventDefault()}var U$={beforeinput:function(e,t,n){var r=e,i=n.getConfig().readOnly;if(og&&!i&&vs(n,r.target)){var o=n.selection,a=r.inputType,s=r.dataTransfer||r.data||void 0;if(a!=="insertCompositionText"&&a!=="deleteCompositionText"){if(r.preventDefault(),!a.startsWith("delete")||a.startsWith("deleteBy")){var u=Ar(r.getTargetRanges(),1)[0];if(u){var l=de.toSlateRange(n,u,{exactMatch:!1,suppressThrow:!1});o&&$e.equals(o,l)||He.select(n,l)}}if(o&&$e.isExpanded(o)&&a.startsWith("delete")){var c=a.endsWith("Backward")?"backward":"forward";U.deleteFragment(n,{direction:c})}else switch(a){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":U.deleteFragment(n);break;case"deleteContent":case"deleteContentForward":U.deleteForward(n);break;case"deleteContentBackward":U.deleteBackward(n);break;case"deleteEntireSoftLine":U.deleteBackward(n,{unit:"line"}),U.deleteForward(n,{unit:"line"});break;case"deleteHardLineBackward":U.deleteBackward(n,{unit:"block"});break;case"deleteSoftLineBackward":U.deleteBackward(n,{unit:"line"});break;case"deleteHardLineForward":U.deleteForward(n,{unit:"block"});break;case"deleteSoftLineForward":U.deleteForward(n,{unit:"line"});break;case"deleteWordBackward":U.deleteBackward(n,{unit:"word"});break;case"deleteWordForward":U.deleteForward(n,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":U.insertBreak(n);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if(a==="insertFromPaste"&&!DA.get(n))break;s instanceof DataTransfer?n.insertData(s):typeof s=="string"&&U.insertText(n,s)}}}},blur:function(e,t,n){var r=e,i=t.isUpdatingSelection,o=t.latestElement;if(!n.getConfig().readOnly&&!i&&vs(n,r.target)){var a=de.findDocumentOrShadowRoot(n);if(o!==a.activeElement){var s=r.relatedTarget;if(!(s===de.toDOMNode(n,n)||zs(s)&&s.hasAttribute("data-slate-spacer"))){if(s!=null&&Nf(s)&&de.hasDOMNode(n,s)){var u=de.toSlateNode(n,s);if(bn.isElement(u)&&!n.isVoid(u))return}if(ig){var l=a.getSelection();l==null||l.removeAllRanges()}Rf.delete(n)}}}},focus:function(e,t,n){var r=de.toDOMNode(n,n),i=de.findDocumentOrShadowRoot(n);t.latestElement=i.activeElement,rg&&e.target!==r?r.focus():Rf.set(n,!0)},click:function(e,t,n){if(!n.getConfig().readOnly&&Nh(n,e.target)&&Nf(e.target)){var r=de.toSlateNode(n,e.target),i=de.findPath(n,r);if(U.hasPath(n,i)&&Vt.get(n,i)===r){var o=U.start(n,i),a=U.end(n,i),s=U.void(n,{at:o}),u=U.void(n,{at:a});if(s&&u&&Me.equals(s[1],u[1])){var l=U.range(n,o);He.select(n,l)}}}},compositionstart:function(e,t,n){if(vs(n,e.target)){var r=n.selection;if(r&&$e.isExpanded(r)&&(U.deleteFragment(n),Promise.resolve().then(function(){c9(t,n,!0)})),r&&$e.isCollapsed(r)){var i=de.toDOMRange(n,r).startContainer,o=i.textContent||"";_4.set(n,o),f9.set(n,i)}t.isComposing=!0,function(a,s){var u;s.getConfig().placeholder&&s.isEmpty()&&a.showPlaceholder&&((u=a.$placeholder)===null||u===void 0||u.hide(),a.showPlaceholder=!1)}(t,n)}},compositionend:function(e,t,n){var r=e;if(vs(n,r.target)){t.isComposing=!1;var i=n.selection;if(i!=null){(PA||rg)&&de.cleanExposedTexNodeInSelectionBlock(n);for(var o=$e.isBackward(i)?i.focus:i.anchor,a=Ar(U.node(n,[o.path[0]]),1)[0],s=0;s<o.path.length;s++){var u=Ar(U.node(n,o.path.slice(0,s+1)),1)[0];if(bn.isElement(u)&&((ig||rg)&&u.type==="link"||u.type==="code")){de.setNewKey(a);break}}var l=r.data;if(l){if(n.getConfig().maxLength){var c=de.getLeftLengthOfMaxLength(n);c<l.length?(de.toDOMRange(n,i).startContainer.textContent=_4.get(n)||"",c>0&&U.insertText(n,l.slice(0,c)),t.changeViewState()):U.insertText(n,l)}else U.insertText(n,l);ig||setTimeout(function(){var d=n.selection;if(d!=null){var p=f9.get(n);p!=null&&de.toDOMRange(n,d).startContainer!==p&&(p.textContent=_4.get(n)||"")}})}}}},compositionupdate:function(e,t,n){vs(n,e.target)&&(t.isComposing=!0)},keydown:function(e,t,n){var r=e,i=n.selection;if(!n.getConfig().readOnly&&!t.isComposing&&vs(n,r.target)){if(function(a,s){var u=Sy.get(a),l=u&&u.getMenus(),c=Ty.get(a),d=c&&c.getMenus(),p=ps(ps({},l),d);for(var h in p){var E=p[h],g=E.hotkey;if(g&&sX(g,s)&&!E.isDisabled(a)){var y=E.getValue(a);E.exec(a,y)}}}(n,r),Ei.isTab(r))return lo(r),void n.handleTab();if(Ei.isRedo(r))return lo(r),void(typeof n.redo=="function"&&n.redo());if(Ei.isUndo(r))return lo(r),void(typeof n.undo=="function"&&n.undo());if(Ei.isMoveLineBackward(r))return lo(r),void He.move(n,{unit:"line",reverse:!0});if(Ei.isMoveLineForward(r))return lo(r),void He.move(n,{unit:"line"});if(Ei.isExtendLineBackward(r))return lo(r),void He.move(n,{unit:"line",edge:"focus",reverse:!0});if(Ei.isExtendLineForward(r))return lo(r),void He.move(n,{unit:"line",edge:"focus"});if(Ei.isMoveBackward(r))return lo(r),void(i&&$e.isCollapsed(i)?He.move(n,{reverse:!0}):He.collapse(n,{edge:"start"}));if(Ei.isMoveForward(r))return lo(r),void(i&&$e.isCollapsed(i)?He.move(n):He.collapse(n,{edge:"end"}));if(Ei.isMoveWordBackward(r))return lo(r),i&&$e.isExpanded(i)&&He.collapse(n,{edge:"focus"}),void He.move(n,{unit:"word",reverse:!0});if(Ei.isMoveWordForward(r))return lo(r),i&&$e.isExpanded(i)&&He.collapse(n,{edge:"focus"}),void He.move(n,{unit:"word"});if(Ei.isSelectAll(r))return lo(r),void n.selectAll();if(og){if((PA||ig)&&i&&(Ei.isDeleteBackward(r)||Ei.isDeleteForward(r))&&$e.isCollapsed(i)){var o=Vt.parent(n,i.anchor.path);if(bn.isElement(o)&&U.isVoid(n,o)&&U.isInline(n,o))return r.preventDefault(),void He.delete(n,{unit:"block"})}}else{if(Ei.isBold(r)||Ei.isItalic(r)||Ei.isTransposeCharacter(r))return void lo(r);if(Ei.isSplitBlock(r))return lo(r),void U.insertBreak(n);if(Ei.isDeleteBackward(r))return lo(r),void(i&&$e.isExpanded(i)?U.deleteFragment(n,{direction:"backward"}):U.deleteBackward(n));if(Ei.isDeleteForward(r))return lo(r),void(i&&$e.isExpanded(i)?U.deleteFragment(n,{direction:"forward"}):U.deleteForward(n));if(Ei.isDeleteLineBackward(r))return lo(r),void(i&&$e.isExpanded(i)?U.deleteFragment(n,{direction:"backward"}):U.deleteBackward(n,{unit:"line"}));if(Ei.isDeleteLineForward(r))return lo(r),void(i&&$e.isExpanded(i)?U.deleteFragment(n,{direction:"forward"}):U.deleteForward(n,{unit:"line"}));if(Ei.isDeleteWordBackward(r))return lo(r),void(i&&$e.isExpanded(i)?U.deleteFragment(n,{direction:"backward"}):U.deleteBackward(n,{unit:"word"}));if(Ei.isDeleteWordForward(r))return lo(r),void(i&&$e.isExpanded(i)?U.deleteFragment(n,{direction:"forward"}):U.deleteForward(n,{unit:"word"}))}}},keypress:function(e,t,n){if(!og&&!n.getConfig().readOnly&&vs(n,e.target)){e.preventDefault();var r=e.key;U.insertText(n,r)}},copy:function(e,t,n){var r=e;if(vs(n,r.target)){r.preventDefault();var i=r.clipboardData;i!=null&&n.setFragmentData(i)}},cut:function(e,t,n){var r=e,i=n.selection;if(!n.getConfig().readOnly&&vs(n,r.target)){r.preventDefault();var o=r.clipboardData;if(o!=null&&(n.setFragmentData(o),i))if($e.isExpanded(i))U.deleteFragment(n);else{var a=Vt.parent(n,i.anchor.path);U.isVoid(n,a)&&He.delete(n)}}},paste:function(e,t,n){DA.set(n,!0);var r=e;if(!n.getConfig().readOnly&&vs(n,r.target)){var i=n.getConfig().customPaste;if(i&&i(n,r)===!1)return void DA.set(n,!1);if(!og||function(a){return a.clipboardData&&a.clipboardData.getData("text/plain")!==""&&a.clipboardData.types.length===1}(r)){r.preventDefault();var o=r.clipboardData;o!=null&&n.insertData(o)}}},dragover:function(e,t,n){if(Nh(n,e.target)){var r=de.toSlateNode(n,e.target);U.isVoid(n,r)&&e.preventDefault()}},dragstart:function(e,t,n){var r=e;if(Nh(n,r.target)&&!n.getConfig().readOnly){var i=de.toSlateNode(n,r.target),o=de.findPath(n,i);if(U.isVoid(n,i)||U.void(n,{at:o,voids:!0})){var a=U.range(n,o);He.select(n,a)}var s=r.dataTransfer;s!=null&&(t.isDraggingInternally=!0,n.setFragmentData(s))}},dragend:function(e,t,n){var r=e;n.getConfig().readOnly||t.isDraggingInternally&&Nh(n,r.target)&&(t.isDraggingInternally=!1)},drop:function(e,t,n){var r=e,i=r.dataTransfer;if(!n.getConfig().readOnly&&Nh(n,r.target)&&i!=null&&!(og&&ig&&i.files.length>0)){r.preventDefault();var o=n.selection,a=de.findEventRange(n,r);He.select(n,a),t.isDraggingInternally&&(o&&He.delete(n,{at:o}),t.isDraggingInternally=!1),n.insertData(i),n.isFocused()||n.focus()}}},H$=1,W$=function(){function e(t){var n=this;this.id=H$++,this.$textArea=null,this.$progressBar=we('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=we('<div class="w-e-max-length-info"></div>'),this.isComposing=!1,this.isUpdatingSelection=!1,this.isDraggingInternally=!1,this.latestElement=null,this.showPlaceholder=!1,this.$placeholder=null,this.latestEditorSelection=null,this.onDOMSelectionChange=pf(function(){var a=n.editorInstance;!function(s,u){var l=s.isComposing,c=s.isUpdatingSelection,d=s.isDraggingInternally;if(!(u.getConfig().readOnly||l||c||d)){var p=de.findDocumentOrShadowRoot(u),h=p.activeElement,E=de.toDOMNode(u,u),g=p.getSelection();if(h===E?(s.latestElement=h,Rf.set(u,!0)):Rf.delete(u),!g)return He.deselect(u);var y=g.anchorNode,_=g.focusNode,m=vs(u,y)||l9(u,y),T=vs(u,_)||l9(u,_);if(m&&T){var R=de.toSlateRange(u,g,{exactMatch:!1,suppressThrow:!1});He.select(u,R)}else He.deselect(u)}}(n,a)},100);var r=we(t);if(r.length===0)throw new Error("Cannot find textarea DOM by selector '"+t+"'");this.$box=r;var i=we('<div class="w-e-text-container"></div>');i.append(this.$progressBar),i.append(this.$maxLengthInfo),r.append(i);var o=we('<div class="w-e-scroll"></div>');i.append(o),this.$scroll=o,this.$textAreaContainer=i,gs(function(){var a=n.editorInstance,s=de.getWindow(a);s.document.addEventListener("selectionchange",n.onDOMSelectionChange),a.on("destroyed",function(){s.document.removeEventListener("selectionchange",n.onDOMSelectionChange)}),i.on("click",function(){return a.hidePanelOrModal()}),a.on("change",n.changeViewState.bind(n));var u=a.getConfig().onChange;u&&a.on("change",function(){return u(a)}),n.onFocusAndOnBlur(),a.on("change",n.changeMaxLengthInfo.bind(n)),n.bindEvent()})}return Object.defineProperty(e.prototype,"editorInstance",{get:function(){var t=EA.get(this);if(t==null)throw new Error("Can not get editor instance");return t},enumerable:!1,configurable:!0}),e.prototype.bindEvent=function(){var t=this,n=this.$textArea,r=this.$scroll,i=this.editorInstance;n!=null&&(Lw(U$,function(o,a){n.on(a,function(s){o(s,t,i)})}),i.getConfig().scroll&&(r.css("overflow-y","auto"),r.on("scroll",pf(function(){i.emit("scroll")},100))))},e.prototype.onFocusAndOnBlur=function(){var t=this,n=this.editorInstance,r=n.getConfig(),i=r.onBlur,o=r.onFocus;this.latestEditorSelection=n.selection,n.on("change",function(){t.latestEditorSelection==null&&n.selection!=null?setTimeout(function(){return o&&o(n)}):t.latestEditorSelection!=null&&n.selection==null&&setTimeout(function(){return i&&i(n)}),t.latestEditorSelection=n.selection})},e.prototype.changeMaxLengthInfo=function(){var t=this.editorInstance,n=t.getConfig().maxLength;if(n){var r=n-de.getLeftLengthOfMaxLength(t);this.$maxLengthInfo[0].innerHTML=r+"/"+n}},e.prototype.changeProgress=function(t){var n=this.$progressBar;n.css("width",t+"%"),t>=100&&setTimeout(function(){n.hide(),n.css("width","0"),n.show()},1e3)},e.prototype.changeViewState=function(){var t=this,n=this.editorInstance;j$(this,n),function(r,i){var o,a=i.getConfig().placeholder;if(a){var s=i.isEmpty();if(s&&!r.showPlaceholder&&!r.isComposing){if(r.$placeholder==null){var u=we('<div class="w-e-text-placeholder">'+a+"</div>");r.$textAreaContainer.append(u),r.$placeholder=u}return r.$placeholder.show(),void(r.showPlaceholder=!0)}!s&&r.showPlaceholder&&((o=r.$placeholder)===null||o===void 0||o.hide(),r.showPlaceholder=!1)}}(this,n),gs(function(){c9(t,n)})},e.prototype.destroy=function(){this.$textAreaContainer.remove()},e}();function E4(e){e.removeAttr("width"),e.removeAttr("height"),e.removeAttr("fill"),e.removeAttr("class"),e.removeAttr("t"),e.removeAttr("p-id");var t=e.children();t.length&&E4(t)}function w4(){return we('<svg viewBox="0 0 1024 1024"><path d="M498.7 655.8l-197.6-268c-8.1-10.9-0.3-26.4 13.3-26.4h395.2c13.6 0 21.4 15.4 13.3 26.4l-197.6 268c-6.6 9-20 9-26.6 0z"></path></svg>')}function d9(){return we('<div class="w-e-bar-divider"></div>')}function h9(e,t,n,r,i){if(i===void 0&&(i=!1),t){if(r){var o=IA?"cmd":"ctrl";r=r.replace("mod",o)}if(i)r&&(e.attr("data-tooltip",r),e.addClass("w-e-menu-tooltip-v5"),e.addClass("tooltip-right"));else{var a=r?n+`
`+r:n;e.attr("data-tooltip",a),e.addClass("w-e-menu-tooltip-v5")}}}sA("match",function(e,t,n){return[function(r){var i=hs(this),o=r==null?void 0:Af(r,e);return o?Or(o,r,i):new RegExp(r)[e](qr(i))},function(r){var i=Qi(this),o=qr(r),a=n(t,i,o);if(a.done)return a.value;if(!i.global)return Zm(i,o);var s=i.unicode;i.lastIndex=0;for(var u,l=[],c=0;(u=Zm(i,o))!==null;){var d=qr(u[0]);l[c]=d,d===""&&(i.lastIndex=uA(o,dh(i.lastIndex),s)),c++}return c===0?null:l}]});var O4=function(){function e(t,n,r){var i=this;r===void 0&&(r=!1),this.$elem=we('<div class="w-e-bar-item"></div>'),this.$button=we('<button type="button"></button>'),this.disabled=!1,this.menu=n;var o=n.tag,a=n.width;if(o!=="button")throw new Error("Invalid tag '"+o+"', expected 'button'");var s=n.title,u=n.hotkey,l=u===void 0?"":u,c=n.iconSvg,d=c===void 0?"":c,p=this.$button;if(d){var h=we(d);E4(h),p.append(h)}else p.text(s);h9(p,d,s,l,r),r&&d&&p.append(we('<span class="title">'+s+"</span>")),a&&p.css("width",a+"px"),p.attr("data-menu-key",t),this.$elem.append(p),gs(function(){return i.init()})}return e.prototype.init=function(){var t=this;this.setActive(),this.setDisabled(),this.$button.on("click",function(n){n.preventDefault(),Wa(t).hidePanelOrModal(),t.disabled||(t.exec(),t.onButtonClick())})},e.prototype.exec=function(){var t=Wa(this),n=this.menu,r=n.getValue(t);n.exec(t,r)},e.prototype.setActive=function(){var t=Wa(this),n=this.$button,r="active";this.menu.isActive(t)?n.addClass(r):n.removeClass(r)},e.prototype.setDisabled=function(){var t=Wa(this),n=this.$button,r=this.menu.isDisabled(t);(t.selection==null||t.isDisabled())&&(r=!0),this.menu.alwaysEnable&&(r=!1);var i="disabled";r?n.addClass(i):n.removeClass(i),this.disabled=r},e.prototype.changeMenuState=function(){this.setActive(),this.setDisabled()},e}(),z$=function(e){function t(n,r,i){return i===void 0&&(i=!1),e.call(this,n,r,i)||this}return bh(t,e),t.prototype.onButtonClick=function(){},t}(O4),A4=function(){function e(t){this.isShow=!1,this.showTime=0,this.record(t)}return e.prototype.record=function(t){var n=CA.get(t);n==null&&(n=new Set,CA.set(t,n)),n.add(this),Dy.set(this,t)},e.prototype.renderContent=function(t){var n=this.$elem;n.empty(),n.append(t);var r=this.genSelfElem();r&&n.append(r)},e.prototype.appendTo=function(t){var n=this.$elem;t.append(n)},e.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var t=Dy.get(this);t&&t.emit("modalOrPanelShow",this)}},e.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var t=Dy.get(this);t&&t.emit("modalOrPanelHide")}},e}(),V$=function(e){function t(n){var r=e.call(this,n)||this;return r.type="dropPanel",r.$elem=we('<div class="w-e-drop-panel"></div>'),r}return bh(t,e),t.prototype.genSelfElem=function(){return null},t}(A4),G$=function(e){function t(n,r,i){i===void 0&&(i=!1);var o=e.call(this,n,r,i)||this;if(o.dropPanel=null,o.menu=r,r.showDropPanel){var a=w4();o.$button.append(a)}return o}return bh(t,e),t.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel()},t.prototype.handleDropPanel=function(){var n=this.menu;if(n.getPanelContentElem!=null){var r=Wa(this);if(this.dropPanel==null){var i=new V$(r),o=n.getPanelContentElem(r);i.renderContent(o),i.appendTo(this.$elem),i.show(),this.dropPanel=i}else{var a=this.dropPanel;a.isShow?a.hide():(o=n.getPanelContentElem(r),a.renderContent(o),a.show())}var s=this.dropPanel;if(s.isShow){var u=this.$elem,l=u.offset().left,c=u.parents(".w-e-bar");l-c.offset().left>=c.width()/2?s.$elem.css({left:"none",right:"0"}):s.$elem.css({left:"0",right:"none"})}}},t}(O4),K$=function(e){function t(n,r){r===void 0&&(r=0);var i=e.call(this,n)||this;i.type="modal",i.$elem=we('<div class="w-e-modal"></div>'),i.width=0,r&&(i.width=r);var o=i.$elem;return o.on("click",function(a){return a.stopPropagation()}),o.on("keyup",function(a){a.code==="Escape"&&(i.hide(),n.restoreSelection())}),i}return bh(t,e),t.prototype.genSelfElem=function(){var n=this,r=we('<span class="btn-close"><svg viewBox="0 0 1024 1024"><path d="M1024 896.1024l-128 128L512 640 128 1024 0 896 384 512 0 128 128 0 512 384 896.1024 0l128 128L640 512z"></path></svg></span>'),i=Dy.get(this);return r.on("click",function(){n.hide(),i==null||i.restoreSelection()}),r},t.prototype.setStyle=function(n){var r=this.width,i=this.$elem;i.attr("style",""),r&&i.css("width",r+"px"),i.css(n)},t}(A4);function Ha(e,t,n){var r=we('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var i=we('<input type="text" id="'+t+'" placeholder="'+(n||"")+'">');return r.append(i),[r[0],i[0]]}function H1e(e,t,n){var r=we('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var i=we('<textarea type="text" id="'+t+'" placeholder="'+(n||"")+'"></textarea>');return r.append(i),[r[0],i[0]]}function Ih(e,t){var n=we('<div class="button-container"></div>'),r=we('<button type="button" id="'+e+'">'+t+"</button>");return n.append(r),[n[0],r[0]]}var Y$=function(e){function t(n,r,i){i===void 0&&(i=!1);var o=e.call(this,n,r,i)||this;return o.$body=we("body"),o.modal=null,o.menu=r,o}return bh(t,e),t.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal()},t.prototype.getPosition=function(){var n=Wa(this),r=this.menu.getModalPositionNode(n);return bn.isElement(r)?h4(n,r,"modal"):d4(n)},t.prototype.handleModal=function(){var n=Wa(this),r=this.menu;if(this.modal==null){var i=new K$(n,r.modalWidth);this.renderAndShowModal(i,!0),this.modal=i}else(i=this.modal).isShow?i.hide():this.renderAndShowModal(i,!1)},t.prototype.renderAndShowModal=function(n,r){r===void 0&&(r=!1);var i=Wa(this),o=this.menu;if(o.getModalContentElem!=null){var a=de.getTextarea(i),s=de.getToolbar(i),u=((s==null?void 0:s.getConfig())||{}).modalAppendToBody,l=o.getModalContentElem(i);if(n.renderContent(l),u)n.setStyle({left:"0",right:"0"});else{var c=this.getPosition();n.setStyle(c)}r&&(u?n.appendTo(this.$body):n.appendTo(a.$textAreaContainer)),n.show(),u||p4(i,n.$elem),setTimeout(function(){i.blur()})}},t}(O4),X$=function(e){function t(n,r){var i=e.call(this,n)||this;return i.type="selectList",i.$elem=we('<div class="w-e-select-list"></div>'),r&&i.$elem.css("width",r+"px"),i.$elem.on("click",function(o){o.stopPropagation()}),i}return bh(t,e),t.prototype.renderList=function(n){var r=this.$elem;r.empty();var i=we("<ul></ul>");n.forEach(function(o){var a=o.value,s=o.text,u=o.selected,l=o.styleForRenderMenuList,c=we('<li data-value="'+a+'"></li>');if(l&&c.css(l),u){var d=we('<svg viewBox="0 0 1446 1024"><path d="M574.116299 786.736392 1238.811249 48.517862C1272.390222 11.224635 1329.414799 7.827718 1366.75664 41.450462 1403.840015 74.840484 1406.731043 132.084741 1373.10189 169.433699L655.118888 966.834607C653.072421 969.716875 650.835807 972.514337 648.407938 975.210759 615.017957 1012.29409 558.292155 1015.652019 521.195664 982.250188L72.778218 578.493306C35.910826 545.297758 32.859041 488.584019 66.481825 451.242134 99.871807 414.158803 156.597563 410.800834 193.694055 444.202665L574.116299 786.736392Z"></path></svg>');c.append(d),c.addClass("selected")}c.append(we('<span data-value="'+a+'">'+s+"</span>")),c.attr("title",s),i.append(c)}),r.append(i)},t.prototype.genSelfElem=function(){return null},t}(A4),J$=function(){function e(t,n,r){var i=this;r===void 0&&(r=!1),this.$elem=we('<div class="w-e-bar-item"></div>'),this.$button=we('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var o=n.tag,a=n.title,s=n.width,u=n.iconSvg,l=u===void 0?"":u,c=n.hotkey,d=c===void 0?"":c;if(o!=="select")throw new Error("Invalid tag '"+o+"', expected 'select'");var p=this.$button;s&&p.css("width",s+"px"),p.attr("data-menu-key",t),h9(p,l,a,d,r),this.$elem.append(p),this.menu=n,gs(function(){return i.init()})}return e.prototype.init=function(){var t=this;this.setSelectedValue(),this.$button.on("click",function(n){n.preventDefault(),Wa(t).hidePanelOrModal(),t.trigger()})},e.prototype.trigger=function(){var t=this,n=Wa(this);if(!n.isDisabled()&&!this.disabled){var r=this.menu;if(this.selectList==null){this.selectList=new X$(n,r.selectPanelWidth);var i=this.selectList,o=r.getOptions(n);i.renderList(o),i.appendTo(this.$elem),i.show(),i.$elem.on("click","li",function(a){var s=a.target;if(s!=null){a.preventDefault();var u=we(s).attr("data-value");t.onChange(u)}})}else(i=this.selectList).isShow?i.hide():(o=r.getOptions(n),i.renderList(o),i.show())}},e.prototype.onChange=function(t){var n=Wa(this),r=this.menu;r.exec&&r.exec(n,t)},e.prototype.setSelectedValue=function(){var t=Wa(this),n=this.menu,r=n.getValue(t),i=function(s,u){for(var l=s.length,c="",d=0;d<l;d++){var p=s[d];if(p.value===u){c=p.text;break}}return c}(n.getOptions(t),r.toString()),o=this.$button,a=w4();o.empty(),o.text(i),o.append(a)},e.prototype.setDisabled=function(){var t=Wa(this),n=this.menu.isDisabled(t),r=this.$button;(t.selection==null||t.isDisabled())&&(n=!0);var i="disabled";n?r.addClass(i):r.removeClass(i),this.disabled=n},e.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled()},e}(),p9=function(){function e(t){this.$elem=we('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=we('<div class="w-e-bar-item-menus-container"></div>'),this.$button=we('<button type="button"></button>');var n=t.key,r=t.iconSvg,i=t.title,o=this.$elem,a=this.$button;if(r){var s=we(r);E4(s),a.append(s)}else a.text(i);a.attr("data-menu-key",n);var u=w4();a.append(u),o.append(a);var l=this.$container;o.append(l);var c=this.createObserver();this.observe(c)}return e.prototype.appendBarItem=function(t){var n=t.$elem;this.$container.append(n)},e.prototype.observe=function(t){var n=this.$container;t.observe(n[0],{childList:!0,subtree:!0,attributes:!0})},e.prototype.createObserver=function(){var t=this,n=this.$container,r=this.$button,i=new MutationObserver(function(){var o=n.find("button"),a=o.length;if(a!==0){var s=0;o.each(function(u){we(u).hasClass("disabled")&&s++}),i.disconnect(),s===a?r.addClass("disabled"):r.removeClass("disabled"),t.observe(i)}});return i},e}(),m9=new WeakMap;function Wa(e){var t=AA.get(e);if(t==null)throw new Error("Can not get editor instance");return t}function g9(e,t,n){n===void 0&&(n=!1);var r=m9.get(t);if(r)return r;var i=t.tag;if(i==="button"){var o=t.showDropPanel,a=t.showModal;r=o?new G$(e,t,n):a?new Y$(e,t,n):new z$(e,t,n)}if(i==="select"&&(r=new J$(e,t,n)),r==null)throw new Error("Invalid tag in menu "+JSON.stringify(t));return m9.set(t,r),r}function Q$(e,t){var n=e.selection;return n!=null&&!$e.isCollapsed(n)&&!de.getSelectedElems(e).some(function(r){if(e.isVoid(r))return!0;var i=r.type;return!!["pre","code","table"].includes(i)||void 0})&&!!rn.isText(t)}var Z$=function(){function e(){var t=this;this.$elem=we('<div class="w-e-bar w-e-bar-hidden w-e-hover-bar"></div>'),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null,this.isShow=!1,this.changeHoverbarState=F7(function(){var n=t.isShow,r=t.getSelectedNodeAndMenuKeys()||{},i=r.node,o=i===void 0?null:i,a=r.menuKeys,s=a===void 0?[]:a;o!=null&&t.changeItemsState(),o&&bn.isElement(o)&&n&&t.isSamePath(o,t.prevSelectedNode)||(t.hideAndClean(),o!=null&&(t.registerItems(s),t.setPosition(o),t.show()),t.prevSelectedNode=o)},200),gs(function(){var n=t.getEditorInstance(),r=t.$elem;r.on("mousedown",function(o){return o.preventDefault()},{passive:!1}),de.getTextarea(n).$textAreaContainer.append(r),n.on("change",t.changeHoverbarState);var i=t.hideAndClean.bind(t);n.on("scroll",i),n.on("fullScreen",i),n.on("unFullScreen",i)})}return e.prototype.getMenus=function(){return this.menus},e.prototype.hideAndClean=function(){var t=this.$elem;t.removeClass("w-e-bar-show").addClass("w-e-bar-hidden"),this.hoverbarItems=[],t.empty(),this.isShow=!1},e.prototype.checkPositionBottom=function(){var t=this.$elem,n=!1,r=window.innerHeight;r&&r>=360&&r-t[0].getBoundingClientRect().bottom<360&&(n=!0),n?t.addClass("w-e-bar-bottom"):t.removeClass("w-e-bar-bottom")},e.prototype.show=function(){this.$elem.removeClass("w-e-bar-hidden").addClass("w-e-bar-show"),this.isShow=!0,this.checkPositionBottom()},e.prototype.changeItemsState=function(){var t=this;gs(function(){t.hoverbarItems.forEach(function(n){n.changeMenuState()})})},e.prototype.registerItems=function(t){var n=this,r=this.$elem;t.forEach(function(i){if(i!=="|")n.registerSingleItem(i);else{var o=d9();r.append(o)}})},e.prototype.registerSingleItem=function(t){var n=this.getEditorInstance(),r=this.menus,i=r[t];if(i==null){var o=ag[t];if(o==null)throw new Error("Not found menu item factory by key '"+t+"'");if(typeof o!="function")throw new Error("Menu item factory (key='"+t+"') is not a function");i=o(),r[t]=i}var a=g9(t,i);this.hoverbarItems.push(a),AA.set(a,n),this.$elem.append(a.$elem)},e.prototype.setPosition=function(t){var n=this.getEditorInstance(),r=this.$elem;if(r.attr("style",""),bn.isElement(t)){var i=h4(n,t,"bar");return r.css(i),void p4(n,r)}if(rn.isText(t))return i=d4(n),r.css(i),void p4(n,r);throw new Error("hoverbar.setPosition error, current selected node is not elem nor text")},e.prototype.getSelectedNodeAndMenuKeys=function(){var t=this.getEditorInstance();if(t.selection==null)return null;var n=this.getHoverbarKeysConf(),r=null,i=[],o=function(s){var u=n[s],l=u.match,c=u.menuKeys,d=c===void 0?[]:c,p=l||function(g,y){return de.checkNodeType(y,s)},h=Ar(U.nodes(t,{match:function(g){return p(t,g)},universal:!0}),1),E=h[0];if(E!=null)return r=E[0],i=d,"break"};for(var a in n)if(o(a)==="break")break;return r==null||i.length===0?null:{node:r,menuKeys:i}},e.prototype.getEditorInstance=function(){var t=OA.get(this);if(t==null)throw new Error("Can not get editor instance");return t},e.prototype.getHoverbarKeysConf=function(){var t=this.getEditorInstance().getConfig().hoverbarKeys,n=t===void 0?{}:t,r=n.text;return r&&r.match==null&&(r.match=Q$),n},e.prototype.isSamePath=function(t,n){if(t==null||n==null)return!1;var r=de.findPath(null,t),i=de.findPath(null,n);return Me.equals(r,i)},e.prototype.destroy=function(){this.changeHoverbarState.cancel(),this.$elem.remove(),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null},e}();function v9(e,t,n,r){if(ng.set(e,t),Eh.set(e,n),bn.isElement(e)){var i=e.children;if((i===void 0?[]:i).forEach(function(s,u){return v9(s,u,e,r)}),U.isVoid(r,e)){var o=Ar(Vt.texts(e),1),a=Ar(o[0],1)[0];ng.set(a,0),Eh.set(a,e)}}}function q$(e){var t=e.selector,n=t===void 0?"":t,r=e.config,i=r===void 0?{}:r,o=e.content,a=e.html,s=e.plugins,u=s===void 0?[]:s,l=(_=>{var m=_,{apply:T}=m;return m.history={undos:[],redos:[]},m.redo=()=>{var{history:R}=m,{redos:W}=R;if(W.length>0){var q=W[W.length-1];gh.withoutSaving(m,()=>{U.withoutNormalizing(m,()=>{for(var X of q)m.apply(X)})}),R.redos.pop(),R.undos.push(q)}},m.undo=()=>{var{history:R}=m,{undos:W}=R;if(W.length>0){var q=W[W.length-1];gh.withoutSaving(m,()=>{U.withoutNormalizing(m,()=>{var X=q.map(Pl.inverse).reverse();for(var ge of X)m.apply(ge)})}),R.redos.push(q),R.undos.pop()}},m.apply=R=>{var{operations:W,history:q}=m,{undos:X}=q,ge=X[X.length-1],Ne=ge&&ge[ge.length-1],nt=((yt,bt)=>!(!bt||yt.type!=="set_selection"||bt.type!=="set_selection"))(R,Ne),dt=gh.isSaving(m),rt=gh.isMerging(m);if(dt==null&&(dt=((yt,bt)=>yt.type!=="set_selection"||yt.properties!=null&&yt.newProperties!=null)(R)),dt){if(rt==null&&(rt=ge!=null&&(W.length!==0||((yt,bt)=>yt.type==="set_selection"||!(!bt||yt.type!=="insert_text"||bt.type!=="insert_text"||yt.offset!==bt.offset+bt.text.length||!Me.equals(yt.path,bt.path))||!(!bt||yt.type!=="remove_text"||bt.type!=="remove_text"||yt.offset+yt.text.length!==bt.offset||!Me.equals(yt.path,bt.path)))(R,Ne)||nt)),ge&&rt)nt&&ge.pop(),ge.push(R);else{var Ct=[R];X.push(Ct)}for(;X.length>100;)X.shift();(yt=>yt.type!=="set_selection")(R)&&(q.redos=[])}T(R)},m})(function(_){var m=_,T=m.insertText,R=m.insertNode,W=m.insertFragment,q=m.dangerouslyInsertHtml;return m.insertText=function(X){if(m.getConfig().maxLength){var ge=de.getLeftLengthOfMaxLength(m);ge<=0||(ge<X.length?T(X.slice(0,ge)):T(X))}else T(X)},m.insertNode=function(X){if(m.getConfig().maxLength){var ge=de.getLeftLengthOfMaxLength(m);ge<=0||ge<Vt.string(X).length||R(X)}else R(X)},m.insertFragment=function(X){if(m.getConfig().maxLength)if(X.length!==1)X.forEach(function(Ne){m.insertNode(Ne)});else{var ge=X[0];if(de.getLeftLengthOfMaxLength(m)<Vt.string(ge).length)return;W(X)}else W(X)},m.dangerouslyInsertHtml=function(X,ge){if(X===void 0&&(X=""),ge===void 0&&(ge=!1),X)if(m.getConfig().maxLength){var Ne=de.getLeftLengthOfMaxLength(m);if(!(Ne<=0)){var nt=document.createElement("div");nt.innerHTML=X;var dt=Array.from(nt.childNodes).reduce(function(rt,Ct){var yt=Ct.nodeType,bt=Ct.nodeName;return Ct?yt===bu.TEXT_NODE?rt+(Ct.textContent||""):yt===bu.ELEMENT_NODE?KI.has(bt.toLowerCase())?rt:rt+(Ct.textContent||""):rt:rt},"");Ne<dt.length||q(X,ge)}}else q(X,ge)},m}(function(_){var m=_;return m.on=function(T,R){var W=By(m);if(W.on(T,R),T==="destroyed"&&ZI(m,R),T!=="destroyed"){var q=function(){return W.off(T,R)};W.on("destroyed",q),ZI(m,q)}},m.once=function(T,R){By(m).once(T,R)},m.off=function(T,R){By(m).off(T,R)},m.emit=function(T){for(var R=[],W=1;W<arguments.length;W++)R[W-1]=arguments[W];var q=By(m);q.emit.apply(q,pA([T],Ar(R))),T==="destroyed"&&(A$(m).forEach(function(X){return q.off("destroyed",X)}),C$(m))},m}(function(_){var m=_;return m.select=function(T){He.select(m,T)},m.deselect=function(){var T=m.selection,R=de.findDocumentOrShadowRoot(m).getSelection();R&&R.rangeCount>0&&R.removeAllRanges(),T&&He.deselect(_)},m.move=function(T,R){R===void 0&&(R=!1),T&&(T<0||He.move(_,{distance:T,unit:"character",reverse:R}))},m.moveReverse=function(T){m.move(T,!0)},m.restoreSelection=function(){var T=TA.get(m);T!=null&&(m.focus(),He.select(m,T))},m.getSelectionPosition=function(){return d4(m)},m.getNodePosition=function(T){return h4(m,T)},m.isSelectedAll=function(){var T=m.selection;if(T==null)return!1;var R=Ar($e.edges(T),2),W=R[0],q=R[1],X=Ar(U.edges(m,[]),2),ge=X[0],Ne=X[1];return!(!tr.equals(W,ge)||!tr.equals(q,Ne))},m.selectAll=function(){var T=U.start(m,[]),R=U.end(m,[]);He.select(m,{anchor:T,focus:R})},m}(function(_){var m=_,T=m.onChange,R=m.insertText,W=m.apply,q=m.deleteBackward;return m.insertText=function(X){m.getConfig().readOnly||R(X)},m.apply=function(X){var ge,Ne,nt,dt,rt,Ct,yt,bt,Et=[];switch(X.type){case"insert_text":case"remove_text":case"set_node":try{for(var Jt=ms(U.levels(m,{at:X.path})),mn=Jt.next();!mn.done;mn=Jt.next()){var dn=Ar(mn.value,2),cn=dn[0],Oe=dn[1],ae=de.findKey(m,cn);Et.push([Oe,ae])}}catch(hr){ge={error:hr}}finally{try{mn&&!mn.done&&(Ne=Jt.return)&&Ne.call(Jt)}finally{if(ge)throw ge.error}}break;case"insert_node":case"remove_node":case"merge_node":case"split_node":try{for(var Le=ms(U.levels(m,{at:Me.parent(X.path)})),ut=Le.next();!ut.done;ut=Le.next()){var It=Ar(ut.value,2);cn=It[0],Oe=It[1],ae=de.findKey(m,cn),Et.push([Oe,ae])}}catch(hr){nt={error:hr}}finally{try{ut&&!ut.done&&(dt=Le.return)&&dt.call(Le)}finally{if(nt)throw nt.error}}break;case"move_node":try{for(var gt=ms(U.levels(m,{at:Me.common(Me.parent(X.path),Me.parent(X.newPath))})),an=gt.next();!an.done;an=gt.next()){var xn=Ar(an.value,2);cn=xn[0],Oe=xn[1],ae=de.findKey(m,cn),Et.push([Oe,ae])}}catch(hr){rt={error:hr}}finally{try{an&&!an.done&&(Ct=gt.return)&&Ct.call(gt)}finally{if(rt)throw rt.error}}}W(X);try{for(var Fn=ms(Et),Jn=Fn.next();!Jn.done;Jn=Fn.next()){var _t=Ar(Jn.value,2);Oe=_t[0],ae=_t[1],cn=Ar(U.node(m,Oe),1)[0],Iy.set(cn,ae)}}catch(hr){yt={error:hr}}finally{try{Jn&&!Jn.done&&(bt=Fn.return)&&bt.call(Fn)}finally{if(yt)throw yt.error}}},m.deleteBackward=function(X){if(X!=="line")return q(X);if(_.selection&&$e.isCollapsed(_.selection)){var ge=U.above(_,{match:function(rt){return U.isBlock(_,rt)},at:_.selection});if(ge){var Ne=Ar(ge,2)[1],nt=U.range(_,Ne,_.selection.anchor),dt=function(rt,Ct){var yt=U.range(rt,$e.end(Ct)),bt=Array.from(U.positions(rt,{at:Ct})),Et=0,Jt=bt.length,mn=Math.floor(Jt/2);if(II(rt,U.range(rt,bt[Et]),yt))return U.range(rt,bt[Et],yt);if(bt.length<2)return U.range(rt,bt[bt.length-1],yt);for(;mn!==bt.length&&mn!==Et;)II(rt,U.range(rt,bt[mn]),yt)?Jt=mn:Et=mn,mn=Math.floor((Et+Jt)/2);return U.range(rt,bt[Jt],yt)}(m,nt);$e.isCollapsed(dt)||He.delete(_,{at:dt})}}},m.onChange=function(){var X=m.selection;X!=null&&TA.set(m,X),m.emit("change"),T()},m.handleTab=function(){m.insertText(" ")},m.getHtml=function(){var X=m.children;return(X===void 0?[]:X).map(function(ge){return DI(ge,m)}).join("")},m.getText=function(){var X=m.children;return(X===void 0?[]:X).map(function(ge){return Vt.string(ge)}).join(`
`)},m.getSelectionText=function(){var X=m.selection;return X==null?"":U.string(_,X)},m.getElemsByType=function(X,ge){var Ne,nt;ge===void 0&&(ge=!1);var dt=[],rt=U.nodes(m,{at:[],universal:!0});try{for(var Ct=ms(rt),yt=Ct.next();!yt.done;yt=Ct.next()){var bt=Ar(yt.value,1)[0];if(bn.isElement(bt)&&(ge?bt.type.indexOf(X)>=0:bt.type===X)){var Et=RI(de.findKey(m,bt).id);dt.push(ps(ps({},bt),{id:Et}))}}}catch(Jt){Ne={error:Jt}}finally{try{yt&&!yt.done&&(nt=Ct.return)&&nt.call(Ct)}finally{if(Ne)throw Ne.error}}return dt},m.getElemsByTypePrefix=function(X){return m.getElemsByType(X,!0)},m.isEmpty=function(){var X=m.children,ge=X===void 0?[]:X;if(ge.length>1)return!1;var Ne=ge[0];if(Ne==null)return!0;if(bn.isElement(Ne)&&Ne.type==="paragraph"){var nt=Ne.children,dt=nt===void 0?[]:nt;if(dt.length>1)return!1;var rt=dt[0];if(rt==null)return!0;if(rn.isText(rt)&&rt.text==="")return!0}return!1},m.clear=function(){He.delete(m,{at:{anchor:U.start(m,[]),focus:U.end(m,[])}}),m.children.length===0&&He.insertNodes(m,[{type:"paragraph",children:[{text:""}]}])},m.getParentNode=function(X){return de.getParentNode(m,X)},m.dangerouslyInsertHtml=function(X,ge){if(X===void 0&&(X=""),ge===void 0&&(ge=!1),X){var Ne=document.createElement("div");Ne.innerHTML=X;var nt=Array.from(Ne.childNodes);if(nt=nt.filter(function(yt){var bt=yt.nodeType,Et=yt.nodeName;return bt===bu.TEXT_NODE||bt===bu.ELEMENT_NODE&&!KI.has(Et.toLowerCase())}),nt.length!==0){var dt=m.selection;if(dt!=null){var rt=null;de.isSelectedEmptyParagraph(m)&&!ge&&(rt=[dt.focus.path[0]]),Ne.setAttribute("hidden","true"),document.body.appendChild(Ne);var Ct=0;nt.forEach(function(yt){var bt=yt.nodeType,Et=yt.nodeName,Jt=yt.textContent,mn=Jt===void 0?"":Jt;if(bt!==bu.TEXT_NODE)if(Et!=="BR"){var dn=yt,cn=!1;if(PI.includes(Et.toLowerCase()))cn=!0;else for(var Oe in jy)if(dn.matches(Oe)){cn=!0;break}if(cn){var ae=a4(we(dn),m);return Array.isArray(ae)?(ae.forEach(function(ut){return YI(m,ut)}),Ct++):(YI(m,ae),Ct++),void(de.isSelectedVoidNode(m)&&m.move(1))}var Le=window.getComputedStyle(dn).display;de.isSelectedEmptyParagraph(m)||Le.indexOf("inline")<0&&m.insertBreak(),m.dangerouslyInsertHtml(dn.innerHTML,!0)}else m.insertText(`
`);else{if(!mn||!mn.trim())return;m.insertNode({text:mn})}}),Ct&&rt&&de.isEmptyPath(m,rt)&&He.removeNodes(m,{at:rt}),Ne.remove()}}}},m.setHtml=function(X){X===void 0&&(X="");var ge=m.isDisabled(),Ne=m.isFocused(),nt=JSON.stringify(m.selection);m.enable(),m.focus(),m.clear();var dt=zI(m,X);if(He.insertFragment(m,dt),Ne||(m.deselect(),m.blur()),ge&&(m.deselect(),m.disable()),m.isFocused())try{m.select(JSON.parse(nt))}catch(rt){m.select(U.start(m,[]))}},m}(function(_){var m=_;return m.getAllMenuKeys=function(){var T=[];for(var R in ag)T.push(R);return T},m.getConfig=function(){var T=U6.get(m);if(T==null)throw new Error("Can not get editor config");return T},m.getMenuConfig=function(T){var R=m.getConfig().MENU_CONF;return(R===void 0?{}:R)[T]||{}},m.alert=function(T,R){R===void 0&&(R="info");var W=m.getConfig().customAlert;W&&W(T,R)},m}(function(_){var m=f$(LG());return m.id="wangEditor-"+bq++,m.isDestroyed=!1,m.isFullScreen=!1,m.focus=function(T){if(de.toDOMNode(m,m).focus({preventScroll:!0}),Rf.set(m,!0),T){var R=U.end(m,[]);He.select(m,R)}else{var W=TA.get(m);W?He.select(m,W):He.select(m,U.start(m,[]))}},m.isFocused=function(){return!!Rf.get(m)},m.blur=function(){de.toDOMNode(m,m).blur(),He.deselect(m),Rf.set(m,!1)},m.updateView=function(){de.getTextarea(m).changeViewState();var T=de.getToolbar(m);T&&T.changeToolbarState();var R=de.getHoverbar(m);R&&R.changeHoverbarState()},m.destroy=function(){if(!m.isDestroyed){var T=de.getTextarea(m);T.destroy(),_A.delete(m),EA.delete(T);var R=de.getToolbar(m);R&&(R.destroy(),Sy.delete(m),wA.delete(R));var W=de.getHoverbar(m);W&&(W.destroy(),Ty.delete(m),OA.delete(W)),m.isDestroyed=!0,m.emit("destroyed")}},m.scrollToElem=function(T){if(!m.getConfig().scroll){var R="\u7F16\u8F91\u5668\u7981\u7528\u4E86 scroll \uFF0C\u7F16\u8F91\u5668\u5185\u5BB9\u65E0\u6CD5\u6EDA\u52A8\uFF0C\u8BF7\u81EA\u884C\u5B9E\u73B0\u8BE5\u529F\u80FD";return R+=`
You has disabled editor scroll, please do this yourself`,void console.warn(R)}var W=we("#"+T);if(W.length!==0){var q=W[0];if(!de.hasDOMNode(m,q))return R="Element (found by id is '"+T+"') is not in editor DOM",R+=`
\u901A\u8FC7 id '`+T+"' \u627E\u5230\u7684 element \u4E0D\u5728 editor DOM \u4E4B\u5185",void console.error(R,q);var X=de.getTextarea(m),ge=X.$textAreaContainer,Ne=X.$scroll,nt=W.offset().top,dt=ge.offset().top;Ne[0].scrollBy({top:nt-dt,behavior:"smooth"})}},m.showProgressBar=function(T){T<1||de.getTextarea(m).changeProgress(T)},m.hidePanelOrModal=function(){var T=CA.get(m);T!=null&&T.forEach(function(R){return R.hide()})},m.enable=function(){m.getConfig().readOnly=!1,m.updateView()},m.disable=function(){m.getConfig().readOnly=!0,m.updateView()},m.isDisabled=function(){return m.getConfig().readOnly},m.toDOMNode=function(T){return de.toDOMNode(m,T)},m.fullScreen=function(){if(!m.isFullScreen){var T=null,R=de.getToolbar(m);R&&(T=R.$box);var W=de.getTextarea(m).$box.parent();if(T&&T.parent()[0]!==W[0])throw new Error(`Can not set full screen, cause toolbar DOM parent is not equal to textarea DOM parent
\u4E0D\u80FD\u8BBE\u7F6E\u5168\u5C4F\uFF0C\u56E0\u4E3A toolbar DOM \u7236\u8282\u70B9\u548C textarea DOM \u7236\u8282\u70B9\u4E0D\u4E00\u81F4`);W.addClass("w-e-full-screen-container");var q=W.css("z-index");W.attr("data-z-index",q.toString()),m.isFullScreen=!0,m.emit("fullScreen")}},m.unFullScreen=function(){if(m.isFullScreen){var T=de.getTextarea(m).$box.parent();setTimeout(function(){T.removeClass("w-e-full-screen-container"),m.isFullScreen=!1,m.emit("unFullScreen")},200)}},m.getEditableContainer=function(){return de.getTextarea(m).$textAreaContainer[0]},m}()))))));if(n&&function(_,m){return WI(_,"data-w-e-textarea",m)}(l,n))throw new Error("Repeated create editor by selector '"+n+"'");var c=function(_){_===void 0&&(_={});var m=B7(q6),T={},R=_.MENU_CONF,W=R===void 0?{}:R;return Lw(m,function(q,X){T[X]=ps(ps({},q),W[X]||{})}),delete _.MENU_CONF,ps({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return[]},maxLength:0,MENU_CONF:T,hoverbarKeys:{},customAlert:function(q,X){window.alert(X+`:
`+q)}},_)}(i);U6.set(l,c);var d=c.hoverbarKeys,p=d===void 0?{}:d;if(u.forEach(function(_){l=_(l)}),a!=null&&(l.children=zI(l,a)),o&&o.length&&(l.children=o),l.children.length===0&&(l.children=[{type:"paragraph",children:[{text:""}]}]),de.normalizeContent(l),n){var h=new W$(n);_A.set(l,h),EA.set(h,l),h.changeViewState(),gs(function(){var _=h.$scroll;_!=null&&_.height()<300&&console.warn(`\u7F16\u8F91\u533A\u57DF\u9AD8\u5EA6 < 300px \u8FD9\u53EF\u80FD\u4F1A\u5BFC\u81F4 modal hoverbar \u5B9A\u4F4D\u5F02\u5E38
Textarea height < 300px . This may be cause modal and hoverbar position error`,_)});var E=void 0;Object.keys(p).length>0&&(E=new Z$,OA.set(E,l),Ty.set(l,E)),l.on("change",function(){l.hidePanelOrModal()}),l.on("scroll",function(){l.hidePanelOrModal()})}else l.children.forEach(function(_,m){return v9(_,m,l,l)});var g=c.onCreated,y=c.onDestroyed;return g&&l.on("created",function(){return g(l)}),y&&l.on("destroyed",function(){return y(l)}),gs(function(){return l.emit("created")}),l}var $$=gy("splice"),eee=Bt.TypeError,tee=Math.max,nee=Math.min;_i({target:"Array",proto:!0,forced:!$$},{splice:function(e,t){var n,r,i,o,a,s,u=zl(this),l=Sf(u),c=ph(e,l),d=arguments.length;if(d===0?n=r=0:d===1?(n=0,r=l-c):(n=d-2,r=nee(tee(Hm(t),0),l-c)),l+n-r>9007199254740991)throw eee("Maximum allowed length exceeded");for(i=F8(u,r),o=0;o<r;o++)(a=c+o)in u&&Xm(i,o,u[a]);if(i.length=r,n<r){for(o=c;o<l-r;o++)s=o+n,(a=o+r)in u?u[s]=u[a]:delete u[s];for(o=l;o>l-r+n;o--)delete u[o-1]}else if(n>r)for(o=l-r;o>c;o--)s=o+n-1,(a=o+r-1)in u?u[s]=u[a]:delete u[s];for(o=0;o<n;o++)u[o+c]=arguments[o+2];return u.length=l-r+n,i}});var ree=function(){function e(t,n){var r=this;this.$toolbar=we('<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>'),this.menus={},this.toolbarItems=[],this.config={},this.changeToolbarState=F7(function(){r.toolbarItems.forEach(function(a){a.changeMenuState()})},200),this.config=n;var i=we(t);if(i.length===0)throw new Error("Cannot find toolbar DOM by selector '"+t+"'");this.$box=i;var o=this.$toolbar;o.on("mousedown",function(a){return a.preventDefault()},{passive:!1}),i.append(o),gs(function(){r.registerItems(),r.changeToolbarState(),r.getEditorInstance().on("change",r.changeToolbarState)})}return e.prototype.getMenus=function(){return this.menus},e.prototype.getConfig=function(){return this.config},e.prototype.registerItems=function(){var t=this,n="",r=this.$toolbar,i=this.config,o=i.toolbarKeys,a=o===void 0?[]:o,s=i.insertKeys,u=s===void 0?{index:0,keys:[]}:s,l=i.excludeKeys,c=l===void 0?[]:l,d=B7(a);u.keys.length>0&&(typeof u.keys=="string"&&(u.keys=[u.keys]),u.keys.forEach(function(E,g){d.splice(u.index+g,0,E)}));var p=d.filter(function(E){if(typeof E=="string"){if(c.includes(E))return!1}else if(c.includes(E.key))return!1;return!0}),h=p.length;p.forEach(function(E,g){if(E==="|"){if(g===0)return;if(g+1===h)return;if(n==="|")return;var y=d9();return r.append(y),void(n=E)}if(typeof E=="string")return t.registerSingleItem(E,t),void(n=E);t.registerGroup(E),n="group"})},e.prototype.registerGroup=function(t){var n=this,r=this.$toolbar,i=function(l){return new p9(l)}(t),o=t.menuKeys,a=o===void 0?[]:o,s=this.config.excludeKeys,u=s===void 0?[]:s;a.forEach(function(l){u.includes(l)||n.registerSingleItem(l,i)}),r.append(i.$elem)},e.prototype.registerSingleItem=function(t,n){var r=this.getEditorInstance(),i=n instanceof p9,o=this.menus,a=o[t];if(a==null){var s=ag[t];if(s==null)throw new Error("Not found menu item factory by key '"+t+"'");if(typeof s!="function")throw new Error("Menu item factory (key='"+t+"') is not a function");a=s(),o[t]=a}else console.warn("Duplicated toolbar menu key '"+t+`'
\u91CD\u590D\u6CE8\u518C\u4E86\u83DC\u5355\u680F menu '`+t+"'");var u=g9(t,a,i);this.toolbarItems.push(u),AA.set(u,r),i?n.appendBarItem(u):n.$toolbar.append(u.$elem)},e.prototype.getEditorInstance=function(){var t=wA.get(this);if(t==null)throw new Error("Can not get editor instance");return t},e.prototype.destroy=function(){this.$toolbar.remove(),this.menus={},this.toolbarItems=[]},e}(),iee=fh.EXISTS,oee=Us.f,y9=Function.prototype,aee=wn(y9.toString),b9=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,see=wn(b9.exec);function _9(e){var t=e.server,n=t===void 0?"":t,r=e.fieldName,i=r===void 0?"":r,o=e.maxFileSize,a=o===void 0?10485760:o,s=e.maxNumberOfFiles,u=s===void 0?100:s,l=e.meta,c=l===void 0?{}:l,d=e.metaWithUrl,p=d!==void 0&&d,h=e.headers,E=h===void 0?{}:h,g=e.withCredentials,y=g!==void 0&&g,_=e.timeout,m=_===void 0?1e4:_,T=e.onBeforeUpload,R=T===void 0?function(Ct){return Ct}:T,W=e.onSuccess,q=W===void 0?function(Ct,yt){}:W,X=e.onError,ge=X===void 0?function(Ct,yt,bt){console.error(Ct.name+" upload error",yt,bt)}:X,Ne=e.onProgress,nt=Ne===void 0?function(Ct){}:Ne;if(!n)throw new Error(`Cannot get upload server address
\u6CA1\u6709\u914D\u7F6E\u4E0A\u4F20\u5730\u5740`);if(!i)throw new Error(`Cannot get fieldName
\u6CA1\u6709\u914D\u7F6E fieldName`);var dt=n;p&&(dt=function(Ct,yt){var bt=Ar(Ct.split("#"),2),Et=bt[0],Jt=bt[1],mn=[];Lw(yt,function(cn,Oe){mn.push(Oe+"="+cn)});var dn=mn.join("&");return Et=Et.indexOf("?")>0?Et+"&"+dn:Et+"?"+dn,Jt?Et+"#"+Jt:Et}(dt,c));var rt=new Dm({onBeforeUpload:R,restrictions:{maxFileSize:a,maxNumberOfFiles:u},meta:c}).use(LJ,{endpoint:dt,headers:E,formData:!0,fieldName:i,bundle:!0,withCredentials:y,timeout:m});return rt.on("upload-success",function(Ct,yt){var bt=yt.body,Et=bt===void 0?{}:bt;try{q(Ct,Et)}catch(Jt){console.error("wangEditor upload file - onSuccess error",Jt)}rt.removeFile(Ct.id)}),rt.on("progress",function(Ct){Ct<1||nt(Ct)}),rt.on("upload-error",function(Ct,yt,bt){try{ge(Ct,yt,bt)}catch(Et){console.error("wangEditor upload file - onError error",Et)}rt.removeFile(Ct.id)}),rt.on("restriction-failed",function(Ct,yt){try{ge(Ct,yt)}catch(bt){console.error("wangEditor upload file - onError error",bt)}rt.removeFile(Ct.id)}),rt}function Jl(e){return Jl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jl(e)}function uee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function co(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),r.forEach(function(i){uee(e,i,n[i])})}return e}function rl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function il(e,t,n){return t&&E9(e.prototype,t),n&&E9(e,n),e}function Mf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gg(e,t){if(t&&(Jl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Mf(e)}function Ph(e){return Ph=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Ph(e)}function C4(e,t){return C4=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},C4(e,t)}function Wy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C4(e,t)}No&&!iee&&oee(y9,"name",{configurable:!0,get:function(){try{return see(b9,aee(this))[1]}catch(e){return""}}});var lee={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},ol=new(function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};rl(this,e),this.init(t,n)}return il(e,[{key:"init",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||lee,this.options=n,this.debug=n.debug}},{key:"setDebug",value:function(t){this.debug=t}},{key:"log",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}},{key:"warn",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}},{key:"error",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}},{key:"deprecate",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(t,n,r,i){return i&&!this.debug?null:(typeof t[0]=="string"&&(t[0]="".concat(r).concat(this.prefix," ").concat(t[0])),this.logger[n](t))}},{key:"create",value:function(t){return new e(this.logger,co({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),Ql=function(){function e(){rl(this,e),this.observers={}}return il(e,[{key:"on",value:function(t,n){var r=this;return t.split(" ").forEach(function(i){r.observers[i]=r.observers[i]||[],r.observers[i].push(n)}),this}},{key:"off",value:function(t,n){this.observers[t]&&(n?this.observers[t]=this.observers[t].filter(function(r){return r!==n}):delete this.observers[t])}},{key:"emit",value:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];if(this.observers[t]){var o=[].concat(this.observers[t]);o.forEach(function(s){s.apply(void 0,r)})}if(this.observers["*"]){var a=[].concat(this.observers["*"]);a.forEach(function(s){s.apply(s,[t].concat(r))})}}}]),e}();function vg(){var e,t,n=new Promise(function(r,i){e=r,t=i});return n.resolve=e,n.reject=t,n}function w9(e){return e==null?"":""+e}function cee(e,t,n){e.forEach(function(r){t[r]&&(n[r]=t[r])})}function x4(e,t,n){function r(s){return s&&s.indexOf("###")>-1?s.replace(/###/g,"."):s}function i(){return!e||typeof e=="string"}for(var o=typeof t!="string"?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return i()?{}:{obj:e,k:r(o.shift())}}function O9(e,t,n){var r=x4(e,t,Object);r.obj[r.k]=n}function zy(e,t){var n=x4(e,t),r=n.obj,i=n.k;if(r)return r[i]}function A9(e,t,n){var r=zy(e,n);return r!==void 0?r:zy(t,n)}function C9(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):C9(e[r],t[r],n):e[r]=t[r]);return e}function Lh(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var fee={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function dee(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return fee[t]}):e}var Vy=typeof window!="undefined"&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function x9(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;o<r.length;++o){if(!i)return;if(typeof i[r[o]]=="string"&&o+1<r.length)return;if(i[r[o]]===void 0){for(var a=2,s=r.slice(o,o+a).join(n),u=i[s];u===void 0&&r.length>o+a;)a++,u=i[s=r.slice(o,o+a).join(n)];if(u===void 0)return;if(typeof u=="string")return u;if(s&&typeof u[s]=="string")return u[s];var l=r.slice(o+a).join(n);return l?x9(u,l,n):void 0}i=i[r[o]]}return i}}var hee=function(e){function t(n){var r,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return rl(this,t),r=gg(this,Ph(t).call(this)),Vy&&Ql.call(Mf(r)),r.data=n||{},r.options=i,r.options.keySeparator===void 0&&(r.options.keySeparator="."),r.options.ignoreJSONStructure===void 0&&(r.options.ignoreJSONStructure=!0),r}return Wy(t,Ql),il(t,[{key:"addNamespaces",value:function(n){this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}},{key:"removeNamespaces",value:function(n){var r=this.options.ns.indexOf(n);r>-1&&this.options.ns.splice(r,1)}},{key:"getResource",value:function(n,r,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,s=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure,u=[n,r];i&&typeof i!="string"&&(u=u.concat(i)),i&&typeof i=="string"&&(u=u.concat(a?i.split(a):i)),n.indexOf(".")>-1&&(u=n.split("."));var l=zy(this.data,u);return l||!s||typeof i!="string"?l:x9(this.data&&this.data[n]&&this.data[n][r],i,a)}},{key:"addResource",value:function(n,r,i,o){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},s=this.options.keySeparator;s===void 0&&(s=".");var u=[n,r];i&&(u=u.concat(s?i.split(s):i)),n.indexOf(".")>-1&&(o=r,r=(u=n.split("."))[1]),this.addNamespaces(r),O9(this.data,u,o),a.silent||this.emit("added",n,r,i,o)}},{key:"addResources",value:function(n,r,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var a in i)typeof i[a]!="string"&&Object.prototype.toString.apply(i[a])!=="[object Array]"||this.addResource(n,r,a,i[a],{silent:!0});o.silent||this.emit("added",n,r,i)}},{key:"addResourceBundle",value:function(n,r,i,o,a){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},u=[n,r];n.indexOf(".")>-1&&(o=i,i=r,r=(u=n.split("."))[1]),this.addNamespaces(r);var l=zy(this.data,u)||{};o?C9(l,i,a):l=co({},l,i),O9(this.data,u,l),s.silent||this.emit("added",n,r,i)}},{key:"removeResourceBundle",value:function(n,r){this.hasResourceBundle(n,r)&&delete this.data[n][r],this.removeNamespaces(r),this.emit("removed",n,r)}},{key:"hasResourceBundle",value:function(n,r){return this.getResource(n,r)!==void 0}},{key:"getResourceBundle",value:function(n,r){return r||(r=this.options.defaultNS),this.options.compatibilityAPI==="v1"?co({},{},this.getResource(n,r)):this.getResource(n,r)}},{key:"getDataByLanguage",value:function(n){return this.data[n]}},{key:"toJSON",value:function(){return this.data}}]),t}(),S9={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var o=this;return e.forEach(function(a){o.processors[a]&&(t=o.processors[a].process(t,n,r,i))}),t}},T9={},D9=function(e){function t(n){var r,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return rl(this,t),r=gg(this,Ph(t).call(this)),Vy&&Ql.call(Mf(r)),cee(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],n,Mf(r)),r.options=i,r.options.keySeparator===void 0&&(r.options.keySeparator="."),r.logger=ol.create("translator"),r}return Wy(t,Ql),il(t,[{key:"changeLanguage",value:function(n){n&&(this.language=n)}},{key:"exists",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(n==null)return!1;var i=this.resolve(n,r);return i&&i.res!==void 0}},{key:"extractFromKey",value:function(n,r){var i=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");var o=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,a=r.ns||this.options.defaultNS;if(i&&n.indexOf(i)>-1){var s=n.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:n,namespaces:a};var u=n.split(i);(i!==o||i===o&&this.options.ns.indexOf(u[0])>-1)&&(a=u.shift()),n=u.join(o)}return typeof a=="string"&&(a=[a]),{key:n,namespaces:a}}},{key:"translate",value:function(n,r,i){var o=this;if(Jl(r)!=="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),r||(r={}),n==null)return"";Array.isArray(n)||(n=[String(n)]);var a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,s=this.extractFromKey(n[n.length-1],r),u=s.key,l=s.namespaces,c=l[l.length-1],d=r.lng||this.language,p=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&d.toLowerCase()==="cimode"){if(p){var h=r.nsSeparator||this.options.nsSeparator;return c+h+u}return u}var E=this.resolve(n,r),g=E&&E.res,y=E&&E.usedKey||u,_=E&&E.exactUsedKey||u,m=Object.prototype.toString.apply(g),T=["[object Number]","[object Function]","[object RegExp]"],R=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,W=!this.i18nFormat||this.i18nFormat.handleAsObject,q=typeof g!="string"&&typeof g!="boolean"&&typeof g!="number";if(W&&g&&q&&T.indexOf(m)<0&&(typeof R!="string"||m!=="[object Array]")){if(!r.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,g,co({},r,{ns:l})):"key '".concat(u," (").concat(this.language,")' returned an object instead of string.");if(a){var X=m==="[object Array]",ge=X?[]:{},Ne=X?_:y;for(var nt in g)if(Object.prototype.hasOwnProperty.call(g,nt)){var dt="".concat(Ne).concat(a).concat(nt);ge[nt]=this.translate(dt,co({},r,{joinArrays:!1,ns:l})),ge[nt]===dt&&(ge[nt]=g[nt])}g=ge}}else if(W&&typeof R=="string"&&m==="[object Array]")(g=g.join(R))&&(g=this.extendTranslation(g,n,r,i));else{var rt=!1,Ct=!1,yt=r.count!==void 0&&typeof r.count!="string",bt=t.hasDefaultValue(r),Et=yt?this.pluralResolver.getSuffix(d,r.count):"",Jt=r["defaultValue".concat(Et)]||r.defaultValue;!this.isValidLookup(g)&&bt&&(rt=!0,g=Jt),this.isValidLookup(g)||(Ct=!0,g=u);var mn=r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,dn=mn&&Ct?void 0:g,cn=bt&&Jt!==g&&this.options.updateMissing;if(Ct||rt||cn){if(this.logger.log(cn?"updateKey":"missingKey",d,c,u,cn?Jt:g),a){var Oe=this.resolve(u,co({},r,{keySeparator:!1}));Oe&&Oe.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var ae=[],Le=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Le&&Le[0])for(var ut=0;ut<Le.length;ut++)ae.push(Le[ut]);else this.options.saveMissingTo==="all"?ae=this.languageUtils.toResolveHierarchy(r.lng||this.language):ae.push(r.lng||this.language);var It=function(gt,an,xn){o.options.missingKeyHandler?o.options.missingKeyHandler(gt,c,an,cn?xn:dn,cn,r):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(gt,c,an,cn?xn:dn,cn,r),o.emit("missingKey",gt,c,an,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&yt?ae.forEach(function(gt){o.pluralResolver.getSuffixes(gt).forEach(function(an){It([gt],u+an,r["defaultValue".concat(an)]||Jt)})}):It(ae,u,Jt))}g=this.extendTranslation(g,n,r,E,i),Ct&&g===u&&this.options.appendNamespaceToMissingKey&&(g="".concat(c,":").concat(u)),(Ct||rt)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(g))}return g}},{key:"extendTranslation",value:function(n,r,i,o,a){var s=this;if(this.i18nFormat&&this.i18nFormat.parse)n=this.i18nFormat.parse(n,i,o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init(co({},i,{interpolation:co({},this.options.interpolation,i.interpolation)}));var u,l=i.interpolation&&i.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(l){var c=n.match(this.interpolator.nestingRegexp);u=c&&c.length}var d=i.replace&&typeof i.replace!="string"?i.replace:i;if(this.options.interpolation.defaultVariables&&(d=co({},this.options.interpolation.defaultVariables,d)),n=this.interpolator.interpolate(n,d,i.lng||this.language,i),l){var p=n.match(this.interpolator.nestingRegexp);u<(p&&p.length)&&(i.nest=!1)}i.nest!==!1&&(n=this.interpolator.nest(n,function(){for(var g=arguments.length,y=new Array(g),_=0;_<g;_++)y[_]=arguments[_];return a&&a[0]===y[0]&&!i.context?(s.logger.warn("It seems you are nesting recursively key: ".concat(y[0]," in key: ").concat(r[0])),null):s.translate.apply(s,y.concat([r]))},i)),i.interpolation&&this.interpolator.reset()}var h=i.postProcess||this.options.postProcess,E=typeof h=="string"?[h]:h;return n!=null&&E&&E.length&&i.applyPostProcessor!==!1&&(n=S9.handle(E,n,r,this.options&&this.options.postProcessPassResolved?co({i18nResolved:o},i):i,this)),n}},{key:"resolve",value:function(n){var r,i,o,a,s,u=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return typeof n=="string"&&(n=[n]),n.forEach(function(c){if(!u.isValidLookup(r)){var d=u.extractFromKey(c,l),p=d.key;i=p;var h=d.namespaces;u.options.fallbackNS&&(h=h.concat(u.options.fallbackNS));var E=l.count!==void 0&&typeof l.count!="string",g=l.context!==void 0&&(typeof l.context=="string"||typeof l.context=="number")&&l.context!=="",y=l.lngs?l.lngs:u.languageUtils.toResolveHierarchy(l.lng||u.language,l.fallbackLng);h.forEach(function(_){u.isValidLookup(r)||(s=_,!T9["".concat(y[0],"-").concat(_)]&&u.utils&&u.utils.hasLoadedNamespace&&!u.utils.hasLoadedNamespace(s)&&(T9["".concat(y[0],"-").concat(_)]=!0,u.logger.warn('key "'.concat(i,'" for languages "').concat(y.join(", "),`" won't get resolved as namespace "`).concat(s,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),y.forEach(function(m){if(!u.isValidLookup(r)){a=m;var T,R,W=p,q=[W];for(u.i18nFormat&&u.i18nFormat.addLookupKeys?u.i18nFormat.addLookupKeys(q,p,m,_,l):(E&&(T=u.pluralResolver.getSuffix(m,l.count)),E&&g&&q.push(W+T),g&&q.push(W+="".concat(u.options.contextSeparator).concat(l.context)),E&&q.push(W+=T));R=q.pop();)u.isValidLookup(r)||(o=R,r=u.getResource(m,_,R,l))}}))})}}),{res:r,usedKey:i,exactUsedKey:o,usedLng:a,usedNS:s}}},{key:"isValidLookup",value:function(n){return!(n===void 0||!this.options.returnNull&&n===null||!this.options.returnEmptyString&&n==="")}},{key:"getResource",value:function(n,r,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(n,r,i,o):this.resourceStore.getResource(n,r,i,o)}}],[{key:"hasDefaultValue",value:function(n){var r="defaultValue";for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&r===i.substring(0,r.length)&&n[i]!==void 0)return!0;return!1}}]),t}();function S4(e){return e.charAt(0).toUpperCase()+e.slice(1)}var pee=function(){function e(t){rl(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ol.create("languageUtils")}return il(e,[{key:"getScriptPartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return null;var n=t.split("-");return n.length===2?null:(n.pop(),n[n.length-1].toLowerCase()==="x"?null:this.formatLanguageCode(n.join("-")))}},{key:"getLanguagePartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return t;var n=t.split("-");return this.formatLanguageCode(n[0])}},{key:"formatLanguageCode",value:function(t){if(typeof t=="string"&&t.indexOf("-")>-1){var n=["hans","hant","latn","cyrl","cans","mong","arab"],r=t.split("-");return this.options.lowerCaseLng?r=r.map(function(i){return i.toLowerCase()}):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=S4(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=S4(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=S4(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}},{key:"isWhitelisted",value:function(t){return this.logger.deprecate("languageUtils.isWhitelisted",`function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it's usage asap.`),this.isSupportedCode(t)}},{key:"isSupportedCode",value:function(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}},{key:"getBestMatchFromCodes",value:function(t){var n,r=this;return t?(t.forEach(function(i){if(!n){var o=r.formatLanguageCode(i);r.options.supportedLngs&&!r.isSupportedCode(o)||(n=o)}}),!n&&this.options.supportedLngs&&t.forEach(function(i){if(!n){var o=r.getLanguagePartFromCode(i);if(r.isSupportedCode(o))return n=o;n=r.options.supportedLngs.find(function(a){if(a.indexOf(o)===0)return a})}}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n):null}},{key:"getFallbackCodes",value:function(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Object.prototype.toString.apply(t)==="[object Array]")return t;if(!n)return t.default||[];var r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}},{key:"toResolveHierarchy",value:function(t,n){var r=this,i=this.getFallbackCodes(n||this.options.fallbackLng||[],t),o=[],a=function(s){s&&(r.isSupportedCode(s)?o.push(s):r.logger.warn("rejecting language code not found in supportedLngs: ".concat(s)))};return typeof t=="string"&&t.indexOf("-")>-1?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(t))):typeof t=="string"&&a(this.formatLanguageCode(t)),i.forEach(function(s){o.indexOf(s)<0&&a(r.formatLanguageCode(s))}),o}}]),e}(),mee=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],gee={1:function(e){return Number(e>1)},2:function(e){return Number(e!=1)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(e==1?0:e>=2&&e<=4?1:2)},7:function(e){return Number(e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(e==1?0:e==2?1:e!=8&&e!=11?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(e==1?0:e==2?1:e<7?2:e<11?3:4)},11:function(e){return Number(e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(e!==0)},14:function(e){return Number(e==1?0:e==2?1:e==3?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:e!==0?1:2)},17:function(e){return Number(e==1||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(e==0?0:e==1?1:2)},19:function(e){return Number(e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(e==1?0:e==0||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3)}};function vee(){var e={};return mee.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:gee[t.fc]}})}),e}var yee=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};rl(this,e),this.languageUtils=t,this.options=n,this.logger=ol.create("pluralResolver"),this.rules=vee()}return il(e,[{key:"addRule",value:function(t,n){this.rules[t]=n}},{key:"getRule",value:function(t){return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}},{key:"needsPlural",value:function(t){var n=this.getRule(t);return n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(t,n){return this.getSuffixes(t).map(function(r){return n+r})}},{key:"getSuffixes",value:function(t){var n=this,r=this.getRule(t);return r?r.numbers.map(function(i){return n.getSuffix(t,i)}):[]}},{key:"getSuffix",value:function(t,n){var r=this,i=this.getRule(t);if(i){var o=i.noAbs?i.plurals(n):i.plurals(Math.abs(n)),a=i.numbers[o];this.options.simplifyPluralSuffix&&i.numbers.length===2&&i.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var s=function(){return r.options.prepend&&a.toString()?r.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&i.numbers.length===2&&i.numbers[0]===1?s():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}return this.logger.warn("no plural rule found for: ".concat(t)),""}}]),e}(),bee=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};rl(this,e),this.logger=ol.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return il(e,[{key:"init",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});var n=t.interpolation;this.escape=n.escape!==void 0?n.escape:dee,this.escapeValue=n.escapeValue===void 0||n.escapeValue,this.useRawValueToEscape=n.useRawValueToEscape!==void 0&&n.useRawValueToEscape,this.prefix=n.prefix?Lh(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?Lh(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?Lh(n.nestingPrefix):n.nestingPrefixEscaped||Lh("$t("),this.nestingSuffix=n.nestingSuffix?Lh(n.nestingSuffix):n.nestingSuffixEscaped||Lh(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0&&n.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var t="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(t,"g");var n="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(n,"g");var r="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(r,"g")}},{key:"interpolate",value:function(t,n,r,i){var o,a,s,u=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(g){return g.replace(/\$/g,"$$$$")}var d=function(g){if(g.indexOf(u.formatSeparator)<0){var y=A9(n,l,g);return u.alwaysFormat?u.format(y,void 0,r,co({},i,n,{interpolationkey:g})):y}var _=g.split(u.formatSeparator),m=_.shift().trim(),T=_.join(u.formatSeparator).trim();return u.format(A9(n,l,m),T,r,co({},i,n,{interpolationkey:m}))};this.resetRegExp();var p=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,h=i&&i.interpolation&&i.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,E=[{regex:this.regexpUnescape,safeValue:function(g){return c(g)}},{regex:this.regexp,safeValue:function(g){return u.escapeValue?c(u.escape(g)):c(g)}}];return E.forEach(function(g){for(s=0;o=g.regex.exec(t);){if((a=d(o[1].trim()))===void 0)if(typeof p=="function"){var y=p(t,o,i);a=typeof y=="string"?y:""}else{if(h){a=o[0];continue}u.logger.warn("missed to pass in variable ".concat(o[1]," for interpolating ").concat(t)),a=""}else typeof a=="string"||u.useRawValueToEscape||(a=w9(a));var _=g.safeValue(a);if(t=t.replace(o[0],_),h?(g.regex.lastIndex+=_.length,g.regex.lastIndex-=o[0].length):g.regex.lastIndex=0,++s>=u.maxReplaces)break}}),t}},{key:"nest",value:function(t,n){var r,i,o=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=co({},a);function u(p,h){var E=this.nestingOptionsSeparator;if(p.indexOf(E)<0)return p;var g=p.split(new RegExp("".concat(E,"[ ]*{"))),y="{".concat(g[1]);p=g[0],y=(y=this.interpolate(y,s)).replace(/'/g,'"');try{s=JSON.parse(y),h&&(s=co({},h,s))}catch(_){return this.logger.warn("failed parsing options string in nesting for key ".concat(p),_),"".concat(p).concat(E).concat(y)}return delete s.defaultValue,p}for(s.applyPostProcessor=!1,delete s.defaultValue;r=this.nestingRegexp.exec(t);){var l=[],c=!1;if(r[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(r[1])){var d=r[1].split(this.formatSeparator).map(function(p){return p.trim()});r[1]=d.shift(),l=d,c=!0}if((i=n(u.call(this,r[1].trim(),s),s))&&r[0]===t&&typeof i!="string")return i;typeof i!="string"&&(i=w9(i)),i||(this.logger.warn("missed to resolve ".concat(r[1]," for nesting ").concat(t)),i=""),c&&(i=l.reduce(function(p,h){return o.format(p,h,a.lng,co({},a,{interpolationkey:r[1].trim()}))},i.trim())),t=t.replace(r[0],i),this.regexp.lastIndex=0}return t}}]),e}(),_ee=function(e){function t(n,r,i){var o,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return rl(this,t),o=gg(this,Ph(t).call(this)),Vy&&Ql.call(Mf(o)),o.backend=n,o.store=r,o.services=i,o.languageUtils=i.languageUtils,o.options=a,o.logger=ol.create("backendConnector"),o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(i,a.backend,a),o}return Wy(t,Ql),il(t,[{key:"queueLoad",value:function(n,r,i,o){var a=this,s=[],u=[],l=[],c=[];return n.forEach(function(d){var p=!0;r.forEach(function(h){var E="".concat(d,"|").concat(h);!i.reload&&a.store.hasResourceBundle(d,h)?a.state[E]=2:a.state[E]<0||(a.state[E]===1?u.indexOf(E)<0&&u.push(E):(a.state[E]=1,p=!1,u.indexOf(E)<0&&u.push(E),s.indexOf(E)<0&&s.push(E),c.indexOf(h)<0&&c.push(h)))}),p||l.push(d)}),(s.length||u.length)&&this.queue.push({pending:u,loaded:{},errors:[],callback:o}),{toLoad:s,pending:u,toLoadLanguages:l,toLoadNamespaces:c}}},{key:"loaded",value:function(n,r,i){var o=n.split("|"),a=o[0],s=o[1];r&&this.emit("failedLoading",a,s,r),i&&this.store.addResourceBundle(a,s,i),this.state[n]=r?-1:2;var u={};this.queue.forEach(function(l){!function(c,d,p,h){var E=x4(c,d,Object),g=E.obj,y=E.k;g[y]=g[y]||[],g[y].push(p)}(l.loaded,[a],s),function(c,d){for(var p=c.indexOf(d);p!==-1;)c.splice(p,1),p=c.indexOf(d)}(l.pending,n),r&&l.errors.push(r),l.pending.length!==0||l.done||(Object.keys(l.loaded).forEach(function(c){u[c]||(u[c]=[]),l.loaded[c].length&&l.loaded[c].forEach(function(d){u[c].indexOf(d)<0&&u[c].push(d)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",u),this.queue=this.queue.filter(function(l){return!l.done})}},{key:"read",value:function(n,r,i){var o=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:350,u=arguments.length>5?arguments[5]:void 0;return n.length?this.backend[i](n,r,function(l,c){l&&c&&a<5?setTimeout(function(){o.read.call(o,n,r,i,a+1,2*s,u)},s):u(l,c)}):u(null,{})}},{key:"prepareLoading",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof n=="string"&&(n=this.languageUtils.toResolveHierarchy(n)),typeof r=="string"&&(r=[r]);var s=this.queueLoad(n,r,o,a);if(!s.toLoad.length)return s.pending.length||a(),null;s.toLoad.forEach(function(u){i.loadOne(u)})}},{key:"load",value:function(n,r,i){this.prepareLoading(n,r,{},i)}},{key:"reload",value:function(n,r,i){this.prepareLoading(n,r,{reload:!0},i)}},{key:"loadOne",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",o=n.split("|"),a=o[0],s=o[1];this.read(a,s,"read",void 0,void 0,function(u,l){u&&r.logger.warn("".concat(i,"loading namespace ").concat(s," for language ").concat(a," failed"),u),!u&&l&&r.logger.log("".concat(i,"loaded namespace ").concat(s," for language ").concat(a),l),r.loaded(n,u,l)})}},{key:"saveMissing",value:function(n,r,i,o,a){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)?this.logger.warn('did not save key "'.concat(i,'" as the namespace "').concat(r,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):i!=null&&i!==""&&(this.backend&&this.backend.create&&this.backend.create(n,r,i,o,null,co({},s,{isUpdate:a})),n&&n[0]&&this.store.addResource(n[0],r,i,o))}}]),t}();function Eee(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if(Jl(e[1])==="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),Jl(e[2])==="object"||Jl(e[3])==="object"){var n=e[3]||e[2];Object.keys(n).forEach(function(r){t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function R9(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Gy(){}var wee=function(e){function t(){var n,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(rl(this,t),n=gg(this,Ph(t).call(this)),Vy&&Ql.call(Mf(n)),n.options=R9(r),n.services={},n.logger=ol,n.modules={external:[]},i&&!n.isInitialized&&!r.isClone){if(!n.options.initImmediate)return n.init(r,i),gg(n,Mf(n));setTimeout(function(){n.init(r,i)},0)}return n}return Wy(t,Ql),il(t,[{key:"init",value:function(){var n=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;function o(h){return h?typeof h=="function"?new h:h:null}if(typeof r=="function"&&(i=r,r={}),r.whitelist&&!r.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),r.nonExplicitWhitelist&&!r.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=co({},Eee(),this.options,R9(r)),this.format=this.options.interpolation.format,i||(i=Gy),!this.options.isClone){this.modules.logger?ol.init(o(this.modules.logger),this.options):ol.init(null,this.options);var a=new pee(this.options);this.store=new hee(this.options.resources,this.options);var s=this.services;s.logger=ol,s.resourceStore=this.store,s.languageUtils=a,s.pluralResolver=new yee(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),s.interpolator=new bee(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new _ee(o(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",function(h){for(var E=arguments.length,g=new Array(E>1?E-1:0),y=1;y<E;y++)g[y-1]=arguments[y];n.emit.apply(n,[h].concat(g))}),this.modules.languageDetector&&(s.languageDetector=o(this.modules.languageDetector),s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=o(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new D9(this.services,this.options),this.translator.on("*",function(h){for(var E=arguments.length,g=new Array(E>1?E-1:0),y=1;y<E;y++)g[y-1]=arguments[y];n.emit.apply(n,[h].concat(g))}),this.modules.external.forEach(function(h){h.init&&h.init(n)})}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var l=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];l.forEach(function(h){n[h]=function(){var E;return(E=n.store)[h].apply(E,arguments)}});var c=["addResource","addResources","addResourceBundle","removeResourceBundle"];c.forEach(function(h){n[h]=function(){var E;return(E=n.store)[h].apply(E,arguments),n}});var d=vg(),p=function(){var h=function(E,g){n.isInitialized&&!n.initializedStoreOnce&&n.logger.warn("init: i18next is already initialized. You should call init just once!"),n.isInitialized=!0,n.options.isClone||n.logger.log("initialized",n.options),n.emit("initialized",n.options),d.resolve(g),i(E,g)};if(n.languages&&n.options.compatibilityAPI!=="v1"&&!n.isInitialized)return h(null,n.t.bind(n));n.changeLanguage(n.options.lng,h)};return this.options.resources||!this.options.initImmediate?p():setTimeout(p,0),d}},{key:"loadResources",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gy,o=i,a=typeof n=="string"?n:this.language;if(typeof n=="function"&&(o=n),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode")return o();var s=[],u=function(c){c&&r.services.languageUtils.toResolveHierarchy(c).forEach(function(d){s.indexOf(d)<0&&s.push(d)})};if(a)u(a);else{var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.forEach(function(c){return u(c)})}this.options.preload&&this.options.preload.forEach(function(c){return u(c)}),this.services.backendConnector.load(s,this.options.ns,o)}else o(null)}},{key:"reloadResources",value:function(n,r,i){var o=vg();return n||(n=this.languages),r||(r=this.options.ns),i||(i=Gy),this.services.backendConnector.reload(n,r,function(a){o.resolve(),i(a)}),o}},{key:"use",value:function(n){if(!n)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!n.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return n.type==="backend"&&(this.modules.backend=n),(n.type==="logger"||n.log&&n.warn&&n.error)&&(this.modules.logger=n),n.type==="languageDetector"&&(this.modules.languageDetector=n),n.type==="i18nFormat"&&(this.modules.i18nFormat=n),n.type==="postProcessor"&&S9.addPostProcessor(n),n.type==="3rdParty"&&this.modules.external.push(n),this}},{key:"changeLanguage",value:function(n,r){var i=this;this.isLanguageChangingTo=n;var o=vg();this.emit("languageChanging",n);var a=function(s){n||s||!i.services.languageDetector||(s=[]);var u=typeof s=="string"?s:i.services.languageUtils.getBestMatchFromCodes(s);u&&(i.language||(i.language=u,i.languages=i.services.languageUtils.toResolveHierarchy(u)),i.translator.language||i.translator.changeLanguage(u),i.services.languageDetector&&i.services.languageDetector.cacheUserLanguage(u)),i.loadResources(u,function(l){!function(c,d){d?(i.language=d,i.languages=i.services.languageUtils.toResolveHierarchy(d),i.translator.changeLanguage(d),i.isLanguageChangingTo=void 0,i.emit("languageChanged",d),i.logger.log("languageChanged",d)):i.isLanguageChangingTo=void 0,o.resolve(function(){return i.t.apply(i,arguments)}),r&&r(c,function(){return i.t.apply(i,arguments)})}(l,u)})};return n||!this.services.languageDetector||this.services.languageDetector.async?!n&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(a):a(n):a(this.services.languageDetector.detect()),o}},{key:"getFixedT",value:function(n,r,i){var o=this,a=function s(u,l){var c;if(Jl(l)!=="object"){for(var d=arguments.length,p=new Array(d>2?d-2:0),h=2;h<d;h++)p[h-2]=arguments[h];c=o.options.overloadTranslationOptionHandler([u,l].concat(p))}else c=co({},l);c.lng=c.lng||s.lng,c.lngs=c.lngs||s.lngs,c.ns=c.ns||s.ns;var E=o.options.keySeparator||".",g=i?"".concat(i).concat(E).concat(u):u;return o.t(g,c)};return typeof n=="string"?a.lng=n:a.lngs=n,a.ns=r,a.keyPrefix=i,a}},{key:"t",value:function(){var n;return this.translator&&(n=this.translator).translate.apply(n,arguments)}},{key:"exists",value:function(){var n;return this.translator&&(n=this.translator).exists.apply(n,arguments)}},{key:"setDefaultNamespace",value:function(n){this.options.defaultNS=n}},{key:"hasLoadedNamespace",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var o=this.languages[0],a=!!this.options&&this.options.fallbackLng,s=this.languages[this.languages.length-1];if(o.toLowerCase()==="cimode")return!0;var u=function(c,d){var p=r.services.backendConnector.state["".concat(c,"|").concat(d)];return p===-1||p===2};if(i.precheck){var l=i.precheck(this,u);if(l!==void 0)return l}return!!this.hasResourceBundle(o,n)||!this.services.backendConnector.backend||!(!u(o,n)||a&&!u(s,n))}},{key:"loadNamespaces",value:function(n,r){var i=this,o=vg();return this.options.ns?(typeof n=="string"&&(n=[n]),n.forEach(function(a){i.options.ns.indexOf(a)<0&&i.options.ns.push(a)}),this.loadResources(function(a){o.resolve(),r&&r(a)}),o):(r&&r(),Promise.resolve())}},{key:"loadLanguages",value:function(n,r){var i=vg();typeof n=="string"&&(n=[n]);var o=this.options.preload||[],a=n.filter(function(s){return o.indexOf(s)<0});return a.length?(this.options.preload=o.concat(a),this.loadResources(function(s){i.resolve(),r&&r(s)}),i):(r&&r(),Promise.resolve())}},{key:"dir",value:function(n){return n||(n=this.languages&&this.languages.length>0?this.languages[0]:this.language),n?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(n))>=0?"rtl":"ltr":"rtl"}},{key:"createInstance",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new t(n,r)}},{key:"cloneInstance",value:function(){var n=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gy,o=co({},this.options,r,{isClone:!0}),a=new t(o),s=["store","services","language"];return s.forEach(function(u){a[u]=n[u]}),a.services=co({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new D9(a.services,a.options),a.translator.on("*",function(u){for(var l=arguments.length,c=new Array(l>1?l-1:0),d=1;d<l;d++)c[d-1]=arguments[d];a.emit.apply(a,[u].concat(c))}),a.init(o,i),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),t}(),Mh=new wee;function Oa(e,t){Mh.addResourceBundle(e,"translation",t,!0,!0)}function W1e(e){Mh.changeLanguage(e)}function z1e(e){return Mh.getResourceBundle(e,"translation")}Mh.init({lng:"zh-CN",resources:{}});var Gt=Mh.t.bind(Mh);Oa("en",{editor:{more:"More",justify:"Justify",indent:"Indent",image:"Image",video:"Video"}}),Oa("zh-CN",{editor:{more:"\u66F4\u591A",justify:"\u5BF9\u9F50",indent:"\u7F29\u8FDB",image:"\u56FE\u7247",video:"\u89C6\u9891"}});var Oee=E2?{}.toString:function(){return"[object "+s1(this)+"]"};E2||Tl(Object.prototype,"toString",Oee,{unsafe:!0});var N9=Array.isArray||function(e){return cu(e)=="Array"},I9=function(){},Aee=[],P9=fu("Reflect","construct"),T4=/^\s*(?:class|function)\b/,Cee=Hr(T4.exec),xee=!T4.exec(I9),yg=function(e){if(!Ri(e))return!1;try{return P9(I9,Aee,e),!0}catch(t){return!1}},See=!P9||Di(function(){var e;return yg(yg.call)||!yg(Object)||!yg(function(){e=!0})||e})?function(e){if(!Ri(e))return!1;switch(s1(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return xee||!!Cee(T4,nm(e))}:yg,Tee=Do("species"),L9=Pn.Array,Dee=function(e,t){return new(function(n){var r;return N9(n)&&(r=n.constructor,(See(r)&&(r===L9||N9(r.prototype))||La(r)&&(r=r[Tee])===null)&&(r=void 0)),r===void 0?L9:r}(e))(t===0?0:t)},M9=Hr([].push),Zl=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,E=Ud(u),g=z0(E),y=d3(l,c),_=i1(g),m=0,T=d||Dee,R=t?T(u,_):n||a?T(u,0):void 0;_>m;m++)if((s||m in g)&&(h=y(p=g[m],m,E),e))if(t)R[m]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return m;case 2:M9(R,p)}else switch(e){case 4:return!1;case 7:M9(R,p)}return o?-1:r||i?i:R}},Ree={forEach:Zl(0),map:Zl(1),filter:Zl(2),some:Zl(3),every:Zl(4),find:Zl(5),findIndex:Zl(6),filterReject:Zl(7)}.forEach,Nee=function(e,t){var n=[][e];return!!n&&Di(function(){n.call(null,t||function(){throw 1},1)})}("forEach"),D4=Nee?[].forEach:function(e){return Ree(this,e,arguments.length>1?arguments[1]:void 0)},j9=function(e){if(e&&e.forEach!==D4)try{Ro(e,"forEach",D4)}catch(t){e.forEach=D4}};for(var R4 in p1)p1[R4]&&j9(Pn[R4]&&Pn[R4].prototype);j9(A3),Oa("en",{common:{ok:"OK",delete:"Delete",enter:"Enter"},blockQuote:{title:"Quote"},codeBlock:{title:"Code block"},color:{color:"Font color",bgColor:"Back color",default:"Default color",clear:"Clear back color"},divider:{title:"Divider"},emotion:{title:"Emotion"},fontSize:{title:"Font size",default:"Default"},fontFamily:{title:"Font family",default:"Default"},fullScreen:{title:"Full screen"},header:{title:"Header",text:"Text"},image:{netImage:"Net image",delete:"Delete image",edit:"Edit image",viewLink:"View link",src:"Image src",desc:"Description",link:"Image link"},indent:{decrease:"Decrease",increase:"Increase"},justify:{left:"Left",right:"Right",center:"Center",justify:"Justify"},lineHeight:{title:"Line height",default:"Default"},link:{insert:"Insert link",text:"Link text",url:"Link source",unLink:"Unlink",edit:"Edit link",view:"View link"},textStyle:{bold:"Bold",clear:"Clear styles",code:"Inline code",italic:"Italic",sub:"Sub",sup:"Sup",through:"Through",underline:"Underline"},undo:{undo:"undo",redo:"Redo"},todo:{todo:"Todo"}}),Oa("zh-CN",{common:{ok:"\u786E\u5B9A",delete:"\u5220\u9664",enter:"\u56DE\u8F66"},blockQuote:{title:"\u5F15\u7528"},codeBlock:{title:"\u4EE3\u7801\u5757"},color:{color:"\u6587\u5B57\u989C\u8272",bgColor:"\u80CC\u666F\u8272",default:"\u9ED8\u8BA4\u989C\u8272",clear:"\u6E05\u9664\u80CC\u666F\u8272"},divider:{title:"\u5206\u5272\u7EBF"},emotion:{title:"\u8868\u60C5"},fontSize:{title:"\u5B57\u53F7",default:"\u9ED8\u8BA4\u5B57\u53F7"},fontFamily:{title:"\u5B57\u4F53",default:"\u9ED8\u8BA4\u5B57\u4F53"},fullScreen:{title:"\u5168\u5C4F"},header:{title:"\u6807\u9898",text:"\u6B63\u6587"},image:{netImage:"\u7F51\u7EDC\u56FE\u7247",delete:"\u5220\u9664\u56FE\u7247",edit:"\u7F16\u8F91\u56FE\u7247",viewLink:"\u67E5\u770B\u94FE\u63A5",src:"\u56FE\u7247\u5730\u5740",desc:"\u56FE\u7247\u63CF\u8FF0",link:"\u56FE\u7247\u94FE\u63A5"},indent:{decrease:"\u51CF\u5C11\u7F29\u8FDB",increase:"\u589E\u52A0\u7F29\u8FDB"},justify:{left:"\u5DE6\u5BF9\u9F50",right:"\u53F3\u5BF9\u9F50",center:"\u5C45\u4E2D\u5BF9\u9F50",justify:"\u4E24\u7AEF\u5BF9\u9F50"},lineHeight:{title:"\u884C\u9AD8",default:"\u9ED8\u8BA4\u884C\u9AD8"},link:{insert:"\u63D2\u5165\u94FE\u63A5",text:"\u94FE\u63A5\u6587\u672C",url:"\u94FE\u63A5\u5730\u5740",unLink:"\u53D6\u6D88\u94FE\u63A5",edit:"\u4FEE\u6539\u94FE\u63A5",view:"\u67E5\u770B\u94FE\u63A5"},textStyle:{bold:"\u7C97\u4F53",clear:"\u6E05\u9664\u683C\u5F0F",code:"\u884C\u5185\u4EE3\u7801",italic:"\u659C\u4F53",sub:"\u4E0B\u6807",sup:"\u4E0A\u6807",through:"\u5220\u9664\u7EBF",underline:"\u4E0B\u5212\u7EBF"},undo:{undo:"\u64A4\u9500",redo:"\u91CD\u505A"},todo:{todo:"\u5F85\u529E"}});var Iee={type:"paragraph",renderElem:function(e,t,n){return Bn("p",null,t)}},Ky=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof oe!="undefined"?oe:typeof self!="undefined"?self:{};function Yy(e){var t={exports:{}};return e(t,t.exports),t.exports}var ql,Xy,Jy=function(e){return e&&e.Math==Math&&e},Zn=Jy(typeof globalThis=="object"&&globalThis)||Jy(typeof window=="object"&&window)||Jy(typeof self=="object"&&self)||Jy(typeof Ky=="object"&&Ky)||function(){return this}()||Function("return this")(),wi=function(e){try{return!!e()}catch(t){return!0}},Vs=!wi(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),bg=Function.prototype.call,Mi=bg.bind?bg.bind(bg):function(){return bg.apply(bg,arguments)},k9={}.propertyIsEnumerable,F9=Object.getOwnPropertyDescriptor,Pee=F9&&!k9.call({1:2},1)?function(e){var t=F9(this,e);return!!t&&t.enumerable}:k9,B9={f:Pee},N4=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},U9=Function.prototype,I4=U9.bind,P4=U9.call,Lee=I4&&I4.bind(P4),kn=I4?function(e){return e&&Lee(P4,e)}:function(e){return e&&function(){return P4.apply(e,arguments)}},Mee=kn({}.toString),jee=kn("".slice),$l=function(e){return jee(Mee(e),8,-1)},L4=Zn.Object,kee=kn("".split),Qy=wi(function(){return!L4("z").propertyIsEnumerable(0)})?function(e){return $l(e)=="String"?kee(e,""):L4(e)}:L4,Fee=Zn.TypeError,ys=function(e){if(e==null)throw Fee("Can't call method on "+e);return e},jh=function(e){return Qy(ys(e))},Yo=function(e){return typeof e=="function"},bs=function(e){return typeof e=="object"?e!==null:Yo(e)},Bee=function(e){return Yo(e)?e:void 0},_g=function(e,t){return arguments.length<2?Bee(Zn[e]):Zn[e]&&Zn[e][t]},H9=kn({}.isPrototypeOf),M4=_g("navigator","userAgent")||"",W9=Zn.process,z9=Zn.Deno,V9=W9&&W9.versions||z9&&z9.version,G9=V9&&V9.v8;G9&&(Xy=(ql=G9.split("."))[0]>0&&ql[0]<4?1:+(ql[0]+ql[1])),!Xy&&M4&&(!(ql=M4.match(/Edge\/(\d+)/))||ql[1]>=74)&&(ql=M4.match(/Chrome\/(\d+)/))&&(Xy=+ql[1]);var j4=Xy,k4=!!Object.getOwnPropertySymbols&&!wi(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&j4&&j4<41}),F4=k4&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Uee=Zn.Object,B4=F4?function(e){return typeof e=="symbol"}:function(e){var t=_g("Symbol");return Yo(t)&&H9(t.prototype,Uee(e))},Hee=Zn.String,K9=function(e){try{return Hee(e)}catch(t){return"Object"}},Wee=Zn.TypeError,Y9=function(e){if(Yo(e))return e;throw Wee(K9(e)+" is not a function")},Zy=function(e,t){var n=e[t];return n==null?void 0:Y9(n)},zee=Zn.TypeError,Vee=Object.defineProperty,U4=function(e,t){try{Vee(Zn,e,{value:t,configurable:!0,writable:!0})}catch(n){Zn[e]=t}return t},ec=Zn["__core-js_shared__"]||U4("__core-js_shared__",{}),H4=Yy(function(e){(e.exports=function(t,n){return ec[t]||(ec[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Gee=Zn.Object,Eg=function(e){return Gee(ys(e))},Kee=kn({}.hasOwnProperty),_s=Object.hasOwn||function(e,t){return Kee(Eg(e),t)},Yee=0,Xee=Math.random(),Jee=kn(1 .toString),X9=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Jee(++Yee+Xee,36)},wg=H4("wks"),jf=Zn.Symbol,J9=jf&&jf.for,Qee=F4?jf:jf&&jf.withoutSetter||X9,za=function(e){if(!_s(wg,e)||!k4&&typeof wg[e]!="string"){var t="Symbol."+e;k4&&_s(jf,e)?wg[e]=jf[e]:wg[e]=F4&&J9?J9(t):Qee(t)}return wg[e]},Zee=Zn.TypeError,qee=za("toPrimitive"),W4=function(e){var t=function(n,r){if(!bs(n)||B4(n))return n;var i,o=Zy(n,qee);if(o){if(r===void 0&&(r="default"),i=Mi(o,n,r),!bs(i)||B4(i))return i;throw Zee("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,s){var u,l;if(s==="string"&&Yo(u=a.toString)&&!bs(l=Mi(u,a)))return l;if(Yo(u=a.valueOf)&&!bs(l=Mi(u,a)))return l;if(s!=="string"&&Yo(u=a.toString)&&!bs(l=Mi(u,a)))return l;throw zee("Can't convert object to primitive value")}(n,r)}(e,"string");return B4(t)?t:t+""},z4=Zn.document,$ee=bs(z4)&&bs(z4.createElement),V4=function(e){return $ee?z4.createElement(e):{}},Q9=!Vs&&!wi(function(){return Object.defineProperty(V4("div"),"a",{get:function(){return 7}}).a!=7}),Z9=Object.getOwnPropertyDescriptor,G4={f:Vs?Z9:function(e,t){if(e=jh(e),t=W4(t),Q9)try{return Z9(e,t)}catch(n){}if(_s(e,t))return N4(!Mi(B9.f,e,t),e[t])}},ete=Zn.String,tte=Zn.TypeError,Va=function(e){if(bs(e))return e;throw tte(ete(e)+" is not an object")},nte=Zn.TypeError,q9=Object.defineProperty,kh={f:Vs?q9:function(e,t,n){if(Va(e),t=W4(t),Va(n),Q9)try{return q9(e,t,n)}catch(r){}if("get"in n||"set"in n)throw nte("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Fh=Vs?function(e,t,n){return kh.f(e,t,N4(1,n))}:function(e,t,n){return e[t]=n,e},rte=kn(Function.toString);Yo(ec.inspectSource)||(ec.inspectSource=function(e){return rte(e)});var qy,Og,$y,K4=ec.inspectSource,$9=Zn.WeakMap,ite=Yo($9)&&/native code/.test(K4($9)),eP=H4("keys"),tP=function(e){return eP[e]||(eP[e]=X9(e))},Y4={},X4=Zn.TypeError,ote=Zn.WeakMap;if(ite||ec.state){var kf=ec.state||(ec.state=new ote),ate=kn(kf.get),nP=kn(kf.has),ste=kn(kf.set);qy=function(e,t){if(nP(kf,e))throw new X4("Object already initialized");return t.facade=e,ste(kf,e,t),t},Og=function(e){return ate(kf,e)||{}},$y=function(e){return nP(kf,e)}}else{var Bh=tP("state");Y4[Bh]=!0,qy=function(e,t){if(_s(e,Bh))throw new X4("Object already initialized");return t.facade=e,Fh(e,Bh,t),t},Og=function(e){return _s(e,Bh)?e[Bh]:{}},$y=function(e){return _s(e,Bh)}}var J4={set:qy,get:Og,has:$y,enforce:function(e){return $y(e)?Og(e):qy(e,{})},getterFor:function(e){return function(t){var n;if(!bs(t)||(n=Og(t)).type!==e)throw X4("Incompatible receiver, "+e+" required");return n}}},rP=Function.prototype,ute=Vs&&Object.getOwnPropertyDescriptor,Q4=_s(rP,"name"),eb={EXISTS:Q4,PROPER:Q4&&function(){}.name==="something",CONFIGURABLE:Q4&&(!Vs||Vs&&ute(rP,"name").configurable)},Ag=Yy(function(e){var t=eb.CONFIGURABLE,n=J4.get,r=J4.enforce,i=String(String).split("String");(e.exports=function(o,a,s,u){var l,c=!!u&&!!u.unsafe,d=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet,h=u&&u.name!==void 0?u.name:a;Yo(s)&&(String(h).slice(0,7)==="Symbol("&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!_s(s,"name")||t&&s.name!==h)&&Fh(s,"name",h),(l=r(s)).source||(l.source=i.join(typeof h=="string"?h:""))),o!==Zn?(c?!p&&o[a]&&(d=!0):delete o[a],d?o[a]=s:Fh(o,a,s)):d?o[a]=s:U4(a,s)})(Function.prototype,"toString",function(){return Yo(this)&&n(this).source||K4(this)})}),lte=Math.ceil,cte=Math.floor,Uh=function(e){var t=+e;return t!=t||t===0?0:(t>0?cte:lte)(t)},fte=Math.max,dte=Math.min,Cg=function(e,t){var n=Uh(e);return n<0?fte(n+t,0):dte(n,t)},hte=Math.min,xg=function(e){return e>0?hte(Uh(e),9007199254740991):0},tb=function(e){return xg(e.length)},iP=function(e){return function(t,n,r){var i,o=jh(t),a=tb(o),s=Cg(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},oP={includes:iP(!0),indexOf:iP(!1)},pte=oP.indexOf,aP=kn([].push),sP=function(e,t){var n,r=jh(e),i=0,o=[];for(n in r)!_s(Y4,n)&&_s(r,n)&&aP(o,n);for(;t.length>i;)_s(r,n=t[i++])&&(~pte(o,n)||aP(o,n));return o},nb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],mte=nb.concat("length","prototype"),gte={f:Object.getOwnPropertyNames||function(e){return sP(e,mte)}},uP={f:Object.getOwnPropertySymbols},vte=kn([].concat),yte=_g("Reflect","ownKeys")||function(e){var t=gte.f(Va(e)),n=uP.f;return n?vte(t,n(e)):t},bte=function(e,t){for(var n=yte(t),r=kh.f,i=G4.f,o=0;o<n.length;o++){var a=n[o];_s(e,a)||r(e,a,i(t,a))}},_te=/#|\.prototype\./,Sg=function(e,t){var n=wte[Ete(e)];return n==Ate||n!=Ote&&(Yo(t)?wi(t):!!t)},Ete=Sg.normalize=function(e){return String(e).replace(_te,".").toLowerCase()},wte=Sg.data={},Ote=Sg.NATIVE="N",Ate=Sg.POLYFILL="P",Cte=Sg,xte=G4.f,Eo=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,l=e.stat;if(n=u?Zn:l?Zn[s]||U4(s,{}):(Zn[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=xte(n,r))&&a.value:n[r],!Cte(u?r:s+(l?".":"#")+r,e.forced)&&i!==void 0){if(typeof o==typeof i)continue;bte(o,i)}(e.sham||i&&i.sham)&&Fh(o,"sham",!0),Ag(n,r,o,e)}},lP=kn(kn.bind),rb=Array.isArray||function(e){return $l(e)=="Array"},cP={};cP[za("toStringTag")]="z";var Z4=String(cP)==="[object z]",Ste=za("toStringTag"),Tte=Zn.Object,Dte=$l(function(){return arguments}())=="Arguments",q4=Z4?$l:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=Tte(e),Ste))=="string"?n:Dte?$l(t):(r=$l(t))=="Object"&&Yo(t.callee)?"Arguments":r},fP=function(){},Rte=[],dP=_g("Reflect","construct"),$4=/^\s*(?:class|function)\b/,Nte=kn($4.exec),Ite=!$4.exec(fP),Tg=function(e){if(!Yo(e))return!1;try{return dP(fP,Rte,e),!0}catch(t){return!1}},eC=!dP||wi(function(){var e;return Tg(Tg.call)||!Tg(Object)||!Tg(function(){e=!0})||e})?function(e){if(!Yo(e))return!1;switch(q4(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Ite||!!Nte($4,K4(e))}:Tg,Pte=za("species"),hP=Zn.Array,Lte=function(e,t){return new(function(n){var r;return rb(n)&&(r=n.constructor,(eC(r)&&(r===hP||rb(r.prototype))||bs(r)&&(r=r[Pte])===null)&&(r=void 0)),r===void 0?hP:r}(e))(t===0?0:t)},pP=kn([].push),tc=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,E=Eg(u),g=Qy(E),y=function(W,q){return Y9(W),q===void 0?W:lP?lP(W,q):function(){return W.apply(q,arguments)}}(l,c),_=tb(g),m=0,T=d||Lte,R=t?T(u,_):n||a?T(u,0):void 0;_>m;m++)if((s||m in g)&&(h=y(p=g[m],m,E),e))if(t)R[m]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return m;case 2:pP(R,p)}else switch(e){case 4:return!1;case 7:pP(R,p)}return o?-1:r||i?i:R}},ib={forEach:tc(0),map:tc(1),filter:tc(2),some:tc(3),every:tc(4),find:tc(5),findIndex:tc(6),filterReject:tc(7)},Mte=za("species"),tC=function(e){return j4>=51||!wi(function(){var t=[];return(t.constructor={})[Mte]=function(){return{foo:1}},t[e](Boolean).foo!==1})},jte=ib.filter;Eo({target:"Array",proto:!0,forced:!tC("filter")},{filter:function(e){return jte(this,e,arguments.length>1?arguments[1]:void 0)}});var kte=Z4?{}.toString:function(){return"[object "+q4(this)+"]"};Z4||Ag(Object.prototype,"toString",kte,{unsafe:!0});var ob,Fte=Zn.String,Oi=function(e){if(q4(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Fte(e)},mP=function(){var e=Va(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},nC=Zn.RegExp,rC=wi(function(){var e=nC("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),Bte=rC||wi(function(){return!nC("a","y").sticky}),gP={BROKEN_CARET:rC||wi(function(){var e=nC("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:Bte,UNSUPPORTED_Y:rC},Hh=Object.keys||function(e){return sP(e,nb)},Ute=Vs?Object.defineProperties:function(e,t){Va(e);for(var n,r=jh(t),i=Hh(t),o=i.length,a=0;o>a;)kh.f(e,n=i[a++],r[n]);return e},Hte=_g("document","documentElement"),vP=tP("IE_PROTO"),iC=function(){},yP=function(e){return"<script>"+e+"</script>"},bP=function(e){e.write(yP("")),e.close();var t=e.parentWindow.Object;return e=null,t},ab=function(){try{ob=new ActiveXObject("htmlfile")}catch(r){}var e,t;ab=typeof document!="undefined"?document.domain&&ob?bP(ob):((t=V4("iframe")).style.display="none",Hte.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(yP("document.F=Object")),e.close(),e.F):bP(ob);for(var n=nb.length;n--;)delete ab.prototype[nb[n]];return ab()};Y4[vP]=!0;var _P,oC,EP=Object.create||function(e,t){var n;return e!==null?(iC.prototype=Va(e),n=new iC,iC.prototype=null,n[vP]=e):n=ab(),t===void 0?n:Ute(n,t)},Wte=Zn.RegExp,zte=wi(function(){var e=Wte(".","s");return!(e.dotAll&&e.exec(`
`)&&e.flags==="s")}),Vte=Zn.RegExp,Gte=wi(function(){var e=Vte("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),Kte=J4.get,Yte=H4("native-string-replace",String.prototype.replace),sb=RegExp.prototype.exec,aC=sb,Xte=kn("".charAt),Jte=kn("".indexOf),Qte=kn("".replace),sC=kn("".slice),uC=(oC=/b*/g,Mi(sb,_P=/a/,"a"),Mi(sb,oC,"a"),_P.lastIndex!==0||oC.lastIndex!==0),wP=gP.BROKEN_CARET,lC=/()??/.exec("")[1]!==void 0;(uC||lC||wP||zte||Gte)&&(aC=function(e){var t,n,r,i,o,a,s,u=this,l=Kte(u),c=Oi(e),d=l.raw;if(d)return d.lastIndex=u.lastIndex,t=Mi(aC,d,c),u.lastIndex=d.lastIndex,t;var p=l.groups,h=wP&&u.sticky,E=Mi(mP,u),g=u.source,y=0,_=c;if(h&&(E=Qte(E,"y",""),Jte(E,"g")===-1&&(E+="g"),_=sC(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&Xte(c,u.lastIndex-1)!==`
`)&&(g="(?: "+g+")",_=" "+_,y++),n=new RegExp("^(?:"+g+")",E)),lC&&(n=new RegExp("^"+g+"$(?!\\s)",E)),uC&&(r=u.lastIndex),i=Mi(sb,h?n:u,_),h?i?(i.input=sC(i.input,y),i[0]=sC(i[0],y),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:uC&&i&&(u.lastIndex=u.global?i.index+i[0].length:r),lC&&i&&i.length>1&&Mi(Yte,i[0],n,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(i[o]=void 0)}),i&&p)for(i.groups=a=EP(null),o=0;o<p.length;o++)a[(s=p[o])[0]]=i[s[1]];return i});var Dg=aC;Eo({target:"RegExp",proto:!0,forced:/./.exec!==Dg},{exec:Dg});var cC=Function.prototype,OP=cC.apply,Zte=cC.bind,AP=cC.call,CP=typeof Reflect=="object"&&Reflect.apply||(Zte?AP.bind(OP):function(){return AP.apply(OP,arguments)}),qte=za("species"),fC=RegExp.prototype,dC=function(e,t,n,r){var i=za(e),o=!wi(function(){var l={};return l[i]=function(){return 7},""[e](l)!=7}),a=o&&!wi(function(){var l=!1,c=/a/;return e==="split"&&((c={}).constructor={},c.constructor[qte]=function(){return c},c.flags="",c[i]=/./[i]),c.exec=function(){return l=!0,null},c[i](""),!l});if(!o||!a||n){var s=kn(/./[i]),u=t(i,""[e],function(l,c,d,p,h){var E=kn(l),g=c.exec;return g===Dg||g===fC.exec?o&&!h?{done:!0,value:s(c,d,p)}:{done:!0,value:E(d,c,p)}:{done:!1}});Ag(String.prototype,e,u[0]),Ag(fC,i,u[1])}r&&Fh(fC[i],"sham",!0)},$te=kn("".charAt),xP=kn("".charCodeAt),ene=kn("".slice),SP=function(e){return function(t,n){var r,i,o=Oi(ys(t)),a=Uh(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=xP(o,a))<55296||r>56319||a+1===s||(i=xP(o,a+1))<56320||i>57343?e?$te(o,a):r:e?ene(o,a,a+2):i-56320+(r-55296<<10)+65536}},tne=(SP(!1),SP(!0)),hC=function(e,t,n){return t+(n?tne(e,t).length:1)},nne=Math.floor,pC=kn("".charAt),rne=kn("".replace),mC=kn("".slice),ine=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,one=/\$([$&'`]|\d{1,2})/g,ane=function(e,t,n,r,i,o){var a=n+e.length,s=r.length,u=one;return i!==void 0&&(i=Eg(i),u=ine),rne(o,u,function(l,c){var d;switch(pC(c,0)){case"$":return"$";case"&":return e;case"`":return mC(t,0,n);case"'":return mC(t,a);case"<":d=i[mC(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>s){var h=nne(p/10);return h===0?l:h<=s?r[h-1]===void 0?pC(c,1):r[h-1]+pC(c,1):l}d=r[p-1]}return d===void 0?"":d})},sne=Zn.TypeError,Rg=function(e,t){var n=e.exec;if(Yo(n)){var r=Mi(n,e,t);return r!==null&&Va(r),r}if($l(e)==="RegExp")return Mi(Dg,e,t);throw sne("RegExp#exec called on incompatible receiver")},gC=za("replace"),une=Math.max,lne=Math.min,cne=kn([].concat),vC=kn([].push),TP=kn("".indexOf),DP=kn("".slice),fne="a".replace(/./,"$0")==="$0",RP=!!/./[gC]&&/./[gC]("a","$0")==="";dC("replace",function(e,t,n){var r=RP?"$":"$0";return[function(i,o){var a=ys(this),s=i==null?void 0:Zy(i,gC);return s?Mi(s,i,a,o):Mi(t,Oi(a),i,o)},function(i,o){var a=Va(this),s=Oi(i);if(typeof o=="string"&&TP(o,r)===-1&&TP(o,"$<")===-1){var u=n(t,a,s,o);if(u.done)return u.value}var l=Yo(o);l||(o=Oi(o));var c=a.global;if(c){var d=a.unicode;a.lastIndex=0}for(var p=[];;){var h=Rg(a,s);if(h===null)break;if(vC(p,h),!c)break;Oi(h[0])===""&&(a.lastIndex=hC(s,xg(a.lastIndex),d))}for(var E,g="",y=0,_=0;_<p.length;_++){for(var m=Oi((h=p[_])[0]),T=une(lne(Uh(h.index),s.length),0),R=[],W=1;W<h.length;W++)vC(R,(E=h[W])===void 0?E:String(E));var q=h.groups;if(l){var X=cne([m],R,T,s);q!==void 0&&vC(X,q);var ge=Oi(CP(o,void 0,X))}else ge=ane(m,s,T,R,q,o);T>=y&&(g+=DP(s,y,T)+ge,y=T+m.length)}return g+DP(s,y)}]},!!wi(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!fne||RP);var yC=za("unscopables"),bC=Array.prototype;bC[yC]==null&&kh.f(bC,yC,{configurable:!0,value:EP(null)});var NP=function(e){bC[yC][e]=!0},dne=ib.find,IP=!0;"find"in[]&&Array(1).find(function(){IP=!1}),Eo({target:"Array",proto:!0,forced:IP},{find:function(e){return dne(this,e,arguments.length>1?arguments[1]:void 0)}}),NP("find");var hne=za("match"),PP=function(e){var t;return bs(e)&&((t=e[hne])!==void 0?!!t:$l(e)=="RegExp")},pne=Zn.TypeError,mne=za("species"),LP=function(e,t,n){var r=W4(t);r in e?kh.f(e,r,N4(0,n)):e[r]=n},gne=Zn.Array,vne=Math.max,MP=function(e,t,n){for(var r=tb(e),i=Cg(t,r),o=Cg(n===void 0?r:n,r),a=gne(vne(o-i,0)),s=0;i<o;i++,s++)LP(a,s,e[i]);return a.length=s,a},Wh=gP.UNSUPPORTED_Y,yne=Math.min,jP=[].push,bne=kn(/./.exec),zh=kn(jP),Ng=kn("".slice);dC("split",function(e,t,n){var r;return r="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(i,o){var a=Oi(ys(this)),s=o===void 0?4294967295:o>>>0;if(s===0)return[];if(i===void 0)return[a];if(!PP(i))return Mi(t,a,i,s);for(var u,l,c,d=[],p=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(i.sticky?"y":""),h=0,E=new RegExp(i.source,p+"g");(u=Mi(Dg,E,a))&&!((l=E.lastIndex)>h&&(zh(d,Ng(a,h,u.index)),u.length>1&&u.index<a.length&&CP(jP,d,MP(u,1)),c=u[0].length,h=l,d.length>=s));)E.lastIndex===u.index&&E.lastIndex++;return h===a.length?!c&&bne(E,"")||zh(d,""):zh(d,Ng(a,h)),d.length>s?MP(d,0,s):d}:"0".split(void 0,0).length?function(i,o){return i===void 0&&o===0?[]:Mi(t,this,i,o)}:t,[function(i,o){var a=ys(this),s=i==null?void 0:Zy(i,e);return s?Mi(s,i,a,o):Mi(r,Oi(a),i,o)},function(i,o){var a=Va(this),s=Oi(i),u=n(r,a,s,o,r!==t);if(u.done)return u.value;var l=function(R,W){var q,X=Va(R).constructor;return X===void 0||(q=Va(X)[mne])==null?W:function(ge){if(eC(ge))return ge;throw pne(K9(ge)+" is not a constructor")}(q)}(a,RegExp),c=a.unicode,d=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Wh?"g":"y"),p=new l(Wh?"^(?:"+a.source+")":a,d),h=o===void 0?4294967295:o>>>0;if(h===0)return[];if(s.length===0)return Rg(p,s)===null?[s]:[];for(var E=0,g=0,y=[];g<s.length;){p.lastIndex=Wh?0:g;var _,m=Rg(p,Wh?Ng(s,g):s);if(m===null||(_=yne(xg(p.lastIndex+(Wh?g:0)),s.length))===E)g=hC(s,g,c);else{if(zh(y,Ng(s,E,g)),y.length===h)return y;for(var T=1;T<=m.length-1;T++)if(zh(y,m[T]),y.length===h)return y;g=E=_}}return zh(y,Ng(s,E)),y}]},!!wi(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),Wh);var _C=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,kP=kn("".replace),ub="["+_C+"]",_ne=RegExp("^"+ub+ub+"*"),Ene=RegExp(ub+ub+"*$"),EC=function(e){return function(t){var n=Oi(ys(t));return 1&e&&(n=kP(n,_ne,"")),2&e&&(n=kP(n,Ene,"")),n}},wne={start:EC(1),end:EC(2),trim:EC(3)},One=eb.PROPER,Ane=wne.trim;function wC(e){return we("<div>"+e+"</div>").children().filter(function(t){return t.tagName!=="BR"}).length===0}function Vh(e){return e.length===0?"":e[0].outerHTML}function Gh(e){return e.length?e[0].tagName.toLowerCase():""}function Gs(e,t){for(var n="",r=(e.attr("style")||"").split(";"),i=r.length,o=0;o<i;o++){var a=r[o];if(a){var s=a.split(":");s[0].trim()===t&&(n=s[1].trim())}}return n}Eo({target:"String",proto:!0,forced:wi(function(){return!!_C.trim()||"\u200B\x85\u180E".trim()!=="\u200B\x85\u180E"||One&&_C.trim.name!=="trim"})},{trim:function(){return Ane(this)}}),Eo({global:!0},{globalThis:Zn}),j1&&(we.fn.css=j1),cs&&(we.fn.append=cs),$N&&(we.fn.prepend=$N),Jd&&(we.fn.addClass=Jd),Qd&&(we.fn.removeClass=Qd),Zd&&(we.fn.hasClass=Zd),pu&&(we.fn.on=pu),JN&&(we.fn.off=JN),jl&&(we.fn.focus=jl),ls&&(we.fn.attr=ls),I1&&(we.fn.removeAttr=I1),$d&&(we.fn.hide=$d),M1&&(we.fn.show=M1),B1&&(we.fn.parents=B1),qd&&(we.fn.dataset=qd),hu&&(we.fn.val=hu),F1&&(we.fn.text=F1),Ml&&(we.fn.html=Ml),nh&&(we.fn.children=nh),rh&&(we.fn.remove=rh),th&&(we.fn.find=th),P1&&(we.fn.width=P1),L1&&(we.fn.height=L1),ZN&&(we.fn.filter=ZN),ih&&(we.fn.empty=ih);var Cne={selector:"p:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=we(e);return(t=t.filter(function(i){return!!rn.isText(i)||!!n.isInline(i)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:t}}},OC=function(e,t){return OC=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},OC(e,t);/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */};function gi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}OC(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var nc=function(){return nc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},nc.apply(this,arguments)};function rc(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(l){try{u(r.next(l))}catch(c){o(c)}}function s(l){try{u(r.throw(l))}catch(c){o(c)}}function u(l){var c;l.done?i(l.value):(c=l.value,c instanceof n?c:new n(function(d){d(c)})).then(a,s)}u((r=r.apply(e,t||[])).next())})}function ic(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||c[0]!==6&&c[0]!==2)){a=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){a.label=c[1];break}if(c[0]===6&&a.label<i[1]){a.label=i[1],i=c;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(c);break}i[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(d){c=[6,d],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([u,l])}}}function FP(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=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 Sr(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function BP(e){var t=Sr(U.nodes(e,{match:function(o){return e.children[0]===o},mode:"highest"}),1)[0];if(t==null)return!1;var n=t[0];if(!bn.isElement(n))return!1;if(n.type==="paragraph")return!1;if(Vt.string(n)!=="")return!1;var r=n.children,i=r===void 0?[]:r;return!!rn.isText(i[0])&&(He.setNodes(e,{type:"paragraph"}),!0)}var xne={renderElems:[Iee],elemsToHtml:[{type:"paragraph",elemToHtml:function(e,t){return t===""?"<p><br></p>":"<p>"+t+"</p>"}}],parseElemsHtml:[Cne],editorPlugin:function(e){var t=e.deleteBackward,n=e.deleteForward;e.insertText,e.insertBreak;var r=e;return r.deleteBackward=function(i){BP(r)||t(i)},r.deleteForward=function(i){BP(r)||n(i)},r}},Sne=/"/g,Tne=kn("".replace),Ig=function(e,t,n,r){var i=Oi(ys(e)),o="<"+t;return n!==""&&(o+=" "+n+'="'+Tne(Oi(r),Sne,"&quot;")+'"'),o+">"+i+"</"+t+">"},Pg=function(e){return wi(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})};function AC(e,t){var n=t,r=e,i=r.bold,o=r.italic,a=r.underline;return i&&(n="<strong>"+n+"</strong>"),r.code&&(n="<code>"+n+"</code>"),o&&(n="<em>"+n+"</em>"),a&&(n="<u>"+n+"</u>"),r.through&&(n="<s>"+n+"</s>"),r.sub&&(n="<sub>"+n+"</sub>"),r.sup&&(n="<sup>"+n+"</sup>"),n}function Ff(e,t){return e.length!==0&&(!!e[0].matches(t)||e.find(t).length>0)}Eo({target:"String",proto:!0,forced:Pg("bold")},{bold:function(){return Ig(this,"b","","")}}),Eo({target:"String",proto:!0,forced:Pg("italics")},{italics:function(){return Ig(this,"i","","")}}),Eo({target:"String",proto:!0,forced:Pg("sub")},{sub:function(){return Ig(this,"sub","","")}}),Eo({target:"String",proto:!0,forced:Pg("sup")},{sup:function(){return Ig(this,"sup","","")}});var UP={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},CC=V4("span").classList,HP=CC&&CC.constructor&&CC.constructor.prototype,Dne=HP===Object.prototype?void 0:HP,WP=function(e,t){var n=[][e];return!!n&&wi(function(){n.call(null,t||function(){throw 1},1)})},Rne=ib.forEach,xC=WP("forEach")?[].forEach:function(e){return Rne(this,e,arguments.length>1?arguments[1]:void 0)},zP=function(e){if(e&&e.forEach!==xC)try{Fh(e,"forEach",xC)}catch(t){e.forEach=xC}};for(var SC in UP)UP[SC]&&zP(Zn[SC]&&Zn[SC].prototype);function VP(e,t){return e.selection==null||!!Sr(U.nodes(e,{match:function(n){return de.getNodeType(n)==="pre"||!!U.isVoid(e,n)},universal:!0}),1)[0]}function Nne(e,t){Object.keys(t).forEach(function(n){n!=="text"&&U.removeMark(e,n)})}zP(Dne),Eo({target:"Object",stat:!0,forced:wi(function(){Hh(1)})},{keys:function(e){return Hh(Eg(e))}});var Bf=function(){function e(){this.marksNeedToRemove=[],this.tag="button"}return e.prototype.getValue=function(t){var n=this.mark,r=U.marks(t);return r?r[n]:!!Sr(U.nodes(t,{match:function(i){return i[n]===!0}}),1)[0]},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){return VP(t,this.mark)},e.prototype.exec=function(t,n){var r=this.mark,i=this.marksNeedToRemove;n?t.removeMark(r):(t.addMark(r,!0),i&&i.forEach(function(o){return t.removeMark(o)}))},e}(),Ine='<svg viewBox="0 0 1024 1024"><path d="M707.872 484.64A254.88 254.88 0 0 0 768 320c0-141.152-114.848-256-256-256H192v896h384c141.152 0 256-114.848 256-256a256.096 256.096 0 0 0-124.128-219.36zM384 192h101.504c55.968 0 101.504 57.408 101.504 128s-45.536 128-101.504 128H384V192z m159.008 640H384v-256h159.008c58.464 0 106.016 57.408 106.016 128s-47.552 128-106.016 128z"></path></svg>',Pne='<svg viewBox="0 0 1024 1024"><path d="M704 64l128 0 0 416c0 159.072-143.264 288-320 288s-320-128.928-320-288l0-416 128 0 0 416c0 40.16 18.24 78.688 51.36 108.512 36.896 33.216 86.848 51.488 140.64 51.488s103.744-18.304 140.64-51.488c33.12-29.792 51.36-68.352 51.36-108.512l0-416zM192 832l640 0 0 128-640 0z"></path></svg>',Lne='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',Mne='<svg viewBox="0 0 1024 1024"><path d="M1024 512v64h-234.496c27.52 38.496 42.496 82.688 42.496 128 0 70.88-36.672 139.04-100.576 186.976C672.064 935.488 594.144 960 512 960s-160.064-24.512-219.424-69.024C228.64 843.04 192 774.88 192 704h128c0 69.376 87.936 128 192 128s192-58.624 192-128-87.936-128-192-128H0v-64h299.52a385.984 385.984 0 0 1-6.944-5.024C228.64 459.04 192 390.88 192 320s36.672-139.04 100.576-186.976C351.936 88.512 429.856 64 512 64s160.064 24.512 219.424 69.024C795.328 180.96 832 249.12 832 320h-128c0-69.376-87.936-128-192-128s-192 58.624-192 128 87.936 128 192 128c78.976 0 154.048 22.688 212.48 64H1024z"></path></svg>',jne='<svg viewBox="0 0 1024 1024"><path d="M576 736l96 96 320-320L672 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224z"></path></svg>',GP='<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>',KP='<svg viewBox="0 0 1024 1024"><path d="M924.402464 1023.068211H0.679665V99.345412h461.861399v98.909208H99.596867v725.896389h725.896389V561.206811h98.909208z" p-id="10909"></path><path d="M930.805104 22.977336l69.965436 69.965436-453.492405 453.492404-69.965435-69.901489z" p-id="10910"></path><path d="M1022.464381 304.030081h-98.917201V99.345412H709.230573V0.428211h313.233808z"></path></svg>',kne='<svg viewBox="0 0 1024 1024"><path d="M64 864h896v96H64zM360.58 576h302.85l81.53 224h102.16L579.24 64H444.77L176.89 800h102.16l81.53-224zM512 159.96L628.49 480H395.52L512 159.96z"></path></svg>',Fne='<svg viewBox="0 0 1024 1024"><path d="M510.030769 315.076923l84.676923 196.923077h-177.230769l76.8-196.923077h15.753846zM945.230769 157.538462v708.923076c0 43.323077-35.446154 78.769231-78.769231 78.769231H157.538462c-43.323077 0-78.769231-35.446154-78.769231-78.769231V157.538462c0-43.323077 35.446154-78.769231 78.769231-78.769231h708.923076c43.323077 0 78.769231 35.446154 78.769231 78.769231z m-108.307692 643.938461L600.615385 216.615385c-5.907692-11.815385-15.753846-19.692308-29.538462-19.692308h-139.815385c-11.815385 0-23.630769 7.876923-27.56923 19.692308l-216.615385 584.861538c-3.938462 11.815385 3.938462 25.6 17.723077 25.6h80.738462c11.815385 0 23.630769-9.846154 27.56923-21.661538l63.015385-175.261539h263.876923l68.923077 175.261539c3.938462 11.815385 15.753846 21.661538 27.569231 21.661538h80.738461c13.784615 0 23.630769-13.784615 19.692308-25.6z"></path></svg>',Bne='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',Une='<svg viewBox="0 0 1024 1024"><path d="M956.788364 152.110545h-24.110546l23.924364 9.029819 0.186182 121.018181h-65.070546l-86.574545-130.048H566.551273v650.14691l130.048 64.977454v65.163636h-390.050909v-65.163636l129.954909-64.977454V152.110545H198.283636L111.429818 282.065455H46.545455V69.259636C46.545455 33.792 82.664727 22.062545 98.955636 22.062545h812.683637c23.738182 0 45.056 15.173818 45.056 41.053091V169.425455v-17.221819z"></path></svg>',Hne='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',Wne='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',zne='<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',Vne='<svg viewBox="0 0 1024 1024"><path d="M972.8 793.6v102.4H256v-102.4h716.8z m0-230.4v102.4H51.2v-102.4h921.6z m0-230.4v102.4H256v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',Gne='<svg viewBox="0 0 1024 1024"><path d="M870.4 793.6v102.4H153.6v-102.4h716.8z m102.4-230.4v102.4H51.2v-102.4h921.6z m-102.4-230.4v102.4H153.6v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',Kne='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',Yne='<svg viewBox="0 0 1024 1024"><path d="M768 206.016v50.016h128v64h-192V174.016l128-60V64h-128V0h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',Xne='<svg viewBox="0 0 1024 1024"><path d="M768 910.016v50.016h128v64h-192v-146.016l128-60V768h-128v-64h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',Jne=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="bold",n.title=Gt("textStyle.bold"),n.iconSvg=Ine,n.hotkey="mod+b",n}return gi(t,e),t}(Bf),Qne=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="code",n.title=Gt("textStyle.code"),n.iconSvg=jne,n.hotkey="mod+e",n}return gi(t,e),t}(Bf),Zne=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="italic",n.title=Gt("textStyle.italic"),n.iconSvg=Lne,n.hotkey="mod+i",n}return gi(t,e),t}(Bf),qne=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="through",n.title=Gt("textStyle.through"),n.iconSvg=Mne,n.hotkey="mod+shift+x",n}return gi(t,e),t}(Bf),$ne=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="underline",n.title=Gt("textStyle.underline"),n.iconSvg=Pne,n.hotkey="mod+u",n}return gi(t,e),t}(Bf),ere=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="sub",n.marksNeedToRemove=["sup"],n.title=Gt("textStyle.sub"),n.iconSvg=Xne,n.hotkey="",n}return gi(t,e),t}(Bf),tre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="sup",n.marksNeedToRemove=["sub"],n.title=Gt("textStyle.sup"),n.iconSvg=Yne,n.hotkey="",n}return gi(t,e),t}(Bf),nre=function(){function e(){this.title=Gt("textStyle.clear"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M969.382408 288.738615l-319.401123-270.852152a67.074236 67.074236 0 0 0-96.459139 5.74922l-505.931379 574.922021a68.35184 68.35184 0 0 0-17.886463 47.910169 74.101061 74.101061 0 0 0 24.274486 47.910168l156.50655 132.232065h373.060512L975.131628 383.281347a67.074236 67.074236 0 0 0-5.74922-96.459139z m-440.134747 433.746725H264.144729l-90.071117-78.572676c-5.74922-5.74922-12.137243-12.137243-12.137243-17.886463a36.411728 36.411728 0 0 1 5.749221-24.274485l210.804741-240.828447 265.102932 228.691204z m-439.495945 180.781036h843.218964a60.047411 60.047411 0 1 1 0 120.733624H89.751716a60.047411 60.047411 0 1 1 0-120.733624z m0 0"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return VP(t)},e.prototype.exec=function(t,n){var r,i,o=U.nodes(t,{match:function(u){return rn.isText(u)},universal:!0});try{for(var a=FP(o),s=a.next();!s.done;s=a.next())Nne(t,s.value[0])}catch(u){r={error:u}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}},e}(),rre={renderStyle:function(e,t){var n=e,r=n.bold,i=n.italic,o=n.underline,a=n.code,s=n.through,u=n.sub,l=n.sup,c=t;return r&&(c=Bn("strong",null,c)),a&&(c=Bn("code",null,c)),i&&(c=Bn("em",null,c)),o&&(c=Bn("u",null,c)),s&&(c=Bn("s",null,c)),u&&(c=Bn("sub",null,c)),l&&(c=Bn("sup",null,c)),c},menus:[{key:"bold",factory:function(){return new Jne}},{key:"underline",factory:function(){return new $ne}},{key:"italic",factory:function(){return new Zne}},{key:"through",factory:function(){return new qne}},{key:"code",factory:function(){return new Qne}},{key:"sub",factory:function(){return new ere}},{key:"sup",factory:function(){return new tre}},{key:"clearStyle",factory:function(){return new nre}}],styleToHtml:function(e,t){if(!rn.isText(e))return t;if(wC(t))return AC(e,t);var n=we(t);if(Gh(n)==="br")return AC(e,"<br>");var r=n.html();return r=AC(e,r),n.html(r),Vh(n)},parseStyleHtml:function(e,t,n){var r=we(e);if(!rn.isText(t))return t;var i=t;return Ff(r,"b,strong")&&(i.bold=!0),Ff(r,"i,em")&&(i.italic=!0),Ff(r,"u")&&(i.underline=!0),Ff(r,"s,strike")&&(i.through=!0),Ff(r,"sub")&&(i.sub=!0),Ff(r,"sup")&&(i.sup=!0),Ff(r,"code")&&(i.code=!0),i}};function Lg(e){return function(t,n,r){return Bn("h"+e,null,n)}}var ire={type:"header1",renderElem:Lg(1)},ore={type:"header2",renderElem:Lg(2)},are={type:"header3",renderElem:Lg(3)},sre={type:"header4",renderElem:Lg(4)},ure={type:"header5",renderElem:Lg(5)},lre=eb.PROPER,TC=RegExp.prototype,YP=TC.toString,cre=kn(mP),fre=wi(function(){return YP.call({source:"a",flags:"b"})!="/a/b"}),dre=lre&&YP.name!="toString";(fre||dre)&&Ag(RegExp.prototype,"toString",function(){var e=Va(this),t=Oi(e.source),n=e.flags;return"/"+t+"/"+Oi(n===void 0&&H9(TC,e)&&!("flags"in TC)?cre(e):n)},{unsafe:!0});var DC,hre=Zn.TypeError,XP=function(e){if(PP(e))throw hre("The method doesn't accept regular expressions");return e},pre=za("match"),JP=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[pre]=!1,"/./"[e](t)}catch(r){}}return!1},mre=G4.f,QP=kn("".startsWith),gre=kn("".slice),vre=Math.min,ZP=JP("startsWith");function qP(e){var t=Sr(U.nodes(e,{match:function(i){return de.getNodeType(i).startsWith("header")},universal:!0}),1),n=t[0];if(n==null)return"paragraph";var r=Sr(n,1)[0];return de.getNodeType(r)}function $P(e){return e.selection==null||!Sr(U.nodes(e,{match:function(t){var n=de.getNodeType(t);return n==="paragraph"||!!n.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function eL(e,t){t&&He.setNodes(e,{type:t})}Eo({target:"String",proto:!0,forced:!(!ZP&&(DC=mre(String.prototype,"startsWith"),DC&&!DC.writable)||ZP)},{startsWith:function(e){var t=Oi(ys(this));XP(e);var n=xg(vre(arguments.length>1?arguments[1]:void 0,t.length)),r=Oi(e);return QP?QP(t,r,n):gre(t,n,n+r.length)===r}});var yre=function(){function e(){this.title=Gt("header.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M960 960c-51.2 0-102.4-3.2-153.6-3.2-51.2 0-99.2 3.2-150.4 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 57.6-28.8 86.4-48 19.2-12.8 19.2-60.8 19.2-80v-224-19.2c-9.6-3.2-19.2-3.2-28.8-3.2H320c-9.6 0-19.2 0-28.8 3.2V780.8c0 22.4 0 80 22.4 92.8 28.8 19.2 96-6.4 96 44.8 0 16-9.6 41.6-28.8 41.6-54.4 0-105.6-3.2-160-3.2-48 0-96 3.2-147.2 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 51.2-28.8 80-48 19.2-12.8 19.2-60.8 19.2-83.2V294.4c0-28.8 3.2-115.2-22.4-131.2-25.6-16-86.4 9.6-86.4-41.6 0-16 6.4-41.6 28.8-41.6 51.2 0 105.6 3.2 156.8 3.2 48 0 96-3.2 144-3.2 19.2 0 28.8 22.4 28.8 41.6 0 48-57.6 25.6-83.2 41.6-19.2 12.8-19.2 73.6-19.2 92.8v201.6c6.4 3.2 16 3.2 22.4 3.2h400c6.4 0 12.8 0 22.4-3.2V256c0-22.4 0-80-19.2-92.8-28.8-16-86.4 6.4-86.4-41.6 0-16 9.6-41.6 28.8-41.6 51.2 0 99.2 3.2 150.4 3.2 48 0 99.2-3.2 147.2-3.2 19.2 0 28.8 22.4 28.8 41.6 0 51.2-57.6 25.6-86.4 41.6-19.2 12.8-19.2 70.4-19.2 92.8v537.6c0 19.2 0 67.2 19.2 80 28.8 19.2 89.6-6.4 89.6 44.8 0 19.2-6.4 41.6-28.8 41.6z"></path></svg>',this.tag="select",this.width=60}return e.prototype.getOptions=function(t){var n=[{value:"header1",text:"H1",styleForRenderMenuList:{"font-size":"32px","font-weight":"bold"}},{value:"header2",text:"H2",styleForRenderMenuList:{"font-size":"24px","font-weight":"bold"}},{value:"header3",text:"H3",styleForRenderMenuList:{"font-size":"18px","font-weight":"bold"}},{value:"header4",text:"H4",styleForRenderMenuList:{"font-size":"16px","font-weight":"bold"}},{value:"header5",text:"H5",styleForRenderMenuList:{"font-size":"13px","font-weight":"bold"}},{value:"paragraph",text:Gt("header.text")}],r=this.getValue(t).toString();return n.forEach(function(i){i.value===r?i.selected=!0:delete i.selected}),n},e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){return qP(t)},e.prototype.isDisabled=function(t){return $P(t)},e.prototype.exec=function(t,n){eL(t,n.toString())},e}(),Mg=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){return qP(t)},e.prototype.isActive=function(t){return this.getValue(t)===this.type},e.prototype.isDisabled=function(t){return $P(t)},e.prototype.exec=function(t,n){var r=this.type;eL(t,n===r?"paragraph":r)},e}(),bre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H1",n.type="header1",n}return gi(t,e),t}(Mg),_re=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H2",n.type="header2",n}return gi(t,e),t}(Mg),Ere=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H3",n.type="header3",n}return gi(t,e),t}(Mg),wre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H4",n.type="header4",n}return gi(t,e),t}(Mg),Ore=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H5",n.type="header5",n}return gi(t,e),t}(Mg),Are={key:"headerSelect",factory:function(){return new yre}},Cre={key:"header1",factory:function(){return new bre}},xre={key:"header2",factory:function(){return new _re}},Sre={key:"header3",factory:function(){return new Ere}},Tre={key:"header4",factory:function(){return new wre}},Dre={key:"header5",factory:function(){return new Ore}};function jg(e){return function(t,n){return"<h"+e+">"+n+"</h"+e+">"}}function kg(e){return function(t,n,r){var i=we(t);return(n=n.filter(function(o){return!!rn.isText(o)||!!r.isInline(o)})).length===0&&(n=[{text:i.text().replace(/\s+/gm," ")}]),{type:"header"+e,children:n}}}var Rre={renderElems:[ire,ore,are,sre,ure],elemsToHtml:[{type:"header1",elemToHtml:jg(1)},{type:"header2",elemToHtml:jg(2)},{type:"header3",elemToHtml:jg(3)},{type:"header4",elemToHtml:jg(4)},{type:"header5",elemToHtml:jg(5)}],parseElemsHtml:[{selector:"h1:not([data-w-e-type])",parseElemHtml:kg(1)},{selector:"h2:not([data-w-e-type])",parseElemHtml:kg(2)},{selector:"h3:not([data-w-e-type])",parseElemHtml:kg(3)},{selector:"h4:not([data-w-e-type])",parseElemHtml:kg(4)},{selector:"h5:not([data-w-e-type])",parseElemHtml:kg(5)}],menus:[Are,Cre,xre,Sre,Tre,Dre],editorPlugin:function(e){var t=e.insertBreak;e.insertNode;var n=e;return n.insertBreak=function(){var r=Sr(U.nodes(n,{match:function(i){return de.getNodeType(i).startsWith("header")},universal:!0}),1)[0];r&&de.isSelectionAtLineEnd(e,r[1])?He.insertNodes(n,{type:"paragraph",children:[{text:""}]},{mode:"highest"}):t()},n}},Kh=Object.assign,tL=Object.defineProperty,Nre=kn([].concat),nL=!Kh||wi(function(){if(Vs&&Kh({b:1},Kh(tL({},"a",{enumerable:!0,get:function(){tL(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(i){t[i]=i}),Kh({},e)[n]!=7||Hh(Kh({},t)).join("")!=r})?function(e,t){for(var n=Eg(e),r=arguments.length,i=1,o=uP.f,a=B9.f;r>i;)for(var s,u=Qy(arguments[i++]),l=o?Nre(Hh(u),o(u)):Hh(u),c=l.length,d=0;c>d;)s=l[d++],Vs&&!Mi(a,u,s)||(n[s]=u[s]);return n}:Kh;function Uf(e,t){e.data==null&&(e.data={});var n=e.data;n.style==null&&(n.style={}),Object.assign(n.style,t)}Eo({target:"Object",stat:!0,forced:Object.assign!==nL},{assign:nL});var Ire={selector:"font",preParseHtml:function(e){var t=we(e);if(Gh(t)!=="font")return e;var n=t.attr("color")||"";return n&&(t.removeAttr("color"),t.css("color",n)),t[0]}},rL=function(){function e(){this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(t,n){},e.prototype.getValue=function(t){var n=this.mark,r=U.marks(t);return r&&r[n]?r[n]:""},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){return t.selection==null||!!Sr(U.nodes(t,{match:function(n){return de.getNodeType(n)==="pre"||!!U.isVoid(t,n)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(t){var n=this.mark;if(this.$content==null){var r=we('<ul class="w-e-panel-content-color"></ul>');r.on("click","li",function(l){var c=l.target;if(c!=null&&(l.preventDefault(),t.selection!=null)){var d=we(c).attr("data-value");d==="0"?U.removeMark(t,n):U.addMark(t,n,d)}}),this.$content=r}var i=this.$content;if(i==null)return document.createElement("ul");i.empty();var o=this.getValue(t),a=t.getMenuConfig(n).colors;(a===void 0?[]:a).forEach(function(l){var c=we('<div class="color-block" data-value="'+l+'"></div>');c.css("background-color",l);var d=we('<li data-value="'+l+'"></li>');o===l&&d.addClass("active"),d.append(c),i.append(d)});var s="";n==="color"&&(s=Gt("color.default")),n==="bgColor"&&(s=Gt("color.clear"));var u=we(`
<li data-value="0" class="clear">
<svg viewBox="0 0 1024 1024"><path d="M236.8 128L896 787.2V128H236.8z m614.4 704L192 172.8V832h659.2zM192 64h704c38.4 0 64 25.6 64 64v704c0 38.4-25.6 64-64 64H192c-38.4 0-64-25.6-64-64V128c0-38.4 25.6-64 64-64z"></path></svg>
`+s+`
</li>
`);return i.prepend(u),i[0]},e}(),Pre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Gt("color.color"),n.iconSvg=kne,n.mark="color",n}return gi(t,e),t}(rL),Lre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Gt("color.bgColor"),n.iconSvg=Fne,n.mark="bgColor",n}return gi(t,e),t}(rL),iL=["rgb(0, 0, 0)","rgb(38, 38, 38)","rgb(89, 89, 89)","rgb(140, 140, 140)","rgb(191, 191, 191)","rgb(217, 217, 217)","rgb(233, 233, 233)","rgb(245, 245, 245)","rgb(250, 250, 250)","rgb(255, 255, 255)","rgb(225, 60, 57)","rgb(231, 95, 51)","rgb(235, 144, 58)","rgb(245, 219, 77)","rgb(114, 192, 64)","rgb(89, 191, 192)","rgb(66, 144, 247)","rgb(54, 88, 226)","rgb(106, 57, 201)","rgb(216, 68, 147)","rgb(251, 233, 230)","rgb(252, 237, 225)","rgb(252, 239, 212)","rgb(252, 251, 207)","rgb(231, 246, 213)","rgb(218, 244, 240)","rgb(217, 237, 250)","rgb(224, 232, 250)","rgb(237, 225, 248)","rgb(246, 226, 234)","rgb(255, 163, 158)","rgb(255, 187, 150)","rgb(255, 213, 145)","rgb(255, 251, 143)","rgb(183, 235, 143)","rgb(135, 232, 222)","rgb(145, 213, 255)","rgb(173, 198, 255)","rgb(211, 173, 247)","rgb(255, 173, 210)","rgb(255, 77, 79)","rgb(255, 122, 69)","rgb(255, 169, 64)","rgb(255, 236, 61)","rgb(115, 209, 61)","rgb(54, 207, 201)","rgb(64, 169, 255)","rgb(89, 126, 247)","rgb(146, 84, 222)","rgb(247, 89, 171)","rgb(207, 19, 34)","rgb(212, 56, 13)","rgb(212, 107, 8)","rgb(212, 177, 6)","rgb(56, 158, 13)","rgb(8, 151, 156)","rgb(9, 109, 217)","rgb(29, 57, 196)","rgb(83, 29, 171)","rgb(196, 29, 127)","rgb(130, 0, 20)","rgb(135, 20, 0)","rgb(135, 56, 0)","rgb(97, 71, 0)","rgb(19, 82, 0)","rgb(0, 71, 79)","rgb(0, 58, 140)","rgb(6, 17, 120)","rgb(34, 7, 94)","rgb(120, 6, 80)"],Mre={renderStyle:function(e,t){var n=e,r=n.color,i=n.bgColor,o=t;return r&&Uf(o,{color:r}),i&&Uf(o,{backgroundColor:i}),o},styleToHtml:function(e,t){if(!rn.isText(e))return t;var n,r=e,i=r.color,o=r.bgColor;return i||o?((wC(t)||Gh(n=we(t))!=="span")&&(n=we("<span>"+t+"</span>")),i&&n.css("color",i),o&&n.css("background-color",o),Vh(n)):t},preParseHtml:[Ire],parseStyleHtml:function(e,t,n){var r=we(e);if(!rn.isText(t))return t;var i=t,o=Gs(r,"color");o&&(i.color=o);var a=Gs(r,"background-color");return a||(a=Gs(r,"background")),a&&(i.bgColor=a),i},menus:[{key:"color",factory:function(){return new Pre},config:{colors:iL}},{key:"bgColor",factory:function(){return new Lre},config:{colors:iL}}]},jre=/^(?:\w+:)?\/\/(\S+)$/,kre=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,Fre=/^[^\s\.]+\.\S{2,}$/,Bre=oP.includes;function lb(e){return e===void 0&&(e="r"),e+"-"+a7()}function RC(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}function oL(e,t,n,r){return rc(this,void 0,void 0,function(){var i,o;return ic(this,function(a){switch(a.label){case 0:return(i=t.getMenuConfig(e).checkLink)?[4,i(n,r)]:[3,2];case 1:if(typeof(o=a.sent())=="string")return t.alert(o,"error"),[2,!1];if(o==null)return[2,!1];a.label=2;case 2:return[2,!0]}})})}function aL(e,t,n){return rc(this,void 0,void 0,function(){var r;return ic(this,function(i){switch(i.label){case 0:return(r=t.getMenuConfig(e).parseLinkUrl)?[4,r(n)]:[3,2];case 1:return[2,i.sent()];case 2:return[2,n]}})})}function NC(e){return e.selection==null||!!de.getSelectedElems(e).some(function(t){var n=t.type;return!!e.isVoid(t)||!!["pre","code","link"].includes(n)||void 0})}function IC(e,t){return{type:"link",url:RC(e),children:t?[{text:t}]:[]}}function sL(e,t,n){return rc(this,void 0,void 0,function(){var r,i,o;return ic(this,function(a){switch(a.label){case 0:return n?(t||(t=n),e.restoreSelection(),NC(e)?[2]:[4,oL("insertLink",e,t,n)]):[2];case 1:return a.sent()?[4,aL("insertLink",e,n)]:[2];case 2:return r=a.sent(),(i=e.selection)==null||($e.isCollapsed(i)?(e.insertText(" "),o=IC(r,t),He.insertNodes(e,o),e.insertFragment([{text:" "}])):U.string(e,i)!==t?(e.deleteFragment(),o=IC(r,t),He.insertNodes(e,o)):(o=IC(r),He.wrapNodes(e,o,{split:!0}),He.collapse(e,{edge:"end"}))),[2]}})})}Eo({target:"Array",proto:!0},{includes:function(e){return Bre(this,e,arguments.length>1?arguments[1]:void 0)}}),NP("includes");var Ure={type:"link",renderElem:function(e,t,n){var r=e,i=r.url,o=r.target;return Bn("a",{href:i,target:o===void 0?"_blank":o},t)}},Hre={selector:"a:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=we(e);return(t=t.filter(function(i){return!!rn.isText(i)||!!n.isInline(i)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"link",url:r.attr("href")||"",target:r.attr("target")||"",children:t}}};function PC(){return lb("w-e-insert-link")}var Wre=function(){function e(){this.title=Gt("link.insert"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M440.224 635.776a51.84 51.84 0 0 1-36.768-15.232c-95.136-95.136-95.136-249.92 0-345.056l192-192C641.536 37.408 702.816 12.032 768 12.032s126.432 25.376 172.544 71.456c95.136 95.136 95.136 249.92 0 345.056l-87.776 87.776a51.968 51.968 0 1 1-73.536-73.536l87.776-87.776a140.16 140.16 0 0 0 0-197.984c-26.432-26.432-61.6-40.992-99.008-40.992s-72.544 14.56-99.008 40.992l-192 192a140.16 140.16 0 0 0 0 197.984 51.968 51.968 0 0 1-36.768 88.768z"></path><path d="M256 1012a242.4 242.4 0 0 1-172.544-71.456c-95.136-95.136-95.136-249.92 0-345.056l87.776-87.776a51.968 51.968 0 1 1 73.536 73.536l-87.776 87.776a140.16 140.16 0 0 0 0 197.984c26.432 26.432 61.6 40.992 99.008 40.992s72.544-14.56 99.008-40.992l192-192a140.16 140.16 0 0 0 0-197.984 51.968 51.968 0 1 1 73.536-73.536c95.136 95.136 95.136 249.92 0 345.056l-192 192A242.4 242.4 0 0 1 256 1012z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textInputId=PC(),this.urlInputId=PC(),this.buttonId=PC()}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return NC(t)},e.prototype.getModalPositionNode=function(t){return null},e.prototype.getModalContentElem=function(t){var n=t.selection,r=this,i=r.textInputId,o=r.urlInputId,a=r.buttonId,s=Sr(Ha(Gt("link.text"),i),2),u=s[0],l=we(s[1]),c=Sr(Ha(Gt("link.url"),o),2),d=c[0],p=we(c[1]),h=Sr(Ih(a,Gt("common.ok")),1)[0];if(this.$content==null){var E=we("<div></div>");E.on("click","#"+a,function(_){_.preventDefault();var m=E.find("#"+i).val(),T=E.find("#"+o).val();sL(t,m,T),t.hidePanelOrModal()}),this.$content=E}var g=this.$content;if(g.empty(),g.append(u),g.append(d),g.append(h),n==null||$e.isCollapsed(n))l.val("");else{var y=U.string(t,n);l.val(y)}return p.val(""),setTimeout(function(){l.focus()}),g[0]},e}();function uL(){return lb("w-e-update-link")}var zre=function(){function e(){this.title=Gt("link.edit"),this.iconSvg=GP,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=uL(),this.buttonId=uL()}return e.prototype.getSelectedLinkElem=function(t){var n=de.getSelectedNodeByType(t,"link");return n==null?null:n},e.prototype.getValue=function(t){var n=this.getSelectedLinkElem(t);return n&&n.url||""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedLinkElem(t)==null},e.prototype.getModalPositionNode=function(t){return de.getSelectedNodeByType(t,"link")},e.prototype.getModalContentElem=function(t){var n=this.urlInputId,r=this.buttonId,i=Sr(Ha(Gt("link.url"),n),2),o=i[0],a=we(i[1]),s=Sr(Ih(r,Gt("common.ok")),1)[0];if(this.$content==null){var u=we("<div></div>");u.on("click","button",function(d){d.preventDefault(),t.restoreSelection();var p=de.getSelectedNodeByType(t,"link"),h=p?Vt.string(p):"",E=u.find("#"+n).val();!function(g,y,_){rc(this,void 0,void 0,function(){var m,T;return ic(this,function(R){switch(R.label){case 0:return _?[4,oL("editLink",g,y,_)]:[2];case 1:return R.sent()?[4,aL("editLink",g,_)]:[2];case 2:return m=R.sent(),T={url:RC(m)},He.setNodes(g,T,{match:function(W){return de.checkNodeType(W,"link")}}),[2]}})})}(t,h,E),t.hidePanelOrModal()}),this.$content=u}var l=this.$content;l.empty(),l.append(o),l.append(s);var c=this.getValue(t);return a.val(c),setTimeout(function(){a.focus()}),l[0]},e}(),Vre=function(){function e(){this.title=Gt("link.unLink"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M608.16328 811.815036c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.347563 89.347564c-118.525421 118.523421-311.38448 118.531421-429.919901 0-118.527421-118.529421-118.527421-311.39048 0-429.917901l89.349564-89.349563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.195613 79.195613c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.349563 89.347564c-56.143726 56.145726-56.143726 147.49928 0 203.645005 56.143726 56.143726 147.49928 56.145726 203.647005 0l89.347564-89.347563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.193613 79.195613z m-113.135447-520.429459c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.347564-89.347564c56.143726-56.149726 147.49928-56.145726 203.647006 0 56.143726 56.145726 56.143726 147.49928 0 203.645006l-89.349564 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.195613 79.195613c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.349564-89.349563c118.529421-118.529421 118.529421-311.38848 0-429.917901-118.531421-118.527421-311.38848-118.527421-429.919901 0l-89.347563 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.193613 79.195613z m469.653707 718.556492l45.253779-45.253779c18.745908-18.745908 18.745908-49.13776 0-67.881669L127.195629 14.062931c-18.745908-18.745908-49.13776-18.745908-67.881669 0L14.058181 59.31871c-18.745908 18.745908-18.745908 49.13776 0 67.881669l882.74169 882.74169c18.745908 18.743908 49.13776 18.743908 67.881669 0z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||de.getSelectedNodeByType(t,"link")==null},e.prototype.exec=function(t,n){this.isDisabled(t)||He.unwrapNodes(t,{match:function(r){return de.checkNodeType(r,"link")}})},e}(),Gre=function(){function e(){this.title=Gt("link.view"),this.iconSvg=KP,this.tag="button"}return e.prototype.getSelectedLinkElem=function(t){var n=de.getSelectedNodeByType(t,"link");return n==null?null:n},e.prototype.getValue=function(t){var n=this.getSelectedLinkElem(t);return n&&n.url||""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedLinkElem(t)==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){if(!n||typeof n!="string")throw new Error("View link failed, link url is '"+n+"'");window.open(n,"_blank")}},e}(),lL={checkLink:function(e,t){return!0},parseLinkUrl:function(e){return e}},Kre={renderElems:[Ure],elemsToHtml:[{type:"link",elemToHtml:function(e,t){var n=e,r=n.url,i=n.target;return'<a href="'+r+'" target="'+(i===void 0?"_blank":i)+'">'+t+"</a>"}}],parseElemsHtml:[Hre],menus:[{key:"insertLink",factory:function(){return new Wre},config:lL},{key:"editLink",factory:function(){return new zre},config:lL},{key:"unLink",factory:function(){return new Vre}},{key:"viewLink",factory:function(){return new Gre}}],editorPlugin:function(e){var t=e.isInline,n=e.insertData,r=e.normalizeNode;e.insertNode,e.insertText;var i=e;return i.isInline=function(o){return o.type==="link"||t(o)},i.insertData=function(o){var a=o.getData("text/plain");if(function(l){if(typeof l!="string")return!1;var c=l.match(jre);if(!c)return!1;var d=c[1];return!(!d||!kre.test(d)&&!Fre.test(d))}(a)){if(!NC(i)){var s=i.selection;if(s!=null){var u=U.string(i,s);sL(i,u,a)}}}else n(o)},i.normalizeNode=function(o){var a=Sr(o,2),s=a[0],u=a[1];return de.getNodeType(s)!=="link"?r([s,u]):Vt.string(s)===""?He.removeNodes(i,{at:u}):r([s,u])},i}},Yre=kn(1 .valueOf),Xre=Zn.RangeError,Jre=Zn.RangeError,cL=Zn.String,fL=Math.floor,LC=kn(function(e){var t=Oi(ys(this)),n="",r=Uh(e);if(r<0||r==1/0)throw Xre("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}),dL=kn("".slice),Fg=kn(1 .toFixed),Yh=function(e,t,n){return t===0?n:t%2==1?Yh(e,t-1,n*e):Yh(e*e,t/2,n)},Xh=function(e,t,n){for(var r=-1,i=n;++r<6;)i+=t*e[r],e[r]=i%1e7,i=fL(i/1e7)},MC=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=fL(r/t),r=r%t*1e7},hL=function(e){for(var t=6,n="";--t>=0;)if(n!==""||t===0||e[t]!==0){var r=cL(e[t]);n=n===""?r:n+LC("0",7-r.length)+r}return n};function pL(e,t){return"w-e-image-container-"+de.findKey(e,t).id}Eo({target:"Number",proto:!0,forced:wi(function(){return Fg(8e-5,3)!=="0.000"||Fg(.9,0)!=="1"||Fg(1.255,2)!=="1.25"||Fg(1000000000000000100,0)!=="1000000000000000128"})||!wi(function(){Fg({})})},{toFixed:function(e){var t,n,r,i,o=Yre(this),a=Uh(e),s=[0,0,0,0,0,0],u="",l="0";if(a<0||a>20)throw Jre("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return cL(o);if(o<0&&(u="-",o=-o),o>1e-21)if(n=(t=function(c){for(var d=0,p=c;p>=4096;)d+=12,p/=4096;for(;p>=2;)d+=1,p/=2;return d}(o*Yh(2,69,1))-69)<0?o*Yh(2,-t,1):o/Yh(2,t,1),n*=4503599627370496,(t=52-t)>0){for(Xh(s,0,n),r=a;r>=7;)Xh(s,1e7,0),r-=7;for(Xh(s,Yh(10,r,1),0),r=t-1;r>=23;)MC(s,1<<23),r-=23;MC(s,1<<r),Xh(s,1,1),MC(s,2),l=hL(s)}else Xh(s,0,n),Xh(s,1<<-t,0),l=hL(s)+LC("0",a);return a>0?u+((i=l.length)<=a?"0."+LC("0",a-i)+l:dL(l,0,i-a)+"."+dL(l,i-a)):u+l}});var Qre={type:"image",renderElem:function(e,t,n){var r=e,i=r.src,o=r.alt,a=o===void 0?"":o,s=r.href,u=s===void 0?"":s,l=r.style,c=l===void 0?{}:l,d=c.width,p=d===void 0?"":d,h=c.height,E=h===void 0?"":h,g=de.isNodeSelected(n,e),y={};p&&(y.width="100%"),E&&(y.height="100%");var _=Bn("img",{style:y,src:i,alt:a,"data-href":u}),m=n.isDisabled();return g&&!m?function(T,R,W,q){var X=we("body"),ge=pL(T,R),Ne=q.width,nt=q.height,dt=0,rt=0,Ct=0,yt=!1,bt=null;function Et(cn){bt=function(){var Le=we("#"+ge);if(Le.length===0)throw new Error("Cannot find image container elem");return Le}(),dt=cn;var Oe=bt.find("img");if(Oe.length===0)throw new Error("Cannot find image elem");rt=Oe.width(),Ct=Oe.height(),X.on("mousemove",Jt),X.on("mouseup",mn);var ae=de.getHoverbar(T);ae&&ae.hideAndClean()}var Jt=pf(function(cn){cn.preventDefault();var Oe=cn.clientX,ae=rt+(yt?dt-Oe:Oe-dt),Le=Ct*(ae/rt);bt!=null&&(ae<=15||Le<=15||(bt.css("width",ae+"px"),bt.css("height",Le+"px")))},100);function mn(cn){if(X.off("mousemove",Jt),bt!=null){var Oe=bt.width().toFixed(2),ae=bt.height().toFixed(2),Le={style:nc(nc({},R.style),{width:Oe+"px",height:ae+"px"})};He.setNodes(T,Le,{at:de.findPath(T,R)}),X.off("mouseup",mn)}}var dn={};return Ne&&(dn.width=Ne),nt&&(dn.height=nt),Bn("div",{id:ge,style:dn,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(cn){var Oe=we(cn.target);Oe.hasClass("w-e-image-dragger")&&(cn.preventDefault(),(Oe.hasClass("left-top")||Oe.hasClass("left-bottom"))&&(yt=!0),Et(cn.clientX))}}},W,Bn("div",{className:"w-e-image-dragger left-top"}),Bn("div",{className:"w-e-image-dragger right-top"}),Bn("div",{className:"w-e-image-dragger left-bottom"}),Bn("div",{className:"w-e-image-dragger right-bottom"}))}(n,e,_,{width:p,height:E}):function(T,R,W,q){var X=q.width,ge=q.height,Ne={};return X&&(Ne.width=X),ge&&(Ne.height=ge),Bn("div",{id:pL(T,R),style:Ne,className:"w-e-image-container"},W)}(n,e,_,{width:p,height:E})}},Zre={selector:"img:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=we(e),i=r.attr("data-href")||"";return i=decodeURIComponent(i),{type:"image",src:r.attr("src")||"",alt:r.attr("alt")||"",href:i,style:{width:Gs(r,"width"),height:Gs(r,"height")},children:[{text:""}]}}};function mL(e,t,n,r,i){return r===void 0&&(r=""),i===void 0&&(i=""),rc(this,void 0,void 0,function(){var o,a;return ic(this,function(s){switch(s.label){case 0:return(o=t.getMenuConfig(e).checkImage)?[4,o(n,r,i)]:[3,2];case 1:if(typeof(a=s.sent())=="string")return t.alert(a,"error"),[2,!1];if(a==null)return[2,!1];s.label=2;case 2:return[2,!0]}})})}function gL(e,t,n){return rc(this,void 0,void 0,function(){var r;return ic(this,function(i){switch(i.label){case 0:return(r=t.getMenuConfig(e).parseImageSrc)?[4,r(n)]:[3,2];case 1:return[2,i.sent()];case 2:return[2,n]}})})}function Hf(e,t,n,r){return n===void 0&&(n=""),r===void 0&&(r=""),rc(this,void 0,void 0,function(){var i,o,a;return ic(this,function(s){switch(s.label){case 0:return[4,mL("insertImage",e,t,n,r)];case 1:return s.sent()?[4,gL("insertImage",e,t)]:[2];case 2:return i=s.sent(),o={type:"image",src:RC(i),href:r,alt:n,style:{},children:[{text:""}]},e.selection===null&&e.restoreSelection(),de.getSelectedNodeByType(e,"image")&&e.move(1),cb(e)||(He.insertNodes(e,o),(a=e.getMenuConfig("insertImage").onInsertedImage)&&a(o)),[2]}})})}function cb(e){var t=e.selection;return t==null||!$e.isCollapsed(t)||!!Sr(U.nodes(e,{match:function(n){var r=de.getNodeType(n);return r==="code"||r==="pre"||r==="link"||r==="list-item"||!!r.startsWith("header")||r==="blockquote"||!!U.isVoid(e,n)},universal:!0}),1)[0]}function fb(){return lb("w-e-insert-image")}var qre=function(){function e(){this.title=Gt("image.netImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=fb(),this.altInputId=fb(),this.hrefInputId=fb(),this.buttonId=fb()}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return cb(t)},e.prototype.getModalPositionNode=function(t){return null},e.prototype.getModalContentElem=function(t){var n=this,r=this,i=r.srcInputId,o=r.altInputId,a=r.hrefInputId,s=r.buttonId,u=Sr(Ha(Gt("image.src"),i),2),l=u[0],c=we(u[1]),d=Sr(Ha(Gt("image.desc"),o),2),p=d[0],h=we(d[1]),E=Sr(Ha(Gt("image.link"),a),2),g=E[0],y=we(E[1]),_=Sr(Ih(s,Gt("common.ok")),1)[0];if(this.$content==null){var m=we("<div></div>");m.on("click","#"+s,function(R){R.preventDefault();var W=m.find("#"+i).val().trim(),q=m.find("#"+o).val().trim(),X=m.find("#"+a).val().trim();n.insertImage(t,W,q,X),t.hidePanelOrModal()}),this.$content=m}var T=this.$content;return T.empty(),T.append(l),T.append(p),T.append(g),T.append(_),c.val(""),h.val(""),y.val(""),setTimeout(function(){c.focus()}),T[0]},e.prototype.insertImage=function(t,n,r,i){r===void 0&&(r=""),i===void 0&&(i=""),n&&(t.restoreSelection(),this.isDisabled(t)||Hf(t,n,r,i))},e}(),$re=function(){function e(){this.title=Gt("image.delete"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||de.getSelectedNodeByType(t,"image")==null},e.prototype.exec=function(t,n){this.isDisabled(t)||He.removeNodes(t,{match:function(r){return de.checkNodeType(r,"image")}})},e}();function db(){return lb("w-e-edit-image")}var eie=function(){function e(){this.title=Gt("image.edit"),this.iconSvg=GP,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=db(),this.altInputId=db(),this.hrefInputId=db(),this.buttonId=db()}return e.prototype.getValue=function(t){return""},e.prototype.getImageNode=function(t){return de.getSelectedNodeByType(t,"image")},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!$e.isCollapsed(n)||de.getSelectedNodeByType(t,"image")==null},e.prototype.getModalPositionNode=function(t){return this.getImageNode(t)},e.prototype.getModalContentElem=function(t){var n=this,r=this,i=r.srcInputId,o=r.altInputId,a=r.hrefInputId,s=r.buttonId,u=this.getImageNode(t);if(u==null)throw new Error("Not found selected image node");var l=Sr(Ha(Gt("image.src"),i),2),c=l[0],d=we(l[1]),p=Sr(Ha(Gt("image.desc"),o),2),h=p[0],E=we(p[1]),g=Sr(Ha(Gt("image.link"),a),2),y=g[0],_=we(g[1]),m=Sr(Ih(s,Gt("common.ok")),1)[0];if(this.$content==null){var T=we("<div></div>");T.on("click","#"+s,function(dt){dt.preventDefault();var rt=T.find("#"+i).val(),Ct=T.find("#"+o).val(),yt=T.find("#"+a).val();n.updateImage(t,rt,Ct,yt),t.hidePanelOrModal()}),this.$content=T}var R=this.$content;R.empty(),R.append(c),R.append(h),R.append(y),R.append(m);var W=u,q=W.src,X=W.alt,ge=X===void 0?"":X,Ne=W.href,nt=Ne===void 0?"":Ne;return d.val(q),E.val(ge),_.val(nt),setTimeout(function(){d.focus()}),R[0]},e.prototype.updateImage=function(t,n,r,i,o){r===void 0&&(r=""),i===void 0&&(i=""),o===void 0&&(o={}),n&&(t.restoreSelection(),this.isDisabled(t)||function(a,s,u,l,c){u===void 0&&(u=""),l===void 0&&(l=""),c===void 0&&(c={}),rc(this,void 0,void 0,function(){var d,p,h,E,g,y;return ic(this,function(_){switch(_.label){case 0:return[4,mL("editImage",a,s,u,l)];case 1:return _.sent()?[4,gL("editImage",a,s)]:[2];case 2:return d=_.sent(),(p=de.getSelectedNodeByType(a,"image"))==null||(h=p.style,E={src:d,alt:u,href:l,style:nc(nc({},h===void 0?{}:h),c)},He.setNodes(a,E,{match:function(m){return de.checkNodeType(m,"image")}}),g=de.getSelectedNodeByType(a,"image"),(y=a.getMenuConfig("editImage").onUpdatedImage)&&y(g)),[2]}})})}(t,n,r,i,o))},e}(),tie=function(){function e(){this.title=Gt("image.viewLink"),this.iconSvg=KP,this.tag="button"}return e.prototype.getValue=function(t){var n=de.getSelectedNodeByType(t,"image");return n&&n.href||""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||!this.getValue(t)},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){if(!n||typeof n!="string")throw new Error("View image link failed, image.href is '"+n+"'");window.open(n,"_blank")}},e}(),jC=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.getSelectedNode=function(t){return de.getSelectedNodeByType(t,"image")},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedNode(t)==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=this.getSelectedNode(t);if(r!=null){var i=de.getHoverbar(t);i&&i.hideAndClean();var o=r.style,a={style:nc(nc({},o===void 0?{}:o),{width:this.value,height:""})};He.setNodes(t,a,{match:function(s){return de.checkNodeType(s,"image")}})}}},e}(),nie=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="30%",n.value="30%",n}return gi(t,e),t}(jC),rie=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="50%",n.value="50%",n}return gi(t,e),t}(jC),iie=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="100%",n.value="100%",n}return gi(t,e),t}(jC),vL={onInsertedImage:function(e){},onUpdatedImage:function(e){},checkImage:function(e,t,n){return!0},parseImageSrc:function(e){return e}},oie={renderElems:[Qre],elemsToHtml:[{type:"image",elemToHtml:function(e,t){var n=e,r=n.src,i=n.alt,o=i===void 0?"":i,a=n.href,s=a===void 0?"":a,u=n.style,l=u===void 0?{}:u,c=l.width,d=c===void 0?"":c,p=l.height,h=p===void 0?"":p,E="";return d&&(E+="width: "+d+";"),h&&(E+="height: "+h+";"),'<img src="'+r+'" alt="'+o+'" data-href="'+s+'" style="'+E+'"/>'}}],parseElemsHtml:[Zre],menus:[{key:"insertImage",factory:function(){return new qre},config:vL},{key:"deleteImage",factory:function(){return new $re}},{key:"editImage",factory:function(){return new eie},config:vL},{key:"viewImageLink",factory:function(){return new tie}},{key:"imageWidth30",factory:function(){return new nie}},{key:"imageWidth50",factory:function(){return new rie}},{key:"imageWidth100",factory:function(){return new iie}}],editorPlugin:function(e){var t=e.isInline,n=e.isVoid;e.insertNode;var r=e;return r.isInline=function(i){return i.type==="image"||t(i)},r.isVoid=function(i){return i.type==="image"||n(i)},r}},aie={type:"todo",renderElem:function(e,t,n){var r=!1;n.isDisabled()&&(r=!0);var i=Bn("div",{style:{margin:"5px 0"}},Bn("span",{contentEditable:!1,style:{marginRight:"0.5em"}},Bn("input",{type:"checkbox",checked:e.checked,disabled:r,on:{change:function(o){var a=de.findPath(n,e),s={checked:o.target.checked};He.setNodes(n,s,{at:a})}}})),Bn("span",null,t));return i}},sie=function(){function e(){this.title=Gt("todo.todo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M278.755556 403.911111l-79.644445 79.644445L455.111111 739.555556l568.888889-568.888889-79.644444-79.644445L455.111111 580.266667l-176.355555-176.355556zM910.222222 910.222222H113.777778V113.777778h568.888889V0H113.777778C51.2 0 0 51.2 0 113.777778v796.444444c0 62.577778 51.2 113.777778 113.777778 113.777778h796.444444c62.577778 0 113.777778-51.2 113.777778-113.777778V455.111111h-113.777778v455.111111z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!!de.getSelectedNodeByType(t,"todo")},e.prototype.isDisabled=function(t){return t.selection==null||!!de.getSelectedElems(t).some(function(n){if(U.isVoid(t,n)&&U.isBlock(t,n))return!0;var r=n.type;return!!["pre","table","list-item"].includes(r)||void 0})},e.prototype.exec=function(t,n){var r=this.isActive(t);He.setNodes(t,{type:r?"paragraph":"todo"})},e}(),uie={selector:'div[data-w-e-type="todo"]',parseElemHtml:function(e,t,n){var r=we(e);(t=t.filter(function(o){return!!rn.isText(o)||!!n.isInline(o)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var i=!1;return r.find('input[type="checkbox"]').attr("checked")!=null&&(i=!0),{type:"todo",checked:i,children:t}}},lie={renderElems:[aie],elemsToHtml:[{type:"todo",elemToHtml:function(e,t){return'<div data-w-e-type="todo"><input type="checkbox" disabled '+(e.checked?"checked":"")+">"+t+"</div>"}}],preParseHtml:[{selector:"ul.w-e-todo",preParseHtml:function(e){var t=we(e).find("li"),n=we('<div data-w-e-type="todo"></div>'),r=t.find("input[type]");return n.append(r),t.children()[0].remove(),n[0].innerHTML=n[0].innerHTML+t[0].innerHTML,n[0]}}],parseElemsHtml:[uie],menus:[{key:"todo",factory:function(){return new sie}}],editorPlugin:function(e){var t=e.deleteBackward,n=e;return n.deleteBackward=function(r){var i=e.selection;if(i&&$e.isCollapsed(i)){var o=de.getSelectedNodeByType(e,"todo");if(o&&Vt.string(o).length===0)return void He.setNodes(e,{type:"paragraph"},{mode:"highest"})}t(r)},n}},cie={type:"blockquote",renderElem:function(e,t,n){return Bn("blockquote",null,t)}},fie={selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=we(e);return(t=t.filter(function(i){return!!rn.isText(i)||!!n.isInline(i)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:t}}},die=function(){function e(){this.title=Gt("blockQuote.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M894.6 907.1H605.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C752.7 180.4 711.3 315.8 711.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z m-472 0H133.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C280.7 180.4 239.3 315.8 239.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!!de.getSelectedNodeByType(t,"blockquote")},e.prototype.isDisabled=function(t){return t.selection==null||!Sr(U.nodes(t,{match:function(n){var r=de.getNodeType(n);return r==="paragraph"||r==="blockquote"},universal:!0,mode:"highest"}),1)[0]},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=this.isActive(t)?"paragraph":"blockquote";He.setNodes(t,{type:r},{mode:"highest"})}},e}(),hie={key:"blockquote",factory:function(){return new die}},pie=kn([].slice),mie=tC("slice"),gie=za("species"),kC=Zn.Array,vie=Math.max;Eo({target:"Array",proto:!0,forced:!mie},{slice:function(e,t){var n,r,i,o=jh(this),a=tb(o),s=Cg(e,a),u=Cg(t===void 0?a:t,a);if(rb(o)&&(n=o.constructor,(eC(n)&&(n===kC||rb(n.prototype))||bs(n)&&(n=n[gie])===null)&&(n=void 0),n===kC||n===void 0))return pie(o,s,u);for(r=new(n===void 0?kC:n)(vie(u-s,0)),i=0;s<u;s++,i++)s in o&&LP(r,i,o[s]);return r.length=i,r}});var yie={renderElems:[cie],elemsToHtml:[{type:"blockquote",elemToHtml:function(e,t){return"<blockquote>"+t+"</blockquote>"}}],parseElemsHtml:[fie],menus:[hie],editorPlugin:function(e){var t=e.insertBreak,n=e.insertText,r=e;return r.insertBreak=function(){var i=r.selection;if(i==null)return t();var o=Sr(U.nodes(e,{match:function(c){return de.checkNodeType(c,"blockquote")},universal:!0}),1)[0];if(!o)return t();var a=o[0],s=de.findPath(e,a),u=U.end(e,s);if(tr.equals(u,i.focus)){var l=Vt.string(a);if(l&&l.slice(-1)===`
`)return e.deleteBackward("character"),void He.insertNodes(r,{type:"paragraph",children:[{text:""}]},{mode:"highest"})}n(`
`)},r}},bie=function(){function e(){this.title=Gt("emotion.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m0-102.4c226.742857 0 409.6-182.857143 409.6-409.6S738.742857 102.4 512 102.4 102.4 285.257143 102.4 512s182.857143 409.6 409.6 409.6z m-204.8-358.4h409.6c0 113.371429-91.428571 204.8-204.8 204.8s-204.8-91.428571-204.8-204.8z m0-102.4c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8 76.8 32.914286 76.8 76.8-32.914286 76.8-76.8 76.8z m409.6 0c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8c43.885714 0 76.8 32.914286 76.8 76.8s-32.914286 76.8-76.8 76.8z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(t,n){},e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||!!Sr(U.nodes(t,{match:function(n){return de.getNodeType(n)==="pre"||!!U.isVoid(t,n)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(t){if(this.$content==null){var n=we('<ul class="w-e-panel-content-emotion"></ul>');n.on("click","li",function(o){var a=o.target;if(a!=null){o.preventDefault();var s=we(a).text();t.insertText(s)}}),this.$content=n}var r=this.$content;if(r==null)return document.createElement("ul");r.empty();var i=t.getMenuConfig("emotion").emotions;return(i===void 0?[]:i).forEach(function(o){var a=we("<li>"+o+"</li>");r.append(a)}),r[0]},e}(),_ie={menus:[{key:"emotion",factory:function(){return new bie},config:{emotions:"\u{1F600} \u{1F603} \u{1F604} \u{1F601} \u{1F606} \u{1F605} \u{1F602} \u{1F923} \u{1F60A} \u{1F607} \u{1F642} \u{1F643} \u{1F609} \u{1F60C} \u{1F60D} \u{1F618} \u{1F617} \u{1F619} \u{1F61A} \u{1F60B} \u{1F61B} \u{1F61D} \u{1F61C} \u{1F913} \u{1F60E} \u{1F60F} \u{1F612} \u{1F61E} \u{1F614} \u{1F61F} \u{1F615} \u{1F641} \u{1F623} \u{1F616} \u{1F62B} \u{1F629} \u{1F622} \u{1F62D} \u{1F624} \u{1F620} \u{1F621} \u{1F633} \u{1F631} \u{1F628} \u{1F917} \u{1F914} \u{1F636} \u{1F611} \u{1F62C} \u{1F644} \u{1F62F} \u{1F634} \u{1F637} \u{1F911} \u{1F608} \u{1F921} \u{1F4A9} \u{1F47B} \u{1F480} \u{1F440} \u{1F463} \u{1F450} \u{1F64C} \u{1F44F} \u{1F91D} \u{1F44D} \u{1F44E} \u{1F44A} \u270A \u{1F91B} \u{1F91C} \u{1F91E} \u270C\uFE0F \u{1F918} \u{1F44C} \u{1F448} \u{1F449} \u{1F446} \u{1F447} \u261D\uFE0F \u270B \u{1F91A} \u{1F590} \u{1F596} \u{1F44B} \u{1F919} \u{1F4AA} \u{1F595} \u270D\uFE0F \u{1F64F}".split(" ")}}]},Eie={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"},wie={selector:"font",preParseHtml:function(e){var t=we(e);if(Gh(t)!=="font")return e;var n=t.attr("size")||"";n&&(t.removeAttr("size"),t.css("font-size",Eie[n]));var r=t.attr("face")||"";return r&&(t.removeAttr("face"),t.css("font-family",r)),t[0]}},Oie=kn("".indexOf);Eo({target:"String",proto:!0,forced:!JP("includes")},{includes:function(e){return!!~Oie(Oi(ys(this)),Oi(XP(e)),arguments.length>1?arguments[1]:void 0)}});var oc,hb,pb=function(e){return e&&e.Math==Math&&e},ir=pb(typeof globalThis=="object"&&globalThis)||pb(typeof window=="object"&&window)||pb(typeof self=="object"&&self)||pb(typeof Ky=="object"&&Ky)||function(){return this}()||Function("return this")(),FC=Function.prototype,yL=FC.apply,Aie=FC.bind,bL=FC.call,_L=typeof Reflect=="object"&&Reflect.apply||(Aie?bL.bind(yL):function(){return bL.apply(yL,arguments)}),EL=Function.prototype,BC=EL.bind,UC=EL.call,Cie=BC&&BC.bind(UC),ji=BC?function(e){return e&&Cie(UC,e)}:function(e){return e&&function(){return UC.apply(e,arguments)}},Xo=function(e){return typeof e=="function"},Ga=function(e){try{return!!e()}catch(t){return!0}},Aa=!Ga(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Bg=Function.prototype.call,Ks=Bg.bind?Bg.bind(Bg):function(){return Bg.apply(Bg,arguments)},wL={}.propertyIsEnumerable,OL=Object.getOwnPropertyDescriptor,xie=OL&&!wL.call({1:2},1)?function(e){var t=OL(this,e);return!!t&&t.enumerable}:wL,HC={f:xie},Wf=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Sie=ji({}.toString),Tie=ji("".slice),zf=function(e){return Tie(Sie(e),8,-1)},WC=ir.Object,Die=ji("".split),AL=Ga(function(){return!WC("z").propertyIsEnumerable(0)})?function(e){return zf(e)=="String"?Die(e,""):WC(e)}:WC,Rie=ir.TypeError,zC=function(e){if(e==null)throw Rie("Can't call method on "+e);return e},wu=function(e){return AL(zC(e))},Es=function(e){return typeof e=="object"?e!==null:Xo(e)},ws={},CL=function(e){return Xo(e)?e:void 0},Ug=function(e,t){return arguments.length<2?CL(ws[e])||CL(ir[e]):ws[e]&&ws[e][t]||ir[e]&&ir[e][t]},xL=ji({}.isPrototypeOf),VC=Ug("navigator","userAgent")||"",SL=ir.process,TL=ir.Deno,DL=SL&&SL.versions||TL&&TL.version,RL=DL&&DL.v8;RL&&(hb=(oc=RL.split("."))[0]>0&&oc[0]<4?1:+(oc[0]+oc[1])),!hb&&VC&&(!(oc=VC.match(/Edge\/(\d+)/))||oc[1]>=74)&&(oc=VC.match(/Chrome\/(\d+)/))&&(hb=+oc[1]);var mb=hb,Ou=!!Object.getOwnPropertySymbols&&!Ga(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&mb&&mb<41}),GC=Ou&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Nie=ir.Object,Jh=GC?function(e){return typeof e=="symbol"}:function(e){var t=Ug("Symbol");return Xo(t)&&xL(t.prototype,Nie(e))},Iie=ir.String,Pie=ir.TypeError,NL=function(e){if(Xo(e))return e;throw Pie(function(t){try{return Iie(t)}catch(n){return"Object"}}(e)+" is not a function")},Lie=ir.TypeError,Mie=Object.defineProperty,ac=ir["__core-js_shared__"]||function(e,t){try{Mie(ir,e,{value:t,configurable:!0,writable:!0})}catch(n){ir[e]=t}return t}("__core-js_shared__",{}),Vf=Yy(function(e){(e.exports=function(t,n){return ac[t]||(ac[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),jie=ir.Object,Hg=function(e){return jie(zC(e))},kie=ji({}.hasOwnProperty),Tr=Object.hasOwn||function(e,t){return kie(Hg(e),t)},Fie=0,Bie=Math.random(),Uie=ji(1 .toString),gb=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Uie(++Fie+Bie,36)},Wg=Vf("wks"),Gf=ir.Symbol,IL=Gf&&Gf.for,Hie=GC?Gf:Gf&&Gf.withoutSetter||gb,Ka=function(e){if(!Tr(Wg,e)||!Ou&&typeof Wg[e]!="string"){var t="Symbol."+e;Ou&&Tr(Gf,e)?Wg[e]=Gf[e]:Wg[e]=GC&&IL?IL(t):Hie(t)}return Wg[e]},Wie=ir.TypeError,zie=Ka("toPrimitive"),Qh=function(e){var t=function(n,r){if(!Es(n)||Jh(n))return n;var i,o,a=(i=n[zie])==null?void 0:NL(i);if(a){if(r===void 0&&(r="default"),o=Ks(a,n,r),!Es(o)||Jh(o))return o;throw Wie("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(s,u){var l,c;if(u==="string"&&Xo(l=s.toString)&&!Es(c=Ks(l,s)))return c;if(Xo(l=s.valueOf)&&!Es(c=Ks(l,s)))return c;if(u!=="string"&&Xo(l=s.toString)&&!Es(c=Ks(l,s)))return c;throw Lie("Can't convert object to primitive value")}(n,r)}(e,"string");return Jh(t)?t:t+""},KC=ir.document,Vie=Es(KC)&&Es(KC.createElement),PL=function(e){return Vie?KC.createElement(e):{}},LL=!Aa&&!Ga(function(){return Object.defineProperty(PL("div"),"a",{get:function(){return 7}}).a!=7}),ML=Object.getOwnPropertyDescriptor,YC={f:Aa?ML:function(e,t){if(e=wu(e),t=Qh(t),LL)try{return ML(e,t)}catch(n){}if(Tr(e,t))return Wf(!Ks(HC.f,e,t),e[t])}},Gie=/#|\.prototype\./,zg=function(e,t){var n=Yie[Kie(e)];return n==Jie||n!=Xie&&(Xo(t)?Ga(t):!!t)},Kie=zg.normalize=function(e){return String(e).replace(Gie,".").toLowerCase()},Yie=zg.data={},Xie=zg.NATIVE="N",Jie=zg.POLYFILL="P",Qie=zg,jL=ji(ji.bind),kL=function(e,t){return NL(e),t===void 0?e:jL?jL(e,t):function(){return e.apply(t,arguments)}},Zie=ir.String,qie=ir.TypeError,Kf=function(e){if(Es(e))return e;throw qie(Zie(e)+" is not an object")},$ie=ir.TypeError,FL=Object.defineProperty,Yf={f:Aa?FL:function(e,t,n){if(Kf(e),t=Qh(t),Kf(n),LL)try{return FL(e,t,n)}catch(r){}if("get"in n||"set"in n)throw $ie("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Au=Aa?function(e,t,n){return Yf.f(e,t,Wf(1,n))}:function(e,t,n){return e[t]=n,e},eoe=YC.f,toe=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return _L(e,this,arguments)};return t.prototype=e.prototype,t},sc=function(e,t){var n,r,i,o,a,s,u,l,c=e.target,d=e.global,p=e.stat,h=e.proto,E=d?ir:p?ir[c]:(ir[c]||{}).prototype,g=d?ws:ws[c]||Au(ws,c,{})[c],y=g.prototype;for(i in t)n=!Qie(d?i:c+(p?".":"#")+i,e.forced)&&E&&Tr(E,i),a=g[i],n&&(s=e.noTargetGet?(l=eoe(E,i))&&l.value:E[i]),o=n&&s?s:t[i],n&&typeof a==typeof o||(u=e.bind&&n?kL(o,ir):e.wrap&&n?toe(o):h&&Xo(o)?ji(o):o,(e.sham||o&&o.sham||a&&a.sham)&&Au(u,"sham",!0),Au(g,i,u),h&&(Tr(ws,r=c+"Prototype")||Au(ws,r,{}),Au(ws[r],i,o),e.real&&y&&!y[i]&&Au(y,i,o)))},vb=Array.isArray||function(e){return zf(e)=="Array"},noe=Math.ceil,roe=Math.floor,XC=function(e){var t=+e;return t!=t||t===0?0:(t>0?roe:noe)(t)},ioe=Math.min,yb=function(e){return(t=e.length)>0?ioe(XC(t),9007199254740991):0;var t},JC=function(e,t,n){var r=Qh(t);r in e?Yf.f(e,r,Wf(0,n)):e[r]=n},BL={};BL[Ka("toStringTag")]="z";var QC=String(BL)==="[object z]",ooe=Ka("toStringTag"),aoe=ir.Object,soe=zf(function(){return arguments}())=="Arguments",bb=QC?zf:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=aoe(e),ooe))=="string"?n:soe?zf(t):(r=zf(t))=="Object"&&Xo(t.callee)?"Arguments":r},uoe=ji(Function.toString);Xo(ac.inspectSource)||(ac.inspectSource=function(e){return uoe(e)});var UL=ac.inspectSource,HL=function(){},loe=[],WL=Ug("Reflect","construct"),ZC=/^\s*(?:class|function)\b/,coe=ji(ZC.exec),foe=!ZC.exec(HL),Vg=function(e){if(!Xo(e))return!1;try{return WL(HL,loe,e),!0}catch(t){return!1}},doe=!WL||Ga(function(){var e;return Vg(Vg.call)||!Vg(Object)||!Vg(function(){e=!0})||e})?function(e){if(!Xo(e))return!1;switch(bb(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return foe||!!coe(ZC,UL(e))}:Vg,hoe=Ka("species"),zL=ir.Array,VL=function(e,t){return new(function(n){var r;return vb(n)&&(r=n.constructor,(doe(r)&&(r===zL||vb(r.prototype))||Es(r)&&(r=r[hoe])===null)&&(r=void 0)),r===void 0?zL:r}(e))(t===0?0:t)},poe=Ka("species"),GL=Ka("isConcatSpreadable"),KL=ir.TypeError,moe=mb>=51||!Ga(function(){var e=[];return e[GL]=!1,e.concat()[0]!==e}),goe=mb>=51||!Ga(function(){var e=[];return(e.constructor={})[poe]=function(){return{foo:1}},e.concat(Boolean).foo!==1}),voe=function(e){if(!Es(e))return!1;var t=e[GL];return t!==void 0?!!t:vb(e)};sc({target:"Array",proto:!0,forced:!moe||!goe},{concat:function(e){var t,n,r,i,o,a=Hg(this),s=VL(a,0),u=0;for(t=-1,r=arguments.length;t<r;t++)if(voe(o=t===-1?a:arguments[t])){if(u+(i=yb(o))>9007199254740991)throw KL("Maximum allowed index exceeded");for(n=0;n<i;n++,u++)n in o&&JC(s,u,o[n])}else{if(u>=9007199254740991)throw KL("Maximum allowed index exceeded");JC(s,u++,o)}return s.length=u,s}});var _b,yoe=ir.String,Eb=function(e){if(bb(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return yoe(e)},boe=Math.max,_oe=Math.min,qC=function(e,t){var n=XC(e);return n<0?boe(n+t,0):_oe(n,t)},YL=function(e){return function(t,n,r){var i,o=wu(t),a=yb(o),s=qC(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Eoe={includes:YL(!0),indexOf:YL(!1)},Gg={},woe=Eoe.indexOf,XL=ji([].push),JL=function(e,t){var n,r=wu(e),i=0,o=[];for(n in r)!Tr(Gg,n)&&Tr(r,n)&&XL(o,n);for(;t.length>i;)Tr(r,n=t[i++])&&(~woe(o,n)||XL(o,n));return o},wb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$C=Object.keys||function(e){return JL(e,wb)},Ooe=Aa?Object.defineProperties:function(e,t){Kf(e);for(var n,r=wu(t),i=$C(t),o=i.length,a=0;o>a;)Yf.f(e,n=i[a++],r[n]);return e},Aoe=Ug("document","documentElement"),QL=Vf("keys"),Ob=function(e){return QL[e]||(QL[e]=gb(e))},ZL=Ob("IE_PROTO"),ex=function(){},qL=function(e){return"<script>"+e+"</script>"},$L=function(e){e.write(qL("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ab=function(){try{_b=new ActiveXObject("htmlfile")}catch(r){}var e,t;Ab=typeof document!="undefined"?document.domain&&_b?$L(_b):((t=PL("iframe")).style.display="none",Aoe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(qL("document.F=Object")),e.close(),e.F):$L(_b);for(var n=wb.length;n--;)delete Ab.prototype[wb[n]];return Ab()};Gg[ZL]=!0;var Cb,Kg,xb,Xf=Object.create||function(e,t){var n;return e!==null?(ex.prototype=Kf(e),n=new ex,ex.prototype=null,n[ZL]=e):n=Ab(),t===void 0?n:Ooe(n,t)},Coe=wb.concat("length","prototype"),eM={f:Object.getOwnPropertyNames||function(e){return JL(e,Coe)}},xoe=ir.Array,Soe=Math.max,tM=eM.f,nM=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],rM={f:function(e){return nM&&zf(e)=="Window"?function(t){try{return tM(t)}catch(n){return function(r,i,o){for(var a=yb(r),s=qC(void 0,a),u=qC(a,a),l=xoe(Soe(u-s,0)),c=0;s<u;s++,c++)JC(l,c,r[s]);return l.length=c,l}(nM)}}(e):tM(wu(e))}},tx={f:Object.getOwnPropertySymbols},Toe=ji([].slice),Zh=function(e,t,n,r){r&&r.enumerable?e[t]=n:Au(e,t,n)},nx={f:Ka},Doe=Yf.f,Zi=function(e){var t=ws.Symbol||(ws.Symbol={});Tr(t,e)||Doe(t,e,{value:nx.f(e)})},Roe=QC?{}.toString:function(){return"[object "+bb(this)+"]"},Noe=Yf.f,iM=Ka("toStringTag"),Sb=function(e,t,n,r){if(e){var i=n?e:e.prototype;Tr(i,iM)||Noe(i,iM,{configurable:!0,value:t}),r&&!QC&&Au(i,"toString",Roe)}},oM=ir.WeakMap,Ioe=Xo(oM)&&/native code/.test(UL(oM)),rx=ir.TypeError,Poe=ir.WeakMap;if(Ioe||ac.state){var Jf=ac.state||(ac.state=new Poe),Loe=ji(Jf.get),aM=ji(Jf.has),Moe=ji(Jf.set);Cb=function(e,t){if(aM(Jf,e))throw new rx("Object already initialized");return t.facade=e,Moe(Jf,e,t),t},Kg=function(e){return Loe(Jf,e)||{}},xb=function(e){return aM(Jf,e)}}else{var qh=Ob("state");Gg[qh]=!0,Cb=function(e,t){if(Tr(e,qh))throw new rx("Object already initialized");return t.facade=e,Au(e,qh,t),t},Kg=function(e){return Tr(e,qh)?e[qh]:{}},xb=function(e){return Tr(e,qh)}}var $h={set:Cb,get:Kg,has:xb,enforce:function(e){return xb(e)?Kg(e):Cb(e,{})},getterFor:function(e){return function(t){var n;if(!Es(t)||(n=Kg(t)).type!==e)throw rx("Incompatible receiver, "+e+" required");return n}}},sM=ji([].push),uc=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,E=Hg(u),g=AL(E),y=kL(l,c),_=yb(g),m=0,T=d||VL,R=t?T(u,_):n||a?T(u,0):void 0;_>m;m++)if((s||m in g)&&(h=y(p=g[m],m,E),e))if(t)R[m]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return m;case 2:sM(R,p)}else switch(e){case 4:return!1;case 7:sM(R,p)}return o?-1:r||i?i:R}},Tb=[uc(0),uc(1),uc(2),uc(3),uc(4),uc(5),uc(6),uc(7)][0],Ca=Ob("hidden"),uM=Ka("toPrimitive"),joe=$h.set,lM=$h.getterFor("Symbol"),Ys=Object.prototype,lc=ir.Symbol,cc=lc&&lc.prototype,cM=ir.TypeError,ix=ir.QObject,Yg=Ug("JSON","stringify"),fM=YC.f,fc=Yf.f,dM=rM.f,koe=HC.f,hM=ji([].push),al=Vf("symbols"),Xg=Vf("op-symbols"),ox=Vf("string-to-symbol-registry"),ax=Vf("symbol-to-string-registry"),Foe=Vf("wks"),sx=!ix||!ix.prototype||!ix.prototype.findChild,ux=Aa&&Ga(function(){return Xf(fc({},"a",{get:function(){return fc(this,"a",{value:7}).a}})).a!=7})?function(e,t,n){var r=fM(Ys,t);r&&delete Ys[t],fc(e,t,n),r&&e!==Ys&&fc(Ys,t,r)}:fc,lx=function(e,t){var n=al[e]=Xf(cc);return joe(n,{type:"Symbol",tag:e,description:t}),Aa||(n.description=t),n},Db=function(e,t,n){e===Ys&&Db(Xg,t,n),Kf(e);var r=Qh(t);return Kf(n),Tr(al,r)?(n.enumerable?(Tr(e,Ca)&&e[Ca][r]&&(e[Ca][r]=!1),n=Xf(n,{enumerable:Wf(0,!1)})):(Tr(e,Ca)||fc(e,Ca,Wf(1,{})),e[Ca][r]=!0),ux(e,r,n)):fc(e,r,n)},pM=function(e,t){Kf(e);var n=wu(t),r=$C(n).concat(cx(n));return Tb(r,function(i){Aa&&!Ks(mM,n,i)||Db(e,i,n[i])}),e},mM=function(e){var t=Qh(e),n=Ks(koe,this,t);return!(this===Ys&&Tr(al,t)&&!Tr(Xg,t))&&(!(n||!Tr(this,t)||!Tr(al,t)||Tr(this,Ca)&&this[Ca][t])||n)},gM=function(e,t){var n=wu(e),r=Qh(t);if(n!==Ys||!Tr(al,r)||Tr(Xg,r)){var i=fM(n,r);return!i||!Tr(al,r)||Tr(n,Ca)&&n[Ca][r]||(i.enumerable=!0),i}},vM=function(e){var t=dM(wu(e)),n=[];return Tb(t,function(r){Tr(al,r)||Tr(Gg,r)||hM(n,r)}),n},cx=function(e){var t=e===Ys,n=dM(t?Xg:wu(e)),r=[];return Tb(n,function(i){!Tr(al,i)||t&&!Tr(Ys,i)||hM(r,al[i])}),r};if(Ou||(cc=(lc=function(){if(xL(cc,this))throw cM("Symbol is not a constructor");var e=arguments.length&&arguments[0]!==void 0?Eb(arguments[0]):void 0,t=gb(e),n=function(r){this===Ys&&Ks(n,Xg,r),Tr(this,Ca)&&Tr(this[Ca],t)&&(this[Ca][t]=!1),ux(this,t,Wf(1,r))};return Aa&&sx&&ux(Ys,t,{configurable:!0,set:n}),lx(t,e)}).prototype,Zh(cc,"toString",function(){return lM(this).tag}),Zh(lc,"withoutSetter",function(e){return lx(gb(e),e)}),HC.f=mM,Yf.f=Db,YC.f=gM,eM.f=rM.f=vM,tx.f=cx,nx.f=function(e){return lx(Ka(e),e)},Aa&&fc(cc,"description",{configurable:!0,get:function(){return lM(this).description}})),sc({global:!0,wrap:!0,forced:!Ou,sham:!Ou},{Symbol:lc}),Tb($C(Foe),function(e){Zi(e)}),sc({target:"Symbol",stat:!0,forced:!Ou},{for:function(e){var t=Eb(e);if(Tr(ox,t))return ox[t];var n=lc(t);return ox[t]=n,ax[n]=t,n},keyFor:function(e){if(!Jh(e))throw cM(e+" is not a symbol");if(Tr(ax,e))return ax[e]},useSetter:function(){sx=!0},useSimple:function(){sx=!1}}),sc({target:"Object",stat:!0,forced:!Ou,sham:!Aa},{create:function(e,t){return t===void 0?Xf(e):pM(Xf(e),t)},defineProperty:Db,defineProperties:pM,getOwnPropertyDescriptor:gM}),sc({target:"Object",stat:!0,forced:!Ou},{getOwnPropertyNames:vM,getOwnPropertySymbols:cx}),sc({target:"Object",stat:!0,forced:Ga(function(){tx.f(1)})},{getOwnPropertySymbols:function(e){return tx.f(Hg(e))}}),Yg){var Boe=!Ou||Ga(function(){var e=lc();return Yg([e])!="[null]"||Yg({a:e})!="{}"||Yg(Object(e))!="{}"});sc({target:"JSON",stat:!0,forced:Boe},{stringify:function(e,t,n){var r=Toe(arguments),i=t;if((Es(t)||e!==void 0)&&!Jh(e))return vb(t)||(t=function(o,a){if(Xo(i)&&(a=Ks(i,this,o,a)),!Jh(a))return a}),r[1]=t,_L(Yg,null,r)}})}if(!cc[uM]){var Uoe=cc.valueOf;Zh(cc,uM,function(e){return Ks(Uoe,this)})}Sb(lc,"Symbol"),Gg[Ca]=!0,Zi("asyncIterator"),Zi("hasInstance"),Zi("isConcatSpreadable"),Zi("iterator"),Zi("match"),Zi("matchAll"),Zi("replace"),Zi("search"),Zi("species"),Zi("split"),Zi("toPrimitive"),Zi("toStringTag"),Zi("unscopables"),Sb(ir.JSON,"JSON",!0);var dc,yM,bM,Hoe=ws.Symbol,Qf={},_M=Function.prototype,Woe=Aa&&Object.getOwnPropertyDescriptor,fx=Tr(_M,"name"),zoe={EXISTS:fx,PROPER:fx&&function(){}.name==="something",CONFIGURABLE:fx&&(!Aa||Aa&&Woe(_M,"name").configurable)},Voe=!Ga(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),EM=Ob("IE_PROTO"),dx=ir.Object,Goe=dx.prototype,hx=Voe?dx.getPrototypeOf:function(e){var t=Hg(e);if(Tr(t,EM))return t[EM];var n=t.constructor;return Xo(n)&&t instanceof n?n.prototype:t instanceof dx?Goe:null},px=Ka("iterator"),wM=!1;[].keys&&("next"in(bM=[].keys())?(yM=hx(hx(bM)))!==Object.prototype&&(dc=yM):wM=!0);var Koe=dc==null||Ga(function(){var e={};return dc[px].call(e)!==e});dc=Koe?{}:Xf(dc),Xo(dc[px])||Zh(dc,px,function(){return this});var OM={IteratorPrototype:dc,BUGGY_SAFARI_ITERATORS:wM},Yoe=OM.IteratorPrototype,Xoe=function(){return this};ir.String,ir.TypeError,Object.setPrototypeOf||"__proto__"in{}&&function(){var e={};try{ji(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set)(e,[]),e instanceof Array}catch(t){}}();var Joe=zoe.PROPER,Rb=OM.BUGGY_SAFARI_ITERATORS,mx=Ka("iterator"),Qoe=function(){return this},AM=function(e,t,n,r,i,o,a){!function(_,m,T,R){var W=m+" Iterator";_.prototype=Xf(Yoe,{next:Wf(1,T)}),Sb(_,W,!1,!0),Qf[W]=Xoe}(n,t,r);var s,u,l,c=function(_){if(_===i&&g)return g;if(!Rb&&_ in h)return h[_];switch(_){case"keys":case"values":case"entries":return function(){return new n(this,_)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,E=h[mx]||h["@@iterator"]||i&&h[i],g=!Rb&&E||c(i),y=t=="Array"&&h.entries||E;if(y&&(s=hx(y.call(new e)))!==Object.prototype&&s.next&&(Sb(s,d,!0,!0),Qf[d]=Qoe),Joe&&i=="values"&&E&&E.name!=="values"&&(p=!0,g=function(){return Ks(E,this)}),i)if(u={values:c("values"),keys:o?g:c("keys"),entries:c("entries")},a)for(l in u)(Rb||p||!(l in h))&&Zh(h,l,u[l]);else sc({target:t,proto:!0,forced:Rb||p},u);return a&&h[mx]!==g&&Zh(h,mx,g,{name:i}),Qf[t]=g,u},Zoe=$h.set,qoe=$h.getterFor("Array Iterator");AM(Array,"Array",function(e,t){Zoe(this,{type:"Array Iterator",target:wu(e),index:0,kind:t})},function(){var e=qoe(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),Qf.Arguments=Qf.Array;var CM=Ka("toStringTag");for(var gx in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var xM=ir[gx],vx=xM&&xM.prototype;vx&&bb(vx)!==CM&&Au(vx,CM,gx),Qf[gx]=Qf.Array}var $oe=Hoe;Zi("asyncDispose"),Zi("dispose"),Zi("matcher"),Zi("metadata"),Zi("observable"),Zi("patternMatch"),Zi("replaceAll");var Nb=$oe,eae=ji("".charAt),SM=ji("".charCodeAt),tae=ji("".slice),TM=function(e){return function(t,n){var r,i,o=Eb(zC(t)),a=XC(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=SM(o,a))<55296||r>56319||a+1===s||(i=SM(o,a+1))<56320||i>57343?e?eae(o,a):r:e?tae(o,a,a+2):i-56320+(r-55296<<10)+65536}},nae=(TM(!1),TM(!0)),rae=$h.set,iae=$h.getterFor("String Iterator");AM(String,"String",function(e){rae(this,{type:"String Iterator",string:Eb(e),index:0})},function(){var e,t=iae(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=nae(n,r),t.index+=e.length,{value:e,done:!1})});var oae=nx.f("iterator"),aae=Yy(function(e){function t(n){return typeof Nb=="function"&&typeof oae=="symbol"?(e.exports=t=function(r){return typeof r},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(r){return r&&typeof Nb=="function"&&r.constructor===Nb&&r!==Nb.prototype?"symbol":typeof r},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}),DM=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(aae),sae=eb.EXISTS,uae=kh.f,RM=Function.prototype,lae=kn(RM.toString),NM=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,cae=kn(NM.exec);Vs&&!sae&&uae(RM,"name",{configurable:!0,get:function(){try{return cae(NM,lae(this))[1]}catch(e){return""}}});var IM=function(){function e(){this.tag="select",this.width=80}return e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){var n=this.mark,r=U.marks(t);return r&&r[n]?r[n]:""},e.prototype.isDisabled=function(t){return t.selection==null||(this.mark,!!Sr(U.nodes(t,{match:function(n){return de.getNodeType(n)==="pre"||!!U.isVoid(t,n)},universal:!0}),1)[0])},e.prototype.exec=function(t,n){var r=this.mark;n?t.addMark(r,n):t.removeMark(r)},e}(),fae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Gt("fontSize.title"),n.iconSvg=Bne,n.mark="fontSize",n}return gi(t,e),t.prototype.getOptions=function(n){var r=[],i=n.getMenuConfig(this.mark).fontSizeList,o=i===void 0?[]:i;r.push({text:Gt("fontSize.default"),value:""}),o.forEach(function(s){if(typeof s=="string")r.push({text:s,value:s});else if(DM(s)==="object"){var u=s.name,l=s.value;r.push({text:u,value:l})}});var a=this.getValue(n);return r.forEach(function(s){s.value===a?s.selected=!0:delete s.selected}),r},t}(IM),dae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Gt("fontFamily.title"),n.iconSvg=Une,n.mark="fontFamily",n.selectPanelWidth=150,n}return gi(t,e),t.prototype.getOptions=function(n){var r=[],i=n.getMenuConfig(this.mark).fontFamilyList,o=i===void 0?[]:i;r.push({text:Gt("fontFamily.default"),value:""}),o.forEach(function(s){if(typeof s=="string")r.push({text:s,value:s,styleForRenderMenuList:{"font-family":s}});else if(DM(s)==="object"){var u=s.name,l=s.value;r.push({text:u,value:l,styleForRenderMenuList:{"font-family":l}})}});var a=this.getValue(n);return r.forEach(function(s){s.value===a?s.selected=!0:delete s.selected}),r},t}(IM),hae={renderStyle:function(e,t){var n=e,r=n.fontSize,i=n.fontFamily,o=t;return r&&Uf(o,{fontSize:r}),i&&Uf(o,{fontFamily:i}),o},styleToHtml:function(e,t){if(!rn.isText(e))return t;var n,r=e,i=r.fontSize,o=r.fontFamily;return i||o?((wC(t)||Gh(n=we(t))!=="span")&&(n=we("<span>"+t+"</span>")),i&&n.css("font-size",i),o&&n.css("font-family",o),Vh(n)):t},preParseHtml:[wie],parseStyleHtml:function(e,t,n){var r=we(e);if(!rn.isText(t))return t;var i=t,o=n.getMenuConfig("fontSize").fontSizeList,a=o===void 0?[]:o,s=Gs(r,"font-size"),u=a.find(function(h){return h.value&&h.value===s})||a.includes(s);s&&u&&(i.fontSize=s);var l=n.getMenuConfig("fontFamily").fontFamilyList,c=l===void 0?[]:l,d=Gs(r,"font-family").replace(/"/g,""),p=c.find(function(h){return h.value&&h.value===d})||c.includes(d);return d&&p&&(i.fontFamily=d),i},menus:[{key:"fontSize",factory:function(){return new fae},config:{fontSizeList:["12px",{name:"13px",value:"13px"},"14px","15px","16px","19px",{name:"22px",value:"22px"},"24px","29px","32px","40px","48px"]}},{key:"fontFamily",factory:function(){return new dae},config:{fontFamilyList:["\u9ED1\u4F53",{name:"\u4EFF\u5B8B",value:"\u4EFF\u5B8B"},"\u6977\u4F53","\u6807\u6977\u4F53","\u534E\u6587\u4EFF\u5B8B","\u534E\u6587\u6977\u4F53",{name:"\u5B8B\u4F53",value:"\u5B8B\u4F53"},"\u5FAE\u8F6F\u96C5\u9ED1","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},pae={selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(e){var t=we(e),n=Gs(t,"padding-left");return/\dem/.test(n)&&t.css("text-indent","2em"),/\dpx/.test(n)&&parseInt(n,10)%32==0&&t.css("text-indent","2em"),t[0]}},PM=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){var n=Sr(U.nodes(t,{match:function(i){return!!i.indent},universal:!0}),1),r=n[0];return r==null?"":Sr(r,1)[0].indent||""},e.prototype.isActive=function(t){return!1},e.prototype.getMatchNode=function(t){var n=Sr(U.nodes(t,{match:function(r){var i=de.getNodeType(r);return i==="paragraph"||!!i.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},e}(),mae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Gt("indent.decrease"),n.iconSvg=Hne,n}return gi(t,e),t.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!r.indent},t.prototype.exec=function(n,r){He.setNodes(n,{indent:null},{match:function(i){return bn.isElement(i)}})},t}(PM),gae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Gt("indent.increase"),n.iconSvg=Wne,n}return gi(t,e),t.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!!r.indent},t.prototype.exec=function(n,r){He.setNodes(n,{indent:"2em"},{match:function(i){return bn.isElement(i)},mode:"highest"})},t}(PM),vae={renderStyle:function(e,t){if(!bn.isElement(e))return t;var n=e.indent,r=t;return n&&Uf(r,{textIndent:n}),r},styleToHtml:function(e,t){if(!bn.isElement(e))return t;var n=e.indent;if(!n)return t;var r=we(t);return r.css("text-indent",n),Vh(r)},preParseHtml:[pae],parseStyleHtml:function(e,t,n){var r=we(e);if(!bn.isElement(t))return t;var i=t,o=Gs(r,"text-indent"),a=parseInt(o,10);return o&&a>0&&(i.indent=o),i},menus:[{key:"indent",factory:function(){return new gae}},{key:"delIndent",factory:function(){return new mae}}]},Ib=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.getMatchNode=function(t){var n=Sr(U.nodes(t,{match:function(r){var i=de.getNodeType(r);return i==="paragraph"||i==="blockquote"||!!i.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},e.prototype.isDisabled=function(t){return t.selection==null||!!de.getSelectedElems(t).some(function(n){if(U.isVoid(t,n)&&U.isBlock(t,n))return!0;var r=n.type;return!!["pre","code"].includes(r)||void 0})},e}(),yae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Gt("justify.left"),n.iconSvg=zne,n}return gi(t,e),t.prototype.exec=function(n,r){He.setNodes(n,{textAlign:"left"},{match:function(i){return bn.isElement(i)&&!n.isInline(i)}})},t}(Ib),bae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Gt("justify.right"),n.iconSvg=Vne,n}return gi(t,e),t.prototype.exec=function(n,r){He.setNodes(n,{textAlign:"right"},{match:function(i){return bn.isElement(i)&&!n.isInline(i)}})},t}(Ib),_ae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Gt("justify.center"),n.iconSvg=Gne,n}return gi(t,e),t.prototype.exec=function(n,r){He.setNodes(n,{textAlign:"center"},{match:function(i){return bn.isElement(i)&&!n.isInline(i)}})},t}(Ib),Eae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Gt("justify.justify"),n.iconSvg=Kne,n}return gi(t,e),t.prototype.exec=function(n,r){He.setNodes(n,{textAlign:"justify"},{match:function(i){return bn.isElement(i)&&!n.isInline(i)}})},t}(Ib),wae={renderStyle:function(e,t){if(!bn.isElement(e))return t;var n=e.textAlign,r=t;return n&&Uf(r,{textAlign:n}),r},styleToHtml:function(e,t){if(!bn.isElement(e))return t;var n=e.textAlign;if(!n)return t;var r=we(t);return r.css("text-align",n),Vh(r)},parseStyleHtml:function(e,t,n){var r=we(e);if(!bn.isElement(t))return t;var i=t,o=Gs(r,"text-align");return o&&(i.textAlign=o),i},menus:[{key:"justifyLeft",factory:function(){return new yae}},{key:"justifyRight",factory:function(){return new bae}},{key:"justifyCenter",factory:function(){return new _ae}},{key:"justifyJustify",factory:function(){return new Eae}}]},Oae=function(){function e(){this.title=Gt("lineHeight.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M964 788a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526zM198.93 144.306c6.668-5.798 16.774-5.094 22.573 1.574l122.26 140.582a16 16 0 0 1 3.927 10.5c0 8.836-7.164 16-16 16h-61.8a8 8 0 0 0-8 8v390.077h69.819a16 16 0 0 1 10.502 3.928c6.666 5.8 7.37 15.906 1.57 22.573L221.476 878.123a16 16 0 0 1-1.57 1.57c-6.668 5.8-16.774 5.097-22.574-1.57L75.051 737.538a16 16 0 0 1-3.928-10.5c0-8.837 7.163-16 16-16h69.822V312.96H87.127a16 16 0 0 1-10.502-3.928c-6.666-5.8-7.37-15.906-1.57-22.573l122.303-140.582a16 16 0 0 1 1.572-1.572zM964 465a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z m0-323a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z"></path></svg>',this.tag="select",this.width=80}return e.prototype.getOptions=function(t){var n=[],r=t.getMenuConfig("lineHeight").lineHeightList,i=r===void 0?[]:r;n.push({text:Gt("lineHeight.default"),value:""}),i.forEach(function(a){n.push({text:a,value:a})});var o=this.getValue(t);return n.forEach(function(a){a.value===o?a.selected=!0:delete a.selected}),n},e.prototype.getMatchNode=function(t){var n=Sr(U.nodes(t,{match:function(r){var i=de.getNodeType(r);return!!i.startsWith("header")||!!["paragraph","blockquote","list-item"].includes(i)},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){var n=this.getMatchNode(t);return n==null?"":bn.isElement(n)&&n.lineHeight||""},e.prototype.isDisabled=function(t){return t.selection==null||this.getMatchNode(t)==null},e.prototype.exec=function(t,n){He.setNodes(t,{lineHeight:n.toString()},{mode:"highest"})},e}(),Aae={renderStyle:function(e,t){if(!bn.isElement(e))return t;var n=e.lineHeight,r=t;return n&&Uf(r,{lineHeight:n}),r},styleToHtml:function(e,t){if(!bn.isElement(e))return t;var n=e.lineHeight;if(!n)return t;var r=we(t);return r.css("line-height",n),Vh(r)},parseStyleHtml:function(e,t,n){var r=we(e);if(!bn.isElement(t))return t;var i=t,o=n.getMenuConfig("lineHeight").lineHeightList,a=o===void 0?[]:o,s=Gs(r,"line-height");return s&&a.includes(s)&&(i.lineHeight=s),i},menus:[{key:"lineHeight",factory:function(){return new Oae},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]},Cae=function(){function e(){this.title=Gt("undo.redo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0.00032 576a510.72 510.72 0 0 0 173.344 384l84.672-96A383.136 383.136 0 0 1 128.00032 576C128.00032 363.936 299.93632 192 512.00032 192c106.048 0 202.048 42.976 271.52 112.48L640.00032 448h384V64l-149.984 149.984A510.272 510.272 0 0 0 512.00032 64C229.21632 64 0.00032 293.216 0.00032 576z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null},e.prototype.exec=function(t,n){typeof t.redo=="function"&&t.redo()},e}(),xae=function(){function e(){this.title=Gt("undo.undo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 64A510.272 510.272 0 0 0 149.984 213.984L0.032 64v384h384L240.512 304.48A382.784 382.784 0 0 1 512.032 192c212.064 0 384 171.936 384 384 0 114.688-50.304 217.632-130.016 288l84.672 96a510.72 510.72 0 0 0 173.344-384c0-282.784-229.216-512-512-512z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null},e.prototype.exec=function(t,n){typeof t.undo=="function"&&t.undo()},e}(),Sae={menus:[{key:"redo",factory:function(){return new Cae}},{key:"undo",factory:function(){return new xae}}]},Tae={type:"divider",renderElem:function(e,t,n){return oh("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:de.isNodeSelected(n,e)?"true":""},style:{},on:{mousedown:function(r){return r.preventDefault()}}},[oh("hr")])}},Dae=function(){function e(){this.title=Gt("divider.title"),this.iconSvg='<svg viewBox="0 0 1092 1024"><path d="M0 51.2m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M819.2 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M409.6 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 870.4m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||!!de.getSelectedElems(t).some(function(n){if(t.isVoid(n))return!0;var r=de.getNodeType(n);return r==="table"||r==="pre"||void 0})},e.prototype.exec=function(t,n){He.insertNodes(t,{type:"divider",children:[{text:""}]},{mode:"highest"})},e}(),Rae={renderElems:[Tae],elemsToHtml:[{type:"divider",elemToHtml:function(e,t){return"<hr/>"}}],parseElemsHtml:[{selector:"hr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"divider",children:[{text:""}]}}}],menus:[{key:"divider",factory:function(){return new Dae}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(i){return i.type==="divider"||t(i)},r.normalizeNode=function(i){var o=Sr(i,2),a=o[0],s=o[1];if(de.getNodeType(a)!=="divider")return n([a,s]);de.isLastNode(r,a)&&He.insertNodes(r,de.genEmptyParagraph(),{at:[s[0]+1]})},r}},Nae=ib.map;Eo({target:"Array",proto:!0,forced:!tC("map")},{map:function(e){return Nae(this,e,arguments.length>1?arguments[1]:void 0)}});var Iae=kn([].join),Pae=Qy!=Object,Lae=WP("join",",");Eo({target:"Array",proto:!0,forced:Pae||!Lae},{join:function(e){return Iae(jh(this),e===void 0?",":e)}});var Mae=function(){function e(){this.title=Gt("codeBlock.title"),this.iconSvg='<svg viewBox="0 0 1280 1024"><path d="M832 736l96 96 320-320L928 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224zM701.312 150.528l69.472 18.944-192 704.032-69.472-18.944 192-704.032z"></path></svg>',this.tag="button"}return e.prototype.getSelectCodeElem=function(t){var n=de.getSelectedNodeByType(t,"code");if(n==null)return null;var r=de.getParentNode(t,n);return r==null||de.getNodeType(r)!=="pre"?null:n},e.prototype.getValue=function(t){var n=this.getSelectCodeElem(t);return n==null?"":n.language||""},e.prototype.isActive=function(t){return!!this.getSelectCodeElem(t)},e.prototype.isDisabled=function(t){if(t.selection==null)return!0;var n=de.getSelectedElems(t);return!!n.some(function(r){return t.isVoid(r)})||!n.some(function(r){var i=de.getNodeType(r);if(i==="pre"||i==="paragraph")return!0})},e.prototype.exec=function(t,n){this.isActive(t)?this.changeToPlainText(t):this.changeToCodeBlock(t,n.toString())},e.prototype.changeToPlainText=function(t){var n=this.getSelectCodeElem(t);if(n!=null){var r=Vt.string(n);He.removeNodes(t,{mode:"highest"});var i=r.split(`
`).map(function(o){return{type:"paragraph",children:[{text:o}]}});He.insertNodes(t,i,{mode:"highest"})}},e.prototype.changeToCodeBlock=function(t,n){var r,i,o=[],a=U.nodes(t,{match:function(d){return t.children.includes(d)},universal:!0});try{for(var s=FP(a),u=s.next();!u.done;u=s.next()){var l=Sr(u.value,1)[0];l&&o.push(Vt.string(l))}}catch(d){r={error:d}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}He.removeNodes(t,{mode:"highest"});var c={type:"pre",children:[{type:"code",language:n,children:[{text:o.join(`
`)}]}]};He.insertNodes(t,c,{mode:"highest"})},e}(),jae={key:"codeBlock",factory:function(){return new Mae}};Eo({target:"String",proto:!0,forced:Pg("anchor")},{anchor:function(e){return Ig(this,"a","name",e)}}),dC("match",function(e,t,n){return[function(r){var i=ys(this),o=r==null?void 0:Zy(r,e);return o?Mi(o,r,i):new RegExp(r)[e](Oi(i))},function(r){var i=Va(this),o=Oi(r),a=n(t,i,o);if(a.done)return a.value;if(!i.global)return Rg(i,o);var s=i.unicode;i.lastIndex=0;for(var u,l=[],c=0;(u=Rg(i,o))!==null;){var d=Oi(u[0]);l[c]=d,d===""&&(i.lastIndex=hC(o,xg(i.lastIndex),s)),c++}return c===0?null:l}]});var kae={type:"pre",renderElem:function(e,t,n){return Bn("pre",null,t)}},Fae={type:"code",renderElem:function(e,t,n){return Bn("code",null,t)}},Bae={selector:"pre:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=we(e);return(t=t.filter(function(i){return de.getNodeType(i)==="code"})).length===0&&(t=[{type:"code",language:"",children:[{text:r[0].textContent||""}]}]),{type:"pre",children:t.filter(function(i){return de.getNodeType(i)==="code"})}}},Uae={menus:[jae],editorPlugin:function(e){var t=e.insertBreak,n=e.normalizeNode,r=e.insertData;e.insertNode;var i=e;return i.insertBreak=function(){var o=de.getSelectedNodeByType(i,"code");if(o!=null){var a=function(l,c){var d=c.selection;if(d==null)return"";var p=Vt.string(l),h=d.anchor.offset,E=p.slice(0,h).split(`
`),g=E.length;return g===0?"":E[g-1]}(o,i);if(a){var s=a.match(/^\s+/);if(s!=null&&s[0]!=null){var u=s[0];return void i.insertText(`
`+u)}}i.insertText(`
`)}else t()},i.normalizeNode=function(o){var a=Sr(o,2),s=a[0],u=a[1],l=de.getNodeType(s);return l==="code"&&u.length<=1&&He.setNodes(i,{type:"paragraph"},{at:u}),l==="pre"&&(de.isLastNode(i,s)&&He.insertNodes(i,de.genEmptyParagraph(),{at:[u[0]+1]}),de.getNodeType(s.children[0])!=="code"&&(He.unwrapNodes(i),He.setNodes(i,{type:"paragraph"},{mode:"highest"}))),n([s,u])},i.insertData=function(o){if(de.getSelectedNodeByType(i,"code")!=null){var a=o.getData("text/plain");U.insertText(i,a)}else r(o)},i},renderElems:[kae,Fae],elemsToHtml:[{type:"code",elemToHtml:function(e,t){return"<code>"+t+"</code>"}},{type:"pre",elemToHtml:function(e,t){return"<pre>"+t+"</pre>"}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(e){var t=we(e);if(Gh(t)!=="code")return e;var n=t.find("xmp");if(n.length===0)return e;var r=n.text();return n.remove(),t.text(r),t[0]}}],parseElemsHtml:[{selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(e,t,n){return{type:"code",language:"",children:[{text:we(e)[0].textContent||""}]}}},Bae]},Hae=function(){function e(){this.title=Gt("fullScreen.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M133.705143 335.433143V133.851429h201.581714a29.622857 29.622857 0 0 0 29.622857-29.549715V68.754286a29.622857 29.622857 0 0 0-29.622857-29.622857H61.732571A22.893714 22.893714 0 0 0 38.765714 62.025143V335.725714c0 16.310857 13.238857 29.622857 29.622857 29.622857h35.547429a29.842286 29.842286 0 0 0 29.696-29.842285zM690.980571 133.851429h201.581715v201.654857c0 16.310857 13.238857 29.549714 29.622857 29.549714h35.547428a29.622857 29.622857 0 0 0 29.549715-29.549714V61.952a22.893714 22.893714 0 0 0-22.820572-22.893714h-273.554285a29.622857 29.622857 0 0 0-29.549715 29.622857v35.547428c0 16.310857 13.238857 29.696 29.622857 29.696zM335.286857 892.781714H133.705143V691.2a29.622857 29.622857 0 0 0-29.622857-29.622857H68.534857a29.622857 29.622857 0 0 0-29.549714 29.622857v273.554286c0 12.653714 10.24 22.893714 22.820571 22.893714h273.554286a29.622857 29.622857 0 0 0 29.696-29.622857v-35.547429a29.769143 29.769143 0 0 0-29.769143-29.696z m557.348572-201.581714v201.581714H690.907429a29.622857 29.622857 0 0 0-29.622858 29.622857v35.547429c0 16.310857 13.238857 29.622857 29.622858 29.622857h273.554285c12.580571 0 22.893714-10.313143 22.893715-22.893714V691.2a29.622857 29.622857 0 0 0-29.622858-29.622857h-35.547428a29.622857 29.622857 0 0 0-29.696 29.622857z"></path></svg>',this.tag="button",this.alwaysEnable=!0}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return t.isFullScreen},e.prototype.isDisabled=function(t){return!1},e.prototype.exec=function(t,n){t.isFullScreen?t.unFullScreen():t.fullScreen()},e}(),Wae={menus:[{key:"fullScreen",factory:function(){return new Hae}}]},zae=function(){function e(){this.title=Gt("common.enter"),this.iconSvg='<svg viewBox="0 0 1255 1024"><path d="M1095.111111 731.477333h-625.777778V1024L0 658.318222 469.333333 292.408889v292.636444h625.777778V0h156.444445v731.477333z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!!$e.isExpanded(n)},e.prototype.exec=function(t,n){var r=t.selection;if(r!=null){var i=[r.anchor.path[0]];He.insertNodes(t,{type:"paragraph",children:[{text:""}]},{at:i}),t.select(U.start(t,i))}},e}(),Vae=[rre,Mre,hae,vae,wae,Aae,oie,Rae,_ie,Kre,Uae,yie,Rre,xne,lie,Sae,Wae,{menus:[{key:"enter",factory:function(){return new zae}}]}];Oa("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),Oa("zh-CN",{listModule:{unOrderedList:"\u65E0\u5E8F\u5217\u8868",orderedList:"\u6709\u5E8F\u5217\u8868"}});var LM=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof oe!="undefined"?oe:typeof self!="undefined"?self:{};function yx(e){var t={exports:{}};return e(t,t.exports),t.exports}var hc,Pb,Lb=function(e){return e&&e.Math==Math&&e},Un=Lb(typeof globalThis=="object"&&globalThis)||Lb(typeof window=="object"&&window)||Lb(typeof self=="object"&&self)||Lb(typeof LM=="object"&&LM)||function(){return this}()||Function("return this")(),MM=Function.prototype,bx=MM.bind,_x=MM.call,Gae=bx&&bx.bind(_x),ur=bx?function(e){return e&&Gae(_x,e)}:function(e){return e&&function(){return _x.apply(e,arguments)}},Ni=function(e){try{return!!e()}catch(t){return!0}},Kae=ur({}.toString),Yae=ur("".slice),sl=function(e){return Yae(Kae(e),8,-1)},Ex=Un.Object,Xae=ur("".split),jM=Ni(function(){return!Ex("z").propertyIsEnumerable(0)})?function(e){return sl(e)=="String"?Xae(e,""):Ex(e)}:Ex,Jae=Un.TypeError,Mb=function(e){if(e==null)throw Jae("Can't call method on "+e);return e},ep=function(e){return jM(Mb(e))},Qae=Object.defineProperty,wx=function(e,t){try{Qae(Un,e,{value:t,configurable:!0,writable:!0})}catch(n){Un[e]=t}return t},pc=Un["__core-js_shared__"]||wx("__core-js_shared__",{}),Ox=yx(function(e){(e.exports=function(t,n){return pc[t]||(pc[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Zae=Un.Object,Jg=function(e){return Zae(Mb(e))},qae=ur({}.hasOwnProperty),wo=Object.hasOwn||function(e,t){return qae(Jg(e),t)},$ae=0,ese=Math.random(),tse=ur(1 .toString),Ax=function(e){return"Symbol("+(e===void 0?"":e)+")_"+tse(++$ae+ese,36)},Ii=function(e){return typeof e=="function"},nse=function(e){return Ii(e)?e:void 0},Qg=function(e,t){return arguments.length<2?nse(Un[e]):Un[e]&&Un[e][t]},Cx=Qg("navigator","userAgent")||"",kM=Un.process,FM=Un.Deno,BM=kM&&kM.versions||FM&&FM.version,UM=BM&&BM.v8;UM&&(Pb=(hc=UM.split("."))[0]>0&&hc[0]<4?1:+(hc[0]+hc[1])),!Pb&&Cx&&(!(hc=Cx.match(/Edge\/(\d+)/))||hc[1]>=74)&&(hc=Cx.match(/Chrome\/(\d+)/))&&(Pb=+hc[1]);var jb,xx=Pb,Sx=!!Object.getOwnPropertySymbols&&!Ni(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&xx&&xx<41}),Tx=Sx&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Zg=Ox("wks"),Zf=Un.Symbol,HM=Zf&&Zf.for,rse=Tx?Zf:Zf&&Zf.withoutSetter||Ax,Jo=function(e){if(!wo(Zg,e)||!Sx&&typeof Zg[e]!="string"){var t="Symbol."+e;Sx&&wo(Zf,e)?Zg[e]=Zf[e]:Zg[e]=Tx&&HM?HM(t):rse(t)}return Zg[e]},Pi=function(e){return typeof e=="object"?e!==null:Ii(e)},ise=Un.String,ose=Un.TypeError,xa=function(e){if(Pi(e))return e;throw ose(ise(e)+" is not an object")},mc=!Ni(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Dx=Un.document,ase=Pi(Dx)&&Pi(Dx.createElement),Rx=function(e){return ase?Dx.createElement(e):{}},WM=!mc&&!Ni(function(){return Object.defineProperty(Rx("div"),"a",{get:function(){return 7}}).a!=7}),qg=Function.prototype.call,Oo=qg.bind?qg.bind(qg):function(){return qg.apply(qg,arguments)},kb=ur({}.isPrototypeOf),sse=Un.Object,Nx=Tx?function(e){return typeof e=="symbol"}:function(e){var t=Qg("Symbol");return Ii(t)&&kb(t.prototype,sse(e))},use=Un.String,Ix=function(e){try{return use(e)}catch(t){return"Object"}},lse=Un.TypeError,Px=function(e){if(Ii(e))return e;throw lse(Ix(e)+" is not a function")},$g=function(e,t){var n=e[t];return n==null?void 0:Px(n)},cse=Un.TypeError,fse=Un.TypeError,dse=Jo("toPrimitive"),Lx=function(e){var t=function(n,r){if(!Pi(n)||Nx(n))return n;var i,o=$g(n,dse);if(o){if(r===void 0&&(r="default"),i=Oo(o,n,r),!Pi(i)||Nx(i))return i;throw fse("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,s){var u,l;if(s==="string"&&Ii(u=a.toString)&&!Pi(l=Oo(u,a)))return l;if(Ii(u=a.valueOf)&&!Pi(l=Oo(u,a)))return l;if(s!=="string"&&Ii(u=a.toString)&&!Pi(l=Oo(u,a)))return l;throw cse("Can't convert object to primitive value")}(n,r)}(e,"string");return Nx(t)?t:t+""},hse=Un.TypeError,zM=Object.defineProperty,qf={f:mc?zM:function(e,t,n){if(xa(e),t=Lx(t),xa(n),WM)try{return zM(e,t,n)}catch(r){}if("get"in n||"set"in n)throw hse("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},pse=Math.ceil,mse=Math.floor,ev=function(e){var t=+e;return t!=t||t===0?0:(t>0?mse:pse)(t)},gse=Math.max,vse=Math.min,Mx=function(e,t){var n=ev(e);return n<0?gse(n+t,0):vse(n,t)},yse=Math.min,VM=function(e){return e>0?yse(ev(e),9007199254740991):0},tp=function(e){return VM(e.length)},GM=function(e){return function(t,n,r){var i,o=ep(t),a=tp(o),s=Mx(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},KM={includes:GM(!0),indexOf:GM(!1)},Fb={},bse=KM.indexOf,YM=ur([].push),XM=function(e,t){var n,r=ep(e),i=0,o=[];for(n in r)!wo(Fb,n)&&wo(r,n)&&YM(o,n);for(;t.length>i;)wo(r,n=t[i++])&&(~bse(o,n)||YM(o,n));return o},Bb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],_se=Object.keys||function(e){return XM(e,Bb)},Ese=mc?Object.defineProperties:function(e,t){xa(e);for(var n,r=ep(t),i=_se(t),o=i.length,a=0;o>a;)qf.f(e,n=i[a++],r[n]);return e},wse=Qg("document","documentElement"),JM=Ox("keys"),jx=function(e){return JM[e]||(JM[e]=Ax(e))},QM=jx("IE_PROTO"),kx=function(){},ZM=function(e){return"<script>"+e+"</script>"},qM=function(e){e.write(ZM("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ub=function(){try{jb=new ActiveXObject("htmlfile")}catch(r){}var e,t;Ub=typeof document!="undefined"?document.domain&&jb?qM(jb):((t=Rx("iframe")).style.display="none",wse.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(ZM("document.F=Object")),e.close(),e.F):qM(jb);for(var n=Bb.length;n--;)delete Ub.prototype[Bb[n]];return Ub()};Fb[QM]=!0;var Fx=Object.create||function(e,t){var n;return e!==null?(kx.prototype=xa(e),n=new kx,kx.prototype=null,n[QM]=e):n=Ub(),t===void 0?n:Ese(n,t)},Bx=Jo("unscopables"),Ux=Array.prototype;Ux[Bx]==null&&qf.f(Ux,Bx,{configurable:!0,value:Fx(null)});var tv=function(e){Ux[Bx][e]=!0},np={},Ose=ur(Function.toString);Ii(pc.inspectSource)||(pc.inspectSource=function(e){return Ose(e)});var Hb,nv,Wb,Hx=pc.inspectSource,$M=Un.WeakMap,ej=Ii($M)&&/native code/.test(Hx($M)),zb=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},gc=mc?function(e,t,n){return qf.f(e,t,zb(1,n))}:function(e,t,n){return e[t]=n,e},Wx=Un.TypeError,Ase=Un.WeakMap;if(ej||pc.state){var $f=pc.state||(pc.state=new Ase),Cse=ur($f.get),tj=ur($f.has),xse=ur($f.set);Hb=function(e,t){if(tj($f,e))throw new Wx("Object already initialized");return t.facade=e,xse($f,e,t),t},nv=function(e){return Cse($f,e)||{}},Wb=function(e){return tj($f,e)}}else{var rp=jx("state");Fb[rp]=!0,Hb=function(e,t){if(wo(e,rp))throw new Wx("Object already initialized");return t.facade=e,gc(e,rp,t),t},nv=function(e){return wo(e,rp)?e[rp]:{}},Wb=function(e){return wo(e,rp)}}var ed,nj,rj,Cu={set:Hb,get:nv,has:Wb,enforce:function(e){return Wb(e)?nv(e):Hb(e,{})},getterFor:function(e){return function(t){var n;if(!Pi(t)||(n=nv(t)).type!==e)throw Wx("Incompatible receiver, "+e+" required");return n}}},ij={}.propertyIsEnumerable,oj=Object.getOwnPropertyDescriptor,Sse={f:oj&&!ij.call({1:2},1)?function(e){var t=oj(this,e);return!!t&&t.enumerable}:ij},aj=Object.getOwnPropertyDescriptor,sj={f:mc?aj:function(e,t){if(e=ep(e),t=Lx(t),WM)try{return aj(e,t)}catch(n){}if(wo(e,t))return zb(!Oo(Sse.f,e,t),e[t])}},uj=Function.prototype,Tse=mc&&Object.getOwnPropertyDescriptor,zx=wo(uj,"name"),Vx={EXISTS:zx,PROPER:zx&&function(){}.name==="something",CONFIGURABLE:zx&&(!mc||mc&&Tse(uj,"name").configurable)},xu=yx(function(e){var t=Vx.CONFIGURABLE,n=Cu.get,r=Cu.enforce,i=String(String).split("String");(e.exports=function(o,a,s,u){var l,c=!!u&&!!u.unsafe,d=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet,h=u&&u.name!==void 0?u.name:a;Ii(s)&&(String(h).slice(0,7)==="Symbol("&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!wo(s,"name")||t&&s.name!==h)&&gc(s,"name",h),(l=r(s)).source||(l.source=i.join(typeof h=="string"?h:""))),o!==Un?(c?!p&&o[a]&&(d=!0):delete o[a],d?o[a]=s:gc(o,a,s)):d?o[a]=s:wx(a,s)})(Function.prototype,"toString",function(){return Ii(this)&&n(this).source||Hx(this)})}),Dse=Bb.concat("length","prototype"),Vb={f:Object.getOwnPropertyNames||function(e){return XM(e,Dse)}},Rse={f:Object.getOwnPropertySymbols},Nse=ur([].concat),Ise=Qg("Reflect","ownKeys")||function(e){var t=Vb.f(xa(e)),n=Rse.f;return n?Nse(t,n(e)):t},Pse=function(e,t){for(var n=Ise(t),r=qf.f,i=sj.f,o=0;o<n.length;o++){var a=n[o];wo(e,a)||r(e,a,i(t,a))}},Lse=/#|\.prototype\./,rv=function(e,t){var n=jse[Mse(e)];return n==Fse||n!=kse&&(Ii(t)?Ni(t):!!t)},Mse=rv.normalize=function(e){return String(e).replace(Lse,".").toLowerCase()},jse=rv.data={},kse=rv.NATIVE="N",Fse=rv.POLYFILL="P",Gx=rv,Bse=sj.f,vc=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,l=e.stat;if(n=u?Un:l?Un[s]||wx(s,{}):(Un[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=Bse(n,r))&&a.value:n[r],!Gx(u?r:s+(l?".":"#")+r,e.forced)&&i!==void 0){if(typeof o==typeof i)continue;Pse(o,i)}(e.sham||i&&i.sham)&&gc(o,"sham",!0),xu(n,r,o,e)}},Use=!Ni(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),lj=jx("IE_PROTO"),Kx=Un.Object,Hse=Kx.prototype,Gb=Use?Kx.getPrototypeOf:function(e){var t=Jg(e);if(wo(t,lj))return t[lj];var n=t.constructor;return Ii(n)&&t instanceof n?n.prototype:t instanceof Kx?Hse:null},Yx=Jo("iterator"),cj=!1;[].keys&&("next"in(rj=[].keys())?(nj=Gb(Gb(rj)))!==Object.prototype&&(ed=nj):cj=!0);var Wse=ed==null||Ni(function(){var e={};return ed[Yx].call(e)!==e});Wse&&(ed={}),Ii(ed[Yx])||xu(ed,Yx,function(){return this});var Xx={IteratorPrototype:ed,BUGGY_SAFARI_ITERATORS:cj},zse=qf.f,fj=Jo("toStringTag"),Jx=function(e,t,n){e&&!wo(e=n?e:e.prototype,fj)&&zse(e,fj,{configurable:!0,value:t})},Vse=Xx.IteratorPrototype,Gse=function(){return this},Kse=Un.String,Yse=Un.TypeError,Kb=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=ur(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,i){return xa(r),function(o){if(typeof o=="object"||Ii(o))return o;throw Yse("Can't set "+Kse(o)+" as a prototype")}(i),t?e(r,i):r.__proto__=i,r}}():void 0),Xse=Vx.PROPER,Jse=Vx.CONFIGURABLE,dj=Xx.IteratorPrototype,Yb=Xx.BUGGY_SAFARI_ITERATORS,iv=Jo("iterator"),Qse=function(){return this},hj=function(e,t,n,r,i,o,a){!function(_,m,T,R){var W=m+" Iterator";_.prototype=Fx(Vse,{next:zb(1,T)}),Jx(_,W,!1),np[W]=Gse}(n,t,r);var s,u,l,c=function(_){if(_===i&&g)return g;if(!Yb&&_ in h)return h[_];switch(_){case"keys":case"values":case"entries":return function(){return new n(this,_)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,E=h[iv]||h["@@iterator"]||i&&h[i],g=!Yb&&E||c(i),y=t=="Array"&&h.entries||E;if(y&&(s=Gb(y.call(new e)))!==Object.prototype&&s.next&&(Gb(s)!==dj&&(Kb?Kb(s,dj):Ii(s[iv])||xu(s,iv,Qse)),Jx(s,d,!0)),Xse&&i=="values"&&E&&E.name!=="values"&&(Jse?gc(h,"name","values"):(p=!0,g=function(){return Oo(E,this)})),i)if(u={values:c("values"),keys:o?g:c("keys"),entries:c("entries")},a)for(l in u)(Yb||p||!(l in h))&&xu(h,l,u[l]);else vc({target:t,proto:!0,forced:Yb||p},u);return h[iv]!==g&&xu(h,iv,g,{name:i}),np[t]=g,u},Zse=Cu.set,qse=Cu.getterFor("Array Iterator"),ov=hj(Array,"Array",function(e,t){Zse(this,{type:"Array Iterator",target:ep(e),index:0,kind:t})},function(){var e=qse(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");np.Arguments=np.Array,tv("keys"),tv("values"),tv("entries");var pj={};pj[Jo("toStringTag")]="z";var Qx=String(pj)==="[object z]",$se=Jo("toStringTag"),eue=Un.Object,tue=sl(function(){return arguments}())=="Arguments",Xb=Qx?sl:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=eue(e),$se))=="string"?n:tue?sl(t):(r=sl(t))=="Object"&&Ii(t.callee)?"Arguments":r},nue=Qx?{}.toString:function(){return"[object "+Xb(this)+"]"};Qx||xu(Object.prototype,"toString",nue,{unsafe:!0});var rue=Un.String,ul=function(e){if(Xb(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return rue(e)},iue=ur("".charAt),mj=ur("".charCodeAt),oue=ur("".slice),gj=function(e){return function(t,n){var r,i,o=ul(Mb(t)),a=ev(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=mj(o,a))<55296||r>56319||a+1===s||(i=mj(o,a+1))<56320||i>57343?e?iue(o,a):r:e?oue(o,a,a+2):i-56320+(r-55296<<10)+65536}},vj={codeAt:gj(!1),charAt:gj(!0)},aue=vj.charAt,sue=Cu.set,uue=Cu.getterFor("String Iterator");hj(String,"String",function(e){sue(this,{type:"String Iterator",string:ul(e),index:0})},function(){var e,t=uue(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=aue(n,r),t.index+=e.length,{value:e,done:!1})});var Zx=function(e,t,n){for(var r in t)xu(e,r,t[r],n);return e},lue=Un.Array,cue=Math.max,yj=Vb.f,bj=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],fue={f:function(e){return bj&&sl(e)=="Window"?function(t){try{return yj(t)}catch(n){return function(r,i,o){for(var a,s,u,l,c=tp(r),d=Mx(void 0,c),p=Mx(c,c),h=lue(cue(p-d,0)),E=0;d<p;d++,E++)a=h,s=E,u=r[d],(l=Lx(s))in a?qf.f(a,l,zb(0,u)):a[l]=u;return h.length=E,h}(bj)}}(e):yj(ep(e))}},_j=Ni(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),Jb=Object.isExtensible,td=Ni(function(){Jb(1)})||_j?function(e){return!!Pi(e)&&(!_j||sl(e)!="ArrayBuffer")&&(!Jb||Jb(e))}:Jb,due=!Ni(function(){return Object.isExtensible(Object.preventExtensions({}))}),qx=yx(function(e){var t=qf.f,n=!1,r=Ax("meta"),i=0,o=function(s){t(s,r,{value:{objectID:"O"+i++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var s=Vb.f,u=ur([].splice),l={};l[r]=1,s(l).length&&(Vb.f=function(c){for(var d=s(c),p=0,h=d.length;p<h;p++)if(d[p]===r){u(d,p,1);break}return d},vc({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:fue.f}))},fastKey:function(s,u){if(!Pi(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!wo(s,r)){if(!td(s))return"F";if(!u)return"E";o(s)}return s[r].objectID},getWeakData:function(s,u){if(!wo(s,r)){if(!td(s))return!0;if(!u)return!1;o(s)}return s[r].weakData},onFreeze:function(s){return due&&n&&td(s)&&!wo(s,r)&&o(s),s}};Fb[r]=!0}),Ej=ur(ur.bind),$x=function(e,t){return Px(e),t===void 0?e:Ej?Ej(e,t):function(){return e.apply(t,arguments)}},hue=Jo("iterator"),pue=Array.prototype,mue=Jo("iterator"),wj=function(e){if(e!=null)return $g(e,mue)||$g(e,"@@iterator")||np[Xb(e)]},gue=Un.TypeError,Oj=function(e,t,n){var r,i;xa(e);try{if(!(r=$g(e,"return"))){if(t==="throw")throw n;return n}r=Oo(r,e)}catch(o){i=!0,r=o}if(t==="throw")throw n;if(i)throw r;return xa(r),n},vue=Un.TypeError,Qb=function(e,t){this.stopped=e,this.result=t},Aj=Qb.prototype,Cj=function(e,t,n){var r,i,o,a,s,u,l,c,d=n&&n.that,p=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_ITERATOR),E=!(!n||!n.INTERRUPTED),g=$x(t,d),y=function(m){return r&&Oj(r,"normal",m),new Qb(!0,m)},_=function(m){return p?(xa(m),E?g(m[0],m[1],y):g(m[0],m[1])):E?g(m,y):g(m)};if(h)r=e;else{if(!(i=wj(e)))throw vue(Ix(e)+" is not iterable");if((c=i)!==void 0&&(np.Array===c||pue[hue]===c)){for(o=0,a=tp(e);a>o;o++)if((s=_(e[o]))&&kb(Aj,s))return s;return new Qb(!1)}r=function(m,T){var R=arguments.length<2?wj(m):T;if(Px(R))return xa(Oo(R,m));throw gue(Ix(m)+" is not iterable")}(e,i)}for(u=r.next;!(l=Oo(u,r)).done;){try{s=_(l.value)}catch(m){Oj(r,"throw",m)}if(typeof s=="object"&&s&&kb(Aj,s))return s}return new Qb(!1)},yue=Un.TypeError,xj=function(e,t){if(kb(t,e))return e;throw yue("Incorrect invocation")},Sj=Jo("iterator"),Tj=!1;try{var bue=0,Dj={next:function(){return{done:!!bue++}},return:function(){Tj=!0}};Dj[Sj]=function(){return this},Array.from(Dj,function(){throw 2})}catch(e){}var eS=Array.isArray||function(e){return sl(e)=="Array"},Rj=function(){},_ue=[],Nj=Qg("Reflect","construct"),tS=/^\s*(?:class|function)\b/,Eue=ur(tS.exec),wue=!tS.exec(Rj),av=function(e){if(!Ii(e))return!1;try{return Nj(Rj,_ue,e),!0}catch(t){return!1}},Oue=!Nj||Ni(function(){var e;return av(av.call)||!av(Object)||!av(function(){e=!0})||e})?function(e){if(!Ii(e))return!1;switch(Xb(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return wue||!!Eue(tS,Hx(e))}:av,Aue=Jo("species"),Ij=Un.Array,Pj=function(e,t){return new(function(n){var r;return eS(n)&&(r=n.constructor,(Oue(r)&&(r===Ij||eS(r.prototype))||Pi(r)&&(r=r[Aue])===null)&&(r=void 0)),r===void 0?Ij:r}(e))(t===0?0:t)},Lj=ur([].push),yc=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,E=Jg(u),g=jM(E),y=$x(l,c),_=tp(g),m=0,T=d||Pj,R=t?T(u,_):n||a?T(u,0):void 0;_>m;m++)if((s||m in g)&&(h=y(p=g[m],m,E),e))if(t)R[m]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return m;case 2:Lj(R,p)}else switch(e){case 4:return!1;case 7:Lj(R,p)}return o?-1:r||i?i:R}},nS={forEach:yc(0),map:yc(1),filter:yc(2),some:yc(3),every:yc(4),find:yc(5),findIndex:yc(6),filterReject:yc(7)},Zb=qx.getWeakData,Cue=Cu.set,xue=Cu.getterFor,Sue=nS.find,Tue=nS.findIndex,Due=ur([].splice),Rue=0,qb=function(e){return e.frozen||(e.frozen=new Mj)},Mj=function(){this.entries=[]},rS=function(e,t){return Sue(e.entries,function(n){return n[0]===t})};Mj.prototype={get:function(e){var t=rS(this,e);if(t)return t[1]},has:function(e){return!!rS(this,e)},set:function(e,t){var n=rS(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=Tue(this.entries,function(n){return n[0]===e});return~t&&Due(this.entries,t,1),!!~t}};var sv,jj={getConstructor:function(e,t,n,r){var i=e(function(u,l){xj(u,o),Cue(u,{type:t,id:Rue++,frozen:void 0}),l!=null&&Cj(l,u[r],{that:u,AS_ENTRIES:n})}),o=i.prototype,a=xue(t),s=function(u,l,c){var d=a(u),p=Zb(xa(l),!0);return p===!0?qb(d).set(l,c):p[d.id]=c,u};return Zx(o,{delete:function(u){var l=a(this);if(!Pi(u))return!1;var c=Zb(u);return c===!0?qb(l).delete(u):c&&wo(c,l.id)&&delete c[l.id]},has:function(u){var l=a(this);if(!Pi(u))return!1;var c=Zb(u);return c===!0?qb(l).has(u):c&&wo(c,l.id)}}),Zx(o,n?{get:function(u){var l=a(this);if(Pi(u)){var c=Zb(u);return c===!0?qb(l).get(u):c?c[l.id]:void 0}},set:function(u,l){return s(this,u,l)}}:{add:function(u){return s(this,u,!0)}}),i}},$b=Cu.enforce,Nue=!Un.ActiveXObject&&"ActiveXObject"in Un,kj=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Iue=function(e,t,n){var r=e.indexOf("Map")!==-1,i=e.indexOf("Weak")!==-1,o=r?"set":"add",a=Un[e],s=a&&a.prototype,u=a,l={},c=function(y){var _=ur(s[y]);xu(s,y,y=="add"?function(m){return _(this,m===0?0:m),this}:y=="delete"?function(m){return!(i&&!Pi(m))&&_(this,m===0?0:m)}:y=="get"?function(m){return i&&!Pi(m)?void 0:_(this,m===0?0:m)}:y=="has"?function(m){return!(i&&!Pi(m))&&_(this,m===0?0:m)}:function(m,T){return _(this,m===0?0:m,T),this})};if(Gx(e,!Ii(a)||!(i||s.forEach&&!Ni(function(){new a().entries().next()}))))u=n.getConstructor(t,e,r,o),qx.enable();else if(Gx(e,!0)){var d=new u,p=d[o](i?{}:-0,1)!=d,h=Ni(function(){d.has(1)}),E=function(y,_){if(!Tj)return!1;var m=!1;try{var T={};T[Sj]=function(){return{next:function(){return{done:m=!0}}}},function(R){new a(R)}(T)}catch(R){}return m}(),g=!i&&Ni(function(){for(var y=new a,_=5;_--;)y[o](_,_);return!y.has(-0)});E||((u=t(function(y,_){xj(y,s);var m=function(T,R,W){var q,X;return Kb&&Ii(q=R.constructor)&&q!==W&&Pi(X=q.prototype)&&X!==W.prototype&&Kb(T,X),T}(new a,y,u);return _!=null&&Cj(_,m[o],{that:m,AS_ENTRIES:r}),m})).prototype=s,s.constructor=u),(h||g)&&(c("delete"),c("has"),r&&c("get")),(g||p)&&c(o),i&&s.clear&&delete s.clear}return l[e]=u,vc({global:!0,forced:u!=a},l),Jx(u,e),i||n.setStrong(u,e,r),u}("WeakMap",kj,jj);if(ej&&Nue){sv=jj.getConstructor(kj,"WeakMap",!0),qx.enable();var uv=Iue.prototype,Fj=ur(uv.delete),e_=ur(uv.has),Bj=ur(uv.get),Uj=ur(uv.set);Zx(uv,{delete:function(e){if(Pi(e)&&!td(e)){var t=$b(this);return t.frozen||(t.frozen=new sv),Fj(this,e)||t.frozen.delete(e)}return Fj(this,e)},has:function(e){if(Pi(e)&&!td(e)){var t=$b(this);return t.frozen||(t.frozen=new sv),e_(this,e)||t.frozen.has(e)}return e_(this,e)},get:function(e){if(Pi(e)&&!td(e)){var t=$b(this);return t.frozen||(t.frozen=new sv),e_(this,e)?Bj(this,e):t.frozen.get(e)}return Bj(this,e)},set:function(e,t){if(Pi(e)&&!td(e)){var n=$b(this);n.frozen||(n.frozen=new sv),e_(this,e)?Uj(this,e,t):n.frozen.set(e,t)}else Uj(this,e,t);return this}})}var Hj={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},iS=Rx("span").classList,Wj=iS&&iS.constructor&&iS.constructor.prototype,Pue=Wj===Object.prototype?void 0:Wj,oS=Jo("iterator"),zj=Jo("toStringTag"),aS=ov.values,Vj=function(e,t){if(e){if(e[oS]!==aS)try{gc(e,oS,aS)}catch(r){e[oS]=aS}if(e[zj]||gc(e,zj,t),Hj[t]){for(var n in ov)if(e[n]!==ov[n])try{gc(e,n,ov[n])}catch(r){e[n]=ov[n]}}}};for(var sS in Hj)Vj(Un[sS]&&Un[sS].prototype,sS);Vj(Pue,"DOMTokenList");var uS=new WeakMap,Lue={type:"list-item",renderElem:function(e,t,n){uS.set(e,n);var r=e,i=r.level,o=i===void 0?0:i,a=r.ordered,s={margin:"5px 0 5px "+20*o+"px"},u="";if(a!==void 0&&a){var l=function(d,p){var h=p,E=h.type,g=h.level,y=g===void 0?0:g,_=h.ordered,m=_!==void 0&&_;if(!m)return-1;var T=1,R=p,W=de.findPath(d,R);if(W[0]===0)return 1;for(;W[0]>0;){var q=Me.previous(W),X=U.node(d,q);if(X==null)break;var ge=X[0],Ne=ge.level,nt=Ne===void 0?0:Ne,dt=ge.type,rt=ge.ordered;if(dt!==E)break;if(nt<y)break;if(nt===y){if(rt!==m)break;T++}R=ge,W=q}return T}(n,e);u=l+"."}else u=function(d){d===void 0&&(d=0);var p="";switch(d){case 0:p="\u2022";break;case 1:p="\u25E6";break;default:p="\u25AA"}return p}(o);var c=function(d){var p,h=d.children||[],E=h.length;if(E===0)return"";for(var g=0;g<E&&!p;g++){var y=h[g];rn.isText(y)&&(p=y)}return p==null?"":p.color||""}(e);return Bn("div",{style:s},Bn("span",{contentEditable:!1,style:{marginRight:"0.5em",color:c},"data-w-e-reserve":!0},u),Bn("span",null,t))}},lS=function(e,t){return lS=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},lS(e,t);/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */};function Gj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}lS(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function Kj(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=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 lv(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function Yj(e){return U.nodes(e,{at:e.selection||void 0,match:function(t){return de.findPath(e,t).length===1}})}var Mue=KM.includes;vc({target:"Array",proto:!0},{includes:function(e){return Mue(this,e,arguments.length>1?arguments[1]:void 0)}}),tv("includes");var Xj,cS,jue=function(){var e=xa(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},fS=Un.RegExp,dS=Ni(function(){var e=fS("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),kue=dS||Ni(function(){return!fS("a","y").sticky}),Fue={BROKEN_CARET:dS||Ni(function(){var e=fS("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:kue,UNSUPPORTED_Y:dS},Bue=Un.RegExp,Uue=Ni(function(){var e=Bue(".","s");return!(e.dotAll&&e.exec(`
`)&&e.flags==="s")}),Hue=Un.RegExp,Wue=Ni(function(){var e=Hue("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),zue=Cu.get,Vue=Ox("native-string-replace",String.prototype.replace),t_=RegExp.prototype.exec,hS=t_,Gue=ur("".charAt),Kue=ur("".indexOf),Yue=ur("".replace),pS=ur("".slice),mS=(cS=/b*/g,Oo(t_,Xj=/a/,"a"),Oo(t_,cS,"a"),Xj.lastIndex!==0||cS.lastIndex!==0),Jj=Fue.BROKEN_CARET,gS=/()??/.exec("")[1]!==void 0;(mS||gS||Jj||Uue||Wue)&&(hS=function(e){var t,n,r,i,o,a,s,u=this,l=zue(u),c=ul(e),d=l.raw;if(d)return d.lastIndex=u.lastIndex,t=Oo(hS,d,c),u.lastIndex=d.lastIndex,t;var p=l.groups,h=Jj&&u.sticky,E=Oo(jue,u),g=u.source,y=0,_=c;if(h&&(E=Yue(E,"y",""),Kue(E,"g")===-1&&(E+="g"),_=pS(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&Gue(c,u.lastIndex-1)!==`
`)&&(g="(?: "+g+")",_=" "+_,y++),n=new RegExp("^(?:"+g+")",E)),gS&&(n=new RegExp("^"+g+"$(?!\\s)",E)),mS&&(r=u.lastIndex),i=Oo(t_,h?n:u,_),h?i?(i.input=pS(i.input,y),i[0]=pS(i[0],y),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:mS&&i&&(u.lastIndex=u.global?i.index+i[0].length:r),gS&&i&&i.length>1&&Oo(Vue,i[0],n,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(i[o]=void 0)}),i&&p)for(i.groups=a=Fx(null),o=0;o<p.length;o++)a[(s=p[o])[0]]=i[s[1]];return i});var n_=hS;vc({target:"RegExp",proto:!0,forced:/./.exec!==n_},{exec:n_});var Qj=function(){function e(){this.type="list-item",this.tag="button"}return e.prototype.getListNode=function(t){var n=this.type;return de.getSelectedNodeByType(t,n)},e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){var n=this.getListNode(t);if(n==null)return!1;var r=n.ordered;return(r!==void 0&&r)===this.ordered},e.prototype.isDisabled=function(t){return t.selection==null||!!de.getSelectedElems(t).some(function(n){if(U.isVoid(t,n)&&U.isBlock(t,n))return!0;var r=n.type;return!!["pre","code","table"].includes(r)||void 0})},e.prototype.exec=function(t,n){this.isActive(t)?He.setNodes(t,{type:"paragraph",ordered:void 0,level:void 0}):He.setNodes(t,{type:"list-item",ordered:this.ordered,indent:void 0})},e}(),Xue='<svg viewBox="0 0 1024 1024"><path d="M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z"></path></svg>',Jue='<svg viewBox="0 0 1024 1024"><path d="M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z"></path></svg>',Que=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.ordered=!1,n.title=Gt("listModule.unOrderedList"),n.iconSvg=Xue,n}return Gj(t,e),t}(Qj),Zue=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.ordered=!0,n.title=Gt("listModule.orderedList"),n.iconSvg=Jue,n}return Gj(t,e),t}(Qj),que={key:"bulletedList",factory:function(){return new Que}},$ue={key:"numberedList",factory:function(){return new Zue}},Zj=[],ele={type:"list-item",elemToHtml:function(e,t){var n="",r="",i=e.ordered,o=i!==void 0&&i?"ol":"ul",a=function(l){var c=uS.get(l);if(c==null)return 0;var d=l,p=d.type,h=d.ordered,E=h!==void 0&&h,g=d.level,y=g===void 0?0:g,_=de.findPath(c,l);if(_[0]===0)return y+1;var m=Me.previous(_),T=U.node(c,m);if(!T)return 0;var R=lv(T,1)[0];if(de.getNodeType(R)!==p)return y+1;var W=R,q=W.ordered,X=q!==void 0&&q,ge=W.level,Ne=ge===void 0?0:ge;return Ne<y?y-Ne:Ne>y?0:Ne===y?X===E?0:1:0}(e);if(a>0)for(var s=0;s<a;s++)n+="<"+o+">",Zj.push(o);var u=function(l){var c=uS.get(l);if(c==null)return 0;var d=l,p=d.type,h=d.ordered,E=h!==void 0&&h,g=d.level,y=g===void 0?0:g,_=de.findPath(c,l);if(_[0]===c.children.length-1)return y+1;var m=Me.next(_),T=U.node(c,m);if(!T)return 0;var R=lv(T,1)[0];if(de.getNodeType(R)!==p)return y+1;var W=R,q=W.ordered,X=q!==void 0&&q,ge=W.level,Ne=ge===void 0?0:ge;return Ne<y?y-Ne:Ne>y?0:Ne===y?X===E?0:1:0}(e);if(u>0)for(s=0;s<u;s++)r+="</"+Zj.pop()+">";return{html:"<li>"+t+"</li>",prefix:n,suffix:r}}},tle=Jo("species"),nle=nS.filter,rle=xx>=51||!Ni(function(){var e=[];return(e.constructor={})[tle]=function(){return{foo:1}},e.filter(Boolean).foo!==1});vc({target:"Array",proto:!0,forced:!rle},{filter:function(e){return nle(this,e,arguments.length>1?arguments[1]:void 0)}});var vS=Function.prototype,qj=vS.apply,ile=vS.bind,$j=vS.call,ole=typeof Reflect=="object"&&Reflect.apply||(ile?$j.bind(qj):function(){return $j.apply(qj,arguments)}),ek=(Jo("species"),RegExp.prototype),ale=vj.charAt,sle=function(e,t,n){return t+(n?ale(e,t).length:1)},ule=Math.floor,yS=ur("".charAt),lle=ur("".replace),bS=ur("".slice),cle=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,fle=/\$([$&'`]|\d{1,2})/g,dle=function(e,t,n,r,i,o){var a=n+e.length,s=r.length,u=fle;return i!==void 0&&(i=Jg(i),u=cle),lle(o,u,function(l,c){var d;switch(yS(c,0)){case"$":return"$";case"&":return e;case"`":return bS(t,0,n);case"'":return bS(t,a);case"<":d=i[bS(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>s){var h=ule(p/10);return h===0?l:h<=s?r[h-1]===void 0?yS(c,1):r[h-1]+yS(c,1):l}d=r[p-1]}return d===void 0?"":d})},hle=Un.TypeError,ple=function(e,t){var n=e.exec;if(Ii(n)){var r=Oo(n,e,t);return r!==null&&xa(r),r}if(sl(e)==="RegExp")return Oo(n_,e,t);throw hle("RegExp#exec called on incompatible receiver")},_S=Jo("replace"),mle=Math.max,gle=Math.min,vle=ur([].concat),ES=ur([].push),tk=ur("".indexOf),nk=ur("".slice),yle="a".replace(/./,"$0")==="$0",rk=!!/./[_S]&&/./[_S]("a","$0")==="";!function(e,t,n,r){var i=Jo(e),o=!Ni(function(){var l={};return l[i]=function(){return 7},""[e](l)!=7}),a=o&&!Ni(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[i](""),!l});if(!o||!a||n){var s=ur(/./[i]),u=function(l,c,d){var p=rk?"$":"$0";return[function(h,E){var g=Mb(this),y=h==null?void 0:$g(h,_S);return y?Oo(y,h,g,E):Oo(c,ul(g),h,E)},function(h,E){var g=xa(this),y=ul(h);if(typeof E=="string"&&tk(E,p)===-1&&tk(E,"$<")===-1){var _=d(c,g,y,E);if(_.done)return _.value}var m=Ii(E);m||(E=ul(E));var T=g.global;if(T){var R=g.unicode;g.lastIndex=0}for(var W=[];;){var q=ple(g,y);if(q===null)break;if(ES(W,q),!T)break;ul(q[0])===""&&(g.lastIndex=sle(y,VM(g.lastIndex),R))}for(var X,ge="",Ne=0,nt=0;nt<W.length;nt++){for(var dt=ul((q=W[nt])[0]),rt=mle(gle(ev(q.index),y.length),0),Ct=[],yt=1;yt<q.length;yt++)ES(Ct,(X=q[yt])===void 0?X:String(X));var bt=q.groups;if(m){var Et=vle([dt],Ct,rt,y);bt!==void 0&&ES(Et,bt);var Jt=ul(ole(E,void 0,Et))}else Jt=dle(dt,y,rt,Ct,bt,E);rt>=Ne&&(ge+=nk(y,Ne,rt)+Jt,Ne=rt+dt.length)}return ge+nk(y,Ne)}]}(0,""[e],function(l,c,d,p,h){var E=ur(l),g=c.exec;return g===n_||g===ek.exec?o&&!h?{done:!0,value:s(c,d,p)}:{done:!0,value:E(d,c,p)}:{done:!1}});xu(String.prototype,e,u[0]),xu(ek,i,u[1])}}("replace",0,!!Ni(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!yle||rk);var ble=Un.TypeError,ik=function(e,t,n,r,i,o,a,s){for(var u,l,c=i,d=0,p=!!a&&$x(a,s);d<r;){if(d in n){if(u=p?p(n[d],d,t):n[d],o>0&&eS(u))l=tp(u),c=ik(e,t,u,l,c,o-1)-1;else{if(c>=9007199254740991)throw ble("Exceed the acceptable array length");e[c]=u}c++}d++}return c},_le=ik;function wS(e){return e.length?e[0].tagName.toLowerCase():""}vc({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=Jg(this),n=tp(t),r=Pj(t,0);return r.length=_le(r,t,t,n,0,e===void 0?1:ev(e)),r}}),tv("flat"),vc({global:!0},{globalThis:Un}),cs&&(we.fn.append=cs),ls&&(we.fn.attr=ls),eh&&(we.fn.parent=eh);var Ele={renderElems:[Lue],editorPlugin:function(e){var t=e.deleteBackward,n=e.handleTab,r=e.normalizeNode,i=e;return i.deleteBackward=function(o){var a=i.selection;if(a!=null)if($e.isExpanded(a))t(o);else{var s=de.getSelectedNodeByType(i,"list-item");if(s!=null)if(a.focus.offset!==0)t(o);else{var u=s.level,l=u===void 0?0:u;l>0?He.setNodes(i,{level:l-1}):He.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0})}else t(o)}else t(o)},i.handleTab=function(){var o,a,s,u,l=i.selection;if(l!=null){if($e.isCollapsed(l)){var c=de.getSelectedNodeByType(i,"list-item");if(c==null)return void n();if(l.focus.offset===0){var d=c.level,p=d===void 0?0:d;return void He.setNodes(i,{level:p+1})}}if($e.isExpanded(l)){var h=0,E=!1;try{for(var g=Kj(Yj(i)),y=g.next();!y.done;y=g.next()){var _=lv(y.value,1)[0];de.getNodeType(_)==="list-item"?h++:E=!0}}catch(X){o={error:X}}finally{try{y&&!y.done&&(a=g.return)&&a.call(g)}finally{if(o)throw o.error}}if(E||h<=1)return void n();try{for(var m=Kj(Yj(i)),T=m.next();!T.done;T=m.next()){var R=lv(T.value,2),W=(_=R[0],R[1]),q=_.level;p=q===void 0?0:q,He.setNodes(i,{level:p+1},{at:W})}}catch(X){s={error:X}}finally{try{T&&!T.done&&(u=m.return)&&u.call(m)}finally{if(s)throw s.error}}}else n()}else n()},i.normalizeNode=function(o){var a=lv(o,2),s=a[0],u=a[1],l=de.getNodeType(s);return l!=="bulleted-list"&&l!=="numbered-list"||He.unwrapNodes(i,{at:u}),r([s,u])},i},menus:[que,$ue],elemsToHtml:[ele],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(e,t,n){return t.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=we(e);(t=t.filter(function(a){return!!rn.isText(a)||!!n.isInline(a)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var i=function(a){return wS(a.parent())==="ol"}(r),o=function(a){for(var s=0,u=a.parent(),l=wS(u);l==="ul"||l==="ol";)l=wS(u=u.parent()),s++;return s-1}(r);return{type:"list-item",ordered:i,level:o,children:t}}}]},ok=ke(function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,i="[object Arguments]",o="[object Array]",a="[object Boolean]",s="[object Date]",u="[object Error]",l="[object Function]",c="[object Map]",d="[object Number]",p="[object Object]",h="[object Promise]",E="[object RegExp]",g="[object Set]",y="[object String]",_="[object Symbol]",m="[object WeakMap]",T="[object ArrayBuffer]",R="[object DataView]",W=/^\[object .+?Constructor\]$/,q=/^(?:0|[1-9]\d*)$/,X={};X["[object Float32Array]"]=X["[object Float64Array]"]=X["[object Int8Array]"]=X["[object Int16Array]"]=X["[object Int32Array]"]=X["[object Uint8Array]"]=X["[object Uint8ClampedArray]"]=X["[object Uint16Array]"]=X["[object Uint32Array]"]=!0,X[i]=X[o]=X[T]=X[a]=X[R]=X[s]=X[u]=X[l]=X[c]=X[d]=X[p]=X[E]=X[g]=X[y]=X[m]=!1;var ge=typeof ve=="object"&&ve&&ve.Object===Object&&ve,Ne=typeof self=="object"&&self&&self.Object===Object&&self,nt=ge||Ne||Function("return this")(),dt=t&&!t.nodeType&&t,rt=dt&&e&&!e.nodeType&&e,Ct=rt&&rt.exports===dt,yt=Ct&&ge.process,bt=function(){try{return yt&&yt.binding&&yt.binding("util")}catch(Pe){}}(),Et=bt&&bt.isTypedArray;function Jt(Pe,Ze){for(var Wt=-1,Cn=Pe==null?0:Pe.length;++Wt<Cn;)if(Ze(Pe[Wt],Wt,Pe))return!0;return!1}function mn(Pe){var Ze=-1,Wt=Array(Pe.size);return Pe.forEach(function(Cn,Yr){Wt[++Ze]=[Yr,Cn]}),Wt}function dn(Pe){var Ze=-1,Wt=Array(Pe.size);return Pe.forEach(function(Cn){Wt[++Ze]=Cn}),Wt}var cn=Array.prototype,Oe=Function.prototype,ae=Object.prototype,Le=nt["__core-js_shared__"],ut=Oe.toString,It=ae.hasOwnProperty,gt=function(){var Pe=/[^.]+$/.exec(Le&&Le.keys&&Le.keys.IE_PROTO||"");return Pe?"Symbol(src)_1."+Pe:""}(),an=ae.toString,xn=RegExp("^"+ut.call(It).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fn=Ct?nt.Buffer:void 0,Jn=nt.Symbol,_t=nt.Uint8Array,hr=ae.propertyIsEnumerable,qn=cn.splice,On=Jn?Jn.toStringTag:void 0,$n=Object.getOwnPropertySymbols,ki=Fn?Fn.isBuffer:void 0,Cr=function(Pe,Ze){return function(Wt){return Pe(Ze(Wt))}}(Object.keys,Object),Kr=Kc(nt,"DataView"),vi=Kc(nt,"Map"),aa=Kc(nt,"Promise"),wr=Kc(nt,"Set"),Ta=Kc(nt,"WeakMap"),qs=Kc(Object,"create"),Mu=vl(Kr),Mp=vl(vi),wd=vl(aa),$s=vl(wr),ju=vl(Ta),pl=Jn?Jn.prototype:void 0,sa=pl?pl.valueOf:void 0;function ua(Pe){var Ze=-1,Wt=Pe==null?0:Pe.length;for(this.clear();++Ze<Wt;){var Cn=Pe[Ze];this.set(Cn[0],Cn[1])}}function la(Pe){var Ze=-1,Wt=Pe==null?0:Pe.length;for(this.clear();++Ze<Wt;){var Cn=Pe[Ze];this.set(Cn[0],Cn[1])}}function ga(Pe){var Ze=-1,Wt=Pe==null?0:Pe.length;for(this.clear();++Ze<Wt;){var Cn=Pe[Ze];this.set(Cn[0],Cn[1])}}function jo(Pe){var Ze=-1,Wt=Pe==null?0:Pe.length;for(this.__data__=new ga;++Ze<Wt;)this.add(Pe[Ze])}function Ds(Pe){var Ze=this.__data__=new la(Pe);this.size=Ze.size}function I0(Pe,Ze){var Wt=yl(Pe),Cn=!Wt&&VE(Pe),Yr=!Wt&&!Cn&&ku(Pe),cr=!Wt&&!Cn&&!Yr&&Bu(Pe),De=Wt||Cn||Yr||cr,ot=De?function(_r,ui){for(var Xr=-1,Dr=Array(_r);++Xr<_r;)Dr[Xr]=ui(Xr);return Dr}(Pe.length,String):[],Kt=ot.length;for(var fn in Pe)!Ze&&!It.call(Pe,fn)||De&&(fn=="length"||Yr&&(fn=="offset"||fn=="parent")||cr&&(fn=="buffer"||fn=="byteLength"||fn=="byteOffset")||P0(fn,Kt))||ot.push(fn);return ot}function Gc(Pe,Ze){for(var Wt=Pe.length;Wt--;)if(Fp(Pe[Wt][0],Ze))return Wt;return-1}function ml(Pe){return Pe==null?Pe===void 0?"[object Undefined]":"[object Null]":On&&On in Object(Pe)?function(Ze){var Wt=It.call(Ze,On),Cn=Ze[On];try{Ze[On]=void 0;var Yr=!0}catch(De){}var cr=an.call(Ze);return Yr&&(Wt?Ze[On]=Cn:delete Ze[On]),cr}(Pe):function(Ze){return an.call(Ze)}(Pe)}function jp(Pe){return Yc(Pe)&&ml(Pe)==i}function Od(Pe,Ze,Wt,Cn,Yr){return Pe===Ze||(Pe==null||Ze==null||!Yc(Pe)&&!Yc(Ze)?Pe!=Pe&&Ze!=Ze:function(cr,De,ot,Kt,fn,_r){var ui=yl(cr),Xr=yl(De),Dr=ui?o:Za(cr),Co=Xr?o:Za(De),ca=(Dr=Dr==i?p:Dr)==p,Ad=(Co=Co==i?p:Co)==p,bl=Dr==Co;if(bl&&ku(cr)){if(!ku(De))return!1;ui=!0,ca=!1}if(bl&&!ca)return _r||(_r=new Ds),ui||Bu(cr)?Rs(cr,De,ot,Kt,fn,_r):function(pr,Rr,Nr,Fi,va,Da,nu){switch(Nr){case R:if(pr.byteLength!=Rr.byteLength||pr.byteOffset!=Rr.byteOffset)return!1;pr=pr.buffer,Rr=Rr.buffer;case T:return!(pr.byteLength!=Rr.byteLength||!Da(new _t(pr),new _t(Rr)));case a:case s:case d:return Fp(+pr,+Rr);case u:return pr.name==Rr.name&&pr.message==Rr.message;case E:case y:return pr==Rr+"";case c:var Jc=mn;case g:var M0=1&Fi;if(Jc||(Jc=dn),pr.size!=Rr.size&&!M0)return!1;var YE=nu.get(pr);if(YE)return YE==Rr;Fi|=2,nu.set(pr,Rr);var Bp=Rs(Jc(pr),Jc(Rr),Fi,va,Da,nu);return nu.delete(pr),Bp;case _:if(sa)return sa.call(pr)==sa.call(Rr)}return!1}(cr,De,Dr,ot,Kt,fn,_r);if(!(1&ot)){var Xc=ca&&It.call(cr,"__wrapped__"),Hn=Ad&&It.call(De,"__wrapped__");if(Xc||Hn){var Br=Xc?cr.value():cr,eo=Hn?De.value():De;return _r||(_r=new Ds),fn(Br,eo,ot,Kt,_r)}}return bl?(_r||(_r=new Ds),function(pr,Rr,Nr,Fi,va,Da){var nu=1&Nr,Jc=gl(pr),M0=Jc.length,YE=gl(Rr).length;if(M0!=YE&&!nu)return!1;for(var Bp=M0;Bp--;){var Cd=Jc[Bp];if(!(nu?Cd in Rr:It.call(Rr,Cd)))return!1}var Tz=Da.get(pr);if(Tz&&Da.get(Rr))return Tz==Rr;var XE=!0;Da.set(pr,Rr),Da.set(Rr,pr);for(var GR=nu;++Bp<M0;){var JE=pr[Cd=Jc[Bp]],QE=Rr[Cd];if(Fi)var Dz=nu?Fi(QE,JE,Cd,Rr,pr,Da):Fi(JE,QE,Cd,pr,Rr,Da);if(!(Dz===void 0?JE===QE||va(JE,QE,Nr,Fi,Da):Dz)){XE=!1;break}GR||(GR=Cd=="constructor")}if(XE&&!GR){var ZE=pr.constructor,qE=Rr.constructor;ZE==qE||!("constructor"in pr)||!("constructor"in Rr)||typeof ZE=="function"&&ZE instanceof ZE&&typeof qE=="function"&&qE instanceof qE||(XE=!1)}return Da.delete(pr),Da.delete(Rr),XE}(cr,De,ot,Kt,fn,_r)):!1}(Pe,Ze,Wt,Cn,Od,Yr))}function kp(Pe){return!(!GE(Pe)||function(Ze){return!!gt&&gt in Ze}(Pe))&&(L0(Pe)?xn:W).test(vl(Pe))}function eu(Pe){if(Wt=(Ze=Pe)&&Ze.constructor,Cn=typeof Wt=="function"&&Wt.prototype||ae,Ze!==Cn)return Cr(Pe);var Ze,Wt,Cn,Yr=[];for(var cr in Object(Pe))It.call(Pe,cr)&&cr!="constructor"&&Yr.push(cr);return Yr}function Rs(Pe,Ze,Wt,Cn,Yr,cr){var De=1&Wt,ot=Pe.length,Kt=Ze.length;if(ot!=Kt&&!(De&&Kt>ot))return!1;var fn=cr.get(Pe);if(fn&&cr.get(Ze))return fn==Ze;var _r=-1,ui=!0,Xr=2&Wt?new jo:void 0;for(cr.set(Pe,Ze),cr.set(Ze,Pe);++_r<ot;){var Dr=Pe[_r],Co=Ze[_r];if(Cn)var ca=De?Cn(Co,Dr,_r,Ze,Pe,cr):Cn(Dr,Co,_r,Pe,Ze,cr);if(ca!==void 0){if(ca)continue;ui=!1;break}if(Xr){if(!Jt(Ze,function(Ad,bl){if(Xc=bl,!Xr.has(Xc)&&(Dr===Ad||Yr(Dr,Ad,Wt,Cn,cr)))return Xr.push(bl);var Xc})){ui=!1;break}}else if(Dr!==Co&&!Yr(Dr,Co,Wt,Cn,cr)){ui=!1;break}}return cr.delete(Pe),cr.delete(Ze),ui}function gl(Pe){return function(Ze,Wt,Cn){var Yr=Wt(Ze);return yl(Ze)?Yr:function(cr,De){for(var ot=-1,Kt=De.length,fn=cr.length;++ot<Kt;)cr[fn+ot]=De[ot];return cr}(Yr,Cn(Ze))}(Pe,KE,zE)}function tu(Pe,Ze){var Wt,Cn,Yr=Pe.__data__;return((Cn=typeof(Wt=Ze))=="string"||Cn=="number"||Cn=="symbol"||Cn=="boolean"?Wt!=="__proto__":Wt===null)?Yr[typeof Ze=="string"?"string":"hash"]:Yr.map}function Kc(Pe,Ze){var Wt=function(Cn,Yr){return Cn==null?void 0:Cn[Yr]}(Pe,Ze);return kp(Wt)?Wt:void 0}ua.prototype.clear=function(){this.__data__=qs?qs(null):{},this.size=0},ua.prototype.delete=function(Pe){var Ze=this.has(Pe)&&delete this.__data__[Pe];return this.size-=Ze?1:0,Ze},ua.prototype.get=function(Pe){var Ze=this.__data__;if(qs){var Wt=Ze[Pe];return Wt===n?void 0:Wt}return It.call(Ze,Pe)?Ze[Pe]:void 0},ua.prototype.has=function(Pe){var Ze=this.__data__;return qs?Ze[Pe]!==void 0:It.call(Ze,Pe)},ua.prototype.set=function(Pe,Ze){var Wt=this.__data__;return this.size+=this.has(Pe)?0:1,Wt[Pe]=qs&&Ze===void 0?n:Ze,this},la.prototype.clear=function(){this.__data__=[],this.size=0},la.prototype.delete=function(Pe){var Ze=this.__data__,Wt=Gc(Ze,Pe);return!(Wt<0)&&(Wt==Ze.length-1?Ze.pop():qn.call(Ze,Wt,1),--this.size,!0)},la.prototype.get=function(Pe){var Ze=this.__data__,Wt=Gc(Ze,Pe);return Wt<0?void 0:Ze[Wt][1]},la.prototype.has=function(Pe){return Gc(this.__data__,Pe)>-1},la.prototype.set=function(Pe,Ze){var Wt=this.__data__,Cn=Gc(Wt,Pe);return Cn<0?(++this.size,Wt.push([Pe,Ze])):Wt[Cn][1]=Ze,this},ga.prototype.clear=function(){this.size=0,this.__data__={hash:new ua,map:new(vi||la),string:new ua}},ga.prototype.delete=function(Pe){var Ze=tu(this,Pe).delete(Pe);return this.size-=Ze?1:0,Ze},ga.prototype.get=function(Pe){return tu(this,Pe).get(Pe)},ga.prototype.has=function(Pe){return tu(this,Pe).has(Pe)},ga.prototype.set=function(Pe,Ze){var Wt=tu(this,Pe),Cn=Wt.size;return Wt.set(Pe,Ze),this.size+=Wt.size==Cn?0:1,this},jo.prototype.add=jo.prototype.push=function(Pe){return this.__data__.set(Pe,n),this},jo.prototype.has=function(Pe){return this.__data__.has(Pe)},Ds.prototype.clear=function(){this.__data__=new la,this.size=0},Ds.prototype.delete=function(Pe){var Ze=this.__data__,Wt=Ze.delete(Pe);return this.size=Ze.size,Wt},Ds.prototype.get=function(Pe){return this.__data__.get(Pe)},Ds.prototype.has=function(Pe){return this.__data__.has(Pe)},Ds.prototype.set=function(Pe,Ze){var Wt=this.__data__;if(Wt instanceof la){var Cn=Wt.__data__;if(!vi||Cn.length<199)return Cn.push([Pe,Ze]),this.size=++Wt.size,this;Wt=this.__data__=new ga(Cn)}return Wt.set(Pe,Ze),this.size=Wt.size,this};var zE=$n?function(Pe){return Pe==null?[]:(Pe=Object(Pe),function(Ze,Wt){for(var Cn=-1,Yr=Ze==null?0:Ze.length,cr=0,De=[];++Cn<Yr;){var ot=Ze[Cn];Wt(ot,Cn,Ze)&&(De[cr++]=ot)}return De}($n(Pe),function(Ze){return hr.call(Pe,Ze)}))}:function(){return[]},Za=ml;function P0(Pe,Ze){return!!(Ze=Ze==null?r:Ze)&&(typeof Pe=="number"||q.test(Pe))&&Pe>-1&&Pe%1==0&&Pe<Ze}function vl(Pe){if(Pe!=null){try{return ut.call(Pe)}catch(Ze){}try{return Pe+""}catch(Ze){}}return""}function Fp(Pe,Ze){return Pe===Ze||Pe!=Pe&&Ze!=Ze}(Kr&&Za(new Kr(new ArrayBuffer(1)))!=R||vi&&Za(new vi)!=c||aa&&Za(aa.resolve())!=h||wr&&Za(new wr)!=g||Ta&&Za(new Ta)!=m)&&(Za=function(Pe){var Ze=ml(Pe),Wt=Ze==p?Pe.constructor:void 0,Cn=Wt?vl(Wt):"";if(Cn)switch(Cn){case Mu:return R;case Mp:return c;case wd:return h;case $s:return g;case ju:return m}return Ze});var VE=jp(function(){return arguments}())?jp:function(Pe){return Yc(Pe)&&It.call(Pe,"callee")&&!hr.call(Pe,"callee")},yl=Array.isArray,ku=ki||function(){return!1};function L0(Pe){if(!GE(Pe))return!1;var Ze=ml(Pe);return Ze==l||Ze=="[object GeneratorFunction]"||Ze=="[object AsyncFunction]"||Ze=="[object Proxy]"}function Fu(Pe){return typeof Pe=="number"&&Pe>-1&&Pe%1==0&&Pe<=r}function GE(Pe){var Ze=typeof Pe;return Pe!=null&&(Ze=="object"||Ze=="function")}function Yc(Pe){return Pe!=null&&typeof Pe=="object"}var Bu=Et?function(Pe){return function(Ze){return Pe(Ze)}}(Et):function(Pe){return Yc(Pe)&&Fu(Pe.length)&&!!X[ml(Pe)]};function KE(Pe){return(Ze=Pe)!=null&&Fu(Ze.length)&&!L0(Ze)?I0(Pe):eu(Pe);var Ze}e.exports=function(Pe,Ze){return Od(Pe,Ze)}});Oa("en",{tableModule:{deleteCol:"Delete column",deleteRow:"Delete row",deleteTable:"Delete table",widthAuto:"Width auto",insertCol:"Insert column",insertRow:"Insert row",insertTable:"Insert table",header:"Header"}}),Oa("zh-CN",{tableModule:{deleteCol:"\u5220\u9664\u5217",deleteRow:"\u5220\u9664\u884C",deleteTable:"\u5220\u9664\u8868\u683C",widthAuto:"\u5BBD\u5EA6\u81EA\u9002\u5E94",insertCol:"\u63D2\u5165\u5217",insertRow:"\u63D2\u5165\u884C",insertTable:"\u63D2\u5165\u8868\u683C",header:"\u8868\u5934"}});var ak=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof oe!="undefined"?oe:typeof self!="undefined"?self:{};function sk(e){var t={exports:{}};return e(t,t.exports),t.exports}var bc,r_,i_=function(e){return e&&e.Math==Math&&e},or=i_(typeof globalThis=="object"&&globalThis)||i_(typeof window=="object"&&window)||i_(typeof self=="object"&&self)||i_(typeof ak=="object"&&ak)||function(){return this}()||Function("return this")(),fo=function(e){try{return!!e()}catch(t){return!0}},_c=!fo(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),cv=Function.prototype.call,ho=cv.bind?cv.bind(cv):function(){return cv.apply(cv,arguments)},uk={}.propertyIsEnumerable,lk=Object.getOwnPropertyDescriptor,wle={f:lk&&!uk.call({1:2},1)?function(e){var t=lk(this,e);return!!t&&t.enumerable}:uk},OS=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},ck=Function.prototype,AS=ck.bind,CS=ck.call,Ole=AS&&AS.bind(CS),dr=AS?function(e){return e&&Ole(CS,e)}:function(e){return e&&function(){return CS.apply(e,arguments)}},Ale=dr({}.toString),Cle=dr("".slice),Ec=function(e){return Cle(Ale(e),8,-1)},xS=or.Object,xle=dr("".split),fk=fo(function(){return!xS("z").propertyIsEnumerable(0)})?function(e){return Ec(e)=="String"?xle(e,""):xS(e)}:xS,Sle=or.TypeError,wc=function(e){if(e==null)throw Sle("Can't call method on "+e);return e},fv=function(e){return fk(wc(e))},Qo=function(e){return typeof e=="function"},Os=function(e){return typeof e=="object"?e!==null:Qo(e)},Tle=function(e){return Qo(e)?e:void 0},dv=function(e,t){return arguments.length<2?Tle(or[e]):or[e]&&or[e][t]},dk=dr({}.isPrototypeOf),SS=dv("navigator","userAgent")||"",hk=or.process,pk=or.Deno,mk=hk&&hk.versions||pk&&pk.version,gk=mk&&mk.v8;gk&&(r_=(bc=gk.split("."))[0]>0&&bc[0]<4?1:+(bc[0]+bc[1])),!r_&&SS&&(!(bc=SS.match(/Edge\/(\d+)/))||bc[1]>=74)&&(bc=SS.match(/Chrome\/(\d+)/))&&(r_=+bc[1]);var TS=r_,DS=!!Object.getOwnPropertySymbols&&!fo(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&TS&&TS<41}),RS=DS&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Dle=or.Object,NS=RS?function(e){return typeof e=="symbol"}:function(e){var t=dv("Symbol");return Qo(t)&&dk(t.prototype,Dle(e))},Rle=or.String,vk=function(e){try{return Rle(e)}catch(t){return"Object"}},Nle=or.TypeError,yk=function(e){if(Qo(e))return e;throw Nle(vk(e)+" is not a function")},IS=function(e,t){var n=e[t];return n==null?void 0:yk(n)},Ile=or.TypeError,Ple=Object.defineProperty,PS=function(e,t){try{Ple(or,e,{value:t,configurable:!0,writable:!0})}catch(n){or[e]=t}return t},Oc=or["__core-js_shared__"]||PS("__core-js_shared__",{}),LS=sk(function(e){(e.exports=function(t,n){return Oc[t]||(Oc[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Lle=or.Object,MS=function(e){return Lle(wc(e))},Mle=dr({}.hasOwnProperty),As=Object.hasOwn||function(e,t){return Mle(MS(e),t)},jle=0,kle=Math.random(),Fle=dr(1 .toString),bk=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Fle(++jle+kle,36)},hv=LS("wks"),nd=or.Symbol,_k=nd&&nd.for,Ble=RS?nd:nd&&nd.withoutSetter||bk,Cs=function(e){if(!As(hv,e)||!DS&&typeof hv[e]!="string"){var t="Symbol."+e;DS&&As(nd,e)?hv[e]=nd[e]:hv[e]=RS&&_k?_k(t):Ble(t)}return hv[e]},Ule=or.TypeError,Hle=Cs("toPrimitive"),jS=function(e){var t=function(n,r){if(!Os(n)||NS(n))return n;var i,o=IS(n,Hle);if(o){if(r===void 0&&(r="default"),i=ho(o,n,r),!Os(i)||NS(i))return i;throw Ule("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,s){var u,l;if(s==="string"&&Qo(u=a.toString)&&!Os(l=ho(u,a)))return l;if(Qo(u=a.valueOf)&&!Os(l=ho(u,a)))return l;if(s!=="string"&&Qo(u=a.toString)&&!Os(l=ho(u,a)))return l;throw Ile("Can't convert object to primitive value")}(n,r)}(e,"string");return NS(t)?t:t+""},kS=or.document,Wle=Os(kS)&&Os(kS.createElement),FS=function(e){return Wle?kS.createElement(e):{}},Ek=!_c&&!fo(function(){return Object.defineProperty(FS("div"),"a",{get:function(){return 7}}).a!=7}),wk=Object.getOwnPropertyDescriptor,Ok={f:_c?wk:function(e,t){if(e=fv(e),t=jS(t),Ek)try{return wk(e,t)}catch(n){}if(As(e,t))return OS(!ho(wle.f,e,t),e[t])}},zle=or.String,Vle=or.TypeError,xs=function(e){if(Os(e))return e;throw Vle(zle(e)+" is not an object")},Gle=or.TypeError,Ak=Object.defineProperty,pv={f:_c?Ak:function(e,t,n){if(xs(e),t=jS(t),xs(n),Ek)try{return Ak(e,t,n)}catch(r){}if("get"in n||"set"in n)throw Gle("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},ip=_c?function(e,t,n){return pv.f(e,t,OS(1,n))}:function(e,t,n){return e[t]=n,e},Kle=dr(Function.toString);Qo(Oc.inspectSource)||(Oc.inspectSource=function(e){return Kle(e)});var o_,mv,a_,BS=Oc.inspectSource,Ck=or.WeakMap,Yle=Qo(Ck)&&/native code/.test(BS(Ck)),xk=LS("keys"),Sk=function(e){return xk[e]||(xk[e]=bk(e))},US={},HS=or.TypeError,Xle=or.WeakMap;if(Yle||Oc.state){var rd=Oc.state||(Oc.state=new Xle),Jle=dr(rd.get),Tk=dr(rd.has),Qle=dr(rd.set);o_=function(e,t){if(Tk(rd,e))throw new HS("Object already initialized");return t.facade=e,Qle(rd,e,t),t},mv=function(e){return Jle(rd,e)||{}},a_=function(e){return Tk(rd,e)}}else{var op=Sk("state");US[op]=!0,o_=function(e,t){if(As(e,op))throw new HS("Object already initialized");return t.facade=e,ip(e,op,t),t},mv=function(e){return As(e,op)?e[op]:{}},a_=function(e){return As(e,op)}}var WS={set:o_,get:mv,has:a_,enforce:function(e){return a_(e)?mv(e):o_(e,{})},getterFor:function(e){return function(t){var n;if(!Os(t)||(n=mv(t)).type!==e)throw HS("Incompatible receiver, "+e+" required");return n}}},Dk=Function.prototype,Zle=_c&&Object.getOwnPropertyDescriptor,zS=As(Dk,"name"),VS={EXISTS:zS,PROPER:zS&&function(){}.name==="something",CONFIGURABLE:zS&&(!_c||_c&&Zle(Dk,"name").configurable)},gv=sk(function(e){var t=VS.CONFIGURABLE,n=WS.get,r=WS.enforce,i=String(String).split("String");(e.exports=function(o,a,s,u){var l,c=!!u&&!!u.unsafe,d=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet,h=u&&u.name!==void 0?u.name:a;Qo(s)&&(String(h).slice(0,7)==="Symbol("&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!As(s,"name")||t&&s.name!==h)&&ip(s,"name",h),(l=r(s)).source||(l.source=i.join(typeof h=="string"?h:""))),o!==or?(c?!p&&o[a]&&(d=!0):delete o[a],d?o[a]=s:ip(o,a,s)):d?o[a]=s:PS(a,s)})(Function.prototype,"toString",function(){return Qo(this)&&n(this).source||BS(this)})}),qle=Math.ceil,$le=Math.floor,s_=function(e){var t=+e;return t!=t||t===0?0:(t>0?$le:qle)(t)},ece=Math.max,tce=Math.min,vv=function(e,t){var n=s_(e);return n<0?ece(n+t,0):tce(n,t)},nce=Math.min,GS=function(e){return e>0?nce(s_(e),9007199254740991):0},u_=function(e){return GS(e.length)},Rk=function(e){return function(t,n,r){var i,o=fv(t),a=u_(o),s=vv(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},rce=(Rk(!0),Rk(!1)),Nk=dr([].push),Ik=function(e,t){var n,r=fv(e),i=0,o=[];for(n in r)!As(US,n)&&As(r,n)&&Nk(o,n);for(;t.length>i;)As(r,n=t[i++])&&(~rce(o,n)||Nk(o,n));return o},l_=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ice=l_.concat("length","prototype"),oce={f:Object.getOwnPropertyNames||function(e){return Ik(e,ice)}},ace={f:Object.getOwnPropertySymbols},sce=dr([].concat),uce=dv("Reflect","ownKeys")||function(e){var t=oce.f(xs(e)),n=ace.f;return n?sce(t,n(e)):t},lce=function(e,t){for(var n=uce(t),r=pv.f,i=Ok.f,o=0;o<n.length;o++){var a=n[o];As(e,a)||r(e,a,i(t,a))}},cce=/#|\.prototype\./,yv=function(e,t){var n=dce[fce(e)];return n==pce||n!=hce&&(Qo(t)?fo(t):!!t)},fce=yv.normalize=function(e){return String(e).replace(cce,".").toLowerCase()},dce=yv.data={},hce=yv.NATIVE="N",pce=yv.POLYFILL="P",mce=yv,gce=Ok.f,Ac=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,l=e.stat;if(n=u?or:l?or[s]||PS(s,{}):(or[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=gce(n,r))&&a.value:n[r],!mce(u?r:s+(l?".":"#")+r,e.forced)&&i!==void 0){if(typeof o==typeof i)continue;lce(o,i)}(e.sham||i&&i.sham)&&ip(o,"sham",!0),gv(n,r,o,e)}},Pk={};Pk[Cs("toStringTag")]="z";var KS=String(Pk)==="[object z]",vce=Cs("toStringTag"),yce=or.Object,bce=Ec(function(){return arguments}())=="Arguments",YS=KS?Ec:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=yce(e),vce))=="string"?n:bce?Ec(t):(r=Ec(t))=="Object"&&Qo(t.callee)?"Arguments":r},_ce=or.String,ia=function(e){if(YS(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return _ce(e)},Ece=/"/g,wce=dr("".replace);Ac({target:"String",proto:!0,forced:fo(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){return t=e,n=ia(wc(this)),r="<a",(r+=' name="'+wce(ia(t),Ece,"&quot;")+'"')+">"+n+"</a>";var t,n,r}});var c_,Lk=function(){var e=xs(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},XS=or.RegExp,JS=fo(function(){var e=XS("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),Oce=JS||fo(function(){return!XS("a","y").sticky}),Mk={BROKEN_CARET:JS||fo(function(){var e=XS("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:Oce,UNSUPPORTED_Y:JS},Ace=Object.keys||function(e){return Ik(e,l_)},Cce=_c?Object.defineProperties:function(e,t){xs(e);for(var n,r=fv(t),i=Ace(t),o=i.length,a=0;o>a;)pv.f(e,n=i[a++],r[n]);return e},xce=dv("document","documentElement"),jk=Sk("IE_PROTO"),QS=function(){},kk=function(e){return"<script>"+e+"</script>"},Fk=function(e){e.write(kk("")),e.close();var t=e.parentWindow.Object;return e=null,t},f_=function(){try{c_=new ActiveXObject("htmlfile")}catch(r){}var e,t;f_=typeof document!="undefined"?document.domain&&c_?Fk(c_):((t=FS("iframe")).style.display="none",xce.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(kk("document.F=Object")),e.close(),e.F):Fk(c_);for(var n=l_.length;n--;)delete f_.prototype[l_[n]];return f_()};US[jk]=!0;var Bk,ZS,Uk=Object.create||function(e,t){var n;return e!==null?(QS.prototype=xs(e),n=new QS,QS.prototype=null,n[jk]=e):n=f_(),t===void 0?n:Cce(n,t)},Sce=or.RegExp,Tce=fo(function(){var e=Sce(".","s");return!(e.dotAll&&e.exec(`
`)&&e.flags==="s")}),Dce=or.RegExp,Rce=fo(function(){var e=Dce("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),Nce=WS.get,Ice=LS("native-string-replace",String.prototype.replace),d_=RegExp.prototype.exec,qS=d_,Pce=dr("".charAt),Lce=dr("".indexOf),Mce=dr("".replace),$S=dr("".slice),eT=(ZS=/b*/g,ho(d_,Bk=/a/,"a"),ho(d_,ZS,"a"),Bk.lastIndex!==0||ZS.lastIndex!==0),Hk=Mk.BROKEN_CARET,tT=/()??/.exec("")[1]!==void 0;(eT||tT||Hk||Tce||Rce)&&(qS=function(e){var t,n,r,i,o,a,s,u=this,l=Nce(u),c=ia(e),d=l.raw;if(d)return d.lastIndex=u.lastIndex,t=ho(qS,d,c),u.lastIndex=d.lastIndex,t;var p=l.groups,h=Hk&&u.sticky,E=ho(Lk,u),g=u.source,y=0,_=c;if(h&&(E=Mce(E,"y",""),Lce(E,"g")===-1&&(E+="g"),_=$S(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&Pce(c,u.lastIndex-1)!==`
`)&&(g="(?: "+g+")",_=" "+_,y++),n=new RegExp("^(?:"+g+")",E)),tT&&(n=new RegExp("^"+g+"$(?!\\s)",E)),eT&&(r=u.lastIndex),i=ho(d_,h?n:u,_),h?i?(i.input=$S(i.input,y),i[0]=$S(i[0],y),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:eT&&i&&(u.lastIndex=u.global?i.index+i[0].length:r),tT&&i&&i.length>1&&ho(Ice,i[0],n,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(i[o]=void 0)}),i&&p)for(i.groups=a=Uk(null),o=0;o<p.length;o++)a[(s=p[o])[0]]=i[s[1]];return i});var bv=qS;Ac({target:"RegExp",proto:!0,forced:/./.exec!==bv},{exec:bv});var h_=Array.isArray||function(e){return Ec(e)=="Array"},Wk=function(){},jce=[],zk=dv("Reflect","construct"),nT=/^\s*(?:class|function)\b/,kce=dr(nT.exec),Fce=!nT.exec(Wk),_v=function(e){if(!Qo(e))return!1;try{return zk(Wk,jce,e),!0}catch(t){return!1}},rT=!zk||fo(function(){var e;return _v(_v.call)||!_v(Object)||!_v(function(){e=!0})||e})?function(e){if(!Qo(e))return!1;switch(YS(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Fce||!!kce(nT,BS(e))}:_v,Vk=function(e,t,n){var r=jS(t);r in e?pv.f(e,r,OS(0,n)):e[r]=n},Bce=Cs("species"),iT=function(e){return TS>=51||!fo(function(){var t=[];return(t.constructor={})[Bce]=function(){return{foo:1}},t[e](Boolean).foo!==1})},Uce=dr([].slice),Hce=iT("slice"),Wce=Cs("species"),oT=or.Array,zce=Math.max;function Xs(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function Gk(e){var t=e.selection;if(t==null)return!1;var n=Xs(U.nodes(e,{match:function(o){return de.checkNodeType(o,"table-cell")}}),1)[0];if(n){var r=Xs(n,2)[1],i=U.start(e,r);if(tr.equals(t.anchor,i))return!0}return!1}function Kk(e,t){var n,r,i=U.nodes(e,{at:t,match:function(u){return de.getNodeType(u)==="table"}}),o=!1;try{for(var a=function(u){var l=typeof Symbol=="function"&&Symbol.iterator,c=l&&u[l],d=0;if(c)return c.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")}(i),s=a.next();!s.done;s=a.next())s.value,o=!0}catch(u){n={error:u}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o}Ac({target:"Array",proto:!0,forced:!Hce},{slice:function(e,t){var n,r,i,o=fv(this),a=u_(o),s=vv(e,a),u=vv(t===void 0?a:t,a);if(h_(o)&&(n=o.constructor,(rT(n)&&(n===oT||h_(n.prototype))||Os(n)&&(n=n[Wce])===null)&&(n=void 0),n===oT||n===void 0))return Uce(o,s,u);for(r=new(n===void 0?oT:n)(zce(u-s,0)),i=0;s<u;s++,i++)s in o&&Vk(r,i,o[s]);return r.length=i,r}});var Yk=dr(dr.bind),Vce=Cs("species"),Xk=or.Array,Gce=function(e,t){return new(function(n){var r;return h_(n)&&(r=n.constructor,(rT(r)&&(r===Xk||h_(r.prototype))||Os(r)&&(r=r[Vce])===null)&&(r=void 0)),r===void 0?Xk:r}(e))(t===0?0:t)},Jk=dr([].push),Cc=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,E=MS(u),g=fk(E),y=function(W,q){return yk(W),q===void 0?W:Yk?Yk(W,q):function(){return W.apply(q,arguments)}}(l,c),_=u_(g),m=0,T=d||Gce,R=t?T(u,_):n||a?T(u,0):void 0;_>m;m++)if((s||m in g)&&(h=y(p=g[m],m,E),e))if(t)R[m]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return m;case 2:Jk(R,p)}else switch(e){case 4:return!1;case 7:Jk(R,p)}return o?-1:r||i?i:R}},p_={forEach:Cc(0),map:Cc(1),filter:Cc(2),some:Cc(3),every:Cc(4),find:Cc(5),findIndex:Cc(6),filterReject:Cc(7)},Kce=p_.map;Ac({target:"Array",proto:!0,forced:!iT("map")},{map:function(e){return Kce(this,e,arguments.length>1?arguments[1]:void 0)}});var Yce=KS?{}.toString:function(){return"[object "+YS(this)+"]"};function m_(e){var t=e.children||[];return t.length===0?[]:(t[0]||{}).children||[]}function Qk(e){return m_(e).every(function(t){return!!t.isHeader})}KS||gv(Object.prototype,"toString",Yce,{unsafe:!0});var Xce=VS.PROPER,aT=RegExp.prototype,Zk=aT.toString,Jce=dr(Lk),Qce=fo(function(){return Zk.call({source:"a",flags:"b"})!="/a/b"}),Zce=Xce&&Zk.name!="toString";(Qce||Zce)&&gv(RegExp.prototype,"toString",function(){var e=xs(this),t=ia(e.source),n=e.flags;return"/"+t+"/"+ia(n===void 0&&dk(aT,e)&&!("flags"in aT)?Jce(e):n)},{unsafe:!0});var sT=Cs("unscopables"),uT=Array.prototype;uT[sT]==null&&pv.f(uT,sT,{configurable:!0,value:Uk(null)});var qce=p_.find,qk=!0;"find"in[]&&Array(1).find(function(){qk=!1}),Ac({target:"Array",proto:!0,forced:qk},{find:function(e){return qce(this,e,arguments.length>1?arguments[1]:void 0)}}),uT[sT].find=!0;var lT=Function.prototype,$k=lT.apply,$ce=lT.bind,eF=lT.call,tF=typeof Reflect=="object"&&Reflect.apply||($ce?eF.bind($k):function(){return eF.apply($k,arguments)}),efe=Cs("species"),cT=RegExp.prototype,nF=function(e,t,n,r){var i=Cs(e),o=!fo(function(){var l={};return l[i]=function(){return 7},""[e](l)!=7}),a=o&&!fo(function(){var l=!1,c=/a/;return e==="split"&&((c={}).constructor={},c.constructor[efe]=function(){return c},c.flags="",c[i]=/./[i]),c.exec=function(){return l=!0,null},c[i](""),!l});if(!o||!a||n){var s=dr(/./[i]),u=t(i,""[e],function(l,c,d,p,h){var E=dr(l),g=c.exec;return g===bv||g===cT.exec?o&&!h?{done:!0,value:s(c,d,p)}:{done:!0,value:E(d,c,p)}:{done:!1}});gv(String.prototype,e,u[0]),gv(cT,i,u[1])}r&&ip(cT[i],"sham",!0)},tfe=Cs("match"),nfe=or.TypeError,rfe=Cs("species"),ife=dr("".charAt),rF=dr("".charCodeAt),ofe=dr("".slice),iF=function(e){return function(t,n){var r,i,o=ia(wc(t)),a=s_(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=rF(o,a))<55296||r>56319||a+1===s||(i=rF(o,a+1))<56320||i>57343?e?ife(o,a):r:e?ofe(o,a,a+2):i-56320+(r-55296<<10)+65536}},afe=(iF(!1),iF(!0)),oF=function(e,t,n){return t+(n?afe(e,t).length:1)},sfe=or.Array,ufe=Math.max,aF=function(e,t,n){for(var r=u_(e),i=vv(t,r),o=vv(n===void 0?r:n,r),a=sfe(ufe(o-i,0)),s=0;i<o;i++,s++)Vk(a,s,e[i]);return a.length=s,a},lfe=or.TypeError,fT=function(e,t){var n=e.exec;if(Qo(n)){var r=ho(n,e,t);return r!==null&&xs(r),r}if(Ec(e)==="RegExp")return ho(bv,e,t);throw lfe("RegExp#exec called on incompatible receiver")},ap=Mk.UNSUPPORTED_Y,cfe=Math.min,sF=[].push,ffe=dr(/./.exec),sp=dr(sF),Ev=dr("".slice);nF("split",function(e,t,n){var r;return r="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(i,o){var a,s,u=ia(wc(this)),l=o===void 0?4294967295:o>>>0;if(l===0)return[];if(i===void 0)return[u];if(!Os(a=i)||!((s=a[tfe])!==void 0?s:Ec(a)=="RegExp"))return ho(t,u,i,l);for(var c,d,p,h=[],E=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(i.sticky?"y":""),g=0,y=new RegExp(i.source,E+"g");(c=ho(bv,y,u))&&!((d=y.lastIndex)>g&&(sp(h,Ev(u,g,c.index)),c.length>1&&c.index<u.length&&tF(sF,h,aF(c,1)),p=c[0].length,g=d,h.length>=l));)y.lastIndex===c.index&&y.lastIndex++;return g===u.length?!p&&ffe(y,"")||sp(h,""):sp(h,Ev(u,g)),h.length>l?aF(h,0,l):h}:"0".split(void 0,0).length?function(i,o){return i===void 0&&o===0?[]:ho(t,this,i,o)}:t,[function(i,o){var a=wc(this),s=i==null?void 0:IS(i,e);return s?ho(s,i,a,o):ho(r,ia(a),i,o)},function(i,o){var a=xs(this),s=ia(i),u=n(r,a,s,o,r!==t);if(u.done)return u.value;var l=function(R,W){var q,X=xs(R).constructor;return X===void 0||(q=xs(X)[rfe])==null?W:function(ge){if(rT(ge))return ge;throw nfe(vk(ge)+" is not a constructor")}(q)}(a,RegExp),c=a.unicode,d=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(ap?"g":"y"),p=new l(ap?"^(?:"+a.source+")":a,d),h=o===void 0?4294967295:o>>>0;if(h===0)return[];if(s.length===0)return fT(p,s)===null?[s]:[];for(var E=0,g=0,y=[];g<s.length;){p.lastIndex=ap?0:g;var _,m=fT(p,ap?Ev(s,g):s);if(m===null||(_=cfe(GS(p.lastIndex+(ap?g:0)),s.length))===E)g=oF(s,g,c);else{if(sp(y,Ev(s,E,g)),y.length===h)return y;for(var T=1;T<=m.length-1;T++)if(sp(y,m[T]),y.length===h)return y;g=E=_}}return sp(y,Ev(s,E)),y}]},!!fo(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),ap);var dT=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,uF=dr("".replace),g_="["+dT+"]",dfe=RegExp("^"+g_+g_+"*"),hfe=RegExp(g_+g_+"*$"),hT=function(e){return function(t){var n=ia(wc(t));return 1&e&&(n=uF(n,dfe,"")),2&e&&(n=uF(n,hfe,"")),n}},pfe={start:hT(1),end:hT(2),trim:hT(3)},mfe=VS.PROPER,gfe=pfe.trim;function lF(e){return e.length?e[0].tagName.toLowerCase():""}Ac({target:"String",proto:!0,forced:function(e){return fo(function(){return!!dT[e]()||"\u200B\x85\u180E"[e]()!=="\u200B\x85\u180E"||mfe&&dT[e].name!==e})}("trim")},{trim:function(){return gfe(this)}}),Ac({global:!0},{globalThis:or}),cs&&(we.fn.append=cs),pu&&(we.fn.on=pu),jl&&(we.fn.focus=jl),ls&&(we.fn.attr=ls),hu&&(we.fn.val=hu),Ml&&(we.fn.html=Ml),qd&&(we.fn.dataset=qd),Jd&&(we.fn.addClass=Jd),Qd&&(we.fn.removeClass=Qd),nh&&(we.fn.children=nh),k1&&(we.fn.each=k1),th&&(we.fn.find=th);var wv=!1,cF=0,fF=0,Ov=null,Av=null,Cv=we("body");function dF(e){wv=!1,Av=null,Ov=null,Cv.off("mousemove",hF),Cv.off("mouseup",dF)}Cv.on("mousedown",function(e){var t=e.target;if((t.tagName==="TH"||t.tagName==="TD")&&t.style.cursor==="col-resize"){t.style.cursor="auto",e.preventDefault(),wv=!0;var n=e.clientX;cF=n;var r=t.getBoundingClientRect().width;fF=r,Cv.on("mousemove",hF),Cv.on("mouseup",dF)}});var hF=pf(function(e){if(wv&&Av!=null&&Ov!=null){e.preventDefault();var t=e.clientX,n=fF+(t-cF);(n=Math.floor(100*n)/100)<30&&(n=30),He.setNodes(Av,{width:n.toString()},{at:Ov})}},100),vfe={type:"table",renderElem:function(e,t,n){var r=function(s,u){if(s.isDisabled())return!1;var l=s.selection;if(l==null)return!0;if($e.isCollapsed(l))return!0;var c=l.anchor,d=l.focus,p=de.findPath(s,u),h=U.start(s,p),E=U.end(s,p),g=tr.compare(c,E)<=0&&tr.compare(c,h)>=0,y=tr.compare(d,E)<=0&&tr.compare(d,h)>=0;return!!(g&&y&&Me.equals(c.path.slice(0,3),d.path.slice(0,3)))}(n,e),i=e.width,o=i===void 0?"auto":i,a=Bn("div",{className:"table-container","data-selected":de.isNodeSelected(n,e),on:{mousedown:function(s){if(s.target.tagName==="DIV"&&s.preventDefault(),!n.isDisabled()){var u=de.findPath(n,e),l=U.start(n,u),c=n.selection;c!=null?c.anchor.path[0]!==u[0]&&n.select(l):n.select(l)}}}},Bn("table",{width:o,contentEditable:r},Bn("colgroup",null,m_(e).map(function(s){var u=s.width;return Bn("col",{width:u===void 0?"auto":u})})),Bn("tbody",null,t)));return a}},yfe={type:"table-row",renderElem:function(e,t,n){return Bn("tr",null,t)}},bfe={type:"table-cell",renderElem:function(e,t,n){var r=function(p,h){var E=de.getParentNode(p,h);if(E==null)return!1;var g=de.getParentNode(p,E);return g!=null&&m_(g).some(function(y){return y===h})}(n,e),i=e,o=i.colSpan,a=o===void 0?1:o,s=i.rowSpan,u=s===void 0?1:s,l=i.isHeader,c=l!==void 0&&l;if(!r)return Bn("td",{colSpan:a,rowSpan:u},t);var d=Bn(c?"th":"td",{colSpan:a,rowSpan:u,style:{borderRightWidth:"3px"},on:{mousemove:pf(function(p){var h=this.elm;if(h!=null){var E=h.getBoundingClientRect(),g=E.left,y=E.width,_=E.top,m=E.height,T=p.clientX,R=p.clientY;wv||(T>g+y-5&&T<g+y&&R>_&&R<_+m?(h.style.cursor="col-resize",Av=n,Ov=de.findPath(n,e)):wv||(h.style.cursor="auto",Av=null,Ov=null))}},100)}},t);return d}},_fe={selector:"table",preParseHtml:function(e){var t=we(e);if(lF(t)!=="table")return e;var n=t.find("tbody");if(n.length===0)return e;var r=t.find("tr");return t.append(r),n.remove(),t[0]}},Efe=p_.filter;Ac({target:"Array",proto:!0,forced:!iT("filter")},{filter:function(e){return Efe(this,e,arguments.length>1?arguments[1]:void 0)}});var wfe=Math.floor,pT=dr("".charAt),Ofe=dr("".replace),mT=dr("".slice),Afe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Cfe=/\$([$&'`]|\d{1,2})/g,xfe=function(e,t,n,r,i,o){var a=n+e.length,s=r.length,u=Cfe;return i!==void 0&&(i=MS(i),u=Afe),Ofe(o,u,function(l,c){var d;switch(pT(c,0)){case"$":return"$";case"&":return e;case"`":return mT(t,0,n);case"'":return mT(t,a);case"<":d=i[mT(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>s){var h=wfe(p/10);return h===0?l:h<=s?r[h-1]===void 0?pT(c,1):r[h-1]+pT(c,1):l}d=r[p-1]}return d===void 0?"":d})},gT=Cs("replace"),Sfe=Math.max,Tfe=Math.min,Dfe=dr([].concat),vT=dr([].push),pF=dr("".indexOf),mF=dr("".slice),Rfe="a".replace(/./,"$0")==="$0",gF=!!/./[gT]&&/./[gT]("a","$0")==="";nF("replace",function(e,t,n){var r=gF?"$":"$0";return[function(i,o){var a=wc(this),s=i==null?void 0:IS(i,gT);return s?ho(s,i,a,o):ho(t,ia(a),i,o)},function(i,o){var a=xs(this),s=ia(i);if(typeof o=="string"&&pF(o,r)===-1&&pF(o,"$<")===-1){var u=n(t,a,s,o);if(u.done)return u.value}var l=Qo(o);l||(o=ia(o));var c=a.global;if(c){var d=a.unicode;a.lastIndex=0}for(var p=[];;){var h=fT(a,s);if(h===null)break;if(vT(p,h),!c)break;ia(h[0])===""&&(a.lastIndex=oF(s,GS(a.lastIndex),d))}for(var E,g="",y=0,_=0;_<p.length;_++){for(var m=ia((h=p[_])[0]),T=Sfe(Tfe(s_(h.index),s.length),0),R=[],W=1;W<h.length;W++)vT(R,(E=h[W])===void 0?E:String(E));var q=h.groups;if(l){var X=Dfe([m],R,T,s);q!==void 0&&vT(X,q);var ge=ia(tF(o,void 0,X))}else ge=xfe(m,s,T,R,q,o);T>=y&&(g+=mF(s,y,T)+ge,y=T+m.length)}return g+mF(s,y)}]},!!fo(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!Rfe||gF);var Nfe={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=we(e);(t=t.filter(function(s){return!!rn.isText(s)||!!n.isInline(s)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var i=parseInt(r.attr("colSpan")||"1"),o=parseInt(r.attr("rowSpan")||"1"),a=r.attr("width")||"auto";return{type:"table-cell",isHeader:lF(r)==="th",colSpan:i,rowSpan:o,width:a,children:t}}},Ife={selector:"tr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"table-row",children:t.filter(function(r){return de.getNodeType(r)==="table-cell"})}}},Pfe={selector:"table:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=we(e),i="auto";return function(o,a){for(var s="",u=(o.attr("style")||"").split(";"),l=u.length,c=0;c<l;c++){var d=u[c];if(d){var p=d.split(":");p[0].trim()==="width"&&(s=p[1].trim())}}return s}(r)==="100%"&&(i="100%"),r.attr("width")==="100%"&&(i="100%"),{type:"table",width:i,children:t.filter(function(o){return de.getNodeType(o)==="table-row"})}}},Lfe=function(){function e(){this.title=Gt("tableModule.insertTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64v896h1024V64H0z m384 576v-192h256v192h-256z m256 64v192h-256v-192h256z m0-512v192h-256V192h256zM320 192v192H64V192h256z m-256 256h256v192H64v-192z m640 0h256v192h-256v-192z m0-64V192h256v192h-256zM64 704h256v192H64v-192z m640 192v-192h256v192h-256z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!$e.isCollapsed(n)||!!de.getSelectedElems(t).some(function(r){var i=de.getNodeType(r);return i==="pre"||i==="table"||i==="list-item"||!!t.isVoid(r)})},e.prototype.getPanelContentElem=function(t){var n=this;if(this.$content)return this.$content[0];for(var r=we('<div class="w-e-panel-content-table"></div>'),i=we("<span>0 &times; 0</span>"),o=we("<table></table>"),a=0;a<10;a++){for(var s=we("<tr></tr>"),u=0;u<10;u++){var l=we("<td></td>");l.attr("data-x",u.toString()),l.attr("data-y",a.toString()),s.append(l),l.on("mouseenter",function(c){var d=c.target;if(d!=null){var p=we(d).dataset(),h=p.x,E=p.y;i[0].innerHTML=h+1+" &times; "+(E+1),o.children().each(function(g){we(g).children().each(function(y){var _=we(y),m=_.dataset(),T=m.x,R=m.y;T<=h&&R<=E?_.addClass("active"):_.removeClass("active")})})}}),l.on("click",function(c){c.preventDefault();var d=c.target;if(d!=null){var p=we(d).dataset(),h=p.x,E=p.y;n.insertTable(t,E+1,h+1)}})}o.append(s)}return r.append(o),r.append(i),this.$content=r,r[0]},e.prototype.insertTable=function(t,n,r){var i=parseInt(n,10),o=parseInt(r,10);if(i&&o&&!(i<=0||o<=0)){de.isSelectedEmptyParagraph(t)&&He.removeNodes(t,{mode:"highest"});var a=function(s,u){for(var l=[],c=0;c<s;c++){for(var d=[],p=0;p<u;p++){var h={type:"table-cell",children:[{text:""}]};c===0&&(h.isHeader=!0),d.push(h)}l.push({type:"table-row",children:d})}return{type:"table",width:"auto",children:l}}(i,o);He.insertNodes(t,a,{mode:"highest"})}},e}(),Mfe=function(){function e(){this.title=Gt("tableModule.deleteTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||de.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){this.isDisabled(t)||He.removeNodes(t,{mode:"highest"})},e}(),jfe=function(){function e(){this.title=Gt("tableModule.insertRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M707.7888 521.0112h-147.456v-147.456H488.2432v147.456h-147.456v68.8128h147.456v147.456h72.0896v-147.456h147.456zM0 917.504V0h1048.576v917.504H0zM327.68 65.536H65.536v196.608H327.68V65.536z m327.68 0H393.216v196.608h262.144V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 258.8672H65.536v462.0288H983.04V324.4032z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!$e.isCollapsed(n)||de.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=Xs(U.nodes(t,{match:function(h){return de.checkNodeType(h,"table-cell")},universal:!0}),1),i=Xs(r[0],2),o=i[0],a=i[1],s=de.getParentNode(t,o),u=(s==null?void 0:s.children.length)||0;if(u!==0){for(var l={type:"table-row",children:[]},c=0;c<u;c++)l.children.push({type:"table-cell",children:[{text:""}]});var d=Me.parent(a),p=Me.next(d);He.insertNodes(t,l,{at:p})}}},e}(),kfe=function(){function e(){this.title=Gt("tableModule.deleteRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M907.6736 586.5472L747.1104 425.984l163.84-163.84-78.6432-78.6432-163.84 163.84L507.904 186.7776 429.2608 262.144l163.84 163.84-167.1168 167.1168 78.6432 78.6432 167.1168-167.1168 160.5632 160.5632 75.3664-78.6432zM0 917.504V0h1048.576v917.504H0z m983.04-327.68h-22.9376l-65.536-65.536H983.04V327.68h-91.7504l65.536-65.536h26.2144V65.536H65.536v196.608h317.8496l65.536 65.536H65.536v196.608h380.1088l-65.536 65.536H65.536v196.608H983.04v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!$e.isCollapsed(n)||de.getSelectedNodeByType(t,"table-row")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=Xs(U.nodes(t,{match:function(u){return de.checkNodeType(u,"table-row")},universal:!0}),1),i=Xs(r[0],2),o=i[0],a=i[1],s=de.getParentNode(t,o);((s==null?void 0:s.children.length)||0)<=1?He.removeNodes(t,{mode:"highest"}):He.removeNodes(t,{at:a})}},e}(),vF={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},yT=FS("span").classList,yF=yT&&yT.constructor&&yT.constructor.prototype,Ffe=yF===Object.prototype?void 0:yF,Bfe=p_.forEach,Ufe=function(e,t){var n=[].forEach;return!!n&&fo(function(){n.call(null,function(){throw 1},1)})}(),bT=Ufe?[].forEach:function(e){return Bfe(this,e,arguments.length>1?arguments[1]:void 0)},bF=function(e){if(e&&e.forEach!==bT)try{ip(e,"forEach",bT)}catch(t){e.forEach=bT}};for(var _T in vF)vF[_T]&&bF(or[_T]&&or[_T].prototype);bF(Ffe);var Hfe=function(){function e(){this.title=Gt("tableModule.insertCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 193.3312v186.7776H140.9024v91.7504H327.68v186.7776h88.4736V471.8592h190.0544V380.1088H416.1536V193.3312zM0 917.504V0h1048.576v917.504H0zM655.36 65.536H65.536v720.896H655.36V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 262.144h-262.144v196.608h262.144V327.68z m0 262.144h-262.144v196.608h262.144v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!$e.isCollapsed(n)||de.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=Xs(U.nodes(t,{match:function(l){return de.checkNodeType(l,"table-cell")},universal:!0}),1),i=Xs(r[0],2),o=i[0],a=i[1],s=de.getParentNode(t,o);if(s!=null){var u=de.getParentNode(t,s);u!=null&&(u.children||[]).forEach(function(l,c){bn.isElement(l)&&(l.children||[]).forEach(function(d){var p=de.findPath(t,d);if(p.length===a.length&&ok(p.slice(-1),a.slice(-1))){var h={type:"table-cell",children:[{text:""}]};c===0&&Qk(u)&&(h.isHeader=!0),He.insertNodes(t,h,{at:p})}})})}}},e}(),Wfe=function(){function e(){this.title=Gt("tableModule.deleteCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 510.976L393.216 445.44v-13.1072L327.68 366.7968V510.976z m327.68-78.4384l65.536-65.536V507.904L655.36 442.368v-9.8304z m393.216 484.9664V0H0v917.504h1048.576z m-65.536-131.072h-262.144v-52.4288l-13.1072 13.1072-52.4288-52.4288v91.7504H393.216v-91.7504l-52.4288 52.4288-13.1072-13.1072v52.4288H65.536V65.536H327.68v121.2416l36.0448-36.0448 29.4912 29.4912V62.2592h262.144V180.224l49.152-49.152 16.384 16.384V62.2592h262.144V786.432z m-294.912-108.1344l-160.5632-160.5632-167.1168 167.1168-78.6432-78.6432 167.1168-167.1168L288.3584 278.528l78.6432-78.6432 160.5632 160.5632 163.84-163.84 78.6432 78.6432-163.84 163.84 160.5632 160.5632-78.6432 78.6432z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!$e.isCollapsed(n)||de.getSelectedNodeByType(t,"table-cell")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=Xs(U.nodes(t,{match:function(c){return de.checkNodeType(c,"table-cell")},universal:!0}),1),i=Xs(r[0],2),o=i[0],a=i[1],s=de.getParentNode(t,o),u=(s==null?void 0:s.children.length)||0;if(!s||u<=1)He.removeNodes(t,{mode:"highest"});else{var l=de.getParentNode(t,s);l!=null&&(l.children||[]).forEach(function(c){bn.isElement(c)&&(c.children||[]).forEach(function(d){var p=de.findPath(t,d);p.length===a.length&&ok(p.slice(-1),a.slice(-1))&&He.removeNodes(t,{at:p})})})}}},e}(),zfe=function(){function e(){this.title=Gt("tableModule.header"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M704 128l-64 0L384 128 320 128 0 128l0 256 0 64 0 192 0 64 0 256 320 0 64 0 256 0 64 0 320 0 0-256 0-64L1024 448 1024 384 1024 128 704 128zM640 640 384 640 384 448l256 0L640 640zM64 448l256 0 0 192L64 640 64 448zM320 896 64 896l0-192 256 0L320 896zM640 896 384 896l0-192 256 0L640 896zM960 896l-256 0 0-192 256 0L960 896zM960 640l-256 0L704 448l256 0L960 640z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){var n=de.getSelectedNodeByType(t,"table");return n!=null&&Qk(n)},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!$e.isCollapsed(n)||de.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=!n,i=de.getSelectedNodeByType(t,"table");i!=null&&m_(i).forEach(function(o){return He.setNodes(t,{isHeader:r},{at:de.findPath(t,o)})})}},e}(),Vfe=function(){function e(){this.title=Gt("tableModule.widthAuto"),this.iconSvg='<svg viewBox="0 0 1228 1024"><path d="M862.514337 563.200461H404.581995v121.753478a13.311987 13.311987 0 0 1-6.655993 11.468789 10.23999 10.23999 0 0 1-12.083188-1.433599l-204.799795-179.199821a13.721586 13.721586 0 0 1 0-20.479979l204.799795-179.302221a10.23999 10.23999 0 0 1 12.185588-1.535998 13.209587 13.209587 0 0 1 6.553593 11.673588v115.097485h457.932342V319.693504a11.571188 11.571188 0 0 1 18.841582-10.239989l204.799795 179.19982a13.721586 13.721586 0 0 1 0 20.47998l-204.799795 179.199821a10.23999 10.23999 0 0 1-12.185588 1.535998 13.311987 13.311987 0 0 1-6.655994-11.571188V563.200461zM136.499064 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785H15.155185A15.155185 15.155185 0 0 1 0 1008.844815V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086294a15.155185 15.155185 0 0 1 15.257585 15.155185zM1228.798771 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785h-106.188693a15.155185 15.155185 0 0 1-15.155185-15.052785V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086293A15.155185 15.155185 0 0 1 1228.798771 15.053809z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){var n=de.getSelectedNodeByType(t,"table");return n!=null&&n.width==="100%"},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!$e.isCollapsed(n)||de.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r={width:n?"auto":"100%"};He.setNodes(t,r,{mode:"highest"})}},e}(),Gfe={renderElems:[vfe,yfe,bfe],elemsToHtml:[{type:"table",elemToHtml:function(e,t){var n=e.width;return'<table style="width: '+(n===void 0?"auto":n)+';"><tbody>'+t+"</tbody></table>"}},{type:"table-row",elemToHtml:function(e,t){return"<tr>"+t+"</tr>"}},{type:"table-cell",elemToHtml:function(e,t){var n=e,r=n.colSpan,i=r===void 0?1:r,o=n.rowSpan,a=o===void 0?1:o,s=n.isHeader,u=s!==void 0&&s,l=n.width,c=u?"th":"td";return"<"+c+' colSpan="'+i+'" rowSpan="'+a+'" width="'+(l===void 0?"auto":l)+'">'+t+"</"+c+">"}}],preParseHtml:[_fe],parseElemsHtml:[Nfe,Ife,Pfe],menus:[{key:"insertTable",factory:function(){return new Lfe}},{key:"deleteTable",factory:function(){return new Mfe}},{key:"insertTableRow",factory:function(){return new jfe}},{key:"deleteTableRow",factory:function(){return new kfe}},{key:"insertTableCol",factory:function(){return new Hfe}},{key:"deleteTableCol",factory:function(){return new Wfe}},{key:"tableHeader",factory:function(){return new zfe}},{key:"tableFullWidth",factory:function(){return new Vfe}}],editorPlugin:function(e){var t=e.insertBreak,n=e.deleteBackward,r=e.deleteForward,i=e.normalizeNode,o=e.insertData,a=e.handleTab,s=e.selectAll,u=e;return u.insertBreak=function(){de.getSelectedNodeByType(u,"table")==null?t():u.insertText(`
`)},u.deleteBackward=function(l){if(!Gk(u)){var c=u.selection;if(c){var d=U.before(u,c);if(d){var p=Kk(u,d),h=Kk(u,c);if(p&&!h)return}}n(l)}},u.handleTab=function(){var l;if(de.getSelectedNodeByType(u,"table")){var c=U.above(e);de.checkNodeType(c[0],"table-cell")&&He.select(e,c[1]);var d=U.next(e);if(d)d[0]&&d[0].text&&(d=(l=U.above(e,{at:d[1]}))!==null&&l!==void 0?l:d),He.select(e,d[1]);else{var p=u.children||[],h=p.length;if(de.checkNodeType(p[h-1],"table")){var E=de.genEmptyParagraph();He.insertNodes(u,E,{at:[h]}),u.handleTab()}}}else a()},u.deleteForward=function(l){Gk(u)||r(l)},u.normalizeNode=function(l){var c=Xs(l,2),d=c[0],p=c[1];if(de.getNodeType(d)!=="table")return i([d,p]);if(de.isLastNode(u,d)){var h=de.genEmptyParagraph();He.insertNodes(u,h,{at:[p[0]+1]})}},u.insertData=function(l){if(de.getSelectedNodeByType(u,"table")!=null){var c=l.getData("text/plain");c===`
`||/<img[^>]+>/.test(l.getData("text/html"))?o(l):U.insertText(u,c)}else o(l)},u.selectAll=function(){var l=u.selection;if(l!=null){var c=de.getSelectedNodeByType(u,"table-cell");if(c!=null){var d=l.anchor,p=l.focus;if(Me.equals(d.path.slice(0,3),p.path.slice(0,3)))if(Vt.string(c).length!==0){var h=de.findPath(u,c),E={anchor:U.start(u,h),focus:U.end(u,h)};u.select(E)}else s();else s()}else s()}else s()},u}};Oa("en",{videoModule:{delete:"Delete",uploadVideo:"Upload video",insertVideo:"Insert video",videoSrc:"Video source",videoSrcPlaceHolder:"Video file url, or third-party <iframe>",videoPoster:"Video poster",videoPosterPlaceHolder:"Poster image url",ok:"Ok",editSize:"Edit size",width:"Width",height:"Height"}}),Oa("zh-CN",{videoModule:{delete:"\u5220\u9664\u89C6\u9891",uploadVideo:"\u4E0A\u4F20\u89C6\u9891",insertVideo:"\u63D2\u5165\u89C6\u9891",videoSrc:"\u89C6\u9891\u5730\u5740",videoSrcPlaceHolder:"\u89C6\u9891\u6587\u4EF6 url \u6216\u7B2C\u4E09\u65B9 <iframe>",videoPoster:"\u89C6\u9891\u5C01\u9762",videoPosterPlaceHolder:"\u5C01\u9762\u56FE\u7247 url",ok:"\u786E\u5B9A",editSize:"\u4FEE\u6539\u5C3A\u5BF8",width:"\u5BBD\u5EA6",height:"\u9AD8\u5EA6"}});/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var v_=function(){return v_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},v_.apply(this,arguments)};function y_(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(l){try{u(r.next(l))}catch(c){o(c)}}function s(l){try{u(r.throw(l))}catch(c){o(c)}}function u(l){var c;l.done?i(l.value):(c=l.value,c instanceof n?c:new n(function(d){d(c)})).then(a,s)}u((r=r.apply(e,t||[])).next())})}function b_(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||c[0]!==6&&c[0]!==2)){a=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){a.label=c[1];break}if(c[0]===6&&a.label<i[1]){a.label=i[1],i=c;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(c);break}i[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(d){c=[6,d],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([u,l])}}}function id(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function Kfe(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(i){var o=typeof Symbol=="function"&&Symbol.iterator,a=o&&i[o],s=0;if(a)return a.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&s>=i.length&&(i=void 0),{value:i&&i[s++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(o){return new Promise(function(a,s){!function(u,l,c,d){Promise.resolve(d).then(function(p){u({value:p,done:c})},l)}(a,s,(o=e[i](o)).done,o.value)})}}}var _F=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof oe!="undefined"?oe:typeof self!="undefined"?self:{};function ET(e){var t={exports:{}};return e(t,t.exports),t.exports}var xc,__,E_=function(e){return e&&e.Math==Math&&e},Xt=E_(typeof globalThis=="object"&&globalThis)||E_(typeof window=="object"&&window)||E_(typeof self=="object"&&self)||E_(typeof _F=="object"&&_F)||function(){return this}()||Function("return this")(),ni=function(e){try{return!!e()}catch(t){return!0}},Su=!ni(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),xv=Function.prototype.call,$r=xv.bind?xv.bind(xv):function(){return xv.apply(xv,arguments)},EF={}.propertyIsEnumerable,wF=Object.getOwnPropertyDescriptor,Yfe={f:wF&&!EF.call({1:2},1)?function(e){var t=wF(this,e);return!!t&&t.enumerable}:EF},w_=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},OF=Function.prototype,wT=OF.bind,OT=OF.call,Xfe=wT&&wT.bind(OT),Xn=wT?function(e){return e&&Xfe(OT,e)}:function(e){return e&&function(){return OT.apply(e,arguments)}},Jfe=Xn({}.toString),Qfe=Xn("".slice),Tu=function(e){return Qfe(Jfe(e),8,-1)},AT=Xt.Object,Zfe=Xn("".split),CT=ni(function(){return!AT("z").propertyIsEnumerable(0)})?function(e){return Tu(e)=="String"?Zfe(e,""):AT(e)}:AT,qfe=Xt.TypeError,Sv=function(e){if(e==null)throw qfe("Can't call method on "+e);return e},Sc=function(e){return CT(Sv(e))},Gr=function(e){return typeof e=="function"},ai=function(e){return typeof e=="object"?e!==null:Gr(e)},$fe=function(e){return Gr(e)?e:void 0},od=function(e,t){return arguments.length<2?$fe(Xt[e]):Xt[e]&&Xt[e][t]},Tv=Xn({}.isPrototypeOf),up=od("navigator","userAgent")||"",AF=Xt.process,CF=Xt.Deno,xF=AF&&AF.versions||CF&&CF.version,SF=xF&&xF.v8;SF&&(__=(xc=SF.split("."))[0]>0&&xc[0]<4?1:+(xc[0]+xc[1])),!__&&up&&(!(xc=up.match(/Edge\/(\d+)/))||xc[1]>=74)&&(xc=up.match(/Chrome\/(\d+)/))&&(__=+xc[1]);var Dv=__,xT=!!Object.getOwnPropertySymbols&&!ni(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Dv&&Dv<41}),ST=xT&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ede=Xt.Object,TT=ST?function(e){return typeof e=="symbol"}:function(e){var t=od("Symbol");return Gr(t)&&Tv(t.prototype,ede(e))},tde=Xt.String,O_=function(e){try{return tde(e)}catch(t){return"Object"}},nde=Xt.TypeError,Tc=function(e){if(Gr(e))return e;throw nde(O_(e)+" is not a function")},Rv=function(e,t){var n=e[t];return n==null?void 0:Tc(n)},rde=Xt.TypeError,ide=Object.defineProperty,DT=function(e,t){try{ide(Xt,e,{value:t,configurable:!0,writable:!0})}catch(n){Xt[e]=t}return t},Dc=Xt["__core-js_shared__"]||DT("__core-js_shared__",{}),RT=ET(function(e){(e.exports=function(t,n){return Dc[t]||(Dc[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),ode=Xt.Object,A_=function(e){return ode(Sv(e))},ade=Xn({}.hasOwnProperty),po=Object.hasOwn||function(e,t){return ade(A_(e),t)},sde=0,ude=Math.random(),lde=Xn(1 .toString),NT=function(e){return"Symbol("+(e===void 0?"":e)+")_"+lde(++sde+ude,36)},Nv=RT("wks"),ad=Xt.Symbol,TF=ad&&ad.for,cde=ST?ad:ad&&ad.withoutSetter||NT,qi=function(e){if(!po(Nv,e)||!xT&&typeof Nv[e]!="string"){var t="Symbol."+e;xT&&po(ad,e)?Nv[e]=ad[e]:Nv[e]=ST&&TF?TF(t):cde(t)}return Nv[e]},fde=Xt.TypeError,dde=qi("toPrimitive"),IT=function(e){var t=function(n,r){if(!ai(n)||TT(n))return n;var i,o=Rv(n,dde);if(o){if(r===void 0&&(r="default"),i=$r(o,n,r),!ai(i)||TT(i))return i;throw fde("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,s){var u,l;if(s==="string"&&Gr(u=a.toString)&&!ai(l=$r(u,a)))return l;if(Gr(u=a.valueOf)&&!ai(l=$r(u,a)))return l;if(s!=="string"&&Gr(u=a.toString)&&!ai(l=$r(u,a)))return l;throw rde("Can't convert object to primitive value")}(n,r)}(e,"string");return TT(t)?t:t+""},PT=Xt.document,hde=ai(PT)&&ai(PT.createElement),Iv=function(e){return hde?PT.createElement(e):{}},DF=!Su&&!ni(function(){return Object.defineProperty(Iv("div"),"a",{get:function(){return 7}}).a!=7}),RF=Object.getOwnPropertyDescriptor,LT={f:Su?RF:function(e,t){if(e=Sc(e),t=IT(t),DF)try{return RF(e,t)}catch(n){}if(po(e,t))return w_(!$r(Yfe.f,e,t),e[t])}},pde=Xt.String,mde=Xt.TypeError,Io=function(e){if(ai(e))return e;throw mde(pde(e)+" is not an object")},gde=Xt.TypeError,NF=Object.defineProperty,ll={f:Su?NF:function(e,t,n){if(Io(e),t=IT(t),Io(n),DF)try{return NF(e,t,n)}catch(r){}if("get"in n||"set"in n)throw gde("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Rc=Su?function(e,t,n){return ll.f(e,t,w_(1,n))}:function(e,t,n){return e[t]=n,e},vde=Xn(Function.toString);Gr(Dc.inspectSource)||(Dc.inspectSource=function(e){return vde(e)});var C_,Pv,x_,S_=Dc.inspectSource,IF=Xt.WeakMap,PF=Gr(IF)&&/native code/.test(S_(IF)),LF=RT("keys"),MT=function(e){return LF[e]||(LF[e]=NT(e))},T_={},jT=Xt.TypeError,yde=Xt.WeakMap;if(PF||Dc.state){var sd=Dc.state||(Dc.state=new yde),bde=Xn(sd.get),MF=Xn(sd.has),_de=Xn(sd.set);C_=function(e,t){if(MF(sd,e))throw new jT("Object already initialized");return t.facade=e,_de(sd,e,t),t},Pv=function(e){return bde(sd,e)||{}},x_=function(e){return MF(sd,e)}}else{var lp=MT("state");T_[lp]=!0,C_=function(e,t){if(po(e,lp))throw new jT("Object already initialized");return t.facade=e,Rc(e,lp,t),t},Pv=function(e){return po(e,lp)?e[lp]:{}},x_=function(e){return po(e,lp)}}var Ya={set:C_,get:Pv,has:x_,enforce:function(e){return x_(e)?Pv(e):C_(e,{})},getterFor:function(e){return function(t){var n;if(!ai(t)||(n=Pv(t)).type!==e)throw jT("Incompatible receiver, "+e+" required");return n}}},jF=Function.prototype,Ede=Su&&Object.getOwnPropertyDescriptor,kT=po(jF,"name"),cp={EXISTS:kT,PROPER:kT&&function(){}.name==="something",CONFIGURABLE:kT&&(!Su||Su&&Ede(jF,"name").configurable)},Xa=ET(function(e){var t=cp.CONFIGURABLE,n=Ya.get,r=Ya.enforce,i=String(String).split("String");(e.exports=function(o,a,s,u){var l,c=!!u&&!!u.unsafe,d=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet,h=u&&u.name!==void 0?u.name:a;Gr(s)&&(String(h).slice(0,7)==="Symbol("&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!po(s,"name")||t&&s.name!==h)&&Rc(s,"name",h),(l=r(s)).source||(l.source=i.join(typeof h=="string"?h:""))),o!==Xt?(c?!p&&o[a]&&(d=!0):delete o[a],d?o[a]=s:Rc(o,a,s)):d?o[a]=s:DT(a,s)})(Function.prototype,"toString",function(){return Gr(this)&&n(this).source||S_(this)})}),wde=Math.ceil,Ode=Math.floor,D_=function(e){var t=+e;return t!=t||t===0?0:(t>0?Ode:wde)(t)},Ade=Math.max,Cde=Math.min,Lv=function(e,t){var n=D_(e);return n<0?Ade(n+t,0):Cde(n,t)},xde=Math.min,kF=function(e){return e>0?xde(D_(e),9007199254740991):0},Mv=function(e){return kF(e.length)},FF=function(e){return function(t,n,r){var i,o=Sc(t),a=Mv(o),s=Lv(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},BF={includes:FF(!0),indexOf:FF(!1)},Sde=BF.indexOf,UF=Xn([].push),HF=function(e,t){var n,r=Sc(e),i=0,o=[];for(n in r)!po(T_,n)&&po(r,n)&&UF(o,n);for(;t.length>i;)po(r,n=t[i++])&&(~Sde(o,n)||UF(o,n));return o},R_=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Tde=R_.concat("length","prototype"),N_={f:Object.getOwnPropertyNames||function(e){return HF(e,Tde)}},Dde={f:Object.getOwnPropertySymbols},Rde=Xn([].concat),Nde=od("Reflect","ownKeys")||function(e){var t=N_.f(Io(e)),n=Dde.f;return n?Rde(t,n(e)):t},Ide=function(e,t){for(var n=Nde(t),r=ll.f,i=LT.f,o=0;o<n.length;o++){var a=n[o];po(e,a)||r(e,a,i(t,a))}},Pde=/#|\.prototype\./,jv=function(e,t){var n=Mde[Lde(e)];return n==kde||n!=jde&&(Gr(t)?ni(t):!!t)},Lde=jv.normalize=function(e){return String(e).replace(Pde,".").toLowerCase()},Mde=jv.data={},jde=jv.NATIVE="N",kde=jv.POLYFILL="P",I_=jv,Fde=LT.f,Sa=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,l=e.stat;if(n=u?Xt:l?Xt[s]||DT(s,{}):(Xt[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=Fde(n,r))&&a.value:n[r],!I_(u?r:s+(l?".":"#")+r,e.forced)&&i!==void 0){if(typeof o==typeof i)continue;Ide(o,i)}(e.sham||i&&i.sham)&&Rc(o,"sham",!0),Xa(n,r,o,e)}},WF={};WF[qi("toStringTag")]="z";var FT=String(WF)==="[object z]",Bde=qi("toStringTag"),Ude=Xt.Object,Hde=Tu(function(){return arguments}())=="Arguments",P_=FT?Tu:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=Ude(e),Bde))=="string"?n:Hde?Tu(t):(r=Tu(t))=="Object"&&Gr(t.callee)?"Arguments":r},Wde=Xt.String,Ss=function(e){if(P_(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Wde(e)},BT=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,zF=Xn("".replace),L_="["+BT+"]",zde=RegExp("^"+L_+L_+"*"),Vde=RegExp(L_+L_+"*$"),UT=function(e){return function(t){var n=Ss(Sv(t));return 1&e&&(n=zF(n,zde,"")),2&e&&(n=zF(n,Vde,"")),n}},Gde={start:UT(1),end:UT(2),trim:UT(3)},Kde=cp.PROPER,Yde=Gde.trim;function VF(e){return e.length?e[0].tagName.toLowerCase():""}function GF(e,t,n){t===void 0&&(t="auto"),n===void 0&&(n="auto");var r=we(e);return r.attr("width",t),r.attr("height",n),r[0].outerHTML}Sa({target:"String",proto:!0,forced:ni(function(){return!!BT.trim()||"\u200B\x85\u180E".trim()!=="\u200B\x85\u180E"||Kde&&BT.trim.name!=="trim"})},{trim:function(){return Yde(this)}}),Sa({global:!0},{globalThis:Xt}),cs&&(we.fn.append=cs),pu&&(we.fn.on=pu),jl&&(we.fn.focus=jl),ls&&(we.fn.attr=ls),hu&&(we.fn.val=hu),Ml&&(we.fn.html=Ml),eh&&(we.fn.parent=eh),Zd&&(we.fn.hasClass=Zd),ih&&(we.fn.empty=ih);var M_,Xde={type:"video",renderElem:function(e,t,n){var r,i=e,o=i.src,a=o===void 0?"":o,s=i.poster,u=s===void 0?"":s,l=i.width,c=l===void 0?"auto":l,d=i.height,p=d===void 0?"auto":d,h=de.isNodeSelected(n,e);if(a.trim().indexOf("<iframe ")===0)r=Bn("div",{className:"w-e-textarea-video-container","data-selected":h?"true":"",innerHTML:GF(a,c,p)});else{var E=Bn("video",{poster:u,controls:!0},Bn("source",{src:a,type:"video/mp4"}),`Sorry, your browser doesn't support embedded videos.
\u62B1\u6B49\uFF0C\u6D4F\u89C8\u5668\u4E0D\u652F\u6301 video \u89C6\u9891`);c!=="auto"&&(E.data.width=c),p!=="auto"&&(E.data.height=p),r=Bn("div",{className:"w-e-textarea-video-container","data-selected":h?"true":""},E)}return oh("div",{props:{contentEditable:!1},on:{mousedown:function(g){return g.preventDefault()}}},r)}},Jde={type:"video",elemToHtml:function(e,t){var n=e,r=n.src,i=r===void 0?"":r,o=n.poster,a=o===void 0?"":o,s=n.width,u=s===void 0?"auto":s,l=n.height,c=l===void 0?"auto":l,d=`<div data-w-e-type="video" data-w-e-is-void>
`;return i.trim().indexOf("<iframe ")===0?d+=GF(i,u,c):d+='<video poster="'+a+'" controls="true" width="'+u+'" height="'+c+'"><source src="'+i+'" type="video/mp4"/></video>',d+`
</div>`}},Qde=Object.keys||function(e){return HF(e,R_)},Zde=Su?Object.defineProperties:function(e,t){Io(e);for(var n,r=Sc(t),i=Qde(t),o=i.length,a=0;o>a;)ll.f(e,n=i[a++],r[n]);return e},HT=od("document","documentElement"),KF=MT("IE_PROTO"),WT=function(){},YF=function(e){return"<script>"+e+"</script>"},XF=function(e){e.write(YF("")),e.close();var t=e.parentWindow.Object;return e=null,t},j_=function(){try{M_=new ActiveXObject("htmlfile")}catch(r){}var e,t;j_=typeof document!="undefined"?document.domain&&M_?XF(M_):((t=Iv("iframe")).style.display="none",HT.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(YF("document.F=Object")),e.close(),e.F):XF(M_);for(var n=R_.length;n--;)delete j_.prototype[R_[n]];return j_()};T_[KF]=!0;var zT=Object.create||function(e,t){var n;return e!==null?(WT.prototype=Io(e),n=new WT,WT.prototype=null,n[KF]=e):n=j_(),t===void 0?n:Zde(n,t)},VT=qi("unscopables"),GT=Array.prototype;GT[VT]==null&&ll.f(GT,VT,{configurable:!0,value:zT(null)});var kv=function(e){GT[VT][e]=!0},qde=BF.includes;Sa({target:"Array",proto:!0},{includes:function(e){return qde(this,e,arguments.length>1?arguments[1]:void 0)}}),kv("includes");var $de={selector:"iframe,video,p",preParseHtml:function(e){var t=we(e),n=t;if(VF(t)==="p"){var r=t.children();if(r.length===1){var i=r[0],o=i.tagName.toLowerCase();["iframe","video"].includes(o)&&(n=we(i))}}var a=VF(n);if(a!=="iframe"&&a!=="video")return n[0];if(n.parent().attr("data-w-e-type")==="video")return n[0];var s=we('<div data-w-e-type="video" data-w-e-is-void></div>');return s.append(n),s[0]}},JF=Xn(Xn.bind),Fv=function(e,t){return Tc(e),t===void 0?e:JF?JF(e,t):function(){return e.apply(t,arguments)}},k_=Array.isArray||function(e){return Tu(e)=="Array"},QF=function(){},ehe=[],ZF=od("Reflect","construct"),KT=/^\s*(?:class|function)\b/,the=Xn(KT.exec),nhe=!KT.exec(QF),Bv=function(e){if(!Gr(e))return!1;try{return ZF(QF,ehe,e),!0}catch(t){return!1}},YT=!ZF||ni(function(){var e;return Bv(Bv.call)||!Bv(Object)||!Bv(function(){e=!0})||e})?function(e){if(!Gr(e))return!1;switch(P_(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return nhe||!!the(KT,S_(e))}:Bv,rhe=qi("species"),qF=Xt.Array,ihe=function(e,t){return new(function(n){var r;return k_(n)&&(r=n.constructor,(YT(r)&&(r===qF||k_(r.prototype))||ai(r)&&(r=r[rhe])===null)&&(r=void 0)),r===void 0?qF:r}(e))(t===0?0:t)},$F=Xn([].push),Nc=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,E=A_(u),g=CT(E),y=Fv(l,c),_=Mv(g),m=0,T=d||ihe,R=t?T(u,_):n||a?T(u,0):void 0;_>m;m++)if((s||m in g)&&(h=y(p=g[m],m,E),e))if(t)R[m]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return m;case 2:$F(R,p)}else switch(e){case 4:return!1;case 7:$F(R,p)}return o?-1:r||i?i:R}},XT={forEach:Nc(0),map:Nc(1),filter:Nc(2),some:Nc(3),every:Nc(4),find:Nc(5),findIndex:Nc(6),filterReject:Nc(7)},ohe=XT.find,eB=!0;"find"in[]&&Array(1).find(function(){eB=!1}),Sa({target:"Array",proto:!0,forced:eB},{find:function(e){return ohe(this,e,arguments.length>1?arguments[1]:void 0)}}),kv("find");var ahe=FT?{}.toString:function(){return"[object "+P_(this)+"]"};function tB(e,t,n,r){return t===void 0&&(t=""),n===void 0&&(n="auto"),r===void 0&&(r="auto"),{type:"video",src:e,poster:t,width:n,height:r,children:[{text:""}]}}FT||Xa(Object.prototype,"toString",ahe,{unsafe:!0});var nB,JT,she={selector:'div[data-w-e-type="video"]',parseElemHtml:function(e,t,n){var r=we(e),i="",o="",a="auto",s="auto",u=r.find("iframe");if(u.length>0)return a=u.attr("width")||"auto",s=u.attr("height")||"auto",tB(i=u[0].outerHTML,o,a,s);var l=r.find("video");return(i=l.attr("src")||"")||l.length>0&&(i=l.find("source").attr("src")||""),a=l.attr("width")||"auto",s=l.attr("height")||"auto",tB(i,o=l.attr("poster")||"",a,s)}},rB=function(){var e=Io(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},QT=Xt.RegExp,ZT=ni(function(){var e=QT("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),uhe=ZT||ni(function(){return!QT("a","y").sticky}),lhe={BROKEN_CARET:ZT||ni(function(){var e=QT("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:uhe,UNSUPPORTED_Y:ZT},che=Xt.RegExp,fhe=ni(function(){var e=che(".","s");return!(e.dotAll&&e.exec(`
`)&&e.flags==="s")}),dhe=Xt.RegExp,hhe=ni(function(){var e=dhe("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),phe=Ya.get,mhe=RT("native-string-replace",String.prototype.replace),F_=RegExp.prototype.exec,qT=F_,ghe=Xn("".charAt),vhe=Xn("".indexOf),yhe=Xn("".replace),$T=Xn("".slice),e5=(JT=/b*/g,$r(F_,nB=/a/,"a"),$r(F_,JT,"a"),nB.lastIndex!==0||JT.lastIndex!==0),iB=lhe.BROKEN_CARET,t5=/()??/.exec("")[1]!==void 0;(e5||t5||iB||fhe||hhe)&&(qT=function(e){var t,n,r,i,o,a,s,u=this,l=phe(u),c=Ss(e),d=l.raw;if(d)return d.lastIndex=u.lastIndex,t=$r(qT,d,c),u.lastIndex=d.lastIndex,t;var p=l.groups,h=iB&&u.sticky,E=$r(rB,u),g=u.source,y=0,_=c;if(h&&(E=yhe(E,"y",""),vhe(E,"g")===-1&&(E+="g"),_=$T(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&ghe(c,u.lastIndex-1)!==`
`)&&(g="(?: "+g+")",_=" "+_,y++),n=new RegExp("^(?:"+g+")",E)),t5&&(n=new RegExp("^"+g+"$(?!\\s)",E)),e5&&(r=u.lastIndex),i=$r(F_,h?n:u,_),h?i?(i.input=$T(i.input,y),i[0]=$T(i[0],y),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:e5&&i&&(u.lastIndex=u.global?i.index+i[0].length:r),t5&&i&&i.length>1&&$r(mhe,i[0],n,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(i[o]=void 0)}),i&&p)for(i.groups=a=zT(null),o=0;o<p.length;o++)a[(s=p[o])[0]]=i[s[1]];return i});var B_=qT;Sa({target:"RegExp",proto:!0,forced:/./.exec!==B_},{exec:B_});var n5=Function.prototype,oB=n5.apply,bhe=n5.bind,aB=n5.call,sB=typeof Reflect=="object"&&Reflect.apply||(bhe?aB.bind(oB):function(){return aB.apply(oB,arguments)}),uB=(qi("species"),RegExp.prototype),_he=Xn("".charAt),lB=Xn("".charCodeAt),Ehe=Xn("".slice),cB=function(e){return function(t,n){var r,i,o=Ss(Sv(t)),a=D_(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=lB(o,a))<55296||r>56319||a+1===s||(i=lB(o,a+1))<56320||i>57343?e?_he(o,a):r:e?Ehe(o,a,a+2):i-56320+(r-55296<<10)+65536}},fB={codeAt:cB(!1),charAt:cB(!0)},whe=fB.charAt,Ohe=function(e,t,n){return t+(n?whe(e,t).length:1)},Ahe=Math.floor,r5=Xn("".charAt),Che=Xn("".replace),i5=Xn("".slice),xhe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,She=/\$([$&'`]|\d{1,2})/g,The=function(e,t,n,r,i,o){var a=n+e.length,s=r.length,u=She;return i!==void 0&&(i=A_(i),u=xhe),Che(o,u,function(l,c){var d;switch(r5(c,0)){case"$":return"$";case"&":return e;case"`":return i5(t,0,n);case"'":return i5(t,a);case"<":d=i[i5(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>s){var h=Ahe(p/10);return h===0?l:h<=s?r[h-1]===void 0?r5(c,1):r[h-1]+r5(c,1):l}d=r[p-1]}return d===void 0?"":d})},Dhe=Xt.TypeError,Rhe=function(e,t){var n=e.exec;if(Gr(n)){var r=$r(n,e,t);return r!==null&&Io(r),r}if(Tu(e)==="RegExp")return $r(B_,e,t);throw Dhe("RegExp#exec called on incompatible receiver")},o5=qi("replace"),Nhe=Math.max,Ihe=Math.min,Phe=Xn([].concat),a5=Xn([].push),dB=Xn("".indexOf),hB=Xn("".slice),Lhe="a".replace(/./,"$0")==="$0",pB=!!/./[o5]&&/./[o5]("a","$0")==="";function mB(e){return e===void 0&&(e="r"),e+"-"+a7()}!function(e,t,n,r){var i=qi(e),o=!ni(function(){var l={};return l[i]=function(){return 7},""[e](l)!=7}),a=o&&!ni(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[i](""),!l});if(!o||!a||n){var s=Xn(/./[i]),u=function(l,c,d){var p=pB?"$":"$0";return[function(h,E){var g=Sv(this),y=h==null?void 0:Rv(h,o5);return y?$r(y,h,g,E):$r(c,Ss(g),h,E)},function(h,E){var g=Io(this),y=Ss(h);if(typeof E=="string"&&dB(E,p)===-1&&dB(E,"$<")===-1){var _=d(c,g,y,E);if(_.done)return _.value}var m=Gr(E);m||(E=Ss(E));var T=g.global;if(T){var R=g.unicode;g.lastIndex=0}for(var W=[];;){var q=Rhe(g,y);if(q===null)break;if(a5(W,q),!T)break;Ss(q[0])===""&&(g.lastIndex=Ohe(y,kF(g.lastIndex),R))}for(var X,ge="",Ne=0,nt=0;nt<W.length;nt++){for(var dt=Ss((q=W[nt])[0]),rt=Nhe(Ihe(D_(q.index),y.length),0),Ct=[],yt=1;yt<q.length;yt++)a5(Ct,(X=q[yt])===void 0?X:String(X));var bt=q.groups;if(m){var Et=Phe([dt],Ct,rt,y);bt!==void 0&&a5(Et,bt);var Jt=Ss(sB(E,void 0,Et))}else Jt=The(dt,y,rt,Ct,bt,E);rt>=Ne&&(ge+=hB(y,Ne,rt)+Jt,Ne=rt+dt.length)}return ge+hB(y,Ne)}]}(0,""[e],function(l,c,d,p,h){var E=Xn(l),g=c.exec;return g===B_||g===uB.exec?o&&!h?{done:!0,value:s(c,d,p)}:{done:!0,value:E(d,c,p)}:{done:!1}});Xa(String.prototype,e,u[0]),Xa(uB,i,u[1])}}("replace",0,!!ni(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!Lhe||pB);var U_=Xt.Promise,H_=function(e,t,n){for(var r in t)Xa(e,r,t[r],n);return e},Mhe=Xt.String,jhe=Xt.TypeError,fp=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Xn(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,i){return Io(r),function(o){if(typeof o=="object"||Gr(o))return o;throw jhe("Can't set "+Mhe(o)+" as a prototype")}(i),t?e(r,i):r.__proto__=i,r}}():void 0),khe=ll.f,gB=qi("toStringTag"),W_=function(e,t,n){e&&!po(e=n?e:e.prototype,gB)&&khe(e,gB,{configurable:!0,value:t})},vB=qi("species"),Fhe=Xt.TypeError,s5=function(e,t){if(Tv(t,e))return e;throw Fhe("Incorrect invocation")},dp={},Bhe=qi("iterator"),Uhe=Array.prototype,Hhe=qi("iterator"),yB=function(e){if(e!=null)return Rv(e,Hhe)||Rv(e,"@@iterator")||dp[P_(e)]},Whe=Xt.TypeError,bB=function(e,t,n){var r,i;Io(e);try{if(!(r=Rv(e,"return"))){if(t==="throw")throw n;return n}r=$r(r,e)}catch(o){i=!0,r=o}if(t==="throw")throw n;if(i)throw r;return Io(r),n},zhe=Xt.TypeError,z_=function(e,t){this.stopped=e,this.result=t},_B=z_.prototype,V_=function(e,t,n){var r,i,o,a,s,u,l,c,d=n&&n.that,p=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_ITERATOR),E=!(!n||!n.INTERRUPTED),g=Fv(t,d),y=function(m){return r&&bB(r,"normal",m),new z_(!0,m)},_=function(m){return p?(Io(m),E?g(m[0],m[1],y):g(m[0],m[1])):E?g(m,y):g(m)};if(h)r=e;else{if(!(i=yB(e)))throw zhe(O_(e)+" is not iterable");if((c=i)!==void 0&&(dp.Array===c||Uhe[Bhe]===c)){for(o=0,a=Mv(e);a>o;o++)if((s=_(e[o]))&&Tv(_B,s))return s;return new z_(!1)}r=function(m,T){var R=arguments.length<2?yB(m):T;if(Tc(R))return Io($r(R,m));throw Whe(O_(m)+" is not iterable")}(e,i)}for(u=r.next;!(l=$r(u,r)).done;){try{s=_(l.value)}catch(m){bB(r,"throw",m)}if(typeof s=="object"&&s&&Tv(_B,s))return s}return new z_(!1)},EB=qi("iterator"),wB=!1;try{var Vhe=0,OB={next:function(){return{done:!!Vhe++}},return:function(){wB=!0}};OB[EB]=function(){return this},Array.from(OB,function(){throw 2})}catch(e){}var Uv,hp,AB,u5,CB=function(e,t){if(!t&&!wB)return!1;var n=!1;try{var r={};r[EB]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(i){}return n},Ghe=Xt.TypeError,Khe=qi("species"),xB=Xn([].slice),SB=/(?:ipad|iphone|ipod).*applewebkit/i.test(up),Ic=Tu(Xt.process)=="process",l5=Xt.setImmediate,c5=Xt.clearImmediate,Yhe=Xt.process,f5=Xt.Dispatch,Xhe=Xt.Function,TB=Xt.MessageChannel,Jhe=Xt.String,d5=0,Hv={};try{Uv=Xt.location}catch(e){}var h5=function(e){if(po(Hv,e)){var t=Hv[e];delete Hv[e],t()}},p5=function(e){return function(){h5(e)}},DB=function(e){h5(e.data)},RB=function(e){Xt.postMessage(Jhe(e),Uv.protocol+"//"+Uv.host)};l5&&c5||(l5=function(e){var t=xB(arguments,1);return Hv[++d5]=function(){sB(Gr(e)?e:Xhe(e),void 0,t)},hp(d5),d5},c5=function(e){delete Hv[e]},Ic?hp=function(e){Yhe.nextTick(p5(e))}:f5&&f5.now?hp=function(e){f5.now(p5(e))}:TB&&!SB?(u5=(AB=new TB).port2,AB.port1.onmessage=DB,hp=Fv(u5.postMessage,u5)):Xt.addEventListener&&Gr(Xt.postMessage)&&!Xt.importScripts&&Uv&&Uv.protocol!=="file:"&&!ni(RB)?(hp=RB,Xt.addEventListener("message",DB,!1)):hp="onreadystatechange"in Iv("script")?function(e){HT.appendChild(Iv("script")).onreadystatechange=function(){HT.removeChild(this),h5(e)}}:function(e){setTimeout(p5(e),0)});var Wv,ud,zv,pp,m5,g5,v5,NB,IB={set:l5,clear:c5},Qhe=/ipad|iphone|ipod/i.test(up)&&Xt.Pebble!==void 0,Zhe=/web0s(?!.*chrome)/i.test(up),qhe=LT.f,y5=IB.set,PB=Xt.MutationObserver||Xt.WebKitMutationObserver,LB=Xt.document,MB=Xt.process,G_=Xt.Promise,jB=qhe(Xt,"queueMicrotask"),kB=jB&&jB.value;kB||(Wv=function(){var e,t;for(Ic&&(e=MB.domain)&&e.exit();ud;){t=ud.fn,ud=ud.next;try{t()}catch(n){throw ud?pp():zv=void 0,n}}zv=void 0,e&&e.enter()},SB||Ic||Zhe||!PB||!LB?!Qhe&&G_&&G_.resolve?((v5=G_.resolve(void 0)).constructor=G_,NB=Fv(v5.then,v5),pp=function(){NB(Wv)}):Ic?pp=function(){MB.nextTick(Wv)}:(y5=Fv(y5,Xt),pp=function(){y5(Wv)}):(m5=!0,g5=LB.createTextNode(""),new PB(Wv).observe(g5,{characterData:!0}),pp=function(){g5.data=m5=!m5}));var b5,FB,BB,UB,HB=kB||function(e){var t={fn:e,next:void 0};zv&&(zv.next=t),ud||(ud=t,pp()),zv=t},$he=function(e){var t,n;this.promise=new e(function(r,i){if(t!==void 0||n!==void 0)throw TypeError("Bad Promise constructor");t=r,n=i}),this.resolve=Tc(t),this.reject=Tc(n)},_5={f:function(e){return new $he(e)}},E5=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},epe=typeof window=="object",WB=IB.set,tpe=qi("species"),cl="Promise",zB=Ya.getterFor(cl),npe=Ya.set,rpe=Ya.getterFor(cl),ld=U_&&U_.prototype,Du=U_,Vv=ld,VB=Xt.TypeError,w5=Xt.document,O5=Xt.process,mp=_5.f,ipe=mp,ope=!!(w5&&w5.createEvent&&Xt.dispatchEvent),GB=Gr(Xt.PromiseRejectionEvent),KB=!1,Gv=I_(cl,function(){var e=S_(Du),t=e!==String(Du);if(!t&&Dv===66)return!0;if(Dv>=51&&/native code/.test(e))return!1;var n=new Du(function(i){i(1)}),r=function(i){i(function(){},function(){})};return(n.constructor={})[tpe]=r,!(KB=n.then(function(){})instanceof r)||!t&&epe&&!GB}),ape=Gv||!CB(function(e){Du.all(e).catch(function(){})}),YB=function(e){var t;return!(!ai(e)||!Gr(t=e.then))&&t},A5=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;HB(function(){for(var r=e.value,i=e.state==1,o=0;n.length>o;){var a,s,u,l=n[o++],c=i?l.ok:l.fail,d=l.resolve,p=l.reject,h=l.domain;try{c?(i||(e.rejection===2&&upe(e),e.rejection=1),c===!0?a=r:(h&&h.enter(),a=c(r),h&&(h.exit(),u=!0)),a===l.promise?p(VB("Promise-chain cycle")):(s=YB(a))?$r(s,a,d,p):d(a)):p(r)}catch(E){h&&!u&&h.exit(),p(E)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&spe(e)})}},XB=function(e,t,n){var r,i;ope?((r=w5.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Xt.dispatchEvent(r)):r={promise:t,reason:n},!GB&&(i=Xt["on"+e])?i(r):e==="unhandledrejection"&&function(o,a){var s=Xt.console;s&&s.error&&(arguments.length==1?s.error(o):s.error(o,a))}("Unhandled promise rejection",n)},spe=function(e){$r(WB,Xt,function(){var t,n=e.facade,r=e.value;if(JB(e)&&(t=E5(function(){Ic?O5.emit("unhandledRejection",r,n):XB("unhandledrejection",n,r)}),e.rejection=Ic||JB(e)?2:1,t.error))throw t.value})},JB=function(e){return e.rejection!==1&&!e.parent},upe=function(e){$r(WB,Xt,function(){var t=e.facade;Ic?O5.emit("rejectionHandled",t):XB("rejectionhandled",t,e.value)})},gp=function(e,t,n){return function(r){e(t,r,n)}},vp=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,A5(e,!0))},C5=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw VB("Promise can't be resolved itself");var r=YB(t);r?HB(function(){var i={done:!1};try{$r(r,t,gp(C5,i,e),gp(vp,i,e))}catch(o){vp(i,o,e)}}):(e.value=t,e.state=1,A5(e,!1))}catch(i){vp({done:!1},i,e)}}};if(Gv&&(Vv=(Du=function(e){s5(this,Vv),Tc(e),$r(b5,this);var t=zB(this);try{e(gp(C5,t),gp(vp,t))}catch(n){vp(t,n)}}).prototype,(b5=function(e){npe(this,{type:cl,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=H_(Vv,{then:function(e,t){var n=rpe(this),r=n.reactions,i=mp(function(o,a){var s,u=Io(o).constructor;return u===void 0||(s=Io(u)[Khe])==null?a:function(l){if(YT(l))return l;throw Ghe(O_(l)+" is not a constructor")}(s)}(this,Du));return i.ok=!Gr(e)||e,i.fail=Gr(t)&&t,i.domain=Ic?O5.domain:void 0,n.parent=!0,r[r.length]=i,n.state!=0&&A5(n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),FB=function(){var e=new b5,t=zB(e);this.promise=e,this.resolve=gp(C5,t),this.reject=gp(vp,t)},_5.f=mp=function(e){return e===Du||e===BB?new FB(e):ipe(e)},Gr(U_)&&ld!==Object.prototype)){UB=ld.then,KB||(Xa(ld,"then",function(e,t){var n=this;return new Du(function(r,i){$r(UB,n,r,i)}).then(e,t)},{unsafe:!0}),Xa(ld,"catch",Vv.catch,{unsafe:!0}));try{delete ld.constructor}catch(e){}fp&&fp(ld,Vv)}function Kv(e,t,n){return n===void 0&&(n=""),y_(this,void 0,void 0,function(){var r,i,o,a,s,u,l;return b_(this,function(c){switch(c.label){case 0:return t?(e.restoreSelection(),r=e.getMenuConfig("insertVideo"),i=r.onInsertedVideo,o=r.checkVideo,a=r.parseVideoSrc,[4,o(t,n)]):[2];case 1:return typeof(s=c.sent())=="string"?(e.alert(s,"error"),[2]):s==null?[2]:[4,a(t)];case 2:return(u=c.sent()).trim().indexOf("<iframe ")!==0&&(u=u.replace(/</g,"&lt;").replace(/>/g,"&gt;")),l={type:"video",src:u,poster:n,children:[{text:""}]},Promise.resolve().then(function(){He.insertNodes(e,l)}),i(l),[2]}})})}function x5(){return mB("w-e-insert-video")}Sa({global:!0,wrap:!0,forced:Gv},{Promise:Du}),W_(Du,cl,!1),function(e){var t=od("Promise"),n=ll.f;Su&&t&&!t[vB]&&n(t,vB,{configurable:!0,get:function(){return this}})}(),BB=od(cl),Sa({target:cl,stat:!0,forced:Gv},{reject:function(e){var t=mp(this);return $r(t.reject,void 0,e),t.promise}}),Sa({target:cl,stat:!0,forced:Gv},{resolve:function(e){return function(t,n){if(Io(t),ai(n)&&n.constructor===t)return n;var r=_5.f(t);return(0,r.resolve)(n),r.promise}(this,e)}}),Sa({target:cl,stat:!0,forced:ape},{all:function(e){var t=this,n=mp(t),r=n.resolve,i=n.reject,o=E5(function(){var a=Tc(t.resolve),s=[],u=0,l=1;V_(e,function(c){var d=u++,p=!1;l++,$r(a,t,c).then(function(h){p||(p=!0,s[d]=h,--l||r(s))},i)}),--l||r(s)});return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=mp(t),r=n.reject,i=E5(function(){var o=Tc(t.resolve);V_(e,function(a){$r(o,t,a).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}});var lpe=function(){function e(){this.title=Gt("videoModule.insertVideo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.srcInputId=x5(),this.posterInputId=x5(),this.buttonId=x5()}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!$e.isCollapsed(n)||!!de.getSelectedElems(t).some(function(r){var i=de.getNodeType(r);return i==="pre"||i==="list-item"||!!t.isVoid(r)})},e.prototype.getModalPositionNode=function(t){return null},e.prototype.getModalContentElem=function(t){var n=this,r=this,i=r.srcInputId,o=r.posterInputId,a=r.buttonId,s=id(Ha(Gt("videoModule.videoSrc"),i,Gt("videoModule.videoSrcPlaceHolder")),2),u=s[0],l=s[1],c=id(Ha(Gt("videoModule.videoPoster"),o,Gt("videoModule.videoPosterPlaceHolder")),2),d=c[0],p=c[1],h=we(l),E=we(p),g=id(Ih(a,Gt("videoModule.ok")),1)[0];if(this.$content==null){var y=we("<div></div>");y.on("click","#"+a,function(m){return y_(n,void 0,void 0,function(){var T,R;return b_(this,function(W){switch(W.label){case 0:return m.preventDefault(),T=y.find("#"+i).val().trim(),R=y.find("#"+o).val().trim(),[4,Kv(t,T,R)];case 1:return W.sent(),t.hidePanelOrModal(),[2]}})})}),this.$content=y}var _=this.$content;return _.empty(),_.append(u),_.append(d),_.append(g),h.val(""),E.val(""),setTimeout(function(){h.focus()}),_[0]},e}(),cpe=Xn([].join),fpe=CT!=Object,dpe=function(e,t){var n=[].join;return!!n&&ni(function(){n.call(null,",",1)})}();Sa({target:"Array",proto:!0,forced:fpe||!dpe},{join:function(e){return cpe(Sc(this),e===void 0?",":e)}});var cd,QB,ZB,hpe=!ni(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),qB=MT("IE_PROTO"),S5=Xt.Object,ppe=S5.prototype,K_=hpe?S5.getPrototypeOf:function(e){var t=A_(e);if(po(t,qB))return t[qB];var n=t.constructor;return Gr(n)&&t instanceof n?n.prototype:t instanceof S5?ppe:null},T5=qi("iterator"),$B=!1;[].keys&&("next"in(ZB=[].keys())?(QB=K_(K_(ZB)))!==Object.prototype&&(cd=QB):$B=!0);var mpe=cd==null||ni(function(){var e={};return cd[T5].call(e)!==e});mpe&&(cd={}),Gr(cd[T5])||Xa(cd,T5,function(){return this});var D5={IteratorPrototype:cd,BUGGY_SAFARI_ITERATORS:$B},gpe=D5.IteratorPrototype,vpe=function(){return this},ype=cp.PROPER,bpe=cp.CONFIGURABLE,eU=D5.IteratorPrototype,Y_=D5.BUGGY_SAFARI_ITERATORS,Yv=qi("iterator"),_pe=function(){return this},tU=function(e,t,n,r,i,o,a){!function(_,m,T,R){var W=m+" Iterator";_.prototype=zT(gpe,{next:w_(1,T)}),W_(_,W,!1),dp[W]=vpe}(n,t,r);var s,u,l,c=function(_){if(_===i&&g)return g;if(!Y_&&_ in h)return h[_];switch(_){case"keys":case"values":case"entries":return function(){return new n(this,_)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,E=h[Yv]||h["@@iterator"]||i&&h[i],g=!Y_&&E||c(i),y=t=="Array"&&h.entries||E;if(y&&(s=K_(y.call(new e)))!==Object.prototype&&s.next&&(K_(s)!==eU&&(fp?fp(s,eU):Gr(s[Yv])||Xa(s,Yv,_pe)),W_(s,d,!0)),ype&&i=="values"&&E&&E.name!=="values"&&(bpe?Rc(h,"name","values"):(p=!0,g=function(){return $r(E,this)})),i)if(u={values:c("values"),keys:o?g:c("keys"),entries:c("entries")},a)for(l in u)(Y_||p||!(l in h))&&Xa(h,l,u[l]);else Sa({target:t,proto:!0,forced:Y_||p},u);return h[Yv]!==g&&Xa(h,Yv,g,{name:i}),dp[t]=g,u},Epe=Ya.set,wpe=Ya.getterFor("Array Iterator"),Xv=tU(Array,"Array",function(e,t){Epe(this,{type:"Array Iterator",target:Sc(e),index:0,kind:t})},function(){var e=wpe(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");dp.Arguments=dp.Array,kv("keys"),kv("values"),kv("entries");var Ope=fB.charAt,Ape=Ya.set,Cpe=Ya.getterFor("String Iterator");tU(String,"String",function(e){Ape(this,{type:"String Iterator",string:Ss(e),index:0})},function(){var e,t=Cpe(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Ope(n,r),t.index+=e.length,{value:e,done:!1})});var nU=function(e,t,n){var r=IT(t);r in e?ll.f(e,r,w_(0,n)):e[r]=n},xpe=Xt.Array,Spe=Math.max,rU=N_.f,iU=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Tpe={f:function(e){return iU&&Tu(e)=="Window"?function(t){try{return rU(t)}catch(n){return function(r,i,o){for(var a=Mv(r),s=Lv(void 0,a),u=Lv(a,a),l=xpe(Spe(u-s,0)),c=0;s<u;s++,c++)nU(l,c,r[s]);return l.length=c,l}(iU)}}(e):rU(Sc(e))}},oU=ni(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),X_=Object.isExtensible,fd=ni(function(){X_(1)})||oU?function(e){return!!ai(e)&&(!oU||Tu(e)!="ArrayBuffer")&&(!X_||X_(e))}:X_,Dpe=!ni(function(){return Object.isExtensible(Object.preventExtensions({}))}),R5=ET(function(e){var t=ll.f,n=!1,r=NT("meta"),i=0,o=function(s){t(s,r,{value:{objectID:"O"+i++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var s=N_.f,u=Xn([].splice),l={};l[r]=1,s(l).length&&(N_.f=function(c){for(var d=s(c),p=0,h=d.length;p<h;p++)if(d[p]===r){u(d,p,1);break}return d},Sa({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Tpe.f}))},fastKey:function(s,u){if(!ai(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!po(s,r)){if(!fd(s))return"F";if(!u)return"E";o(s)}return s[r].objectID},getWeakData:function(s,u){if(!po(s,r)){if(!fd(s))return!0;if(!u)return!1;o(s)}return s[r].weakData},onFreeze:function(s){return Dpe&&n&&fd(s)&&!po(s,r)&&o(s),s}};T_[r]=!0}),J_=R5.getWeakData,Rpe=Ya.set,Npe=Ya.getterFor,Ipe=XT.find,Ppe=XT.findIndex,Lpe=Xn([].splice),Mpe=0,Q_=function(e){return e.frozen||(e.frozen=new aU)},aU=function(){this.entries=[]},N5=function(e,t){return Ipe(e.entries,function(n){return n[0]===t})};aU.prototype={get:function(e){var t=N5(this,e);if(t)return t[1]},has:function(e){return!!N5(this,e)},set:function(e,t){var n=N5(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=Ppe(this.entries,function(n){return n[0]===e});return~t&&Lpe(this.entries,t,1),!!~t}};var Jv,sU={getConstructor:function(e,t,n,r){var i=e(function(u,l){s5(u,o),Rpe(u,{type:t,id:Mpe++,frozen:void 0}),l!=null&&V_(l,u[r],{that:u,AS_ENTRIES:n})}),o=i.prototype,a=Npe(t),s=function(u,l,c){var d=a(u),p=J_(Io(l),!0);return p===!0?Q_(d).set(l,c):p[d.id]=c,u};return H_(o,{delete:function(u){var l=a(this);if(!ai(u))return!1;var c=J_(u);return c===!0?Q_(l).delete(u):c&&po(c,l.id)&&delete c[l.id]},has:function(u){var l=a(this);if(!ai(u))return!1;var c=J_(u);return c===!0?Q_(l).has(u):c&&po(c,l.id)}}),H_(o,n?{get:function(u){var l=a(this);if(ai(u)){var c=J_(u);return c===!0?Q_(l).get(u):c?c[l.id]:void 0}},set:function(u,l){return s(this,u,l)}}:{add:function(u){return s(this,u,!0)}}),i}},Z_=Ya.enforce,jpe=!Xt.ActiveXObject&&"ActiveXObject"in Xt,uU=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},kpe=function(e,t,n){var r=e.indexOf("Map")!==-1,i=e.indexOf("Weak")!==-1,o=r?"set":"add",a=Xt[e],s=a&&a.prototype,u=a,l={},c=function(y){var _=Xn(s[y]);Xa(s,y,y=="add"?function(m){return _(this,m===0?0:m),this}:y=="delete"?function(m){return!(i&&!ai(m))&&_(this,m===0?0:m)}:y=="get"?function(m){return i&&!ai(m)?void 0:_(this,m===0?0:m)}:y=="has"?function(m){return!(i&&!ai(m))&&_(this,m===0?0:m)}:function(m,T){return _(this,m===0?0:m,T),this})};if(I_(e,!Gr(a)||!(i||s.forEach&&!ni(function(){new a().entries().next()}))))u=n.getConstructor(t,e,r,o),R5.enable();else if(I_(e,!0)){var d=new u,p=d[o](i?{}:-0,1)!=d,h=ni(function(){d.has(1)}),E=CB(function(y){new a(y)}),g=!i&&ni(function(){for(var y=new a,_=5;_--;)y[o](_,_);return!y.has(-0)});E||((u=t(function(y,_){s5(y,s);var m=function(T,R,W){var q,X;return fp&&Gr(q=R.constructor)&&q!==W&&ai(X=q.prototype)&&X!==W.prototype&&fp(T,X),T}(new a,y,u);return _!=null&&V_(_,m[o],{that:m,AS_ENTRIES:r}),m})).prototype=s,s.constructor=u),(h||g)&&(c("delete"),c("has"),r&&c("get")),(g||p)&&c(o),i&&s.clear&&delete s.clear}return l[e]=u,Sa({global:!0,forced:u!=a},l),W_(u,e),i||n.setStrong(u,e,r),u}("WeakMap",uU,sU);if(PF&&jpe){Jv=sU.getConstructor(uU,"WeakMap",!0),R5.enable();var Qv=kpe.prototype,lU=Xn(Qv.delete),q_=Xn(Qv.has),cU=Xn(Qv.get),fU=Xn(Qv.set);H_(Qv,{delete:function(e){if(ai(e)&&!fd(e)){var t=Z_(this);return t.frozen||(t.frozen=new Jv),lU(this,e)||t.frozen.delete(e)}return lU(this,e)},has:function(e){if(ai(e)&&!fd(e)){var t=Z_(this);return t.frozen||(t.frozen=new Jv),q_(this,e)||t.frozen.has(e)}return q_(this,e)},get:function(e){if(ai(e)&&!fd(e)){var t=Z_(this);return t.frozen||(t.frozen=new Jv),q_(this,e)?cU(this,e):t.frozen.get(e)}return cU(this,e)},set:function(e,t){if(ai(e)&&!fd(e)){var n=Z_(this);n.frozen||(n.frozen=new Jv),q_(this,e)?fU(this,e,t):n.frozen.set(e,t)}else fU(this,e,t);return this}})}var dU={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},I5=Iv("span").classList,hU=I5&&I5.constructor&&I5.constructor.prototype,Fpe=hU===Object.prototype?void 0:hU,P5=qi("iterator"),pU=qi("toStringTag"),L5=Xv.values,mU=function(e,t){if(e){if(e[P5]!==L5)try{Rc(e,P5,L5)}catch(r){e[P5]=L5}if(e[pU]||Rc(e,pU,t),dU[t]){for(var n in Xv)if(e[n]!==Xv[n])try{Rc(e,n,Xv[n])}catch(r){e[n]=Xv[n]}}}};for(var M5 in dU)mU(Xt[M5]&&Xt[M5].prototype,M5);mU(Fpe,"DOMTokenList");var Bpe=cp.EXISTS,Upe=ll.f,gU=Function.prototype,Hpe=Xn(gU.toString),vU=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Wpe=Xn(vU.exec);Su&&!Bpe&&Upe(gU,"name",{configurable:!0,get:function(){try{return Wpe(vU,Hpe(this))[1]}catch(e){return""}}});var zpe=qi("species"),Vpe=Dv>=51||!ni(function(){var e=[];return(e.constructor={})[zpe]=function(){return{foo:1}},e.slice(Boolean).foo!==1}),Gpe=qi("species"),j5=Xt.Array,Kpe=Math.max;function yU(e){return e.getMenuConfig("uploadVideo")}Sa({target:"Array",proto:!0,forced:!Vpe},{slice:function(e,t){var n,r,i,o=Sc(this),a=Mv(o),s=Lv(e,a),u=Lv(t===void 0?a:t,a);if(k_(o)&&(n=o.constructor,(YT(n)&&(n===j5||k_(n.prototype))||ai(n)&&(n=n[Gpe])===null)&&(n=void 0),n===j5||n===void 0))return xB(o,s,u);for(r=new(n===void 0?j5:n)(Kpe(u-s,0)),i=0;s<u;s++,i++)s in o&&nU(r,i,o[s]);return r.length=i,r}});var bU=new WeakMap;function Ype(e,t){return y_(this,void 0,void 0,function(){var n,r,i,o;return b_(this,function(a){switch(a.label){case 0:return n=function(s){var u=bU.get(s);if(u!=null)return u;var l=yU(s),c=l.onSuccess,d=l.onProgress,p=l.onFailed,h=l.customInsert,E=l.onError;return u=_9(v_(v_({},l),{onProgress:function(g){s.showProgressBar(g),d&&d(g)},onSuccess:function(g,y){if(h)return h(y,function(ge,Ne){return Kv(s,ge,Ne)}),void c(g,y);var _=y.errno,m=_===void 0?1:_,T=y.data,R=T===void 0?{}:T;if(m===0){var W=R.url,q=W===void 0?"":W,X=R.poster;Kv(s,q,X===void 0?"":X),c(g,y)}else p(g,y)},onError:function(g,y,_){E(g,y,_)}})),bU.set(s,u),u}(e),r=t.name,i=t.type,o=t.size,n.addFile({name:r,type:i,size:o,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}})})}var Xpe=function(){function e(){this.title=Gt("videoModule.uploadVideo"),this.iconSvg='<svg viewBox="0 0 1056 1024"><path d="M805.902261 521.819882a251.441452 251.441452 0 0 0-251.011972 246.600033 251.051015 251.051015 0 1 0 502.023944 8.823877 253.237463 253.237463 0 0 0-251.011972-255.42391z m59.463561 240.001647v129.898403h-116.701631v-129.898403h-44.041298l101.279368-103.504859 101.279368 103.504859z" p-id="6802"></path><path d="M788.254507 0.000781H99.094092A98.663439 98.663439 0 0 0 0.001171 99.093701v590.067495a98.663439 98.663439 0 0 0 99.092921 99.092921h411.7549a266.434235 266.434235 0 0 1-2.186448-41.815807 275.843767 275.843767 0 0 1 275.180024-270.729042 270.650955 270.650955 0 0 1 103.504859 19.834201V99.093701A101.51363 101.51363 0 0 0 788.254507 0.000781zM295.054441 640.747004V147.507894l394.146189 246.600033z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){var r=this.getMenuConfig(t),i=r.allowedFileTypes,o=i===void 0?[]:i,a=r.customBrowseAndUpload;if(a)a(function(c,d){return Kv(t,c,d)});else{var s="";o.length>0&&(s='accept="'+o.join(", ")+'"');var u=we("body"),l=we('<input type="file" '+s+" multiple/>");l.hide(),u.append(l),l.click(),l.on("change",function(){var c=l[0].files;!function(d,p){var h,E;y_(this,void 0,void 0,function(){var g,y,_,m,T,R;return b_(this,function(W){switch(W.label){case 0:if(p==null)return[2];g=Array.prototype.slice.call(p),y=yU(d).customUpload,W.label=1;case 1:W.trys.push([1,9,10,15]),_=Kfe(g),W.label=2;case 2:return[4,_.next()];case 3:return(m=W.sent()).done?[3,8]:(T=m.value,y?[4,y(T,function(q,X){return Kv(d,q,X)})]:[3,5]);case 4:return W.sent(),[3,7];case 5:return[4,Ype(d,T)];case 6:W.sent(),W.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return R=W.sent(),h={error:R},[3,15];case 10:return W.trys.push([10,,13,14]),m&&!m.done&&(E=_.return)?[4,E.call(_)]:[3,12];case 11:W.sent(),W.label=12;case 12:return[3,14];case 13:if(h)throw h.error;return[7];case 14:return[7];case 15:return[2]}})})}(t,c)})}},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!$e.isCollapsed(n)||!!de.getSelectedElems(t).some(function(r){var i=de.getNodeType(r);return i==="pre"||i==="list-item"||!!t.isVoid(r)})},e.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadVideo")},e}(),Jpe=cp.PROPER,k5=RegExp.prototype,_U=k5.toString,Qpe=Xn(rB),Zpe=ni(function(){return _U.call({source:"a",flags:"b"})!="/a/b"}),qpe=Jpe&&_U.name!="toString";function F5(){return mB("w-e-insert-video")}(Zpe||qpe)&&Xa(RegExp.prototype,"toString",function(){var e=Io(this),t=Ss(e.source),n=e.flags;return"/"+t+"/"+Ss(n===void 0&&Tv(k5,e)&&!("flags"in k5)?Qpe(e):n)},{unsafe:!0});var $pe=function(){function e(){this.title=Gt("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=F5(),this.heightInputId=F5(),this.buttonId=F5()}return e.prototype.getSelectedVideoNode=function(t){return de.getSelectedNodeByType(t,"video")},e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedVideoNode(t)==null},e.prototype.getModalPositionNode=function(t){return this.getSelectedVideoNode(t)},e.prototype.getModalContentElem=function(t){var n=this,r=n.widthInputId,i=n.heightInputId,o=n.buttonId,a=id(Ha(Gt("videoModule.width"),r,"auto"),2),s=a[0],u=we(a[1]),l=id(Ha(Gt("videoModule.height"),i,"auto"),2),c=l[0],d=we(l[1]),p=id(Ih(o,Gt("videoModule.ok")),1)[0];if(this.$content==null){var h=we("<div></div>");h.on("click","#"+o,function(R){R.preventDefault();var W=h.find("#"+r).val().trim(),q=h.find("#"+i).val().trim(),X=parseInt(W),ge=parseInt(q),Ne=X?X.toString():"auto",nt=ge?ge.toString():"auto";t.restoreSelection(),He.setNodes(t,{width:Ne,height:nt},{match:function(dt){return de.checkNodeType(dt,"video")}}),t.hidePanelOrModal()}),this.$content=h}var E=this.$content;E.empty(),E.append(s),E.append(c),E.append(p);var g=this.getSelectedVideoNode(t);if(g==null)return E[0];var y=g.width,_=y===void 0?"auto":y,m=g.height,T=m===void 0?"auto":m;return u.val(_),d.val(T),setTimeout(function(){u.focus()}),E[0]},e}(),eme={renderElems:[Xde],elemsToHtml:[Jde],preParseHtml:[$de],parseElemsHtml:[she],menus:[{key:"insertVideo",factory:function(){return new lpe},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0},parseVideoSrc:function(e){return e}}},{key:"uploadVideo",factory:function(){return new Xpe},config:{server:"",fieldName:"wangeditor-uploaded-video",maxFileSize:10485760,maxNumberOfFiles:5,allowedFileTypes:["video/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+" upload error",t,n)}}},{key:"editVideoSize",factory:function(){return new $pe}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(i){return i.type==="video"||t(i)},r.normalizeNode=function(i){var o=id(i,2),a=o[0],s=o[1];return de.getNodeType(a)==="video"&&de.isLastNode(r,a)&&He.insertNodes(r,de.genEmptyParagraph(),{at:[s[0]+1]}),n([a,s])},r}};Oa("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),Oa("zh-CN",{uploadImgModule:{uploadImage:"\u4E0A\u4F20\u56FE\u7247",uploadError:"{{fileName}} \u4E0A\u4F20\u51FA\u9519"}});var EU=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof oe!="undefined"?oe:typeof self!="undefined"?self:{};function B5(e){var t={exports:{}};return e(t,t.exports),t.exports}var Pc,$_,eE=function(e){return e&&e.Math==Math&&e},Yt=eE(typeof globalThis=="object"&&globalThis)||eE(typeof window=="object"&&window)||eE(typeof self=="object"&&self)||eE(typeof EU=="object"&&EU)||function(){return this}()||Function("return this")(),si=function(e){try{return!!e()}catch(t){return!0}},Ru=!si(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Zv=Function.prototype.call,Wr=Zv.bind?Zv.bind(Zv):function(){return Zv.apply(Zv,arguments)},wU={}.propertyIsEnumerable,OU=Object.getOwnPropertyDescriptor,tme={f:OU&&!wU.call({1:2},1)?function(e){var t=OU(this,e);return!!t&&t.enumerable}:wU},tE=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},AU=Function.prototype,U5=AU.bind,H5=AU.call,nme=U5&&U5.bind(H5),ar=U5?function(e){return e&&nme(H5,e)}:function(e){return e&&function(){return H5.apply(e,arguments)}},rme=ar({}.toString),ime=ar("".slice),Js=function(e){return ime(rme(e),8,-1)},W5=Yt.Object,ome=ar("".split),z5=si(function(){return!W5("z").propertyIsEnumerable(0)})?function(e){return Js(e)=="String"?ome(e,""):W5(e)}:W5,ame=Yt.TypeError,qv=function(e){if(e==null)throw ame("Can't call method on "+e);return e},Lc=function(e){return z5(qv(e))},Qr=function(e){return typeof e=="function"},ri=function(e){return typeof e=="object"?e!==null:Qr(e)},sme=function(e){return Qr(e)?e:void 0},dd=function(e,t){return arguments.length<2?sme(Yt[e]):Yt[e]&&Yt[e][t]},$v=ar({}.isPrototypeOf),yp=dd("navigator","userAgent")||"",CU=Yt.process,xU=Yt.Deno,SU=CU&&CU.versions||xU&&xU.version,TU=SU&&SU.v8;TU&&($_=(Pc=TU.split("."))[0]>0&&Pc[0]<4?1:+(Pc[0]+Pc[1])),!$_&&yp&&(!(Pc=yp.match(/Edge\/(\d+)/))||Pc[1]>=74)&&(Pc=yp.match(/Chrome\/(\d+)/))&&($_=+Pc[1]);var e0=$_,V5=!!Object.getOwnPropertySymbols&&!si(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&e0&&e0<41}),G5=V5&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ume=Yt.Object,K5=G5?function(e){return typeof e=="symbol"}:function(e){var t=dd("Symbol");return Qr(t)&&$v(t.prototype,ume(e))},lme=Yt.String,nE=function(e){try{return lme(e)}catch(t){return"Object"}},cme=Yt.TypeError,Mc=function(e){if(Qr(e))return e;throw cme(nE(e)+" is not a function")},t0=function(e,t){var n=e[t];return n==null?void 0:Mc(n)},fme=Yt.TypeError,dme=Object.defineProperty,Y5=function(e,t){try{dme(Yt,e,{value:t,configurable:!0,writable:!0})}catch(n){Yt[e]=t}return t},jc=Yt["__core-js_shared__"]||Y5("__core-js_shared__",{}),X5=B5(function(e){(e.exports=function(t,n){return jc[t]||(jc[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),hme=Yt.Object,J5=function(e){return hme(qv(e))},pme=ar({}.hasOwnProperty),mo=Object.hasOwn||function(e,t){return pme(J5(e),t)},mme=0,gme=Math.random(),vme=ar(1 .toString),Q5=function(e){return"Symbol("+(e===void 0?"":e)+")_"+vme(++mme+gme,36)},n0=X5("wks"),hd=Yt.Symbol,DU=hd&&hd.for,yme=G5?hd:hd&&hd.withoutSetter||Q5,$i=function(e){if(!mo(n0,e)||!V5&&typeof n0[e]!="string"){var t="Symbol."+e;V5&&mo(hd,e)?n0[e]=hd[e]:n0[e]=G5&&DU?DU(t):yme(t)}return n0[e]},bme=Yt.TypeError,_me=$i("toPrimitive"),Z5=function(e){var t=function(n,r){if(!ri(n)||K5(n))return n;var i,o=t0(n,_me);if(o){if(r===void 0&&(r="default"),i=Wr(o,n,r),!ri(i)||K5(i))return i;throw bme("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,s){var u,l;if(s==="string"&&Qr(u=a.toString)&&!ri(l=Wr(u,a)))return l;if(Qr(u=a.valueOf)&&!ri(l=Wr(u,a)))return l;if(s!=="string"&&Qr(u=a.toString)&&!ri(l=Wr(u,a)))return l;throw fme("Can't convert object to primitive value")}(n,r)}(e,"string");return K5(t)?t:t+""},q5=Yt.document,Eme=ri(q5)&&ri(q5.createElement),r0=function(e){return Eme?q5.createElement(e):{}},RU=!Ru&&!si(function(){return Object.defineProperty(r0("div"),"a",{get:function(){return 7}}).a!=7}),NU=Object.getOwnPropertyDescriptor,$5={f:Ru?NU:function(e,t){if(e=Lc(e),t=Z5(t),RU)try{return NU(e,t)}catch(n){}if(mo(e,t))return tE(!Wr(tme.f,e,t),e[t])}},wme=Yt.String,Ome=Yt.TypeError,Po=function(e){if(ri(e))return e;throw Ome(wme(e)+" is not an object")},Ame=Yt.TypeError,IU=Object.defineProperty,fl={f:Ru?IU:function(e,t,n){if(Po(e),t=Z5(t),Po(n),RU)try{return IU(e,t,n)}catch(r){}if("get"in n||"set"in n)throw Ame("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Nu=Ru?function(e,t,n){return fl.f(e,t,tE(1,n))}:function(e,t,n){return e[t]=n,e},Cme=ar(Function.toString);Qr(jc.inspectSource)||(jc.inspectSource=function(e){return Cme(e)});var rE,i0,iE,oE=jc.inspectSource,PU=Yt.WeakMap,LU=Qr(PU)&&/native code/.test(oE(PU)),MU=X5("keys"),eD=function(e){return MU[e]||(MU[e]=Q5(e))},aE={},tD=Yt.TypeError,xme=Yt.WeakMap;if(LU||jc.state){var pd=jc.state||(jc.state=new xme),Sme=ar(pd.get),jU=ar(pd.has),Tme=ar(pd.set);rE=function(e,t){if(jU(pd,e))throw new tD("Object already initialized");return t.facade=e,Tme(pd,e,t),t},i0=function(e){return Sme(pd,e)||{}},iE=function(e){return jU(pd,e)}}else{var bp=eD("state");aE[bp]=!0,rE=function(e,t){if(mo(e,bp))throw new tD("Object already initialized");return t.facade=e,Nu(e,bp,t),t},i0=function(e){return mo(e,bp)?e[bp]:{}},iE=function(e){return mo(e,bp)}}var Ja={set:rE,get:i0,has:iE,enforce:function(e){return iE(e)?i0(e):rE(e,{})},getterFor:function(e){return function(t){var n;if(!ri(t)||(n=i0(t)).type!==e)throw tD("Incompatible receiver, "+e+" required");return n}}},kU=Function.prototype,Dme=Ru&&Object.getOwnPropertyDescriptor,nD=mo(kU,"name"),o0={EXISTS:nD,PROPER:nD&&function(){}.name==="something",CONFIGURABLE:nD&&(!Ru||Ru&&Dme(kU,"name").configurable)},Qa=B5(function(e){var t=o0.CONFIGURABLE,n=Ja.get,r=Ja.enforce,i=String(String).split("String");(e.exports=function(o,a,s,u){var l,c=!!u&&!!u.unsafe,d=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet,h=u&&u.name!==void 0?u.name:a;Qr(s)&&(String(h).slice(0,7)==="Symbol("&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!mo(s,"name")||t&&s.name!==h)&&Nu(s,"name",h),(l=r(s)).source||(l.source=i.join(typeof h=="string"?h:""))),o!==Yt?(c?!p&&o[a]&&(d=!0):delete o[a],d?o[a]=s:Nu(o,a,s)):d?o[a]=s:Y5(a,s)})(Function.prototype,"toString",function(){return Qr(this)&&n(this).source||oE(this)})}),Rme=Math.ceil,Nme=Math.floor,rD=function(e){var t=+e;return t!=t||t===0?0:(t>0?Nme:Rme)(t)},Ime=Math.max,Pme=Math.min,a0=function(e,t){var n=rD(e);return n<0?Ime(n+t,0):Pme(n,t)},Lme=Math.min,FU=function(e){return e>0?Lme(rD(e),9007199254740991):0},s0=function(e){return FU(e.length)},BU=function(e){return function(t,n,r){var i,o=Lc(t),a=s0(o),s=a0(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Mme=(BU(!0),BU(!1)),UU=ar([].push),HU=function(e,t){var n,r=Lc(e),i=0,o=[];for(n in r)!mo(aE,n)&&mo(r,n)&&UU(o,n);for(;t.length>i;)mo(r,n=t[i++])&&(~Mme(o,n)||UU(o,n));return o},sE=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],jme=sE.concat("length","prototype"),uE={f:Object.getOwnPropertyNames||function(e){return HU(e,jme)}},kme={f:Object.getOwnPropertySymbols},Fme=ar([].concat),Bme=dd("Reflect","ownKeys")||function(e){var t=uE.f(Po(e)),n=kme.f;return n?Fme(t,n(e)):t},Ume=function(e,t){for(var n=Bme(t),r=fl.f,i=$5.f,o=0;o<n.length;o++){var a=n[o];mo(e,a)||r(e,a,i(t,a))}},Hme=/#|\.prototype\./,u0=function(e,t){var n=zme[Wme(e)];return n==Gme||n!=Vme&&(Qr(t)?si(t):!!t)},Wme=u0.normalize=function(e){return String(e).replace(Hme,".").toLowerCase()},zme=u0.data={},Vme=u0.NATIVE="N",Gme=u0.POLYFILL="P",lE=u0,Kme=$5.f,Iu=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,l=e.stat;if(n=u?Yt:l?Yt[s]||Y5(s,{}):(Yt[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=Kme(n,r))&&a.value:n[r],!lE(u?r:s+(l?".":"#")+r,e.forced)&&i!==void 0){if(typeof o==typeof i)continue;Ume(o,i)}(e.sham||i&&i.sham)&&Nu(o,"sham",!0),Qa(n,r,o,e)}},cE=Array.isArray||function(e){return Js(e)=="Array"},WU={};WU[$i("toStringTag")]="z";var iD=String(WU)==="[object z]",Yme=$i("toStringTag"),Xme=Yt.Object,Jme=Js(function(){return arguments}())=="Arguments",fE=iD?Js:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=Xme(e),Yme))=="string"?n:Jme?Js(t):(r=Js(t))=="Object"&&Qr(t.callee)?"Arguments":r},zU=function(){},Qme=[],VU=dd("Reflect","construct"),oD=/^\s*(?:class|function)\b/,Zme=ar(oD.exec),qme=!oD.exec(zU),l0=function(e){if(!Qr(e))return!1;try{return VU(zU,Qme,e),!0}catch(t){return!1}},aD=!VU||si(function(){var e;return l0(l0.call)||!l0(Object)||!l0(function(){e=!0})||e})?function(e){if(!Qr(e))return!1;switch(fE(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return qme||!!Zme(oD,oE(e))}:l0,GU=function(e,t,n){var r=Z5(t);r in e?fl.f(e,r,tE(0,n)):e[r]=n},$me=$i("species"),KU=ar([].slice),ege=e0>=51||!si(function(){var e=[];return(e.constructor={})[$me]=function(){return{foo:1}},e.slice(Boolean).foo!==1}),tge=$i("species"),sD=Yt.Array,nge=Math.max;Iu({target:"Array",proto:!0,forced:!ege},{slice:function(e,t){var n,r,i,o=Lc(this),a=s0(o),s=a0(e,a),u=a0(t===void 0?a:t,a);if(cE(o)&&(n=o.constructor,(aD(n)&&(n===sD||cE(n.prototype))||ri(n)&&(n=n[tge])===null)&&(n=void 0),n===sD||n===void 0))return KU(o,s,u);for(r=new(n===void 0?sD:n)(nge(u-s,0)),i=0;s<u;s++,i++)s in o&&GU(r,i,o[s]);return r.length=i,r}});var rge=iD?{}.toString:function(){return"[object "+fE(this)+"]"};iD||Qa(Object.prototype,"toString",rge,{unsafe:!0});var dE,ige=Yt.String,kc=function(e){if(fE(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ige(e)},YU=function(){var e=Po(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},uD=Yt.RegExp,lD=si(function(){var e=uD("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),oge=lD||si(function(){return!uD("a","y").sticky}),XU={BROKEN_CARET:lD||si(function(){var e=uD("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:oge,UNSUPPORTED_Y:lD},age=Object.keys||function(e){return HU(e,sE)},sge=Ru?Object.defineProperties:function(e,t){Po(e);for(var n,r=Lc(t),i=age(t),o=i.length,a=0;o>a;)fl.f(e,n=i[a++],r[n]);return e},cD=dd("document","documentElement"),JU=eD("IE_PROTO"),fD=function(){},QU=function(e){return"<script>"+e+"</script>"},ZU=function(e){e.write(QU("")),e.close();var t=e.parentWindow.Object;return e=null,t},hE=function(){try{dE=new ActiveXObject("htmlfile")}catch(r){}var e,t;hE=typeof document!="undefined"?document.domain&&dE?ZU(dE):((t=r0("iframe")).style.display="none",cD.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(QU("document.F=Object")),e.close(),e.F):ZU(dE);for(var n=sE.length;n--;)delete hE.prototype[sE[n]];return hE()};aE[JU]=!0;var qU,dD,hD=Object.create||function(e,t){var n;return e!==null?(fD.prototype=Po(e),n=new fD,fD.prototype=null,n[JU]=e):n=hE(),t===void 0?n:sge(n,t)},uge=Yt.RegExp,lge=si(function(){var e=uge(".","s");return!(e.dotAll&&e.exec(`
`)&&e.flags==="s")}),cge=Yt.RegExp,fge=si(function(){var e=cge("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),dge=Ja.get,hge=X5("native-string-replace",String.prototype.replace),pE=RegExp.prototype.exec,pD=pE,pge=ar("".charAt),mge=ar("".indexOf),gge=ar("".replace),mD=ar("".slice),gD=(dD=/b*/g,Wr(pE,qU=/a/,"a"),Wr(pE,dD,"a"),qU.lastIndex!==0||dD.lastIndex!==0),$U=XU.BROKEN_CARET,vD=/()??/.exec("")[1]!==void 0;(gD||vD||$U||lge||fge)&&(pD=function(e){var t,n,r,i,o,a,s,u=this,l=dge(u),c=kc(e),d=l.raw;if(d)return d.lastIndex=u.lastIndex,t=Wr(pD,d,c),u.lastIndex=d.lastIndex,t;var p=l.groups,h=$U&&u.sticky,E=Wr(YU,u),g=u.source,y=0,_=c;if(h&&(E=gge(E,"y",""),mge(E,"g")===-1&&(E+="g"),_=mD(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&pge(c,u.lastIndex-1)!==`
`)&&(g="(?: "+g+")",_=" "+_,y++),n=new RegExp("^(?:"+g+")",E)),vD&&(n=new RegExp("^"+g+"$(?!\\s)",E)),gD&&(r=u.lastIndex),i=Wr(pE,h?n:u,_),h?i?(i.input=mD(i.input,y),i[0]=mD(i[0],y),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:gD&&i&&(u.lastIndex=u.global?i.index+i[0].length:r),vD&&i&&i.length>1&&Wr(hge,i[0],n,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(i[o]=void 0)}),i&&p)for(i.groups=a=hD(null),o=0;o<p.length;o++)a[(s=p[o])[0]]=i[s[1]];return i});var c0=pD;Iu({target:"RegExp",proto:!0,forced:/./.exec!==c0},{exec:c0});var yD=Function.prototype,eH=yD.apply,vge=yD.bind,tH=yD.call,nH=typeof Reflect=="object"&&Reflect.apply||(vge?tH.bind(eH):function(){return tH.apply(eH,arguments)}),yge=$i("species"),bD=RegExp.prototype,bge=$i("match"),_ge=Yt.TypeError,Ege=$i("species"),rH=function(e,t){var n,r=Po(e).constructor;return r===void 0||(n=Po(r)[Ege])==null?t:function(i){if(aD(i))return i;throw _ge(nE(i)+" is not a constructor")}(n)},wge=ar("".charAt),iH=ar("".charCodeAt),Oge=ar("".slice),oH=function(e){return function(t,n){var r,i,o=kc(qv(t)),a=rD(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=iH(o,a))<55296||r>56319||a+1===s||(i=iH(o,a+1))<56320||i>57343?e?wge(o,a):r:e?Oge(o,a,a+2):i-56320+(r-55296<<10)+65536}},aH={codeAt:oH(!1),charAt:oH(!0)},Age=aH.charAt,Cge=function(e,t,n){return t+(n?Age(e,t).length:1)},xge=Yt.Array,Sge=Math.max,_D=function(e,t,n){for(var r=s0(e),i=a0(t,r),o=a0(n===void 0?r:n,r),a=xge(Sge(o-i,0)),s=0;i<o;i++,s++)GU(a,s,e[i]);return a.length=s,a},Tge=Yt.TypeError,sH=function(e,t){var n=e.exec;if(Qr(n)){var r=Wr(n,e,t);return r!==null&&Po(r),r}if(Js(e)==="RegExp")return Wr(c0,e,t);throw Tge("RegExp#exec called on incompatible receiver")},_p=XU.UNSUPPORTED_Y,Dge=Math.min,uH=[].push,Rge=ar(/./.exec),Ep=ar(uH),f0=ar("".slice);!function(e,t,n,r){var i=$i(e),o=!si(function(){var l={};return l[i]=function(){return 7},""[e](l)!=7}),a=o&&!si(function(){var l=!1,c=/a/;return(c={}).constructor={},c.constructor[yge]=function(){return c},c.flags="",c[i]=/./[i],c.exec=function(){return l=!0,null},c[i](""),!l});if(!o||!a||n){var s=ar(/./[i]),u=function(l,c,d){var p;return p="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(h,E){var g,y,_=kc(qv(this)),m=E===void 0?4294967295:E>>>0;if(m===0)return[];if(h===void 0)return[_];if(!ri(g=h)||!((y=g[bge])!==void 0?y:Js(g)=="RegExp"))return Wr(c,_,h,m);for(var T,R,W,q=[],X=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(h.sticky?"y":""),ge=0,Ne=new RegExp(h.source,X+"g");(T=Wr(c0,Ne,_))&&!((R=Ne.lastIndex)>ge&&(Ep(q,f0(_,ge,T.index)),T.length>1&&T.index<_.length&&nH(uH,q,_D(T,1)),W=T[0].length,ge=R,q.length>=m));)Ne.lastIndex===T.index&&Ne.lastIndex++;return ge===_.length?!W&&Rge(Ne,"")||Ep(q,""):Ep(q,f0(_,ge)),q.length>m?_D(q,0,m):q}:"0".split(void 0,0).length?function(h,E){return h===void 0&&E===0?[]:Wr(c,this,h,E)}:c,[function(h,E){var g=qv(this),y=h==null?void 0:t0(h,l);return y?Wr(y,h,g,E):Wr(p,kc(g),h,E)},function(h,E){var g=Po(this),y=kc(h),_=d(p,g,y,E,p!==c);if(_.done)return _.value;var m=rH(g,RegExp),T=g.unicode,R=(g.ignoreCase?"i":"")+(g.multiline?"m":"")+(g.unicode?"u":"")+(_p?"g":"y"),W=new m(_p?"^(?:"+g.source+")":g,R),q=E===void 0?4294967295:E>>>0;if(q===0)return[];if(y.length===0)return sH(W,y)===null?[y]:[];for(var X=0,ge=0,Ne=[];ge<y.length;){W.lastIndex=_p?0:ge;var nt,dt=sH(W,_p?f0(y,ge):y);if(dt===null||(nt=Dge(FU(W.lastIndex+(_p?ge:0)),y.length))===X)ge=Cge(y,ge,T);else{if(Ep(Ne,f0(y,X,ge)),Ne.length===q)return Ne;for(var rt=1;rt<=dt.length-1;rt++)if(Ep(Ne,dt[rt]),Ne.length===q)return Ne;ge=X=nt}}return Ep(Ne,f0(y,X)),Ne}]}(i,""[e],function(l,c,d,p,h){var E=ar(l),g=c.exec;return g===c0||g===bD.exec?o&&!h?{done:!0,value:s(c,d,p)}:{done:!0,value:E(d,c,p)}:{done:!1}});Qa(String.prototype,e,u[0]),Qa(bD,i,u[1])}r&&Nu(bD[i],"sham",!0)}("split",0,!!si(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),_p);/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var mE=function(){return mE=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},mE.apply(this,arguments)};function ED(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(l){try{u(r.next(l))}catch(c){o(c)}}function s(l){try{u(r.throw(l))}catch(c){o(c)}}function u(l){var c;l.done?i(l.value):(c=l.value,c instanceof n?c:new n(function(d){d(c)})).then(a,s)}u((r=r.apply(e,t||[])).next())})}function wD(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||c[0]!==6&&c[0]!==2)){a=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){a.label=c[1];break}if(c[0]===6&&a.label<i[1]){a.label=i[1],i=c;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(c);break}i[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(d){c=[6,d],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([u,l])}}}function Nge(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(i){var o=typeof Symbol=="function"&&Symbol.iterator,a=o&&i[o],s=0;if(a)return a.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&s>=i.length&&(i=void 0),{value:i&&i[s++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(o){return new Promise(function(a,s){!function(u,l,c,d){Promise.resolve(d).then(function(p){u({value:p,done:c})},l)}(a,s,(o=e[i](o)).done,o.value)})}}}var OD=$i("unscopables"),AD=Array.prototype;AD[OD]==null&&fl.f(AD,OD,{configurable:!0,value:hD(null)});var md,lH,cH,CD=function(e){AD[OD][e]=!0},wp={},Ige=!si(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),fH=eD("IE_PROTO"),xD=Yt.Object,Pge=xD.prototype,gE=Ige?xD.getPrototypeOf:function(e){var t=J5(e);if(mo(t,fH))return t[fH];var n=t.constructor;return Qr(n)&&t instanceof n?n.prototype:t instanceof xD?Pge:null},SD=$i("iterator"),dH=!1;[].keys&&("next"in(cH=[].keys())?(lH=gE(gE(cH)))!==Object.prototype&&(md=lH):dH=!0);var Lge=md==null||si(function(){var e={};return md[SD].call(e)!==e});Lge&&(md={}),Qr(md[SD])||Qa(md,SD,function(){return this});var TD={IteratorPrototype:md,BUGGY_SAFARI_ITERATORS:dH},Mge=fl.f,hH=$i("toStringTag"),vE=function(e,t,n){e&&!mo(e=n?e:e.prototype,hH)&&Mge(e,hH,{configurable:!0,value:t})},jge=TD.IteratorPrototype,kge=function(){return this},Fge=Yt.String,Bge=Yt.TypeError,Op=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=ar(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,i){return Po(r),function(o){if(typeof o=="object"||Qr(o))return o;throw Bge("Can't set "+Fge(o)+" as a prototype")}(i),t?e(r,i):r.__proto__=i,r}}():void 0),Uge=o0.PROPER,Hge=o0.CONFIGURABLE,pH=TD.IteratorPrototype,yE=TD.BUGGY_SAFARI_ITERATORS,d0=$i("iterator"),Wge=function(){return this},mH=function(e,t,n,r,i,o,a){!function(_,m,T,R){var W=m+" Iterator";_.prototype=hD(jge,{next:tE(1,T)}),vE(_,W,!1),wp[W]=kge}(n,t,r);var s,u,l,c=function(_){if(_===i&&g)return g;if(!yE&&_ in h)return h[_];switch(_){case"keys":case"values":case"entries":return function(){return new n(this,_)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,E=h[d0]||h["@@iterator"]||i&&h[i],g=!yE&&E||c(i),y=t=="Array"&&h.entries||E;if(y&&(s=gE(y.call(new e)))!==Object.prototype&&s.next&&(gE(s)!==pH&&(Op?Op(s,pH):Qr(s[d0])||Qa(s,d0,Wge)),vE(s,d,!0)),Uge&&i=="values"&&E&&E.name!=="values"&&(Hge?Nu(h,"name","values"):(p=!0,g=function(){return Wr(E,this)})),i)if(u={values:c("values"),keys:o?g:c("keys"),entries:c("entries")},a)for(l in u)(yE||p||!(l in h))&&Qa(h,l,u[l]);else Iu({target:t,proto:!0,forced:yE||p},u);return h[d0]!==g&&Qa(h,d0,g,{name:i}),wp[t]=g,u},zge=Ja.set,Vge=Ja.getterFor("Array Iterator"),h0=mH(Array,"Array",function(e,t){zge(this,{type:"Array Iterator",target:Lc(e),index:0,kind:t})},function(){var e=Vge(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");wp.Arguments=wp.Array,CD("keys"),CD("values"),CD("entries");var Gge=aH.charAt,Kge=Ja.set,Yge=Ja.getterFor("String Iterator");mH(String,"String",function(e){Kge(this,{type:"String Iterator",string:kc(e),index:0})},function(){var e,t=Yge(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Gge(n,r),t.index+=e.length,{value:e,done:!1})});var bE=function(e,t,n){for(var r in t)Qa(e,r,t[r],n);return e},gH=uE.f,vH=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Xge={f:function(e){return vH&&Js(e)=="Window"?function(t){try{return gH(t)}catch(n){return _D(vH)}}(e):gH(Lc(e))}},yH=si(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),_E=Object.isExtensible,gd=si(function(){_E(1)})||yH?function(e){return!!ri(e)&&(!yH||Js(e)!="ArrayBuffer")&&(!_E||_E(e))}:_E,Jge=!si(function(){return Object.isExtensible(Object.preventExtensions({}))}),DD=B5(function(e){var t=fl.f,n=!1,r=Q5("meta"),i=0,o=function(s){t(s,r,{value:{objectID:"O"+i++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var s=uE.f,u=ar([].splice),l={};l[r]=1,s(l).length&&(uE.f=function(c){for(var d=s(c),p=0,h=d.length;p<h;p++)if(d[p]===r){u(d,p,1);break}return d},Iu({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Xge.f}))},fastKey:function(s,u){if(!ri(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!mo(s,r)){if(!gd(s))return"F";if(!u)return"E";o(s)}return s[r].objectID},getWeakData:function(s,u){if(!mo(s,r)){if(!gd(s))return!0;if(!u)return!1;o(s)}return s[r].weakData},onFreeze:function(s){return Jge&&n&&gd(s)&&!mo(s,r)&&o(s),s}};aE[r]=!0}),bH=ar(ar.bind),p0=function(e,t){return Mc(e),t===void 0?e:bH?bH(e,t):function(){return e.apply(t,arguments)}},Qge=$i("iterator"),Zge=Array.prototype,qge=$i("iterator"),_H=function(e){if(e!=null)return t0(e,qge)||t0(e,"@@iterator")||wp[fE(e)]},$ge=Yt.TypeError,EH=function(e,t,n){var r,i;Po(e);try{if(!(r=t0(e,"return"))){if(t==="throw")throw n;return n}r=Wr(r,e)}catch(o){i=!0,r=o}if(t==="throw")throw n;if(i)throw r;return Po(r),n},eve=Yt.TypeError,EE=function(e,t){this.stopped=e,this.result=t},wH=EE.prototype,wE=function(e,t,n){var r,i,o,a,s,u,l,c,d=n&&n.that,p=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_ITERATOR),E=!(!n||!n.INTERRUPTED),g=p0(t,d),y=function(m){return r&&EH(r,"normal",m),new EE(!0,m)},_=function(m){return p?(Po(m),E?g(m[0],m[1],y):g(m[0],m[1])):E?g(m,y):g(m)};if(h)r=e;else{if(!(i=_H(e)))throw eve(nE(e)+" is not iterable");if((c=i)!==void 0&&(wp.Array===c||Zge[Qge]===c)){for(o=0,a=s0(e);a>o;o++)if((s=_(e[o]))&&$v(wH,s))return s;return new EE(!1)}r=function(m,T){var R=arguments.length<2?_H(m):T;if(Mc(R))return Po(Wr(R,m));throw $ge(nE(m)+" is not iterable")}(e,i)}for(u=r.next;!(l=Wr(u,r)).done;){try{s=_(l.value)}catch(m){EH(r,"throw",m)}if(typeof s=="object"&&s&&$v(wH,s))return s}return new EE(!1)},tve=Yt.TypeError,RD=function(e,t){if($v(t,e))return e;throw tve("Incorrect invocation")},OH=$i("iterator"),AH=!1;try{var nve=0,CH={next:function(){return{done:!!nve++}},return:function(){AH=!0}};CH[OH]=function(){return this},Array.from(CH,function(){throw 2})}catch(e){}var xH=function(e,t){if(!t&&!AH)return!1;var n=!1;try{var r={};r[OH]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(i){}return n},rve=$i("species"),SH=Yt.Array,ive=function(e,t){return new(function(n){var r;return cE(n)&&(r=n.constructor,(aD(r)&&(r===SH||cE(r.prototype))||ri(r)&&(r=r[rve])===null)&&(r=void 0)),r===void 0?SH:r}(e))(t===0?0:t)},TH=ar([].push),Fc=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,E=J5(u),g=z5(E),y=p0(l,c),_=s0(g),m=0,T=d||ive,R=t?T(u,_):n||a?T(u,0):void 0;_>m;m++)if((s||m in g)&&(h=y(p=g[m],m,E),e))if(t)R[m]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return m;case 2:TH(R,p)}else switch(e){case 4:return!1;case 7:TH(R,p)}return o?-1:r||i?i:R}},ND={forEach:Fc(0),map:Fc(1),filter:Fc(2),some:Fc(3),every:Fc(4),find:Fc(5),findIndex:Fc(6),filterReject:Fc(7)},OE=DD.getWeakData,ove=Ja.set,ave=Ja.getterFor,sve=ND.find,uve=ND.findIndex,lve=ar([].splice),cve=0,AE=function(e){return e.frozen||(e.frozen=new DH)},DH=function(){this.entries=[]},ID=function(e,t){return sve(e.entries,function(n){return n[0]===t})};DH.prototype={get:function(e){var t=ID(this,e);if(t)return t[1]},has:function(e){return!!ID(this,e)},set:function(e,t){var n=ID(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=uve(this.entries,function(n){return n[0]===e});return~t&&lve(this.entries,t,1),!!~t}};var m0,RH={getConstructor:function(e,t,n,r){var i=e(function(u,l){RD(u,o),ove(u,{type:t,id:cve++,frozen:void 0}),l!=null&&wE(l,u[r],{that:u,AS_ENTRIES:n})}),o=i.prototype,a=ave(t),s=function(u,l,c){var d=a(u),p=OE(Po(l),!0);return p===!0?AE(d).set(l,c):p[d.id]=c,u};return bE(o,{delete:function(u){var l=a(this);if(!ri(u))return!1;var c=OE(u);return c===!0?AE(l).delete(u):c&&mo(c,l.id)&&delete c[l.id]},has:function(u){var l=a(this);if(!ri(u))return!1;var c=OE(u);return c===!0?AE(l).has(u):c&&mo(c,l.id)}}),bE(o,n?{get:function(u){var l=a(this);if(ri(u)){var c=OE(u);return c===!0?AE(l).get(u):c?c[l.id]:void 0}},set:function(u,l){return s(this,u,l)}}:{add:function(u){return s(this,u,!0)}}),i}},CE=Ja.enforce,fve=!Yt.ActiveXObject&&"ActiveXObject"in Yt,NH=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},dve=function(e,t,n){var r=e.indexOf("Map")!==-1,i=e.indexOf("Weak")!==-1,o=r?"set":"add",a=Yt[e],s=a&&a.prototype,u=a,l={},c=function(y){var _=ar(s[y]);Qa(s,y,y=="add"?function(m){return _(this,m===0?0:m),this}:y=="delete"?function(m){return!(i&&!ri(m))&&_(this,m===0?0:m)}:y=="get"?function(m){return i&&!ri(m)?void 0:_(this,m===0?0:m)}:y=="has"?function(m){return!(i&&!ri(m))&&_(this,m===0?0:m)}:function(m,T){return _(this,m===0?0:m,T),this})};if(lE(e,!Qr(a)||!(i||s.forEach&&!si(function(){new a().entries().next()}))))u=n.getConstructor(t,e,r,o),DD.enable();else if(lE(e,!0)){var d=new u,p=d[o](i?{}:-0,1)!=d,h=si(function(){d.has(1)}),E=xH(function(y){new a(y)}),g=!i&&si(function(){for(var y=new a,_=5;_--;)y[o](_,_);return!y.has(-0)});E||((u=t(function(y,_){RD(y,s);var m=function(T,R,W){var q,X;return Op&&Qr(q=R.constructor)&&q!==W&&ri(X=q.prototype)&&X!==W.prototype&&Op(T,X),T}(new a,y,u);return _!=null&&wE(_,m[o],{that:m,AS_ENTRIES:r}),m})).prototype=s,s.constructor=u),(h||g)&&(c("delete"),c("has"),r&&c("get")),(g||p)&&c(o),i&&s.clear&&delete s.clear}return l[e]=u,Iu({global:!0,forced:u!=a},l),vE(u,e),i||n.setStrong(u,e,r),u}("WeakMap",NH,RH);if(LU&&fve){m0=RH.getConstructor(NH,"WeakMap",!0),DD.enable();var g0=dve.prototype,IH=ar(g0.delete),xE=ar(g0.has),PH=ar(g0.get),LH=ar(g0.set);bE(g0,{delete:function(e){if(ri(e)&&!gd(e)){var t=CE(this);return t.frozen||(t.frozen=new m0),IH(this,e)||t.frozen.delete(e)}return IH(this,e)},has:function(e){if(ri(e)&&!gd(e)){var t=CE(this);return t.frozen||(t.frozen=new m0),xE(this,e)||t.frozen.has(e)}return xE(this,e)},get:function(e){if(ri(e)&&!gd(e)){var t=CE(this);return t.frozen||(t.frozen=new m0),xE(this,e)?PH(this,e):t.frozen.get(e)}return PH(this,e)},set:function(e,t){if(ri(e)&&!gd(e)){var n=CE(this);n.frozen||(n.frozen=new m0),xE(this,e)?LH(this,e,t):n.frozen.set(e,t)}else LH(this,e,t);return this}})}var SE={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},PD=r0("span").classList,MH=PD&&PD.constructor&&PD.constructor.prototype,jH=MH===Object.prototype?void 0:MH,LD=$i("iterator"),kH=$i("toStringTag"),MD=h0.values,FH=function(e,t){if(e){if(e[LD]!==MD)try{Nu(e,LD,MD)}catch(r){e[LD]=MD}if(e[kH]||Nu(e,kH,t),SE[t]){for(var n in h0)if(e[n]!==h0[n])try{Nu(e,n,h0[n])}catch(r){e[n]=h0[n]}}}};for(var jD in SE)FH(Yt[jD]&&Yt[jD].prototype,jD);FH(jH,"DOMTokenList");var BH=function(e,t){var n=[][e];return!!n&&si(function(){n.call(null,t||function(){throw 1},1)})},hve=ND.forEach,kD=BH("forEach")?[].forEach:function(e){return hve(this,e,arguments.length>1?arguments[1]:void 0)},UH=function(e){if(e&&e.forEach!==kD)try{Nu(e,"forEach",kD)}catch(t){e.forEach=kD}};for(var FD in SE)SE[FD]&&UH(Yt[FD]&&Yt[FD].prototype);UH(jH);var v0,Ap,HH,BD,TE=Yt.Promise,WH=$i("species"),zH=/(?:ipad|iphone|ipod).*applewebkit/i.test(yp),Bc=Js(Yt.process)=="process",UD=Yt.setImmediate,HD=Yt.clearImmediate,pve=Yt.process,WD=Yt.Dispatch,mve=Yt.Function,VH=Yt.MessageChannel,gve=Yt.String,zD=0,y0={};try{v0=Yt.location}catch(e){}var VD=function(e){if(mo(y0,e)){var t=y0[e];delete y0[e],t()}},GD=function(e){return function(){VD(e)}},GH=function(e){VD(e.data)},KH=function(e){Yt.postMessage(gve(e),v0.protocol+"//"+v0.host)};UD&&HD||(UD=function(e){var t=KU(arguments,1);return y0[++zD]=function(){nH(Qr(e)?e:mve(e),void 0,t)},Ap(zD),zD},HD=function(e){delete y0[e]},Bc?Ap=function(e){pve.nextTick(GD(e))}:WD&&WD.now?Ap=function(e){WD.now(GD(e))}:VH&&!zH?(BD=(HH=new VH).port2,HH.port1.onmessage=GH,Ap=p0(BD.postMessage,BD)):Yt.addEventListener&&Qr(Yt.postMessage)&&!Yt.importScripts&&v0&&v0.protocol!=="file:"&&!si(KH)?(Ap=KH,Yt.addEventListener("message",GH,!1)):Ap="onreadystatechange"in r0("script")?function(e){cD.appendChild(r0("script")).onreadystatechange=function(){cD.removeChild(this),VD(e)}}:function(e){setTimeout(GD(e),0)});var b0,vd,_0,Cp,KD,YD,XD,YH,XH={set:UD,clear:HD},vve=/ipad|iphone|ipod/i.test(yp)&&Yt.Pebble!==void 0,yve=/web0s(?!.*chrome)/i.test(yp),bve=$5.f,JD=XH.set,JH=Yt.MutationObserver||Yt.WebKitMutationObserver,QH=Yt.document,ZH=Yt.process,DE=Yt.Promise,qH=bve(Yt,"queueMicrotask"),$H=qH&&qH.value;$H||(b0=function(){var e,t;for(Bc&&(e=ZH.domain)&&e.exit();vd;){t=vd.fn,vd=vd.next;try{t()}catch(n){throw vd?Cp():_0=void 0,n}}_0=void 0,e&&e.enter()},zH||Bc||yve||!JH||!QH?!vve&&DE&&DE.resolve?((XD=DE.resolve(void 0)).constructor=DE,YH=p0(XD.then,XD),Cp=function(){YH(b0)}):Bc?Cp=function(){ZH.nextTick(b0)}:(JD=p0(JD,Yt),Cp=function(){JD(b0)}):(KD=!0,YD=QH.createTextNode(""),new JH(b0).observe(YD,{characterData:!0}),Cp=function(){YD.data=KD=!KD}));var QD,eW,tW,nW,rW=$H||function(e){var t={fn:e,next:void 0};_0&&(_0.next=t),vd||(vd=t,Cp()),_0=t},_ve=function(e){var t,n;this.promise=new e(function(r,i){if(t!==void 0||n!==void 0)throw TypeError("Bad Promise constructor");t=r,n=i}),this.resolve=Mc(t),this.reject=Mc(n)},ZD={f:function(e){return new _ve(e)}},qD=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},Eve=typeof window=="object",iW=XH.set,wve=$i("species"),dl="Promise",oW=Ja.getterFor(dl),Ove=Ja.set,Ave=Ja.getterFor(dl),yd=TE&&TE.prototype,Pu=TE,E0=yd,aW=Yt.TypeError,$D=Yt.document,eR=Yt.process,xp=ZD.f,Cve=xp,xve=!!($D&&$D.createEvent&&Yt.dispatchEvent),sW=Qr(Yt.PromiseRejectionEvent),uW=!1,w0=lE(dl,function(){var e=oE(Pu),t=e!==String(Pu);if(!t&&e0===66)return!0;if(e0>=51&&/native code/.test(e))return!1;var n=new Pu(function(i){i(1)}),r=function(i){i(function(){},function(){})};return(n.constructor={})[wve]=r,!(uW=n.then(function(){})instanceof r)||!t&&Eve&&!sW}),Sve=w0||!xH(function(e){Pu.all(e).catch(function(){})}),lW=function(e){var t;return!(!ri(e)||!Qr(t=e.then))&&t},tR=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;rW(function(){for(var r=e.value,i=e.state==1,o=0;n.length>o;){var a,s,u,l=n[o++],c=i?l.ok:l.fail,d=l.resolve,p=l.reject,h=l.domain;try{c?(i||(e.rejection===2&&Dve(e),e.rejection=1),c===!0?a=r:(h&&h.enter(),a=c(r),h&&(h.exit(),u=!0)),a===l.promise?p(aW("Promise-chain cycle")):(s=lW(a))?Wr(s,a,d,p):d(a)):p(r)}catch(E){h&&!u&&h.exit(),p(E)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&Tve(e)})}},cW=function(e,t,n){var r,i;xve?((r=$D.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Yt.dispatchEvent(r)):r={promise:t,reason:n},!sW&&(i=Yt["on"+e])?i(r):e==="unhandledrejection"&&function(o,a){var s=Yt.console;s&&s.error&&(arguments.length==1?s.error(o):s.error(o,a))}("Unhandled promise rejection",n)},Tve=function(e){Wr(iW,Yt,function(){var t,n=e.facade,r=e.value;if(fW(e)&&(t=qD(function(){Bc?eR.emit("unhandledRejection",r,n):cW("unhandledrejection",n,r)}),e.rejection=Bc||fW(e)?2:1,t.error))throw t.value})},fW=function(e){return e.rejection!==1&&!e.parent},Dve=function(e){Wr(iW,Yt,function(){var t=e.facade;Bc?eR.emit("rejectionHandled",t):cW("rejectionhandled",t,e.value)})},Sp=function(e,t,n){return function(r){e(t,r,n)}},Tp=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,tR(e,!0))},nR=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw aW("Promise can't be resolved itself");var r=lW(t);r?rW(function(){var i={done:!1};try{Wr(r,t,Sp(nR,i,e),Sp(Tp,i,e))}catch(o){Tp(i,o,e)}}):(e.value=t,e.state=1,tR(e,!1))}catch(i){Tp({done:!1},i,e)}}};if(w0&&(E0=(Pu=function(e){RD(this,E0),Mc(e),Wr(QD,this);var t=oW(this);try{e(Sp(nR,t),Sp(Tp,t))}catch(n){Tp(t,n)}}).prototype,(QD=function(e){Ove(this,{type:dl,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=bE(E0,{then:function(e,t){var n=Ave(this),r=n.reactions,i=xp(rH(this,Pu));return i.ok=!Qr(e)||e,i.fail=Qr(t)&&t,i.domain=Bc?eR.domain:void 0,n.parent=!0,r[r.length]=i,n.state!=0&&tR(n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),eW=function(){var e=new QD,t=oW(e);this.promise=e,this.resolve=Sp(nR,t),this.reject=Sp(Tp,t)},ZD.f=xp=function(e){return e===Pu||e===tW?new eW(e):Cve(e)},Qr(TE)&&yd!==Object.prototype)){nW=yd.then,uW||(Qa(yd,"then",function(e,t){var n=this;return new Pu(function(r,i){Wr(nW,n,r,i)}).then(e,t)},{unsafe:!0}),Qa(yd,"catch",E0.catch,{unsafe:!0}));try{delete yd.constructor}catch(e){}Op&&Op(yd,E0)}Iu({global:!0,wrap:!0,forced:w0},{Promise:Pu}),vE(Pu,dl,!1),function(e){var t=dd("Promise"),n=fl.f;Ru&&t&&!t[WH]&&n(t,WH,{configurable:!0,get:function(){return this}})}(),tW=dd(dl),Iu({target:dl,stat:!0,forced:w0},{reject:function(e){var t=xp(this);return Wr(t.reject,void 0,e),t.promise}}),Iu({target:dl,stat:!0,forced:w0},{resolve:function(e){return function(t,n){if(Po(t),ri(n)&&n.constructor===t)return n;var r=ZD.f(t);return(0,r.resolve)(n),r.promise}(this,e)}}),Iu({target:dl,stat:!0,forced:Sve},{all:function(e){var t=this,n=xp(t),r=n.resolve,i=n.reject,o=qD(function(){var a=Mc(t.resolve),s=[],u=0,l=1;wE(e,function(c){var d=u++,p=!1;l++,Wr(a,t,c).then(function(h){p||(p=!0,s[d]=h,--l||r(s))},i)}),--l||r(s)});return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=xp(t),r=n.reject,i=qD(function(){var o=Mc(t.resolve);wE(e,function(a){Wr(o,t,a).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}});var Rve=o0.PROPER,rR=RegExp.prototype,dW=rR.toString,Nve=ar(YU),Ive=si(function(){return dW.call({source:"a",flags:"b"})!="/a/b"}),Pve=Rve&&dW.name!="toString";(Ive||Pve)&&Qa(RegExp.prototype,"toString",function(){var e=Po(this),t=kc(e.source),n=e.flags;return"/"+t+"/"+kc(n===void 0&&$v(rR,e)&&!("flags"in rR)?Nve(e):n)},{unsafe:!0});var Lve=o0.EXISTS,Mve=fl.f,hW=Function.prototype,jve=ar(hW.toString),pW=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,kve=ar(pW.exec);Ru&&!Lve&&Mve(hW,"name",{configurable:!0,get:function(){try{return kve(pW,jve(this))[1]}catch(e){return""}}});var mW=new WeakMap;function gW(e){return e.getMenuConfig("uploadImage")}function Fve(e,t){return ED(this,void 0,void 0,function(){return wD(this,function(n){return[2,new Promise(function(r){var i=new FileReader;i.readAsDataURL(t),i.onload=function(){var o=i.result;if(o){var a=o.toString(),s=a.indexOf("data:image")===0?"":a;Hf(e,a,t.name,s),r("ok")}}})]})})}function Bve(e,t){return ED(this,void 0,void 0,function(){var n,r,i,o;return wD(this,function(a){switch(a.label){case 0:return n=function(s){var u=mW.get(s);if(u!=null)return u;var l=gW(s),c=l.onSuccess,d=l.onProgress,p=l.onFailed,h=l.customInsert,E=l.onError;return u=_9(mE(mE({},l),{onProgress:function(g){s.showProgressBar(g),d&&d(g)},onSuccess:function(g,y){if(h)return h(y,function(nt,dt,rt){return Hf(s,nt,dt,rt)}),void c(g,y);var _=y.errno,m=_===void 0?1:_,T=y.data,R=T===void 0?{}:T;if(m===0){if(Array.isArray(R))R.forEach(function(nt){var dt=nt.url,rt=dt===void 0?"":dt,Ct=nt.alt,yt=Ct===void 0?"":Ct,bt=nt.href;Hf(s,rt,yt,bt===void 0?"":bt)});else{var W=R.url,q=W===void 0?"":W,X=R.alt,ge=X===void 0?"":X,Ne=R.href;Hf(s,q,ge,Ne===void 0?"":Ne)}c(g,y)}else p(g,y)},onError:function(g,y,_){E(g,y,_)}})),mW.set(s,u),u}(e),r=t.name,i=t.type,o=t.size,n.addFile({name:r,type:i,size:o,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}})})}function vW(e,t){var n,r;return ED(this,void 0,void 0,function(){var i,o,a,s,u,l,c,d,p;return wD(this,function(h){switch(h.label){case 0:if(t==null)return[2];i=Array.prototype.slice.call(t),o=gW(e),a=o.customUpload,s=o.base64LimitSize,h.label=1;case 1:h.trys.push([1,11,12,17]),u=Nge(i),h.label=2;case 2:return[4,u.next()];case 3:return(l=h.sent()).done?[3,10]:(c=l.value,d=c.size,s&&d<=s?[4,Fve(e,c)]:[3,5]);case 4:return h.sent(),[3,9];case 5:return a?[4,a(c,function(E,g,y){return Hf(e,E,g,y)})]:[3,7];case 6:return h.sent(),[3,9];case 7:return[4,Bve(e,c)];case 8:h.sent(),h.label=9;case 9:return[3,2];case 10:return[3,17];case 11:return p=h.sent(),n={error:p},[3,17];case 12:return h.trys.push([12,,15,16]),l&&!l.done&&(r=u.return)?[4,r.call(u)]:[3,14];case 13:h.sent(),h.label=14;case 14:return[3,16];case 15:if(n)throw n.error;return[7];case 16:return[7];case 17:return[2]}})})}var Uve=ar([].join),Hve=z5!=Object,Wve=BH("join",",");Iu({target:"Array",proto:!0,forced:Hve||!Wve},{join:function(e){return Uve(Lc(this),e===void 0?",":e)}}),cs&&(we.fn.append=cs),pu&&(we.fn.on=pu),rh&&(we.fn.remove=rh),hu&&(we.fn.val=hu),t7&&(we.fn.click=t7),$d&&(we.fn.hide=$d);var zve=function(){function e(){this.title=Gt("uploadImgModule.uploadImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M828.708571 585.045333a48.761905 48.761905 0 0 0-48.737523 48.761905v18.529524l-72.143238-72.167619a135.972571 135.972571 0 0 0-191.585524 0l-34.133334 34.133333-120.880762-120.953905a138.898286 138.898286 0 0 0-191.585523 0l-72.167619 72.167619V292.400762a48.786286 48.786286 0 0 1 48.761904-48.761905h341.23581a48.737524 48.737524 0 0 0 34.474667-83.285333 48.737524 48.737524 0 0 0-34.474667-14.287238H146.236952A146.212571 146.212571 0 0 0 0 292.400762v585.289143A146.358857 146.358857 0 0 0 146.236952 1024h584.996572a146.212571 146.212571 0 0 0 146.236952-146.310095V633.807238a48.786286 48.786286 0 0 0-48.761905-48.761905zM146.261333 926.45181a48.737524 48.737524 0 0 1-48.761904-48.761905v-174.128762l141.409523-141.458286a38.497524 38.497524 0 0 1 53.126096 0l154.526476 154.624 209.627428 209.724953H146.236952z m633.734096-48.761905c-0.073143 9.337905-3.145143 18.383238-8.777143 25.843809l-219.843048-220.94019 34.133333-34.133334a37.546667 37.546667 0 0 1 53.613715 0l140.873143 141.897143V877.714286zM1009.615238 160.231619L863.329524 13.897143a48.737524 48.737524 0 0 0-16.091429-10.24c-11.849143-4.87619-25.161143-4.87619-37.059047 0a48.761905 48.761905 0 0 0-16.067048 10.24l-146.236952 146.334476a49.005714 49.005714 0 0 0 69.217523 69.241905l62.902858-63.390476v272.627809a48.761905 48.761905 0 1 0 97.475047 0V166.083048l62.902857 63.390476a48.737524 48.737524 0 0 0 69.217524 0 48.761905 48.761905 0 0 0 0-69.241905z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return cb(t)},e.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadImage")},e.prototype.exec=function(t,n){var r=this.getMenuConfig(t),i=r.allowedFileTypes,o=i===void 0?[]:i,a=r.customBrowseAndUpload;if(a)a(function(c,d,p){return Hf(t,c,d,p)});else{var s="";o.length>0&&(s='accept="'+o.join(", ")+'"');var u=we("body"),l=we('<input type="file" '+s+" multiple/>");l.hide(),u.append(l),l.click(),l.on("change",function(){var c=l[0].files;vW(t,c)})}},e}(),Vve={menus:[{key:"uploadImage",factory:function(){return new zve},config:{server:"",fieldName:"wangeditor-uploaded-image",maxFileSize:2097152,maxNumberOfFiles:100,allowedFileTypes:["image/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:1e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+"' upload error",n)},base64LimitSize:0}}],editorPlugin:function(e){var t=e.insertData,n=e;return n.insertData=function(r){if(cb(n))t(r);else if(r.getData("text/plain"))t(r);else{var i=r.files;i.length<=0?t(r):Array.prototype.slice.call(i).some(function(o){return function(a,s){var u=typeof Symbol=="function"&&a[Symbol.iterator];if(!u)return a;var l,c,d=u.call(a),p=[];try{for(;(s===void 0||s-- >0)&&!(l=d.next()).done;)p.push(l.value)}catch(h){c={error:h}}finally{try{l&&!l.done&&(u=d.return)&&u.call(d)}finally{if(c)throw c.error}}return p}(o.type.split("/"),1)[0]==="image"})?vW(e,i):t(r)}},n}};Oa("en",{highLightModule:{selectLang:"Language"}}),Oa("zh-CN",{highLightModule:{selectLang:"\u9009\u62E9\u8BED\u8A00"}});var RE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof oe!="undefined"?oe:typeof self!="undefined"?self:{};function iR(e){var t={exports:{}};return e(t,t.exports),t.exports}var Uc,NE,IE=function(e){return e&&e.Math==Math&&e},lr=IE(typeof globalThis=="object"&&globalThis)||IE(typeof window=="object"&&window)||IE(typeof self=="object"&&self)||IE(typeof RE=="object"&&RE)||function(){return this}()||Function("return this")(),Gve=Object.defineProperty,oR=function(e,t){try{Gve(lr,e,{value:t,configurable:!0,writable:!0})}catch(n){lr[e]=t}return t},Hc=lr["__core-js_shared__"]||oR("__core-js_shared__",{}),aR=iR(function(e){(e.exports=function(t,n){return Hc[t]||(Hc[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),yW=Function.prototype,sR=yW.bind,uR=yW.call,Kve=sR&&sR.bind(uR),zr=sR?function(e){return e&&Kve(uR,e)}:function(e){return e&&function(){return uR.apply(e,arguments)}},Yve=lr.TypeError,Dp=function(e){if(e==null)throw Yve("Can't call method on "+e);return e},Xve=lr.Object,lR=function(e){return Xve(Dp(e))},Jve=zr({}.hasOwnProperty),Ts=Object.hasOwn||function(e,t){return Jve(lR(e),t)},Qve=0,Zve=Math.random(),qve=zr(1 .toString),bW=function(e){return"Symbol("+(e===void 0?"":e)+")_"+qve(++Qve+Zve,36)},oa=function(e){return typeof e=="function"},$ve=function(e){return oa(e)?e:void 0},O0=function(e,t){return arguments.length<2?$ve(lr[e]):lr[e]&&lr[e][t]},cR=O0("navigator","userAgent")||"",_W=lr.process,EW=lr.Deno,wW=_W&&_W.versions||EW&&EW.version,OW=wW&&wW.v8;OW&&(NE=(Uc=OW.split("."))[0]>0&&Uc[0]<4?1:+(Uc[0]+Uc[1])),!NE&&cR&&(!(Uc=cR.match(/Edge\/(\d+)/))||Uc[1]>=74)&&(Uc=cR.match(/Chrome\/(\d+)/))&&(NE=+Uc[1]);var AW=NE,Lo=function(e){try{return!!e()}catch(t){return!0}},fR=!!Object.getOwnPropertySymbols&&!Lo(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&AW&&AW<41}),dR=fR&&!Symbol.sham&&typeof Symbol.iterator=="symbol",A0=aR("wks"),bd=lr.Symbol,CW=bd&&bd.for,e0e=dR?bd:bd&&bd.withoutSetter||bW,Wc=function(e){if(!Ts(A0,e)||!fR&&typeof A0[e]!="string"){var t="Symbol."+e;fR&&Ts(bd,e)?A0[e]=bd[e]:A0[e]=dR&&CW?CW(t):e0e(t)}return A0[e]},xW={};xW[Wc("toStringTag")]="z";var hR=String(xW)==="[object z]",Lu=!Lo(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Qs=function(e){return typeof e=="object"?e!==null:oa(e)},pR=lr.document,t0e=Qs(pR)&&Qs(pR.createElement),mR=function(e){return t0e?pR.createElement(e):{}},SW=!Lu&&!Lo(function(){return Object.defineProperty(mR("div"),"a",{get:function(){return 7}}).a!=7}),n0e=lr.String,r0e=lr.TypeError,Zs=function(e){if(Qs(e))return e;throw r0e(n0e(e)+" is not an object")},C0=Function.prototype.call,Ao=C0.bind?C0.bind(C0):function(){return C0.apply(C0,arguments)},TW=zr({}.isPrototypeOf),i0e=lr.Object,gR=dR?function(e){return typeof e=="symbol"}:function(e){var t=O0("Symbol");return oa(t)&&TW(t.prototype,i0e(e))},o0e=lr.String,DW=function(e){try{return o0e(e)}catch(t){return"Object"}},a0e=lr.TypeError,RW=function(e){if(oa(e))return e;throw a0e(DW(e)+" is not a function")},NW=function(e,t){var n=e[t];return n==null?void 0:RW(n)},s0e=lr.TypeError,u0e=lr.TypeError,l0e=Wc("toPrimitive"),vR=function(e){var t=function(n,r){if(!Qs(n)||gR(n))return n;var i,o=NW(n,l0e);if(o){if(r===void 0&&(r="default"),i=Ao(o,n,r),!Qs(i)||gR(i))return i;throw u0e("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,s){var u,l;if(s==="string"&&oa(u=a.toString)&&!Qs(l=Ao(u,a)))return l;if(oa(u=a.valueOf)&&!Qs(l=Ao(u,a)))return l;if(s!=="string"&&oa(u=a.toString)&&!Qs(l=Ao(u,a)))return l;throw s0e("Can't convert object to primitive value")}(n,r)}(e,"string");return gR(t)?t:t+""},c0e=lr.TypeError,IW=Object.defineProperty,PE={f:Lu?IW:function(e,t,n){if(Zs(e),t=vR(t),Zs(n),SW)try{return IW(e,t,n)}catch(r){}if("get"in n||"set"in n)throw c0e("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},yR=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Rp=Lu?function(e,t,n){return PE.f(e,t,yR(1,n))}:function(e,t,n){return e[t]=n,e},f0e=zr(Function.toString);oa(Hc.inspectSource)||(Hc.inspectSource=function(e){return f0e(e)});var LE,x0,ME,bR=Hc.inspectSource,PW=lr.WeakMap,d0e=oa(PW)&&/native code/.test(bR(PW)),LW=aR("keys"),MW=function(e){return LW[e]||(LW[e]=bW(e))},_R={},ER=lr.TypeError,h0e=lr.WeakMap;if(d0e||Hc.state){var _d=Hc.state||(Hc.state=new h0e),p0e=zr(_d.get),jW=zr(_d.has),m0e=zr(_d.set);LE=function(e,t){if(jW(_d,e))throw new ER("Object already initialized");return t.facade=e,m0e(_d,e,t),t},x0=function(e){return p0e(_d,e)||{}},ME=function(e){return jW(_d,e)}}else{var Np=MW("state");_R[Np]=!0,LE=function(e,t){if(Ts(e,Np))throw new ER("Object already initialized");return t.facade=e,Rp(e,Np,t),t},x0=function(e){return Ts(e,Np)?e[Np]:{}},ME=function(e){return Ts(e,Np)}}var wR={set:LE,get:x0,has:ME,enforce:function(e){return ME(e)?x0(e):LE(e,{})},getterFor:function(e){return function(t){var n;if(!Qs(t)||(n=x0(t)).type!==e)throw ER("Incompatible receiver, "+e+" required");return n}}},kW=Function.prototype,g0e=Lu&&Object.getOwnPropertyDescriptor,OR=Ts(kW,"name"),FW={EXISTS:OR,PROPER:OR&&function(){}.name==="something",CONFIGURABLE:OR&&(!Lu||Lu&&g0e(kW,"name").configurable)},S0=iR(function(e){var t=FW.CONFIGURABLE,n=wR.get,r=wR.enforce,i=String(String).split("String");(e.exports=function(o,a,s,u){var l,c=!!u&&!!u.unsafe,d=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet,h=u&&u.name!==void 0?u.name:a;oa(s)&&(String(h).slice(0,7)==="Symbol("&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ts(s,"name")||t&&s.name!==h)&&Rp(s,"name",h),(l=r(s)).source||(l.source=i.join(typeof h=="string"?h:""))),o!==lr?(c?!p&&o[a]&&(d=!0):delete o[a],d?o[a]=s:Rp(o,a,s)):d?o[a]=s:oR(a,s)})(Function.prototype,"toString",function(){return oa(this)&&n(this).source||bR(this)})}),v0e=zr({}.toString),y0e=zr("".slice),zc=function(e){return y0e(v0e(e),8,-1)},b0e=Wc("toStringTag"),_0e=lr.Object,E0e=zc(function(){return arguments}())=="Arguments",AR=hR?zc:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=_0e(e),b0e))=="string"?n:E0e?zc(t):(r=zc(t))=="Object"&&oa(t.callee)?"Arguments":r},w0e=hR?{}.toString:function(){return"[object "+AR(this)+"]"};hR||S0(Object.prototype,"toString",w0e,{unsafe:!0});var BW,UW={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},CR=mR("span").classList,HW=CR&&CR.constructor&&CR.constructor.prototype,O0e=HW===Object.prototype?void 0:HW,WW=zr(zr.bind),xR=lr.Object,A0e=zr("".split),SR=Lo(function(){return!xR("z").propertyIsEnumerable(0)})?function(e){return zc(e)=="String"?A0e(e,""):xR(e)}:xR,C0e=Math.ceil,x0e=Math.floor,TR=function(e){var t=+e;return t!=t||t===0?0:(t>0?x0e:C0e)(t)},S0e=Math.min,zW=function(e){return e>0?S0e(TR(e),9007199254740991):0},DR=function(e){return zW(e.length)},VW=Array.isArray||function(e){return zc(e)=="Array"},GW=function(){},T0e=[],KW=O0("Reflect","construct"),RR=/^\s*(?:class|function)\b/,D0e=zr(RR.exec),R0e=!RR.exec(GW),T0=function(e){if(!oa(e))return!1;try{return KW(GW,T0e,e),!0}catch(t){return!1}},YW=!KW||Lo(function(){var e;return T0(T0.call)||!T0(Object)||!T0(function(){e=!0})||e})?function(e){if(!oa(e))return!1;switch(AR(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return R0e||!!D0e(RR,bR(e))}:T0,N0e=Wc("species"),XW=lr.Array,I0e=function(e,t){return new(function(n){var r;return VW(n)&&(r=n.constructor,(YW(r)&&(r===XW||VW(r.prototype))||Qs(r)&&(r=r[N0e])===null)&&(r=void 0)),r===void 0?XW:r}(e))(t===0?0:t)},JW=zr([].push),Vc=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,E=lR(u),g=SR(E),y=function(W,q){return RW(W),q===void 0?W:WW?WW(W,q):function(){return W.apply(q,arguments)}}(l,c),_=DR(g),m=0,T=d||I0e,R=t?T(u,_):n||a?T(u,0):void 0;_>m;m++)if((s||m in g)&&(h=y(p=g[m],m,E),e))if(t)R[m]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return m;case 2:JW(R,p)}else switch(e){case 4:return!1;case 7:JW(R,p)}return o?-1:r||i?i:R}},P0e=[Vc(0),Vc(1),Vc(2),Vc(3),Vc(4),Vc(5),Vc(6),Vc(7)][0],NR=(BW=[].forEach)&&Lo(function(){BW.call(null,function(){throw 1},1)})?[].forEach:function(e){return P0e(this,e,arguments.length>1?arguments[1]:void 0)},QW=function(e){if(e&&e.forEach!==NR)try{Rp(e,"forEach",NR)}catch(t){e.forEach=NR}};for(var IR in UW)UW[IR]&&QW(lr[IR]&&lr[IR].prototype);QW(O0e);var ZW={}.propertyIsEnumerable,qW=Object.getOwnPropertyDescriptor,$W={f:qW&&!ZW.call({1:2},1)?function(e){var t=qW(this,e);return!!t&&t.enumerable}:ZW},jE=function(e){return SR(Dp(e))},ez=Object.getOwnPropertyDescriptor,tz={f:Lu?ez:function(e,t){if(e=jE(e),t=vR(t),SW)try{return ez(e,t)}catch(n){}if(Ts(e,t))return yR(!Ao($W.f,e,t),e[t])}},L0e=Math.max,M0e=Math.min,PR=function(e,t){var n=TR(e);return n<0?L0e(n+t,0):M0e(n,t)},nz=function(e){return function(t,n,r){var i,o=jE(t),a=DR(o),s=PR(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},j0e=(nz(!0),nz(!1)),rz=zr([].push),iz=function(e,t){var n,r=jE(e),i=0,o=[];for(n in r)!Ts(_R,n)&&Ts(r,n)&&rz(o,n);for(;t.length>i;)Ts(r,n=t[i++])&&(~j0e(o,n)||rz(o,n));return o},kE=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],k0e=kE.concat("length","prototype"),F0e={f:Object.getOwnPropertyNames||function(e){return iz(e,k0e)}},oz={f:Object.getOwnPropertySymbols},B0e=zr([].concat),U0e=O0("Reflect","ownKeys")||function(e){var t=F0e.f(Zs(e)),n=oz.f;return n?B0e(t,n(e)):t},H0e=function(e,t){for(var n=U0e(t),r=PE.f,i=tz.f,o=0;o<n.length;o++){var a=n[o];Ts(e,a)||r(e,a,i(t,a))}},W0e=/#|\.prototype\./,D0=function(e,t){var n=V0e[z0e(e)];return n==K0e||n!=G0e&&(oa(t)?Lo(t):!!t)},z0e=D0.normalize=function(e){return String(e).replace(W0e,".").toLowerCase()},V0e=D0.data={},G0e=D0.NATIVE="N",K0e=D0.POLYFILL="P",Y0e=D0,X0e=tz.f,FE=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,l=e.stat;if(n=u?lr:l?lr[s]||oR(s,{}):(lr[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=X0e(n,r))&&a.value:n[r],!Y0e(u?r:s+(l?".":"#")+r,e.forced)&&i!==void 0){if(typeof o==typeof i)continue;H0e(o,i)}(e.sham||i&&i.sham)&&Rp(o,"sham",!0),S0(n,r,o,e)}},BE=Object.keys||function(e){return iz(e,kE)},Ip=Object.assign,az=Object.defineProperty,J0e=zr([].concat),sz=!Ip||Lo(function(){if(Lu&&Ip({b:1},Ip(az({},"a",{enumerable:!0,get:function(){az(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(i){t[i]=i}),Ip({},e)[n]!=7||BE(Ip({},t)).join("")!=r})?function(e,t){for(var n=lR(e),r=arguments.length,i=1,o=oz.f,a=$W.f;r>i;)for(var s,u=SR(arguments[i++]),l=o?J0e(BE(u),o(u)):BE(u),c=l.length,d=0;c>d;)s=l[d++],Lu&&!Ao(a,u,s)||(n[s]=u[s]);return n}:Ip;FE({target:"Object",stat:!0,forced:Object.assign!==sz},{assign:sz});var uz=iR(function(e){var t=function(n){var r=/\blang(?:uage)?-([\w-]+)\b/i,i=0,o={},a={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function y(_){return _ instanceof s?new s(_.type,y(_.content),_.alias):Array.isArray(_)?_.map(y):_.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(y){return Object.prototype.toString.call(y).slice(8,-1)},objId:function(y){return y.__id||Object.defineProperty(y,"__id",{value:++i}),y.__id},clone:function y(_,m){var T,R;switch(m=m||{},a.util.type(_)){case"Object":if(R=a.util.objId(_),m[R])return m[R];for(var W in T={},m[R]=T,_)_.hasOwnProperty(W)&&(T[W]=y(_[W],m));return T;case"Array":return R=a.util.objId(_),m[R]?m[R]:(T=[],m[R]=T,_.forEach(function(q,X){T[X]=y(q,m)}),T);default:return _}},getLanguage:function(y){for(;y&&!r.test(y.className);)y=y.parentElement;return y?(y.className.match(r)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if(typeof document=="undefined")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(T){var y=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(T.stack)||[])[1];if(y){var _=document.getElementsByTagName("script");for(var m in _)if(_[m].src==y)return _[m]}return null}},isActive:function(y,_,m){for(var T="no-"+_;y;){var R=y.classList;if(R.contains(_))return!0;if(R.contains(T))return!1;y=y.parentElement}return!!m}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(y,_){var m=a.util.clone(a.languages[y]);for(var T in _)m[T]=_[T];return m},insertBefore:function(y,_,m,T){var R=(T=T||a.languages)[y],W={};for(var q in R)if(R.hasOwnProperty(q)){if(q==_)for(var X in m)m.hasOwnProperty(X)&&(W[X]=m[X]);m.hasOwnProperty(q)||(W[q]=R[q])}var ge=T[y];return T[y]=W,a.languages.DFS(a.languages,function(Ne,nt){nt===ge&&Ne!=y&&(this[Ne]=W)}),W},DFS:function y(_,m,T,R){R=R||{};var W=a.util.objId;for(var q in _)if(_.hasOwnProperty(q)){m.call(_,q,_[q],T||q);var X=_[q],ge=a.util.type(X);ge!=="Object"||R[W(X)]?ge!=="Array"||R[W(X)]||(R[W(X)]=!0,y(X,m,q,R)):(R[W(X)]=!0,y(X,m,null,R))}}},plugins:{},highlightAll:function(y,_){a.highlightAllUnder(document,y,_)},highlightAllUnder:function(y,_,m){var T={callback:m,container:y,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",T),T.elements=Array.prototype.slice.apply(T.container.querySelectorAll(T.selector)),a.hooks.run("before-all-elements-highlight",T);for(var R,W=0;R=T.elements[W++];)a.highlightElement(R,_===!0,T.callback)},highlightElement:function(y,_,m){var T=a.util.getLanguage(y),R=a.languages[T];y.className=y.className.replace(r,"").replace(/\s+/g," ")+" language-"+T;var W=y.parentElement;W&&W.nodeName.toLowerCase()==="pre"&&(W.className=W.className.replace(r,"").replace(/\s+/g," ")+" language-"+T);var q={element:y,language:T,grammar:R,code:y.textContent};function X(Ne){q.highlightedCode=Ne,a.hooks.run("before-insert",q),q.element.innerHTML=q.highlightedCode,a.hooks.run("after-highlight",q),a.hooks.run("complete",q),m&&m.call(q.element)}if(a.hooks.run("before-sanity-check",q),(W=q.element.parentElement)&&W.nodeName.toLowerCase()==="pre"&&!W.hasAttribute("tabindex")&&W.setAttribute("tabindex","0"),!q.code)return a.hooks.run("complete",q),void(m&&m.call(q.element));if(a.hooks.run("before-highlight",q),q.grammar)if(_&&n.Worker){var ge=new Worker(a.filename);ge.onmessage=function(Ne){X(Ne.data)},ge.postMessage(JSON.stringify({language:q.language,code:q.code,immediateClose:!0}))}else X(a.highlight(q.code,q.grammar,q.language));else X(a.util.encode(q.code))},highlight:function(y,_,m){var T={code:y,grammar:_,language:m};return a.hooks.run("before-tokenize",T),T.tokens=a.tokenize(T.code,T.grammar),a.hooks.run("after-tokenize",T),s.stringify(a.util.encode(T.tokens),T.language)},tokenize:function(y,_){var m=_.rest;if(m){for(var T in m)_[T]=m[T];delete _.rest}var R=new c;return d(R,R.head,y),l(y,R,_,R.head,0),function(W){for(var q=[],X=W.head.next;X!==W.tail;)q.push(X.value),X=X.next;return q}(R)},hooks:{all:{},add:function(y,_){var m=a.hooks.all;m[y]=m[y]||[],m[y].push(_)},run:function(y,_){var m=a.hooks.all[y];if(m&&m.length)for(var T,R=0;T=m[R++];)T(_)}},Token:s};function s(y,_,m,T){this.type=y,this.content=_,this.alias=m,this.length=0|(T||"").length}function u(y,_,m,T){y.lastIndex=_;var R=y.exec(m);if(R&&T&&R[1]){var W=R[1].length;R.index+=W,R[0]=R[0].slice(W)}return R}function l(y,_,m,T,R,W){for(var q in m)if(m.hasOwnProperty(q)&&m[q]){var X=m[q];X=Array.isArray(X)?X:[X];for(var ge=0;ge<X.length;++ge){if(W&&W.cause==q+","+ge)return;var Ne=X[ge],nt=Ne.inside,dt=!!Ne.lookbehind,rt=!!Ne.greedy,Ct=Ne.alias;if(rt&&!Ne.pattern.global){var yt=Ne.pattern.toString().match(/[imsuy]*$/)[0];Ne.pattern=RegExp(Ne.pattern.source,yt+"g")}for(var bt=Ne.pattern||Ne,Et=T.next,Jt=R;Et!==_.tail&&!(W&&Jt>=W.reach);Jt+=Et.value.length,Et=Et.next){var mn=Et.value;if(_.length>y.length)return;if(!(mn instanceof s)){var dn,cn=1;if(rt){if(!(dn=u(bt,Jt,y,dt)))break;var Oe=dn.index,ae=dn.index+dn[0].length,Le=Jt;for(Le+=Et.value.length;Oe>=Le;)Le+=(Et=Et.next).value.length;if(Jt=Le-=Et.value.length,Et.value instanceof s)continue;for(var ut=Et;ut!==_.tail&&(Le<ae||typeof ut.value=="string");ut=ut.next)cn++,Le+=ut.value.length;cn--,mn=y.slice(Jt,Le),dn.index-=Jt}else if(!(dn=u(bt,0,mn,dt)))continue;Oe=dn.index;var It=dn[0],gt=mn.slice(0,Oe),an=mn.slice(Oe+It.length),xn=Jt+mn.length;W&&xn>W.reach&&(W.reach=xn);var Fn=Et.prev;if(gt&&(Fn=d(_,Fn,gt),Jt+=gt.length),p(_,Fn,cn),Et=d(_,Fn,new s(q,nt?a.tokenize(It,nt):It,Ct,It)),an&&d(_,Et,an),cn>1){var Jn={cause:q+","+ge,reach:xn};l(y,_,m,Et.prev,Jt,Jn),W&&Jn.reach>W.reach&&(W.reach=Jn.reach)}}}}}}function c(){var y={value:null,prev:null,next:null},_={value:null,prev:y,next:null};y.next=_,this.head=y,this.tail=_,this.length=0}function d(y,_,m){var T=_.next,R={value:m,prev:_,next:T};return _.next=R,T.prev=R,y.length++,R}function p(y,_,m){for(var T=_.next,R=0;R<m&&T!==y.tail;R++)T=T.next;_.next=T,T.prev=_,y.length-=R}if(n.Prism=a,s.stringify=function y(_,m){if(typeof _=="string")return _;if(Array.isArray(_)){var T="";return _.forEach(function(ge){T+=y(ge,m)}),T}var R={type:_.type,content:y(_.content,m),tag:"span",classes:["token",_.type],attributes:{},language:m},W=_.alias;W&&(Array.isArray(W)?Array.prototype.push.apply(R.classes,W):R.classes.push(W)),a.hooks.run("wrap",R);var q="";for(var X in R.attributes)q+=" "+X+'="'+(R.attributes[X]||"").replace(/"/g,"&quot;")+'"';return"<"+R.tag+' class="'+R.classes.join(" ")+'"'+q+">"+R.content+"</"+R.tag+">"},!n.document)return n.addEventListener&&(a.disableWorkerMessageHandler||n.addEventListener("message",function(y){var _=JSON.parse(y.data),m=_.language,T=_.code,R=_.immediateClose;n.postMessage(a.highlight(T,a.languages[m],m)),R&&n.close()},!1)),a;var h=a.util.currentScript();function E(){a.manual||a.highlightAll()}if(h&&(a.filename=h.src,h.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var g=document.readyState;g==="loading"||g==="interactive"&&h&&h.defer?document.addEventListener("DOMContentLoaded",E):window.requestAnimationFrame?window.requestAnimationFrame(E):window.setTimeout(E,16)}return a}(typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{});/**
* Prism: Lightweight, robust, elegant syntax highlighting
*
* @license MIT <https://opensource.org/licenses/MIT>
* @author Lea Verou <https://lea.verou.me>
* @namespace
* @public
*/e.exports&&(e.exports=t),RE!==void 0&&(RE.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&amp;/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(n,r){var i={};i["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[r]},i.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}};o["language-"+r]={pattern:/[\s\S]+/,inside:t.languages[r]};var a={};a[n]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:o},t.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(n,r){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:t.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(n){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var i=n.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(t!==void 0&&typeof document!="undefined"){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var n={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},r="data-src-status",i='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',o=/\blang(?:uage)?-([\w-]+)\b/i;t.hooks.add("before-highlightall",function(u){u.selector+=", "+i}),t.hooks.add("before-sanity-check",function(u){var l=u.element;if(l.matches(i)){u.code="",l.setAttribute(r,"loading");var c=l.appendChild(document.createElement("CODE"));c.textContent="Loading\u2026";var d=l.getAttribute("data-src"),p=u.language;if(p==="none"){var h=(/\.(\w+)$/.exec(d)||[,"none"])[1];p=n[h]||h}s(c,p),s(l,p);var E=t.plugins.autoloader;E&&E.loadLanguages(p);var g=new XMLHttpRequest;g.open("GET",d,!0),g.onreadystatechange=function(){g.readyState==4&&(g.status<400&&g.responseText?(l.setAttribute(r,"loaded"),c.textContent=g.responseText,t.highlightElement(c)):(l.setAttribute(r,"failed"),g.status>=400?c.textContent="\u2716 Error "+g.status+" while fetching file: "+g.statusText:c.textContent="\u2716 Error: File does not exist or is empty"))},g.send(null)}}),t.plugins.fileHighlight={highlight:function(u){for(var l,c=(u||document).querySelectorAll(i),d=0;l=c[d++];)t.highlightElement(l)}};var a=!1;t.fileHighlight=function(){a||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),a=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}function s(u,l){var c=u.className;c=c.replace(o," ")+" language-"+l,u.className=c.replace(/\s+/g," ").trim()}}()});!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(u,l){return u=u.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return i}),RegExp(u,l)}i=o(i).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/i,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx},alias:"language-javascript"}},e.languages.jsx.tag);var a=function(u){return u?typeof u=="string"?u:typeof u.content=="string"?u.content:u.content.map(a).join(""):""},s=function(u){for(var l=[],c=0;c<u.length;c++){var d=u[c],p=!1;if(typeof d!="string"&&(d.type==="tag"&&d.content[0]&&d.content[0].type==="tag"?d.content[0].content[0].content==="</"?l.length>0&&l[l.length-1].tagName===a(d.content[0].content[1])&&l.pop():d.content[d.content.length-1].content==="/>"||l.push({tagName:a(d.content[0].content[1]),openedBraces:0}):l.length>0&&d.type==="punctuation"&&d.content==="{"?l[l.length-1].openedBraces++:l.length>0&&l[l.length-1].openedBraces>0&&d.type==="punctuation"&&d.content==="}"?l[l.length-1].openedBraces--:p=!0),(p||typeof d=="string")&&l.length>0&&l[l.length-1].openedBraces===0){var h=a(d);c<u.length-1&&(typeof u[c+1]=="string"||u[c+1].type==="plain-text")&&(h+=a(u[c+1]),u.splice(c+1,1)),c>0&&(typeof u[c-1]=="string"||u[c-1].type==="plain-text")&&(h=a(u[c-1])+h,u.splice(c-1,1),c--),u[c]=new e.Token("plain-text",h,null,h)}d.content&&typeof d.content!="string"&&s(d.content)}};e.hooks.add("after-tokenize",function(u){u.language!=="jsx"&&u.language!=="tsx"||s(u.tokens)})}(Prism),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|as|declare|implements|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter;var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(Prism),Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete Prism.languages.go["class-name"],function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/i,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*[\w|]\|\s*)(?:null|false)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?[\w|]\|\s*)(?:null|false)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:null|false)\b/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:i,punctuation:o};var a={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:a}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:a}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(u){/<\?/.test(u.code)&&e.languages["markup-templating"].buildPlaceholders(u,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi)}),e.hooks.add("after-tokenize",function(u){e.languages["markup-templating"].tokenizePlaceholders(u,"php")})}(Prism),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism),function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:module|import)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(Prism),function(e){function t(ae,Le){return ae.replace(/<<(\d+)>>/g,function(ut,It){return"(?:"+Le[+It]+")"})}function n(ae,Le,ut){return RegExp(t(ae,Le),ut||"")}function r(ae,Le){for(var ut=0;ut<Le;ut++)ae=ae.replace(/<<self>>/g,function(){return"(?:"+ae+")"});return ae.replace(/<<self>>/g,"[^\\s\\S]")}var i="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",o="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function u(ae){return"\\b(?:"+ae.trim().replace(/ /g,"|")+")\\b"}var l=u(o),c=RegExp(u(i+" "+o+" "+a+" "+s)),d=u(o+" "+a+" "+s),p=u(i+" "+o+" "+s),h=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),E=r(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,y=t(/<<0>>(?:\s*<<1>>)?/.source,[g,h]),_=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,y]),m=/\[\s*(?:,\s*)*\]/.source,T=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[_,m]),R=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[h,E,m]),W=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[R]),q=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[W,_,m]),X={keyword:c,punctuation:/[<>()?,.:[\]]/},ge=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,Ne=/"(?:\\.|[^\\"\r\n])*"/.source,nt=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[nt]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[Ne]),lookbehind:!0,greedy:!0},{pattern:RegExp(ge),greedy:!0,alias:"character"}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[_]),lookbehind:!0,inside:X},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,q]),lookbehind:!0,inside:X},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[l,y]),lookbehind:!0,inside:X},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[_]),lookbehind:!0,inside:X},{pattern:n(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[T]),lookbehind:!0,inside:X},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[q,p,g]),inside:X}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[E]),lookbehind:!0,alias:"class-name",inside:X},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[q,_]),inside:X,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[q]),lookbehind:!0,inside:X,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,h]),inside:{function:n(/^<<0>>/.source,[g]),generic:{pattern:RegExp(h),alias:"class-name",inside:X}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,y,g,q,c.source,E,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[y,E]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(q),greedy:!0,inside:X},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var dt=Ne+"|"+ge,rt=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[dt]),Ct=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[rt]),2),yt=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,bt=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[_,Ct]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[yt,bt]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[yt]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[Ct]),inside:e.languages.csharp},"class-name":{pattern:RegExp(_),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var Et=/:[^}\r\n]+/.source,Jt=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[rt]),2),mn=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Jt,Et]),dn=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[dt]),2),cn=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[dn,Et]);function Oe(ae,Le){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[ae]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Le,Et]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[mn]),lookbehind:!0,greedy:!0,inside:Oe(mn,Jt)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[cn]),lookbehind:!0,greedy:!0,inside:Oe(cn,dn)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp,Prism.languages["visual-basic"]={comment:{pattern:/(?:[']|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:[^\S\r\n]_[^\S\r\n]*(?:\r\n?|\n)|.)+/i,alias:"comment",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[^\S\r\n]*(?:\d+([/-])\d+\1\d+(?:[^\S\r\n]+(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))?|\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?)[^\S\r\n]*#/i,alias:"builtin"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:U?[ILS]|[FRD])?/i,boolean:/\b(?:True|False|Nothing)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Until|Xor)\b/i,operator:[/[+\-*/\\^<=>&#@$%!]/,{pattern:/([^\S\r\n])_(?=[^\S\r\n]*[\r\n])/,lookbehind:!0}],punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages["visual-basic"],Prism.languages.vba=Prism.languages["visual-basic"],Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){e.languages.ruby=e.languages.extend("clike",{comment:[/#.*/,{pattern:/^=begin\s[\s\S]*?^=end/m,greedy:!0}],"class-name":{pattern:/(\b(?:class)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/});var t={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:e.languages.ruby}};delete e.languages.ruby.function,e.languages.insertBefore("ruby","keyword",{regex:[{pattern:RegExp(/%r/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:{pattern:/(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/,lookbehind:!0},"method-definition":{pattern:/(\bdef\s+)[\w.]+/,lookbehind:!0,inside:{function:/\w+$/,rest:e.languages.ruby}}}),e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:RegExp(/%[qQiIwWxs]?/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"),greedy:!0,inside:{interpolation:t}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?/}},interpolation:t}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?'|'$/}}}}],e.languages.rb=e.languages.ruby}(Prism),Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:true|false)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:true|false)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift}),function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var i=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,a=0;a<i.length;a++)o[i[a]]=e.languages.bash[i[a]];e.languages.shell=e.languages.bash}(Prism),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(l){return l=l.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+l+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+o+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+o+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(l){["url","bold","italic","strike","code-snippet"].forEach(function(c){l!==c&&(e.languages.markdown[l].inside.content.inside[c]=e.languages.markdown[c])})}),e.hooks.add("after-tokenize",function(l){l.language!=="markdown"&&l.language!=="md"||function c(d){if(d&&typeof d!="string")for(var p=0,h=d.length;p<h;p++){var E=d[p];if(E.type==="code"){var g=E.content[1],y=E.content[3];if(g&&y&&g.type==="code-language"&&y.type==="code-block"&&typeof g.content=="string"){var _=g.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),m="language-"+(_=(/[a-z][\w-]*/i.exec(_)||[""])[0].toLowerCase());y.alias?typeof y.alias=="string"?y.alias=[y.alias,m]:y.alias.push(m):y.alias=[m]}}else c(E.content)}}(l.tokens)}),e.hooks.add("wrap",function(l){if(l.type==="code-block"){for(var c="",d=0,p=l.classes.length;d<p;d++){var h=l.classes[d],E=/language-(.+)/.exec(h);if(E){c=E[1];break}}var g=e.languages[c];if(g)l.content=e.highlight(function(_){var m=_.replace(a,"");return m.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(T,R){var W;return(R=R.toLowerCase())[0]==="#"?(W=R[1]==="x"?parseInt(R.slice(2),16):Number(R.slice(1)),u(W)):s[R]||T})}(l.content),g,c);else if(c&&c!=="none"&&e.plugins.autoloader){var y="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random());l.attributes.id=y,e.plugins.autoloader.loadLanguages(c,function(){var _=document.getElementById(y);_&&(_.innerHTML=e.highlight(_.textContent,e.languages[c],c))})}}});var a=RegExp(e.languages.markup.tag.pattern.source,"gi"),s={amp:"&",lt:"<",gt:">",quot:'"'},u=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Prism),Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},Prism.languages.groovy=Prism.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:as|def|in|abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),Prism.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),Prism.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:setup|given|when|then|and|cleanup|expect|where):/}),Prism.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),Prism.hooks.add("wrap",function(e){if(e.language==="groovy"&&e.type==="string"){var t=e.content[0];if(t!="'"){var n=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;t==="$"&&(n=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),e.content=e.content.replace(/&lt;/g,"<").replace(/&amp;/g,"&"),e.content=Prism.highlight(e.content,{expression:{pattern:n,lookbehind:!0,inside:Prism.languages.groovy}}),e.classes.push(t==="/"?"regex":"gstring")}}});var Q0e=["comment","prolog","doctype","cdata","punctuation","namespace","property","tag","boolean","number","constant","symbol","deleted","selector","attr-name","string","builtin","inserted","operator","entity","url","string","atrule","attr-value","keyword","function","class-name","regex","important","variable","bold","italic","entity","char"];function lz(e){return typeof e=="string"?e.length:typeof e.content=="string"?e.content.length:e.content.reduce(function(t,n){return t+lz(n)},0)}var UE,Z0e=lr.String,hl=function(e){if(AR(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Z0e(e)},cz=function(){var e=Zs(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},LR=lr.RegExp,MR=Lo(function(){var e=LR("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),q0e=MR||Lo(function(){return!LR("a","y").sticky}),fz={BROKEN_CARET:MR||Lo(function(){var e=LR("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:q0e,UNSUPPORTED_Y:MR},$0e=Lu?Object.defineProperties:function(e,t){Zs(e);for(var n,r=jE(t),i=BE(t),o=i.length,a=0;o>a;)PE.f(e,n=i[a++],r[n]);return e},e1e=O0("document","documentElement"),dz=MW("IE_PROTO"),jR=function(){},hz=function(e){return"<script>"+e+"</script>"},pz=function(e){e.write(hz("")),e.close();var t=e.parentWindow.Object;return e=null,t},HE=function(){try{UE=new ActiveXObject("htmlfile")}catch(r){}var e,t;HE=typeof document!="undefined"?document.domain&&UE?pz(UE):((t=mR("iframe")).style.display="none",e1e.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(hz("document.F=Object")),e.close(),e.F):pz(UE);for(var n=kE.length;n--;)delete HE.prototype[kE[n]];return HE()};_R[dz]=!0;var mz,kR,t1e=Object.create||function(e,t){var n;return e!==null?(jR.prototype=Zs(e),n=new jR,jR.prototype=null,n[dz]=e):n=HE(),t===void 0?n:$0e(n,t)},n1e=lr.RegExp,r1e=Lo(function(){var e=n1e(".","s");return!(e.dotAll&&e.exec(`
`)&&e.flags==="s")}),i1e=lr.RegExp,o1e=Lo(function(){var e=i1e("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),a1e=wR.get,s1e=aR("native-string-replace",String.prototype.replace),WE=RegExp.prototype.exec,FR=WE,u1e=zr("".charAt),l1e=zr("".indexOf),c1e=zr("".replace),BR=zr("".slice),UR=(kR=/b*/g,Ao(WE,mz=/a/,"a"),Ao(WE,kR,"a"),mz.lastIndex!==0||kR.lastIndex!==0),gz=fz.BROKEN_CARET,HR=/()??/.exec("")[1]!==void 0;(UR||HR||gz||r1e||o1e)&&(FR=function(e){var t,n,r,i,o,a,s,u=this,l=a1e(u),c=hl(e),d=l.raw;if(d)return d.lastIndex=u.lastIndex,t=Ao(FR,d,c),u.lastIndex=d.lastIndex,t;var p=l.groups,h=gz&&u.sticky,E=Ao(cz,u),g=u.source,y=0,_=c;if(h&&(E=c1e(E,"y",""),l1e(E,"g")===-1&&(E+="g"),_=BR(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&u1e(c,u.lastIndex-1)!==`
`)&&(g="(?: "+g+")",_=" "+_,y++),n=new RegExp("^(?:"+g+")",E)),HR&&(n=new RegExp("^"+g+"$(?!\\s)",E)),UR&&(r=u.lastIndex),i=Ao(WE,h?n:u,_),h?i?(i.input=BR(i.input,y),i[0]=BR(i[0],y),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:UR&&i&&(u.lastIndex=u.global?i.index+i[0].length:r),HR&&i&&i.length>1&&Ao(s1e,i[0],n,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(i[o]=void 0)}),i&&p)for(i.groups=a=t1e(null),o=0;o<p.length;o++)a[(s=p[o])[0]]=i[s[1]];return i});var R0=FR;FE({target:"RegExp",proto:!0,forced:/./.exec!==R0},{exec:R0});var WR=Function.prototype,vz=WR.apply,f1e=WR.bind,yz=WR.call,d1e=typeof Reflect=="object"&&Reflect.apply||(f1e?yz.bind(vz):function(){return yz.apply(vz,arguments)}),h1e=Wc("species"),zR=RegExp.prototype,p1e=Wc("match"),m1e=lr.TypeError,g1e=Wc("species"),v1e=zr("".charAt),bz=zr("".charCodeAt),y1e=zr("".slice),_z=function(e){return function(t,n){var r,i,o=hl(Dp(t)),a=TR(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=bz(o,a))<55296||r>56319||a+1===s||(i=bz(o,a+1))<56320||i>57343?e?v1e(o,a):r:e?y1e(o,a,a+2):i-56320+(r-55296<<10)+65536}},b1e=(_z(!1),_z(!0)),_1e=function(e,t,n){return t+(n?b1e(e,t).length:1)},E1e=lr.Array,w1e=Math.max,Ez=function(e,t,n){for(var r,i,o,a,s=DR(e),u=PR(t,s),l=PR(n===void 0?s:n,s),c=E1e(w1e(l-u,0)),d=0;u<l;u++,d++)r=c,i=d,o=e[u],(a=vR(i))in r?PE.f(r,a,yR(0,o)):r[a]=o;return c.length=d,c},O1e=lr.TypeError,wz=function(e,t){var n=e.exec;if(oa(n)){var r=Ao(n,e,t);return r!==null&&Zs(r),r}if(zc(e)==="RegExp")return Ao(R0,e,t);throw O1e("RegExp#exec called on incompatible receiver")},Pp=fz.UNSUPPORTED_Y,A1e=Math.min,Oz=[].push,C1e=zr(/./.exec),Lp=zr(Oz),N0=zr("".slice);!function(e,t,n,r){var i=Wc(e),o=!Lo(function(){var l={};return l[i]=function(){return 7},""[e](l)!=7}),a=o&&!Lo(function(){var l=!1,c=/a/;return(c={}).constructor={},c.constructor[h1e]=function(){return c},c.flags="",c[i]=/./[i],c.exec=function(){return l=!0,null},c[i](""),!l});if(!o||!a||n){var s=zr(/./[i]),u=function(l,c,d){var p;return p="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(h,E){var g,y,_=hl(Dp(this)),m=E===void 0?4294967295:E>>>0;if(m===0)return[];if(h===void 0)return[_];if(!Qs(g=h)||!((y=g[p1e])!==void 0?y:zc(g)=="RegExp"))return Ao(c,_,h,m);for(var T,R,W,q=[],X=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(h.sticky?"y":""),ge=0,Ne=new RegExp(h.source,X+"g");(T=Ao(R0,Ne,_))&&!((R=Ne.lastIndex)>ge&&(Lp(q,N0(_,ge,T.index)),T.length>1&&T.index<_.length&&d1e(Oz,q,Ez(T,1)),W=T[0].length,ge=R,q.length>=m));)Ne.lastIndex===T.index&&Ne.lastIndex++;return ge===_.length?!W&&C1e(Ne,"")||Lp(q,""):Lp(q,N0(_,ge)),q.length>m?Ez(q,0,m):q}:"0".split(void 0,0).length?function(h,E){return h===void 0&&E===0?[]:Ao(c,this,h,E)}:c,[function(h,E){var g=Dp(this),y=h==null?void 0:NW(h,l);return y?Ao(y,h,g,E):Ao(p,hl(g),h,E)},function(h,E){var g=Zs(this),y=hl(h),_=d(p,g,y,E,p!==c);if(_.done)return _.value;var m=function(Ct,yt){var bt,Et=Zs(Ct).constructor;return Et===void 0||(bt=Zs(Et)[g1e])==null?yt:function(Jt){if(YW(Jt))return Jt;throw m1e(DW(Jt)+" is not a constructor")}(bt)}(g,RegExp),T=g.unicode,R=(g.ignoreCase?"i":"")+(g.multiline?"m":"")+(g.unicode?"u":"")+(Pp?"g":"y"),W=new m(Pp?"^(?:"+g.source+")":g,R),q=E===void 0?4294967295:E>>>0;if(q===0)return[];if(y.length===0)return wz(W,y)===null?[y]:[];for(var X=0,ge=0,Ne=[];ge<y.length;){W.lastIndex=Pp?0:ge;var nt,dt=wz(W,Pp?N0(y,ge):y);if(dt===null||(nt=A1e(zW(W.lastIndex+(Pp?ge:0)),y.length))===X)ge=_1e(y,ge,T);else{if(Lp(Ne,N0(y,X,ge)),Ne.length===q)return Ne;for(var rt=1;rt<=dt.length-1;rt++)if(Lp(Ne,dt[rt]),Ne.length===q)return Ne;ge=X=nt}}return Lp(Ne,N0(y,X)),Ne}]}(i,""[e],function(l,c,d,p,h){var E=zr(l),g=c.exec;return g===R0||g===zR.exec?o&&!h?{done:!0,value:s(c,d,p)}:{done:!0,value:E(d,c,p)}:{done:!1}});S0(String.prototype,e,u[0]),S0(zR,i,u[1])}r&&Rp(zR[i],"sham",!0)}("split",0,!!Lo(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),Pp),FE({global:!0},{globalThis:lr}),ls&&(we.fn.attr=ls);var x1e=FW.PROPER,VR=RegExp.prototype,Az=VR.toString,S1e=zr(cz),T1e=Lo(function(){return Az.call({source:"a",flags:"b"})!="/a/b"}),D1e=x1e&&Az.name!="toString";(T1e||D1e)&&S0(RegExp.prototype,"toString",function(){var e=Zs(this),t=hl(e.source),n=e.flags;return"/"+t+"/"+hl(n===void 0&&TW(VR,e)&&!("flags"in VR)?S1e(e):n)},{unsafe:!0});var R1e=function(){function e(){this.title=Gt("highLightModule.selectLang"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 64v896h896V64H64z m487.6 698.8c0 87.2-51.2 127-125.8 127-67.4 0-106.4-34.8-126.4-77l68.6-41.4c13.2 23.4 25.2 43.2 54.2 43.2 27.6 0 45.2-10.8 45.2-53V475.4h84.2v287.4z m199.2 127c-78.2 0-128.8-37.2-153.4-86l68.6-39.6c18 29.4 41.6 51.2 83 51.2 34.8 0 57.2-17.4 57.2-41.6 0-28.8-22.8-39-61.4-56l-21-9c-60.8-25.8-101-58.4-101-127 0-63.2 48.2-111.2 123.2-111.2 53.6 0 92 18.6 119.6 67.4L800 580c-14.4-25.8-30-36-54.2-36-24.6 0-40.2 15.6-40.2 36 0 25.2 15.6 35.4 51.8 51.2l21 9c71.6 30.6 111.8 62 111.8 132.4 0 75.6-59.6 117.2-139.4 117.2z"></path></svg>',this.tag="select",this.width=95,this.selectPanelWidth=115}return e.prototype.getOptions=function(t){var n=[],r=t.getMenuConfig("codeSelectLang").codeLangs,i=r===void 0?[]:r;n.push({text:"plain text",value:""}),i.forEach(function(a){var s=a.text,u=a.value;n.push({text:s,value:u})});var o=this.getValue(t);return n.forEach(function(a){a.value===o?a.selected=!0:delete a.selected}),n},e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){var n=this.getSelectCodeElem(t);if(n==null)return"";if(!bn.isElement(n))return"";var r=n.language.toString(),i=t.getMenuConfig("codeSelectLang").codeLangs;return(i===void 0?[]:i).some(function(o){return o.value===r})?r:""},e.prototype.isDisabled=function(t){return t.selection==null||!this.getSelectCodeElem(t)},e.prototype.exec=function(t,n){if(this.getSelectCodeElem(t)!=null){var r={language:n.toString()};He.setNodes(t,r,{match:function(i){return de.checkNodeType(i,"code")}})}},e.prototype.getSelectCodeElem=function(t){var n=de.getSelectedNodeByType(t,"code");if(n==null)return null;var r=de.getParentNode(t,n);return bn.isElement(r)?r.type!=="pre"?null:n:null},e}(),N1e={renderStyle:function(e,t){var n=e,r=t,i="";return Q0e.forEach(function(o){n[o]&&(i=o)}),i&&function(o,a){o.data==null&&(o.data={});var s=o.data;s.props==null&&(s.props={}),Object.assign(s.props,{className:a})}(r,i="token "+i),r},parseStyleHtml:function(e,t,n){var r=we(e);if(!bn.isElement(t))return t;if(de.getNodeType(t)!=="code")return t;var i=t,o=r.attr("class")||"";return o.indexOf("language-")===0?i.language=o.split("-")[1]||"":i.language=o.toLowerCase(),i},menus:[{key:"codeSelectLang",factory:function(){return new R1e},config:{codeLangs:[{text:"CSS",value:"css"},{text:"HTML",value:"html"},{text:"XML",value:"xml"},{text:"Javascript",value:"javascript"},{text:"Typescript",value:"typescript"},{text:"JSX",value:"jsx"},{text:"Go",value:"go"},{text:"PHP",value:"php"},{text:"C",value:"c"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C++",value:"cpp"},{text:"C#",value:"csharp"},{text:"Visual Basic",value:"visual-basic"},{text:"SQL",value:"sql"},{text:"Ruby",value:"ruby"},{text:"Swift",value:"swift"},{text:"Bash",value:"bash"},{text:"Lua",value:"lua"},{text:"Groovy",value:"groovy"},{text:"Markdown",value:"markdown"}]}}],elemsToHtml:[{type:"code",elemToHtml:function(e,t){var n=e.language,r=n===void 0?"":n;return"<code "+(r?'class="language-'+r+'"':"")+">"+t+"</code>"}}]},I1e=/"/g,P1e=zr("".replace);FE({target:"String",proto:!0,forced:Lo(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){return t=e,n=hl(Dp(this)),r="<a",(r+=' name="'+P1e(hl(t),I1e,"&quot;")+'"')+">"+n+"</a>";var t,n,r}});var Cz=function(e){var t,n,r,i=function(_,m){var T=typeof Symbol=="function"&&_[Symbol.iterator];if(!T)return _;var R,W,q=T.call(_),X=[];try{for(;(m===void 0||m-- >0)&&!(R=q.next()).done;)X.push(R.value)}catch(ge){W={error:ge}}finally{try{R&&!R.done&&(T=q.return)&&T.call(q)}finally{if(W)throw W.error}}return X}(e,2),o=i[0],a=i[1],s=[],u=function(_){if(!rn.isText(_))return null;var m=de.getParentNode(null,_);if(m&&de.getNodeType(m)==="code"){var T=de.getParentNode(null,m);if(T&&de.getNodeType(T)==="pre")return m}return null}(o);if(u==null)return s;var l=u.language,c=l===void 0?"":l;if(!c)return s;var d=function(_,m){if(!m)return[];var T=uz.languages[m];return T?uz.tokenize(_.text,T):[]}(o,c),p=0;try{for(var h=function(_){var m=typeof Symbol=="function"&&Symbol.iterator,T=m&&_[m],R=0;if(T)return T.call(_);if(_&&typeof _.length=="number")return{next:function(){return _&&R>=_.length&&(_=void 0),{value:_&&_[R++],done:!_}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")}(d),E=h.next();!E.done;E=h.next()){var g=E.value,y=p+lz(g);typeof g!="string"&&s.push(((r={})[g.type]=!0,r.anchor={path:a,offset:p},r.focus={path:a,offset:y},r)),p=y}}catch(_){t={error:_}}finally{try{E&&!E.done&&(n=h.return)&&n.call(h)}finally{if(t)throw t.error}}return s},Li=function(){return Li=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Li.apply(this,arguments)},Mo=function(){function e(){throw new Error(`\u4E0D\u80FD\u5B9E\u4F8B\u5316
Can not construct a instance`)}return e.setEditorConfig=function(t){t===void 0&&(t={}),this.editorConfig=Li(Li({},this.editorConfig),t)},e.setSimpleEditorConfig=function(t){t===void 0&&(t={}),this.simpleEditorConfig=Li(Li({},this.simpleEditorConfig),t)},e.setToolbarConfig=function(t){t===void 0&&(t={}),this.toolbarConfig=Li(Li({},this.toolbarConfig),t)},e.setSimpleToolbarConfig=function(t){t===void 0&&(t={}),this.simpleToolbarConfig=Li(Li({},this.simpleToolbarConfig),t)},e.registerPlugin=function(t){this.plugins.push(t)},e.registerMenu=function(t,n){!function(r,i){var o=r.key,a=r.factory,s=r.config,u=ps(ps({},s),i||{});if(ag[o]!=null)throw new Error("Duplicated key '"+o+"' in menu items");ag[o]=a,function(l,c){c!=null&&(q6[l]=c)}(o,u)}(t,n)},e.registerRenderElem=function(t){!function(n){var r=n.type,i=n.renderElem;r9[r||""]=i}(t)},e.registerRenderStyle=function(t){!function(n){g4.push(n)}(t)},e.registerElemToHtml=function(t){!function(n){var r=n.type,i=n.elemToHtml;eI[r||""]=i}(t)},e.registerStyleToHtml=function(t){!function(n){jA.push(n)}(t)},e.registerPreParseHtml=function(t){!function(n){LI.push(n)}(t)},e.registerParseElemHtml=function(t){!function(n){var r=n.selector,i=n.parseElemHtml;jy[r]=i}(t)},e.registerParseStyleHtml=function(t){!function(n){n4.push(n)}(t)},e.registerModule=function(t){Ed(t)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function Ed(e){var t=e.menus,n=e.renderElems,r=e.renderStyle,i=e.elemsToHtml,o=e.styleToHtml,a=e.preParseHtml,s=e.parseElemsHtml,u=e.parseStyleHtml,l=e.editorPlugin;t&&t.forEach(function(c){return Mo.registerMenu(c)}),n&&n.forEach(function(c){return Mo.registerRenderElem(c)}),r&&Mo.registerRenderStyle(r),i&&i.forEach(function(c){return Mo.registerElemToHtml(c)}),o&&Mo.registerStyleToHtml(o),a&&a.forEach(function(c){return Mo.registerPreParseHtml(c)}),s&&s.forEach(function(c){return Mo.registerParseElemHtml(c)}),u&&Mo.registerParseStyleHtml(u),l&&Mo.registerPlugin(l)}Vae.forEach(function(e){return Ed(e)}),Ed(Ele),Ed(Gfe),Ed(eme),Ed(Vve),Ed(N1e);var xz='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',Sz={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize"]}},L1e={hoverbarKeys:Li(Li({},Sz),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};Mo.setEditorConfig(Li(Li({},L1e),{decorate:Cz}));var M1e={hoverbarKeys:Sz};Mo.setSimpleEditorConfig(Li(Li({},M1e),{decorate:Cz}));var j1e={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:Gt("editor.more"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:Gt("editor.justify"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:Gt("editor.indent"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:Gt("editor.image"),iconSvg:xz,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:Gt("editor.video"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","fullScreen"]};Mo.setToolbarConfig(j1e);var k1e={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:Gt("editor.image"),iconSvg:xz,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function F1e(e){e===void 0&&(e={});var t=e.selector,n=t===void 0?"":t,r=e.content,i=r===void 0?[]:r,o=e.html,a=e.config,s=a===void 0?{}:a,u=e.mode,l=(u===void 0?"default":u)==="simple"?Mo.simpleEditorConfig:Mo.editorConfig,c=Li(Li({},l.hoverbarKeys||{}),s.hoverbarKeys||{});return q$({selector:n,config:Li(Li(Li({},l),s),{hoverbarKeys:c}),content:i,html:o,plugins:Mo.plugins})}function B1e(e){var t=e.selector,n=e.editor,r=e.config,i=r===void 0?{}:r,o=e.mode,a=o===void 0?"default":o;if(!t)throw new Error("Cannot find 'selector' when create toolbar");var s=a==="simple"?Mo.simpleToolbarConfig:Mo.toolbarConfig,u=function(l,c){if(l==null)throw new Error("Cannot create toolbar, because editor is null");var d=c.selector,p=c.config,h=p===void 0?{}:p;if(function(y,_){return WI(y,"data-w-e-toolbar",_)}(l,d))throw new Error("Repeated create toolbar by selector '"+d+"'");var E=ps({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},h||{}),g=new ree(d,E);return wA.set(g,l),Sy.set(l,g),g}(n,{selector:t,config:Li(Li({},s),i)});return u}Mo.setSimpleToolbarConfig(k1e);var V1e={}}).call(this,O("IyRk"))},z4EP:function(ht,re){ht.exports="data:image/png;base64,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"}}]);