@emailmaker/emailmaker 1.0.93-alpha.4 → 1.0.93-alpha.6
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/README.md +1 -1
- package/asset-manifest.json +99 -98
- package/emailmaker-esm.js +1 -1
- package/emailmaker.d.ts +22 -9
- package/emailmaker.js +1 -1
- package/iframe/429.js +1 -1
- package/iframe/766.js +1 -1
- package/iframe/css/sandbox.css +27 -7
- package/iframe/iframe-eblock.06c6c57f3b110a111d9c.html +1 -0
- package/iframe/iframe.06c6c57f3b110a111d9c.html +1 -0
- package/iframe/js/826.cb9dbe4f.js +1 -0
- package/iframe/sandbox-eblock.js +1 -1
- package/iframe/sandbox.js +1 -1
- package/package.json +1 -1
- package/plugin.html +1 -1
- package/plugin_blocks_test.html +1 -1
- package/plugin_default.html +1 -1
- package/plugin_idigital.html +1 -1
- package/plugin_nota.html +1 -1
- package/plugin_s.html +1 -1
- package/static/css/57.54f2a3c3.chunk.css +1 -0
- package/static/css/9879.ce48a50a.chunk.css +1 -0
- package/static/js/1275.ba0dbbc3.js +2 -0
- package/static/js/{1538.06811304.chunk.js → 1538.f85eeb54.chunk.js} +2 -2
- package/static/js/{3017.b19cd213.chunk.js → 3017.8341ce82.chunk.js} +1 -1
- package/static/js/3403.38f7b00a.js +1 -0
- package/static/js/{5346.7af72a07.chunk.js → 5346.c29e03ef.chunk.js} +2 -2
- package/static/js/57.60a05e80.chunk.js +1 -0
- package/static/js/{578.068dd4e8.chunk.js → 578.15f9f307.chunk.js} +2 -2
- package/static/js/5803.8372095d.js +2 -0
- package/static/js/6501.9585176a.chunk.js +1 -0
- package/static/js/6817.96c035e4.js +2 -0
- package/static/js/{6819.2f1dcf17.chunk.js → 6819.1a83f209.chunk.js} +2 -2
- package/static/js/6882.3ddae565.js +2 -0
- package/static/js/721.84cc17ea.chunk.js +2 -0
- package/static/js/{1807.d095d866.chunk.js.LICENSE.txt → 721.84cc17ea.chunk.js.LICENSE.txt} +0 -2
- package/static/js/8278.29ba94e8.js +2 -0
- package/static/js/{2458.708cc230.chunk.js → 9879.65d5b4c8.chunk.js} +2 -2
- package/static/js/9925.617dade8.js +1 -0
- package/static/js/9960.2bbf10c6.chunk.js +2 -0
- package/static/js/ant-locale/locale-ar_EG-js.a100b6f8.chunk.js +1 -0
- package/static/js/ant-locale/locale-az_AZ-js.2e4b7b75.chunk.js +1 -0
- package/static/js/ant-locale/locale-bg_BG-js.8641fb51.chunk.js +1 -0
- package/static/js/ant-locale/locale-bn_BD-js.82309c5b.chunk.js +1 -0
- package/static/js/ant-locale/locale-by_BY-js.b4d863ac.chunk.js +1 -0
- package/static/js/ant-locale/locale-ca_ES-js.06c8fd9e.chunk.js +1 -0
- package/static/js/ant-locale/locale-cs_CZ-js.6bbad1d2.chunk.js +1 -0
- package/static/js/ant-locale/locale-da_DK-js.aa8e3af0.chunk.js +1 -0
- package/static/js/ant-locale/locale-de_DE-js.c8f4372c.chunk.js +1 -0
- package/static/js/ant-locale/locale-el_GR-js.e1f8ebce.chunk.js +1 -0
- package/static/js/ant-locale/locale-en_GB-js.ab57cafe.chunk.js +1 -0
- package/static/js/ant-locale/locale-es_ES-js.058c3991.chunk.js +1 -0
- package/static/js/ant-locale/locale-et_EE-js.935752fe.chunk.js +1 -0
- package/static/js/ant-locale/locale-eu_ES-js.1c429370.chunk.js +1 -0
- package/static/js/ant-locale/locale-fa_IR-js.b7a717c4.chunk.js +1 -0
- package/static/js/ant-locale/locale-fi_FI-js.d8c305ef.chunk.js +1 -0
- package/static/js/ant-locale/locale-fr_BE-js.2b69e390.chunk.js +1 -0
- package/static/js/ant-locale/locale-fr_CA-js.3cc51314.chunk.js +1 -0
- package/static/js/ant-locale/locale-fr_FR-js.c77299db.chunk.js +1 -0
- package/static/js/ant-locale/locale-ga_IE-js.dd065b80.chunk.js +1 -0
- package/static/js/ant-locale/locale-gl_ES-js.73dfbbf4.chunk.js +1 -0
- package/static/js/ant-locale/locale-he_IL-js.72651512.chunk.js +1 -0
- package/static/js/ant-locale/locale-hi_IN-js.4564c58c.chunk.js +1 -0
- package/static/js/ant-locale/locale-hr_HR-js.e093af26.chunk.js +1 -0
- package/static/js/ant-locale/locale-hu_HU-js.157bb3f5.chunk.js +1 -0
- package/static/js/ant-locale/locale-hy_AM-js.4aacbfe7.chunk.js +1 -0
- package/static/js/ant-locale/locale-id_ID-js.91f9e5f9.chunk.js +1 -0
- package/static/js/ant-locale/locale-is_IS-js.c725e283.chunk.js +1 -0
- package/static/js/ant-locale/locale-it_IT-js.2569884c.chunk.js +1 -0
- package/static/js/ant-locale/locale-ja_JP-js.309995da.chunk.js +1 -0
- package/static/js/ant-locale/locale-ka_GE-js.5cba5889.chunk.js +1 -0
- package/static/js/ant-locale/locale-kk_KZ-js.470d88cc.chunk.js +1 -0
- package/static/js/ant-locale/locale-km_KH-js.3dba654f.chunk.js +1 -0
- package/static/js/ant-locale/locale-kmr_IQ-js.ba0ff14f.chunk.js +1 -0
- package/static/js/ant-locale/locale-kn_IN-js.cb3cedb4.chunk.js +1 -0
- package/static/js/ant-locale/locale-ko_KR-js.58f92673.chunk.js +1 -0
- package/static/js/ant-locale/locale-ku_IQ-js.694ba190.chunk.js +1 -0
- package/static/js/ant-locale/locale-lt_LT-js.3c9bc038.chunk.js +1 -0
- package/static/js/ant-locale/locale-lv_LV-js.8623a6ac.chunk.js +1 -0
- package/static/js/ant-locale/locale-mk_MK-js.09c1607e.chunk.js +1 -0
- package/static/js/ant-locale/locale-ml_IN-js.d3c91e07.chunk.js +1 -0
- package/static/js/ant-locale/locale-mn_MN-js.39fd5349.chunk.js +1 -0
- package/static/js/ant-locale/locale-ms_MY-js.30e61637.chunk.js +1 -0
- package/static/js/ant-locale/locale-my_MM-js.5b3f7aa1.chunk.js +1 -0
- package/static/js/ant-locale/locale-nb_NO-js.6a09c151.chunk.js +1 -0
- package/static/js/ant-locale/locale-ne_NP-js.9b68c9f3.chunk.js +1 -0
- package/static/js/ant-locale/locale-nl_BE-js.27afde77.chunk.js +1 -0
- package/static/js/ant-locale/locale-nl_NL-js.42a5d14e.chunk.js +1 -0
- package/static/js/ant-locale/locale-pl_PL-js.12e257e9.chunk.js +1 -0
- package/static/js/ant-locale/locale-pt_BR-js.a6db9561.chunk.js +1 -0
- package/static/js/ant-locale/locale-pt_PT-js.4d21d267.chunk.js +1 -0
- package/static/js/ant-locale/locale-ro_RO-js.011d80e2.chunk.js +1 -0
- package/static/js/ant-locale/locale-si_LK-js.898f755d.chunk.js +1 -0
- package/static/js/ant-locale/locale-sk_SK-js.10530400.chunk.js +1 -0
- package/static/js/ant-locale/locale-sl_SI-js.3323643b.chunk.js +1 -0
- package/static/js/ant-locale/locale-sr_RS-js.6fce960d.chunk.js +1 -0
- package/static/js/ant-locale/locale-sv_SE-js.5a78c455.chunk.js +1 -0
- package/static/js/ant-locale/locale-ta_IN-js.412b9ffc.chunk.js +1 -0
- package/static/js/ant-locale/locale-th_TH-js.120eaa89.chunk.js +1 -0
- package/static/js/ant-locale/locale-tk_TK-js.20728723.chunk.js +1 -0
- package/static/js/ant-locale/locale-tr_TR-js.65f75b8c.chunk.js +1 -0
- package/static/js/ant-locale/locale-uk_UA-js.73262da7.chunk.js +1 -0
- package/static/js/ant-locale/locale-ur_PK-js.bff27ba0.chunk.js +1 -0
- package/static/js/ant-locale/locale-uz_UZ-js.21ddeb19.chunk.js +1 -0
- package/static/js/ant-locale/locale-vi_VN-js.51d6ba13.chunk.js +1 -0
- package/static/js/ant-locale/locale-zh_CN-js.af76e8ae.chunk.js +1 -0
- package/static/js/ant-locale/locale-zh_HK-js.ef1f3bcc.chunk.js +1 -0
- package/static/js/ant-locale/locale-zh_TW-js.102c6b49.chunk.js +1 -0
- package/static/js/{emailmaker_core.26f85452.js → emailmaker_core.c003dc3f.js} +2 -2
- package/translations.pot +242 -246
- package/iframe/iframe-eblock.f2f17f295ea30aba7fcb.html +0 -1
- package/iframe/iframe.f2f17f295ea30aba7fcb.html +0 -1
- package/iframe/js/826.4ea1e7a9.js +0 -1
- package/static/css/2458.d80dc2ed.chunk.css +0 -1
- package/static/css/57.bd3956f6.chunk.css +0 -1
- package/static/js/1390.87d39fe1.js +0 -2
- package/static/js/1807.d095d866.chunk.js +0 -2
- package/static/js/241.9aaa5790.js +0 -2
- package/static/js/3403.70ca81da.js +0 -1
- package/static/js/57.ad8cb3f7.chunk.js +0 -1
- package/static/js/6501.616f4dec.chunk.js +0 -1
- package/static/js/7729.d77b795b.js +0 -1
- package/static/js/8285.c8bdf11b.js +0 -2
- package/static/js/8408.459779d0.js +0 -2
- package/static/js/898.2dcef4f3.js +0 -2
- package/static/js/9960.6dcf66f0.chunk.js +0 -2
- package/static/js/ant-locale/locale-ar_EG-js.a1f4a2ee.chunk.js +0 -1
- package/static/js/ant-locale/locale-az_AZ-js.1b3f2ec6.chunk.js +0 -1
- package/static/js/ant-locale/locale-bg_BG-js.2f68d816.chunk.js +0 -1
- package/static/js/ant-locale/locale-bn_BD-js.38ca14cb.chunk.js +0 -1
- package/static/js/ant-locale/locale-by_BY-js.927570db.chunk.js +0 -1
- package/static/js/ant-locale/locale-ca_ES-js.e4bdfa2b.chunk.js +0 -1
- package/static/js/ant-locale/locale-cs_CZ-js.f1151015.chunk.js +0 -1
- package/static/js/ant-locale/locale-da_DK-js.33e12cfb.chunk.js +0 -1
- package/static/js/ant-locale/locale-de_DE-js.42497042.chunk.js +0 -1
- package/static/js/ant-locale/locale-el_GR-js.007d40b4.chunk.js +0 -1
- package/static/js/ant-locale/locale-en_GB-js.6756ba01.chunk.js +0 -1
- package/static/js/ant-locale/locale-es_ES-js.43424efe.chunk.js +0 -1
- package/static/js/ant-locale/locale-et_EE-js.3694348e.chunk.js +0 -1
- package/static/js/ant-locale/locale-eu_ES-js.e2678a29.chunk.js +0 -1
- package/static/js/ant-locale/locale-fa_IR-js.3b6bfddc.chunk.js +0 -1
- package/static/js/ant-locale/locale-fi_FI-js.8e749864.chunk.js +0 -1
- package/static/js/ant-locale/locale-fr_BE-js.2aec36ca.chunk.js +0 -1
- package/static/js/ant-locale/locale-fr_CA-js.ba00ca3a.chunk.js +0 -1
- package/static/js/ant-locale/locale-fr_FR-js.1e6d0a10.chunk.js +0 -1
- package/static/js/ant-locale/locale-ga_IE-js.cc1f0f56.chunk.js +0 -1
- package/static/js/ant-locale/locale-gl_ES-js.c1588dec.chunk.js +0 -1
- package/static/js/ant-locale/locale-he_IL-js.1be3257a.chunk.js +0 -1
- package/static/js/ant-locale/locale-hi_IN-js.8e3ea1dc.chunk.js +0 -1
- package/static/js/ant-locale/locale-hr_HR-js.94001d08.chunk.js +0 -1
- package/static/js/ant-locale/locale-hu_HU-js.50a3ffc6.chunk.js +0 -1
- package/static/js/ant-locale/locale-hy_AM-js.6b20bceb.chunk.js +0 -1
- package/static/js/ant-locale/locale-id_ID-js.b380cc8b.chunk.js +0 -1
- package/static/js/ant-locale/locale-is_IS-js.995979c0.chunk.js +0 -1
- package/static/js/ant-locale/locale-it_IT-js.46a8ce6d.chunk.js +0 -1
- package/static/js/ant-locale/locale-ja_JP-js.69f9da33.chunk.js +0 -1
- package/static/js/ant-locale/locale-ka_GE-js.8b08646c.chunk.js +0 -1
- package/static/js/ant-locale/locale-kk_KZ-js.a1cc2ddc.chunk.js +0 -1
- package/static/js/ant-locale/locale-km_KH-js.09c630f9.chunk.js +0 -1
- package/static/js/ant-locale/locale-kmr_IQ-js.c25f3afa.chunk.js +0 -1
- package/static/js/ant-locale/locale-kn_IN-js.40066823.chunk.js +0 -1
- package/static/js/ant-locale/locale-ko_KR-js.68047848.chunk.js +0 -1
- package/static/js/ant-locale/locale-ku_IQ-js.594553b1.chunk.js +0 -1
- package/static/js/ant-locale/locale-lt_LT-js.08ac662b.chunk.js +0 -1
- package/static/js/ant-locale/locale-lv_LV-js.2a33af61.chunk.js +0 -1
- package/static/js/ant-locale/locale-mk_MK-js.caa088c9.chunk.js +0 -1
- package/static/js/ant-locale/locale-ml_IN-js.3aa233eb.chunk.js +0 -1
- package/static/js/ant-locale/locale-mn_MN-js.2550caa5.chunk.js +0 -1
- package/static/js/ant-locale/locale-ms_MY-js.924bfbf0.chunk.js +0 -1
- package/static/js/ant-locale/locale-my_MM-js.bc3805ae.chunk.js +0 -1
- package/static/js/ant-locale/locale-nb_NO-js.471cc88a.chunk.js +0 -1
- package/static/js/ant-locale/locale-ne_NP-js.52b65a1a.chunk.js +0 -1
- package/static/js/ant-locale/locale-nl_BE-js.2af0a7fe.chunk.js +0 -1
- package/static/js/ant-locale/locale-nl_NL-js.453457a0.chunk.js +0 -1
- package/static/js/ant-locale/locale-pl_PL-js.1e4b27da.chunk.js +0 -1
- package/static/js/ant-locale/locale-pt_BR-js.75dc6403.chunk.js +0 -1
- package/static/js/ant-locale/locale-pt_PT-js.b07438c3.chunk.js +0 -1
- package/static/js/ant-locale/locale-ro_RO-js.4a05dc9d.chunk.js +0 -1
- package/static/js/ant-locale/locale-si_LK-js.3b54f4c4.chunk.js +0 -1
- package/static/js/ant-locale/locale-sk_SK-js.cd76b6b1.chunk.js +0 -1
- package/static/js/ant-locale/locale-sl_SI-js.8afbce30.chunk.js +0 -1
- package/static/js/ant-locale/locale-sr_RS-js.0708405f.chunk.js +0 -1
- package/static/js/ant-locale/locale-sv_SE-js.9f47a065.chunk.js +0 -1
- package/static/js/ant-locale/locale-ta_IN-js.3b46361c.chunk.js +0 -1
- package/static/js/ant-locale/locale-th_TH-js.83e732d3.chunk.js +0 -1
- package/static/js/ant-locale/locale-tk_TK-js.63d0b187.chunk.js +0 -1
- package/static/js/ant-locale/locale-tr_TR-js.b5e42917.chunk.js +0 -1
- package/static/js/ant-locale/locale-uk_UA-js.ef0d8c8e.chunk.js +0 -1
- package/static/js/ant-locale/locale-ur_PK-js.904c3e1c.chunk.js +0 -1
- package/static/js/ant-locale/locale-vi_VN-js.f0324229.chunk.js +0 -1
- package/static/js/ant-locale/locale-zh_CN-js.428a6bc7.chunk.js +0 -1
- package/static/js/ant-locale/locale-zh_HK-js.0feb368f.chunk.js +0 -1
- package/static/js/ant-locale/locale-zh_TW-js.163140fa.chunk.js +0 -1
- /package/iframe/js/{826.4ea1e7a9.js.LICENSE.txt → 826.cb9dbe4f.js.LICENSE.txt} +0 -0
- /package/static/js/{241.9aaa5790.js.LICENSE.txt → 1275.ba0dbbc3.js.LICENSE.txt} +0 -0
- /package/static/js/{1538.06811304.chunk.js.LICENSE.txt → 1538.f85eeb54.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{5346.7af72a07.chunk.js.LICENSE.txt → 5346.c29e03ef.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{578.068dd4e8.chunk.js.LICENSE.txt → 578.15f9f307.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{8285.c8bdf11b.js.LICENSE.txt → 5803.8372095d.js.LICENSE.txt} +0 -0
- /package/static/js/{2458.708cc230.chunk.js.LICENSE.txt → 6817.96c035e4.js.LICENSE.txt} +0 -0
- /package/static/js/{6819.2f1dcf17.chunk.js.LICENSE.txt → 6819.1a83f209.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{8408.459779d0.js.LICENSE.txt → 6882.3ddae565.js.LICENSE.txt} +0 -0
- /package/static/js/{1390.87d39fe1.js.LICENSE.txt → 8278.29ba94e8.js.LICENSE.txt} +0 -0
- /package/static/js/{898.2dcef4f3.js.LICENSE.txt → 9879.65d5b4c8.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{9960.6dcf66f0.chunk.js.LICENSE.txt → 9960.2bbf10c6.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{emailmaker_core.26f85452.js.LICENSE.txt → emailmaker_core.c003dc3f.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 8278.29ba94e8.js.LICENSE.txt */
|
|
2
|
+
(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[8278],{83132:(e,n,t)=>{"use strict";t.d(n,{Q1:()=>g,ZC:()=>E,Ay:()=>O});var a=t(9793),i=t(70908),o=t(712),r=t(98173),s=t(2250),c=t(26786),l=t(96212),u=t(91586),p=t(35387),d=t(64916),m=t(53575),f=t(22317),v=["b"],h=["v"],x=function(e){return Math.round(Number(e||0))},g=function(e){(0,u.A)(t,e);var n=(0,p.A)(t);function t(e){return(0,c.A)(this,t),n.call(this,function(e){if(e instanceof f.Y)return e;if(e&&"object"===(0,m.A)(e)&&"h"in e&&"b"in e){var n=e,t=n.b,a=(0,d.A)(n,v);return(0,s.A)((0,s.A)({},a),{},{v:t})}return"string"===typeof e&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e}(e))}return(0,l.A)(t,[{key:"toHsbString",value:function(){var e=this.toHsb(),n=x(100*e.s),t=x(100*e.b),a=x(e.h),i=e.a,o="hsb(".concat(a,", ").concat(n,"%, ").concat(t,"%)"),r="hsba(".concat(a,", ").concat(n,"%, ").concat(t,"%, ").concat(i.toFixed(0===i?0:2),")");return 1===i?o:r}},{key:"toHsb",value:function(){var e=this.toHsv(),n=e.v,t=(0,d.A)(e,h);return(0,s.A)((0,s.A)({},t),{},{b:n,a:this.a})}}]),t}(f.Y),b=function(e){return e instanceof g?e:new g(e)},y=b("#1677ff"),A=function(e){var n=e.offset,t=e.targetRef,a=e.containerRef,i=e.color,o=e.type,r=a.current.getBoundingClientRect(),c=r.width,l=r.height,u=t.current.getBoundingClientRect(),p=u.width/2,d=u.height/2,m=(n.x+p)/c,f=1-(n.y+d)/l,v=i.toHsb(),h=m,x=(n.x+p)/c*360;if(o)switch(o){case"hue":return b((0,s.A)((0,s.A)({},v),{},{h:x<=0?0:x}));case"alpha":return b((0,s.A)((0,s.A)({},v),{},{a:h<=0?0:h}))}return b({h:v.h,s:m<=0?0:m,b:f>=1?1:f,a:v.a})},w=function(e,n){var t=e.toHsb();switch(n){case"hue":return{x:t.h/360*100,y:50};case"alpha":return{x:100*e.a,y:50};default:return{x:100*t.s,y:100*(1-t.b)}}},C=t(85591),k=t.n(C);const E=function(e){var n=e.color,t=e.prefixCls,a=e.className,i=e.style,o=e.onClick,s="".concat(t,"-color-block");return r.createElement("div",{className:k()(s,a),style:i,onClick:o},r.createElement("div",{className:"".concat(s,"-inner"),style:{background:n}}))};const N=function(e){var n=e.targetRef,t=e.containerRef,a=e.direction,i=e.onDragChange,s=e.onDragChangeComplete,c=e.calculate,l=e.color,u=e.disabledDrag,p=(0,r.useState)({x:0,y:0}),d=(0,o.A)(p,2),m=d[0],f=d[1],v=(0,r.useRef)(null),h=(0,r.useRef)(null);(0,r.useEffect)((function(){f(c())}),[l]),(0,r.useEffect)((function(){return function(){document.removeEventListener("mousemove",v.current),document.removeEventListener("mouseup",h.current),document.removeEventListener("touchmove",v.current),document.removeEventListener("touchend",h.current),v.current=null,h.current=null}}),[]);var x=function(e){var o=function(e){var n="touches"in e?e.touches[0]:e,t=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,a=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:n.pageX-t,pageY:n.pageY-a}}(e),r=o.pageX,s=o.pageY,c=t.current.getBoundingClientRect(),l=c.x,u=c.y,p=c.width,d=c.height,f=n.current.getBoundingClientRect(),v=f.width,h=f.height,x=v/2,g=h/2,b=Math.max(0,Math.min(r-l,p))-x,y=Math.max(0,Math.min(s-u,d))-g,A={x:b,y:"x"===a?m.y:y};if(0===v&&0===h||v!==h)return!1;null===i||void 0===i||i(A)},g=function(e){e.preventDefault(),x(e)},b=function(e){e.preventDefault(),document.removeEventListener("mousemove",v.current),document.removeEventListener("mouseup",h.current),document.removeEventListener("touchmove",v.current),document.removeEventListener("touchend",h.current),v.current=null,h.current=null,null===s||void 0===s||s()};return[m,function(e){document.removeEventListener("mousemove",v.current),document.removeEventListener("mouseup",h.current),u||(x(e),document.addEventListener("mousemove",g),document.addEventListener("mouseup",b),document.addEventListener("touchmove",g),document.addEventListener("touchend",b),v.current=g,h.current=b)}]};var S=t(3889);const M=function(e){var n=e.size,t=void 0===n?"default":n,a=e.color,o=e.prefixCls;return r.createElement("div",{className:k()("".concat(o,"-handler"),(0,i.A)({},"".concat(o,"-handler-sm"),"small"===t)),style:{backgroundColor:a}})};const R=function(e){var n=e.children,t=e.style,a=e.prefixCls;return r.createElement("div",{className:"".concat(a,"-palette"),style:(0,s.A)({position:"relative"},t)},n)};const I=(0,r.forwardRef)((function(e,n){var t=e.children,a=e.x,i=e.y;return r.createElement("div",{ref:n,style:{position:"absolute",left:"".concat(a,"%"),top:"".concat(i,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},t)}));const _=function(e){var n=e.color,t=e.onChange,a=e.prefixCls,i=e.onChangeComplete,s=e.disabled,c=(0,r.useRef)(),l=(0,r.useRef)(),u=(0,r.useRef)(n),p=(0,S._q)((function(e){var a=A({offset:e,targetRef:l,containerRef:c,color:n});u.current=a,t(a)})),d=N({color:n,containerRef:c,targetRef:l,calculate:function(){return w(n)},onDragChange:p,onDragChangeComplete:function(){return null===i||void 0===i?void 0:i(u.current)},disabledDrag:s}),m=(0,o.A)(d,2),f=m[0],v=m[1];return r.createElement("div",{ref:c,className:"".concat(a,"-select"),onMouseDown:v,onTouchStart:v},r.createElement(R,{prefixCls:a},r.createElement(I,{x:f.x,y:f.y,ref:l},r.createElement(M,{color:n.toRgbString(),prefixCls:a})),r.createElement("div",{className:"".concat(a,"-saturation"),style:{backgroundColor:"hsl(".concat(n.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))};const P=function(e,n){var t=(0,S.vz)(e,{value:n}),a=(0,o.A)(t,2),i=a[0],s=a[1];return[(0,r.useMemo)((function(){return b(i)}),[i]),s]};const j=function(e){var n=e.colors,t=e.children,a=e.direction,i=void 0===a?"to right":a,o=e.type,s=e.prefixCls,c=(0,r.useMemo)((function(){return n.map((function(e,t){var a=b(e);return"alpha"===o&&t===n.length-1&&(a=new g(a.setA(1))),a.toRgbString()})).join(",")}),[n,o]);return r.createElement("div",{className:"".concat(s,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(i,", ").concat(c,")")}},t)};const F=function(e){var n=e.prefixCls,t=e.colors,a=e.disabled,i=e.onChange,s=e.onChangeComplete,c=e.color,l=e.type,u=(0,r.useRef)(),p=(0,r.useRef)(),d=(0,r.useRef)(c),m=function(e){return"hue"===l?e.getHue():100*e.a},f=(0,S._q)((function(e){var n=A({offset:e,targetRef:p,containerRef:u,color:c,type:l});d.current=n,i(m(n))})),v=N({color:c,targetRef:p,containerRef:u,calculate:function(){return w(c,l)},onDragChange:f,onDragChangeComplete:function(){s(m(d.current))},direction:"x",disabledDrag:a}),h=(0,o.A)(v,2),x=h[0],b=h[1],y=r.useMemo((function(){if("hue"===l){var e=c.toHsb();return e.s=1,e.b=1,e.a=1,new g(e)}return c}),[c,l]),C=r.useMemo((function(){return t.map((function(e){return"".concat(e.color," ").concat(e.percent,"%")}))}),[t]);return r.createElement("div",{ref:u,className:k()("".concat(n,"-slider"),"".concat(n,"-slider-").concat(l)),onMouseDown:b,onTouchStart:b},r.createElement(R,{prefixCls:n},r.createElement(I,{x:x.x,y:x.y,ref:p},r.createElement(M,{size:"small",color:y.toHexString(),prefixCls:n})),r.createElement(j,{colors:C,type:l,prefixCls:n})))};var T=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}],D=(0,r.forwardRef)((function(e,n){var t=e.value,s=e.defaultValue,c=e.prefixCls,l=void 0===c?"rc-color-picker":c,u=e.onChange,p=e.onChangeComplete,d=e.className,m=e.style,f=e.panelRender,v=e.disabledAlpha,h=void 0!==v&&v,x=e.disabled,b=void 0!==x&&x,A=function(e){return r.useMemo((function(){return[(e||{}).slider||F]}),[e])}(e.components),w=(0,o.A)(A,1)[0],C=P(s||y,t),N=(0,o.A)(C,2),S=N[0],M=N[1],R=(0,r.useMemo)((function(){return S.setA(1).toRgbString()}),[S]),I=function(e,n){t||M(e),null===u||void 0===u||u(e,n)},j=function(e){return new g(S.setHue(e))},D=function(e){return new g(S.setA(e/100))},O=k()("".concat(l,"-panel"),d,(0,i.A)({},"".concat(l,"-panel-disabled"),b)),z={prefixCls:l,disabled:b,color:S},V=r.createElement(r.Fragment,null,r.createElement(_,(0,a.A)({onChange:I},z,{onChangeComplete:p})),r.createElement("div",{className:"".concat(l,"-slider-container")},r.createElement("div",{className:k()("".concat(l,"-slider-group"),(0,i.A)({},"".concat(l,"-slider-group-disabled-alpha"),h))},r.createElement(w,(0,a.A)({},z,{type:"hue",colors:T,min:0,max:359,value:S.getHue(),onChange:function(e){I(j(e),{type:"hue",value:e})},onChangeComplete:function(e){p&&p(j(e))}})),!h&&r.createElement(w,(0,a.A)({},z,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:R}],min:0,max:100,value:100*S.a,onChange:function(e){I(D(e),{type:"alpha",value:e})},onChangeComplete:function(e){p&&p(D(e))}}))),r.createElement(E,{color:S.toRgbString(),prefixCls:l})));return r.createElement("div",{className:O,style:m,ref:n},"function"===typeof f?f(V):V)}));const O=D},72528:(e,n,t)=>{"use strict";t.d(n,{A:()=>b});var a=t(712),i=t(98173),o=t(85740),r=t(15717),s=(t(44449),t(45400));const c=i.createContext(null);var l=t(83912),u=t(33122),p=[];var d=t(1188),m=t(95298);var f="rc-util-locker-".concat(Date.now()),v=0;function h(e){var n=!!e,t=i.useState((function(){return v+=1,"".concat(f,"_").concat(v)})),o=(0,a.A)(t,1)[0];(0,u.A)((function(){if(n){var e=(0,m.V)(document.body).width,t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,d.BD)("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),o)}else(0,d.m6)(o);return function(){(0,d.m6)(o)}}),[n,o])}var x=!1;var g=function(e){return!1!==e&&((0,r.A)()&&e?"string"===typeof e?document.querySelector(e):"function"===typeof e?e():e:null)};const b=i.forwardRef((function(e,n){var t=e.open,d=e.autoLock,m=e.getContainer,f=(e.debug,e.autoDestroy),v=void 0===f||f,b=e.children,y=i.useState(t),A=(0,a.A)(y,2),w=A[0],C=A[1],k=w||t;i.useEffect((function(){(v||t)&&C(t)}),[t,v]);var E=i.useState((function(){return g(m)})),N=(0,a.A)(E,2),S=N[0],M=N[1];i.useEffect((function(){var e=g(m);M(null!==e&&void 0!==e?e:null)}));var R=function(e){var n=i.useState((function(){return(0,r.A)()?document.createElement("div"):null})),t=(0,a.A)(n,1)[0],o=i.useRef(!1),s=i.useContext(c),d=i.useState(p),m=(0,a.A)(d,2),f=m[0],v=m[1],h=s||(o.current?void 0:function(e){v((function(n){return[e].concat((0,l.A)(n))}))});function x(){t.parentElement||document.body.appendChild(t),o.current=!0}function g(){var e;null===(e=t.parentElement)||void 0===e||e.removeChild(t),o.current=!1}return(0,u.A)((function(){return e?s?s(x):x():g(),g}),[e]),(0,u.A)((function(){f.length&&(f.forEach((function(e){return e()})),v(p))}),[f]),[t,h]}(k&&!S),I=(0,a.A)(R,2),_=I[0],P=I[1],j=null!==S&&void 0!==S?S:_;h(d&&t&&(0,r.A)()&&(j===_||j===document.body));var F=null;b&&(0,s.f3)(b)&&n&&(F=b.ref);var T=(0,s.xK)(F,n);if(!k||!(0,r.A)()||void 0===S)return null;var D,O=!1===j||("boolean"===typeof D&&(x=D),x),z=b;return n&&(z=i.cloneElement(b,{ref:T})),i.createElement(c.Provider,{value:P},O?z:(0,o.createPortal)(z,j))}))},26409:(e,n,t)=>{"use strict";t.d(n,{A:()=>H});var a=t(2250),i=t(712),o=t(64916),r=t(72528),s=t(85591),c=t.n(s),l=t(77275),u=t(5343),p=t(64544),d=t(71173),m=t(88552),f=t(33122),v=t(27095),h=t(98173),x=t(9793),g=t(52039),b=t(45400);function y(e){var n=e.prefixCls,t=e.align,a=e.arrow,i=e.arrowPos,o=a||{},r=o.className,s=o.content,l=i.x,u=void 0===l?0:l,p=i.y,d=void 0===p?0:p,m=h.useRef();if(!t||!t.points)return null;var f={position:"absolute"};if(!1!==t.autoArrow){var v=t.points[0],x=t.points[1],g=v[0],b=v[1],y=x[0],A=x[1];g!==y&&["t","b"].includes(g)?"t"===g?f.top=0:f.bottom=0:f.top=d,b!==A&&["l","r"].includes(b)?"l"===b?f.left=0:f.right=0:f.left=u}return h.createElement("div",{ref:m,className:c()("".concat(n,"-arrow"),r),style:f},s)}function A(e){var n=e.prefixCls,t=e.open,a=e.zIndex,i=e.mask,o=e.motion;return i?h.createElement(g.Ay,(0,x.A)({},o,{motionAppear:!0,visible:t,removeOnLeave:!0}),(function(e){var t=e.className;return h.createElement("div",{style:{zIndex:a},className:c()("".concat(n,"-mask"),t)})})):null}const w=h.memo((function(e){return e.children}),(function(e,n){return n.cache}));const C=h.forwardRef((function(e,n){var t=e.popup,o=e.className,r=e.prefixCls,s=e.style,u=e.target,p=e.onVisibleChanged,d=e.open,m=e.keepDom,v=e.fresh,C=e.onClick,k=e.mask,E=e.arrow,N=e.arrowPos,S=e.align,M=e.motion,R=e.maskMotion,I=e.forceRender,_=e.getPopupContainer,P=e.autoDestroy,j=e.portal,F=e.zIndex,T=e.onMouseEnter,D=e.onMouseLeave,O=e.onPointerEnter,z=e.onPointerDownCapture,V=e.ready,L=e.offsetX,q=e.offsetY,H=e.offsetR,K=e.offsetB,Y=e.onAlign,W=e.onPrepare,B=e.stretch,U=e.targetWidth,X=e.targetHeight,$="function"===typeof t?t():t,G=d||m,Q=(null===_||void 0===_?void 0:_.length)>0,Z=h.useState(!_||!Q),J=(0,i.A)(Z,2),ee=J[0],ne=J[1];if((0,f.A)((function(){!ee&&Q&&u&&ne(!0)}),[ee,Q,u]),!ee)return null;var te="auto",ae={left:"-1000vw",top:"-1000vh",right:te,bottom:te};if(V||!d){var ie,oe=S.points,re=S.dynamicInset||(null===(ie=S._experimental)||void 0===ie?void 0:ie.dynamicInset),se=re&&"r"===oe[0][1],ce=re&&"b"===oe[0][0];se?(ae.right=H,ae.left=te):(ae.left=L,ae.right=te),ce?(ae.bottom=K,ae.top=te):(ae.top=q,ae.bottom=te)}var le={};return B&&(B.includes("height")&&X?le.height=X:B.includes("minHeight")&&X&&(le.minHeight=X),B.includes("width")&&U?le.width=U:B.includes("minWidth")&&U&&(le.minWidth=U)),d||(le.pointerEvents="none"),h.createElement(j,{open:I||G,getContainer:_&&function(){return _(u)},autoDestroy:P},h.createElement(A,{prefixCls:r,open:d,zIndex:F,mask:k,motion:R}),h.createElement(l.A,{onResize:Y,disabled:!d},(function(e){return h.createElement(g.Ay,(0,x.A)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:I,leavedClassName:"".concat(r,"-hidden")},M,{onAppearPrepare:W,onEnterPrepare:W,visible:d,onVisibleChanged:function(e){var n;null===M||void 0===M||null===(n=M.onVisibleChanged)||void 0===n||n.call(M,e),p(e)}}),(function(t,i){var l=t.className,u=t.style,p=c()(r,l,o);return h.createElement("div",{ref:(0,b.K4)(e,n,i),className:p,style:(0,a.A)((0,a.A)((0,a.A)((0,a.A)({"--arrow-x":"".concat(N.x||0,"px"),"--arrow-y":"".concat(N.y||0,"px")},ae),le),u),{},{boxSizing:"border-box",zIndex:F},s),onMouseEnter:T,onMouseLeave:D,onPointerEnter:O,onClick:C,onPointerDownCapture:z},E&&h.createElement(y,{prefixCls:r,arrow:E,arrowPos:N,align:S}),h.createElement(w,{cache:!d&&!v},$))}))})))}));const k=h.forwardRef((function(e,n){var t=e.children,a=e.getTriggerDOMNode,i=(0,b.f3)(t),o=h.useCallback((function(e){(0,b.Xf)(n,a?a(e):e)}),[a]),r=(0,b.xK)(o,(0,b.A9)(t));return i?h.cloneElement(t,{ref:r}):t}));const E=h.createContext(null);function N(e){return e?Array.isArray(e)?e:[e]:[]}var S=t(72864);function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>2?arguments[2]:void 0)?e[0]===n[0]:e[0]===n[0]&&e[1]===n[1]}function R(e,n,t,a){return n||(t?{motionName:"".concat(e,"-").concat(t)}:a?{motionName:a}:null)}function I(e){return e.ownerDocument.defaultView}function _(e){for(var n=[],t=null===e||void 0===e?void 0:e.parentElement,a=["hidden","scroll","clip","auto"];t;){var i=I(t).getComputedStyle(t);[i.overflowX,i.overflowY,i.overflow].some((function(e){return a.includes(e)}))&&n.push(t),t=t.parentElement}return n}function P(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?n:e}function j(e){return P(parseFloat(e),0)}function F(e,n){var t=(0,a.A)({},e);return(n||[]).forEach((function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var n=I(e).getComputedStyle(e),a=n.overflow,i=n.overflowClipMargin,o=n.borderTopWidth,r=n.borderBottomWidth,s=n.borderLeftWidth,c=n.borderRightWidth,l=e.getBoundingClientRect(),u=e.offsetHeight,p=e.clientHeight,d=e.offsetWidth,m=e.clientWidth,f=j(o),v=j(r),h=j(s),x=j(c),g=P(Math.round(l.width/d*1e3)/1e3),b=P(Math.round(l.height/u*1e3)/1e3),y=(d-m-h-x)*g,A=(u-p-f-v)*b,w=f*b,C=v*b,k=h*g,E=x*g,N=0,S=0;if("clip"===a){var M=j(i);N=M*g,S=M*b}var R=l.x+k-N,_=l.y+w-S,F=R+l.width+2*N-k-E-y,T=_+l.height+2*S-w-C-A;t.left=Math.max(t.left,R),t.top=Math.max(t.top,_),t.right=Math.min(t.right,F),t.bottom=Math.min(t.bottom,T)}})),t}function T(e){var n="".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),t=n.match(/^(.*)\%$/);return t?e*(parseFloat(t[1])/100):parseFloat(n)}function D(e,n){var t=n||[],a=(0,i.A)(t,2),o=a[0],r=a[1];return[T(e.width,o),T(e.height,r)]}function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function z(e,n){var t,a=n[0],i=n[1];return t="t"===a?e.y:"b"===a?e.y+e.height:e.y+e.height/2,{x:"l"===i?e.x:"r"===i?e.x+e.width:e.x+e.width/2,y:t}}function V(e,n){var t={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,a){return a===n?t[e]||"c":e})).join("")}var L=t(83912);t(44449);var q=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];const H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.A;return h.forwardRef((function(n,t){var r=n.prefixCls,s=void 0===r?"rc-trigger-popup":r,x=n.children,g=n.action,b=void 0===g?"hover":g,y=n.showAction,A=n.hideAction,w=n.popupVisible,j=n.defaultPopupVisible,T=n.onPopupVisibleChange,H=n.afterPopupVisibleChange,K=n.mouseEnterDelay,Y=n.mouseLeaveDelay,W=void 0===Y?.1:Y,B=n.focusDelay,U=n.blurDelay,X=n.mask,$=n.maskClosable,G=void 0===$||$,Q=n.getPopupContainer,Z=n.forceRender,J=n.autoDestroy,ee=n.destroyPopupOnHide,ne=n.popup,te=n.popupClassName,ae=n.popupStyle,ie=n.popupPlacement,oe=n.builtinPlacements,re=void 0===oe?{}:oe,se=n.popupAlign,ce=n.zIndex,le=n.stretch,ue=n.getPopupClassNameFromAlign,pe=n.fresh,de=n.alignPoint,me=n.onPopupClick,fe=n.onPopupAlign,ve=n.arrow,he=n.popupMotion,xe=n.maskMotion,ge=n.popupTransitionName,be=n.popupAnimation,ye=n.maskTransitionName,Ae=n.maskAnimation,we=n.className,Ce=n.getTriggerDOMNode,ke=(0,o.A)(n,q),Ee=J||ee||!1,Ne=h.useState(!1),Se=(0,i.A)(Ne,2),Me=Se[0],Re=Se[1];(0,f.A)((function(){Re((0,v.A)())}),[]);var Ie=h.useRef({}),_e=h.useContext(E),Pe=h.useMemo((function(){return{registerSubPopup:function(e,n){Ie.current[e]=n,null===_e||void 0===_e||_e.registerSubPopup(e,n)}}}),[_e]),je=(0,m.A)(),Fe=h.useState(null),Te=(0,i.A)(Fe,2),De=Te[0],Oe=Te[1],ze=h.useRef(null),Ve=(0,d.A)((function(e){ze.current=e,(0,u.fk)(e)&&De!==e&&Oe(e),null===_e||void 0===_e||_e.registerSubPopup(je,e)})),Le=h.useState(null),qe=(0,i.A)(Le,2),He=qe[0],Ke=qe[1],Ye=h.useRef(null),We=(0,d.A)((function(e){(0,u.fk)(e)&&He!==e&&(Ke(e),Ye.current=e)})),Be=h.Children.only(x),Ue=(null===Be||void 0===Be?void 0:Be.props)||{},Xe={},$e=(0,d.A)((function(e){var n,t,a=He;return(null===a||void 0===a?void 0:a.contains(e))||(null===(n=(0,p.j)(a))||void 0===n?void 0:n.host)===e||e===a||(null===De||void 0===De?void 0:De.contains(e))||(null===(t=(0,p.j)(De))||void 0===t?void 0:t.host)===e||e===De||Object.values(Ie.current).some((function(n){return(null===n||void 0===n?void 0:n.contains(e))||e===n}))})),Ge=R(s,he,be,ge),Qe=R(s,xe,Ae,ye),Ze=h.useState(j||!1),Je=(0,i.A)(Ze,2),en=Je[0],nn=Je[1],tn=null!==w&&void 0!==w?w:en,an=(0,d.A)((function(e){void 0===w&&nn(e)}));(0,f.A)((function(){nn(w||!1)}),[w]);var on=h.useRef(tn);on.current=tn;var rn=h.useRef([]);rn.current=[];var sn=(0,d.A)((function(e){var n;an(e),(null!==(n=rn.current[rn.current.length-1])&&void 0!==n?n:tn)!==e&&(rn.current.push(e),null===T||void 0===T||T(e))})),cn=h.useRef(),ln=function(){clearTimeout(cn.current)},un=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;ln(),0===n?sn(e):cn.current=setTimeout((function(){sn(e)}),1e3*n)};h.useEffect((function(){return ln}),[]);var pn=h.useState(!1),dn=(0,i.A)(pn,2),mn=dn[0],fn=dn[1];(0,f.A)((function(e){e&&!tn||fn(!0)}),[tn]);var vn=h.useState(null),hn=(0,i.A)(vn,2),xn=hn[0],gn=hn[1],bn=h.useState(null),yn=(0,i.A)(bn,2),An=yn[0],wn=yn[1],Cn=function(e){wn([e.clientX,e.clientY])},kn=function(e,n,t,o,r,s,c){var l=h.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:r[o]||{}}),p=(0,i.A)(l,2),m=p[0],v=p[1],x=h.useRef(0),g=h.useMemo((function(){return n?_(n):[]}),[n]),b=h.useRef({});e||(b.current={});var y=(0,d.A)((function(){if(n&&t&&e){var l,p,d,m,f,h=n,x=h.ownerDocument,y=I(h),A=y.getComputedStyle(h).position,w=h.style.left,C=h.style.top,k=h.style.right,E=h.style.bottom,N=h.style.overflow,M=(0,a.A)((0,a.A)({},r[o]),s),R=x.createElement("div");if(null===(l=h.parentElement)||void 0===l||l.appendChild(R),R.style.left="".concat(h.offsetLeft,"px"),R.style.top="".concat(h.offsetTop,"px"),R.style.position=A,R.style.height="".concat(h.offsetHeight,"px"),R.style.width="".concat(h.offsetWidth,"px"),h.style.left="0",h.style.top="0",h.style.right="auto",h.style.bottom="auto",h.style.overflow="hidden",Array.isArray(t))f={x:t[0],y:t[1],width:0,height:0};else{var _,j,T=t.getBoundingClientRect();T.x=null!==(_=T.x)&&void 0!==_?_:T.left,T.y=null!==(j=T.y)&&void 0!==j?j:T.top,f={x:T.x,y:T.y,width:T.width,height:T.height}}var L=h.getBoundingClientRect(),q=y.getComputedStyle(h),H=q.height,K=q.width;L.x=null!==(p=L.x)&&void 0!==p?p:L.left,L.y=null!==(d=L.y)&&void 0!==d?d:L.top;var Y=x.documentElement,W=Y.clientWidth,B=Y.clientHeight,U=Y.scrollWidth,X=Y.scrollHeight,$=Y.scrollTop,G=Y.scrollLeft,Q=L.height,Z=L.width,J=f.height,ee=f.width,ne={left:0,top:0,right:W,bottom:B},te={left:-G,top:-$,right:U-G,bottom:X-$},ae=M.htmlRegion,ie="visible",oe="visibleFirst";"scroll"!==ae&&ae!==oe&&(ae=ie);var re=ae===oe,se=F(te,g),ce=F(ne,g),le=ae===ie?ce:se,ue=re?ce:le;h.style.left="auto",h.style.top="auto",h.style.right="0",h.style.bottom="0";var pe=h.getBoundingClientRect();h.style.left=w,h.style.top=C,h.style.right=k,h.style.bottom=E,h.style.overflow=N,null===(m=h.parentElement)||void 0===m||m.removeChild(R);var de=P(Math.round(Z/parseFloat(K)*1e3)/1e3),me=P(Math.round(Q/parseFloat(H)*1e3)/1e3);if(0===de||0===me||(0,u.fk)(t)&&!(0,S.A)(t))return;var fe=M.offset,ve=M.targetOffset,he=D(L,fe),xe=(0,i.A)(he,2),ge=xe[0],be=xe[1],ye=D(f,ve),Ae=(0,i.A)(ye,2),we=Ae[0],Ce=Ae[1];f.x-=we,f.y-=Ce;var ke=M.points||[],Ee=(0,i.A)(ke,2),Ne=Ee[0],Se=O(Ee[1]),Me=O(Ne),Re=z(f,Se),Ie=z(L,Me),_e=(0,a.A)({},M),Pe=Re.x-Ie.x+ge,je=Re.y-Ie.y+be;function Sn(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le,a=L.x+e,i=L.y+n,o=a+Z,r=i+Q,s=Math.max(a,t.left),c=Math.max(i,t.top),l=Math.min(o,t.right),u=Math.min(r,t.bottom);return Math.max(0,(l-s)*(u-c))}var Fe,Te,De,Oe,ze=Sn(Pe,je),Ve=Sn(Pe,je,ce),Le=z(f,["t","l"]),qe=z(L,["t","l"]),He=z(f,["b","r"]),Ke=z(L,["b","r"]),Ye=M.overflow||{},We=Ye.adjustX,Be=Ye.adjustY,Ue=Ye.shiftX,Xe=Ye.shiftY,$e=function(e){return"boolean"===typeof e?e:e>=0};function Mn(){Fe=L.y+je,Te=Fe+Q,De=L.x+Pe,Oe=De+Z}Mn();var Ge=$e(Be),Qe=Me[0]===Se[0];if(Ge&&"t"===Me[0]&&(Te>ue.bottom||b.current.bt)){var Ze=je;Qe?Ze-=Q-J:Ze=Le.y-Ke.y-be;var Je=Sn(Pe,Ze),en=Sn(Pe,Ze,ce);Je>ze||Je===ze&&(!re||en>=Ve)?(b.current.bt=!0,je=Ze,be=-be,_e.points=[V(Me,0),V(Se,0)]):b.current.bt=!1}if(Ge&&"b"===Me[0]&&(Fe<ue.top||b.current.tb)){var nn=je;Qe?nn+=Q-J:nn=He.y-qe.y-be;var tn=Sn(Pe,nn),an=Sn(Pe,nn,ce);tn>ze||tn===ze&&(!re||an>=Ve)?(b.current.tb=!0,je=nn,be=-be,_e.points=[V(Me,0),V(Se,0)]):b.current.tb=!1}var on=$e(We),rn=Me[1]===Se[1];if(on&&"l"===Me[1]&&(Oe>ue.right||b.current.rl)){var sn=Pe;rn?sn-=Z-ee:sn=Le.x-Ke.x-ge;var cn=Sn(sn,je),ln=Sn(sn,je,ce);cn>ze||cn===ze&&(!re||ln>=Ve)?(b.current.rl=!0,Pe=sn,ge=-ge,_e.points=[V(Me,1),V(Se,1)]):b.current.rl=!1}if(on&&"r"===Me[1]&&(De<ue.left||b.current.lr)){var un=Pe;rn?un+=Z-ee:un=He.x-qe.x-ge;var pn=Sn(un,je),dn=Sn(un,je,ce);pn>ze||pn===ze&&(!re||dn>=Ve)?(b.current.lr=!0,Pe=un,ge=-ge,_e.points=[V(Me,1),V(Se,1)]):b.current.lr=!1}Mn();var mn=!0===Ue?0:Ue;"number"===typeof mn&&(De<ce.left&&(Pe-=De-ce.left-ge,f.x+ee<ce.left+mn&&(Pe+=f.x-ce.left+ee-mn)),Oe>ce.right&&(Pe-=Oe-ce.right-ge,f.x>ce.right-mn&&(Pe+=f.x-ce.right+mn)));var fn=!0===Xe?0:Xe;"number"===typeof fn&&(Fe<ce.top&&(je-=Fe-ce.top-be,f.y+J<ce.top+fn&&(je+=f.y-ce.top+J-fn)),Te>ce.bottom&&(je-=Te-ce.bottom-be,f.y>ce.bottom-fn&&(je+=f.y-ce.bottom+fn)));var vn=L.x+Pe,hn=vn+Z,xn=L.y+je,gn=xn+Q,bn=f.x,yn=bn+ee,An=f.y,wn=An+J,Cn=(Math.max(vn,bn)+Math.min(hn,yn))/2-vn,kn=(Math.max(xn,An)+Math.min(gn,wn))/2-xn;null===c||void 0===c||c(n,_e);var En=pe.right-L.x-(Pe+L.width),Nn=pe.bottom-L.y-(je+L.height);1===de&&(Pe=Math.round(Pe),En=Math.round(En)),1===me&&(je=Math.round(je),Nn=Math.round(Nn)),v({ready:!0,offsetX:Pe/de,offsetY:je/me,offsetR:En/de,offsetB:Nn/me,arrowX:Cn/de,arrowY:kn/me,scaleX:de,scaleY:me,align:_e})}})),A=function(){v((function(e){return(0,a.A)((0,a.A)({},e),{},{ready:!1})}))};return(0,f.A)(A,[o]),(0,f.A)((function(){e||A()}),[e]),[m.ready,m.offsetX,m.offsetY,m.offsetR,m.offsetB,m.arrowX,m.arrowY,m.scaleX,m.scaleY,m.align,function(){x.current+=1;var e=x.current;Promise.resolve().then((function(){x.current===e&&y()}))}]}(tn,De,de&&null!==An?An:He,ie,re,se,fe),En=(0,i.A)(kn,11),Nn=En[0],Sn=En[1],Mn=En[2],Rn=En[3],In=En[4],_n=En[5],Pn=En[6],jn=En[7],Fn=En[8],Tn=En[9],Dn=En[10],On=function(e,n,t,a){return h.useMemo((function(){var i=N(null!==t&&void 0!==t?t:n),o=N(null!==a&&void 0!==a?a:n),r=new Set(i),s=new Set(o);return e&&(r.has("hover")&&(r.delete("hover"),r.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[r,s]}),[e,n,t,a])}(Me,b,y,A),zn=(0,i.A)(On,2),Vn=zn[0],Ln=zn[1],qn=Vn.has("click"),Hn=Ln.has("click")||Ln.has("contextMenu"),Kn=(0,d.A)((function(){mn||Dn()}));!function(e,n,t,a,i){(0,f.A)((function(){if(e&&n&&t){var o=t,r=_(n),s=_(o),c=I(o),l=new Set([c].concat((0,L.A)(r),(0,L.A)(s)));function u(){a(),i()}return l.forEach((function(e){e.addEventListener("scroll",u,{passive:!0})})),c.addEventListener("resize",u,{passive:!0}),a(),function(){l.forEach((function(e){e.removeEventListener("scroll",u),c.removeEventListener("resize",u)}))}}}),[e,n,t])}(tn,He,De,Kn,(function(){on.current&&de&&Hn&&un(!1)})),(0,f.A)((function(){Kn()}),[An,ie]),(0,f.A)((function(){!tn||null!==re&&void 0!==re&&re[ie]||Kn()}),[JSON.stringify(se)]);var Yn=h.useMemo((function(){var e=function(e,n,t,a){for(var i=t.points,o=Object.keys(e),r=0;r<o.length;r+=1){var s,c=o[r];if(M(null===(s=e[c])||void 0===s?void 0:s.points,i,a))return"".concat(n,"-placement-").concat(c)}return""}(re,s,Tn,de);return c()(e,null===ue||void 0===ue?void 0:ue(Tn))}),[Tn,ue,re,s,de]);h.useImperativeHandle(t,(function(){return{nativeElement:Ye.current,popupElement:ze.current,forceAlign:Kn}}));var Wn=h.useState(0),Bn=(0,i.A)(Wn,2),Un=Bn[0],Xn=Bn[1],$n=h.useState(0),Gn=(0,i.A)($n,2),Qn=Gn[0],Zn=Gn[1],Jn=function(){if(le&&He){var e=He.getBoundingClientRect();Xn(e.width),Zn(e.height)}};function et(e,n,t,a){Xe[e]=function(i){var o;null===a||void 0===a||a(i),un(n,t);for(var r=arguments.length,s=new Array(r>1?r-1:0),c=1;c<r;c++)s[c-1]=arguments[c];null===(o=Ue[e])||void 0===o||o.call.apply(o,[Ue,i].concat(s))}}(0,f.A)((function(){xn&&(Dn(),xn(),gn(null))}),[xn]),(qn||Hn)&&(Xe.onClick=function(e){var n;on.current&&Hn?un(!1):!on.current&&qn&&(Cn(e),un(!0));for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];null===(n=Ue.onClick)||void 0===n||n.call.apply(n,[Ue,e].concat(a))});var nt,tt,at=function(e,n,t,a,i,o,r,s){var c=h.useRef(e);c.current=e;var l=h.useRef(!1);return h.useEffect((function(){if(n&&a&&(!i||o)){var e=function(){l.current=!1},u=function(e){var n;!c.current||r((null===(n=e.composedPath)||void 0===n||null===(n=n.call(e))||void 0===n?void 0:n[0])||e.target)||l.current||s(!1)},d=I(a);d.addEventListener("pointerdown",e,!0),d.addEventListener("mousedown",u,!0),d.addEventListener("contextmenu",u,!0);var m=(0,p.j)(t);return m&&(m.addEventListener("mousedown",u,!0),m.addEventListener("contextmenu",u,!0)),function(){d.removeEventListener("pointerdown",e,!0),d.removeEventListener("mousedown",u,!0),d.removeEventListener("contextmenu",u,!0),m&&(m.removeEventListener("mousedown",u,!0),m.removeEventListener("contextmenu",u,!0))}}}),[n,t,a,i,o]),function(){l.current=!0}}(tn,Hn,He,De,X,G,$e,un),it=Vn.has("hover"),ot=Ln.has("hover");it&&(et("onMouseEnter",!0,K,(function(e){Cn(e)})),et("onPointerEnter",!0,K,(function(e){Cn(e)})),nt=function(e){(tn||mn)&&null!==De&&void 0!==De&&De.contains(e.target)&&un(!0,K)},de&&(Xe.onMouseMove=function(e){var n;null===(n=Ue.onMouseMove)||void 0===n||n.call(Ue,e)})),ot&&(et("onMouseLeave",!1,W),et("onPointerLeave",!1,W),tt=function(){un(!1,W)}),Vn.has("focus")&&et("onFocus",!0,B),Ln.has("focus")&&et("onBlur",!1,U),Vn.has("contextMenu")&&(Xe.onContextMenu=function(e){var n;on.current&&Ln.has("contextMenu")?un(!1):(Cn(e),un(!0)),e.preventDefault();for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];null===(n=Ue.onContextMenu)||void 0===n||n.call.apply(n,[Ue,e].concat(a))}),we&&(Xe.className=c()(Ue.className,we));var rt=h.useRef(!1);rt.current||(rt.current=Z||tn||mn);var st=(0,a.A)((0,a.A)({},Ue),Xe),ct={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach((function(e){ke[e]&&(ct[e]=function(){for(var n,t=arguments.length,a=new Array(t),i=0;i<t;i++)a[i]=arguments[i];null===(n=st[e])||void 0===n||n.call.apply(n,[st].concat(a)),ke[e].apply(ke,a)})}));var lt=h.cloneElement(Be,(0,a.A)((0,a.A)({},st),ct)),ut={x:_n,y:Pn},pt=ve?(0,a.A)({},!0!==ve?ve:{}):null;return h.createElement(h.Fragment,null,h.createElement(l.A,{disabled:!tn,ref:We,onResize:function(){Jn(),Kn()}},h.createElement(k,{getTriggerDOMNode:Ce},lt)),rt.current&&h.createElement(E.Provider,{value:Pe},h.createElement(C,{portal:e,ref:Ve,prefixCls:s,popup:ne,className:c()(te,Yn),style:ae,target:He,onMouseEnter:nt,onMouseLeave:tt,onPointerEnter:nt,zIndex:ce,open:tn,keepDom:mn,fresh:pe,onClick:me,onPointerDownCapture:at,mask:X,motion:Ge,maskMotion:Qe,onVisibleChanged:function(e){fn(!1),Dn(),null===H||void 0===H||H(e)},onPrepare:function(){return new Promise((function(e){Jn(),gn((function(){return e}))}))},forceRender:Z,autoDestroy:Ee,getPopupContainer:Q,align:Tn,arrow:pt,arrowPos:ut,ready:Nn,offsetX:Sn,offsetY:Mn,offsetR:Rn,offsetB:In,onAlign:Kn,stretch:le,targetWidth:Un/jn,targetHeight:Qn/Fn})))}))}(r.A)},52218:(e,n,t)=>{!function(){var n=t(16126),a=t(12922).utf8,i=t(26211),o=t(12922).bin,r=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?o.stringToBytes(e):a.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var s=n.bytesToWords(e),c=8*e.length,l=1732584193,u=-271733879,p=-1732584194,d=271733878,m=0;m<s.length;m++)s[m]=16711935&(s[m]<<8|s[m]>>>24)|4278255360&(s[m]<<24|s[m]>>>8);s[c>>>5]|=128<<c%32,s[14+(c+64>>>9<<4)]=c;var f=r._ff,v=r._gg,h=r._hh,x=r._ii;for(m=0;m<s.length;m+=16){var g=l,b=u,y=p,A=d;l=f(l,u,p,d,s[m+0],7,-680876936),d=f(d,l,u,p,s[m+1],12,-389564586),p=f(p,d,l,u,s[m+2],17,606105819),u=f(u,p,d,l,s[m+3],22,-1044525330),l=f(l,u,p,d,s[m+4],7,-176418897),d=f(d,l,u,p,s[m+5],12,1200080426),p=f(p,d,l,u,s[m+6],17,-1473231341),u=f(u,p,d,l,s[m+7],22,-45705983),l=f(l,u,p,d,s[m+8],7,1770035416),d=f(d,l,u,p,s[m+9],12,-1958414417),p=f(p,d,l,u,s[m+10],17,-42063),u=f(u,p,d,l,s[m+11],22,-1990404162),l=f(l,u,p,d,s[m+12],7,1804603682),d=f(d,l,u,p,s[m+13],12,-40341101),p=f(p,d,l,u,s[m+14],17,-1502002290),l=v(l,u=f(u,p,d,l,s[m+15],22,1236535329),p,d,s[m+1],5,-165796510),d=v(d,l,u,p,s[m+6],9,-1069501632),p=v(p,d,l,u,s[m+11],14,643717713),u=v(u,p,d,l,s[m+0],20,-373897302),l=v(l,u,p,d,s[m+5],5,-701558691),d=v(d,l,u,p,s[m+10],9,38016083),p=v(p,d,l,u,s[m+15],14,-660478335),u=v(u,p,d,l,s[m+4],20,-405537848),l=v(l,u,p,d,s[m+9],5,568446438),d=v(d,l,u,p,s[m+14],9,-1019803690),p=v(p,d,l,u,s[m+3],14,-187363961),u=v(u,p,d,l,s[m+8],20,1163531501),l=v(l,u,p,d,s[m+13],5,-1444681467),d=v(d,l,u,p,s[m+2],9,-51403784),p=v(p,d,l,u,s[m+7],14,1735328473),l=h(l,u=v(u,p,d,l,s[m+12],20,-1926607734),p,d,s[m+5],4,-378558),d=h(d,l,u,p,s[m+8],11,-2022574463),p=h(p,d,l,u,s[m+11],16,1839030562),u=h(u,p,d,l,s[m+14],23,-35309556),l=h(l,u,p,d,s[m+1],4,-1530992060),d=h(d,l,u,p,s[m+4],11,1272893353),p=h(p,d,l,u,s[m+7],16,-155497632),u=h(u,p,d,l,s[m+10],23,-1094730640),l=h(l,u,p,d,s[m+13],4,681279174),d=h(d,l,u,p,s[m+0],11,-358537222),p=h(p,d,l,u,s[m+3],16,-722521979),u=h(u,p,d,l,s[m+6],23,76029189),l=h(l,u,p,d,s[m+9],4,-640364487),d=h(d,l,u,p,s[m+12],11,-421815835),p=h(p,d,l,u,s[m+15],16,530742520),l=x(l,u=h(u,p,d,l,s[m+2],23,-995338651),p,d,s[m+0],6,-198630844),d=x(d,l,u,p,s[m+7],10,1126891415),p=x(p,d,l,u,s[m+14],15,-1416354905),u=x(u,p,d,l,s[m+5],21,-57434055),l=x(l,u,p,d,s[m+12],6,1700485571),d=x(d,l,u,p,s[m+3],10,-1894986606),p=x(p,d,l,u,s[m+10],15,-1051523),u=x(u,p,d,l,s[m+1],21,-2054922799),l=x(l,u,p,d,s[m+8],6,1873313359),d=x(d,l,u,p,s[m+15],10,-30611744),p=x(p,d,l,u,s[m+6],15,-1560198380),u=x(u,p,d,l,s[m+13],21,1309151649),l=x(l,u,p,d,s[m+4],6,-145523070),d=x(d,l,u,p,s[m+11],10,-1120210379),p=x(p,d,l,u,s[m+2],15,718787259),u=x(u,p,d,l,s[m+9],21,-343485551),l=l+g>>>0,u=u+b>>>0,p=p+y>>>0,d=d+A>>>0}return n.endian([l,u,p,d])};r._ff=function(e,n,t,a,i,o,r){var s=e+(n&t|~n&a)+(i>>>0)+r;return(s<<o|s>>>32-o)+n},r._gg=function(e,n,t,a,i,o,r){var s=e+(n&a|t&~a)+(i>>>0)+r;return(s<<o|s>>>32-o)+n},r._hh=function(e,n,t,a,i,o,r){var s=e+(n^t^a)+(i>>>0)+r;return(s<<o|s>>>32-o)+n},r._ii=function(e,n,t,a,i,o,r){var s=e+(t^(n|~a))+(i>>>0)+r;return(s<<o|s>>>32-o)+n},r._blocksize=16,r._digestsize=16,e.exports=function(e,t){if(void 0===e||null===e)throw new Error("Illegal argument "+e);var a=n.wordsToBytes(r(e,t));return t&&t.asBytes?a:t&&t.asString?o.bytesToString(a):n.bytesToHex(a)}}()},60851:e=>{e.exports=function(e,n){var t,a,i=0;function o(){var o,r,s=t,c=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(r=0;r<c;r++)if(s.args[r]!==arguments[r]){s=s.next;continue e}return s!==t&&(s===a&&(a=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=t,s.prev=null,t.prev=s,t=s),s.val}s=s.next}for(o=new Array(c),r=0;r<c;r++)o[r]=arguments[r];return s={args:o,val:e.apply(null,o)},t?(t.prev=s,s.next=t):a=s,i===n.maxSize?(a=a.prev).next=null:i++,t=s,s.val}return n=n||{},o.clear=function(){t=null,a=null,i=0},o}},46479:(e,n,t)=>{e.exports=t(81813)},47638:(e,n,t)=>{"use strict";var a=t(46479),i=t(63226).extname,o=/^\s*([^;\s]*)(?:;|\s|$)/,r=/^text\//i;function s(e){if(!e||"string"!==typeof e)return!1;var n=o.exec(e),t=n&&a[n[1].toLowerCase()];return t&&t.charset?t.charset:!(!n||!r.test(n[1]))&&"UTF-8"}n.charset=s,n.charsets={lookup:s},n.contentType=function(e){if(!e||"string"!==typeof e)return!1;var t=-1===e.indexOf("/")?n.lookup(e):e;if(!t)return!1;if(-1===t.indexOf("charset")){var a=n.charset(t);a&&(t+="; charset="+a.toLowerCase())}return t},n.extension=function(e){if(!e||"string"!==typeof e)return!1;var t=o.exec(e),a=t&&n.extensions[t[1].toLowerCase()];if(!a||!a.length)return!1;return a[0]},n.extensions=Object.create(null),n.lookup=function(e){if(!e||"string"!==typeof e)return!1;var t=i("x."+e).toLowerCase().substr(1);if(!t)return!1;return n.types[t]||!1},n.types=Object.create(null),function(e,n){var t=["nginx","apache",void 0,"iana"];Object.keys(a).forEach((function(i){var o=a[i],r=o.extensions;if(r&&r.length){e[i]=r;for(var s=0;s<r.length;s++){var c=r[s];if(n[c]){var l=t.indexOf(a[n[c]].source),u=t.indexOf(o.source);if("application/octet-stream"!==n[c]&&(l>u||l===u&&"application/"===n[c].substr(0,12)))continue}n[c]=i}}}))}(n.extensions,n.types)},98792:function(e,n){!function(e){"use strict";var n,t=function(){function e(){this._nodes=[],this._values=[]}return e._isIndex=function(e){return+e===e>>>0},e._nodeId=function(n){var t=n[e._ID_PROP];return t||(t=n[e._ID_PROP]=e._NEXT_ID++),t},e.prototype.set=function(n,t){var a=e._nodeId(n);this._nodes[a]=n,this._values[a]=t},e.prototype.get=function(n){var t=e._nodeId(n);return void 0!==t?this._values[t]:void 0},e.prototype.has=function(n){return e._nodeId(n)in this._nodes},e.prototype.delete=function(n){var t=e._nodeId(n);delete this._nodes[t],this._values[t]=void 0},e.prototype.keys=function(){var n=[];for(var t in this._nodes)e._isIndex(t)&&n.push(this._nodes[t]);return n},e._ID_PROP="__mutation_summary_node_map_id__",e._NEXT_ID=1,e}(),a=function(){function e(){this.added=new t,this.removed=new t,this.maybeMoved=new t,this.oldPrevious=new t,this.moved=void 0}return e}();e.Movement=void 0,(n=e.Movement||(e.Movement={}))[n.STAYED_OUT=0]="STAYED_OUT",n[n.ENTERED=1]="ENTERED",n[n.STAYED_IN=2]="STAYED_IN",n[n.REPARENTED=3]="REPARENTED",n[n.REORDERED=4]="REORDERED",n[n.EXITED=5]="EXITED";var i=function(e,n){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},i(e,n)};function o(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}i(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}var r=function(){function e(e,n,t,a,i,o,r,s){void 0===n&&(n=!1),void 0===t&&(t=!1),void 0===a&&(a=!1),void 0===i&&(i=null),void 0===o&&(o=!1),void 0===r&&(r=null),void 0===s&&(s=null),this.node=e,this.childList=n,this.attributes=t,this.characterData=a,this.oldParentNode=i,this.added=o,this.attributeOldValues=r,this.characterDataOldValue=s,this.isCaseInsensitive=this.node.nodeType===Node.ELEMENT_NODE&&this.node instanceof HTMLElement&&this.node.ownerDocument instanceof HTMLDocument}return e.prototype.getAttributeOldValue=function(e){if(this.attributeOldValues)return this.isCaseInsensitive&&(e=e.toLowerCase()),this.attributeOldValues[e]},e.prototype.getAttributeNamesMutated=function(){var e=[];if(!this.attributeOldValues)return e;for(var n in this.attributeOldValues)this.attributeOldValues.hasOwnProperty(n)&&e.push(n);return e},e.prototype.attributeMutated=function(e,n){this.attributes=!0,this.attributeOldValues=this.attributeOldValues||{},e in this.attributeOldValues||(this.attributeOldValues[e]=n)},e.prototype.characterDataMutated=function(e){this.characterData||(this.characterData=!0,this.characterDataOldValue=e)},e.prototype.removedFromParent=function(e){this.childList=!0,this.added||this.oldParentNode?this.added=!1:this.oldParentNode=e},e.prototype.insertedIntoParent=function(){this.childList=!0,this.added=!0},e.prototype.getOldParent=function(){if(this.childList){if(this.oldParentNode)return this.oldParentNode;if(this.added)return null}return this.node.parentNode},e}(),s=function(n){function a(e,t){var a=n.call(this)||this;a.rootNode=e,a.reachableCache=void 0,a.wasReachableCache=void 0,a.anyParentsChanged=!1,a.anyAttributesChanged=!1,a.anyCharacterDataChanged=!1;for(var i=0;i<t.length;i++){var o=t[i];switch(o.type){case"childList":a.anyParentsChanged=!0;for(var r=0;r<o.removedNodes.length;r++){var s=o.removedNodes[r];a.getChange(s).removedFromParent(o.target)}for(r=0;r<o.addedNodes.length;r++)s=o.addedNodes[r],a.getChange(s).insertedIntoParent();break;case"attributes":a.anyAttributesChanged=!0,a.getChange(o.target).attributeMutated(o.attributeName,o.oldValue);break;case"characterData":a.anyCharacterDataChanged=!0,a.getChange(o.target).characterDataMutated(o.oldValue)}}return a}return o(a,n),a.prototype.getChange=function(e){var n=this.get(e);return n||(n=new r(e),this.set(e,n)),n},a.prototype.getOldParent=function(e){var n=this.get(e);return n?n.getOldParent():e.parentNode},a.prototype.getIsReachable=function(e){if(e===this.rootNode)return!0;if(!e)return!1;this.reachableCache=this.reachableCache||new t;var n=this.reachableCache.get(e);return void 0===n&&(n=this.getIsReachable(e.parentNode),this.reachableCache.set(e,n)),n},a.prototype.getWasReachable=function(e){if(e===this.rootNode)return!0;if(!e)return!1;this.wasReachableCache=this.wasReachableCache||new t;var n=this.wasReachableCache.get(e);return void 0===n&&(n=this.getWasReachable(this.getOldParent(e)),this.wasReachableCache.set(e,n)),n},a.prototype.reachabilityChange=function(n){return this.getIsReachable(n)?this.getWasReachable(n)?e.Movement.STAYED_IN:e.Movement.ENTERED:this.getWasReachable(n)?e.Movement.EXITED:e.Movement.STAYED_OUT},a}(t),c=function(){function n(e,n,a,i,o){this.rootNode=e,this.mutations=n,this.selectors=a,this.calcReordered=i,this.calcOldPreviousSibling=o,this.treeChanges=new s(e,n),this.entered=[],this.exited=[],this.stayedIn=new t,this.visited=new t,this.childListChangeMap=void 0,this.characterDataOnly=void 0,this.matchCache=void 0,this.processMutations()}return n.prototype.processMutations=function(){if(this.treeChanges.anyParentsChanged||this.treeChanges.anyAttributesChanged)for(var e=this.treeChanges.keys(),n=0;n<e.length;n++)this.visitNode(e[n],void 0)},n.prototype.visitNode=function(n,t){if(!this.visited.has(n)){this.visited.set(n,!0);var a=this.treeChanges.get(n),i=t;if((a&&a.childList||void 0==i)&&(i=this.treeChanges.reachabilityChange(n)),i!==e.Movement.STAYED_OUT){if(this.matchabilityChange(n),i===e.Movement.ENTERED)this.entered.push(n);else if(i===e.Movement.EXITED)this.exited.push(n),this.ensureHasOldPreviousSiblingIfNeeded(n);else if(i===e.Movement.STAYED_IN){var o=e.Movement.STAYED_IN;a&&a.childList&&(a.oldParentNode!==n.parentNode?(o=e.Movement.REPARENTED,this.ensureHasOldPreviousSiblingIfNeeded(n)):this.calcReordered&&this.wasReordered(n)&&(o=e.Movement.REORDERED)),this.stayedIn.set(n,o)}if(i!==e.Movement.STAYED_IN)for(var r=n.firstChild;r;r=r.nextSibling)this.visitNode(r,i)}}},n.prototype.ensureHasOldPreviousSiblingIfNeeded=function(e){if(this.calcOldPreviousSibling){this.processChildlistChanges();var n=e.parentNode,t=this.treeChanges.get(e);t&&t.oldParentNode&&(n=t.oldParentNode);var i=this.childListChangeMap.get(n);i||(i=new a,this.childListChangeMap.set(n,i)),i.oldPrevious.has(e)||i.oldPrevious.set(e,e.previousSibling)}},n.prototype.getChanged=function(n,t,a){this.selectors=t,this.characterDataOnly=a;for(var i=0;i<this.entered.length;i++){var o=this.entered[i];(c=this.matchabilityChange(o))!==e.Movement.ENTERED&&c!==e.Movement.STAYED_IN||n.added.push(o)}var r=this.stayedIn.keys();for(i=0;i<r.length;i++)if(o=r[i],(c=this.matchabilityChange(o))===e.Movement.ENTERED)n.added.push(o);else if(c===e.Movement.EXITED)n.removed.push(o);else if(c===e.Movement.STAYED_IN&&(n.reparented||n.reordered)){var s=this.stayedIn.get(o);n.reparented&&s===e.Movement.REPARENTED?n.reparented.push(o):n.reordered&&s===e.Movement.REORDERED&&n.reordered.push(o)}for(i=0;i<this.exited.length;i++){var c;o=this.exited[i],(c=this.matchabilityChange(o))!==e.Movement.EXITED&&c!==e.Movement.STAYED_IN||n.removed.push(o)}},n.prototype.getOldParentNode=function(n){var t=this.treeChanges.get(n);if(t&&t.childList)return t.oldParentNode?t.oldParentNode:null;var a=this.treeChanges.reachabilityChange(n);if(a===e.Movement.STAYED_OUT||a===e.Movement.ENTERED)throw Error("getOldParentNode requested on invalid node.");return n.parentNode},n.prototype.getOldPreviousSibling=function(e){var n=e.parentNode,t=this.treeChanges.get(e);t&&t.oldParentNode&&(n=t.oldParentNode);var a=this.childListChangeMap.get(n);if(!a)throw Error("getOldPreviousSibling requested on invalid node.");return a.oldPrevious.get(e)},n.prototype.getOldAttribute=function(e,n){var t=this.treeChanges.get(e);if(!t||!t.attributes)throw Error("getOldAttribute requested on invalid node.");var a=t.getAttributeOldValue(n);if(void 0===a)throw Error("getOldAttribute requested for unchanged attribute name.");return a},n.prototype.attributeChangedNodes=function(n){if(!this.treeChanges.anyAttributesChanged)return{};var t,a;if(n){t={},a={};for(var i=0;i<n.length;i++)t[d=n[i]]=!0,a[d.toLowerCase()]=d}var o={},r=this.treeChanges.keys();for(i=0;i<r.length;i++){var s=r[i],c=this.treeChanges.get(s);if(c.attributes&&e.Movement.STAYED_IN===this.treeChanges.reachabilityChange(s)&&e.Movement.STAYED_IN===this.matchabilityChange(s))for(var l=s,u=c.getAttributeNamesMutated(),p=0;p<u.length;p++){var d=u[p];(!t||t[d]||c.isCaseInsensitive&&a[d])&&c.getAttributeOldValue(d)!==l.getAttribute(d)&&(a&&c.isCaseInsensitive&&(d=a[d]),o[d]=o[d]||[],o[d].push(l))}}return o},n.prototype.getOldCharacterData=function(e){var n=this.treeChanges.get(e);if(!n||!n.characterData)throw Error("getOldCharacterData requested on invalid node.");return n.characterDataOldValue},n.prototype.getCharacterDataChanged=function(){if(!this.treeChanges.anyCharacterDataChanged)return[];for(var n=this.treeChanges.keys(),t=[],a=0;a<n.length;a++){var i=n[a];if(e.Movement.STAYED_IN===this.treeChanges.reachabilityChange(i)){var o=this.treeChanges.get(i);o.characterData&&i.textContent!=o.characterDataOldValue&&t.push(i)}}return t},n.prototype.computeMatchabilityChange=function(e,n){this.matchCache||(this.matchCache=[]),this.matchCache[e.uid]||(this.matchCache[e.uid]=new t);var a=this.matchCache[e.uid],i=a.get(n);return void 0===i&&(i=e.matchabilityChange(n,this.treeChanges.get(n)),a.set(n,i)),i},n.prototype.matchabilityChange=function(n){var t=this;if(this.characterDataOnly)switch(n.nodeType){case Node.COMMENT_NODE:case Node.TEXT_NODE:return e.Movement.STAYED_IN;default:return e.Movement.STAYED_OUT}if(!this.selectors)return e.Movement.STAYED_IN;if(n.nodeType!==Node.ELEMENT_NODE)return e.Movement.STAYED_OUT;for(var a=n,i=this.selectors.map((function(e){return t.computeMatchabilityChange(e,a)})),o=e.Movement.STAYED_OUT,r=0;o!==e.Movement.STAYED_IN&&r<i.length;){switch(i[r]){case e.Movement.STAYED_IN:o=e.Movement.STAYED_IN;break;case e.Movement.ENTERED:o=o===e.Movement.EXITED?e.Movement.STAYED_IN:e.Movement.ENTERED;break;case e.Movement.EXITED:o=o===e.Movement.ENTERED?e.Movement.STAYED_IN:e.Movement.EXITED}r++}return o},n.prototype.getChildlistChange=function(e){var n=this.childListChangeMap.get(e);return n||(n=new a,this.childListChangeMap.set(e,n)),n},n.prototype.processChildlistChanges=function(){if(!this.childListChangeMap){this.childListChangeMap=new t;for(var n=function(n){var t=a.mutations[n];if("childList"!=t.type)return"continue";if(a.treeChanges.reachabilityChange(t.target)!==e.Movement.STAYED_IN&&!a.calcOldPreviousSibling)return"continue";for(var i=a.getChildlistChange(t.target),o=t.previousSibling,r=function(e,n){!e||i.oldPrevious.has(e)||i.added.has(e)||i.maybeMoved.has(e)||n&&(i.added.has(n)||i.maybeMoved.has(n))||i.oldPrevious.set(e,n)},s=0;s<t.removedNodes.length;s++)r(c=t.removedNodes[s],o),i.added.has(c)?i.added.delete(c):(i.removed.set(c,!0),i.maybeMoved.delete(c)),o=c;for(r(t.nextSibling,o),s=0;s<t.addedNodes.length;s++){var c=t.addedNodes[s];i.removed.has(c)?(i.removed.delete(c),i.maybeMoved.set(c,!0)):i.added.set(c,!0)}},a=this,i=0;i<this.mutations.length;i++)n(i)}},n.prototype.wasReordered=function(e){if(!this.treeChanges.anyParentsChanged)return!1;this.processChildlistChanges();var n=e.parentNode,a=this.treeChanges.get(e);a&&a.oldParentNode&&(n=a.oldParentNode);var i=this.childListChangeMap.get(n);if(!i)return!1;if(i.moved)return i.moved.get(e);i.moved=new t;var o=new t;function r(e){if(!e)return!1;if(!i.maybeMoved.has(e))return!1;var n=i.moved.get(e);return void 0!==n||(o.has(e)?n=!0:(o.set(e,!0),n=u(e)!==c(e)),o.has(e)?(o.delete(e),i.moved.set(e,n)):n=i.moved.get(e)),n}var s=new t;function c(e){var n=s.get(e);if(void 0!==n)return n;for(n=i.oldPrevious.get(e);n&&(i.removed.has(n)||r(n));)n=c(n);return void 0===n&&(n=e.previousSibling),s.set(e,n),n}var l=new t;function u(e){if(l.has(e))return l.get(e);for(var n=e.previousSibling;n&&(i.added.has(n)||r(n));)n=n.previousSibling;return l.set(e,n),n}return i.maybeMoved.keys().forEach(r),i.moved.get(e)},n}(),l=function(){function e(e,n){var t=this;if(this.projection=e,this.added=[],this.removed=[],this.reparented=n.all||n.element||n.characterData?[]:void 0,this.reordered=n.all?[]:void 0,e.getChanged(this,n.elementFilter,n.characterData),n.all||n.attribute||n.attributeList){var a=n.attribute?[n.attribute]:n.attributeList,i=e.attributeChangedNodes(a);n.attribute?this.valueChanged=i[n.attribute]||[]:(this.attributeChanged=i,n.attributeList&&n.attributeList.forEach((function(e){t.attributeChanged.hasOwnProperty(e)||(t.attributeChanged[e]=[])})))}if(n.all||n.characterData){var o=e.getCharacterDataChanged();n.characterData?this.valueChanged=o:this.characterDataChanged=o}this.reordered&&(this.getOldPreviousSibling=e.getOldPreviousSibling.bind(e))}return e.prototype.getOldParentNode=function(e){return this.projection.getOldParentNode(e)},e.prototype.getOldAttribute=function(e,n){return this.projection.getOldAttribute(e,n)},e.prototype.getOldCharacterData=function(e){return this.projection.getOldCharacterData(e)},e.prototype.getOldPreviousSibling=function(e){return this.projection.getOldPreviousSibling(e)},e}(),u=function(){function e(){}return e.prototype.matches=function(e){if(null===e)return!1;if(void 0===this.attrValue)return!0;if(!this.contains)return this.attrValue==e;for(var n=e.split(" "),t=0;t<n.length;t++)if(this.attrValue===n[t])return!0;return!1},e.prototype.toString=function(){return"class"===this.attrName&&this.contains?"."+this.attrValue:"id"!==this.attrName||this.contains?this.contains?"["+this.attrName+"~="+p(this.attrValue)+"]":"attrValue"in this?"["+this.attrName+"="+p(this.attrValue)+"]":"["+this.attrName+"]":"#"+this.attrValue},e}();function p(e){return'"'+e.replace(/"/,'\\"')+'"'}var d=/[a-zA-Z_]+/,m=/[a-zA-Z0-9_\-]+/,f=function(){function n(){this.uid=n.nextUid++,this.qualifiers=[]}return Object.defineProperty(n.prototype,"caseInsensitiveTagName",{get:function(){return this.tagName.toUpperCase()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectorString",{get:function(){return this.tagName+this.qualifiers.join("")},enumerable:!1,configurable:!0}),n.prototype.isMatching=function(e){return e[n.matchesSelector](this.selectorString)},n.prototype.wasMatching=function(e,n,t){if(!n||!n.attributes)return t;var a=n.isCaseInsensitive?this.caseInsensitiveTagName:this.tagName;if("*"!==a&&a!==e.tagName)return!1;for(var i=[],o=!1,r=0;r<this.qualifiers.length;r++){var s=this.qualifiers[r],c=n.getAttributeOldValue(s.attrName);i.push(c),o=o||void 0!==c}if(!o)return t;for(r=0;r<this.qualifiers.length;r++)if(s=this.qualifiers[r],void 0===(c=i[r])&&(c=e.getAttribute(s.attrName)),!s.matches(c))return!1;return!0},n.prototype.matchabilityChange=function(n,t){var a=this.isMatching(n);return a?this.wasMatching(n,t,a)?e.Movement.STAYED_IN:e.Movement.ENTERED:this.wasMatching(n,t,a)?e.Movement.EXITED:e.Movement.STAYED_OUT},n.parseSelectors=function(e){var t,a,i=[];function o(){t&&(a&&(t.qualifiers.push(a),a=void 0),i.push(t)),t=new n}function r(){a&&t.qualifiers.push(a),a=new u}for(var s=/\s/,c=void 0,l="Invalid or unsupported selector syntax.",p=1,f=2,v=3,h=4,x=5,g=6,b=7,y=8,A=9,w=10,C=11,k=12,E=13,N=14,S=p,M=0;M<e.length;){var R=e[M++];switch(S){case p:if(R.match(d)){o(),t.tagName=R,S=f;break}if("*"==R){o(),t.tagName="*",S=v;break}if("."==R){o(),r(),t.tagName="*",a.attrName="class",a.contains=!0,S=h;break}if("#"==R){o(),r(),t.tagName="*",a.attrName="id",S=h;break}if("["==R){o(),r(),t.tagName="*",a.attrName="",S=g;break}if(R.match(s))break;throw Error(l);case f:if(R.match(m)){t.tagName+=R;break}if("."==R){r(),a.attrName="class",a.contains=!0,S=h;break}if("#"==R){r(),a.attrName="id",S=h;break}if("["==R){r(),a.attrName="",S=g;break}if(R.match(s)){S=N;break}if(","==R){S=p;break}throw Error(l);case v:if("."==R){r(),a.attrName="class",a.contains=!0,S=h;break}if("#"==R){r(),a.attrName="id",S=h;break}if("["==R){r(),a.attrName="",S=g;break}if(R.match(s)){S=N;break}if(","==R){S=p;break}throw Error(l);case h:if(R.match(d)){a.attrValue=R,S=x;break}throw Error(l);case x:if(R.match(m)){a.attrValue+=R;break}if("."==R){r(),a.attrName="class",a.contains=!0,S=h;break}if("#"==R){r(),a.attrName="id",S=h;break}if("["==R){r(),S=g;break}if(R.match(s)){S=N;break}if(","==R){S=p;break}throw Error(l);case g:if(R.match(d)){a.attrName=R,S=b;break}if(R.match(s))break;throw Error(l);case b:if(R.match(m)){a.attrName+=R;break}if(R.match(s)){S=y;break}if("~"==R){a.contains=!0,S=A;break}if("="==R){a.attrValue="",S=C;break}if("]"==R){S=v;break}throw Error(l);case y:if("~"==R){a.contains=!0,S=A;break}if("="==R){a.attrValue="",S=C;break}if("]"==R){S=v;break}if(R.match(s))break;throw Error(l);case A:if("="==R){a.attrValue="",S=C;break}throw Error(l);case w:if("]"==R){S=v;break}if(R.match(s))break;throw Error(l);case C:if(R.match(s))break;if('"'==R||"'"==R){c=R,S=E;break}a.attrValue+=R,S=k;break;case k:if(R.match(s)){S=w;break}if("]"==R){S=v;break}if("'"==R||'"'==R)throw Error(l);a.attrValue+=R;break;case E:if(R==c){S=w;break}a.attrValue+=R;break;case N:if(R.match(s))break;if(","==R){S=p;break}throw Error(l)}}switch(S){case p:case f:case v:case x:case N:o();break;default:throw Error(l)}if(!i.length)throw Error(l);return i},n.nextUid=1,n.matchesSelector="matches",n}(),v=function(){function e(){}return e.createObserverOptions=function(n){var t,a={childList:!0,subtree:!0};function i(e){a.attributes&&!t||(a.attributes=!0,a.attributeOldValue=!0,e?(t=t||{},e.forEach((function(e){t[e]=!0,t[e.toLowerCase()]=!0}))):t=void 0)}return n.forEach((function(n){if(n.characterData)return a.characterData=!0,void(a.characterDataOldValue=!0);if(n.all)return i(),a.characterData=!0,void(a.characterDataOldValue=!0);if(n.attribute)i([n.attribute.trim()]);else{var t=e._elementFilterAttributes(n.elementFilter).concat(n.attributeList||[]);t.length&&i(t)}})),t&&(a.attributeFilter=Object.keys(t)),a},e.validateOptions=function(n){for(var t in n)if(!(t in e._optionKeys))throw Error("Invalid option: "+t);if("function"!==typeof n.callback)throw Error("Invalid options: callback is required and must be a function");if(!n.queries||!n.queries.length)throw Error("Invalid options: queries must contain at least one query request object.");for(var a={callback:n.callback,rootNode:n.rootNode||document,observeOwnChanges:!!n.observeOwnChanges,oldPreviousSibling:!!n.oldPreviousSibling,queries:[]},i=0;i<n.queries.length;i++){var o=n.queries[i];if(o.all){if(Object.keys(o).length>1)throw Error("Invalid request option. all has no options.");a.queries.push({all:!0})}else if("attribute"in o){if((s={attribute:e._validateAttribute(o.attribute)}).elementFilter=f.parseSelectors("*["+s.attribute+"]"),Object.keys(o).length>1)throw Error("Invalid request option. attribute has no options.");a.queries.push(s)}else if("element"in o){var r=Object.keys(o).length,s={element:o.element,elementFilter:f.parseSelectors(o.element)};if(o.hasOwnProperty("elementAttributes")&&(s.attributeList=e._validateElementAttributes(o.elementAttributes),r--),r>1)throw Error("Invalid request option. element only allows elementAttributes option.");a.queries.push(s)}else{if(!o.characterData)throw Error("Invalid request option. Unknown query request.");if(Object.keys(o).length>1)throw Error("Invalid request option. characterData has no options.");a.queries.push({characterData:!0})}}return a},e._validateElementAttributes=function(n){if(!n.trim().length)throw Error("Invalid request option: elementAttributes must contain at least one attribute.");for(var t={},a={},i=n.split(/\s+/),o=0;o<i.length;o++){var r=i[o];if(r){var s=(r=e._validateAttribute(r)).toLowerCase();if(t[s])throw Error("Invalid request option: observing multiple case variations of the same attribute is not supported.");a[r]=!0,t[s]=!0}}return Object.keys(a)},e._elementFilterAttributes=function(e){var n={};return e.forEach((function(e){e.qualifiers.forEach((function(e){n[e.attrName]=!0}))})),Object.keys(n)},e._validateAttribute=function(n){if("string"!=typeof n)throw Error("Invalid request option. attribute must be a non-zero length string.");if(!(n=n.trim()))throw Error("Invalid request option. attribute must be a non-zero length string.");if(!n.match(e._attributeFilterPattern))throw Error("Invalid request option. invalid attribute name: "+n);return n},e._attributeFilterPattern=/^([a-zA-Z:_]+[a-zA-Z0-9_\-:.]*)$/,e._optionKeys={callback:!0,queries:!0,rootNode:!0,oldPreviousSibling:!0,observeOwnChanges:!0},e}(),h=function(){function e(n){var t=this;this._connected=!1,this._options=v.validateOptions(n),this._observerOptions=v.createObserverOptions(this._options.queries),this._root=this._options.rootNode,this._callback=this._options.callback,this._elementFilter=Array.prototype.concat.apply([],this._options.queries.map((function(e){return e.elementFilter?e.elementFilter:[]}))),this._elementFilter.length||(this._elementFilter=void 0),this._calcReordered=this._options.queries.some((function(e){return e.all})),this._queryValidators=[],e.createQueryValidator&&(this._queryValidators=this._options.queries.map((function(n){return e.createQueryValidator(t._root,n)}))),this._observer=new MutationObserver((function(e){t._observerCallback(e)})),this.reconnect()}return e.prototype.reconnect=function(){if(this._connected)throw Error("Already connected");this._observer.observe(this._root,this._observerOptions),this._connected=!0,this._checkpointQueryValidators()},e.prototype.takeSummaries=function(){if(!this._connected)throw Error("Not connected");var e=this._createSummaries(this._observer.takeRecords());return this._changesToReport(e)?e:void 0},e.prototype.disconnect=function(){var e=this.takeSummaries();return this._observer.disconnect(),this._connected=!1,e},e.prototype._observerCallback=function(e){this._options.observeOwnChanges||this._observer.disconnect();var n=this._createSummaries(e);this._runQueryValidators(n),this._options.observeOwnChanges&&this._checkpointQueryValidators(),this._changesToReport(n)&&this._callback(n),!this._options.observeOwnChanges&&this._connected&&(this._checkpointQueryValidators(),this._observer.observe(this._root,this._observerOptions))},e.prototype._createSummaries=function(e){if(!e||!e.length)return[];for(var n=new c(this._root,e,this._elementFilter,this._calcReordered,this._options.oldPreviousSibling),t=[],a=0;a<this._options.queries.length;a++)t.push(new l(n,this._options.queries[a]));return t},e.prototype._checkpointQueryValidators=function(){this._queryValidators.forEach((function(e){e&&e.recordPreviousState()}))},e.prototype._runQueryValidators=function(e){this._queryValidators.forEach((function(n,t){n&&n.validate(e[t])}))},e.prototype._changesToReport=function(e){return e.some((function(e){return!!["added","removed","reordered","reparented","valueChanged","characterDataChanged"].some((function(n){return e[n]&&e[n].length}))||!(!e.attributeChanged||!Object.keys(e.attributeChanged).some((function(n){return!!e.attributeChanged[n].length})))}))},e}(),x=function(){function e(e,n){this.root=e,this.delegate=n,this.idMap={}}return e.prototype.initialize=function(e,n){this.idMap[e]=this.root;for(var t=0;t<n.length;t++)this.deserializeNode(n[t],this.root)},e.prototype.applyChanged=function(e,n,t,a){var i=this;n.forEach((function(e){var n=i.deserializeNode(e);i.deserializeNode(e.parentNode),i.deserializeNode(e.previousSibling),n.parentNode&&n.parentNode.removeChild(n)})),e.forEach((function(e){var n=i.deserializeNode(e);n.parentNode&&n.parentNode.removeChild(n)})),n.forEach((function(e){var n=i.deserializeNode(e),t=i.deserializeNode(e.parentNode),a=i.deserializeNode(e.previousSibling);t.insertBefore(n,a?a.nextSibling:t.firstChild)})),t.forEach((function(e){var n=i.deserializeNode(e);Object.keys(e.attributes).forEach((function(t){var a=e.attributes[t];null===a?n.removeAttribute(t):i.delegate&&i.delegate.setAttribute&&i.delegate.setAttribute(n,t,a)||n.setAttribute(t,a)}))})),a.forEach((function(e){i.deserializeNode(e).textContent=e.textContent})),e.forEach((function(e){delete i.idMap[e.id]}))},e.prototype.deserializeNode=function(e,n){var t=this;if(null===e)return null;var a=this.idMap[e.id];if(a)return a;var i=this.root.ownerDocument;switch(null===i&&(i=this.root),e.nodeType){case Node.COMMENT_NODE:a=i.createComment(e.textContent);break;case Node.TEXT_NODE:a=i.createTextNode(e.textContent);break;case Node.DOCUMENT_TYPE_NODE:a=i.implementation.createDocumentType(e.name,e.publicId,e.systemId);break;case Node.ELEMENT_NODE:this.delegate&&this.delegate.createElement&&(a=this.delegate.createElement(e.tagName)),a||(a=i.createElement(e.tagName)),Object.keys(e.attributes).forEach((function(n){t.delegate&&t.delegate.setAttribute&&t.delegate.setAttribute(a,n,e.attributes[n])||a.setAttribute(n,e.attributes[n])}));break;default:throw"Unsupported node type: "+e.nodeType}if(this.idMap[e.id]=a,n&&n.appendChild(a),e.childNodes)for(var o=0;o<e.childNodes.length;o++)this.deserializeNode(e.childNodes[o],a);return a},e}(),g=function(){function e(e,n,a){var i=this;this.target=e,this.mirror=n,this.nextId=1,this.knownNodes=new t;for(var o=this.serializeNode(e).id,r=[],s=e.firstChild;s;s=s.nextSibling)r.push(this.serializeNode(s,!0));this.mirror.initialize(o,r);var c=[{all:!0}];a&&(c=c.concat(a)),this.mutationSummary=new h({rootNode:e,callback:function(e){i.applyChanged(e)},queries:c})}return e.prototype.disconnect=function(){this.mutationSummary&&(this.mutationSummary.disconnect(),this.mutationSummary=void 0)},e.prototype.rememberNode=function(e){var n=this.nextId++;return this.knownNodes.set(e,n),n},e.prototype.forgetNode=function(e){this.knownNodes.delete(e)},e.prototype.serializeNode=function(e,n){if(null===e)return null;var t=this.knownNodes.get(e);if(void 0!==t)return{id:t};var a={nodeType:e.nodeType,id:this.rememberNode(e)};switch(a.nodeType){case Node.DOCUMENT_TYPE_NODE:var i=e;a.name=i.name,a.publicId=i.publicId,a.systemId=i.systemId;break;case Node.COMMENT_NODE:case Node.TEXT_NODE:a.textContent=e.textContent;break;case Node.ELEMENT_NODE:var o=e;a.tagName=o.tagName,a.attributes={};for(var r=0;r<o.attributes.length;r++){var s=o.attributes[r];a.attributes[s.name]=s.value}if(n&&o.childNodes.length){a.childNodes=[];for(var c=o.firstChild;c;c=c.nextSibling)a.childNodes.push(this.serializeNode(c,!0))}}return a},e.prototype.serializeAddedAndMoved=function(e,n,a){var i=this,o=e.concat(n).concat(a),r=new t;o.forEach((function(e){var n=e.parentNode,a=r.get(n);a||(a=new t,r.set(n,a)),a.set(e,!0)}));var s=[];return r.keys().forEach((function(e){for(var n=r.get(e),t=n.keys();t.length;){for(var a=t[0];a.previousSibling&&n.has(a.previousSibling);)a=a.previousSibling;for(;a&&n.has(a);){var o=i.serializeNode(a);o.previousSibling=i.serializeNode(a.previousSibling),o.parentNode=i.serializeNode(a.parentNode),s.push(o),n.delete(a),a=a.nextSibling}t=n.keys()}})),s},e.prototype.serializeAttributeChanges=function(e){var n=this,a=new t;return Object.keys(e).forEach((function(t){e[t].forEach((function(e){var i=a.get(e);i||((i=n.serializeNode(e)).attributes={},a.set(e,i)),i.attributes[t]=e.getAttribute(t)}))})),a.keys().map((function(e){return a.get(e)}))},e.prototype.applyChanged=function(e){var n=this,t=e[0],a=t.removed.map((function(e){return n.serializeNode(e)})),i=this.serializeAddedAndMoved(t.added,t.reparented,t.reordered),o=this.serializeAttributeChanges(t.attributeChanged),r=t.characterDataChanged.map((function(e){var t=n.serializeNode(e);return t.textContent=e.textContent,t}));this.mirror.applyChanged(a,i,o,r),t.removed.forEach((function(e){n.forgetNode(e)}))},e}();if(void 0===MutationObserver)throw Error("DOM Mutation Observers are required");e.ChildListChange=a,e.MutationProjection=c,e.MutationSummary=h,e.NodeChange=r,e.NodeMap=t,e.Qualifier=u,e.Selector=f,e.Summary=l,e.TreeChanges=s,e.TreeMirror=x,e.TreeMirrorClient=g,Object.defineProperty(e,"__esModule",{value:!0})}(n)},63226:(e,n,t)=>{"use strict";var a=t(88295);function i(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function o(e,n){for(var t,a="",i=0,o=-1,r=0,s=0;s<=e.length;++s){if(s<e.length)t=e.charCodeAt(s);else{if(47===t)break;t=47}if(47===t){if(o===s-1||1===r);else if(o!==s-1&&2===r){if(a.length<2||2!==i||46!==a.charCodeAt(a.length-1)||46!==a.charCodeAt(a.length-2))if(a.length>2){var c=a.lastIndexOf("/");if(c!==a.length-1){-1===c?(a="",i=0):i=(a=a.slice(0,c)).length-1-a.lastIndexOf("/"),o=s,r=0;continue}}else if(2===a.length||1===a.length){a="",i=0,o=s,r=0;continue}n&&(a.length>0?a+="/..":a="..",i=2)}else a.length>0?a+="/"+e.slice(o+1,s):a=e.slice(o+1,s),i=s-o-1;o=s,r=0}else 46===t&&-1!==r?++r:r=-1}return a}var r={resolve:function(){for(var e,n="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var s;r>=0?s=arguments[r]:(void 0===e&&(e=a.cwd()),s=e),i(s),0!==s.length&&(n=s+"/"+n,t=47===s.charCodeAt(0))}return n=o(n,!t),t?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(e){if(i(e),0===e.length)return".";var n=47===e.charCodeAt(0),t=47===e.charCodeAt(e.length-1);return 0!==(e=o(e,!n)).length||n||(e="."),e.length>0&&t&&(e+="/"),n?"/"+e:e},isAbsolute:function(e){return i(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n<arguments.length;++n){var t=arguments[n];i(t),t.length>0&&(void 0===e?e=t:e+="/"+t)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(i(e),i(n),e===n)return"";if((e=r.resolve(e))===(n=r.resolve(n)))return"";for(var t=1;t<e.length&&47===e.charCodeAt(t);++t);for(var a=e.length,o=a-t,s=1;s<n.length&&47===n.charCodeAt(s);++s);for(var c=n.length-s,l=o<c?o:c,u=-1,p=0;p<=l;++p){if(p===l){if(c>l){if(47===n.charCodeAt(s+p))return n.slice(s+p+1);if(0===p)return n.slice(s+p)}else o>l&&(47===e.charCodeAt(t+p)?u=p:0===p&&(u=0));break}var d=e.charCodeAt(t+p);if(d!==n.charCodeAt(s+p))break;47===d&&(u=p)}var m="";for(p=t+u+1;p<=a;++p)p!==a&&47!==e.charCodeAt(p)||(0===m.length?m+="..":m+="/..");return m.length>0?m+n.slice(s+u):(s+=u,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(i(e),0===e.length)return".";for(var n=e.charCodeAt(0),t=47===n,a=-1,o=!0,r=e.length-1;r>=1;--r)if(47===(n=e.charCodeAt(r))){if(!o){a=r;break}}else o=!1;return-1===a?t?"/":".":t&&1===a?"//":e.slice(0,a)},basename:function(e,n){if(void 0!==n&&"string"!==typeof n)throw new TypeError('"ext" argument must be a string');i(e);var t,a=0,o=-1,r=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var s=n.length-1,c=-1;for(t=e.length-1;t>=0;--t){var l=e.charCodeAt(t);if(47===l){if(!r){a=t+1;break}}else-1===c&&(r=!1,c=t+1),s>=0&&(l===n.charCodeAt(s)?-1===--s&&(o=t):(s=-1,o=c))}return a===o?o=c:-1===o&&(o=e.length),e.slice(a,o)}for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!r){a=t+1;break}}else-1===o&&(r=!1,o=t+1);return-1===o?"":e.slice(a,o)},extname:function(e){i(e);for(var n=-1,t=0,a=-1,o=!0,r=0,s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(47!==c)-1===a&&(o=!1,a=s+1),46===c?-1===n?n=s:1!==r&&(r=1):-1!==n&&(r=-1);else if(!o){t=s+1;break}}return-1===n||-1===a||0===r||1===r&&n===a-1&&n===t+1?"":e.slice(n,a)},format:function(e){if(null===e||"object"!==typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,n){var t=n.dir||n.root,a=n.base||(n.name||"")+(n.ext||"");return t?t===n.root?t+a:t+e+a:a}("/",e)},parse:function(e){i(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var t,a=e.charCodeAt(0),o=47===a;o?(n.root="/",t=1):t=0;for(var r=-1,s=0,c=-1,l=!0,u=e.length-1,p=0;u>=t;--u)if(47!==(a=e.charCodeAt(u)))-1===c&&(l=!1,c=u+1),46===a?-1===r?r=u:1!==p&&(p=1):-1!==r&&(p=-1);else if(!l){s=u+1;break}return-1===r||-1===c||0===p||1===p&&r===c-1&&r===s+1?-1!==c&&(n.base=n.name=0===s&&o?e.slice(1,c):e.slice(s,c)):(0===s&&o?(n.name=e.slice(1,r),n.base=e.slice(1,c)):(n.name=e.slice(s,r),n.base=e.slice(s,c)),n.ext=e.slice(r,c)),s>0?n.dir=e.slice(0,s-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r},61334:(e,n,t)=>{const a=t(26188);e.exports=function(e,n){n=n||{};const i={pretty:!1,fuzzy:!1,stringify:!1,format:"raw",domain:"messages",charset:"utf8",fullMF:!1,mfOptions:{}};for(const t in i)n[t]="undefined"!==typeof n[t]?n[t]:i[t];let o={},r={};if("mf"===n.format){const t=e.toString().includes('"Plural-Forms:')?n.mfOptions:Object.assign({},{pluralFunction:()=>0},n.mfOptions);return r=Object.keys(t).length>0?a.parsePo(e,t):a.parsePo(e),n.fullMF?n.stringify?JSON.stringify(r,null,n.pretty?" ":null):r:(r&&(r.translations&&r.translations[""]?(o=r.translations[""],Object.keys(r.translations).forEach((function(e){""===e?Object.keys(r.translations[""]).forEach((function(e){o[e]=r.translations[""][e]})):o[e]=r.translations[e]}))):o=r.translations||{}),n.stringify?JSON.stringify(o,null,n.pretty?" ":null):o)}const s=t(80084).po.parse(e,i.charset),c=s.translations;if(Object.keys(c).forEach((function(e){const t=s.translations[e],a=s.headers?s.headers["plural-forms"]:"";Object.keys(t).forEach((function(i,o){const s=t[i],c=e.length?e+"\x04"+i:i,l=s.comments&&s.comments.flag&&null!==s.comments.flag.match(/fuzzy/);l&&!n.fuzzy||("jed"===n.format?r[c]=[s.msgid_plural?s.msgid_plural:null].concat(s.msgstr):"nplurals=1; plural=0;"===a?(msgstr=s.msgid_plural?[s.msgstr]:s.msgstr,r[c]=[s.msgid_plural?s.msgid_plural:null].concat(msgstr)):r[c]=[s.msgid_plural?s.msgid_plural:null].concat(s.msgstr)),n["fallback-to-msgid"]&&(l&&!n.fuzzy||""===s.msgstr[0])&&(r[c]=[s.msgid_plural?s.msgid_plural:null].concat(s.msgid_plural?[i,s.msgid_plural]:[i]))}))})),s.headers&&(r[""]=s.headers),"mf"===n.format&&delete r[""],0===n.format.indexOf("jed")){const e={domain:n.domain,locale_data:{}};if("jed"===n.format)for(const n in r)if(r.hasOwnProperty(n)&&""!==n){for(let e=2;e<r[n].length;e++)""===r[n][e]&&(r[n][e]=r[n][0]);r[n].shift()}e.locale_data[n.domain]=r,e.locale_data[n.domain][""]={domain:n.domain,plural_forms:r[""]["plural-forms"],lang:r[""].language},r=e}return n.stringify?JSON.stringify(r,null,n.pretty?" ":null):r}},80084:(e,n,t)=>{"use strict";var a=t(73300);e.exports={po:{parse:a.parse,createParseStream:a.stream,compile:t(65326)},mo:{parse:t(70885),compile:t(539)}}},539:(e,n,t)=>{"use strict";var a=t(87712).Buffer,i=t(41266),o=t(50571);function r(e){this._table=e||{},this._table.headers=this._table.headers||{},this._table.translations=this._table.translations||{},this._translations=[],this._writeFunc="writeUInt32LE",this._handleCharset()}e.exports=function(e){return new r(e).compile()},r.prototype.MAGIC=2500072158,r.prototype._handleCharset=function(){var e=(this._table.headers["content-type"]||"text/plain").split(";"),n=e.shift(),t=o.formatCharset(this._table.charset),a=[];a=e.map((function(e){var n=e.split("="),a=n.shift().trim(),i=n.join("=");return"charset"===a.toLowerCase()?(t||(t=o.formatCharset(i.trim()||"utf-8")),"charset="+t):e})),t||(t=this._table.charset||"utf-8",a.push("charset="+t)),this._table.charset=t,this._table.headers["content-type"]=n+"; "+a.join("; "),this._charset=t},r.prototype._generateList=function(){var e=[];return e.push({msgid:a.alloc(0),msgstr:i.convert(o.generateHeader(this._table.headers),this._charset)}),Object.keys(this._table.translations).forEach(function(n){"object"===typeof this._table.translations[n]&&Object.keys(this._table.translations[n]).forEach(function(t){if("object"===typeof this._table.translations[n][t]&&(""!==n||""!==t)){var a,o=this._table.translations[n][t].msgid_plural,r=t;n&&(r=n+"\x04"+r),o&&(r+="\0"+o),a=[].concat(this._table.translations[n][t].msgstr||[]).join("\0"),e.push({msgid:i.convert(r,this._charset),msgstr:i.convert(a,this._charset)})}}.bind(this))}.bind(this)),e},r.prototype._calculateSize=function(e){var n,t=0,a=0;return e.forEach((function(e){t+=e.msgid.length+1,a+=e.msgstr.length+1})),n=28+8*e.length+8*e.length+t+a,{msgid:t,msgstr:a,total:n}},r.prototype._build=function(e,n){var t,i,o=a.alloc(n.total),r=0;for(o[this._writeFunc](this.MAGIC,0),o[this._writeFunc](0,4),o[this._writeFunc](e.length,8),o[this._writeFunc](28,12),o[this._writeFunc](28+8*e.length,16),o[this._writeFunc](0,20),o[this._writeFunc](28+8*e.length*2,24),r=28+16*e.length,t=0,i=e.length;t<i;t++)e[t].msgid.copy(o,r),o[this._writeFunc](e[t].msgid.length,28+8*t),o[this._writeFunc](r,28+8*t+4),o[r+e[t].msgid.length]=0,r+=e[t].msgid.length+1;for(t=0,i=e.length;t<i;t++)e[t].msgstr.copy(o,r),o[this._writeFunc](e[t].msgstr.length,28+8*e.length+8*t),o[this._writeFunc](r,28+8*e.length+8*t+4),o[r+e[t].msgstr.length]=0,r+=e[t].msgstr.length+1;return o},r.prototype.compile=function(){var e=this._generateList(),n=this._calculateSize(e);return e.sort((function(e,n){return e.msgid>n.msgid?1:e.msgid<n.msgid?-1:0})),this._build(e,n)}},70885:(e,n,t)=>{"use strict";var a=t(41266),i=t(50571);function o(e,n){this._fileContents=e,this._writeFunc="writeUInt32LE",this._readFunc="readUInt32LE",this._charset=n||"iso-8859-1",this._table={charset:this._charset,headers:void 0,translations:{}}}e.exports=function(e,n){return new o(e,n).parse()},o.prototype.MAGIC=2500072158,o.prototype._checkMagick=function(){return this._fileContents.readUInt32LE(0)===this.MAGIC?(this._readFunc="readUInt32LE",this._writeFunc="writeUInt32LE",!0):this._fileContents.readUInt32BE(0)===this.MAGIC&&(this._readFunc="readUInt32BE",this._writeFunc="writeUInt32BE",!0)},o.prototype._loadTranslationTable=function(){for(var e,n,t,i,o=this._offsetOriginals,r=this._offsetTranslations,s=0;s<this._total;s++)n=this._fileContents[this._readFunc](o),o+=4,e=this._fileContents[this._readFunc](o),o+=4,t=this._fileContents.slice(e,e+n),n=this._fileContents[this._readFunc](r),r+=4,e=this._fileContents[this._readFunc](r),r+=4,i=this._fileContents.slice(e,e+n),s||t.toString()||this._handleCharset(i),t=a.convert(t,"utf-8",this._charset).toString("utf-8"),i=a.convert(i,"utf-8",this._charset).toString("utf-8"),this._addString(t,i);this._fileContents=null},o.prototype._handleCharset=function(e){var n;(n=e.toString().match(/[; ]charset\s*=\s*([\w-]+)/i))&&(this._charset=this._table.charset=i.formatCharset(n[1],this._charset)),e=a.convert(e,"utf-8",this._charset).toString("utf-8"),this._table.headers=i.parseHeader(e)},o.prototype._addString=function(e,n){var t,a,i,o={};(e=e.split("\x04")).length>1?(a=e.shift(),o.msgctxt=a):a="",t=(e=e.join("\x04")).split("\0"),e=t.shift(),o.msgid=e,(i=t.join("\0"))&&(o.msgid_plural=i),n=n.split("\0"),o.msgstr=[].concat(n||[]),this._table.translations[a]||(this._table.translations[a]={}),this._table.translations[a][e]=o},o.prototype.parse=function(){return!!this._checkMagick()&&(this._revision=this._fileContents[this._readFunc](4),this._total=this._fileContents[this._readFunc](8),this._offsetOriginals=this._fileContents[this._readFunc](12),this._offsetTranslations=this._fileContents[this._readFunc](16),this._loadTranslationTable(),this._table)}},65326:(e,n,t)=>{"use strict";var a=t(87712).Buffer,i=t(41266),o=t(50571);function r(e,n){return e.msgid>n.msgid?1:n.msgid>e.msgid?-1:0}function s(e,n){this._table=e||{},this._table.headers=this._table.headers||{},this._table.translations=this._table.translations||{},this._options=n||{},"foldLength"in this._options||(this._options.foldLength=76),"sort"in this._options||(this._options.sort=!1),this._translations=[],this._handleCharset()}e.exports=function(e,n){return new s(e,n).compile()},s.prototype._drawComments=function(e){var n=[];return[{key:"translator",prefix:"# "},{key:"reference",prefix:"#: "},{key:"extracted",prefix:"#. "},{key:"flag",prefix:"#, "},{key:"previous",prefix:"#| "}].forEach((function(t){e[t.key]&&e[t.key].split(/\r?\n|\r/).forEach((function(e){n.push(t.prefix+e)}))})),n.join("\n")},s.prototype._drawBlock=function(e,n){var t=[],a=(n=n||{}).comments||e.comments,i=n.msgctxt||e.msgctxt,o=n.msgid||e.msgid,r=n.msgid_plural||e.msgid_plural,s=[].concat(n.msgstr||e.msgstr);return a&&(a=this._drawComments(a))&&t.push(a),i&&t.push(this._addPOString("msgctxt",i)),t.push(this._addPOString("msgid",o||"")),r?(t.push(this._addPOString("msgid_plural",r)),s.forEach(function(e,n){t.push(this._addPOString("msgstr["+n+"]",e||""))}.bind(this))):t.push(this._addPOString("msgstr",s[0]||"")),t.join("\n")},s.prototype._addPOString=function(e,n){e=(e||"").toString();var t=[n=(n||"").toString().replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/\n/g,"\\n")];return this._options.foldLength>0&&(t=o.foldLine(n,this._options.foldLength)),t.length<2?e+' "'+(t.shift()||"")+'"':e+' ""\n"'+t.join('"\n"')+'"'},s.prototype._handleCharset=function(){var e=(this._table.headers["content-type"]||"text/plain").split(";"),n=e.shift(),t=o.formatCharset(this._table.charset),a=[];a=e.map((function(e){var n=e.split("="),a=n.shift().trim(),i=n.join("=");return"charset"===a.toLowerCase()?(t||(t=o.formatCharset(i.trim()||"utf-8")),"charset="+t):e})),t||(t=this._table.charset||"utf-8",a.push("charset="+t)),this._table.charset=t,this._table.headers["content-type"]=n+"; "+a.join("; "),this._charset=t},s.prototype.compile=function(){var e=[],n=this._table.translations[""]&&this._table.translations[""][""]||{};return Object.keys(this._table.translations).forEach(function(n){"object"===typeof this._table.translations[n]&&Object.keys(this._table.translations[n]).forEach(function(t){"object"===typeof this._table.translations[n][t]&&(""===n&&""===t||e.push(this._table.translations[n][t]))}.bind(this))}.bind(this)),!1!==this._options.sort&&(e="function"===typeof this._options.sort?e.sort(this._options.sort):e.sort(r)),(e=e.map(function(e){return this._drawBlock(e)}.bind(this))).unshift(this._drawBlock(n,{msgstr:o.generateHeader(this._table.headers)})),"utf-8"===this._charset||"ascii"===this._charset?a.from(e.join("\n\n"),"utf-8"):i.convert(e.join("\n\n"),this._charset)}},73300:(e,n,t)=>{"use strict";var a=t(45764).Buffer,i=t(41266),o=t(50571),r=t(71667).Transform,s=t(99892);function c(e,n){this._charset=n||"iso-8859-1",this._lex=[],this._escaped=!1,this._node={},this._state=this.states.none,"string"===typeof e?(this._charset="utf-8",this._fileContents=e):this._handleCharset(e)}function l(e,n){!n&&e&&"object"===typeof e&&(n=e,e=void 0),this.defaultCharset=e,this._parser=!1,this._tokens={},this._cache=[],this._cacheSize=0,this.initialTreshold=n.initialTreshold||2048,r.call(this,n),this._writableState.objectMode=!1,this._readableState.objectMode=!0}e.exports.parse=function(e,n){return new c(e,n).parse()},e.exports.stream=function(e,n){return new l(e,n)},c.prototype.parse=function(){return this._lexer(this._fileContents),this._finalize(this._lex)},c.prototype._handleCharset=function(e){var n,t,a=(e||"").toString(),i="";(n=a.search(/^\s*msgid/im))>=0&&(n+=a.substr(n+5).search(/^\s*(msgid|msgctxt)/im))&&(i=a.substr(0,n)),(t=i.match(/[; ]charset\s*=\s*([\w-]+)(?:[\s;]|\\n)*"\s*$/im))&&(this._charset=o.formatCharset(t[1],this._charset)),"utf-8"===this._charset?this._fileContents=a:this._fileContents=this._toString(e)},c.prototype._toString=function(e){return i.convert(e,"utf-8",this._charset).toString("utf-8")},c.prototype.states={none:1,comments:2,key:3,string:4},c.prototype.types={comments:1,key:2,string:3},c.prototype.symbols={quotes:/["']/,comments:/#/,whitespace:/\s/,key:/[\w\-[\]]/},c.prototype._lexer=function(e){for(var n,t=0,a=e.length;t<a;t++)switch(n=e.charAt(t),this._state){case this.states.none:n.match(this.symbols.quotes)?(this._node={type:this.types.string,value:"",quote:n},this._lex.push(this._node),this._state=this.states.string):n.match(this.symbols.comments)?(this._node={type:this.types.comments,value:""},this._lex.push(this._node),this._state=this.states.comments):n.match(this.symbols.whitespace)||(this._node={type:this.types.key,value:n},this._lex.push(this._node),this._state=this.states.key);break;case this.states.comments:"\n"===n?this._state=this.states.none:"\r"!==n&&(this._node.value+=n);break;case this.states.string:if(this._escaped){switch(n){case"t":this._node.value+="\t";break;case"n":this._node.value+="\n";break;case"r":this._node.value+="\r";break;default:this._node.value+=n}this._escaped=!1}else{if(n===this._node.quote)this._state=this.states.none;else{if("\\"===n){this._escaped=!0;break}this._node.value+=n}this._escaped=!1}break;case this.states.key:n.match(this.symbols.key)?this._node.value+=n:(this._state=this.states.none,t--)}},c.prototype._joinStringValues=function(e){for(var n,t=[],a=0,i=e.length;a<i;a++)n&&e[a].type===this.types.string&&n.type===this.types.string?n.value+=e[a].value:n&&e[a].type===this.types.comments&&n.type===this.types.comments?n.value+="\n"+e[a].value:(t.push(e[a]),n=e[a]);return t},c.prototype._parseComments=function(e){e.forEach(function(e){var n;e&&e.type===this.types.comments&&(n={translator:[],extracted:[],reference:[],flag:[],previous:[]},(e.value||"").split(/\n/).forEach((function(e){switch(e.charAt(0)||""){case":":n.reference.push(e.substr(1).trim());break;case".":n.extracted.push(e.substr(1).replace(/^\s+/,""));break;case",":n.flag.push(e.substr(1).replace(/^\s+/,""));break;case"|":n.previous.push(e.substr(1).replace(/^\s+/,""));break;default:n.translator.push(e.replace(/^\s+/,""))}})),e.value={},Object.keys(n).forEach((function(t){n[t]&&n[t].length&&(e.value[t]=n[t].join("\n"))})))}.bind(this))},c.prototype._handleKeys=function(e){for(var n,t=[],a=0,i=e.length;a<i;a++)e[a].type===this.types.key?(n={key:e[a].value},a&&e[a-1].type===this.types.comments&&(n.comments=e[a-1].value),n.value="",t.push(n)):e[a].type===this.types.string&&n&&(n.value+=e[a].value);return t},c.prototype._handleValues=function(e){for(var n,t,a,i=[],o=0,r=e.length;o<r;o++)"msgctxt"===e[o].key.toLowerCase()?(t=e[o].value,a=e[o].comments):"msgid"===e[o].key.toLowerCase()?(n={msgid:e[o].value},t&&(n.msgctxt=t),a&&(n.comments=a),e[o].comments&&!n.comments&&(n.comments=e[o].comments),t=!1,a=!1,i.push(n)):"msgid_plural"===e[o].key.toLowerCase()?(n&&(n.msgid_plural=e[o].value),e[o].comments&&!n.comments&&(n.comments=e[o].comments),t=!1,a=!1):"msgstr"===e[o].key.substr(0,6).toLowerCase()&&(n&&(n.msgstr=(n.msgstr||[]).concat(e[o].value)),e[o].comments&&!n.comments&&(n.comments=e[o].comments),t=!1,a=!1);return i},c.prototype._normalize=function(e){for(var n,t={charset:this._charset,headers:void 0,translations:{}},a=0,i=e.length;a<i;a++)n=e[a].msgctxt||"",t.translations[n]||(t.translations[n]={}),t.headers||n||e[a].msgid||(t.headers=o.parseHeader(e[a].msgstr[0])),t.translations[n][e[a].msgid]=e[a];return t},c.prototype._finalize=function(e){var n=this._joinStringValues(e);return this._parseComments(n),n=this._handleKeys(n),n=this._handleValues(n),this._normalize(n)},s.inherits(l,r),l.prototype._transform=function(e,n,t){var i,o=0;if(!e||!e.length)return t();if(this._parser)this._cacheSize&&(this._cache.push(e),this._cacheSize+=e.length,e=a.concat(this._cache,this._cacheSize),this._cacheSize=0,this._cache=[]);else{if(this._cache.push(e),this._cacheSize+=e.length,this._cacheSize<this.initialTreshold)return setImmediate(t);this._cacheSize&&(e=a.concat(this._cache,this._cacheSize),this._cacheSize=0,this._cache=[]),this._parser=new c(e,this.defaultCharset)}for(i=e.length-1;i>=0&&e[i]>=128;i--)o++;o&&(this._cache=[e.slice(e.length-o)],this._cacheSize=this._cache[0].length,e=e.slice(0,e.length-o)),e.length&&this._parser._lexer(this._parser._toString(e)),setImmediate(t)},l.prototype._flush=function(e){var n;this._cacheSize&&(n=a.concat(this._cache,this._cacheSize)),!this._parser&&n&&(this._parser=new c(n,this.defaultCharset)),n&&this._parser._lexer(this._parser._toString(n)),this._parser&&this.push(this._parser._finalize(this._parser._lex)),setImmediate(e)}},50571:e=>{"use strict";e.exports.parseHeader=function(e){var n=(e||"").split("\n"),t={};return n.forEach((function(e){var n=e.trim().split(":"),a=(n.shift()||"").trim().toLowerCase(),i=n.join(":").trim();a&&(t[a]=i)})),t},e.exports.generateHeader=function(e){var n=[];return Object.keys(e||{}).forEach((function(t){t&&n.push((t||"").toLowerCase().trim().replace(/^(MIME|POT?(?=-)|[a-z])|-[a-z]/gi,(function(e){return e.toUpperCase()}))+": "+(e[t]||"").trim())})),n.join("\n")+(n.length?"\n":"")},e.exports.formatCharset=function(e,n){return(e||"iso-8859-1").toString().toLowerCase().replace(/^utf[-_]?(\d+)$/,"utf-$1").replace(/^win(?:dows)?[-_]?(\d+)$/,"windows-$1").replace(/^latin[-_]?(\d+)$/,"iso-8859-$1").replace(/^(us[-_]?)?ascii$/,"ascii").replace(/^charset$/,n||"iso-8859-1").trim()},e.exports.foldLine=function(e,n){n=n||76;var t,a=[],i="",o=0,r=e.length;for(;o<r;){for(i=e.substr(o,n);"\\"===i.substr(-1)&&o+i.length<r;)i+=e.charAt(o+i.length);((t=/.*?\\n/.exec(i))||o+i.length<r&&((t=/.*\s+/.exec(i))&&/[^\s]/.test(t[0])||(t=/.*[\x21-\x2f0-9\x5b-\x60\x7b-\x7e]+/.exec(i))&&/[^\x21-\x2f0-9\x5b-\x60\x7b-\x7e]/.test(t[0])))&&(i=t[0]),a.push(i),o+=i.length}return a}},20761:e=>{"use strict";e.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},88295:e=>{var n,t,a=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function r(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:i}catch(e){n=i}try{t="function"===typeof clearTimeout?clearTimeout:o}catch(e){t=o}}();var s,c=[],l=!1,u=-1;function p(){l&&s&&(l=!1,s.length?c=s.concat(c):u=-1,c.length&&d())}function d(){if(!l){var e=r(p);l=!0;for(var n=c.length;n;){for(s=c,c=[];++u<n;)s&&s[u].run();u=-1,n=c.length}s=null,l=!1,function(e){if(t===clearTimeout)return clearTimeout(e);if((t===o||!t)&&clearTimeout)return t=clearTimeout,clearTimeout(e);try{return t(e)}catch(n){try{return t.call(null,e)}catch(n){return t.call(this,e)}}}(e)}}function m(e,n){this.fun=e,this.array=n}function f(){}a.nextTick=function(e){var n=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)n[t-1]=arguments[t];c.push(new m(e,n)),1!==c.length||l||r(d)},m.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=f,a.addListener=f,a.once=f,a.off=f,a.removeListener=f,a.removeAllListeners=f,a.emit=f,a.prependListener=f,a.prependOnceListener=f,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},3547:(e,n,t)=>{"use strict";var a=t(38684);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,n,t,i,o,r){if(r!==a){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:o,resetWarningCache:i};return t.PropTypes=t,t}},2407:(e,n,t)=>{e.exports=t(3547)()},38684:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},50565:(e,n,t)=>{"use strict";t.d(n,{Z:()=>Z,A:()=>ne});var a=t(9793),i=t(2250),o=t(83912),r=t(712),s=t(64916),c=t(76364),l=t(80908),u=t(71173),p=t(57144),d=t(98173);const m=d.createContext({});var f=t(53575),v=t(70908),h="__rc_cascader_search_mark__",x=function(e,n,t){var a=t.label,i=void 0===a?"":a;return n.some((function(n){return String(n[i]).toLowerCase().includes(e.toLowerCase())}))},g=function(e,n,t,a){return n.map((function(e){return e[a.label]})).join(" / ")};const b=function(e,n,t,a,r,s){var c=r.filter,l=void 0===c?x:c,u=r.render,p=void 0===u?g:u,m=r.limit,f=void 0===m?50:m,b=r.sort;return d.useMemo((function(){var r=[];if(!e)return[];return function n(c,u){var d=arguments.length>2&&void 0!==arguments[2]&&arguments[2];c.forEach((function(c){if(!(!b&&!1!==f&&f>0&&r.length>=f)){var m,x=[].concat((0,o.A)(u),[c]),g=c[t.children],y=d||c.disabled;if(!g||0===g.length||s)if(l(e,x,{label:t.label}))r.push((0,i.A)((0,i.A)({},c),{},(m={disabled:y},(0,v.A)(m,t.label,p(e,x,a,t)),(0,v.A)(m,h,x),(0,v.A)(m,t.children,void 0),m)));g&&n(c[t.children],x,y)}}))}(n,[]),b&&r.sort((function(n,a){return b(n[h],a[h],e,t)})),!1!==f&&f>0?r.slice(0,f):r}),[e,n,t,a,p,s,l,b,f])};var y="__RC_CASCADER_SPLIT__",A="SHOW_PARENT",w="SHOW_CHILD";function C(e){return e.join(y)}function k(e){return e.map(C)}function E(e){var n=e||{},t=n.label,a=n.value||"value";return{label:t||"label",value:a,key:a,children:n.children||"children"}}function N(e,n){var t,a;return null!==(t=e.isLeaf)&&void 0!==t?t:!(null!==(a=e[n.children])&&void 0!==a&&a.length)}function S(e){var n=e.parentElement;if(n){var t=e.offsetTop-n.offsetTop;t-n.scrollTop<0?n.scrollTo({top:t}):t+e.offsetHeight-n.scrollTop>n.offsetHeight&&n.scrollTo({top:t+e.offsetHeight-n.offsetHeight})}}function M(e,n){return e.map((function(e){var t;return null===(t=e[h])||void 0===t?void 0:t.map((function(e){return e[n.value]}))}))}function R(e){return e?function(e){return Array.isArray(e)&&Array.isArray(e[0])}(e)?e:(0===e.length?[]:[e]).map((function(e){return Array.isArray(e)?e:[e]})):[]}function I(e,n,t){var a=new Set(e),i=n();return e.filter((function(e){var n=i[e],o=n?n.parent:null,r=n?n.children:null;return!(!n||!n.node.disabled)||(t===w?!(r&&r.some((function(e){return e.key&&a.has(e.key)}))):!(o&&!o.node.disabled&&a.has(o.key)))}))}function _(e,n,t){for(var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=n,o=[],r=function(){var n,r,c,l=e[s],u=null===(n=i)||void 0===n?void 0:n.findIndex((function(e){var n=e[t.value];return a?String(n)===String(l):n===l})),p=-1!==u?null===(r=i)||void 0===r?void 0:r[u]:null;o.push({value:null!==(c=null===p||void 0===p?void 0:p[t.value])&&void 0!==c?c:l,index:u,option:p}),i=null===p||void 0===p?void 0:p[t.children]},s=0;s<e.length;s+=1)r();return o}function P(e,n){return d.useCallback((function(t){var a=[],i=[];return t.forEach((function(t){_(t,e,n).every((function(e){return e.option}))?i.push(t):a.push(t)})),[i,a]}),[e,n])}var j=t(74423);const F=function(e,n){var t=d.useRef({options:[],info:{keyEntities:{},pathKeyEntities:{}}});return d.useCallback((function(){return t.current.options!==e&&(t.current.options=e,t.current.info=(0,j.cG)(e,{fieldNames:n,initWrapper:function(e){return(0,i.A)((0,i.A)({},e),{},{pathKeyEntities:{}})},processEntity:function(e,t){var a=e.nodes.map((function(e){return e[n.value]})).join(y);t.pathKeyEntities[a]=e,e.key=a}})),t.current.info.pathKeyEntities}),[n,e])};function T(e,n){var t=d.useMemo((function(){return n||[]}),[n]),a=F(t,e),i=d.useCallback((function(n){var t=a();return n.map((function(n){return t[n].nodes.map((function(n){return n[e.value]}))}))}),[a,e]);return[t,a,i]}t(44449);var D=t(13407);function O(e,n,t,a,i,r,s,c){return function(l){if(e){var u=C(l),p=k(t),d=k(a),m=p.includes(u),f=i.some((function(e){return C(e)===u})),v=t,h=i;if(f&&!m)h=i.filter((function(e){return C(e)!==u}));else{var x,g=m?p.filter((function(e){return e!==u})):[].concat((0,o.A)(p),[u]),b=r();if(m)x=(0,D.p)(g,{checked:!1,halfCheckedKeys:d},b).checkedKeys;else x=(0,D.p)(g,!0,b).checkedKeys;var y=I(x,r,c);v=s(y)}n([].concat((0,o.A)(h),(0,o.A)(v)))}else n(l)}}function z(e,n,t,a,i){return d.useMemo((function(){var o=i(n),s=(0,r.A)(o,2),c=s[0],l=s[1];if(!e||!n.length)return[c,[],l];var u=k(c),p=t(),d=(0,D.p)(u,!0,p),m=d.checkedKeys,f=d.halfCheckedKeys;return[a(m),a(f),l]}),[e,n,t,a,i])}var V=t(85591),L=t.n(V);const q=d.memo((function(e){return e.children}),(function(e,n){return!n.open}));function H(e){var n,t=e.prefixCls,a=e.checked,i=e.halfChecked,o=e.disabled,r=e.onClick,s=e.disableCheckbox,c=d.useContext(m).checkable,l="boolean"!==typeof c?c:null;return d.createElement("span",{className:L()("".concat(t),(n={},(0,v.A)(n,"".concat(t,"-checked"),a),(0,v.A)(n,"".concat(t,"-indeterminate"),!a&&i),(0,v.A)(n,"".concat(t,"-disabled"),o||s),n)),onClick:r},l)}var K="__cascader_fix_label__";function Y(e){var n=e.prefixCls,t=e.multiple,a=e.options,i=e.activeValue,r=e.prevValuePath,s=e.onToggleOpen,c=e.onSelect,l=e.onActive,u=e.checkedSet,p=e.halfCheckedSet,f=e.loadingKeys,x=e.isSelectable,g=e.disabled,b="".concat(n,"-menu"),y="".concat(n,"-menu-item"),A=d.useContext(m),w=A.fieldNames,k=A.changeOnSelect,E=A.expandTrigger,S=A.expandIcon,M=A.loadingIcon,R=A.dropdownMenuColumnStyle,I=A.optionRender,_="hover"===E,P=function(e){return g||e},j=d.useMemo((function(){return a.map((function(e){var n,t=e.disabled,a=e.disableCheckbox,i=e[h],s=null!==(n=e[K])&&void 0!==n?n:e[w.label],c=e[w.value],l=N(e,w),d=i?i.map((function(e){return e[w.value]})):[].concat((0,o.A)(r),[c]),m=C(d);return{disabled:t,label:s,value:c,isLeaf:l,isLoading:f.includes(m),checked:u.has(m),halfChecked:p.has(m),option:e,disableCheckbox:a,fullPath:d,fullPathKey:m}}))}),[a,u,w,p,f,r]);return d.createElement("ul",{className:b,role:"menu"},j.map((function(e){var a,r,u=e.disabled,p=e.label,m=e.value,f=e.isLeaf,h=e.isLoading,g=e.checked,b=e.halfChecked,A=e.option,w=e.fullPath,C=e.fullPathKey,E=e.disableCheckbox,N=function(){if(!P(u)){var e=(0,o.A)(w);_&&f&&e.pop(),l(e)}},j=function(){x(A)&&!P(u)&&c(w,f)};return"string"===typeof A.title?r=A.title:"string"===typeof p&&(r=p),d.createElement("li",{key:C,className:L()(y,(a={},(0,v.A)(a,"".concat(y,"-expand"),!f),(0,v.A)(a,"".concat(y,"-active"),i===m||i===C),(0,v.A)(a,"".concat(y,"-disabled"),P(u)),(0,v.A)(a,"".concat(y,"-loading"),h),a)),style:R,role:"menuitemcheckbox",title:r,"aria-checked":g,"data-path-key":C,onClick:function(){N(),E||t&&!f||j()},onDoubleClick:function(){k&&s(!1)},onMouseEnter:function(){_&&N()},onMouseDown:function(e){e.preventDefault()}},t&&d.createElement(H,{prefixCls:"".concat(n,"-checkbox"),checked:g,halfChecked:b,disabled:P(u)||E,disableCheckbox:E,onClick:function(e){E||(e.stopPropagation(),j())}}),d.createElement("div",{className:"".concat(y,"-content")},I?I(A):p),!h&&S&&!f&&d.createElement("div",{className:"".concat(y,"-expand-icon")},S),h&&M&&d.createElement("div",{className:"".concat(y,"-loading-icon")},M))})))}const W=function(e,n){var t=d.useContext(m).values[0],a=d.useState([]),i=(0,r.A)(a,2),o=i[0],s=i[1];return d.useEffect((function(){e||s(t||[])}),[n,t]),[o,s]};var B=t(60871);const U=function(e,n,t,a,i,s,c){var l=c.direction,u=c.searchValue,p=c.toggleOpen,m=c.open,f="rtl"===l,v=d.useMemo((function(){for(var e=-1,i=n,o=[],r=[],s=a.length,c=M(n,t),l=function(n){var s=i.findIndex((function(e,i){return(c[i]?C(c[i]):e[t.value])===a[n]}));if(-1===s)return 1;e=s,o.push(e),r.push(a[n]),i=i[e][t.children]},u=0;u<s&&i&&!l(u);u+=1);for(var p=n,d=0;d<o.length-1;d+=1)p=p[o[d]][t.children];return[r,e,p,c]}),[a,t,n]),x=(0,r.A)(v,4),g=x[0],b=x[1],y=x[2],A=x[3],w=function(e){i(e)},k=function(){if(g.length>1){var e=g.slice(0,-1);w(e)}else p(!1)},E=function(){var e,n=((null===(e=y[b])||void 0===e?void 0:e[t.children])||[]).find((function(e){return!e.disabled}));if(n){var a=[].concat((0,o.A)(g),[n[t.value]]);w(a)}};d.useImperativeHandle(e,(function(){return{onKeyDown:function(e){var n=e.which;switch(n){case B.A.UP:case B.A.DOWN:var a=0;n===B.A.UP?a=-1:n===B.A.DOWN&&(a=1),0!==a&&function(e){var n=y.length,a=b;-1===a&&e<0&&(a=n);for(var i=0;i<n;i+=1){var o=y[a=(a+e+n)%n];if(o&&!o.disabled){var r=g.slice(0,-1).concat(A[a]?C(A[a]):o[t.value]);return void w(r)}}}(a);break;case B.A.LEFT:if(u)break;f?E():k();break;case B.A.RIGHT:if(u)break;f?k():E();break;case B.A.BACKSPACE:u||k();break;case B.A.ENTER:if(g.length){var i=y[b],o=(null===i||void 0===i?void 0:i[h])||[];o.length?s(o.map((function(e){return e[t.value]})),o[o.length-1]):s(g,y[b])}break;case B.A.ESC:p(!1),m&&e.stopPropagation()}},onKeyUp:function(){}}}))};const X=d.forwardRef((function(e,n){var t,s,c,l=e.prefixCls,u=e.multiple,p=e.searchValue,f=e.toggleOpen,h=e.notFoundContent,x=e.direction,g=e.open,b=e.disabled,A=d.useRef(null),w="rtl"===x,E=d.useContext(m),R=E.options,I=E.values,P=E.halfValues,j=E.fieldNames,F=E.changeOnSelect,T=E.onSelect,D=E.searchOptions,O=E.dropdownPrefixCls,z=E.loadData,V=E.expandTrigger,H=O||l,B=d.useState([]),X=(0,r.A)(B,2),$=X[0],G=X[1];d.useEffect((function(){$.length&&$.forEach((function(e){var n=_(e.split(y),R,j,!0).map((function(e){return e.option})),t=n[n.length-1];(!t||t[j.children]||N(t,j))&&G((function(n){return n.filter((function(n){return n!==e}))}))}))}),[R,$,j]);var Q=d.useMemo((function(){return new Set(k(I))}),[I]),Z=d.useMemo((function(){return new Set(k(P))}),[P]),J=W(u,g),ee=(0,r.A)(J,2),ne=ee[0],te=ee[1],ae=function(e){te(e),function(e){if(z&&!p){var n=_(e,R,j).map((function(e){return e.option})),t=n[n.length-1];if(t&&!N(t,j)){var a=C(e);G((function(e){return[].concat((0,o.A)(e),[a])})),z(n)}}}(e)},ie=function(e){if(b)return!1;var n=e.disabled,t=N(e,j);return!n&&(t||F||u)},oe=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];T(e),!u&&(n||F&&("hover"===V||t))&&f(!1)},re=d.useMemo((function(){return p?D:R}),[p,D,R]),se=d.useMemo((function(){for(var e=[{options:re}],n=re,t=M(n,j),a=function(){var a=ne[i],o=n.find((function(e,n){return(t[n]?C(t[n]):e[j.value])===a})),r=null===o||void 0===o?void 0:o[j.children];if(null===r||void 0===r||!r.length)return 1;n=r,e.push({options:r})},i=0;i<ne.length&&!a();i+=1);return e}),[re,ne,j]);U(n,re,j,ne,ae,(function(e,n){ie(n)&&oe(e,N(n,j),!0)}),{direction:x,searchValue:p,toggleOpen:f,open:g}),d.useEffect((function(){if(!p)for(var e=0;e<ne.length;e+=1){var n,t=C(ne.slice(0,e+1)),a=null===(n=A.current)||void 0===n?void 0:n.querySelector('li[data-path-key="'.concat(t.replace(/\\{0,2}"/g,'\\"'),'"]'));a&&S(a)}}),[ne,p]);var ce=!(null!==(t=se[0])&&void 0!==t&&null!==(t=t.options)&&void 0!==t&&t.length),le=[(s={},(0,v.A)(s,j.value,"__EMPTY__"),(0,v.A)(s,K,h),(0,v.A)(s,"disabled",!0),s)],ue=(0,i.A)((0,i.A)({},e),{},{multiple:!ce&&u,onSelect:oe,onActive:ae,onToggleOpen:f,checkedSet:Q,halfCheckedSet:Z,loadingKeys:$,isSelectable:ie}),pe=(ce?[{options:le}]:se).map((function(e,n){var t=ne.slice(0,n),i=ne[n];return d.createElement(Y,(0,a.A)({key:n},ue,{prefixCls:H,options:e.options,prevValuePath:t,activeValue:i}))}));return d.createElement(q,{open:g},d.createElement("div",{className:L()("".concat(H,"-menus"),(c={},(0,v.A)(c,"".concat(H,"-menu-empty"),ce),(0,v.A)(c,"".concat(H,"-rtl"),w),c)),ref:A},pe))}));const $=d.forwardRef((function(e,n){var t=(0,c.Vm)();return d.createElement(X,(0,a.A)({},e,t,{ref:n}))}));var G=t(3889);function Q(){}function Z(e){var n,t=e,a=t.prefixCls,i=void 0===a?"rc-cascader":a,o=t.style,s=t.className,c=t.options,l=t.checkable,u=t.defaultValue,p=t.value,f=t.fieldNames,h=t.changeOnSelect,x=t.onChange,g=t.showCheckedStrategy,b=t.loadData,y=t.expandTrigger,A=t.expandIcon,w=void 0===A?">":A,C=t.loadingIcon,k=t.direction,N=t.notFoundContent,S=void 0===N?"Not Found":N,M=t.disabled,I=!!l,j=(0,G.vz)(u,{value:p,postState:R}),F=(0,r.A)(j,2),D=F[0],V=F[1],q=d.useMemo((function(){return E(f)}),[JSON.stringify(f)]),H=T(q,c),K=(0,r.A)(H,3),Y=K[0],W=K[1],B=K[2],U=P(Y,q),$=z(I,D,W,B,U),Z=(0,r.A)($,3),J=Z[0],ee=Z[1],ne=Z[2],te=(0,G._q)((function(e){if(V(e),x){var n=R(e),t=n.map((function(e){return _(e,Y,q).map((function(e){return e.option}))})),a=I?n:n[0],i=I?t:t[0];x(a,i)}})),ae=O(I,te,J,ee,ne,W,B,g),ie=(0,G._q)((function(e){ae(e)})),oe=d.useMemo((function(){return{options:Y,fieldNames:q,values:J,halfValues:ee,changeOnSelect:h,onSelect:ie,checkable:l,searchOptions:[],dropdownPrefixCls:void 0,loadData:b,expandTrigger:y,expandIcon:w,loadingIcon:C,dropdownMenuColumnStyle:void 0}}),[Y,q,J,ee,h,ie,l,b,y,w,C]),re="".concat(i,"-panel"),se=!Y.length;return d.createElement(m.Provider,{value:oe},d.createElement("div",{className:L()(re,(n={},(0,v.A)(n,"".concat(re,"-rtl"),"rtl"===k),(0,v.A)(n,"".concat(re,"-empty"),se),n),s),style:o},se?S:d.createElement(X,{prefixCls:i,searchValue:"",multiple:I,toggleOpen:Q,open:!0,direction:k,disabled:M})))}var J=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","dropdownStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","onOpenChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy","optionRender"],ee=d.forwardRef((function(e,n){var t=e.id,v=e.prefixCls,h=void 0===v?"rc-cascader":v,x=e.fieldNames,g=e.defaultValue,y=e.value,w=e.changeOnSelect,N=e.onChange,S=e.displayRender,M=e.checkable,j=e.autoClearSearchValue,F=void 0===j||j,D=e.searchValue,V=e.onSearch,L=e.showSearch,q=e.expandTrigger,H=e.options,K=e.dropdownPrefixCls,Y=e.loadData,W=e.popupVisible,B=e.open,U=e.popupClassName,X=e.dropdownClassName,G=e.dropdownMenuColumnStyle,Q=e.dropdownStyle,Z=e.popupPlacement,ee=e.placement,ne=e.onDropdownVisibleChange,te=e.onPopupVisibleChange,ae=e.onOpenChange,ie=e.expandIcon,oe=void 0===ie?">":ie,re=e.loadingIcon,se=e.children,ce=e.dropdownMatchSelectWidth,le=void 0!==ce&&ce,ue=e.showCheckedStrategy,pe=void 0===ue?A:ue,de=e.optionRender,me=(0,s.A)(e,J),fe=(0,l.Ay)(t),ve=!!M,he=(0,p.A)(g,{value:y,postState:R}),xe=(0,r.A)(he,2),ge=xe[0],be=xe[1],ye=d.useMemo((function(){return E(x)}),[JSON.stringify(x)]),Ae=T(ye,H),we=(0,r.A)(Ae,3),Ce=we[0],ke=we[1],Ee=we[2],Ne=(0,p.A)("",{value:D,postState:function(e){return e||""}}),Se=(0,r.A)(Ne,2),Me=Se[0],Re=Se[1],Ie=function(e){return d.useMemo((function(){if(!e)return[!1,{}];var n={matchInputWidth:!0,limit:50};return e&&"object"===(0,f.A)(e)&&(n=(0,i.A)((0,i.A)({},n),e)),n.limit<=0&&(n.limit=!1),[!0,n]}),[e])}(L),_e=(0,r.A)(Ie,2),Pe=_e[0],je=_e[1],Fe=b(Me,Ce,ye,K||h,je,w||ve),Te=P(Ce,ye),De=z(ve,ge,ke,Ee,Te),Oe=(0,r.A)(De,3),ze=Oe[0],Ve=Oe[1],Le=Oe[2],qe=function(e,n,t,a,i){return d.useMemo((function(){var r=i||function(e){var n=a?e.slice(-1):e;return n.every((function(e){return["string","number"].includes((0,f.A)(e))}))?n.join(" / "):n.reduce((function(e,n,t){var a=d.isValidElement(n)?d.cloneElement(n,{key:t}):n;return 0===t?[a]:[].concat((0,o.A)(e),[" / ",a])}),[])};return e.map((function(e){var a,i=_(e,n,t),o=r(i.map((function(e){var n,a=e.option,i=e.value;return null!==(n=null===a||void 0===a?void 0:a[t.label])&&void 0!==n?n:i})),i.map((function(e){return e.option}))),s=C(e);return{label:o,value:s,key:s,valueCells:e,disabled:null===(a=i[i.length-1])||void 0===a||null===(a=a.option)||void 0===a?void 0:a.disabled}}))}),[e,n,t,i,a])}(d.useMemo((function(){var e=I(k(ze),ke,pe);return[].concat((0,o.A)(Le),(0,o.A)(Ee(e)))}),[ze,ke,Ee,Le,pe]),Ce,ye,ve,S),He=(0,u.A)((function(e){if(be(e),N){var n=R(e),t=n.map((function(e){return _(e,Ce,ye).map((function(e){return e.option}))})),a=ve?n:n[0],i=ve?t:t[0];N(a,i)}})),Ke=O(ve,He,ze,Ve,Le,ke,Ee,pe),Ye=(0,u.A)((function(e){ve&&!F||Re(""),Ke(e)})),We=void 0!==B?B:W,Be=X||U,Ue=ee||Z;var Xe=d.useMemo((function(){return{options:Ce,fieldNames:ye,values:ze,halfValues:Ve,changeOnSelect:w,onSelect:Ye,checkable:M,searchOptions:Fe,dropdownPrefixCls:K,loadData:Y,expandTrigger:q,expandIcon:oe,loadingIcon:re,dropdownMenuColumnStyle:G,optionRender:de}}),[Ce,ye,ze,Ve,w,Ye,M,Fe,K,Y,q,oe,re,G,de]),$e=!(Me?Fe:Ce).length,Ge=Me&&je.matchInputWidth||$e?{}:{minWidth:"auto"};return d.createElement(m.Provider,{value:Xe},d.createElement(c.g3,(0,a.A)({},me,{ref:n,id:fe,prefixCls:h,autoClearSearchValue:F,dropdownMatchSelectWidth:le,dropdownStyle:(0,i.A)((0,i.A)({},Ge),Q),displayValues:qe,onDisplayValuesChange:function(e,n){if("clear"!==n.type){var t=n.values[0].valueCells;Ye(t)}else He([])},mode:ve?"multiple":void 0,searchValue:Me,onSearch:function(e,n){Re(e),"blur"!==n.source&&V&&V(e)},showSearch:Pe,OptionList:$,emptyOptions:$e,open:We,dropdownClassName:Be,placement:Ue,onDropdownVisibleChange:function(e){null===ae||void 0===ae||ae(e),null===ne||void 0===ne||ne(e),null===te||void 0===te||te(e)},getRawInputElement:function(){return se}})))}));ee.SHOW_PARENT=A,ee.SHOW_CHILD=w,ee.Panel=Z;const ne=ee},71570:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var a=t(9793),i=t(2250),o=t(70908),r=t(712),s=t(64916),c=t(85591),l=t.n(c),u=t(57144),p=t(98173),d=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"];const m=(0,p.forwardRef)((function(e,n){var t=e.prefixCls,c=void 0===t?"rc-checkbox":t,m=e.className,f=e.style,v=e.checked,h=e.disabled,x=e.defaultChecked,g=void 0!==x&&x,b=e.type,y=void 0===b?"checkbox":b,A=e.title,w=e.onChange,C=(0,s.A)(e,d),k=(0,p.useRef)(null),E=(0,p.useRef)(null),N=(0,u.A)(g,{value:v}),S=(0,r.A)(N,2),M=S[0],R=S[1];(0,p.useImperativeHandle)(n,(function(){return{focus:function(e){var n;null===(n=k.current)||void 0===n||n.focus(e)},blur:function(){var e;null===(e=k.current)||void 0===e||e.blur()},input:k.current,nativeElement:E.current}}));var I=l()(c,m,(0,o.A)((0,o.A)({},"".concat(c,"-checked"),M),"".concat(c,"-disabled"),h));return p.createElement("span",{className:I,title:A,style:f,ref:E},p.createElement("input",(0,a.A)({},C,{className:"".concat(c,"-input"),ref:k,onChange:function(n){h||("checked"in e||R(n.target.checked),null===w||void 0===w||w({target:(0,i.A)((0,i.A)({},e),{},{type:y,checked:n.target.checked}),stopPropagation:function(){n.stopPropagation()},preventDefault:function(){n.preventDefault()},nativeEvent:n.nativeEvent}))},disabled:h,checked:!!M,type:y})),p.createElement("span",{className:"".concat(c,"-inner")}))}))},17649:(e,n,t)=>{"use strict";t.d(n,{A:()=>M});var a=t(9793),i=t(83912),o=t(712),r=t(53575),s=t(85591),c=t.n(s),l=t(57144),u=t(44449),p=t(98173),d=t(64916),m=t(87191),f=t(2250),v=t(70908),h=t(52039),x=t(60871),g=p.forwardRef((function(e,n){var t=e.prefixCls,a=e.forceRender,i=e.className,r=e.style,s=e.children,l=e.isActive,u=e.role,d=e.classNames,m=e.styles,f=p.useState(l||a),h=(0,o.A)(f,2),x=h[0],g=h[1];return p.useEffect((function(){(a||l)&&g(!0)}),[a,l]),x?p.createElement("div",{ref:n,className:c()("".concat(t,"-content"),(0,v.A)((0,v.A)({},"".concat(t,"-content-active"),l),"".concat(t,"-content-inactive"),!l),i),style:r,role:u},p.createElement("div",{className:c()("".concat(t,"-content-box"),null===d||void 0===d?void 0:d.body),style:null===m||void 0===m?void 0:m.body},s)):null}));g.displayName="PanelContent";const b=g;var y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"];const A=p.forwardRef((function(e,n){var t=e.showArrow,i=void 0===t||t,o=e.headerClass,r=e.isActive,s=e.onItemClick,l=e.forceRender,u=e.className,m=e.classNames,g=void 0===m?{}:m,A=e.styles,w=void 0===A?{}:A,C=e.prefixCls,k=e.collapsible,E=e.accordion,N=e.panelKey,S=e.extra,M=e.header,R=e.expandIcon,I=e.openMotion,_=e.destroyInactivePanel,P=e.children,j=(0,d.A)(e,y),F="disabled"===k,T=null!==S&&void 0!==S&&"boolean"!==typeof S,D=(0,v.A)((0,v.A)((0,v.A)({onClick:function(){null===s||void 0===s||s(N)},onKeyDown:function(e){"Enter"!==e.key&&e.keyCode!==x.A.ENTER&&e.which!==x.A.ENTER||null===s||void 0===s||s(N)},role:E?"tab":"button"},"aria-expanded",r),"aria-disabled",F),"tabIndex",F?-1:0),O="function"===typeof R?R(e):p.createElement("i",{className:"arrow"}),z=O&&p.createElement("div",(0,a.A)({className:"".concat(C,"-expand-icon")},["header","icon"].includes(k)?D:{}),O),V=c()("".concat(C,"-item"),(0,v.A)((0,v.A)({},"".concat(C,"-item-active"),r),"".concat(C,"-item-disabled"),F),u),L=c()(o,"".concat(C,"-header"),(0,v.A)({},"".concat(C,"-collapsible-").concat(k),!!k),g.header),q=(0,f.A)({className:L,style:w.header},["header","icon"].includes(k)?{}:D);return p.createElement("div",(0,a.A)({},j,{ref:n,className:V}),p.createElement("div",q,i&&z,p.createElement("span",(0,a.A)({className:"".concat(C,"-header-text")},"header"===k?D:{}),M),T&&p.createElement("div",{className:"".concat(C,"-extra")},S)),p.createElement(h.Ay,(0,a.A)({visible:r,leavedClassName:"".concat(C,"-content-hidden")},I,{forceRender:l,removeOnLeave:_}),(function(e,n){var t=e.className,a=e.style;return p.createElement(b,{ref:n,prefixCls:C,className:t,classNames:g,style:a,styles:w,isActive:r,forceRender:l,role:E?"tabpanel":void 0},P)})))}));var w=["children","label","key","collapsible","onItemClick","destroyInactivePanel"];const C=function(e,n,t){return Array.isArray(e)?function(e,n){var t=n.prefixCls,i=n.accordion,o=n.collapsible,r=n.destroyInactivePanel,s=n.onItemClick,c=n.activeKey,l=n.openMotion,u=n.expandIcon;return e.map((function(e,n){var m=e.children,f=e.label,v=e.key,h=e.collapsible,x=e.onItemClick,g=e.destroyInactivePanel,b=(0,d.A)(e,w),y=String(null!==v&&void 0!==v?v:n),C=null!==h&&void 0!==h?h:o,k=null!==g&&void 0!==g?g:r,E=!1;return E=i?c[0]===y:c.indexOf(y)>-1,p.createElement(A,(0,a.A)({},b,{prefixCls:t,key:y,panelKey:y,isActive:E,accordion:i,openMotion:l,expandIcon:u,header:f,collapsible:C,onItemClick:function(e){"disabled"!==C&&(s(e),null===x||void 0===x||x(e))},destroyInactivePanel:k}),m)}))}(e,t):(0,m.A)(n).map((function(e,n){return function(e,n,t){if(!e)return null;var a=t.prefixCls,i=t.accordion,o=t.collapsible,r=t.destroyInactivePanel,s=t.onItemClick,c=t.activeKey,l=t.openMotion,u=t.expandIcon,d=e.key||String(n),m=e.props,f=m.header,v=m.headerClass,h=m.destroyInactivePanel,x=m.collapsible,g=m.onItemClick,b=!1;b=i?c[0]===d:c.indexOf(d)>-1;var y=null!==x&&void 0!==x?x:o,A={key:d,panelKey:d,header:f,headerClass:v,isActive:b,prefixCls:a,destroyInactivePanel:null!==h&&void 0!==h?h:r,openMotion:l,accordion:i,children:e.props.children,onItemClick:function(e){"disabled"!==y&&(s(e),null===g||void 0===g||g(e))},expandIcon:u,collapsible:y};return"string"===typeof e.type?e:(Object.keys(A).forEach((function(e){"undefined"===typeof A[e]&&delete A[e]})),p.cloneElement(e,A))}(e,n,t)}))};var k=t(14902);function E(e){var n=e;if(!Array.isArray(n)){var t=(0,r.A)(n);n="number"===t||"string"===t?[n]:[]}return n.map((function(e){return String(e)}))}var N=p.forwardRef((function(e,n){var t=e.prefixCls,r=void 0===t?"rc-collapse":t,s=e.destroyInactivePanel,d=void 0!==s&&s,m=e.style,f=e.accordion,v=e.className,h=e.children,x=e.collapsible,g=e.openMotion,b=e.expandIcon,y=e.activeKey,A=e.defaultActiveKey,w=e.onChange,N=e.items,S=c()(r,v),M=(0,l.A)([],{value:y,onChange:function(e){return null===w||void 0===w?void 0:w(e)},defaultValue:A,postState:E}),R=(0,o.A)(M,2),I=R[0],_=R[1];(0,u.Ay)(!h,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var P=C(N,h,{prefixCls:r,accordion:f,openMotion:g,expandIcon:b,collapsible:x,destroyInactivePanel:d,onItemClick:function(e){return _((function(){return f?I[0]===e?[]:[e]:I.indexOf(e)>-1?I.filter((function(n){return n!==e})):[].concat((0,i.A)(I),[e])}))},activeKey:I});return p.createElement("div",(0,a.A)({ref:n,className:S,style:m,role:f?"tablist":void 0},(0,k.A)(e,{aria:!0,data:!0})),P)}));const S=Object.assign(N,{Panel:A}),M=S;S.Panel},71556:(e,n,t)=>{"use strict";t.d(n,{Z:()=>C,A:()=>R});var a=t(9793),i=t(712),o=t(72528),r=t(98173),s=r.createContext({}),c=t(2250),l=t(85591),u=t.n(l),p=t(48893),d=t(88552),m=t(60871),f=t(14902);function v(e,n,t){var a=n;return!a&&t&&(a="".concat(e,"-").concat(t)),a}function h(e,n){var t=e["page".concat(n?"Y":"X","Offset")],a="scroll".concat(n?"Top":"Left");if("number"!==typeof t){var i=e.document;"number"!==typeof(t=i.documentElement[a])&&(t=i.body[a])}return t}var x=t(52039),g=t(53575),b=t(45400);const y=r.memo((function(e){return e.children}),(function(e,n){return!n.shouldUpdate}));var A={width:0,height:0,overflow:"hidden",outline:"none"},w={outline:"none"};const C=r.forwardRef((function(e,n){var t=e.prefixCls,i=e.className,o=e.style,l=e.title,p=e.ariaId,d=e.footer,m=e.closable,v=e.closeIcon,h=e.onClose,x=e.children,C=e.bodyStyle,k=e.bodyProps,E=e.modalRender,N=e.onMouseDown,S=e.onMouseUp,M=e.holderRef,R=e.visible,I=e.forceRender,_=e.width,P=e.height,j=e.classNames,F=e.styles,T=r.useContext(s).panel,D=(0,b.xK)(M,T),O=(0,r.useRef)(),z=(0,r.useRef)();r.useImperativeHandle(n,(function(){return{focus:function(){var e;null===(e=O.current)||void 0===e||e.focus({preventScroll:!0})},changeActive:function(e){var n=document.activeElement;e&&n===z.current?O.current.focus({preventScroll:!0}):e||n!==O.current||z.current.focus({preventScroll:!0})}}}));var V={};void 0!==_&&(V.width=_),void 0!==P&&(V.height=P);var L=d?r.createElement("div",{className:u()("".concat(t,"-footer"),null===j||void 0===j?void 0:j.footer),style:(0,c.A)({},null===F||void 0===F?void 0:F.footer)},d):null,q=l?r.createElement("div",{className:u()("".concat(t,"-header"),null===j||void 0===j?void 0:j.header),style:(0,c.A)({},null===F||void 0===F?void 0:F.header)},r.createElement("div",{className:"".concat(t,"-title"),id:p},l)):null,H=(0,r.useMemo)((function(){return"object"===(0,g.A)(m)&&null!==m?m:m?{closeIcon:null!==v&&void 0!==v?v:r.createElement("span",{className:"".concat(t,"-close-x")})}:{}}),[m,v,t]),K=(0,f.A)(H,!0),Y="object"===(0,g.A)(m)&&m.disabled,W=m?r.createElement("button",(0,a.A)({type:"button",onClick:h,"aria-label":"Close"},K,{className:"".concat(t,"-close"),disabled:Y}),H.closeIcon):null,B=r.createElement("div",{className:u()("".concat(t,"-content"),null===j||void 0===j?void 0:j.content),style:null===F||void 0===F?void 0:F.content},W,q,r.createElement("div",(0,a.A)({className:u()("".concat(t,"-body"),null===j||void 0===j?void 0:j.body),style:(0,c.A)((0,c.A)({},C),null===F||void 0===F?void 0:F.body)},k),x),L);return r.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":l?p:null,"aria-modal":"true",ref:D,style:(0,c.A)((0,c.A)({},o),V),className:u()(t,i),onMouseDown:N,onMouseUp:S},r.createElement("div",{ref:O,tabIndex:0,style:w},r.createElement(y,{shouldUpdate:R||I},E?E(B):B)),r.createElement("div",{tabIndex:0,ref:z,style:A}))}));var k=r.forwardRef((function(e,n){var t=e.prefixCls,o=e.title,s=e.style,l=e.className,p=e.visible,d=e.forceRender,m=e.destroyOnClose,f=e.motionName,v=e.ariaId,g=e.onVisibleChanged,b=e.mousePosition,y=(0,r.useRef)(),A=r.useState(),w=(0,i.A)(A,2),k=w[0],E=w[1],N={};function S(){var e=function(e){var n=e.getBoundingClientRect(),t={left:n.left,top:n.top},a=e.ownerDocument,i=a.defaultView||a.parentWindow;return t.left+=h(i),t.top+=h(i,!0),t}(y.current);E(b&&(b.x||b.y)?"".concat(b.x-e.left,"px ").concat(b.y-e.top,"px"):"")}return k&&(N.transformOrigin=k),r.createElement(x.Ay,{visible:p,onVisibleChanged:g,onAppearPrepare:S,onEnterPrepare:S,forceRender:d,motionName:f,removeOnLeave:m,ref:y},(function(i,p){var d=i.className,m=i.style;return r.createElement(C,(0,a.A)({},e,{ref:n,title:o,ariaId:v,prefixCls:t,holderRef:p,style:(0,c.A)((0,c.A)((0,c.A)({},m),s),N),className:u()(l,d)}))}))}));k.displayName="Content";const E=k;const N=function(e){var n=e.prefixCls,t=e.style,i=e.visible,o=e.maskProps,s=e.motionName,l=e.className;return r.createElement(x.Ay,{key:"mask",visible:i,motionName:s,leavedClassName:"".concat(n,"-mask-hidden")},(function(e,i){var s=e.className,p=e.style;return r.createElement("div",(0,a.A)({ref:i,style:(0,c.A)((0,c.A)({},p),t),className:u()("".concat(n,"-mask"),s,l)},o))}))};t(44449);const S=function(e){var n=e.prefixCls,t=void 0===n?"rc-dialog":n,o=e.zIndex,s=e.visible,l=void 0!==s&&s,h=e.keyboard,x=void 0===h||h,g=e.focusTriggerAfterClose,b=void 0===g||g,y=e.wrapStyle,A=e.wrapClassName,w=e.wrapProps,C=e.onClose,k=e.afterOpenChange,S=e.afterClose,M=e.transitionName,R=e.animation,I=e.closable,_=void 0===I||I,P=e.mask,j=void 0===P||P,F=e.maskTransitionName,T=e.maskAnimation,D=e.maskClosable,O=void 0===D||D,z=e.maskStyle,V=e.maskProps,L=e.rootClassName,q=e.classNames,H=e.styles;var K=(0,r.useRef)(),Y=(0,r.useRef)(),W=(0,r.useRef)(),B=r.useState(l),U=(0,i.A)(B,2),X=U[0],$=U[1],G=(0,d.A)();function Q(e){null===C||void 0===C||C(e)}var Z=(0,r.useRef)(!1),J=(0,r.useRef)(),ee=null;O&&(ee=function(e){Z.current?Z.current=!1:Y.current===e.target&&Q(e)}),(0,r.useEffect)((function(){l&&($(!0),(0,p.A)(Y.current,document.activeElement)||(K.current=document.activeElement))}),[l]),(0,r.useEffect)((function(){return function(){clearTimeout(J.current)}}),[]);var ne=(0,c.A)((0,c.A)((0,c.A)({zIndex:o},y),null===H||void 0===H?void 0:H.wrapper),{},{display:X?null:"none"});return r.createElement("div",(0,a.A)({className:u()("".concat(t,"-root"),L)},(0,f.A)(e,{data:!0})),r.createElement(N,{prefixCls:t,visible:j&&l,motionName:v(t,F,T),style:(0,c.A)((0,c.A)({zIndex:o},z),null===H||void 0===H?void 0:H.mask),maskProps:V,className:null===q||void 0===q?void 0:q.mask}),r.createElement("div",(0,a.A)({tabIndex:-1,onKeyDown:function(e){if(x&&e.keyCode===m.A.ESC)return e.stopPropagation(),void Q(e);l&&e.keyCode===m.A.TAB&&W.current.changeActive(!e.shiftKey)},className:u()("".concat(t,"-wrap"),A,null===q||void 0===q?void 0:q.wrapper),ref:Y,onClick:ee,style:ne},w),r.createElement(E,(0,a.A)({},e,{onMouseDown:function(){clearTimeout(J.current),Z.current=!0},onMouseUp:function(){J.current=setTimeout((function(){Z.current=!1}))},ref:W,closable:_,ariaId:G,prefixCls:t,visible:l&&X,onClose:Q,onVisibleChanged:function(e){if(e)!function(){var e;(0,p.A)(Y.current,document.activeElement)||null===(e=W.current)||void 0===e||e.focus()}();else{if($(!1),j&&K.current&&b){try{K.current.focus({preventScroll:!0})}catch(n){}K.current=null}X&&(null===S||void 0===S||S())}null===k||void 0===k||k(e)},motionName:v(t,M,R)}))))};var M=function(e){var n=e.visible,t=e.getContainer,c=e.forceRender,l=e.destroyOnClose,u=void 0!==l&&l,p=e.afterClose,d=e.panelRef,m=r.useState(n),f=(0,i.A)(m,2),v=f[0],h=f[1],x=r.useMemo((function(){return{panel:d}}),[d]);return r.useEffect((function(){n&&h(!0)}),[n]),c||!u||v?r.createElement(s.Provider,{value:x},r.createElement(o.A,{open:n||c||v,autoDestroy:!1,getContainer:t,autoLock:n||v},r.createElement(S,(0,a.A)({},e,{destroyOnClose:u,afterClose:function(){null===p||void 0===p||p(),h(!1)}})))):null};M.displayName="Dialog";const R=M},68035:(e,n,t)=>{"use strict";t.d(n,{A:()=>w});var a=t(9793),i=t(70908),o=t(712),r=t(64916),s=t(26409),c=t(85591),l=t.n(c),u=t(45400),p=t(98173),d=t(60871),m=t(956),f=d.A.ESC,v=d.A.TAB;const h=(0,p.forwardRef)((function(e,n){var t=e.overlay,a=e.arrow,i=e.prefixCls,o=(0,p.useMemo)((function(){return"function"===typeof t?t():t}),[t]),r=(0,u.K4)(n,(0,u.A9)(o));return p.createElement(p.Fragment,null,a&&p.createElement("div",{className:"".concat(i,"-arrow")}),p.cloneElement(o,{ref:(0,u.f3)(o)?r:void 0}))}));var x={adjustX:1,adjustY:1},g=[0,0];const b={topLeft:{points:["bl","tl"],overflow:x,offset:[0,-4],targetOffset:g},top:{points:["bc","tc"],overflow:x,offset:[0,-4],targetOffset:g},topRight:{points:["br","tr"],overflow:x,offset:[0,-4],targetOffset:g},bottomLeft:{points:["tl","bl"],overflow:x,offset:[0,4],targetOffset:g},bottom:{points:["tc","bc"],overflow:x,offset:[0,4],targetOffset:g},bottomRight:{points:["tr","br"],overflow:x,offset:[0,4],targetOffset:g}};var y=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function A(e,n){var t,c=e.arrow,d=void 0!==c&&c,x=e.prefixCls,g=void 0===x?"rc-dropdown":x,A=e.transitionName,w=e.animation,C=e.align,k=e.placement,E=void 0===k?"bottomLeft":k,N=e.placements,S=void 0===N?b:N,M=e.getPopupContainer,R=e.showAction,I=e.hideAction,_=e.overlayClassName,P=e.overlayStyle,j=e.visible,F=e.trigger,T=void 0===F?["hover"]:F,D=e.autoFocus,O=e.overlay,z=e.children,V=e.onVisibleChange,L=(0,r.A)(e,y),q=p.useState(),H=(0,o.A)(q,2),K=H[0],Y=H[1],W="visible"in e?j:K,B=p.useRef(null),U=p.useRef(null),X=p.useRef(null);p.useImperativeHandle(n,(function(){return B.current}));var $=function(e){Y(e),null===V||void 0===V||V(e)};!function(e){var n=e.visible,t=e.triggerRef,a=e.onVisibleChange,i=e.autoFocus,o=e.overlayRef,r=p.useRef(!1),s=function(){var e,i;n&&(null===(e=t.current)||void 0===e||null===(i=e.focus)||void 0===i||i.call(e),null===a||void 0===a||a(!1))},c=function(){var e;return!(null===(e=o.current)||void 0===e||!e.focus)&&(o.current.focus(),r.current=!0,!0)},l=function(e){switch(e.keyCode){case f:s();break;case v:var n=!1;r.current||(n=c()),n?e.preventDefault():s()}};p.useEffect((function(){return n?(window.addEventListener("keydown",l),i&&(0,m.A)(c,3),function(){window.removeEventListener("keydown",l),r.current=!1}):function(){r.current=!1}}),[n])}({visible:W,triggerRef:X,onVisibleChange:$,autoFocus:D,overlayRef:U});var G=function(){return p.createElement(h,{ref:U,overlay:O,prefixCls:g,arrow:d})},Q=p.cloneElement(z,{className:l()(null===(t=z.props)||void 0===t?void 0:t.className,W&&function(){var n=e.openClassName;return void 0!==n?n:"".concat(g,"-open")}()),ref:(0,u.f3)(z)?(0,u.K4)(X,(0,u.A9)(z)):void 0}),Z=I;return Z||-1===T.indexOf("contextMenu")||(Z=["click"]),p.createElement(s.A,(0,a.A)({builtinPlacements:S},L,{prefixCls:g,ref:B,popupClassName:l()(_,(0,i.A)({},"".concat(g,"-show-arrow"),d)),popupStyle:P,action:T,showAction:R,hideAction:Z,popupPlacement:E,popupAlign:C,popupTransitionName:A,popupAnimation:w,popupVisible:W,stretch:function(){var n=e.minOverlayWidthMatchTrigger,t=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?n:!t}()?"minWidth":"",popup:"function"===typeof O?G:G(),onPopupVisibleChange:$,onPopupClick:function(n){var t=e.onOverlayClick;Y(!1),t&&t(n)},getPopupContainer:M}),Q)}const w=p.forwardRef(A)},36272:(e,n,t)=>{"use strict";t.d(n,{D0:()=>ge,_z:()=>A,Op:()=>Re,B8:()=>be,EF:()=>w,Ay:()=>Oe,mN:()=>Se,FH:()=>Te});var a=t(98173),i=t(9793),o=t(64916),r=t(82542),s=t(44980),c=t(2250),l=t(83912),u=t(26786),p=t(96212),d=t(41204),m=t(91586),f=t(35387),v=t(70908),h=t(87191),x=t(62845),g=t(44449),b="RC_FORM_INTERNAL_HOOKS",y=function(){(0,g.Ay)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")};const A=a.createContext({getFieldValue:y,getFieldsValue:y,getFieldError:y,getFieldWarning:y,getFieldsError:y,isFieldsTouched:y,isFieldTouched:y,isFieldValidating:y,isFieldsValidating:y,resetFields:y,setFields:y,setFieldValue:y,setFieldsValue:y,validateFields:y,submit:y,getInternalHooks:function(){return y(),{dispatch:y,initEntityValue:y,registerField:y,useSubscribe:y,setInitialValues:y,destroyForm:y,setCallbacks:y,registerWatch:y,getFields:y,setValidateMessages:y,setPreserve:y,getInitialValue:y}}});const w=a.createContext(null);function C(e){return void 0===e||null===e?[]:Array.isArray(e)?e:[e]}var k=t(53575);function E(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var N=E(),S=t(90802),M=(t(88295),/%[sdj%]/g);function R(e){if(!e||!e.length)return null;var n={};return e.forEach((function(e){var t=e.field;n[t]=n[t]||[],n[t].push(e)})),n}function I(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),a=1;a<n;a++)t[a-1]=arguments[a];var i=0,o=t.length;return"function"===typeof e?e.apply(null,t):"string"===typeof e?e.replace(M,(function(e){if("%%"===e)return"%";if(i>=o)return e;switch(e){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(n){return"[Circular]"}break;default:return e}})):e}function _(e,n){return void 0===e||null===e||(!("array"!==n||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(n)||"string"!==typeof e||e))}function P(e,n,t){var a=0,i=e.length;!function o(r){if(r&&r.length)t(r);else{var s=a;a+=1,s<i?n(e[s],o):t([])}}([])}var j=function(e){(0,m.A)(t,e);var n=(0,f.A)(t);function t(e,a){var i;return(0,u.A)(this,t),i=n.call(this,"Async Validation Error"),(0,v.A)((0,d.A)(i),"errors",void 0),(0,v.A)((0,d.A)(i),"fields",void 0),i.errors=e,i.fields=a,i}return(0,p.A)(t)}((0,S.A)(Error));function F(e,n,t,a,i){if(n.first){var o=new Promise((function(n,o){var r=function(e){var n=[];return Object.keys(e).forEach((function(t){n.push.apply(n,(0,l.A)(e[t]||[]))})),n}(e);P(r,t,(function(e){return a(e),e.length?o(new j(e,R(e))):n(i)}))}));return o.catch((function(e){return e})),o}var r=!0===n.firstFields?Object.keys(e):n.firstFields||[],s=Object.keys(e),c=s.length,u=0,p=[],d=new Promise((function(n,o){var d=function(e){if(p.push.apply(p,e),++u===c)return a(p),p.length?o(new j(p,R(p))):n(i)};s.length||(a(p),n(i)),s.forEach((function(n){var a=e[n];-1!==r.indexOf(n)?P(a,t,d):function(e,n,t){var a=[],i=0,o=e.length;function r(e){a.push.apply(a,(0,l.A)(e||[])),++i===o&&t(a)}e.forEach((function(e){n(e,r)}))}(a,t,d)}))}));return d.catch((function(e){return e})),d}function T(e,n){return function(t){var a,i;return a=e.fullFields?function(e,n){for(var t=e,a=0;a<n.length;a++){if(void 0==t)return t;t=t[n[a]]}return t}(n,e.fullFields):n[t.field||e.fullField],(i=t)&&void 0!==i.message?(t.field=t.field||e.fullField,t.fieldValue=a,t):{message:"function"===typeof t?t():t,fieldValue:a,field:t.field||e.fullField}}}function D(e,n){if(n)for(var t in n)if(n.hasOwnProperty(t)){var a=n[t];"object"===(0,k.A)(a)&&"object"===(0,k.A)(e[t])?e[t]=(0,c.A)((0,c.A)({},e[t]),a):e[t]=a}return e}var O="enum";const z=function(e,n,t,a,i,o){!e.required||t.hasOwnProperty(e.field)&&!_(n,o||e.type)||a.push(I(i.messages.required,e.fullField))};var V;var L=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,q=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,H={integer:function(e){return H.number(e)&&parseInt(e,10)===e},float:function(e){return H.number(e)&&!H.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"===typeof e},object:function(e){return"object"===(0,k.A)(e)&&!H.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&e.length<=320&&!!e.match(L)},url:function(e){return"string"===typeof e&&e.length<=2048&&!!e.match(function(){if(V)return V;var e="[a-fA-F\\d:]",n=function(n){return n&&n.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},t="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",a="[a-fA-F\\d]{1,4}",i=["(?:".concat(a,":){7}(?:").concat(a,"|:)"),"(?:".concat(a,":){6}(?:").concat(t,"|:").concat(a,"|:)"),"(?:".concat(a,":){5}(?::").concat(t,"|(?::").concat(a,"){1,2}|:)"),"(?:".concat(a,":){4}(?:(?::").concat(a,"){0,1}:").concat(t,"|(?::").concat(a,"){1,3}|:)"),"(?:".concat(a,":){3}(?:(?::").concat(a,"){0,2}:").concat(t,"|(?::").concat(a,"){1,4}|:)"),"(?:".concat(a,":){2}(?:(?::").concat(a,"){0,3}:").concat(t,"|(?::").concat(a,"){1,5}|:)"),"(?:".concat(a,":){1}(?:(?::").concat(a,"){0,4}:").concat(t,"|(?::").concat(a,"){1,6}|:)"),"(?::(?:(?::".concat(a,"){0,5}:").concat(t,"|(?::").concat(a,"){1,7}|:))")],o="(?:".concat(i.join("|"),")").concat("(?:%[0-9a-zA-Z]{1,})?"),r=new RegExp("(?:^".concat(t,"$)|(?:^").concat(o,"$)")),s=new RegExp("^".concat(t,"$")),c=new RegExp("^".concat(o,"$")),l=function(e){return e&&e.exact?r:new RegExp("(?:".concat(n(e)).concat(t).concat(n(e),")|(?:").concat(n(e)).concat(o).concat(n(e),")"),"g")};l.v4=function(e){return e&&e.exact?s:new RegExp("".concat(n(e)).concat(t).concat(n(e)),"g")},l.v6=function(e){return e&&e.exact?c:new RegExp("".concat(n(e)).concat(o).concat(n(e)),"g")};var u=l.v4().source,p=l.v6().source,d="(?:".concat("(?:(?:[a-z]+:)?//)","|www\\.)").concat("(?:\\S+(?::\\S*)?@)?","(?:localhost|").concat(u,"|").concat(p,"|").concat("(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)").concat("(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*").concat("(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",")").concat("(?::\\d{2,5})?").concat('(?:[/?#][^\\s"]*)?');return V=new RegExp("(?:^".concat(d,"$)"),"i")}())},hex:function(e){return"string"===typeof e&&!!e.match(q)}};const K=function(e,n,t,a,i){if(e.required&&void 0===n)z(e,n,t,a,i);else{var o=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?H[o](n)||a.push(I(i.messages.types[o],e.fullField,e.type)):o&&(0,k.A)(n)!==e.type&&a.push(I(i.messages.types[o],e.fullField,e.type))}};const Y={required:z,whitespace:function(e,n,t,a,i){(/^\s+$/.test(n)||""===n)&&a.push(I(i.messages.whitespace,e.fullField))},type:K,range:function(e,n,t,a,i){var o="number"===typeof e.len,r="number"===typeof e.min,s="number"===typeof e.max,c=n,l=null,u="number"===typeof n,p="string"===typeof n,d=Array.isArray(n);if(u?l="number":p?l="string":d&&(l="array"),!l)return!1;d&&(c=n.length),p&&(c=n.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?c!==e.len&&a.push(I(i.messages[l].len,e.fullField,e.len)):r&&!s&&c<e.min?a.push(I(i.messages[l].min,e.fullField,e.min)):s&&!r&&c>e.max?a.push(I(i.messages[l].max,e.fullField,e.max)):r&&s&&(c<e.min||c>e.max)&&a.push(I(i.messages[l].range,e.fullField,e.min,e.max))},enum:function(e,n,t,a,i){e[O]=Array.isArray(e[O])?e[O]:[],-1===e[O].indexOf(n)&&a.push(I(i.messages[O],e.fullField,e[O].join(", ")))},pattern:function(e,n,t,a,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(n)||a.push(I(i.messages.pattern.mismatch,e.fullField,n,e.pattern));else if("string"===typeof e.pattern){new RegExp(e.pattern).test(n)||a.push(I(i.messages.pattern.mismatch,e.fullField,n,e.pattern))}}};const W=function(e,n,t,a,i){var o=[],r=Array.isArray(n)?"array":(0,k.A)(n);Y.required(e,n,a,o,i,r),t(o)};const B=function(e,n,t,a,i){var o=e.type,r=[];if(e.required||!e.required&&a.hasOwnProperty(e.field)){if(_(n,o)&&!e.required)return t();Y.required(e,n,a,r,i,o),_(n,o)||Y.type(e,n,a,r,i)}t(r)},U={string:function(e,n,t,a,i){var o=[];if(e.required||!e.required&&a.hasOwnProperty(e.field)){if(_(n,"string")&&!e.required)return t();Y.required(e,n,a,o,i,"string"),_(n,"string")||(Y.type(e,n,a,o,i),Y.range(e,n,a,o,i),Y.pattern(e,n,a,o,i),!0===e.whitespace&&Y.whitespace(e,n,a,o,i))}t(o)},method:function(e,n,t,a,i){var o=[];if(e.required||!e.required&&a.hasOwnProperty(e.field)){if(_(n)&&!e.required)return t();Y.required(e,n,a,o,i),void 0!==n&&Y.type(e,n,a,o,i)}t(o)},number:function(e,n,t,a,i){var o=[];if(e.required||!e.required&&a.hasOwnProperty(e.field)){if(""===n&&(n=void 0),_(n)&&!e.required)return t();Y.required(e,n,a,o,i),void 0!==n&&(Y.type(e,n,a,o,i),Y.range(e,n,a,o,i))}t(o)},boolean:function(e,n,t,a,i){var o=[];if(e.required||!e.required&&a.hasOwnProperty(e.field)){if(_(n)&&!e.required)return t();Y.required(e,n,a,o,i),void 0!==n&&Y.type(e,n,a,o,i)}t(o)},regexp:function(e,n,t,a,i){var o=[];if(e.required||!e.required&&a.hasOwnProperty(e.field)){if(_(n)&&!e.required)return t();Y.required(e,n,a,o,i),_(n)||Y.type(e,n,a,o,i)}t(o)},integer:function(e,n,t,a,i){var o=[];if(e.required||!e.required&&a.hasOwnProperty(e.field)){if(_(n)&&!e.required)return t();Y.required(e,n,a,o,i),void 0!==n&&(Y.type(e,n,a,o,i),Y.range(e,n,a,o,i))}t(o)},float:function(e,n,t,a,i){var o=[];if(e.required||!e.required&&a.hasOwnProperty(e.field)){if(_(n)&&!e.required)return t();Y.required(e,n,a,o,i),void 0!==n&&(Y.type(e,n,a,o,i),Y.range(e,n,a,o,i))}t(o)},array:function(e,n,t,a,i){var o=[];if(e.required||!e.required&&a.hasOwnProperty(e.field)){if((void 0===n||null===n)&&!e.required)return t();Y.required(e,n,a,o,i,"array"),void 0!==n&&null!==n&&(Y.type(e,n,a,o,i),Y.range(e,n,a,o,i))}t(o)},object:function(e,n,t,a,i){var o=[];if(e.required||!e.required&&a.hasOwnProperty(e.field)){if(_(n)&&!e.required)return t();Y.required(e,n,a,o,i),void 0!==n&&Y.type(e,n,a,o,i)}t(o)},enum:function(e,n,t,a,i){var o=[];if(e.required||!e.required&&a.hasOwnProperty(e.field)){if(_(n)&&!e.required)return t();Y.required(e,n,a,o,i),void 0!==n&&Y.enum(e,n,a,o,i)}t(o)},pattern:function(e,n,t,a,i){var o=[];if(e.required||!e.required&&a.hasOwnProperty(e.field)){if(_(n,"string")&&!e.required)return t();Y.required(e,n,a,o,i),_(n,"string")||Y.pattern(e,n,a,o,i)}t(o)},date:function(e,n,t,a,i){var o=[];if(e.required||!e.required&&a.hasOwnProperty(e.field)){if(_(n,"date")&&!e.required)return t();var r;if(Y.required(e,n,a,o,i),!_(n,"date"))r=n instanceof Date?n:new Date(n),Y.type(e,r,a,o,i),r&&Y.range(e,r.getTime(),a,o,i)}t(o)},url:B,hex:B,email:B,required:W,any:function(e,n,t,a,i){var o=[];if(e.required||!e.required&&a.hasOwnProperty(e.field)){if(_(n)&&!e.required)return t();Y.required(e,n,a,o,i)}t(o)}};var X=function(){function e(n){(0,u.A)(this,e),(0,v.A)(this,"rules",null),(0,v.A)(this,"_messages",N),this.define(n)}return(0,p.A)(e,[{key:"define",value:function(e){var n=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(0,k.A)(e)||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(t){var a=e[t];n.rules[t]=Array.isArray(a)?a:[a]}))}},{key:"messages",value:function(e){return e&&(this._messages=D(E(),e)),this._messages}},{key:"validate",value:function(n){var t=this,a=n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if("function"===typeof i&&(o=i,i={}),!this.rules||0===Object.keys(this.rules).length)return o&&o(null,a),Promise.resolve(a);if(i.messages){var r=this.messages();r===N&&(r=E()),D(r,i.messages),i.messages=r}else i.messages=this.messages();var s={};(i.keys||Object.keys(this.rules)).forEach((function(e){var i=t.rules[e],o=a[e];i.forEach((function(i){var r=i;"function"===typeof r.transform&&(a===n&&(a=(0,c.A)({},a)),void 0!==(o=a[e]=r.transform(o))&&null!==o&&(r.type=r.type||(Array.isArray(o)?"array":(0,k.A)(o)))),(r="function"===typeof r?{validator:r}:(0,c.A)({},r)).validator=t.getValidationMethod(r),r.validator&&(r.field=e,r.fullField=r.fullField||e,r.type=t.getType(r),s[e]=s[e]||[],s[e].push({rule:r,value:o,source:a,field:e}))}))}));var u={};return F(s,i,(function(n,t){var o,r=n.rule,s=("object"===r.type||"array"===r.type)&&("object"===(0,k.A)(r.fields)||"object"===(0,k.A)(r.defaultField));function p(e,n){return(0,c.A)((0,c.A)({},n),{},{fullField:"".concat(r.fullField,".").concat(e),fullFields:r.fullFields?[].concat((0,l.A)(r.fullFields),[e]):[e]})}function d(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],d=Array.isArray(o)?o:[o];!i.suppressWarning&&d.length&&e.warning("async-validator:",d),d.length&&void 0!==r.message&&(d=[].concat(r.message));var m=d.map(T(r,a));if(i.first&&m.length)return u[r.field]=1,t(m);if(s){if(r.required&&!n.value)return void 0!==r.message?m=[].concat(r.message).map(T(r,a)):i.error&&(m=[i.error(r,I(i.messages.required,r.field))]),t(m);var f={};r.defaultField&&Object.keys(n.value).map((function(e){f[e]=r.defaultField})),f=(0,c.A)((0,c.A)({},f),n.rule.fields);var v={};Object.keys(f).forEach((function(e){var n=f[e],t=Array.isArray(n)?n:[n];v[e]=t.map(p.bind(null,e))}));var h=new e(v);h.messages(i.messages),n.rule.options&&(n.rule.options.messages=i.messages,n.rule.options.error=i.error),h.validate(n.value,n.rule.options||i,(function(e){var n=[];m&&m.length&&n.push.apply(n,(0,l.A)(m)),e&&e.length&&n.push.apply(n,(0,l.A)(e)),t(n.length?n:null)}))}else t(m)}if(s=s&&(r.required||!r.required&&n.value),r.field=n.field,r.asyncValidator)o=r.asyncValidator(r,n.value,d,n.source,i);else if(r.validator){try{o=r.validator(r,n.value,d,n.source,i)}catch(v){var m,f;null===(m=(f=console).error)||void 0===m||m.call(f,v),i.suppressValidatorError||setTimeout((function(){throw v}),0),d(v.message)}!0===o?d():!1===o?d("function"===typeof r.message?r.message(r.fullField||r.field):r.message||"".concat(r.fullField||r.field," fails")):o instanceof Array?d(o):o instanceof Error&&d(o.message)}o&&o.then&&o.then((function(){return d()}),(function(e){return d(e)}))}),(function(e){!function(e){var n=[],t={};function i(e){var t;Array.isArray(e)?n=(t=n).concat.apply(t,(0,l.A)(e)):n.push(e)}for(var r=0;r<e.length;r++)i(e[r]);n.length?(t=R(n),o(n,t)):o(null,a)}(e)}),a)}},{key:"getType",value:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!==typeof e.validator&&e.type&&!U.hasOwnProperty(e.type))throw new Error(I("Unknown rule type %s",e.type));return e.type||"string"}},{key:"getValidationMethod",value:function(e){if("function"===typeof e.validator)return e.validator;var n=Object.keys(e),t=n.indexOf("message");return-1!==t&&n.splice(t,1),1===n.length&&"required"===n[0]?U.required:U[this.getType(e)]||void 0}}]),e}();(0,v.A)(X,"register",(function(e,n){if("function"!==typeof n)throw new Error("Cannot register a validator by type, validator is not a function");U[e]=n})),(0,v.A)(X,"warning",(function(){})),(0,v.A)(X,"messages",N),(0,v.A)(X,"validators",U);const $=X;var G="'${name}' is not a valid ${type}",Q={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:G,method:G,array:G,object:G,number:G,date:G,boolean:G,integer:G,float:G,regexp:G,email:G,url:G,hex:G},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},Z=t(7207),J=$;function ee(e,n){return e.replace(/\\?\$\{\w+\}/g,(function(e){if(e.startsWith("\\"))return e.slice(1);var t=e.slice(2,-1);return n[t]}))}var ne="CODE_LOGIC_ERROR";function te(e,n,t,a,i){return ae.apply(this,arguments)}function ae(){return ae=(0,s.A)((0,r.A)().mark((function e(n,t,i,o,s){var u,p,d,m,f,h,x,g,b;return(0,r.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete(u=(0,c.A)({},i)).ruleIndex,J.warning=function(){},u.validator&&(p=u.validator,u.validator=function(){try{return p.apply(void 0,arguments)}catch(e){return Promise.reject(ne)}}),d=null,u&&"array"===u.type&&u.defaultField&&(d=u.defaultField,delete u.defaultField),m=new J((0,v.A)({},n,[u])),f=(0,Z.h)(Q,o.validateMessages),m.messages(f),h=[],e.prev=10,e.next=13,Promise.resolve(m.validate((0,v.A)({},n,t),(0,c.A)({},o)));case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(10),e.t0.errors&&(h=e.t0.errors.map((function(e,n){var t=e.message,i=t===ne?f.default:t;return a.isValidElement(i)?a.cloneElement(i,{key:"error_".concat(n)}):i})));case 18:if(h.length||!d){e.next=23;break}return e.next=21,Promise.all(t.map((function(e,t){return te("".concat(n,".").concat(t),e,d,o,s)})));case 21:return x=e.sent,e.abrupt("return",x.reduce((function(e,n){return[].concat((0,l.A)(e),(0,l.A)(n))}),[]));case 23:return g=(0,c.A)((0,c.A)({},i),{},{name:n,enum:(i.enum||[]).join(", ")},s),b=h.map((function(e){return"string"===typeof e?ee(e,g):e})),e.abrupt("return",b);case 26:case"end":return e.stop()}}),e,null,[[10,15]])}))),ae.apply(this,arguments)}function ie(e,n,t,a,i,o){var l,u=e.join("."),p=t.map((function(e,n){var t=e.validator,a=(0,c.A)((0,c.A)({},e),{},{ruleIndex:n});return t&&(a.validator=function(e,n,a){var i=!1,o=t(e,n,(function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];Promise.resolve().then((function(){(0,g.Ay)(!i,"Your validator function has already return a promise. `callback` will be ignored."),i||a.apply(void 0,n)}))}));i=o&&"function"===typeof o.then&&"function"===typeof o.catch,(0,g.Ay)(i,"`callback` is deprecated. Please return a promise instead."),i&&o.then((function(){a()})).catch((function(e){a(e||" ")}))}),a})).sort((function(e,n){var t=e.warningOnly,a=e.ruleIndex,i=n.warningOnly,o=n.ruleIndex;return!!t===!!i?a-o:t?1:-1}));if(!0===i)l=new Promise(function(){var e=(0,s.A)((0,r.A)().mark((function e(t,i){var s,c,l;return(0,r.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s=0;case 1:if(!(s<p.length)){e.next=12;break}return c=p[s],e.next=5,te(u,n,c,a,o);case 5:if(!(l=e.sent).length){e.next=9;break}return i([{errors:l,rule:c}]),e.abrupt("return");case 9:s+=1,e.next=1;break;case 12:t([]);case 13:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}());else{var d=p.map((function(e){return te(u,n,e,a,o).then((function(n){return{errors:n,rule:e}}))}));l=(i?function(e){return re.apply(this,arguments)}(d):function(e){return oe.apply(this,arguments)}(d)).then((function(e){return Promise.reject(e)}))}return l.catch((function(e){return e})),l}function oe(){return(oe=(0,s.A)((0,r.A)().mark((function e(n){return(0,r.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(n).then((function(e){var n;return(n=[]).concat.apply(n,(0,l.A)(e))})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function re(){return(re=(0,s.A)((0,r.A)().mark((function e(n){var t;return(0,r.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=0,e.abrupt("return",new Promise((function(e){n.forEach((function(a){a.then((function(a){a.errors.length&&e([a]),(t+=1)===n.length&&e([])}))}))})));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var se=t(58243);function ce(e){return C(e)}function le(e,n){var t={};return n.forEach((function(n){var a=(0,se.A)(e,n);t=(0,Z.A)(t,n,a)})),t}function ue(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e&&e.some((function(e){return pe(n,e,t)}))}function pe(e,n){return!(!e||!n)&&(!(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])&&e.length!==n.length)&&n.every((function(n,t){return e[t]===n})))}function de(e){var n=arguments.length<=1?void 0:arguments[1];return n&&n.target&&"object"===(0,k.A)(n.target)&&e in n.target?n.target[e]:n}function me(e,n,t){var a=e.length;if(n<0||n>=a||t<0||t>=a)return e;var i=e[n],o=n-t;return o>0?[].concat((0,l.A)(e.slice(0,t)),[i],(0,l.A)(e.slice(t,n)),(0,l.A)(e.slice(n+1,a))):o<0?[].concat((0,l.A)(e.slice(0,n)),(0,l.A)(e.slice(n+1,t+1)),[i],(0,l.A)(e.slice(t+1,a))):e}var fe=["name"],ve=[];function he(e,n,t,a,i,o){return"function"===typeof e?e(n,t,"source"in o?{source:o.source}:{}):a!==i}var xe=function(e){(0,m.A)(t,e);var n=(0,f.A)(t);function t(e){var i;((0,u.A)(this,t),i=n.call(this,e),(0,v.A)((0,d.A)(i),"state",{resetCount:0}),(0,v.A)((0,d.A)(i),"cancelRegisterFunc",null),(0,v.A)((0,d.A)(i),"mounted",!1),(0,v.A)((0,d.A)(i),"touched",!1),(0,v.A)((0,d.A)(i),"dirty",!1),(0,v.A)((0,d.A)(i),"validatePromise",void 0),(0,v.A)((0,d.A)(i),"prevValidating",void 0),(0,v.A)((0,d.A)(i),"errors",ve),(0,v.A)((0,d.A)(i),"warnings",ve),(0,v.A)((0,d.A)(i),"cancelRegister",(function(){var e=i.props,n=e.preserve,t=e.isListField,a=e.name;i.cancelRegisterFunc&&i.cancelRegisterFunc(t,n,ce(a)),i.cancelRegisterFunc=null})),(0,v.A)((0,d.A)(i),"getNamePath",(function(){var e=i.props,n=e.name,t=e.fieldContext.prefixName,a=void 0===t?[]:t;return void 0!==n?[].concat((0,l.A)(a),(0,l.A)(n)):[]})),(0,v.A)((0,d.A)(i),"getRules",(function(){var e=i.props,n=e.rules,t=void 0===n?[]:n,a=e.fieldContext;return t.map((function(e){return"function"===typeof e?e(a):e}))})),(0,v.A)((0,d.A)(i),"refresh",(function(){i.mounted&&i.setState((function(e){return{resetCount:e.resetCount+1}}))})),(0,v.A)((0,d.A)(i),"metaCache",null),(0,v.A)((0,d.A)(i),"triggerMetaEvent",(function(e){var n=i.props.onMetaChange;if(n){var t=(0,c.A)((0,c.A)({},i.getMeta()),{},{destroy:e});(0,x.A)(i.metaCache,t)||n(t),i.metaCache=t}else i.metaCache=null})),(0,v.A)((0,d.A)(i),"onStoreChange",(function(e,n,t){var a=i.props,o=a.shouldUpdate,r=a.dependencies,s=void 0===r?[]:r,c=a.onReset,l=t.store,u=i.getNamePath(),p=i.getValue(e),d=i.getValue(l),m=n&&ue(n,u);switch("valueUpdate"!==t.type||"external"!==t.source||(0,x.A)(p,d)||(i.touched=!0,i.dirty=!0,i.validatePromise=null,i.errors=ve,i.warnings=ve,i.triggerMetaEvent()),t.type){case"reset":if(!n||m)return i.touched=!1,i.dirty=!1,i.validatePromise=void 0,i.errors=ve,i.warnings=ve,i.triggerMetaEvent(),null===c||void 0===c||c(),void i.refresh();break;case"remove":if(o&&he(o,e,l,p,d,t))return void i.reRender();break;case"setField":var f=t.data;if(m)return"touched"in f&&(i.touched=f.touched),"validating"in f&&!("originRCField"in f)&&(i.validatePromise=f.validating?Promise.resolve([]):null),"errors"in f&&(i.errors=f.errors||ve),"warnings"in f&&(i.warnings=f.warnings||ve),i.dirty=!0,i.triggerMetaEvent(),void i.reRender();if("value"in f&&ue(n,u,!0))return void i.reRender();if(o&&!u.length&&he(o,e,l,p,d,t))return void i.reRender();break;case"dependenciesUpdate":if(s.map(ce).some((function(e){return ue(t.relatedFields,e)})))return void i.reRender();break;default:if(m||(!s.length||u.length||o)&&he(o,e,l,p,d,t))return void i.reRender()}!0===o&&i.reRender()})),(0,v.A)((0,d.A)(i),"validateRules",(function(e){var n=i.getNamePath(),t=i.getValue(),a=e||{},o=a.triggerName,c=a.validateOnly,u=void 0!==c&&c,p=Promise.resolve().then((0,s.A)((0,r.A)().mark((function a(){var s,c,u,d,m,f,v;return(0,r.A)().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(i.mounted){a.next=2;break}return a.abrupt("return",[]);case 2:if(s=i.props,c=s.validateFirst,u=void 0!==c&&c,d=s.messageVariables,m=s.validateDebounce,f=i.getRules(),o&&(f=f.filter((function(e){return e})).filter((function(e){var n=e.validateTrigger;return!n||C(n).includes(o)}))),!m||!o){a.next=10;break}return a.next=8,new Promise((function(e){setTimeout(e,m)}));case 8:if(i.validatePromise===p){a.next=10;break}return a.abrupt("return",[]);case 10:return(v=ie(n,t,f,e,u,d)).catch((function(e){return e})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ve;if(i.validatePromise===p){var n;i.validatePromise=null;var t=[],a=[];null===(n=e.forEach)||void 0===n||n.call(e,(function(e){var n=e.rule.warningOnly,i=e.errors,o=void 0===i?ve:i;n?a.push.apply(a,(0,l.A)(o)):t.push.apply(t,(0,l.A)(o))})),i.errors=t,i.warnings=a,i.triggerMetaEvent(),i.reRender()}})),a.abrupt("return",v);case 13:case"end":return a.stop()}}),a)}))));return u||(i.validatePromise=p,i.dirty=!0,i.errors=ve,i.warnings=ve,i.triggerMetaEvent(),i.reRender()),p})),(0,v.A)((0,d.A)(i),"isFieldValidating",(function(){return!!i.validatePromise})),(0,v.A)((0,d.A)(i),"isFieldTouched",(function(){return i.touched})),(0,v.A)((0,d.A)(i),"isFieldDirty",(function(){return!(!i.dirty&&void 0===i.props.initialValue)||void 0!==(0,i.props.fieldContext.getInternalHooks(b).getInitialValue)(i.getNamePath())})),(0,v.A)((0,d.A)(i),"getErrors",(function(){return i.errors})),(0,v.A)((0,d.A)(i),"getWarnings",(function(){return i.warnings})),(0,v.A)((0,d.A)(i),"isListField",(function(){return i.props.isListField})),(0,v.A)((0,d.A)(i),"isList",(function(){return i.props.isList})),(0,v.A)((0,d.A)(i),"isPreserve",(function(){return i.props.preserve})),(0,v.A)((0,d.A)(i),"getMeta",(function(){return i.prevValidating=i.isFieldValidating(),{touched:i.isFieldTouched(),validating:i.prevValidating,errors:i.errors,warnings:i.warnings,name:i.getNamePath(),validated:null===i.validatePromise}})),(0,v.A)((0,d.A)(i),"getOnlyChild",(function(e){if("function"===typeof e){var n=i.getMeta();return(0,c.A)((0,c.A)({},i.getOnlyChild(e(i.getControlled(),n,i.props.fieldContext))),{},{isFunction:!0})}var t=(0,h.A)(e);return 1===t.length&&a.isValidElement(t[0])?{child:t[0],isFunction:!1}:{child:t,isFunction:!1}})),(0,v.A)((0,d.A)(i),"getValue",(function(e){var n=i.props.fieldContext.getFieldsValue,t=i.getNamePath();return(0,se.A)(e||n(!0),t)})),(0,v.A)((0,d.A)(i),"getControlled",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=i.props,t=n.name,a=n.trigger,o=n.validateTrigger,r=n.getValueFromEvent,s=n.normalize,l=n.valuePropName,u=n.getValueProps,p=n.fieldContext,d=void 0!==o?o:p.validateTrigger,m=i.getNamePath(),f=p.getInternalHooks,h=p.getFieldsValue,x=f(b).dispatch,g=i.getValue(),y=u||function(e){return(0,v.A)({},l,e)},A=e[a],w=void 0!==t?y(g):{};var k=(0,c.A)((0,c.A)({},e),w);return k[a]=function(){var e;i.touched=!0,i.dirty=!0,i.triggerMetaEvent();for(var n=arguments.length,t=new Array(n),a=0;a<n;a++)t[a]=arguments[a];e=r?r.apply(void 0,t):de.apply(void 0,[l].concat(t)),s&&(e=s(e,g,h(!0))),e!==g&&x({type:"updateValue",namePath:m,value:e}),A&&A.apply(void 0,t)},C(d||[]).forEach((function(e){var n=k[e];k[e]=function(){n&&n.apply(void 0,arguments);var t=i.props.rules;t&&t.length&&x({type:"validateField",namePath:m,triggerName:e})}})),k})),e.fieldContext)&&(0,(0,e.fieldContext.getInternalHooks)(b).initEntityValue)((0,d.A)(i));return i}return(0,p.A)(t,[{key:"componentDidMount",value:function(){var e=this.props,n=e.shouldUpdate,t=e.fieldContext;if(this.mounted=!0,t){var a=(0,t.getInternalHooks)(b).registerField;this.cancelRegisterFunc=a(this)}!0===n&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var e,n=this.state.resetCount,t=this.props.children,i=this.getOnlyChild(t),o=i.child;return i.isFunction?e=o:a.isValidElement(o)?e=a.cloneElement(o,this.getControlled(o.props)):((0,g.Ay)(!o,"`children` of Field is not validate ReactElement."),e=o),a.createElement(a.Fragment,{key:n},e)}}]),t}(a.Component);(0,v.A)(xe,"contextType",A),(0,v.A)(xe,"defaultProps",{trigger:"onChange",valuePropName:"value"});const ge=function(e){var n,t=e.name,r=(0,o.A)(e,fe),s=a.useContext(A),c=a.useContext(w),l=void 0!==t?ce(t):void 0,u=null!==(n=r.isListField)&&void 0!==n?n:!!c,p="keep";return u||(p="_".concat((l||[]).join("_"))),a.createElement(xe,(0,i.A)({key:p,name:l,isListField:u},r,{fieldContext:s}))};const be=function(e){var n=e.name,t=e.initialValue,i=e.children,o=e.rules,r=e.validateTrigger,s=e.isListField,u=a.useContext(A),p=a.useContext(w),d=a.useRef({keys:[],id:0}).current,m=a.useMemo((function(){var e=ce(u.prefixName)||[];return[].concat((0,l.A)(e),(0,l.A)(ce(n)))}),[u.prefixName,n]),f=a.useMemo((function(){return(0,c.A)((0,c.A)({},u),{},{prefixName:m})}),[u,m]),v=a.useMemo((function(){return{getKey:function(e){var n=m.length,t=e[n];return[d.keys[t],e.slice(n+1)]}}}),[m]);return"function"!==typeof i?((0,g.Ay)(!1,"Form.List only accepts function as children."),null):a.createElement(w.Provider,{value:v},a.createElement(A.Provider,{value:f},a.createElement(ge,{name:[],shouldUpdate:function(e,n,t){return"internal"!==t.source&&e!==n},rules:o,validateTrigger:r,initialValue:t,isList:!0,isListField:null!==s&&void 0!==s?s:!!p},(function(e,n){var t=e.value,a=void 0===t?[]:t,o=e.onChange,r=u.getFieldValue,s=function(){return r(m||[])||[]},c={add:function(e,n){var t=s();n>=0&&n<=t.length?(d.keys=[].concat((0,l.A)(d.keys.slice(0,n)),[d.id],(0,l.A)(d.keys.slice(n))),o([].concat((0,l.A)(t.slice(0,n)),[e],(0,l.A)(t.slice(n))))):(d.keys=[].concat((0,l.A)(d.keys),[d.id]),o([].concat((0,l.A)(t),[e]))),d.id+=1},remove:function(e){var n=s(),t=new Set(Array.isArray(e)?e:[e]);t.size<=0||(d.keys=d.keys.filter((function(e,n){return!t.has(n)})),o(n.filter((function(e,n){return!t.has(n)}))))},move:function(e,n){if(e!==n){var t=s();e<0||e>=t.length||n<0||n>=t.length||(d.keys=me(d.keys,e,n),o(me(t,e,n)))}}},p=a||[];return Array.isArray(p)||(p=[]),i(p.map((function(e,n){var t=d.keys[n];return void 0===t&&(d.keys[n]=d.id,t=d.keys[n],d.id+=1),{name:n,key:t,isListField:!0}})),c,n)}))))};var ye=t(712);var Ae="__@field_split__";function we(e){return e.map((function(e){return"".concat((0,k.A)(e),":").concat(e)})).join(Ae)}var Ce=function(){function e(){(0,u.A)(this,e),(0,v.A)(this,"kvs",new Map)}return(0,p.A)(e,[{key:"set",value:function(e,n){this.kvs.set(we(e),n)}},{key:"get",value:function(e){return this.kvs.get(we(e))}},{key:"update",value:function(e,n){var t=n(this.get(e));t?this.set(e,t):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(we(e))}},{key:"map",value:function(e){return(0,l.A)(this.kvs.entries()).map((function(n){var t=(0,ye.A)(n,2),a=t[0],i=t[1],o=a.split(Ae);return e({key:o.map((function(e){var n=e.match(/^([^:]*):(.*)$/),t=(0,ye.A)(n,3),a=t[1],i=t[2];return"number"===a?Number(i):i})),value:i})}))}},{key:"toJSON",value:function(){var e={};return this.map((function(n){var t=n.key,a=n.value;return e[t.join(".")]=a,null})),e}}]),e}();const ke=Ce;var Ee=["name"],Ne=(0,p.A)((function e(n){var t=this;(0,u.A)(this,e),(0,v.A)(this,"formHooked",!1),(0,v.A)(this,"forceRootUpdate",void 0),(0,v.A)(this,"subscribable",!0),(0,v.A)(this,"store",{}),(0,v.A)(this,"fieldEntities",[]),(0,v.A)(this,"initialValues",{}),(0,v.A)(this,"callbacks",{}),(0,v.A)(this,"validateMessages",null),(0,v.A)(this,"preserve",null),(0,v.A)(this,"lastValidatePromise",null),(0,v.A)(this,"getForm",(function(){return{getFieldValue:t.getFieldValue,getFieldsValue:t.getFieldsValue,getFieldError:t.getFieldError,getFieldWarning:t.getFieldWarning,getFieldsError:t.getFieldsError,isFieldsTouched:t.isFieldsTouched,isFieldTouched:t.isFieldTouched,isFieldValidating:t.isFieldValidating,isFieldsValidating:t.isFieldsValidating,resetFields:t.resetFields,setFields:t.setFields,setFieldValue:t.setFieldValue,setFieldsValue:t.setFieldsValue,validateFields:t.validateFields,submit:t.submit,_init:!0,getInternalHooks:t.getInternalHooks}})),(0,v.A)(this,"getInternalHooks",(function(e){return e===b?(t.formHooked=!0,{dispatch:t.dispatch,initEntityValue:t.initEntityValue,registerField:t.registerField,useSubscribe:t.useSubscribe,setInitialValues:t.setInitialValues,destroyForm:t.destroyForm,setCallbacks:t.setCallbacks,setValidateMessages:t.setValidateMessages,getFields:t.getFields,setPreserve:t.setPreserve,getInitialValue:t.getInitialValue,registerWatch:t.registerWatch}):((0,g.Ay)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)})),(0,v.A)(this,"useSubscribe",(function(e){t.subscribable=e})),(0,v.A)(this,"prevWithoutPreserves",null),(0,v.A)(this,"setInitialValues",(function(e,n){if(t.initialValues=e||{},n){var a,i=(0,Z.h)(e,t.store);null===(a=t.prevWithoutPreserves)||void 0===a||a.map((function(n){var t=n.key;i=(0,Z.A)(i,t,(0,se.A)(e,t))})),t.prevWithoutPreserves=null,t.updateStore(i)}})),(0,v.A)(this,"destroyForm",(function(e){if(e)t.updateStore({});else{var n=new ke;t.getFieldEntities(!0).forEach((function(e){t.isMergedPreserve(e.isPreserve())||n.set(e.getNamePath(),!0)})),t.prevWithoutPreserves=n}})),(0,v.A)(this,"getInitialValue",(function(e){var n=(0,se.A)(t.initialValues,e);return e.length?(0,Z.h)(n):n})),(0,v.A)(this,"setCallbacks",(function(e){t.callbacks=e})),(0,v.A)(this,"setValidateMessages",(function(e){t.validateMessages=e})),(0,v.A)(this,"setPreserve",(function(e){t.preserve=e})),(0,v.A)(this,"watchList",[]),(0,v.A)(this,"registerWatch",(function(e){return t.watchList.push(e),function(){t.watchList=t.watchList.filter((function(n){return n!==e}))}})),(0,v.A)(this,"notifyWatch",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(t.watchList.length){var n=t.getFieldsValue(),a=t.getFieldsValue(!0);t.watchList.forEach((function(t){t(n,a,e)}))}})),(0,v.A)(this,"timeoutId",null),(0,v.A)(this,"warningUnhooked",(function(){0})),(0,v.A)(this,"updateStore",(function(e){t.store=e})),(0,v.A)(this,"getFieldEntities",(function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?t.fieldEntities.filter((function(e){return e.getNamePath().length})):t.fieldEntities})),(0,v.A)(this,"getFieldsMap",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=new ke;return t.getFieldEntities(e).forEach((function(e){var t=e.getNamePath();n.set(t,e)})),n})),(0,v.A)(this,"getFieldEntitiesForNamePathList",(function(e){if(!e)return t.getFieldEntities(!0);var n=t.getFieldsMap(!0);return e.map((function(e){var t=ce(e);return n.get(t)||{INVALIDATE_NAME_PATH:ce(e)}}))})),(0,v.A)(this,"getFieldsValue",(function(e,n){var a,i,o;if(t.warningUnhooked(),!0===e||Array.isArray(e)?(a=e,i=n):e&&"object"===(0,k.A)(e)&&(o=e.strict,i=e.filter),!0===a&&!i)return t.store;var r=t.getFieldEntitiesForNamePathList(Array.isArray(a)?a:null),s=[];return r.forEach((function(e){var n,t,r,c,l="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(o){if(null!==(r=(c=e).isList)&&void 0!==r&&r.call(c))return}else if(!a&&null!==(n=(t=e).isListField)&&void 0!==n&&n.call(t))return;if(i){var u="getMeta"in e?e.getMeta():null;i(u)&&s.push(l)}else s.push(l)})),le(t.store,s.map(ce))})),(0,v.A)(this,"getFieldValue",(function(e){t.warningUnhooked();var n=ce(e);return(0,se.A)(t.store,n)})),(0,v.A)(this,"getFieldsError",(function(e){return t.warningUnhooked(),t.getFieldEntitiesForNamePathList(e).map((function(n,t){return n&&!("INVALIDATE_NAME_PATH"in n)?{name:n.getNamePath(),errors:n.getErrors(),warnings:n.getWarnings()}:{name:ce(e[t]),errors:[],warnings:[]}}))})),(0,v.A)(this,"getFieldError",(function(e){t.warningUnhooked();var n=ce(e);return t.getFieldsError([n])[0].errors})),(0,v.A)(this,"getFieldWarning",(function(e){t.warningUnhooked();var n=ce(e);return t.getFieldsError([n])[0].warnings})),(0,v.A)(this,"isFieldsTouched",(function(){t.warningUnhooked();for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];var i,o=n[0],r=n[1],s=!1;0===n.length?i=null:1===n.length?Array.isArray(o)?(i=o.map(ce),s=!1):(i=null,s=o):(i=o.map(ce),s=r);var c=t.getFieldEntities(!0),u=function(e){return e.isFieldTouched()};if(!i)return s?c.every((function(e){return u(e)||e.isList()})):c.some(u);var p=new ke;i.forEach((function(e){p.set(e,[])})),c.forEach((function(e){var n=e.getNamePath();i.forEach((function(t){t.every((function(e,t){return n[t]===e}))&&p.update(t,(function(n){return[].concat((0,l.A)(n),[e])}))}))}));var d=function(e){return e.some(u)},m=p.map((function(e){return e.value}));return s?m.every(d):m.some(d)})),(0,v.A)(this,"isFieldTouched",(function(e){return t.warningUnhooked(),t.isFieldsTouched([e])})),(0,v.A)(this,"isFieldsValidating",(function(e){t.warningUnhooked();var n=t.getFieldEntities();if(!e)return n.some((function(e){return e.isFieldValidating()}));var a=e.map(ce);return n.some((function(e){var n=e.getNamePath();return ue(a,n)&&e.isFieldValidating()}))})),(0,v.A)(this,"isFieldValidating",(function(e){return t.warningUnhooked(),t.isFieldsValidating([e])})),(0,v.A)(this,"resetWithFieldInitialValue",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=new ke,a=t.getFieldEntities(!0);a.forEach((function(e){var t=e.props.initialValue,a=e.getNamePath();if(void 0!==t){var i=n.get(a)||new Set;i.add({entity:e,value:t}),n.set(a,i)}}));var i;e.entities?i=e.entities:e.namePathList?(i=[],e.namePathList.forEach((function(e){var t,a=n.get(e);a&&(t=i).push.apply(t,(0,l.A)((0,l.A)(a).map((function(e){return e.entity}))))}))):i=a,i.forEach((function(a){if(void 0!==a.props.initialValue){var i=a.getNamePath();if(void 0!==t.getInitialValue(i))(0,g.Ay)(!1,"Form already set 'initialValues' with path '".concat(i.join("."),"'. Field can not overwrite it."));else{var o=n.get(i);if(o&&o.size>1)(0,g.Ay)(!1,"Multiple Field with path '".concat(i.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(o){var r=t.getFieldValue(i);a.isListField()||e.skipExist&&void 0!==r||t.updateStore((0,Z.A)(t.store,i,(0,l.A)(o)[0].value))}}}}))})),(0,v.A)(this,"resetFields",(function(e){t.warningUnhooked();var n=t.store;if(!e)return t.updateStore((0,Z.h)(t.initialValues)),t.resetWithFieldInitialValue(),t.notifyObservers(n,null,{type:"reset"}),void t.notifyWatch();var a=e.map(ce);a.forEach((function(e){var n=t.getInitialValue(e);t.updateStore((0,Z.A)(t.store,e,n))})),t.resetWithFieldInitialValue({namePathList:a}),t.notifyObservers(n,a,{type:"reset"}),t.notifyWatch(a)})),(0,v.A)(this,"setFields",(function(e){t.warningUnhooked();var n=t.store,a=[];e.forEach((function(e){var i=e.name,r=(0,o.A)(e,Ee),s=ce(i);a.push(s),"value"in r&&t.updateStore((0,Z.A)(t.store,s,r.value)),t.notifyObservers(n,[s],{type:"setField",data:e})})),t.notifyWatch(a)})),(0,v.A)(this,"getFields",(function(){return t.getFieldEntities(!0).map((function(e){var n=e.getNamePath(),a=e.getMeta(),i=(0,c.A)((0,c.A)({},a),{},{name:n,value:t.getFieldValue(n)});return Object.defineProperty(i,"originRCField",{value:!0}),i}))})),(0,v.A)(this,"initEntityValue",(function(e){var n=e.props.initialValue;if(void 0!==n){var a=e.getNamePath();void 0===(0,se.A)(t.store,a)&&t.updateStore((0,Z.A)(t.store,a,n))}})),(0,v.A)(this,"isMergedPreserve",(function(e){var n=void 0!==e?e:t.preserve;return null===n||void 0===n||n})),(0,v.A)(this,"registerField",(function(e){t.fieldEntities.push(e);var n=e.getNamePath();if(t.notifyWatch([n]),void 0!==e.props.initialValue){var a=t.store;t.resetWithFieldInitialValue({entities:[e],skipExist:!0}),t.notifyObservers(a,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(a,i){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(t.fieldEntities=t.fieldEntities.filter((function(n){return n!==e})),!t.isMergedPreserve(i)&&(!a||o.length>1)){var r=a?void 0:t.getInitialValue(n);if(n.length&&t.getFieldValue(n)!==r&&t.fieldEntities.every((function(e){return!pe(e.getNamePath(),n)}))){var s=t.store;t.updateStore((0,Z.A)(s,n,r,!0)),t.notifyObservers(s,[n],{type:"remove"}),t.triggerDependenciesUpdate(s,n)}}t.notifyWatch([n])}})),(0,v.A)(this,"dispatch",(function(e){switch(e.type){case"updateValue":var n=e.namePath,a=e.value;t.updateValue(n,a);break;case"validateField":var i=e.namePath,o=e.triggerName;t.validateFields([i],{triggerName:o})}})),(0,v.A)(this,"notifyObservers",(function(e,n,a){if(t.subscribable){var i=(0,c.A)((0,c.A)({},a),{},{store:t.getFieldsValue(!0)});t.getFieldEntities().forEach((function(t){(0,t.onStoreChange)(e,n,i)}))}else t.forceRootUpdate()})),(0,v.A)(this,"triggerDependenciesUpdate",(function(e,n){var a=t.getDependencyChildrenFields(n);return a.length&&t.validateFields(a),t.notifyObservers(e,a,{type:"dependenciesUpdate",relatedFields:[n].concat((0,l.A)(a))}),a})),(0,v.A)(this,"updateValue",(function(e,n){var a=ce(e),i=t.store;t.updateStore((0,Z.A)(t.store,a,n)),t.notifyObservers(i,[a],{type:"valueUpdate",source:"internal"}),t.notifyWatch([a]);var o=t.triggerDependenciesUpdate(i,a),r=t.callbacks.onValuesChange;r&&r(le(t.store,[a]),t.getFieldsValue());t.triggerOnFieldsChange([a].concat((0,l.A)(o)))})),(0,v.A)(this,"setFieldsValue",(function(e){t.warningUnhooked();var n=t.store;if(e){var a=(0,Z.h)(t.store,e);t.updateStore(a)}t.notifyObservers(n,null,{type:"valueUpdate",source:"external"}),t.notifyWatch()})),(0,v.A)(this,"setFieldValue",(function(e,n){t.setFields([{name:e,value:n,errors:[],warnings:[]}])})),(0,v.A)(this,"getDependencyChildrenFields",(function(e){var n=new Set,a=[],i=new ke;t.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(n){var t=ce(n);i.update(t,(function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return n.add(e),n}))}))}));return function e(t){(i.get(t)||new Set).forEach((function(t){if(!n.has(t)){n.add(t);var i=t.getNamePath();t.isFieldDirty()&&i.length&&(a.push(i),e(i))}}))}(e),a})),(0,v.A)(this,"triggerOnFieldsChange",(function(e,n){var a=t.callbacks.onFieldsChange;if(a){var i=t.getFields();if(n){var o=new ke;n.forEach((function(e){var n=e.name,t=e.errors;o.set(n,t)})),i.forEach((function(e){e.errors=o.get(e.name)||e.errors}))}var r=i.filter((function(n){var t=n.name;return ue(e,t)}));r.length&&a(r,i)}})),(0,v.A)(this,"validateFields",(function(e,n){var a,i;t.warningUnhooked(),Array.isArray(e)||"string"===typeof e||"string"===typeof n?(a=e,i=n):i=e;var o=!!a,r=o?a.map(ce):[],s=[],u=String(Date.now()),p=new Set,d=i||{},m=d.recursive,f=d.dirty;t.getFieldEntities(!0).forEach((function(e){if(o||r.push(e.getNamePath()),e.props.rules&&e.props.rules.length&&(!f||e.isFieldDirty())){var n=e.getNamePath();if(p.add(n.join(u)),!o||ue(r,n,m)){var a=e.validateRules((0,c.A)({validateMessages:(0,c.A)((0,c.A)({},Q),t.validateMessages)},i));s.push(a.then((function(){return{name:n,errors:[],warnings:[]}})).catch((function(e){var t,a=[],i=[];return null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var n=e.rule.warningOnly,t=e.errors;n?i.push.apply(i,(0,l.A)(t)):a.push.apply(a,(0,l.A)(t))})),a.length?Promise.reject({name:n,errors:a,warnings:i}):{name:n,errors:a,warnings:i}})))}}}));var v=function(e){var n=!1,t=e.length,a=[];return e.length?new Promise((function(i,o){e.forEach((function(e,r){e.catch((function(e){return n=!0,e})).then((function(e){t-=1,a[r]=e,t>0||(n&&o(a),i(a))}))}))})):Promise.resolve([])}(s);t.lastValidatePromise=v,v.catch((function(e){return e})).then((function(e){var n=e.map((function(e){return e.name}));t.notifyObservers(t.store,n,{type:"validateFinish"}),t.triggerOnFieldsChange(n,e)}));var h=v.then((function(){return t.lastValidatePromise===v?Promise.resolve(t.getFieldsValue(r)):Promise.reject([])})).catch((function(e){var n=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:t.getFieldsValue(r),errorFields:n,outOfDate:t.lastValidatePromise!==v})}));h.catch((function(e){return e}));var x=r.filter((function(e){return p.has(e.join(u))}));return t.triggerOnFieldsChange(x),h})),(0,v.A)(this,"submit",(function(){t.warningUnhooked(),t.validateFields().then((function(e){var n=t.callbacks.onFinish;if(n)try{n(e)}catch(a){}})).catch((function(e){var n=t.callbacks.onFinishFailed;n&&n(e)}))})),this.forceRootUpdate=n}));const Se=function(e){var n=a.useRef(),t=a.useState({}),i=(0,ye.A)(t,2)[1];if(!n.current)if(e)n.current=e;else{var o=new Ne((function(){i({})}));n.current=o.getForm()}return[n.current]};var Me=a.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Re=function(e){var n=e.validateMessages,t=e.onFormChange,i=e.onFormFinish,o=e.children,r=a.useContext(Me),s=a.useRef({});return a.createElement(Me.Provider,{value:(0,c.A)((0,c.A)({},r),{},{validateMessages:(0,c.A)((0,c.A)({},r.validateMessages),n),triggerFormChange:function(e,n){t&&t(e,{changedFields:n,forms:s.current}),r.triggerFormChange(e,n)},triggerFormFinish:function(e,n){i&&i(e,{values:n,forms:s.current}),r.triggerFormFinish(e,n)},registerForm:function(e,n){e&&(s.current=(0,c.A)((0,c.A)({},s.current),{},(0,v.A)({},e,n))),r.registerForm(e,n)},unregisterForm:function(e){var n=(0,c.A)({},s.current);delete n[e],s.current=n,r.unregisterForm(e)}})},o)};const Ie=Me;var _e=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"];const Pe=function(e,n){var t=e.name,r=e.initialValues,s=e.fields,u=e.form,p=e.preserve,d=e.children,m=e.component,f=void 0===m?"form":m,v=e.validateMessages,h=e.validateTrigger,x=void 0===h?"onChange":h,g=e.onValuesChange,y=e.onFieldsChange,C=e.onFinish,E=e.onFinishFailed,N=e.clearOnDestroy,S=(0,o.A)(e,_e),M=a.useRef(null),R=a.useContext(Ie),I=Se(u),_=(0,ye.A)(I,1)[0],P=_.getInternalHooks(b),j=P.useSubscribe,F=P.setInitialValues,T=P.setCallbacks,D=P.setValidateMessages,O=P.setPreserve,z=P.destroyForm;a.useImperativeHandle(n,(function(){return(0,c.A)((0,c.A)({},_),{},{nativeElement:M.current})})),a.useEffect((function(){return R.registerForm(t,_),function(){R.unregisterForm(t)}}),[R,_,t]),D((0,c.A)((0,c.A)({},R.validateMessages),v)),T({onValuesChange:g,onFieldsChange:function(e){if(R.triggerFormChange(t,e),y){for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];y.apply(void 0,[e].concat(a))}},onFinish:function(e){R.triggerFormFinish(t,e),C&&C(e)},onFinishFailed:E}),O(p);var V,L=a.useRef(null);F(r,!L.current),L.current||(L.current=!0),a.useEffect((function(){return function(){return z(N)}}),[]);var q="function"===typeof d;q?V=d(_.getFieldsValue(!0),_):V=d;j(!q);var H=a.useRef();a.useEffect((function(){(function(e,n){if(e===n)return!0;if(!e&&n||e&&!n)return!1;if(!e||!n||"object"!==(0,k.A)(e)||"object"!==(0,k.A)(n))return!1;var t=Object.keys(e),a=Object.keys(n),i=new Set([].concat(t,a));return(0,l.A)(i).every((function(t){var a=e[t],i=n[t];return"function"===typeof a&&"function"===typeof i||a===i}))})(H.current||[],s||[])||_.setFields(s||[]),H.current=s}),[s,_]);var K=a.useMemo((function(){return(0,c.A)((0,c.A)({},_),{},{validateTrigger:x})}),[_,x]),Y=a.createElement(w.Provider,{value:null},a.createElement(A.Provider,{value:K},V));return!1===f?Y:a.createElement(f,(0,i.A)({},S,{ref:M,onSubmit:function(e){e.preventDefault(),e.stopPropagation(),_.submit()},onReset:function(e){var n;e.preventDefault(),_.resetFields(),null===(n=S.onReset)||void 0===n||n.call(S,e)}}),Y)};function je(e){try{return JSON.stringify(e)}catch(n){return Math.random()}}var Fe=function(){};const Te=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];var i=n[0],o=n[1],r=void 0===o?{}:o,s=function(e){return e&&!!e._init}(r)?{form:r}:r,c=s.form,l=(0,a.useState)(),u=(0,ye.A)(l,2),p=u[0],d=u[1],m=(0,a.useMemo)((function(){return je(p)}),[p]),f=(0,a.useRef)(m);f.current=m;var v=(0,a.useContext)(A),h=c||v,x=h&&h._init,g=ce(i),y=(0,a.useRef)(g);return y.current=g,Fe(g),(0,a.useEffect)((function(){if(x){var e=h.getFieldsValue,n=(0,h.getInternalHooks)(b).registerWatch,t=function(e,n){var t=s.preserve?n:e;return"function"===typeof i?i(t):(0,se.A)(t,y.current)},a=n((function(e,n){var a=t(e,n),i=je(a);f.current!==i&&(f.current=i,d(a))})),o=t(e(),e(!0));return p!==o&&d(o),a}}),[x]),p};var De=a.forwardRef(Pe);De.FormProvider=Re,De.Field=ge,De.List=be,De.useForm=Se,De.useWatch=Te;const Oe=De},35924:(e,n,t)=>{"use strict";t.d(n,{A:()=>H});var a=t(9793),i=t(2250),o=t(70908),r=t(712),s=t(53575),c=t(64916),l=t(85591),u=t.n(l),p=t(57537),d=t(57144),m=t(98173),f=t(71556),v=t(88393),h=t(60871),x=t(72528),g=t(52039),b=m.createContext(null);const y=function(e){var n=e.visible,t=e.maskTransitionName,a=e.getContainer,r=e.prefixCls,s=e.rootClassName,c=e.icons,l=e.countRender,p=e.showSwitch,d=e.showProgress,f=e.current,v=e.transform,y=e.count,A=e.scale,w=e.minScale,C=e.maxScale,k=e.closeIcon,E=e.onActive,N=e.onClose,S=e.onZoomIn,M=e.onZoomOut,R=e.onRotateRight,I=e.onRotateLeft,_=e.onFlipX,P=e.onFlipY,j=e.onReset,F=e.toolbarRender,T=e.zIndex,D=e.image,O=(0,m.useContext)(b),z=c.rotateLeft,V=c.rotateRight,L=c.zoomIn,q=c.zoomOut,H=c.close,K=c.left,Y=c.right,W=c.flipX,B=c.flipY,U="".concat(r,"-operations-operation");m.useEffect((function(){var e=function(e){e.keyCode===h.A.ESC&&N()};return n&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[n]);var X=function(e,n){e.preventDefault(),e.stopPropagation(),E(n)},$=m.useCallback((function(e){var n=e.type,t=e.disabled,a=e.onClick,i=e.icon;return m.createElement("div",{key:n,className:u()(U,"".concat(r,"-operations-operation-").concat(n),(0,o.A)({},"".concat(r,"-operations-operation-disabled"),!!t)),onClick:a},i)}),[U,r]),G=p?$({icon:K,onClick:function(e){return X(e,-1)},type:"prev",disabled:0===f}):void 0,Q=p?$({icon:Y,onClick:function(e){return X(e,1)},type:"next",disabled:f===y-1}):void 0,Z=$({icon:B,onClick:P,type:"flipY"}),J=$({icon:W,onClick:_,type:"flipX"}),ee=$({icon:z,onClick:I,type:"rotateLeft"}),ne=$({icon:V,onClick:R,type:"rotateRight"}),te=$({icon:q,onClick:M,type:"zoomOut",disabled:A<=w}),ae=$({icon:L,onClick:S,type:"zoomIn",disabled:A===C}),ie=m.createElement("div",{className:"".concat(r,"-operations")},Z,J,ee,ne,te,ae);return m.createElement(g.Ay,{visible:n,motionName:t},(function(e){var n=e.className,t=e.style;return m.createElement(x.A,{open:!0,getContainer:null!==a&&void 0!==a?a:document.body},m.createElement("div",{className:u()("".concat(r,"-operations-wrapper"),n,s),style:(0,i.A)((0,i.A)({},t),{},{zIndex:T})},null===k?null:m.createElement("button",{className:"".concat(r,"-close"),onClick:N},k||H),p&&m.createElement(m.Fragment,null,m.createElement("div",{className:u()("".concat(r,"-switch-left"),(0,o.A)({},"".concat(r,"-switch-left-disabled"),0===f)),onClick:function(e){return X(e,-1)}},K),m.createElement("div",{className:u()("".concat(r,"-switch-right"),(0,o.A)({},"".concat(r,"-switch-right-disabled"),f===y-1)),onClick:function(e){return X(e,1)}},Y)),m.createElement("div",{className:"".concat(r,"-footer")},d&&m.createElement("div",{className:"".concat(r,"-progress")},l?l(f+1,y):m.createElement("bdi",null,"".concat(f+1," / ").concat(y))),F?F(ie,(0,i.A)((0,i.A)({icons:{prevIcon:G,nextIcon:Q,flipYIcon:Z,flipXIcon:J,rotateLeftIcon:ee,rotateRightIcon:ne,zoomOutIcon:te,zoomInIcon:ae},actions:{onActive:E,onFlipY:P,onFlipX:_,onRotateLeft:I,onRotateRight:R,onZoomOut:M,onZoomIn:S,onReset:j,onClose:N},transform:v},O?{current:f,total:y}:{}),{},{image:D})):ie)))}))};var A=t(62845),w=t(956),C={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};var k=t(44449);function E(e,n,t,a){var i=n+t,r=(t-a)/2;if(t>a){if(n>0)return(0,o.A)({},e,r);if(n<0&&i<a)return(0,o.A)({},e,-r)}else if(n<0||i>a)return(0,o.A)({},e,n<0?r:-r);return{}}function N(e,n,t,a){var o=(0,p.XV)(),r=o.width,s=o.height,c=null;return e<=r&&n<=s?c={x:0,y:0}:(e>r||n>s)&&(c=(0,i.A)((0,i.A)({},E("x",t,e,r)),E("y",a,n,s))),c}function S(e){var n=e.src,t=e.isCustomPlaceholder,a=e.fallback,i=(0,m.useState)(t?"loading":"normal"),o=(0,r.A)(i,2),s=o[0],c=o[1],l=(0,m.useRef)(!1),u="error"===s;(0,m.useEffect)((function(){var e=!0;return function(e){return new Promise((function(n){if(e){var t=document.createElement("img");t.onerror=function(){return n(!1)},t.onload=function(){return n(!0)},t.src=e}else n(!1)}))}(n).then((function(n){!n&&e&&c("error")})),function(){e=!1}}),[n]),(0,m.useEffect)((function(){t&&!l.current?c("loading"):u&&c("normal")}),[n]);var p=function(){c("normal")};return[function(e){l.current=!1,"loading"===s&&null!==e&&void 0!==e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(l.current=!0,p())},u&&a?{src:a}:{onLoad:p,src:n},s]}function M(e,n){var t=e.x-n.x,a=e.y-n.y;return Math.hypot(t,a)}function R(e,n,t,a,o,s,c){var l=o.rotate,u=o.scale,p=o.x,d=o.y,f=(0,m.useState)(!1),h=(0,r.A)(f,2),x=h[0],g=h[1],b=(0,m.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),y=function(e){b.current=(0,i.A)((0,i.A)({},b.current),e)};return(0,m.useEffect)((function(){var e;return t&&n&&(e=(0,v.A)(window,"touchmove",(function(e){return e.preventDefault()}),{passive:!1})),function(){var n;null===(n=e)||void 0===n||n.remove()}}),[t,n]),{isTouching:x,onTouchStart:function(e){if(n){e.stopPropagation(),g(!0);var t=e.touches,a=void 0===t?[]:t;a.length>1?y({point1:{x:a[0].clientX,y:a[0].clientY},point2:{x:a[1].clientX,y:a[1].clientY},eventType:"touchZoom"}):y({point1:{x:a[0].clientX-p,y:a[0].clientY-d},eventType:"move"})}},onTouchMove:function(e){var n=e.touches,t=void 0===n?[]:n,a=b.current,i=a.point1,o=a.point2,l=a.eventType;if(t.length>1&&"touchZoom"===l){var u={x:t[0].clientX,y:t[0].clientY},p={x:t[1].clientX,y:t[1].clientY},d=function(e,n,t,a){var i=M(e,t),o=M(n,a);if(0===i&&0===o)return[e.x,e.y];var r=i/(i+o);return[e.x+r*(n.x-e.x),e.y+r*(n.y-e.y)]}(i,o,u,p),m=(0,r.A)(d,2),f=m[0],v=m[1],h=M(u,p)/M(i,o);c(h,"touchZoom",f,v,!0),y({point1:u,point2:p,eventType:"touchZoom"})}else"move"===l&&(s({x:t[0].clientX-i.x,y:t[0].clientY-i.y},"move"),y({eventType:"move"}))},onTouchEnd:function(){if(t){if(x&&g(!1),y({eventType:"none"}),a>u)return s({x:0,y:0,scale:a},"touchZoom");var n=e.current.offsetWidth*u,o=e.current.offsetHeight*u,r=e.current.getBoundingClientRect(),c=r.left,p=r.top,d=l%180!==0,m=N(d?o:n,d?n:o,c,p);m&&s((0,i.A)({},m),"dragRebound")}}}}var I=["fallback","src","imgRef"],_=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],P=function(e){var n=e.fallback,t=e.src,i=e.imgRef,o=(0,c.A)(e,I),s=S({src:t,fallback:n}),l=(0,r.A)(s,2),u=l[0],p=l[1];return m.createElement("img",(0,a.A)({ref:function(e){i.current=e,u(e)}},o,p))};const j=function(e){var n=e.prefixCls,t=e.src,s=e.alt,l=e.imageInfo,d=e.fallback,x=e.movable,g=void 0===x||x,E=e.onClose,S=e.visible,M=e.icons,I=void 0===M?{}:M,j=e.rootClassName,F=e.closeIcon,T=e.getContainer,D=e.current,O=void 0===D?0:D,z=e.count,V=void 0===z?1:z,L=e.countRender,q=e.scaleStep,H=void 0===q?.5:q,K=e.minScale,Y=void 0===K?1:K,W=e.maxScale,B=void 0===W?50:W,U=e.transitionName,X=void 0===U?"zoom":U,$=e.maskTransitionName,G=void 0===$?"fade":$,Q=e.imageRender,Z=e.imgCommonProps,J=e.toolbarRender,ee=e.onTransform,ne=e.onChange,te=(0,c.A)(e,_),ae=(0,m.useRef)(),ie=(0,m.useContext)(b),oe=ie&&V>1,re=ie&&V>=1,se=(0,m.useState)(!0),ce=(0,r.A)(se,2),le=ce[0],ue=ce[1],pe=function(e,n,t,a){var o=(0,m.useRef)(null),s=(0,m.useRef)([]),c=(0,m.useState)(C),l=(0,r.A)(c,2),u=l[0],d=l[1],f=function(e,n){null===o.current&&(s.current=[],o.current=(0,w.A)((function(){d((function(e){var t=e;return s.current.forEach((function(e){t=(0,i.A)((0,i.A)({},t),e)})),o.current=null,null===a||void 0===a||a({transform:t,action:n}),t}))}))),s.current.push((0,i.A)((0,i.A)({},u),e))};return{transform:u,resetTransform:function(e){d(C),(0,A.A)(C,u)||null===a||void 0===a||a({transform:C,action:e})},updateTransform:f,dispatchZoomChange:function(a,i,o,r,s){var c=e.current,l=c.width,d=c.height,m=c.offsetWidth,v=c.offsetHeight,h=c.offsetLeft,x=c.offsetTop,g=a,b=u.scale*a;b>t?(b=t,g=t/u.scale):b<n&&(g=(b=s?b:n)/u.scale);var y=null!==o&&void 0!==o?o:innerWidth/2,A=null!==r&&void 0!==r?r:innerHeight/2,w=g-1,C=w*l*.5,k=w*d*.5,E=w*(y-u.x-h),N=w*(A-u.y-x),S=u.x-(E-C),M=u.y-(N-k);if(a<1&&1===b){var R=m*b,I=v*b,_=(0,p.XV)(),P=_.width,j=_.height;R<=P&&I<=j&&(S=0,M=0)}f({x:S,y:M,scale:b},i)}}}(ae,Y,B,ee),de=pe.transform,me=pe.resetTransform,fe=pe.updateTransform,ve=pe.dispatchZoomChange,he=function(e,n,t,a,o,s,c){var l=o.rotate,u=o.scale,p=o.x,d=o.y,f=(0,m.useState)(!1),h=(0,r.A)(f,2),x=h[0],g=h[1],b=(0,m.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),y=function(e){t&&x&&s({x:e.pageX-b.current.diffX,y:e.pageY-b.current.diffY},"move")},A=function(){if(t&&x){g(!1);var n=b.current,a=n.transformX,o=n.transformY;if(p===a||d===o)return;var r=e.current.offsetWidth*u,c=e.current.offsetHeight*u,m=e.current.getBoundingClientRect(),f=m.left,v=m.top,h=l%180!==0,y=N(h?c:r,h?r:c,f,v);y&&s((0,i.A)({},y),"dragRebound")}};return(0,m.useEffect)((function(){var e,t,a,i;if(n){a=(0,v.A)(window,"mouseup",A,!1),i=(0,v.A)(window,"mousemove",y,!1);try{window.top!==window.self&&(e=(0,v.A)(window.top,"mouseup",A,!1),t=(0,v.A)(window.top,"mousemove",y,!1))}catch(o){(0,k.$e)(!1,"[rc-image] ".concat(o))}}return function(){var n,o,r,s;null===(n=a)||void 0===n||n.remove(),null===(o=i)||void 0===o||o.remove(),null===(r=e)||void 0===r||r.remove(),null===(s=t)||void 0===s||s.remove()}}),[t,x,p,d,l,n]),{isMoving:x,onMouseDown:function(e){n&&0===e.button&&(e.preventDefault(),e.stopPropagation(),b.current={diffX:e.pageX-p,diffY:e.pageY-d,transformX:p,transformY:d},g(!0))},onMouseMove:y,onMouseUp:A,onWheel:function(e){if(t&&0!=e.deltaY){var n=Math.abs(e.deltaY/100),i=1+Math.min(n,1)*a;e.deltaY>0&&(i=1/i),c(i,"wheel",e.clientX,e.clientY)}}}}(ae,g,S,H,de,fe,ve),xe=he.isMoving,ge=he.onMouseDown,be=he.onWheel,ye=R(ae,g,S,Y,de,fe,ve),Ae=ye.isTouching,we=ye.onTouchStart,Ce=ye.onTouchMove,ke=ye.onTouchEnd,Ee=de.rotate,Ne=de.scale,Se=u()((0,o.A)({},"".concat(n,"-moving"),xe));(0,m.useEffect)((function(){le||ue(!0)}),[le]);var Me=function(e){var n=O+e;!Number.isInteger(n)||n<0||n>V-1||(ue(!1),me(e<0?"prev":"next"),null===ne||void 0===ne||ne(n,O))},Re=function(e){S&&oe&&(e.keyCode===h.A.LEFT?Me(-1):e.keyCode===h.A.RIGHT&&Me(1))};(0,m.useEffect)((function(){var e=(0,v.A)(window,"keydown",Re,!1);return function(){e.remove()}}),[S,oe,O]);var Ie=m.createElement(P,(0,a.A)({},Z,{width:e.width,height:e.height,imgRef:ae,className:"".concat(n,"-img"),alt:s,style:{transform:"translate3d(".concat(de.x,"px, ").concat(de.y,"px, 0) scale3d(").concat(de.flipX?"-":"").concat(Ne,", ").concat(de.flipY?"-":"").concat(Ne,", 1) rotate(").concat(Ee,"deg)"),transitionDuration:(!le||Ae)&&"0s"},fallback:d,src:t,onWheel:be,onMouseDown:ge,onDoubleClick:function(e){S&&(1!==Ne?fe({x:0,y:0,scale:1},"doubleClick"):ve(1+H,"doubleClick",e.clientX,e.clientY))},onTouchStart:we,onTouchMove:Ce,onTouchEnd:ke,onTouchCancel:ke})),_e=(0,i.A)({url:t,alt:s},l);return m.createElement(m.Fragment,null,m.createElement(f.A,(0,a.A)({transitionName:X,maskTransitionName:G,closable:!1,keyboard:!0,prefixCls:n,onClose:E,visible:S,classNames:{wrapper:Se},rootClassName:j,getContainer:T},te,{afterClose:function(){me("close")}}),m.createElement("div",{className:"".concat(n,"-img-wrapper")},Q?Q(Ie,(0,i.A)({transform:de,image:_e},ie?{current:O}:{})):Ie)),m.createElement(y,{visible:S,transform:de,maskTransitionName:G,closeIcon:F,getContainer:T,prefixCls:n,rootClassName:j,icons:I,countRender:L,showSwitch:oe,showProgress:re,current:O,count:V,scale:Ne,minScale:Y,maxScale:B,toolbarRender:J,onActive:Me,onZoomIn:function(){ve(1+H,"zoomIn")},onZoomOut:function(){ve(1/(1+H),"zoomOut")},onRotateRight:function(){fe({rotate:Ee+90},"rotateRight")},onRotateLeft:function(){fe({rotate:Ee-90},"rotateLeft")},onFlipX:function(){fe({flipX:!de.flipX},"flipX")},onFlipY:function(){fe({flipY:!de.flipY},"flipY")},onClose:E,onReset:function(){me("reset")},zIndex:void 0!==te.zIndex?te.zIndex+1:void 0,image:_e}))};var F=t(83912),T=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];var D=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],O=["src"];var z=0;var V=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],L=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],q=function(e){var n=e.src,t=e.alt,l=e.onPreviewClose,f=e.prefixCls,v=void 0===f?"rc-image":f,h=e.previewPrefixCls,x=void 0===h?"".concat(v,"-preview"):h,g=e.placeholder,y=e.fallback,A=e.width,w=e.height,C=e.style,k=e.preview,E=void 0===k||k,N=e.className,M=e.onClick,R=e.onError,I=e.wrapperClassName,_=e.wrapperStyle,P=e.rootClassName,F=(0,c.A)(e,V),D=g&&!0!==g,O="object"===(0,s.A)(E)?E:{},q=O.src,H=O.visible,K=void 0===H?void 0:H,Y=O.onVisibleChange,W=void 0===Y?l:Y,B=O.getContainer,U=void 0===B?void 0:B,X=O.mask,$=O.maskClassName,G=O.movable,Q=O.icons,Z=O.scaleStep,J=O.minScale,ee=O.maxScale,ne=O.imageRender,te=O.toolbarRender,ae=(0,c.A)(O,L),ie=null!==q&&void 0!==q?q:n,oe=(0,d.A)(!!K,{value:K,onChange:W}),re=(0,r.A)(oe,2),se=re[0],ce=re[1],le=S({src:n,isCustomPlaceholder:D,fallback:y}),ue=(0,r.A)(le,3),pe=ue[0],de=ue[1],me=ue[2],fe=(0,m.useState)(null),ve=(0,r.A)(fe,2),he=ve[0],xe=ve[1],ge=(0,m.useContext)(b),be=!!E,ye=u()(v,I,P,(0,o.A)({},"".concat(v,"-error"),"error"===me)),Ae=(0,m.useMemo)((function(){var n={};return T.forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),n}),T.map((function(n){return e[n]}))),we=function(e,n){var t=m.useState((function(){return String(z+=1)})),a=(0,r.A)(t,1)[0],i=m.useContext(b),o={data:n,canPreview:e};return m.useEffect((function(){if(i)return i.register(a,o)}),[]),m.useEffect((function(){i&&i.register(a,o)}),[e,n]),a}(be,(0,m.useMemo)((function(){return(0,i.A)((0,i.A)({},Ae),{},{src:ie})}),[ie,Ae]));return m.createElement(m.Fragment,null,m.createElement("div",(0,a.A)({},F,{className:ye,onClick:be?function(e){var n=(0,p.A3)(e.target),t=n.left,a=n.top;ge?ge.onPreview(we,ie,t,a):(xe({x:t,y:a}),ce(!0)),null===M||void 0===M||M(e)}:M,style:(0,i.A)({width:A,height:w},_)}),m.createElement("img",(0,a.A)({},Ae,{className:u()("".concat(v,"-img"),(0,o.A)({},"".concat(v,"-img-placeholder"),!0===g),N),style:(0,i.A)({height:w},C),ref:pe},de,{width:A,height:w,onError:R})),"loading"===me&&m.createElement("div",{"aria-hidden":"true",className:"".concat(v,"-placeholder")},g),X&&be&&m.createElement("div",{className:u()("".concat(v,"-mask"),$),style:{display:"none"===(null===C||void 0===C?void 0:C.display)?"none":void 0}},X)),!ge&&be&&m.createElement(j,(0,a.A)({"aria-hidden":!se,visible:se,prefixCls:x,onClose:function(){ce(!1),xe(null)},mousePosition:he,src:ie,alt:t,imageInfo:{width:A,height:w},fallback:y,getContainer:U,icons:Q,movable:G,scaleStep:Z,minScale:J,maxScale:ee,rootClassName:P,imageRender:ne,imgCommonProps:Ae,toolbarRender:te},ae)))};q.PreviewGroup=function(e){var n,t=e.previewPrefixCls,l=void 0===t?"rc-image-preview":t,u=e.children,p=e.icons,f=void 0===p?{}:p,v=e.items,h=e.preview,x=e.fallback,g="object"===(0,s.A)(h)?h:{},y=g.visible,A=g.onVisibleChange,w=g.getContainer,C=g.current,k=g.movable,E=g.minScale,N=g.maxScale,S=g.countRender,M=g.closeIcon,R=g.onChange,I=g.onTransform,_=g.toolbarRender,P=g.imageRender,z=(0,c.A)(g,D),V=function(e){var n=m.useState({}),t=(0,r.A)(n,2),a=t[0],s=t[1],c=m.useCallback((function(e,n){return s((function(t){return(0,i.A)((0,i.A)({},t),{},(0,o.A)({},e,n))})),function(){s((function(n){var t=(0,i.A)({},n);return delete t[e],t}))}}),[]);return[m.useMemo((function(){return e?e.map((function(e){if("string"===typeof e)return{data:{src:e}};var n={};return Object.keys(e).forEach((function(t){["src"].concat((0,F.A)(T)).includes(t)&&(n[t]=e[t])})),{data:n}})):Object.keys(a).reduce((function(e,n){var t=a[n],i=t.canPreview,o=t.data;return i&&e.push({data:o,id:n}),e}),[])}),[e,a]),c,!!e]}(v),L=(0,r.A)(V,3),q=L[0],H=L[1],K=L[2],Y=(0,d.A)(0,{value:C}),W=(0,r.A)(Y,2),B=W[0],U=W[1],X=(0,m.useState)(!1),$=(0,r.A)(X,2),G=$[0],Q=$[1],Z=(null===(n=q[B])||void 0===n?void 0:n.data)||{},J=Z.src,ee=(0,c.A)(Z,O),ne=(0,d.A)(!!y,{value:y,onChange:function(e,n){null===A||void 0===A||A(e,n,B)}}),te=(0,r.A)(ne,2),ae=te[0],ie=te[1],oe=(0,m.useState)(null),re=(0,r.A)(oe,2),se=re[0],ce=re[1],le=m.useCallback((function(e,n,t,a){var i=K?q.findIndex((function(e){return e.data.src===n})):q.findIndex((function(n){return n.id===e}));U(i<0?0:i),ie(!0),ce({x:t,y:a}),Q(!0)}),[q,K]);m.useEffect((function(){ae?G||U(0):Q(!1)}),[ae]);var ue=m.useMemo((function(){return{register:H,onPreview:le}}),[H,le]);return m.createElement(b.Provider,{value:ue},u,m.createElement(j,(0,a.A)({"aria-hidden":!ae,movable:k,visible:ae,prefixCls:l,closeIcon:M,onClose:function(){ie(!1),ce(null)},mousePosition:se,imgCommonProps:ee,src:J,fallback:x,icons:f,minScale:E,maxScale:N,getContainer:w,current:B,count:q.length,countRender:S,onTransform:I,toolbarRender:_,imageRender:P,onChange:function(e,n){U(e),null===R||void 0===R||R(e,n)}},z)))};const H=q},10403:(e,n,t)=>{"use strict";t.d(n,{A:()=>L});var a=t(9793),i=t(70908),o=t(53575),r=t(712),s=t(64916),c=t(26786),l=t(96212);function u(){return"function"===typeof BigInt}function p(e){return!e&&0!==e&&!Number.isNaN(e)||!String(e).trim()}function d(e){var n=e.trim(),t=n.startsWith("-");t&&(n=n.slice(1)),(n=n.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(n="0".concat(n));var a=n||"0",i=a.split("."),o=i[0]||"0",r=i[1]||"0";"0"===o&&"0"===r&&(t=!1);var s=t?"-":"";return{negative:t,negativeStr:s,trimStr:a,integerStr:o,decimalStr:r,fullStr:"".concat(s).concat(a)}}function m(e){var n=String(e);return!Number.isNaN(Number(n))&&n.includes("e")}function f(e){var n=String(e);if(m(e)){var t=Number(n.slice(n.indexOf("e-")+2)),a=n.match(/\.(\d+)/);return null!==a&&void 0!==a&&a[1]&&(t+=a[1].length),t}return n.includes(".")&&h(n)?n.length-n.indexOf(".")-1:0}function v(e){var n=String(e);if(m(e)){if(e>Number.MAX_SAFE_INTEGER)return String(u()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e<Number.MIN_SAFE_INTEGER)return String(u()?BigInt(e).toString():Number.MIN_SAFE_INTEGER);n=e.toFixed(f(n))}return d(n).fullStr}function h(e){return"number"===typeof e?!Number.isNaN(e):!!e&&(/^\s*-?\d+(\.\d+)?\s*$/.test(e)||/^\s*-?\d+\.\s*$/.test(e)||/^\s*-?\.\d+\s*$/.test(e))}var x=function(){function e(n){if((0,c.A)(this,e),(0,i.A)(this,"origin",""),(0,i.A)(this,"negative",void 0),(0,i.A)(this,"integer",void 0),(0,i.A)(this,"decimal",void 0),(0,i.A)(this,"decimalLen",void 0),(0,i.A)(this,"empty",void 0),(0,i.A)(this,"nan",void 0),p(n))this.empty=!0;else if(this.origin=String(n),"-"===n||Number.isNaN(n))this.nan=!0;else{var t=n;if(m(t)&&(t=Number(t)),h(t="string"===typeof t?t:v(t))){var a=d(t);this.negative=a.negative;var o=a.trimStr.split(".");this.integer=BigInt(o[0]);var r=o[1]||"0";this.decimal=BigInt(r),this.decimalLen=r.length}else this.nan=!0}}return(0,l.A)(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(e){var n="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(e,"0"));return BigInt(n)}},{key:"negate",value:function(){var n=new e(this.toString());return n.negative=!n.negative,n}},{key:"cal",value:function(n,t,a){var i=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),o=t(this.alignDecimal(i),n.alignDecimal(i)).toString(),r=a(i),s=d(o),c=s.negativeStr,l=s.trimStr,u="".concat(c).concat(l.padStart(r+1,"0"));return new e("".concat(u.slice(0,-r),".").concat(u.slice(-r)))}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var t=new e(n);return t.isInvalidate()?this:this.cal(t,(function(e,n){return e+n}),(function(e){return e}))}},{key:"multi",value:function(n){var t=new e(n);return this.isInvalidate()||t.isInvalidate()?new e(NaN):this.cal(t,(function(e,n){return e*n}),(function(e){return 2*e}))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toString()===(null===e||void 0===e?void 0:e.toString())}},{key:"lessEquals",value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){return!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?this.isInvalidate()?"":d("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),g=function(){function e(n){(0,c.A)(this,e),(0,i.A)(this,"origin",""),(0,i.A)(this,"number",void 0),(0,i.A)(this,"empty",void 0),p(n)?this.empty=!0:(this.origin=String(n),this.number=Number(n))}return(0,l.A)(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var t=Number(n);if(Number.isNaN(t))return this;var a=this.number+t;if(a>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(a<Number.MIN_SAFE_INTEGER)return new e(Number.MIN_SAFE_INTEGER);var i=Math.max(f(this.number),f(t));return new e(a.toFixed(i))}},{key:"multi",value:function(n){var t=Number(n);if(this.isInvalidate()||Number.isNaN(t))return new e(NaN);var a=this.number*t;if(a>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(a<Number.MIN_SAFE_INTEGER)return new e(Number.MIN_SAFE_INTEGER);var i=Math.max(f(this.number),f(t));return new e(a.toFixed(i))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toNumber()===(null===e||void 0===e?void 0:e.toNumber())}},{key:"lessEquals",value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){return!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?this.isInvalidate()?"":v(this.number):this.origin}}]),e}();function b(e){return u()?new x(e):new g(e)}function y(e,n,t){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var i=d(e),o=i.negativeStr,r=i.integerStr,s=i.decimalStr,c="".concat(n).concat(s),l="".concat(o).concat(r);if(t>=0){var u=Number(s[t]);return u>=5&&!a?y(b(e).add("".concat(o,"0.").concat("0".repeat(t)).concat(10-u)).toString(),n,t,a):0===t?l:"".concat(l).concat(n).concat(s.padEnd(t,"0").slice(0,t))}return".0"===c?l:"".concat(l).concat(c)}const A=b;var w=t(85591),C=t.n(w),k=t(52457),E=t(33122),N=t(76054),S=t(45400),M=t(98173),R=t(44449);var I=t(47511),_=t(956);function P(e){var n=e.prefixCls,t=e.upNode,o=e.downNode,r=e.upDisabled,s=e.downDisabled,c=e.onStep,l=M.useRef(),u=M.useRef([]),p=M.useRef();p.current=c;var d=function(){clearTimeout(l.current)},m=function(e,n){e.preventDefault(),d(),p.current(n),l.current=setTimeout((function e(){p.current(n),l.current=setTimeout(e,200)}),600)};if(M.useEffect((function(){return function(){d(),u.current.forEach((function(e){return _.A.cancel(e)}))}}),[]),(0,I.A)())return null;var f="".concat(n,"-handler"),v=C()(f,"".concat(f,"-up"),(0,i.A)({},"".concat(f,"-up-disabled"),r)),h=C()(f,"".concat(f,"-down"),(0,i.A)({},"".concat(f,"-down-disabled"),s)),x=function(){return u.current.push((0,_.A)(d))},g={unselectable:"on",role:"button",onMouseUp:x,onMouseLeave:x};return M.createElement("div",{className:"".concat(f,"-wrap")},M.createElement("span",(0,a.A)({},g,{onMouseDown:function(e){m(e,!0)},"aria-label":"Increase Value","aria-disabled":r,className:v}),t||M.createElement("span",{unselectable:"on",className:"".concat(n,"-handler-up-inner")})),M.createElement("span",(0,a.A)({},g,{onMouseDown:function(e){m(e,!1)},"aria-label":"Decrease Value","aria-disabled":s,className:h}),o||M.createElement("span",{unselectable:"on",className:"".concat(n,"-handler-down-inner")})))}function j(e){var n="number"===typeof e?v(e):d(e).fullStr;return n.includes(".")?d(n.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}var F=t(54757);var T=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],D=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],O=function(e,n){return e||n.isEmpty()?n.toString():n.toNumber()},z=function(e){var n=A(e);return n.isInvalidate()?null:n},V=M.forwardRef((function(e,n){var t=e.prefixCls,c=e.className,l=e.style,u=e.min,p=e.max,d=e.step,m=void 0===d?1:d,x=e.defaultValue,g=e.value,b=e.disabled,w=e.readOnly,k=e.upHandler,N=e.downHandler,I=e.keyboard,F=e.changeOnWheel,D=void 0!==F&&F,V=e.controls,L=void 0===V||V,q=(e.classNames,e.stringMode),H=e.parser,K=e.formatter,Y=e.precision,W=e.decimalSeparator,B=e.onChange,U=e.onInput,X=e.onPressEnter,$=e.onStep,G=e.changeOnBlur,Q=void 0===G||G,Z=e.domRef,J=(0,s.A)(e,T),ee="".concat(t,"-input"),ne=M.useRef(null),te=M.useState(!1),ae=(0,r.A)(te,2),ie=ae[0],oe=ae[1],re=M.useRef(!1),se=M.useRef(!1),ce=M.useRef(!1),le=M.useState((function(){return A(null!==g&&void 0!==g?g:x)})),ue=(0,r.A)(le,2),pe=ue[0],de=ue[1];var me=M.useCallback((function(e,n){if(!n)return Y>=0?Y:Math.max(f(e),f(m))}),[Y,m]),fe=M.useCallback((function(e){var n=String(e);if(H)return H(n);var t=n;return W&&(t=t.replace(W,".")),t.replace(/[^\w.-]+/g,"")}),[H,W]),ve=M.useRef(""),he=M.useCallback((function(e,n){if(K)return K(e,{userTyping:n,input:String(ve.current)});var t="number"===typeof e?v(e):e;if(!n){var a=me(t,n);if(h(t)&&(W||a>=0))t=y(t,W||".",a)}return t}),[K,me,W]),xe=M.useState((function(){var e=null!==x&&void 0!==x?x:g;return pe.isInvalidate()&&["string","number"].includes((0,o.A)(e))?Number.isNaN(e)?"":e:he(pe.toString(),!1)})),ge=(0,r.A)(xe,2),be=ge[0],ye=ge[1];function Ae(e,n){ye(he(e.isInvalidate()?e.toString(!1):e.toString(!n),n))}ve.current=be;var we=M.useMemo((function(){return z(p)}),[p,Y]),Ce=M.useMemo((function(){return z(u)}),[u,Y]),ke=M.useMemo((function(){return!(!we||!pe||pe.isInvalidate())&&we.lessEquals(pe)}),[we,pe]),Ee=M.useMemo((function(){return!(!Ce||!pe||pe.isInvalidate())&&pe.lessEquals(Ce)}),[Ce,pe]),Ne=function(e,n){var t=(0,M.useRef)(null);return[function(){try{var n=e.selectionStart,a=e.selectionEnd,i=e.value,o=i.substring(0,n),r=i.substring(a);t.current={start:n,end:a,value:i,beforeTxt:o,afterTxt:r}}catch(s){}},function(){if(e&&t.current&&n)try{var a=e.value,i=t.current,o=i.beforeTxt,r=i.afterTxt,s=i.start,c=a.length;if(a.startsWith(o))c=o.length;else if(a.endsWith(r))c=a.length-t.current.afterTxt.length;else{var l=o[s-1],u=a.indexOf(l,s-1);-1!==u&&(c=u+1)}e.setSelectionRange(c,c)}catch(p){(0,R.Ay)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(p.message))}}]}(ne.current,ie),Se=(0,r.A)(Ne,2),Me=Se[0],Re=Se[1],Ie=function(e){return we&&!e.lessEquals(we)?we:Ce&&!Ce.lessEquals(e)?Ce:null},_e=function(e){return!Ie(e)},Pe=function(e,n){var t,a=e,i=_e(a)||a.isEmpty();if(a.isEmpty()||n||(a=Ie(a)||a,i=!0),!w&&!b&&i){var o=a.toString(),r=me(o,n);return r>=0&&(a=A(y(o,".",r)),_e(a)||(a=A(y(o,".",r,!0)))),a.equals(pe)||(t=a,void 0===g&&de(t),null===B||void 0===B||B(a.isEmpty()?null:O(q,a)),void 0===g&&Ae(a,n)),a}return pe},je=function(){var e=(0,M.useRef)(0),n=function(){_.A.cancel(e.current)};return(0,M.useEffect)((function(){return n}),[]),function(t){n(),e.current=(0,_.A)((function(){t()}))}}(),Fe=function e(n){if(Me(),ve.current=n,ye(n),!se.current){var t=fe(n),a=A(t);a.isNaN()||Pe(a,!0)}null===U||void 0===U||U(n),je((function(){var t=n;H||(t=n.replace(/\u3002/g,".")),t!==n&&e(t)}))},Te=function(e){var n;if(!(e&&ke||!e&&Ee)){re.current=!1;var t=A(ce.current?j(m):m);e||(t=t.negate());var a=(pe||A(0)).add(t.toString()),i=Pe(a,!1);null===$||void 0===$||$(O(q,i),{offset:ce.current?j(m):m,type:e?"up":"down"}),null===(n=ne.current)||void 0===n||n.focus()}},De=function(e){var n,t=A(fe(be));n=t.isNaN()?Pe(pe,e):Pe(t,e),void 0!==g?Ae(pe,!1):n.isNaN()||Ae(n,!1)};M.useEffect((function(){if(D&&ie){var e=function(e){Te(e.deltaY<0),e.preventDefault()},n=ne.current;if(n)return n.addEventListener("wheel",e,{passive:!1}),function(){return n.removeEventListener("wheel",e)}}}));return(0,E.o)((function(){pe.isInvalidate()||Ae(pe,!1)}),[Y,K]),(0,E.o)((function(){var e=A(g);de(e);var n=A(fe(be));e.equals(n)&&re.current&&!K||Ae(e,re.current)}),[g]),(0,E.o)((function(){K&&Re()}),[be]),M.createElement("div",{ref:Z,className:C()(t,c,(0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)({},"".concat(t,"-focused"),ie),"".concat(t,"-disabled"),b),"".concat(t,"-readonly"),w),"".concat(t,"-not-a-number"),pe.isNaN()),"".concat(t,"-out-of-range"),!pe.isInvalidate()&&!_e(pe))),style:l,onFocus:function(){oe(!0)},onBlur:function(){Q&&De(!1),oe(!1),re.current=!1},onKeyDown:function(e){var n=e.key,t=e.shiftKey;re.current=!0,ce.current=t,"Enter"===n&&(se.current||(re.current=!1),De(!1),null===X||void 0===X||X(e)),!1!==I&&!se.current&&["Up","ArrowUp","Down","ArrowDown"].includes(n)&&(Te("Up"===n||"ArrowUp"===n),e.preventDefault())},onKeyUp:function(){re.current=!1,ce.current=!1},onCompositionStart:function(){se.current=!0},onCompositionEnd:function(){se.current=!1,Fe(ne.current.value)},onBeforeInput:function(){re.current=!0}},L&&M.createElement(P,{prefixCls:t,upNode:k,downNode:N,upDisabled:ke,downDisabled:Ee,onStep:Te}),M.createElement("div",{className:"".concat(ee,"-wrap")},M.createElement("input",(0,a.A)({autoComplete:"off",role:"spinbutton","aria-valuemin":u,"aria-valuemax":p,"aria-valuenow":pe.isInvalidate()?null:pe.toString(),step:m},J,{ref:(0,S.K4)(ne,n),className:ee,value:be,onChange:function(e){Fe(e.target.value)},disabled:b,readOnly:w}))))}));const L=M.forwardRef((function(e,n){var t=e.disabled,i=e.style,o=e.prefixCls,r=void 0===o?"rc-input-number":o,c=e.value,l=e.prefix,u=e.suffix,p=e.addonBefore,d=e.addonAfter,m=e.className,f=e.classNames,v=(0,s.A)(e,D),h=M.useRef(null),x=M.useRef(null),g=M.useRef(null),b=function(e){g.current&&(0,F.F4)(g.current,e)};return M.useImperativeHandle(n,(function(){return(0,N.A)(g.current,{focus:b,nativeElement:h.current.nativeElement||x.current})})),M.createElement(k.a,{className:m,triggerFocus:b,prefixCls:r,value:c,disabled:t,style:i,prefix:l,suffix:u,addonAfter:d,addonBefore:p,classNames:f,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:h},M.createElement(V,(0,a.A)({prefixCls:r,disabled:t,ref:g,domRef:x,className:null===f||void 0===f?void 0:f.input},v)))}))},55286:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var a=t(64916),i=t(2250),o=t(53575),r=t(98173),s=["show"];function c(e,n){return r.useMemo((function(){var t={};n&&(t.show="object"===(0,o.A)(n)&&n.formatter?n.formatter:!!n);var r=t=(0,i.A)((0,i.A)({},t),e),c=r.show,l=(0,a.A)(r,s);return(0,i.A)((0,i.A)({},l),{},{show:!!c,showFormatter:"function"===typeof c?c:void 0,strategy:l.strategy||function(e){return e.length}})}),[e,n])}},52457:(e,n,t)=>{"use strict";t.d(n,{a:()=>p,A:()=>b});var a=t(2250),i=t(9793),o=t(70908),r=t(53575),s=t(85591),c=t.n(s),l=t(98173),u=t(54757);const p=l.forwardRef((function(e,n){var t,s,p,d=e.inputElement,m=e.children,f=e.prefixCls,v=e.prefix,h=e.suffix,x=e.addonBefore,g=e.addonAfter,b=e.className,y=e.style,A=e.disabled,w=e.readOnly,C=e.focused,k=e.triggerFocus,E=e.allowClear,N=e.value,S=e.handleReset,M=e.hidden,R=e.classes,I=e.classNames,_=e.dataAttrs,P=e.styles,j=e.components,F=e.onClear,T=null!==m&&void 0!==m?m:d,D=(null===j||void 0===j?void 0:j.affixWrapper)||"span",O=(null===j||void 0===j?void 0:j.groupWrapper)||"span",z=(null===j||void 0===j?void 0:j.wrapper)||"span",V=(null===j||void 0===j?void 0:j.groupAddon)||"span",L=(0,l.useRef)(null),q=(0,u.OL)(e),H=(0,l.cloneElement)(T,{value:N,className:c()(null===(t=T.props)||void 0===t?void 0:t.className,!q&&(null===I||void 0===I?void 0:I.variant))||null}),K=(0,l.useRef)(null);if(l.useImperativeHandle(n,(function(){return{nativeElement:K.current||L.current}})),q){var Y=null;if(E){var W=!A&&!w&&N,B="".concat(f,"-clear-icon"),U="object"===(0,r.A)(E)&&null!==E&&void 0!==E&&E.clearIcon?E.clearIcon:"\u2716";Y=l.createElement("button",{type:"button",tabIndex:-1,onClick:function(e){null===S||void 0===S||S(e),null===F||void 0===F||F()},onMouseDown:function(e){return e.preventDefault()},className:c()(B,(0,o.A)((0,o.A)({},"".concat(B,"-hidden"),!W),"".concat(B,"-has-suffix"),!!h))},U)}var X="".concat(f,"-affix-wrapper"),$=c()(X,(0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)({},"".concat(f,"-disabled"),A),"".concat(X,"-disabled"),A),"".concat(X,"-focused"),C),"".concat(X,"-readonly"),w),"".concat(X,"-input-with-clear-btn"),h&&E&&N),null===R||void 0===R?void 0:R.affixWrapper,null===I||void 0===I?void 0:I.affixWrapper,null===I||void 0===I?void 0:I.variant),G=(h||E)&&l.createElement("span",{className:c()("".concat(f,"-suffix"),null===I||void 0===I?void 0:I.suffix),style:null===P||void 0===P?void 0:P.suffix},Y,h);H=l.createElement(D,(0,i.A)({className:$,style:null===P||void 0===P?void 0:P.affixWrapper,onClick:function(e){var n;null!==(n=L.current)&&void 0!==n&&n.contains(e.target)&&(null===k||void 0===k||k())}},null===_||void 0===_?void 0:_.affixWrapper,{ref:L}),v&&l.createElement("span",{className:c()("".concat(f,"-prefix"),null===I||void 0===I?void 0:I.prefix),style:null===P||void 0===P?void 0:P.prefix},v),H,G)}if((0,u.bk)(e)){var Q="".concat(f,"-group"),Z="".concat(Q,"-addon"),J="".concat(Q,"-wrapper"),ee=c()("".concat(f,"-wrapper"),Q,null===R||void 0===R?void 0:R.wrapper,null===I||void 0===I?void 0:I.wrapper),ne=c()(J,(0,o.A)({},"".concat(J,"-disabled"),A),null===R||void 0===R?void 0:R.group,null===I||void 0===I?void 0:I.groupWrapper);H=l.createElement(O,{className:ne,ref:K},l.createElement(z,{className:ee},x&&l.createElement(V,{className:Z},x),H,g&&l.createElement(V,{className:Z},g)))}return l.cloneElement(H,{className:c()(null===(s=H.props)||void 0===s?void 0:s.className,b)||null,style:(0,a.A)((0,a.A)({},null===(p=H.props)||void 0===p?void 0:p.style),y),hidden:M})}));var d=t(83912),m=t(712),f=t(64916),v=t(57144),h=t(89408),x=t(55286),g=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"];const b=(0,l.forwardRef)((function(e,n){var t=e.autoComplete,r=e.onChange,s=e.onFocus,b=e.onBlur,y=e.onPressEnter,A=e.onKeyDown,w=e.onKeyUp,C=e.prefixCls,k=void 0===C?"rc-input":C,E=e.disabled,N=e.htmlSize,S=e.className,M=e.maxLength,R=e.suffix,I=e.showCount,_=e.count,P=e.type,j=void 0===P?"text":P,F=e.classes,T=e.classNames,D=e.styles,O=e.onCompositionStart,z=e.onCompositionEnd,V=(0,f.A)(e,g),L=(0,l.useState)(!1),q=(0,m.A)(L,2),H=q[0],K=q[1],Y=(0,l.useRef)(!1),W=(0,l.useRef)(!1),B=(0,l.useRef)(null),U=(0,l.useRef)(null),X=function(e){B.current&&(0,u.F4)(B.current,e)},$=(0,v.A)(e.defaultValue,{value:e.value}),G=(0,m.A)($,2),Q=G[0],Z=G[1],J=void 0===Q||null===Q?"":String(Q),ee=(0,l.useState)(null),ne=(0,m.A)(ee,2),te=ne[0],ae=ne[1],ie=(0,x.A)(_,I),oe=ie.max||M,re=ie.strategy(J),se=!!oe&&re>oe;(0,l.useImperativeHandle)(n,(function(){var e;return{focus:X,blur:function(){var e;null===(e=B.current)||void 0===e||e.blur()},setSelectionRange:function(e,n,t){var a;null===(a=B.current)||void 0===a||a.setSelectionRange(e,n,t)},select:function(){var e;null===(e=B.current)||void 0===e||e.select()},input:B.current,nativeElement:(null===(e=U.current)||void 0===e?void 0:e.nativeElement)||B.current}})),(0,l.useEffect)((function(){W.current&&(W.current=!1),K((function(e){return(!e||!E)&&e}))}),[E]);var ce=function(e,n,t){var a,i,o=n;if(!Y.current&&ie.exceedFormatter&&ie.max&&ie.strategy(n)>ie.max)n!==(o=ie.exceedFormatter(n,{max:ie.max}))&&ae([(null===(a=B.current)||void 0===a?void 0:a.selectionStart)||0,(null===(i=B.current)||void 0===i?void 0:i.selectionEnd)||0]);else if("compositionEnd"===t.source)return;Z(o),B.current&&(0,u.gS)(B.current,e,r,o)};(0,l.useEffect)((function(){var e;te&&(null===(e=B.current)||void 0===e||e.setSelectionRange.apply(e,(0,d.A)(te)))}),[te]);var le=function(e){ce(e,e.target.value,{source:"change"})},ue=function(e){Y.current=!1,ce(e,e.currentTarget.value,{source:"compositionEnd"}),null===z||void 0===z||z(e)},pe=function(e){y&&"Enter"===e.key&&!W.current&&(W.current=!0,y(e)),null===A||void 0===A||A(e)},de=function(e){"Enter"===e.key&&(W.current=!1),null===w||void 0===w||w(e)},me=function(e){K(!0),null===s||void 0===s||s(e)},fe=function(e){W.current&&(W.current=!1),K(!1),null===b||void 0===b||b(e)},ve=se&&"".concat(k,"-out-of-range");return l.createElement(p,(0,i.A)({},V,{prefixCls:k,className:c()(S,ve),handleReset:function(e){Z(""),X(),B.current&&(0,u.gS)(B.current,e,r)},value:J,focused:H,triggerFocus:X,suffix:function(){var e=Number(oe)>0;if(R||ie.show){var n=ie.showFormatter?ie.showFormatter({value:J,count:re,maxLength:oe}):"".concat(re).concat(e?" / ".concat(oe):"");return l.createElement(l.Fragment,null,ie.show&&l.createElement("span",{className:c()("".concat(k,"-show-count-suffix"),(0,o.A)({},"".concat(k,"-show-count-has-suffix"),!!R),null===T||void 0===T?void 0:T.count),style:(0,a.A)({},null===D||void 0===D?void 0:D.count)},n),R)}return null}(),disabled:E,classes:F,classNames:T,styles:D,ref:U}),function(){var n=(0,h.A)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return l.createElement("input",(0,i.A)({autoComplete:t},n,{onChange:le,onFocus:me,onBlur:fe,onKeyDown:pe,onKeyUp:de,className:c()(k,(0,o.A)({},"".concat(k,"-disabled"),E),null===T||void 0===T?void 0:T.input),style:null===D||void 0===D?void 0:D.input,ref:B,size:N,type:j,onCompositionStart:function(e){Y.current=!0,null===O||void 0===O||O(e)},onCompositionEnd:ue}))}())}))},54757:(e,n,t)=>{"use strict";function a(e){return!(!e.addonBefore&&!e.addonAfter)}function i(e){return!!(e.prefix||e.suffix||e.allowClear)}function o(e,n,t){var a=n.cloneNode(!0),i=Object.create(e,{target:{value:a},currentTarget:{value:a}});return a.value=t,"number"===typeof n.selectionStart&&"number"===typeof n.selectionEnd&&(a.selectionStart=n.selectionStart,a.selectionEnd=n.selectionEnd),a.setSelectionRange=function(){n.setSelectionRange.apply(n,arguments)},i}function r(e,n,t,a){if(t){var i=n;"click"!==n.type?"file"===e.type||void 0===a?t(i):t(i=o(n,e,a)):t(i=o(n,e,""))}}function s(e,n){if(e){e.focus(n);var t=(n||{}).cursor;if(t){var a=e.value.length;switch(t){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(a,a);break;default:e.setSelectionRange(0,a)}}}}t.d(n,{F4:()=>s,OL:()=>i,bk:()=>a,gS:()=>r})},20328:(e,n,t)=>{"use strict";t.d(n,{cG:()=>ze,q7:()=>xe,te:()=>qe,Dr:()=>xe,g8:()=>De,Ay:()=>Xe,Wj:()=>M});var a=t(9793),i=t(70908),o=t(2250),r=t(83912),s=t(712),c=t(64916),l=t(85591),u=t.n(l),p=t(40085),d=t(57144),m=t(62845),f=t(44449),v=t(98173),h=t(85740),x=v.createContext(null);function g(e,n){return void 0===e?null:"".concat(e,"-").concat(n)}function b(e){return g(v.useContext(x),e)}var y=t(92635),A=["children","locked"],w=v.createContext(null);function C(e){var n=e.children,t=e.locked,a=(0,c.A)(e,A),i=v.useContext(w),r=(0,y.A)((function(){return function(e,n){var t=(0,o.A)({},e);return Object.keys(n).forEach((function(e){var a=n[e];void 0!==a&&(t[e]=a)})),t}(i,a)}),[i,a],(function(e,n){return!t&&(e[0]!==n[0]||!(0,m.A)(e[1],n[1],!0))}));return v.createElement(w.Provider,{value:r},n)}var k=[],E=v.createContext(null);function N(){return v.useContext(E)}var S=v.createContext(k);function M(e){var n=v.useContext(S);return v.useMemo((function(){return void 0!==e?[].concat((0,r.A)(n),[e]):n}),[n,e])}var R=v.createContext(null);const I=v.createContext({});var _=t(67094),P=t(60871),j=t(956),F=P.A.LEFT,T=P.A.RIGHT,D=P.A.UP,O=P.A.DOWN,z=P.A.ENTER,V=P.A.ESC,L=P.A.HOME,q=P.A.END,H=[D,O,F,T];function K(e,n){return(0,_.jD)(e,!0).filter((function(e){return n.has(e)}))}function Y(e,n,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var i=K(e,n),o=i.length,r=i.findIndex((function(e){return t===e}));return a<0?-1===r?r=o-1:r-=1:a>0&&(r+=1),i[r=(r+o)%o]}var W=function(e,n){var t=new Set,a=new Map,i=new Map;return e.forEach((function(e){var o=document.querySelector("[data-menu-id='".concat(g(n,e),"']"));o&&(t.add(o),i.set(o,e),a.set(e,o))})),{elements:t,key2element:a,element2key:i}};function B(e,n,t,a,o,r,s,c,l,u){var p=v.useRef(),d=v.useRef();d.current=n;var m=function(){j.A.cancel(p.current)};return v.useEffect((function(){return function(){m()}}),[]),function(f){var v=f.which;if([].concat(H,[z,V,L,q]).includes(v)){var h=r(),x=W(h,a),g=x,b=g.elements,y=g.key2element,A=g.element2key,w=function(e,n){for(var t=e||document.activeElement;t;){if(n.has(t))return t;t=t.parentElement}return null}(y.get(n),b),C=A.get(w),k=function(e,n,t,a){var o,r="prev",s="next",c="children",l="parent";if("inline"===e&&a===z)return{inlineTrigger:!0};var u=(0,i.A)((0,i.A)({},D,r),O,s),p=(0,i.A)((0,i.A)((0,i.A)((0,i.A)({},F,t?s:r),T,t?r:s),O,c),z,c),d=(0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)({},D,r),O,s),z,c),V,l),F,t?c:l),T,t?l:c);switch(null===(o={inline:u,horizontal:p,vertical:d,inlineSub:u,horizontalSub:d,verticalSub:d}["".concat(e).concat(n?"":"Sub")])||void 0===o?void 0:o[a]){case r:return{offset:-1,sibling:!0};case s:return{offset:1,sibling:!0};case l:return{offset:-1,sibling:!1};case c:return{offset:1,sibling:!1};default:return null}}(e,1===s(C,!0).length,t,v);if(!k&&v!==L&&v!==q)return;(H.includes(v)||[L,q].includes(v))&&f.preventDefault();var E=function(e){if(e){var n=e,t=e.querySelector("a");null!==t&&void 0!==t&&t.getAttribute("href")&&(n=t);var a=A.get(e);c(a),m(),p.current=(0,j.A)((function(){d.current===a&&n.focus()}))}};if([L,q].includes(v)||k.sibling||!w){var N,S,M=K(N=w&&"inline"!==e?function(e){for(var n=e;n;){if(n.getAttribute("data-menu-list"))return n;n=n.parentElement}return null}(w):o.current,b);S=v===L?M[0]:v===q?M[M.length-1]:Y(N,b,w,k.offset),E(S)}else if(k.inlineTrigger)l(C);else if(k.offset>0)l(C,!0),m(),p.current=(0,j.A)((function(){x=W(h,a);var e=w.getAttribute("aria-controls"),n=Y(document.getElementById(e),x.elements);E(n)}),5);else if(k.offset<0){var R=s(C,!0),I=R[R.length-2],_=y.get(I);l(I,!1),E(_)}}null===u||void 0===u||u(f)}}var U="__RC_UTIL_PATH_SPLIT__",X=function(e){return e.join(U)},$="rc-menu-more";function G(){var e=v.useState({}),n=(0,s.A)(e,2)[1],t=(0,v.useRef)(new Map),a=(0,v.useRef)(new Map),i=v.useState([]),o=(0,s.A)(i,2),c=o[0],l=o[1],u=(0,v.useRef)(0),p=(0,v.useRef)(!1),d=(0,v.useCallback)((function(e,i){var o=X(i);a.current.set(o,e),t.current.set(e,o),u.current+=1;var r,s=u.current;r=function(){s===u.current&&(p.current||n({}))},Promise.resolve().then(r)}),[]),m=(0,v.useCallback)((function(e,n){var i=X(n);a.current.delete(i),t.current.delete(e)}),[]),f=(0,v.useCallback)((function(e){l(e)}),[]),h=(0,v.useCallback)((function(e,n){var a=t.current.get(e)||"",i=a.split(U);return n&&c.includes(i[0])&&i.unshift($),i}),[c]),x=(0,v.useCallback)((function(e,n){return e.filter((function(e){return void 0!==e})).some((function(e){return h(e,!0).includes(n)}))}),[h]),g=(0,v.useCallback)((function(e){var n="".concat(t.current.get(e)).concat(U),i=new Set;return(0,r.A)(a.current.keys()).forEach((function(e){e.startsWith(n)&&i.add(a.current.get(e))})),i}),[]);return v.useEffect((function(){return function(){p.current=!0}}),[]),{registerPath:d,unregisterPath:m,refreshOverflowKeys:f,isSubPathKey:x,getKeyPath:h,getKeys:function(){var e=(0,r.A)(t.current.keys());return c.length&&e.push($),e},getSubPathKeys:g}}function Q(e){var n=v.useRef(e);n.current=e;var t=v.useCallback((function(){for(var e,t=arguments.length,a=new Array(t),i=0;i<t;i++)a[i]=arguments[i];return null===(e=n.current)||void 0===e?void 0:e.call.apply(e,[n].concat(a))}),[]);return e?t:void 0}var Z=Math.random().toFixed(5).toString().slice(2),J=0;var ee=t(26786),ne=t(96212),te=t(91586),ae=t(35387),ie=t(89408),oe=t(45400);function re(e,n,t,a){var i=v.useContext(w),o=i.activeKey,r=i.onActive,s=i.onInactive,c={active:o===e};return n||(c.onMouseEnter=function(n){null===t||void 0===t||t({key:e,domEvent:n}),r(e)},c.onMouseLeave=function(n){null===a||void 0===a||a({key:e,domEvent:n}),s(e)}),c}function se(e){var n=v.useContext(w),t=n.mode,a=n.rtl,i=n.inlineIndent;if("inline"!==t)return null;return a?{paddingRight:e*i}:{paddingLeft:e*i}}function ce(e){var n,t=e.icon,a=e.props,i=e.children;return null===t||!1===t?null:("function"===typeof t?n=v.createElement(t,(0,o.A)({},a)):"boolean"!==typeof t&&(n=t),n||i||null)}var le=["item"];function ue(e){var n=e.item,t=(0,c.A)(e,le);return Object.defineProperty(t,"item",{get:function(){return(0,f.Ay)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),n}}),t}var pe=["title","attribute","elementRef"],de=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],me=["active"],fe=function(e){(0,te.A)(t,e);var n=(0,ae.A)(t);function t(){return(0,ee.A)(this,t),n.apply(this,arguments)}return(0,ne.A)(t,[{key:"render",value:function(){var e=this.props,n=e.title,t=e.attribute,i=e.elementRef,o=(0,c.A)(e,pe),r=(0,ie.A)(o,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,f.Ay)(!t,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),v.createElement(p.A.Item,(0,a.A)({},t,{title:"string"===typeof n?n:void 0},r,{ref:i}))}}]),t}(v.Component),ve=v.forwardRef((function(e,n){var t=e.style,s=e.className,l=e.eventKey,p=(e.warnKey,e.disabled),d=e.itemIcon,m=e.children,f=e.role,h=e.onMouseEnter,x=e.onMouseLeave,g=e.onClick,y=e.onKeyDown,A=e.onFocus,C=(0,c.A)(e,de),k=b(l),E=v.useContext(w),N=E.prefixCls,S=E.onItemClick,R=E.disabled,_=E.overflowDisabled,j=E.itemIcon,F=E.selectedKeys,T=E.onActive,D=v.useContext(I)._internalRenderMenuItem,O="".concat(N,"-item"),z=v.useRef(),V=v.useRef(),L=R||p,q=(0,oe.xK)(n,V),H=M(l);var K=function(e){return{key:l,keyPath:(0,r.A)(H).reverse(),item:z.current,domEvent:e}},Y=d||j,W=re(l,L,h,x),B=W.active,U=(0,c.A)(W,me),X=F.includes(l),$=se(H.length),G={};"option"===e.role&&(G["aria-selected"]=X);var Q=v.createElement(fe,(0,a.A)({ref:z,elementRef:q,role:null===f?"none":f||"menuitem",tabIndex:p?null:-1,"data-menu-id":_&&k?null:k},(0,ie.A)(C,["extra"]),U,G,{component:"li","aria-disabled":p,style:(0,o.A)((0,o.A)({},$),t),className:u()(O,(0,i.A)((0,i.A)((0,i.A)({},"".concat(O,"-active"),B),"".concat(O,"-selected"),X),"".concat(O,"-disabled"),L),s),onClick:function(e){if(!L){var n=K(e);null===g||void 0===g||g(ue(n)),S(n)}},onKeyDown:function(e){if(null===y||void 0===y||y(e),e.which===P.A.ENTER){var n=K(e);null===g||void 0===g||g(ue(n)),S(n)}},onFocus:function(e){T(l),null===A||void 0===A||A(e)}}),m,v.createElement(ce,{props:(0,o.A)((0,o.A)({},e),{},{isSelected:X}),icon:Y}));return D&&(Q=D(Q,e,{selected:X})),Q}));function he(e,n){var t=e.eventKey,i=N(),o=M(t);return v.useEffect((function(){if(i)return i.registerPath(t,o),function(){i.unregisterPath(t,o)}}),[o]),i?null:v.createElement(ve,(0,a.A)({},e,{ref:n}))}const xe=v.forwardRef(he);var ge=["className","children"],be=function(e,n){var t=e.className,i=e.children,o=(0,c.A)(e,ge),r=v.useContext(w),s=r.prefixCls,l=r.mode,p=r.rtl;return v.createElement("ul",(0,a.A)({className:u()(s,p&&"".concat(s,"-rtl"),"".concat(s,"-sub"),"".concat(s,"-").concat("inline"===l?"inline":"vertical"),t),role:"menu"},o,{"data-menu-list":!0,ref:n}),i)},ye=v.forwardRef(be);ye.displayName="SubMenuList";const Ae=ye;var we=t(87191);function Ce(e,n){return(0,we.A)(e).map((function(e,t){if(v.isValidElement(e)){var a,i,o=e.key,s=null!==(a=null===(i=e.props)||void 0===i?void 0:i.eventKey)&&void 0!==a?a:o;(null===s||void 0===s)&&(s="tmp_key-".concat([].concat((0,r.A)(n),[t]).join("-")));var c={key:s,eventKey:s};return v.cloneElement(e,c)}return e}))}var ke=t(26409),Ee={adjustX:1,adjustY:1},Ne={topLeft:{points:["bl","tl"],overflow:Ee},topRight:{points:["br","tr"],overflow:Ee},bottomLeft:{points:["tl","bl"],overflow:Ee},bottomRight:{points:["tr","br"],overflow:Ee},leftTop:{points:["tr","tl"],overflow:Ee},leftBottom:{points:["br","bl"],overflow:Ee},rightTop:{points:["tl","tr"],overflow:Ee},rightBottom:{points:["bl","br"],overflow:Ee}},Se={topLeft:{points:["bl","tl"],overflow:Ee},topRight:{points:["br","tr"],overflow:Ee},bottomLeft:{points:["tl","bl"],overflow:Ee},bottomRight:{points:["tr","br"],overflow:Ee},rightTop:{points:["tr","tl"],overflow:Ee},rightBottom:{points:["br","bl"],overflow:Ee},leftTop:{points:["tl","tr"],overflow:Ee},leftBottom:{points:["bl","br"],overflow:Ee}};function Me(e,n,t){return n||(t?t[e]||t.other:void 0)}var Re={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Ie(e){var n=e.prefixCls,t=e.visible,a=e.children,r=e.popup,c=e.popupStyle,l=e.popupClassName,p=e.popupOffset,d=e.disabled,m=e.mode,f=e.onVisibleChange,h=v.useContext(w),x=h.getPopupContainer,g=h.rtl,b=h.subMenuOpenDelay,y=h.subMenuCloseDelay,A=h.builtinPlacements,C=h.triggerSubMenuAction,k=h.forceSubMenuRender,E=h.rootClassName,N=h.motion,S=h.defaultMotions,M=v.useState(!1),R=(0,s.A)(M,2),I=R[0],_=R[1],P=g?(0,o.A)((0,o.A)({},Se),A):(0,o.A)((0,o.A)({},Ne),A),F=Re[m],T=Me(m,N,S),D=v.useRef(T);"inline"!==m&&(D.current=T);var O=(0,o.A)((0,o.A)({},D.current),{},{leavedClassName:"".concat(n,"-hidden"),removeOnLeave:!1,motionAppear:!0}),z=v.useRef();return v.useEffect((function(){return z.current=(0,j.A)((function(){_(t)})),function(){j.A.cancel(z.current)}}),[t]),v.createElement(ke.A,{prefixCls:n,popupClassName:u()("".concat(n,"-popup"),(0,i.A)({},"".concat(n,"-rtl"),g),l,E),stretch:"horizontal"===m?"minWidth":null,getPopupContainer:x,builtinPlacements:P,popupPlacement:F,popupVisible:I,popup:r,popupStyle:c,popupAlign:p&&{offset:p},action:d?[]:[C],mouseEnterDelay:b,mouseLeaveDelay:y,onPopupVisibleChange:f,forceRender:k,popupMotion:O,fresh:!0},a)}var _e=t(52039);function Pe(e){var n=e.id,t=e.open,i=e.keyPath,r=e.children,c="inline",l=v.useContext(w),u=l.prefixCls,p=l.forceSubMenuRender,d=l.motion,m=l.defaultMotions,f=l.mode,h=v.useRef(!1);h.current=f===c;var x=v.useState(!h.current),g=(0,s.A)(x,2),b=g[0],y=g[1],A=!!h.current&&t;v.useEffect((function(){h.current&&y(!1)}),[f]);var k=(0,o.A)({},Me(c,d,m));i.length>1&&(k.motionAppear=!1);var E=k.onVisibleChanged;return k.onVisibleChanged=function(e){return h.current||e||y(!0),null===E||void 0===E?void 0:E(e)},b?null:v.createElement(C,{mode:c,locked:!h.current},v.createElement(_e.Ay,(0,a.A)({visible:A},k,{forceRender:p,removeOnLeave:!1,leavedClassName:"".concat(u,"-hidden")}),(function(e){var t=e.className,a=e.style;return v.createElement(Ae,{id:n,className:t,style:a},r)})))}var je=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Fe=["active"],Te=v.forwardRef((function(e,n){var t=e.style,r=e.className,l=e.title,d=e.eventKey,m=(e.warnKey,e.disabled),f=e.internalPopupClose,h=e.children,x=e.itemIcon,g=e.expandIcon,y=e.popupClassName,A=e.popupOffset,k=e.popupStyle,E=e.onClick,N=e.onMouseEnter,S=e.onMouseLeave,_=e.onTitleClick,P=e.onTitleMouseEnter,j=e.onTitleMouseLeave,F=(0,c.A)(e,je),T=b(d),D=v.useContext(w),O=D.prefixCls,z=D.mode,V=D.openKeys,L=D.disabled,q=D.overflowDisabled,H=D.activeKey,K=D.selectedKeys,Y=D.itemIcon,W=D.expandIcon,B=D.onItemClick,U=D.onOpenChange,X=D.onActive,$=v.useContext(I)._internalRenderSubMenuItem,G=v.useContext(R).isSubPathKey,Z=M(),J="".concat(O,"-submenu"),ee=L||m,ne=v.useRef(),te=v.useRef();var ae=null!==x&&void 0!==x?x:Y,ie=null!==g&&void 0!==g?g:W,oe=V.includes(d),le=!q&&oe,pe=G(K,d),de=re(d,ee,P,j),me=de.active,fe=(0,c.A)(de,Fe),ve=v.useState(!1),he=(0,s.A)(ve,2),xe=he[0],ge=he[1],be=function(e){ee||ge(e)},ye=v.useMemo((function(){return me||"inline"!==z&&(xe||G([H],d))}),[z,me,H,xe,d,G]),we=se(Z.length),Ce=Q((function(e){null===E||void 0===E||E(ue(e)),B(e)})),ke=T&&"".concat(T,"-popup"),Ee=v.useMemo((function(){return v.createElement(ce,{icon:"horizontal"!==z?ie:void 0,props:(0,o.A)((0,o.A)({},e),{},{isOpen:le,isSubMenu:!0})},v.createElement("i",{className:"".concat(J,"-arrow")}))}),[z,ie,e,le,J]),Ne=v.createElement("div",(0,a.A)({role:"menuitem",style:we,className:"".concat(J,"-title"),tabIndex:ee?null:-1,ref:ne,title:"string"===typeof l?l:null,"data-menu-id":q&&T?null:T,"aria-expanded":le,"aria-haspopup":!0,"aria-controls":ke,"aria-disabled":ee,onClick:function(e){ee||(null===_||void 0===_||_({key:d,domEvent:e}),"inline"===z&&U(d,!oe))},onFocus:function(){X(d)}},fe),l,Ee),Se=v.useRef(z);if("inline"!==z&&Z.length>1?Se.current="vertical":Se.current=z,!q){var Me=Se.current;Ne=v.createElement(Ie,{mode:Me,prefixCls:J,visible:!f&&le&&"inline"!==z,popupClassName:y,popupOffset:A,popupStyle:k,popup:v.createElement(C,{mode:"horizontal"===Me?"vertical":Me},v.createElement(Ae,{id:ke,ref:te},h)),disabled:ee,onVisibleChange:function(e){"inline"!==z&&U(d,e)}},Ne)}var Re=v.createElement(p.A.Item,(0,a.A)({ref:n,role:"none"},F,{component:"li",style:t,className:u()(J,"".concat(J,"-").concat(z),r,(0,i.A)((0,i.A)((0,i.A)((0,i.A)({},"".concat(J,"-open"),le),"".concat(J,"-active"),ye),"".concat(J,"-selected"),pe),"".concat(J,"-disabled"),ee)),onMouseEnter:function(e){be(!0),null===N||void 0===N||N({key:d,domEvent:e})},onMouseLeave:function(e){be(!1),null===S||void 0===S||S({key:d,domEvent:e})}}),Ne,!q&&v.createElement(Pe,{id:ke,open:le,keyPath:Z},h));return $&&(Re=$(Re,e,{selected:pe,active:ye,open:le,disabled:ee})),v.createElement(C,{onItemClick:Ce,mode:"horizontal"===z?"vertical":z,itemIcon:ae,expandIcon:ie},Re)}));const De=v.forwardRef((function(e,n){var t,i=e.eventKey,o=e.children,r=M(i),s=Ce(o,r),c=N();return v.useEffect((function(){if(c)return c.registerPath(i,r),function(){c.unregisterPath(i,r)}}),[r]),t=c?s:v.createElement(Te,(0,a.A)({ref:n},e),s),v.createElement(S.Provider,{value:r},t)}));var Oe=t(53575);function ze(e){var n=e.className,t=e.style,a=v.useContext(w).prefixCls;return N()?null:v.createElement("li",{role:"separator",className:u()("".concat(a,"-item-divider"),n),style:t})}var Ve=["className","title","eventKey","children"],Le=v.forwardRef((function(e,n){var t=e.className,i=e.title,o=(e.eventKey,e.children),r=(0,c.A)(e,Ve),s=v.useContext(w).prefixCls,l="".concat(s,"-item-group");return v.createElement("li",(0,a.A)({ref:n,role:"presentation"},r,{onClick:function(e){return e.stopPropagation()},className:u()(l,t)}),v.createElement("div",{role:"presentation",className:"".concat(l,"-title"),title:"string"===typeof i?i:void 0},i),v.createElement("ul",{role:"group",className:"".concat(l,"-list")},o))}));const qe=v.forwardRef((function(e,n){var t=e.eventKey,i=Ce(e.children,M(t));return N()?i:v.createElement(Le,(0,a.A)({ref:n},(0,ie.A)(e,["warnKey"])),i)}));var He=["label","children","key","type","extra"];function Ke(e,n,t){var i=n.item,o=n.group,r=n.submenu,s=n.divider;return(e||[]).map((function(e,l){if(e&&"object"===(0,Oe.A)(e)){var u=e,p=u.label,d=u.children,m=u.key,f=u.type,h=u.extra,x=(0,c.A)(u,He),g=null!==m&&void 0!==m?m:"tmp-".concat(l);return d||"group"===f?"group"===f?v.createElement(o,(0,a.A)({key:g},x,{title:p}),Ke(d,n,t)):v.createElement(r,(0,a.A)({key:g},x,{title:p}),Ke(d,n,t)):"divider"===f?v.createElement(s,(0,a.A)({key:g},x)):v.createElement(i,(0,a.A)({key:g},x,{extra:h}),p,(!!h||0===h)&&v.createElement("span",{className:"".concat(t,"-item-extra")},h))}return null})).filter((function(e){return e}))}function Ye(e,n,t,a,i){var r=e,s=(0,o.A)({divider:ze,item:xe,group:qe,submenu:De},a);return n&&(r=Ke(n,s,i)),Ce(r,t)}var We=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],Be=[];var Ue=v.forwardRef((function(e,n){var t,l=e,f=l.prefixCls,g=void 0===f?"rc-menu":f,b=l.rootClassName,y=l.style,A=l.className,w=l.tabIndex,k=void 0===w?0:w,N=l.items,S=l.children,M=l.direction,_=l.id,P=l.mode,j=void 0===P?"vertical":P,F=l.inlineCollapsed,T=l.disabled,D=l.disabledOverflow,O=l.subMenuOpenDelay,z=void 0===O?.1:O,V=l.subMenuCloseDelay,L=void 0===V?.1:V,q=l.forceSubMenuRender,H=l.defaultOpenKeys,Y=l.openKeys,U=l.activeKey,X=l.defaultActiveFirst,ee=l.selectable,ne=void 0===ee||ee,te=l.multiple,ae=void 0!==te&&te,ie=l.defaultSelectedKeys,oe=l.selectedKeys,re=l.onSelect,se=l.onDeselect,ce=l.inlineIndent,le=void 0===ce?24:ce,pe=l.motion,de=l.defaultMotions,me=l.triggerSubMenuAction,fe=void 0===me?"hover":me,ve=l.builtinPlacements,he=l.itemIcon,ge=l.expandIcon,be=l.overflowedIndicator,ye=void 0===be?"...":be,Ae=l.overflowedIndicatorPopupClassName,we=l.getPopupContainer,Ce=l.onClick,ke=l.onOpenChange,Ee=l.onKeyDown,Ne=(l.openAnimation,l.openTransitionName,l._internalRenderMenuItem),Se=l._internalRenderSubMenuItem,Me=l._internalComponents,Re=(0,c.A)(l,We),Ie=v.useMemo((function(){return[Ye(S,N,Be,Me,g),Ye(S,N,Be,{},g)]}),[S,N,Me]),_e=(0,s.A)(Ie,2),Pe=_e[0],je=_e[1],Fe=v.useState(!1),Te=(0,s.A)(Fe,2),Oe=Te[0],ze=Te[1],Ve=v.useRef(),Le=function(e){var n=(0,d.A)(e,{value:e}),t=(0,s.A)(n,2),a=t[0],i=t[1];return v.useEffect((function(){J+=1;var e="".concat(Z,"-").concat(J);i("rc-menu-uuid-".concat(e))}),[]),a}(_),qe="rtl"===M;var He=(0,d.A)(H,{value:Y,postState:function(e){return e||Be}}),Ke=(0,s.A)(He,2),Ue=Ke[0],Xe=Ke[1],$e=function(e){function n(){Xe(e),null===ke||void 0===ke||ke(e)}arguments.length>1&&void 0!==arguments[1]&&arguments[1]?(0,h.flushSync)(n):n()},Ge=v.useState(Ue),Qe=(0,s.A)(Ge,2),Ze=Qe[0],Je=Qe[1],en=v.useRef(!1),nn=v.useMemo((function(){return"inline"!==j&&"vertical"!==j||!F?[j,!1]:["vertical",F]}),[j,F]),tn=(0,s.A)(nn,2),an=tn[0],on=tn[1],rn="inline"===an,sn=v.useState(an),cn=(0,s.A)(sn,2),ln=cn[0],un=cn[1],pn=v.useState(on),dn=(0,s.A)(pn,2),mn=dn[0],fn=dn[1];v.useEffect((function(){un(an),fn(on),en.current&&(rn?Xe(Ze):$e(Be))}),[an,on]);var vn=v.useState(0),hn=(0,s.A)(vn,2),xn=hn[0],gn=hn[1],bn=xn>=Pe.length-1||"horizontal"!==ln||D;v.useEffect((function(){rn&&Je(Ue)}),[Ue]),v.useEffect((function(){return en.current=!0,function(){en.current=!1}}),[]);var yn=G(),An=yn.registerPath,wn=yn.unregisterPath,Cn=yn.refreshOverflowKeys,kn=yn.isSubPathKey,En=yn.getKeyPath,Nn=yn.getKeys,Sn=yn.getSubPathKeys,Mn=v.useMemo((function(){return{registerPath:An,unregisterPath:wn}}),[An,wn]),Rn=v.useMemo((function(){return{isSubPathKey:kn}}),[kn]);v.useEffect((function(){Cn(bn?Be:Pe.slice(xn+1).map((function(e){return e.key})))}),[xn,bn]);var In=(0,d.A)(U||X&&(null===(t=Pe[0])||void 0===t?void 0:t.key),{value:U}),_n=(0,s.A)(In,2),Pn=_n[0],jn=_n[1],Fn=Q((function(e){jn(e)})),Tn=Q((function(){jn(void 0)}));(0,v.useImperativeHandle)(n,(function(){return{list:Ve.current,focus:function(e){var n,t,a=Nn(),i=W(a,Le),o=i.elements,r=i.key2element,s=i.element2key,c=K(Ve.current,o),l=null!==Pn&&void 0!==Pn?Pn:c[0]?s.get(c[0]):null===(n=Pe.find((function(e){return!e.props.disabled})))||void 0===n?void 0:n.key,u=r.get(l);l&&u&&(null===u||void 0===u||null===(t=u.focus)||void 0===t||t.call(u,e))}}}));var Dn=(0,d.A)(ie||[],{value:oe,postState:function(e){return Array.isArray(e)?e:null===e||void 0===e?Be:[e]}}),On=(0,s.A)(Dn,2),zn=On[0],Vn=On[1],Ln=Q((function(e){null===Ce||void 0===Ce||Ce(ue(e)),function(e){if(ne){var n,t=e.key,a=zn.includes(t);n=ae?a?zn.filter((function(e){return e!==t})):[].concat((0,r.A)(zn),[t]):[t],Vn(n);var i=(0,o.A)((0,o.A)({},e),{},{selectedKeys:n});a?null===se||void 0===se||se(i):null===re||void 0===re||re(i)}!ae&&Ue.length&&"inline"!==ln&&$e(Be)}(e)})),qn=Q((function(e,n){var t=Ue.filter((function(n){return n!==e}));if(n)t.push(e);else if("inline"!==ln){var a=Sn(e);t=t.filter((function(e){return!a.has(e)}))}(0,m.A)(Ue,t,!0)||$e(t,!0)})),Hn=B(ln,Pn,qe,Le,Ve,Nn,En,jn,(function(e,n){var t=null!==n&&void 0!==n?n:!Ue.includes(e);qn(e,t)}),Ee);v.useEffect((function(){ze(!0)}),[]);var Kn=v.useMemo((function(){return{_internalRenderMenuItem:Ne,_internalRenderSubMenuItem:Se}}),[Ne,Se]),Yn="horizontal"!==ln||D?Pe:Pe.map((function(e,n){return v.createElement(C,{key:e.key,overflowDisabled:n>xn},e)})),Wn=v.createElement(p.A,(0,a.A)({id:_,ref:Ve,prefixCls:"".concat(g,"-overflow"),component:"ul",itemComponent:xe,className:u()(g,"".concat(g,"-root"),"".concat(g,"-").concat(ln),A,(0,i.A)((0,i.A)({},"".concat(g,"-inline-collapsed"),mn),"".concat(g,"-rtl"),qe),b),dir:M,style:y,role:"menu",tabIndex:k,data:Yn,renderRawItem:function(e){return e},renderRawRest:function(e){var n=e.length,t=n?Pe.slice(-n):null;return v.createElement(De,{eventKey:$,title:ye,disabled:bn,internalPopupClose:0===n,popupClassName:Ae},t)},maxCount:"horizontal"!==ln||D?p.A.INVALIDATE:p.A.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){gn(e)},onKeyDown:Hn},Re));return v.createElement(I.Provider,{value:Kn},v.createElement(x.Provider,{value:Le},v.createElement(C,{prefixCls:g,rootClassName:b,mode:ln,openKeys:Ue,rtl:qe,disabled:T,motion:Oe?pe:null,defaultMotions:Oe?de:null,activeKey:Pn,onActive:Fn,onInactive:Tn,selectedKeys:zn,inlineIndent:le,subMenuOpenDelay:z,subMenuCloseDelay:L,forceSubMenuRender:q,builtinPlacements:ve,triggerSubMenuAction:fe,getPopupContainer:we,itemIcon:he,expandIcon:ge,onItemClick:Ln,onOpenChange:qn},v.createElement(R.Provider,{value:Rn},Wn),v.createElement("div",{style:{display:"none"},"aria-hidden":!0},v.createElement(E.Provider,{value:Mn},je)))))}));Ue.Item=xe,Ue.SubMenu=De,Ue.ItemGroup=qe,Ue.Divider=ze;const Xe=Ue},52039:(e,n,t)=>{"use strict";t.d(n,{aF:()=>me,Kq:()=>v,Ay:()=>fe});var a=t(70908),i=t(2250),o=t(712),r=t(53575),s=t(85591),c=t.n(s),l=t(5343),u=t(45400),p=t(98173),d=t(64916),m=["children"],f=p.createContext({});function v(e){var n=e.children,t=(0,d.A)(e,m);return p.createElement(f.Provider,{value:t},n)}var h=t(26786),x=t(96212),g=t(91586),b=t(35387);const y=function(e){(0,g.A)(t,e);var n=(0,b.A)(t);function t(){return(0,h.A)(this,t),n.apply(this,arguments)}return(0,x.A)(t,[{key:"render",value:function(){return this.props.children}}]),t}(p.Component);var A=t(3889),w=t(53248),C=t(37113),k="none",E="appear",N="enter",S="leave",M="none",R="prepare",I="start",_="active",P="end",j="prepared",F=t(15717);function T(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit".concat(e)]="webkit".concat(n),t["Moz".concat(e)]="moz".concat(n),t["ms".concat(e)]="MS".concat(n),t["O".concat(e)]="o".concat(n.toLowerCase()),t}var D=function(e,n){var t={animationend:T("Animation","AnimationEnd"),transitionend:T("Transition","TransitionEnd")};return e&&("AnimationEvent"in n||delete t.animationend.animation,"TransitionEvent"in n||delete t.transitionend.transition),t}((0,F.A)(),"undefined"!==typeof window?window:{}),O={};if((0,F.A)()){var z=document.createElement("div");O=z.style}var V={};function L(e){if(V[e])return V[e];var n=D[e];if(n)for(var t=Object.keys(n),a=t.length,i=0;i<a;i+=1){var o=t[i];if(Object.prototype.hasOwnProperty.call(n,o)&&o in O)return V[e]=n[o],V[e]}return""}var q=L("animationend"),H=L("transitionend"),K=!(!q||!H),Y=q||"animationend",W=H||"transitionend";function B(e,n){return e?"object"===(0,r.A)(e)?e[n.replace(/-\w/g,(function(e){return e[1].toUpperCase()}))]:"".concat(e,"-").concat(n):null}const U=(0,F.A)()?p.useLayoutEffect:p.useEffect;var X=t(956);var $=[R,I,_,P],G=[R,j],Q=!1;function Z(e){return e===_||e===P}const J=function(e,n,t){var a=(0,w.A)(M),i=(0,o.A)(a,2),r=i[0],s=i[1],c=function(){var e=p.useRef(null);function n(){X.A.cancel(e.current)}return p.useEffect((function(){return function(){n()}}),[]),[function t(a){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;n();var o=(0,X.A)((function(){i<=1?a({isCanceled:function(){return o!==e.current}}):t(a,i-1)}));e.current=o},n]}(),l=(0,o.A)(c,2),u=l[0],d=l[1];var m=n?G:$;return U((function(){if(r!==M&&r!==P){var e=m.indexOf(r),n=m[e+1],a=t(r);a===Q?s(n,!0):n&&u((function(e){function t(){e.isCanceled()||s(n,!0)}!0===a?t():Promise.resolve(a).then(t)}))}}),[e,r]),p.useEffect((function(){return function(){d()}}),[]),[function(){s(R,!0)},r]};function ee(e,n,t,r){var s=r.motionEnter,c=void 0===s||s,l=r.motionAppear,u=void 0===l||l,d=r.motionLeave,m=void 0===d||d,f=r.motionDeadline,v=r.motionLeaveImmediately,h=r.onAppearPrepare,x=r.onEnterPrepare,g=r.onLeavePrepare,b=r.onAppearStart,y=r.onEnterStart,M=r.onLeaveStart,P=r.onAppearActive,F=r.onEnterActive,T=r.onLeaveActive,D=r.onAppearEnd,O=r.onEnterEnd,z=r.onLeaveEnd,V=r.onVisibleChanged,L=(0,w.A)(),q=(0,o.A)(L,2),H=q[0],K=q[1],B=(0,C.A)(k),X=(0,o.A)(B,2),$=X[0],G=X[1],ee=(0,w.A)(null),ne=(0,o.A)(ee,2),te=ne[0],ae=ne[1],ie=$(),oe=(0,p.useRef)(!1),re=(0,p.useRef)(null);function se(){return t()}var ce=(0,p.useRef)(!1);function le(){G(k),ae(null,!0)}var ue=(0,A._q)((function(e){var n=$();if(n!==k){var t=se();if(!e||e.deadline||e.target===t){var a,i=ce.current;n===E&&i?a=null===D||void 0===D?void 0:D(t,e):n===N&&i?a=null===O||void 0===O?void 0:O(t,e):n===S&&i&&(a=null===z||void 0===z?void 0:z(t,e)),i&&!1!==a&&le()}}})),pe=function(e){var n=(0,p.useRef)();function t(n){n&&(n.removeEventListener(W,e),n.removeEventListener(Y,e))}return p.useEffect((function(){return function(){t(n.current)}}),[]),[function(a){n.current&&n.current!==a&&t(n.current),a&&a!==n.current&&(a.addEventListener(W,e),a.addEventListener(Y,e),n.current=a)},t]}(ue),de=(0,o.A)(pe,1)[0],me=function(e){switch(e){case E:return(0,a.A)((0,a.A)((0,a.A)({},R,h),I,b),_,P);case N:return(0,a.A)((0,a.A)((0,a.A)({},R,x),I,y),_,F);case S:return(0,a.A)((0,a.A)((0,a.A)({},R,g),I,M),_,T);default:return{}}},fe=p.useMemo((function(){return me(ie)}),[ie]),ve=J(ie,!e,(function(e){if(e===R){var n=fe[R];return n?n(se()):Q}var t;ge in fe&&ae((null===(t=fe[ge])||void 0===t?void 0:t.call(fe,se(),null))||null);return ge===_&&ie!==k&&(de(se()),f>0&&(clearTimeout(re.current),re.current=setTimeout((function(){ue({deadline:!0})}),f))),ge===j&&le(),true})),he=(0,o.A)(ve,2),xe=he[0],ge=he[1],be=Z(ge);ce.current=be;var ye=(0,p.useRef)(null);U((function(){if(!oe.current||ye.current!==n){K(n);var t,a=oe.current;oe.current=!0,!a&&n&&u&&(t=E),a&&n&&c&&(t=N),(a&&!n&&m||!a&&v&&!n&&m)&&(t=S);var i=me(t);t&&(e||i[R])?(G(t),xe()):G(k),ye.current=n}}),[n]),(0,p.useEffect)((function(){(ie===E&&!u||ie===N&&!c||ie===S&&!m)&&G(k)}),[u,c,m]),(0,p.useEffect)((function(){return function(){oe.current=!1,clearTimeout(re.current)}}),[]);var Ae=p.useRef(!1);(0,p.useEffect)((function(){H&&(Ae.current=!0),void 0!==H&&ie===k&&((Ae.current||H)&&(null===V||void 0===V||V(H)),Ae.current=!0)}),[H,ie]);var we=te;return fe[R]&&ge===I&&(we=(0,i.A)({transition:"none"},we)),[ie,ge,we,null!==H&&void 0!==H?H:n]}const ne=function(e){var n=e;"object"===(0,r.A)(e)&&(n=e.transitionSupport);var t=p.forwardRef((function(e,t){var r=e.visible,s=void 0===r||r,d=e.removeOnLeave,m=void 0===d||d,v=e.forceRender,h=e.children,x=e.motionName,g=e.leavedClassName,b=e.eventProps,A=function(e,t){return!(!e.motionName||!n||!1===t)}(e,p.useContext(f).motion),w=(0,p.useRef)(),C=(0,p.useRef)();var E=ee(A,s,(function(){try{return w.current instanceof HTMLElement?w.current:(0,l.Ay)(C.current)}catch(e){return null}}),e),N=(0,o.A)(E,4),S=N[0],M=N[1],_=N[2],P=N[3],j=p.useRef(P);P&&(j.current=!0);var F,T=p.useCallback((function(e){w.current=e,(0,u.Xf)(t,e)}),[t]),D=(0,i.A)((0,i.A)({},b),{},{visible:s});if(h)if(S===k)F=P?h((0,i.A)({},D),T):!m&&j.current&&g?h((0,i.A)((0,i.A)({},D),{},{className:g}),T):v||!m&&!g?h((0,i.A)((0,i.A)({},D),{},{style:{display:"none"}}),T):null;else{var O;M===R?O="prepare":Z(M)?O="active":M===I&&(O="start");var z=B(x,"".concat(S,"-").concat(O));F=h((0,i.A)((0,i.A)({},D),{},{className:c()(B(x,S),(0,a.A)((0,a.A)({},z,z&&O),x,"string"===typeof x)),style:_}),T)}else F=null;p.isValidElement(F)&&(0,u.f3)(F)&&((0,u.A9)(F)||(F=p.cloneElement(F,{ref:T})));return p.createElement(y,{ref:C},F)}));return t.displayName="CSSMotion",t}(K);var te=t(9793),ae=t(41204),ie="add",oe="keep",re="remove",se="removed";function ce(e){var n;return n=e&&"object"===(0,r.A)(e)&&"key"in e?e:{key:e},(0,i.A)((0,i.A)({},n),{},{key:String(n.key)})}function le(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(ce)}var ue=["component","children","onVisibleChanged","onAllRemoved"],pe=["status"],de=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];const me=function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ne,n=function(n){(0,g.A)(o,n);var t=(0,b.A)(o);function o(){var e;(0,h.A)(this,o);for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return e=t.call.apply(t,[this].concat(r)),(0,a.A)((0,ae.A)(e),"state",{keyEntities:[]}),(0,a.A)((0,ae.A)(e),"removeKey",(function(n){e.setState((function(e){return{keyEntities:e.keyEntities.map((function(e){return e.key!==n?e:(0,i.A)((0,i.A)({},e),{},{status:se})}))}}),(function(){0===e.state.keyEntities.filter((function(e){return e.status!==se})).length&&e.props.onAllRemoved&&e.props.onAllRemoved()}))})),e}return(0,x.A)(o,[{key:"render",value:function(){var n=this,t=this.state.keyEntities,a=this.props,o=a.component,r=a.children,s=a.onVisibleChanged,c=(a.onAllRemoved,(0,d.A)(a,ue)),l=o||p.Fragment,u={};return de.forEach((function(e){u[e]=c[e],delete c[e]})),delete c.keys,p.createElement(l,c,t.map((function(t,a){var o=t.status,c=(0,d.A)(t,pe),l=o===ie||o===oe;return p.createElement(e,(0,te.A)({},u,{key:c.key,visible:l,eventProps:c,onVisibleChanged:function(e){null===s||void 0===s||s(e,{key:c.key}),e||n.removeKey(c.key)}}),(function(e,n){return r((0,i.A)((0,i.A)({},e),{},{index:a}),n)}))})))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var t=e.keys,a=n.keyEntities,o=le(t),r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=[],a=0,o=n.length,r=le(e),s=le(n);r.forEach((function(e){for(var n=!1,r=a;r<o;r+=1){var c=s[r];if(c.key===e.key){a<r&&(t=t.concat(s.slice(a,r).map((function(e){return(0,i.A)((0,i.A)({},e),{},{status:ie})}))),a=r),t.push((0,i.A)((0,i.A)({},c),{},{status:oe})),a+=1,n=!0;break}}n||t.push((0,i.A)((0,i.A)({},e),{},{status:re}))})),a<o&&(t=t.concat(s.slice(a).map((function(e){return(0,i.A)((0,i.A)({},e),{},{status:ie})}))));var c={};return t.forEach((function(e){var n=e.key;c[n]=(c[n]||0)+1})),Object.keys(c).filter((function(e){return c[e]>1})).forEach((function(e){(t=t.filter((function(n){var t=n.key,a=n.status;return t!==e||a!==re}))).forEach((function(n){n.key===e&&(n.status=oe)}))})),t}(a,o);return{keyEntities:r.filter((function(e){var n=a.find((function(n){var t=n.key;return e.key===t}));return!n||n.status!==se||e.status!==re}))}}}]),o}(p.Component);return(0,a.A)(n,"defaultProps",{component:"div"}),n}(K),fe=ne},72380:(e,n,t)=>{"use strict";t.d(n,{$T:()=>x,ph:()=>b,hN:()=>M});var a=t(83912),i=t(712),o=t(64916),r=t(98173),s=t(2250),c=t(85740),l=t(9793),u=t(70908),p=t(85591),d=t.n(p),m=t(52039),f=t(53575),v=t(60871),h=t(14902);const x=r.forwardRef((function(e,n){var t=e.prefixCls,a=e.style,o=e.className,s=e.duration,c=void 0===s?4.5:s,p=e.showProgress,m=e.pauseOnHover,x=void 0===m||m,g=e.eventKey,b=e.content,y=e.closable,A=e.closeIcon,w=void 0===A?"x":A,C=e.props,k=e.onClick,E=e.onNoticeClose,N=e.times,S=e.hovering,M=r.useState(!1),R=(0,i.A)(M,2),I=R[0],_=R[1],P=r.useState(0),j=(0,i.A)(P,2),F=j[0],T=j[1],D=r.useState(0),O=(0,i.A)(D,2),z=O[0],V=O[1],L=S||I,q=c>0&&p,H=function(){E(g)};r.useEffect((function(){if(!L&&c>0){var e=Date.now()-z,n=setTimeout((function(){H()}),1e3*c-z);return function(){x&&clearTimeout(n),V(Date.now()-e)}}}),[c,L,N]),r.useEffect((function(){if(!L&&q&&(x||0===z)){var e,n=performance.now();return function t(){cancelAnimationFrame(e),e=requestAnimationFrame((function(e){var a=e+z-n,i=Math.min(a/(1e3*c),1);T(100*i),i<1&&t()}))}(),function(){x&&cancelAnimationFrame(e)}}}),[c,z,L,q,N]);var K=r.useMemo((function(){return"object"===(0,f.A)(y)&&null!==y?y:y?{closeIcon:w}:{}}),[y,w]),Y=(0,h.A)(K,!0),W=100-(!F||F<0?0:F>100?100:F),B="".concat(t,"-notice");return r.createElement("div",(0,l.A)({},C,{ref:n,className:d()(B,o,(0,u.A)({},"".concat(B,"-closable"),y)),style:a,onMouseEnter:function(e){var n;_(!0),null===C||void 0===C||null===(n=C.onMouseEnter)||void 0===n||n.call(C,e)},onMouseLeave:function(e){var n;_(!1),null===C||void 0===C||null===(n=C.onMouseLeave)||void 0===n||n.call(C,e)},onClick:k}),r.createElement("div",{className:"".concat(B,"-content")},b),y&&r.createElement("a",(0,l.A)({tabIndex:0,className:"".concat(B,"-close"),onKeyDown:function(e){"Enter"!==e.key&&"Enter"!==e.code&&e.keyCode!==v.A.ENTER||H()},"aria-label":"Close"},Y,{onClick:function(e){e.preventDefault(),e.stopPropagation(),H()}}),K.closeIcon),q&&r.createElement("progress",{className:"".concat(B,"-progress"),max:"100",value:W},W+"%"))}));var g=r.createContext({});const b=function(e){var n=e.children,t=e.classNames;return r.createElement(g.Provider,{value:{classNames:t}},n)};const y=function(e){var n,t,a,i={offset:8,threshold:3,gap:16};e&&"object"===(0,f.A)(e)&&(i.offset=null!==(n=e.offset)&&void 0!==n?n:8,i.threshold=null!==(t=e.threshold)&&void 0!==t?t:3,i.gap=null!==(a=e.gap)&&void 0!==a?a:16);return[!!e,i]};var A=["className","style","classNames","styles"];const w=function(e){var n=e.configList,t=e.placement,c=e.prefixCls,p=e.className,f=e.style,v=e.motion,h=e.onAllNoticeRemoved,b=e.onNoticeClose,w=e.stack,C=(0,r.useContext)(g).classNames,k=(0,r.useRef)({}),E=(0,r.useState)(null),N=(0,i.A)(E,2),S=N[0],M=N[1],R=(0,r.useState)([]),I=(0,i.A)(R,2),_=I[0],P=I[1],j=n.map((function(e){return{config:e,key:String(e.key)}})),F=y(w),T=(0,i.A)(F,2),D=T[0],O=T[1],z=O.offset,V=O.threshold,L=O.gap,q=D&&(_.length>0||j.length<=V),H="function"===typeof v?v(t):v;return(0,r.useEffect)((function(){D&&_.length>1&&P((function(e){return e.filter((function(e){return j.some((function(n){var t=n.key;return e===t}))}))}))}),[_,j,D]),(0,r.useEffect)((function(){var e,n;D&&k.current[null===(e=j[j.length-1])||void 0===e?void 0:e.key]&&M(k.current[null===(n=j[j.length-1])||void 0===n?void 0:n.key])}),[j,D]),r.createElement(m.aF,(0,l.A)({key:t,className:d()(c,"".concat(c,"-").concat(t),null===C||void 0===C?void 0:C.list,p,(0,u.A)((0,u.A)({},"".concat(c,"-stack"),!!D),"".concat(c,"-stack-expanded"),q)),style:f,keys:j,motionAppear:!0},H,{onAllRemoved:function(){h(t)}}),(function(e,n){var i=e.config,u=e.className,p=e.style,m=e.index,f=i,v=f.key,h=f.times,g=String(v),y=i,w=y.className,E=y.style,N=y.classNames,M=y.styles,R=(0,o.A)(y,A),I=j.findIndex((function(e){return e.key===g})),F={};if(D){var T=j.length-1-(I>-1?I:m-1),O="top"===t||"bottom"===t?"-50%":"0";if(T>0){var V,H,K;F.height=q?null===(V=k.current[g])||void 0===V?void 0:V.offsetHeight:null===S||void 0===S?void 0:S.offsetHeight;for(var Y=0,W=0;W<T;W++){var B;Y+=(null===(B=k.current[j[j.length-1-W].key])||void 0===B?void 0:B.offsetHeight)+L}var U=(q?Y:T*z)*(t.startsWith("top")?1:-1),X=!q&&null!==S&&void 0!==S&&S.offsetWidth&&null!==(H=k.current[g])&&void 0!==H&&H.offsetWidth?((null===S||void 0===S?void 0:S.offsetWidth)-2*z*(T<3?T:3))/(null===(K=k.current[g])||void 0===K?void 0:K.offsetWidth):1;F.transform="translate3d(".concat(O,", ").concat(U,"px, 0) scaleX(").concat(X,")")}else F.transform="translate3d(".concat(O,", 0, 0)")}return r.createElement("div",{ref:n,className:d()("".concat(c,"-notice-wrapper"),u,null===N||void 0===N?void 0:N.wrapper),style:(0,s.A)((0,s.A)((0,s.A)({},p),F),null===M||void 0===M?void 0:M.wrapper),onMouseEnter:function(){return P((function(e){return e.includes(g)?e:[].concat((0,a.A)(e),[g])}))},onMouseLeave:function(){return P((function(e){return e.filter((function(e){return e!==g}))}))}},r.createElement(x,(0,l.A)({},R,{ref:function(e){I>-1?k.current[g]=e:delete k.current[g]},prefixCls:c,classNames:N,styles:M,className:d()(w,null===C||void 0===C?void 0:C.notice),style:E,times:h,key:v,eventKey:v,onNoticeClose:b,hovering:D&&_.length>0})))}))};const C=r.forwardRef((function(e,n){var t=e.prefixCls,o=void 0===t?"rc-notification":t,l=e.container,u=e.motion,p=e.maxCount,d=e.className,m=e.style,f=e.onAllRemoved,v=e.stack,h=e.renderNotifications,x=r.useState([]),g=(0,i.A)(x,2),b=g[0],y=g[1],A=function(e){var n,t=b.find((function(n){return n.key===e}));null===t||void 0===t||null===(n=t.onClose)||void 0===n||n.call(t),y((function(n){return n.filter((function(n){return n.key!==e}))}))};r.useImperativeHandle(n,(function(){return{open:function(e){y((function(n){var t,i=(0,a.A)(n),o=i.findIndex((function(n){return n.key===e.key})),r=(0,s.A)({},e);o>=0?(r.times=((null===(t=n[o])||void 0===t?void 0:t.times)||0)+1,i[o]=r):(r.times=0,i.push(r));return p>0&&i.length>p&&(i=i.slice(-p)),i}))},close:function(e){A(e)},destroy:function(){y([])}}}));var C=r.useState({}),k=(0,i.A)(C,2),E=k[0],N=k[1];r.useEffect((function(){var e={};b.forEach((function(n){var t=n.placement,a=void 0===t?"topRight":t;a&&(e[a]=e[a]||[],e[a].push(n))})),Object.keys(E).forEach((function(n){e[n]=e[n]||[]})),N(e)}),[b]);var S=function(e){N((function(n){var t=(0,s.A)({},n);return(t[e]||[]).length||delete t[e],t}))},M=r.useRef(!1);if(r.useEffect((function(){Object.keys(E).length>0?M.current=!0:M.current&&(null===f||void 0===f||f(),M.current=!1)}),[E]),!l)return null;var R=Object.keys(E);return(0,c.createPortal)(r.createElement(r.Fragment,null,R.map((function(e){var n=E[e],t=r.createElement(w,{key:e,configList:n,placement:e,prefixCls:o,className:null===d||void 0===d?void 0:d(e),style:null===m||void 0===m?void 0:m(e),motion:u,onNoticeClose:A,onAllNoticeRemoved:S,stack:v});return h?h(t,{prefixCls:o,key:e}):t}))),l)}));var k=t(3889),E=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],N=function(){return document.body},S=0;function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.getContainer,t=void 0===n?N:n,s=e.motion,c=e.prefixCls,l=e.maxCount,u=e.className,p=e.style,d=e.onAllRemoved,m=e.stack,f=e.renderNotifications,v=(0,o.A)(e,E),h=r.useState(),x=(0,i.A)(h,2),g=x[0],b=x[1],y=r.useRef(),A=r.createElement(C,{container:g,ref:y,prefixCls:c,motion:s,maxCount:l,className:u,style:p,onAllRemoved:d,stack:m,renderNotifications:f}),w=r.useState([]),M=(0,i.A)(w,2),R=M[0],I=M[1],_=(0,k._q)((function(e){var n=function(){for(var e={},n=arguments.length,t=new Array(n),a=0;a<n;a++)t[a]=arguments[a];return t.forEach((function(n){n&&Object.keys(n).forEach((function(t){var a=n[t];void 0!==a&&(e[t]=a)}))})),e}(v,e);null!==n.key&&void 0!==n.key||(n.key="rc-notification-".concat(S),S+=1),I((function(e){return[].concat((0,a.A)(e),[{type:"open",config:n}])}))})),P=r.useMemo((function(){return{open:_,close:function(e){I((function(n){return[].concat((0,a.A)(n),[{type:"close",key:e}])}))},destroy:function(){I((function(e){return[].concat((0,a.A)(e),[{type:"destroy"}])}))}}}),[]);return r.useEffect((function(){b(t())})),r.useEffect((function(){var e,n;y.current&&R.length&&(R.forEach((function(e){switch(e.type){case"open":y.current.open(e.config);break;case"close":y.current.close(e.key);break;case"destroy":y.current.destroy()}})),I((function(t){return e===t&&n||(e=t,n=t.filter((function(e){return!R.includes(e)}))),n})))}),[R]),[P,A]}},40085:(e,n,t)=>{"use strict";t.d(n,{A:()=>T});var a=t(9793),i=t(2250),o=t(712),r=t(64916),s=t(98173),c=t(85591),l=t.n(c),u=t(77275),p=t(33122),d=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],m=void 0;function f(e,n){var t=e.prefixCls,o=e.invalidate,c=e.item,p=e.renderItem,f=e.responsive,v=e.responsiveDisabled,h=e.registerSize,x=e.itemKey,g=e.className,b=e.style,y=e.children,A=e.display,w=e.order,C=e.component,k=void 0===C?"div":C,E=(0,r.A)(e,d),N=f&&!A;function S(e){h(x,e)}s.useEffect((function(){return function(){S(null)}}),[]);var M,R=p&&c!==m?p(c,{index:w}):y;o||(M={opacity:N?0:1,height:N?0:m,overflowY:N?"hidden":m,order:f?w:m,pointerEvents:N?"none":m,position:N?"absolute":m});var I={};N&&(I["aria-hidden"]=!0);var _=s.createElement(k,(0,a.A)({className:l()(!o&&t,g),style:(0,i.A)((0,i.A)({},M),b)},I,E,{ref:n}),R);return f&&(_=s.createElement(u.A,{onResize:function(e){S(e.offsetWidth)},disabled:v},_)),_}var v=s.forwardRef(f);v.displayName="Item";const h=v;var x=t(71173),g=t(85740),b=t(956);function y(){var e=s.useRef(null);return function(n){e.current||(e.current=[],function(e){if("undefined"===typeof MessageChannel)(0,b.A)(e);else{var n=new MessageChannel;n.port1.onmessage=function(){return e()},n.port2.postMessage(void 0)}}((function(){(0,g.unstable_batchedUpdates)((function(){e.current.forEach((function(e){e()})),e.current=null}))}))),e.current.push(n)}}function A(e,n){var t=s.useState(n),a=(0,o.A)(t,2),i=a[0],r=a[1];return[i,(0,x.A)((function(n){e((function(){r(n)}))}))]}var w=s.createContext(null),C=["component"],k=["className"],E=["className"],N=function(e,n){var t=s.useContext(w);if(!t){var i=e.component,o=void 0===i?"div":i,c=(0,r.A)(e,C);return s.createElement(o,(0,a.A)({},c,{ref:n}))}var u=t.className,p=(0,r.A)(t,k),d=e.className,m=(0,r.A)(e,E);return s.createElement(w.Provider,{value:null},s.createElement(h,(0,a.A)({ref:n,className:l()(u,d)},p,m)))},S=s.forwardRef(N);S.displayName="RawItem";const M=S;var R=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],I="responsive",_="invalidate";function P(e){return"+ ".concat(e.length," ...")}function j(e,n){var t=e.prefixCls,c=void 0===t?"rc-overflow":t,d=e.data,m=void 0===d?[]:d,f=e.renderItem,v=e.renderRawItem,x=e.itemKey,g=e.itemWidth,b=void 0===g?10:g,C=e.ssr,k=e.style,E=e.className,N=e.maxCount,S=e.renderRest,M=e.renderRawRest,j=e.suffix,F=e.component,T=void 0===F?"div":F,D=e.itemComponent,O=e.onVisibleChange,z=(0,r.A)(e,R),V="full"===C,L=y(),q=A(L,null),H=(0,o.A)(q,2),K=H[0],Y=H[1],W=K||0,B=A(L,new Map),U=(0,o.A)(B,2),X=U[0],$=U[1],G=A(L,0),Q=(0,o.A)(G,2),Z=Q[0],J=Q[1],ee=A(L,0),ne=(0,o.A)(ee,2),te=ne[0],ae=ne[1],ie=A(L,0),oe=(0,o.A)(ie,2),re=oe[0],se=oe[1],ce=(0,s.useState)(null),le=(0,o.A)(ce,2),ue=le[0],pe=le[1],de=(0,s.useState)(null),me=(0,o.A)(de,2),fe=me[0],ve=me[1],he=s.useMemo((function(){return null===fe&&V?Number.MAX_SAFE_INTEGER:fe||0}),[fe,K]),xe=(0,s.useState)(!1),ge=(0,o.A)(xe,2),be=ge[0],ye=ge[1],Ae="".concat(c,"-item"),we=Math.max(Z,te),Ce=N===I,ke=m.length&&Ce,Ee=N===_,Ne=ke||"number"===typeof N&&m.length>N,Se=(0,s.useMemo)((function(){var e=m;return ke?e=null===K&&V?m:m.slice(0,Math.min(m.length,W/b)):"number"===typeof N&&(e=m.slice(0,N)),e}),[m,b,K,N,ke]),Me=(0,s.useMemo)((function(){return ke?m.slice(he+1):m.slice(Se.length)}),[m,Se,ke,he]),Re=(0,s.useCallback)((function(e,n){var t;return"function"===typeof x?x(e):null!==(t=x&&(null===e||void 0===e?void 0:e[x]))&&void 0!==t?t:n}),[x]),Ie=(0,s.useCallback)(f||function(e){return e},[f]);function _e(e,n,t){(fe!==e||void 0!==n&&n!==ue)&&(ve(e),t||(ye(e<m.length-1),null===O||void 0===O||O(e)),void 0!==n&&pe(n))}function Pe(e,n){$((function(t){var a=new Map(t);return null===n?a.delete(e):a.set(e,n),a}))}function je(e){return X.get(Re(Se[e],e))}(0,p.A)((function(){if(W&&"number"===typeof we&&Se){var e=re,n=Se.length,t=n-1;if(!n)return void _e(0,null);for(var a=0;a<n;a+=1){var i=je(a);if(V&&(i=i||0),void 0===i){_e(a-1,void 0,!0);break}if(e+=i,0===t&&e<=W||a===t-1&&e+je(t)<=W){_e(t,null);break}if(e+we>W){_e(a-1,e-i-re+te);break}}j&&je(0)+re>W&&pe(null)}}),[W,X,te,re,Re,Se]);var Fe=be&&!!Me.length,Te={};null!==ue&&ke&&(Te={position:"absolute",left:ue,top:0});var De={prefixCls:Ae,responsive:ke,component:D,invalidate:Ee},Oe=v?function(e,n){var t=Re(e,n);return s.createElement(w.Provider,{key:t,value:(0,i.A)((0,i.A)({},De),{},{order:n,item:e,itemKey:t,registerSize:Pe,display:n<=he})},v(e,n))}:function(e,n){var t=Re(e,n);return s.createElement(h,(0,a.A)({},De,{order:n,key:t,item:e,renderItem:Ie,itemKey:t,registerSize:Pe,display:n<=he}))},ze={order:Fe?he:Number.MAX_SAFE_INTEGER,className:"".concat(Ae,"-rest"),registerSize:function(e,n){ae(n),J(te)},display:Fe},Ve=S||P,Le=M?s.createElement(w.Provider,{value:(0,i.A)((0,i.A)({},De),ze)},M(Me)):s.createElement(h,(0,a.A)({},De,ze),"function"===typeof Ve?Ve(Me):Ve),qe=s.createElement(T,(0,a.A)({className:l()(!Ee&&c,E),style:k,ref:n},z),Se.map(Oe),Ne?Le:null,j&&s.createElement(h,(0,a.A)({},De,{responsive:Ce,responsiveDisabled:!ke,order:he,className:"".concat(Ae,"-suffix"),registerSize:function(e,n){se(n)},display:!0,style:Te}),j));return Ce?s.createElement(u.A,{onResize:function(e,n){Y(n.clientWidth)},disabled:!ke},qe):qe}var F=s.forwardRef(j);F.displayName="Overflow",F.Item=M,F.RESPONSIVE=I,F.INVALIDATE=_;const T=F},28988:(e,n,t)=>{"use strict";t.d(n,{A:()=>w});var a=t(70908),i=t(9793),o=t(53575),r=t(2250),s=t(712),c=t(85591),l=t.n(c),u=t(57144),p=t(60871),d=t(14902),m=(t(44449),t(98173)),f=t(81166),v=[10,20,50,100];const h=function(e){var n=e.pageSizeOptions,t=void 0===n?v:n,a=e.locale,i=e.changeSize,o=e.pageSize,r=e.goButton,c=e.quickGo,l=e.rootPrefixCls,u=e.disabled,d=e.buildOptionText,f=e.showSizeChanger,h=e.sizeChangerRender,x=m.useState(""),g=(0,s.A)(x,2),b=g[0],y=g[1],A=function(){return!b||Number.isNaN(b)?void 0:Number(b)},w="function"===typeof d?d:function(e){return"".concat(e," ").concat(a.items_per_page)},C=function(e){""!==b&&(e.keyCode!==p.A.ENTER&&"click"!==e.type||(y(""),null===c||void 0===c||c(A())))},k="".concat(l,"-options");if(!f&&!c)return null;var E=null,N=null,S=null;return f&&h&&(E=h({disabled:u,size:o,onSizeChange:function(e){null===i||void 0===i||i(Number(e))},"aria-label":a.page_size,className:"".concat(k,"-size-changer"),options:(t.some((function(e){return e.toString()===o.toString()}))?t:t.concat([o]).sort((function(e,n){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(n))?0:Number(n))}))).map((function(e){return{label:w(e),value:e}}))})),c&&(r&&(S="boolean"===typeof r?m.createElement("button",{type:"button",onClick:C,onKeyUp:C,disabled:u,className:"".concat(k,"-quick-jumper-button")},a.jump_to_confirm):m.createElement("span",{onClick:C,onKeyUp:C},r)),N=m.createElement("div",{className:"".concat(k,"-quick-jumper")},a.jump_to,m.createElement("input",{disabled:u,type:"text",value:b,onChange:function(e){y(e.target.value)},onKeyUp:C,onBlur:function(e){r||""===b||(y(""),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(l,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(l,"-item"))>=0)||null===c||void 0===c||c(A()))},"aria-label":a.page}),a.page,S)),m.createElement("li",{className:k},E,N)};const x=function(e){var n=e.rootPrefixCls,t=e.page,i=e.active,o=e.className,r=e.showTitle,s=e.onClick,c=e.onKeyPress,u=e.itemRender,p="".concat(n,"-item"),d=l()(p,"".concat(p,"-").concat(t),(0,a.A)((0,a.A)({},"".concat(p,"-active"),i),"".concat(p,"-disabled"),!t),o),f=u(t,"page",m.createElement("a",{rel:"nofollow"},t));return f?m.createElement("li",{title:r?String(t):null,className:d,onClick:function(){s(t)},onKeyDown:function(e){c(e,s,t)},tabIndex:0},f):null};var g=function(e,n,t){return t};function b(){}function y(e){var n=Number(e);return"number"===typeof n&&!Number.isNaN(n)&&isFinite(n)&&Math.floor(n)===n}function A(e,n,t){var a="undefined"===typeof e?n:e;return Math.floor((t-1)/a)+1}const w=function(e){var n=e.prefixCls,t=void 0===n?"rc-pagination":n,c=e.selectPrefixCls,v=void 0===c?"rc-select":c,w=e.className,C=e.current,k=e.defaultCurrent,E=void 0===k?1:k,N=e.total,S=void 0===N?0:N,M=e.pageSize,R=e.defaultPageSize,I=void 0===R?10:R,_=e.onChange,P=void 0===_?b:_,j=e.hideOnSinglePage,F=e.align,T=e.showPrevNextJumpers,D=void 0===T||T,O=e.showQuickJumper,z=e.showLessItems,V=e.showTitle,L=void 0===V||V,q=e.onShowSizeChange,H=void 0===q?b:q,K=e.locale,Y=void 0===K?f.A:K,W=e.style,B=e.totalBoundaryShowSizeChanger,U=void 0===B?50:B,X=e.disabled,$=e.simple,G=e.showTotal,Q=e.showSizeChanger,Z=void 0===Q?S>U:Q,J=e.sizeChangerRender,ee=e.pageSizeOptions,ne=e.itemRender,te=void 0===ne?g:ne,ae=e.jumpPrevIcon,ie=e.jumpNextIcon,oe=e.prevIcon,re=e.nextIcon,se=m.useRef(null),ce=(0,u.A)(10,{value:M,defaultValue:I}),le=(0,s.A)(ce,2),ue=le[0],pe=le[1],de=(0,u.A)(1,{value:C,defaultValue:E,postState:function(e){return Math.max(1,Math.min(e,A(void 0,ue,S)))}}),me=(0,s.A)(de,2),fe=me[0],ve=me[1],he=m.useState(fe),xe=(0,s.A)(he,2),ge=xe[0],be=xe[1];(0,m.useEffect)((function(){be(fe)}),[fe]);var ye=Math.max(1,fe-(z?3:5)),Ae=Math.min(A(void 0,ue,S),fe+(z?3:5));function we(n,a){var i=n||m.createElement("button",{type:"button","aria-label":a,className:"".concat(t,"-item-link")});return"function"===typeof n&&(i=m.createElement(n,(0,r.A)({},e))),i}function Ce(e){var n=e.target.value,t=A(void 0,ue,S);return""===n?n:Number.isNaN(Number(n))?ge:n>=t?t:Number(n)}var ke=S>ue&&O;function Ee(e){var n=Ce(e);switch(n!==ge&&be(n),e.keyCode){case p.A.ENTER:Ne(n);break;case p.A.UP:Ne(n-1);break;case p.A.DOWN:Ne(n+1)}}function Ne(e){if(function(e){return y(e)&&e!==fe&&y(S)&&S>0}(e)&&!X){var n=A(void 0,ue,S),t=e;return e>n?t=n:e<1&&(t=1),t!==ge&&be(t),ve(t),null===P||void 0===P||P(t,ue),t}return fe}var Se=fe>1,Me=fe<A(void 0,ue,S);function Re(){Se&&Ne(fe-1)}function Ie(){Me&&Ne(fe+1)}function _e(){Ne(ye)}function Pe(){Ne(Ae)}function je(e,n){if("Enter"===e.key||e.charCode===p.A.ENTER||e.keyCode===p.A.ENTER){for(var t=arguments.length,a=new Array(t>2?t-2:0),i=2;i<t;i++)a[i-2]=arguments[i];n.apply(void 0,a)}}function Fe(e){"click"!==e.type&&e.keyCode!==p.A.ENTER||Ne(ge)}var Te=null,De=(0,d.A)(e,{aria:!0,data:!0}),Oe=G&&m.createElement("li",{className:"".concat(t,"-total-text")},G(S,[0===S?0:(fe-1)*ue+1,fe*ue>S?S:fe*ue])),ze=null,Ve=A(void 0,ue,S);if(j&&S<=ue)return null;var Le=[],qe={rootPrefixCls:t,onClick:Ne,onKeyPress:je,showTitle:L,itemRender:te,page:-1},He=fe-1>0?fe-1:0,Ke=fe+1<Ve?fe+1:Ve,Ye=O&&O.goButton,We="object"===(0,o.A)($)?$.readOnly:!$,Be=Ye,Ue=null;$&&(Ye&&(Be="boolean"===typeof Ye?m.createElement("button",{type:"button",onClick:Fe,onKeyUp:Fe},Y.jump_to_confirm):m.createElement("span",{onClick:Fe,onKeyUp:Fe},Ye),Be=m.createElement("li",{title:L?"".concat(Y.jump_to).concat(fe,"/").concat(Ve):null,className:"".concat(t,"-simple-pager")},Be)),Ue=m.createElement("li",{title:L?"".concat(fe,"/").concat(Ve):null,className:"".concat(t,"-simple-pager")},We?ge:m.createElement("input",{type:"text","aria-label":Y.jump_to,value:ge,disabled:X,onKeyDown:function(e){e.keyCode!==p.A.UP&&e.keyCode!==p.A.DOWN||e.preventDefault()},onKeyUp:Ee,onChange:Ee,onBlur:function(e){Ne(Ce(e))},size:3}),m.createElement("span",{className:"".concat(t,"-slash")},"/"),Ve));var Xe=z?1:2;if(Ve<=3+2*Xe){Ve||Le.push(m.createElement(x,(0,i.A)({},qe,{key:"noPager",page:1,className:"".concat(t,"-item-disabled")})));for(var $e=1;$e<=Ve;$e+=1)Le.push(m.createElement(x,(0,i.A)({},qe,{key:$e,page:$e,active:fe===$e})))}else{var Ge=z?Y.prev_3:Y.prev_5,Qe=z?Y.next_3:Y.next_5,Ze=te(ye,"jump-prev",we(ae,"prev page")),Je=te(Ae,"jump-next",we(ie,"next page"));D&&(Te=Ze?m.createElement("li",{title:L?Ge:null,key:"prev",onClick:_e,tabIndex:0,onKeyDown:function(e){je(e,_e)},className:l()("".concat(t,"-jump-prev"),(0,a.A)({},"".concat(t,"-jump-prev-custom-icon"),!!ae))},Ze):null,ze=Je?m.createElement("li",{title:L?Qe:null,key:"next",onClick:Pe,tabIndex:0,onKeyDown:function(e){je(e,Pe)},className:l()("".concat(t,"-jump-next"),(0,a.A)({},"".concat(t,"-jump-next-custom-icon"),!!ie))},Je):null);var en=Math.max(1,fe-Xe),nn=Math.min(fe+Xe,Ve);fe-1<=Xe&&(nn=1+2*Xe),Ve-fe<=Xe&&(en=Ve-2*Xe);for(var tn=en;tn<=nn;tn+=1)Le.push(m.createElement(x,(0,i.A)({},qe,{key:tn,page:tn,active:fe===tn})));if(fe-1>=2*Xe&&3!==fe&&(Le[0]=m.cloneElement(Le[0],{className:l()("".concat(t,"-item-after-jump-prev"),Le[0].props.className)}),Le.unshift(Te)),Ve-fe>=2*Xe&&fe!==Ve-2){var an=Le[Le.length-1];Le[Le.length-1]=m.cloneElement(an,{className:l()("".concat(t,"-item-before-jump-next"),an.props.className)}),Le.push(ze)}1!==en&&Le.unshift(m.createElement(x,(0,i.A)({},qe,{key:1,page:1}))),nn!==Ve&&Le.push(m.createElement(x,(0,i.A)({},qe,{key:Ve,page:Ve})))}var on=function(e){var n=te(e,"prev",we(oe,"prev page"));return m.isValidElement(n)?m.cloneElement(n,{disabled:!Se}):n}(He);if(on){var rn=!Se||!Ve;on=m.createElement("li",{title:L?Y.prev_page:null,onClick:Re,tabIndex:rn?null:0,onKeyDown:function(e){je(e,Re)},className:l()("".concat(t,"-prev"),(0,a.A)({},"".concat(t,"-disabled"),rn)),"aria-disabled":rn},on)}var sn,cn,ln=function(e){var n=te(e,"next",we(re,"next page"));return m.isValidElement(n)?m.cloneElement(n,{disabled:!Me}):n}(Ke);ln&&($?(sn=!Me,cn=Se?0:null):cn=(sn=!Me||!Ve)?null:0,ln=m.createElement("li",{title:L?Y.next_page:null,onClick:Ie,tabIndex:cn,onKeyDown:function(e){je(e,Ie)},className:l()("".concat(t,"-next"),(0,a.A)({},"".concat(t,"-disabled"),sn)),"aria-disabled":sn},ln));var un=l()(t,w,(0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)({},"".concat(t,"-start"),"start"===F),"".concat(t,"-center"),"center"===F),"".concat(t,"-end"),"end"===F),"".concat(t,"-simple"),$),"".concat(t,"-disabled"),X));return m.createElement("ul",(0,i.A)({className:un,style:W,ref:se},De),Oe,on,$?Ue:Le,ln,m.createElement(h,{locale:Y,rootPrefixCls:t,disabled:X,selectPrefixCls:v,changeSize:function(e){var n=A(e,ue,S),t=fe>n&&0!==n?n:fe;pe(e),be(t),null===H||void 0===H||H(fe,e),ve(t),null===P||void 0===P||P(t,e)},pageSize:ue,pageSizeOptions:ee,quickGo:ke?Ne:null,goButton:Be,showSizeChanger:Z,sizeChangerRender:J}))}},39756:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});const a={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},65767:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});const a={items_per_page:"/ \u0441\u0442\u0440.",jump_to:"\u041f\u0435\u0440\u0435\u0439\u0442\u0438",jump_to_confirm:"\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c",page:"\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430",prev_page:"\u041d\u0430\u0437\u0430\u0434",next_page:"\u0412\u043f\u0435\u0440\u0435\u0434",prev_5:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 5",next_5:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 5",prev_3:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 3",next_3:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 3",page_size:"\u0440\u0430\u0437\u043c\u0435\u0440 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b"}},81166:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});const a={items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"}},83470:(e,n,t)=>{"use strict";t.d(n,{A:()=>b});var a=t(86956),i=t.n(a),o=t(18621),r=t.n(o),s=t(8729),c=t.n(s),l=t(29543),u=t.n(l),p=t(82202),d=t.n(p),m=t(24806),f=t.n(m),v=t(61594),h=t.n(v);i().extend(h()),i().extend(f()),i().extend(r()),i().extend(c()),i().extend(u()),i().extend(d()),i().extend((function(e,n){var t=n.prototype,a=t.format;t.format=function(e){var n=(e||"").replace("Wo","wo");return a.bind(this)(n)}}));var x={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},g=function(e){return x[e]||e.split("_")[0]};const b={getNow:function(){var e=i()();return"function"===typeof e.tz?e.tz():e},getFixedDate:function(e){return i()(e,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(e){return e.endOf("month")},getWeekDay:function(e){var n=e.locale("en");return n.weekday()+n.localeData().firstDayOfWeek()},getYear:function(e){return e.year()},getMonth:function(e){return e.month()},getDate:function(e){return e.date()},getHour:function(e){return e.hour()},getMinute:function(e){return e.minute()},getSecond:function(e){return e.second()},getMillisecond:function(e){return e.millisecond()},addYear:function(e,n){return e.add(n,"year")},addMonth:function(e,n){return e.add(n,"month")},addDate:function(e,n){return e.add(n,"day")},setYear:function(e,n){return e.year(n)},setMonth:function(e,n){return e.month(n)},setDate:function(e,n){return e.date(n)},setHour:function(e,n){return e.hour(n)},setMinute:function(e,n){return e.minute(n)},setSecond:function(e,n){return e.second(n)},setMillisecond:function(e,n){return e.millisecond(n)},isAfter:function(e,n){return e.isAfter(n)},isValidate:function(e){return e.isValid()},locale:{getWeekFirstDay:function(e){return i()().locale(g(e)).localeData().firstDayOfWeek()},getWeekFirstDate:function(e,n){return n.locale(g(e)).weekday(0)},getWeek:function(e,n){return n.locale(g(e)).week()},getShortWeekDays:function(e){return i()().locale(g(e)).localeData().weekdaysMin()},getShortMonths:function(e){return i()().locale(g(e)).localeData().monthsShort()},format:function(e,n,t){return n.locale(g(e)).format(t)},parse:function(e,n,t){for(var a=g(e),o=0;o<t.length;o+=1){var r=t[o],s=n;if(r.includes("wo")||r.includes("Wo")){for(var c=s.split("-")[0],l=s.split("-")[1],u=i()(c,"YYYY").startOf("year").locale(a),p=0;p<=52;p+=1){var d=u.add(p,"week");if(d.format("Wo")===l)return d}return null}var m=i()(s,r,!0).locale(a);if(m.isValid())return m}return null}}}},65631:(e,n,t)=>{"use strict";t.d(n,{cv:()=>fn,Ay:()=>An});var a=t(9793),i=t(83912),o=t(2250),r=t(712),s=t(3889),c=t(33122),l=t(89408),u=t(14902),p=t(44449),d=t(98173),m=t(70908),f=t(26409),v=t(85591),h=t.n(v);const x=d.createContext(null);var g={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};const b=function(e){var n=e.popupElement,t=e.popupStyle,a=e.popupClassName,i=e.popupAlign,o=e.transitionName,r=e.getPopupContainer,s=e.children,c=e.range,l=e.placement,u=e.builtinPlacements,p=void 0===u?g:u,v=e.direction,b=e.visible,y=e.onClose,A=d.useContext(x).prefixCls,w="".concat(A,"-dropdown"),C=function(e,n){return void 0!==e?e:n?"bottomRight":"bottomLeft"}(l,"rtl"===v);return d.createElement(f.A,{showAction:[],hideAction:["click"],popupPlacement:C,builtinPlacements:p,prefixCls:w,popupTransitionName:o,popup:n,popupAlign:i,popupVisible:b,popupClassName:h()(a,(0,m.A)((0,m.A)({},"".concat(w,"-range"),c),"".concat(w,"-rtl"),"rtl"===v)),popupStyle:t,stretch:"minWidth",getPopupContainer:r,onPopupVisibleChange:function(e){e||y()}},s)};function y(e,n){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",a=String(e);a.length<n;)a="".concat(t).concat(a);return a}function A(e){return null===e||void 0===e?[]:Array.isArray(e)?e:[e]}function w(e,n,t){var a=(0,i.A)(e);return a[n]=t,a}function C(e,n){var t={};return(n||Object.keys(e)).forEach((function(n){void 0!==e[n]&&(t[n]=e[n])})),t}function k(e,n,t){if(t)return t;switch(e){case"time":return n.fieldTimeFormat;case"datetime":return n.fieldDateTimeFormat;case"month":return n.fieldMonthFormat;case"year":return n.fieldYearFormat;case"quarter":return n.fieldQuarterFormat;case"week":return n.fieldWeekFormat;default:return n.fieldDateFormat}}function E(e,n,t){var a=void 0!==t?t:n[n.length-1],i=n.find((function(n){return e[n]}));return a!==i?e[i]:void 0}function N(e){return C(e,["placement","builtinPlacements","popupAlign","getPopupContainer","transitionName","direction"])}function S(e,n,t,a){var i=d.useMemo((function(){return e||function(e,a){var i=e;return n&&"date"===a.type?n(i,a.today):t&&"month"===a.type?t(i,a.locale):a.originNode}}),[e,t,n]);return d.useCallback((function(e,n){return i(e,(0,o.A)((0,o.A)({},n),{},{range:a}))}),[i,a])}function M(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=d.useState([!1,!1]),i=(0,r.A)(a,2),o=i[0],s=i[1];return[d.useMemo((function(){return o.map((function(a,i){if(a)return!0;var o=e[i];return!!o&&(!t[i]&&!o||!(!o||!n(o,{activeIndex:i})))}))}),[e,o,n,t]),function(e,n){s((function(t){return w(t,n,e)}))}]}function R(e,n,t,a,i){var o="",r=[];return e&&r.push(i?"hh":"HH"),n&&r.push("mm"),t&&r.push("ss"),o=r.join(":"),a&&(o+=".SSS"),i&&(o+=" A"),o}function I(e,n){var t=n.showHour,a=n.showMinute,i=n.showSecond,r=n.showMillisecond,s=n.use12Hours;return d.useMemo((function(){return function(e,n,t,a,i,r){var s=e.fieldDateTimeFormat,c=e.fieldDateFormat,l=e.fieldTimeFormat,u=e.fieldMonthFormat,p=e.fieldYearFormat,d=e.fieldWeekFormat,m=e.fieldQuarterFormat,f=e.yearFormat,v=e.cellYearFormat,h=e.cellQuarterFormat,x=e.dayFormat,g=e.cellDateFormat,b=R(n,t,a,i,r);return(0,o.A)((0,o.A)({},e),{},{fieldDateTimeFormat:s||"YYYY-MM-DD ".concat(b),fieldDateFormat:c||"YYYY-MM-DD",fieldTimeFormat:l||b,fieldMonthFormat:u||"YYYY-MM",fieldYearFormat:p||"YYYY",fieldWeekFormat:d||"gggg-wo",fieldQuarterFormat:m||"YYYY-[Q]Q",yearFormat:f||"YYYY",cellYearFormat:v||"YYYY",cellQuarterFormat:h||"[Q]Q",cellDateFormat:g||x||"D"})}(e,t,a,i,r,s)}),[e,t,a,i,r,s])}var _=t(53575);function P(e,n,t){return null!==t&&void 0!==t?t:n.some((function(n){return e.includes(n)}))}var j=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function F(e){return e&&"string"===typeof e}function T(e,n,t,a){return[e,n,t,a].some((function(e){return void 0!==e}))}function D(e,n,t,a,i){var o=n,r=t,s=a;if(e||o||r||s||i){if(e){var c,l,u,p=[o,r,s].some((function(e){return!1===e})),d=[o,r,s].some((function(e){return!0===e})),m=!!p||!d;o=null!==(c=o)&&void 0!==c?c:m,r=null!==(l=r)&&void 0!==l?l:m,s=null!==(u=s)&&void 0!==u?u:m}}else o=!0,r=!0,s=!0;return[o,r,s,i]}function O(e){var n=e.showTime,t=function(e){var n=C(e,j),t=e.format,a=e.picker,i=null;return t&&(i=t,Array.isArray(i)&&(i=i[0]),i="object"===(0,_.A)(i)?i.format:i),"time"===a&&(n.format=i),[n,i]}(e),a=(0,r.A)(t,2),i=a[0],s=a[1],c=n&&"object"===(0,_.A)(n)?n:{},l=(0,o.A)((0,o.A)({defaultOpenValue:c.defaultOpenValue||c.defaultValue},i),c),u=l.showMillisecond,p=l.showHour,d=l.showMinute,m=l.showSecond,f=D(T(p,d,m,u),p,d,m,u),v=(0,r.A)(f,3);return p=v[0],d=v[1],m=v[2],[l,(0,o.A)((0,o.A)({},l),{},{showHour:p,showMinute:d,showSecond:m,showMillisecond:u}),l.format,s]}function z(e,n,t,a,i){if("datetime"===e||"time"===e){for(var s=a,c=k(e,i,null),l=[n,t],u=0;u<l.length;u+=1){var p=A(l[u])[0];if(F(p)){c=p;break}}var d=s.showHour,m=s.showMinute,f=s.showSecond,v=s.showMillisecond,h=P(c,["a","A","LT","LLL","LTS"],s.use12Hours),x=T(d,m,f,v);x||(d=P(c,["H","h","k","LT","LLL"]),m=P(c,["m","LT","LLL"]),f=P(c,["s","LTS"]),v=P(c,["SSS"]));var g=D(x,d,m,f,v),b=(0,r.A)(g,3);d=b[0],m=b[1],f=b[2];var y=n||R(d,m,f,v,h);return(0,o.A)((0,o.A)({},s),{},{format:y,showHour:d,showMinute:m,showSecond:f,showMillisecond:v,use12Hours:h})}return null}function V(e,n,t){return!1===n?null:(n&&"object"===(0,_.A)(n)?n:{}).clearIcon||t||d.createElement("span",{className:"".concat(e,"-clear-btn")})}function L(e,n,t){return!e&&!n||e===n||!(!e||!n)&&t()}function q(e,n,t){return L(n,t,(function(){return Math.floor(e.getYear(n)/10)===Math.floor(e.getYear(t)/10)}))}function H(e,n,t){return L(n,t,(function(){return e.getYear(n)===e.getYear(t)}))}function K(e,n){return Math.floor(e.getMonth(n)/3)+1}function Y(e,n,t){return L(n,t,(function(){return H(e,n,t)&&e.getMonth(n)===e.getMonth(t)}))}function W(e,n,t){return L(n,t,(function(){return H(e,n,t)&&Y(e,n,t)&&e.getDate(n)===e.getDate(t)}))}function B(e,n,t){return L(n,t,(function(){return e.getHour(n)===e.getHour(t)&&e.getMinute(n)===e.getMinute(t)&&e.getSecond(n)===e.getSecond(t)}))}function U(e,n,t){return L(n,t,(function(){return W(e,n,t)&&B(e,n,t)&&e.getMillisecond(n)===e.getMillisecond(t)}))}function X(e,n,t,a){return L(t,a,(function(){var i=e.locale.getWeekFirstDate(n,t),o=e.locale.getWeekFirstDate(n,a);return H(e,i,o)&&e.locale.getWeek(n,t)===e.locale.getWeek(n,a)}))}function $(e,n,t,a,i){switch(i){case"date":return W(e,t,a);case"week":return X(e,n.locale,t,a);case"month":return Y(e,t,a);case"quarter":return function(e,n,t){return L(n,t,(function(){return H(e,n,t)&&K(e,n)===K(e,t)}))}(e,t,a);case"year":return H(e,t,a);case"decade":return q(e,t,a);case"time":return B(e,t,a);default:return U(e,t,a)}}function G(e,n,t,a){return!!(n&&t&&a)&&(e.isAfter(a,n)&&e.isAfter(t,a))}function Q(e,n,t,a,i){return!!$(e,n,t,a,i)||e.isAfter(t,a)}function Z(e,n){var t=n.generateConfig,a=n.locale,i=n.format;return e?"function"===typeof i?i(e):t.locale.format(a.locale,e,i):""}function J(e,n,t){var a=n,i=["getHour","getMinute","getSecond","getMillisecond"];return["setHour","setMinute","setSecond","setMillisecond"].forEach((function(n,o){a=t?e[n](a,e[i[o]](t)):e[n](a,0)})),a}function ee(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return d.useMemo((function(){var t=e?A(e):e;return n&&t&&(t[1]=t[1]||t[0]),t}),[e,n])}function ne(e,n){var t=e.generateConfig,a=e.locale,i=e.picker,c=void 0===i?"date":i,l=e.prefixCls,u=void 0===l?"rc-picker":l,p=e.styles,m=void 0===p?{}:p,f=e.classNames,v=void 0===f?{}:f,h=e.order,x=void 0===h||h,g=e.components,b=void 0===g?{}:g,y=e.inputRender,w=e.allowClear,C=e.clearIcon,E=e.needConfirm,N=e.multiple,S=e.format,M=e.inputReadOnly,R=e.disabledDate,P=e.minDate,j=e.maxDate,F=e.showTime,T=e.value,D=e.defaultValue,L=e.pickerValue,q=e.defaultPickerValue,H=ee(T),K=ee(D),Y=ee(L),W=ee(q),B="date"===c&&F?"datetime":c,U="time"===B||"datetime"===B,X=U||N,G=null!==E&&void 0!==E?E:U,Q=O(e),Z=(0,r.A)(Q,4),J=Z[0],ne=Z[1],te=Z[2],ae=Z[3],ie=I(a,ne),oe=d.useMemo((function(){return z(B,te,ae,J,ie)}),[B,te,ae,J,ie]);var re=d.useMemo((function(){return(0,o.A)((0,o.A)({},e),{},{prefixCls:u,locale:ie,picker:c,styles:m,classNames:v,order:x,components:(0,o.A)({input:y},b),clearIcon:V(u,w,C),showTime:oe,value:H,defaultValue:K,pickerValue:Y,defaultPickerValue:W},null===n||void 0===n?void 0:n())}),[e]),se=function(e,n,t){return d.useMemo((function(){var a=A(k(e,n,t)),i=a[0],o="object"===(0,_.A)(i)&&"mask"===i.type?i.format:null;return[a.map((function(e){return"string"===typeof e||"function"===typeof e?e:e.format})),o]}),[e,n,t])}(B,ie,S),ce=(0,r.A)(se,2),le=ce[0],ue=ce[1],pe=function(e,n,t){return!("function"!==typeof e[0]&&!t)||n}(le,M,N),de=function(e,n,t,a,i){return(0,s._q)((function(o,r){return!(!t||!t(o,r))||!(!a||!e.isAfter(a,o)||$(e,n,a,o,r.type))||!(!i||!e.isAfter(o,i)||$(e,n,i,o,r.type))}))}(t,a,R,P,j),me=function(e,n,t,a){return(0,s._q)((function(i,r){var s=(0,o.A)({type:n},r);if(delete s.activeIndex,!e.isValidate(i)||t&&t(i,s))return!0;if(("date"===n||"time"===n)&&a){var c,l=r&&1===r.activeIndex?"end":"start",u=(null===(c=a.disabledTime)||void 0===c?void 0:c.call(a,i,l,{from:s.from}))||{},p=u.disabledHours,d=u.disabledMinutes,m=u.disabledSeconds,f=u.disabledMilliseconds,v=a.disabledHours,h=a.disabledMinutes,x=a.disabledSeconds,g=p||v,b=d||h,y=m||x,A=e.getHour(i),w=e.getMinute(i),C=e.getSecond(i),k=e.getMillisecond(i);if(g&&g().includes(A))return!0;if(b&&b(A).includes(w))return!0;if(y&&y(A,w).includes(C))return!0;if(f&&f(A,w,C).includes(k))return!0}return!1}))}(t,c,de,oe);return[d.useMemo((function(){return(0,o.A)((0,o.A)({},re),{},{needConfirm:G,inputReadOnly:pe,disabledDate:de})}),[re,G,pe,de]),B,X,le,ue,me]}var te=t(956);function ae(e,n){var t=arguments.length>3?arguments[3]:void 0,a=function(e,n,t){var a=(0,s.vz)(n,{value:e}),i=(0,r.A)(a,2),o=i[0],c=i[1],l=d.useRef(e),u=d.useRef(),p=function(){te.A.cancel(u.current)},m=(0,s._q)((function(){c(l.current),t&&o!==l.current&&t(l.current)})),f=(0,s._q)((function(e,n){p(),l.current=e,e||n?m():u.current=(0,te.A)(m)}));return d.useEffect((function(){return p}),[]),[o,f]}(!(arguments.length>2&&void 0!==arguments[2]?arguments[2]:[]).every((function(e){return e}))&&e,n||!1,t),i=(0,r.A)(a,2),o=i[0],c=i[1];return[o,function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n.inherit&&!o||c(e,n.force)}]}function ie(e){var n=d.useRef();return d.useImperativeHandle(e,(function(){var e;return{nativeElement:null===(e=n.current)||void 0===e?void 0:e.nativeElement,focus:function(e){var t;null===(t=n.current)||void 0===t||t.focus(e)},blur:function(){var e;null===(e=n.current)||void 0===e||e.blur()}}})),n}function oe(e,n){return d.useMemo((function(){return e||(n?((0,p.Ay)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(n).map((function(e){var n=(0,r.A)(e,2);return{label:n[0],value:n[1]}}))):[])}),[e,n])}function re(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=d.useRef(n);a.current=n,(0,c.o)((function(){if(!e){var n=(0,te.A)((function(){a.current(e)}),t);return function(){te.A.cancel(n)}}a.current(e)}),[e])}function se(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=d.useState(0),i=(0,r.A)(a,2),o=i[0],s=i[1],c=d.useState(!1),l=(0,r.A)(c,2),u=l[0],p=l[1],m=d.useRef([]),f=d.useRef(null),v=d.useRef(null),h=function(e){f.current=e};return re(u||t,(function(){u||(m.current=[],h(null))})),d.useEffect((function(){u&&m.current.push(o)}),[u,o]),[u,function(e){p(e)},function(e){return e&&(v.current=e),v.current},o,s,function(t){var a=m.current,i=new Set(a.filter((function(e){return t[e]||n[e]}))),o=0===a[a.length-1]?1:0;return i.size>=2||e[o]?null:o},m.current,h,function(e){return f.current===e}]}function ce(e,n,t,a){switch(n){case"date":case"week":return e.addMonth(t,a);case"month":case"quarter":return e.addYear(t,a);case"year":return e.addYear(t,10*a);case"decade":return e.addYear(t,100*a);default:return t}}var le=[];function ue(e,n,t,a,i,o,l,u){var p=arguments.length>8&&void 0!==arguments[8]?arguments[8]:le,m=arguments.length>9&&void 0!==arguments[9]?arguments[9]:le,f=arguments.length>10&&void 0!==arguments[10]?arguments[10]:le,v=arguments.length>11?arguments[11]:void 0,h=arguments.length>12?arguments[12]:void 0,x=arguments.length>13?arguments[13]:void 0,g="time"===l,b=o||0,y=function(n){var a=e.getNow();return g&&(a=J(e,a)),p[n]||t[n]||a},A=(0,r.A)(m,2),w=A[0],C=A[1],k=(0,s.vz)((function(){return y(0)}),{value:w}),E=(0,r.A)(k,2),N=E[0],S=E[1],M=(0,s.vz)((function(){return y(1)}),{value:C}),R=(0,r.A)(M,2),I=R[0],_=R[1],P=d.useMemo((function(){var n=[N,I][b];return g?n:J(e,n,f[b])}),[g,N,I,b,e,f]),j=function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"panel";(0,[S,_][b])(t);var o=[N,I];o[b]=t,!v||$(e,n,N,o[0],l)&&$(e,n,I,o[1],l)||v(o,{source:i,range:1===b?"end":"start",mode:a})},F=d.useRef(null);return(0,c.A)((function(){if(i&&!p[b]){var a=g?null:e.getNow();if(null!==F.current&&F.current!==b?a=[N,I][1^b]:t[b]?a=0===b?t[0]:function(t,a){if(u){var i={date:"month",week:"month",month:"year",quarter:"year"}[l];if(i&&!$(e,n,t,a,i))return ce(e,l,a,-1);if("year"===l&&t&&Math.floor(e.getYear(t)/10)!==Math.floor(e.getYear(a)/10))return ce(e,l,a,-1)}return a}(t[0],t[1]):t[1^b]&&(a=t[1^b]),a){h&&e.isAfter(h,a)&&(a=h);var o=u?ce(e,l,a,1):a;x&&e.isAfter(o,x)&&(a=u?ce(e,l,x,-1):x),j(a,"reset")}}}),[i,b,t[b]]),d.useEffect((function(){F.current=i?b:null}),[i,b]),(0,c.A)((function(){i&&p&&p[b]&&j(p[b],"reset")}),[i,b]),[P,j]}function pe(e,n){var t=d.useRef(e),a=d.useState({}),i=(0,r.A)(a,2)[1],o=function(e){return e&&void 0!==n?n:t.current};return[o,function(e){t.current=e,i({})},o(!0)]}var de=[];function me(e,n,t){return[function(a){return a.map((function(a){return Z(a,{generateConfig:e,locale:n,format:t[0]})}))},function(n,t){for(var a=Math.max(n.length,t.length),i=-1,o=0;o<a;o+=1){var r=n[o]||null,s=t[o]||null;if(r!==s&&!U(e,r,s)){i=o;break}}return[i<0,0!==i]}]}function fe(e,n){return(0,i.A)(e).sort((function(e,t){return n.isAfter(e,t)?1:-1}))}function ve(e,n,t,a,o,c,l,u,p){var m=(0,s.vz)(c,{value:l}),f=(0,r.A)(m,2),v=f[0],h=f[1],x=v||de,g=function(e){var n=pe(e),t=(0,r.A)(n,2),a=t[0],i=t[1],o=(0,s._q)((function(){i(e)}));return d.useEffect((function(){o()}),[e]),[a,i]}(x),b=(0,r.A)(g,2),y=b[0],A=b[1],w=me(e,n,t),C=(0,r.A)(w,2),k=C[0],E=C[1],N=(0,s._q)((function(n){var t=(0,i.A)(n);if(a)for(var s=0;s<2;s+=1)t[s]=t[s]||null;else o&&(t=fe(t.filter((function(e){return e})),e));var c=E(y(),t),l=(0,r.A)(c,2),p=l[0],d=l[1];if(!p&&(A(t),u)){var m=k(t);u(t,m,{range:d?"end":"start"})}}));return[x,h,y,N,function(){p&&p(y())}]}function he(e,n,t,a,o,c,l,u,p,m){var f=e.generateConfig,v=e.locale,h=e.picker,x=e.onChange,g=e.allowEmpty,b=e.order,y=!c.some((function(e){return e}))&&b,A=me(f,v,l),C=(0,r.A)(A,2),k=C[0],E=C[1],N=pe(n),S=(0,r.A)(N,2),M=S[0],R=S[1],I=(0,s._q)((function(){R(n)}));d.useEffect((function(){I()}),[n]);var _=(0,s._q)((function(e){var a=null===e,s=(0,i.A)(e||M());if(a)for(var l=Math.max(c.length,s.length),u=0;u<l;u+=1)c[u]||(s[u]=null);y&&s[0]&&s[1]&&(s=fe(s,f)),o(s);var p=s,d=(0,r.A)(p,2),A=d[0],w=d[1],C=!A,N=!w,S=!g||(!C||g[0])&&(!N||g[1]),R=!b||C||N||$(f,v,A,w,h)||f.isAfter(w,A),I=(c[0]||!A||!m(A,{activeIndex:0}))&&(c[1]||!w||!m(w,{from:A,activeIndex:1})),_=a||S&&R&&I;if(_){t(s);var P=E(s,n),j=(0,r.A)(P,1)[0];x&&!j&&x(a&&s.every((function(e){return!e}))?null:s,k(s))}return _})),P=(0,s._q)((function(e,n){var t=w(M(),e,a()[e]);R(t),n&&_()})),j=!u&&!p;return re(!j,(function(){j&&(_(),o(n),I())}),2),[P,_]}function xe(e,n,t,a,i){return("date"===n||"time"===n)&&(void 0!==t?t:void 0!==a?a:!i&&("date"===e||"time"===e))}var ge=t(77275);function be(){return[]}function ye(e,n){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:2,r=[],s=t>=1?0|t:1,c=e;c<=n;c+=s){var l=i.includes(c);l&&a||r.push({label:y(c,o),value:c,disabled:l})}return r}function Ae(e){var n=arguments.length>2?arguments[2]:void 0,t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})||{},a=t.use12Hours,s=t.hourStep,c=void 0===s?1:s,l=t.minuteStep,u=void 0===l?1:l,p=t.secondStep,m=void 0===p?1:p,f=t.millisecondStep,v=void 0===f?100:f,h=t.hideDisabledOptions,x=t.disabledTime,g=t.disabledHours,b=t.disabledMinutes,A=t.disabledSeconds,w=d.useMemo((function(){return n||e.getNow()}),[n,e]),C=d.useCallback((function(e){var n=(null===x||void 0===x?void 0:x(e))||{};return[n.disabledHours||g||be,n.disabledMinutes||b||be,n.disabledSeconds||A||be,n.disabledMilliseconds||be]}),[x,g,b,A]),k=d.useMemo((function(){return C(w)}),[w,C]),E=(0,r.A)(k,4),N=E[0],S=E[1],M=E[2],R=E[3],I=d.useCallback((function(e,n,t,i){var r=ye(0,23,c,h,e());return[a?r.map((function(e){return(0,o.A)((0,o.A)({},e),{},{label:y(e.value%12||12,2)})})):r,function(e){return ye(0,59,u,h,n(e))},function(e,n){return ye(0,59,m,h,t(e,n))},function(e,n,t){return ye(0,999,v,h,i(e,n,t),3)}]}),[h,c,a,v,u,m]),_=d.useMemo((function(){return I(N,S,M,R)}),[I,N,S,M,R]),P=(0,r.A)(_,4),j=P[0],F=P[1],T=P[2],D=P[3];return[function(n,t){var a=function(){return j},o=F,s=T,c=D;if(t){var l=C(t),u=(0,r.A)(l,4),p=u[0],d=u[1],m=u[2],f=u[3],v=I(p,d,m,f),h=(0,r.A)(v,4),x=h[0];a=function(){return x},o=h[1],s=h[2],c=h[3]}var g=function(e,n,t,a,o,r){var s=e;function c(e,n,t){var a=r[e](s),o=t.find((function(e){return e.value===a}));if(!o||o.disabled){var c=t.filter((function(e){return!e.disabled})),l=(0,i.A)(c).reverse().find((function(e){return e.value<=a}))||c[0];l&&(a=l.value,s=r[n](s,a))}return a}var l=c("getHour","setHour",n()),u=c("getMinute","setMinute",t(l)),p=c("getSecond","setSecond",a(l,u));return c("getMillisecond","setMillisecond",o(l,u,p)),s}(n,a,o,s,c,e);return g},j,F,T,D]}function we(e){var n=e.mode,t=e.internalMode,a=e.renderExtraFooter,i=e.showNow,o=e.showTime,s=e.onSubmit,c=e.onNow,l=e.invalid,u=e.needConfirm,p=e.generateConfig,m=e.disabledDate,f=d.useContext(x),v=f.prefixCls,g=f.locale,b=f.button,y=void 0===b?"button":b,A=p.getNow(),w=Ae(p,o,A),C=(0,r.A)(w,1)[0],k=null===a||void 0===a?void 0:a(n),E=m(A,{type:n}),N="".concat(v,"-now"),S="".concat(N,"-btn"),M=i&&d.createElement("li",{className:N},d.createElement("a",{className:h()(S,E&&"".concat(S,"-disabled")),"aria-disabled":E,onClick:function(){if(!E){var e=C(A);c(e)}}},"date"===t?g.today:g.now)),R=u&&d.createElement("li",{className:"".concat(v,"-ok")},d.createElement(y,{disabled:l,onClick:s},g.ok)),I=(M||R)&&d.createElement("ul",{className:"".concat(v,"-ranges")},M,R);return k||I?d.createElement("div",{className:"".concat(v,"-footer")},k&&d.createElement("div",{className:"".concat(v,"-footer-extra")},k),I):null}function Ce(e,n,t){return function(a,o){var r=a.findIndex((function(a){return $(e,n,a,o,t)}));if(-1===r)return[].concat((0,i.A)(a),[o]);var s=(0,i.A)(a);return s.splice(r,1),s}}var ke=d.createContext(null);function Ee(){return d.useContext(ke)}function Ne(e,n){var t=e.prefixCls,a=e.generateConfig,i=e.locale,o=e.disabledDate,r=e.minDate,s=e.maxDate,c=e.cellRender,l=e.hoverValue,u=e.hoverRangeValue,p=e.onHover,d=e.values,m=e.pickerValue,f=e.onSelect,v=e.prevIcon,h=e.nextIcon,x=e.superPrevIcon,g=e.superNextIcon,b=a.getNow();return[{now:b,values:d,pickerValue:m,prefixCls:t,disabledDate:o,minDate:r,maxDate:s,cellRender:c,hoverValue:l,hoverRangeValue:u,onHover:p,locale:i,generateConfig:a,onSelect:f,panelType:n,prevIcon:v,nextIcon:h,superPrevIcon:x,superNextIcon:g},b]}var Se=d.createContext({});function Me(e){for(var n=e.rowNum,t=e.colNum,a=e.baseDate,i=e.getCellDate,s=e.prefixColumn,c=e.rowClassName,l=e.titleFormat,u=e.getCellText,p=e.getCellClassName,f=e.headerCells,v=e.cellSelection,x=void 0===v||v,g=e.disabledDate,b=Ee(),y=b.prefixCls,A=b.panelType,w=b.now,C=b.disabledDate,k=b.cellRender,E=b.onHover,N=b.hoverValue,S=b.hoverRangeValue,M=b.generateConfig,R=b.values,I=b.locale,_=b.onSelect,P=g||C,j="".concat(y,"-cell"),F=d.useContext(Se).onCellDblClick,T=[],D=0;D<n;D+=1){for(var O=[],z=void 0,V=function(){var e=i(a,D*t+L),n=null===P||void 0===P?void 0:P(e,{type:A});0===L&&(z=e,s&&O.push(s(z)));var c=!1,f=!1,v=!1;if(x&&S){var g=(0,r.A)(S,2),b=g[0],C=g[1];c=G(M,b,C,e),f=$(M,I,e,b,A),v=$(M,I,e,C,A)}var T,V=l?Z(e,{locale:I,format:l,generateConfig:M}):void 0,q=d.createElement("div",{className:"".concat(j,"-inner")},u(e));O.push(d.createElement("td",{key:L,title:V,className:h()(j,(0,o.A)((0,m.A)((0,m.A)((0,m.A)((0,m.A)((0,m.A)((0,m.A)({},"".concat(j,"-disabled"),n),"".concat(j,"-hover"),(N||[]).some((function(n){return $(M,I,e,n,A)}))),"".concat(j,"-in-range"),c&&!f&&!v),"".concat(j,"-range-start"),f),"".concat(j,"-range-end"),v),"".concat(y,"-cell-selected"),!S&&"week"!==A&&(T=e,R.some((function(e){return e&&$(M,I,T,e,A)})))),p(e))),onClick:function(){n||_(e)},onDoubleClick:function(){!n&&F&&F()},onMouseEnter:function(){n||null===E||void 0===E||E(e)},onMouseLeave:function(){n||null===E||void 0===E||E(null)}},k?k(e,{prefixCls:y,originNode:q,today:w,type:A,locale:I}):q))},L=0;L<t;L+=1)V();T.push(d.createElement("tr",{key:D,className:null===c||void 0===c?void 0:c(z)},O))}return d.createElement("div",{className:"".concat(y,"-body")},d.createElement("table",{className:"".concat(y,"-content")},f&&d.createElement("thead",null,d.createElement("tr",null,f)),d.createElement("tbody",null,T)))}var Re={visibility:"hidden"};const Ie=function(e){var n=e.offset,t=e.superOffset,a=e.onChange,i=e.getStart,o=e.getEnd,r=e.children,s=Ee(),c=s.prefixCls,l=s.prevIcon,u=void 0===l?"\u2039":l,p=s.nextIcon,m=void 0===p?"\u203a":p,f=s.superPrevIcon,v=void 0===f?"\xab":f,x=s.superNextIcon,g=void 0===x?"\xbb":x,b=s.minDate,y=s.maxDate,A=s.generateConfig,w=s.locale,C=s.pickerValue,k=s.panelType,E="".concat(c,"-header"),N=d.useContext(Se),S=N.hidePrev,M=N.hideNext,R=N.hideHeader,I=d.useMemo((function(){if(!b||!n||!o)return!1;var e=o(n(-1,C));return!Q(A,w,e,b,k)}),[b,n,C,o,A,w,k]),_=d.useMemo((function(){if(!b||!t||!o)return!1;var e=o(t(-1,C));return!Q(A,w,e,b,k)}),[b,t,C,o,A,w,k]),P=d.useMemo((function(){if(!y||!n||!i)return!1;var e=i(n(1,C));return!Q(A,w,y,e,k)}),[y,n,C,i,A,w,k]),j=d.useMemo((function(){if(!y||!t||!i)return!1;var e=i(t(1,C));return!Q(A,w,y,e,k)}),[y,t,C,i,A,w,k]),F=function(e){n&&a(n(e,C))},T=function(e){t&&a(t(e,C))};if(R)return null;var D="".concat(E,"-prev-btn"),O="".concat(E,"-next-btn"),z="".concat(E,"-super-prev-btn"),V="".concat(E,"-super-next-btn");return d.createElement("div",{className:E},t&&d.createElement("button",{type:"button","aria-label":w.previousYear,onClick:function(){return T(-1)},tabIndex:-1,className:h()(z,_&&"".concat(z,"-disabled")),disabled:_,style:S?Re:{}},v),n&&d.createElement("button",{type:"button","aria-label":w.previousMonth,onClick:function(){return F(-1)},tabIndex:-1,className:h()(D,I&&"".concat(D,"-disabled")),disabled:I,style:S?Re:{}},u),d.createElement("div",{className:"".concat(E,"-view")},r),n&&d.createElement("button",{type:"button","aria-label":w.nextMonth,onClick:function(){return F(1)},tabIndex:-1,className:h()(O,P&&"".concat(O,"-disabled")),disabled:P,style:M?Re:{}},m),t&&d.createElement("button",{type:"button","aria-label":w.nextYear,onClick:function(){return T(1)},tabIndex:-1,className:h()(V,j&&"".concat(V,"-disabled")),disabled:j,style:M?Re:{}},g))};function _e(e){var n=e.prefixCls,t=e.panelName,i=void 0===t?"date":t,o=e.locale,s=e.generateConfig,c=e.pickerValue,l=e.onPickerValueChange,u=e.onModeChange,p=e.mode,f=void 0===p?"date":p,v=e.disabledDate,x=e.onSelect,g=e.onHover,b=e.showWeek,y="".concat(n,"-").concat(i,"-panel"),A="".concat(n,"-cell"),w="week"===f,C=Ne(e,f),k=(0,r.A)(C,2),E=k[0],N=k[1],S=s.locale.getWeekFirstDay(o.locale),M=s.setDate(c,1),R=function(e,n,t){var a=n.locale.getWeekFirstDay(e),i=n.setDate(t,1),o=n.getWeekDay(i),r=n.addDate(i,a-o);return n.getMonth(r)===n.getMonth(t)&&n.getDate(r)>1&&(r=n.addDate(r,-7)),r}(o.locale,s,M),I=s.getMonth(c),_=(void 0===b?w:b)?function(e){var n=null===v||void 0===v?void 0:v(e,{type:"week"});return d.createElement("td",{key:"week",className:h()(A,"".concat(A,"-week"),(0,m.A)({},"".concat(A,"-disabled"),n)),onClick:function(){n||x(e)},onMouseEnter:function(){n||null===g||void 0===g||g(e)},onMouseLeave:function(){n||null===g||void 0===g||g(null)}},d.createElement("div",{className:"".concat(A,"-inner")},s.locale.getWeek(o.locale,e)))}:null,P=[],j=o.shortWeekDays||(s.locale.getShortWeekDays?s.locale.getShortWeekDays(o.locale):[]);_&&P.push(d.createElement("th",{key:"empty"},d.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},o.week)));for(var F=0;F<7;F+=1)P.push(d.createElement("th",{key:F},j[(F+S)%7]));var T=o.shortMonths||(s.locale.getShortMonths?s.locale.getShortMonths(o.locale):[]),D=d.createElement("button",{type:"button","aria-label":o.yearSelect,key:"year",onClick:function(){u("year",c)},tabIndex:-1,className:"".concat(n,"-year-btn")},Z(c,{locale:o,format:o.yearFormat,generateConfig:s})),O=d.createElement("button",{type:"button","aria-label":o.monthSelect,key:"month",onClick:function(){u("month",c)},tabIndex:-1,className:"".concat(n,"-month-btn")},o.monthFormat?Z(c,{locale:o,format:o.monthFormat,generateConfig:s}):T[I]),z=o.monthBeforeYear?[O,D]:[D,O];return d.createElement(ke.Provider,{value:E},d.createElement("div",{className:h()(y,b&&"".concat(y,"-show-week"))},d.createElement(Ie,{offset:function(e){return s.addMonth(c,e)},superOffset:function(e){return s.addYear(c,e)},onChange:l,getStart:function(e){return s.setDate(e,1)},getEnd:function(e){var n=s.setDate(e,1);return n=s.addMonth(n,1),s.addDate(n,-1)}},z),d.createElement(Me,(0,a.A)({titleFormat:o.fieldDateFormat},e,{colNum:7,rowNum:6,baseDate:R,headerCells:P,getCellDate:function(e,n){return s.addDate(e,n)},getCellText:function(e){return Z(e,{locale:o,format:o.cellDateFormat,generateConfig:s})},getCellClassName:function(e){return(0,m.A)((0,m.A)({},"".concat(n,"-cell-in-view"),Y(s,e,c)),"".concat(n,"-cell-today"),W(s,e,N))},prefixColumn:_,cellSelection:!w}))))}var Pe=t(72864),je=1/3;function Fe(e){return e.map((function(e){return[e.value,e.label,e.disabled].join(",")})).join(";")}function Te(e){var n=e.units,t=e.value,a=e.optionalValue,o=e.type,l=e.onChange,u=e.onHover,p=e.onDblClick,f=e.changeOnScroll,v=Ee(),x=v.prefixCls,g=v.cellRender,b=v.now,y=v.locale,A="".concat(x,"-time-panel"),w="".concat(x,"-time-panel-cell"),C=d.useRef(null),k=d.useRef(),E=function(){clearTimeout(k.current)},N=function(e,n){var t=d.useRef(!1),a=d.useRef(null),i=d.useRef(null),o=function(){te.A.cancel(a.current),t.current=!1},r=d.useRef();return[(0,s._q)((function(){var s=e.current;if(i.current=null,r.current=0,s){var c=s.querySelector('[data-value="'.concat(n,'"]')),l=s.querySelector("li");c&&l&&function e(){o(),t.current=!0,r.current+=1;var n=s.scrollTop,u=l.offsetTop,p=c.offsetTop,d=p-u;if(0===p&&c!==l||!(0,Pe.A)(s))r.current<=5&&(a.current=(0,te.A)(e));else{var m=n+(d-n)*je,f=Math.abs(d-m);if(null!==i.current&&i.current<f)o();else{if(i.current=f,f<=1)return s.scrollTop=d,void o();s.scrollTop=m,a.current=(0,te.A)(e)}}}()}})),o,function(){return t.current}]}(C,null!==t&&void 0!==t?t:a),S=(0,r.A)(N,3),M=S[0],R=S[1],I=S[2];(0,c.A)((function(){return M(),E(),function(){R(),E()}}),[t,a,Fe(n)]);var _="".concat(A,"-column");return d.createElement("ul",{className:_,ref:C,"data-type":o,onScroll:function(e){E();var t=e.target;!I()&&f&&(k.current=setTimeout((function(){var e=C.current,a=e.querySelector("li").offsetTop,o=Array.from(e.querySelectorAll("li")).map((function(e){return e.offsetTop-a})).map((function(e,a){return n[a].disabled?Number.MAX_SAFE_INTEGER:Math.abs(e-t.scrollTop)})),r=Math.min.apply(Math,(0,i.A)(o)),s=o.findIndex((function(e){return e===r})),c=n[s];c&&!c.disabled&&l(c.value)}),300))}},n.map((function(e){var n=e.label,a=e.value,i=e.disabled,r=d.createElement("div",{className:"".concat(w,"-inner")},n);return d.createElement("li",{key:a,className:h()(w,(0,m.A)((0,m.A)({},"".concat(w,"-selected"),t===a),"".concat(w,"-disabled"),i)),onClick:function(){i||l(a)},onDoubleClick:function(){!i&&p&&p()},onMouseEnter:function(){u(a)},onMouseLeave:function(){u(null)},"data-value":a},g?g(a,{prefixCls:x,originNode:r,today:b,type:"time",subType:o,locale:y}):r)})))}function De(e){return e<12}function Oe(e){var n=e.showHour,t=e.showMinute,i=e.showSecond,o=e.showMillisecond,s=e.use12Hours,c=e.changeOnScroll,l=Ee(),u=l.prefixCls,p=l.values,m=l.generateConfig,f=l.locale,v=l.onSelect,h=l.onHover,x=void 0===h?function(){}:h,g=l.pickerValue,b=(null===p||void 0===p?void 0:p[0])||null,y=d.useContext(Se).onCellDblClick,A=Ae(m,e,b),w=(0,r.A)(A,5),C=w[0],k=w[1],E=w[2],N=w[3],S=w[4],M=function(e){return[b&&m[e](b),g&&m[e](g)]},R=M("getHour"),I=(0,r.A)(R,2),_=I[0],P=I[1],j=M("getMinute"),F=(0,r.A)(j,2),T=F[0],D=F[1],O=M("getSecond"),z=(0,r.A)(O,2),V=z[0],L=z[1],q=M("getMillisecond"),H=(0,r.A)(q,2),K=H[0],Y=H[1],W=null===_?null:De(_)?"am":"pm",B=d.useMemo((function(){return s?De(_)?k.filter((function(e){return De(e.value)})):k.filter((function(e){return!De(e.value)})):k}),[_,k,s]),U=function(e,n){var t,a=e.filter((function(e){return!e.disabled}));return null!==n&&void 0!==n?n:null===a||void 0===a||null===(t=a[0])||void 0===t?void 0:t.value},X=U(k,_),$=d.useMemo((function(){return E(X)}),[E,X]),G=U($,T),Q=d.useMemo((function(){return N(X,G)}),[N,X,G]),J=U(Q,V),ee=d.useMemo((function(){return S(X,G,J)}),[S,X,G,J]),ne=U(ee,K),te=d.useMemo((function(){if(!s)return[];var e=m.getNow(),n=m.setHour(e,6),t=m.setHour(e,18),a=function(e,n){var t=f.cellMeridiemFormat;return t?Z(e,{generateConfig:m,locale:f,format:t}):n};return[{label:a(n,"AM"),value:"am",disabled:k.every((function(e){return e.disabled||!De(e.value)}))},{label:a(t,"PM"),value:"pm",disabled:k.every((function(e){return e.disabled||De(e.value)}))}]}),[k,s,m,f]),ae=function(e){var n=C(e);v(n)},ie=d.useMemo((function(){var e=b||g||m.getNow(),n=function(e){return null!==e&&void 0!==e};return n(_)?(e=m.setHour(e,_),e=m.setMinute(e,T),e=m.setSecond(e,V),e=m.setMillisecond(e,K)):n(P)?(e=m.setHour(e,P),e=m.setMinute(e,D),e=m.setSecond(e,L),e=m.setMillisecond(e,Y)):n(X)&&(e=m.setHour(e,X),e=m.setMinute(e,G),e=m.setSecond(e,J),e=m.setMillisecond(e,ne)),e}),[b,g,_,T,V,K,X,G,J,ne,P,D,L,Y,m]),oe=function(e,n){return null===e?null:m[n](ie,e)},re=function(e){return oe(e,"setHour")},se=function(e){return oe(e,"setMinute")},ce=function(e){return oe(e,"setSecond")},le=function(e){return oe(e,"setMillisecond")},ue=function(e){return null===e?null:"am"!==e||De(_)?"pm"===e&&De(_)?m.setHour(ie,_+12):ie:m.setHour(ie,_-12)},pe={onDblClick:y,changeOnScroll:c};return d.createElement("div",{className:"".concat(u,"-content")},n&&d.createElement(Te,(0,a.A)({units:B,value:_,optionalValue:P,type:"hour",onChange:function(e){ae(re(e))},onHover:function(e){x(re(e))}},pe)),t&&d.createElement(Te,(0,a.A)({units:$,value:T,optionalValue:D,type:"minute",onChange:function(e){ae(se(e))},onHover:function(e){x(se(e))}},pe)),i&&d.createElement(Te,(0,a.A)({units:Q,value:V,optionalValue:L,type:"second",onChange:function(e){ae(ce(e))},onHover:function(e){x(ce(e))}},pe)),o&&d.createElement(Te,(0,a.A)({units:ee,value:K,optionalValue:Y,type:"millisecond",onChange:function(e){ae(le(e))},onHover:function(e){x(le(e))}},pe)),s&&d.createElement(Te,(0,a.A)({units:te,value:W,type:"meridiem",onChange:function(e){ae(ue(e))},onHover:function(e){x(ue(e))}},pe)))}function ze(e){var n=e.prefixCls,t=e.value,a=e.locale,i=e.generateConfig,o=e.showTime,s=(o||{}).format,c="".concat(n,"-time-panel"),l=Ne(e,"time"),u=(0,r.A)(l,1)[0];return d.createElement(ke.Provider,{value:u},d.createElement("div",{className:h()(c)},d.createElement(Ie,null,t?Z(t,{locale:a,format:s,generateConfig:i}):"\xa0"),d.createElement(Oe,o)))}var Ve={date:_e,datetime:function(e){var n=e.prefixCls,t=e.generateConfig,i=e.showTime,o=e.onSelect,s=e.value,c=e.pickerValue,l=e.onHover,u="".concat(n,"-datetime-panel"),p=Ae(t,i),m=(0,r.A)(p,1)[0],f=function(e){return J(t,e,s||c)};return d.createElement("div",{className:u},d.createElement(_e,(0,a.A)({},e,{onSelect:function(e){var n=f(e);o(m(n,n))},onHover:function(e){null===l||void 0===l||l(e?f(e):e)}})),d.createElement(ze,e))},week:function(e){var n=e.prefixCls,t=e.generateConfig,i=e.locale,o=e.value,s=e.hoverValue,c=e.hoverRangeValue,l=i.locale,u="".concat(n,"-week-panel-row");return d.createElement(_e,(0,a.A)({},e,{mode:"week",panelName:"week",rowClassName:function(e){var n={};if(c){var a=(0,r.A)(c,2),i=a[0],p=a[1],d=X(t,l,i,e),f=X(t,l,p,e);n["".concat(u,"-range-start")]=d,n["".concat(u,"-range-end")]=f,n["".concat(u,"-range-hover")]=!d&&!f&&G(t,i,p,e)}return s&&(n["".concat(u,"-hover")]=s.some((function(n){return X(t,l,e,n)}))),h()(u,(0,m.A)({},"".concat(u,"-selected"),!c&&X(t,l,o,e)),n)}}))},month:function(e){var n=e.prefixCls,t=e.locale,i=e.generateConfig,o=e.pickerValue,s=e.disabledDate,c=e.onPickerValueChange,l=e.onModeChange,u="".concat(n,"-month-panel"),p=Ne(e,"month"),f=(0,r.A)(p,1)[0],v=i.setMonth(o,0),h=t.shortMonths||(i.locale.getShortMonths?i.locale.getShortMonths(t.locale):[]),x=s?function(e,n){var t=i.setDate(e,1),a=i.setMonth(t,i.getMonth(t)+1),o=i.addDate(a,-1);return s(t,n)&&s(o,n)}:null,g=d.createElement("button",{type:"button",key:"year","aria-label":t.yearSelect,onClick:function(){l("year")},tabIndex:-1,className:"".concat(n,"-year-btn")},Z(o,{locale:t,format:t.yearFormat,generateConfig:i}));return d.createElement(ke.Provider,{value:f},d.createElement("div",{className:u},d.createElement(Ie,{superOffset:function(e){return i.addYear(o,e)},onChange:c,getStart:function(e){return i.setMonth(e,0)},getEnd:function(e){return i.setMonth(e,11)}},g),d.createElement(Me,(0,a.A)({},e,{disabledDate:x,titleFormat:t.fieldMonthFormat,colNum:3,rowNum:4,baseDate:v,getCellDate:function(e,n){return i.addMonth(e,n)},getCellText:function(e){var n=i.getMonth(e);return t.monthFormat?Z(e,{locale:t,format:t.monthFormat,generateConfig:i}):h[n]},getCellClassName:function(){return(0,m.A)({},"".concat(n,"-cell-in-view"),!0)}}))))},quarter:function(e){var n=e.prefixCls,t=e.locale,i=e.generateConfig,o=e.pickerValue,s=e.onPickerValueChange,c=e.onModeChange,l="".concat(n,"-quarter-panel"),u=Ne(e,"quarter"),p=(0,r.A)(u,1)[0],f=i.setMonth(o,0),v=d.createElement("button",{type:"button",key:"year","aria-label":t.yearSelect,onClick:function(){c("year")},tabIndex:-1,className:"".concat(n,"-year-btn")},Z(o,{locale:t,format:t.yearFormat,generateConfig:i}));return d.createElement(ke.Provider,{value:p},d.createElement("div",{className:l},d.createElement(Ie,{superOffset:function(e){return i.addYear(o,e)},onChange:s,getStart:function(e){return i.setMonth(e,0)},getEnd:function(e){return i.setMonth(e,11)}},v),d.createElement(Me,(0,a.A)({},e,{titleFormat:t.fieldQuarterFormat,colNum:4,rowNum:1,baseDate:f,getCellDate:function(e,n){return i.addMonth(e,3*n)},getCellText:function(e){return Z(e,{locale:t,format:t.cellQuarterFormat,generateConfig:i})},getCellClassName:function(){return(0,m.A)({},"".concat(n,"-cell-in-view"),!0)}}))))},year:function(e){var n=e.prefixCls,t=e.locale,i=e.generateConfig,o=e.pickerValue,s=e.disabledDate,c=e.onPickerValueChange,l=e.onModeChange,u="".concat(n,"-year-panel"),p=Ne(e,"year"),f=(0,r.A)(p,1)[0],v=function(e){var n=10*Math.floor(i.getYear(e)/10);return i.setYear(e,n)},h=function(e){var n=v(e);return i.addYear(n,9)},x=v(o),g=h(o),b=i.addYear(x,-1),y=s?function(e,n){var t=i.setMonth(e,0),a=i.setDate(t,1),o=i.addYear(a,1),r=i.addDate(o,-1);return s(a,n)&&s(r,n)}:null,A=d.createElement("button",{type:"button",key:"decade","aria-label":t.decadeSelect,onClick:function(){l("decade")},tabIndex:-1,className:"".concat(n,"-decade-btn")},Z(x,{locale:t,format:t.yearFormat,generateConfig:i}),"-",Z(g,{locale:t,format:t.yearFormat,generateConfig:i}));return d.createElement(ke.Provider,{value:f},d.createElement("div",{className:u},d.createElement(Ie,{superOffset:function(e){return i.addYear(o,10*e)},onChange:c,getStart:v,getEnd:h},A),d.createElement(Me,(0,a.A)({},e,{disabledDate:y,titleFormat:t.fieldYearFormat,colNum:3,rowNum:4,baseDate:b,getCellDate:function(e,n){return i.addYear(e,n)},getCellText:function(e){return Z(e,{locale:t,format:t.cellYearFormat,generateConfig:i})},getCellClassName:function(e){return(0,m.A)({},"".concat(n,"-cell-in-view"),H(i,e,x)||H(i,e,g)||G(i,x,g,e))}}))))},decade:function(e){var n=e.prefixCls,t=e.locale,i=e.generateConfig,o=e.pickerValue,s=e.disabledDate,c=e.onPickerValueChange,l="".concat(n,"-decade-panel"),u=Ne(e,"decade"),p=(0,r.A)(u,1)[0],f=function(e){var n=100*Math.floor(i.getYear(e)/100);return i.setYear(e,n)},v=function(e){var n=f(e);return i.addYear(n,99)},h=f(o),x=v(o),g=i.addYear(h,-10),b=s?function(e,n){var t=i.setDate(e,1),a=i.setMonth(t,0),o=i.setYear(a,10*Math.floor(i.getYear(a)/10)),r=i.addYear(o,10),c=i.addDate(r,-1);return s(o,n)&&s(c,n)}:null,y="".concat(Z(h,{locale:t,format:t.yearFormat,generateConfig:i}),"-").concat(Z(x,{locale:t,format:t.yearFormat,generateConfig:i}));return d.createElement(ke.Provider,{value:p},d.createElement("div",{className:l},d.createElement(Ie,{superOffset:function(e){return i.addYear(o,100*e)},onChange:c,getStart:f,getEnd:v},y),d.createElement(Me,(0,a.A)({},e,{disabledDate:b,colNum:3,rowNum:4,baseDate:g,getCellDate:function(e,n){return i.addYear(e,10*n)},getCellText:function(e){var n=t.cellYearFormat,a=Z(e,{locale:t,format:n,generateConfig:i}),o=Z(i.addYear(e,9),{locale:t,format:n,generateConfig:i});return"".concat(a,"-").concat(o)},getCellClassName:function(e){return(0,m.A)({},"".concat(n,"-cell-in-view"),q(i,e,h)||q(i,e,x)||G(i,h,x,e))}}))))},time:ze};function Le(e,n){var t,c=e.locale,l=e.generateConfig,u=e.direction,p=e.prefixCls,f=e.tabIndex,v=void 0===f?0:f,g=e.multiple,b=e.defaultValue,y=e.value,w=e.onChange,k=e.onSelect,E=e.defaultPickerValue,N=e.pickerValue,M=e.onPickerValueChange,R=e.mode,_=e.onPanelChange,P=e.picker,j=void 0===P?"date":P,F=e.showTime,T=e.hoverValue,D=e.hoverRangeValue,V=e.cellRender,L=e.dateRender,q=e.monthCellRender,H=e.components,K=void 0===H?{}:H,Y=e.hideHeader,W=(null===(t=d.useContext(x))||void 0===t?void 0:t.prefixCls)||p||"rc-picker",B=d.useRef();d.useImperativeHandle(n,(function(){return{nativeElement:B.current}}));var U=O(e),X=(0,r.A)(U,4),G=X[0],Q=X[1],Z=X[2],J=X[3],ee=I(c,Q),ne="date"===j&&F?"datetime":j,te=d.useMemo((function(){return z(ne,Z,J,G,ee)}),[ne,Z,J,G,ee]),ae=l.getNow(),ie=(0,s.vz)(j,{value:R,postState:function(e){return e||"date"}}),oe=(0,r.A)(ie,2),re=oe[0],se=oe[1],ce="date"===re&&te?"datetime":re,le=Ce(l,c,ne),ue=(0,s.vz)(b,{value:y}),pe=(0,r.A)(ue,2),de=pe[0],me=pe[1],fe=d.useMemo((function(){var e=A(de).filter((function(e){return e}));return g?e:e.slice(0,1)}),[de,g]),ve=(0,s._q)((function(e){me(e),w&&(null===e||fe.length!==e.length||fe.some((function(n,t){return!$(l,c,n,e[t],ne)})))&&(null===w||void 0===w||w(g?e:e[0]))})),he=(0,s._q)((function(e){if(null===k||void 0===k||k(e),re===j){var n=g?le(fe,e):[e];ve(n)}})),xe=(0,s.vz)(E||fe[0]||ae,{value:N}),ge=(0,r.A)(xe,2),be=ge[0],ye=ge[1];d.useEffect((function(){fe[0]&&!N&&ye(fe[0])}),[fe[0]]);var Ae=function(e,n){null===_||void 0===_||_(e||N,n||re)},we=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];ye(e),null===M||void 0===M||M(e),n&&Ae(e)},ke=function(e,n){se(e),n&&we(n),Ae(n,e)},Ee=d.useMemo((function(){var e,n;if(Array.isArray(D)){var t=(0,r.A)(D,2);e=t[0],n=t[1]}else e=D;return e||n?(e=e||n,n=n||e,l.isAfter(e,n)?[n,e]:[e,n]):null}),[D,l]),Ne=S(V,L,q),Me=K[ce]||Ve[ce]||_e,Re=d.useContext(Se),Ie=d.useMemo((function(){return(0,o.A)((0,o.A)({},Re),{},{hideHeader:Y})}),[Re,Y]);var Pe="".concat(W,"-panel"),je=C(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return d.createElement(Se.Provider,{value:Ie},d.createElement("div",{ref:B,tabIndex:v,className:h()(Pe,(0,m.A)({},"".concat(Pe,"-rtl"),"rtl"===u))},d.createElement(Me,(0,a.A)({},je,{showTime:te,prefixCls:W,locale:ee,generateConfig:l,onModeChange:ke,pickerValue:be,onPickerValueChange:function(e){we(e,!0)},value:fe[0],onSelect:function(e){if(he(e),we(e),re!==j){var n=["decade","year"],t=[].concat(n,["month"]),a={quarter:[].concat(n,["quarter"]),week:[].concat((0,i.A)(t),["week"]),date:[].concat((0,i.A)(t),["date"])}[j]||t,o=a.indexOf(re),r=a[o+1];r&&ke(r,e)}},values:fe,cellRender:Ne,hoverRangeValue:Ee,hoverValue:T}))))}const qe=d.memo(d.forwardRef(Le));function He(e){var n=e.picker,t=e.multiplePanel,i=e.pickerValue,r=e.onPickerValueChange,s=e.needConfirm,c=e.onSubmit,l=e.range,u=e.hoverValue,p=d.useContext(x),m=p.prefixCls,f=p.generateConfig,v=d.useCallback((function(e,t){return ce(f,n,e,t)}),[f,n]),h=d.useMemo((function(){return v(i,1)}),[i,v]),g={onCellDblClick:function(){s&&c()}},b="time"===n,y=(0,o.A)((0,o.A)({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:b});return l?y.hoverRangeValue=u:y.hoverValue=u,t?d.createElement("div",{className:"".concat(m,"-panels")},d.createElement(Se.Provider,{value:(0,o.A)((0,o.A)({},g),{},{hideNext:!0})},d.createElement(qe,y)),d.createElement(Se.Provider,{value:(0,o.A)((0,o.A)({},g),{},{hidePrev:!0})},d.createElement(qe,(0,a.A)({},y,{pickerValue:h,onPickerValueChange:function(e){r(v(e,-1))}})))):d.createElement(Se.Provider,{value:(0,o.A)({},g)},d.createElement(qe,y))}function Ke(e){return"function"===typeof e?e():e}function Ye(e){var n=e.prefixCls,t=e.presets,a=e.onClick,i=e.onHover;return t.length?d.createElement("div",{className:"".concat(n,"-presets")},d.createElement("ul",null,t.map((function(e,n){var t=e.label,o=e.value;return d.createElement("li",{key:n,onClick:function(){a(Ke(o))},onMouseEnter:function(){i(Ke(o))},onMouseLeave:function(){i(null)}},t)})))):null}function We(e){var n=e.panelRender,t=e.internalMode,i=e.picker,o=e.showNow,s=e.range,c=e.multiple,l=e.activeInfo,u=void 0===l?[0,0,0]:l,p=e.presets,f=e.onPresetHover,v=e.onPresetSubmit,g=e.onFocus,b=e.onBlur,y=e.onPanelMouseDown,w=e.direction,C=e.value,k=e.onSelect,E=e.isInvalid,N=e.defaultOpenValue,S=e.onOk,M=e.onSubmit,R=d.useContext(x).prefixCls,I="".concat(R,"-panel"),_="rtl"===w,P=d.useRef(null),j=d.useRef(null),F=d.useState(0),T=(0,r.A)(F,2),D=T[0],O=T[1],z=d.useState(0),V=(0,r.A)(z,2),L=V[0],q=V[1],H=d.useState(0),K=(0,r.A)(H,2),Y=K[0],W=K[1],B=(0,r.A)(u,3),U=B[0],X=B[1],$=B[2],G=d.useState(0),Q=(0,r.A)(G,2),Z=Q[0],J=Q[1];function ee(e){return e.filter((function(e){return e}))}d.useEffect((function(){J(10)}),[U]),d.useEffect((function(){if(s&&j.current){var e,n=(null===(e=P.current)||void 0===e?void 0:e.offsetWidth)||0,t=j.current.getBoundingClientRect();if(!t.height||t.right<0)return void J((function(e){return Math.max(0,e-1)}));var a=(_?X-n:U)-t.left;if(W(a),D&&D<$){var i=_?t.right-(X-n+D):U+n-t.left-D,o=Math.max(0,i);q(o)}else q(0)}}),[Z,_,D,U,X,$,s]);var ne=d.useMemo((function(){return ee(A(C))}),[C]),te="time"===i&&!ne.length,ae=d.useMemo((function(){return te?ee([N]):ne}),[te,ne,N]),ie=te?N:ne,oe=d.useMemo((function(){return!ae.length||ae.some((function(e){return E(e)}))}),[ae,E]),re=d.createElement("div",{className:"".concat(R,"-panel-layout")},d.createElement(Ye,{prefixCls:R,presets:p,onClick:v,onHover:f}),d.createElement("div",null,d.createElement(He,(0,a.A)({},e,{value:ie})),d.createElement(we,(0,a.A)({},e,{showNow:!c&&o,invalid:oe,onSubmit:function(){te&&k(N),S(),M()}}))));n&&(re=n(re));var se="".concat(I,"-container"),ce="marginLeft",le="marginRight",ue=d.createElement("div",{onMouseDown:y,tabIndex:-1,className:h()(se,"".concat(R,"-").concat(t,"-panel-container")),style:(0,m.A)((0,m.A)({},_?le:ce,L),_?ce:le,"auto"),onFocus:g,onBlur:b},re);return s&&(ue=d.createElement("div",{onMouseDown:y,ref:j,className:h()("".concat(R,"-range-wrapper"),"".concat(R,"-").concat(i,"-range-wrapper"))},d.createElement("div",{ref:P,className:"".concat(R,"-range-arrow"),style:{left:Y}}),d.createElement(ge.A,{onResize:function(e){e.width&&O(e.width)}},ue))),ue}var Be=t(64916);function Ue(e,n){var t=e.format,a=e.maskFormat,i=e.generateConfig,r=e.locale,s=e.preserveInvalidOnBlur,c=e.inputReadOnly,l=e.required,p=e["aria-required"],m=e.onSubmit,f=e.onFocus,v=e.onBlur,h=e.onInputChange,x=e.onInvalid,g=e.open,b=e.onOpenChange,y=e.onKeyDown,A=e.onChange,w=e.activeHelp,C=e.name,k=e.autoComplete,E=e.id,N=e.value,S=e.invalid,M=e.placeholder,R=e.disabled,I=e.activeIndex,_=e.allHelp,P=e.picker,j=function(e,n){var t=i.locale.parse(r.locale,e,[n]);return t&&i.isValidate(t)?t:null},F=t[0],T=d.useCallback((function(e){return Z(e,{locale:r,format:F,generateConfig:i})}),[r,i,F]),D=d.useMemo((function(){return N.map(T)}),[N,T]),O=d.useMemo((function(){var e="time"===P?8:10,n="function"===typeof F?F(i.getNow()).length:F.length;return Math.max(e,n)+2}),[F,P,i]),z=function(e){for(var n=0;n<t.length;n+=1){var a=t[n];if("string"===typeof a){var i=j(e,a);if(i)return i}}return!1};return[function(t){function i(e){return void 0!==t?e[t]:e}var r=(0,u.A)(e,{aria:!0,data:!0}),d=(0,o.A)((0,o.A)({},r),{},{format:a,validateFormat:function(e){return!!z(e)},preserveInvalidOnBlur:s,readOnly:c,required:l,"aria-required":p,name:C,autoComplete:k,size:O,id:i(E),value:i(D)||"",invalid:i(S),placeholder:i(M),active:I===t,helped:_||w&&I===t,disabled:i(R),onFocus:function(e){f(e,t)},onBlur:function(e){v(e,t)},onSubmit:m,onChange:function(e){h();var n=z(e);if(n)return x(!1,t),void A(n,t);x(!!e,t)},onHelp:function(){b(!0,{index:t})},onKeyDown:function(e){var n=!1;if(null===y||void 0===y||y(e,(function(){n=!0})),!e.defaultPrevented&&!n)switch(e.key){case"Escape":b(!1,{index:t});break;case"Enter":g||b(!0)}}},null===n||void 0===n?void 0:n({valueTexts:D}));return Object.keys(d).forEach((function(e){void 0===d[e]&&delete d[e]})),d},T]}var Xe=["onMouseEnter","onMouseLeave"];function $e(e){return d.useMemo((function(){return C(e,Xe)}),[e])}var Ge=["icon","type"],Qe=["onClear"];function Ze(e){var n=e.icon,t=e.type,i=(0,Be.A)(e,Ge),o=d.useContext(x).prefixCls;return n?d.createElement("span",(0,a.A)({className:"".concat(o,"-").concat(t)},i),n):null}function Je(e){var n=e.onClear,t=(0,Be.A)(e,Qe);return d.createElement(Ze,(0,a.A)({},t,{type:"clear",role:"button",onMouseDown:function(e){e.preventDefault()},onClick:function(e){e.stopPropagation(),n()}}))}var en=t(26786),nn=t(96212),tn=["YYYY","MM","DD","HH","mm","ss","SSS"],an=function(){function e(n){(0,en.A)(this,e),(0,m.A)(this,"format",void 0),(0,m.A)(this,"maskFormat",void 0),(0,m.A)(this,"cells",void 0),(0,m.A)(this,"maskCells",void 0),this.format=n;var t=tn.map((function(e){return"(".concat(e,")")})).join("|"),a=new RegExp(t,"g");this.maskFormat=n.replace(a,(function(e){return"\u9867".repeat(e.length)}));var i=new RegExp("(".concat(tn.join("|"),")")),o=(n.split(i)||[]).filter((function(e){return e})),r=0;this.cells=o.map((function(e){var n=tn.includes(e),t=r,a=r+e.length;return r=a,{text:e,mask:n,start:t,end:a}})),this.maskCells=this.cells.filter((function(e){return e.mask}))}return(0,nn.A)(e,[{key:"getSelection",value:function(e){var n=this.maskCells[e]||{};return[n.start||0,n.end||0]}},{key:"match",value:function(e){for(var n=0;n<this.maskFormat.length;n+=1){var t=this.maskFormat[n],a=e[n];if(!a||"\u9867"!==t&&t!==a)return!1}return!0}},{key:"size",value:function(){return this.maskCells.length}},{key:"getMaskCellIndex",value:function(e){for(var n=Number.MAX_SAFE_INTEGER,t=0,a=0;a<this.maskCells.length;a+=1){var i=this.maskCells[a],o=i.start,r=i.end;if(e>=o&&e<=r)return a;var s=Math.min(Math.abs(e-o),Math.abs(e-r));s<n&&(n=s,t=a)}return t}}]),e}();var on=["active","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","preserveInvalidOnBlur","invalid","clearIcon"];const rn=d.forwardRef((function(e,n){var t=e.active,i=e.showActiveCls,o=void 0===i||i,l=e.suffixIcon,u=e.format,p=e.validateFormat,f=e.onChange,v=(e.onInput,e.helped),g=e.onHelp,b=e.onSubmit,A=e.onKeyDown,w=e.preserveInvalidOnBlur,C=void 0!==w&&w,k=e.invalid,E=e.clearIcon,N=(0,Be.A)(e,on),S=e.value,M=e.onFocus,R=e.onBlur,I=e.onMouseUp,_=d.useContext(x),P=_.prefixCls,j=_.input,F=void 0===j?"input":j,T="".concat(P,"-input"),D=d.useState(!1),O=(0,r.A)(D,2),z=O[0],V=O[1],L=d.useState(S),q=(0,r.A)(L,2),H=q[0],K=q[1],Y=d.useState(""),W=(0,r.A)(Y,2),B=W[0],U=W[1],X=d.useState(null),$=(0,r.A)(X,2),G=$[0],Q=$[1],Z=d.useState(null),J=(0,r.A)(Z,2),ee=J[0],ne=J[1],ae=H||"";d.useEffect((function(){K(S)}),[S]);var ie=d.useRef(),oe=d.useRef();d.useImperativeHandle(n,(function(){return{nativeElement:ie.current,inputElement:oe.current,focus:function(e){oe.current.focus(e)},blur:function(){oe.current.blur()}}}));var se=d.useMemo((function(){return new an(u||"")}),[u]),ce=d.useMemo((function(){return v?[0,0]:se.getSelection(G)}),[se,G,v]),le=(0,r.A)(ce,2),ue=le[0],pe=le[1],de=function(e){e&&e!==u&&e!==S&&g()},me=(0,s._q)((function(e){p(e)&&f(e),K(e),de(e)})),fe=d.useRef(!1),ve=function(e){R(e)};re(t,(function(){t||C||K(S)}));var he=function(e){"Enter"===e.key&&p(ae)&&b(),null===A||void 0===A||A(e)},xe=d.useRef();(0,c.A)((function(){if(z&&u&&!fe.current){if(se.match(ae))return oe.current.setSelectionRange(ue,pe),xe.current=(0,te.A)((function(){oe.current.setSelectionRange(ue,pe)})),function(){te.A.cancel(xe.current)};me(u)}}),[se,u,z,ae,G,ue,pe,ee,me]);var ge=u?{onFocus:function(e){V(!0),Q(0),U(""),M(e)},onBlur:function(e){V(!1),ve(e)},onKeyDown:function(e){he(e);var n=e.key,t=null,a=null,i=pe-ue,o=u.slice(ue,pe),s=function(e){Q((function(n){var t=n+e;return t=Math.max(t,0),t=Math.min(t,se.size()-1)}))},c=function(e){var n=function(e){return{YYYY:[0,9999,(new Date).getFullYear()],MM:[1,12],DD:[1,31],HH:[0,23],mm:[0,59],ss:[0,59],SSS:[0,999]}[e]}(o),t=(0,r.A)(n,3),a=t[0],i=t[1],s=t[2],c=ae.slice(ue,pe),l=Number(c);if(isNaN(l))return String(s||(e>0?a:i));var u=i-a+1;return String(a+(u+(l+e)-a)%u)};switch(n){case"Backspace":case"Delete":t="",a=o;break;case"ArrowLeft":t="",s(-1);break;case"ArrowRight":t="",s(1);break;case"ArrowUp":t="",a=c(1);break;case"ArrowDown":t="",a=c(-1);break;default:isNaN(Number(n))||(a=t=B+n)}if(null!==t&&(U(t),t.length>=i&&(s(1),U(""))),null!==a){var l=ae.slice(0,ue)+y(a,i)+ae.slice(pe);me(l.slice(0,u.length))}ne({})},onMouseDown:function(){fe.current=!0},onMouseUp:function(e){var n=e.target.selectionStart,t=se.getMaskCellIndex(n);Q(t),ne({}),null===I||void 0===I||I(e),fe.current=!1},onPaste:function(e){var n=e.clipboardData.getData("text");p(n)&&me(n)}}:{};return d.createElement("div",{ref:ie,className:h()(T,(0,m.A)((0,m.A)({},"".concat(T,"-active"),t&&o),"".concat(T,"-placeholder"),v))},d.createElement(F,(0,a.A)({ref:oe,"aria-invalid":k,autoComplete:"off"},N,{onKeyDown:he,onBlur:ve},ge,{value:ae,onChange:function(e){if(!u){var n=e.target.value;de(n),K(n),f(n)}}})),d.createElement(Ze,{type:"suffix",icon:l}),E)}));var sn=["id","prefix","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveInfo","placement","onMouseDown","required","aria-required","autoFocus","tabIndex"],cn=["index"];function ln(e,n){var t=e.id,i=e.prefix,c=e.clearIcon,l=e.suffixIcon,u=e.separator,p=void 0===u?"~":u,f=e.activeIndex,v=(e.activeHelp,e.allHelp,e.focused),g=(e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig,e.placeholder),b=e.className,y=e.style,A=e.onClick,w=e.onClear,C=e.value,k=(e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid,e.disabled),E=e.invalid,N=(e.inputReadOnly,e.direction),S=(e.onOpenChange,e.onActiveInfo),M=(e.placement,e.onMouseDown),R=(e.required,e["aria-required"],e.autoFocus),I=e.tabIndex,P=(0,Be.A)(e,sn),j="rtl"===N,F=d.useContext(x).prefixCls,T=d.useMemo((function(){if("string"===typeof t)return[t];var e=t||{};return[e.start,e.end]}),[t]),D=d.useRef(),O=d.useRef(),z=d.useRef(),V=function(e){var n;return null===(n=[O,z][e])||void 0===n?void 0:n.current};d.useImperativeHandle(n,(function(){return{nativeElement:D.current,focus:function(e){if("object"===(0,_.A)(e)){var n,t=e||{},a=t.index,i=void 0===a?0:a,o=(0,Be.A)(t,cn);null===(n=V(i))||void 0===n||n.focus(o)}else{var r;null===(r=V(null!==e&&void 0!==e?e:0))||void 0===r||r.focus()}},blur:function(){var e,n;null===(e=V(0))||void 0===e||e.blur(),null===(n=V(1))||void 0===n||n.blur()}}}));var L=$e(P),q=d.useMemo((function(){return Array.isArray(g)?g:[g,g]}),[g]),H=Ue((0,o.A)((0,o.A)({},e),{},{id:T,placeholder:q})),K=(0,r.A)(H,1)[0],Y=d.useState({position:"absolute",width:0}),W=(0,r.A)(Y,2),B=W[0],U=W[1],X=(0,s._q)((function(){var e=V(f);if(e){var n=e.nativeElement.getBoundingClientRect(),t=D.current.getBoundingClientRect(),a=n.left-t.left;U((function(e){return(0,o.A)((0,o.A)({},e),{},{width:n.width,left:a})})),S([n.left,n.right,t.width])}}));d.useEffect((function(){X()}),[f]);var $=c&&(C[0]&&!k[0]||C[1]&&!k[1]),G=R&&!k[0],Q=R&&!G&&!k[1];return d.createElement(ge.A,{onResize:X},d.createElement("div",(0,a.A)({},L,{className:h()(F,"".concat(F,"-range"),(0,m.A)((0,m.A)((0,m.A)((0,m.A)({},"".concat(F,"-focused"),v),"".concat(F,"-disabled"),k.every((function(e){return e}))),"".concat(F,"-invalid"),E.some((function(e){return e}))),"".concat(F,"-rtl"),j),b),style:y,ref:D,onClick:A,onMouseDown:function(e){var n=e.target;n!==O.current.inputElement&&n!==z.current.inputElement&&e.preventDefault(),null===M||void 0===M||M(e)}}),i&&d.createElement("div",{className:"".concat(F,"-prefix")},i),d.createElement(rn,(0,a.A)({ref:O},K(0),{autoFocus:G,tabIndex:I,"date-range":"start"})),d.createElement("div",{className:"".concat(F,"-range-separator")},p),d.createElement(rn,(0,a.A)({ref:z},K(1),{autoFocus:Q,tabIndex:I,"date-range":"end"})),d.createElement("div",{className:"".concat(F,"-active-bar"),style:B}),d.createElement(Ze,{type:"suffix",icon:l}),$&&d.createElement(Je,{icon:c,onClear:w})))}const un=d.forwardRef(ln);function pn(e,n){var t=null!==e&&void 0!==e?e:n;return Array.isArray(t)?t:[t,t]}function dn(e){return 1===e?"end":"start"}function mn(e,n){var t=ne(e,(function(){var n=e.disabled,t=e.allowEmpty;return{disabled:pn(n,!1),allowEmpty:pn(t,!1)}})),p=(0,r.A)(t,6),m=p[0],f=p[1],v=p[2],h=p[3],g=p[4],y=p[5],C=m.prefixCls,k=m.styles,R=m.classNames,I=m.defaultValue,_=m.value,P=m.needConfirm,j=m.onKeyDown,F=m.disabled,T=m.allowEmpty,D=m.disabledDate,O=m.minDate,z=m.maxDate,V=m.defaultOpen,L=m.open,q=m.onOpenChange,H=m.locale,K=m.generateConfig,Y=m.picker,W=m.showNow,B=m.showToday,U=m.showTime,X=m.mode,G=m.onPanelChange,Q=m.onCalendarChange,Z=m.onOk,J=m.defaultPickerValue,ee=m.pickerValue,te=m.onPickerValueChange,re=m.inputReadOnly,ce=m.suffixIcon,le=m.onFocus,pe=m.onBlur,de=m.presets,me=m.ranges,fe=m.components,ge=m.cellRender,be=m.dateRender,ye=m.monthCellRender,Ae=m.onClick,we=ie(n),Ce=ae(L,V,F,q),ke=(0,r.A)(Ce,2),Ee=ke[0],Ne=ke[1],Se=function(e,n){!F.some((function(e){return!e}))&&e||Ne(e,n)},Me=ve(K,H,h,!0,!1,I,_,Q,Z),Re=(0,r.A)(Me,5),Ie=Re[0],_e=Re[1],Pe=Re[2],je=Re[3],Fe=Re[4],Te=Pe(),De=se(F,T,Ee),Oe=(0,r.A)(De,9),ze=Oe[0],Ve=Oe[1],Le=Oe[2],qe=Oe[3],He=Oe[4],Ke=Oe[5],Ye=Oe[6],Be=Oe[7],Ue=Oe[8],Xe=function(e,n){Ve(!0),null===le||void 0===le||le(e,{range:dn(null!==n&&void 0!==n?n:qe)})},$e=function(e,n){Ve(!1),null===pe||void 0===pe||pe(e,{range:dn(null!==n&&void 0!==n?n:qe)})},Ge=d.useMemo((function(){if(!U)return null;var e=U.disabledTime,n=e?function(n){var t=dn(qe),a=E(Te,Ye,qe);return e(n,t,{from:a})}:void 0;return(0,o.A)((0,o.A)({},U),{},{disabledTime:n})}),[U,qe,Te,Ye]),Qe=(0,s.vz)([Y,Y],{value:X}),Ze=(0,r.A)(Qe,2),Je=Ze[0],en=Ze[1],nn=Je[qe]||Y,tn="date"===nn&&Ge?"datetime":nn,an=tn===Y&&"time"!==tn,on=xe(Y,nn,W,B,!0),rn=he(m,Ie,_e,Pe,je,F,h,ze,Ee,y),sn=(0,r.A)(rn,2),cn=sn[0],ln=sn[1],mn=function(e,n,t,a,i,s){var c=t[t.length-1];return function(l,u){var p=(0,r.A)(e,2),d=p[0],m=p[1],f=(0,o.A)((0,o.A)({},u),{},{from:E(e,t)});return!(1!==c||!n[0]||!d||$(a,i,d,l,f.type)||!a.isAfter(d,l))||!(0!==c||!n[1]||!m||$(a,i,m,l,f.type)||!a.isAfter(l,m))||(null===s||void 0===s?void 0:s(l,f))}}(Te,F,Ye,K,H,D),fn=M(Te,y,T),vn=(0,r.A)(fn,2),hn=vn[0],xn=vn[1],gn=ue(K,H,Te,Je,Ee,qe,f,an,J,ee,null===Ge||void 0===Ge?void 0:Ge.defaultOpenValue,te,O,z),bn=(0,r.A)(gn,2),yn=bn[0],An=bn[1],wn=(0,s._q)((function(e,n,t){var a=w(Je,qe,n);if(a[0]===Je[0]&&a[1]===Je[1]||en(a),G&&!1!==t){var o=(0,i.A)(Te);e&&(o[qe]=e),G(o,a)}})),Cn=function(e,n){return w(Te,n,e)},kn=function(e,n){var t=Te;e&&(t=Cn(e,qe)),Be(qe);var a=Ke(t);je(t),cn(qe,null===a),null===a?Se(!1,{force:!0}):n||we.current.focus({index:a})},En=d.useState(null),Nn=(0,r.A)(En,2),Sn=Nn[0],Mn=Nn[1],Rn=d.useState(null),In=(0,r.A)(Rn,2),_n=In[0],Pn=In[1],jn=d.useMemo((function(){return _n||Te}),[Te,_n]);d.useEffect((function(){Ee||Pn(null)}),[Ee]);var Fn=d.useState([0,0,0]),Tn=(0,r.A)(Fn,2),Dn=Tn[0],On=Tn[1],zn=oe(de,me),Vn=S(ge,be,ye,dn(qe)),Ln=Te[qe]||null,qn=(0,s._q)((function(e){return y(e,{activeIndex:qe})})),Hn=d.useMemo((function(){var e=(0,u.A)(m,!1);return(0,l.A)(m,[].concat((0,i.A)(Object.keys(e)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]))}),[m]),Kn=d.createElement(We,(0,a.A)({},Hn,{showNow:on,showTime:Ge,range:!0,multiplePanel:an,activeInfo:Dn,disabledDate:mn,onFocus:function(e){Se(!0),Xe(e)},onBlur:$e,onPanelMouseDown:function(){Le("panel")},picker:Y,mode:nn,internalMode:tn,onPanelChange:wn,format:g,value:Ln,isInvalid:qn,onChange:null,onSelect:function(e){var n=w(Te,qe,e);je(n),P||v||f!==tn||kn(e)},pickerValue:yn,defaultOpenValue:A(null===U||void 0===U?void 0:U.defaultOpenValue)[qe],onPickerValueChange:An,hoverValue:jn,onHover:function(e){Pn(e?Cn(e,qe):null),Mn("cell")},needConfirm:P,onSubmit:kn,onOk:Fe,presets:zn,onPresetHover:function(e){Pn(e),Mn("preset")},onPresetSubmit:function(e){ln(e)&&Se(!1,{force:!0})},onNow:function(e){kn(e)},cellRender:Vn})),Yn=d.useMemo((function(){return{prefixCls:C,locale:H,generateConfig:K,button:fe.button,input:fe.input}}),[C,H,K,fe.button,fe.input]);return(0,c.A)((function(){Ee&&void 0!==qe&&wn(null,Y,!1)}),[Ee,qe,Y]),(0,c.A)((function(){var e=Le();Ee||"input"!==e||(Se(!1),kn(null,!0)),Ee||!v||P||"panel"!==e||(Se(!0),kn())}),[Ee]),d.createElement(x.Provider,{value:Yn},d.createElement(b,(0,a.A)({},N(m),{popupElement:Kn,popupStyle:k.popup,popupClassName:R.popup,visible:Ee,onClose:function(){Se(!1)},range:!0}),d.createElement(un,(0,a.A)({},m,{ref:we,suffixIcon:ce,activeIndex:ze||Ee?qe:null,activeHelp:!!_n,allHelp:!!_n&&"preset"===Sn,focused:ze,onFocus:function(e,n){var t=Ye.length,a=Ye[t-1];t&&a!==n&&P&&!T[a]&&!Ue(a)&&Te[a]?we.current.focus({index:a}):(Le("input"),Se(!0,{inherit:!0}),qe!==n&&Ee&&!P&&v&&kn(null,!0),He(n),Xe(e,n))},onBlur:function(e,n){if(Se(!1),!P&&"input"===Le()){var t=Ke(Te);cn(qe,null===t)}$e(e,n)},onKeyDown:function(e,n){"Tab"===e.key&&kn(null,!0),null===j||void 0===j||j(e,n)},onSubmit:kn,value:jn,maskFormat:g,onChange:function(e,n){var t=Cn(e,n);je(t)},onInputChange:function(){Le("input")},format:h,inputReadOnly:re,disabled:F,open:Ee,onOpenChange:Se,onClick:function(e){var n,t=e.target.getRootNode();if(!we.current.nativeElement.contains(null!==(n=t.activeElement)&&void 0!==n?n:document.activeElement)){var a=F.findIndex((function(e){return!e}));a>=0&&we.current.focus({index:a})}Se(!0),null===Ae||void 0===Ae||Ae(e)},onClear:function(){ln(null),Se(!1,{force:!0})},invalid:hn,onInvalid:xn,onActiveInfo:On}))))}const fn=d.forwardRef(mn);var vn=t(40085);function hn(e){var n=e.prefixCls,t=e.value,a=e.onRemove,i=e.removeIcon,o=void 0===i?"\xd7":i,r=e.formatDate,s=e.disabled,c=e.maxTagCount,l=e.placeholder,u="".concat(n,"-selector"),p="".concat(n,"-selection"),m="".concat(p,"-overflow");function f(e,n){return d.createElement("span",{className:h()("".concat(p,"-item")),title:"string"===typeof e?e:null},d.createElement("span",{className:"".concat(p,"-item-content")},e),!s&&n&&d.createElement("span",{onMouseDown:function(e){e.preventDefault()},onClick:n,className:"".concat(p,"-item-remove")},o))}return d.createElement("div",{className:u},d.createElement(vn.A,{prefixCls:m,data:t,renderItem:function(e){return f(r(e),(function(n){n&&n.stopPropagation(),a(e)}))},renderRest:function(e){return f("+ ".concat(e.length," ..."))},itemKey:function(e){return r(e)},maxCount:c}),!t.length&&d.createElement("span",{className:"".concat(n,"-selection-placeholder")},l))}var xn=["id","open","prefix","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","tabIndex","removeIcon"];function gn(e,n){e.id;var t=e.open,i=e.prefix,s=e.clearIcon,c=e.suffixIcon,l=(e.activeHelp,e.allHelp,e.focused),u=(e.onFocus,e.onBlur,e.onKeyDown,e.locale),p=e.generateConfig,f=e.placeholder,v=e.className,g=e.style,b=e.onClick,y=e.onClear,A=e.internalPicker,w=e.value,C=e.onChange,k=e.onSubmit,E=(e.onInputChange,e.multiple),N=e.maxTagCount,S=(e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid,e.disabled),M=e.invalid,R=(e.inputReadOnly,e.direction),I=(e.onOpenChange,e.onMouseDown),_=(e.required,e["aria-required"],e.autoFocus),P=e.tabIndex,j=e.removeIcon,F=(0,Be.A)(e,xn),T="rtl"===R,D=d.useContext(x).prefixCls,O=d.useRef(),z=d.useRef();d.useImperativeHandle(n,(function(){return{nativeElement:O.current,focus:function(e){var n;null===(n=z.current)||void 0===n||n.focus(e)},blur:function(){var e;null===(e=z.current)||void 0===e||e.blur()}}}));var V=$e(F),L=Ue((0,o.A)((0,o.A)({},e),{},{onChange:function(e){C([e])}}),(function(e){return{value:e.valueTexts[0]||"",active:l}})),q=(0,r.A)(L,2),H=q[0],K=q[1],Y=!(!s||!w.length||S),W=E?d.createElement(d.Fragment,null,d.createElement(hn,{prefixCls:D,value:w,onRemove:function(e){var n=w.filter((function(n){return n&&!$(p,u,n,e,A)}));C(n),t||k()},formatDate:K,maxTagCount:N,disabled:S,removeIcon:j,placeholder:f}),d.createElement("input",{className:"".concat(D,"-multiple-input"),value:w.map(K).join(","),ref:z,readOnly:!0,autoFocus:_,tabIndex:P}),d.createElement(Ze,{type:"suffix",icon:c}),Y&&d.createElement(Je,{icon:s,onClear:y})):d.createElement(rn,(0,a.A)({ref:z},H(),{autoFocus:_,tabIndex:P,suffixIcon:c,clearIcon:Y&&d.createElement(Je,{icon:s,onClear:y}),showActiveCls:!1}));return d.createElement("div",(0,a.A)({},V,{className:h()(D,(0,m.A)((0,m.A)((0,m.A)((0,m.A)((0,m.A)({},"".concat(D,"-multiple"),E),"".concat(D,"-focused"),l),"".concat(D,"-disabled"),S),"".concat(D,"-invalid"),M),"".concat(D,"-rtl"),T),v),style:g,ref:O,onClick:b,onMouseDown:function(e){var n;e.target!==(null===(n=z.current)||void 0===n?void 0:n.inputElement)&&e.preventDefault(),null===I||void 0===I||I(e)}}),i&&d.createElement("div",{className:"".concat(D,"-prefix")},i),W)}const bn=d.forwardRef(gn);function yn(e,n){var t=ne(e),p=(0,r.A)(t,6),m=p[0],f=p[1],v=p[2],h=p[3],g=p[4],y=p[5],w=m,C=w.prefixCls,k=w.styles,E=w.classNames,R=w.order,I=w.defaultValue,_=w.value,P=w.needConfirm,j=w.onChange,F=w.onKeyDown,T=w.disabled,D=w.disabledDate,O=w.minDate,z=w.maxDate,V=w.defaultOpen,L=w.open,q=w.onOpenChange,H=w.locale,K=w.generateConfig,Y=w.picker,W=w.showNow,B=w.showToday,U=w.showTime,X=w.mode,$=w.onPanelChange,G=w.onCalendarChange,Q=w.onOk,Z=w.multiple,J=w.defaultPickerValue,ee=w.pickerValue,te=w.onPickerValueChange,re=w.inputReadOnly,ce=w.suffixIcon,le=w.removeIcon,pe=w.onFocus,de=w.onBlur,me=w.presets,fe=w.components,ge=w.cellRender,be=w.dateRender,ye=w.monthCellRender,Ae=w.onClick,we=ie(n);function ke(e){return null===e?null:Z?e:e[0]}var Ee=Ce(K,H,f),Ne=ae(L,V,[T],q),Se=(0,r.A)(Ne,2),Me=Se[0],Re=Se[1],Ie=ve(K,H,h,!1,R,I,_,(function(e,n,t){if(G){var a=(0,o.A)({},t);delete a.range,G(ke(e),ke(n),a)}}),(function(e){null===Q||void 0===Q||Q(ke(e))})),_e=(0,r.A)(Ie,5),Pe=_e[0],je=_e[1],Fe=_e[2],Te=_e[3],De=_e[4],Oe=Fe(),ze=se([T]),Ve=(0,r.A)(ze,4),Le=Ve[0],qe=Ve[1],He=Ve[2],Ke=Ve[3],Ye=function(e){qe(!0),null===pe||void 0===pe||pe(e,{})},Be=function(e){qe(!1),null===de||void 0===de||de(e,{})},Ue=(0,s.vz)(Y,{value:X}),Xe=(0,r.A)(Ue,2),$e=Xe[0],Ge=Xe[1],Qe="date"===$e&&U?"datetime":$e,Ze=xe(Y,$e,W,B),Je=j&&function(e,n){j(ke(e),ke(n))},en=he((0,o.A)((0,o.A)({},m),{},{onChange:Je}),Pe,je,Fe,Te,[],h,Le,Me,y),nn=(0,r.A)(en,2)[1],tn=M(Oe,y),an=(0,r.A)(tn,2),on=an[0],rn=an[1],sn=d.useMemo((function(){return on.some((function(e){return e}))}),[on]),cn=ue(K,H,Oe,[$e],Me,Ke,f,!1,J,ee,A(null===U||void 0===U?void 0:U.defaultOpenValue),(function(e,n){if(te){var t=(0,o.A)((0,o.A)({},n),{},{mode:n.mode[0]});delete t.range,te(e[0],t)}}),O,z),ln=(0,r.A)(cn,2),un=ln[0],pn=ln[1],dn=(0,s._q)((function(e,n,t){if(Ge(n),$&&!1!==t){var a=e||Oe[Oe.length-1];$(a,n)}})),mn=function(){nn(Fe()),Re(!1,{force:!0})},fn=d.useState(null),vn=(0,r.A)(fn,2),hn=vn[0],xn=vn[1],gn=d.useState(null),yn=(0,r.A)(gn,2),An=yn[0],wn=yn[1],Cn=d.useMemo((function(){var e=[An].concat((0,i.A)(Oe)).filter((function(e){return e}));return Z?e:e.slice(0,1)}),[Oe,An,Z]),kn=d.useMemo((function(){return!Z&&An?[An]:Oe.filter((function(e){return e}))}),[Oe,An,Z]);d.useEffect((function(){Me||wn(null)}),[Me]);var En=oe(me),Nn=function(e){var n=Z?Ee(Fe(),e):[e];nn(n)&&!Z&&Re(!1,{force:!0})},Sn=S(ge,be,ye),Mn=d.useMemo((function(){var e=(0,u.A)(m,!1),n=(0,l.A)(m,[].concat((0,i.A)(Object.keys(e)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,o.A)((0,o.A)({},n),{},{multiple:m.multiple})}),[m]),Rn=d.createElement(We,(0,a.A)({},Mn,{showNow:Ze,showTime:U,disabledDate:D,onFocus:function(e){Re(!0),Ye(e)},onBlur:Be,picker:Y,mode:$e,internalMode:Qe,onPanelChange:dn,format:g,value:Oe,isInvalid:y,onChange:null,onSelect:function(e){if(He("panel"),!Z||Qe===Y){var n=Z?Ee(Fe(),e):[e];Te(n),P||v||f!==Qe||mn()}},pickerValue:un,defaultOpenValue:null===U||void 0===U?void 0:U.defaultOpenValue,onPickerValueChange:pn,hoverValue:Cn,onHover:function(e){wn(e),xn("cell")},needConfirm:P,onSubmit:mn,onOk:De,presets:En,onPresetHover:function(e){wn(e),xn("preset")},onPresetSubmit:Nn,onNow:function(e){Nn(e)},cellRender:Sn})),In=d.useMemo((function(){return{prefixCls:C,locale:H,generateConfig:K,button:fe.button,input:fe.input}}),[C,H,K,fe.button,fe.input]);return(0,c.A)((function(){Me&&void 0!==Ke&&dn(null,Y,!1)}),[Me,Ke,Y]),(0,c.A)((function(){var e=He();Me||"input"!==e||(Re(!1),mn()),Me||!v||P||"panel"!==e||mn()}),[Me]),d.createElement(x.Provider,{value:In},d.createElement(b,(0,a.A)({},N(m),{popupElement:Rn,popupStyle:k.popup,popupClassName:E.popup,visible:Me,onClose:function(){Re(!1)}}),d.createElement(bn,(0,a.A)({},m,{ref:we,suffixIcon:ce,removeIcon:le,activeHelp:!!An,allHelp:!!An&&"preset"===hn,focused:Le,onFocus:function(e){He("input"),Re(!0,{inherit:!0}),Ye(e)},onBlur:function(e){Re(!1),Be(e)},onKeyDown:function(e,n){"Tab"===e.key&&mn(),null===F||void 0===F||F(e,n)},onSubmit:mn,value:kn,maskFormat:g,onChange:function(e){Te(e)},onInputChange:function(){He("input")},internalPicker:f,format:h,inputReadOnly:re,disabled:T,open:Me,onOpenChange:Re,onClick:function(e){T||we.current.nativeElement.contains(document.activeElement)||we.current.focus(),Re(!0),null===Ae||void 0===Ae||Ae(e)},onClear:function(){nn(null),Re(!1,{force:!0})},invalid:sn,onInvalid:function(e){rn(e,0)}}))))}const An=d.forwardRef(yn)},50845:(e,n,t)=>{"use strict";t.d(n,{I:()=>a});var a={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}},66950:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});var a=t(2250),i=t(50845);const o=(0,a.A)((0,a.A)({},i.I),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"})},14217:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});var a=t(2250),i=t(50845);const o=(0,a.A)((0,a.A)({},i.I),{},{locale:"ru_RU",today:"\u0421\u0435\u0433\u043e\u0434\u043d\u044f",now:"\u0421\u0435\u0439\u0447\u0430\u0441",backToToday:"\u0422\u0435\u043a\u0443\u0449\u0430\u044f \u0434\u0430\u0442\u0430",ok:"\u041e\u041a",clear:"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c",week:"\u041d\u0435\u0434\u0435\u043b\u044f",month:"\u041c\u0435\u0441\u044f\u0446",year:"\u0413\u043e\u0434",timeSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0440\u0435\u043c\u044f",dateSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0430\u0442\u0443",monthSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043c\u0435\u0441\u044f\u0446",yearSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0433\u043e\u0434",decadeSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",dateFormat:"D-M-YYYY",dateTimeFormat:"D-M-YYYY HH:mm:ss",previousMonth:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 (PageUp)",nextMonth:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 (PageDown)",previousYear:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u0433\u043e\u0434 (Control + left)",nextYear:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0433\u043e\u0434 (Control + right)",previousDecade:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0435 \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",nextDecade:"\u0421\u043b\u0435\u0434\u0443\u0449\u0435\u0435 \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",previousCentury:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u0432\u0435\u043a",nextCentury:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0432\u0435\u043a"})},77275:(e,n,t)=>{"use strict";t.d(n,{A:()=>C});var a=t(9793),i=t(98173),o=t(87191),r=(t(44449),t(2250)),s=t(53575),c=t(5343),l=t(45400),u=i.createContext(null);var p=t(60850),d=new Map;var m=new p.A((function(e){e.forEach((function(e){var n,t=e.target;null===(n=d.get(t))||void 0===n||n.forEach((function(e){return e(t)}))}))}));var f=t(26786),v=t(96212),h=t(91586),x=t(35387),g=function(e){(0,h.A)(t,e);var n=(0,x.A)(t);function t(){return(0,f.A)(this,t),n.apply(this,arguments)}return(0,v.A)(t,[{key:"render",value:function(){return this.props.children}}]),t}(i.Component);function b(e,n){var t=e.children,a=e.disabled,o=i.useRef(null),p=i.useRef(null),f=i.useContext(u),v="function"===typeof t,h=v?t(o):t,x=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),b=!v&&i.isValidElement(h)&&(0,l.f3)(h),y=b?(0,l.A9)(h):null,A=(0,l.xK)(y,o),w=function(){var e;return(0,c.Ay)(o.current)||(o.current&&"object"===(0,s.A)(o.current)?(0,c.Ay)(null===(e=o.current)||void 0===e?void 0:e.nativeElement):null)||(0,c.Ay)(p.current)};i.useImperativeHandle(n,(function(){return w()}));var C=i.useRef(e);C.current=e;var k=i.useCallback((function(e){var n=C.current,t=n.onResize,a=n.data,i=e.getBoundingClientRect(),o=i.width,s=i.height,c=e.offsetWidth,l=e.offsetHeight,u=Math.floor(o),p=Math.floor(s);if(x.current.width!==u||x.current.height!==p||x.current.offsetWidth!==c||x.current.offsetHeight!==l){var d={width:u,height:p,offsetWidth:c,offsetHeight:l};x.current=d;var m=c===Math.round(o)?o:c,v=l===Math.round(s)?s:l,h=(0,r.A)((0,r.A)({},d),{},{offsetWidth:m,offsetHeight:v});null===f||void 0===f||f(h,e,a),t&&Promise.resolve().then((function(){t(h,e)}))}}),[]);return i.useEffect((function(){var e,n,t=w();return t&&!a&&(e=t,n=k,d.has(e)||(d.set(e,new Set),m.observe(e)),d.get(e).add(n)),function(){return function(e,n){d.has(e)&&(d.get(e).delete(n),d.get(e).size||(m.unobserve(e),d.delete(e)))}(t,k)}}),[o.current,a]),i.createElement(g,{ref:p},b?i.cloneElement(h,{ref:A}):h)}const y=i.forwardRef(b);function A(e,n){var t=e.children;return("function"===typeof t?[t]:(0,o.A)(t)).map((function(t,o){var r=(null===t||void 0===t?void 0:t.key)||"".concat("rc-observer-key","-").concat(o);return i.createElement(y,(0,a.A)({},e,{key:r,ref:0===o?n:void 0}),t)}))}var w=i.forwardRef(A);w.Collection=function(e){var n=e.children,t=e.onBatchResize,a=i.useRef(0),o=i.useRef([]),r=i.useContext(u),s=i.useCallback((function(e,n,i){a.current+=1;var s=a.current;o.current.push({size:e,element:n,data:i}),Promise.resolve().then((function(){s===a.current&&(null===t||void 0===t||t(o.current),o.current=[])})),null===r||void 0===r||r(e,n,i)}),[t,r]);return i.createElement(u.Provider,{value:s},n)};const C=w},16493:(e,n,t)=>{"use strict";t.d(n,{A:()=>C});var a=t(9793),i=t(712),o=t(64916),r=t(70908),s=t(2250),c=t(53575),l=t(85591),u=t.n(l),p=t(57144),d=t(89408),m=t(45400),f=t(98173),v=t(52039),h=t(33122),x=function(e,n){if(!e)return null;var t={left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth,top:e.offsetTop,bottom:e.parentElement.clientHeight-e.clientHeight-e.offsetTop,height:e.clientHeight};return n?{left:0,right:0,width:0,top:t.top,bottom:t.bottom,height:t.height}:{left:t.left,right:t.right,width:t.width,top:0,bottom:0,height:0}},g=function(e){return void 0!==e?"".concat(e,"px"):void 0};function b(e){var n=e.prefixCls,t=e.containerRef,a=e.value,o=e.getValueIndex,r=e.motionName,c=e.onMotionStart,l=e.onMotionEnd,p=e.direction,d=e.vertical,b=void 0!==d&&d,y=f.useRef(null),A=f.useState(a),w=(0,i.A)(A,2),C=w[0],k=w[1],E=function(e){var a,i=o(e),r=null===(a=t.current)||void 0===a?void 0:a.querySelectorAll(".".concat(n,"-item"))[i];return(null===r||void 0===r?void 0:r.offsetParent)&&r},N=f.useState(null),S=(0,i.A)(N,2),M=S[0],R=S[1],I=f.useState(null),_=(0,i.A)(I,2),P=_[0],j=_[1];(0,h.A)((function(){if(C!==a){var e=E(C),n=E(a),t=x(e,b),i=x(n,b);k(a),R(t),j(i),e&&n?c():l()}}),[a]);var F=f.useMemo((function(){var e;return g(b?null!==(e=null===M||void 0===M?void 0:M.top)&&void 0!==e?e:0:"rtl"===p?-(null===M||void 0===M?void 0:M.right):null===M||void 0===M?void 0:M.left)}),[b,p,M]),T=f.useMemo((function(){var e;return g(b?null!==(e=null===P||void 0===P?void 0:P.top)&&void 0!==e?e:0:"rtl"===p?-(null===P||void 0===P?void 0:P.right):null===P||void 0===P?void 0:P.left)}),[b,p,P]);return M&&P?f.createElement(v.Ay,{visible:!0,motionName:r,motionAppear:!0,onAppearStart:function(){return b?{transform:"translateY(var(--thumb-start-top))",height:"var(--thumb-start-height)"}:{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return b?{transform:"translateY(var(--thumb-active-top))",height:"var(--thumb-active-height)"}:{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){R(null),j(null),l()}},(function(e,t){var a=e.className,i=e.style,o=(0,s.A)((0,s.A)({},i),{},{"--thumb-start-left":F,"--thumb-start-width":g(null===M||void 0===M?void 0:M.width),"--thumb-active-left":T,"--thumb-active-width":g(null===P||void 0===P?void 0:P.width),"--thumb-start-top":F,"--thumb-start-height":g(null===M||void 0===M?void 0:M.height),"--thumb-active-top":T,"--thumb-active-height":g(null===P||void 0===P?void 0:P.height)}),r={ref:(0,m.K4)(y,t),style:o,className:u()("".concat(n,"-thumb"),a)};return f.createElement("div",r)})):null}var y=["prefixCls","direction","vertical","options","disabled","defaultValue","value","name","onChange","className","motionName"];function A(e){return e.map((function(e){if("object"===(0,c.A)(e)&&null!==e){var n=function(e){return"undefined"!==typeof e.title?e.title:"object"!==(0,c.A)(e.label)?null===(n=e.label)||void 0===n?void 0:n.toString():void 0;var n}(e);return(0,s.A)((0,s.A)({},e),{},{title:n})}return{label:null===e||void 0===e?void 0:e.toString(),title:null===e||void 0===e?void 0:e.toString(),value:e}}))}var w=function(e){var n=e.prefixCls,t=e.className,a=e.disabled,i=e.checked,o=e.label,s=e.title,c=e.value,l=e.name,p=e.onChange,d=e.onFocus,m=e.onBlur,v=e.onKeyDown,h=e.onKeyUp,x=e.onMouseDown;return f.createElement("label",{className:u()(t,(0,r.A)({},"".concat(n,"-item-disabled"),a)),onMouseDown:x},f.createElement("input",{name:l,className:"".concat(n,"-item-input"),type:"radio",disabled:a,checked:i,onChange:function(e){a||p(e,c)},onFocus:d,onBlur:m,onKeyDown:v,onKeyUp:h}),f.createElement("div",{className:"".concat(n,"-item-label"),title:s,"aria-selected":i},o))};const C=f.forwardRef((function(e,n){var t,s,c=e.prefixCls,l=void 0===c?"rc-segmented":c,v=e.direction,h=e.vertical,x=e.options,g=void 0===x?[]:x,C=e.disabled,k=e.defaultValue,E=e.value,N=e.name,S=e.onChange,M=e.className,R=void 0===M?"":M,I=e.motionName,_=void 0===I?"thumb-motion":I,P=(0,o.A)(e,y),j=f.useRef(null),F=f.useMemo((function(){return(0,m.K4)(j,n)}),[j,n]),T=f.useMemo((function(){return A(g)}),[g]),D=(0,p.A)(null===(t=T[0])||void 0===t?void 0:t.value,{value:E,defaultValue:k}),O=(0,i.A)(D,2),z=O[0],V=O[1],L=f.useState(!1),q=(0,i.A)(L,2),H=q[0],K=q[1],Y=function(e,n){V(n),null===S||void 0===S||S(n)},W=(0,d.A)(P,["children"]),B=f.useState(!1),U=(0,i.A)(B,2),X=U[0],$=U[1],G=f.useState(!1),Q=(0,i.A)(G,2),Z=Q[0],J=Q[1],ee=function(){J(!0)},ne=function(){J(!1)},te=function(){$(!1)},ae=function(e){"Tab"===e.key&&$(!0)},ie=function(e){var n=T.findIndex((function(e){return e.value===z})),t=T.length,a=T[(n+e+t)%t];a&&(V(a.value),null===S||void 0===S||S(a.value))},oe=function(e){switch(e.key){case"ArrowLeft":case"ArrowUp":ie(-1);break;case"ArrowRight":case"ArrowDown":ie(1)}};return f.createElement("div",(0,a.A)({role:"radiogroup","aria-label":"segmented control",tabIndex:C?void 0:0},W,{className:u()(l,(s={},(0,r.A)(s,"".concat(l,"-rtl"),"rtl"===v),(0,r.A)(s,"".concat(l,"-disabled"),C),(0,r.A)(s,"".concat(l,"-vertical"),h),s),R),ref:F}),f.createElement("div",{className:"".concat(l,"-group")},f.createElement(b,{vertical:h,prefixCls:l,value:z,containerRef:j,motionName:"".concat(l,"-").concat(_),direction:v,getValueIndex:function(e){return T.findIndex((function(n){return n.value===e}))},onMotionStart:function(){K(!0)},onMotionEnd:function(){K(!1)}}),T.map((function(e){var n;return f.createElement(w,(0,a.A)({},e,{name:N,key:e.value,prefixCls:l,className:u()(e.className,"".concat(l,"-item"),(n={},(0,r.A)(n,"".concat(l,"-item-selected"),e.value===z&&!H),(0,r.A)(n,"".concat(l,"-item-focused"),Z&&X&&e.value===z),n)),checked:e.value===z,onChange:Y,onFocus:ee,onBlur:ne,onKeyDown:oe,onKeyUp:ae,onMouseDown:te,disabled:!!C||!!e.disabled}))}))))}))},80908:(e,n,t)=>{"use strict";t.d(n,{Ay:()=>c});var a=t(712),i=t(98173),o=t(15717),r=0,s=(0,o.A)();function c(e){var n=i.useState(),t=(0,a.A)(n,2),o=t[0],c=t[1];return i.useEffect((function(){c("rc_select_".concat(function(){var e;return s?(e=r,r+=1):e="TEST_OR_SSR",e}()))}),[]),e||o}},76364:(e,n,t)=>{"use strict";t.d(n,{g3:()=>ee,JM:()=>te,c$:()=>ie,Ay:()=>Ce,Vm:()=>y});var a=t(9793),i=t(83912),o=t(70908),r=t(2250),s=t(712),c=t(64916),l=t(53575),u=t(57144),p=t(44449),d=t(98173),m=t(85591),f=t.n(m),v=t(33122),h=t(27095),x=t(45400);const g=function(e){var n=e.className,t=e.customizeIcon,a=e.customizeIconProps,i=e.children,o=e.onMouseDown,r=e.onClick,s="function"===typeof t?t(a):t;return d.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),null===o||void 0===o||o(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:r,"aria-hidden":!0},void 0!==s?s:d.createElement("span",{className:f()(n.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},i))};var b=d.createContext(null);function y(){return d.useContext(b)}function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,n=d.useRef(null),t=d.useRef(null);return d.useEffect((function(){return function(){window.clearTimeout(t.current)}}),[]),[function(){return n.current},function(a){(a||null===n.current)&&(n.current=a),window.clearTimeout(t.current),t.current=window.setTimeout((function(){n.current=null}),e)}]}var w=t(60871);var C=t(14902),k=t(40085),E=t(47719),N=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],S=function(e,n){var t=e.prefixCls,a=e.id,i=e.inputElement,o=e.autoFocus,s=e.autoComplete,l=e.editable,u=e.activeDescendantId,m=e.value,v=e.open,h=e.attrs,g=(0,c.A)(e,N),b=i||d.createElement("input",null),y=b,A=y.ref,w=y.props;return(0,p.$e)(!("maxLength"in b.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),b=d.cloneElement(b,(0,r.A)((0,r.A)((0,r.A)({type:"search"},(0,E.A)(g,w,!0)),{},{id:a,ref:(0,x.K4)(n,A),autoComplete:s||"off",autoFocus:o,className:f()("".concat(t,"-selection-search-input"),null===w||void 0===w?void 0:w.className),role:"combobox","aria-expanded":v||!1,"aria-haspopup":"listbox","aria-owns":"".concat(a,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(a,"_list"),"aria-activedescendant":v?u:void 0},h),{},{value:l?m:"",readOnly:!l,unselectable:l?null:"on",style:(0,r.A)((0,r.A)({},w.style),{},{opacity:l?null:0})}))};const M=d.forwardRef(S);function R(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var I="undefined"!==typeof window&&window.document&&window.document.documentElement;function _(e){return["string","number"].includes((0,l.A)(e))}function P(e){var n=void 0;return e&&(_(e.title)?n=e.title.toString():_(e.label)&&(n=e.label.toString())),n}function j(e){var n;return null!==(n=e.key)&&void 0!==n?n:e.value}var F=function(e){e.preventDefault(),e.stopPropagation()};const T=function(e){var n,t,a=e.id,i=e.prefixCls,r=e.values,c=e.open,l=e.searchValue,u=e.autoClearSearchValue,p=e.inputRef,m=e.placeholder,v=e.disabled,h=e.mode,x=e.showSearch,b=e.autoFocus,y=e.autoComplete,A=e.activeDescendantId,w=e.tabIndex,E=e.removeIcon,N=e.maxTagCount,S=e.maxTagTextLength,R=e.maxTagPlaceholder,_=void 0===R?function(e){return"+ ".concat(e.length," ...")}:R,T=e.tagRender,D=e.onToggleOpen,O=e.onRemove,z=e.onInputChange,V=e.onInputPaste,L=e.onInputKeyDown,q=e.onInputMouseDown,H=e.onInputCompositionStart,K=e.onInputCompositionEnd,Y=e.onInputBlur,W=d.useRef(null),B=(0,d.useState)(0),U=(0,s.A)(B,2),X=U[0],$=U[1],G=(0,d.useState)(!1),Q=(0,s.A)(G,2),Z=Q[0],J=Q[1],ee="".concat(i,"-selection"),ne=c||"multiple"===h&&!1===u||"tags"===h?l:"",te="tags"===h||"multiple"===h&&!1===u||x&&(c||Z);n=function(){$(W.current.scrollWidth)},t=[ne],I?d.useLayoutEffect(n,t):d.useEffect(n,t);var ae=function(e,n,t,a,i){return d.createElement("span",{title:P(e),className:f()("".concat(ee,"-item"),(0,o.A)({},"".concat(ee,"-item-disabled"),t))},d.createElement("span",{className:"".concat(ee,"-item-content")},n),a&&d.createElement(g,{className:"".concat(ee,"-item-remove"),onMouseDown:F,onClick:i,customizeIcon:E},"\xd7"))},ie=function(e,n,t,a,i,o){return d.createElement("span",{onMouseDown:function(e){F(e),D(!c)}},T({label:n,value:e,disabled:t,closable:a,onClose:i,isMaxTag:!!o}))},oe=d.createElement("div",{className:"".concat(ee,"-search"),style:{width:X},onFocus:function(){J(!0)},onBlur:function(){J(!1)}},d.createElement(M,{ref:p,open:c,prefixCls:i,id:a,inputElement:null,disabled:v,autoFocus:b,autoComplete:y,editable:te,activeDescendantId:A,value:ne,onKeyDown:L,onMouseDown:q,onChange:z,onPaste:V,onCompositionStart:H,onCompositionEnd:K,onBlur:Y,tabIndex:w,attrs:(0,C.A)(e,!0)}),d.createElement("span",{ref:W,className:"".concat(ee,"-search-mirror"),"aria-hidden":!0},ne,"\xa0")),re=d.createElement(k.A,{prefixCls:"".concat(ee,"-overflow"),data:r,renderItem:function(e){var n=e.disabled,t=e.label,a=e.value,i=!v&&!n,o=t;if("number"===typeof S&&("string"===typeof t||"number"===typeof t)){var r=String(o);r.length>S&&(o="".concat(r.slice(0,S),"..."))}var s=function(n){n&&n.stopPropagation(),O(e)};return"function"===typeof T?ie(a,o,n,i,s):ae(e,o,n,i,s)},renderRest:function(e){if(!r.length)return null;var n="function"===typeof _?_(e):_;return"function"===typeof T?ie(void 0,n,!1,!1,void 0,!0):ae({title:n},n,!1)},suffix:oe,itemKey:j,maxCount:N});return d.createElement("span",{className:"".concat(ee,"-wrap")},re,!r.length&&!ne&&d.createElement("span",{className:"".concat(ee,"-placeholder")},m))};const D=function(e){var n=e.inputElement,t=e.prefixCls,a=e.id,i=e.inputRef,o=e.disabled,r=e.autoFocus,c=e.autoComplete,l=e.activeDescendantId,u=e.mode,p=e.open,m=e.values,f=e.placeholder,v=e.tabIndex,h=e.showSearch,x=e.searchValue,g=e.activeValue,b=e.maxLength,y=e.onInputKeyDown,A=e.onInputMouseDown,w=e.onInputChange,k=e.onInputPaste,E=e.onInputCompositionStart,N=e.onInputCompositionEnd,S=e.onInputBlur,R=e.title,I=d.useState(!1),_=(0,s.A)(I,2),j=_[0],F=_[1],T="combobox"===u,D=T||h,O=m[0],z=x||"";T&&g&&!j&&(z=g),d.useEffect((function(){T&&F(!1)}),[T,g]);var V=!("combobox"!==u&&!p&&!h)&&!!z,L=void 0===R?P(O):R,q=d.useMemo((function(){return O?null:d.createElement("span",{className:"".concat(t,"-selection-placeholder"),style:V?{visibility:"hidden"}:void 0},f)}),[O,V,f,t]);return d.createElement("span",{className:"".concat(t,"-selection-wrap")},d.createElement("span",{className:"".concat(t,"-selection-search")},d.createElement(M,{ref:i,prefixCls:t,id:a,open:p,inputElement:n,disabled:o,autoFocus:r,autoComplete:c,editable:D,activeDescendantId:l,value:z,onKeyDown:y,onMouseDown:A,onChange:function(e){F(!0),w(e)},onPaste:k,onCompositionStart:E,onCompositionEnd:N,onBlur:S,tabIndex:v,attrs:(0,C.A)(e,!0),maxLength:T?b:void 0})),!T&&O?d.createElement("span",{className:"".concat(t,"-selection-item"),title:L,style:V?{visibility:"hidden"}:void 0},O.label):null,q)};var O=function(e,n){var t=(0,d.useRef)(null),i=(0,d.useRef)(!1),o=e.prefixCls,r=e.open,c=e.mode,l=e.showSearch,u=e.tokenWithEnter,p=e.disabled,m=e.prefix,f=e.autoClearSearchValue,v=e.onSearch,h=e.onSearchSubmit,x=e.onToggleOpen,g=e.onInputKeyDown,b=e.onInputBlur,y=e.domRef;d.useImperativeHandle(n,(function(){return{focus:function(e){t.current.focus(e)},blur:function(){t.current.blur()}}}));var C=A(0),k=(0,s.A)(C,2),E=k[0],N=k[1],S=(0,d.useRef)(null),M=function(e){!1!==v(e,!0,i.current)&&x(!0)},R={inputRef:t,onInputKeyDown:function(e){var n,a=e.which,o=t.current instanceof HTMLTextAreaElement;(o||!r||a!==w.A.UP&&a!==w.A.DOWN||e.preventDefault(),g&&g(e),a!==w.A.ENTER||"tags"!==c||i.current||r||null===h||void 0===h||h(e.target.value),o&&!r&&~[w.A.UP,w.A.DOWN,w.A.LEFT,w.A.RIGHT].indexOf(a))||(n=a)&&![w.A.ESC,w.A.SHIFT,w.A.BACKSPACE,w.A.TAB,w.A.WIN_KEY,w.A.ALT,w.A.META,w.A.WIN_KEY_RIGHT,w.A.CTRL,w.A.SEMICOLON,w.A.EQUALS,w.A.CAPS_LOCK,w.A.CONTEXT_MENU,w.A.F1,w.A.F2,w.A.F3,w.A.F4,w.A.F5,w.A.F6,w.A.F7,w.A.F8,w.A.F9,w.A.F10,w.A.F11,w.A.F12].includes(n)&&x(!0)},onInputMouseDown:function(){N(!0)},onInputChange:function(e){var n=e.target.value;if(u&&S.current&&/[\r\n]/.test(S.current)){var t=S.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");n=n.replace(t,S.current)}S.current=null,M(n)},onInputPaste:function(e){var n=e.clipboardData,t=null===n||void 0===n?void 0:n.getData("text");S.current=t||""},onInputCompositionStart:function(){i.current=!0},onInputCompositionEnd:function(e){i.current=!1,"combobox"!==c&&M(e.target.value)},onInputBlur:b},I="multiple"===c||"tags"===c?d.createElement(T,(0,a.A)({},e,R)):d.createElement(D,(0,a.A)({},e,R));return d.createElement("div",{ref:y,className:"".concat(o,"-selector"),onClick:function(e){e.target!==t.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){t.current.focus()})):t.current.focus())},onMouseDown:function(e){var n=E();e.target===t.current||n||"combobox"===c&&p||e.preventDefault(),("combobox"===c||l&&n)&&r||(r&&!1!==f&&v("",!0,!1),x())}},m&&d.createElement("div",{className:"".concat(o,"-prefix")},m),I)};const z=d.forwardRef(O);var V=t(26409),L=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],q=function(e,n){var t=e.prefixCls,i=(e.disabled,e.visible),s=e.children,l=e.popupElement,u=e.animation,p=e.transitionName,m=e.dropdownStyle,v=e.dropdownClassName,h=e.direction,x=void 0===h?"ltr":h,g=e.placement,b=e.builtinPlacements,y=e.dropdownMatchSelectWidth,A=e.dropdownRender,w=e.dropdownAlign,C=e.getPopupContainer,k=e.empty,E=e.getTriggerDOMNode,N=e.onPopupVisibleChange,S=e.onPopupMouseEnter,M=(0,c.A)(e,L),R="".concat(t,"-dropdown"),I=l;A&&(I=A(l));var _=d.useMemo((function(){return b||function(e){var n=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"}}}(y)}),[b,y]),P=u?"".concat(R,"-").concat(u):p,j="number"===typeof y,F=d.useMemo((function(){return j?null:!1===y?"minWidth":"width"}),[y,j]),T=m;j&&(T=(0,r.A)((0,r.A)({},T),{},{width:y}));var D=d.useRef(null);return d.useImperativeHandle(n,(function(){return{getPopupElement:function(){var e;return null===(e=D.current)||void 0===e?void 0:e.popupElement}}})),d.createElement(V.A,(0,a.A)({},M,{showAction:N?["click"]:[],hideAction:N?["click"]:[],popupPlacement:g||("rtl"===x?"bottomRight":"bottomLeft"),builtinPlacements:_,prefixCls:R,popupTransitionName:P,popup:d.createElement("div",{onMouseEnter:S},I),ref:D,stretch:F,popupAlign:w,popupVisible:i,getPopupContainer:C,popupClassName:f()(v,(0,o.A)({},"".concat(R,"-empty"),k)),popupStyle:T,getTriggerDOMNode:E,onPopupVisibleChange:N}),s)};const H=d.forwardRef(q);var K=t(9490);function Y(e,n){var t,a=e.key;return"value"in e&&(t=e.value),null!==a&&void 0!==a?a:void 0!==t?t:"rc-index-key-".concat(n)}function W(e){return"undefined"!==typeof e&&!Number.isNaN(e)}function B(e,n){var t=e||{},a=t.label||(n?"children":"label");return{label:a,value:t.value||"value",options:t.options||"options",groupLabel:t.groupLabel||a}}function U(e){var n=(0,r.A)({},e);return"props"in n||Object.defineProperty(n,"props",{get:function(){return(0,p.Ay)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),n}}),n}const X=d.createContext(null);function $(e){var n=e.visible,t=e.values;if(!n)return null;return d.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(t.slice(0,50).map((function(e){var n=e.label,t=e.value;return["number","string"].includes((0,l.A)(n))?n:t})).join(", ")),t.length>50?", ...":null)}var G=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Q=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Z=function(e){return"tags"===e||"multiple"===e},J=d.forwardRef((function(e,n){var t,p=e.id,m=e.prefixCls,y=e.className,w=e.showSearch,C=e.tagRender,k=e.direction,E=e.omitDomProps,N=e.displayValues,S=e.onDisplayValuesChange,M=e.emptyOptions,R=e.notFoundContent,I=void 0===R?"Not Found":R,_=e.onClear,P=e.mode,j=e.disabled,F=e.loading,T=e.getInputElement,D=e.getRawInputElement,O=e.open,V=e.defaultOpen,L=e.onDropdownVisibleChange,q=e.activeValue,Y=e.onActiveValueChange,B=e.activeDescendantId,U=e.searchValue,J=e.autoClearSearchValue,ee=e.onSearch,ne=e.onSearchSplit,te=e.tokenSeparators,ae=e.allowClear,ie=e.prefix,oe=e.suffixIcon,re=e.clearIcon,se=e.OptionList,ce=e.animation,le=e.transitionName,ue=e.dropdownStyle,pe=e.dropdownClassName,de=e.dropdownMatchSelectWidth,me=e.dropdownRender,fe=e.dropdownAlign,ve=e.placement,he=e.builtinPlacements,xe=e.getPopupContainer,ge=e.showAction,be=void 0===ge?[]:ge,ye=e.onFocus,Ae=e.onBlur,we=e.onKeyUp,Ce=e.onKeyDown,ke=e.onMouseDown,Ee=(0,c.A)(e,G),Ne=Z(P),Se=(void 0!==w?w:Ne)||"combobox"===P,Me=(0,r.A)({},Ee);Q.forEach((function(e){delete Me[e]})),null===E||void 0===E||E.forEach((function(e){delete Me[e]}));var Re=d.useState(!1),Ie=(0,s.A)(Re,2),_e=Ie[0],Pe=Ie[1];d.useEffect((function(){Pe((0,h.A)())}),[]);var je=d.useRef(null),Fe=d.useRef(null),Te=d.useRef(null),De=d.useRef(null),Oe=d.useRef(null),ze=d.useRef(!1),Ve=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,n=d.useState(!1),t=(0,s.A)(n,2),a=t[0],i=t[1],o=d.useRef(null),r=function(){window.clearTimeout(o.current)};return d.useEffect((function(){return r}),[]),[a,function(n,t){r(),o.current=window.setTimeout((function(){i(n),t&&t()}),e)},r]}(),Le=(0,s.A)(Ve,3),qe=Le[0],He=Le[1],Ke=Le[2];d.useImperativeHandle(n,(function(){var e,n;return{focus:null===(e=De.current)||void 0===e?void 0:e.focus,blur:null===(n=De.current)||void 0===n?void 0:n.blur,scrollTo:function(e){var n;return null===(n=Oe.current)||void 0===n?void 0:n.scrollTo(e)},nativeElement:je.current||Fe.current}}));var Ye=d.useMemo((function(){var e;if("combobox"!==P)return U;var n=null===(e=N[0])||void 0===e?void 0:e.value;return"string"===typeof n||"number"===typeof n?String(n):""}),[U,P,N]),We="combobox"===P&&"function"===typeof T&&T()||null,Be="function"===typeof D&&D(),Ue=(0,x.xK)(Fe,null===Be||void 0===Be||null===(t=Be.props)||void 0===t?void 0:t.ref),Xe=d.useState(!1),$e=(0,s.A)(Xe,2),Ge=$e[0],Qe=$e[1];(0,v.A)((function(){Qe(!0)}),[]);var Ze=(0,u.A)(!1,{defaultValue:V,value:O}),Je=(0,s.A)(Ze,2),en=Je[0],nn=Je[1],tn=!!Ge&&en,an=!I&&M;(j||an&&tn&&"combobox"===P)&&(tn=!1);var on=!an&&tn,rn=d.useCallback((function(e){var n=void 0!==e?e:!tn;j||(nn(n),tn!==n&&(null===L||void 0===L||L(n)))}),[j,tn,nn,L]),sn=d.useMemo((function(){return(te||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[te]),cn=d.useContext(X)||{},ln=cn.maxCount,un=cn.rawValues,pn=function(e,n,t){if(!(Ne&&W(ln)&&(null===un||void 0===un?void 0:un.size)>=ln)){var a=!0,o=e;null===Y||void 0===Y||Y(null);var r=function(e,n,t){if(!n||!n.length)return null;var a=!1,o=function e(n,t){var o=(0,K.A)(t),r=o[0],s=o.slice(1);if(!r)return[n];var c=n.split(r);return a=a||c.length>1,c.reduce((function(n,t){return[].concat((0,i.A)(n),(0,i.A)(e(t,s)))}),[]).filter(Boolean)}(e,n);return a?"undefined"!==typeof t?o.slice(0,t):o:null}(e,te,W(ln)?ln-un.size:void 0),s=t?null:r;return"combobox"!==P&&s&&(o="",null===ne||void 0===ne||ne(s),rn(!1),a=!1),ee&&Ye!==o&&ee(o,{source:n?"typing":"effect"}),a}};d.useEffect((function(){tn||Ne||"combobox"===P||pn("",!1,!1)}),[tn]),d.useEffect((function(){en&&j&&nn(!1),j&&!ze.current&&He(!1)}),[j]);var dn=A(),mn=(0,s.A)(dn,2),fn=mn[0],vn=mn[1],hn=d.useRef(!1),xn=d.useRef(!1),gn=[];d.useEffect((function(){return function(){gn.forEach((function(e){return clearTimeout(e)})),gn.splice(0,gn.length)}}),[]);var bn,yn=d.useState({}),An=(0,s.A)(yn,2)[1];Be&&(bn=function(e){rn(e)}),function(e,n,t,a){var i=d.useRef(null);i.current={open:n,triggerOpen:t,customizedTrigger:a},d.useEffect((function(){function n(n){var t;if(null===(t=i.current)||void 0===t||!t.customizedTrigger){var a=n.target;a.shadowRoot&&n.composed&&(a=n.composedPath()[0]||a),i.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(a)&&e!==a}))&&i.current.triggerOpen(!1)}}return window.addEventListener("mousedown",n),function(){return window.removeEventListener("mousedown",n)}}),[])}((function(){var e;return[je.current,null===(e=Te.current)||void 0===e?void 0:e.getPopupElement()]}),on,rn,!!Be);var wn,Cn=d.useMemo((function(){return(0,r.A)((0,r.A)({},e),{},{notFoundContent:I,open:tn,triggerOpen:on,id:p,showSearch:Se,multiple:Ne,toggleOpen:rn})}),[e,I,on,tn,p,Se,Ne,rn]),kn=!!oe||F;kn&&(wn=d.createElement(g,{className:f()("".concat(m,"-arrow"),(0,o.A)({},"".concat(m,"-arrow-loading"),F)),customizeIcon:oe,customizeIconProps:{loading:F,searchValue:Ye,open:tn,focused:qe,showSearch:Se}}));var En,Nn=function(e,n,t,a,i){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],r=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,c=d.useMemo((function(){return"object"===(0,l.A)(a)?a.clearIcon:i||void 0}),[a,i]);return{allowClear:d.useMemo((function(){return!(o||!a||!t.length&&!r||"combobox"===s&&""===r)}),[a,o,t.length,r,s]),clearIcon:d.createElement(g,{className:"".concat(e,"-clear"),onMouseDown:n,customizeIcon:c},"\xd7")}}(m,(function(){var e;null===_||void 0===_||_(),null===(e=De.current)||void 0===e||e.focus(),S([],{type:"clear",values:N}),pn("",!1,!1)}),N,ae,re,j,Ye,P),Sn=Nn.allowClear,Mn=Nn.clearIcon,Rn=d.createElement(se,{ref:Oe}),In=f()(m,y,(0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)({},"".concat(m,"-focused"),qe),"".concat(m,"-multiple"),Ne),"".concat(m,"-single"),!Ne),"".concat(m,"-allow-clear"),ae),"".concat(m,"-show-arrow"),kn),"".concat(m,"-disabled"),j),"".concat(m,"-loading"),F),"".concat(m,"-open"),tn),"".concat(m,"-customize-input"),We),"".concat(m,"-show-search"),Se)),_n=d.createElement(H,{ref:Te,disabled:j,prefixCls:m,visible:on,popupElement:Rn,animation:ce,transitionName:le,dropdownStyle:ue,dropdownClassName:pe,direction:k,dropdownMatchSelectWidth:de,dropdownRender:me,dropdownAlign:fe,placement:ve,builtinPlacements:he,getPopupContainer:xe,empty:M,getTriggerDOMNode:function(e){return Fe.current||e},onPopupVisibleChange:bn,onPopupMouseEnter:function(){An({})}},Be?d.cloneElement(Be,{ref:Ue}):d.createElement(z,(0,a.A)({},e,{domRef:Fe,prefixCls:m,inputElement:We,ref:De,id:p,prefix:ie,showSearch:Se,autoClearSearchValue:J,mode:P,activeDescendantId:B,tagRender:C,values:N,open:tn,onToggleOpen:rn,activeValue:q,searchValue:Ye,onSearch:pn,onSearchSubmit:function(e){e&&e.trim()&&ee(e,{source:"submit"})},onRemove:function(e){var n=N.filter((function(n){return n!==e}));S(n,{type:"remove",values:[e]})},tokenWithEnter:sn,onInputBlur:function(){hn.current=!1}})));return En=Be?_n:d.createElement("div",(0,a.A)({className:In},Me,{ref:je,onMouseDown:function(e){var n,t=e.target,a=null===(n=Te.current)||void 0===n?void 0:n.getPopupElement();if(a&&a.contains(t)){var i=setTimeout((function(){var e,n=gn.indexOf(i);-1!==n&&gn.splice(n,1),Ke(),_e||a.contains(document.activeElement)||null===(e=De.current)||void 0===e||e.focus()}));gn.push(i)}for(var o=arguments.length,r=new Array(o>1?o-1:0),s=1;s<o;s++)r[s-1]=arguments[s];null===ke||void 0===ke||ke.apply(void 0,[e].concat(r))},onKeyDown:function(e){var n,t=fn(),a=e.key,o="Enter"===a;if(o&&("combobox"!==P&&e.preventDefault(),tn||rn(!0)),vn(!!Ye),"Backspace"===a&&!t&&Ne&&!Ye&&N.length){for(var r=(0,i.A)(N),s=null,c=r.length-1;c>=0;c-=1){var l=r[c];if(!l.disabled){r.splice(c,1),s=l;break}}s&&S(r,{type:"remove",values:[s]})}for(var u=arguments.length,p=new Array(u>1?u-1:0),d=1;d<u;d++)p[d-1]=arguments[d];!tn||o&&hn.current||(o&&(hn.current=!0),null===(n=Oe.current)||void 0===n||n.onKeyDown.apply(n,[e].concat(p))),null===Ce||void 0===Ce||Ce.apply(void 0,[e].concat(p))},onKeyUp:function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),a=1;a<n;a++)t[a-1]=arguments[a];var i;tn&&(null===(i=Oe.current)||void 0===i||i.onKeyUp.apply(i,[e].concat(t))),"Enter"===e.key&&(hn.current=!1),null===we||void 0===we||we.apply(void 0,[e].concat(t))},onFocus:function(){He(!0),j||(ye&&!xn.current&&ye.apply(void 0,arguments),be.includes("focus")&&rn(!0)),xn.current=!0},onBlur:function(){ze.current=!0,He(!1,(function(){xn.current=!1,ze.current=!1,rn(!1)})),j||(Ye&&("tags"===P?ee(Ye,{source:"submit"}):"multiple"===P&&ee("",{source:"blur"})),Ae&&Ae.apply(void 0,arguments))}}),d.createElement($,{visible:qe&&!tn,values:N}),_n,wn,Sn&&Mn),d.createElement(b.Provider,{value:Cn},En)}));const ee=J;var ne=function(){return null};ne.isSelectOptGroup=!0;const te=ne;var ae=function(){return null};ae.isSelectOption=!0;const ie=ae;var oe=t(92635),re=t(89408),se=t(45306);var ce=["disabled","title","children","style","className"];function le(e){return"string"===typeof e||"number"===typeof e}var ue=function(e,n){var t=y(),r=t.prefixCls,l=t.id,u=t.open,p=t.multiple,m=t.mode,v=t.searchValue,h=t.toggleOpen,x=t.notFoundContent,b=t.onPopupScroll,A=d.useContext(X),k=A.maxCount,E=A.flattenOptions,N=A.onActiveValue,S=A.defaultActiveFirstOption,M=A.onSelect,R=A.menuItemSelectedIcon,I=A.rawValues,_=A.fieldNames,P=A.virtual,j=A.direction,F=A.listHeight,T=A.listItemHeight,D=A.optionRender,O="".concat(r,"-item"),z=(0,oe.A)((function(){return E}),[u,E],(function(e,n){return n[0]&&e[1]!==n[1]})),V=d.useRef(null),L=d.useMemo((function(){return p&&W(k)&&(null===I||void 0===I?void 0:I.size)>=k}),[p,k,null===I||void 0===I?void 0:I.size]),q=function(e){e.preventDefault()},H=function(e){var n;null===(n=V.current)||void 0===n||n.scrollTo("number"===typeof e?{index:e}:e)},K=d.useCallback((function(e){return"combobox"!==m&&I.has(e)}),[m,(0,i.A)(I).toString(),I.size]),Y=function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,t=z.length,a=0;a<t;a+=1){var i=(e+a*n+t)%t,o=z[i]||{},r=o.group,s=o.data;if(!r&&(null===s||void 0===s||!s.disabled)&&(K(s.value)||!L))return i}return-1},B=d.useState((function(){return Y(0)})),U=(0,s.A)(B,2),$=U[0],G=U[1],Q=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];G(e);var t={source:n?"keyboard":"mouse"},a=z[e];a?N(a.value,e,t):N(null,-1,t)};(0,d.useEffect)((function(){Q(!1!==S?Y(0):-1)}),[z.length,v]);var Z=d.useCallback((function(e){return"combobox"===m?String(e).toLowerCase()===v.toLowerCase():I.has(e)}),[m,v,(0,i.A)(I).toString(),I.size]);(0,d.useEffect)((function(){var e,n=setTimeout((function(){if(!p&&u&&1===I.size){var e=Array.from(I)[0],n=z.findIndex((function(n){var t=n.data;return v?String(t.value).startsWith(v):t.value===e}));-1!==n&&(Q(n),H(n))}}));u&&(null===(e=V.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(n)}}),[u,v]);var J=function(e){void 0!==e&&M(e,{selected:!I.has(e)}),p||h(!1)};if(d.useImperativeHandle(n,(function(){return{onKeyDown:function(e){var n=e.which,t=e.ctrlKey;switch(n){case w.A.N:case w.A.P:case w.A.UP:case w.A.DOWN:var a=0;if(n===w.A.UP?a=-1:n===w.A.DOWN?a=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&t&&(n===w.A.N?a=1:n===w.A.P&&(a=-1)),0!==a){var i=Y($+a,a);H(i),Q(i,!0)}break;case w.A.TAB:case w.A.ENTER:var o,r=z[$];!r||null!==r&&void 0!==r&&null!==(o=r.data)&&void 0!==o&&o.disabled||L?J(void 0):J(r.value),u&&e.preventDefault();break;case w.A.ESC:h(!1),u&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){H(e)}}})),0===z.length)return d.createElement("div",{role:"listbox",id:"".concat(l,"_list"),className:"".concat(O,"-empty"),onMouseDown:q},x);var ee=Object.keys(_).map((function(e){return _[e]})),ne=function(e){return e.label};function te(e,n){return{role:e.group?"presentation":"option",id:"".concat(l,"_list_").concat(n)}}var ae=function(e){var n=z[e];if(!n)return null;var t=n.data||{},i=t.value,o=n.group,r=(0,C.A)(t,!0),s=ne(n);return n?d.createElement("div",(0,a.A)({"aria-label":"string"!==typeof s||o?null:s},r,{key:e},te(n,e),{"aria-selected":Z(i)}),i):null},ie={role:"listbox",id:"".concat(l,"_list")};return d.createElement(d.Fragment,null,P&&d.createElement("div",(0,a.A)({},ie,{style:{height:0,width:0,overflow:"hidden"}}),ae($-1),ae($),ae($+1)),d.createElement(se.A,{itemKey:"key",ref:V,data:z,height:F,itemHeight:T,fullHeight:!1,onMouseDown:q,onScroll:b,virtual:P,direction:j,innerProps:P?null:ie},(function(e,n){var t=e.group,i=e.groupOption,r=e.data,s=e.label,l=e.value,u=r.key;if(t){var p,m=null!==(p=r.title)&&void 0!==p?p:le(s)?s.toString():void 0;return d.createElement("div",{className:f()(O,"".concat(O,"-group"),r.className),title:m},void 0!==s?s:u)}var v=r.disabled,h=r.title,x=(r.children,r.style),b=r.className,y=(0,c.A)(r,ce),A=(0,re.A)(y,ee),w=K(l),k=v||!w&&L,E="".concat(O,"-option"),N=f()(O,E,b,(0,o.A)((0,o.A)((0,o.A)((0,o.A)({},"".concat(E,"-grouped"),i),"".concat(E,"-active"),$===n&&!k),"".concat(E,"-disabled"),k),"".concat(E,"-selected"),w)),S=ne(e),M=!R||"function"===typeof R||w,I="number"===typeof S?S:S||l,_=le(I)?I.toString():void 0;return void 0!==h&&(_=h),d.createElement("div",(0,a.A)({},(0,C.A)(A),P?{}:te(e,n),{"aria-selected":Z(l),className:N,title:_,onMouseMove:function(){$===n||k||Q(n)},onClick:function(){k||J(l)},style:x}),d.createElement("div",{className:"".concat(E,"-content")},"function"===typeof D?D(e,{index:n}):I),d.isValidElement(R)||w,M&&d.createElement(g,{className:"".concat(O,"-option-state"),customizeIcon:R,customizeIconProps:{value:l,disabled:k,isSelected:w}},w?"\u2713":null))})))};const pe=d.forwardRef(ue);function de(e,n){return R(e).join("").toUpperCase().includes(n)}var me=t(80908),fe=t(87191),ve=["children","value"],he=["children"];function xe(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,fe.A)(e).map((function(e,t){if(!d.isValidElement(e)||!e.type)return null;var a=e,i=a.type.isSelectOptGroup,o=a.key,s=a.props,l=s.children,u=(0,c.A)(s,he);return n||!i?function(e){var n=e,t=n.key,a=n.props,i=a.children,o=a.value,s=(0,c.A)(a,ve);return(0,r.A)({key:t,value:void 0!==o?o:t,children:i},s)}(e):(0,r.A)((0,r.A)({key:"__RC_SELECT_GRP__".concat(null===o?t:o,"__"),label:o},u),{},{options:xe(l)})})).filter((function(e){return e}))}const ge=function(e,n,t,a,i){return d.useMemo((function(){var o=e;!e&&(o=xe(n));var r=new Map,s=new Map,c=function(e,n,t){t&&"string"===typeof t&&e.set(n[t],n)};return function e(n){for(var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=0;l<n.length;l+=1){var u=n[l];!u[t.options]||o?(r.set(u[t.value],u),c(s,u,t.label),c(s,u,a),c(s,u,i)):e(u[t.options],!0)}}(o),{options:o,valueOptions:r,labelOptions:s}}),[e,n,t,a,i])};function be(e){var n=d.useRef();n.current=e;var t=d.useCallback((function(){return n.current.apply(n,arguments)}),[]);return t}var ye=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],Ae=["inputValue"];var we=d.forwardRef((function(e,n){var t=e.id,p=e.mode,m=e.prefixCls,f=void 0===m?"rc-select":m,v=e.backfill,h=e.fieldNames,x=e.inputValue,g=e.searchValue,b=e.onSearch,y=e.autoClearSearchValue,A=void 0===y||y,w=e.onSelect,C=e.onDeselect,k=e.dropdownMatchSelectWidth,E=void 0===k||k,N=e.filterOption,S=e.filterSort,M=e.optionFilterProp,I=e.optionLabelProp,_=e.options,P=e.optionRender,j=e.children,F=e.defaultActiveFirstOption,T=e.menuItemSelectedIcon,D=e.virtual,O=e.direction,z=e.listHeight,V=void 0===z?200:z,L=e.listItemHeight,q=void 0===L?20:L,H=e.labelRender,K=e.value,W=e.defaultValue,$=e.labelInValue,G=e.onChange,Q=e.maxCount,J=(0,c.A)(e,ye),ne=(0,me.Ay)(t),te=Z(p),ae=!(_||!j),ie=d.useMemo((function(){return(void 0!==N||"combobox"!==p)&&N}),[N,p]),oe=d.useMemo((function(){return B(h,ae)}),[JSON.stringify(h),ae]),re=(0,u.A)("",{value:void 0!==g?g:x,postState:function(e){return e||""}}),se=(0,s.A)(re,2),ce=se[0],le=se[1],ue=ge(_,j,oe,M,I),fe=ue.valueOptions,ve=ue.labelOptions,he=ue.options,xe=d.useCallback((function(e){return R(e).map((function(e){var n,t,a,i,o,r;(function(e){return!e||"object"!==(0,l.A)(e)})(e)?n=e:(a=e.key,t=e.label,n=null!==(r=e.value)&&void 0!==r?r:a);var s,c=fe.get(n);c&&(void 0===t&&(t=null===c||void 0===c?void 0:c[I||oe.label]),void 0===a&&(a=null!==(s=null===c||void 0===c?void 0:c.key)&&void 0!==s?s:n),i=null===c||void 0===c?void 0:c.disabled,o=null===c||void 0===c?void 0:c.title);return{label:t,value:n,key:a,disabled:i,title:o}}))}),[oe,I,fe]),we=(0,u.A)(W,{value:K}),Ce=(0,s.A)(we,2),ke=Ce[0],Ee=Ce[1],Ne=d.useMemo((function(){var e,n=xe(te&&null===ke?[]:ke);return"combobox"===p&&function(e){return!e&&0!==e}(null===(e=n[0])||void 0===e?void 0:e.value)?[]:n}),[ke,xe,p,te]),Se=function(e,n){var t=d.useRef({values:new Map,options:new Map});return[d.useMemo((function(){var a=t.current,i=a.values,o=a.options,s=e.map((function(e){var n;return void 0===e.label?(0,r.A)((0,r.A)({},e),{},{label:null===(n=i.get(e.value))||void 0===n?void 0:n.label}):e})),c=new Map,l=new Map;return s.forEach((function(e){c.set(e.value,e),l.set(e.value,n.get(e.value)||o.get(e.value))})),t.current.values=c,t.current.options=l,s}),[e,n]),d.useCallback((function(e){return n.get(e)||t.current.options.get(e)}),[n])]}(Ne,fe),Me=(0,s.A)(Se,2),Re=Me[0],Ie=Me[1],_e=d.useMemo((function(){if(!p&&1===Re.length){var e=Re[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return Re.map((function(e){var n;return(0,r.A)((0,r.A)({},e),{},{label:null!==(n="function"===typeof H?H(e):e.label)&&void 0!==n?n:e.value})}))}),[p,Re,H]),Pe=d.useMemo((function(){return new Set(Re.map((function(e){return e.value})))}),[Re]);d.useEffect((function(){if("combobox"===p){var e,n=null===(e=Re[0])||void 0===e?void 0:e.value;le(function(e){return void 0!==e&&null!==e}(n)?String(n):"")}}),[Re]);var je=be((function(e,n){var t=null!==n&&void 0!==n?n:e;return(0,o.A)((0,o.A)({},oe.value,e),oe.label,t)})),Fe=function(e,n,t,a,i){return d.useMemo((function(){if(!t||!1===a)return e;var s=n.options,c=n.label,l=n.value,u=[],p="function"===typeof a,d=t.toUpperCase(),m=p?a:function(e,n){return i?de(n[i],d):n[s]?de(n["children"!==c?c:"label"],d):de(n[l],d)},f=p?function(e){return U(e)}:function(e){return e};return e.forEach((function(e){if(e[s])if(m(t,f(e)))u.push(e);else{var n=e[s].filter((function(e){return m(t,f(e))}));n.length&&u.push((0,r.A)((0,r.A)({},e),{},(0,o.A)({},s,n)))}else m(t,f(e))&&u.push(e)})),u}),[e,a,i,t,n])}(d.useMemo((function(){if("tags"!==p)return he;var e=(0,i.A)(he);return(0,i.A)(Re).sort((function(e,n){return e.value<n.value?-1:1})).forEach((function(n){var t=n.value;(function(e){return fe.has(e)})(t)||e.push(je(t,n.label))})),e}),[je,he,fe,Re,p]),oe,ce,ie,M),Te=d.useMemo((function(){return"tags"!==p||!ce||Fe.some((function(e){return e[M||"value"]===ce}))||Fe.some((function(e){return e[oe.value]===ce}))?Fe:[je(ce)].concat((0,i.A)(Fe))}),[je,M,p,Fe,ce,oe]),De=function e(n){return(0,i.A)(n).sort((function(e,n){return S(e,n,{searchValue:ce})})).map((function(n){return Array.isArray(n.options)?(0,r.A)((0,r.A)({},n),{},{options:n.options.length>0?e(n.options):n.options}):n}))},Oe=d.useMemo((function(){return S?De(Te):Te}),[Te,S,ce]),ze=d.useMemo((function(){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.fieldNames,a=n.childrenAsData,i=[],o=B(t,!1),r=o.label,s=o.value,c=o.options,l=o.groupLabel;return function e(n,t){Array.isArray(n)&&n.forEach((function(n){if(t||!(c in n)){var o=n[s];i.push({key:Y(n,i.length),groupOption:t,data:n,label:n[r],value:o})}else{var u=n[l];void 0===u&&a&&(u=n.label),i.push({key:Y(n,i.length),group:!0,data:n,label:u}),e(n[c],!0)}}))}(e,!1),i}(Oe,{fieldNames:oe,childrenAsData:ae})}),[Oe,oe,ae]),Ve=function(e){var n=xe(e);if(Ee(n),G&&(n.length!==Re.length||n.some((function(e,n){var t;return(null===(t=Re[n])||void 0===t?void 0:t.value)!==(null===e||void 0===e?void 0:e.value)})))){var t=$?n:n.map((function(e){return e.value})),a=n.map((function(e){return U(Ie(e.value))}));G(te?t:t[0],te?a:a[0])}},Le=d.useState(null),qe=(0,s.A)(Le,2),He=qe[0],Ke=qe[1],Ye=d.useState(0),We=(0,s.A)(Ye,2),Be=We[0],Ue=We[1],Xe=void 0!==F?F:"combobox"!==p,$e=d.useCallback((function(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).source,a=void 0===t?"keyboard":t;Ue(n),v&&"combobox"===p&&null!==e&&"keyboard"===a&&Ke(String(e))}),[v,p]),Ge=function(e,n,t){var a=function(){var n,t=Ie(e);return[$?{label:null===t||void 0===t?void 0:t[oe.label],value:e,key:null!==(n=null===t||void 0===t?void 0:t.key)&&void 0!==n?n:e}:e,U(t)]};if(n&&w){var i=a(),o=(0,s.A)(i,2),r=o[0],c=o[1];w(r,c)}else if(!n&&C&&"clear"!==t){var l=a(),u=(0,s.A)(l,2),p=u[0],d=u[1];C(p,d)}},Qe=be((function(e,n){var t,a=!te||n.selected;t=a?te?[].concat((0,i.A)(Re),[e]):[e]:Re.filter((function(n){return n.value!==e})),Ve(t),Ge(e,a),"combobox"===p?Ke(""):Z&&!A||(le(""),Ke(""))})),Ze=d.useMemo((function(){var e=!1!==D&&!1!==E;return(0,r.A)((0,r.A)({},ue),{},{flattenOptions:ze,onActiveValue:$e,defaultActiveFirstOption:Xe,onSelect:Qe,menuItemSelectedIcon:T,rawValues:Pe,fieldNames:oe,virtual:e,direction:O,listHeight:V,listItemHeight:q,childrenAsData:ae,maxCount:Q,optionRender:P})}),[Q,ue,ze,$e,Xe,Qe,T,Pe,oe,D,E,O,V,q,ae,P]);return d.createElement(X.Provider,{value:Ze},d.createElement(ee,(0,a.A)({},J,{id:ne,prefixCls:f,ref:n,omitDomProps:Ae,mode:p,displayValues:_e,onDisplayValuesChange:function(e,n){Ve(e);var t=n.type,a=n.values;"remove"!==t&&"clear"!==t||a.forEach((function(e){Ge(e.value,!1,t)}))},direction:O,searchValue:ce,onSearch:function(e,n){if(le(e),Ke(null),"submit"!==n.source)"blur"!==n.source&&("combobox"===p&&Ve(e),null===b||void 0===b||b(e));else{var t=(e||"").trim();if(t){var a=Array.from(new Set([].concat((0,i.A)(Pe),[t])));Ve(a),Ge(t,!0),le("")}}},autoClearSearchValue:A,onSearchSplit:function(e){var n=e;"tags"!==p&&(n=e.map((function(e){var n=ve.get(e);return null===n||void 0===n?void 0:n.value})).filter((function(e){return void 0!==e})));var t=Array.from(new Set([].concat((0,i.A)(Pe),(0,i.A)(n))));Ve(t),t.forEach((function(e){Ge(e,!0)}))},dropdownMatchSelectWidth:E,OptionList:pe,emptyOptions:!ze.length,activeValue:He,activeDescendantId:"".concat(ne,"_list_").concat(Be)})))}));we.Option=ie,we.OptGroup=te;const Ce=we},25158:(e,n,t)=>{"use strict";t.d(n,{Q:()=>C,A:()=>O});var a=t(2250),i=t(70908),o=t(83912),r=t(53575),s=t(712),c=t(85591),l=t.n(c),u=t(71173),p=t(57144),d=t(62845),m=t(44449),f=t(98173),v=t(9793),h=t(64916),x=t(85740);function g(e,n,t){return(e-n)/(t-n)}function b(e,n,t,a){var i=g(n,t,a),o={};switch(e){case"rtl":o.right="".concat(100*i,"%"),o.transform="translateX(50%)";break;case"btt":o.bottom="".concat(100*i,"%"),o.transform="translateY(50%)";break;case"ttb":o.top="".concat(100*i,"%"),o.transform="translateY(-50%)";break;default:o.left="".concat(100*i,"%"),o.transform="translateX(-50%)"}return o}function y(e,n){return Array.isArray(e)?e[n]:e}var A=t(60871);const w=f.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}});var C=f.createContext({}),k=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"];const E=f.forwardRef((function(e,n){var t,o=e.prefixCls,r=e.value,s=e.valueIndex,c=e.onStartMove,u=e.onDelete,p=e.style,d=e.render,m=e.dragging,x=e.draggingDelete,g=e.onOffsetChange,C=e.onChangeComplete,E=e.onFocus,N=e.onMouseEnter,S=(0,h.A)(e,k),M=f.useContext(w),R=M.min,I=M.max,_=M.direction,P=M.disabled,j=M.keyboard,F=M.range,T=M.tabIndex,D=M.ariaLabelForHandle,O=M.ariaLabelledByForHandle,z=M.ariaRequired,V=M.ariaValueTextFormatterForHandle,L=M.styles,q=M.classNames,H="".concat(o,"-handle"),K=function(e){P||c(e,s)},Y=b(_,r,R,I),W={};null!==s&&(W={tabIndex:P?null:y(T,s),role:"slider","aria-valuemin":R,"aria-valuemax":I,"aria-valuenow":r,"aria-disabled":P,"aria-label":y(D,s),"aria-labelledby":y(O,s),"aria-required":y(z,s),"aria-valuetext":null===(t=y(V,s))||void 0===t?void 0:t(r),"aria-orientation":"ltr"===_||"rtl"===_?"horizontal":"vertical",onMouseDown:K,onTouchStart:K,onFocus:function(e){null===E||void 0===E||E(e,s)},onMouseEnter:function(e){N(e,s)},onKeyDown:function(e){if(!P&&j){var n=null;switch(e.which||e.keyCode){case A.A.LEFT:n="ltr"===_||"btt"===_?-1:1;break;case A.A.RIGHT:n="ltr"===_||"btt"===_?1:-1;break;case A.A.UP:n="ttb"!==_?1:-1;break;case A.A.DOWN:n="ttb"!==_?-1:1;break;case A.A.HOME:n="min";break;case A.A.END:n="max";break;case A.A.PAGE_UP:n=2;break;case A.A.PAGE_DOWN:n=-2;break;case A.A.BACKSPACE:case A.A.DELETE:null===u||void 0===u||u(s)}null!==n&&(e.preventDefault(),g(n,s))}},onKeyUp:function(e){switch(e.which||e.keyCode){case A.A.LEFT:case A.A.RIGHT:case A.A.UP:case A.A.DOWN:case A.A.HOME:case A.A.END:case A.A.PAGE_UP:case A.A.PAGE_DOWN:null===C||void 0===C||C()}}});var B=f.createElement("div",(0,v.A)({ref:n,className:l()(H,(0,i.A)((0,i.A)((0,i.A)({},"".concat(H,"-").concat(s+1),null!==s&&F),"".concat(H,"-dragging"),m),"".concat(H,"-dragging-delete"),x),q.handle),style:(0,a.A)((0,a.A)((0,a.A)({},Y),p),L.handle)},W,S));return d&&(B=d(B,{index:s,prefixCls:o,value:r,dragging:m,draggingDelete:x})),B}));var N=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"];const S=f.forwardRef((function(e,n){var t=e.prefixCls,i=e.style,o=e.onStartMove,r=e.onOffsetChange,c=e.values,l=e.handleRender,u=e.activeHandleRender,p=e.draggingIndex,d=e.draggingDelete,m=e.onFocus,g=(0,h.A)(e,N),b=f.useRef({}),A=f.useState(!1),w=(0,s.A)(A,2),C=w[0],k=w[1],S=f.useState(-1),M=(0,s.A)(S,2),R=M[0],I=M[1],_=function(e){I(e),k(!0)};f.useImperativeHandle(n,(function(){return{focus:function(e){var n;null===(n=b.current[e])||void 0===n||n.focus()},hideHelp:function(){(0,x.flushSync)((function(){k(!1)}))}}}));var P=(0,a.A)({prefixCls:t,onStartMove:o,onOffsetChange:r,render:l,onFocus:function(e,n){_(n),null===m||void 0===m||m(e)},onMouseEnter:function(e,n){_(n)}},g);return f.createElement(f.Fragment,null,c.map((function(e,n){var t=p===n;return f.createElement(E,(0,v.A)({ref:function(e){e?b.current[n]=e:delete b.current[n]},dragging:t,draggingDelete:t&&d,style:y(i,n),key:n,value:e,valueIndex:n},P))})),u&&C&&f.createElement(E,(0,v.A)({key:"a11y"},P,{value:c[R],valueIndex:null,dragging:-1!==p,draggingDelete:d,render:u,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}));const M=function(e){var n=e.prefixCls,t=e.style,o=e.children,r=e.value,s=e.onClick,c=f.useContext(w),u=c.min,p=c.max,d=c.direction,m=c.includedStart,v=c.includedEnd,h=c.included,x="".concat(n,"-text"),g=b(d,r,u,p);return f.createElement("span",{className:l()(x,(0,i.A)({},"".concat(x,"-active"),h&&m<=r&&r<=v)),style:(0,a.A)((0,a.A)({},g),t),onMouseDown:function(e){e.stopPropagation()},onClick:function(){s(r)}},o)};const R=function(e){var n=e.prefixCls,t=e.marks,a=e.onClick,i="".concat(n,"-mark");return t.length?f.createElement("div",{className:i},t.map((function(e){var n=e.value,t=e.style,o=e.label;return f.createElement(M,{key:n,prefixCls:i,style:t,value:n,onClick:a},o)}))):null};const I=function(e){var n=e.prefixCls,t=e.value,o=e.style,r=e.activeStyle,s=f.useContext(w),c=s.min,u=s.max,p=s.direction,d=s.included,m=s.includedStart,v=s.includedEnd,h="".concat(n,"-dot"),x=d&&m<=t&&t<=v,g=(0,a.A)((0,a.A)({},b(p,t,c,u)),"function"===typeof o?o(t):o);return x&&(g=(0,a.A)((0,a.A)({},g),"function"===typeof r?r(t):r)),f.createElement("span",{className:l()(h,(0,i.A)({},"".concat(h,"-active"),x)),style:g})};const _=function(e){var n=e.prefixCls,t=e.marks,a=e.dots,i=e.style,o=e.activeStyle,r=f.useContext(w),s=r.min,c=r.max,l=r.step,u=f.useMemo((function(){var e=new Set;if(t.forEach((function(n){e.add(n.value)})),a&&null!==l)for(var n=s;n<=c;)e.add(n),n+=l;return Array.from(e)}),[s,c,l,a,t]);return f.createElement("div",{className:"".concat(n,"-step")},u.map((function(e){return f.createElement(I,{prefixCls:n,key:e,value:e,style:i,activeStyle:o})})))};const P=function(e){var n=e.prefixCls,t=e.style,o=e.start,r=e.end,s=e.index,c=e.onStartMove,u=e.replaceCls,p=f.useContext(w),d=p.direction,m=p.min,v=p.max,h=p.disabled,x=p.range,b=p.classNames,y="".concat(n,"-track"),A=g(o,m,v),C=g(r,m,v),k=function(e){!h&&c&&c(e,-1)},E={};switch(d){case"rtl":E.right="".concat(100*A,"%"),E.width="".concat(100*C-100*A,"%");break;case"btt":E.bottom="".concat(100*A,"%"),E.height="".concat(100*C-100*A,"%");break;case"ttb":E.top="".concat(100*A,"%"),E.height="".concat(100*C-100*A,"%");break;default:E.left="".concat(100*A,"%"),E.width="".concat(100*C-100*A,"%")}var N=u||l()(y,(0,i.A)((0,i.A)({},"".concat(y,"-").concat(s+1),null!==s&&x),"".concat(n,"-track-draggable"),c),b.track);return f.createElement("div",{className:N,style:(0,a.A)((0,a.A)({},E),t),onMouseDown:k,onTouchStart:k})};const j=function(e){var n=e.prefixCls,t=e.style,i=e.values,o=e.startPoint,r=e.onStartMove,s=f.useContext(w),c=s.included,u=s.range,p=s.min,d=s.styles,m=s.classNames,v=f.useMemo((function(){if(!u){if(0===i.length)return[];var e=null!==o&&void 0!==o?o:p,n=i[0];return[{start:Math.min(e,n),end:Math.max(e,n)}]}for(var t=[],a=0;a<i.length-1;a+=1)t.push({start:i[a],end:i[a+1]});return t}),[i,u,o,p]);if(!c)return null;var h=null!==v&&void 0!==v&&v.length&&(m.tracks||d.tracks)?f.createElement(P,{index:null,prefixCls:n,start:v[0].start,end:v[v.length-1].end,replaceCls:l()(m.tracks,"".concat(n,"-tracks")),style:d.tracks}):null;return f.createElement(f.Fragment,null,h,v.map((function(e,i){var o=e.start,s=e.end;return f.createElement(P,{index:i,prefixCls:n,style:(0,a.A)((0,a.A)({},y(t,i)),d.track),start:o,end:s,key:i,onStartMove:r})})))};var F=t(33122);function T(e){var n="targetTouches"in e?e.targetTouches[0]:e;return{pageX:n.pageX,pageY:n.pageY}}const D=function(e,n,t,a,i,r,c,l,p,d,m){var v=f.useState(null),h=(0,s.A)(v,2),x=h[0],g=h[1],b=f.useState(-1),y=(0,s.A)(b,2),A=y[0],w=y[1],k=f.useState(!1),E=(0,s.A)(k,2),N=E[0],S=E[1],M=f.useState(t),R=(0,s.A)(M,2),I=R[0],_=R[1],P=f.useState(t),j=(0,s.A)(P,2),D=j[0],O=j[1],z=f.useRef(null),V=f.useRef(null),L=f.useRef(null),q=f.useContext(C),H=q.onDragStart,K=q.onDragChange;(0,F.A)((function(){-1===A&&_(t)}),[t,A]),f.useEffect((function(){return function(){document.removeEventListener("mousemove",z.current),document.removeEventListener("mouseup",V.current),L.current&&(L.current.removeEventListener("touchmove",z.current),L.current.removeEventListener("touchend",V.current))}}),[]);var Y=function(e,n,t){void 0!==n&&g(n),_(e);var a=e;t&&(a=e.filter((function(e,n){return n!==A}))),c(a),K&&K({rawValues:e,deleteIndex:t?A:-1,draggingIndex:A,draggingValue:n})},W=(0,u.A)((function(e,n,t){if(-1===e){var s=D[0],c=D[D.length-1],l=a-s,u=i-c,d=n*(i-a);d=Math.max(d,l),d=Math.min(d,u);var m=r(s+d);d=m-s;var f=D.map((function(e){return e+d}));Y(f)}else{var v=(i-a)*n,h=(0,o.A)(I);h[e]=D[e];var x=p(h,v,e,"dist");Y(x.values,x.value,t)}})),B=f.useMemo((function(){var e=(0,o.A)(t).sort((function(e,n){return e-n})),n=(0,o.A)(I).sort((function(e,n){return e-n})),a={};n.forEach((function(e){a[e]=(a[e]||0)+1})),e.forEach((function(e){a[e]=(a[e]||0)-1}));var i=d?1:0;return Object.values(a).reduce((function(e,n){return e+Math.abs(n)}),0)<=i?I:t}),[t,I,d]);return[A,x,N,B,function(a,i,o){a.stopPropagation();var r=o||t,s=r[i];w(i),g(s),O(r),_(r),S(!1);var c=T(a),u=c.pageX,p=c.pageY,f=!1;H&&H({rawValues:r,draggingIndex:i,draggingValue:s});var v=function(t){t.preventDefault();var a,o,r=T(t),s=r.pageX,c=r.pageY,l=s-u,v=c-p,h=e.current.getBoundingClientRect(),x=h.width,g=h.height;switch(n){case"btt":a=-v/g,o=l;break;case"ttb":a=v/g,o=l;break;case"rtl":a=-l/x,o=v;break;default:a=l/x,o=v}f=!!d&&(Math.abs(o)>130&&m<I.length),S(f),W(i,a,f)},h=function e(n){n.preventDefault(),document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",v),L.current&&(L.current.removeEventListener("touchmove",z.current),L.current.removeEventListener("touchend",V.current)),z.current=null,V.current=null,L.current=null,l(f),w(-1),S(!1)};document.addEventListener("mouseup",h),document.addEventListener("mousemove",v),a.currentTarget.addEventListener("touchend",h),a.currentTarget.addEventListener("touchmove",v),z.current=v,V.current=h,L.current=a.currentTarget}]};const O=f.forwardRef((function(e,n){var t=e.prefixCls,c=void 0===t?"rc-slider":t,v=e.className,h=e.style,x=e.classNames,g=e.styles,b=e.id,y=e.disabled,A=void 0!==y&&y,C=e.keyboard,k=void 0===C||C,E=e.autoFocus,N=e.onFocus,M=e.onBlur,I=e.min,P=void 0===I?0:I,F=e.max,T=void 0===F?100:F,O=e.step,z=void 0===O?1:O,V=e.value,L=e.defaultValue,q=e.range,H=e.count,K=e.onChange,Y=e.onBeforeChange,W=e.onAfterChange,B=e.onChangeComplete,U=e.allowCross,X=void 0===U||U,$=e.pushable,G=void 0!==$&&$,Q=e.reverse,Z=e.vertical,J=e.included,ee=void 0===J||J,ne=e.startPoint,te=e.trackStyle,ae=e.handleStyle,ie=e.railStyle,oe=e.dotStyle,re=e.activeDotStyle,se=e.marks,ce=e.dots,le=e.handleRender,ue=e.activeHandleRender,pe=e.track,de=e.tabIndex,me=void 0===de?0:de,fe=e.ariaLabelForHandle,ve=e.ariaLabelledByForHandle,he=e.ariaRequired,xe=e.ariaValueTextFormatterForHandle,ge=f.useRef(null),be=f.useRef(null),ye=f.useMemo((function(){return Z?Q?"ttb":"btt":Q?"rtl":"ltr"}),[Q,Z]),Ae=function(e){return(0,f.useMemo)((function(){if(!0===e||!e)return[!!e,!1,!1,0];var n=e.editable,t=e.draggableTrack;return[!0,n,!n&&t,e.minCount||0,e.maxCount]}),[e])}(q),we=(0,s.A)(Ae,5),Ce=we[0],ke=we[1],Ee=we[2],Ne=we[3],Se=we[4],Me=f.useMemo((function(){return isFinite(P)?P:0}),[P]),Re=f.useMemo((function(){return isFinite(T)?T:100}),[T]),Ie=f.useMemo((function(){return null!==z&&z<=0?1:z}),[z]),_e=f.useMemo((function(){return"boolean"===typeof G?!!G&&Ie:G>=0&&G}),[G,Ie]),Pe=f.useMemo((function(){return Object.keys(se||{}).map((function(e){var n=se[e],t={value:Number(e)};return n&&"object"===(0,r.A)(n)&&!f.isValidElement(n)&&("label"in n||"style"in n)?(t.style=n.style,t.label=n.label):t.label=n,t})).filter((function(e){var n=e.label;return n||"number"===typeof n})).sort((function(e,n){return e.value-n.value}))}),[se]),je=function(e,n,t,a,i,r){var s=f.useCallback((function(t){return Math.max(e,Math.min(n,t))}),[e,n]),c=f.useCallback((function(a){if(null!==t){var i=e+Math.round((s(a)-e)/t)*t,o=function(e){return(String(e).split(".")[1]||"").length},r=Math.max(o(t),o(n),o(e)),c=Number(i.toFixed(r));return e<=c&&c<=n?c:null}return null}),[t,e,n,s]),l=f.useCallback((function(i){var o=s(i),r=a.map((function(e){return e.value}));null!==t&&r.push(c(i)),r.push(e,n);var l=r[0],u=n-e;return r.forEach((function(e){var n=Math.abs(o-e);n<=u&&(l=e,u=n)})),l}),[e,n,a,t,s,c]),u=function i(r,s,l){var u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"===typeof s){var p,d=r[l],m=d+s,f=[];a.forEach((function(e){f.push(e.value)})),f.push(e,n),f.push(c(d));var v=s>0?1:-1;"unit"===u?f.push(c(d+v*t)):f.push(c(m)),f=f.filter((function(e){return null!==e})).filter((function(e){return s<0?e<=d:e>=d})),"unit"===u&&(f=f.filter((function(e){return e!==d})));var h="unit"===u?d:m;p=f[0];var x=Math.abs(p-h);if(f.forEach((function(e){var n=Math.abs(e-h);n<x&&(p=e,x=n)})),void 0===p)return s<0?e:n;if("dist"===u)return p;if(Math.abs(s)>1){var g=(0,o.A)(r);return g[l]=p,i(g,s-v,l,u)}return p}return"min"===s?e:"max"===s?n:void 0},p=function(e,n,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",i=e[t],o=u(e,n,t,a);return{value:o,changed:o!==i}},d=function(e){return null===r&&0===e||"number"===typeof r&&e<r};return[l,function(e,n,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",o=e.map(l),s=o[t],c=u(o,n,t,a);if(o[t]=c,!1===i){var m=r||0;t>0&&o[t-1]!==s&&(o[t]=Math.max(o[t],o[t-1]+m)),t<o.length-1&&o[t+1]!==s&&(o[t]=Math.min(o[t],o[t+1]-m))}else if("number"===typeof r||null===r){for(var f=t+1;f<o.length;f+=1)for(var v=!0;d(o[f]-o[f-1])&&v;){var h=p(o,1,f);o[f]=h.value,v=h.changed}for(var x=t;x>0;x-=1)for(var g=!0;d(o[x]-o[x-1])&&g;){var b=p(o,-1,x-1);o[x-1]=b.value,g=b.changed}for(var y=o.length-1;y>0;y-=1)for(var A=!0;d(o[y]-o[y-1])&&A;){var w=p(o,-1,y-1);o[y-1]=w.value,A=w.changed}for(var C=0;C<o.length-1;C+=1)for(var k=!0;d(o[C+1]-o[C])&&k;){var E=p(o,1,C+1);o[C+1]=E.value,k=E.changed}}return{value:o[t],values:o}}]}(Me,Re,Ie,Pe,X,_e),Fe=(0,s.A)(je,2),Te=Fe[0],De=Fe[1],Oe=(0,p.A)(L,{value:V}),ze=(0,s.A)(Oe,2),Ve=ze[0],Le=ze[1],qe=f.useMemo((function(){var e=null===Ve||void 0===Ve?[]:Array.isArray(Ve)?Ve:[Ve],n=(0,s.A)(e,1)[0],t=null===Ve?[]:[void 0===n?Me:n];if(Ce){if(t=(0,o.A)(e),H||void 0===Ve){var a=H>=0?H+1:2;for(t=t.slice(0,a);t.length<a;){var i;t.push(null!==(i=t[t.length-1])&&void 0!==i?i:Me)}}t.sort((function(e,n){return e-n}))}return t.forEach((function(e,n){t[n]=Te(e)})),t}),[Ve,Ce,Me,H,Te]),He=function(e){return Ce?e:e[0]},Ke=(0,u.A)((function(e){var n=(0,o.A)(e).sort((function(e,n){return e-n}));K&&!(0,d.A)(n,qe,!0)&&K(He(n)),Le(n)})),Ye=(0,u.A)((function(e){e&&ge.current.hideHelp();var n=He(qe);null===W||void 0===W||W(n),(0,m.Ay)(!W,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),null===B||void 0===B||B(n)})),We=D(be,ye,qe,Me,Re,Te,Ke,Ye,De,ke,Ne),Be=(0,s.A)(We,5),Ue=Be[0],Xe=Be[1],$e=Be[2],Ge=Be[3],Qe=Be[4],Ze=function(e,n){if(!A){var t=(0,o.A)(qe),a=0,i=0,r=Re-Me;qe.forEach((function(n,t){var o=Math.abs(e-n);o<=r&&(r=o,a=t),n<e&&(i=t)}));var s=a;ke&&0!==r&&(!Se||qe.length<Se)?(t.splice(i+1,0,e),s=i+1):t[a]=e,Ce&&!qe.length&&void 0===H&&t.push(e);var c,l,u=He(t);if(null===Y||void 0===Y||Y(u),Ke(t),n)null===(c=document.activeElement)||void 0===c||null===(l=c.blur)||void 0===l||l.call(c),ge.current.focus(s),Qe(n,s,t);else null===W||void 0===W||W(u),(0,m.Ay)(!W,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),null===B||void 0===B||B(u)}},Je=f.useState(null),en=(0,s.A)(Je,2),nn=en[0],tn=en[1];f.useEffect((function(){if(null!==nn){var e=qe.indexOf(nn);e>=0&&ge.current.focus(e)}tn(null)}),[nn]);var an=f.useMemo((function(){return(!Ee||null!==Ie)&&Ee}),[Ee,Ie]),on=(0,u.A)((function(e,n){Qe(e,n),null===Y||void 0===Y||Y(He(qe))})),rn=-1!==Ue;f.useEffect((function(){if(!rn){var e=qe.lastIndexOf(Xe);ge.current.focus(e)}}),[rn]);var sn=f.useMemo((function(){return(0,o.A)(Ge).sort((function(e,n){return e-n}))}),[Ge]),cn=f.useMemo((function(){return Ce?[sn[0],sn[sn.length-1]]:[Me,sn[0]]}),[sn,Ce,Me]),ln=(0,s.A)(cn,2),un=ln[0],pn=ln[1];f.useImperativeHandle(n,(function(){return{focus:function(){ge.current.focus(0)},blur:function(){var e,n=document.activeElement;null!==(e=be.current)&&void 0!==e&&e.contains(n)&&(null===n||void 0===n||n.blur())}}})),f.useEffect((function(){E&&ge.current.focus(0)}),[]);var dn=f.useMemo((function(){return{min:Me,max:Re,direction:ye,disabled:A,keyboard:k,step:Ie,included:ee,includedStart:un,includedEnd:pn,range:Ce,tabIndex:me,ariaLabelForHandle:fe,ariaLabelledByForHandle:ve,ariaRequired:he,ariaValueTextFormatterForHandle:xe,styles:g||{},classNames:x||{}}}),[Me,Re,ye,A,k,Ie,ee,un,pn,Ce,me,fe,ve,he,xe,g,x]);return f.createElement(w.Provider,{value:dn},f.createElement("div",{ref:be,className:l()(c,v,(0,i.A)((0,i.A)((0,i.A)((0,i.A)({},"".concat(c,"-disabled"),A),"".concat(c,"-vertical"),Z),"".concat(c,"-horizontal"),!Z),"".concat(c,"-with-marks"),Pe.length)),style:h,onMouseDown:function(e){e.preventDefault();var n,t=be.current.getBoundingClientRect(),a=t.width,i=t.height,o=t.left,r=t.top,s=t.bottom,c=t.right,l=e.clientX,u=e.clientY;switch(ye){case"btt":n=(s-u)/i;break;case"ttb":n=(u-r)/i;break;case"rtl":n=(c-l)/a;break;default:n=(l-o)/a}Ze(Te(Me+n*(Re-Me)),e)},id:b},f.createElement("div",{className:l()("".concat(c,"-rail"),null===x||void 0===x?void 0:x.rail),style:(0,a.A)((0,a.A)({},ie),null===g||void 0===g?void 0:g.rail)}),!1!==pe&&f.createElement(j,{prefixCls:c,style:te,values:qe,startPoint:ne,onStartMove:an?on:void 0}),f.createElement(_,{prefixCls:c,marks:Pe,dots:ce,style:oe,activeStyle:re}),f.createElement(S,{ref:ge,prefixCls:c,style:ae,values:Ge,draggingIndex:Ue,draggingDelete:$e,onStartMove:on,onOffsetChange:function(e,n){if(!A){var t=De(qe,e,n);null===Y||void 0===Y||Y(He(qe)),Ke(t.values),tn(t.value)}},onFocus:N,onBlur:M,handleRender:le,activeHandleRender:ue,onChangeComplete:Ye,onDelete:ke?function(e){if(!(A||!ke||qe.length<=Ne)){var n=(0,o.A)(qe);n.splice(e,1),null===Y||void 0===Y||Y(He(n)),Ke(n);var t=Math.max(0,e-1);ge.current.hideHelp(),ge.current.focus(t)}}:void 0}),f.createElement(R,{prefixCls:c,marks:Pe,onClick:Ze})))}))},24929:(e,n,t)=>{"use strict";t.d(n,{A:()=>f});var a=t(9793),i=t(70908),o=t(712),r=t(64916),s=t(98173),c=t(85591),l=t.n(c),u=t(57144),p=t(60871),d=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],m=s.forwardRef((function(e,n){var t,c=e.prefixCls,m=void 0===c?"rc-switch":c,f=e.className,v=e.checked,h=e.defaultChecked,x=e.disabled,g=e.loadingIcon,b=e.checkedChildren,y=e.unCheckedChildren,A=e.onClick,w=e.onChange,C=e.onKeyDown,k=(0,r.A)(e,d),E=(0,u.A)(!1,{value:v,defaultValue:h}),N=(0,o.A)(E,2),S=N[0],M=N[1];function R(e,n){var t=S;return x||(M(t=e),null===w||void 0===w||w(t,n)),t}var I=l()(m,f,(t={},(0,i.A)(t,"".concat(m,"-checked"),S),(0,i.A)(t,"".concat(m,"-disabled"),x),t));return s.createElement("button",(0,a.A)({},k,{type:"button",role:"switch","aria-checked":S,disabled:x,className:I,ref:n,onKeyDown:function(e){e.which===p.A.LEFT?R(!1,e):e.which===p.A.RIGHT&&R(!0,e),null===C||void 0===C||C(e)},onClick:function(e){var n=R(!S,e);null===A||void 0===A||A(n,e)}}),g,s.createElement("span",{className:"".concat(m,"-inner")},s.createElement("span",{className:"".concat(m,"-inner-checked")},b),s.createElement("span",{className:"".concat(m,"-inner-unchecked")},y)))}));m.displayName="Switch";const f=m},75317:(e,n,t)=>{"use strict";t.d(n,{F:()=>i,k:()=>a});var a={},i="rc-table-internal-hook"},46598:(e,n,t)=>{"use strict";t.d(n,{P:()=>h,A:()=>b});var a=t(712),i=t(70908),o=t(83912),r=t(53575),s=t(2250),c=t(64916),l=t(87191),u=(t(44449),t(98173)),p=t(75317),d=t(29160);function m(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"number"===typeof n?n:n.endsWith("%")?e*parseFloat(n)/100:null}var f=["children"],v=["fixed"];function h(e){return(0,l.A)(e).filter((function(e){return u.isValidElement(e)})).map((function(e){var n=e.key,t=e.props,a=t.children,i=(0,c.A)(t,f),o=(0,s.A)({key:n},i);return a&&(o.children=h(a)),o}))}function x(e){return e.filter((function(e){return e&&"object"===(0,r.A)(e)&&!e.hidden})).map((function(e){var n=e.children;return n&&n.length>0?(0,s.A)((0,s.A)({},e),{},{children:x(n)}):e}))}function g(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key";return e.filter((function(e){return e&&"object"===(0,r.A)(e)})).reduce((function(e,t,a){var i=t.fixed,r=!0===i?"left":i,c="".concat(n,"-").concat(a),l=t.children;return l&&l.length>0?[].concat((0,o.A)(e),(0,o.A)(g(l,c).map((function(e){var n;return(0,s.A)((0,s.A)({},e),{},{fixed:null!==(n=e.fixed)&&void 0!==n?n:r})})))):[].concat((0,o.A)(e),[(0,s.A)((0,s.A)({key:c},t),{},{fixed:r})])}),[])}const b=function(e,n){var t=e.prefixCls,o=e.columns,r=e.children,l=e.expandable,f=e.expandedKeys,b=e.columnTitle,y=e.getRowKey,A=e.onTriggerExpand,w=e.expandIcon,C=e.rowExpandable,k=e.expandIconColumnIndex,E=e.expandedRowOffset,N=void 0===E?0:E,S=e.direction,M=e.expandRowByClick,R=e.columnWidth,I=e.fixed,_=e.scrollWidth,P=e.clientWidth,j=u.useMemo((function(){return x((o||h(r)||[]).slice())}),[o,r]),F=u.useMemo((function(){if(l){var e=j.slice();if(!e.includes(p.k)){var n=k||0,a=0===n&&"right"===I?j.length:n;a>=0&&e.splice(a,0,p.k)}0;var o=e.indexOf(p.k);e=e.filter((function(e,n){return e!==p.k||n===o}));var r,c=j[o];r=I||(c?c.fixed:null);var m=(0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)({},d.P,{className:"".concat(t,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",b),"fixed",r),"className","".concat(t,"-row-expand-icon-cell")),"width",R),"render",(function(e,n,a){var i=y(n,a),o=f.has(i),r=!C||C(n),s=w({prefixCls:t,expanded:o,expandable:r,record:n,onExpand:A});return M?u.createElement("span",{onClick:function(e){return e.stopPropagation()}},s):s}));return e.map((function(e,n){var t=e===p.k?m:e;return n<N?(0,s.A)((0,s.A)({},t),{},{fixed:t.fixed||"left"}):t}))}return j.filter((function(e){return e!==p.k}))}),[l,j,y,f,w,S,N]),T=u.useMemo((function(){var e=F;return n&&(e=n(e)),e.length||(e=[{render:function(){return null}}]),e}),[n,F,S]),D=u.useMemo((function(){return"rtl"===S?function(e){return e.map((function(e){var n=e.fixed,t=(0,c.A)(e,v),a=n;return"left"===n?a="right":"right"===n&&(a="left"),(0,s.A)({fixed:a},t)}))}(g(T)):g(T)}),[T,S,_]),O=u.useMemo((function(){for(var e=-1,n=D.length-1;n>=0;n-=1){var t=D[n].fixed;if("left"===t||!0===t){e=n;break}}if(e>=0)for(var a=0;a<=e;a+=1){var i=D[a].fixed;if("left"!==i&&!0!==i)return!0}var o=D.findIndex((function(e){return"right"===e.fixed}));if(o>=0)for(var r=o;r<D.length;r+=1){if("right"!==D[r].fixed)return!0}return!1}),[D]),z=function(e,n,t){return u.useMemo((function(){if(n&&n>0){var a=0,i=0;e.forEach((function(e){var t=m(n,e.width);t?a+=t:i+=1}));var o=Math.max(n,t),r=Math.max(o-a,i),c=i,l=r/i,u=0,p=e.map((function(e){var t=(0,s.A)({},e),a=m(n,t.width);if(a)t.width=a;else{var i=Math.floor(l);t.width=1===c?r:i,r-=i,c-=1}return u+=t.width,t}));if(u<o){var d=o/u;r=o,p.forEach((function(e,n){var t=Math.floor(e.width*d);e.width=n===p.length-1?r:t,r-=t}))}return[p,Math.max(u,o)]}return[e,n]}),[e,n,t])}(D,_,P),V=(0,a.A)(z,2),L=V[0],q=V[1];return[T,L,q,O]}},27720:(e,n,t)=>{"use strict";t.d(n,{kD:()=>a.k,PL:()=>oe.P,Fh:()=>a.F,BD:()=>H,T:()=>Pe,Y9:()=>We});var a=t(75317),i=t(712),o=t(71173),r=t(33122),s=t(62845),c=t(98173),l=t(85740);function u(e){var n=c.createContext(void 0);return{Context:n,Provider:function(e){var t=e.value,a=e.children,o=c.useRef(t);o.current=t;var s=c.useState((function(){return{getValue:function(){return o.current},listeners:new Set}})),u=(0,i.A)(s,1)[0];return(0,r.A)((function(){(0,l.unstable_batchedUpdates)((function(){u.listeners.forEach((function(e){e(t)}))}))}),[t]),c.createElement(n.Provider,{value:u},a)},defaultValue:e}}function p(e,n){var t=(0,o.A)("function"===typeof n?n:function(e){if(void 0===n)return e;if(!Array.isArray(n))return e[n];var t={};return n.forEach((function(n){t[n]=e[n]})),t}),a=c.useContext(null===e||void 0===e?void 0:e.Context),l=a||{},u=l.listeners,p=l.getValue,d=c.useRef();d.current=t(a?p():null===e||void 0===e?void 0:e.defaultValue);var m=c.useState({}),f=(0,i.A)(m,2)[1];return(0,r.A)((function(){if(a)return u.add(e),function(){u.delete(e)};function e(e){var n=t(e);(0,s.A)(d.current,n,!0)||f({})}}),[a]),d.current}var d=t(9793),m=t(45400);function f(){var e=c.createContext(null);function n(){return c.useContext(e)}return{makeImmutable:function(t,a){var i=(0,m.f3)(t),o=function(o,r){var s=i?{ref:r}:{},l=c.useRef(0),u=c.useRef(o);return null!==n()?c.createElement(t,(0,d.A)({},o,s)):(a&&!a(u.current,o)||(l.current+=1),u.current=o,c.createElement(e.Provider,{value:l.current},c.createElement(t,(0,d.A)({},o,s))))};return i?c.forwardRef(o):o},responseImmutable:function(e,t){var a=(0,m.f3)(e),i=function(t,i){var o=a?{ref:i}:{};return n(),c.createElement(e,(0,d.A)({},t,o))};return a?c.memo(c.forwardRef(i),t):c.memo(i,t)},useImmutableMark:n}}var v=f(),h=(v.makeImmutable,v.responseImmutable,v.useImmutableMark,f()),x=h.makeImmutable,g=h.responseImmutable,b=h.useImmutableMark;const y=u();var A=t(53575),w=t(2250),C=t(70908),k=t(85591),E=t.n(k),N=t(92635),S=t(58243);t(44449);const M=c.createContext({renderWithProps:!1});function R(e){var n=[],t={};return e.forEach((function(e){for(var a,i=e||{},o=i.key,r=i.dataIndex,s=o||(a=r,void 0===a||null===a?[]:Array.isArray(a)?a:[a]).join("-")||"RC_TABLE_KEY";t[s];)s="".concat(s,"_next");t[s]=!0,n.push(s)})),n}function I(e){return null!==e&&void 0!==e}function _(e,n,t,a,o,r){var l=c.useContext(M),u=b();return(0,N.A)((function(){if(I(a))return[a];var i,r=null===n||void 0===n||""===n?[]:Array.isArray(n)?n:[n],s=(0,S.A)(e,r),u=s,p=void 0;if(o){var d=o(s,e,t);!(i=d)||"object"!==(0,A.A)(i)||Array.isArray(i)||c.isValidElement(i)?u=d:(u=d.children,p=d.props,l.renderWithProps=!0)}return[u,p]}),[u,e,a,n,o,t],(function(e,n){if(r){var t=(0,i.A)(e,2)[1],a=(0,i.A)(n,2)[1];return r(a,t)}return!!l.renderWithProps||!(0,s.A)(e,n,!0)}))}var P=t(3889);function j(e){var n,t,a,o,r,s,l,u;var m=e.component,f=e.children,v=e.ellipsis,h=e.scope,x=e.prefixCls,g=e.className,b=e.align,k=e.record,N=e.render,S=e.dataIndex,M=e.renderIndex,R=e.shouldCellUpdate,I=e.index,j=e.rowType,F=e.colSpan,T=e.rowSpan,D=e.fixLeft,O=e.fixRight,z=e.firstFixLeft,V=e.lastFixLeft,L=e.firstFixRight,q=e.lastFixRight,H=e.appendNode,K=e.additionalProps,Y=void 0===K?{}:K,W=e.isSticky,B="".concat(x,"-cell"),U=p(y,["supportSticky","allColumnsFixedLeft","rowHoverable"]),X=U.supportSticky,$=U.allColumnsFixedLeft,G=U.rowHoverable,Q=_(k,S,M,f,N,R),Z=(0,i.A)(Q,2),J=Z[0],ee=Z[1],ne={},te="number"===typeof D&&X,ae="number"===typeof O&&X;te&&(ne.position="sticky",ne.left=D),ae&&(ne.position="sticky",ne.right=O);var ie=null!==(n=null!==(t=null!==(a=null===ee||void 0===ee?void 0:ee.colSpan)&&void 0!==a?a:Y.colSpan)&&void 0!==t?t:F)&&void 0!==n?n:1,oe=null!==(o=null!==(r=null!==(s=null===ee||void 0===ee?void 0:ee.rowSpan)&&void 0!==s?s:Y.rowSpan)&&void 0!==r?r:T)&&void 0!==o?o:1,re=function(e,n){return p(y,(function(t){var a,i,o,r;return[(a=e,i=n||1,o=t.hoverStartRow,r=t.hoverEndRow,a<=r&&a+i-1>=o),t.onHover]}))}(I,oe),se=(0,i.A)(re,2),ce=se[0],le=se[1],ue=(0,P._q)((function(e){var n;k&&le(I,I+oe-1),null===Y||void 0===Y||null===(n=Y.onMouseEnter)||void 0===n||n.call(Y,e)})),pe=(0,P._q)((function(e){var n;k&&le(-1,-1),null===Y||void 0===Y||null===(n=Y.onMouseLeave)||void 0===n||n.call(Y,e)}));if(0===ie||0===oe)return null;var de=null!==(l=Y.title)&&void 0!==l?l:function(e){var n,t=e.ellipsis,a=e.rowType,i=e.children,o=!0===t?{showTitle:!0}:t;return o&&(o.showTitle||"header"===a)&&("string"===typeof i||"number"===typeof i?n=i.toString():c.isValidElement(i)&&"string"===typeof i.props.children&&(n=i.props.children)),n}({rowType:j,ellipsis:v,children:J}),me=E()(B,g,(u={},(0,C.A)((0,C.A)((0,C.A)((0,C.A)((0,C.A)((0,C.A)((0,C.A)((0,C.A)((0,C.A)((0,C.A)(u,"".concat(B,"-fix-left"),te&&X),"".concat(B,"-fix-left-first"),z&&X),"".concat(B,"-fix-left-last"),V&&X),"".concat(B,"-fix-left-all"),V&&$&&X),"".concat(B,"-fix-right"),ae&&X),"".concat(B,"-fix-right-first"),L&&X),"".concat(B,"-fix-right-last"),q&&X),"".concat(B,"-ellipsis"),v),"".concat(B,"-with-append"),H),"".concat(B,"-fix-sticky"),(te||ae)&&W&&X),(0,C.A)(u,"".concat(B,"-row-hover"),!ee&&ce)),Y.className,null===ee||void 0===ee?void 0:ee.className),fe={};b&&(fe.textAlign=b);var ve=(0,w.A)((0,w.A)((0,w.A)((0,w.A)({},null===ee||void 0===ee?void 0:ee.style),ne),fe),Y.style),he=J;return"object"!==(0,A.A)(he)||Array.isArray(he)||c.isValidElement(he)||(he=null),v&&(V||L)&&(he=c.createElement("span",{className:"".concat(B,"-content")},he)),c.createElement(m,(0,d.A)({},ee,Y,{className:me,style:ve,title:de,scope:h,onMouseEnter:G?ue:void 0,onMouseLeave:G?pe:void 0,colSpan:1!==ie?ie:null,rowSpan:1!==oe?oe:null}),H,he)}const F=c.memo(j);function T(e,n,t,a,i){var o,r,s=t[e]||{},c=t[n]||{};"left"===s.fixed?o=a.left["rtl"===i?n:e]:"right"===c.fixed&&(r=a.right["rtl"===i?e:n]);var l=!1,u=!1,p=!1,d=!1,m=t[n+1],f=t[e-1],v=m&&!m.fixed||f&&!f.fixed||t.every((function(e){return"left"===e.fixed}));if("rtl"===i){if(void 0!==o)d=!(f&&"left"===f.fixed)&&v;else if(void 0!==r){p=!(m&&"right"===m.fixed)&&v}}else if(void 0!==o){l=!(m&&"left"===m.fixed)&&v}else if(void 0!==r){u=!(f&&"right"===f.fixed)&&v}return{fixLeft:o,fixRight:r,lastFixLeft:l,firstFixRight:u,lastFixRight:p,firstFixLeft:d,isSticky:a.isSticky}}const D=c.createContext({});var O=t(64916),z=["children"];function V(e){return e.children}V.Row=function(e){var n=e.children,t=(0,O.A)(e,z);return c.createElement("tr",t,n)},V.Cell=function(e){var n=e.className,t=e.index,a=e.children,i=e.colSpan,o=void 0===i?1:i,r=e.rowSpan,s=e.align,l=p(y,["prefixCls","direction"]),u=l.prefixCls,m=l.direction,f=c.useContext(D),v=f.scrollColumnIndex,h=f.stickyOffsets,x=t+o-1+1===v?o+1:o,g=T(t,t+x-1,f.flattenColumns,h,m);return c.createElement(F,(0,d.A)({className:n,index:t,component:"td",prefixCls:u,record:null,dataIndex:null,align:s,colSpan:x,rowSpan:r,render:function(){return a}},g))};const L=V;const q=g((function(e){var n=e.children,t=e.stickyOffsets,a=e.flattenColumns,i=p(y,"prefixCls"),o=a.length-1,r=a[o],s=c.useMemo((function(){return{stickyOffsets:t,flattenColumns:a,scrollColumnIndex:null!==r&&void 0!==r&&r.scrollbar?o:null}}),[r,a,o,t]);return c.createElement(D.Provider,{value:s},c.createElement("tfoot",{className:"".concat(i,"-summary")},n))}));var H=L,K=t(77275),Y=t(19496),W=t(95298),B=t(14902);function U(e,n,t,a,i,o,r){var s=o(n,r);e.push({record:n,indent:t,index:r,rowKey:s});var c=null===i||void 0===i?void 0:i.has(s);if(n&&Array.isArray(n[a])&&c)for(var l=0;l<n[a].length;l+=1)U(e,n[a][l],t+1,a,i,o,l)}function X(e,n,t,a){return c.useMemo((function(){if(null!==t&&void 0!==t&&t.size){for(var i=[],o=0;o<(null===e||void 0===e?void 0:e.length);o+=1){U(i,e[o],0,n,t,a,o)}return i}return null===e||void 0===e?void 0:e.map((function(e,n){return{record:e,indent:0,index:n,rowKey:a(e,n)}}))}),[e,n,t,a])}function $(e,n,t,a){var i,o=p(y,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),r=o.flattenColumns,s=o.expandableType,c=o.expandedKeys,l=o.childrenColumnName,u=o.onTriggerExpand,d=o.rowExpandable,m=o.onRow,f=o.expandRowByClick,v=o.rowClassName,h="nest"===s,x="row"===s&&(!d||d(e)),g=x||h,b=c&&c.has(n),A=l&&e&&e[l],C=(0,P._q)(u),k=null===m||void 0===m?void 0:m(e,t),N=null===k||void 0===k?void 0:k.onClick;"string"===typeof v?i=v:"function"===typeof v&&(i=v(e,t,a));var S=R(r);return(0,w.A)((0,w.A)({},o),{},{columnsKey:S,nestExpandable:h,expanded:b,hasNestChildren:A,record:e,onTriggerExpand:C,rowSupportExpand:x,expandable:g,rowProps:(0,w.A)((0,w.A)({},k),{},{className:E()(i,null===k||void 0===k?void 0:k.className),onClick:function(n){f&&g&&u(e,n);for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];null===N||void 0===N||N.apply(void 0,[n].concat(a))}})})}const G=function(e){var n=e.prefixCls,t=e.children,a=e.component,i=e.cellComponent,o=e.className,r=e.expanded,s=e.colSpan,l=e.isEmpty,u=e.stickyOffset,d=void 0===u?0:u,m=p(y,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),f=m.scrollbarSize,v=m.fixHeader,h=m.fixColumn,x=m.componentWidth,g=m.horizonScroll,b=t;return(l?g&&x:h)&&(b=c.createElement("div",{style:{width:x-d-(v&&!l?f:0),position:"sticky",left:d,overflow:"hidden"},className:"".concat(n,"-expanded-row-fixed")},b)),c.createElement(a,{className:o,style:{display:r?null:"none"}},c.createElement(F,{component:i,prefixCls:n,colSpan:s},b))};function Q(e){var n=e.prefixCls,t=e.record,a=e.onExpand,i=e.expanded,o=e.expandable,r="".concat(n,"-row-expand-icon");if(!o)return c.createElement("span",{className:E()(r,"".concat(n,"-row-spaced"))});return c.createElement("span",{className:E()(r,(0,C.A)((0,C.A)({},"".concat(n,"-row-expanded"),i),"".concat(n,"-row-collapsed"),!i)),onClick:function(e){a(t,e),e.stopPropagation()}})}function Z(e,n,t,a){return"string"===typeof e?e:"function"===typeof e?e(n,t,a):""}function J(e,n,t,a,i){var o,r,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,u=e.record,p=e.prefixCls,d=e.columnsKey,m=e.fixedInfoList,f=e.expandIconColumnIndex,v=e.nestExpandable,h=e.indentSize,x=e.expandIcon,g=e.expanded,b=e.hasNestChildren,y=e.onTriggerExpand,A=e.expandable,w=e.expandedKeys,C=d[t],k=m[t];t===(f||0)&&v&&(r=c.createElement(c.Fragment,null,c.createElement("span",{style:{paddingLeft:"".concat(h*a,"px")},className:"".concat(p,"-row-indent indent-level-").concat(a)}),x({prefixCls:p,expanded:g,expandable:b,record:u,onExpand:y})));var E=(null===(o=n.onCell)||void 0===o?void 0:o.call(n,u,i))||{};if(l){var N=E.rowSpan,S=void 0===N?1:N;if(A&&S&&t<l){for(var M=S,R=i;R<i+S;R+=1){var I=s[R];w.has(I)&&(M+=1)}E.rowSpan=M}}return{key:C,fixedInfo:k,appendCellNode:r,additionalCellProps:E}}const ee=g((function(e){var n=e.className,t=e.style,a=e.record,i=e.index,o=e.renderIndex,r=e.rowKey,s=e.rowKeys,l=e.indent,u=void 0===l?0:l,p=e.rowComponent,m=e.cellComponent,f=e.scopeCellComponent,v=e.expandedRowInfo,h=$(a,r,i,u),x=h.prefixCls,g=h.flattenColumns,b=h.expandedRowClassName,y=h.expandedRowRender,A=h.rowProps,k=h.expanded,N=h.rowSupportExpand,S=c.useRef(!1);S.current||(S.current=k);var M,R=Z(b,a,i,u),I=c.createElement(p,(0,d.A)({},A,{"data-row-key":r,className:E()(n,"".concat(x,"-row"),"".concat(x,"-row-level-").concat(u),null===A||void 0===A?void 0:A.className,(0,C.A)({},R,u>=1)),style:(0,w.A)((0,w.A)({},t),null===A||void 0===A?void 0:A.style)}),g.map((function(e,n){var t=e.render,r=e.dataIndex,l=e.className,p=J(h,e,n,u,i,s,null===v||void 0===v?void 0:v.offset),g=p.key,b=p.fixedInfo,y=p.appendCellNode,A=p.additionalCellProps;return c.createElement(F,(0,d.A)({className:l,ellipsis:e.ellipsis,align:e.align,scope:e.rowScope,component:e.rowScope?f:m,prefixCls:x,key:g,record:a,index:i,renderIndex:o,dataIndex:r,render:t,shouldCellUpdate:e.shouldCellUpdate},b,{appendNode:y,additionalProps:A}))})));if(N&&(S.current||k)){var _=y(a,i,u+1,k);M=c.createElement(G,{expanded:k,className:E()("".concat(x,"-expanded-row"),"".concat(x,"-expanded-row-level-").concat(u+1),R),prefixCls:x,component:p,cellComponent:m,colSpan:v?v.colSpan:g.length,stickyOffset:null===v||void 0===v?void 0:v.sticky,isEmpty:!1},_)}return c.createElement(c.Fragment,null,I,M)}));function ne(e){var n=e.columnKey,t=e.onColumnResize,a=e.column,i=c.useRef();return(0,r.A)((function(){i.current&&t(n,i.current.offsetWidth)}),[]),c.createElement(K.A,{data:n},c.createElement("td",{ref:i,style:{paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,height:0}},c.createElement("div",{style:{height:0,overflow:"hidden",fontWeight:"bold"}},(null===a||void 0===a?void 0:a.title)||"\xa0")))}var te=t(72864);function ae(e){var n=e.prefixCls,t=e.columnsKey,a=e.onColumnResize,i=e.columns,o=c.useRef(null),r=p(y,["measureRowRender"]).measureRowRender,s=c.createElement("tr",{"aria-hidden":"true",className:"".concat(n,"-measure-row"),style:{height:0},ref:o},c.createElement(K.A.Collection,{onBatchResize:function(e){(0,te.A)(o.current)&&e.forEach((function(e){var n=e.data,t=e.size;a(n,t.offsetWidth)}))}},t.map((function(e){var n=i.find((function(n){return n.key===e}));return c.createElement(ne,{key:e,columnKey:e,onColumnResize:a,column:n})}))));return r?r(s):s}const ie=g((function(e){var n,t=e.data,a=e.measureColumnWidth,i=p(y,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode","expandedRowOffset","fixedInfoList","colWidths"]),o=i.prefixCls,r=i.getComponent,s=i.onColumnResize,l=i.flattenColumns,u=i.getRowKey,d=i.expandedKeys,m=i.childrenColumnName,f=i.emptyNode,v=i.expandedRowOffset,h=void 0===v?0:v,x=i.colWidths,g=X(t,m,d,u),b=c.useMemo((function(){return g.map((function(e){return e.rowKey}))}),[g]),A=c.useRef({renderWithProps:!1}),w=c.useMemo((function(){for(var e=l.length-h,n=0,t=0;t<h;t+=1)n+=x[t]||0;return{offset:h,colSpan:e,sticky:n}}),[l.length,h,x]),C=r(["body","wrapper"],"tbody"),k=r(["body","row"],"tr"),E=r(["body","cell"],"td"),N=r(["body","cell"],"th");n=t.length?g.map((function(e,n){var t=e.record,a=e.indent,i=e.index,o=e.rowKey;return c.createElement(ee,{key:o,rowKey:o,rowKeys:b,record:t,index:n,renderIndex:i,rowComponent:k,cellComponent:E,scopeCellComponent:N,indent:a,expandedRowInfo:w})})):c.createElement(G,{expanded:!0,className:"".concat(o,"-placeholder"),prefixCls:o,component:k,cellComponent:E,colSpan:l.length,isEmpty:!0},f);var S=R(l);return c.createElement(M.Provider,{value:A.current},c.createElement(C,{className:"".concat(o,"-tbody")},a&&c.createElement(ae,{prefixCls:o,columnsKey:S,onColumnResize:s,columns:l}),n))}));var oe=t(29160),re=["columnType"];const se=function(e){for(var n=e.colWidths,t=e.columns,a=e.columCount,i=p(y,["tableLayout"]).tableLayout,o=[],r=!1,s=(a||t.length)-1;s>=0;s-=1){var l=n[s],u=t&&t[s],m=void 0,f=void 0;if(u&&(m=u[oe.P],"auto"===i&&(f=u.minWidth)),l||f||m||r){var v=m||{},h=(v.columnType,(0,O.A)(v,re));o.unshift(c.createElement("col",(0,d.A)({key:s,style:{width:l,minWidth:f}},h))),r=!0}}return o.length>0?c.createElement("colgroup",null,o):null};var ce=t(83912),le=["className","noData","columns","flattenColumns","colWidths","colGroup","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","scrollX","tableLayout","onScroll","children"];var ue=c.forwardRef((function(e,n){var t=e.className,a=e.noData,i=e.columns,o=e.flattenColumns,r=e.colWidths,s=e.colGroup,l=e.columCount,u=e.stickyOffsets,d=e.direction,f=e.fixHeader,v=e.stickyTopOffset,h=e.stickyBottomOffset,x=e.stickyClassName,g=e.scrollX,b=e.tableLayout,A=void 0===b?"fixed":b,k=e.onScroll,N=e.children,S=(0,O.A)(e,le),M=p(y,["prefixCls","scrollbarSize","isSticky","getComponent"]),R=M.prefixCls,I=M.scrollbarSize,_=M.isSticky,P=(0,M.getComponent)(["header","table"],"table"),j=_&&!f?0:I,F=c.useRef(null),T=c.useCallback((function(e){(0,m.Xf)(n,e),(0,m.Xf)(F,e)}),[]);c.useEffect((function(){function e(e){var n=e,t=n.currentTarget,a=n.deltaX;a&&(k({currentTarget:t,scrollLeft:t.scrollLeft+a}),e.preventDefault())}var n=F.current;return null===n||void 0===n||n.addEventListener("wheel",e,{passive:!1}),function(){null===n||void 0===n||n.removeEventListener("wheel",e)}}),[]);var D=o[o.length-1],z={fixed:D?D.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(R,"-cell-scrollbar")}}},V=(0,c.useMemo)((function(){return j?[].concat((0,ce.A)(i),[z]):i}),[j,i]),L=(0,c.useMemo)((function(){return j?[].concat((0,ce.A)(o),[z]):o}),[j,o]),q=(0,c.useMemo)((function(){var e=u.right,n=u.left;return(0,w.A)((0,w.A)({},u),{},{left:"rtl"===d?[].concat((0,ce.A)(n.map((function(e){return e+j}))),[0]):n,right:"rtl"===d?e:[].concat((0,ce.A)(e.map((function(e){return e+j}))),[0]),isSticky:_})}),[j,u,_]),H=function(e,n){return(0,c.useMemo)((function(){for(var t=[],a=0;a<n;a+=1){var i=e[a];if(void 0===i)return null;t[a]=i}return t}),[e.join("_"),n])}(r,l),K=(0,c.useMemo)((function(){var e=!H||!H.length||H.every((function(e){return!e}));return a||e}),[a,H]);return c.createElement("div",{style:(0,w.A)({overflow:"hidden"},_?{top:v,bottom:h}:{}),ref:T,className:E()(t,(0,C.A)({},x,!!x))},c.createElement(P,{style:{tableLayout:A,minWidth:"100%",width:g}},K?s:c.createElement(se,{colWidths:[].concat((0,ce.A)(H),[j]),columCount:l+1,columns:L}),N((0,w.A)((0,w.A)({},S),{},{stickyOffsets:q,columns:V,flattenColumns:L}))))}));const pe=c.memo(ue);const de=function(e){var n,t=e.cells,a=e.stickyOffsets,i=e.flattenColumns,o=e.rowComponent,r=e.cellComponent,s=e.onHeaderRow,l=e.index,u=p(y,["prefixCls","direction"]),m=u.prefixCls,f=u.direction;s&&(n=s(t.map((function(e){return e.column})),l));var v=R(t.map((function(e){return e.column})));return c.createElement(o,n,t.map((function(e,n){var t,o=e.column,s=T(e.colStart,e.colEnd,i,a,f);return o&&o.onHeaderCell&&(t=e.column.onHeaderCell(o)),c.createElement(F,(0,d.A)({},e,{scope:o.title?e.colSpan>1?"colgroup":"col":null,ellipsis:o.ellipsis,align:o.align,component:r,prefixCls:m,key:v[n]},s,{additionalProps:t,rowType:"header"}))})))};const me=g((function(e){var n=e.stickyOffsets,t=e.columns,a=e.flattenColumns,i=e.onHeaderRow,o=p(y,["prefixCls","getComponent"]),r=o.prefixCls,s=o.getComponent,l=c.useMemo((function(){return function(e){var n=[];!function e(t,a){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n[i]=n[i]||[];var o=a;return t.filter(Boolean).map((function(t){var a={key:t.key,className:t.className||"",children:t.title,column:t,colStart:o},r=1,s=t.children;return s&&s.length>0&&(r=e(s,o,i+1).reduce((function(e,n){return e+n}),0),a.hasSubColumns=!0),"colSpan"in t&&(r=t.colSpan),"rowSpan"in t&&(a.rowSpan=t.rowSpan),a.colSpan=r,a.colEnd=a.colStart+r-1,n[i].push(a),o+=r,r}))}(e,0);for(var t=n.length,a=function(e){n[e].forEach((function(n){"rowSpan"in n||n.hasSubColumns||(n.rowSpan=t-e)}))},i=0;i<t;i+=1)a(i);return n}(t)}),[t]),u=s(["header","wrapper"],"thead"),d=s(["header","row"],"tr"),m=s(["header","cell"],"th");return c.createElement(u,{className:"".concat(r,"-thead")},l.map((function(e,t){return c.createElement(de,{key:t,flattenColumns:a,cells:e,stickyOffsets:n,rowComponent:d,cellComponent:m,onHeaderRow:i,index:t})})))}));var fe=t(46598);var ve=(0,t(15717).A)()?window:null;const he=function(e,n,t){return(0,c.useMemo)((function(){var a=n.length,i=function(t,a,i){for(var o=[],r=0,s=t;s!==a;s+=i)o.push(r),n[s].fixed&&(r+=e[s]||0);return o},o=i(0,a,1),r=i(a-1,-1,-1).reverse();return"rtl"===t?{left:r,right:o}:{left:o,right:r}}),[e,n,t])};const xe=function(e){var n=e.className,t=e.children;return c.createElement("div",{className:n},t)};var ge=t(88393),be=t(956),ye=t(5343);function Ae(e){var n=(0,ye.rb)(e).getBoundingClientRect(),t=document.documentElement;return{left:n.left+(window.pageXOffset||t.scrollLeft)-(t.clientLeft||document.body.clientLeft||0),top:n.top+(window.pageYOffset||t.scrollTop)-(t.clientTop||document.body.clientTop||0)}}var we=function(e,n){var t,a,o=e.scrollBodyRef,r=e.onScroll,s=e.offsetScroll,l=e.container,u=e.direction,d=p(y,"prefixCls"),m=(null===(t=o.current)||void 0===t?void 0:t.scrollWidth)||0,f=(null===(a=o.current)||void 0===a?void 0:a.clientWidth)||0,v=m&&f*(f/m),h=c.useRef(),x=function(e){var n=(0,c.useRef)(e),t=(0,c.useState)({}),a=(0,i.A)(t,2)[1],o=(0,c.useRef)(null),r=(0,c.useRef)([]);return(0,c.useEffect)((function(){return function(){o.current=null}}),[]),[n.current,function(e){r.current.push(e);var t=Promise.resolve();o.current=t,t.then((function(){if(o.current===t){var e=r.current,i=n.current;r.current=[],e.forEach((function(e){n.current=e(n.current)})),o.current=null,i!==n.current&&a({})}}))}]}({scrollLeft:0,isHiddenScrollBar:!0}),g=(0,i.A)(x,2),b=g[0],A=g[1],k=c.useRef({delta:0,x:0}),N=c.useState(!1),S=(0,i.A)(N,2),M=S[0],R=S[1],I=c.useRef(null);c.useEffect((function(){return function(){be.A.cancel(I.current)}}),[]);var _=function(){R(!1)},P=function(e){var n,t=(e||(null===(n=window)||void 0===n?void 0:n.event)).buttons;if(M&&0!==t){var a=k.current.x+e.pageX-k.current.x-k.current.delta,i="rtl"===u;a=Math.max(i?v-f:0,Math.min(i?0:f-v,a)),(!i||Math.abs(a)+Math.abs(v)<f)&&(r({scrollLeft:a/f*(m+2)}),k.current.x=e.pageX)}else M&&R(!1)},j=function(){be.A.cancel(I.current),I.current=(0,be.A)((function(){if(o.current){var e=Ae(o.current).top,n=e+o.current.offsetHeight,t=l===window?document.documentElement.scrollTop+window.innerHeight:Ae(l).top+l.clientHeight;A((function(a){return(0,w.A)((0,w.A)({},a),{},{isHiddenScrollBar:n-(0,W.A)()<=t||e>=t-s})}))}}))},F=function(e){A((function(n){return(0,w.A)((0,w.A)({},n),{},{scrollLeft:m?e/m*f:0})}))};return c.useImperativeHandle(n,(function(){return{setScrollLeft:F,checkScrollBarVisible:j}})),c.useEffect((function(){var e=(0,ge.A)(document.body,"mouseup",_,!1),n=(0,ge.A)(document.body,"mousemove",P,!1);return j(),function(){e.remove(),n.remove()}}),[v,M]),c.useEffect((function(){if(o.current){for(var e=[],n=(0,ye.rb)(o.current);n;)e.push(n),n=n.parentElement;return e.forEach((function(e){return e.addEventListener("scroll",j,!1)})),window.addEventListener("resize",j,!1),window.addEventListener("scroll",j,!1),l.addEventListener("scroll",j,!1),function(){e.forEach((function(e){return e.removeEventListener("scroll",j)})),window.removeEventListener("resize",j),window.removeEventListener("scroll",j),l.removeEventListener("scroll",j)}}}),[l]),c.useEffect((function(){b.isHiddenScrollBar||A((function(e){var n=o.current;return n?(0,w.A)((0,w.A)({},e),{},{scrollLeft:n.scrollLeft/n.scrollWidth*n.clientWidth}):e}))}),[b.isHiddenScrollBar]),m<=f||!v||b.isHiddenScrollBar?null:c.createElement("div",{style:{height:(0,W.A)(),width:f,bottom:s},className:"".concat(d,"-sticky-scroll")},c.createElement("div",{onMouseDown:function(e){e.persist(),k.current.delta=e.pageX-b.scrollLeft,k.current.x=0,R(!0),e.preventDefault()},ref:h,className:E()("".concat(d,"-sticky-scroll-bar"),(0,C.A)({},"".concat(d,"-sticky-scroll-bar-active"),M)),style:{width:"".concat(v,"px"),transform:"translate3d(".concat(b.scrollLeft,"px, 0, 0)")}}))};const Ce=c.forwardRef(we);const ke=function(e){return null};const Ee=function(e){return null};var Ne="rc-table",Se=[],Me={};function Re(){return"No Data"}function Ie(e,n){var t=(0,w.A)({rowKey:"key",prefixCls:Ne,emptyText:Re},e),l=t.prefixCls,u=t.className,p=t.rowClassName,m=t.style,f=t.data,v=t.rowKey,h=t.scroll,x=t.tableLayout,g=t.direction,b=t.title,k=t.footer,M=t.summary,_=t.caption,P=t.id,j=t.showHeader,F=t.components,D=t.emptyText,O=t.onRow,z=t.onHeaderRow,V=t.measureRowRender,H=t.onScroll,U=t.internalHooks,X=t.transformColumns,$=t.internalRefs,G=t.tailor,Z=t.getContainerWidth,J=t.sticky,ee=t.rowHoverable,ne=void 0===ee||ee,te=f||Se,ae=!!te.length,re=U===a.F;var le=c.useCallback((function(e,n){return(0,S.A)(F,e)||n}),[F]),ue=c.useMemo((function(){return"function"===typeof v?v:function(e){return e&&e[v]}}),[v]),de=le(["body"]),ge=function(){var e=c.useState(-1),n=(0,i.A)(e,2),t=n[0],a=n[1],o=c.useState(-1),r=(0,i.A)(o,2),s=r[0],l=r[1];return[t,s,c.useCallback((function(e,n){a(e),l(n)}),[])]}(),be=(0,i.A)(ge,3),Ae=be[0],we=be[1],ke=be[2],Ee=function(e,n,t){var o=(0,oe.T)(e),r=o.expandIcon,s=o.expandedRowKeys,l=o.defaultExpandedRowKeys,u=o.defaultExpandAllRows,p=o.expandedRowRender,d=o.onExpand,m=o.onExpandedRowsChange,f=r||Q,v=o.childrenColumnName||"children",h=c.useMemo((function(){return p?"row":!!(e.expandable&&e.internalHooks===a.F&&e.expandable.__PARENT_RENDER_ICON__||n.some((function(e){return e&&"object"===(0,A.A)(e)&&e[v]})))&&"nest"}),[!!p,n]),x=c.useState((function(){return l||(u?function(e,n,t){var a=[];return function e(i){(i||[]).forEach((function(i,o){a.push(n(i,o)),e(i[t])}))}(e),a}(n,t,v):[])})),g=(0,i.A)(x,2),b=g[0],y=g[1],w=c.useMemo((function(){return new Set(s||b||[])}),[s,b]),C=c.useCallback((function(e){var a,i=t(e,n.indexOf(e)),o=w.has(i);o?(w.delete(i),a=(0,ce.A)(w)):a=[].concat((0,ce.A)(w),[i]),y(a),d&&d(!o,e),m&&m(a)}),[t,w,n,d,m]);return[o,h,w,f,v,C]}(t,te,ue),Ie=(0,i.A)(Ee,6),_e=Ie[0],Pe=Ie[1],je=Ie[2],Fe=Ie[3],Te=Ie[4],De=Ie[5],Oe=null===h||void 0===h?void 0:h.x,ze=c.useState(0),Ve=(0,i.A)(ze,2),Le=Ve[0],qe=Ve[1],He=(0,fe.A)((0,w.A)((0,w.A)((0,w.A)({},t),_e),{},{expandable:!!_e.expandedRowRender,columnTitle:_e.columnTitle,expandedKeys:je,getRowKey:ue,onTriggerExpand:De,expandIcon:Fe,expandIconColumnIndex:_e.expandIconColumnIndex,direction:g,scrollWidth:re&&G&&"number"===typeof Oe?Oe:null,clientWidth:Le}),re?X:null),Ke=(0,i.A)(He,4),Ye=Ke[0],We=Ke[1],Be=Ke[2],Ue=Ke[3],Xe=null!==Be&&void 0!==Be?Be:Oe,$e=c.useMemo((function(){return{columns:Ye,flattenColumns:We}}),[Ye,We]),Ge=c.useRef(),Qe=c.useRef(),Ze=c.useRef(),Je=c.useRef();c.useImperativeHandle(n,(function(){return{nativeElement:Ge.current,scrollTo:function(e){var n,t;if(Ze.current instanceof HTMLElement){var a=e.index,i=e.top,o=e.key;if("number"!==typeof(t=i)||Number.isNaN(t)){var r,s=null!==o&&void 0!==o?o:ue(te[a]);null===(r=Ze.current.querySelector('[data-row-key="'.concat(s,'"]')))||void 0===r||r.scrollIntoView()}else{var c;null===(c=Ze.current)||void 0===c||c.scrollTo({top:i})}}else null!==(n=Ze.current)&&void 0!==n&&n.scrollTo&&Ze.current.scrollTo(e)}}}));var en,nn,tn,an=c.useRef(),on=c.useState(!1),rn=(0,i.A)(on,2),sn=rn[0],cn=rn[1],ln=c.useState(!1),un=(0,i.A)(ln,2),pn=un[0],dn=un[1],mn=c.useState(new Map),fn=(0,i.A)(mn,2),vn=fn[0],hn=fn[1],xn=R(We).map((function(e){return vn.get(e)})),gn=c.useMemo((function(){return xn}),[xn.join("_")]),bn=he(gn,We,g),yn=h&&I(h.y),An=h&&I(Xe)||Boolean(_e.fixed),wn=An&&We.some((function(e){return e.fixed})),Cn=c.useRef(),kn=function(e,n){var t="object"===(0,A.A)(e)?e:{},a=t.offsetHeader,i=void 0===a?0:a,o=t.offsetSummary,r=void 0===o?0:o,s=t.offsetScroll,l=void 0===s?0:s,u=t.getContainer,p=(void 0===u?function(){return ve}:u)()||ve,d=!!e;return c.useMemo((function(){return{isSticky:d,stickyClassName:d?"".concat(n,"-sticky-holder"):"",offsetHeader:i,offsetSummary:r,offsetScroll:l,container:p}}),[d,l,i,r,n,p])}(J,l),En=kn.isSticky,Nn=kn.offsetHeader,Sn=kn.offsetSummary,Mn=kn.offsetScroll,Rn=kn.stickyClassName,In=kn.container,_n=c.useMemo((function(){return null===M||void 0===M?void 0:M(te)}),[M,te]),Pn=(yn||En)&&c.isValidElement(_n)&&_n.type===L&&_n.props.fixed;yn&&(nn={overflowY:ae?"scroll":"auto",maxHeight:h.y}),An&&(en={overflowX:"auto"},yn||(nn={overflowY:"hidden"}),tn={width:!0===Xe?"auto":Xe,minWidth:"100%"});var jn=c.useCallback((function(e,n){hn((function(t){if(t.get(e)!==n){var a=new Map(t);return a.set(e,n),a}return t}))}),[]),Fn=function(e){var n=(0,c.useRef)(e||null),t=(0,c.useRef)();function a(){window.clearTimeout(t.current)}return(0,c.useEffect)((function(){return a}),[]),[function(e){n.current=e,a(),t.current=window.setTimeout((function(){n.current=null,t.current=void 0}),100)},function(){return n.current}]}(null),Tn=(0,i.A)(Fn,2),Dn=Tn[0],On=Tn[1];function zn(e,n){n&&("function"===typeof n?n(e):n.scrollLeft!==e&&(n.scrollLeft=e,n.scrollLeft!==e&&setTimeout((function(){n.scrollLeft=e}),0)))}var Vn=(0,o.A)((function(e){var n,t=e.currentTarget,a=e.scrollLeft,i="rtl"===g,o="number"===typeof a?a:t.scrollLeft,r=t||Me;On()&&On()!==r||(Dn(r),zn(o,Qe.current),zn(o,Ze.current),zn(o,an.current),zn(o,null===(n=Cn.current)||void 0===n?void 0:n.setScrollLeft));var s=t||Qe.current;if(s){var c=re&&G&&"number"===typeof Xe?Xe:s.scrollWidth,l=s.clientWidth;if(c===l)return cn(!1),void dn(!1);i?(cn(-o<c-l),dn(-o>0)):(cn(o>0),dn(o<c-l))}})),Ln=(0,o.A)((function(e){Vn(e),null===H||void 0===H||H(e)})),qn=function(){var e;An&&Ze.current?Vn({currentTarget:(0,ye.rb)(Ze.current),scrollLeft:null===(e=Ze.current)||void 0===e?void 0:e.scrollLeft}):(cn(!1),dn(!1))},Hn=c.useRef(!1);c.useEffect((function(){Hn.current&&qn()}),[An,f,Ye.length]),c.useEffect((function(){Hn.current=!0}),[]);var Kn=c.useState(0),Yn=(0,i.A)(Kn,2),Wn=Yn[0],Bn=Yn[1],Un=c.useState(!0),Xn=(0,i.A)(Un,2),$n=Xn[0],Gn=Xn[1];(0,r.A)((function(){G&&re||(Ze.current instanceof Element?Bn((0,W.V)(Ze.current).width):Bn((0,W.V)(Je.current).width)),Gn((0,Y.F)("position","sticky"))}),[]),c.useEffect((function(){re&&$&&($.body.current=Ze.current)}));var Qn,Zn=c.useCallback((function(e){return c.createElement(c.Fragment,null,c.createElement(me,e),"top"===Pn&&c.createElement(q,e,_n))}),[Pn,_n]),Jn=c.useCallback((function(e){return c.createElement(q,e,_n)}),[_n]),et=le(["table"],"table"),nt=c.useMemo((function(){return x||(wn?"max-content"===Xe?"auto":"fixed":yn||En||We.some((function(e){return e.ellipsis}))?"fixed":"auto")}),[yn,wn,We,x,En]),tt={colWidths:gn,columCount:We.length,stickyOffsets:bn,onHeaderRow:z,fixHeader:yn,scroll:h},at=c.useMemo((function(){return ae?null:"function"===typeof D?D():D}),[ae,D]),it=c.createElement(ie,{data:te,measureColumnWidth:yn||An||En}),ot=c.createElement(se,{colWidths:We.map((function(e){return e.width})),columns:We}),rt=null!==_&&void 0!==_?c.createElement("caption",{className:"".concat(l,"-caption")},_):void 0,st=(0,B.A)(t,{data:!0}),ct=(0,B.A)(t,{aria:!0});if(yn||En){var lt;"function"===typeof de?(lt=de(te,{scrollbarSize:Wn,ref:Ze,onScroll:Vn}),tt.colWidths=We.map((function(e,n){var t=e.width,a=n===We.length-1?t-Wn:t;return"number"!==typeof a||Number.isNaN(a)?0:a}))):lt=c.createElement("div",{style:(0,w.A)((0,w.A)({},en),nn),onScroll:Ln,ref:Ze,className:E()("".concat(l,"-body"))},c.createElement(et,(0,d.A)({style:(0,w.A)((0,w.A)({},tn),{},{tableLayout:nt})},ct),rt,ot,it,!Pn&&_n&&c.createElement(q,{stickyOffsets:bn,flattenColumns:We},_n)));var ut=(0,w.A)((0,w.A)((0,w.A)({noData:!te.length},tt),$e),{},{direction:g,stickyClassName:Rn,scrollX:Xe,tableLayout:nt,onScroll:Vn});Qn=c.createElement(c.Fragment,null,!1!==j&&c.createElement(pe,(0,d.A)({},ut,{stickyTopOffset:Nn,className:"".concat(l,"-header"),ref:Qe,colGroup:ot}),Zn),lt,Pn&&"top"!==Pn&&c.createElement(pe,(0,d.A)({},ut,{stickyBottomOffset:Sn,className:"".concat(l,"-summary"),ref:an,colGroup:ot}),Jn),En&&Ze.current&&Ze.current instanceof Element&&c.createElement(Ce,{ref:Cn,offsetScroll:Mn,scrollBodyRef:Ze,onScroll:Vn,container:In,direction:g}))}else Qn=c.createElement("div",{style:(0,w.A)((0,w.A)({},en),nn),className:E()("".concat(l,"-content")),onScroll:Vn,ref:Ze},c.createElement(et,(0,d.A)({style:(0,w.A)((0,w.A)({},tn),{},{tableLayout:nt})},ct),rt,ot,!1!==j&&c.createElement(me,(0,d.A)({},tt,$e)),it,_n&&c.createElement(q,{stickyOffsets:bn,flattenColumns:We},_n)));var pt=c.createElement("div",(0,d.A)({className:E()(l,u,(0,C.A)((0,C.A)((0,C.A)((0,C.A)((0,C.A)((0,C.A)((0,C.A)((0,C.A)((0,C.A)((0,C.A)({},"".concat(l,"-rtl"),"rtl"===g),"".concat(l,"-ping-left"),sn),"".concat(l,"-ping-right"),pn),"".concat(l,"-layout-fixed"),"fixed"===x),"".concat(l,"-fixed-header"),yn),"".concat(l,"-fixed-column"),wn),"".concat(l,"-fixed-column-gapped"),wn&&Ue),"".concat(l,"-scroll-horizontal"),An),"".concat(l,"-has-fix-left"),We[0]&&We[0].fixed),"".concat(l,"-has-fix-right"),We[We.length-1]&&"right"===We[We.length-1].fixed)),style:m,id:P,ref:Ge},st),b&&c.createElement(xe,{className:"".concat(l,"-title")},b(te)),c.createElement("div",{ref:Je,className:"".concat(l,"-container")},Qn),k&&c.createElement(xe,{className:"".concat(l,"-footer")},k(te)));An&&(pt=c.createElement(K.A,{onResize:function(e){var n,t=e.width;null===(n=Cn.current)||void 0===n||n.checkScrollBarVisible();var a=Ge.current?Ge.current.offsetWidth:t;re&&Z&&Ge.current&&(a=Z(Ge.current,a)||a),a!==Le&&(qn(),qe(a))}},pt));var dt=function(e,n,t){var a=e.map((function(a,i){return T(i,i,e,n,t)}));return(0,N.A)((function(){return a}),[a],(function(e,n){return!(0,s.A)(e,n)}))}(We,bn,g),mt=c.useMemo((function(){return{scrollX:Xe,prefixCls:l,getComponent:le,scrollbarSize:Wn,direction:g,fixedInfoList:dt,isSticky:En,supportSticky:$n,componentWidth:Le,fixHeader:yn,fixColumn:wn,horizonScroll:An,tableLayout:nt,rowClassName:p,expandedRowClassName:_e.expandedRowClassName,expandIcon:Fe,expandableType:Pe,expandRowByClick:_e.expandRowByClick,expandedRowRender:_e.expandedRowRender,expandedRowOffset:_e.expandedRowOffset,onTriggerExpand:De,expandIconColumnIndex:_e.expandIconColumnIndex,indentSize:_e.indentSize,allColumnsFixedLeft:We.every((function(e){return"left"===e.fixed})),emptyNode:at,columns:Ye,flattenColumns:We,onColumnResize:jn,colWidths:gn,hoverStartRow:Ae,hoverEndRow:we,onHover:ke,rowExpandable:_e.rowExpandable,onRow:O,getRowKey:ue,expandedKeys:je,childrenColumnName:Te,rowHoverable:ne,measureRowRender:V}}),[Xe,l,le,Wn,g,dt,En,$n,Le,yn,wn,An,nt,p,_e.expandedRowClassName,Fe,Pe,_e.expandRowByClick,_e.expandedRowRender,_e.expandedRowOffset,De,_e.expandIconColumnIndex,_e.indentSize,at,Ye,We,jn,gn,Ae,we,ke,_e.rowExpandable,O,ue,je,Te,ne,V]);return c.createElement(y.Provider,{value:mt},pt)}var _e=c.forwardRef(Ie);function Pe(e){return x(_e,e)}var je=Pe();je.EXPAND_COLUMN=a.k,je.INTERNAL_HOOKS=a.F,je.Column=ke,je.ColumnGroup=Ee,je.Summary=H;const Fe=je;var Te=t(45306),De=u(null),Oe=u(null);const ze=function(e){var n=e.rowInfo,t=e.column,a=e.colIndex,i=e.indent,o=e.index,r=e.component,s=e.renderIndex,l=e.record,u=e.style,m=e.className,f=e.inverse,v=e.getHeight,h=t.render,x=t.dataIndex,g=t.className,b=t.width,y=p(Oe,["columnsOffset"]).columnsOffset,A=J(n,t,a,i,o),C=A.key,k=A.fixedInfo,N=A.appendCellNode,S=A.additionalCellProps,M=S.style,R=S.colSpan,I=void 0===R?1:R,_=S.rowSpan,P=void 0===_?1:_,j=function(e,n,t){return t[e+(n||1)]-(t[e]||0)}(a-1,I,y),T=I>1?b-j:0,D=(0,w.A)((0,w.A)((0,w.A)({},M),u),{},{flex:"0 0 ".concat(j,"px"),width:"".concat(j,"px"),marginRight:T,pointerEvents:"auto"}),O=c.useMemo((function(){return f?P<=1:0===I||0===P||P>1}),[P,I,f]);O?D.visibility="hidden":f&&(D.height=null===v||void 0===v?void 0:v(P));var z=O?function(){return null}:h,V={};return 0!==P&&0!==I||(V.rowSpan=1,V.colSpan=1),c.createElement(F,(0,d.A)({className:E()(g,m),ellipsis:t.ellipsis,align:t.align,scope:t.rowScope,component:r,prefixCls:n.prefixCls,key:C,record:l,index:o,renderIndex:s,dataIndex:x,render:z,shouldCellUpdate:t.shouldCellUpdate},k,{appendNode:N,additionalProps:(0,w.A)((0,w.A)({},S),{},{style:D},V)}))};var Ve=["data","index","className","rowKey","style","extra","getHeight"];const Le=g(c.forwardRef((function(e,n){var t,a=e.data,i=e.index,o=e.className,r=e.rowKey,s=e.style,l=e.extra,u=e.getHeight,m=(0,O.A)(e,Ve),f=a.record,v=a.indent,h=a.index,x=p(y,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),g=x.scrollX,b=x.flattenColumns,A=x.prefixCls,k=x.fixColumn,N=x.componentWidth,S=p(De,["getComponent"]).getComponent,M=$(f,r,i,v),R=S(["body","row"],"div"),I=S(["body","cell"],"div"),_=M.rowSupportExpand,P=M.expanded,j=M.rowProps,T=M.expandedRowRender,D=M.expandedRowClassName;if(_&&P){var z=T(f,i,v+1,P),V=Z(D,f,i,v),L={};k&&(L={style:(0,C.A)({},"--virtual-width","".concat(N,"px"))});var q="".concat(A,"-expanded-row-cell");t=c.createElement(R,{className:E()("".concat(A,"-expanded-row"),"".concat(A,"-expanded-row-level-").concat(v+1),V)},c.createElement(F,{component:I,prefixCls:A,className:E()(q,(0,C.A)({},"".concat(q,"-fixed"),k)),additionalProps:L},z))}var H=(0,w.A)((0,w.A)({},s),{},{width:g});l&&(H.position="absolute",H.pointerEvents="none");var K=c.createElement(R,(0,d.A)({},j,m,{"data-row-key":r,ref:_?null:n,className:E()(o,"".concat(A,"-row"),null===j||void 0===j?void 0:j.className,(0,C.A)({},"".concat(A,"-row-extra"),l)),style:(0,w.A)((0,w.A)({},H),null===j||void 0===j?void 0:j.style)}),b.map((function(e,n){return c.createElement(ze,{key:n,component:I,rowInfo:M,column:e,colIndex:n,indent:v,index:i,renderIndex:h,record:f,inverse:l,getHeight:u})})));return _?c.createElement("div",{ref:n},K,t):K})));const qe=g(c.forwardRef((function(e,n){var t=e.data,a=e.onScroll,o=p(y,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),r=o.flattenColumns,s=o.onColumnResize,l=o.getRowKey,u=o.expandedKeys,d=o.prefixCls,m=o.childrenColumnName,f=o.scrollX,v=o.direction,h=p(De),x=h.sticky,g=h.scrollY,b=h.listItemHeight,w=h.getComponent,C=h.onScroll,k=c.useRef(),E=X(t,m,u,l),N=c.useMemo((function(){var e=0;return r.map((function(n){var t=n.width,a=n.minWidth,i=n.key,o=Math.max(t||0,a||0);return[i,o,e+=o]}))}),[r]),S=c.useMemo((function(){return N.map((function(e){return e[2]}))}),[N]);c.useEffect((function(){N.forEach((function(e){var n=(0,i.A)(e,2),t=n[0],a=n[1];s(t,a)}))}),[N]),c.useImperativeHandle(n,(function(){var e,n={scrollTo:function(e){var n;null===(n=k.current)||void 0===n||n.scrollTo(e)},nativeElement:null===(e=k.current)||void 0===e?void 0:e.nativeElement};return Object.defineProperty(n,"scrollLeft",{get:function(){var e;return(null===(e=k.current)||void 0===e?void 0:e.getScrollInfo().x)||0},set:function(e){var n;null===(n=k.current)||void 0===n||n.scrollTo({left:e})}}),Object.defineProperty(n,"scrollTop",{get:function(){var e;return(null===(e=k.current)||void 0===e?void 0:e.getScrollInfo().y)||0},set:function(e){var n;null===(n=k.current)||void 0===n||n.scrollTo({top:e})}}),n}));var M=function(e,n){var t,a=null===(t=E[n])||void 0===t?void 0:t.record,i=e.onCell;if(i){var o,r=i(a,n);return null!==(o=null===r||void 0===r?void 0:r.rowSpan)&&void 0!==o?o:1}return 1},R=c.useMemo((function(){return{columnsOffset:S}}),[S]),I="".concat(d,"-tbody"),_=w(["body","wrapper"]),P={};return x&&(P.position="sticky",P.bottom=0,"object"===(0,A.A)(x)&&x.offsetScroll&&(P.bottom=x.offsetScroll)),c.createElement(Oe.Provider,{value:R},c.createElement(Te.A,{fullHeight:!1,ref:k,prefixCls:"".concat(I,"-virtual"),styles:{horizontalScrollBar:P},className:I,height:g,itemHeight:b||24,data:E,itemKey:function(e){return l(e.record)},component:_,scrollWidth:f,direction:v,onVirtualScroll:function(e){var n,t=e.x;a({currentTarget:null===(n=k.current)||void 0===n?void 0:n.nativeElement,scrollLeft:t})},onScroll:C,extraRender:function(e){var n=e.start,t=e.end,a=e.getSize,i=e.offsetY;if(t<0)return null;for(var o=r.filter((function(e){return 0===M(e,n)})),s=n,u=function(e){if(!(o=o.filter((function(n){return 0===M(n,e)}))).length)return s=e,1},p=n;p>=0&&!u(p);p-=1);for(var d=r.filter((function(e){return 1!==M(e,t)})),m=t,f=function(e){if(!(d=d.filter((function(n){return 1!==M(n,e)}))).length)return m=Math.max(e-1,t),1},v=t;v<E.length&&!f(v);v+=1);for(var h=[],x=function(e){if(!E[e])return 1;r.some((function(n){return M(n,e)>1}))&&h.push(e)},g=s;g<=m;g+=1)x(g);return h.map((function(e){var n=E[e],t=l(n.record,e),o=a(t);return c.createElement(Le,{key:e,data:n,rowKey:t,index:e,style:{top:-i+o.top},extra:!0,getHeight:function(n){var i=e+n-1,o=l(E[i].record,i),r=a(t,o);return r.bottom-r.top}})}))}},(function(e,n,t){var a=l(e.record,n);return c.createElement(Le,{data:e,rowKey:a,index:n,style:t.style})})))})));var He=function(e,n){var t=n.ref,a=n.onScroll;return c.createElement(qe,{ref:t,data:e,onScroll:a})};function Ke(e,n){var t=e.data,i=e.columns,o=e.scroll,r=e.sticky,s=e.prefixCls,l=void 0===s?Ne:s,u=e.className,p=e.listItemHeight,m=e.components,f=e.onScroll,v=o||{},h=v.x,x=v.y;"number"!==typeof h&&(h=1),"number"!==typeof x&&(x=500);var g=(0,P._q)((function(e,n){return(0,S.A)(m,e)||n})),b=(0,P._q)(f),y=c.useMemo((function(){return{sticky:r,scrollY:x,listItemHeight:p,getComponent:g,onScroll:b}}),[r,x,p,g,b]);return c.createElement(De.Provider,{value:y},c.createElement(Fe,(0,d.A)({},e,{className:E()(u,"".concat(l,"-virtual")),scroll:(0,w.A)((0,w.A)({},o),{},{x:h}),components:(0,w.A)((0,w.A)({},m),{},{body:null!==t&&void 0!==t&&t.length?He:void 0}),columns:i,internalHooks:a.F,tailor:!0,ref:n})))}var Ye=c.forwardRef(Ke);function We(e){return x(Ye,e)}We()},29160:(e,n,t)=>{"use strict";t.d(n,{P:()=>r,T:()=>s});var a=t(2250),i=t(64916),o=(t(44449),["expandable"]),r="RC_TABLE_INTERNAL_COL_DEFINE";function s(e){var n,t=e.expandable,r=(0,i.A)(e,o);return!1===(n="expandable"in e?(0,a.A)((0,a.A)({},r),t):r).showExpandColumn&&(n.expandIconColumnIndex=-1),n}},94786:(e,n,t)=>{"use strict";t.d(n,{A:()=>G});var a=t(9793),i=t(70908),o=t(2250),r=t(712),s=t(53575),c=t(64916),l=t(85591),u=t.n(l),p=t(57144),d=t(27095),m=t(98173);const f=(0,m.createContext)(null);var v=t(83912),h=t(77275),x=t(71173),g=t(45400),b=t(956);const y=function(e){var n=e.activeTabOffset,t=e.horizontal,a=e.rtl,i=e.indicator,o=void 0===i?{}:i,s=o.size,c=o.align,l=void 0===c?"center":c,u=(0,m.useState)(),p=(0,r.A)(u,2),d=p[0],f=p[1],v=(0,m.useRef)(),h=m.useCallback((function(e){return"function"===typeof s?s(e):"number"===typeof s?s:e}),[s]);function x(){b.A.cancel(v.current)}return(0,m.useEffect)((function(){var e={};if(n)if(t){e.width=h(n.width);var i=a?"right":"left";"start"===l&&(e[i]=n[i]),"center"===l&&(e[i]=n[i]+n.width/2,e.transform=a?"translateX(50%)":"translateX(-50%)"),"end"===l&&(e[i]=n[i]+n.width,e.transform="translateX(-100%)")}else e.height=h(n.height),"start"===l&&(e.top=n.top),"center"===l&&(e.top=n.top+n.height/2,e.transform="translateY(-50%)"),"end"===l&&(e.top=n.top+n.height,e.transform="translateY(-100%)");return x(),v.current=(0,b.A)((function(){var n=d&&e&&Object.keys(e).every((function(n){var t=e[n],a=d[n];return"number"===typeof t&&"number"===typeof a?Math.round(t)===Math.round(a):t===a}));n||f(e)})),x}),[JSON.stringify(n),t,a,l,h]),{style:d}};var A={width:0,height:0,left:0,top:0};function w(e,n){var t=m.useRef(e),a=m.useState({}),i=(0,r.A)(a,2)[1];return[t.current,function(e){var a="function"===typeof e?e(t.current):e;a!==t.current&&n(a,t.current),t.current=a,i({})}]}var C=Math.pow(.995,20);var k=t(33122);function E(e){var n=(0,m.useState)(0),t=(0,r.A)(n,2),a=t[0],i=t[1],o=(0,m.useRef)(0),s=(0,m.useRef)();return s.current=e,(0,k.o)((function(){var e;null===(e=s.current)||void 0===e||e.call(s)}),[a]),function(){o.current===a&&(o.current+=1,i(o.current))}}var N={width:0,height:0,left:0,top:0,right:0};function S(e){var n;return e instanceof Map?(n={},e.forEach((function(e,t){n[t]=e}))):n=e,JSON.stringify(n)}function M(e){return String(e).replace(/"/g,"TABS_DQ")}function R(e,n,t,a){return!(!t||a||!1===e||void 0===e&&(!1===n||null===n))}const I=m.forwardRef((function(e,n){var t=e.prefixCls,a=e.editable,i=e.locale,o=e.style;return a&&!1!==a.showAdd?m.createElement("button",{ref:n,type:"button",className:"".concat(t,"-nav-add"),style:o,"aria-label":(null===i||void 0===i?void 0:i.addAriaLabel)||"Add tab",onClick:function(e){a.onEdit("add",{event:e})}},a.addIcon||"+"):null}));const _=m.forwardRef((function(e,n){var t,a=e.position,i=e.prefixCls,o=e.extra;if(!o)return null;var r={};return"object"!==(0,s.A)(o)||m.isValidElement(o)?r.right=o:r=o,"right"===a&&(t=r.right),"left"===a&&(t=r.left),t?m.createElement("div",{className:"".concat(i,"-extra-content"),ref:n},t):null}));var P=t(68035),j=t(20328),F=t(60871),T=m.forwardRef((function(e,n){var t=e.prefixCls,o=e.id,s=e.tabs,c=e.locale,l=e.mobile,p=e.more,d=void 0===p?{}:p,f=e.style,v=e.className,h=e.editable,x=e.tabBarGutter,g=e.rtl,b=e.removeAriaLabel,y=e.onTabClick,A=e.getPopupContainer,w=e.popupClassName,C=(0,m.useState)(!1),k=(0,r.A)(C,2),E=k[0],N=k[1],S=(0,m.useState)(null),M=(0,r.A)(S,2),_=M[0],T=M[1],D=d.icon,O=void 0===D?"More":D,z="".concat(o,"-more-popup"),V="".concat(t,"-dropdown"),L=null!==_?"".concat(z,"-").concat(_):null,q=null===c||void 0===c?void 0:c.dropdownAriaLabel;var H=m.createElement(j.Ay,{onClick:function(e){var n=e.key,t=e.domEvent;y(n,t),N(!1)},prefixCls:"".concat(V,"-menu"),id:z,tabIndex:-1,role:"listbox","aria-activedescendant":L,selectedKeys:[_],"aria-label":void 0!==q?q:"expanded dropdown"},s.map((function(e){var n=e.closable,t=e.disabled,a=e.closeIcon,i=e.key,r=e.label,s=R(n,a,h,t);return m.createElement(j.Dr,{key:i,id:"".concat(z,"-").concat(i),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(i),disabled:t},m.createElement("span",null,r),s&&m.createElement("button",{type:"button","aria-label":b||"remove",tabIndex:0,className:"".concat(V,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),function(e,n){e.preventDefault(),e.stopPropagation(),h.onEdit("remove",{key:n,event:e})}(e,i)}},a||h.removeIcon||"\xd7"))})));function K(e){for(var n=s.filter((function(e){return!e.disabled})),t=n.findIndex((function(e){return e.key===_}))||0,a=n.length,i=0;i<a;i+=1){var o=n[t=(t+e+a)%a];if(!o.disabled)return void T(o.key)}}(0,m.useEffect)((function(){var e=document.getElementById(L);e&&e.scrollIntoView&&e.scrollIntoView(!1)}),[_]),(0,m.useEffect)((function(){E||T(null)}),[E]);var Y=(0,i.A)({},g?"marginRight":"marginLeft",x);s.length||(Y.visibility="hidden",Y.order=1);var W=u()((0,i.A)({},"".concat(V,"-rtl"),g)),B=l?null:m.createElement(P.A,(0,a.A)({prefixCls:V,overlay:H,visible:!!s.length&&E,onVisibleChange:N,overlayClassName:u()(W,w),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:A},d),m.createElement("button",{type:"button",className:"".concat(t,"-nav-more"),style:Y,"aria-haspopup":"listbox","aria-controls":z,id:"".concat(o,"-more"),"aria-expanded":E,onKeyDown:function(e){var n=e.which;if(E)switch(n){case F.A.UP:K(-1),e.preventDefault();break;case F.A.DOWN:K(1),e.preventDefault();break;case F.A.ESC:N(!1);break;case F.A.SPACE:case F.A.ENTER:null!==_&&y(_,e)}else[F.A.DOWN,F.A.SPACE,F.A.ENTER].includes(n)&&(N(!0),e.preventDefault())}},O));return m.createElement("div",{className:u()("".concat(t,"-nav-operations"),v),style:f,ref:n},B,m.createElement(I,{prefixCls:t,locale:c,editable:h}))}));const D=m.memo(T,(function(e,n){return n.tabMoving}));const O=function(e){var n=e.prefixCls,t=e.id,a=e.active,o=e.focus,r=e.tab,s=r.key,c=r.label,l=r.disabled,p=r.closeIcon,d=r.icon,f=e.closable,v=e.renderWrapper,h=e.removeAriaLabel,x=e.editable,g=e.onClick,b=e.onFocus,y=e.onBlur,A=e.onKeyDown,w=e.onMouseDown,C=e.onMouseUp,k=e.style,E=e.tabCount,N=e.currentPosition,S="".concat(n,"-tab"),I=R(f,p,x,l);function _(e){l||g(e)}var P=m.useMemo((function(){return d&&"string"===typeof c?m.createElement("span",null,c):c}),[c,d]),j=m.useRef(null);m.useEffect((function(){o&&j.current&&j.current.focus()}),[o]);var F=m.createElement("div",{key:s,"data-node-key":M(s),className:u()(S,(0,i.A)((0,i.A)((0,i.A)((0,i.A)({},"".concat(S,"-with-remove"),I),"".concat(S,"-active"),a),"".concat(S,"-disabled"),l),"".concat(S,"-focus"),o)),style:k,onClick:_},m.createElement("div",{ref:j,role:"tab","aria-selected":a,id:t&&"".concat(t,"-tab-").concat(s),className:"".concat(S,"-btn"),"aria-controls":t&&"".concat(t,"-panel-").concat(s),"aria-disabled":l,tabIndex:l?null:a?0:-1,onClick:function(e){e.stopPropagation(),_(e)},onKeyDown:A,onMouseDown:w,onMouseUp:C,onFocus:b,onBlur:y},o&&m.createElement("div",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"Tab ".concat(N," of ").concat(E)),d&&m.createElement("span",{className:"".concat(S,"-icon")},d),c&&P),I&&m.createElement("button",{type:"button",role:"tab","aria-label":h||"remove",tabIndex:a?0:-1,className:"".concat(S,"-remove"),onClick:function(e){var n;e.stopPropagation(),(n=e).preventDefault(),n.stopPropagation(),x.onEdit("remove",{key:s,event:n})}},p||x.removeIcon||"\xd7"));return v?v(F):F};var z=function(e){var n=e.current||{},t=n.offsetWidth,a=void 0===t?0:t,i=n.offsetHeight,o=void 0===i?0:i;if(e.current){var r=e.current.getBoundingClientRect(),s=r.width,c=r.height;if(Math.abs(s-a)<1)return[s,c]}return[a,o]},V=function(e,n){return e[n?0:1]};const L=m.forwardRef((function(e,n){var t=e.className,s=e.style,c=e.id,l=e.animated,p=e.activeKey,d=e.rtl,b=e.extra,k=e.editable,P=e.locale,j=e.tabPosition,F=e.tabBarGutter,T=e.children,L=e.onTabClick,q=e.onTabScroll,H=e.indicator,K=m.useContext(f),Y=K.prefixCls,W=K.tabs,B=(0,m.useRef)(null),U=(0,m.useRef)(null),X=(0,m.useRef)(null),$=(0,m.useRef)(null),G=(0,m.useRef)(null),Q=(0,m.useRef)(null),Z=(0,m.useRef)(null),J="top"===j||"bottom"===j,ee=w(0,(function(e,n){J&&q&&q({direction:e>n?"left":"right"})})),ne=(0,r.A)(ee,2),te=ne[0],ae=ne[1],ie=w(0,(function(e,n){!J&&q&&q({direction:e>n?"top":"bottom"})})),oe=(0,r.A)(ie,2),re=oe[0],se=oe[1],ce=(0,m.useState)([0,0]),le=(0,r.A)(ce,2),ue=le[0],pe=le[1],de=(0,m.useState)([0,0]),me=(0,r.A)(de,2),fe=me[0],ve=me[1],he=(0,m.useState)([0,0]),xe=(0,r.A)(he,2),ge=xe[0],be=xe[1],ye=(0,m.useState)([0,0]),Ae=(0,r.A)(ye,2),we=Ae[0],Ce=Ae[1],ke=function(e){var n=(0,m.useRef)([]),t=(0,m.useState)({}),a=(0,r.A)(t,2)[1],i=(0,m.useRef)("function"===typeof e?e():e),o=E((function(){var e=i.current;n.current.forEach((function(n){e=n(e)})),n.current=[],i.current=e,a({})}));return[i.current,function(e){n.current.push(e),o()}]}(new Map),Ee=(0,r.A)(ke,2),Ne=Ee[0],Se=Ee[1],Me=function(e,n,t){return(0,m.useMemo)((function(){for(var t,a=new Map,i=n.get(null===(t=e[0])||void 0===t?void 0:t.key)||A,r=i.left+i.width,s=0;s<e.length;s+=1){var c,l=e[s].key,u=n.get(l);u||(u=n.get(null===(c=e[s-1])||void 0===c?void 0:c.key)||A);var p=a.get(l)||(0,o.A)({},u);p.right=r-p.left-p.width,a.set(l,p)}return a}),[e.map((function(e){return e.key})).join("_"),n,t])}(W,Ne,fe[0]),Re=V(ue,J),Ie=V(fe,J),_e=V(ge,J),Pe=V(we,J),je=Math.floor(Re)<Math.floor(Ie+_e),Fe=je?Re-Pe:Re-_e,Te="".concat(Y,"-nav-operations-hidden"),De=0,Oe=0;function ze(e){return e<De?De:e>Oe?Oe:e}J&&d?(De=0,Oe=Math.max(0,Ie-Fe)):(De=Math.min(0,Fe-Ie),Oe=0);var Ve=(0,m.useRef)(null),Le=(0,m.useState)(),qe=(0,r.A)(Le,2),He=qe[0],Ke=qe[1];function Ye(){Ke(Date.now())}function We(){Ve.current&&clearTimeout(Ve.current)}!function(e,n){var t=(0,m.useState)(),a=(0,r.A)(t,2),i=a[0],o=a[1],s=(0,m.useState)(0),c=(0,r.A)(s,2),l=c[0],u=c[1],p=(0,m.useState)(0),d=(0,r.A)(p,2),f=d[0],v=d[1],h=(0,m.useState)(),x=(0,r.A)(h,2),g=x[0],b=x[1],y=(0,m.useRef)(),A=(0,m.useRef)(),w=(0,m.useRef)(null);w.current={onTouchStart:function(e){var n=e.touches[0],t=n.screenX,a=n.screenY;o({x:t,y:a}),window.clearInterval(y.current)},onTouchMove:function(e){if(i){var t=e.touches[0],a=t.screenX,r=t.screenY;o({x:a,y:r});var s=a-i.x,c=r-i.y;n(s,c);var p=Date.now();u(p),v(p-l),b({x:s,y:c})}},onTouchEnd:function(){if(i&&(o(null),b(null),g)){var e=g.x/f,t=g.y/f,a=Math.abs(e),r=Math.abs(t);if(Math.max(a,r)<.1)return;var s=e,c=t;y.current=window.setInterval((function(){Math.abs(s)<.01&&Math.abs(c)<.01?window.clearInterval(y.current):n(20*(s*=C),20*(c*=C))}),20)}},onWheel:function(e){var t=e.deltaX,a=e.deltaY,i=0,o=Math.abs(t),r=Math.abs(a);o===r?i="x"===A.current?t:a:o>r?(i=t,A.current="x"):(i=a,A.current="y"),n(-i,-i)&&e.preventDefault()}},m.useEffect((function(){function n(e){w.current.onTouchMove(e)}function t(e){w.current.onTouchEnd(e)}return document.addEventListener("touchmove",n,{passive:!1}),document.addEventListener("touchend",t,{passive:!0}),e.current.addEventListener("touchstart",(function(e){w.current.onTouchStart(e)}),{passive:!0}),e.current.addEventListener("wheel",(function(e){w.current.onWheel(e)}),{passive:!1}),function(){document.removeEventListener("touchmove",n),document.removeEventListener("touchend",t)}}),[])}($,(function(e,n){function t(e,n){e((function(e){return ze(e+n)}))}return!!je&&(J?t(ae,e):t(se,n),We(),Ye(),!0)})),(0,m.useEffect)((function(){return We(),He&&(Ve.current=setTimeout((function(){Ke(0)}),100)),We}),[He]);var Be=function(e,n,t,a,i,o,r){var s,c,l,u=r.tabs,p=r.tabPosition,d=r.rtl;return["top","bottom"].includes(p)?(s="width",c=d?"right":"left",l=Math.abs(t)):(s="height",c="top",l=-t),(0,m.useMemo)((function(){if(!u.length)return[0,0];for(var t=u.length,a=t,i=0;i<t;i+=1){var o=e.get(u[i].key)||N;if(Math.floor(o[c]+o[s])>Math.floor(l+n)){a=i-1;break}}for(var r=0,p=t-1;p>=0;p-=1)if((e.get(u[p].key)||N)[c]<l){r=p+1;break}return r>a?[0,-1]:[r,a]}),[e,n,a,i,o,l,p,u.map((function(e){return e.key})).join("_"),d])}(Me,Fe,J?te:re,Ie,_e,Pe,(0,o.A)((0,o.A)({},e),{},{tabs:W})),Ue=(0,r.A)(Be,2),Xe=Ue[0],$e=Ue[1],Ge=(0,x.A)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,n=Me.get(e)||{width:0,height:0,left:0,right:0,top:0};if(J){var t=te;d?n.right<te?t=n.right:n.right+n.width>te+Fe&&(t=n.right+n.width-Fe):n.left<-te?t=-n.left:n.left+n.width>-te+Fe&&(t=-(n.left+n.width-Fe)),se(0),ae(ze(t))}else{var a=re;n.top<-re?a=-n.top:n.top+n.height>-re+Fe&&(a=-(n.top+n.height-Fe)),ae(0),se(ze(a))}})),Qe=(0,m.useState)(),Ze=(0,r.A)(Qe,2),Je=Ze[0],en=Ze[1],nn=(0,m.useState)(!1),tn=(0,r.A)(nn,2),an=tn[0],on=tn[1],rn=W.filter((function(e){return!e.disabled})).map((function(e){return e.key})),sn=function(e){var n=rn.indexOf(Je||p),t=rn.length,a=rn[(n+e+t)%t];en(a)},cn=function(e,n){var t=rn.indexOf(e),a=W.find((function(n){return n.key===e}));R(null===a||void 0===a?void 0:a.closable,null===a||void 0===a?void 0:a.closeIcon,k,null===a||void 0===a?void 0:a.disabled)&&(n.preventDefault(),n.stopPropagation(),k.onEdit("remove",{key:e,event:n}),t===rn.length-1?sn(-1):sn(1))},ln=function(e){var n=e.code,t=d&&J,a=rn[0],i=rn[rn.length-1];switch(n){case"ArrowLeft":J&&sn(t?1:-1);break;case"ArrowRight":J&&sn(t?-1:1);break;case"ArrowUp":e.preventDefault(),J||sn(-1);break;case"ArrowDown":e.preventDefault(),J||sn(1);break;case"Home":e.preventDefault(),en(a);break;case"End":e.preventDefault(),en(i);break;case"Enter":case"Space":e.preventDefault(),L(null!==Je&&void 0!==Je?Je:p,e);break;case"Backspace":case"Delete":cn(Je,e)}},un={};J?un[d?"marginRight":"marginLeft"]=F:un.marginTop=F;var pn=W.map((function(e,n){var t=e.key;return m.createElement(O,{id:c,prefixCls:Y,key:t,tab:e,style:0===n?void 0:un,closable:e.closable,editable:k,active:t===p,focus:t===Je,renderWrapper:T,removeAriaLabel:null===P||void 0===P?void 0:P.removeAriaLabel,tabCount:rn.length,currentPosition:n+1,onClick:function(e){L(t,e)},onKeyDown:ln,onFocus:function(){an||en(t),Ge(t),Ye(),$.current&&(d||($.current.scrollLeft=0),$.current.scrollTop=0)},onBlur:function(){en(void 0)},onMouseDown:function(e){return function(e,n){on(!0),1===n.button&&cn(e,n)}(t,e)},onMouseUp:function(){on(!1)}})})),dn=function(){return Se((function(){var e,n=new Map,t=null===(e=G.current)||void 0===e?void 0:e.getBoundingClientRect();return W.forEach((function(e){var a,i=e.key,o=null===(a=G.current)||void 0===a?void 0:a.querySelector('[data-node-key="'.concat(M(i),'"]'));if(o){var s=function(e,n){var t=e.offsetWidth,a=e.offsetHeight,i=e.offsetTop,o=e.offsetLeft,r=e.getBoundingClientRect(),s=r.width,c=r.height,l=r.left,u=r.top;return Math.abs(s-t)<1?[s,c,l-n.left,u-n.top]:[t,a,o,i]}(o,t),c=(0,r.A)(s,4),l=c[0],u=c[1],p=c[2],d=c[3];n.set(i,{width:l,height:u,left:p,top:d})}})),n}))};(0,m.useEffect)((function(){dn()}),[W.map((function(e){return e.key})).join("_")]);var mn=E((function(){var e=z(B),n=z(U),t=z(X);pe([e[0]-n[0]-t[0],e[1]-n[1]-t[1]]);var a=z(Z);be(a);var i=z(Q);Ce(i);var o=z(G);ve([o[0]-a[0],o[1]-a[1]]),dn()})),fn=W.slice(0,Xe),vn=W.slice($e+1),hn=[].concat((0,v.A)(fn),(0,v.A)(vn)),xn=Me.get(p),gn=y({activeTabOffset:xn,horizontal:J,indicator:H,rtl:d}).style;(0,m.useEffect)((function(){Ge()}),[p,De,Oe,S(xn),S(Me),J]),(0,m.useEffect)((function(){mn()}),[d]);var bn,yn,An,wn,Cn=!!hn.length,kn="".concat(Y,"-nav-wrap");return J?d?(yn=te>0,bn=te!==Oe):(bn=te<0,yn=te!==De):(An=re<0,wn=re!==De),m.createElement(h.A,{onResize:mn},m.createElement("div",{ref:(0,g.xK)(n,B),role:"tablist","aria-orientation":J?"horizontal":"vertical",className:u()("".concat(Y,"-nav"),t),style:s,onKeyDown:function(){Ye()}},m.createElement(_,{ref:U,position:"left",extra:b,prefixCls:Y}),m.createElement(h.A,{onResize:mn},m.createElement("div",{className:u()(kn,(0,i.A)((0,i.A)((0,i.A)((0,i.A)({},"".concat(kn,"-ping-left"),bn),"".concat(kn,"-ping-right"),yn),"".concat(kn,"-ping-top"),An),"".concat(kn,"-ping-bottom"),wn)),ref:$},m.createElement(h.A,{onResize:mn},m.createElement("div",{ref:G,className:"".concat(Y,"-nav-list"),style:{transform:"translate(".concat(te,"px, ").concat(re,"px)"),transition:He?"none":void 0}},pn,m.createElement(I,{ref:Z,prefixCls:Y,locale:P,editable:k,style:(0,o.A)((0,o.A)({},0===pn.length?void 0:un),{},{visibility:Cn?"hidden":null})}),m.createElement("div",{className:u()("".concat(Y,"-ink-bar"),(0,i.A)({},"".concat(Y,"-ink-bar-animated"),l.inkBar)),style:gn}))))),m.createElement(D,(0,a.A)({},e,{removeAriaLabel:null===P||void 0===P?void 0:P.removeAriaLabel,ref:Q,prefixCls:Y,tabs:hn,className:!Cn&&Te,tabMoving:!!He})),m.createElement(_,{ref:X,position:"right",extra:b,prefixCls:Y})))}));const q=m.forwardRef((function(e,n){var t=e.prefixCls,a=e.className,i=e.style,o=e.id,r=e.active,s=e.tabKey,c=e.children;return m.createElement("div",{id:o&&"".concat(o,"-panel-").concat(s),role:"tabpanel",tabIndex:r?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(s),"aria-hidden":!r,style:i,className:u()(t,r&&"".concat(t,"-active"),a),ref:n},c)}));var H=["renderTabBar"],K=["label","key"];const Y=function(e){var n=e.renderTabBar,t=(0,c.A)(e,H),i=m.useContext(f).tabs;return n?n((0,o.A)((0,o.A)({},t),{},{panes:i.map((function(e){var n=e.label,t=e.key,i=(0,c.A)(e,K);return m.createElement(q,(0,a.A)({tab:n,key:t,tabKey:t},i))}))}),L):m.createElement(L,t)};var W=t(52039),B=["key","forceRender","style","className","destroyInactiveTabPane"];const U=function(e){var n=e.id,t=e.activeKey,r=e.animated,s=e.tabPosition,l=e.destroyInactiveTabPane,p=m.useContext(f),d=p.prefixCls,v=p.tabs,h=r.tabPane,x="".concat(d,"-tabpane");return m.createElement("div",{className:u()("".concat(d,"-content-holder"))},m.createElement("div",{className:u()("".concat(d,"-content"),"".concat(d,"-content-").concat(s),(0,i.A)({},"".concat(d,"-content-animated"),h))},v.map((function(e){var i=e.key,s=e.forceRender,p=e.style,d=e.className,f=e.destroyInactiveTabPane,v=(0,c.A)(e,B),g=i===t;return m.createElement(W.Ay,(0,a.A)({key:i,visible:g,forceRender:s,removeOnLeave:!(!l&&!f),leavedClassName:"".concat(x,"-hidden")},r.tabPaneMotion),(function(e,t){var r=e.style,s=e.className;return m.createElement(q,(0,a.A)({},v,{prefixCls:x,id:n,tabKey:i,animated:h,active:g,style:(0,o.A)((0,o.A)({},p),r),className:u()(d,s),ref:t}))}))}))))};t(44449);var X=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],$=0;const G=m.forwardRef((function(e,n){var t=e.id,l=e.prefixCls,v=void 0===l?"rc-tabs":l,h=e.className,x=e.items,g=e.direction,b=e.activeKey,y=e.defaultActiveKey,A=e.editable,w=e.animated,C=e.tabPosition,k=void 0===C?"top":C,E=e.tabBarGutter,N=e.tabBarStyle,S=e.tabBarExtraContent,M=e.locale,R=e.more,I=e.destroyInactiveTabPane,_=e.renderTabBar,P=e.onChange,j=e.onTabClick,F=e.onTabScroll,T=e.getPopupContainer,D=e.popupClassName,O=e.indicator,z=(0,c.A)(e,X),V=m.useMemo((function(){return(x||[]).filter((function(e){return e&&"object"===(0,s.A)(e)&&"key"in e}))}),[x]),L="rtl"===g,q=function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!1}:(0,o.A)({inkBar:!0},"object"===(0,s.A)(n)?n:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(w),H=(0,m.useState)(!1),K=(0,r.A)(H,2),W=K[0],B=K[1];(0,m.useEffect)((function(){B((0,d.A)())}),[]);var G=(0,p.A)((function(){var e;return null===(e=V[0])||void 0===e?void 0:e.key}),{value:b,defaultValue:y}),Q=(0,r.A)(G,2),Z=Q[0],J=Q[1],ee=(0,m.useState)((function(){return V.findIndex((function(e){return e.key===Z}))})),ne=(0,r.A)(ee,2),te=ne[0],ae=ne[1];(0,m.useEffect)((function(){var e,n=V.findIndex((function(e){return e.key===Z}));-1===n&&(n=Math.max(0,Math.min(te,V.length-1)),J(null===(e=V[n])||void 0===e?void 0:e.key));ae(n)}),[V.map((function(e){return e.key})).join("_"),Z,te]);var ie=(0,p.A)(null,{value:t}),oe=(0,r.A)(ie,2),re=oe[0],se=oe[1];(0,m.useEffect)((function(){t||(se("rc-tabs-".concat($)),$+=1)}),[]);var ce={id:re,activeKey:Z,animated:q,tabPosition:k,rtl:L,mobile:W},le=(0,o.A)((0,o.A)({},ce),{},{editable:A,locale:M,more:R,tabBarGutter:E,onTabClick:function(e,n){null===j||void 0===j||j(e,n);var t=e!==Z;J(e),t&&(null===P||void 0===P||P(e))},onTabScroll:F,extra:S,style:N,panes:null,getPopupContainer:T,popupClassName:D,indicator:O});return m.createElement(f.Provider,{value:{tabs:V,prefixCls:v}},m.createElement("div",(0,a.A)({ref:n,id:t,className:u()(v,"".concat(v,"-").concat(k),(0,i.A)((0,i.A)((0,i.A)({},"".concat(v,"-mobile"),W),"".concat(v,"-editable"),A),"".concat(v,"-rtl"),L),h)},z),m.createElement(Y,(0,a.A)({},le,{renderTabBar:_})),m.createElement(U,(0,a.A)({destroyInactiveTabPane:I},ce,{animated:q}))))}))},58458:(e,n,t)=>{"use strict";t.d(n,{A:()=>S});var a,i=t(9793),o=t(70908),r=t(2250),s=t(83912),c=t(712),l=t(64916),u=t(85591),p=t.n(u),d=t(52457),m=t(55286),f=t(54757),v=t(57144),h=t(98173),x=t(53575),g=t(77275),b=t(33122),y=t(956),A=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],w={};function C(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;a||((a=document.createElement("textarea")).setAttribute("tab-index","-1"),a.setAttribute("aria-hidden","true"),a.setAttribute("name","hiddenTextarea"),document.body.appendChild(a)),e.getAttribute("wrap")?a.setAttribute("wrap",e.getAttribute("wrap")):a.removeAttribute("wrap");var o=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(n&&w[t])return w[t];var a=window.getComputedStyle(e),i=a.getPropertyValue("box-sizing")||a.getPropertyValue("-moz-box-sizing")||a.getPropertyValue("-webkit-box-sizing"),o=parseFloat(a.getPropertyValue("padding-bottom"))+parseFloat(a.getPropertyValue("padding-top")),r=parseFloat(a.getPropertyValue("border-bottom-width"))+parseFloat(a.getPropertyValue("border-top-width")),s={sizingStyle:A.map((function(e){return"".concat(e,":").concat(a.getPropertyValue(e))})).join(";"),paddingSize:o,borderSize:r,boxSizing:i};return n&&t&&(w[t]=s),s}(e,n),r=o.paddingSize,s=o.borderSize,c=o.boxSizing,l=o.sizingStyle;a.setAttribute("style","".concat(l,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),a.value=e.value||e.placeholder||"";var u,p=void 0,d=void 0,m=a.scrollHeight;if("border-box"===c?m+=s:"content-box"===c&&(m-=r),null!==t||null!==i){a.value=" ";var f=a.scrollHeight-r;null!==t&&(p=f*t,"border-box"===c&&(p=p+r+s),m=Math.max(p,m)),null!==i&&(d=f*i,"border-box"===c&&(d=d+r+s),u=m>d?"":"hidden",m=Math.min(d,m))}var v={height:m,overflowY:u,resize:"none"};return p&&(v.minHeight=p),d&&(v.maxHeight=d),v}var k=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"];const E=h.forwardRef((function(e,n){var t=e,a=t.prefixCls,s=t.defaultValue,u=t.value,d=t.autoSize,m=t.onResize,f=t.className,A=t.style,w=t.disabled,E=t.onChange,N=(t.onInternalAutoSize,(0,l.A)(t,k)),S=(0,v.A)(s,{value:u,postState:function(e){return null!==e&&void 0!==e?e:""}}),M=(0,c.A)(S,2),R=M[0],I=M[1],_=h.useRef();h.useImperativeHandle(n,(function(){return{textArea:_.current}}));var P=h.useMemo((function(){return d&&"object"===(0,x.A)(d)?[d.minRows,d.maxRows]:[]}),[d]),j=(0,c.A)(P,2),F=j[0],T=j[1],D=!!d,O=h.useState(2),z=(0,c.A)(O,2),V=z[0],L=z[1],q=h.useState(),H=(0,c.A)(q,2),K=H[0],Y=H[1],W=function(){L(0)};(0,b.A)((function(){D&&W()}),[u,F,T,D]),(0,b.A)((function(){if(0===V)L(1);else if(1===V){var e=C(_.current,!1,F,T);L(2),Y(e)}}),[V]);var B=h.useRef(),U=function(){y.A.cancel(B.current)};h.useEffect((function(){return U}),[]);var X=D?K:null,$=(0,r.A)((0,r.A)({},A),X);return 0!==V&&1!==V||($.overflowY="hidden",$.overflowX="hidden"),h.createElement(g.A,{onResize:function(e){2===V&&(null===m||void 0===m||m(e),d&&(U(),B.current=(0,y.A)((function(){W()}))))},disabled:!(d||m)},h.createElement("textarea",(0,i.A)({},N,{ref:_,style:$,className:p()(a,f,(0,o.A)({},"".concat(a,"-disabled"),w)),disabled:w,value:R,onChange:function(e){I(e.target.value),null===E||void 0===E||E(e)}})))}));var N=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"];const S=h.forwardRef((function(e,n){var t,a=e.defaultValue,u=e.value,x=e.onFocus,g=e.onBlur,b=e.onChange,y=e.allowClear,A=e.maxLength,w=e.onCompositionStart,C=e.onCompositionEnd,k=e.suffix,S=e.prefixCls,M=void 0===S?"rc-textarea":S,R=e.showCount,I=e.count,_=e.className,P=e.style,j=e.disabled,F=e.hidden,T=e.classNames,D=e.styles,O=e.onResize,z=e.onClear,V=e.onPressEnter,L=e.readOnly,q=e.autoSize,H=e.onKeyDown,K=(0,l.A)(e,N),Y=(0,v.A)(a,{value:u,defaultValue:a}),W=(0,c.A)(Y,2),B=W[0],U=W[1],X=void 0===B||null===B?"":String(B),$=h.useState(!1),G=(0,c.A)($,2),Q=G[0],Z=G[1],J=h.useRef(!1),ee=h.useState(null),ne=(0,c.A)(ee,2),te=ne[0],ae=ne[1],ie=(0,h.useRef)(null),oe=(0,h.useRef)(null),re=function(){var e;return null===(e=oe.current)||void 0===e?void 0:e.textArea},se=function(){re().focus()};(0,h.useImperativeHandle)(n,(function(){var e;return{resizableTextArea:oe.current,focus:se,blur:function(){re().blur()},nativeElement:(null===(e=ie.current)||void 0===e?void 0:e.nativeElement)||re()}})),(0,h.useEffect)((function(){Z((function(e){return!j&&e}))}),[j]);var ce=h.useState(null),le=(0,c.A)(ce,2),ue=le[0],pe=le[1];h.useEffect((function(){var e;ue&&(e=re()).setSelectionRange.apply(e,(0,s.A)(ue))}),[ue]);var de,me=(0,m.A)(I,R),fe=null!==(t=me.max)&&void 0!==t?t:A,ve=Number(fe)>0,he=me.strategy(X),xe=!!fe&&he>fe,ge=function(e,n){var t=n;!J.current&&me.exceedFormatter&&me.max&&me.strategy(n)>me.max&&n!==(t=me.exceedFormatter(n,{max:me.max}))&&pe([re().selectionStart||0,re().selectionEnd||0]),U(t),(0,f.gS)(e.currentTarget,e,b,t)},be=k;me.show&&(de=me.showFormatter?me.showFormatter({value:X,count:he,maxLength:fe}):"".concat(he).concat(ve?" / ".concat(fe):""),be=h.createElement(h.Fragment,null,be,h.createElement("span",{className:p()("".concat(M,"-data-count"),null===T||void 0===T?void 0:T.count),style:null===D||void 0===D?void 0:D.count},de)));var ye=!q&&!R&&!y;return h.createElement(d.a,{ref:ie,value:X,allowClear:y,handleReset:function(e){U(""),se(),(0,f.gS)(re(),e,b)},suffix:be,prefixCls:M,classNames:(0,r.A)((0,r.A)({},T),{},{affixWrapper:p()(null===T||void 0===T?void 0:T.affixWrapper,(0,o.A)((0,o.A)({},"".concat(M,"-show-count"),R),"".concat(M,"-textarea-allow-clear"),y))}),disabled:j,focused:Q,className:p()(_,xe&&"".concat(M,"-out-of-range")),style:(0,r.A)((0,r.A)({},P),te&&!ye?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"===typeof de?de:void 0}},hidden:F,readOnly:L,onClear:z},h.createElement(E,(0,i.A)({},K,{autoSize:q,maxLength:A,onKeyDown:function(e){"Enter"===e.key&&V&&V(e),null===H||void 0===H||H(e)},onChange:function(e){ge(e,e.target.value)},onFocus:function(e){Z(!0),null===x||void 0===x||x(e)},onBlur:function(e){Z(!1),null===g||void 0===g||g(e)},onCompositionStart:function(e){J.current=!0,null===w||void 0===w||w(e)},onCompositionEnd:function(e){J.current=!1,ge(e,e.currentTarget.value),null===C||void 0===C||C(e)},className:p()(null===T||void 0===T?void 0:T.textarea),style:(0,r.A)((0,r.A)({},null===D||void 0===D?void 0:D.textarea),{},{resize:null===P||void 0===P?void 0:P.resize}),disabled:j,prefixCls:M,onResize:function(e){var n;null===O||void 0===O||O(e),null!==(n=re())&&void 0!==n&&n.style.height&&ae(!0)},ref:oe,readOnly:L})))}))},56772:(e,n,t)=>{"use strict";t.d(n,{mk:()=>he,S8:()=>fe,De:()=>le,lK:()=>ue});var a=t(79975);function i(e,n){return(t,a)=>{let i,o=a;return a<t.tokens.length?(i=e(t.tokens[a],t,a),void 0!==i&&o++):n?.(t,a),void 0===i?{matched:!1}:{matched:!0,position:o,value:i}}}function o(e,n){return e.matched?{matched:!0,position:e.position,value:n(e.value,e.position)}:e}function r(e,n){return e.matched?n(e):e}function s(e,n){return(t,a)=>o(e(t,a),((e,i)=>n(e,t,a,i)))}function c(e,n){return(t,a)=>{const i=e(t,a);return i.matched?i:{matched:!0,position:a,value:n}}}function l(...e){return(n,t)=>{for(const a of e){const e=a(n,t);if(e.matched)return e}return{matched:!1}}}function u(e,n){return(t,a)=>{const i=e(t,a);return i.matched?i:n(t,a)}}function p(e,n){return(t,a)=>{const i=[];let o=!0;do{const r=e(t,a);r.matched&&n(r.value,i.length+1,t,a,r.position)?(i.push(r.value),a=r.position):o=!1}while(o);return{matched:!0,position:a,value:i}}}function d(e){return p(e,(()=>!0))}function m(e,n,t){return(a,i)=>r(e(a,i),(e=>o(n(a,e.position),((n,o)=>t(e.value,n,a,i,o)))))}function f(e,n){return m(e,n,((e,n)=>n))}function v(e,n,t,a){return(i,s)=>r(e(i,s),(e=>r(n(i,e.position),(n=>o(t(i,n.position),((t,o)=>a(e.value,n.value,t,i,s,o)))))))}function h(e,n,t){return v(e,n,t,((e,n)=>n))}function x(...e){return(n,t)=>{const a=[];let i=t;for(const o of e){const e=o(n,i);if(!e.matched)return{matched:!1};a.push(e.value),i=e.position}return{matched:!0,position:i,value:a}}}function g(e,n,t){return function(e,n){return(t,a)=>{let i=!0,o=e,r=a;do{const e=n(o,t,r)(t,r);e.matched?(o=e.value,r=e.position):i=!1}while(i);return{matched:!0,position:r,value:o}}}(e,(e=>s(n,((n,a,i,o)=>t(e,n,a,i,o)))))}function b(e,n,t){return y(e,(e=>g(e,m(n,t,((e,n)=>[e,n])),((e,[n,t])=>n(e,t)))))}function y(e,n){return(t,a)=>r(e(t,a),(e=>n(e.value,t,a,e.position)(t,e.position)))}const A="(?:\\n|\\r\\n|\\r|\\f)",w="[^\\x00-\\x7F]",C="(?:\\\\[0-9a-f]{1,6}(?:\\r\\n|[ \\n\\r\\t\\f])?)",k="(?:\\\\[^\\n\\r\\f0-9a-f])",E=`(?:[_a-z0-9-]|${w}|${C}|${k})`,N=`(?:${E}+)`,S=`(?:[-]?${`(?:[_a-z]|${w}|${C}|${k})`}${E}*)`,M=`'([^\\n\\r\\f\\\\']|\\\\${A}|${w}|${C}|${k})*'`,R=`"([^\\n\\r\\f\\\\"]|\\\\${A}|${w}|${C}|${k})*"`,I=(0,a.$)([{name:"ws",regex:new RegExp("(?:[ \\t\\r\\n\\f]*)")},{name:"hash",regex:new RegExp(`#${N}`,"i")},{name:"ident",regex:new RegExp(S,"i")},{name:"str1",regex:new RegExp(M,"i")},{name:"str2",regex:new RegExp(R,"i")},{name:"*"},{name:"."},{name:","},{name:"["},{name:"]"},{name:"="},{name:">"},{name:"|"},{name:"+"},{name:"~"},{name:"^"},{name:"$"}]),_=(0,a.$)([{name:"unicode",regex:new RegExp(C,"i")},{name:"escape",regex:new RegExp(k,"i")},{name:"any",regex:new RegExp("[\\s\\S]","i")}]);function P([e,n,t],[a,i,o]){return[e+a,n+i,t+o]}function j(e){return e.reduce(P,[0,0,0])}const F=s(d(l(i((e=>"unicode"===e.name?String.fromCodePoint(parseInt(e.text.slice(1),16)):void 0)),i((e=>"escape"===e.name?e.text.slice(1):void 0)),i((e=>"any"===e.name?e.text:void 0)))),(e=>e.join("")));function T(e){const n=_(e);return F({tokens:n.tokens,options:void 0},0).value}function D(e){return i((n=>n.name===e||void 0))}const O=i((e=>"ws"===e.name?null:void 0)),z=c(O,null);function V(e){return h(z,e,z)}const L=i((e=>"ident"===e.name?T(e.text):void 0)),q=i((e=>"hash"===e.name?T(e.text.slice(1)):void 0)),H=i((e=>e.name.startsWith("str")?T(e.text.slice(1,-1)):void 0)),K=(Y=c(L,""),W=D("|"),m(Y,W,(e=>e)));var Y,W;const B=u(m(K,L,((e,n)=>({name:n,namespace:e}))),s(L,(e=>({name:e,namespace:null})))),U=u(m(K,D("*"),(e=>({type:"universal",namespace:e,specificity:[0,0,0]}))),s(D("*"),(()=>({type:"universal",namespace:null,specificity:[0,0,0]})))),X=s(B,(({name:e,namespace:n})=>({type:"tag",name:e,namespace:n,specificity:[0,0,1]}))),$=m(D("."),L,((e,n)=>({type:"class",name:n,specificity:[0,1,0]}))),G=s(q,(e=>({type:"id",name:e,specificity:[1,0,0]}))),Q=i((e=>{if("ident"===e.name){if("i"===e.text||"I"===e.text)return"i";if("s"===e.text||"S"===e.text)return"s"}})),Z=u(m(H,c(f(z,Q),null),((e,n)=>({value:e,modifier:n}))),m(L,c(f(O,Q),null),((e,n)=>({value:e,modifier:n})))),J=l(s(D("="),(()=>"=")),m(D("~"),D("="),(()=>"~=")),m(D("|"),D("="),(()=>"|=")),m(D("^"),D("="),(()=>"^=")),m(D("$"),D("="),(()=>"$=")),m(D("*"),D("="),(()=>"*="))),ee=u(v(D("["),V(B),D("]"),((e,{name:n,namespace:t})=>({type:"attrPresence",name:n,namespace:t,specificity:[0,1,0]}))),h(D("["),v(V(B),J,V(Z),(({name:e,namespace:n},t,{value:a,modifier:i})=>({type:"attrValue",name:e,namespace:n,matcher:t,value:a,modifier:i,specificity:[0,1,0]}))),D("]"))),ne=u(U,X),te=l(G,$,ee),ae=s(u(function(...e){return s(x(...e),(e=>e.flatMap((e=>e))))}(ne,d(te)),m(ie=te,d(ie),((e,n)=>[e,...n]))),(e=>({type:"compound",list:e,specificity:j(e.map((e=>e.specificity)))})));var ie;const oe=u(V(l(s(D(">"),(()=>">")),s(D("+"),(()=>"+")),s(D("~"),(()=>"~")),m(D("|"),D("|"),(()=>"||")))),s(O,(()=>" "))),re=b(ae,s(oe,(e=>(n,t)=>({type:"compound",list:[...t.list,{type:"combinator",combinator:e,left:n,specificity:n.specificity}],specificity:P(n.specificity,t.specificity)}))),ae);b(s(re,(e=>({type:"list",list:[e]}))),s(V(D(",")),(()=>(e,n)=>({type:"list",list:[...e.list,n]}))),re);function se(e,n){if(!("string"===typeof n||n instanceof String))throw new Error("Expected a selector string. Actual input is not a string!");const t=I(n);if(!t.complete)throw new Error(`The input "${n}" was only partially tokenized, stopped at offset ${t.offset}!\n`+ce(n,t.offset));const a=V(e)({tokens:t.tokens,options:void 0},0);if(!a.matched)throw new Error(`No match for "${n}" input!`);if(a.position<t.tokens.length){const e=t.tokens[a.position];throw new Error(`The input "${n}" was only partially parsed, stopped at offset ${e.offset}!\n`+ce(n,e.offset,e.len))}return a.value}function ce(e,n,t=1){return`${e.replace(/(\t)|(\r)|(\n)/g,((e,n,t)=>n?"\u2409":t?"\u240d":"\u240a"))}\n${"".padEnd(n)}${"^".repeat(t)}`}function le(e){return se(re,e)}function ue(e){if(!e.type)throw new Error("This is not an AST node.");switch(e.type){case"universal":return pe(e.namespace)+"*";case"tag":return pe(e.namespace)+me(e.name);case"class":return"."+me(e.name);case"id":return"#"+me(e.name);case"attrPresence":return`[${pe(e.namespace)}${me(e.name)}]`;case"attrValue":return`[${pe(e.namespace)}${me(e.name)}${e.matcher}"${n=e.value,n.replace(/(")|(\\)|(\x00)|([\x01-\x1f]|\x7f)/g,((e,n,t,a,i)=>n?'\\"':t?"\\\\":a?"\ufffd":de(i)))}"${e.modifier?e.modifier:""}]`;case"combinator":return ue(e.left)+e.combinator;case"compound":return e.list.reduce(((e,n)=>"combinator"===n.type?ue(n)+e:e+ue(n)),"");case"list":return e.list.map(ue).join(",")}var n}function pe(e){return e||""===e?me(e)+"|":""}function de(e){return`\\${e.codePointAt(0).toString(16)} `}function me(e){return e.replace(/(^[0-9])|(^-[0-9])|(^-$)|([-0-9a-zA-Z_]|[^\x00-\x7F])|(\x00)|([\x01-\x1f]|\x7f)|([\s\S])/g,((e,n,t,a,i,o,r,s)=>n?de(n):t?"-"+de(t.slice(1)):a?"\\-":i||(o?"\ufffd":r?de(r):"\\"+s)))}function fe(e){if(!e.type)throw new Error("This is not an AST node.");switch(e.type){case"compound":e.list.forEach(fe),e.list.sort(((e,n)=>xe(ve(e),ve(n))));break;case"combinator":fe(e.left);break;case"list":e.list.forEach(fe),e.list.sort(((e,n)=>ue(e)<ue(n)?-1:1))}return e}function ve(e){switch(e.type){case"universal":case"tag":return[1];case"id":return[2];case"class":return[3,e.name];case"attrPresence":return[4,ue(e)];case"attrValue":return[5,ue(e)];case"combinator":return[15,ue(e)]}}function he(e,n){return xe(e,n)}function xe(e,n){if(!Array.isArray(e)||!Array.isArray(n))throw new Error("Arguments must be arrays.");const t=e.length<n.length?e.length:n.length;for(let a=0;a<t;a++)if(e[a]!==n[a])return e[a]<n[a]?-1:1;return e.length-n.length}},62175:(e,n,t)=>{"use strict";t.d(n,{A:()=>s});var a,i,o,r=function(e,n,t,a){if("a"===t&&!a)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof n?e!==n||!a:!n.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===t?a:"a"===t?a.call(e):a?a.value:n.get(e)};a=new WeakMap,i=new WeakMap,o=new WeakMap;const s=class{constructor(...e){a.set(this,new Map),i.set(this,new Map),o.set(this,new Map);for(const n of e)this.define(n)}define(e,n=!1){for(let[t,s]of Object.entries(e)){t=t.toLowerCase(),s=s.map((e=>e.toLowerCase())),r(this,o,"f").has(t)||r(this,o,"f").set(t,new Set);const e=r(this,o,"f").get(t);let c=!0;for(let o of s){const s=o.startsWith("*");if(o=s?o.slice(1):o,e?.add(o),c&&r(this,i,"f").set(t,o),c=!1,s)continue;const l=r(this,a,"f").get(o);if(l&&l!=t&&!n)throw new Error(`"${t} -> ${o}" conflicts with "${l} -> ${o}". Pass \`force=true\` to override this definition.`);r(this,a,"f").set(o,t)}}return this}getType(e){if("string"!==typeof e)return null;const n=e.replace(/^.*[/\\]/,"").toLowerCase(),t=n.replace(/^.*\./,"").toLowerCase(),i=n.length<e.length;return!(t.length<n.length-1)&&i?null:r(this,a,"f").get(t)??null}getExtension(e){return"string"!==typeof e?null:(e=e?.split?.(";")[0],(e&&r(this,i,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return"string"!==typeof e?null:r(this,o,"f").get(e.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(const e of r(this,o,"f").values())Object.freeze(e);return this}_getTestState(){return{types:r(this,a,"f"),extensions:r(this,i,"f")}}}},65214:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});const a={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(a);const i=a},21679:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});const a={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(a);const i=a},81813:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')}}]);
|