@xcpcio/board-app 0.85.3 → 0.85.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/404.html +1 -1
- package/dist/assets/{Balloon-B3cPN2yD.js → Balloon-BUgwq0Kx.js} +1 -1
- package/dist/assets/{Board-BpIhDrix.css → Board-BfbUwmvq.css} +1 -1
- package/dist/assets/{Board-CWwqX2IB.js → Board-D7hrVoFu.js} +57 -57
- package/dist/assets/{ContestStateBadge-CQOaPmT8.js → ContestStateBadge-Dt7AgnYd.js} +1 -1
- package/dist/assets/{Countdown-BvWlPnYq.js → Countdown-B97p6HbD.js} +1 -1
- package/dist/assets/{DataSourceInput-DCNrUj45.js → DataSourceInput-B67_jwrR.js} +1 -1
- package/dist/assets/{NavBar-t1eXyPKg.js → NavBar-CnD7iUz_.js} +1 -1
- package/dist/assets/{Resolver-D_GRj6HP.js → Resolver-DQ3kkz9L.js} +1 -1
- package/dist/assets/TheInput-D67yPyFW.js +1 -0
- package/dist/assets/{Tooltip-DPDTUI-s.js → Tooltip-BR6I8-SM.js} +1 -1
- package/dist/assets/_...all_-BDXlESlP.js +1 -0
- package/dist/assets/{_...all_-TFChZhkr.js → _...all_-Cek5Lnmd.js} +1 -1
- package/dist/assets/{balloon-BlTynoB_.js → balloon-DpIcef0j.js} +1 -1
- package/dist/assets/{board-A69GsfUB.js → board-KpBI6_ac.js} +1 -1
- package/dist/assets/{board-layout-mk2Y30Yp.js → board-layout-DD2-Z-AS.js} +1 -1
- package/dist/assets/constant-Dl-MmgU0.js +1 -0
- package/dist/assets/{countdown-DQRGLfdE.js → countdown-bqehvGJt.js} +1 -1
- package/dist/assets/{default-BNqFZJwJ.js → default-CSWSpjqo.js} +1 -1
- package/dist/assets/{index-C1jdVImx.css → index-4yhXaony.css} +1 -1
- package/dist/assets/{index-D57KOcpK.js → index-ClRmeGtV.js} +12 -12
- package/dist/assets/{index-layout-Cg_FpvvD.js → index-layout-Dxv-LU9c.js} +1 -1
- package/dist/assets/{pages-kJjvENga.js → pages-DyUshEIY.js} +2 -2
- package/dist/assets/{pagination-EIqoVe6M.js → pagination-2onPPYtS.js} +1 -1
- package/dist/assets/query-XskWvdZB.js +20 -0
- package/dist/assets/rank-Bk_Yo4wU.js +1 -0
- package/dist/assets/{rating-B3sXjXNN.js → rating-DSZOgEeb.js} +1 -1
- package/dist/assets/{resolver-Db22e0q8.js → resolver-DOjgimki.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +11 -11
- package/src/auto-imports.d.ts +2 -0
- package/src/components/board/TeamCard.vue +16 -8
- package/src/components/board/TeamUI.vue +16 -12
- package/src/components/board/Utility.vue +5 -3
- package/src/composables/constant.ts +5 -15
- package/src/composables/runtimeConfig.ts +21 -0
- package/src/composables/useQueryBoardData.ts +3 -2
- package/src/main.ts +2 -1
- package/src/modules/i18n.ts +2 -1
- package/src/pages/[...all].vue +6 -2
- package/src/pages/index.vue +2 -2
- package/src/shims.d.ts +15 -8
- package/src/types.ts +16 -0
- package/vite.config.ts +4 -0
- package/dist/assets/TheInput-Btyuor_6.js +0 -1
- package/dist/assets/_...all_-Chjz45WV.js +0 -1
- package/dist/assets/constant-YlOY-yXZ.js +0 -1
- package/dist/assets/query-CoPl3fiI.js +0 -20
- package/dist/assets/rank-Bjo0QJlM.js +0 -1
- /package/dist/assets/{_intlify-i18n-0-BmghNkij.js → virtual_intlify-i18n-0-BmghNkij.js} +0 -0
- /package/dist/assets/{_intlify-i18n-1-DzpDgiG5.js → virtual_intlify-i18n-1-DzpDgiG5.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as e,F as t,V as n,b as r,f as i,h as a,v as o}from"./vue.runtime.esm-bundler-DTMOfGWR.js";import{t as s}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{n as c,t as l}from"./NavBar-
|
|
1
|
+
import{E as e,F as t,V as n,b as r,f as i,h as a,v as o}from"./vue.runtime.esm-bundler-DTMOfGWR.js";import{t as s}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{n as c,t as l}from"./NavBar-CnD7iUz_.js";e();var u={},d={class:`lg:mt-[-52px]`,"py-2":``,"text-gray-700":``,"dark:text-gray-200":``};function f(e,s){let u=l,f=n(`RouterView`),p=c;return t(),o(i,null,[r(u,{width:`sm:w-[1024px] lg:w-screen`}),a(`main`,d,[r(f),r(p,{class:`sm:w-[1024px] lg:w-screen`})])],64)}var p=s(u,[[`render`,f]]);export{p as default};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{E as e,F as t,G as n,H as r,It as i,O as a,P as o,V as s,W as c,X as l,Z as u,_ as d,a as f,b as p,f as m,g as h,h as g,l as _,m as v,nt as y,ut as b,v as x,vt as S,x as C,y as w,z as
|
|
1
|
+
import{E as e,F as t,G as n,H as r,It as i,O as a,P as o,V as s,W as c,X as l,Z as u,_ as d,a as f,b as p,f as m,g as h,h as g,l as _,m as v,nt as y,ut as b,v as x,vt as S,x as C,y as w,z as ee}from"./vue.runtime.esm-bundler-DTMOfGWR.js";import{V as T,d as E,l as D,o as O,s as te}from"./index-ClRmeGtV.js";import{t as k}from"./Tooltip-BR6I8-SM.js";import{a as A,f as ne}from"./constant-Dl-MmgU0.js";import{t as j}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{d as M,l as N,s as re,u as P}from"./query-XskWvdZB.js";import{n as F,r as I,t as L}from"./ContestStateBadge-Dt7AgnYd.js";import{t as R}from"./route-block-ChiJXsfH.js";import{t as z}from"./RightArrowIcon-F6HBDgDW.js";var B=class{constructor(){this.contest=new P,this.boardLink=``}};function V(e){let t=new B,n=e.config;return t.contest=M(n),t.boardLink=e.board_link,t}function H(e){let t=[],n=e=>{if(Object.hasOwn(e,`config`))t.push(V(e));else for(let t in e)n(e[t])};return n(e),t.sort((e,t)=>e.contest.startTime.isBefore(t.contest.startTime)?1:e.contest.startTime.isAfter(t.contest.startTime)?-1:e.contest.endTime.isBefore(t.contest.endTime)?1:e.contest.endTime.isAfter(t.contest.endTime)?-1:e.contest.name<t.contest.name?1:e.contest.name>t.contest.name?-1:0),t}function U(){let e={};return e.base64=String.raw`
|
|
2
2
|
iVBORw0KGgoAAAANSUhEUgAAAL0AAAC9CAMAAADRCYwCAAAB41BMVEVHcEwau034r2WEe974tmmF5WgnwlPgv5Bz5WT7vHPxe1GRheFscds1Tc8sxlMlxU0/0FZQ3lf9tzxJ3VnyXTXzXjdT3138tTvyWDT5uHErxVQ/UdHxTyo8z1hGzlr9tjxhZ9nwQyHyeFFna9r5rWMauE9Y1mD0e1NPXtMXt0tQ22Atz079uUT9sS1+ed3zXDlL1FgtyFL9tznzcUrza0X9sy5MXdROX9TvOhtLVtbzYT38u184yFo1Tc5UYNb9vlNcZdY1z1Ni1GP9sCn9tzspSMpGWNJh22Ks6X31jGT0b0v5wolV0Gaiwidycdv9tzn0dU79vlE5T9AYt01q32X8v1BeZ9fzdFB6326M5XBDVdJaZNb8v1MPrEyBfNzwSSX8vFmz54R23W/2lG79tDSYi+D3yGXzfVj0e1SfUZxtctn52a2hleH7q0OT3on727bwy22r1DFSuKboztr7y3UwmKSroNv+sSYoR8rvMxYRsksoRcsTtEkRskn+sSQPsEsMrUzvNRclR8kPsU7xMRT/tCfxNhgVtUYJqU30NRcZuVIoSs71PyD/ty4yTtD2TSv/uTw9VdLvuR9wvi6hOXPKN0lfO6VBQrtMuzflMyvMvyLP3agpgLEgsHaZylH/0IGVjSRsRSpHAAAAd3RSTlMA2icvHg7+BxsTNhAf59q3szWEQZQjJFXiZOoz7ZfarYv4U0dF8K6X8LBRScBkbPl8yuhpqPrf/uVox3n59XY1zWLS19n3xGwqjvM2/v1Z9H6Y1D9Z/aHkjEibt9L2p8btV67cl5Czyrj26EjI5ub45K/0t49u/SxprvcAABVaSURBVHja7FtrT9taFiWEJBASEtSAAgTEo7xaiYCCeN2CKBJQYFQhWkFbRDvDVQW9d3Tnw3xJHFs2tuXEDyVCglbVSKP5qbP38bET3okdJSB1owKF5GR5n7XXXvvENDX9il/xK2oYbS0tXVa0tLQ9JeiB4PDJQTy+YEYifvB7KtgWeBLQW7pSSwnDUFRFVWX4UBRFNYzE0niw+dFjDwJ0RZUzEGdm4HeZDFxM4iD1/FFvQDAWN2RZMVGflX+BkGUjGXv+eLHPAnYbbQm2HRnZiJ8+Tvxtu4ky7HcE4E9uPT4FCvQsDakPYSf4leJs12NL/GzxOnYsXFnOlBcw5b/yJdXyuBhvyNcYIqtG0QzDUOUrlMqoxdNHxJ5g3MiUyhSQK8XkQSw2voUxHovNbhdBikroz+Ti7mPRzkAqXsaajHyW2B4f7tkp51XP8O5B4kwtiag89EjIH9hNlsCjJo53Nd9MbKC5a7dcT2Xj9FFwfzgp27QBPZxtvpMTzacJxeaPXBwPPAbOy6VqXFgavg9SW3CpKNtXOtR47gfjagl8MvXQw5vHF2yaKcXhRuv8kg0mYyxVYgKCXxQbfjzY4CZl63zGiFVWhi1fbO0xlhpaubtFC7w6FKuUxcO2wMpGIys3mKA1qMiVgyfwrUppIHcCMcXK/EKqmiSCyNInGrGGoU8NURDyUJXqsWs9U1kYbhhvLAIosSrpG5g1MpQ7S41hvo3gTN2umr3NJvXRr6UaV7KEN4nqdz+wVbSSP9sQs2xvvrHr5NzkgNJOTjaC+c1f6MurzlpOykq+0Qj0u1bqi1vOrv7AIl4DqBNwmfqS3sqJ+s8pw9QjZIa2nFZ90lphuGE1q8adGq22WYpePam35P+5TV9acc7aFB0U69+weuxtd26zUkWK/ku90acsxUk+d52BBqCnA1LmYMfxGi1LKnVqdZ5RLLF21metiJkbmDG26os+uF0LtbPRj9cZfbIWnaZh6Km/lOPNTxi96gr9OBWuuqO3PMp2LXJf3Hqy6DMZeeH5E8593buVhV5xV7X4XnQmU3/0tdGcxMLCwplad5dWG71vw1swtk5O6n0cWJteaw5pEHU2aTsW+npLdU2i7VQx34SVt3eeIHzL358la6LVvlZf5/HxWBRj7PhDt6+mxwzAzVAfDcJTe7YyanCQ53u/NuDx+DVNYzUMv6djbdNXG+TtoVDf4cZGeJ3GxsbhVKhn23z3OKMeuBstfN3d/R2aJDGSwPECBCcIPCtJR57ou263V9A+MrI/EQ6ndT2b1dMYuq4X1sMT3y7PVOUMPhKuqNM53Tt6JPA8x3A8w7IcD5/hO/giCUe9/S8/utGjt/vzBVFMp7Np/AcfWfO7tCj++H7xU1WBOqfOl9/s72XyvMQCbIbjGDaXY3Msy3A5lmPhu3xe+9u0U/jtU4dhHaBDzgloK8z/iHoW8MuK7PjNm9Z+vyZwDMPnWMaEz3HkE8vgXsBVAItGI5uO8IcOz3XMu5n4LPlnXwRugyjqiN/hmzeB7ogm8AzSBdPOwQ4AZuA8/EQi/OFwA3jJH+2seu3Q4J5uQaef6AZYP8Gvevr7ZSbhpN92jnkEnmNzABw/oGJ5IBDDMJLEcwIvIXQGNoZjBanjWWt1eV+ZWNfTNtisxfh02QWY/NfTFz8dnMN2zmg8wIU8Y/qFvMBommdyMhKZnJwc1VhQH7gSuDb4PVzX6NrH6khj5dsGK9qRzdq5J/i/X1YLP/DSg3nNcTxSnBc0f+/M2gcrwaD+HX6NFxjEz2MNCNrAs4oXH9nQTZ2hOAG5Xiicz2OcnxegGiinyIYg/Orul2jt1/ICpJVFenN5tjd6/A9fmbYHfG8+jPXCY5A4LOoPL0UqJE9gao4wvhTr86uLi4tTZiwurqxOLKfFsvyLP779Vg34iMazKCkCn8vlpVf9t9Li4/SAlodGQKoB+BN5WZFODs6nRUsaIbfre6sj3tCVh3i9fStzsAVZa4MAfuWV2z0pAeNB2lEdGf90510d9c3mANEgxsx+byXwp85NXhDGZAsTg+3tN7enKdA+NQeCaimpmP5W6U26m708ch61nZdGo8/ueVrA99ojMahKTI6pCP5IOGvro1iYGwzd+Ujv572Cbsm/mP32WyXwA5t+CXNOWqngef3gRiHLiDSBd5jpfqi9hs1ORBxNeN/7cE+gXUD8cVFB6QY++EELcwy2IkGLdlfAs6gmMKicwB8hem/pBr7OW50UEr8x8uDafdjSCP2z4o/LB2/zQ/DYXdGOSZ7NNxWVyfSoAI/PoURp/ffq/JxNhfT6PaQpo89cQcyatat//xl/4BbjZ68IeAbIIL16X2lzeOERSN+VAP59VPtk6UhaX16pbG3vasHuWxdq8SR4D/7WGWIAQEI4oaPy9tMEO8aiaWYloeNOsgVWlm0bFl6pdGkC32xrPy5lNXEyvHPHBbROgoDkOLRgVYFvenOs5dE04wRwZ/LfnltNSt/rq3xt7wZtbtB0fyqKOrQ9m+ppuxW8hG0fWo9UFXh46pjGg2aiIxp9fxeFiT+ANOrhvmrW9lrVIqYvVLwdVikml2Kx2DhGbJzWQncEbBmHE5QgvHpR7fzYLxFnwXFS9FZla98viJQ46yvVrT2yTJ0/6I5KbwBXDXoLuHHQTDnPY9thkfPVgscGDc/OoZMevfXJ3gnqyUR9pdq1BwvUtukXsmLe6kpuvicR7yLeBqcn0jeFKmljxmspj24HWDdzi7MIHFpSqW+0VzvKtH8Sqd+Ewr1yGz4e1HYheInJIXMk3hn4Jl8EpxgcVkY7b3MI1iQSHql+7VCYWiNI/rW/1FATXdAwsV6BtZwg9ToCD/5IwyYN3NGiN3+5X6CVd77iYOn2Q536HZCda+gXuroHJCLYMI044TzVnQ4BdQeKd+ZGj/aGral11etk7RFQW6JY6Uv56p+ZKAtBsCrAenhhsAcOMw/0nAZjDVMvK/g3b6be7LLi+Vdnpyf7lmp+SxpnMvlTGfOP3OShNXhZ6FLYYZ2DB+bPSAweoAja9HXe7tEX11dDztZeOTdTL57/51+/byeGhgwaxf8RVwm2UnLMeTOiEp6cwEr91yR/kLZZp6lHwTVnRbHwzz93doLBnt/N+Pt/BQEPmSBvUu97N+CbXhzhoQmXE159vCHYZAxMz4Wcrv1JN4+r9FVTcNtIvFkDzrM4i7CSx1XmoW495JiEzfufXbMqItX6FcdrvyWVgx6prF20RiU05zAI8oJb8Kg65PiH066OiG/nqT8Lh5yjnzepU47eF9WwwYM5Z11ynqAfyONYxrLCu1vzlp5rd7x2aIMeMeyFSt5KE3LkPEMS/H+9afL5fG4OtFvX8uBzYCfz/VfMwqJl6w+do0fiE/otfy3ztdjeuRyMRTm/Z2ZmZmDaTfJfI3qQfGGgfL4N/UFN1vqIi7U/FahsfbbBm4dhPOh8L7hzXhDyk27QvztizGPPK+i9f5gnA+Jyn4u1Bwtmvyt8LmUez8FA6Ds6wehAsxVYd+hxuoI6yne0XtNqAr+G6AP9GlgDCd9cEHpfNEVAezgYrF2jx7K9hj5MO82E1xV6sYQeaQOdUeIl0x5EMPdg712ih9TDKlfR94Vpp3WPHgLRtx5r6CoZFHqi8xHyfohb5hxJ+IYQcwt69Ciu0ROj87nJN+bn8OwDPDHV+YhEJjt3uZ/OYz54Jj9wS+6zNcl99vwrcp5ULBCd+vmIRFymK963rOUZJCN79USwdszB4jn/N6ENx+XQz9MxLoKZd1m10Gt5Dscr4YpTqA1zPuGBiiiK83/9v72r/0kjW8OoFCQoFZpo6I3FxGK6ikZJ0DSo+MFtTRQNXdmsvbpxN64/bJvtdu/HmIFhTphMZjJkyKi/mLa7/Vfv+55zBvEbGC/uJPckKv3I8MyZ933e5/044iO07Yp63s5BwWtpS7BrxwH6EBFRrEqlCc8lzqGF1xdOGHNx9s1CrVY9+oKqEoU46PnwuTYnVKH4vneiMWVIjTE9eXJJm1Nx6yxa+YPB0dGf//O7ImHBDJQs8rz9b2O0N3tNXtRKXr4HngO6Sb+o7yHWsmqSI/QM5q8+dFis99VtnhZSFYm2qkoO0ENuhbQlys/WLialts5ZdIr+W3i6CiTPsEWN4D2DXbSECW7btsp81KVAyIPs/vLze8lr2EdLQafgJQmLToA0FL5cz8Ai8DUFgabZHlwHxCr4zvSVvIildW/6HIEfxyaZRDsjT8cvsR3BNiEY/li7W/+shHxZ0qTQJd4a5TKtWBtxAv5JHPYX+5Pi1TTwNRYzsEf7bK1Nn43TJm+JXKml+TGzwGZbdbbPidkgPhH1WNeVWuMTHwGqxpS6PdPpHRBlFPcaMb6/IU4CZ045AU+xS0QJXS2UDoLpoE2JykBb81qvsftTQtH97ErjcGqOc2Ztyd+2zdPugoR6/roEfBpyXKyBy75wG1cfnEG+0cB0rm69J/iqSkvYxaP+NpPDibiCdUb5gs0HoukIXel0+nBDx2RF0shw6xsEuo8oOMyjkevK94vHtI5ZrNTetrP53p+6aC8TqFKnNh/wPj+MxRJblsmWZVk5DWux8H+M1tXCNtqNiAotfl27Hzef6cyFl2241E8+BKZhGjj/xBNYf57IJk1TVct8CfB1cqYj6aBltWo7409xWAfb1OTxtV4z9XdeAq/Otiw0IRmh24rdhfnP/4weFlKqjVwQBPt7TkPbBeV558DBFY9XMKGFO9d915f/g0tVXtSptlrUYXUbSYEwq89//vDVMgWKFr6Ec/CCoJ7qSNiiIhsDvS2RJU6aYhwhysr10cI/tVDh0za171qCj3MQbIaS6Bufv1p8x9mqmw6+/qQRjDhAHcZY8/DXxrB5gaH6svy4wPlsBhA89/iHYCvgFUzYMIfVN34rCDb0+t7z1/CHco4Q2rxBwdAs6/+4YtBWKRgOid/cNhp9UWXjrkeVuear+GGwSWRKEcCfFUzbSuh2c3e1HRf+4lSnKZZMZGO4OfhrK4Yu0qqWfPuICJvNocTTvxlsNooYBKc+wG700xOKUKhvehl8lzMm9WJBQN5RsH+lNDknN0iLESgSgBZu9xba9WRrrinjCYx/Q4dXsVTDwQsCvwFBNa1E7HxlLVNF09epYABMyuPxu7Z/bfsxgeit4XQRufN239bskbTKcROuGx7wyQrNNaVG8GzXsxBgGw8EZdKTB1sMPs6rYx7gG76dOcMrPkKweAaeLt39rHBegg/oHNX+0XcXUYYMnY0+K4QAeNxztu2CmZ3MXKU1fyadVHOajnOkOClKjNDwzZD8yyGR4IAyzlfAzt8dI6Ze1IdfK7U3L2/Zfv/4jAGPn45VinTn60tNFfI3Dcd2H27lwGclmWYCsmLM3GA+j6YfG9gpxQKIpjXpJaNUrrE2QnVhabPvetXT+3omrhAFSF6jNp9TbV4E7Nn0+s0GHcjkcxKRZUJHYSEJjs8sD65dhNa7Nrg8swcPFAcBcfJRNpochcVZIT7Di/hnFzd7rvrSMjINCmLs6ki6TMHzgJqMeG/Xef7ujz5d1tAVMZuRyV58Y2V5e/tHtrbHl1fm43sE58NlVHXI88PNBreepVqlPuV9VK3NLY2MjDbgCU+vzJd0GZkAK6LAlCKC5/HUzGaaUKQfz3TYeyJqOOmqgMuLhm9+g655nw+eJahhUdEkepqAKHePbTak6L/wciobWq9Ua8cv3r60179nfKLOSqwaBilZ9/1p1t3VTGSaeYtHH091XaJkKFPfgVCn45EZHX9QSSMpEBOwhCIroZYkac9if/28ADvjUMGjMnRVv2BdAuvBVLGKEugyi4dXQbASTR6a9B4i9dA5rxK7DgKmE74oCUo4/yor+BZ6fLhVPT06W600HntgAbgC91H8ouFmARWg4UjE2Phc4BYvlM1E0yc+vYefTgnVR4z6JaoG6Mirxu4Fh3dlIj4Ot54G9ywdV4v2AQ17Up3WTL4Y9GQLvgshytNfP3ytBykz38IJtUDezJ0R9B8ZmRMfAzusUcJSOT05QxQjtNxWCh8ceVWjM8bFYrHxwE+xZgB2BQhbl42nw4PvPlhlzpVmoqUTEIGEepI7Q3vHG0BWL9ERX3isogLupJfiM2ODnjZXcPFVDU9pnENnY39/4GQcXNz4ZngbMOyqnCtbMBtuPAnIFnNnGlxLEfm8oIhDvrAzOoGtmXbUWe/bfLtQrJ9Z4icFAH1J1kWIMUjB/nSKU72abfmU81AKiOrkU+70TEOu0RnnwKu9+PzA8o7jU7fBv/0wd0yH7KtFel4GnOEPIvpC02EWPqIFroZVK9ry1QMxk0bok5NPfyLP+wwDvs1vjH0bDvd67mMFR0dHfpnt7+9fOD4+rsHP2d/HJibq5pg2baPPt3HxtMVzGXN3Z2eCr52dezrdySN7H67N9+/f/9wDL3obD+ccqJwuD9o5EOtPmIyv1MT/+nfQXHf++3mKJVPqanvv3p3lPm+lPZ1feSYty+pum2eRIyZDb0Y6D96bZIZTTkXbvcKqytRdovOfSwCUxwhnv92j8QE0HdR41lDHt35X5cqy7efuj/GsQOg4+swWqziVC9H2rwHRjj6/jqOPphjXqzG/gx3giU2kw7/QIvCbyQKtOeRxhJ56/n6H3Tawa7LCU8rBqf71ff78kp1Gz0ONE8PxdO8yqdF59KuM7VVHkWZSZWnlg6CHfbsP9GXhAdCXnbE9Q89o92Esp+xQo0zy5OYh0GNbwTn6B7J7+tDvZe87z/fMchzbPYMfCzwE5zj2WlNFpVPutM5hdi84ZExv5OBgv1CwHgQ90sWB0yutR6PRTn8ABCoFWhNI/nU/L+wOlYac2fm86J4UMsut3Ije/68U7YULaiLgQvg0M0TWsaIuRN+9r/LUIu93IfxoihfytjIuRO9N8p6POulGv83b3fGs151+y3Y/FXHj5h+onPK3hlzpt3a/MOFC26H9A9bij7kQfnSLZxeCdejCiBupj+W4MeKC7di06Ual/DyrnsN/5D74q7yeKQjJQ/e57qRpz2Cqlvv0mj9m8pALrnvgut33Us+1G8fpgCvhs5Kemkqk3fXJ9h4vNR4+/q2mkrtDATc5QCBvqQ1zvGYqm89kMutucQJvfrUBPqTqQmorub87yVb3Xx5/JmueH3gAF1BVe1TQYbGwQ1l6JKXWx8DtF3gPqhvQe/zRZEpthG97srrrht/x7++OZBsMhp/fgB+Fd+6Iu95ILMUbafZsMrwsuEZ+BoZiFjs9c25FlovEsz+d3y808D/IH3dJ/3fRoQvLjXXa/6+b138BVEE6mOU/ueYAAAAASUVORK5CYII=
|
|
3
|
-
`,e}var W=``+window.__toAssetUrl(`assets/hunan_cpc-DPPtVgp9.png`);function G(){let e={};return e.url=W,e}var K=``+window.__toAssetUrl(`assets/icpc-BQSQlFmP.png`);function q(){let e={};return e.url=K,e.width=2936,e.height=2096,e}function J(e){if(!e.preset)return e;let t=e.preset.toUpperCase();return t===`ICPC`?q():t===`CCPC`?U():t===`HUNAN_CPC`?G():e}l(),e(),S();var Y={"h-32":``},X={key:0},ie={"w-240":``,flex:``,"flex-col":``,"justify-center":``,"font-serif":``,"pb-2":``,border:`b-2 gray-200 dark:gray-700`},ae={"w-full":``,flex:``},oe={key:0,class:`logo`},se=[`src`],ce={class:`title`,"w-inherit":``},le={"overflow-hidden":``,"text-2xl":``,truncate:``},ue={"text-lg":``},de={flex:``,"items-end":``},fe={"float-left":``,"font-mono":``,"text-base":``},pe={class:`pl-0.5`},me={"flex-1":``},he={flex:``,"items-center":``,"justify-center":``},ge={"font-bold":``,"font-mono":``,class:`w-[68%]`},_e={"float-right":``},ve={class:`MuiIconButton-label`},ye=j(C({__name:`ContestIndexUI`,props:{data:null},setup(e){let n=e,{t:r,locale:a}=
|
|
3
|
+
`,e}var W=``+window.__toAssetUrl(`assets/hunan_cpc-DPPtVgp9.png`);function G(){let e={};return e.url=W,e}var K=``+window.__toAssetUrl(`assets/icpc-BQSQlFmP.png`);function q(){let e={};return e.url=K,e.width=2936,e.height=2096,e}function J(e){if(!e.preset)return e;let t=e.preset.toUpperCase();return t===`ICPC`?q():t===`CCPC`?U():t===`HUNAN_CPC`?G():e}l(),e(),S();var Y={"h-32":``},X={key:0},ie={"w-240":``,flex:``,"flex-col":``,"justify-center":``,"font-serif":``,"pb-2":``,border:`b-2 gray-200 dark:gray-700`},ae={"w-full":``,flex:``},oe={key:0,class:`logo`},se=[`src`],ce={class:`title`,"w-inherit":``},le={"overflow-hidden":``,"text-2xl":``,truncate:``},ue={"text-lg":``},de={flex:``,"items-end":``},fe={"float-left":``,"font-mono":``,"text-base":``},pe={class:`pl-0.5`},me={"flex-1":``},he={flex:``,"items-center":``,"justify-center":``},ge={"font-bold":``,"font-mono":``,class:`w-[68%]`},_e={"float-right":``},ve={class:`MuiIconButton-label`},ye=j(C({__name:`ContestIndexUI`,props:{data:null},setup(e){let n=e,{t:r,locale:a}=T(),o=v(()=>a.value),l=v(()=>n.data.contest),u=v(()=>l.value.name.getOrDefault(o.value)),f=D(),m=y(null),h=O(m),_=v(()=>{if(l.value.logo)return J(l.value.logo)});return(e,a)=>{let o=k,v=L,y=F,S=z,C=s(`RouterLink`);return t(),x(`div`,{ref_key:`el`,ref:m},[g(`div`,Y,[b(h)?(t(),x(`div`,X,[g(`div`,ie,[g(`div`,ae,[b(_)===void 0?d(``,!0):(t(),x(`div`,oe,[g(`img`,{class:`h-10`,src:b(I)(b(_),`DATA_HOST`in e?e.DATA_HOST:b(A)),alt:`logo`},null,8,se)])),g(`div`,ce,[p(o,null,{popper:c(()=>[g(`div`,ue,i(b(u)),1)]),default:c(()=>[g(`div`,le,i(b(u)),1)]),_:1})])]),g(`div`,de,[g(`div`,fe,[w(i(b(r)(`index.start`))+`: `+i(b(l).startTime.format(`YYYY-MM-DD HH:mm:ss`)),1),g(`sup`,pe,i(b(l).startTime.format(`z`)),1),a[0]||=g(`br`,null,null,-1),w(` `+i(b(r)(`index.duration`))+`: `+i(b(l).getContestDuration()),1)]),g(`div`,me,[g(`div`,he,[g(`div`,ge,[g(`div`,null,[p(v,{state:b(l).getContestState(b(f)),"pending-time":b(l).getContestPendingTime(b(f))},null,8,[`state`,`pending-time`])]),p(y,{width:b(l).getContestProgressRatio(b(f)),state:b(l).getContestState(b(f))},null,8,[`width`,`state`])])])]),g(`div`,_e,[p(C,{class:`go MuiIconButton-root`,to:n.data.boardLink},{default:c(()=>[g(`span`,ve,[p(S)])]),_:1},8,[`to`])])])])])):d(``,!0)])],512)}}}),[[`__scopeId`,`data-v-2e01fdc6`]]);e(),l(),f();var be={relative:``},xe=C({__name:`SearchInput`,props:{modelValue:null},emits:[`update:modelValue`],setup(e,{expose:r}){let{modelValue:i}=N(`modelValue`),o=y(),s={mounted:e=>e.focus()};function c(){i.value=null,o.value?.focus()}function l(){o.value?.focus()}return r({focus:l}),(e,r)=>(t(),x(`div`,be,[n(g(`input`,a({ref_key:`inputEl`,ref:o,"onUpdate:modelValue":r[0]||=e=>u(i)?i.value=e:null,type:`text`},e.$attrs,{p:`x-4 y-2`,text:`left`,bg:`transparent`,autocomplete:`off`,w:`full`,border:`~ rounded gray-300 dark:gray-500`,outline:`none active:none`,"aria-label":`Search`,placeholder:`Search...`}),null,16),[[_,b(i)],[s]]),b(i)?.length?(t(),x(`button`,{key:0,absolute:``,flex:``,"right-2":``,"w-10":``,"top-2":``,"bottom-2":``,"text-xl":``,op30:``,"hover:op90":``,"aria-label":`Clear search`,onClick:r[1]||=e=>c()},[...r[2]||=[g(`span`,{"i-carbon-close":``,ma:``,block:``,"aria-hidden":`true`},null,-1)]])):d(``,!0)]))}});e(),l(),S();var Se={class:`sm:w-[1024px] lg:w-screen`,"lg:of-x-hidden":``,flex:``,"flex-col":``,"justify-center":``,"items-center":``},Z={key:0,"mt-4":``,"mb-4":``,class:`sm:w-[1000px] lg:w-screen`,flex:``,"justify-center":``,"items-center":``},Ce={key:0},we={key:1},Te={key:1,class:`sm:w-[1000px] lg:w-screen min-h-120`,flex:``,"flex-col":``,"items-center":``},Ee={"w-240":``},De={key:0,"mt-4":``},Oe={key:1,p10:``},ke={row:``,"justify-center":``},Q=1e3*60*5,$=C({__name:`index`,setup(e){let{t:n,locale:a}=T(),s=v(()=>a.value);E(ne);let c=D(),l=v(()=>Math.floor(c.value.getTime()/Q));function f(){return`${A.value}index/contest_list.json?t=${l.value}`}let _=y(f()),S=re(),C=y(S.value),w=y(null),O=y([]),k=y([]);function j(){k.value=O.value.filter(e=>(C.value?.length===0&&(C.value=null),C.value===null?(S.value=void 0,!0):(S.value=C.value,!!(e.contest.name.getOrDefault(s.value).includes(C.value)||e.contest.name.getOrDefault(s.value).toLowerCase().includes(C.value.toLowerCase())||e.boardLink.toLocaleLowerCase().includes(C.value.toLowerCase())))))}function M(){C.value=null,w.value?.focus()}let{error:N,isFetching:P,isFinished:F}=te(_,{refetch:!0,afterFetch:e=>(O.value=H(JSON.parse(e.data)),k.value=O.value.map(e=>e),j(),e)}).get();r(C,()=>{j()});let I=setInterval(()=>{_.value=f()},Q);return o(()=>{clearInterval(I)}),(e,r)=>(t(),x(`div`,Se,[g(`div`,null,[b(P)||b(N)?(t(),x(`div`,Z,[b(P)?(t(),x(`div`,Ce,i(b(n)(`common.loading`))+`... `,1)):d(``,!0),b(N)?(t(),x(`div`,we,i(b(N)),1)):d(``,!0)])):d(``,!0),b(F)?(t(),x(`div`,Te,[g(`div`,Ee,[p(xe,{ref_key:`searchInputRef`,ref:w,modelValue:b(C),"onUpdate:modelValue":r[0]||=e=>u(C)?C.value=e:null},null,8,[`modelValue`])]),b(k).length?(t(),x(`div`,De,[(t(!0),x(m,null,ee(b(k),e=>(t(),h(ye,{key:e.boardLink,data:e},null,8,[`data`]))),128))])):(t(),x(`div`,Oe,[r[2]||=g(`div`,{op40:``,italic:``,mb5:``},` No result found `,-1),g(`div`,ke,[g(`button`,{btn:``,onClick:r[1]||=e=>M()},` Clear search `)])]))])):d(``,!0)])]))}});typeof R==`function`&&R($);var Ae=$;export{Ae as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{B as e,E as t,F as n,G as r,H as i,It as a,N as o,Nt as s,P as c,Rt as l,X as u,_ as d,a as f,d as p,f as m,g as h,h as g,jt as _,l as v,m as y,nt as b,u as x,ut as S,v as C,vt as w,x as T,y as E,z as D}from"./vue.runtime.esm-bundler-DTMOfGWR.js";import{R as O,c as k}from"./index-D57KOcpK.js";u();var A=b([]);function j(){let e=Symbol(`modal`);function t(){A.value.push(e)}function n(){let t=A.value.indexOf(e);t>-1&&A.value.splice(t,1)}function r(){return A.value[A.value.length-1]===e}function i(){return A.value.length>0}return{register:t,unregister:n,isTopModal:r,isAnyModalOpen:i}}t(),w();var ee={class:`relative bg-white dark:bg-gray-800 sm:p-4`,"rounded-sm":``,"shadow-sm":``},te={class:`mb-4 border-b rounded-t pb-4 sm:mb-4 dark:border-gray-600`,flex:``,"items-center":``,"justify-between":``},ne={"text-gray-900":``,"dark:text-white":``,"text-xl":``,"font-sans":``,"font-semibold":``,italic:``},M=T({__name:`Modal`,props:{isHidden:{type:Boolean},title:null,width:null,mt:null},emits:[`update:isHidden`,`onBeforeClose`],setup(t,{emit:r}){let s=t,l=r,{register:u,unregister:d,isTopModal:f}=j();o(()=>u()),c(()=>d());let p=y({get(){return s.isHidden},set(e){l(`update:isHidden`,e)}});function m(e=`outside`){l(`onBeforeClose`,e),p.value=!0}let{Escape:h}=k();return i(h,e=>{e&&f()&&m(`esc`)}),(t,r)=>(n(),C(`div`,{class:_([`md:inset-0 w-[100%] h-[100%]`,[s.mt??`md:mt-32 sm:mt-16`]]),fixed:``,"z-1997":``,"of-x-hidden":``,flex:``,"justify-center":``,"items-start":``},[g(`div`,{class:`w-[100%] h-[100%]`,fixed:``,"left-0":``,"top-0":``,"z-1998":``,style:{backgroundColor:`rgba(0, 0, 0, 0.5)`},onClick:r[0]||=e=>m(`outside`)}),g(`div`,{class:_([`relative p-4`,[s.width??`w-[78%]`]]),"z-1999":``},[g(`div`,ee,[g(`div`,te,[e(t.$slots,`header`,{},()=>[g(`h3`,ne,a(s.title),1)]),g(`button`,{type:`button`,class:`hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-white`,"bg-transparent":``,"ml-auto":``,"p-1.5":``,"text-sm":``,"text-gray-400":``,"items-center":``,"inline-flex":``,"rounded-lg":``,onClick:r[1]||=e=>m(`close-button`)},[...r[2]||=[g(`svg`,{class:`h-5 w-5`,fill:`currentColor`,viewBox:`0 0 20 20`,xmlns:`http://www.w3.org/2000/svg`},[g(`path`,{"fill-rule":`evenodd`,d:`M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z`,"clip-rule":`evenodd`})],-1),g(`span`,{"sr-only":``},` Close modal `,-1)]])]),e(t.$slots,`default`)])],2)],2))}});t(),w(),f();var N={openOptions(e){e.$refs.input.focus(),e.showMenu=!0,e.mousedownState=!1},blurInput(e){e.mousedownState||(e.searchText=``,e.closeOptions()),e.$emit(`blur`)},closeOptions(e){e.$refs.input.blur(),e.showMenu=!1},prevItem(e){let t=e.pointer-1,n=e.$el.offsetHeight*t;t>=0&&(e.pointer=t),e.$refs.menu.scrollTop=n},nextItem(e){let t=e.pointer+1,n=e.$el.offsetHeight*t;t<=e.filteredOptions.length-1&&(e.pointer=t);let r=e.$refs.menu.offsetHeight,i=Math.ceil((e.$refs.menu.scrollTop+e.$el.offsetHeight)/r),a=Math.ceil(n/r);i!==a&&(e.$refs.menu.scrollTop=(a-1)*e.$refs.menu.offsetHeight)},enterItem(e){let t=e.filteredOptions[e.pointer],n=t.disabled;t&&!n&&e.selectItem(t)},pointerSet(e,t){e.pointer=t},pointerAdjust(e){e.pointer>=e.filteredOptions.length-1&&(e.pointer=e.filteredOptions.length?e.filteredOptions.length-1:0)},mousedownItem(e){e.mousedownState=!0}};function re(e){return new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),`i`)}var P={props:{id:{default:null},name:{type:String,default:``},isError:{type:Boolean,default:!1},customAttr:{type:Function,default:()=>``},isDisabled:{type:Boolean,default:!1},placeholder:{type:String,default:``},filterPredicate:{type:Function,default:(e,t)=>e.match(re(t))}}},F=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},I={name:`ModelSelect`,mixins:[P],emits:[`blur`,`searchchange`,`update:modelValue`],props:{modelValue:{type:[String,Number,Object,Boolean]},customAttr:{type:Function,default:()=>``},options:{type:Array}},data(){return{showMenu:!1,searchText:``,mousedownState:!1,pointer:-1}},watch:{value(e){this.pointer=this.filteredOptions.findIndex(t=>t.value===this.optionValue(e))},filteredOptions(){this.pointerAdjust()},searchText(){this.$emit(`searchchange`,this.searchText)}},computed:{searchTextCustomAttr(){return this.selectedOption&&this.selectedOption.value?this.customAttr(this.selectedOption):``},inputText(){if(this.searchText)return``;{let e=this.placeholder;return this.selectedOption&&(e=this.selectedOption.text),e}},customAttrs(){try{if(Array.isArray(this.options))return this.options.map(e=>this.customAttr(e))}catch{}return[]},textClass(){return!this.selectedOption&&this.placeholder?`default`:``},menuClass(){return{visible:this.showMenu,hidden:!this.showMenu}},menuStyle(){return{display:this.showMenu?`block`:`none`}},filteredOptions(){return this.searchText?this.options.filter(e=>{try{return this.filterPredicate(e.text,this.searchText)}catch{return!0}}):this.options},selectedOption(){return this.options.find(e=>e.value===this.optionValue(this.modelValue))}},methods:{deleteTextOrItem(){!this.searchText&&this.modelValue&&(this.selectItem({}),this.openOptions())},openOptions(){N.openOptions(this)},blurInput(){N.blurInput(this)},closeOptions(){N.closeOptions(this)},prevItem(){N.prevItem(this)},nextItem(){N.nextItem(this)},enterItem(){N.enterItem(this)},pointerSet(e){N.pointerSet(this,e)},pointerAdjust(){N.pointerAdjust(this)},mousedownItem(){N.mousedownItem(this)},selectItem(e){this.searchText=``,this.closeOptions(),typeof this.modelValue==`object`&&this.modelValue?this.$emit(`update:modelValue`,e):(this.$emit(`update:modelValue`,e.value),e.value!==void 0&&e.value===e.text&&(this.searchText=e.value))},optionValue(e){return typeof e==`object`&&e?e.value:e}}},ie=g(`i`,{class:`dropdown icon`},null,-1),ae=[`disabled`,`tabindex`,`id`,`name`,`value`],L=[`data-vss-custom-attr`],R=[`data-vss-custom-attr`,`onClick`,`onMouseenter`];function oe(t,r,i,o,c,l){return n(),C(`div`,{class:_([`ui fluid search selection dropdown`,{"active visible":c.showMenu,error:t.isError,disabled:t.isDisabled}]),onClick:r[11]||=(...e)=>l.openOptions&&l.openOptions(...e),onFocus:r[12]||=(...e)=>l.openOptions&&l.openOptions(...e)},[ie,g(`input`,{class:`search`,autocomplete:`off`,disabled:t.isDisabled,tabindex:t.isDisabled?-1:0,id:t.id,name:t.name,value:c.searchText,onInput:r[0]||=e=>c.searchText=e.target.value,ref:`input`,onFocus:r[1]||=p((...e)=>l.openOptions&&l.openOptions(...e),[`prevent`]),onKeyup:[r[2]||=x((...e)=>l.closeOptions&&l.closeOptions(...e),[`esc`]),r[7]||=x(p((...e)=>l.enterItem&&l.enterItem(...e),[`prevent`]),[`enter`])],onBlur:r[3]||=(...e)=>l.blurInput&&l.blurInput(...e),onKeydown:[r[4]||=x((...e)=>l.prevItem&&l.prevItem(...e),[`up`]),r[5]||=x((...e)=>l.nextItem&&l.nextItem(...e),[`down`]),r[6]||=x(p(()=>{},[`prevent`]),[`enter`]),r[8]||=x((...e)=>l.deleteTextOrItem&&l.deleteTextOrItem(...e),[`delete`])]},null,40,ae),g(`div`,{class:_([`text`,l.textClass]),"data-vss-custom-attr":l.searchTextCustomAttr},a(l.inputText),11,L),g(`div`,{class:_([`menu`,l.menuClass]),ref:`menu`,onMousedown:r[10]||=p(()=>{},[`prevent`]),style:s(l.menuStyle),tabindex:`-1`},[(n(!0),C(m,null,D(l.filteredOptions,(i,o)=>(n(),C(`div`,{key:o,class:_([`item`,{selected:i.selected||c.pointer===o,disabled:i.disabled}]),"data-vss-custom-attr":l.customAttrs[o]?l.customAttrs[o]:``,onClick:p(e=>l.selectItem(i),[`stop`]),onMousedown:r[9]||=(...e)=>l.mousedownItem&&l.mousedownItem(...e),onMouseenter:e=>l.pointerSet(o)},[e(t.$slots,`default`,{option:i,idx:o},()=>[E(a(i.text),1)])],42,R))),128))],38)],34)}var se=F(I,[[`render`,oe]]),ce={name:`MultiSelect`,mixins:[P],emits:[`blur`,`searchchange`,`select`],props:{customAttr:{type:Function,default:()=>``},options:{type:Array},selectedOptions:{type:Array},cleanSearch:{type:Boolean,default:!0},hideSelectedOptions:{type:Boolean,default:!1}},data(){return{showMenu:!1,searchText:``,mousedownState:!1,pointer:-1}},watch:{selectedOptions(){this.pointer=-1},filteredOptions(){this.pointerAdjust()},searchText(){this.$emit(`searchchange`,this.searchText)}},computed:{inputText(){return this.searchText?``:this.placeholder},textClass(){return this.placeholder?`default`:``},inputWidth(){return{width:(this.searchText.length+1)*8+20+`px`}},menuClass(){return{visible:this.showMenu,hidden:!this.showMenu}},menuStyle(){return{display:this.showMenu?`block`:`none`}},nonSelectOptions(){return this.options.filter(e=>this.selectedOptions.findIndex(t=>t.value===e.value)===-1)},filteredOptions(){return this.searchText?this.nonSelectOptions.filter(e=>{try{return this.cleanSearch?this.filterPredicate(this.accentsTidy(e.text),this.searchText):this.filterPredicate(e.text,this.searchText)}catch{return!0}}):this.nonSelectOptions}},methods:{deleteTextOrLastItem(){!this.searchText&&this.selectedOptions.length>0&&this.deleteItem(this.selectedOptions[this.selectedOptions.length-1])},openOptions(){N.openOptions(this)},blurInput(){N.blurInput(this)},closeOptions(){N.closeOptions(this)},prevItem(){N.prevItem(this),this.openOptions()},nextItem(){N.nextItem(this),this.openOptions()},enterItem(){N.enterItem(this)},pointerSet(e){N.pointerSet(this,e)},pointerAdjust(){N.pointerAdjust(this)},mousedownItem(){N.mousedownItem(this)},selectItem(e){let t=this.selectedOptions.concat(e),n=t.filter((e,n)=>t.indexOf(e)===n);this.closeOptions(),this.searchText=``,this.$emit(`select`,n,e,`insert`)},deleteItem(e){let t=this.selectedOptions.filter(t=>t.value!==e.value);this.$emit(`select`,t,e,`delete`)},accentsTidy(e){let t=e.toString().toLowerCase();return t=t.replace(RegExp(`[àáâãäå]`,`g`),`a`),t=t.replace(RegExp(`æ`,`g`),`ae`),t=t.replace(RegExp(`ç`,`g`),`c`),t=t.replace(RegExp(`[èéêë]`,`g`),`e`),t=t.replace(RegExp(`[ìíîï]`,`g`),`i`),t=t.replace(RegExp(`ñ`,`g`),`n`),t=t.replace(RegExp(`[òóôõö]`,`g`),`o`),t=t.replace(RegExp(`œ`,`g`),`oe`),t=t.replace(RegExp(`[ùúûü]`,`g`),`u`),t=t.replace(RegExp(`[ýÿ]`,`g`),`y`),t}}},le=g(`i`,{class:`dropdown icon`},null,-1),z=[`data-vss-custom-attr`],ue=[`onClick`],B=[`disabled`,`tabindex`,`id`,`name`],de=[`data-vss-custom-attr`,`onClick`,`onMouseenter`];function fe(t,i,o,c,l,u){return n(),C(`div`,{class:_([`ui fluid search dropdown selection multiple`,{"active visible":l.showMenu,error:t.isError,disabled:t.isDisabled}]),onClick:i[11]||=(...e)=>u.openOptions&&u.openOptions(...e),onFocus:i[12]||=(...e)=>u.openOptions&&u.openOptions(...e)},[le,o.hideSelectedOptions?d(``,!0):(n(!0),C(m,{key:0},D(o.selectedOptions,(r,i)=>(n(),C(`a`,{key:i,class:`ui label transition visible`,style:{display:`inline-block !important`},"data-vss-custom-attr":o.customAttr(r)},[e(t.$slots,`selected`,{option:r,idx:i},()=>[E(a(r.text),1),g(`i`,{class:`delete icon`,onClick:e=>u.deleteItem(r)},null,8,ue)])],8,z))),128)),r(g(`input`,{class:`search`,autocomplete:`off`,disabled:t.isDisabled,tabindex:t.isDisabled?-1:0,id:t.id,name:t.name,"onUpdate:modelValue":i[0]||=e=>l.searchText=e,ref:`input`,style:s(u.inputWidth),onFocus:i[1]||=p((...e)=>u.openOptions&&u.openOptions(...e),[`prevent`]),onKeyup:[i[2]||=x((...e)=>u.closeOptions&&u.closeOptions(...e),[`esc`]),i[7]||=x(p((...e)=>u.enterItem&&u.enterItem(...e),[`prevent`]),[`enter`])],onBlur:i[3]||=(...e)=>u.blurInput&&u.blurInput(...e),onKeydown:[i[4]||=x((...e)=>u.prevItem&&u.prevItem(...e),[`up`]),i[5]||=x((...e)=>u.nextItem&&u.nextItem(...e),[`down`]),i[6]||=x(p(()=>{},[`prevent`]),[`enter`]),i[8]||=x((...e)=>u.deleteTextOrLastItem&&u.deleteTextOrLastItem(...e),[`delete`])]},null,44,B),[[v,l.searchText]]),g(`div`,{class:_([`text`,u.textClass])},a(u.inputText),3),g(`div`,{class:_([`menu`,u.menuClass]),ref:`menu`,onMousedown:i[10]||=p(()=>{},[`prevent`]),style:s(u.menuStyle),tabindex:`-1`},[(n(!0),C(m,null,D(u.filteredOptions,(r,s)=>(n(),C(`div`,{key:s,class:_([`item`,{selected:r.selected||l.pointer===s,disabled:r.disabled}]),"data-vss-custom-attr":o.customAttr(r),onClick:p(e=>u.selectItem(r),[`stop`]),onMousedown:i[9]||=(...e)=>u.mousedownItem&&u.mousedownItem(...e),onMouseenter:e=>u.pointerSet(s)},[e(t.$slots,`default`,{option:r,idx:s},()=>[E(a(r.text),1)])],42,de))),128))],38)],34)}var pe=F(ce,[[`render`,fe]]);t(),u(),f(),w();var me=T({__name:`TheMultiSelect`,props:{options:null,selectedOptions:null},emits:[`select`],setup(e,{emit:t}){let r=t,i=b(!1);function a(){i.value=!0}function o(){i.value=!1}function s(e){i.value&&e.stopPropagation()}function c(e,t){r(`select`,e,t)}return(t,r)=>(n(),h(S(pe),{class:_({"is-composing":S(i)}),options:e.options,"selected-options":e.selectedOptions,onSelect:c,onCompositionstart:a,onCompositionend:o,onKeydownCapture:x(s,[`delete`])},null,8,[`class`,`options`,`selected-options`]))}}),he=l(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?(n._Highcharts=r(),t.exports=n._Highcharts):typeof define==`function`&&define.amd?define(`highcharts/highcharts`,[],r):typeof e==`object`?(n._Highcharts=r(),e.highcharts=n._Highcharts):(n.Highcharts&&n.Highcharts.error(16,!0),n.Highcharts=r())})(`u`<typeof window?e:window,()=>(()=>{let e,t,n,r,i;var a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k={};k.d=(e,t)=>{for(var n in t)k.o(t,n)&&!k.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},k.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var A={};k.d(A,{default:()=>Wi}),(a=p||={}).SVG_NS=`http://www.w3.org/2000/svg`,a.product=`Highcharts`,a.version=`13.0.0`,a.win=`u`>typeof window?window:{},a.doc=a.win.document,a.svg=!!a.doc?.createElementNS?.(a.SVG_NS,`svg`)?.createSVGRect,a.pageLang=a.doc?.documentElement?.closest(`[lang]`)?.lang,a.userAgent=a.win.navigator?.userAgent||``,a.isChrome=a.win.chrome,a.isFirefox=a.userAgent.indexOf(`Firefox`)!==-1,a.isMS=/(edge|msie|trident)/i.test(a.userAgent)&&!a.win.opera,a.isSafari=!a.isChrome&&a.userAgent.indexOf(`Safari`)!==-1,a.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(a.userAgent),a.isWebKit=a.userAgent.indexOf(`AppleWebKit`)!==-1,a.deg2rad=2*Math.PI/360,a.marginNames=[`plotTop`,`marginRight`,`marginBottom`,`plotLeft`],a.noop=function(){},a.supportsPassiveEvents=function(){let e=!1;if(!a.isMS){let t=Object.defineProperty({},"passive",{get:function(){e=!0}});a.win.addEventListener&&a.win.removeEventListener&&(a.win.addEventListener(`testPassive`,a.noop,t),a.win.removeEventListener(`testPassive`,a.noop,t))}return e}(),a.charts=[],a.composed=[],a.dateFormats={},a.seriesTypes={},a.symbolSizes={},a.chartCount=0;let j=p,ee={dark:{backgroundColor:`#141414`,neutralColor:`#ffffff`,highlightColor:`#2caffe`},light:{backgroundColor:`#ffffff`,neutralColor:`#000000`,highlightColor:`#0022ff`,positiveColor:`#06b535`,negativeColor:`#f21313`}},{doc:te,win:ne}=j;function M(e,t,n,r={}){let i=typeof e==`function`&&e.prototype||e;Object.hasOwnProperty.call(i,`hcEvents`)||(i.hcEvents={});let a=i.hcEvents;j.Point&&e instanceof j.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);let o=e.addEventListener;o&&o.call(e,t,n,!!j.supportsPassiveEvents&&{passive:r.passive===void 0?t.indexOf(`touch`)!==-1:r.passive,capture:!1}),a[t]||(a[t]=[]);let s={fn:n,order:typeof r.order==`number`?r.order:1/0};return a[t].push(s),a[t].sort((e,t)=>e.order-t.order),function(){De(e,t,n)}}function N(e){let t=e.length,n=e[0];for(;t--;)e[t]<n&&(n=e[t]);return n}function re(e){let t=e.length,n=e[0];for(;t--;)e[t]>n&&(n=e[t]);return n}function P(e,t,n){let r,i=H(t)&&!R(n),a=(t,n)=>{R(t)?e.setAttribute(n,t):i?(r=e.getAttribute(n))||n!==`class`||(r=e.getAttribute(n+`Name`)):e.removeAttribute(n)};return H(t)?a(n,t):K(t,a),r}function F(e,t,n){return e>t?e<n?e:n:t}function I(e,t){return e>0x5af3107a4000?e:parseFloat(e.toPrecision(t||14))}function ie(e,t,n,r,i){let a=te.createElement(e);return t&&z(a,t),i&&L(a,{padding:`0`,border:`none`,margin:`0`}),n&&L(a,n),r&&r.appendChild(a),a}function ae(e,t=0,n){let r=t%2/2,i=n?-1:1;return(Math.round(e*i-r)+r)*i}function L(e,t){z(e.style,t)}function R(e){return e!=null}function oe(e,t,n){K(e,function(r,i){r!==t&&r?.destroy&&r.destroy(),(r?.destroy||!n)&&delete e[i]})}function se(e){e?.parentElement?.removeChild(e)}function ce(e,t,n,r){let i={};return function e(t,i,a,o){let s=n?i:t;K(t,function(n,c){if(!o&&r&&r.indexOf(c)>-1&&i[c]){n=Oe(n),a[c]=[];for(let t=0;t<Math.max(n.length,i[c].length);t++)i[c][t]&&(n[t]===void 0?a[c][t]=i[c][t]:(a[c][t]={},e(n[t],i[c][t],a[c][t],o+1)))}else W(n,!0)&&!n.nodeType?(a[c]=U(n)?[]:{},e(n,i[c]||{},a[c],o+1),Object.keys(a[c]).length===0&&(c!==`colorAxis`||o!==0)&&delete a[c]):(t[c]!==i[c]||c in t&&!(c in i))&&c!==`__proto__`&&c!==`constructor`&&(a[c]=s[c])})}(e,t,i,0),i}function le(e,t){let n=e.length;for(;n--;)if(e[n]===t){e.splice(n,1);break}}function z(e,t){let n;for(n in e||={},t)e[n]=t[n];return e}function ue(e,t){let n=function(){};return n.prototype=new e,z(n.prototype,t),n}function B(e,t,n,r){if(n||={},te?.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==j)){let r=te.createEvent(`Events`);r.initEvent(t,!0,!0),n=z(r,n),e.dispatchEvent?e.dispatchEvent(n):e.fireEvent(t,n)}else if(e.hcEvents){n.target||z(n,{preventDefault:function(){n.defaultPrevented=!0},target:e,type:t});let r=[],i=e,a=!1;for(;i.hcEvents;)Object.hasOwnProperty.call(i,`hcEvents`)&&i.hcEvents[t]&&(r.length&&(a=!0),r.unshift.apply(r,i.hcEvents[t])),i=Object.getPrototypeOf(i);a&&r.sort((e,t)=>e.order-t.order),r.forEach(t=>{!1===t.fn.call(e,n,e)&&n.preventDefault()})}r&&!n.defaultPrevented&&r.call(e,n)}let de=(e=``)=>({center:.5,right:1,middle:.5,bottom:1})[e]||0;function fe(e,t){let n,r,i,a=!t;return e.forEach(e=>{if(e.length>1)for(i=e.length-1;i>0;i--)(r=e[i]-e[i-1])<0&&!a?(t?.(),t=void 0):r&&(n===void 0||r<n)&&(n=r)}),n}function pe(e){return 10**Math.floor(Math.log(e)/Math.LN10)}function me(e,t){let n=e.split(`.`);for(;n.length&&R(t);){let e=n.shift();if(e===void 0||e===`__proto__`)return;if(e===`this`){let e;return W(t)&&(e=t[`@this`]),e??t}let r=t[e.replace(/[\\'"]/g,``)];if(!R(r)||typeof r==`function`||typeof r.nodeType==`number`||r===ne)return;t=r}return t}function he(e,t,n){let r;if(t===`width`){let t=Math.min(e.offsetWidth,e.scrollWidth),n=e.getBoundingClientRect?.().width;return n<t&&n>=t-1&&(t=Math.floor(n)),Math.max(0,t-(he(e,`padding-left`,!0)||0)-(he(e,`padding-right`,!0)||0))}if(t===`height`)return Math.max(0,Math.min(e.offsetHeight,e.scrollHeight)-(he(e,`padding-top`,!0)||0)-(he(e,`padding-bottom`,!0)||0));let i=ne.getComputedStyle(e,void 0);return i&&(r=i.getPropertyValue(t),q(n,t!==`opacity`)&&(r=J(r))),r}let ge=Array.prototype.find?function(e,t){return e.find(t)}:function(e,t){let n,r=e.length;for(n=0;n<r;n++)if(t(e[n],n))return e[n]};function _e(e){R(e)&&clearTimeout(e)}function ve(e){return W(e)&&typeof e.nodeType==`number`}function ye(e){let t=e?.constructor;return!!(W(e,!0)&&!ve(e)&&t?.name&&t.name!==`Object`)}function V(e){return typeof e==`number`&&!isNaN(e)&&e<1/0&&e>-1/0}function H(e){return typeof e==`string`}function U(e){let t=Object.prototype.toString.call(e);return t===`[object Array]`||t===`[object Array Iterator]`}function be(e){return typeof e==`function`}function W(e,t){return!!e&&typeof e==`object`&&(!t||!U(e))}function G(e,...t){let n,r=[e,...t],i={},a=function(e,t){return typeof e!=`object`&&(e={}),K(t,function(n,r){r!==`__proto__`&&r!==`constructor`&&(!W(n,!0)||ye(n)||ve(n)?e[r]=t[r]:e[r]=a(e[r]||{},n))}),e};!0===e&&(i=r[1],r=Array.prototype.slice.call(r,2));let o=r.length;for(n=0;n<o;n++)i=a(i,r[n]);return i}function xe(e,t,n,r,i){let a,o=e;n=q(n,pe(e));let s=e/n;for(!t&&(t=i?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===r&&(n===1?t=t.filter(function(e){return e%1==0}):n<=.1&&(t=[1/n]))),a=0;a<t.length&&(o=t[a],(!i||!(o*n>=e))&&(i||!(s<=(t[a]+(t[a+1]||t[a]))/2)));a++);return I(o*n,-Math.round(Math.log(.001)/Math.LN10))}function K(e,t,n){for(let r in e)Object.hasOwnProperty.call(e,r)&&t.call(n||e[r],e[r],r,e)}function Se(e){let t=te.documentElement,n=e.parentElement||e.parentNode?e.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:n.top+(ne.pageYOffset||t.scrollTop)-(t.clientTop||0),left:n.left+(ne.pageXOffset||t.scrollLeft)-(t.clientLeft||0),width:n.width,height:n.height}}function Ce(e,t,n){return Array((t||2)+1-String(e).replace(`-`,``).length).join(n||`0`)+e}function q(){let e=arguments,t=e.length;for(let n=0;n<t;n++){let t=e[n];if(t!=null)return t}}function J(e,t){return parseInt(e,t||10)}function we(e,t){return 0>e.indexOf(t)&&!!e.push(t)}function Te(e,t,n){return/%$/.test(e)?t*parseFloat(e)/100+(n||0):parseFloat(e)}function Ee(e,...t){let n,r;do for(r of(n=e,t))e=e.replace(r[0],r[1]);while(e!==n);return e}function De(e,t,n){function r(t,n){let r=e.removeEventListener;r&&r.call(e,t,n,!1)}function i(n){let i,a;e.nodeName&&(t?(i={})[t]=!0:i=n,K(i,function(e,t){if(n[t])for(a=n[t].length;a--;)r(t,n[t][a].fn)}))}let a=typeof e==`function`&&e.prototype||e;if(Object.hasOwnProperty.call(a,`hcEvents`)){let e=a.hcEvents;if(t){let a=e[t]||[];n?(e[t]=a.filter(function(e){return n!==e.fn}),r(t,n)):(i(e),e[t]=[])}else i(e),delete a.hcEvents}}function Oe(e){return U(e)?e:[e]}function ke(e,t){let n,r,i=e.length;for(r=0;r<i;r++)e[r].safeI=r;for(e.sort(function(e,r){return(n=t(e,r))===0?e.safeI-r.safeI:n}),r=0;r<i;r++)delete e[r].safeI}function Ae(e,t,n){return t>0?setTimeout(e,t,n):(e.call(0,n),-1)}function je(e){return H(e)?e.substring(0,1).toUpperCase()+e.substring(1):String(e)}let{charts:Me,win:Ne}=j;function Y(e,t,n,r){let i=t?`Highcharts error`:`Highcharts warning`;e===32&&(e=`${i}: Deprecated member`);let a=V(e),o=a?`${i} #${e}: www.highcharts.com/errors/${e}/`:e.toString();if(r!==void 0){let e=``;a&&(o+=`?`),K(r,function(t,n){e+=`
|
|
1
|
+
import{B as e,E as t,F as n,G as r,H as i,It as a,N as o,Nt as s,P as c,Rt as l,X as u,_ as d,a as f,d as p,f as m,g as h,h as g,jt as _,l as v,m as y,nt as b,u as x,ut as S,v as C,vt as w,x as T,y as E,z as D}from"./vue.runtime.esm-bundler-DTMOfGWR.js";import{R as O,c as k}from"./index-ClRmeGtV.js";u();var A=b([]);function j(){let e=Symbol(`modal`);function t(){A.value.push(e)}function n(){let t=A.value.indexOf(e);t>-1&&A.value.splice(t,1)}function r(){return A.value[A.value.length-1]===e}function i(){return A.value.length>0}return{register:t,unregister:n,isTopModal:r,isAnyModalOpen:i}}t(),w();var ee={class:`relative bg-white dark:bg-gray-800 sm:p-4`,"rounded-sm":``,"shadow-sm":``},te={class:`mb-4 border-b rounded-t pb-4 sm:mb-4 dark:border-gray-600`,flex:``,"items-center":``,"justify-between":``},ne={"text-gray-900":``,"dark:text-white":``,"text-xl":``,"font-sans":``,"font-semibold":``,italic:``},M=T({__name:`Modal`,props:{isHidden:{type:Boolean},title:null,width:null,mt:null},emits:[`update:isHidden`,`onBeforeClose`],setup(t,{emit:r}){let s=t,l=r,{register:u,unregister:d,isTopModal:f}=j();o(()=>u()),c(()=>d());let p=y({get(){return s.isHidden},set(e){l(`update:isHidden`,e)}});function m(e=`outside`){l(`onBeforeClose`,e),p.value=!0}let{Escape:h}=k();return i(h,e=>{e&&f()&&m(`esc`)}),(t,r)=>(n(),C(`div`,{class:_([`md:inset-0 w-[100%] h-[100%]`,[s.mt??`md:mt-32 sm:mt-16`]]),fixed:``,"z-1997":``,"of-x-hidden":``,flex:``,"justify-center":``,"items-start":``},[g(`div`,{class:`w-[100%] h-[100%]`,fixed:``,"left-0":``,"top-0":``,"z-1998":``,style:{backgroundColor:`rgba(0, 0, 0, 0.5)`},onClick:r[0]||=e=>m(`outside`)}),g(`div`,{class:_([`relative p-4`,[s.width??`w-[78%]`]]),"z-1999":``},[g(`div`,ee,[g(`div`,te,[e(t.$slots,`header`,{},()=>[g(`h3`,ne,a(s.title),1)]),g(`button`,{type:`button`,class:`hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-white`,"bg-transparent":``,"ml-auto":``,"p-1.5":``,"text-sm":``,"text-gray-400":``,"items-center":``,"inline-flex":``,"rounded-lg":``,onClick:r[1]||=e=>m(`close-button`)},[...r[2]||=[g(`svg`,{class:`h-5 w-5`,fill:`currentColor`,viewBox:`0 0 20 20`,xmlns:`http://www.w3.org/2000/svg`},[g(`path`,{"fill-rule":`evenodd`,d:`M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z`,"clip-rule":`evenodd`})],-1),g(`span`,{"sr-only":``},` Close modal `,-1)]])]),e(t.$slots,`default`)])],2)],2))}});t(),w(),f();var N={openOptions(e){e.$refs.input.focus(),e.showMenu=!0,e.mousedownState=!1},blurInput(e){e.mousedownState||(e.searchText=``,e.closeOptions()),e.$emit(`blur`)},closeOptions(e){e.$refs.input.blur(),e.showMenu=!1},prevItem(e){let t=e.pointer-1,n=e.$el.offsetHeight*t;t>=0&&(e.pointer=t),e.$refs.menu.scrollTop=n},nextItem(e){let t=e.pointer+1,n=e.$el.offsetHeight*t;t<=e.filteredOptions.length-1&&(e.pointer=t);let r=e.$refs.menu.offsetHeight,i=Math.ceil((e.$refs.menu.scrollTop+e.$el.offsetHeight)/r),a=Math.ceil(n/r);i!==a&&(e.$refs.menu.scrollTop=(a-1)*e.$refs.menu.offsetHeight)},enterItem(e){let t=e.filteredOptions[e.pointer],n=t.disabled;t&&!n&&e.selectItem(t)},pointerSet(e,t){e.pointer=t},pointerAdjust(e){e.pointer>=e.filteredOptions.length-1&&(e.pointer=e.filteredOptions.length?e.filteredOptions.length-1:0)},mousedownItem(e){e.mousedownState=!0}};function re(e){return new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),`i`)}var P={props:{id:{default:null},name:{type:String,default:``},isError:{type:Boolean,default:!1},customAttr:{type:Function,default:()=>``},isDisabled:{type:Boolean,default:!1},placeholder:{type:String,default:``},filterPredicate:{type:Function,default:(e,t)=>e.match(re(t))}}},F=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},I={name:`ModelSelect`,mixins:[P],emits:[`blur`,`searchchange`,`update:modelValue`],props:{modelValue:{type:[String,Number,Object,Boolean]},customAttr:{type:Function,default:()=>``},options:{type:Array}},data(){return{showMenu:!1,searchText:``,mousedownState:!1,pointer:-1}},watch:{value(e){this.pointer=this.filteredOptions.findIndex(t=>t.value===this.optionValue(e))},filteredOptions(){this.pointerAdjust()},searchText(){this.$emit(`searchchange`,this.searchText)}},computed:{searchTextCustomAttr(){return this.selectedOption&&this.selectedOption.value?this.customAttr(this.selectedOption):``},inputText(){if(this.searchText)return``;{let e=this.placeholder;return this.selectedOption&&(e=this.selectedOption.text),e}},customAttrs(){try{if(Array.isArray(this.options))return this.options.map(e=>this.customAttr(e))}catch{}return[]},textClass(){return!this.selectedOption&&this.placeholder?`default`:``},menuClass(){return{visible:this.showMenu,hidden:!this.showMenu}},menuStyle(){return{display:this.showMenu?`block`:`none`}},filteredOptions(){return this.searchText?this.options.filter(e=>{try{return this.filterPredicate(e.text,this.searchText)}catch{return!0}}):this.options},selectedOption(){return this.options.find(e=>e.value===this.optionValue(this.modelValue))}},methods:{deleteTextOrItem(){!this.searchText&&this.modelValue&&(this.selectItem({}),this.openOptions())},openOptions(){N.openOptions(this)},blurInput(){N.blurInput(this)},closeOptions(){N.closeOptions(this)},prevItem(){N.prevItem(this)},nextItem(){N.nextItem(this)},enterItem(){N.enterItem(this)},pointerSet(e){N.pointerSet(this,e)},pointerAdjust(){N.pointerAdjust(this)},mousedownItem(){N.mousedownItem(this)},selectItem(e){this.searchText=``,this.closeOptions(),typeof this.modelValue==`object`&&this.modelValue?this.$emit(`update:modelValue`,e):(this.$emit(`update:modelValue`,e.value),e.value!==void 0&&e.value===e.text&&(this.searchText=e.value))},optionValue(e){return typeof e==`object`&&e?e.value:e}}},ie=g(`i`,{class:`dropdown icon`},null,-1),ae=[`disabled`,`tabindex`,`id`,`name`,`value`],L=[`data-vss-custom-attr`],R=[`data-vss-custom-attr`,`onClick`,`onMouseenter`];function oe(t,r,i,o,c,l){return n(),C(`div`,{class:_([`ui fluid search selection dropdown`,{"active visible":c.showMenu,error:t.isError,disabled:t.isDisabled}]),onClick:r[11]||=(...e)=>l.openOptions&&l.openOptions(...e),onFocus:r[12]||=(...e)=>l.openOptions&&l.openOptions(...e)},[ie,g(`input`,{class:`search`,autocomplete:`off`,disabled:t.isDisabled,tabindex:t.isDisabled?-1:0,id:t.id,name:t.name,value:c.searchText,onInput:r[0]||=e=>c.searchText=e.target.value,ref:`input`,onFocus:r[1]||=p((...e)=>l.openOptions&&l.openOptions(...e),[`prevent`]),onKeyup:[r[2]||=x((...e)=>l.closeOptions&&l.closeOptions(...e),[`esc`]),r[7]||=x(p((...e)=>l.enterItem&&l.enterItem(...e),[`prevent`]),[`enter`])],onBlur:r[3]||=(...e)=>l.blurInput&&l.blurInput(...e),onKeydown:[r[4]||=x((...e)=>l.prevItem&&l.prevItem(...e),[`up`]),r[5]||=x((...e)=>l.nextItem&&l.nextItem(...e),[`down`]),r[6]||=x(p(()=>{},[`prevent`]),[`enter`]),r[8]||=x((...e)=>l.deleteTextOrItem&&l.deleteTextOrItem(...e),[`delete`])]},null,40,ae),g(`div`,{class:_([`text`,l.textClass]),"data-vss-custom-attr":l.searchTextCustomAttr},a(l.inputText),11,L),g(`div`,{class:_([`menu`,l.menuClass]),ref:`menu`,onMousedown:r[10]||=p(()=>{},[`prevent`]),style:s(l.menuStyle),tabindex:`-1`},[(n(!0),C(m,null,D(l.filteredOptions,(i,o)=>(n(),C(`div`,{key:o,class:_([`item`,{selected:i.selected||c.pointer===o,disabled:i.disabled}]),"data-vss-custom-attr":l.customAttrs[o]?l.customAttrs[o]:``,onClick:p(e=>l.selectItem(i),[`stop`]),onMousedown:r[9]||=(...e)=>l.mousedownItem&&l.mousedownItem(...e),onMouseenter:e=>l.pointerSet(o)},[e(t.$slots,`default`,{option:i,idx:o},()=>[E(a(i.text),1)])],42,R))),128))],38)],34)}var se=F(I,[[`render`,oe]]),ce={name:`MultiSelect`,mixins:[P],emits:[`blur`,`searchchange`,`select`],props:{customAttr:{type:Function,default:()=>``},options:{type:Array},selectedOptions:{type:Array},cleanSearch:{type:Boolean,default:!0},hideSelectedOptions:{type:Boolean,default:!1}},data(){return{showMenu:!1,searchText:``,mousedownState:!1,pointer:-1}},watch:{selectedOptions(){this.pointer=-1},filteredOptions(){this.pointerAdjust()},searchText(){this.$emit(`searchchange`,this.searchText)}},computed:{inputText(){return this.searchText?``:this.placeholder},textClass(){return this.placeholder?`default`:``},inputWidth(){return{width:(this.searchText.length+1)*8+20+`px`}},menuClass(){return{visible:this.showMenu,hidden:!this.showMenu}},menuStyle(){return{display:this.showMenu?`block`:`none`}},nonSelectOptions(){return this.options.filter(e=>this.selectedOptions.findIndex(t=>t.value===e.value)===-1)},filteredOptions(){return this.searchText?this.nonSelectOptions.filter(e=>{try{return this.cleanSearch?this.filterPredicate(this.accentsTidy(e.text),this.searchText):this.filterPredicate(e.text,this.searchText)}catch{return!0}}):this.nonSelectOptions}},methods:{deleteTextOrLastItem(){!this.searchText&&this.selectedOptions.length>0&&this.deleteItem(this.selectedOptions[this.selectedOptions.length-1])},openOptions(){N.openOptions(this)},blurInput(){N.blurInput(this)},closeOptions(){N.closeOptions(this)},prevItem(){N.prevItem(this),this.openOptions()},nextItem(){N.nextItem(this),this.openOptions()},enterItem(){N.enterItem(this)},pointerSet(e){N.pointerSet(this,e)},pointerAdjust(){N.pointerAdjust(this)},mousedownItem(){N.mousedownItem(this)},selectItem(e){let t=this.selectedOptions.concat(e),n=t.filter((e,n)=>t.indexOf(e)===n);this.closeOptions(),this.searchText=``,this.$emit(`select`,n,e,`insert`)},deleteItem(e){let t=this.selectedOptions.filter(t=>t.value!==e.value);this.$emit(`select`,t,e,`delete`)},accentsTidy(e){let t=e.toString().toLowerCase();return t=t.replace(RegExp(`[àáâãäå]`,`g`),`a`),t=t.replace(RegExp(`æ`,`g`),`ae`),t=t.replace(RegExp(`ç`,`g`),`c`),t=t.replace(RegExp(`[èéêë]`,`g`),`e`),t=t.replace(RegExp(`[ìíîï]`,`g`),`i`),t=t.replace(RegExp(`ñ`,`g`),`n`),t=t.replace(RegExp(`[òóôõö]`,`g`),`o`),t=t.replace(RegExp(`œ`,`g`),`oe`),t=t.replace(RegExp(`[ùúûü]`,`g`),`u`),t=t.replace(RegExp(`[ýÿ]`,`g`),`y`),t}}},le=g(`i`,{class:`dropdown icon`},null,-1),z=[`data-vss-custom-attr`],ue=[`onClick`],B=[`disabled`,`tabindex`,`id`,`name`],de=[`data-vss-custom-attr`,`onClick`,`onMouseenter`];function fe(t,i,o,c,l,u){return n(),C(`div`,{class:_([`ui fluid search dropdown selection multiple`,{"active visible":l.showMenu,error:t.isError,disabled:t.isDisabled}]),onClick:i[11]||=(...e)=>u.openOptions&&u.openOptions(...e),onFocus:i[12]||=(...e)=>u.openOptions&&u.openOptions(...e)},[le,o.hideSelectedOptions?d(``,!0):(n(!0),C(m,{key:0},D(o.selectedOptions,(r,i)=>(n(),C(`a`,{key:i,class:`ui label transition visible`,style:{display:`inline-block !important`},"data-vss-custom-attr":o.customAttr(r)},[e(t.$slots,`selected`,{option:r,idx:i},()=>[E(a(r.text),1),g(`i`,{class:`delete icon`,onClick:e=>u.deleteItem(r)},null,8,ue)])],8,z))),128)),r(g(`input`,{class:`search`,autocomplete:`off`,disabled:t.isDisabled,tabindex:t.isDisabled?-1:0,id:t.id,name:t.name,"onUpdate:modelValue":i[0]||=e=>l.searchText=e,ref:`input`,style:s(u.inputWidth),onFocus:i[1]||=p((...e)=>u.openOptions&&u.openOptions(...e),[`prevent`]),onKeyup:[i[2]||=x((...e)=>u.closeOptions&&u.closeOptions(...e),[`esc`]),i[7]||=x(p((...e)=>u.enterItem&&u.enterItem(...e),[`prevent`]),[`enter`])],onBlur:i[3]||=(...e)=>u.blurInput&&u.blurInput(...e),onKeydown:[i[4]||=x((...e)=>u.prevItem&&u.prevItem(...e),[`up`]),i[5]||=x((...e)=>u.nextItem&&u.nextItem(...e),[`down`]),i[6]||=x(p(()=>{},[`prevent`]),[`enter`]),i[8]||=x((...e)=>u.deleteTextOrLastItem&&u.deleteTextOrLastItem(...e),[`delete`])]},null,44,B),[[v,l.searchText]]),g(`div`,{class:_([`text`,u.textClass])},a(u.inputText),3),g(`div`,{class:_([`menu`,u.menuClass]),ref:`menu`,onMousedown:i[10]||=p(()=>{},[`prevent`]),style:s(u.menuStyle),tabindex:`-1`},[(n(!0),C(m,null,D(u.filteredOptions,(r,s)=>(n(),C(`div`,{key:s,class:_([`item`,{selected:r.selected||l.pointer===s,disabled:r.disabled}]),"data-vss-custom-attr":o.customAttr(r),onClick:p(e=>u.selectItem(r),[`stop`]),onMousedown:i[9]||=(...e)=>u.mousedownItem&&u.mousedownItem(...e),onMouseenter:e=>u.pointerSet(s)},[e(t.$slots,`default`,{option:r,idx:s},()=>[E(a(r.text),1)])],42,de))),128))],38)],34)}var pe=F(ce,[[`render`,fe]]);t(),u(),f(),w();var me=T({__name:`TheMultiSelect`,props:{options:null,selectedOptions:null},emits:[`select`],setup(e,{emit:t}){let r=t,i=b(!1);function a(){i.value=!0}function o(){i.value=!1}function s(e){i.value&&e.stopPropagation()}function c(e,t){r(`select`,e,t)}return(t,r)=>(n(),h(S(pe),{class:_({"is-composing":S(i)}),options:e.options,"selected-options":e.selectedOptions,onSelect:c,onCompositionstart:a,onCompositionend:o,onKeydownCapture:x(s,[`delete`])},null,8,[`class`,`options`,`selected-options`]))}}),he=l(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?(n._Highcharts=r(),t.exports=n._Highcharts):typeof define==`function`&&define.amd?define(`highcharts/highcharts`,[],r):typeof e==`object`?(n._Highcharts=r(),e.highcharts=n._Highcharts):(n.Highcharts&&n.Highcharts.error(16,!0),n.Highcharts=r())})(`u`<typeof window?e:window,()=>(()=>{let e,t,n,r,i;var a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k={};k.d=(e,t)=>{for(var n in t)k.o(t,n)&&!k.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},k.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var A={};k.d(A,{default:()=>Wi}),(a=p||={}).SVG_NS=`http://www.w3.org/2000/svg`,a.product=`Highcharts`,a.version=`13.0.0`,a.win=`u`>typeof window?window:{},a.doc=a.win.document,a.svg=!!a.doc?.createElementNS?.(a.SVG_NS,`svg`)?.createSVGRect,a.pageLang=a.doc?.documentElement?.closest(`[lang]`)?.lang,a.userAgent=a.win.navigator?.userAgent||``,a.isChrome=a.win.chrome,a.isFirefox=a.userAgent.indexOf(`Firefox`)!==-1,a.isMS=/(edge|msie|trident)/i.test(a.userAgent)&&!a.win.opera,a.isSafari=!a.isChrome&&a.userAgent.indexOf(`Safari`)!==-1,a.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(a.userAgent),a.isWebKit=a.userAgent.indexOf(`AppleWebKit`)!==-1,a.deg2rad=2*Math.PI/360,a.marginNames=[`plotTop`,`marginRight`,`marginBottom`,`plotLeft`],a.noop=function(){},a.supportsPassiveEvents=function(){let e=!1;if(!a.isMS){let t=Object.defineProperty({},"passive",{get:function(){e=!0}});a.win.addEventListener&&a.win.removeEventListener&&(a.win.addEventListener(`testPassive`,a.noop,t),a.win.removeEventListener(`testPassive`,a.noop,t))}return e}(),a.charts=[],a.composed=[],a.dateFormats={},a.seriesTypes={},a.symbolSizes={},a.chartCount=0;let j=p,ee={dark:{backgroundColor:`#141414`,neutralColor:`#ffffff`,highlightColor:`#2caffe`},light:{backgroundColor:`#ffffff`,neutralColor:`#000000`,highlightColor:`#0022ff`,positiveColor:`#06b535`,negativeColor:`#f21313`}},{doc:te,win:ne}=j;function M(e,t,n,r={}){let i=typeof e==`function`&&e.prototype||e;Object.hasOwnProperty.call(i,`hcEvents`)||(i.hcEvents={});let a=i.hcEvents;j.Point&&e instanceof j.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);let o=e.addEventListener;o&&o.call(e,t,n,!!j.supportsPassiveEvents&&{passive:r.passive===void 0?t.indexOf(`touch`)!==-1:r.passive,capture:!1}),a[t]||(a[t]=[]);let s={fn:n,order:typeof r.order==`number`?r.order:1/0};return a[t].push(s),a[t].sort((e,t)=>e.order-t.order),function(){De(e,t,n)}}function N(e){let t=e.length,n=e[0];for(;t--;)e[t]<n&&(n=e[t]);return n}function re(e){let t=e.length,n=e[0];for(;t--;)e[t]>n&&(n=e[t]);return n}function P(e,t,n){let r,i=H(t)&&!R(n),a=(t,n)=>{R(t)?e.setAttribute(n,t):i?(r=e.getAttribute(n))||n!==`class`||(r=e.getAttribute(n+`Name`)):e.removeAttribute(n)};return H(t)?a(n,t):K(t,a),r}function F(e,t,n){return e>t?e<n?e:n:t}function I(e,t){return e>0x5af3107a4000?e:parseFloat(e.toPrecision(t||14))}function ie(e,t,n,r,i){let a=te.createElement(e);return t&&z(a,t),i&&L(a,{padding:`0`,border:`none`,margin:`0`}),n&&L(a,n),r&&r.appendChild(a),a}function ae(e,t=0,n){let r=t%2/2,i=n?-1:1;return(Math.round(e*i-r)+r)*i}function L(e,t){z(e.style,t)}function R(e){return e!=null}function oe(e,t,n){K(e,function(r,i){r!==t&&r?.destroy&&r.destroy(),(r?.destroy||!n)&&delete e[i]})}function se(e){e?.parentElement?.removeChild(e)}function ce(e,t,n,r){let i={};return function e(t,i,a,o){let s=n?i:t;K(t,function(n,c){if(!o&&r&&r.indexOf(c)>-1&&i[c]){n=Oe(n),a[c]=[];for(let t=0;t<Math.max(n.length,i[c].length);t++)i[c][t]&&(n[t]===void 0?a[c][t]=i[c][t]:(a[c][t]={},e(n[t],i[c][t],a[c][t],o+1)))}else W(n,!0)&&!n.nodeType?(a[c]=U(n)?[]:{},e(n,i[c]||{},a[c],o+1),Object.keys(a[c]).length===0&&(c!==`colorAxis`||o!==0)&&delete a[c]):(t[c]!==i[c]||c in t&&!(c in i))&&c!==`__proto__`&&c!==`constructor`&&(a[c]=s[c])})}(e,t,i,0),i}function le(e,t){let n=e.length;for(;n--;)if(e[n]===t){e.splice(n,1);break}}function z(e,t){let n;for(n in e||={},t)e[n]=t[n];return e}function ue(e,t){let n=function(){};return n.prototype=new e,z(n.prototype,t),n}function B(e,t,n,r){if(n||={},te?.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==j)){let r=te.createEvent(`Events`);r.initEvent(t,!0,!0),n=z(r,n),e.dispatchEvent?e.dispatchEvent(n):e.fireEvent(t,n)}else if(e.hcEvents){n.target||z(n,{preventDefault:function(){n.defaultPrevented=!0},target:e,type:t});let r=[],i=e,a=!1;for(;i.hcEvents;)Object.hasOwnProperty.call(i,`hcEvents`)&&i.hcEvents[t]&&(r.length&&(a=!0),r.unshift.apply(r,i.hcEvents[t])),i=Object.getPrototypeOf(i);a&&r.sort((e,t)=>e.order-t.order),r.forEach(t=>{!1===t.fn.call(e,n,e)&&n.preventDefault()})}r&&!n.defaultPrevented&&r.call(e,n)}let de=(e=``)=>({center:.5,right:1,middle:.5,bottom:1})[e]||0;function fe(e,t){let n,r,i,a=!t;return e.forEach(e=>{if(e.length>1)for(i=e.length-1;i>0;i--)(r=e[i]-e[i-1])<0&&!a?(t?.(),t=void 0):r&&(n===void 0||r<n)&&(n=r)}),n}function pe(e){return 10**Math.floor(Math.log(e)/Math.LN10)}function me(e,t){let n=e.split(`.`);for(;n.length&&R(t);){let e=n.shift();if(e===void 0||e===`__proto__`)return;if(e===`this`){let e;return W(t)&&(e=t[`@this`]),e??t}let r=t[e.replace(/[\\'"]/g,``)];if(!R(r)||typeof r==`function`||typeof r.nodeType==`number`||r===ne)return;t=r}return t}function he(e,t,n){let r;if(t===`width`){let t=Math.min(e.offsetWidth,e.scrollWidth),n=e.getBoundingClientRect?.().width;return n<t&&n>=t-1&&(t=Math.floor(n)),Math.max(0,t-(he(e,`padding-left`,!0)||0)-(he(e,`padding-right`,!0)||0))}if(t===`height`)return Math.max(0,Math.min(e.offsetHeight,e.scrollHeight)-(he(e,`padding-top`,!0)||0)-(he(e,`padding-bottom`,!0)||0));let i=ne.getComputedStyle(e,void 0);return i&&(r=i.getPropertyValue(t),q(n,t!==`opacity`)&&(r=J(r))),r}let ge=Array.prototype.find?function(e,t){return e.find(t)}:function(e,t){let n,r=e.length;for(n=0;n<r;n++)if(t(e[n],n))return e[n]};function _e(e){R(e)&&clearTimeout(e)}function ve(e){return W(e)&&typeof e.nodeType==`number`}function ye(e){let t=e?.constructor;return!!(W(e,!0)&&!ve(e)&&t?.name&&t.name!==`Object`)}function V(e){return typeof e==`number`&&!isNaN(e)&&e<1/0&&e>-1/0}function H(e){return typeof e==`string`}function U(e){let t=Object.prototype.toString.call(e);return t===`[object Array]`||t===`[object Array Iterator]`}function be(e){return typeof e==`function`}function W(e,t){return!!e&&typeof e==`object`&&(!t||!U(e))}function G(e,...t){let n,r=[e,...t],i={},a=function(e,t){return typeof e!=`object`&&(e={}),K(t,function(n,r){r!==`__proto__`&&r!==`constructor`&&(!W(n,!0)||ye(n)||ve(n)?e[r]=t[r]:e[r]=a(e[r]||{},n))}),e};!0===e&&(i=r[1],r=Array.prototype.slice.call(r,2));let o=r.length;for(n=0;n<o;n++)i=a(i,r[n]);return i}function xe(e,t,n,r,i){let a,o=e;n=q(n,pe(e));let s=e/n;for(!t&&(t=i?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===r&&(n===1?t=t.filter(function(e){return e%1==0}):n<=.1&&(t=[1/n]))),a=0;a<t.length&&(o=t[a],(!i||!(o*n>=e))&&(i||!(s<=(t[a]+(t[a+1]||t[a]))/2)));a++);return I(o*n,-Math.round(Math.log(.001)/Math.LN10))}function K(e,t,n){for(let r in e)Object.hasOwnProperty.call(e,r)&&t.call(n||e[r],e[r],r,e)}function Se(e){let t=te.documentElement,n=e.parentElement||e.parentNode?e.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:n.top+(ne.pageYOffset||t.scrollTop)-(t.clientTop||0),left:n.left+(ne.pageXOffset||t.scrollLeft)-(t.clientLeft||0),width:n.width,height:n.height}}function Ce(e,t,n){return Array((t||2)+1-String(e).replace(`-`,``).length).join(n||`0`)+e}function q(){let e=arguments,t=e.length;for(let n=0;n<t;n++){let t=e[n];if(t!=null)return t}}function J(e,t){return parseInt(e,t||10)}function we(e,t){return 0>e.indexOf(t)&&!!e.push(t)}function Te(e,t,n){return/%$/.test(e)?t*parseFloat(e)/100+(n||0):parseFloat(e)}function Ee(e,...t){let n,r;do for(r of(n=e,t))e=e.replace(r[0],r[1]);while(e!==n);return e}function De(e,t,n){function r(t,n){let r=e.removeEventListener;r&&r.call(e,t,n,!1)}function i(n){let i,a;e.nodeName&&(t?(i={})[t]=!0:i=n,K(i,function(e,t){if(n[t])for(a=n[t].length;a--;)r(t,n[t][a].fn)}))}let a=typeof e==`function`&&e.prototype||e;if(Object.hasOwnProperty.call(a,`hcEvents`)){let e=a.hcEvents;if(t){let a=e[t]||[];n?(e[t]=a.filter(function(e){return n!==e.fn}),r(t,n)):(i(e),e[t]=[])}else i(e),delete a.hcEvents}}function Oe(e){return U(e)?e:[e]}function ke(e,t){let n,r,i=e.length;for(r=0;r<i;r++)e[r].safeI=r;for(e.sort(function(e,r){return(n=t(e,r))===0?e.safeI-r.safeI:n}),r=0;r<i;r++)delete e[r].safeI}function Ae(e,t,n){return t>0?setTimeout(e,t,n):(e.call(0,n),-1)}function je(e){return H(e)?e.substring(0,1).toUpperCase()+e.substring(1):String(e)}let{charts:Me,win:Ne}=j;function Y(e,t,n,r){let i=t?`Highcharts error`:`Highcharts warning`;e===32&&(e=`${i}: Deprecated member`);let a=V(e),o=a?`${i} #${e}: www.highcharts.com/errors/${e}/`:e.toString();if(r!==void 0){let e=``;a&&(o+=`?`),K(r,function(t,n){e+=`
|
|
2
2
|
- ${n}: ${t}`,a&&(o+=encodeURI(n)+`=`+encodeURI(t))}),o+=e}B(j,`displayError`,{chart:n,code:e,message:o,params:r},function(){if(t)throw Error(o);Ne.console&&Y.messages.indexOf(o)===-1&&console.warn(o)}),Y.messages.push(o)}function Pe(e,t){let n,r=e.options.index,i=t.length;for(n=e.options.isInternal?i:0;n<i+1;n++)if(!t[n]||V(r)&&r<q(t[n].options.index,t[n]._i)||t[n].options.isInternal){t.splice(n,0,e);break}return n}(Y||={}).messages=[];let X={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5};Math.easeInOutSine=function(e){return-.5*(Math.cos(Math.PI*e)-1)};let Fe=(n=Math.random().toString(36).substring(2,9)+`-`,r=0,function(){return`highcharts-`+(e?``:n)+ r++});Ne.jQuery&&(Ne.jQuery.fn.highcharts=function(){let e=[].slice.call(arguments);if(this[0])return e[0]?(new j[H(e[0])?e.shift():`Chart`](this[0],e[0],e[1]),this):Me[P(this[0],`data-highcharts-chart`)]});let{pageLang:Ie,win:Le}=j,Re=j.isSafari&&Le.Intl&&!Le.Intl.DateTimeFormat.prototype.formatRange,ze=class{constructor(e,t){this.options={timezone:`UTC`},this.variableTimezone=!1,this.Date=Le.Date,this.update(e),this.lang=t}update(e={}){this.dTLCache={},this.options=e=G(!0,this.options,e);let{timezoneOffset:t,useUTC:n,locale:r}=e;this.Date=e.Date||Le.Date||Date;let i=e.timezone;R(n)&&(i=n?`UTC`:void 0),t&&t%60==0&&(i=`Etc/GMT`+(t>0?`+`:``)+t/60),this.variableTimezone=i!==`UTC`&&i?.indexOf(`Etc/GMT`)!==0,this.timezone=i,this.lang&&r&&(this.lang.locale=r),[`months`,`shortMonths`,`weekdays`,`shortWeekdays`].forEach(e=>{let t=/months/i.test(e),n=/short/.test(e),r={timeZone:`UTC`};r[t?`month`:`weekday`]=n?`short`:`long`,this[e]=(t?[0,1,2,3,4,5,6,7,8,9,10,11]:[3,4,5,6,7,8,9]).map(e=>this.dateFormat(r,(t?31:1)*24*36e5*e))})}toParts(e){let[t,n,r,i,a,o,s]=this.dateTimeFormat({weekday:`narrow`,day:`numeric`,month:`numeric`,year:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`},e,`es`).split(/(?:, | |\/|:)/g);return[+i,r-1,+n,+a,+o,+s,Math.floor(Number(e)||0)%1e3,`DLMXJVS`.indexOf(t)]}dateTimeFormat(e,t,n=this.options.locale||Ie){let r=JSON.stringify(e)+n;H(e)&&(e=this.str2dtf(e));let i=this.dTLCache[r];if(!i){e.timeZone??=this.timezone;try{i=new Intl.DateTimeFormat(n,e)}catch(t){/Invalid time zone/i.test(t.message)?(Y(34),e.timeZone=`UTC`,i=new Intl.DateTimeFormat(n,e)):Y(t.message,!1)}}return this.dTLCache[r]=i,i?.format(t)||``}str2dtf(e,t={}){let n={L:{fractionalSecondDigits:3},S:{second:`2-digit`},M:{minute:`numeric`},H:{hour:`2-digit`},k:{hour:`numeric`},E:{weekday:`narrow`},a:{weekday:`short`},A:{weekday:`long`},d:{day:`2-digit`},e:{day:`numeric`},b:{month:`short`},B:{month:`long`},m:{month:`2-digit`},o:{month:`numeric`},y:{year:`2-digit`},Y:{year:`numeric`}};return Object.keys(n).forEach(r=>{e.indexOf(r)!==-1&&z(t,n[r])}),t}makeTime(e,t,n=1,r=0,i,a,o){let s=this.Date.UTC(e,t,n,r,i||0,a||0,o||0);if(this.timezone!==`UTC`){let e=this.getTimezoneOffset(s);if(s+=e,[2,3,8,9,10,11].indexOf(t)!==-1&&(r<5||r>20)){let t=this.getTimezoneOffset(s);e===t?e-36e5!==this.getTimezoneOffset(s-36e5)||Re||(s-=36e5):s+=t-e}}return s}parse(e){if(!H(e))return e??void 0;let t=(e=e.replace(/\//g,`-`).replace(/(GMT|UTC)/,``)).indexOf(`Z`)>-1||/([+-][0-9]{2}):?[0-9]{2}$/.test(e),n=/^[0-9]{4}-[0-9]{2}(-[0-9]{2}|)$/.test(e);t||n||(e+=`Z`);let r=Date.parse(e);if(V(r))return r+(!t||n?this.getTimezoneOffset(r):0)}getTimezoneOffset(e){if(this.timezone!==`UTC`){let[t,n,r,i,a=0]=this.dateTimeFormat({timeZoneName:`shortOffset`},e,`en`).split(/(GMT|:)/).map(Number),o=-(60*(r+a/60)*6e4);if(V(o))return o}return 0}dateFormat(e,t,n){let r=this.lang;if(!R(t)||isNaN(t))return r?.invalidDate||``;if(H(e??=`%Y-%m-%d %H:%M:%S`)){let n,i=/%\[([a-zA-Z]+)\]/g;for(;n=i.exec(e);)e=e.replace(n[0],this.dateTimeFormat(n[1],t,r?.locale))}if(H(e)&&e.indexOf(`%`)!==-1){let n=this,[i,a,o,s,c,l,u,d]=this.toParts(t),f=r?.weekdays||this.weekdays,p=r?.shortWeekdays||this.shortWeekdays,m=r?.months||this.months,h=r?.shortMonths||this.shortMonths;K(z({a:p?p[d]:f[d].substr(0,3),A:f[d],d:Ce(o),e:Ce(o,2,` `),w:d,v:r?.weekFrom??``,b:h[a],B:m[a],m:Ce(a+1),o:a+1,y:i.toString().substr(2,2),Y:i,H:Ce(s),k:s,I:Ce(s%12||12),l:s%12||12,M:Ce(c),p:s<12?`AM`:`PM`,P:s<12?`am`:`pm`,S:Ce(l),L:Ce(u,3)},j.dateFormats),function(r,i){if(H(e))for(;e.indexOf(`%`+i)!==-1;)e=e.replace(`%`+i,typeof r==`function`?r.call(n,t,n):r)})}else if(W(e)){let n=(this.getTimezoneOffset(t)||0)/36e5,r=this.timezone||`Etc/GMT`+(n>=0?`+`:``)+n,{prefix:i=``,suffix:a=``}=e;e=i+this.dateTimeFormat(z({timeZone:r},e),t)+a}return n?je(e):e}resolveDTLFormat(e){return W(e,!0)?W(e,!0)&&e.main===void 0?{main:e}:e:{main:(e=Oe(e))[0],from:e[1],to:e[2]}}getDateFormat(e,t,n,r){let i=this.dateFormat(`%m-%d %H:%M:%S.%L`,t),a=`01-01 00:00:00.000`,o={millisecond:15,second:12,minute:9,hour:6,day:3},s=`millisecond`,c=s;for(s in X){if(e&&e===X.week&&+this.dateFormat(`%w`,t)===n&&i.substr(6)===a.substr(6)){s=`week`;break}if(e&&X[s]>e){s=c;break}if(o[s]&&i.substr(o[s])!==a.substr(o[s]))break;s!==`week`&&(c=s)}return this.resolveDTLFormat(r[s]).main}},Be=class extends ze{getBoundaryTicks(e,t,n,r){let i={};if(t===X.year)return i;let a=R(n)&&R(r),o=t<X.hour,s=t<X.day,c=t<X.month,l=t>=X.hour?9e5:t>=X.minute?6e4:t>=X.second&&1e3;if(e.length<1e4){let u=!0;for(let d=0;d<e.length;d++){let f=e[d];if(a){if(f<n)continue;if(f>r)break}if(u){if(t===X.month){i[f]=`year`,u=!1;continue}if(t===X.hour){i[f]=`day`,u=!1;continue}}if(l&&f%l!=0){u=!1;continue}let[,p,m,h,g,_,v]=this.toParts(f),y=!h&&!g&&!_&&!v;o&&g===0&&(i[f]=`hour`),s&&y&&(i[f]=`day`),c&&m===1&&y&&(i[f]=`month`),p===0&&m===1&&y&&(i[f]=`year`),u=!1}}return i}getTimeTicks(e,t,n,r){let i=[],{count:a=1,unitRange:o}=e,s=t,[c,l,u,d,f,p]=this.toParts(t),m=(t||0)%1e3,h;if(r??=1,R(t)){if(m=o>=X.second?0:a*Math.floor(m/a),o>=X.second&&(p=o>=X.minute?0:a*Math.floor(p/a)),o>=X.minute&&(f=o>=X.hour?0:a*Math.floor(f/a)),o>=X.hour&&(d=o>=X.day?0:a*Math.floor(d/a)),o>=X.day&&(u=o>=X.month?1:Math.max(1,a*Math.floor(u/a))),o>=X.month&&(l=o>=X.year?0:a*Math.floor(l/a)),o>=X.year&&(c-=c%a),o===X.week){a&&(t=this.makeTime(c,l,u,d,f,p,m));let e=this.dateTimeFormat({timeZone:this.timezone,weekday:`narrow`},t,`es`),n=`DLMXJVS`.indexOf(e);u+=-n+r+(n<r?-7:0)}t=this.makeTime(c,l,u,d,f,p,m),this.variableTimezone&&R(n)&&(h=n-t>4*X.month||this.getTimezoneOffset(t)!==this.getTimezoneOffset(n));let e=t,s=1;for(;e<n;)i.push(e),o===X.year?e=this.makeTime(c+s*a,0):o===X.month?e=this.makeTime(c,l+s*a):h&&(o===X.day||o===X.week)?e=this.makeTime(c,l,u+s*a*(o===X.day?1:7)):h&&o===X.hour&&a>1?e=this.makeTime(c,l,u,d+s*a):e+=o*a,s++;i.push(e)}return i.info=z(e,{boundaryTicks:this.getBoundaryTicks(i,o,s,n),totalRange:o*a}),i}},{isTouchDevice:Ve}=j,He={palette:ee,colors:Array(10).fill(1).map((e,t)=>`var(--highcharts-color-${t})`),symbols:[`circle`,`diamond`,`square`,`triangle`,`triangle-down`],lang:{weekFrom:`week from`,chartTitle:`Chart title`,locale:void 0,loading:`Loading...`,months:void 0,seriesName:`Series {add index 1}`,shortMonths:void 0,weekdays:void 0,numericSymbols:[`k`,`M`,`G`,`T`,`P`,`E`],pieSliceName:`Slice`,resetZoom:`Reset zoom`,yAxisTitle:`Values`,resetZoomTitle:`Reset zoom level 1:1`},global:{buttonTheme:{fill:`var(--highcharts-neutral-color-3)`,padding:8,r:2,stroke:`var(--highcharts-neutral-color-20)`,"stroke-width":1,style:{color:`var(--highcharts-neutral-color-80)`,cursor:`pointer`,fontSize:`0.8em`,fontWeight:`normal`},states:{hover:{fill:`var(--highcharts-neutral-color-10)`},select:{fill:`var(--highcharts-highlight-color-10)`,style:{color:`var(--highcharts-neutral-color-100)`,fontWeight:`bold`}},disabled:{style:{color:`var(--highcharts-neutral-color-20)`}}}}},time:{Date:void 0,timezone:`UTC`,timezoneOffset:0,useUTC:void 0},chart:{alignThresholds:!1,panning:{enabled:!1,type:`x`},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,selectionMarkerFill:`color-mix(var(--highcharts-highlight-color-80) 25%, transparent)`,type:`line`,zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:`right`,x:-10,y:10}}},width:null,height:null,borderColor:`var(--highcharts-highlight-color-80)`,backgroundColor:`var(--highcharts-background-color)`,plotBorderColor:`var(--highcharts-neutral-color-20)`},title:{style:{color:`var(--highcharts-neutral-color-80)`,fontWeight:`bold`},text:`Chart title`,margin:15,minScale:.67},subtitle:{style:{color:`var(--highcharts-neutral-color-60)`,fontSize:`0.8em`},text:``},caption:{margin:15,style:{color:`var(--highcharts-neutral-color-60)`,fontSize:`0.8em`},text:``,align:`left`,verticalAlign:`bottom`},plotOptions:{},legend:{enabled:!0,align:`center`,alignColumns:!0,className:`highcharts-no-tooltip`,events:{},layout:`horizontal`,itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:`var(--highcharts-neutral-color-40)`,borderRadius:0,navigation:{style:{fontSize:`0.8em`},activeColor:`var(--highcharts-highlight-color-100)`,inactiveColor:`var(--highcharts-neutral-color-20)`},itemStyle:{color:`var(--highcharts-neutral-color-80)`,cursor:`pointer`,fontSize:`0.8em`,textDecoration:`none`,textOverflow:`ellipsis`},itemHoverStyle:{color:`var(--highcharts-neutral-color-100)`},itemHiddenStyle:{color:`var(--highcharts-neutral-color-60)`,textDecoration:`line-through`},shadow:!1,itemCheckboxStyle:{position:`absolute`,width:`13px`,height:`13px`},squareSymbol:!0,symbolPadding:5,verticalAlign:`bottom`,x:0,y:0,title:{style:{color:`var(--highcharts-neutral-color-80)`,fontSize:`0.8em`,fontWeight:`bold`}}},loading:{labelStyle:{fontWeight:`bold`,position:`relative`,top:`45%`},style:{position:`absolute`,backgroundColor:`var(--highcharts-background-color)`,opacity:.5,textAlign:`center`}},tooltip:{enabled:!0,animation:{duration:300,easing:e=>Math.sqrt(1-(e-1)**2)},borderColor:`light-dark(var(--highcharts-neutral-color-5), var(--highcharts-neutral-color-20))`,borderRadius:5,dateTimeLabelFormats:{millisecond:`%[AebHMSL]`,second:`%[AebHMS]`,minute:`%[AebHM]`,hour:`%[AebHM]`,day:`%[AebY]`,week:`%v %[AebY]`,month:`%[BY]`,year:`%[Y]`},footerFormat:``,header:{distance:5,shape:`callout`,style:{fontSize:`1em`}},hideDelay:500,showDelay:0,padding:8,position:{x:0,y:3},shared:!1,snap:Ve?25:10,headerFormat:`<span style="font-size: 0.8em">{ucfirst point.key}</span><br/>`,pointFormat:`<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>`,backgroundColor:`var(--highcharts-background-color)`,borderWidth:void 0,stickOnContact:!1,style:{color:`var(--highcharts-neutral-color-80)`,cursor:`default`,fontSize:`0.8em`},useHTML:!1},credits:{enabled:!0,href:`https://www.highcharts.com?credits`,position:{align:`right`,verticalAlign:`bottom`,x:-10,y:-5},style:{cursor:`pointer`,color:`var(--highcharts-neutral-color-40)`,fontSize:`0.6em`},text:`Highcharts.com`}},Ue=new Be(He.time,He.lang),We={defaultOptions:He,defaultTime:Ue,getOptions:function(){return He},setOptions:function(e){return B(j,`setOptions`,{options:e}),G(!0,He,e),e.time&&Ue.update(He.time),e.lang&&`locale`in e.lang&&Ue.update({locale:e.lang.locale}),e.lang?.chartTitle&&(He.title={...He.title,text:e.lang.chartTitle}),He}},{win:Ge}=j,Ke=(e,t,n)=>n===0?e:n===1?t:`color-mix(in srgb,${e},${t} ${100*n}%)`,qe=e=>H(e)&&!!e&&e!==`none`;class Z{static parse(e){return e?new Z(e):Z.None}constructor(e){let t,n,r,i;this.rgba=[NaN,NaN,NaN,NaN],this.input=e;let a=j.Color;if(a&&a!==Z)return new a(e);if(typeof e==`object`&&e.stops!==void 0)this.stops=e.stops.map(e=>new Z(e[1]));else if(typeof e==`string`)for(this.input=e=Z.names[e.toLowerCase()]||e,r=Z.parsers.length;r--&&!n;)(t=(i=Z.parsers[r]).regex.exec(e))&&(n=i.parse(t));n&&(this.rgba=n)}get(e){let t=this.input,n=this.rgba;if(this.output)return this.output;if(typeof t==`object`&&this.stops!==void 0){let n=G(t);return n.stops=[].slice.call(n.stops),this.stops.forEach((t,r)=>{n.stops[r]=[n.stops[r][0],t.get(e)]}),n}return n&&V(n[0])?e!==`rgb`&&(e||n[3]!==1)?e===`a`?`${n[3]}`:`rgba(`+n.join(`,`)+`)`:`rgb(`+n[0]+`,`+n[1]+`,`+n[2]+`)`:t}brighten(e){let t=this.rgba;if(this.stops)this.stops.forEach(function(t){t.brighten(e)});else if(V(e)&&e!==0)if(V(t[0]))for(let n=0;n<3;n++)t[n]+=J(255*e),t[n]<0&&(t[n]=0),t[n]>255&&(t[n]=255);else Z.useColorMix&&qe(this.input)&&(this.output=Ke(this.input,e>0?`white`:`black`,Math.abs(e)));return this}setOpacity(e){return V(this.rgba[0])?this.rgba[3]=e:Z.useColorMix&&qe(this.input)&&(this.output=Ke(this.input,`#0000`,1-e)),this}tweenTo(e,t){let n=this.rgba,r=e.rgba;if(!V(n[0])||!V(r[0]))return Z.useColorMix&&qe(this.input)&&qe(e.input)&&t<.99?Ke(this.input,e.input,t):e.input||`none`;let i=r[3]!==1||n[3]!==1,a=(e,r)=>e+(n[r]-e)*(1-t),o=r.slice(0,3).map(a).map(Math.round);return i&&o.push(a(r[3],3)),(i?`rgba(`:`rgb(`)+o.join(`,`)+`)`}}Z.names={white:`#ffffff`,black:`#000000`},Z.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(e){return[J(e[1]),J(e[2]),J(e[3]),parseFloat(e[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(e){return[J(e[1]),J(e[2]),J(e[3]),1]}},{regex:/^#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?$/i,parse:function(e){return[J(e[1]+e[1],16),J(e[2]+e[2],16),J(e[3]+e[3],16),R(e[4])?J(e[4]+e[4],16)/255:1]}},{regex:/^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?$/i,parse:function(e){return[J(e[1],16),J(e[2],16),J(e[3],16),R(e[4])?J(e[4],16)/255:1]}}],Z.useColorMix=Ge.CSS?.supports(`color`,`color-mix(in srgb,red,blue 9%)`),Z.None=new Z(``);let{parse:Je}=Z,{win:Ye}=j;class Xe{constructor(e,t,n){this.pos=NaN,this.options=t,this.elem=e,this.prop=n}dSetter(){let e=this.paths,t=e?.[0],n=e?.[1],r=this.now||0,i=[];if(r!==1&&t&&n)if(t.length===n.length&&r<1)for(let e=0;e<n.length;e++){let a=t[e],o=n[e],s=[];for(let e=0;e<o.length;e++){let t=a[e],n=o[e];V(t)&&V(n)&&(o[0]!==`A`||e!==4&&e!==5)?s[e]=t+r*(n-t):s[e]=n}i.push(s)}else i=n;else i=this.toD||[];this.elem.attr(`d`,i,void 0,!0)}update(){let e=this.elem,t=this.prop,n=this.now,r=this.options.step;this[t+`Setter`]?this[t+`Setter`]():e.attr?e.element&&e.attr(t,n,null,!0):e.style[t]=n+this.unit,r&&r.call(e,n,this)}run(e,t,n){let r=this,i=r.options,a=function(e){return!a.stopped&&r.step(e)},o=Ye.requestAnimationFrame||function(e){setTimeout(e,13)},s=function(){for(let e=0;e<Xe.timers.length;e++)Xe.timers[e]()||Xe.timers.splice(e--,1);Xe.timers.length&&o(s)};e!==t||this.elem[`forceAnimate:`+this.prop]?(this.startTime=+new Date,this.start=e,this.end=t,this.unit=n,this.now=this.start,this.pos=0,a.elem=this.elem,a.prop=this.prop,a()&&Xe.timers.push(a)===1&&o(s)):(delete i.curAnim[this.prop],i.complete&&Object.keys(i.curAnim).length===0&&i.complete.call(this.elem))}step(e){let t,n,r=+new Date,i=this.options,a=this.elem,o=i.complete,s=i.duration,c=i.curAnim;return a.attr&&!a.element?t=!1:e||r>=s+this.startTime?(this.now=this.end,this.pos=1,this.update(),c[this.prop]=!0,n=!0,K(c,function(e){!0!==e&&(n=!1)}),n&&o&&o.call(a),t=!1):(this.pos=i.easing((r-this.startTime)/s),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0),t}initPath(e,t,n){let r=e.startX,i=e.endX,a=n.slice(),o=e.isArea,s=o?2:1,c=t&&n.length>t.length&&n.hasStackedCliffs,l,u,d,f,p=t?.slice();if(!p||c)return[a,a];function m(e,t){for(;e.length<u;){let n=e[0],r=t[u-e.length];if(r&&n[0]===`M`&&(r[0]===`C`?e[0]=[`C`,n[1],n[2],n[1],n[2],n[1],n[2]]:e[0]=[`L`,n[1],n[2]]),e.unshift(n),o){let t=e.pop();e.push(e[e.length-1],t)}}}function h(e){for(;e.length<u;){let t=e[Math.floor(e.length/s)-1].slice();if(t[0]===`C`&&(t[1]=t[5],t[2]=t[6]),o){let n=e[Math.floor(e.length/s)].slice();e.splice(e.length/2,0,t,n)}else e.push(t)}}if(r&&i&&i.length){for(d=0;d<r.length;d++)if(r[d]===i[0]){l=d;break}else if(r[0]===i[i.length-r.length+d]){l=d,f=!0;break}else if(r[r.length-1]===i[i.length-r.length+d]){l=r.length-d;break}l===void 0&&(p=[])}return p.length&&V(l)&&(u=a.length+l*s,f?(m(p,a),h(a)):(m(a,p),h(p))),[p,a]}fillSetter(){Xe.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,Je(this.start).tweenTo(Je(this.end),this.pos),void 0,!0)}}function Ze(e){return W(e)?G({duration:500,defer:0},e):{duration:500*!!e,defer:0}}function Qe(e,t){let n=Xe.timers.length;for(;n--;)Xe.timers[n].elem!==e||t&&t!==Xe.timers[n].prop||(Xe.timers[n].stopped=!0)}Xe.timers=[];let $e={animate:function(e,t,n){let r,i=``,a,o,s;W(n)||(s=arguments,n={duration:s[2],easing:s[3],complete:s[4]}),V(n.duration)||(n.duration=400),n.easing=typeof n.easing==`function`?n.easing:Math[n.easing]||Math.easeInOutSine,n.curAnim=G(t),K(t,function(s,c){Qe(e,c),o=new Xe(e,n,c),a=void 0,c===`d`&&U(t.d)?(o.paths=o.initPath(e,e.pathArray,t.d),o.toD=t.d,r=0,a=1):e.attr?r=e.attr(c):(r=parseFloat(he(e,c))||0,c!==`opacity`&&(i=`px`)),a||=s,typeof a==`string`&&a.match(`px`)&&(a=a.replace(/px/g,``)),o.run(r,a,i)})},animObject:Ze,getDeferredAnimation:function(e,t,n){let r=Ze(t),i=n?[n]:e.series,a=0,o=0;return i.forEach(e=>{let n=Ze(e.options.animation);a=W(t)&&R(t.defer)?r.defer:Math.max(a,n.duration+n.defer),o=Math.min(r.duration,n.duration)}),e.renderer.forExport&&(a=0),{defer:Math.max(0,a-o),duration:Math.min(a,o)}},setAnimation:function(e,t){t.renderer.globalAnimation=q(e,t.options.chart.animation,!0)},stop:Qe},{SVG_NS:et,win:tt}=j,{trustedTypes:nt}=tt,rt=nt&&be(nt.createPolicy)&&nt.createPolicy(`highcharts`,{createHTML:e=>e}),it=rt?rt.createHTML(``):``;class Q{static filterUserAttributes(e){return K(e,(t,n)=>{let r=!0;Q.allowedAttributes.indexOf(n)===-1&&(r=!1),[`background`,`dynsrc`,`href`,`lowsrc`,`src`].indexOf(n)!==-1&&(r=H(t)&&Q.allowedReferences.some(e=>t.indexOf(e)===0)),r||(Y(33,!1,void 0,{"Invalid attribute in config":`${n}`}),delete e[n]),H(t)&&e[n]&&(e[n]=t.replace(/</g,`<`))}),e}static parseStyle(e){return e.split(`;`).reduce((e,t)=>{let n=t.split(`:`).map(e=>e.trim()),r=n.shift();return r&&n.length&&(e[r.replace(/-([a-z])/g,e=>e[1].toUpperCase())]=n.join(`:`)),e},{})}static setElementHTML(e,t){e.innerHTML=Q.emptyHTML,t&&new Q(t).addToDOM(e)}constructor(e){this.nodes=typeof e==`string`?this.parseMarkup(e):e}addToDOM(e){return function e(t,n){let r;return Oe(t).forEach(function(t){let i,a=t.tagName,o=t.textContent?j.doc.createTextNode(t.textContent):void 0,s=Q.bypassHTMLFiltering;if(a)if(a===`#text`)i=o;else if(Q.allowedTags.indexOf(a)!==-1||s){let r=a===`svg`?et:n.namespaceURI||et,c=j.doc.createElementNS(r,a),l=t.attributes||{};K(t,function(e,t){t!==`tagName`&&t!==`attributes`&&t!==`children`&&t!==`style`&&t!==`textContent`&&(l[t]=e)}),P(c,s?l:Q.filterUserAttributes(l)),t.style&&L(c,t.style),o&&c.appendChild(o),e(t.children||[],c),i=c}else Y(33,!1,void 0,{"Invalid tagName in config":a});i&&n.appendChild(i),r=i}),r}(this.nodes,e)}parseMarkup(e){let t,n=[];e=e.trim().replace(/ style=(["'])/g,` data-style=$1`);try{t=new DOMParser().parseFromString(rt?rt.createHTML(e):e,`text/html`)}catch{}if(!t){let n=ie(`div`);n.innerHTML=e,t={body:n}}let r=(e,t)=>{let n=e.nodeName.toLowerCase(),i={tagName:n};n===`#text`&&(i.textContent=e.textContent||``);let a=e.attributes;if(a){let e={};[].forEach.call(a,t=>{t.name===`data-style`?i.style=Q.parseStyle(t.value):e[t.name]=t.value}),i.attributes=e}if(e.childNodes.length){let t=[];[].forEach.call(e.childNodes,e=>{r(e,t)}),t.length&&(i.children=t)}t.push(i)};return[].forEach.call(t.body.childNodes,e=>r(e,n)),n}}Q.allowedAttributes=`alt.aria-controls.aria-describedby.aria-expanded.aria-haspopup.aria-hidden.aria-label.aria-labelledby.aria-live.aria-pressed.aria-readonly.aria-roledescription.aria-selected.aria-sort.class.clip-path.color.colspan.cx.cy.d.disabled.dx.dy.fill.filterUnits.flood-color.flood-opacity.height.href.id.in.in2.markerHeight.markerWidth.offset.opacity.operator.orient.padding.paddingLeft.paddingRight.patternUnits.r.radius.refX.refY.result.role.rowspan.scope.slope.src.startOffset.stdDeviation.stroke-linecap.stroke-width.stroke.style.summary.tabindex.tableValues.target.text-align.text-anchor.textAnchor.textLength.title.type.valign.width.x.x1.x2.xlink:href.y.y1.y2.zIndex`.split(`.`),Q.allowedReferences=[`https://`,`http://`,`mailto:`,`/`,`../`,`./`,`#`],Q.allowedTags=`#text.a.abbr.b.br.button.caption.circle.clipPath.code.dd.defs.div.dl.dt.em.feComponentTransfer.feComposite.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feMerge.feMergeNode.feMorphology.feOffset.filter.h1.h2.h3.h4.h5.h6.hr.i.img.li.linearGradient.marker.ol.p.path.pattern.pre.rect.small.span.stop.strong.style.sub.sup.svg.table.tbody.td.text.textPath.th.thead.title.tr.tspan.u.ul`.split(`.`),Q.emptyHTML=it,Q.bypassHTMLFiltering=!1;let{defaultOptions:at,defaultTime:ot}=We,{pageLang:st}=j,ct={add:(e,t)=>e+t,divide:(e,t)=>t===0?``:I(e/t),eq:(e,t)=>e==t,each:function(e){let t=arguments[arguments.length-1];return!!U(e)&&e.map((n,r)=>ut(t.body,z(W(n)?n:{"@this":n},{"@index":r,"@first":r===0,"@last":r===e.length-1}))).join(``)},ge:(e,t)=>e>=t,gt:(e,t)=>e>t,if:e=>!!e,le:(e,t)=>e<=t,lt:(e,t)=>e<t,multiply:(e,t)=>I(e*t,15),ne:(e,t)=>e!=t,subtract:(e,t)=>e-t,ucfirst:je,unless:e=>!e},lt={};function ut(e=``,t,n){let r=/\{([^{}]+)\}/g,i=/\(([^()]+)\)/g,a=[],o=/f$/,s=/\.(\d)/,c=n?.options?.lang||at.lang,l=n?.time||ot,u=n?.numberFormatter||dt.bind(n),d=(e=``)=>{let n;return e===`true`||e!==`false`&&((n=Number(e)).toString()===e?n:/^["'].+["']$/.test(e)?e.slice(1,-1):me(e,t))},f,p,m=0,h;for(;(f=r.exec(e))!==null;){let n=f,r=i.exec(f[1]);r&&(f=r,h=!0),p?.isBlock||(p={ctx:t,expression:f[1],find:f[0],isBlock:f[1].charAt(0)===`#`,start:f.index,startInner:f.index+f[0].length,length:f[0].length});let o=(p.isBlock?n:f)[1].split(` `)[0].replace(`#`,``);ct[o]&&(p.isBlock&&o===p.fn&&m++,p.fn||=o);let s=f[1]===`else`;if(p.isBlock&&p.fn&&(f[1]===`/${p.fn}`||s))if(m)!s&&m--;else{let t=p.startInner,n=e.substr(t,f.index-t);p.body===void 0?(p.body=n,p.startInner=f.index+f[0].length):p.elseBody=n,p.find+=n+f[0],s||(a.push(p),p=void 0)}else p.isBlock||a.push(p);if(r&&!p?.isBlock)break}return a.forEach(r=>{let a,f,{body:p,elseBody:m,expression:h,fn:g}=r;if(g){let e=[r],i=[],o=h.length,s=0,c;for(f=0;f<=o;f++){let e=h.charAt(f);c||e!==`"`&&e!==`'`?c===e&&(c=``):c=e,c||e!==` `&&f!==o||(i.push(h.substr(s,f-s)),s=f+1)}for(f=ct[g].length;f--;)e.unshift(d(i[f+1]));a=ct[g].apply(t,e),r.isBlock&&typeof a==`boolean`&&(a=ut(a?p:m,t,n))}else{let e=/^["'].+["']$/.test(h)?[h]:h.split(`:`);if(a=d(e.shift()||``),e.length&&typeof a==`number`){let t=e.join(`:`);if(o.test(t)){let e=parseInt((t.match(s)||[``,`-1`])[1],10);a!==null&&(a=u(a,e,c.decimalPoint,t.indexOf(`,`)>-1?c.thousandsSep:``))}else a=l.dateFormat(t,a)}i.lastIndex=0,i.test(r.find)&&H(a)&&(a=`"${a}"`)}e=e.replace(r.find,q(a,``))}),h?ut(e,t,n):e}function dt(e,t,n,r){t*=1;let i,a,[o,s]=(e=+e||0).toString().split(`e`).map(Number),c=this?.options?.lang||at.lang,l=(e.toString().split(`.`)[1]||``).split(`e`)[0].length,u=t,d={};n??=c.decimalPoint,r??=c.thousandsSep,t===-1?t=Math.min(l,20):V(t)?t&&s<0&&((a=t+s)>=0?(o=+o.toExponential(a).split(`e`)[0],t=a):(o=Math.floor(o),e=t<20?+(o*10**s).toFixed(t):0,s=0)):t=2,s&&(t??=2,e=o),V(t)&&t>=0&&(d.minimumFractionDigits=t,d.maximumFractionDigits=t),r===``&&(d.useGrouping=!1);let f=r||n,p=f?`en`:this?.locale||c.locale||st,m=JSON.stringify(d)+p;return i=(lt[m]??(lt[m]=new Intl.NumberFormat(p,d))).format(e),f&&(i=i.replace(/([,\.])/g,`_$1`).replace(/_\,/g,r??`,`).replace(`_.`,n??`.`)),(t||+i!=0)&&(!(s<0)||u)||(i=`0`),s&&+i!=0&&(i+=`e`+(s<0?``:`+`)+s),i}let ft={dateFormat:function(e,t,n){return ot.dateFormat(e,t,n)},format:ut,helpers:ct,numberFormat:dt};(m||={}).distribute=function e(t,n,r){let i=t,a=i.reducedLen||n,o=(e,t)=>e.target-t.target,s=[],c=t.length,l=[],u=s.push,d,f=!0,p,m,h=0;for(d=c;d--;)h+=t[d].size;if(h>a){if(ke(t,(e,t)=>(t.rank||0)-(e.rank||0)),t[0].rank===t[t.length-1].rank){let e=[[0,c-1]];for(;e.length&&h>a;){let n=e.shift();if(!n)break;p=t[d=Math.floor((n[0]+n[1])/2)],we(l,d)&&(h-=p.size),n[0]<d&&e.push([n[0],d-1]),d<n[1]&&e.push([d+1,n[1]])}}else for(d=c-1;h>a&&d>=0;)p=t[d],we(l,d)&&(h-=p.size),d--;l.sort((e,t)=>t-e).forEach(e=>u.apply(s,t.splice(e,1)))}for(ke(t,o),t=t.map(e=>({size:e.size,targets:[e.target],align:q(e.align,.5)}));f;){for(d=t.length;d--;)p=t[d],m=(Math.min.apply(0,p.targets)+Math.max.apply(0,p.targets))/2,p.pos=F(m-p.size*p.align,0,n-p.size);for(d=t.length,f=!1;d--;)d>0&&t[d-1].pos+t[d-1].size>t[d].pos&&(t[d-1].size+=t[d].size,t[d-1].targets=t[d-1].targets.concat(t[d].targets),t[d-1].align=.5,t[d-1].pos+t[d-1].size>n&&(t[d-1].pos=n-t[d-1].size),t.splice(d,1),f=!0)}return u.apply(i,s),d=0,t.some(t=>{let a=0;return(t.targets||[]).some(()=>(i[d].pos=t.pos+a,r!==void 0&&Math.abs(i[d].pos-i[d].target)>r?(i.slice(0,d+1).forEach(e=>delete e.pos),i.reducedLen=(i.reducedLen||n)-.1*n,i.reducedLen>.1*n&&e(i,n,r),!0):(a+=i[d].size,d++,!1)))}),ke(i,o),i};let pt=m,{animate:mt,animObject:ht,stop:gt}=$e,{deg2rad:_t,doc:vt,svg:yt,SVG_NS:bt,win:xt,isFirefox:St}=j;class Ct{_defaultGetter(e){let t=q(this[e+`Value`],this[e],this.element?this.element.getAttribute(e):null,0);return/^-?[\d\.]+$/.test(t)&&(t=parseFloat(t)),t}_defaultSetter(e,t,n){n.setAttribute(t,e)}add(e){let t,n=this.renderer,r=this.element;return e&&(this.parentGroup=e),this.textStr!==void 0&&this.element.nodeName===`text`&&n.buildText(this),this.added=!0,(!e||e.handleZ||this.zIndex)&&(t=this.zIndexSetter()),t||(e?e.element:n.box).appendChild(r),this.onAdd&&this.onAdd(),this}addClass(e,t){let n=t?``:this.attr(`class`)||``;return(e=(e||``).split(/ /g).reduce(function(e,t){return n.indexOf(t)===-1&&e.push(t),e},n?[n]:[]).join(` `))!==n&&this.attr(`class`,e),this}afterSetters(){this.doTransform&&=(this.updateTransform(),!1)}align(e,t,n,r=!0){let i=this.renderer,a=i.alignedObjects,o=!!e;e?(this.alignOptions=e,this.alignByTranslate=t,this.alignTo=n):(e=this.alignOptions||{},t=this.alignByTranslate,n=this.alignTo);let s=!n||H(n)?n||`renderer`:void 0;s&&(o&&we(a,this),n=void 0);let c=q(n,i[s],i),l=(c.x||0)+(e.x||0)+((c.width||0)-(e.width||0))*de(e.align),u=(c.y||0)+(e.y||0)+((c.height||0)-(e.height||0))*de(e.verticalAlign),d={};return e.align&&(d[`text-align`]=e.align),d[t?`translateX`:`x`]=Math.round(l),d[t?`translateY`:`y`]=Math.round(u),r&&(this[this.placed?`animate`:`attr`](d),this.placed=!0),this.alignAttr=d,this}alignSetter(e){let t={left:`start`,center:`middle`,right:`end`};t[e]&&(this.alignValue=e,this.element.setAttribute(`text-anchor`,t[e]))}animate(e,t,n){let r=ht(q(t,this.renderer.globalAnimation,!0)),i=r.defer;return vt.hidden&&(r.duration=0),r.duration===0?(this.attr(e,void 0,n||r.complete),K(e,function(e,t){r.step&&r.step.call(this,e,{prop:t,pos:1,elem:this})},this)):(n&&(r.complete=n),Ae(()=>{this.element&&mt(this,e,r)},i)),this}applyTextOutline(e){let t=this.element;e.indexOf(`contrast`)!==-1&&(e=e.replace(/contrast/g,this.renderer.getContrast(t.style.fill)));let n=e.indexOf(` `),r=e.substring(n+1),i=e.substring(0,n);if(i&&i!==`none`&&j.svg){this.fakeTS=!0,i=i.replace(/(^[\d\.]+)(.*?)$/g,function(e,t,n){return 2*Number(t)+n}),this.removeTextOutline();let e=vt.createElementNS(bt,`tspan`);P(e,{class:`highcharts-text-outline`,fill:r,stroke:r,"stroke-width":i,"stroke-linejoin":`round`});let n=t.querySelector(`textPath`)||t;[].forEach.call(n.childNodes,t=>{let n=t.cloneNode(!0);n.removeAttribute&&[`fill`,`stroke`,`stroke-width`,`stroke`].forEach(e=>n.removeAttribute(e)),e.appendChild(n)});let a=0;[].forEach.call(n.querySelectorAll(`text tspan`),e=>{a+=Number(e.getAttribute(`dy`))});let o=vt.createElementNS(bt,`tspan`);o.textContent=``,P(o,{x:Number(t.getAttribute(`x`)),dy:-a}),e.appendChild(o),n.insertBefore(e,n.firstChild)}}attr(e,t,n,r){let{element:i}=this,a=Ct.symbolCustomAttribs,o,s,c=this,l;return typeof e==`string`&&t!==void 0&&(o=e,(e={})[o]=t),typeof e==`string`?c=(this[e+`Getter`]||this._defaultGetter).call(this,e,i):(K(e,function(t,n){l=!1,r||gt(this,n),this.symbolName&&a.indexOf(n)!==-1&&(s||=(this.symbolAttr(e),!0),l=!0),this.rotation&&(n===`x`||n===`y`)&&(this.doTransform=!0),l||(this[n+`Setter`]||this._defaultSetter).call(this,t,n,i)},this),this.afterSetters()),n&&n.call(this),c}clip(e){if(e&&!e.clipPath){let t=Fe()+`-`,n=this.renderer.createElement(`clipPath`).attr({id:t}).add(this.renderer.defs);z(e,{clipPath:n,id:t,count:0}),e.add(n)}return this.attr(`clip-path`,e?`url(${this.renderer.url}#${e.id})`:`none`)}crisp(e,t){t=Math.round(t||e.strokeWidth||0);let n=e.x||this.x||0,r=e.y||this.y||0,i=(e.width||this.width||0)+n,a=(e.height||this.height||0)+r,o=ae(n,t),s=ae(r,t);return z(e,{x:o,y:s,width:ae(i,t)-o,height:ae(a,t)-s}),R(e.strokeWidth)&&(e.strokeWidth=t),e}complexColor(e,t,n){let r=this.renderer,i,a,o,s,c,l,u,d,f,p=[],m;B(this.renderer,`complexColor`,{args:arguments},()=>{if(e.radialGradient?a=`radialGradient`:e.linearGradient&&(a=`linearGradient`),a){if(o=e[a],c=r.gradients,l=e.stops,d=n.radialReference,U(o)&&(e[a]=o={x1:o[0],y1:o[1],x2:o[2],y2:o[3],gradientUnits:`userSpaceOnUse`}),a===`radialGradient`&&d&&!R(o.gradientUnits)&&(s=o,o=G(o,r.getRadialAttr(d,s),{gradientUnits:`userSpaceOnUse`})),K(o,function(e,t){t!==`id`&&p.push(t,e)}),K(l,function(e){p.push(e)}),c[p=p.join(`,`)])f=c[p].attr(`id`);else{o.id=f=Fe();let e=c[p]=r.createElement(a).attr(o).add(r.defs);e.radAttr=s,e.stops=[],l.forEach(([t,n])=>{n.indexOf(`rgba`)===0?(n=(i=Z.parse(n)).get(`rgb`),u=i.get(`a`)):u=1;let a=r.createElement(`stop`).attr({offset:t,"stop-color":n,"stop-opacity":u}).add(e);e.stops.push(a)})}m=`url(`+r.url+`#`+f+`)`,n.setAttribute(t,m),n.gradient=p,e.toString=function(){return m}}})}css(e){let t=this.styles,n={},r=this.element,i=this.renderer,a,o=!t;if(t&&K(e,function(e,r){t&&t[r]!==e&&(n[r]=e,o=!0)}),o){t&&(e=z(t,n)),e.width===null||e.width===`auto`?delete this.textWidth:r.nodeName.toLowerCase()===`text`&&e.width&&(a=this.textWidth=J(e.width)),z(this.styles,e),a&&!yt&&i.forExport&&delete e.width;let o=St&&e.fontSize||null;o&&(V(o)||/^\d+$/.test(o))&&(e.fontSize+=`px`);let s=G(e);r.namespaceURI===this.SVG_NS&&([`textOutline`,`textOverflow`,`whiteSpace`,`width`].forEach(e=>s&&delete s[e]),s.color&&(s.fill=s.color,delete s.color)),L(r,s)}return this.added&&(this.element.nodeName===`text`&&i.buildText(this),e.textOutline&&this.applyTextOutline(e.textOutline)),this}dashstyleSetter(e){let t,n=this[`stroke-width`];if(n===`inherit`&&(n=1),e){let r=(e=e.toLowerCase()).replace(`shortdashdotdot`,`3,1,1,1,1,1,`).replace(`shortdashdot`,`3,1,1,1`).replace(`shortdot`,`1,1,`).replace(`shortdash`,`3,1,`).replace(`longdash`,`8,3,`).replace(/dot/g,`1,3,`).replace(`dash`,`4,3,`).replace(/,$/,``).split(`,`);for(t=r.length;t--;)r[t]=``+J(r[t])*q(n,NaN);e=r.join(`,`).replace(/NaN/g,`none`),this.element.setAttribute(`stroke-dasharray`,e)}}destroy(){let e=this,{element:t={},renderer:n,stops:r}=e,i=t.ownerSVGElement;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,gt(e),e.clipPath&&i){let t=e.clipPath;[].forEach.call(i.querySelectorAll(`[clip-path],[CLIP-PATH]`),function(e){e.getAttribute(`clip-path`).indexOf(t.element.id)>-1&&e.removeAttribute(`clip-path`)}),e.clipPath=t.destroy()}if(r){for(let e of r)e.destroy();r.length=0}e.safeRemoveChild(t),e.alignOptions&&le(n.alignedObjects,e),K(e,(t,n)=>{(e[n]?.parentGroup===e||[`connector`,`foreignObject`].indexOf(n)!==-1)&&e[n]?.destroy?.(),delete e[n]})}dSetter(e,t,n){U(e)&&(typeof e[0]==`string`&&(e=this.renderer.pathToSegments(e)),this.pathArray=e,e=e.reduce((e,t,n)=>t?.join?(n?e+` `:``)+t.join(` `):(t||``).toString(),``)),/(NaN| {2}|^$)/.test(e)&&(e=`M 0 0`),this[t]!==e&&(n.setAttribute(t,e),this[t]=e)}fillSetter(e,t,n){typeof e==`string`?n.setAttribute(t,e):e&&this.complexColor(e,t,n)}hrefSetter(e,t,n){n.setAttributeNS(`http://www.w3.org/1999/xlink`,t,e)}getBBox(e,t){let n,r,i,{element:a,renderer:o,styles:s,textStr:c}=this,{cache:l,cacheKeys:u}=o,d=a.namespaceURI===this.SVG_NS,f=q(t,this.rotation,0),p=o.styledMode?a&&Ct.prototype.getStyle.call(a,`font-size`):s.fontSize,m=this.getBBoxCacheKey([o.rootFontSize,this.textWidth,this.alignValue,s.fontWeight,s.lineClamp,s.textOverflow,p,f]);if(m&&!e&&(n=l[m]),!n||n.polygon){if(d||o.forExport){try{i=this.fakeTS&&function(e){let t=a.querySelector(`.highcharts-text-outline`);t&&L(t,{display:e})},be(i)&&i(`none`),n=a.getBBox?z({},a.getBBox()):{width:a.offsetWidth,height:a.offsetHeight,x:0,y:0},be(i)&&i(``)}catch{}(!n||n.width<0)&&(n={x:0,y:0,width:0,height:0})}else n=this.htmlGetBBox();r=n.height,d&&(n.height=r={"11px,17":14,"13px,20":16}[`${p||``},${Math.round(r)}`]||r),f&&(n=this.getRotatedBox(n,f));let e={bBox:n};B(this,`afterGetBBox`,e),n=e.bBox}if(m&&(c===``||n.height>0)){for(;u.length>250;)delete l[u.shift()];l[m]||u.push(m),l[m]=n}return n}getBBoxCacheKey(e){if(R(this.textStr)){let t=``+this.textStr;return t.indexOf(`<`)===-1&&(t=t.replace(/\d/g,`0`)),[t,...e].join(`,`)}}getRotatedBox(e,t){let{x:n,y:r,width:i,height:a}=e,{alignValue:o,translateY:s,rotationOriginX:c=0,rotationOriginY:l=0}=this,u=de(o),d=Number(this.element.getAttribute(`y`)||0)-(s?0:r),f=t*_t,p=(t-90)*_t,m=Math.cos(f),h=Math.sin(f),g=i*m,_=i*h,v=Math.cos(p),y=Math.sin(p),[[b,x],[S,C]]=[c,l].map(e=>[e-e*m,e*h]),w=n+u*(i-g)+b+C+d*v,T=w+g,E=T-a*v,D=E-g,O=r+d-u*_-x+S+d*y,k=O+_,A=k-a*y,j=A-_,ee=Math.min(w,T,E,D),te=Math.min(O,k,A,j);return{x:ee,y:te,width:Math.max(w,T,E,D)-ee,height:Math.max(O,k,A,j)-te,polygon:[[w,O],[T,k],[E,A],[D,j]]}}getStyle(e){return xt.getComputedStyle(this.element||this,``).getPropertyValue(e)}hasClass(e){return(``+this.attr(`class`)).split(` `).indexOf(e)!==-1}hide(){return this.attr({visibility:`hidden`})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(e,t){this.onEvents={},this.opacity=1,this.SVG_NS=bt,this.element=t===`div`||t===`body`?ie(t):vt.createElementNS(this.SVG_NS,t),this.renderer=e,this.styles={},B(this,`afterInit`)}on(e,t){let{onEvents:n}=this;return n[e]&&n[e](),n[e]=M(this.element,e,t),this}opacitySetter(e,t,n){let r=Number(Number(e).toFixed(3));this.opacity=r,n.setAttribute(t,r)}reAlign(){this.alignOptions?.width&&this.alignOptions.align!==`left`&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(e){return this.attr(`class`,(``+this.attr(`class`)).replace(H(e)?RegExp(`(^| )${e}( |$)`):e,` `).replace(/ +/g,` `).trim())}removeTextOutline(){let e=this.element.querySelector(`tspan.highcharts-text-outline`);e&&this.safeRemoveChild(e)}safeRemoveChild(e){let t=e.parentNode;t&&t.removeChild(e)}setRadialReference(e){let t=this.element.gradient&&this.renderer.gradients[this.element.gradient]||void 0;return this.element.radialReference=e,t?.radAttr&&t.animate(this.renderer.getRadialAttr(e,t.radAttr)),this}shadow(e){let{renderer:t}=this,n=G(this.parentGroup?.rotation===90?{offsetX:-1,offsetY:-1}:{},W(e)?e:{}),r=t.shadowDefinition(n);return this.attr({filter:e?`url(${t.url}#${r})`:`none`})}show(e=!0){return this.attr({visibility:e?`inherit`:`visible`})}"stroke-widthSetter"(e,t,n){this[t]=e,n.setAttribute(t,e)}strokeWidth(){if(!this.renderer.styledMode)return this[`stroke-width`]||0;let e=this.getStyle(`stroke-width`),t=0,n;return/px$/.test(e)?t=J(e):e!==``&&(P(n=vt.createElementNS(bt,`rect`),{width:e,"stroke-width":0}),this.element.parentNode.appendChild(n),t=n.getBBox().width,n.parentNode.removeChild(n)),t}symbolAttr(e){let t=this;Ct.symbolCustomAttribs.forEach(function(n){t[n]=q(e[n],t[n])}),t.attr({d:t.renderer.symbols[t.symbolName](t.x,t.y,t.width,t.height,t)})}textSetter(e){e!==this.textStr&&(delete this.textPxLength,this.textStr=e,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(e){let t=this.element,n=t.getElementsByTagName(`title`)[0]||vt.createElementNS(this.SVG_NS,`title`);t.insertBefore?t.insertBefore(n,t.firstChild):t.appendChild(n),n.textContent=Ee(q(e,``),[/<[^>]*>/g,``]).replace(/</g,`<`).replace(/>/g,`>`)}toFront(){let e=this.element;return e.parentNode.appendChild(e),this}translate(e,t){return this.attr({translateX:e,translateY:t})}updateTransform(e=`transform`){let{element:t,foreignObject:n,matrix:r,rotation:i=0,rotationOriginX:a,rotationOriginY:o,scaleX:s,scaleY:c,text:l,translateX:u=0,translateY:d=0}=this,f=[`translate(${u},${d})`];R(r)&&f.push(`matrix(`+r.join(`,`)+`)`),i&&f.push(`rotate(`+i+` `+(a??t.getAttribute(`x`)??this.x??0)+` `+(o??t.getAttribute(`y`)??this.y??0)+`)`),(R(s)||R(c))&&f.push(`scale(${s??1} ${c??1})`),f.length&&!(l||this).textPath&&(n?.element||t).setAttribute(e,f.join(` `))}visibilitySetter(e,t,n){e===`inherit`?n.removeAttribute(t):this[t]!==e&&n.setAttribute(t,e),this[t]=e}xGetter(e){return this.element.nodeName===`circle`&&(e===`x`?e=`cx`:e===`y`&&(e=`cy`)),this._defaultGetter(e)}zIndexSetter(e,t){let{element:n,parentGroup:r,renderer:i}=this,a=r?.element||i.box,o=a===i.box,s,c,l,u=!1,d,f=this.added,p;if(R(e)?(n.setAttribute(`data-z-index`,e),e*=1,this[t]===e&&(f=!1)):R(this[t])&&n.removeAttribute(`data-z-index`),this[t]=e,f){for((e=this.zIndex)&&r&&(r.handleZ=!0),p=(s=a.childNodes).length-1;p>=0&&!u;p--)d=!R(l=(c=s[p]).getAttribute(`data-z-index`)),c!==n&&(R(e)&&e<0&&d&&!o&&!p?(a.insertBefore(n,s[p]),u=!0):(R(e)&&parseFloat(l||``)<=e||d&&(!R(e)||e>=0))&&(a.insertBefore(n,s[p+1]),u=!0));u||=(a.insertBefore(n,s[3*!!o]),!0)}return u}}Ct.symbolCustomAttribs=[`anchorX`,`anchorY`,`clockwise`,`end`,`height`,`innerR`,`r`,`start`,`width`,`x`,`y`],Ct.prototype.strokeSetter=Ct.prototype.fillSetter,Ct.prototype.yGetter=Ct.prototype.xGetter,Ct.prototype.matrixSetter=Ct.prototype.rotationOriginXSetter=Ct.prototype.rotationOriginYSetter=Ct.prototype.rotationSetter=Ct.prototype.scaleXSetter=Ct.prototype.scaleYSetter=Ct.prototype.translateXSetter=Ct.prototype.translateYSetter=Ct.prototype.verticalAlignSetter=function(e,t){this[t]=e,this.doTransform=!0};let wt=Ct,{charts:Tt}=j,Et=[`#2caffe`,`#544fc5`,`#00e272`,`#fe6a35`,`#6b8abc`,`#d568fb`,`#2ee0ca`,`#fa4b42`,`#feb56a`,`#91e8e1`],Dt=[null,`#00e272`,`#efdf00`];class Ot{constructor(e,t){this.defaultOptions=ee,this.options=G(ee),this.cssVars={light:{},dark:{}},this.renderer=e,this.update(t)}injectCSS(e){let t,n,r,{cssVars:i,renderer:a}=this,o=Object.keys(ce(e,this.defaultOptions)).length>0,s=Math.max(e.colors?.length||0,Et.length),c=`light`,l=(e,t)=>{H(e)&&(t=t.replace(/([0-9]+)/g,`-$1`).replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`),i[c][`--highcharts-${t}`]=e)};for(let t of[`light`,`dark`]){let n=e[t]||{},r={},a=new Z(n?.neutralColor||``),o=new Z(n?.backgroundColor||``),u=new Z(n?.highlightColor||``);c=t,[3,5,10,20,40,60,80,100].forEach(e=>{r[`neutralColor${e}`]=o.tweenTo(a,e/100),r[`highlightColor${e}`]=o.tweenTo(u,e/100)});for(let r=0;r<s;r++)l(n?.colors?.[r]||e.colors?.[r]||(t===`dark`?Dt:[])?.[r]||Et[r]||`#888a`,`color${r}`);K(n,l),K(r,l),t===`light`&&z(i.dark,i.light)}let u=a.defs.element,d=o?`*[data-highcharts-chart="${a.chartIndex}"]`:``,f=u.querySelector(`style.highcharts-palette`)||a.box.ownerDocument.createElement(`style`);f.parentNode||(f.nonce=`highcharts`,f.className=`highcharts-palette`,u.appendChild(f)),n=(t=e=>{let t=``;return K(i.light,(n,r)=>{t+=e&&n!==i.dark[r]?` ${r}: light-dark(${n}, ${i.dark[r]});
|
|
3
3
|
`:` ${r}: ${n};
|
|
4
4
|
`}),t})(),r=t(!0),f.textContent=`${d||`:root`} {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import{E as e,H as t,Rt as n,S as r,Ut as i,X as a,k as o,lt as s,q as c}from"./vue.runtime.esm-bundler-DTMOfGWR.js";import{_ as l,f as u,m as d,v as f}from"./index-ClRmeGtV.js";import{a as p,c as m,i as h,n as g,o as _,s as v}from"./utils-Cfm-h8Z9.js";var y=function(e){return e.UNKNOWN=`Unknown`,e.GOLD=`Gold`,e.SILVER=`Silver`,e.BRONZE=`Bronze`,e.HONORABLE=`Honorable`,e}({}),b=class{constructor(){this.medalType=`Unknown`,this.minRank=0,this.maxRank=0}};function x(e){return[`Gold`,`Silver`,`Bronze`,`Honorable`].includes(e)}var S=n(((e,t)=>{(function(){var n,r=`4.18.1`,i=200,a=`Unsupported core-js use. Try https://npms.io/search?q=ponyfill.`,o=`Expected a function`,s="Invalid `variable` option passed into `_.template`",c="Invalid `imports` option passed into `_.template`",l=`__lodash_hash_undefined__`,u=500,d=`__lodash_placeholder__`,f=1,p=2,m=4,h=1,g=2,_=1,v=2,y=4,b=8,x=16,S=32,ee=64,te=128,ne=256,re=512,ie=30,ae=`...`,oe=800,se=16,ce=1,le=2,ue=3,de=1/0,fe=9007199254740991,pe=17976931348623157e292,me=NaN,he=4294967295,ge=he-1,_e=he>>>1,ve=[[`ary`,te],[`bind`,_],[`bindKey`,v],[`curry`,b],[`curryRight`,x],[`flip`,re],[`partial`,S],[`partialRight`,ee],[`rearg`,ne]],ye=`[object Arguments]`,be=`[object Array]`,xe=`[object AsyncFunction]`,Se=`[object Boolean]`,C=`[object Date]`,Ce=`[object DOMException]`,we=`[object Error]`,Te=`[object Function]`,Ee=`[object GeneratorFunction]`,De=`[object Map]`,Oe=`[object Number]`,ke=`[object Null]`,Ae=`[object Object]`,je=`[object Promise]`,Me=`[object Proxy]`,Ne=`[object RegExp]`,Pe=`[object Set]`,Fe=`[object String]`,Ie=`[object Symbol]`,Le=`[object Undefined]`,Re=`[object WeakMap]`,ze=`[object WeakSet]`,Be=`[object ArrayBuffer]`,Ve=`[object DataView]`,He=`[object Float32Array]`,Ue=`[object Float64Array]`,We=`[object Int8Array]`,Ge=`[object Int16Array]`,Ke=`[object Int32Array]`,qe=`[object Uint8Array]`,Je=`[object Uint8ClampedArray]`,Ye=`[object Uint16Array]`,Xe=`[object Uint32Array]`,Ze=/\b__p \+= '';/g,Qe=/\b(__p \+=) '' \+/g,$e=/(__e\(.*?\)|\b__t\)) \+\n'';/g,et=/&(?:amp|lt|gt|quot|#39);/g,tt=/[&<>"']/g,nt=RegExp(et.source),rt=RegExp(tt.source),it=/<%-([\s\S]+?)%>/g,at=/<%([\s\S]+?)%>/g,ot=/<%=([\s\S]+?)%>/g,st=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ct=/^\w*$/,lt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ut=/[\\^$.*+?()[\]{}|]/g,dt=RegExp(ut.source),ft=/^\s+/,w=/\s/,pt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,mt=/\{\n\/\* \[wrapped with (.+)\] \*/,ht=/,? & /,gt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,_t=/[()=,{}\[\]\/\s]/,vt=/\\(\\)?/g,yt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,bt=/\w*$/,xt=/^[-+]0x[0-9a-f]+$/i,St=/^0b[01]+$/i,Ct=/^\[object .+?Constructor\]$/,wt=/^0o[0-7]+$/i,Tt=/^(?:0|[1-9]\d*)$/,Et=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Dt=/($^)/,Ot=/['\n\r\u2028\u2029\\]/g,kt=`\\ud800-\\udfff`,At=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,jt=`\\u2700-\\u27bf`,T=`a-z\\xdf-\\xf6\\xf8-\\xff`,Mt=`\\xac\\xb1\\xd7\\xf7`,Nt=`\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf`,Pt=`\\u2000-\\u206f`,Ft=` \\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`,It=`A-Z\\xc0-\\xd6\\xd8-\\xde`,Lt=`\\ufe0e\\ufe0f`,Rt=Mt+Nt+Pt+Ft,zt=`['’]`,E=`[`+kt+`]`,Bt=`[`+Rt+`]`,Vt=`[`+At+`]`,Ht=`\\d+`,Ut=`[`+jt+`]`,Wt=`[`+T+`]`,Gt=`[^`+kt+Rt+Ht+jt+T+It+`]`,Kt=`\\ud83c[\\udffb-\\udfff]`,qt=`(?:`+Vt+`|`+Kt+`)`,Jt=`[^`+kt+`]`,Yt=`(?:\\ud83c[\\udde6-\\uddff]){2}`,Xt=`[\\ud800-\\udbff][\\udc00-\\udfff]`,Zt=`[`+It+`]`,Qt=`\\u200d`,$t=`(?:`+Wt+`|`+Gt+`)`,en=`(?:`+Zt+`|`+Gt+`)`,tn=`(?:`+zt+`(?:d|ll|m|re|s|t|ve))?`,nn=`(?:`+zt+`(?:D|LL|M|RE|S|T|VE))?`,rn=qt+`?`,an=`[`+Lt+`]?`,on=`(?:`+Qt+`(?:`+[Jt,Yt,Xt].join(`|`)+`)`+an+rn+`)*`,sn=`\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])`,cn=`\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])`,ln=an+rn+on,un=`(?:`+[Ut,Yt,Xt].join(`|`)+`)`+ln,dn=`(?:`+[Jt+Vt+`?`,Vt,Yt,Xt,E].join(`|`)+`)`,fn=RegExp(zt,`g`),pn=RegExp(Vt,`g`),mn=RegExp(Kt+`(?=`+Kt+`)|`+dn+ln,`g`),hn=RegExp([Zt+`?`+Wt+`+`+tn+`(?=`+[Bt,Zt,`$`].join(`|`)+`)`,en+`+`+nn+`(?=`+[Bt,Zt+$t,`$`].join(`|`)+`)`,Zt+`?`+$t+`+`+tn,Zt+`+`+nn,cn,sn,Ht,un].join(`|`),`g`),gn=RegExp(`[`+Qt+kt+At+Lt+`]`),D=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_n=`Array.Buffer.DataView.Date.Error.Float32Array.Float64Array.Function.Int8Array.Int16Array.Int32Array.Map.Math.Object.Promise.RegExp.Set.String.Symbol.TypeError.Uint8Array.Uint8ClampedArray.Uint16Array.Uint32Array.WeakMap._.clearTimeout.isFinite.parseInt.setTimeout`.split(`.`),vn=-1,O={};O[He]=O[Ue]=O[We]=O[Ge]=O[Ke]=O[qe]=O[Je]=O[Ye]=O[Xe]=!0,O[ye]=O[be]=O[Be]=O[Se]=O[Ve]=O[C]=O[we]=O[Te]=O[De]=O[Oe]=O[Ae]=O[Ne]=O[Pe]=O[Fe]=O[Re]=!1;var k={};k[ye]=k[be]=k[Be]=k[Ve]=k[Se]=k[C]=k[He]=k[Ue]=k[We]=k[Ge]=k[Ke]=k[De]=k[Oe]=k[Ae]=k[Ne]=k[Pe]=k[Fe]=k[Ie]=k[qe]=k[Je]=k[Ye]=k[Xe]=!0,k[we]=k[Te]=k[Re]=!1;var A={À:`A`,Á:`A`,Â:`A`,Ã:`A`,Ä:`A`,Å:`A`,à:`a`,á:`a`,â:`a`,ã:`a`,ä:`a`,å:`a`,Ç:`C`,ç:`c`,Ð:`D`,ð:`d`,È:`E`,É:`E`,Ê:`E`,Ë:`E`,è:`e`,é:`e`,ê:`e`,ë:`e`,Ì:`I`,Í:`I`,Î:`I`,Ï:`I`,ì:`i`,í:`i`,î:`i`,ï:`i`,Ñ:`N`,ñ:`n`,Ò:`O`,Ó:`O`,Ô:`O`,Õ:`O`,Ö:`O`,Ø:`O`,ò:`o`,ó:`o`,ô:`o`,õ:`o`,ö:`o`,ø:`o`,Ù:`U`,Ú:`U`,Û:`U`,Ü:`U`,ù:`u`,ú:`u`,û:`u`,ü:`u`,Ý:`Y`,ý:`y`,ÿ:`y`,Æ:`Ae`,æ:`ae`,Þ:`Th`,þ:`th`,ß:`ss`,Ā:`A`,Ă:`A`,Ą:`A`,ā:`a`,ă:`a`,ą:`a`,Ć:`C`,Ĉ:`C`,Ċ:`C`,Č:`C`,ć:`c`,ĉ:`c`,ċ:`c`,č:`c`,Ď:`D`,Đ:`D`,ď:`d`,đ:`d`,Ē:`E`,Ĕ:`E`,Ė:`E`,Ę:`E`,Ě:`E`,ē:`e`,ĕ:`e`,ė:`e`,ę:`e`,ě:`e`,Ĝ:`G`,Ğ:`G`,Ġ:`G`,Ģ:`G`,ĝ:`g`,ğ:`g`,ġ:`g`,ģ:`g`,Ĥ:`H`,Ħ:`H`,ĥ:`h`,ħ:`h`,Ĩ:`I`,Ī:`I`,Ĭ:`I`,Į:`I`,İ:`I`,ĩ:`i`,ī:`i`,ĭ:`i`,į:`i`,ı:`i`,Ĵ:`J`,ĵ:`j`,Ķ:`K`,ķ:`k`,ĸ:`k`,Ĺ:`L`,Ļ:`L`,Ľ:`L`,Ŀ:`L`,Ł:`L`,ĺ:`l`,ļ:`l`,ľ:`l`,ŀ:`l`,ł:`l`,Ń:`N`,Ņ:`N`,Ň:`N`,Ŋ:`N`,ń:`n`,ņ:`n`,ň:`n`,ŋ:`n`,Ō:`O`,Ŏ:`O`,Ő:`O`,ō:`o`,ŏ:`o`,ő:`o`,Ŕ:`R`,Ŗ:`R`,Ř:`R`,ŕ:`r`,ŗ:`r`,ř:`r`,Ś:`S`,Ŝ:`S`,Ş:`S`,Š:`S`,ś:`s`,ŝ:`s`,ş:`s`,š:`s`,Ţ:`T`,Ť:`T`,Ŧ:`T`,ţ:`t`,ť:`t`,ŧ:`t`,Ũ:`U`,Ū:`U`,Ŭ:`U`,Ů:`U`,Ű:`U`,Ų:`U`,ũ:`u`,ū:`u`,ŭ:`u`,ů:`u`,ű:`u`,ų:`u`,Ŵ:`W`,ŵ:`w`,Ŷ:`Y`,ŷ:`y`,Ÿ:`Y`,Ź:`Z`,Ż:`Z`,Ž:`Z`,ź:`z`,ż:`z`,ž:`z`,IJ:`IJ`,ij:`ij`,Œ:`Oe`,œ:`oe`,ʼn:`'n`,ſ:`s`},yn={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`},bn={"&":`&`,"<":`<`,">":`>`,""":`"`,"'":`'`},xn={"\\":`\\`,"'":`'`,"\n":`n`,"\r":`r`,"\u2028":`u2028`,"\u2029":`u2029`},Sn=parseFloat,Cn=parseInt,wn=typeof global==`object`&&global&&global.Object===Object&&global,Tn=typeof self==`object`&&self&&self.Object===Object&&self,j=wn||Tn||Function(`return this`)(),En=typeof e==`object`&&e&&!e.nodeType&&e,Dn=En&&typeof t==`object`&&t&&!t.nodeType&&t,On=Dn&&Dn.exports===En,kn=On&&wn.process,M=function(){try{return Dn&&Dn.require&&Dn.require(`util`).types||kn&&kn.binding&&kn.binding(`util`)}catch{}}(),An=M&&M.isArrayBuffer,jn=M&&M.isDate,Mn=M&&M.isMap,Nn=M&&M.isRegExp,Pn=M&&M.isSet,Fn=M&&M.isTypedArray;function In(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ln(e,t,n,r){for(var i=-1,a=e==null?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function Rn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function zn(e,t){for(var n=e==null?0:e.length;n--&&t(e[n],n,e)!==!1;);return e}function Bn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Vn(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function Hn(e,t){return!!(e!=null&&e.length)&&$n(e,t,0)>-1}function Un(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function N(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function Wn(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Gn(e,t,n,r){var i=-1,a=e==null?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function Kn(e,t,n,r){var i=e==null?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function qn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Jn=rr(`length`);function Yn(e){return e.split(``)}function Xn(e){return e.match(gt)||[]}function Zn(e,t,n){var r;return n(e,function(e,n,i){if(t(e,n,i))return r=n,!1}),r}function Qn(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function $n(e,t,n){return t===t?Or(e,t,n):Qn(e,tr,n)}function er(e,t,n,r){for(var i=n-1,a=e.length;++i<a;)if(r(e[i],t))return i;return-1}function tr(e){return e!==e}function nr(e,t){var n=e==null?0:e.length;return n?sr(e,t)/n:me}function rr(e){return function(t){return t==null?n:t[e]}}function ir(e){return function(t){return e==null?n:e[t]}}function ar(e,t,n,r,i){return i(e,function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)}),n}function or(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function sr(e,t){for(var r,i=-1,a=e.length;++i<a;){var o=t(e[i]);o!==n&&(r=r===n?o:r+o)}return r}function cr(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function lr(e,t){return N(t,function(t){return[t,e[t]]})}function ur(e){return e&&e.slice(0,Mr(e)+1).replace(ft,``)}function P(e){return function(t){return e(t)}}function dr(e,t){return N(t,function(t){return e[t]})}function fr(e,t){return e.has(t)}function pr(e,t){for(var n=-1,r=e.length;++n<r&&$n(t,e[n],0)>-1;);return n}function mr(e,t){for(var n=e.length;n--&&$n(t,e[n],0)>-1;);return n}function hr(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var gr=ir(A),_r=ir(yn);function vr(e){return`\\`+xn[e]}function yr(e,t){return e==null?n:e[t]}function br(e){return gn.test(e)}function xr(e){return D.test(e)}function Sr(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function Cr(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function wr(e,t){return function(n){return e(t(n))}}function Tr(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n];(o===t||o===d)&&(e[n]=d,a[i++]=n)}return a}function Er(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function Dr(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function Or(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function kr(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}function Ar(e){return br(e)?Pr(e):Jn(e)}function jr(e){return br(e)?Fr(e):Yn(e)}function Mr(e){for(var t=e.length;t--&&w.test(e.charAt(t)););return t}var Nr=ir(bn);function Pr(e){for(var t=mn.lastIndex=0;mn.test(e);)++t;return t}function Fr(e){return e.match(mn)||[]}function Ir(e){return e.match(hn)||[]}var Lr=(function e(t){t=t==null?j:Lr.defaults(j.Object(),t,Lr.pick(j,_n));var w=t.Array,gt=t.Date,kt=t.Error,At=t.Function,jt=t.Math,T=t.Object,Mt=t.RegExp,Nt=t.String,Pt=t.TypeError,Ft=w.prototype,It=At.prototype,Lt=T.prototype,Rt=t[`__core-js_shared__`],zt=It.toString,E=Lt.hasOwnProperty,Bt=0,Vt=function(){var e=/[^.]+$/.exec(Rt&&Rt.keys&&Rt.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}(),Ht=Lt.toString,Ut=zt.call(T),Wt=j._,Gt=Mt(`^`+zt.call(E).replace(ut,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`),Kt=On?t.Buffer:n,qt=t.Symbol,Jt=t.Uint8Array,Yt=Kt?Kt.allocUnsafe:n,Xt=wr(T.getPrototypeOf,T),Zt=T.create,Qt=Lt.propertyIsEnumerable,$t=Ft.splice,en=qt?qt.isConcatSpreadable:n,tn=qt?qt.iterator:n,nn=qt?qt.toStringTag:n,rn=function(){try{var e=os(T,`defineProperty`);return e({},``,{}),e}catch{}}(),an=t.clearTimeout!==j.clearTimeout&&t.clearTimeout,on=gt&>.now!==j.Date.now&>.now,sn=t.setTimeout!==j.setTimeout&&t.setTimeout,cn=jt.ceil,ln=jt.floor,un=T.getOwnPropertySymbols,dn=Kt?Kt.isBuffer:n,mn=t.isFinite,hn=Ft.join,gn=wr(T.keys,T),D=jt.max,A=jt.min,yn=gt.now,bn=t.parseInt,xn=jt.random,wn=Ft.reverse,Tn=os(t,`DataView`),En=os(t,`Map`),Dn=os(t,`Promise`),kn=os(t,`Set`),M=os(t,`WeakMap`),Jn=os(T,`create`),Yn=M&&new M,ir={},Or=Us(Tn),Pr=Us(En),Fr=Us(Dn),Rr=Us(kn),zr=Us(M),Br=qt?qt.prototype:n,Vr=Br?Br.valueOf:n,Hr=Br?Br.toString:n;function F(e){if(J(e)&&!W(e)&&!(e instanceof I)){if(e instanceof Gr)return e;if(E.call(e,`__wrapped__`))return Gs(e)}return new Gr(e)}var Ur=function(){function e(){}return function(t){if(!q(t))return{};if(Zt)return Zt(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function Wr(){}function Gr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}F.templateSettings={escape:it,evaluate:at,interpolate:ot,variable:``,imports:{_:F}},F.prototype=Wr.prototype,F.prototype.constructor=F,Gr.prototype=Ur(Wr.prototype),Gr.prototype.constructor=Gr;function I(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=he,this.__views__=[]}function Kr(){var e=new I(this.__wrapped__);return e.__actions__=B(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=B(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=B(this.__views__),e}function qr(){if(this.__filtered__){var e=new I(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Jr(){var e=this.__wrapped__.value(),t=this.__dir__,n=W(e),r=t<0,i=n?e.length:0,a=us(0,i,this.__views__),o=a.start,s=a.end,c=s-o,l=r?s:o-1,u=this.__iteratees__,d=u.length,f=0,p=A(c,this.__takeCount__);if(!n||!r&&i==c&&p==c)return $a(e,this.__actions__);var m=[];outer:for(;c--&&f<p;){l+=t;for(var h=-1,g=e[l];++h<d;){var _=u[h],v=_.iteratee,y=_.type,b=v(g);if(y==le)g=b;else if(!b){if(y==ce)continue outer;break outer}}m[f++]=g}return m}I.prototype=Ur(Wr.prototype),I.prototype.constructor=I;function Yr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Xr(){this.__data__=Jn?Jn(null):{},this.size=0}function Zr(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}function Qr(e){var t=this.__data__;if(Jn){var r=t[e];return r===l?n:r}return E.call(t,e)?t[e]:n}function $r(e){var t=this.__data__;return Jn?t[e]!==n:E.call(t,e)}function ei(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=Jn&&t===n?l:t,this}Yr.prototype.clear=Xr,Yr.prototype.delete=Zr,Yr.prototype.get=Qr,Yr.prototype.has=$r,Yr.prototype.set=ei;function ti(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ni(){this.__data__=[],this.size=0}function ri(e){var t=this.__data__,n=Oi(t,e);return n<0?!1:(n==t.length-1?t.pop():$t.call(t,n,1),--this.size,!0)}function ii(e){var t=this.__data__,r=Oi(t,e);return r<0?n:t[r][1]}function ai(e){return Oi(this.__data__,e)>-1}function oi(e,t){var n=this.__data__,r=Oi(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}ti.prototype.clear=ni,ti.prototype.delete=ri,ti.prototype.get=ii,ti.prototype.has=ai,ti.prototype.set=oi;function si(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ci(){this.size=0,this.__data__={hash:new Yr,map:new(En||ti),string:new Yr}}function li(e){var t=is(this,e).delete(e);return this.size-=+!!t,t}function ui(e){return is(this,e).get(e)}function di(e){return is(this,e).has(e)}function fi(e,t){var n=is(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}si.prototype.clear=ci,si.prototype.delete=li,si.prototype.get=ui,si.prototype.has=di,si.prototype.set=fi;function pi(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new si;++t<n;)this.add(e[t])}function mi(e){return this.__data__.set(e,l),this}function hi(e){return this.__data__.has(e)}pi.prototype.add=pi.prototype.push=mi,pi.prototype.has=hi;function gi(e){var t=this.__data__=new ti(e);this.size=t.size}function _i(){this.__data__=new ti,this.size=0}function vi(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function yi(e){return this.__data__.get(e)}function bi(e){return this.__data__.has(e)}function xi(e,t){var n=this.__data__;if(n instanceof ti){var r=n.__data__;if(!En||r.length<i-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new si(r)}return n.set(e,t),this.size=n.size,this}gi.prototype.clear=_i,gi.prototype.delete=vi,gi.prototype.get=yi,gi.prototype.has=bi,gi.prototype.set=xi;function Si(e,t){var n=W(e),r=!n&&vu(e),i=!n&&!r&&xu(e),a=!n&&!r&&!i&&Ku(e),o=n||r||i||a,s=o?cr(e.length,Nt):[],c=s.length;for(var l in e)(t||E.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||vs(l,c)))&&s.push(l);return s}function Ci(e){var t=e.length;return t?e[Na(0,t-1)]:n}function wi(e,t){return Bs(B(e),Pi(t,0,e.length))}function Ti(e){return Bs(B(e))}function Ei(e,t,r){(r!==n&&!hu(e[t],r)||r===n&&!(t in e))&&Mi(e,t,r)}function Di(e,t,r){var i=e[t];(!(E.call(e,t)&&hu(i,r))||r===n&&!(t in e))&&Mi(e,t,r)}function Oi(e,t){for(var n=e.length;n--;)if(hu(e[n][0],t))return n;return-1}function ki(e,t,n,r){return Bi(e,function(e,i,a){t(r,e,n(e),a)}),r}function Ai(e,t){return e&&yo(t,Z(t),e)}function ji(e,t){return e&&yo(t,Q(t),e)}function Mi(e,t,n){t==`__proto__`&&rn?rn(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Ni(e,t){for(var r=-1,i=t.length,a=w(i),o=e==null;++r<i;)a[r]=o?n:bd(e,t[r]);return a}function Pi(e,t,r){return e===e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function Fi(e,t,r,i,a,o){var s,c=t&f,l=t&p,u=t&m;if(r&&(s=a?r(e,i,a,o):r(e)),s!==n)return s;if(!q(e))return e;var d=W(e);if(d){if(s=ps(e),!c)return B(e,s)}else{var h=H(e),g=h==Te||h==Ee;if(xu(e))return co(e,c);if(h==Ae||h==ye||g&&!a){if(s=l||g?{}:ms(e),!c)return l?xo(e,ji(s,e)):bo(e,Ai(s,e))}else{if(!k[h])return a?e:{};s=hs(e,h,c)}}o||=new gi;var _=o.get(e);if(_)return _;o.set(e,s),Uu(e)?e.forEach(function(n){s.add(Fi(n,t,r,n,e,o))}):Mu(e)&&e.forEach(function(n,i){s.set(i,Fi(n,t,r,i,e,o))});var v=d?n:(u?l?es:$o:l?Q:Z)(e);return Rn(v||e,function(n,i){v&&(i=n,n=e[i]),Di(s,i,Fi(n,t,r,i,e,o))}),s}function Ii(e){var t=Z(e);return function(n){return Li(n,e,t)}}function Li(e,t,r){var i=r.length;if(e==null)return!i;for(e=T(e);i--;){var a=r[i],o=t[a],s=e[a];if(s===n&&!(a in e)||!o(s))return!1}return!0}function Ri(e,t,r){if(typeof e!=`function`)throw new Pt(o);return Is(function(){e.apply(n,r)},t)}function zi(e,t,n,r){var a=-1,o=Hn,s=!0,c=e.length,l=[],u=t.length;if(!c)return l;n&&(t=N(t,P(n))),r?(o=Un,s=!1):t.length>=i&&(o=fr,s=!1,t=new pi(t));outer:for(;++a<c;){var d=e[a],f=n==null?d:n(d);if(d=r||d!==0?d:0,s&&f===f){for(var p=u;p--;)if(t[p]===f)continue outer;l.push(d)}else o(t,f,r)||l.push(d)}return l}var Bi=wo(Ji),Vi=wo(Yi,!0);function Hi(e,t){var n=!0;return Bi(e,function(e,r,i){return n=!!t(e,r,i),n}),n}function Ui(e,t,r){for(var i=-1,a=e.length;++i<a;){var o=e[i],s=t(o);if(s!=null&&(c===n?s===s&&!Gu(s):r(s,c)))var c=s,l=o}return l}function Wi(e,t,r,i){var a=e.length;for(r=Y(r),r<0&&(r=-r>a?0:a+r),i=i===n||i>a?a:Y(i),i<0&&(i+=a),i=r>i?0:ed(i);r<i;)e[r++]=t;return e}function Gi(e,t){var n=[];return Bi(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function L(e,t,n,r,i){var a=-1,o=e.length;for(n||=_s,i||=[];++a<o;){var s=e[a];t>0&&n(s)?t>1?L(s,t-1,n,r,i):Wn(i,s):r||(i[i.length]=s)}return i}var Ki=To(),qi=To(!0);function Ji(e,t){return e&&Ki(e,t,Z)}function Yi(e,t){return e&&qi(e,t,Z)}function Xi(e,t){return Vn(t,function(t){return ku(e[t])})}function Zi(e,t){t=io(t,e);for(var r=0,i=t.length;e!=null&&r<i;)e=e[Hs(t[r++])];return r&&r==i?e:n}function Qi(e,t,n){var r=t(e);return W(e)?r:Wn(r,n(e))}function R(e){return e==null?e===n?Le:ke:nn&&nn in T(e)?ss(e):As(e)}function $i(e,t){return e>t}function ea(e,t){return e!=null&&E.call(e,t)}function ta(e,t){return e!=null&&t in T(e)}function na(e,t,n){return e>=A(t,n)&&e<D(t,n)}function ra(e,t,r){for(var i=r?Un:Hn,a=e[0].length,o=e.length,s=o,c=w(o),l=1/0,u=[];s--;){var d=e[s];s&&t&&(d=N(d,P(t))),l=A(d.length,l),c[s]=!r&&(t||a>=120&&d.length>=120)?new pi(s&&d):n}d=e[0];var f=-1,p=c[0];outer:for(;++f<a&&u.length<l;){var m=d[f],h=t?t(m):m;if(m=r||m!==0?m:0,!(p?fr(p,h):i(u,h,r))){for(s=o;--s;){var g=c[s];if(!(g?fr(g,h):i(e[s],h,r)))continue outer}p&&p.push(h),u.push(m)}}return u}function ia(e,t,n,r){return Ji(e,function(e,i,a){t(r,n(e),i,a)}),r}function aa(e,t,r){t=io(t,e),e=Ms(e,t);var i=e==null?e:e[Hs(gc(t))];return i==null?n:In(i,e,r)}function oa(e){return J(e)&&R(e)==ye}function sa(e){return J(e)&&R(e)==Be}function ca(e){return J(e)&&R(e)==C}function la(e,t,n,r,i){return e===t?!0:e==null||t==null||!J(e)&&!J(t)?e!==e&&t!==t:ua(e,t,n,r,la,i)}function ua(e,t,n,r,i,a){var o=W(e),s=W(t),c=o?be:H(e),l=s?be:H(t);c=c==ye?Ae:c,l=l==ye?Ae:l;var u=c==Ae,d=l==Ae,f=c==l;if(f&&xu(e)){if(!xu(t))return!1;o=!0,u=!1}if(f&&!u)return a||=new gi,o||Ku(e)?Yo(e,t,n,r,i,a):Xo(e,t,c,n,r,i,a);if(!(n&h)){var p=u&&E.call(e,`__wrapped__`),m=d&&E.call(t,`__wrapped__`);if(p||m){var g=p?e.value():e,_=m?t.value():t;return a||=new gi,i(g,_,n,r,a)}}return f?(a||=new gi,Zo(e,t,n,r,i,a)):!1}function da(e){return J(e)&&H(e)==De}function fa(e,t,r,i){var a=r.length,o=a,s=!i;if(e==null)return!o;for(e=T(e);a--;){var c=r[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<o;){c=r[a];var l=c[0],u=e[l],d=c[1];if(s&&c[2]){if(u===n&&!(l in e))return!1}else{var f=new gi;if(i)var p=i(u,d,l,e,t,f);if(!(p===n?la(d,u,h|g,i,f):p))return!1}}return!0}function pa(e){return!q(e)||Ss(e)?!1:(ku(e)?Gt:Ct).test(Us(e))}function ma(e){return J(e)&&R(e)==Ne}function ha(e){return J(e)&&H(e)==Pe}function ga(e){return J(e)&&ju(e.length)&&!!O[R(e)]}function _a(e){return typeof e==`function`?e:e==null?$:typeof e==`object`?W(e)?Ca(e[0],e[1]):Sa(e):Gf(e)}function va(e){if(!ws(e))return gn(e);var t=[];for(var n in T(e))E.call(e,n)&&n!=`constructor`&&t.push(n);return t}function ya(e){if(!q(e))return ks(e);var t=ws(e),n=[];for(var r in e)r==`constructor`&&(t||!E.call(e,r))||n.push(r);return n}function ba(e,t){return e<t}function xa(e,t){var n=-1,r=G(e)?w(e.length):[];return Bi(e,function(e,i,a){r[++n]=t(e,i,a)}),r}function Sa(e){var t=as(e);return t.length==1&&t[0][2]?Es(t[0][0],t[0][1]):function(n){return n===e||fa(n,e,t)}}function Ca(e,t){return ys(e)&&Ts(t)?Es(Hs(e),t):function(r){var i=bd(r,e);return i===n&&i===t?Sd(r,e):la(t,i,h|g)}}function wa(e,t,r,i,a){e!==t&&Ki(t,function(o,s){if(a||=new gi,q(o))Ta(e,t,s,r,wa,i,a);else{var c=i?i(Ps(e,s),o,s+``,e,t,a):n;c===n&&(c=o),Ei(e,s,c)}},Q)}function Ta(e,t,r,i,a,o,s){var c=Ps(e,r),l=Ps(t,r),u=s.get(l);if(u){Ei(e,r,u);return}var d=o?o(c,l,r+``,e,t,s):n,f=d===n;if(f){var p=W(l),m=!p&&xu(l),h=!p&&!m&&Ku(l);d=l,p||m||h?W(c)?d=c:K(c)?d=B(c):m?(f=!1,d=co(l,!0)):h?(f=!1,d=mo(l,!0)):d=[]:Bu(l)||vu(l)?(d=c,vu(c)?d=nd(c):(!q(c)||ku(c))&&(d=ms(l))):f=!1}f&&(s.set(l,d),a(d,l,i,o,s),s.delete(l)),Ei(e,r,d)}function Ea(e,t){var r=e.length;if(r)return t+=t<0?r:0,vs(t,r)?e[t]:n}function Da(e,t,n){t=t.length?N(t,function(e){return W(e)?function(t){return Zi(t,e.length===1?e[0]:e)}:e}):[$];var r=-1;return t=N(t,P(V())),or(xa(e,function(e,n,i){return{criteria:N(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return go(e,t,n)})}function Oa(e,t){return ka(e,t,function(t,n){return Sd(e,n)})}function ka(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=Zi(e,o);n(s,o)&&Ra(a,io(o,e),s)}return a}function Aa(e){return function(t){return Zi(t,e)}}function ja(e,t,n,r){var i=r?er:$n,a=-1,o=t.length,s=e;for(e===t&&(t=B(t)),n&&(s=N(e,P(n)));++a<o;)for(var c=0,l=t[a],u=n?n(l):l;(c=i(s,u,c,r))>-1;)s!==e&&$t.call(s,c,1),$t.call(e,c,1);return e}function Ma(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;vs(i)?$t.call(e,i,1):Xa(e,i)}}return e}function Na(e,t){return e+ln(xn()*(t-e+1))}function Pa(e,t,n,r){for(var i=-1,a=D(cn((t-e)/(n||1)),0),o=w(a);a--;)o[r?a:++i]=e,e+=n;return o}function Fa(e,t){var n=``;if(!e||t<1||t>fe)return n;do t%2&&(n+=e),t=ln(t/2),t&&(e+=e);while(t);return n}function z(e,t){return Ls(js(e,t,$),e+``)}function Ia(e){return Ci(Ud(e))}function La(e,t){var n=Ud(e);return Bs(n,Pi(t,0,n.length))}function Ra(e,t,r,i){if(!q(e))return e;t=io(t,e);for(var a=-1,o=t.length,s=o-1,c=e;c!=null&&++a<o;){var l=Hs(t[a]),u=r;if(l===`__proto__`||l===`constructor`||l===`prototype`)return e;if(a!=s){var d=c[l];u=i?i(d,l,c):n,u===n&&(u=q(d)?d:vs(t[a+1])?[]:{})}Di(c,l,u),c=c[l]}return e}var za=Yn?function(e,t){return Yn.set(e,t),e}:$,Ba=rn?function(e,t){return rn(e,`toString`,{configurable:!0,enumerable:!1,value:kf(t),writable:!0})}:$;function Va(e){return Bs(Ud(e))}function Ha(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=w(i);++r<i;)a[r]=e[r+t];return a}function Ua(e,t){var n;return Bi(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function Wa(e,t,n){var r=0,i=e==null?r:e.length;if(typeof t==`number`&&t===t&&i<=_e){for(;r<i;){var a=r+i>>>1,o=e[a];o!==null&&!Gu(o)&&(n?o<=t:o<t)?r=a+1:i=a}return i}return Ga(e,t,$,n)}function Ga(e,t,r,i){var a=0,o=e==null?0:e.length;if(o===0)return 0;t=r(t);for(var s=t!==t,c=t===null,l=Gu(t),u=t===n;a<o;){var d=ln((a+o)/2),f=r(e[d]),p=f!==n,m=f===null,h=f===f,g=Gu(f);if(s)var _=i||h;else _=u?h&&(i||p):c?h&&p&&(i||!m):l?h&&p&&!m&&(i||!g):m||g?!1:i?f<=t:f<t;_?a=d+1:o=d}return A(o,ge)}function Ka(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n],s=t?t(o):o;if(!n||!hu(s,c)){var c=s;a[i++]=o===0?0:o}}return a}function qa(e){return typeof e==`number`?e:Gu(e)?me:+e}function Ja(e){if(typeof e==`string`)return e;if(W(e))return N(e,Ja)+``;if(Gu(e))return Hr?Hr.call(e):``;var t=e+``;return t==`0`&&1/e==-de?`-0`:t}function Ya(e,t,n){var r=-1,a=Hn,o=e.length,s=!0,c=[],l=c;if(n)s=!1,a=Un;else if(o>=i){var u=t?null:Uo(e);if(u)return Er(u);s=!1,a=fr,l=new pi}else l=t?[]:c;outer:for(;++r<o;){var d=e[r],f=t?t(d):d;if(d=n||d!==0?d:0,s&&f===f){for(var p=l.length;p--;)if(l[p]===f)continue outer;t&&l.push(f),c.push(d)}else a(l,f,n)||(l!==c&&l.push(f),c.push(d))}return c}function Xa(e,t){t=io(t,e);var n=-1,r=t.length;if(!r)return!0;for(;++n<r;){var i=Hs(t[n]);if(i===`__proto__`&&!E.call(e,`__proto__`)||(i===`constructor`||i===`prototype`)&&n<r-1)return!1}var a=Ms(e,t);return a==null||delete a[Hs(gc(t))]}function Za(e,t,n,r){return Ra(e,t,n(Zi(e,t)),r)}function Qa(e,t,n,r){for(var i=e.length,a=r?i:-1;(r?a--:++a<i)&&t(e[a],a,e););return n?Ha(e,r?0:a,r?a+1:i):Ha(e,r?a+1:0,r?i:a)}function $a(e,t){var n=e;return n instanceof I&&(n=n.value()),Gn(t,function(e,t){return t.func.apply(t.thisArg,Wn([e],t.args))},n)}function eo(e,t,n){var r=e.length;if(r<2)return r?Ya(e[0]):[];for(var i=-1,a=w(r);++i<r;)for(var o=e[i],s=-1;++s<r;)s!=i&&(a[i]=zi(a[i]||o,e[s],t,n));return Ya(L(a,1),t,n)}function to(e,t,r){for(var i=-1,a=e.length,o=t.length,s={};++i<a;){var c=i<o?t[i]:n;r(s,e[i],c)}return s}function no(e){return K(e)?e:[]}function ro(e){return typeof e==`function`?e:$}function io(e,t){return W(e)?e:ys(e,t)?[e]:Vs(X(e))}var ao=z;function oo(e,t,r){var i=e.length;return r=r===n?i:r,!t&&r>=i?e:Ha(e,t,r)}var so=an||function(e){return j.clearTimeout(e)};function co(e,t){if(t)return e.slice();var n=e.length,r=Yt?Yt(n):new e.constructor(n);return e.copy(r),r}function lo(e){var t=new e.constructor(e.byteLength);return new Jt(t).set(new Jt(e)),t}function uo(e,t){var n=t?lo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function fo(e){var t=new e.constructor(e.source,bt.exec(e));return t.lastIndex=e.lastIndex,t}function po(e){return Vr?T(Vr.call(e)):{}}function mo(e,t){var n=t?lo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ho(e,t){if(e!==t){var r=e!==n,i=e===null,a=e===e,o=Gu(e),s=t!==n,c=t===null,l=t===t,u=Gu(t);if(!c&&!u&&!o&&e>t||o&&s&&l&&!c&&!u||i&&s&&l||!r&&l||!a)return 1;if(!i&&!o&&!u&&e<t||u&&r&&a&&!i&&!o||c&&r&&a||!s&&a||!l)return-1}return 0}function go(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var c=ho(i[r],a[r]);if(c)return r>=s?c:c*(n[r]==`desc`?-1:1)}return e.index-t.index}function _o(e,t,n,r){for(var i=-1,a=e.length,o=n.length,s=-1,c=t.length,l=D(a-o,0),u=w(c+l),d=!r;++s<c;)u[s]=t[s];for(;++i<o;)(d||i<a)&&(u[n[i]]=e[i]);for(;l--;)u[s++]=e[i++];return u}function vo(e,t,n,r){for(var i=-1,a=e.length,o=-1,s=n.length,c=-1,l=t.length,u=D(a-s,0),d=w(u+l),f=!r;++i<u;)d[i]=e[i];for(var p=i;++c<l;)d[p+c]=t[c];for(;++o<s;)(f||i<a)&&(d[p+n[o]]=e[i++]);return d}function B(e,t){var n=-1,r=e.length;for(t||=w(r);++n<r;)t[n]=e[n];return t}function yo(e,t,r,i){var a=!r;r||={};for(var o=-1,s=t.length;++o<s;){var c=t[o],l=i?i(r[c],e[c],c,r,e):n;l===n&&(l=e[c]),a?Mi(r,c,l):Di(r,c,l)}return r}function bo(e,t){return yo(e,cs(e),t)}function xo(e,t){return yo(e,ls(e),t)}function So(e,t){return function(n,r){var i=W(n)?Ln:ki,a=t?t():{};return i(n,e,V(r,2),a)}}function Co(e){return z(function(t,r){var i=-1,a=r.length,o=a>1?r[a-1]:n,s=a>2?r[2]:n;for(o=e.length>3&&typeof o==`function`?(a--,o):n,s&&U(r[0],r[1],s)&&(o=a<3?n:o,a=1),t=T(t);++i<a;){var c=r[i];c&&e(t,c,i,o)}return t})}function wo(e,t){return function(n,r){if(n==null)return n;if(!G(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=T(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}function To(e){return function(t,n,r){for(var i=-1,a=T(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}function Eo(e,t,n){var r=t&_,i=ko(e);function a(){return(this&&this!==j&&this instanceof a?i:e).apply(r?n:this,arguments)}return a}function Do(e){return function(t){t=X(t);var r=br(t)?jr(t):n,i=r?r[0]:t.charAt(0),a=r?oo(r,1).join(``):t.slice(1);return i[e]()+a}}function Oo(e){return function(t){return Gn(wf(Xd(t).replace(fn,``)),e,``)}}function ko(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Ur(e.prototype),r=e.apply(n,t);return q(r)?r:n}}function Ao(e,t,r){var i=ko(e);function a(){for(var o=arguments.length,s=w(o),c=o,l=rs(a);c--;)s[c]=arguments[c];var u=o<3&&s[0]!==l&&s[o-1]!==l?[]:Tr(s,l);return o-=u.length,o<r?Vo(e,t,No,a.placeholder,n,s,u,n,n,r-o):In(this&&this!==j&&this instanceof a?i:e,this,s)}return a}function jo(e){return function(t,r,i){var a=T(t);if(!G(t)){var o=V(r,3);t=Z(t),r=function(e){return o(a[e],e,a)}}var s=e(t,r,i);return s>-1?a[o?t[s]:s]:n}}function Mo(e){return Qo(function(t){var r=t.length,i=r,a=Gr.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if(typeof s!=`function`)throw new Pt(o);if(a&&!c&&ns(s)==`wrapper`)var c=new Gr([],!0)}for(i=c?i:r;++i<r;){s=t[i];var l=ns(s),u=l==`wrapper`?ts(s):n;c=u&&xs(u[0])&&u[1]==(te|b|S|ne)&&!u[4].length&&u[9]==1?c[ns(u[0])].apply(c,u[3]):s.length==1&&xs(s)?c[l]():c.thru(s)}return function(){var e=arguments,n=e[0];if(c&&e.length==1&&W(n))return c.plant(n).value();for(var i=0,a=r?t[i].apply(this,e):n;++i<r;)a=t[i].call(this,a);return a}})}function No(e,t,r,i,a,o,s,c,l,u){var d=t&te,f=t&_,p=t&v,m=t&(b|x),h=t&re,g=p?n:ko(e);function y(){for(var n=arguments.length,_=w(n),v=n;v--;)_[v]=arguments[v];if(m)var b=rs(y),x=hr(_,b);if(i&&(_=_o(_,i,a,m)),o&&(_=vo(_,o,s,m)),n-=x,m&&n<u){var S=Tr(_,b);return Vo(e,t,No,y.placeholder,r,_,S,c,l,u-n)}var ee=f?r:this,te=p?ee[e]:e;return n=_.length,c?_=Ns(_,c):h&&n>1&&_.reverse(),d&&l<n&&(_.length=l),this&&this!==j&&this instanceof y&&(te=g||ko(te)),te.apply(ee,_)}return y}function Po(e,t){return function(n,r){return ia(n,e,t(r),{})}}function Fo(e,t){return function(r,i){var a;if(r===n&&i===n)return t;if(r!==n&&(a=r),i!==n){if(a===n)return i;typeof r==`string`||typeof i==`string`?(r=Ja(r),i=Ja(i)):(r=qa(r),i=qa(i)),a=e(r,i)}return a}}function Io(e){return Qo(function(t){return t=N(t,P(V())),z(function(n){var r=this;return e(t,function(e){return In(e,r,n)})})})}function Lo(e,t){t=t===n?` `:Ja(t);var r=t.length;if(r<2)return r?Fa(t,e):t;var i=Fa(t,cn(e/Ar(t)));return br(t)?oo(jr(i),0,e).join(``):i.slice(0,e)}function Ro(e,t,n,r){var i=t&_,a=ko(e);function o(){for(var t=-1,s=arguments.length,c=-1,l=r.length,u=w(l+s),d=this&&this!==j&&this instanceof o?a:e;++c<l;)u[c]=r[c];for(;s--;)u[c++]=arguments[++t];return In(d,i?n:this,u)}return o}function zo(e){return function(t,r,i){return i&&typeof i!=`number`&&U(t,r,i)&&(r=i=n),t=$u(t),r===n?(r=t,t=0):r=$u(r),i=i===n?t<r?1:-1:$u(i),Pa(t,r,i,e)}}function Bo(e){return function(t,n){return typeof t==`string`&&typeof n==`string`||(t=td(t),n=td(n)),e(t,n)}}function Vo(e,t,r,i,a,o,s,c,l,u){var d=t&b,f=d?s:n,p=d?n:s,m=d?o:n,h=d?n:o;t|=d?S:ee,t&=~(d?ee:S),t&y||(t&=~(_|v));var g=[e,t,a,m,f,h,p,c,l,u],x=r.apply(n,g);return xs(e)&&Fs(x,g),x.placeholder=i,Rs(x,e,t)}function Ho(e){var t=jt[e];return function(e,n){if(e=td(e),n=n==null?0:A(Y(n),292),n&&mn(e)){var r=(X(e)+`e`).split(`e`);return r=(X(t(r[0]+`e`+(+r[1]+n)))+`e`).split(`e`),+(r[0]+`e`+(+r[1]-n))}return t(e)}}var Uo=kn&&1/Er(new kn([,-0]))[1]==de?function(e){return new kn(e)}:Bf;function Wo(e){return function(t){var n=H(t);return n==De?Cr(t):n==Pe?Dr(t):lr(t,e(t))}}function Go(e,t,r,i,a,s,c,l){var u=t&v;if(!u&&typeof e!=`function`)throw new Pt(o);var d=i?i.length:0;if(d||(t&=~(S|ee),i=a=n),c=c===n?c:D(Y(c),0),l=l===n?l:Y(l),d-=a?a.length:0,t&ee){var f=i,p=a;i=a=n}var m=u?n:ts(e),h=[e,t,r,i,a,f,p,s,c,l];if(m&&Os(h,m),e=h[0],t=h[1],r=h[2],i=h[3],a=h[4],l=h[9]=h[9]===n?u?0:e.length:D(h[9]-d,0),!l&&t&(b|x)&&(t&=~(b|x)),!t||t==_)var g=Eo(e,t,r);else g=t==b||t==x?Ao(e,t,l):(t==S||t==(_|S))&&!a.length?Ro(e,t,r,i):No.apply(n,h);return Rs((m?za:Fs)(g,h),e,t)}function Ko(e,t,r,i){return e===n||hu(e,Lt[r])&&!E.call(i,r)?t:e}function qo(e,t,r,i,a,o){return q(e)&&q(t)&&(o.set(t,e),wa(e,t,n,qo,o),o.delete(t)),e}function Jo(e){return Bu(e)?n:e}function Yo(e,t,r,i,a,o){var s=r&h,c=e.length,l=t.length;if(c!=l&&!(s&&l>c))return!1;var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var f=-1,p=!0,m=r&g?new pi:n;for(o.set(e,t),o.set(t,e);++f<c;){var _=e[f],v=t[f];if(i)var y=s?i(v,_,f,t,e,o):i(_,v,f,e,t,o);if(y!==n){if(y)continue;p=!1;break}if(m){if(!qn(t,function(e,t){if(!fr(m,t)&&(_===e||a(_,e,r,i,o)))return m.push(t)})){p=!1;break}}else if(!(_===v||a(_,v,r,i,o))){p=!1;break}}return o.delete(e),o.delete(t),p}function Xo(e,t,n,r,i,a,o){switch(n){case Ve:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Be:return!(e.byteLength!=t.byteLength||!a(new Jt(e),new Jt(t)));case Se:case C:case Oe:return hu(+e,+t);case we:return e.name==t.name&&e.message==t.message;case Ne:case Fe:return e==t+``;case De:var s=Cr;case Pe:var c=r&h;if(s||=Er,e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=g,o.set(e,t);var u=Yo(s(e),s(t),r,i,a,o);return o.delete(e),u;case Ie:if(Vr)return Vr.call(e)==Vr.call(t)}return!1}function Zo(e,t,r,i,a,o){var s=r&h,c=$o(e),l=c.length;if(l!=$o(t).length&&!s)return!1;for(var u=l;u--;){var d=c[u];if(!(s?d in t:E.call(t,d)))return!1}var f=o.get(e),p=o.get(t);if(f&&p)return f==t&&p==e;var m=!0;o.set(e,t),o.set(t,e);for(var g=s;++u<l;){d=c[u];var _=e[d],v=t[d];if(i)var y=s?i(v,_,d,t,e,o):i(_,v,d,e,t,o);if(!(y===n?_===v||a(_,v,r,i,o):y)){m=!1;break}g||=d==`constructor`}if(m&&!g){var b=e.constructor,x=t.constructor;b!=x&&`constructor`in e&&`constructor`in t&&!(typeof b==`function`&&b instanceof b&&typeof x==`function`&&x instanceof x)&&(m=!1)}return o.delete(e),o.delete(t),m}function Qo(e){return Ls(js(e,n,ac),e+``)}function $o(e){return Qi(e,Z,cs)}function es(e){return Qi(e,Q,ls)}var ts=Yn?function(e){return Yn.get(e)}:Bf;function ns(e){for(var t=e.name+``,n=ir[t],r=E.call(ir,t)?n.length:0;r--;){var i=n[r],a=i.func;if(a==null||a==e)return i.name}return t}function rs(e){return(E.call(F,`placeholder`)?F:e).placeholder}function V(){var e=F.iteratee||Nf;return e=e===Nf?_a:e,arguments.length?e(arguments[0],arguments[1]):e}function is(e,t){var n=e.__data__;return bs(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function as(e){for(var t=Z(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Ts(i)]}return t}function os(e,t){var r=yr(e,t);return pa(r)?r:n}function ss(e){var t=E.call(e,nn),r=e[nn];try{e[nn]=n;var i=!0}catch{}var a=Ht.call(e);return i&&(t?e[nn]=r:delete e[nn]),a}var cs=un?function(e){return e==null?[]:(e=T(e),Vn(un(e),function(t){return Qt.call(e,t)}))}:Yf,ls=un?function(e){for(var t=[];e;)Wn(t,cs(e)),e=Xt(e);return t}:Yf,H=R;(Tn&&H(new Tn(new ArrayBuffer(1)))!=Ve||En&&H(new En)!=De||Dn&&H(Dn.resolve())!=je||kn&&H(new kn)!=Pe||M&&H(new M)!=Re)&&(H=function(e){var t=R(e),r=t==Ae?e.constructor:n,i=r?Us(r):``;if(i)switch(i){case Or:return Ve;case Pr:return De;case Fr:return je;case Rr:return Pe;case zr:return Re}return t});function us(e,t,n){for(var r=-1,i=n.length;++r<i;){var a=n[r],o=a.size;switch(a.type){case`drop`:e+=o;break;case`dropRight`:t-=o;break;case`take`:t=A(t,e+o);break;case`takeRight`:e=D(e,t-o);break}}return{start:e,end:t}}function ds(e){var t=e.match(mt);return t?t[1].split(ht):[]}function fs(e,t,n){t=io(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=Hs(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&ju(i)&&vs(o,i)&&(W(e)||vu(e)))}function ps(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&E.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}function ms(e){return typeof e.constructor==`function`&&!ws(e)?Ur(Xt(e)):{}}function hs(e,t,n){var r=e.constructor;switch(t){case Be:return lo(e);case Se:case C:return new r(+e);case Ve:return uo(e,n);case He:case Ue:case We:case Ge:case Ke:case qe:case Je:case Ye:case Xe:return mo(e,n);case De:return new r;case Oe:case Fe:return new r(e);case Ne:return fo(e);case Pe:return new r;case Ie:return po(e)}}function gs(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?`& `:``)+t[r],t=t.join(n>2?`, `:` `),e.replace(pt,`{
|
|
2
|
+
/* [wrapped with `+t+`] */
|
|
3
|
+
`)}function _s(e){return W(e)||vu(e)||!!(en&&e&&e[en])}function vs(e,t){var n=typeof e;return t??=fe,!!t&&(n==`number`||n!=`symbol`&&Tt.test(e))&&e>-1&&e%1==0&&e<t}function U(e,t,n){if(!q(n))return!1;var r=typeof t;return(r==`number`?G(n)&&vs(t,n.length):r==`string`&&t in n)?hu(n[t],e):!1}function ys(e,t){if(W(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||Gu(e)?!0:ct.test(e)||!st.test(e)||t!=null&&e in T(t)}function bs(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function xs(e){var t=ns(e),n=F[t];if(typeof n!=`function`||!(t in I.prototype))return!1;if(e===n)return!0;var r=ts(n);return!!r&&e===r[0]}function Ss(e){return!!Vt&&Vt in e}var Cs=Rt?ku:Xf;function ws(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||Lt)}function Ts(e){return e===e&&!q(e)}function Es(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==n||e in T(r))}}function Ds(e){var t=Zl(e,function(e){return n.size===u&&n.clear(),e}),n=t.cache;return t}function Os(e,t){var n=e[1],r=t[1],i=n|r,a=i<(_|v|te),o=r==te&&n==b||r==te&&n==ne&&e[7].length<=t[8]||r==(te|ne)&&t[7].length<=t[8]&&n==b;if(!(a||o))return e;r&_&&(e[2]=t[2],i|=n&_?0:y);var s=t[3];if(s){var c=e[3];e[3]=c?_o(c,s,t[4]):s,e[4]=c?Tr(e[3],d):t[4]}return s=t[5],s&&(c=e[5],e[5]=c?vo(c,s,t[6]):s,e[6]=c?Tr(e[5],d):t[6]),s=t[7],s&&(e[7]=s),r&te&&(e[8]=e[8]==null?t[8]:A(e[8],t[8])),e[9]??=t[9],e[0]=t[0],e[1]=i,e}function ks(e){var t=[];if(e!=null)for(var n in T(e))t.push(n);return t}function As(e){return Ht.call(e)}function js(e,t,r){return t=D(t===n?e.length-1:t,0),function(){for(var n=arguments,i=-1,a=D(n.length-t,0),o=w(a);++i<a;)o[i]=n[t+i];i=-1;for(var s=w(t+1);++i<t;)s[i]=n[i];return s[t]=r(o),In(e,this,s)}}function Ms(e,t){return t.length<2?e:Zi(e,Ha(t,0,-1))}function Ns(e,t){for(var r=e.length,i=A(t.length,r),a=B(e);i--;){var o=t[i];e[i]=vs(o,r)?a[o]:n}return e}function Ps(e,t){if(!(t===`constructor`&&typeof e[t]==`function`)&&t!=`__proto__`)return e[t]}var Fs=zs(za),Is=sn||function(e,t){return j.setTimeout(e,t)},Ls=zs(Ba);function Rs(e,t,n){var r=t+``;return Ls(e,gs(r,Ws(ds(r),n)))}function zs(e){var t=0,r=0;return function(){var i=yn(),a=se-(i-r);if(r=i,a>0){if(++t>=oe)return arguments[0]}else t=0;return e.apply(n,arguments)}}function Bs(e,t){var r=-1,i=e.length,a=i-1;for(t=t===n?i:t;++r<t;){var o=Na(r,a),s=e[o];e[o]=e[r],e[r]=s}return e.length=t,e}var Vs=Ds(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(lt,function(e,n,r,i){t.push(r?i.replace(vt,`$1`):n||e)}),t});function Hs(e){if(typeof e==`string`||Gu(e))return e;var t=e+``;return t==`0`&&1/e==-de?`-0`:t}function Us(e){if(e!=null){try{return zt.call(e)}catch{}try{return e+``}catch{}}return``}function Ws(e,t){return Rn(ve,function(n){var r=`_.`+n[0];t&n[1]&&!Hn(e,r)&&e.push(r)}),e.sort()}function Gs(e){if(e instanceof I)return e.clone();var t=new Gr(e.__wrapped__,e.__chain__);return t.__actions__=B(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Ks(e,t,r){t=(r?U(e,t,r):t===n)?1:D(Y(t),0);var i=e==null?0:e.length;if(!i||t<1)return[];for(var a=0,o=0,s=w(cn(i/t));a<i;)s[o++]=Ha(e,a,a+=t);return s}function qs(e){for(var t=-1,n=e==null?0:e.length,r=0,i=[];++t<n;){var a=e[t];a&&(i[r++]=a)}return i}function Js(){var e=arguments.length;if(!e)return[];for(var t=w(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Wn(W(n)?B(n):[n],L(t,1))}var Ys=z(function(e,t){return K(e)?zi(e,L(t,1,K,!0)):[]}),Xs=z(function(e,t){var r=gc(t);return K(r)&&(r=n),K(e)?zi(e,L(t,1,K,!0),V(r,2)):[]}),Zs=z(function(e,t){var r=gc(t);return K(r)&&(r=n),K(e)?zi(e,L(t,1,K,!0),n,r):[]});function Qs(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:Y(t),Ha(e,t<0?0:t,i)):[]}function $s(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:Y(t),t=i-t,Ha(e,0,t<0?0:t)):[]}function ec(e,t){return e&&e.length?Qa(e,V(t,3),!0,!0):[]}function tc(e,t){return e&&e.length?Qa(e,V(t,3),!0):[]}function nc(e,t,n,r){var i=e==null?0:e.length;return i?(n&&typeof n!=`number`&&U(e,t,n)&&(n=0,r=i),Wi(e,t,n,r)):[]}function rc(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:Y(n);return i<0&&(i=D(r+i,0)),Qn(e,V(t,3),i)}function ic(e,t,r){var i=e==null?0:e.length;if(!i)return-1;var a=i-1;return r!==n&&(a=Y(r),a=r<0?D(i+a,0):A(a,i-1)),Qn(e,V(t,3),a,!0)}function ac(e){return e!=null&&e.length?L(e,1):[]}function oc(e){return e!=null&&e.length?L(e,de):[]}function sc(e,t){return e!=null&&e.length?(t=t===n?1:Y(t),L(e,t)):[]}function cc(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var i=e[t];Mi(r,i[0],i[1])}return r}function lc(e){return e&&e.length?e[0]:n}function uc(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:Y(n);return i<0&&(i=D(r+i,0)),$n(e,t,i)}function dc(e){return e!=null&&e.length?Ha(e,0,-1):[]}var fc=z(function(e){var t=N(e,no);return t.length&&t[0]===e[0]?ra(t):[]}),pc=z(function(e){var t=gc(e),r=N(e,no);return t===gc(r)?t=n:r.pop(),r.length&&r[0]===e[0]?ra(r,V(t,2)):[]}),mc=z(function(e){var t=gc(e),r=N(e,no);return t=typeof t==`function`?t:n,t&&r.pop(),r.length&&r[0]===e[0]?ra(r,n,t):[]});function hc(e,t){return e==null?``:hn.call(e,t)}function gc(e){var t=e==null?0:e.length;return t?e[t-1]:n}function _c(e,t,r){var i=e==null?0:e.length;if(!i)return-1;var a=i;return r!==n&&(a=Y(r),a=a<0?D(i+a,0):A(a,i-1)),t===t?kr(e,t,a):Qn(e,tr,a,!0)}function vc(e,t){return e&&e.length?Ea(e,Y(t)):n}var yc=z(bc);function bc(e,t){return e&&e.length&&t&&t.length?ja(e,t):e}function xc(e,t,n){return e&&e.length&&t&&t.length?ja(e,t,V(n,2)):e}function Sc(e,t,r){return e&&e.length&&t&&t.length?ja(e,t,n,r):e}var Cc=Qo(function(e,t){var n=e==null?0:e.length,r=Ni(e,t);return Ma(e,N(t,function(e){return vs(e,n)?+e:e}).sort(ho)),r});function wc(e,t){var n=[];if(!(e&&e.length))return n;var r=-1,i=[],a=e.length;for(t=V(t,3);++r<a;){var o=e[r];t(o,r,e)&&(n.push(o),i.push(r))}return Ma(e,i),n}function Tc(e){return e==null?e:wn.call(e)}function Ec(e,t,r){var i=e==null?0:e.length;return i?(r&&typeof r!=`number`&&U(e,t,r)?(t=0,r=i):(t=t==null?0:Y(t),r=r===n?i:Y(r)),Ha(e,t,r)):[]}function Dc(e,t){return Wa(e,t)}function Oc(e,t,n){return Ga(e,t,V(n,2))}function kc(e,t){var n=e==null?0:e.length;if(n){var r=Wa(e,t);if(r<n&&hu(e[r],t))return r}return-1}function Ac(e,t){return Wa(e,t,!0)}function jc(e,t,n){return Ga(e,t,V(n,2),!0)}function Mc(e,t){if(e!=null&&e.length){var n=Wa(e,t,!0)-1;if(hu(e[n],t))return n}return-1}function Nc(e){return e&&e.length?Ka(e):[]}function Pc(e,t){return e&&e.length?Ka(e,V(t,2)):[]}function Fc(e){var t=e==null?0:e.length;return t?Ha(e,1,t):[]}function Ic(e,t,r){return e&&e.length?(t=r||t===n?1:Y(t),Ha(e,0,t<0?0:t)):[]}function Lc(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:Y(t),t=i-t,Ha(e,t<0?0:t,i)):[]}function Rc(e,t){return e&&e.length?Qa(e,V(t,3),!1,!0):[]}function zc(e,t){return e&&e.length?Qa(e,V(t,3)):[]}var Bc=z(function(e){return Ya(L(e,1,K,!0))}),Vc=z(function(e){var t=gc(e);return K(t)&&(t=n),Ya(L(e,1,K,!0),V(t,2))}),Hc=z(function(e){var t=gc(e);return t=typeof t==`function`?t:n,Ya(L(e,1,K,!0),n,t)});function Uc(e){return e&&e.length?Ya(e):[]}function Wc(e,t){return e&&e.length?Ya(e,V(t,2)):[]}function Gc(e,t){return t=typeof t==`function`?t:n,e&&e.length?Ya(e,n,t):[]}function Kc(e){if(!(e&&e.length))return[];var t=0;return e=Vn(e,function(e){if(K(e))return t=D(e.length,t),!0}),cr(t,function(t){return N(e,rr(t))})}function qc(e,t){if(!(e&&e.length))return[];var r=Kc(e);return t==null?r:N(r,function(e){return In(t,n,e)})}var Jc=z(function(e,t){return K(e)?zi(e,t):[]}),Yc=z(function(e){return eo(Vn(e,K))}),Xc=z(function(e){var t=gc(e);return K(t)&&(t=n),eo(Vn(e,K),V(t,2))}),Zc=z(function(e){var t=gc(e);return t=typeof t==`function`?t:n,eo(Vn(e,K),n,t)}),Qc=z(Kc);function $c(e,t){return to(e||[],t||[],Di)}function el(e,t){return to(e||[],t||[],Ra)}var tl=z(function(e){var t=e.length,r=t>1?e[t-1]:n;return r=typeof r==`function`?(e.pop(),r):n,qc(e,r)});function nl(e){var t=F(e);return t.__chain__=!0,t}function rl(e,t){return t(e),e}function il(e,t){return t(e)}var al=Qo(function(e){var t=e.length,r=t?e[0]:0,i=this.__wrapped__,a=function(t){return Ni(t,e)};return t>1||this.__actions__.length||!(i instanceof I)||!vs(r)?this.thru(a):(i=i.slice(r,+r+ +!!t),i.__actions__.push({func:il,args:[a],thisArg:n}),new Gr(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(n),e}))});function ol(){return nl(this)}function sl(){return new Gr(this.value(),this.__chain__)}function cl(){this.__values__===n&&(this.__values__=Qu(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}}function ll(){return this}function ul(e){for(var t,r=this;r instanceof Wr;){var i=Gs(r);i.__index__=0,i.__values__=n,t?a.__wrapped__=i:t=i;var a=i;r=r.__wrapped__}return a.__wrapped__=e,t}function dl(){var e=this.__wrapped__;if(e instanceof I){var t=e;return this.__actions__.length&&(t=new I(this)),t=t.reverse(),t.__actions__.push({func:il,args:[Tc],thisArg:n}),new Gr(t,this.__chain__)}return this.thru(Tc)}function fl(){return $a(this.__wrapped__,this.__actions__)}var pl=So(function(e,t,n){E.call(e,n)?++e[n]:Mi(e,n,1)});function ml(e,t,r){var i=W(e)?Bn:Hi;return r&&U(e,t,r)&&(t=n),i(e,V(t,3))}function hl(e,t){return(W(e)?Vn:Gi)(e,V(t,3))}var gl=jo(rc),_l=jo(ic);function vl(e,t){return L(Dl(e,t),1)}function yl(e,t){return L(Dl(e,t),de)}function bl(e,t,r){return r=r===n?1:Y(r),L(Dl(e,t),r)}function xl(e,t){return(W(e)?Rn:Bi)(e,V(t,3))}function Sl(e,t){return(W(e)?zn:Vi)(e,V(t,3))}var Cl=So(function(e,t,n){E.call(e,n)?e[n].push(t):Mi(e,n,[t])});function wl(e,t,n,r){e=G(e)?e:Ud(e),n=n&&!r?Y(n):0;var i=e.length;return n<0&&(n=D(i+n,0)),Wu(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&$n(e,t,n)>-1}var Tl=z(function(e,t,n){var r=-1,i=typeof t==`function`,a=G(e)?w(e.length):[];return Bi(e,function(e){a[++r]=i?In(t,e,n):aa(e,t,n)}),a}),El=So(function(e,t,n){Mi(e,n,t)});function Dl(e,t){return(W(e)?N:xa)(e,V(t,3))}function Ol(e,t,r,i){return e==null?[]:(W(t)||(t=t==null?[]:[t]),r=i?n:r,W(r)||(r=r==null?[]:[r]),Da(e,t,r))}var kl=So(function(e,t,n){e[+!n].push(t)},function(){return[[],[]]});function Al(e,t,n){var r=W(e)?Gn:ar,i=arguments.length<3;return r(e,V(t,4),n,i,Bi)}function jl(e,t,n){var r=W(e)?Kn:ar,i=arguments.length<3;return r(e,V(t,4),n,i,Vi)}function Ml(e,t){return(W(e)?Vn:Gi)(e,Ql(V(t,3)))}function Nl(e){return(W(e)?Ci:Ia)(e)}function Pl(e,t,r){return t=(r?U(e,t,r):t===n)?1:Y(t),(W(e)?wi:La)(e,t)}function Fl(e){return(W(e)?Ti:Va)(e)}function Il(e){if(e==null)return 0;if(G(e))return Wu(e)?Ar(e):e.length;var t=H(e);return t==De||t==Pe?e.size:va(e).length}function Ll(e,t,r){var i=W(e)?qn:Ua;return r&&U(e,t,r)&&(t=n),i(e,V(t,3))}var Rl=z(function(e,t){if(e==null)return[];var n=t.length;return n>1&&U(e,t[0],t[1])?t=[]:n>2&&U(t[0],t[1],t[2])&&(t=[t[0]]),Da(e,L(t,1),[])}),zl=on||function(){return j.Date.now()};function Bl(e,t){if(typeof t!=`function`)throw new Pt(o);return e=Y(e),function(){if(--e<1)return t.apply(this,arguments)}}function Vl(e,t,r){return t=r?n:t,t=e&&t==null?e.length:t,Go(e,te,n,n,n,n,t)}function Hl(e,t){var r;if(typeof t!=`function`)throw new Pt(o);return e=Y(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=n),r}}var Ul=z(function(e,t,n){var r=_;if(n.length){var i=Tr(n,rs(Ul));r|=S}return Go(e,r,t,n,i)}),Wl=z(function(e,t,n){var r=_|v;if(n.length){var i=Tr(n,rs(Wl));r|=S}return Go(t,r,e,n,i)});function Gl(e,t,r){t=r?n:t;var i=Go(e,b,n,n,n,n,n,t);return i.placeholder=Gl.placeholder,i}function Kl(e,t,r){t=r?n:t;var i=Go(e,x,n,n,n,n,n,t);return i.placeholder=Kl.placeholder,i}function ql(e,t,r){var i,a,s,c,l,u,d=0,f=!1,p=!1,m=!0;if(typeof e!=`function`)throw new Pt(o);t=td(t)||0,q(r)&&(f=!!r.leading,p=`maxWait`in r,s=p?D(td(r.maxWait)||0,t):s,m=`trailing`in r?!!r.trailing:m);function h(t){var r=i,o=a;return i=a=n,d=t,c=e.apply(o,r),c}function g(e){return d=e,l=Is(y,t),f?h(e):c}function _(e){var n=e-u,r=e-d,i=t-n;return p?A(i,s-r):i}function v(e){var r=e-u,i=e-d;return u===n||r>=t||r<0||p&&i>=s}function y(){var e=zl();if(v(e))return b(e);l=Is(y,_(e))}function b(e){return l=n,m&&i?h(e):(i=a=n,c)}function x(){l!==n&&so(l),d=0,i=u=a=l=n}function S(){return l===n?c:b(zl())}function ee(){var e=zl(),r=v(e);if(i=arguments,a=this,u=e,r){if(l===n)return g(u);if(p)return so(l),l=Is(y,t),h(u)}return l===n&&(l=Is(y,t)),c}return ee.cancel=x,ee.flush=S,ee}var Jl=z(function(e,t){return Ri(e,1,t)}),Yl=z(function(e,t,n){return Ri(e,td(t)||0,n)});function Xl(e){return Go(e,re)}function Zl(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw new Pt(o);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Zl.Cache||si),n}Zl.Cache=si;function Ql(e){if(typeof e!=`function`)throw new Pt(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function $l(e){return Hl(2,e)}var eu=ao(function(e,t){t=t.length==1&&W(t[0])?N(t[0],P(V())):N(L(t,1),P(V()));var n=t.length;return z(function(r){for(var i=-1,a=A(r.length,n);++i<a;)r[i]=t[i].call(this,r[i]);return In(e,this,r)})}),tu=z(function(e,t){return Go(e,S,n,t,Tr(t,rs(tu)))}),nu=z(function(e,t){return Go(e,ee,n,t,Tr(t,rs(nu)))}),ru=Qo(function(e,t){return Go(e,ne,n,n,n,t)});function iu(e,t){if(typeof e!=`function`)throw new Pt(o);return t=t===n?t:Y(t),z(e,t)}function au(e,t){if(typeof e!=`function`)throw new Pt(o);return t=t==null?0:D(Y(t),0),z(function(n){var r=n[t],i=oo(n,0,t);return r&&Wn(i,r),In(e,this,i)})}function ou(e,t,n){var r=!0,i=!0;if(typeof e!=`function`)throw new Pt(o);return q(n)&&(r=`leading`in n?!!n.leading:r,i=`trailing`in n?!!n.trailing:i),ql(e,t,{leading:r,maxWait:t,trailing:i})}function su(e){return Vl(e,1)}function cu(e,t){return tu(ro(t),e)}function lu(){if(!arguments.length)return[];var e=arguments[0];return W(e)?e:[e]}function uu(e){return Fi(e,m)}function du(e,t){return t=typeof t==`function`?t:n,Fi(e,m,t)}function fu(e){return Fi(e,f|m)}function pu(e,t){return t=typeof t==`function`?t:n,Fi(e,f|m,t)}function mu(e,t){return t==null||Li(e,t,Z(t))}function hu(e,t){return e===t||e!==e&&t!==t}var gu=Bo($i),_u=Bo(function(e,t){return e>=t}),vu=oa(function(){return arguments}())?oa:function(e){return J(e)&&E.call(e,`callee`)&&!Qt.call(e,`callee`)},W=w.isArray,yu=An?P(An):sa;function G(e){return e!=null&&ju(e.length)&&!ku(e)}function K(e){return J(e)&&G(e)}function bu(e){return e===!0||e===!1||J(e)&&R(e)==Se}var xu=dn||Xf,Su=jn?P(jn):ca;function Cu(e){return J(e)&&e.nodeType===1&&!Bu(e)}function wu(e){if(e==null)return!0;if(G(e)&&(W(e)||typeof e==`string`||typeof e.splice==`function`||xu(e)||Ku(e)||vu(e)))return!e.length;var t=H(e);if(t==De||t==Pe)return!e.size;if(ws(e))return!va(e).length;for(var n in e)if(E.call(e,n))return!1;return!0}function Tu(e,t){return la(e,t)}function Eu(e,t,r){r=typeof r==`function`?r:n;var i=r?r(e,t):n;return i===n?la(e,t,n,r):!!i}function Du(e){if(!J(e))return!1;var t=R(e);return t==we||t==Ce||typeof e.message==`string`&&typeof e.name==`string`&&!Bu(e)}function Ou(e){return typeof e==`number`&&mn(e)}function ku(e){if(!q(e))return!1;var t=R(e);return t==Te||t==Ee||t==xe||t==Me}function Au(e){return typeof e==`number`&&e==Y(e)}function ju(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=fe}function q(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}function J(e){return typeof e==`object`&&!!e}var Mu=Mn?P(Mn):da;function Nu(e,t){return e===t||fa(e,t,as(t))}function Pu(e,t,r){return r=typeof r==`function`?r:n,fa(e,t,as(t),r)}function Fu(e){return zu(e)&&e!=+e}function Iu(e){if(Cs(e))throw new kt(a);return pa(e)}function Lu(e){return e===null}function Ru(e){return e==null}function zu(e){return typeof e==`number`||J(e)&&R(e)==Oe}function Bu(e){if(!J(e)||R(e)!=Ae)return!1;var t=Xt(e);if(t===null)return!0;var n=E.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&zt.call(n)==Ut}var Vu=Nn?P(Nn):ma;function Hu(e){return Au(e)&&e>=-fe&&e<=fe}var Uu=Pn?P(Pn):ha;function Wu(e){return typeof e==`string`||!W(e)&&J(e)&&R(e)==Fe}function Gu(e){return typeof e==`symbol`||J(e)&&R(e)==Ie}var Ku=Fn?P(Fn):ga;function qu(e){return e===n}function Ju(e){return J(e)&&H(e)==Re}function Yu(e){return J(e)&&R(e)==ze}var Xu=Bo(ba),Zu=Bo(function(e,t){return e<=t});function Qu(e){if(!e)return[];if(G(e))return Wu(e)?jr(e):B(e);if(tn&&e[tn])return Sr(e[tn]());var t=H(e);return(t==De?Cr:t==Pe?Er:Ud)(e)}function $u(e){return e?(e=td(e),e===de||e===-de?(e<0?-1:1)*pe:e===e?e:0):e===0?e:0}function Y(e){var t=$u(e),n=t%1;return t===t?n?t-n:t:0}function ed(e){return e?Pi(Y(e),0,he):0}function td(e){if(typeof e==`number`)return e;if(Gu(e))return me;if(q(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=q(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=ur(e);var n=St.test(e);return n||wt.test(e)?Cn(e.slice(2),n?2:8):xt.test(e)?me:+e}function nd(e){return yo(e,Q(e))}function rd(e){return e?Pi(Y(e),-fe,fe):e===0?e:0}function X(e){return e==null?``:Ja(e)}var id=Co(function(e,t){if(ws(t)||G(t)){yo(t,Z(t),e);return}for(var n in t)E.call(t,n)&&Di(e,n,t[n])}),ad=Co(function(e,t){yo(t,Q(t),e)}),od=Co(function(e,t,n,r){yo(t,Q(t),e,r)}),sd=Co(function(e,t,n,r){yo(t,Z(t),e,r)}),cd=Qo(Ni);function ld(e,t){var n=Ur(e);return t==null?n:Ai(n,t)}var ud=z(function(e,t){e=T(e);var r=-1,i=t.length,a=i>2?t[2]:n;for(a&&U(t[0],t[1],a)&&(i=1);++r<i;)for(var o=t[r],s=Q(o),c=-1,l=s.length;++c<l;){var u=s[c],d=e[u];(d===n||hu(d,Lt[u])&&!E.call(e,u))&&(e[u]=o[u])}return e}),dd=z(function(e){return e.push(n,qo),In(kd,n,e)});function fd(e,t){return Zn(e,V(t,3),Ji)}function pd(e,t){return Zn(e,V(t,3),Yi)}function md(e,t){return e==null?e:Ki(e,V(t,3),Q)}function hd(e,t){return e==null?e:qi(e,V(t,3),Q)}function gd(e,t){return e&&Ji(e,V(t,3))}function _d(e,t){return e&&Yi(e,V(t,3))}function vd(e){return e==null?[]:Xi(e,Z(e))}function yd(e){return e==null?[]:Xi(e,Q(e))}function bd(e,t,r){var i=e==null?n:Zi(e,t);return i===n?r:i}function xd(e,t){return e!=null&&fs(e,t,ea)}function Sd(e,t){return e!=null&&fs(e,t,ta)}var Cd=Po(function(e,t,n){t!=null&&typeof t.toString!=`function`&&(t=Ht.call(t)),e[t]=n},kf($)),wd=Po(function(e,t,n){t!=null&&typeof t.toString!=`function`&&(t=Ht.call(t)),E.call(e,t)?e[t].push(n):e[t]=[n]},V),Td=z(aa);function Z(e){return G(e)?Si(e):va(e)}function Q(e){return G(e)?Si(e,!0):ya(e)}function Ed(e,t){var n={};return t=V(t,3),Ji(e,function(e,r,i){Mi(n,t(e,r,i),e)}),n}function Dd(e,t){var n={};return t=V(t,3),Ji(e,function(e,r,i){Mi(n,r,t(e,r,i))}),n}var Od=Co(function(e,t,n){wa(e,t,n)}),kd=Co(function(e,t,n,r){wa(e,t,n,r)}),Ad=Qo(function(e,t){var n={};if(e==null)return n;var r=!1;t=N(t,function(t){return t=io(t,e),r||=t.length>1,t}),yo(e,es(e),n),r&&(n=Fi(n,f|p|m,Jo));for(var i=t.length;i--;)Xa(n,t[i]);return n});function jd(e,t){return Nd(e,Ql(V(t)))}var Md=Qo(function(e,t){return e==null?{}:Oa(e,t)});function Nd(e,t){if(e==null)return{};var n=N(es(e),function(e){return[e]});return t=V(t),ka(e,n,function(e,n){return t(e,n[0])})}function Pd(e,t,r){t=io(t,e);var i=-1,a=t.length;for(a||(a=1,e=n);++i<a;){var o=e==null?n:e[Hs(t[i])];o===n&&(i=a,o=r),e=ku(o)?o.call(e):o}return e}function Fd(e,t,n){return e==null?e:Ra(e,t,n)}function Id(e,t,r,i){return i=typeof i==`function`?i:n,e==null?e:Ra(e,t,r,i)}var Ld=Wo(Z),Rd=Wo(Q);function zd(e,t,n){var r=W(e),i=r||xu(e)||Ku(e);if(t=V(t,4),n==null){var a=e&&e.constructor;n=i?r?new a:[]:q(e)&&ku(a)?Ur(Xt(e)):{}}return(i?Rn:Ji)(e,function(e,r,i){return t(n,e,r,i)}),n}function Bd(e,t){return e==null?!0:Xa(e,t)}function Vd(e,t,n){return e==null?e:Za(e,t,ro(n))}function Hd(e,t,r,i){return i=typeof i==`function`?i:n,e==null?e:Za(e,t,ro(r),i)}function Ud(e){return e==null?[]:dr(e,Z(e))}function Wd(e){return e==null?[]:dr(e,Q(e))}function Gd(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=td(r),r=r===r?r:0),t!==n&&(t=td(t),t=t===t?t:0),Pi(td(e),t,r)}function Kd(e,t,r){return t=$u(t),r===n?(r=t,t=0):r=$u(r),e=td(e),na(e,t,r)}function qd(e,t,r){if(r&&typeof r!=`boolean`&&U(e,t,r)&&(t=r=n),r===n&&(typeof t==`boolean`?(r=t,t=n):typeof e==`boolean`&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=$u(e),t===n?(t=e,e=0):t=$u(t)),e>t){var i=e;e=t,t=i}if(r||e%1||t%1){var a=xn();return A(e+a*(t-e+Sn(`1e-`+((a+``).length-1))),t)}return Na(e,t)}var Jd=Oo(function(e,t,n){return t=t.toLowerCase(),e+(n?Yd(t):t)});function Yd(e){return Cf(X(e).toLowerCase())}function Xd(e){return e=X(e),e&&e.replace(Et,gr).replace(pn,``)}function Zd(e,t,r){e=X(e),t=Ja(t);var i=e.length;r=r===n?i:Pi(Y(r),0,i);var a=r;return r-=t.length,r>=0&&e.slice(r,a)==t}function Qd(e){return e=X(e),e&&rt.test(e)?e.replace(tt,_r):e}function $d(e){return e=X(e),e&&dt.test(e)?e.replace(ut,`\\$&`):e}var ef=Oo(function(e,t,n){return e+(n?`-`:``)+t.toLowerCase()}),tf=Oo(function(e,t,n){return e+(n?` `:``)+t.toLowerCase()}),nf=Do(`toLowerCase`);function rf(e,t,n){e=X(e),t=Y(t);var r=t?Ar(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Lo(ln(i),n)+e+Lo(cn(i),n)}function af(e,t,n){e=X(e),t=Y(t);var r=t?Ar(e):0;return t&&r<t?e+Lo(t-r,n):e}function of(e,t,n){e=X(e),t=Y(t);var r=t?Ar(e):0;return t&&r<t?Lo(t-r,n)+e:e}function sf(e,t,n){return n||t==null?t=0:t&&=+t,bn(X(e).replace(ft,``),t||0)}function cf(e,t,r){return t=(r?U(e,t,r):t===n)?1:Y(t),Fa(X(e),t)}function lf(){var e=arguments,t=X(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var uf=Oo(function(e,t,n){return e+(n?`_`:``)+t.toLowerCase()});function df(e,t,r){return r&&typeof r!=`number`&&U(e,t,r)&&(t=r=n),r=r===n?he:r>>>0,r?(e=X(e),e&&(typeof t==`string`||t!=null&&!Vu(t))&&(t=Ja(t),!t&&br(e))?oo(jr(e),0,r):e.split(t,r)):[]}var ff=Oo(function(e,t,n){return e+(n?` `:``)+Cf(t)});function pf(e,t,n){return e=X(e),n=n==null?0:Pi(Y(n),0,e.length),t=Ja(t),e.slice(n,n+t.length)==t}function mf(e,t,r){var i=F.templateSettings;r&&U(e,t,r)&&(t=n),e=X(e),t=sd({},t,i,Ko);var a=sd({},t.imports,i.imports,Ko),o=Z(a),l=dr(a,o);Rn(o,function(e){if(_t.test(e))throw new kt(c)});var u,d,f=0,p=t.interpolate||Dt,m=`__p += '`,h=Mt((t.escape||Dt).source+`|`+p.source+`|`+(p===ot?yt:Dt).source+`|`+(t.evaluate||Dt).source+`|$`,`g`),g=`//# sourceURL=`+(E.call(t,`sourceURL`)?(t.sourceURL+``).replace(/\s/g,` `):`lodash.templateSources[`+ ++vn+`]`)+`
|
|
4
|
+
`;e.replace(h,function(t,n,r,i,a,o){return r||=i,m+=e.slice(f,o).replace(Ot,vr),n&&(u=!0,m+=`' +
|
|
5
|
+
__e(`+n+`) +
|
|
6
|
+
'`),a&&(d=!0,m+=`';
|
|
7
|
+
`+a+`;
|
|
8
|
+
__p += '`),r&&(m+=`' +
|
|
9
|
+
((__t = (`+r+`)) == null ? '' : __t) +
|
|
10
|
+
'`),f=o+t.length,t}),m+=`';
|
|
11
|
+
`;var _=E.call(t,`variable`)&&t.variable;if(!_)m=`with (obj) {
|
|
12
|
+
`+m+`
|
|
13
|
+
}
|
|
14
|
+
`;else if(_t.test(_))throw new kt(s);m=(d?m.replace(Ze,``):m).replace(Qe,`$1`).replace($e,`$1;`),m=`function(`+(_||`obj`)+`) {
|
|
15
|
+
`+(_?``:`obj || (obj = {});
|
|
16
|
+
`)+`var __t, __p = ''`+(u?`, __e = _.escape`:``)+(d?`, __j = Array.prototype.join;
|
|
17
|
+
function print() { __p += __j.call(arguments, '') }
|
|
18
|
+
`:`;
|
|
19
|
+
`)+m+`return __p
|
|
20
|
+
}`;var v=Tf(function(){return At(o,g+`return `+m).apply(n,l)});if(v.source=m,Du(v))throw v;return v}function hf(e){return X(e).toLowerCase()}function gf(e){return X(e).toUpperCase()}function _f(e,t,r){if(e=X(e),e&&(r||t===n))return ur(e);if(!e||!(t=Ja(t)))return e;var i=jr(e),a=jr(t);return oo(i,pr(i,a),mr(i,a)+1).join(``)}function vf(e,t,r){if(e=X(e),e&&(r||t===n))return e.slice(0,Mr(e)+1);if(!e||!(t=Ja(t)))return e;var i=jr(e);return oo(i,0,mr(i,jr(t))+1).join(``)}function yf(e,t,r){if(e=X(e),e&&(r||t===n))return e.replace(ft,``);if(!e||!(t=Ja(t)))return e;var i=jr(e);return oo(i,pr(i,jr(t))).join(``)}function bf(e,t){var r=ie,i=ae;if(q(t)){var a=`separator`in t?t.separator:a;r=`length`in t?Y(t.length):r,i=`omission`in t?Ja(t.omission):i}e=X(e);var o=e.length;if(br(e)){var s=jr(e);o=s.length}if(r>=o)return e;var c=r-Ar(i);if(c<1)return i;var l=s?oo(s,0,c).join(``):e.slice(0,c);if(a===n)return l+i;if(s&&(c+=l.length-c),Vu(a)){if(e.slice(c).search(a)){var u,d=l;for(a.global||(a=Mt(a.source,X(bt.exec(a))+`g`)),a.lastIndex=0;u=a.exec(d);)var f=u.index;l=l.slice(0,f===n?c:f)}}else if(e.indexOf(Ja(a),c)!=c){var p=l.lastIndexOf(a);p>-1&&(l=l.slice(0,p))}return l+i}function xf(e){return e=X(e),e&&nt.test(e)?e.replace(et,Nr):e}var Sf=Oo(function(e,t,n){return e+(n?` `:``)+t.toUpperCase()}),Cf=Do(`toUpperCase`);function wf(e,t,r){return e=X(e),t=r?n:t,t===n?xr(e)?Ir(e):Xn(e):e.match(t)||[]}var Tf=z(function(e,t){try{return In(e,n,t)}catch(e){return Du(e)?e:new kt(e)}}),Ef=Qo(function(e,t){return Rn(t,function(t){t=Hs(t),Mi(e,t,Ul(e[t],e))}),e});function Df(e){var t=e==null?0:e.length,n=V();return e=t?N(e,function(e){if(typeof e[1]!=`function`)throw new Pt(o);return[n(e[0]),e[1]]}):[],z(function(n){for(var r=-1;++r<t;){var i=e[r];if(In(i[0],this,n))return In(i[1],this,n)}})}function Of(e){return Ii(Fi(e,f))}function kf(e){return function(){return e}}function Af(e,t){return e==null||e!==e?t:e}var jf=Mo(),Mf=Mo(!0);function $(e){return e}function Nf(e){return _a(typeof e==`function`?e:Fi(e,f))}function Pf(e){return Sa(Fi(e,f))}function Ff(e,t){return Ca(e,Fi(t,f))}var If=z(function(e,t){return function(n){return aa(n,e,t)}}),Lf=z(function(e,t){return function(n){return aa(e,n,t)}});function Rf(e,t,n){var r=Z(t),i=Xi(t,r);n==null&&!(q(t)&&(i.length||!r.length))&&(n=t,t=e,e=this,i=Xi(t,Z(t)));var a=!(q(n)&&`chain`in n)||!!n.chain,o=ku(e);return Rn(i,function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__);return(n.__actions__=B(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Wn([this.value()],arguments))})}),e}function zf(){return j._===this&&(j._=Wt),this}function Bf(){}function Vf(e){return e=Y(e),z(function(t){return Ea(t,e)})}var Hf=Io(N),Uf=Io(Bn),Wf=Io(qn);function Gf(e){return ys(e)?rr(Hs(e)):Aa(e)}function Kf(e){return function(t){return e==null?n:Zi(e,t)}}var qf=zo(),Jf=zo(!0);function Yf(){return[]}function Xf(){return!1}function Zf(){return{}}function Qf(){return``}function $f(){return!0}function ep(e,t){if(e=Y(e),e<1||e>fe)return[];var n=he,r=A(e,he);t=V(t),e-=he;for(var i=cr(r,t);++n<e;)t(n);return i}function tp(e){return W(e)?N(e,Hs):Gu(e)?[e]:B(Vs(X(e)))}function np(e){var t=++Bt;return X(e)+t}var rp=Fo(function(e,t){return e+t},0),ip=Ho(`ceil`),ap=Fo(function(e,t){return e/t},1),op=Ho(`floor`);function sp(e){return e&&e.length?Ui(e,$,$i):n}function cp(e,t){return e&&e.length?Ui(e,V(t,2),$i):n}function lp(e){return nr(e,$)}function up(e,t){return nr(e,V(t,2))}function dp(e){return e&&e.length?Ui(e,$,ba):n}function fp(e,t){return e&&e.length?Ui(e,V(t,2),ba):n}var pp=Fo(function(e,t){return e*t},1),mp=Ho(`round`),hp=Fo(function(e,t){return e-t},0);function gp(e){return e&&e.length?sr(e,$):0}function _p(e,t){return e&&e.length?sr(e,V(t,2)):0}return F.after=Bl,F.ary=Vl,F.assign=id,F.assignIn=ad,F.assignInWith=od,F.assignWith=sd,F.at=cd,F.before=Hl,F.bind=Ul,F.bindAll=Ef,F.bindKey=Wl,F.castArray=lu,F.chain=nl,F.chunk=Ks,F.compact=qs,F.concat=Js,F.cond=Df,F.conforms=Of,F.constant=kf,F.countBy=pl,F.create=ld,F.curry=Gl,F.curryRight=Kl,F.debounce=ql,F.defaults=ud,F.defaultsDeep=dd,F.defer=Jl,F.delay=Yl,F.difference=Ys,F.differenceBy=Xs,F.differenceWith=Zs,F.drop=Qs,F.dropRight=$s,F.dropRightWhile=ec,F.dropWhile=tc,F.fill=nc,F.filter=hl,F.flatMap=vl,F.flatMapDeep=yl,F.flatMapDepth=bl,F.flatten=ac,F.flattenDeep=oc,F.flattenDepth=sc,F.flip=Xl,F.flow=jf,F.flowRight=Mf,F.fromPairs=cc,F.functions=vd,F.functionsIn=yd,F.groupBy=Cl,F.initial=dc,F.intersection=fc,F.intersectionBy=pc,F.intersectionWith=mc,F.invert=Cd,F.invertBy=wd,F.invokeMap=Tl,F.iteratee=Nf,F.keyBy=El,F.keys=Z,F.keysIn=Q,F.map=Dl,F.mapKeys=Ed,F.mapValues=Dd,F.matches=Pf,F.matchesProperty=Ff,F.memoize=Zl,F.merge=Od,F.mergeWith=kd,F.method=If,F.methodOf=Lf,F.mixin=Rf,F.negate=Ql,F.nthArg=Vf,F.omit=Ad,F.omitBy=jd,F.once=$l,F.orderBy=Ol,F.over=Hf,F.overArgs=eu,F.overEvery=Uf,F.overSome=Wf,F.partial=tu,F.partialRight=nu,F.partition=kl,F.pick=Md,F.pickBy=Nd,F.property=Gf,F.propertyOf=Kf,F.pull=yc,F.pullAll=bc,F.pullAllBy=xc,F.pullAllWith=Sc,F.pullAt=Cc,F.range=qf,F.rangeRight=Jf,F.rearg=ru,F.reject=Ml,F.remove=wc,F.rest=iu,F.reverse=Tc,F.sampleSize=Pl,F.set=Fd,F.setWith=Id,F.shuffle=Fl,F.slice=Ec,F.sortBy=Rl,F.sortedUniq=Nc,F.sortedUniqBy=Pc,F.split=df,F.spread=au,F.tail=Fc,F.take=Ic,F.takeRight=Lc,F.takeRightWhile=Rc,F.takeWhile=zc,F.tap=rl,F.throttle=ou,F.thru=il,F.toArray=Qu,F.toPairs=Ld,F.toPairsIn=Rd,F.toPath=tp,F.toPlainObject=nd,F.transform=zd,F.unary=su,F.union=Bc,F.unionBy=Vc,F.unionWith=Hc,F.uniq=Uc,F.uniqBy=Wc,F.uniqWith=Gc,F.unset=Bd,F.unzip=Kc,F.unzipWith=qc,F.update=Vd,F.updateWith=Hd,F.values=Ud,F.valuesIn=Wd,F.without=Jc,F.words=wf,F.wrap=cu,F.xor=Yc,F.xorBy=Xc,F.xorWith=Zc,F.zip=Qc,F.zipObject=$c,F.zipObjectDeep=el,F.zipWith=tl,F.entries=Ld,F.entriesIn=Rd,F.extend=ad,F.extendWith=od,Rf(F,F),F.add=rp,F.attempt=Tf,F.camelCase=Jd,F.capitalize=Yd,F.ceil=ip,F.clamp=Gd,F.clone=uu,F.cloneDeep=fu,F.cloneDeepWith=pu,F.cloneWith=du,F.conformsTo=mu,F.deburr=Xd,F.defaultTo=Af,F.divide=ap,F.endsWith=Zd,F.eq=hu,F.escape=Qd,F.escapeRegExp=$d,F.every=ml,F.find=gl,F.findIndex=rc,F.findKey=fd,F.findLast=_l,F.findLastIndex=ic,F.findLastKey=pd,F.floor=op,F.forEach=xl,F.forEachRight=Sl,F.forIn=md,F.forInRight=hd,F.forOwn=gd,F.forOwnRight=_d,F.get=bd,F.gt=gu,F.gte=_u,F.has=xd,F.hasIn=Sd,F.head=lc,F.identity=$,F.includes=wl,F.indexOf=uc,F.inRange=Kd,F.invoke=Td,F.isArguments=vu,F.isArray=W,F.isArrayBuffer=yu,F.isArrayLike=G,F.isArrayLikeObject=K,F.isBoolean=bu,F.isBuffer=xu,F.isDate=Su,F.isElement=Cu,F.isEmpty=wu,F.isEqual=Tu,F.isEqualWith=Eu,F.isError=Du,F.isFinite=Ou,F.isFunction=ku,F.isInteger=Au,F.isLength=ju,F.isMap=Mu,F.isMatch=Nu,F.isMatchWith=Pu,F.isNaN=Fu,F.isNative=Iu,F.isNil=Ru,F.isNull=Lu,F.isNumber=zu,F.isObject=q,F.isObjectLike=J,F.isPlainObject=Bu,F.isRegExp=Vu,F.isSafeInteger=Hu,F.isSet=Uu,F.isString=Wu,F.isSymbol=Gu,F.isTypedArray=Ku,F.isUndefined=qu,F.isWeakMap=Ju,F.isWeakSet=Yu,F.join=hc,F.kebabCase=ef,F.last=gc,F.lastIndexOf=_c,F.lowerCase=tf,F.lowerFirst=nf,F.lt=Xu,F.lte=Zu,F.max=sp,F.maxBy=cp,F.mean=lp,F.meanBy=up,F.min=dp,F.minBy=fp,F.stubArray=Yf,F.stubFalse=Xf,F.stubObject=Zf,F.stubString=Qf,F.stubTrue=$f,F.multiply=pp,F.nth=vc,F.noConflict=zf,F.noop=Bf,F.now=zl,F.pad=rf,F.padEnd=af,F.padStart=of,F.parseInt=sf,F.random=qd,F.reduce=Al,F.reduceRight=jl,F.repeat=cf,F.replace=lf,F.result=Pd,F.round=mp,F.runInContext=e,F.sample=Nl,F.size=Il,F.snakeCase=uf,F.some=Ll,F.sortedIndex=Dc,F.sortedIndexBy=Oc,F.sortedIndexOf=kc,F.sortedLastIndex=Ac,F.sortedLastIndexBy=jc,F.sortedLastIndexOf=Mc,F.startCase=ff,F.startsWith=pf,F.subtract=hp,F.sum=gp,F.sumBy=_p,F.template=mf,F.times=ep,F.toFinite=$u,F.toInteger=Y,F.toLength=ed,F.toLower=hf,F.toNumber=td,F.toSafeInteger=rd,F.toString=X,F.toUpper=gf,F.trim=_f,F.trimEnd=vf,F.trimStart=yf,F.truncate=bf,F.unescape=xf,F.uniqueId=np,F.upperCase=Sf,F.upperFirst=Cf,F.each=xl,F.eachRight=Sl,F.first=lc,Rf(F,function(){var e={};return Ji(F,function(t,n){E.call(F.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),F.VERSION=r,Rn([`bind`,`bindKey`,`curry`,`curryRight`,`partial`,`partialRight`],function(e){F[e].placeholder=F}),Rn([`drop`,`take`],function(e,t){I.prototype[e]=function(r){r=r===n?1:D(Y(r),0);var i=this.__filtered__&&!t?new I(this):this.clone();return i.__filtered__?i.__takeCount__=A(r,i.__takeCount__):i.__views__.push({size:A(r,he),type:e+(i.__dir__<0?`Right`:``)}),i},I.prototype[e+`Right`]=function(t){return this.reverse()[e](t).reverse()}}),Rn([`filter`,`map`,`takeWhile`],function(e,t){var n=t+1,r=n==ce||n==ue;I.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:V(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),Rn([`head`,`last`],function(e,t){var n=`take`+(t?`Right`:``);I.prototype[e]=function(){return this[n](1).value()[0]}}),Rn([`initial`,`tail`],function(e,t){var n=`drop`+(t?``:`Right`);I.prototype[e]=function(){return this.__filtered__?new I(this):this[n](1)}}),I.prototype.compact=function(){return this.filter($)},I.prototype.find=function(e){return this.filter(e).head()},I.prototype.findLast=function(e){return this.reverse().find(e)},I.prototype.invokeMap=z(function(e,t){return typeof e==`function`?new I(this):this.map(function(n){return aa(n,e,t)})}),I.prototype.reject=function(e){return this.filter(Ql(V(e)))},I.prototype.slice=function(e,t){e=Y(e);var r=this;return r.__filtered__&&(e>0||t<0)?new I(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(t=Y(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},I.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},I.prototype.toArray=function(){return this.take(he)},Ji(I.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),a=F[i?`take`+(t==`last`?`Right`:``):t],o=i||/^find/.test(t);a&&(F.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,c=t instanceof I,l=s[0],u=c||W(t),d=function(e){var t=a.apply(F,Wn([e],s));return i&&f?t[0]:t};u&&r&&typeof l==`function`&&l.length!=1&&(c=u=!1);var f=this.__chain__,p=!!this.__actions__.length,m=o&&!f,h=c&&!p;if(!o&&u){t=h?t:new I(this);var g=e.apply(t,s);return g.__actions__.push({func:il,args:[d],thisArg:n}),new Gr(g,f)}return m&&h?e.apply(this,s):(g=this.thru(d),m?i?g.value()[0]:g.value():g)})}),Rn([`pop`,`push`,`shift`,`sort`,`splice`,`unshift`],function(e){var t=Ft[e],n=/^(?:push|sort|unshift)$/.test(e)?`tap`:`thru`,r=/^(?:pop|shift)$/.test(e);F.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(W(i)?i:[],e)}return this[n](function(n){return t.apply(W(n)?n:[],e)})}}),Ji(I.prototype,function(e,t){var n=F[t];if(n){var r=n.name+``;E.call(ir,r)||(ir[r]=[]),ir[r].push({name:t,func:n})}}),ir[No(n,v).name]=[{name:`wrapper`,func:n}],I.prototype.clone=Kr,I.prototype.reverse=qr,I.prototype.value=Jr,F.prototype.at=al,F.prototype.chain=ol,F.prototype.commit=sl,F.prototype.next=cl,F.prototype.plant=ul,F.prototype.reverse=dl,F.prototype.toJSON=F.prototype.valueOf=F.prototype.value=fl,F.prototype.first=F.prototype.head,tn&&(F.prototype[tn]=ll),F})();typeof define==`function`&&typeof define.amd==`object`&&define.amd?(j._=Lr,define(function(){return Lr})):Dn?((Dn.exports=Lr)._=Lr,En._=Lr):j._=Lr}).call(e)})),ee=i(S(),1),te=class{constructor(){this.acceptedNum=0,this.rejectedNum=0,this.pendingNum=0,this.submittedNum=0,this.attemptedNum=0,this.ignoreNum=0,this.se=0,this.firstSolveSubmissions=[],this.lastSolveSubmissions=[]}reset(){this.acceptedNum=0,this.rejectedNum=0,this.pendingNum=0,this.submittedNum=0,this.attemptedNum=0,this.ignoreNum=0,this.se=0,this.firstSolveSubmissions=[],this.lastSolveSubmissions=[]}get dirt(){return this.acceptedNum===0?0:v(this.attemptedNum,this.acceptedNum)}calcSE(e){let t=(e-this.acceptedNum)/e;return this.se=Math.round(t*100)/100,this.se}},ne=class{constructor(){this.id=``,this.label=``,this.statistics=new te,this.balloonColor={background_color:`#a0f0a0`,color:`#000`}}};function re(e){let t=new ne;return t.id=String(e.id),t.label=e.label,e.name&&(t.name=m.fromIText(e.name)),t.timeLimit=e.time_limit,t.memoryLimit=e.memory_limit,e.balloon_color&&(t.balloonColor=ee.default.cloneDeep(e.balloon_color)),t.balloonColor.color=_(t.balloonColor.background_color),t}function ie(e){return e.map(e=>re(e))}function ae(e,t){let n=e.map((e,t)=>{let n=new ne;return n.id=t.toString(),n.label=e,n});if(t!=null)for(let e in t)n[e].balloonColor=ee.default.cloneDeep(t[e]);return n.forEach(e=>{e.balloonColor.color=_(e.balloonColor.background_color)}),n}var oe=class{constructor(e){this.isFirstSolved=e?.teamProblemStatistics?.isFirstSolved??!1,this.isSolved=e?.teamProblemStatistics?.isSolved??!1,this.solvedTimestamp=e?.teamProblemStatistics?.solvedTimestamp??0,this.isSubmitted=e?.teamProblemStatistics?.isSubmitted??!1,this.lastSubmitTimestamp=e?.teamProblemStatistics?.lastSubmitTimestamp??0,this.failedCount=e?.teamProblemStatistics?.failedCount??0,this.pendingCount=e?.teamProblemStatistics?.pendingCount??0,this.ignoreCount=e?.teamProblemStatistics?.ignoreCount??0,this.totalCount=e?.teamProblemStatistics?.totalCount??0,this.submissions=e?.teamProblemStatistics?.submissions??[],this.problem=e?.teamProblemStatistics?.problem??new ne,this.contestPenalty=e?.teamProblemStatistics?.contestPenalty??1200}get isAccepted(){return this.isSolved}get isWrongAnswer(){return!this.isSolved&&this.pendingCount===0&&this.failedCount>0}get isPending(){return!this.isSolved&&this.pendingCount>0}get isUnSubmitted(){return this.totalCount===0}get solvedTimestampToMinute(){return Math.floor(this.solvedTimestamp/60)}get penalty(){return this.isSolved===!1?0:this.solvedTimestampToMinute*60+this.failedCount*this.contestPenalty}get penaltyToMinute(){return Math.floor(this.penalty/60)}get penaltyInSecond(){return this.isSolved===!1?0:this.solvedTimestamp+this.failedCount*this.contestPenalty}},se=function(e){return e.PENDING=`PENDING`,e.RUNNING=`RUNNING`,e.FROZEN=`FROZEN`,e.FINISHED=`FINISHED`,e.PAUSED=`PAUSED`,e}({}),ce=class{constructor(){this.enableOrganization=!1,this.calculationOfPenalty=`in_minutes`,this.submissionTimestampUnit=`second`,this.submissionHasTimeField=!1,this.submissionHasLanguageField=!1,this.submissionEnableActionField=!1,this.submissionHasReactionField=!1,this.submissionHasExternalUrlField=!1,this.submissionHasRealtimeReactionStreamField=!1,this.disablePendingPage=!1}};function le(e={}){let t=e,n=new ce;return n.enableOrganization=!!t.enable_organization,t.calculation_of_penalty&&(n.calculationOfPenalty=t.calculation_of_penalty),t.submission_timestamp_unit&&(n.submissionTimestampUnit=t.submission_timestamp_unit),t.has_reaction_videos&&(n.submissionHasReactionField=!0),t.submission_external_url_template&&(n.submissionHasExternalUrlField=!0,n.submissionExternalUrlTemplate=t.submission_external_url_template),(t.realtime_reaction_webcam_stream_url_template||t.realtime_reaction_screen_stream_url_template)&&(n.submissionHasRealtimeReactionStreamField=!0,n.realtimeReactionWebcamStreamUrlTemplate=t.realtime_reaction_webcam_stream_url_template,n.realtimeReactionScreenStreamUrlTemplate=t.realtime_reaction_screen_stream_url_template),n.submissionEnableActionField=n.submissionHasReactionField||n.submissionHasExternalUrlField||n.submissionHasRealtimeReactionStreamField,n.reactionVideoUrlTemplate=t.reaction_video_url_template,n.teamPhotoTemplate=t.team_photo_url_template,n.organizationLogoTemplate=t.organization_logo_template,n.teamWebcamStreamUrlTemplate=t.team_webcam_stream_url_template,n.teamScreenStreamUrlTemplate=t.team_screen_stream_url_template,n.disablePendingPage=!!t.disable_pending_page,n}var ue=class{constructor(){this.name=new m,this.isDefault=!1}},de=class{constructor(){this.id=``,this.name=new m,this.teams=[],this.rank=-1}reset(){this.rank=-1}static compare(e,t){return e.id<t.id?-1:+(e.id>t.id)}};function fe(e,t){if(e?.url)return{...e,url:e.url.replace(/\$\{organization_id\}/g,t)}}function pe(e,t){let n=new de;return n.id=e.id,n.name=m.fromIText(e.name),n.logo=e.logo??fe(t,n.id),n.icpcID=e.icpc_id,n}function me(e,t){return e.map(e=>pe(e,t))}var he=class{constructor(){this.title=new m,this.rowLabels=[],this.grid=[]}},ge=class{constructor(){this.sections=[]}buildSeatToTeamMap(e){let t=new Map;for(let n of e)n.location&&t.set(n.location,n);return t}};function _e(e){let t=new he;return t.title=m.fromIText(e.title??``),t.rowLabels=e.rowLabels??[],t.grid=e.grid??[],t}function ve(e){let t=new ge;return t.sections=(e.sections??[]).map(_e),t}var ye=class{constructor(){this.id=``,this.name=new m,this.startTime=g(),this.endTime=g(),this.freezeTime=g(),this.totalDurationTimestamp=0,this.freezeDurationTimestamp=0,this.unFreezeDurationTimestamp=0,this.penalty=1200,this.problems=[],this.problemsMap=new Map,this.statusTimeDisplay={correct:!0,incorrect:!0,pending:!0},this.group=new Map,this.tag=new Map,this.options=new ce}getStartTime(){return this.replayStartTime??this.startTime}getEndTime(){return this.replayEndTime??this.endTime}getFreezeTime(){return this.replayFreezeTime??this.freezeTime}getContestDuration(e=`HH:mm:ss`){return p.default.duration(this.getEndTime().diff(this.getStartTime())).format(e)}getContestState(e){let t=g(e);return t.isBefore(this.getStartTime())?se.PENDING:t.isSameOrAfter(this.getEndTime())?se.FINISHED:t.isSameOrAfter(this.getFreezeTime())?se.FROZEN:se.RUNNING}getContestPendingTime(e){let t=g(e);return t.isAfter(this.getStartTime())&&(t=this.getStartTime()),h(Math.floor(p.default.duration(this.getStartTime().diff(t)).asSeconds()))}getContestElapsedTime(e){let t=g(e);return t.isAfter(this.getEndTime())&&(t=this.getEndTime()),t.isBefore(this.getStartTime())&&(t=this.getStartTime()),h(Math.floor(p.default.duration(t.diff(this.getStartTime())).asSeconds()))}getContestRemainingTime(e){let t=g(e);return t.isAfter(this.getEndTime())&&(t=this.getEndTime()),t.isBefore(this.getStartTime())&&(t=this.getStartTime()),h(Math.floor(p.default.duration(this.getEndTime().diff(t)).asSeconds()))}getContestProgressRatio(e){let t=g(e);if(this.getStartTime().isSameOrAfter(t))return 0;if(this.getEndTime().isSameOrBefore(t))return 100;let n=this.getEndTime().diff(this.getStartTime(),`s`),r=t.diff(this.getStartTime(),`s`);return Math.round(r*100/n)}isEnableAwards(e){return!(!this.awards||!this.awards.has(e))}resetReplayTime(){this.replayStartTime=void 0,this.replayEndTime=void 0,this.replayFreezeTime=void 0,this.replayNowTime=void 0,this.replayContestStartTimestamp=void 0}setReplayTime(e){if(e===0){this.resetReplayTime();return}let t=g(e).diff(this.startTime,`s`);this.replayStartTime=this.startTime.add(t,`s`),this.replayEndTime=this.endTime.add(t,`s`),this.replayFreezeTime=this.freezeTime.add(t,`s`),this.replayNowTime=g(),this.replayContestStartTimestamp=this.replayNowTime.diff(this.replayStartTime,`s`)}};function be(e){let t=new ye;if(t.name=m.fromIText(e.contest_name),t.startTime=g(e.start_time),t.endTime=g(e.end_time),t.totalDurationTimestamp=t.endTime.unix()-t.startTime.unix(),t.freezeTime=t.endTime,t.freezeDurationTimestamp=0,e.frozen_time!==void 0&&e.frozen_time!=null){let n=Number(e.frozen_time);t.freezeTime=g(t.endTime.unix()-n),t.freezeDurationTimestamp=n}e.freeze_time!==void 0&&e.freeze_time!==null&&(t.freezeTime=g(e.freeze_time),t.freezeDurationTimestamp=t.endTime.unix()-t.freezeTime.unix()),t.unFreezeDurationTimestamp=t.totalDurationTimestamp-t.freezeDurationTimestamp,t.penalty=e.penalty,e.problem_id!==void 0&&e.problem_id!==null&&(t.problems=ae(e.problem_id,e.balloon_color)),e.problems!==void 0&&e.problems!==null&&(t.problems=ie(e.problems)),t.problemsMap=new Map(t.problems.map(e=>[e.id,e])),e.status_time_display!==void 0&&e.status_time_display!==null&&(t.statusTimeDisplay={correct:!!(e.status_time_display.correct??!1),incorrect:!!(e.status_time_display.incorrect??!1),pending:!!(e.status_time_display.pending??!1)}),t.medal=e.medal,(()=>{if(!(e.medal===void 0||e.medal===null)&&(t.awards=new Map,typeof e.medal!=`string`))for(let n in e.medal){let r=e.medal[n];{let e=[],i=1,a=(t,n)=>{if(Object.keys(r).includes(t)){let a=new b;a.medalType=n,a.minRank=i,i+=Number(r[t]),a.maxRank=i-1,e.push(a)}};a(`gold`,y.GOLD),a(`silver`,y.SILVER),a(`bronze`,y.BRONZE);{let t=new b;t.medalType=y.HONORABLE,t.minRank=i,t.maxRank=1061109567,e.push(t)}t.awards.set(n,e)}}})();{let e=new ue;e.name.fallbackLang=`zh-CN`,e.name.set(`en`,`All`),e.name.set(`zh-CN`,`所有队伍`),e.isDefault=!0,t.group.set(`all`,e)}for(let[n,r]of Object.entries(e?.group??{})){let e=n,i=new ue;i.name.fallbackLang=`zh-CN`,i.name.set(`zh-CN`,r),n===`official`&&i.name.set(`en`,`Official`),n===`unofficial`&&i.name.set(`en`,`Unofficial`),(n===`girl`||n===`girls`)&&(i.name.set(`en`,`Girls`),e=`girl`),t.group.set(e,i)}return t.banner=e.banner,t.banner&&(t.bannerMode=e.banner_mode??`ALL`),t.logo=e.logo,t.boardLink=e.board_link,t.socialMedia=e.social_media,e.options&&(t.options=le(e.options)),e.organizations&&(t.organizations=me(e.organizations,t.options.organizationLogoTemplate)),e.seat_map&&!(`url`in e.seat_map)&&(t.seatMap=ve(e.seat_map)),t}e();var xe=(...e)=>{let t=r().proxy.$props,n=Object.create(null);for(let r of e)if(typeof r==`string`)n[r]=u(t,r,void 0,{eventName:`update:${r}`,passive:!0});else{let[e,i=e,a=`update:${e}`,o={}]=r;n[e]=u(t,i,void 0,{eventName:a,passive:!0,...o})}return n};a(),e();var Se=new WeakMap;function C(e,n,r={}){let{mode:i=`replace`,route:a=l(),router:u=f(),transform:p}=r,m=e=>e,h=e=>e;typeof p==`function`?m=p:p&&(p.get&&(m=p.get),p.set&&(h=p.set)),Se.has(u)||Se.set(u,new Map);let g=Se.get(u),_=a.query[e];d(()=>{_=void 0});let v,y=c((t,r)=>(v=r,{get(){return t(),m(_===void 0?s(n):_)},set(t){t=h(t),_!==t&&(_=t===s(n)?void 0:t,g.set(e,t===s(n)?void 0:t),r(),o(()=>{if(g.size===0)return;let e=Object.fromEntries(g.entries());g.clear();let{path:t,query:n,hash:r}=a;u[s(i)]({path:t,query:{...n,...e},hash:r})}))}}));return t(()=>a.query[e],e=>{_!==m(e)&&(_=e,v())},{flush:`sync`}),y}function Ce(){return C(`s`,``,{transform:String})}function we(){return C(`data-source`,``,{transform:String})}function Te(){return C(`group`,`all`,{transform:String})}function Ee(){return C(`replay-start-time`,`0`,{transform:Number})}function De(){return C(`progress-ratio`,-1,{transform:Number})}function Oe(){return C(`battle-of-giants`,``,{transform:String})}function ke(){return C(`component`,`board`,{transform:String})}export{S as _,De as a,x as b,C as c,be as d,de as f,oe as g,ne as h,Te as i,xe as l,se as m,ke as n,Ee as o,fe as p,we as r,Ce as s,Oe as t,ye as u,b as v,y};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ut as e}from"./vue.runtime.esm-bundler-DTMOfGWR.js";import{_ as t,f as n,g as r,h as i,p as a,v as o,y as s}from"./query-XskWvdZB.js";import{c,s as ee}from"./utils-Cfm-h8Z9.js";import{n as l}from"./person-DrN1htE6.js";var u=function(e){return e.PENDING=`PENDING`,e.WAITING=`WAITING`,e.PREPARING=`PREPARING`,e.COMPILING=`COMPILING`,e.RUNNING=`RUNNING`,e.JUDGING=`JUDGING`,e.FROZEN=`FROZEN`,e.ACCEPTED=`ACCEPTED`,e.CORRECT=`CORRECT`,e.PARTIALLY_CORRECT=`PARTIALLY_CORRECT`,e.REJECTED=`REJECTED`,e.WRONG_ANSWER=`WRONG_ANSWER`,e.NO_OUTPUT=`NO_OUTPUT`,e.COMPILATION_ERROR=`COMPILATION_ERROR`,e.PRESENTATION_ERROR=`PRESENTATION_ERROR`,e.RUNTIME_ERROR=`RUNTIME_ERROR`,e.TIME_LIMIT_EXCEEDED=`TIME_LIMIT_EXCEEDED`,e.MEMORY_LIMIT_EXCEEDED=`MEMORY_LIMIT_EXCEEDED`,e.OUTPUT_LIMIT_EXCEEDED=`OUTPUT_LIMIT_EXCEEDED`,e.IDLENESS_LIMIT_EXCEEDED=`IDLENESS_LIMIT_EXCEEDED`,e.HACKED=`HACKED`,e.JUDGEMENT_FAILED=`JUDGEMENT_FAILED`,e.CONFIGURATION_ERROR=`CONFIGURATION_ERROR`,e.FILE_ERROR=`FILE_ERROR`,e.SYSTEM_ERROR=`SYSTEM_ERROR`,e.CANCELED=`CANCELED`,e.SKIPPED=`SKIPPED`,e.SECURITY_VIOLATED=`SECURITY_VIOLATED`,e.DENIAL_OF_JUDGEMENT=`DENIAL_OF_JUDGEMENT`,e.UNKNOWN=`UNKNOWN`,e.UNDEFINED=`UNDEFINED`,e}({}),te={PENDING:`Pending`,WAITING:`Waiting`,PREPARING:`Preparing`,COMPILING:`Compiling`,RUNNING:`Running`,JUDGING:`Judging`,FROZEN:`Frozen`,ACCEPTED:`Accepted`,CORRECT:`Correct`,PARTIALLY_CORRECT:`Partially Correct`,REJECTED:`Rejected`,WRONG_ANSWER:`Wrong Answer`,NO_OUTPUT:`No Output`,COMPILATION_ERROR:`Compilation Error`,PRESENTATION_ERROR:`Presentation Error`,RUNTIME_ERROR:`Runtime Error`,TIME_LIMIT_EXCEEDED:`Time Limit Exceeded`,MEMORY_LIMIT_EXCEEDED:`Memory Limit Exceeded`,OUTPUT_LIMIT_EXCEEDED:`Output Limit Exceeded`,IDLENESS_LIMIT_EXCEEDED:`Idleness Limit Exceeded`,HACKED:`Hacked`,JUDGEMENT_FAILED:`Judgement Failed`,CONFIGURATION_ERROR:`Configuration Error`,FILE_ERROR:`File Error`,SYSTEM_ERROR:`System Error`,CANCELED:`Canceled`,SKIPPED:`Skipped`,SECURITY_VIOLATED:`Security Violated`,DENIAL_OF_JUDGEMENT:`Denial Of Judgement`,UNKNOWN:`Unknown`,UNDEFINED:`Undefined`},ne={PENDING:`PD`,WAITING:`PD`,PREPARING:`PD`,COMPILING:`PD`,RUNNING:`PD`,JUDGING:`PD`,FROZEN:`?`,ACCEPTED:`AC`,CORRECT:`AC`,PARTIALLY_CORRECT:`RJ`,REJECTED:`RJ`,WRONG_ANSWER:`WA`,NO_OUTPUT:`NO`,COMPILATION_ERROR:`CE`,PRESENTATION_ERROR:`PE`,RUNTIME_ERROR:`RTE`,TIME_LIMIT_EXCEEDED:`TLE`,MEMORY_LIMIT_EXCEEDED:`MLE`,OUTPUT_LIMIT_EXCEEDED:`OLE`,IDLENESS_LIMIT_EXCEEDED:`ILE`,HACKED:`RJ`,JUDGEMENT_FAILED:`RJ`,CONFIGURATION_ERROR:`RJ`,FILE_ERROR:`RJ`,SYSTEM_ERROR:`RJ`,CANCELED:`RJ`,SKIPPED:`RJ`,SECURITY_VIOLATED:`RJ`,DENIAL_OF_JUDGEMENT:`RJ`,UNKNOWN:`RJ`,UNDEFINED:`RJ`},d=e(t(),1);function re(e){return e=e.toUpperCase().replace(` `,`_`),[`OK`,`AC`,u.ACCEPTED.toString()].includes(e)||[u.CORRECT.toString()].includes(e)?u.ACCEPTED:[u.PARTIALLY_CORRECT.toString()].includes(e)?u.PARTIALLY_CORRECT:[`WA`,u.WRONG_ANSWER.toString()].includes(e)?u.WRONG_ANSWER:[`RJ`,`INCORRECT`,u.REJECTED.toString()].includes(e)?u.REJECTED:[`NO`,u.NO_OUTPUT.toString()].includes(e)?u.NO_OUTPUT:[`PD`,u.PENDING.toString()].includes(e)?u.PENDING:[u.WAITING.toString()].includes(e)?u.WAITING:[u.JUDGING.toString()].includes(e)?u.JUDGING:[u.FROZEN.toString()].includes(e)?u.FROZEN:[`CE`,u.COMPILATION_ERROR.toString()].includes(e)?u.COMPILATION_ERROR:[`PE`,u.PRESENTATION_ERROR.toString()].includes(e)?u.PRESENTATION_ERROR:[`TL`,`TLE`,u.TIME_LIMIT_EXCEEDED.toString()].includes(e)?u.TIME_LIMIT_EXCEEDED:[`ML`,`MLE`,u.MEMORY_LIMIT_EXCEEDED.toString()].includes(e)?u.MEMORY_LIMIT_EXCEEDED:[`OL`,`OLE`,u.OUTPUT_LIMIT_EXCEEDED.toString()].includes(e)?u.OUTPUT_LIMIT_EXCEEDED:[`IL`,`ILE`,u.IDLENESS_LIMIT_EXCEEDED.toString()].includes(e)?u.IDLENESS_LIMIT_EXCEEDED:[`RT`,`RE`,`RTE`,u.RUNTIME_ERROR.toString()].includes(e)?u.RUNTIME_ERROR:[`JE`,u.JUDGEMENT_FAILED.toString()].includes(e)?u.JUDGEMENT_FAILED:[`SE`,u.SYSTEM_ERROR.toString()].includes(e)?u.SYSTEM_ERROR:[u.HACKED.toString()].includes(e)?u.HACKED:[u.CONFIGURATION_ERROR.toString()].includes(e)?u.CONFIGURATION_ERROR:[u.CANCELED.toString()].includes(e)?u.CANCELED:[u.SKIPPED.toString()].includes(e)?u.SKIPPED:[u.SECURITY_VIOLATED.toString()].includes(e)?u.SECURITY_VIOLATED:[u.DENIAL_OF_JUDGEMENT.toString()].includes(e)?u.DENIAL_OF_JUDGEMENT:u.UNKNOWN}function f(e){return[u.ACCEPTED,u.CORRECT].includes(e)}function p(e){return[u.RUNTIME_ERROR,u.TIME_LIMIT_EXCEEDED,u.MEMORY_LIMIT_EXCEEDED,u.OUTPUT_LIMIT_EXCEEDED,u.IDLENESS_LIMIT_EXCEEDED,u.WRONG_ANSWER,u.REJECTED,u.NO_OUTPUT,u.JUDGEMENT_FAILED,u.HACKED].includes(e)}function m(e){return[u.PENDING,u.WAITING,u.COMPILING,u.JUDGING,u.FROZEN].includes(e)}function h(e){return[u.COMPILATION_ERROR,u.PRESENTATION_ERROR,u.CONFIGURATION_ERROR,u.SYSTEM_ERROR,u.CANCELED,u.SKIPPED,u.UNKNOWN,u.UNDEFINED].includes(e)}var g=class{constructor(){this.status=u.UNKNOWN,this.isIgnore=!1,this.isSolved=!1,this.isFirstSolved=!1,this.id=``,this.teamId=``,this.problemId=``,this.timestamp=0,this.timestampUnit=`second`}isAccepted(){return f(this.status)}isRejected(){return p(this.status)}isPending(){return m(this.status)}isNotCalculatedPenaltyStatus(){return h(this.status)}get timestampToMinute(){return this.timestampUnit===`nanosecond`?Math.floor(this.timestamp/60/1e3/1e3/1e3):this.timestampUnit===`microsecond`?Math.floor(this.timestamp/60/1e3/1e3):this.timestampUnit===`millisecond`?Math.floor(this.timestamp/60/1e3):Math.floor(this.timestamp/60)}get timestampToSecond(){return this.timestampUnit===`nanosecond`?Math.floor(this.timestamp/1e3/1e3/1e3):this.timestampUnit===`microsecond`?Math.floor(this.timestamp/1e3/1e3):this.timestampUnit===`millisecond`?Math.floor(this.timestamp/1e3):this.timestamp}get timestampDisplayFormatWithSecond(){let e=this.timestampToSecond,t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=e%60,i=e=>e.toString().padStart(2,`0`);return`${i(t)}:${i(n)}:${i(r)}`}get timestampDisplayFormatWithMilliSecond(){let e=this.timestampDisplayFormatWithSecond;if(this.timestampUnit===`millisecond`){let t=(this.timestamp%1e3).toString().padStart(3,`0`);e+=`.${t}`}return e}static compare(e,t){if(e.timestamp!==t.timestamp)return e.timestamp-t.timestamp;if(e.teamId===t.teamId){if(e.isAccepted()&&!t.isAccepted())return-1;if(!e.isAccepted()&&t.isAccepted())return 1}return e.id<t.id?-1:e.id===t.id?0:1}};function _(e,t){let n=new g;return n.id=String(e.id??e.submission_id??``),n.teamId=String(e.team_id),n.problemId=String(e.problem_id),n.timestamp=e.timestamp,n.status=re(e.status),n.isIgnore=e.is_ignore??!1,e.time&&(n.time=e.time),e.language&&(n.language=e.language),e.reaction?n.reaction=e.reaction:t?.options.reactionVideoUrlTemplate&&!e.missing_reaction&&(n.reaction={url:t.options.reactionVideoUrlTemplate.replace(/\$\{submission_id\}/,n.id)}),t?.options.submissionExternalUrlTemplate&&(n.externalUrl=t.options.submissionExternalUrlTemplate.replace(/\$\{submission_id\}/,n.id)),n}function v(e,t){return Array.isArray(e)?e.map((e,n)=>_({...e,id:e.id??e.submission_id??String(n)},t)):Object.entries(e).map(([e,n])=>_({...n,id:n.id??n.submission_id??String(e)},t))}var y=class{constructor(){this.id=``,this.name=new c,this.isFirstRankOfOrganization=!1,this.group=[],this.tag=[],this.coaches=[],this.members=[],this.rank=0,this.originalRank=0,this.solvedProblemNum=0,this.attemptedProblemNum=0,this.lastSolvedProblem=null,this.lastSolvedProblemStatistics=null,this.penalty=0,this.problemStatistics=[],this.problemStatisticsMap=new Map,this.submissions=[],this.placeChartPoints=[],this.awards=[],this.missingPhoto=!1,this.se=0}reset(){this.isFirstRankOfOrganization=!1,this.rank=0,this.originalRank=0,this.solvedProblemNum=0,this.attemptedProblemNum=0,this.lastSolvedProblem=null,this.lastSolvedProblemStatistics=null,this.penalty=0,this.problemStatistics=[],this.problemStatisticsMap=new Map,this.submissions=[],this.placeChartPoints=[],this.awards=[],this.se=0}get penaltyToMinute(){return Math.floor(this.penalty/60)}get isUnofficial(){return this.group.includes(`unofficial`)}get isGirl(){return this.group.includes(`girl`)}get isEffectiveTeam(){return this.solvedProblemNum>0}get dirt(){let e=this.attemptedProblemNum,t=this.solvedProblemNum;return ee(e,t)}membersToString(e){return this.members.map(t=>t.name.getOrDefault(e)).join(`, `)}coachesToString(e){return this.coaches.map(t=>t.name.getOrDefault(e)).join(`, `)}calcSE(e){let t=0,n=0;if(this.problemStatistics.forEach(e=>{e.isSolved&&(t+=1,n+=e.problem.statistics.acceptedNum)}),e===0||t===0)return 0;let r=(t*e-n)/e/t;return this.se=Math.round(r*100)/100,this.se}calcSolvedData(e){this.solvedProblemNum=0,this.attemptedProblemNum=0,this.penalty=0;for(let t of this.problemStatistics)t.isAccepted&&(this.solvedProblemNum++,this.attemptedProblemNum+=t.failedCount+1,e?.calculationOfPenalty===`in_seconds`||e?.calculationOfPenalty===`accumulate_in_seconds_and_finally_to_the_minute`?this.penalty+=t.penaltyInSecond:this.penalty+=t.penalty);e?.calculationOfPenalty===`accumulate_in_seconds_and_finally_to_the_minute`&&(this.penalty=Math.floor(this.penalty/60)*60)}calcAwards(e){if(e)for(let t of e)this.rank>=t.minRank&&this.rank<=t.maxRank&&this.awards.push(t.medalType)}isEqualRank(e){return this.solvedProblemNum===e.solvedProblemNum&&this.penalty===e.penalty&&this.lastSolvedProblemStatistics?.solvedTimestampToMinute===e.lastSolvedProblemStatistics?.solvedTimestampToMinute}postProcessPlaceChartPoints(){if(this.placeChartPoints.length===0)return;let e=[];e.push(this.placeChartPoints[0]);for(let t=1;t<this.placeChartPoints.length-1;t++){let n=this.placeChartPoints[t],r=e[e.length-1];(n.rank!==r.rank||n.lastSolvedProblem!==r.lastSolvedProblem)&&e.push(n)}this.placeChartPoints.length>1&&e.push(this.placeChartPoints[this.placeChartPoints.length-1]),this.placeChartPoints=e}static compare(e,t){return e.solvedProblemNum===t.solvedProblemNum?e.penalty===t.penalty?e.lastSolvedProblemStatistics&&t.lastSolvedProblemStatistics?e.lastSolvedProblemStatistics.solvedTimestampToMinute-t.lastSolvedProblemStatistics.solvedTimestampToMinute:e.name<t.name?-1:+(e.name>t.name):e.penalty-t.penalty:t.solvedProblemNum-e.solvedProblemNum}};function b(e){let t=new y;t.id=e.id??e.team_id??``,t.name=c.fromIText(e.name??e.team_name??``),e.description&&(t.description=c.fromIText(e.description)),e.organization?(t.organizationId=e.organization,t.organizationName=e.organization):t.organizationId=e.organization_id,t.group=d.default.cloneDeep(e.group??[]),t.tag=d.default.cloneDeep(e.tag??[]),t.members=l(e.members),e.coach?t.coaches=l(e.coach):t.coaches=l(e.coaches),e.official&&t.group.push(`official`),e.unofficial&&t.group.push(`unofficial`),e.girl&&t.group.push(`girl`);{let n=e;for(let e of Object.keys(n))e!==`missing_photo`&&(n[e]===1||n[e]===!0)&&t.group.push(e)}return t.group=[...new Set(t.group)],t.group.sort(),t.badge=e.badge,e.missing_photo&&(t.missingPhoto=!0),t.photo=e.photo,e.location&&(t.location=e.location),e.icpc_id&&(t.icpcID=e.icpc_id),e.ip&&(t.ip=e.ip),t}function ie(e){return Array.isArray(e)?e.map(e=>b(e)):Object.entries(e).map(([e,t])=>b({...t,id:t.id??t.team_id??String(e)}))}var x=class{constructor(){this.problem=new i,this.team=new y,this.submission=new g}get key(){return`balloon-${this.team.id}-${this.problem.id}`}static compare(e,t){return g.compare(e.submission,t.submission)}},S=`3.7.8`,C=S,w=typeof Buffer==`function`,T=typeof TextDecoder==`function`?new TextDecoder:void 0,E=typeof TextEncoder==`function`?new TextEncoder:void 0,D=Array.prototype.slice.call(`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`),O=(e=>{let t={};return e.forEach((e,n)=>t[e]=n),t})(D),ae=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,k=String.fromCharCode.bind(String),A=typeof Uint8Array.from==`function`?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),j=e=>e.replace(/=/g,``).replace(/[+\/]/g,e=>e==`+`?`-`:`_`),M=e=>e.replace(/[^A-Za-z0-9\+\/]/g,``),N=e=>{let t,n,r,i,a=``,o=e.length%3;for(let o=0;o<e.length;){if((n=e.charCodeAt(o++))>255||(r=e.charCodeAt(o++))>255||(i=e.charCodeAt(o++))>255)throw TypeError(`invalid character found`);t=n<<16|r<<8|i,a+=D[t>>18&63]+D[t>>12&63]+D[t>>6&63]+D[t&63]}return o?a.slice(0,o-3)+`===`.substring(o):a},P=typeof btoa==`function`?e=>btoa(e):w?e=>Buffer.from(e,`binary`).toString(`base64`):N,F=w?e=>Buffer.from(e).toString(`base64`):e=>{let t=4096,n=[];for(let r=0,i=e.length;r<i;r+=t)n.push(k.apply(null,e.subarray(r,r+t)));return P(n.join(``))},I=(e,t=!1)=>t?j(F(e)):F(e),oe=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?k(192|t>>>6)+k(128|t&63):k(224|t>>>12&15)+k(128|t>>>6&63)+k(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return k(240|t>>>18&7)+k(128|t>>>12&63)+k(128|t>>>6&63)+k(128|t&63)}},se=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,L=e=>e.replace(se,oe),R=w?e=>Buffer.from(e,`utf8`).toString(`base64`):E?e=>F(E.encode(e)):e=>P(L(e)),z=(e,t=!1)=>t?j(R(e)):R(e),B=e=>z(e,!0),ce=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,le=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return k((t>>>10)+55296)+k((t&1023)+56320);case 3:return k((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return k((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},V=e=>e.replace(ce,le),H=e=>{if(e=e.replace(/\s+/g,``),!ae.test(e))throw TypeError(`malformed base64.`);e+=`==`.slice(2-(e.length&3));let t,n,r,i=[];for(let a=0;a<e.length;)t=O[e.charAt(a++)]<<18|O[e.charAt(a++)]<<12|(n=O[e.charAt(a++)])<<6|(r=O[e.charAt(a++)]),n===64?i.push(k(t>>16&255)):r===64?i.push(k(t>>16&255,t>>8&255)):i.push(k(t>>16&255,t>>8&255,t&255));return i.join(``)},U=typeof atob==`function`?e=>atob(M(e)):w?e=>Buffer.from(e,`base64`).toString(`binary`):H,W=w?e=>A(Buffer.from(e,`base64`)):e=>A(U(e).split(``).map(e=>e.charCodeAt(0))),G=e=>W(K(e)),ue=w?e=>Buffer.from(e,`base64`).toString(`utf8`):T?e=>T.decode(W(e)):e=>V(U(e)),K=e=>M(e.replace(/[-_]/g,e=>e==`-`?`+`:`/`)),q=e=>ue(K(e)),de=e=>{if(typeof e!=`string`)return!1;let t=e.replace(/\s+/g,``).replace(/={0,2}$/,``);return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},J=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),Y=function(){let e=(e,t)=>Object.defineProperty(String.prototype,e,J(t));e(`fromBase64`,function(){return q(this)}),e(`toBase64`,function(e){return z(this,e)}),e(`toBase64URI`,function(){return z(this,!0)}),e(`toBase64URL`,function(){return z(this,!0)}),e(`toUint8Array`,function(){return G(this)})},X=function(){let e=(e,t)=>Object.defineProperty(Uint8Array.prototype,e,J(t));e(`toBase64`,function(e){return I(this,e)}),e(`toBase64URI`,function(){return I(this,!0)}),e(`toBase64URL`,function(){return I(this,!0)})},Z={version:S,VERSION:C,atob:U,atobPolyfill:H,btoa:P,btoaPolyfill:N,fromBase64:q,toBase64:z,encode:z,encodeURI:B,encodeURL:B,utob:L,btou:V,decode:q,isValid:de,fromUint8Array:I,toUint8Array:G,extendString:Y,extendUint8Array:X,extendBuiltins:()=>{Y(),X()}},fe=function(e){return e[e.BLUE=0]=`BLUE`,e[e.RED=1]=`RED`,e}({}),Q=class{constructor(e=0){this.type=e,this.name=`${e===0?`Blue`:`Red`} Team`,this.teams=[],this.filterOrganizations=[],this.filterOrganizationMap=new Map,this.filterTeams=[],this.filterTeamMap=new Map}setFilterOrganizations(e){let t=new Map;e.forEach(e=>{t.set(e.value,e)}),this.filterOrganizations=e,this.filterOrganizationMap=t}setFilterTeams(e){let t=new Map;e.forEach(e=>{t.set(e.value,e)}),this.filterTeams=e,this.filterTeamMap=t}refreshName(){return this.filterOrganizations.length>0?this.name=this.filterOrganizations[0].text:this.name=`${this.type===0?`Blue`:`Red`} Team`,this.name}get totalSolvedProblemNum(){let e=0;return this.teams.forEach(t=>{e+=t.solvedProblemNum}),e}get totalPenalty(){let e=0;return this.teams.forEach(t=>{e+=t.penaltyToMinute}),e}get totalPenaltyToString(){let e=this.totalPenalty,t=e=>e<10?`0${e}`:String(e),n=Math.floor(e/60),r=Math.floor(e%60);return[t(n),t(r)].join(`:`)}toJSON(){return{type:this.type,name:this.name,filterOrganizations:this.filterOrganizations,filterTeams:this.filterTeams}}},pe=class{constructor(){this.enable=!1,this.topX=5,this.equalTeams=!0,this.persist=!1,this.blueTeam=new Q(0),this.redTeam=new Q(1)}ToBase64(){return Z.encode(JSON.stringify(this))}FromBase64(e){if(e.length===0||Z.isValid(e)===!1)return;let t=JSON.parse(Z.decode(e));this.enable=t.enable,this.topX=t.topX,this.equalTeams=t.equalTeams,this.persist=t.persist,this.blueTeam=new Q(0),this.blueTeam.name=t.blueTeam.name,this.blueTeam.setFilterOrganizations(t.blueTeam.filterOrganizations),this.blueTeam.setFilterTeams(t.blueTeam.filterTeams),this.redTeam=new Q(1),this.redTeam.name=t.redTeam.name,this.redTeam.setFilterOrganizations(t.redTeam.filterOrganizations),this.redTeam.setFilterTeams(t.redTeam.filterTeams)}},me=class{constructor(){this.teamSolvedNum=[],this.teamSolvedNumIndex=[],this.maxSolvedProblems=0,this.effectiveTeamNum=0,this.totalTeamNum=0}reset(){this.teamSolvedNum=[],this.teamSolvedNumIndex=[],this.maxSolvedProblems=0,this.effectiveTeamNum=0,this.totalTeamNum=0}getTeamSolvedNumIndex(e){return this.teamSolvedNumIndex[e]??0}},$=class{constructor(){this.enableFilterSubmissionsByTimestamp=!1,this.width=0,this.timestamp=0,this.enableFilterTeamsByGroup=!1,this.group=`all`,this.filterOrganizations=[],this.filterOrganizationMap=new Map,this.filterTeams=[],this.filterTeamMap=new Map,this.filterTeamIds=[],this.filterTeamIdMap=new Map,this.enableAnimatedSubmissions=!1,this.battleOfGiants=new pe}setSelf(e){this.enableFilterSubmissionsByTimestamp=e.enableFilterSubmissionsByTimestamp,this.width=e.width,this.timestamp=e.timestamp,this.enableFilterTeamsByGroup=e.enableFilterTeamsByGroup,this.group=e.group,this.filterOrganizations=e.filterOrganizations,this.filterOrganizationMap=e.filterOrganizationMap,this.filterTeams=e.filterTeams,this.filterTeamMap=e.filterTeamMap,this.filterTeamIds=e.filterTeamIds,this.filterTeamIdMap=e.filterTeamIdMap,this.enableAnimatedSubmissions=e.enableAnimatedSubmissions,this.battleOfGiants=e.battleOfGiants}setWidth(e,t){this.width=e,this.timestamp=Math.floor((t.getEndTime().unix()-t.getStartTime().unix())*this.width*1e-4),this.enableFilterSubmissionsByTimestamp=!0}disableFilterSubmissionByTimestamp(){this.enableFilterSubmissionsByTimestamp=!1}setGroup(e){this.group=e,this.enableFilterTeamsByGroup=!0,this.group===`all`&&this.disableFilterTeamsByGroup()}disableFilterTeamsByGroup(){this.enableFilterTeamsByGroup=!1,this.group=`all`}setFilterOrganizations(e){let t=new Map;e.forEach(e=>{t.set(e.value,e)}),this.filterOrganizations=e,this.filterOrganizationMap=t}setFilterTeams(e){let t=new Map;e.forEach(e=>{t.set(e.value,e)}),this.filterTeams=e,this.filterTeamMap=t}setFilterTeamIds(e){let t=new Map;e.forEach(e=>{t.set(e.value,e)}),this.filterTeamIds=e,this.filterTeamIdMap=t}isNeedReBuildRank(e){return this.enableFilterSubmissionsByTimestamp!==e.enableFilterSubmissionsByTimestamp||this.width!==e.width||this.timestamp!==e.timestamp||this.enableFilterTeamsByGroup!==e.enableFilterTeamsByGroup||this.group!==e.group}},he=class{constructor(e,t,r){this.contest=e,this.teams=d.default.cloneDeep(t),this.teamsMap=new Map(this.teams.map(e=>[e.id,e])),this.submissions=d.default.cloneDeep(r).sort(g.compare);{let e=this.contest.options,t=d.default.cloneDeep(e.submissionTimestampUnit);this.submissions.forEach(n=>{n.timestampUnit=t,n.time&&(e.submissionHasTimeField=!0),n.language&&(e.submissionHasLanguageField=!0)})}this.submissionsMap=new Map(this.submissions.map(e=>[e.id,e])),this.contest.organizations?(this.organizations=this.contest.organizations,this.organizationsMap=new Map(this.organizations.map(e=>[e.id,e])),this.linkTeamAndOrg()):(this.organizationsMap=this.buildOrganizationsMap(),this.organizations=[...this.organizationsMap.values()]),this.organizations.sort(n.compare),this.originTeams=this.teams.map(e=>e),this.originTeams.sort(y.compare),this.rankStatistics=new me,this.options=new $,this.balloons=[];{let e=new Set;this.submissions.forEach(t=>{t.language&&e.add(t.language)}),this.languages=[...e].sort()}{let e=new Set;this.submissions.forEach(t=>{e.add(t.status)}),this.statuses=[...e].sort()}}linkTeamAndOrg(){this.teams.forEach(e=>{e.organizationId&&(e.organization=this.organizationsMap.get(e.organizationId))})}buildOrganizationsMap(){if(!this.contest.options.enableOrganization)return new Map;let e=new Map;return this.teams.forEach(t=>{if(!t.organizationId)return;if(e.has(t.organizationId)){let n=e.get(t.organizationId);n?.teams.push(t),t.organization=n;return}let r=new n;r.id=t.organizationId,r.name=new c,r.name.fallback=t.organizationName,r.logo=a(this.contest.options.organizationLogoTemplate,r.id),r.teams.push(t),t.organization=r,e.set(r.id,r)}),e}cleanRank(){(()=>{this.teams=[];for(let[e,t]of this.teamsMap)this.filterTeamByOrg(t)||this.teams.push(t)})();for(let e of this.organizations)e.reset();for(let e of this.teams)e.reset(),e.problemStatistics=this.contest.problems.map(e=>{let t=new r;return t.problem=e,t.contestPenalty=this.contest.penalty,t}),e.problemStatisticsMap=new Map(e.problemStatistics.map(e=>[e.problem.id,e]));this.contest.problems.forEach(e=>{e.statistics.reset()})}buildRank(){return(()=>{this.cleanRank(),this.teams.forEach(e=>e.placeChartPoints.push({timePoint:0,rank:1,lastSolvedProblem:null})),this.rankStatistics.reset(),this.rankStatistics.teamSolvedNum=Array.from({length:this.contest.problems.length+1}).fill(0),this.rankStatistics.teamSolvedNumIndex=Array.from({length:this.contest.problems.length+1}).fill(0);let e=0,t=this.getSubmissions();for(let n=0;n<t.length;n++){let r=t[n],i=r.teamId,a=r.problemId,o=this.teamsMap.get(i),s=this.contest.problemsMap.get(a);(()=>{if(o===void 0||this.filterTeamByOrg(o)||s===void 0)return;let e=o.problemStatisticsMap.get(a);if(e.submissions.push(r),o.submissions.push(r),s.statistics.submittedNum++,e.isSolved){r.isSolved=!1,r.isFirstSolved=!1;return}if(r.isIgnore||r.isNotCalculatedPenaltyStatus()){s.statistics.ignoreNum++,e.ignoreCount++;return}if(e.isSubmitted=!0,e.lastSubmitTimestamp=r.timestampToSecond,e.totalCount++,r.isAccepted()){for(r.isSolved=!0,e.isSolved=!0,e.solvedTimestamp=r.timestampToSecond,s.statistics.acceptedNum++,s.statistics.attemptedNum+=e.failedCount+1,(s.statistics.firstSolveSubmissions.length===0||s.statistics.firstSolveSubmissions[s.statistics.firstSolveSubmissions.length-1].timestamp===r.timestamp)&&(r.isFirstSolved=!0,e.isFirstSolved=!0,s.statistics.firstSolveSubmissions.push(r));s.statistics.lastSolveSubmissions.length>0;)s.statistics.lastSolveSubmissions.pop();s.statistics.lastSolveSubmissions.push(r),o.lastSolvedProblem=s,o.lastSolvedProblemStatistics=e}r.isRejected()&&(e.failedCount++,s.statistics.rejectedNum++),r.isPending()&&(e.pendingCount++,s.statistics.pendingNum++)})(),(r.timestampToMinute>e||n===t.length-1)&&(this.teams.forEach(e=>e.calcSolvedData(this.contest.options)),this.teams.sort(y.compare),this.buildTeamRank(),this.teams.forEach(e=>e.placeChartPoints.push({timePoint:r.timestampToMinute,rank:e.rank,lastSolvedProblem:e.lastSolvedProblem}))),e=r.timestampToMinute}this.teams.forEach(e=>e.calcSolvedData(this.contest.options)),this.teams.sort(y.compare),this.buildTeamRank(),this.buildOrgRank(),this.rankStatistics.effectiveTeamNum=this.teams.filter(e=>e.isEffectiveTeam).length,this.rankStatistics.totalTeamNum=this.teams.length,this.teams.forEach(e=>e.calcSE(this.rankStatistics.totalTeamNum)),this.contest.problems.forEach(e=>e.statistics.calcSE(this.rankStatistics.totalTeamNum)),this.buildAwards(),this.teams.forEach(e=>e.calcAwards(this.contest.awards?.get(this.options.group))),this.teams.forEach(e=>e.postProcessPlaceChartPoints())})(),(()=>{for(let e of this.teams)this.rankStatistics.teamSolvedNum[e.solvedProblemNum]++;{let e=0,t=this.rankStatistics.teamSolvedNum,n=this.rankStatistics.teamSolvedNumIndex;for(let r=n.length-1;r>=0;r--)e+=+(t[r]>0),n[r]=e}this.teams.length>0&&(this.rankStatistics.maxSolvedProblems=this.teams[0].solvedProblemNum)})(),this}buildTeamRank(){let e=1,t=1,n=null;for(let r of this.teams)r.rank=e++,r.originalRank=t++,n!==null&&r.isEqualRank(n)&&(r.rank=n.rank),n=r}buildOrgRank(){if(!this.contest.options.enableOrganization)return;let e=1,t=null;for(let n of this.teams){let r=n.organization;!r||r.rank>-1||(r.rank=e++,n.isFirstRankOfOrganization=!0,t&&n.isEqualRank(t)&&(r.rank=t.organization.rank),t=n)}}buildAwards(){if(this.contest.medal===`ccpc`){this.contest.awards=new Map;let e=this.rankStatistics.effectiveTeamNum,t=[],n=new o,r=new o,i=new o,a=new o;n.medalType=s.GOLD,n.minRank=1,n.maxRank=Math.ceil(e*.1),n.maxRank>=n.minRank&&t.push(n),r.medalType=s.SILVER,r.minRank=n.maxRank+1,r.maxRank=Math.ceil(e*.3),r.maxRank>=r.minRank&&t.push(r),i.medalType=s.BRONZE,i.minRank=r.maxRank+1,i.maxRank=Math.ceil(e*.6),i.maxRank>=i.minRank&&t.push(i),a.medalType=s.HONORABLE,a.minRank=i.maxRank+1,this.teams.forEach(e=>{e.solvedProblemNum>0&&(a.maxRank=Math.max(a.maxRank,e.rank))}),a.maxRank>=a.minRank&&t.push(a),this.contest.awards.set(`official`,t)}}filterTeamByOrg(e){let t=this.options;return!!(t.enableFilterTeamsByGroup&&!e.group?.includes(t.group))}getSubmissions(){return this.contest.replayContestStartTimestamp===void 0&&this.options.enableFilterSubmissionsByTimestamp===!1?this.submissions:this.submissions.filter(e=>!(this.contest.replayContestStartTimestamp!==void 0&&e.timestampToSecond>this.contest.replayContestStartTimestamp||this.options.enableFilterSubmissionsByTimestamp&&e.timestampToSecond>this.options.timestamp))}buildBalloons(){this.balloons=[],this.cleanRank();let e=this.getSubmissions();for(let t=0;t<e.length;t++){let n=e[t],r=n.teamId,i=n.problemId,a=this.teamsMap.get(r),o=this.contest.problemsMap.get(i);(()=>{if(a===void 0||o===void 0)return;let e=a.problemStatisticsMap.get(i);if(!e.isSolved&&n.isAccepted()){e.isSolved=!0,e.solvedTimestamp=n.timestampToSecond;let t=new x;t.team=a,t.problem=o,t.submission=n,this.balloons.push(t)}})()}}setReplayTime(e){this.contest.setReplayTime(e)}};export{y as a,v as c,m as d,p as f,te as h,x as i,f as l,ne as m,$ as n,ie as o,u as p,fe as r,g as s,he as t,h as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as e,F as t,It as n,V as r,W as i,X as a,_ as o,b as s,f as c,g as l,h as u,m as d,nt as f,ut as p,v as m,vt as h,x as g,z as _}from"./vue.runtime.esm-bundler-DTMOfGWR.js";import{V as v,d as y,o as b,s as x}from"./index-
|
|
1
|
+
import{E as e,F as t,It as n,V as r,W as i,X as a,_ as o,b as s,f as c,g as l,h as u,m as d,nt as f,ut as p,v as m,vt as h,x as g,z as _}from"./vue.runtime.esm-bundler-DTMOfGWR.js";import{V as v,d as y,o as b,s as x}from"./index-ClRmeGtV.js";import{t as S}from"./Tooltip-BR6I8-SM.js";import{l as C,u as w}from"./constant-Dl-MmgU0.js";import{t as T}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as E}from"./route-block-ChiJXsfH.js";import{t as D}from"./RightArrowIcon-F6HBDgDW.js";e(),a(),h();var O={"h-22":``},k={key:0},A={"w-238":``,flex:``,"flex-col":``,"justify-center":``,"font-serif":``,"pb-2":``,border:`b-2 gray-200 dark:gray-700`},j={"w-full":``,flex:``},M={class:`title`,"w-inherit":``},N={"overflow-hidden":``,"text-2xl":``,truncate:``},P={"text-lg":``},F={"float-right":``},I={class:`MuiIconButton-label`},L=T(g({__name:`RatingIndexUI`,props:{ratingIndex:null},setup(e){let a=e,c=d(()=>a.ratingIndex),l=f(null),h=b(l),g=d(()=>`/rating/${c.value.id}`);return(e,a)=>{let d=S,f=D,_=r(`RouterLink`);return t(),m(`div`,{ref_key:`el`,ref:l},[u(`div`,O,[p(h)?(t(),m(`div`,k,[u(`div`,A,[u(`div`,j,[u(`div`,M,[s(d,null,{popper:i(()=>[u(`div`,P,n(p(c).name),1)]),default:i(()=>[u(`div`,N,n(p(c).name),1)]),_:1})]),u(`div`,F,[s(_,{class:`go MuiIconButton-root`,to:p(g)},{default:i(()=>[u(`span`,I,[s(f)])]),_:1},8,[`to`])])])])])):o(``,!0)])],512)}}}),[[`__scopeId`,`data-v-55adbc62`]]);e(),a(),h();var R={class:`sm:w-[1024px] lg:w-screen`,"lg:of-x-hidden":``,flex:``,"flex-col":``,"justify-center":``,"items-center":``},z={key:0,"mt-4":``,"mb-4":``,class:`sm:w-[1000px] lg:w-screen`,flex:``,"justify-center":``,"items-center":``},B={key:0},V={key:1},H={key:1,class:`sm:w-[1000px] lg:w-screen min-h-120`,flex:``,"flex-col":``,"items-center":``},U={key:0,"mt-4":``},W={key:1,p10:``},G=g({__name:`index`,setup(e){let{t:r}=v();y(w);function i(){return`${C.value}index/index.json`}let a=f(i()),s=f([]),{error:d,isFetching:h,isFinished:g}=x(a,{refetch:!0,afterFetch:e=>(s.value=JSON.parse(e.data),e)}).get();return(e,i)=>{let a=L;return t(),m(`div`,R,[u(`div`,null,[p(h)||p(d)?(t(),m(`div`,z,[p(h)?(t(),m(`div`,B,n(p(r)(`common.loading`))+`... `,1)):o(``,!0),p(d)?(t(),m(`div`,V,n(p(d)),1)):o(``,!0)])):o(``,!0),p(g)?(t(),m(`div`,H,[p(s).length?(t(),m(`div`,U,[(t(!0),m(c,null,_(p(s),e=>(t(),l(a,{key:e.id,"rating-index":e},null,8,[`rating-index`]))),128))])):(t(),m(`div`,W,[...i[0]||=[u(`div`,{op40:``,italic:``,mb5:``},` No result found `,-1)]]))])):o(``,!0)])])}}});typeof E==`function`&&E(G);var K=G;export{K as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as e,F as t,X as n,_ as r,b as i,f as a,h as o,ut as s,v as c,x as l}from"./vue.runtime.esm-bundler-DTMOfGWR.js";import{t as u}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{r as d}from"./query-
|
|
1
|
+
import{E as e,F as t,X as n,_ as r,b as i,f as a,h as o,ut as s,v as c,x as l}from"./vue.runtime.esm-bundler-DTMOfGWR.js";import{t as u}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{r as d}from"./query-XskWvdZB.js";import{t as f}from"./Resolver-DQ3kkz9L.js";import{t as p}from"./route-block-ChiJXsfH.js";import{t as m}from"./DataSourceInput-B67_jwrR.js";e(),n();var h={key:0},g={"mt-20":``},_={key:1},v=l({__name:`CustomResolver`,setup(e){let n=d();return(e,l)=>{let u=m,d=f;return t(),c(a,null,[s(n).length===0?(t(),c(`div`,h,[o(`div`,g,[i(u)])])):r(``,!0),s(n).length>0?(t(),c(`div`,_,[i(d,{"data-source-url":s(n)},null,8,[`data-source-url`])])):r(``,!0)],64)}}});e();var y={};function b(e,n){let r=v;return t(),c(`div`,null,[i(r)])}typeof p==`function`&&p(y);var x=u(y,[[`render`,b]]);export{x as default};
|