@stlite/desktop 0.98.1 → 0.99.1
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/CHANGELOG.md +12 -0
- package/bin/dump_artifacts.js +36 -36
- package/build/assets/ArrowVegaLiteChart-B-Kd_jPH-Biiko0Ef.js +1 -0
- package/build/assets/Audio-B5gtg70U-Bh9tGjUY.js +1 -0
- package/build/assets/AudioInput-CgFzLi-y-C8cmY_cr.js +1 -0
- package/build/assets/{index-CKw_lXVb-3dsfAMaj.js → Balloons-CqQICrNd-BGoQrXhe.js} +2 -2
- package/build/assets/BidiComponent-CkI6DfPr-CbrqDKKX.js +2 -0
- package/build/assets/Button-BOmzB5Yb-Bpnf-WZl.js +1 -0
- package/build/assets/ButtonGroup-C5sVTynN-DPa0Tx1x.js +2 -0
- package/build/assets/CameraInput-C1f0GN0n-Bo12mEPo.js +1 -0
- package/build/assets/ChatInput-ClqoaQw2-PqG4grVV.js +1 -0
- package/build/assets/Checkbox-ClzElazy-D-AYf8eH.js +1 -0
- package/build/assets/{index-BXKF9Na4-e8_T7zol.js → ColorPicker-mCkrAGPa-CtUHNwYp.js} +3 -3
- package/build/assets/ComponentInstance-B_1vn-IY-BM9ElpU6.js +11 -0
- package/build/assets/DataFrame-CXPcdw96-Crfv7wfu.js +198 -0
- package/build/assets/DateInput-DzaFFasw-CiMjvLKg.js +1 -0
- package/build/assets/DateTimeInput-WmD8vSCU-K1wv6LRy.js +1 -0
- package/build/assets/{index-Dxtfs80M-s0TmhiEk.js → DeckGlJsonChart-CDmFrnUQ-CKLXTmyf.js} +217 -215
- package/build/assets/{index-D52Jf8Ey-SgTlRv8T.js → DownloadButton-g54AS0W2-qOKvF9wp.js} +1 -1
- package/build/assets/{ErrorOutline.esm-DV80JhHP-XkDmlp3T.js → ErrorOutline.esm-B1NqpuZN-D4cKYVYX.js} +1 -1
- package/build/assets/Feedback-DTXGrEzp-Dd_SGEH7.js +1 -0
- package/build/assets/{FileDownload.esm-Bg0DSX1Z-tYB-VhDd.js → FileDownload.esm-B_usFfyI-DvbGAuNe.js} +1 -1
- package/build/assets/FileUploader-CzCdIxed-CWWB6xZB.js +1 -0
- package/build/assets/FormSubmitContent-CstMuKlS-CwJlipqn.js +1 -0
- package/build/assets/{index-DuuHtz-x-Caurorud.js → GraphVizChart-nJ8rg3sZ-B_FsOCth.js} +2 -2
- package/build/assets/{index-B0C1EJi--C9vASPz3.js → Html-CkFoh4ns-BXVZGZ2C.js} +1 -1
- package/build/assets/IFrame-BklekJPV-_sg-kw0j.js +49 -0
- package/build/assets/ImageList-l3ue-eW1-CIwYKSdj.js +1 -0
- package/build/assets/{InputInstructions-GG_DznKT-BTS6NlIa.js → InputInstructions-C3LBp4_M-BIHPK8ho.js} +1 -1
- package/build/assets/Json-DmaVI2eK-CplwjZhb.js +2 -0
- package/build/assets/LinkButton-D87rEwzB-C31w_f7c.js +1 -0
- package/build/assets/MenuButton-DCWYT9Sm-Cjs_mH64.js +1 -0
- package/build/assets/Metric-B85kD6qx-D6Bt_A2_.js +1 -0
- package/build/assets/Multiselect-Dj9HMUjc-C1tpZV37.js +1 -0
- package/build/assets/NumberInput-Bz1Z4Olo-HwfUQwvD.js +1 -0
- package/build/assets/PageLink-DxIPOlCu-CAX1QvMp.js +1 -0
- package/build/assets/{Particles-ByFZ9kUC-B_aeMYcp.js → Particles-CgV8FzZe-CZFoM1Ot.js} +1 -1
- package/build/assets/{index-DlNfwH7j-Ciae2OLh.js → PlotlyChart-DApJXgoh-msWOSLU2.js} +105 -105
- package/build/assets/{index-CzaX93h_-B-_1QLd4.js → Progress-DXRywIcj-D00Siwwp.js} +1 -1
- package/build/assets/{ProgressBar-uLtuFXoi-C547ZD3U.js → ProgressBar-By08lmvS-BN2oE7g_.js} +2 -2
- package/build/assets/{index-C2tfS9CH-BRrFBwHT.js → Radio-DZEQy4hT-Cx0uGU2K.js} +3 -3
- package/build/assets/Selectbox-BywNaXj9-EovVNC_I.js +1 -0
- package/build/assets/Slider-sLEYxDUG-Bby7yVsF.js +2 -0
- package/build/assets/{index-DnMeTGk7-X2HPuQXI.js → Snow-MxXLnUX_-CCUTgEUd.js} +2 -2
- package/build/assets/{index-CxYiRuXO-CRK1FQiS.js → Spinner-D-YJYPV5-qoM-yuRL.js} +1 -1
- package/build/assets/{StreamlitSyntaxHighlighter-0BOUSobY-CgsoE1gN.js → StreamlitSyntaxHighlighter-y_BJ441X-Do55UoZC.js} +1 -1
- package/build/assets/Table-ah-SFAz4-BuzfN8wv.js +1 -0
- package/build/assets/{TableChart.esm-CoMoidiP-DrT_rrb0.js → TableChart.esm-x67iDGlj-hZSJidLi.js} +1 -1
- package/build/assets/TextArea-COwbG28l-yfu63ssv.js +1 -0
- package/build/assets/TextInput-CPqz-18c-DPGxqoCs.js +1 -0
- package/build/assets/TimeInput-BQ-fP8Yi-FMCqKedu.js +3 -0
- package/build/assets/{index-CrKJRmJv-Bg5NDALn.js → Toast-CGUHIZQI-39x9j5Rs.js} +1 -1
- package/build/assets/Video-CWomx7KF-nGUBPGaY.js +1 -0
- package/build/assets/{WidgetLabel-CoLw86qs-CNbX-e3H.js → WidgetLabel-DUaobbKW-DD-xWyXR.js} +1 -1
- package/build/assets/WidgetLabelHelpIcon-Dk_Qm9_8-CtMOr4fX.js +1 -0
- package/build/assets/WidgetLabelHelpIconInline-CkTH9muE-i_BwkvTR.js +1 -0
- package/build/assets/{_baseAssignValue-DQhmkaDt-Bl1quFU6.js → _baseAssignValue-DbpQ8D1L-D2c_-zPN.js} +1 -1
- package/build/assets/b1c37dc02f43b345-BK8hQpFn.woff2 +0 -0
- package/build/assets/{base-input-BdLA32iO-A9B9vy_-.js → base-input-CUlWnT-V-BhBQbzWk.js} +2 -2
- package/build/assets/{checkbox-DFREjf9t-Bj1xZr4O.js → checkbox-CEu7IJmq-3LmskyhR.js} +2 -2
- package/build/assets/{constants-Dj7RTpUo-BGkidDJo.js → constants-BFZIinC9-BhIl5GAK.js} +2 -2
- package/build/assets/{createDownloadLinkElement-DdPyJxB4-BwUogbJk.js → createDownloadLinkElement-CO9Q-pa0-BNUtAwjF.js} +1 -1
- package/build/assets/{createSuper-BZpABwIl-CzqIX_hj.js → createSuper-CPupKoXU-C5x8b8jJ.js} +1 -1
- package/build/assets/data-grid-overlay-editor-D7_bQukB-DqAp5wnt.js +1 -0
- package/build/assets/{downloader-DcCTL3Wz-BV_PV8FK.js → downloader-CZ7qD7NY-DGAnDDXL.js} +1 -1
- package/build/assets/{embed-DsUNNyuf-iklb31Eb.js → embed-Dc8baQ26-DAsqJZrc.js} +4 -4
- package/build/assets/{es6--XPcqeHG-CHWR2W_o.js → es6-BxevHr5y-DDD2E1qH.js} +2 -2
- package/build/assets/{formatNumber-C0_e-CAH-GlcLbdL6.js → formatNumber-DxMjoq14-D-XVTuz9.js} +1 -1
- package/build/assets/iconPosition-9UgvX_TD-BzkVt95G.js +1 -0
- package/build/assets/iframeResizer.contentWindow-CCqu70r3-2dQhJjwY.js +1 -0
- package/build/assets/{index-D8-_3_8b-1KPkAAUR.js → index-BV2WTlzI-BDu7x5w-.js} +1 -1
- package/build/assets/{index-rCmWIVzf.css → index-Bdx5V1kE.css} +1 -1
- package/build/assets/index-BoaYS_fk-BOYhDwkq.js +1 -0
- package/build/assets/{index-D84Izf2I-C_zQnNB2.js → index-CDNzkMOW-Ci5P-rfD.js} +1 -1
- package/build/assets/{index-DuHJMwJD-Bsr8Y8w7.js → index-CJ4tMOMA-DwN410du.js} +1 -1
- package/build/assets/{index-DXEnufEK-CPeh905k.js → index-Co96_X1M-Dl06Rnsd.js} +1 -1
- package/build/assets/index-DJf52eor.js +192 -0
- package/build/assets/{input-vJKt6Tqs-D1h27UxA.js → input-HUYzfsf9-BxmLV7Ek.js} +1 -1
- package/build/assets/{memory-B3L1Fctl-Cn5y4VWL.js → memory-C-LDMFc2-DmYLyk9H.js} +1 -1
- package/build/assets/{moment-CU6QKNej-DcQX_LE0.js → moment-C29_LcvN-BY3oO1nk.js} +1 -1
- package/build/assets/number-overlay-editor-BQXyYsVn-Dh7S4LVs.js +9 -0
- package/build/assets/{numbro-CBbENDeu-C6X7Pww4.js → numbro-CDdPhOTG-s-4vlRUZ.js} +1 -1
- package/build/assets/{pandasStylerUtils-GHHHScPD-CTKMoUtV.js → pandasStylerUtils-BVB-ECxE-CDURxvwo.js} +1 -1
- package/build/assets/{possibleConstructorReturn-E3G46ZYb-Lz9Rlt8w.js → possibleConstructorReturn-YeRoNy63-B2FGD3ja.js} +1 -1
- package/build/assets/reactJsonViewCompat-CeSrJm8p-le930912.js +13 -0
- package/build/assets/resolveDefaultExport-Cy5TTESD-D1yDGtVx.js +1 -0
- package/build/assets/{sandbox-ChAzL-i--BIq4nttm.js → sandbox-DbnteG5V-yqy_7sO8.js} +1 -1
- package/build/assets/select-haj_e3M_-P2nevO2w.js +11 -0
- package/build/assets/{sprintfjs-BB1ejNgh-D_XlFCD8.js → sprintfjs-DwuHM96D-Dbm-A0ro.js} +1 -1
- package/build/assets/stateful-menu-DhWFcRsJ-hkmyKt6q.js +4 -0
- package/build/assets/{styled-components-UJ_u5XUO-B68esmwJ.js → styled-components-BwoIjXty-eQCTyKeV.js} +1 -1
- package/build/assets/{styled-components-BF-9yHWP-Fq0Myn8O.js → styled-components-CRl5ROSi-CaifWlLZ.js} +1 -1
- package/build/assets/{styled-components-BPyosp2h-CHa8nolL.js → styled-components-CggDa8xh-DRn7YfuV.js} +1 -1
- package/build/assets/{threshold-eWsxmMyL-jpRnj60B.js → threshold-C_rop_uq-CSTNJaOo.js} +1 -1
- package/build/assets/timepicker-t1TdfIJG-CM4-XB8w.js +4 -0
- package/build/assets/{timer-DAAwtI0i-CB52lra-.js → timer-CuhnLtz1-DD8qTMUW.js} +1 -1
- package/build/assets/{toConsumableArray-fI4JT57_-CqtYDc1p.js → toConsumableArray-DtFGUM3A-BLxO6YGd.js} +1 -1
- package/build/assets/useBasicWidgetState-Bd8NTj87-Cqs9ZQAV.js +1 -0
- package/build/assets/{useIntlLocale-CYWMTZ3s-Bfz8l4j_.js → useIntlLocale-CXWYgGQX-B2q3sAu2.js} +9 -9
- package/build/assets/useSelectCommon-O2yZsfjb-6cuQoolB.js +1 -0
- package/build/assets/{useTextInputAutoExpand-DKFPNBDa-Cb0YY3m0.js → useTextInputAutoExpand-BTuNAk3V-5wcrsLsu.js} +2 -2
- package/build/assets/useUpdateUiValue-B574r2my-B36XHNQq.js +1 -0
- package/build/assets/useWaveformController-EemjKAv5-CT3VAgB8.js +1 -0
- package/build/assets/utils-DNbZWtPr-BHo82ec1.js +5 -0
- package/build/assets/{value-DwxUZIyI-CNuykc50.js → value-FXychKGJ-DfnNAqu8.js} +1 -1
- package/build/assets/wavesurfer.esm-BdCEnQA2-Cb5Yveqj.js +74 -0
- package/build/assets/withCalculatedWidth-CswVJ4Re-BeXEmgBt.js +1 -0
- package/build/assets/withFullScreenWrapper-CKo__VbV-B1HqecCF.js +1 -0
- package/build/assets/worker-DSGzx9v2-CeEZF0Hz.js +773 -0
- package/build/index.html +2 -2
- package/package.json +7 -7
- package/wheels/streamlit-1.56.0-cp313-none-any.whl +0 -0
- package/build/assets/9897c61aa169e10d-BSbTZIlv.woff2 +0 -0
- package/build/assets/FileHelper-6E1AHofU-qrMXF9BJ.js +0 -5
- package/build/assets/FormClearHelper-CbmTijuR-BhfBTvx4.js +0 -1
- package/build/assets/WidgetLabelHelpIcon-DGQ_r-QQ-BpBcjxpA.js +0 -1
- package/build/assets/WidgetLabelHelpIconInline-CBvJmNo2-CLxNkiVd.js +0 -1
- package/build/assets/data-grid-overlay-editor-QHhShSfm-3TuDDPoi.js +0 -1
- package/build/assets/iconPosition-DC20xXN5-Dq1FtUtw.js +0 -1
- package/build/assets/iframeResizer.contentWindow-CK2JqAeV-DqbaJEzN.js +0 -1
- package/build/assets/index-9BL32MjC-d0WHvbzb.js +0 -1
- package/build/assets/index-B4B1qPeD-B4iZ3Hle.js +0 -1
- package/build/assets/index-B5UL-R7r-CWJT9KeA.js +0 -1
- package/build/assets/index-BGnBFvx7-CovA4PPU.js +0 -1
- package/build/assets/index-BLF4SOe9-BATezQGi.js +0 -1
- package/build/assets/index-BVqn7psP-DOIOIfGO.js +0 -1
- package/build/assets/index-BWq44yej-BLlqoxJR.js +0 -2
- package/build/assets/index-BYY96E5j-Bp1H9cgU.js +0 -1
- package/build/assets/index-BZJBZSAA-DFqiOZai.js +0 -2
- package/build/assets/index-BjrlCNX2-LTYqrHHV.js +0 -1
- package/build/assets/index-BmK3aM70-BtZtyb9b.js +0 -2
- package/build/assets/index-BuOHAFyU-CgkpNrjG.js +0 -1
- package/build/assets/index-BwVivyUp-BMVGZ9_Q.js +0 -1
- package/build/assets/index-CDQEgcT1-DtNnQE5Q.js +0 -3
- package/build/assets/index-CSHbNsrd-CaeMETbK.js +0 -1
- package/build/assets/index-CStypS2h-ZcgczjKg.js +0 -1
- package/build/assets/index-CTUrfAxj--v8quZkn.js +0 -2
- package/build/assets/index-CYGEb27Q-2USI782v.js +0 -1
- package/build/assets/index-CZIHO3Hi-CIp8gy8I.js +0 -1
- package/build/assets/index-Cqst7YJT-C9v2_kdG.js +0 -1
- package/build/assets/index-DCNthJH_-DBm0ode_.js +0 -1
- package/build/assets/index-DKp3_2FO-qvF0epur.js +0 -1
- package/build/assets/index-Dd99Pbav-BGjrs667.js +0 -1
- package/build/assets/index-DegoUuPm.js +0 -171
- package/build/assets/index-DpazIH3n-D6BMkmZF.js +0 -1
- package/build/assets/index-LfSwL_C3-BhFtSxQv.js +0 -1
- package/build/assets/index-SfqmeEwF-Dq9F6PRu.js +0 -1
- package/build/assets/index-Zh4mTo6Q-BW_atvXh.js +0 -1
- package/build/assets/index-dDzvj0X4-DcwcRJ2U.js +0 -1
- package/build/assets/index-ebIdPrk5-uPj-BdYi.js +0 -1
- package/build/assets/index-glyZT6vh-DgW3Iulb.js +0 -11
- package/build/assets/index-hpzROwMA-mo9c0M0y.js +0 -1
- package/build/assets/index-t2JVnYeR-CxNAko6c.js +0 -198
- package/build/assets/main-B1Ej7gwo-CcTKNe5S.js +0 -13
- package/build/assets/number-overlay-editor-DJYV-edd-B_O-Ktcq.js +0 -9
- package/build/assets/select-Pj-68ff--fhVXPkd8.js +0 -14
- package/build/assets/timepicker-BJ4MpQyD-d8465QWp.js +0 -4
- package/build/assets/uniqueId-DvP0IaTe-DffbsNAr.js +0 -1
- package/build/assets/useBasicWidgetState-JbPrIror-Bu87DmaN.js +0 -1
- package/build/assets/useSelectCommon-DTdQ2TWs-DMezB-1T.js +0 -1
- package/build/assets/useUpdateUiValue-DMih0kWV-BWZ6Saew.js +0 -1
- package/build/assets/useWaveformController-BeUcMXLl-DLfXFMqt.js +0 -1
- package/build/assets/wavesurfer.esm-idh1jvYE-D4Wwdy60.js +0 -74
- package/build/assets/withCalculatedWidth-Du6RrD8E-CIxv0z4S.js +0 -1
- package/build/assets/withFullScreenWrapper-uh7txjJc-CYEgnXN4.js +0 -1
- package/build/assets/worker-DAN7Os1o-BP8Vk1l7.js +0 -106
- package/wheels/streamlit-1.55.0-cp313-none-any.whl +0 -0
- /package/build/assets/{index-BWXbSx5b-3ZGL6YOx.js → index-BKiUojFK-3ZGL6YOx.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{cD as m,r as f}from"./index-DJf52eor.js";import{s as G,u as S,e as H,t as K}from"./base-input-CUlWnT-V-BhBQbzWk.js";import{D as L,R as P,x as p}from"./constants-BFZIinC9-BhIl5GAK.js";function O(t){"@babel/helpers - typeof";return O=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(t)}var M=["Root","StartEnhancer","EndEnhancer"],N=["startEnhancer","endEnhancer","overrides"];function c(){return c=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},c.apply(this,arguments)}function v(t,e){return X(t)||W(t,e)||V(t,e)||Q()}function Q(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function V(t,e){if(t){if(typeof t=="string")return F(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F(t,e)}}function F(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function W(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r=[],o=!0,u=!1,a,i;try{for(n=n.call(t);!(o=(a=n.next()).done)&&(r.push(a.value),!(e&&r.length===e));o=!0);}catch(d){u=!0,i=d}finally{try{!o&&n.return!=null&&n.return()}finally{if(u)throw i}}return r}}function X(t){if(Array.isArray(t))return t}function R(t,e){if(t==null)return{};var n=Y(t,e),r,o;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(o=0;o<u.length;o++)r=u[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Y(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,u;for(u=0;u<r.length;u++)o=r[u],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function Z(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function J(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function tt(t,e,n){return e&&J(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function et(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&g(t,e)}function g(t,e){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},g(t,e)}function rt(t){var e=ot();return function(){var n=h(t),r;if(e){var o=h(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return nt(this,r)}}function nt(t,e){if(e&&(O(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return y(t)}function y(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ot(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function h(t){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(t)}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ut=(function(t){et(n,t);var e=rt(n);function n(){var r;Z(this,n);for(var o=arguments.length,u=new Array(o),a=0;a<o;a++)u[a]=arguments[a];return r=e.call.apply(e,[this].concat(u)),b(y(r),"state",{isFocused:r.props.autoFocus||!1}),b(y(r),"onFocus",function(i){r.setState({isFocused:!0}),r.props.onFocus(i)}),b(y(r),"onBlur",function(i){r.setState({isFocused:!1}),r.props.onBlur(i)}),r}return tt(n,[{key:"render",value:function(){var r=this.props,o=r.startEnhancer,u=r.endEnhancer,a=r.overrides,i=a.Root,d=a.StartEnhancer,_=a.EndEnhancer,A=R(a,M),B=R(r,N),$=m(i,G),j=v($,2),I=j[0],T=j[1],k=m(d,S),E=v(k,2),C=E[0],D=E[1],z=m(_,S),w=v(z,2),U=w[0],q=w[1],l=H(this.props,this.state);return f.createElement(I,c({"data-baseweb":"input"},l,T,{$adjoined:x(o,u),$hasIconTrailing:this.props.clearable||this.props.type=="password"}),s(o)&&f.createElement(C,c({},l,D,{$position:P.start}),typeof o=="function"?o(l):o),f.createElement(K,c({},B,{overrides:A,adjoined:x(o,u),onFocus:this.onFocus,onBlur:this.onBlur})),s(u)&&f.createElement(U,c({},l,q,{$position:P.end}),typeof u=="function"?u(l):u))}}]),n})(f.Component);b(ut,"defaultProps",{autoComplete:"on",autoFocus:!1,disabled:!1,name:"",onBlur:function(){},onFocus:function(){},overrides:{},required:!1,size:L.default,startEnhancer:null,endEnhancer:null,clearable:!1,type:"text",readOnly:!1});function x(t,e){return s(t)&&s(e)?p.both:s(t)?p.left:s(e)?p.right:p.none}function s(t){return!!(t||t===0)}export{ut as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as u,e as p}from"./es6
|
|
1
|
+
import{c as u,e as p}from"./es6-BxevHr5y-DDD2E1qH.js";import"./index-DJf52eor.js";const{File:r,Blob:y,DOMException:s}=u,{INVALID:_,GONE:n,MISMATCH:w,MOD_ERR:z,SYNTAX:l,SECURITY:I,DISALLOWED:m}=p;class b{constructor(e,i){this.fileHandle=e,this.file=i,this.size=i.size,this.position=0}write(e){let i=this.file;if(typeof e=="object"){if(e.type==="write"){if(Number.isInteger(e.position)&&e.position>=0&&(this.position=e.position,this.size<e.position&&(this.file=new r([this.file,new ArrayBuffer(e.position-this.size)],this.file.name,this.file))),!("data"in e))throw new s(...l("write requires a data argument"));e=e.data}else if(e.type==="seek")if(Number.isInteger(e.position)&&e.position>=0){if(this.size<e.position)throw new s(..._);this.position=e.position;return}else throw new s(...l("seek requires a position argument"));else if(e.type==="truncate")if(Number.isInteger(e.size)&&e.size>=0){i=e.size<this.size?new r([i.slice(0,e.size)],i.name,i):new r([i,new Uint8Array(e.size-this.size)],i.name),this.size=i.size,this.position>i.size&&(this.position=i.size),this.file=i;return}else throw new s(...l("truncate requires a size argument"))}e=new y([e]);let t=this.file;const o=t.slice(0,this.position),d=t.slice(this.position+e.size);let h=this.position-o.size;h<0&&(h=0),t=new r([o,new Uint8Array(h),e,d],t.name),this.size=t.size,this.position+=e.size,this.file=t}close(){if(this.fileHandle._deleted)throw new s(...n);this.fileHandle._file=this.file,this.file=this.position=this.size=null,this.fileHandle.onclose&&this.fileHandle.onclose(this.fileHandle)}}class a{constructor(e="",i=new r([],e),t=!0){this._file=i,this.name=e,this.kind="file",this._deleted=!1,this.writable=t,this.readable=!0}async getFile(){if(this._deleted)throw new s(...n);return this._file}async createWritable(e){if(!this.writable)throw new s(...m);if(this._deleted)throw new s(...n);const i=e.keepExistingData?await this.getFile():new r([],this.name);return new b(this,i)}async isSameEntry(e){return this===e}async _destroy(){this._deleted=!0,this._file=null}}class f{constructor(e,i=!0){this.name=e,this.kind="directory",this._deleted=!1,this._entries={},this.writable=i,this.readable=!0}async*entries(){if(this._deleted)throw new s(...n);yield*Object.entries(this._entries)}async isSameEntry(e){return this===e}async getDirectoryHandle(e,i){if(this._deleted)throw new s(...n);const t=this._entries[e];if(t){if(t instanceof a)throw new s(...w);return t}else{if(i.create)return this._entries[e]=new f(e);throw new s(...n)}}async getFileHandle(e,i){const t=this._entries[e],o=t instanceof a;if(t&&o)return t;if(t&&!o)throw new s(...w);if(!t&&!i.create)throw new s(...n);if(!t&&i.create)return this._entries[e]=new a(e)}async removeEntry(e,i){const t=this._entries[e];if(!t)throw new s(...n);await t._destroy(i.recursive),delete this._entries[e]}async _destroy(e){for(let i of Object.values(this._entries)){if(!e)throw new s(...z);await i._destroy(e)}this._entries={},this._deleted=!0}}const g=new f(""),A=()=>g;export{a as FileHandle,f as FolderHandle,b as Sink,A as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var Ne;function u(){return Ne.apply(null,arguments)}function Mn(t){Ne=t}function R(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function nt(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function g(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ne(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(g(t,e))return!1;return!0}function b(t){return t===void 0}function q(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function pt(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function We(t,e){var n=[],s,r=t.length;for(s=0;s<r;++s)n.push(e(t[s],s));return n}function Q(t,e){for(var n in e)g(e,n)&&(t[n]=e[n]);return g(e,"toString")&&(t.toString=e.toString),g(e,"valueOf")&&(t.valueOf=e.valueOf),t}function L(t,e,n,s){return tn(t,e,n,s,!0).utc()}function Dn(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function f(t){return t._pf==null&&(t._pf=Dn()),t._pf}var Bt;Array.prototype.some?Bt=Array.prototype.some:Bt=function(t){var e=Object(this),n=e.length>>>0,s;for(s=0;s<n;s++)if(s in e&&t.call(this,e[s],s,e))return!0;return!1};function se(t){var e=null,n=!1,s=t._d&&!isNaN(t._d.getTime());if(s&&(e=f(t),n=Bt.call(e.parsedDateParts,function(r){return r!=null}),s=e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n),t._strict&&(s=s&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=s;else return s;return t._isValid}function Ct(t){var e=L(NaN);return t!=null?Q(f(e),t):f(e).userInvalidated=!0,e}var Se=u.momentProperties=[],zt=!1;function re(t,e){var n,s,r,a=Se.length;if(b(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),b(e._i)||(t._i=e._i),b(e._f)||(t._f=e._f),b(e._l)||(t._l=e._l),b(e._strict)||(t._strict=e._strict),b(e._tzm)||(t._tzm=e._tzm),b(e._isUTC)||(t._isUTC=e._isUTC),b(e._offset)||(t._offset=e._offset),b(e._pf)||(t._pf=f(e)),b(e._locale)||(t._locale=e._locale),a>0)for(n=0;n<a;n++)s=Se[n],r=e[s],b(r)||(t[s]=r);return t}function kt(t){re(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),zt===!1&&(zt=!0,u.updateOffset(this),zt=!1)}function C(t){return t instanceof kt||t!=null&&t._isAMomentObject!=null}function Pe(t){u.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function N(t,e){var n=!0;return Q(function(){if(u.deprecationHandler!=null&&u.deprecationHandler(null,t),n){var s=[],r,a,i,l=arguments.length;for(a=0;a<l;a++){if(r="",typeof arguments[a]=="object"){r+=`
|
|
2
2
|
[`+a+"] ";for(i in arguments[0])g(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[a];s.push(r)}Pe(t+`
|
|
3
3
|
Arguments: `+Array.prototype.slice.call(s).join("")+`
|
|
4
|
-
`+new Error().stack),n=!1}return e.apply(this,arguments)},e)}var Ye={};function Re(t,e){u.deprecationHandler!=null&&u.deprecationHandler(t,e),Ye[t]||(Pe(e),Ye[t]=!0)}u.suppressDeprecationWarnings=!1;u.deprecationHandler=null;function V(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function Sn(t){var e,n;for(n in t)g(t,n)&&(e=t[n],V(e)?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Jt(t,e){var n=Q({},t),s;for(s in e)g(e,s)&&(nt(t[s])&&nt(e[s])?(n[s]={},Q(n[s],t[s]),Q(n[s],e[s])):e[s]!=null?n[s]=e[s]:delete n[s]);for(s in t)g(t,s)&&!g(e,s)&&nt(t[s])&&(n[s]=Q({},n[s]));return n}function ae(t){t!=null&&this.set(t)}var Qt;Object.keys?Qt=Object.keys:Qt=function(t){var e,n=[];for(e in t)g(t,e)&&n.push(e);return n};var Yn={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function On(t,e,n){var s=this._calendar[t]||this._calendar.sameElse;return V(s)?s.call(e,n):s}function F(t,e,n){var s=""+Math.abs(t),r=e-s.length,a=t>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+s}var ie=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,St=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Zt={},ot={};function h(t,e,n,s){var r=s;typeof s=="string"&&(r=function(){return this[s]()}),t&&(ot[t]=r),e&&(ot[e[0]]=function(){return F(r.apply(this,arguments),e[1],e[2])}),n&&(ot[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function bn(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function Tn(t){var e=t.match(ie),n,s;for(n=0,s=e.length;n<s;n++)ot[e[n]]?e[n]=ot[e[n]]:e[n]=bn(e[n]);return function(r){var a="",i;for(i=0;i<s;i++)a+=V(e[i])?e[i].call(r,t):e[i];return a}}function Ot(t,e){return t.isValid()?(e=Ce(e,t.localeData()),Zt[e]=Zt[e]||Tn(e),Zt[e](t)):t.localeData().invalidDate()}function Ce(t,e){var n=5;function s(r){return e.longDateFormat(r)||r}for(St.lastIndex=0;n>=0&&St.test(t);)t=t.replace(St,s),St.lastIndex=0,n-=1;return t}var xn={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Nn(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(ie).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[t])}var Wn="Invalid date";function Pn(){return this._invalidDate}var Rn="%d",Cn=/\d{1,2}/;function Un(t){return this._ordinal.replace("%d",t)}var Hn={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Fn(t,e,n,s){var r=this._relativeTime[n];return V(r)?r(t,e,n,s):r.replace(/%d/i,t)}function Ln(t,e){var n=this._relativeTime[t>0?"future":"past"];return V(n)?n(e):n.replace(/%s/i,e)}var Oe={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function W(t){return typeof t=="string"?Oe[t]||Oe[t.toLowerCase()]:void 0}function oe(t){var e={},n,s;for(s in t)g(t,s)&&(n=W(s),n&&(e[n]=t[s]));return e}var Vn={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Gn(t){var e=[],n;for(n in t)g(t,n)&&e.push({unit:n,priority:Vn[n]});return e.sort(function(s,r){return s.priority-r.priority}),e}var Ue=/\d/,T=/\d\d/,He=/\d{3}/,ue=/\d{4}/,Ut=/[+-]?\d{6}/,k=/\d\d?/,Fe=/\d\d\d\d?/,Le=/\d\d\d\d\d\d?/,Ht=/\d{1,3}/,le=/\d{1,4}/,Ft=/[+-]?\d{1,6}/,dt=/\d+/,Lt=/[+-]?\d+/,En=/Z|[+-]\d\d:?\d\d/gi,Vt=/Z|[+-]\d\d(?::?\d\d)?/gi,An=/[+-]?\d+(\.\d{1,3})?/,Mt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ht=/^[1-9]\d?/,de=/^([1-9]\d|\d)/,xt;xt={};function d(t,e,n){xt[t]=V(e)?e:function(s,r){return s&&n?n:e}}function jn(t,e){return g(xt,t)?xt[t](e._strict,e._locale):new RegExp(In(t))}function In(t){return z(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,n,s,r,a){return n||s||r||a}))}function z(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function x(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function m(t){var e=+t,n=0;return e!==0&&isFinite(e)&&(n=x(e)),n}var Xt={};function v(t,e){var n,s=e,r;for(typeof t=="string"&&(t=[t]),q(e)&&(s=function(a,i){i[e]=m(a)}),r=t.length,n=0;n<r;n++)Xt[t[n]]=s}function Dt(t,e){v(t,function(n,s,r,a){r._w=r._w||{},e(n,r._w,r,a)})}function zn(t,e,n){e!=null&&g(Xt,t)&&Xt[t](e,n._a,n,t)}function Gt(t){return t%4===0&&t%100!==0||t%400===0}var Y=0,j=1,H=2,S=3,P=4,I=5,et=6,Zn=7,qn=8;h("Y",0,0,function(){var t=this.year();return t<=9999?F(t,4):"+"+t});h(0,["YY",2],0,function(){return this.year()%100});h(0,["YYYY",4],0,"year");h(0,["YYYYY",5],0,"year");h(0,["YYYYYY",6,!0],0,"year");d("Y",Lt);d("YY",k,T);d("YYYY",le,ue);d("YYYYY",Ft,Ut);d("YYYYYY",Ft,Ut);v(["YYYYY","YYYYYY"],Y);v("YYYY",function(t,e){e[Y]=t.length===2?u.parseTwoDigitYear(t):m(t)});v("YY",function(t,e){e[Y]=u.parseTwoDigitYear(t)});v("Y",function(t,e){e[Y]=parseInt(t,10)});function _t(t){return Gt(t)?366:365}u.parseTwoDigitYear=function(t){return m(t)+(m(t)>68?1900:2e3)};var Ve=ct("FullYear",!0);function $n(){return Gt(this.year())}function ct(t,e){return function(n){return n!=null?(Ge(this,t,n),u.updateOffset(this,e),this):yt(this,t)}}function yt(t,e){if(!t.isValid())return NaN;var n=t._d,s=t._isUTC;switch(e){case"Milliseconds":return s?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return s?n.getUTCSeconds():n.getSeconds();case"Minutes":return s?n.getUTCMinutes():n.getMinutes();case"Hours":return s?n.getUTCHours():n.getHours();case"Date":return s?n.getUTCDate():n.getDate();case"Day":return s?n.getUTCDay():n.getDay();case"Month":return s?n.getUTCMonth():n.getMonth();case"FullYear":return s?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Ge(t,e,n){var s,r,a,i,l;if(!(!t.isValid()||isNaN(n))){switch(s=t._d,r=t._isUTC,e){case"Milliseconds":return void(r?s.setUTCMilliseconds(n):s.setMilliseconds(n));case"Seconds":return void(r?s.setUTCSeconds(n):s.setSeconds(n));case"Minutes":return void(r?s.setUTCMinutes(n):s.setMinutes(n));case"Hours":return void(r?s.setUTCHours(n):s.setHours(n));case"Date":return void(r?s.setUTCDate(n):s.setDate(n));case"FullYear":break;default:return}a=n,i=t.month(),l=t.date(),l=l===29&&i===1&&!Gt(a)?28:l,r?s.setUTCFullYear(a,i,l):s.setFullYear(a,i,l)}}function Bn(t){return t=W(t),V(this[t])?this[t]():this}function Jn(t,e){if(typeof t=="object"){t=oe(t);var n=Gn(t),s,r=n.length;for(s=0;s<r;s++)this[n[s].unit](t[n[s].unit])}else if(t=W(t),V(this[t]))return this[t](e);return this}function Qn(t,e){return(t%e+e)%e}var D;Array.prototype.indexOf?D=Array.prototype.indexOf:D=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function he(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=Qn(e,12);return t+=(e-n)/12,n===1?Gt(t)?29:28:31-n%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1});h("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)});h("MMMM",0,0,function(t){return this.localeData().months(this,t)});d("M",k,ht);d("MM",k,T);d("MMM",function(t,e){return e.monthsShortRegex(t)});d("MMMM",function(t,e){return e.monthsRegex(t)});v(["M","MM"],function(t,e){e[j]=m(t)-1});v(["MMM","MMMM"],function(t,e,n,s){var r=n._locale.monthsParse(t,s,n._strict);r!=null?e[j]=r:f(n).invalidMonth=t});var Xn="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ee="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Kn=Mt,ts=Mt;function es(t,e){return t?R(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ae).test(e)?"format":"standalone"][t.month()]:R(this._months)?this._months:this._months.standalone}function ns(t,e){return t?R(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ae.test(e)?"format":"standalone"][t.month()]:R(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ss(t,e,n){var s,r,a,i=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)a=L([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(a,"").toLocaleLowerCase();return n?e==="MMM"?(r=D.call(this._shortMonthsParse,i),r!==-1?r:null):(r=D.call(this._longMonthsParse,i),r!==-1?r:null):e==="MMM"?(r=D.call(this._shortMonthsParse,i),r!==-1?r:(r=D.call(this._longMonthsParse,i),r!==-1?r:null)):(r=D.call(this._longMonthsParse,i),r!==-1?r:(r=D.call(this._shortMonthsParse,i),r!==-1?r:null))}function rs(t,e,n){var s,r,a;if(this._monthsParseExact)return ss.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++)if(r=L([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),!n&&!this._monthsParse[s]&&(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[s]=new RegExp(a.replace(".",""),"i")),n&&e==="MMMM"&&this._longMonthsParse[s].test(t)||n&&e==="MMM"&&this._shortMonthsParse[s].test(t)||!n&&this._monthsParse[s].test(t))return s}function je(t,e){if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=m(e);else if(e=t.localeData().monthsParse(e),!q(e))return t}var n=e,s=t.date();return s=s<29?s:Math.min(s,he(t.year(),n)),t._isUTC?t._d.setUTCMonth(n,s):t._d.setMonth(n,s),t}function Ie(t){return t!=null?(je(this,t),u.updateOffset(this,!0),this):yt(this,"Month")}function as(){return he(this.year(),this.month())}function is(t){return this._monthsParseExact?(g(this,"_monthsRegex")||ze.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Kn),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function os(t){return this._monthsParseExact?(g(this,"_monthsRegex")||ze.call(this),t?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=ts),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function ze(){function t(c,_){return _.length-c.length}var e=[],n=[],s=[],r,a,i,l;for(r=0;r<12;r++)a=L([2e3,r]),i=z(this.monthsShort(a,"")),l=z(this.months(a,"")),e.push(i),n.push(l),s.push(l),s.push(i);e.sort(t),n.sort(t),s.sort(t),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function us(t,e,n,s,r,a,i){var l;return t<100&&t>=0?(l=new Date(t+400,e,n,s,r,a,i),isFinite(l.getFullYear())&&l.setFullYear(t)):l=new Date(t,e,n,s,r,a,i),l}function gt(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Nt(t,e,n){var s=7+e-n,r=(7+gt(t,0,s).getUTCDay()-e)%7;return-r+s-1}function Ze(t,e,n,s,r){var a=(7+n-s)%7,i=Nt(t,s,r),l=1+7*(e-1)+a+i,c,_;return l<=0?(c=t-1,_=_t(c)+l):l>_t(t)?(c=t+1,_=l-_t(t)):(c=t,_=l),{year:c,dayOfYear:_}}function wt(t,e,n){var s=Nt(t.year(),e,n),r=Math.floor((t.dayOfYear()-s-1)/7)+1,a,i;return r<1?(i=t.year()-1,a=r+Z(i,e,n)):r>Z(t.year(),e,n)?(a=r-Z(t.year(),e,n),i=t.year()+1):(i=t.year(),a=r),{week:a,year:i}}function Z(t,e,n){var s=Nt(t,e,n),r=Nt(t+1,e,n);return(_t(t)-s+r)/7}h("w",["ww",2],"wo","week");h("W",["WW",2],"Wo","isoWeek");d("w",k,ht);d("ww",k,T);d("W",k,ht);d("WW",k,T);Dt(["w","ww","W","WW"],function(t,e,n,s){e[s.substr(0,1)]=m(t)});function ls(t){return wt(t,this._week.dow,this._week.doy).week}var ds={dow:0,doy:6};function hs(){return this._week.dow}function cs(){return this._week.doy}function fs(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function ms(t){var e=wt(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}h("d",0,"do","day");h("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)});h("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)});h("dddd",0,0,function(t){return this.localeData().weekdays(this,t)});h("e",0,0,"weekday");h("E",0,0,"isoWeekday");d("d",k);d("e",k);d("E",k);d("dd",function(t,e){return e.weekdaysMinRegex(t)});d("ddd",function(t,e){return e.weekdaysShortRegex(t)});d("dddd",function(t,e){return e.weekdaysRegex(t)});Dt(["dd","ddd","dddd"],function(t,e,n,s){var r=n._locale.weekdaysParse(t,s,n._strict);r!=null?e.d=r:f(n).invalidWeekday=t});Dt(["d","e","E"],function(t,e,n,s){e[s]=m(t)});function _s(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function ys(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function ce(t,e){return t.slice(e,7).concat(t.slice(0,e))}var gs="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ws="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),vs=Mt,ps=Mt,ks=Mt;function Ms(t,e){var n=R(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?ce(n,this._week.dow):t?n[t.day()]:n}function Ds(t){return t===!0?ce(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Ss(t){return t===!0?ce(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Ys(t,e,n){var s,r,a,i=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)a=L([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(a,"").toLocaleLowerCase();return n?e==="dddd"?(r=D.call(this._weekdaysParse,i),r!==-1?r:null):e==="ddd"?(r=D.call(this._shortWeekdaysParse,i),r!==-1?r:null):(r=D.call(this._minWeekdaysParse,i),r!==-1?r:null):e==="dddd"?(r=D.call(this._weekdaysParse,i),r!==-1||(r=D.call(this._shortWeekdaysParse,i),r!==-1)?r:(r=D.call(this._minWeekdaysParse,i),r!==-1?r:null)):e==="ddd"?(r=D.call(this._shortWeekdaysParse,i),r!==-1||(r=D.call(this._weekdaysParse,i),r!==-1)?r:(r=D.call(this._minWeekdaysParse,i),r!==-1?r:null)):(r=D.call(this._minWeekdaysParse,i),r!==-1||(r=D.call(this._weekdaysParse,i),r!==-1)?r:(r=D.call(this._shortWeekdaysParse,i),r!==-1?r:null))}function Os(t,e,n){var s,r,a;if(this._weekdaysParseExact)return Ys.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++)if(r=L([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[s]=new RegExp(a.replace(".",""),"i")),n&&e==="dddd"&&this._fullWeekdaysParse[s].test(t)||n&&e==="ddd"&&this._shortWeekdaysParse[s].test(t)||n&&e==="dd"&&this._minWeekdaysParse[s].test(t)||!n&&this._weekdaysParse[s].test(t))return s}function bs(t){if(!this.isValid())return t!=null?this:NaN;var e=yt(this,"Day");return t!=null?(t=_s(t,this.localeData()),this.add(t-e,"d")):e}function Ts(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function xs(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=ys(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function Ns(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||fe.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=vs),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ws(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||fe.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ps),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ps(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||fe.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ks),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function fe(){function t(O,G){return G.length-O.length}var e=[],n=[],s=[],r=[],a,i,l,c,_;for(a=0;a<7;a++)i=L([2e3,1]).day(a),l=z(this.weekdaysMin(i,"")),c=z(this.weekdaysShort(i,"")),_=z(this.weekdays(i,"")),e.push(l),n.push(c),s.push(_),r.push(l),r.push(c),r.push(_);e.sort(t),n.sort(t),s.sort(t),r.sort(t),this._weekdaysRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function me(){return this.hours()%12||12}function Rs(){return this.hours()||24}h("H",["HH",2],0,"hour");h("h",["hh",2],0,me);h("k",["kk",2],0,Rs);h("hmm",0,0,function(){return""+me.apply(this)+F(this.minutes(),2)});h("hmmss",0,0,function(){return""+me.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)});h("Hmm",0,0,function(){return""+this.hours()+F(this.minutes(),2)});h("Hmmss",0,0,function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)});function $e(t,e){h(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}$e("a",!0);$e("A",!1);function Be(t,e){return e._meridiemParse}d("a",Be);d("A",Be);d("H",k,de);d("h",k,ht);d("k",k,ht);d("HH",k,T);d("hh",k,T);d("kk",k,T);d("hmm",Fe);d("hmmss",Le);d("Hmm",Fe);d("Hmmss",Le);v(["H","HH"],S);v(["k","kk"],function(t,e,n){var s=m(t);e[S]=s===24?0:s});v(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t});v(["h","hh"],function(t,e,n){e[S]=m(t),f(n).bigHour=!0});v("hmm",function(t,e,n){var s=t.length-2;e[S]=m(t.substr(0,s)),e[P]=m(t.substr(s)),f(n).bigHour=!0});v("hmmss",function(t,e,n){var s=t.length-4,r=t.length-2;e[S]=m(t.substr(0,s)),e[P]=m(t.substr(s,2)),e[I]=m(t.substr(r)),f(n).bigHour=!0});v("Hmm",function(t,e,n){var s=t.length-2;e[S]=m(t.substr(0,s)),e[P]=m(t.substr(s))});v("Hmmss",function(t,e,n){var s=t.length-4,r=t.length-2;e[S]=m(t.substr(0,s)),e[P]=m(t.substr(s,2)),e[I]=m(t.substr(r))});function Cs(t){return(t+"").toLowerCase().charAt(0)==="p"}var Us=/[ap]\.?m?\.?/i,Hs=ct("Hours",!0);function Fs(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var Je={calendar:Yn,longDateFormat:xn,invalidDate:Wn,ordinal:Rn,dayOfMonthOrdinalParse:Cn,relativeTime:Hn,months:Xn,monthsShort:Ee,week:ds,weekdays:gs,weekdaysMin:ws,weekdaysShort:qe,meridiemParse:Us},M={},ft={},vt;function Ls(t,e){var n,s=Math.min(t.length,e.length);for(n=0;n<s;n+=1)if(t[n]!==e[n])return n;return s}function be(t){return t&&t.toLowerCase().replace("_","-")}function Vs(t){for(var e=0,n,s,r,a;e<t.length;){for(a=be(t[e]).split("-"),n=a.length,s=be(t[e+1]),s=s?s.split("-"):null;n>0;){if(r=Et(a.slice(0,n).join("-")),r)return r;if(s&&s.length>=n&&Ls(a,s)>=n-1)break;n--}e++}return vt}function Gs(t){return!!(t&&t.match("^[^/\\\\]*$"))}function Et(t){var e=null,n;if(M[t]===void 0&&typeof module<"u"&&module&&module.exports&&Gs(t))try{e=vt._abbr,n=require,n("./locale/"+t),K(e)}catch{M[t]=null}return M[t]}function K(t,e){var n;return t&&(b(e)?n=$(t):n=_e(t,e),n?vt=n:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),vt._abbr}function _e(t,e){if(e!==null){var n,s=Je;if(e.abbr=t,M[t]!=null)Re("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=M[t]._config;else if(e.parentLocale!=null)if(M[e.parentLocale]!=null)s=M[e.parentLocale]._config;else if(n=Et(e.parentLocale),n!=null)s=n._config;else return ft[e.parentLocale]||(ft[e.parentLocale]=[]),ft[e.parentLocale].push({name:t,config:e}),null;return M[t]=new ae(Jt(s,e)),ft[t]&&ft[t].forEach(function(r){_e(r.name,r.config)}),K(t),M[t]}else return delete M[t],null}function Es(t,e){if(e!=null){var n,s,r=Je;M[t]!=null&&M[t].parentLocale!=null?M[t].set(Jt(M[t]._config,e)):(s=Et(t),s!=null&&(r=s._config),e=Jt(r,e),s==null&&(e.abbr=t),n=new ae(e),n.parentLocale=M[t],M[t]=n),K(t)}else M[t]!=null&&(M[t].parentLocale!=null?(M[t]=M[t].parentLocale,t===K()&&K(t)):M[t]!=null&&delete M[t]);return M[t]}function $(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return vt;if(!R(t)){if(e=Et(t),e)return e;t=[t]}return Vs(t)}function As(){return Qt(M)}function ye(t){var e,n=t._a;return n&&f(t).overflow===-2&&(e=n[j]<0||n[j]>11?j:n[H]<1||n[H]>he(n[Y],n[j])?H:n[S]<0||n[S]>24||n[S]===24&&(n[P]!==0||n[I]!==0||n[et]!==0)?S:n[P]<0||n[P]>59?P:n[I]<0||n[I]>59?I:n[et]<0||n[et]>999?et:-1,f(t)._overflowDayOfYear&&(e<Y||e>H)&&(e=H),f(t)._overflowWeeks&&e===-1&&(e=Zn),f(t)._overflowWeekday&&e===-1&&(e=qn),f(t).overflow=e),t}var js=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Is=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,zs=/Z|[+-]\d\d(?::?\d\d)?/,Yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],qt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Zs=/^\/?Date\((-?\d+)/i,qs=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,$s={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Qe(t){var e,n,s=t._i,r=js.exec(s)||Is.exec(s),a,i,l,c,_=Yt.length,O=qt.length;if(r){for(f(t).iso=!0,e=0,n=_;e<n;e++)if(Yt[e][1].exec(r[1])){i=Yt[e][0],a=Yt[e][2]!==!1;break}if(i==null){t._isValid=!1;return}if(r[3]){for(e=0,n=O;e<n;e++)if(qt[e][1].exec(r[3])){l=(r[2]||" ")+qt[e][0];break}if(l==null){t._isValid=!1;return}}if(!a&&l!=null){t._isValid=!1;return}if(r[4])if(zs.exec(r[4]))c="Z";else{t._isValid=!1;return}t._f=i+(l||"")+(c||""),we(t)}else t._isValid=!1}function Bs(t,e,n,s,r,a){var i=[Js(t),Ee.indexOf(e),parseInt(n,10),parseInt(s,10),parseInt(r,10)];return a&&i.push(parseInt(a,10)),i}function Js(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Qs(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Xs(t,e,n){if(t){var s=qe.indexOf(t),r=new Date(e[0],e[1],e[2]).getDay();if(s!==r)return f(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function Ks(t,e,n){if(t)return $s[t];if(e)return 0;var s=parseInt(n,10),r=s%100,a=(s-r)/100;return a*60+r}function Xe(t){var e=qs.exec(Qs(t._i)),n;if(e){if(n=Bs(e[4],e[3],e[2],e[5],e[6],e[7]),!Xs(e[1],n,t))return;t._a=n,t._tzm=Ks(e[8],e[9],e[10]),t._d=gt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),f(t).rfc2822=!0}else t._isValid=!1}function tr(t){var e=Zs.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(Qe(t),t._isValid===!1)delete t._isValid;else return;if(Xe(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:u.createFromInputFallback(t)}u.createFromInputFallback=N("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function at(t,e,n){return t??e??n}function er(t){var e=new Date(u.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function ge(t){var e,n,s=[],r,a,i;if(!t._d){for(r=er(t),t._w&&t._a[H]==null&&t._a[j]==null&&nr(t),t._dayOfYear!=null&&(i=at(t._a[Y],r[Y]),(t._dayOfYear>_t(i)||t._dayOfYear===0)&&(f(t)._overflowDayOfYear=!0),n=gt(i,0,t._dayOfYear),t._a[j]=n.getUTCMonth(),t._a[H]=n.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[S]===24&&t._a[P]===0&&t._a[I]===0&&t._a[et]===0&&(t._nextDay=!0,t._a[S]=0),t._d=(t._useUTC?gt:us).apply(null,s),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[S]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==a&&(f(t).weekdayMismatch=!0)}}function nr(t){var e,n,s,r,a,i,l,c,_;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(a=1,i=4,n=at(e.GG,t._a[Y],wt(p(),1,4).year),s=at(e.W,1),r=at(e.E,1),(r<1||r>7)&&(c=!0)):(a=t._locale._week.dow,i=t._locale._week.doy,_=wt(p(),a,i),n=at(e.gg,t._a[Y],_.year),s=at(e.w,_.week),e.d!=null?(r=e.d,(r<0||r>6)&&(c=!0)):e.e!=null?(r=e.e+a,(e.e<0||e.e>6)&&(c=!0)):r=a),s<1||s>Z(n,a,i)?f(t)._overflowWeeks=!0:c!=null?f(t)._overflowWeekday=!0:(l=Ze(n,s,r,a,i),t._a[Y]=l.year,t._dayOfYear=l.dayOfYear)}u.ISO_8601=function(){};u.RFC_2822=function(){};function we(t){if(t._f===u.ISO_8601){Qe(t);return}if(t._f===u.RFC_2822){Xe(t);return}t._a=[],f(t).empty=!0;var e=""+t._i,n,s,r,a,i,l=e.length,c=0,_,O;for(r=Ce(t._f,t._locale).match(ie)||[],O=r.length,n=0;n<O;n++)a=r[n],s=(e.match(jn(a,t))||[])[0],s&&(i=e.substr(0,e.indexOf(s)),i.length>0&&f(t).unusedInput.push(i),e=e.slice(e.indexOf(s)+s.length),c+=s.length),ot[a]?(s?f(t).empty=!1:f(t).unusedTokens.push(a),zn(a,s,t)):t._strict&&!s&&f(t).unusedTokens.push(a);f(t).charsLeftOver=l-c,e.length>0&&f(t).unusedInput.push(e),t._a[S]<=12&&f(t).bigHour===!0&&t._a[S]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[S]=sr(t._locale,t._a[S],t._meridiem),_=f(t).era,_!==null&&(t._a[Y]=t._locale.erasConvertYear(_,t._a[Y])),ge(t),ye(t)}function sr(t,e,n){var s;return n==null?e:t.meridiemHour!=null?t.meridiemHour(e,n):(t.isPM!=null&&(s=t.isPM(n),s&&e<12&&(e+=12),!s&&e===12&&(e=0)),e)}function rr(t){var e,n,s,r,a,i,l=!1,c=t._f.length;if(c===0){f(t).invalidFormat=!0,t._d=new Date(NaN);return}for(r=0;r<c;r++)a=0,i=!1,e=re({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[r],we(e),se(e)&&(i=!0),a+=f(e).charsLeftOver,a+=f(e).unusedTokens.length*10,f(e).score=a,l?a<s&&(s=a,n=e):(s==null||a<s||i)&&(s=a,n=e,i&&(l=!0));Q(t,n||e)}function ar(t){if(!t._d){var e=oe(t._i),n=e.day===void 0?e.date:e.day;t._a=We([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(s){return s&&parseInt(s,10)}),ge(t)}}function ir(t){var e=new kt(ye(Ke(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Ke(t){var e=t._i,n=t._f;return t._locale=t._locale||$(t._l),e===null||n===void 0&&e===""?Ct({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),C(e)?new kt(ye(e)):(pt(e)?t._d=e:R(n)?rr(t):n?we(t):or(t),se(t)||(t._d=null),t))}function or(t){var e=t._i;b(e)?t._d=new Date(u.now()):pt(e)?t._d=new Date(e.valueOf()):typeof e=="string"?tr(t):R(e)?(t._a=We(e.slice(0),function(n){return parseInt(n,10)}),ge(t)):nt(e)?ar(t):q(e)?t._d=new Date(e):u.createFromInputFallback(t)}function tn(t,e,n,s,r){var a={};return(e===!0||e===!1)&&(s=e,e=void 0),(n===!0||n===!1)&&(s=n,n=void 0),(nt(t)&&ne(t)||R(t)&&t.length===0)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=n,a._i=t,a._f=e,a._strict=s,ir(a)}function p(t,e,n,s){return tn(t,e,n,s,!1)}var ur=N("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=p.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Ct()}),lr=N("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=p.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Ct()});function en(t,e){var n,s;if(e.length===1&&R(e[0])&&(e=e[0]),!e.length)return p();for(n=e[0],s=1;s<e.length;++s)(!e[s].isValid()||e[s][t](n))&&(n=e[s]);return n}function dr(){var t=[].slice.call(arguments,0);return en("isBefore",t)}function hr(){var t=[].slice.call(arguments,0);return en("isAfter",t)}var cr=function(){return Date.now?Date.now():+new Date},mt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function fr(t){var e,n=!1,s,r=mt.length;for(e in t)if(g(t,e)&&!(D.call(mt,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(s=0;s<r;++s)if(t[mt[s]]){if(n)return!1;parseFloat(t[mt[s]])!==m(t[mt[s]])&&(n=!0)}return!0}function mr(){return this._isValid}function _r(){return U(NaN)}function At(t){var e=oe(t),n=e.year||0,s=e.quarter||0,r=e.month||0,a=e.week||e.isoWeek||0,i=e.day||0,l=e.hour||0,c=e.minute||0,_=e.second||0,O=e.millisecond||0;this._isValid=fr(e),this._milliseconds=+O+_*1e3+c*6e4+l*1e3*60*60,this._days=+i+a*7,this._months=+r+s*3+n*12,this._data={},this._locale=$(),this._bubble()}function bt(t){return t instanceof At}function Kt(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function yr(t,e,n){var s=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),a=0,i;for(i=0;i<s;i++)m(t[i])!==m(e[i])&&a++;return a+r}function nn(t,e){h(t,0,0,function(){var n=this.utcOffset(),s="+";return n<0&&(n=-n,s="-"),s+F(~~(n/60),2)+e+F(~~n%60,2)})}nn("Z",":");nn("ZZ","");d("Z",Vt);d("ZZ",Vt);v(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=ve(Vt,t)});var gr=/([\+\-]|\d\d)/gi;function ve(t,e){var n=(e||"").match(t),s,r,a;return n===null?null:(s=n[n.length-1]||[],r=(s+"").match(gr)||["-",0,0],a=+(r[1]*60)+m(r[2]),a===0?0:r[0]==="+"?a:-a)}function pe(t,e){var n,s;return e._isUTC?(n=e.clone(),s=(C(t)||pt(t)?t.valueOf():p(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+s),u.updateOffset(n,!1),n):p(t).local()}function te(t){return-Math.round(t._d.getTimezoneOffset())}u.updateOffset=function(){};function wr(t,e,n){var s=this._offset||0,r;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=ve(Vt,t),t===null)return this}else Math.abs(t)<16&&!n&&(t=t*60);return!this._isUTC&&e&&(r=te(this)),this._offset=t,this._isUTC=!0,r!=null&&this.add(r,"m"),s!==t&&(!e||this._changeInProgress?an(this,U(t-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,u.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:te(this)}function vr(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function pr(t){return this.utcOffset(0,t)}function kr(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(te(this),"m")),this}function Mr(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=ve(En,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Dr(t){return this.isValid()?(t=t?p(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function Sr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Yr(){if(!b(this._isDSTShifted))return this._isDSTShifted;var t={},e;return re(t,this),t=Ke(t),t._a?(e=t._isUTC?L(t._a):p(t._a),this._isDSTShifted=this.isValid()&&yr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Or(){return this.isValid()?!this._isUTC:!1}function br(){return this.isValid()?this._isUTC:!1}function sn(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Tr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,xr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function U(t,e){var n=t,s=null,r,a,i;return bt(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:q(t)||!isNaN(+t)?(n={},e?n[e]=+t:n.milliseconds=+t):(s=Tr.exec(t))?(r=s[1]==="-"?-1:1,n={y:0,d:m(s[H])*r,h:m(s[S])*r,m:m(s[P])*r,s:m(s[I])*r,ms:m(Kt(s[et]*1e3))*r}):(s=xr.exec(t))?(r=s[1]==="-"?-1:1,n={y:tt(s[2],r),M:tt(s[3],r),w:tt(s[4],r),d:tt(s[5],r),h:tt(s[6],r),m:tt(s[7],r),s:tt(s[8],r)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(i=Nr(p(n.from),p(n.to)),n={},n.ms=i.milliseconds,n.M=i.months),a=new At(n),bt(t)&&g(t,"_locale")&&(a._locale=t._locale),bt(t)&&g(t,"_isValid")&&(a._isValid=t._isValid),a}U.fn=At.prototype;U.invalid=_r;function tt(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Te(t,e){var n={};return n.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Nr(t,e){var n;return t.isValid()&&e.isValid()?(e=pe(e,t),t.isBefore(e)?n=Te(t,e):(n=Te(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function rn(t,e){return function(n,s){var r,a;return s!==null&&!isNaN(+s)&&(Re(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=s,s=a),r=U(n,s),an(this,r,t),this}}function an(t,e,n,s){var r=e._milliseconds,a=Kt(e._days),i=Kt(e._months);t.isValid()&&(s=s??!0,i&&je(t,yt(t,"Month")+i*n),a&&Ge(t,"Date",yt(t,"Date")+a*n),r&&t._d.setTime(t._d.valueOf()+r*n),s&&u.updateOffset(t,a||i))}var Wr=rn(1,"add"),Pr=rn(-1,"subtract");function on(t){return typeof t=="string"||t instanceof String}function Rr(t){return C(t)||pt(t)||on(t)||q(t)||Ur(t)||Cr(t)||t===null||t===void 0}function Cr(t){var e=nt(t)&&!ne(t),n=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],r,a,i=s.length;for(r=0;r<i;r+=1)a=s[r],n=n||g(t,a);return e&&n}function Ur(t){var e=R(t),n=!1;return e&&(n=t.filter(function(s){return!q(s)&&on(t)}).length===0),e&&n}function Hr(t){var e=nt(t)&&!ne(t),n=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r,a;for(r=0;r<s.length;r+=1)a=s[r],n=n||g(t,a);return e&&n}function Fr(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Lr(t,e){arguments.length===1&&(arguments[0]?Rr(arguments[0])?(t=arguments[0],e=void 0):Hr(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||p(),s=pe(n,this).startOf("day"),r=u.calendarFormat(this,s)||"sameElse",a=e&&(V(e[r])?e[r].call(this,n):e[r]);return this.format(a||this.localeData().calendar(r,this,p(n)))}function Vr(){return new kt(this)}function Gr(t,e){var n=C(t)?t:p(t);return this.isValid()&&n.isValid()?(e=W(e)||"millisecond",e==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function Er(t,e){var n=C(t)?t:p(t);return this.isValid()&&n.isValid()?(e=W(e)||"millisecond",e==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function Ar(t,e,n,s){var r=C(t)?t:p(t),a=C(e)?e:p(e);return this.isValid()&&r.isValid()&&a.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(r,n):!this.isBefore(r,n))&&(s[1]===")"?this.isBefore(a,n):!this.isAfter(a,n))):!1}function jr(t,e){var n=C(t)?t:p(t),s;return this.isValid()&&n.isValid()?(e=W(e)||"millisecond",e==="millisecond"?this.valueOf()===n.valueOf():(s=n.valueOf(),this.clone().startOf(e).valueOf()<=s&&s<=this.clone().endOf(e).valueOf())):!1}function Ir(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function zr(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function Zr(t,e,n){var s,r,a;if(!this.isValid())return NaN;if(s=pe(t,this),!s.isValid())return NaN;switch(r=(s.utcOffset()-this.utcOffset())*6e4,e=W(e),e){case"year":a=Tt(this,s)/12;break;case"month":a=Tt(this,s);break;case"quarter":a=Tt(this,s)/3;break;case"second":a=(this-s)/1e3;break;case"minute":a=(this-s)/6e4;break;case"hour":a=(this-s)/36e5;break;case"day":a=(this-s-r)/864e5;break;case"week":a=(this-s-r)/6048e5;break;default:a=this-s}return n?a:x(a)}function Tt(t,e){if(t.date()<e.date())return-Tt(e,t);var n=(e.year()-t.year())*12+(e.month()-t.month()),s=t.clone().add(n,"months"),r,a;return e-s<0?(r=t.clone().add(n-1,"months"),a=(e-s)/(s-r)):(r=t.clone().add(n+1,"months"),a=(e-s)/(r-s)),-(n+a)||0}u.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";u.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function $r(t){if(!this.isValid())return null;var e=t!==!0,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?Ot(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):V(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ot(n,"Z")):Ot(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Br(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",n,s,r,a;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),n="["+t+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",a=e+'[")]',this.format(n+s+r+a)}function Jr(t){t||(t=this.isUtc()?u.defaultFormatUtc:u.defaultFormat);var e=Ot(this,t);return this.localeData().postformat(e)}function Qr(t,e){return this.isValid()&&(C(t)&&t.isValid()||p(t).isValid())?U({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Xr(t){return this.from(p(),t)}function Kr(t,e){return this.isValid()&&(C(t)&&t.isValid()||p(t).isValid())?U({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ta(t){return this.to(p(),t)}function un(t){var e;return t===void 0?this._locale._abbr:(e=$(t),e!=null&&(this._locale=e),this)}var ln=N("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function dn(){return this._locale}var Wt=1e3,ut=60*Wt,Pt=60*ut,hn=(365*400+97)*24*Pt;function lt(t,e){return(t%e+e)%e}function cn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-hn:new Date(t,e,n).valueOf()}function fn(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-hn:Date.UTC(t,e,n)}function ea(t){var e,n;if(t=W(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?fn:cn,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=lt(e+(this._isUTC?0:this.utcOffset()*ut),Pt);break;case"minute":e=this._d.valueOf(),e-=lt(e,ut);break;case"second":e=this._d.valueOf(),e-=lt(e,Wt);break}return this._d.setTime(e),u.updateOffset(this,!0),this}function na(t){var e,n;if(t=W(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?fn:cn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Pt-lt(e+(this._isUTC?0:this.utcOffset()*ut),Pt)-1;break;case"minute":e=this._d.valueOf(),e+=ut-lt(e,ut)-1;break;case"second":e=this._d.valueOf(),e+=Wt-lt(e,Wt)-1;break}return this._d.setTime(e),u.updateOffset(this,!0),this}function sa(){return this._d.valueOf()-(this._offset||0)*6e4}function ra(){return Math.floor(this.valueOf()/1e3)}function aa(){return new Date(this.valueOf())}function ia(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function oa(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function ua(){return this.isValid()?this.toISOString():null}function la(){return se(this)}function da(){return Q({},f(this))}function ha(){return f(this).overflow}function ca(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr");h("NN",0,0,"eraAbbr");h("NNN",0,0,"eraAbbr");h("NNNN",0,0,"eraName");h("NNNNN",0,0,"eraNarrow");h("y",["y",1],"yo","eraYear");h("y",["yy",2],0,"eraYear");h("y",["yyy",3],0,"eraYear");h("y",["yyyy",4],0,"eraYear");d("N",ke);d("NN",ke);d("NNN",ke);d("NNNN",Da);d("NNNNN",Sa);v(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,s){var r=n._locale.erasParse(t,s,n._strict);r?f(n).era=r:f(n).invalidEra=t});d("y",dt);d("yy",dt);d("yyy",dt);d("yyyy",dt);d("yo",Ya);v(["y","yy","yyy","yyyy"],Y);v(["yo"],function(t,e,n,s){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Y]=n._locale.eraYearOrdinalParse(t,r):e[Y]=parseInt(t,10)});function fa(t,e){var n,s,r,a=this._eras||$("en")._eras;for(n=0,s=a.length;n<s;++n){switch(typeof a[n].since){case"string":r=u(a[n].since).startOf("day"),a[n].since=r.valueOf();break}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":r=u(a[n].until).startOf("day").valueOf(),a[n].until=r.valueOf();break}}return a}function ma(t,e,n){var s,r,a=this.eras(),i,l,c;for(t=t.toUpperCase(),s=0,r=a.length;s<r;++s)if(i=a[s].name.toUpperCase(),l=a[s].abbr.toUpperCase(),c=a[s].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(l===t)return a[s];break;case"NNNN":if(i===t)return a[s];break;case"NNNNN":if(c===t)return a[s];break}else if([i,l,c].indexOf(t)>=0)return a[s]}function _a(t,e){var n=t.since<=t.until?1:-1;return e===void 0?u(t.since).year():u(t.since).year()+(e-t.offset)*n}function ya(){var t,e,n,s=this.localeData().eras();for(t=0,e=s.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),s[t].since<=n&&n<=s[t].until||s[t].until<=n&&n<=s[t].since)return s[t].name;return""}function ga(){var t,e,n,s=this.localeData().eras();for(t=0,e=s.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),s[t].since<=n&&n<=s[t].until||s[t].until<=n&&n<=s[t].since)return s[t].narrow;return""}function wa(){var t,e,n,s=this.localeData().eras();for(t=0,e=s.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),s[t].since<=n&&n<=s[t].until||s[t].until<=n&&n<=s[t].since)return s[t].abbr;return""}function va(){var t,e,n,s,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=r[t].since<=r[t].until?1:-1,s=this.clone().startOf("day").valueOf(),r[t].since<=s&&s<=r[t].until||r[t].until<=s&&s<=r[t].since)return(this.year()-u(r[t].since).year())*n+r[t].offset;return this.year()}function pa(t){return g(this,"_erasNameRegex")||Me.call(this),t?this._erasNameRegex:this._erasRegex}function ka(t){return g(this,"_erasAbbrRegex")||Me.call(this),t?this._erasAbbrRegex:this._erasRegex}function Ma(t){return g(this,"_erasNarrowRegex")||Me.call(this),t?this._erasNarrowRegex:this._erasRegex}function ke(t,e){return e.erasAbbrRegex(t)}function Da(t,e){return e.erasNameRegex(t)}function Sa(t,e){return e.erasNarrowRegex(t)}function Ya(t,e){return e._eraYearOrdinalRegex||dt}function Me(){var t=[],e=[],n=[],s=[],r,a,i,l,c,_=this.eras();for(r=0,a=_.length;r<a;++r)i=z(_[r].name),l=z(_[r].abbr),c=z(_[r].narrow),e.push(i),t.push(l),n.push(c),s.push(i),s.push(l),s.push(c);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100});h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function jt(t,e){h(0,[t,t.length],0,e)}jt("gggg","weekYear");jt("ggggg","weekYear");jt("GGGG","isoWeekYear");jt("GGGGG","isoWeekYear");d("G",Lt);d("g",Lt);d("GG",k,T);d("gg",k,T);d("GGGG",le,ue);d("gggg",le,ue);d("GGGGG",Ft,Ut);d("ggggg",Ft,Ut);Dt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,s){e[s.substr(0,2)]=m(t)});Dt(["gg","GG"],function(t,e,n,s){e[s]=u.parseTwoDigitYear(t)});function Oa(t){return mn.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function ba(t){return mn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Ta(){return Z(this.year(),1,4)}function xa(){return Z(this.isoWeekYear(),1,4)}function Na(){var t=this.localeData()._week;return Z(this.year(),t.dow,t.doy)}function Wa(){var t=this.localeData()._week;return Z(this.weekYear(),t.dow,t.doy)}function mn(t,e,n,s,r){var a;return t==null?wt(this,s,r).year:(a=Z(t,s,r),e>a&&(e=a),Pa.call(this,t,e,n,s,r))}function Pa(t,e,n,s,r){var a=Ze(t,e,n,s,r),i=gt(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter");d("Q",Ue);v("Q",function(t,e){e[j]=(m(t)-1)*3});function Ra(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}h("D",["DD",2],"Do","date");d("D",k,ht);d("DD",k,T);d("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient});v(["D","DD"],H);v("Do",function(t,e){e[H]=m(t.match(k)[0])});var _n=ct("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear");d("DDD",Ht);d("DDDD",He);v(["DDD","DDDD"],function(t,e,n){n._dayOfYear=m(t)});function Ca(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}h("m",["mm",2],0,"minute");d("m",k,de);d("mm",k,T);v(["m","mm"],P);var Ua=ct("Minutes",!1);h("s",["ss",2],0,"second");d("s",k,de);d("ss",k,T);v(["s","ss"],I);var Ha=ct("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)});h(0,["SS",2],0,function(){return~~(this.millisecond()/10)});h(0,["SSS",3],0,"millisecond");h(0,["SSSS",4],0,function(){return this.millisecond()*10});h(0,["SSSSS",5],0,function(){return this.millisecond()*100});h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});d("S",Ht,Ue);d("SS",Ht,T);d("SSS",Ht,He);var X,yn;for(X="SSSS";X.length<=9;X+="S")d(X,dt);function Fa(t,e){e[et]=m(("0."+t)*1e3)}for(X="S";X.length<=9;X+="S")v(X,Fa);yn=ct("Milliseconds",!1);h("z",0,0,"zoneAbbr");h("zz",0,0,"zoneName");function La(){return this._isUTC?"UTC":""}function Va(){return this._isUTC?"Coordinated Universal Time":""}var o=kt.prototype;o.add=Wr;o.calendar=Lr;o.clone=Vr;o.diff=Zr;o.endOf=na;o.format=Jr;o.from=Qr;o.fromNow=Xr;o.to=Kr;o.toNow=ta;o.get=Bn;o.invalidAt=ha;o.isAfter=Gr;o.isBefore=Er;o.isBetween=Ar;o.isSame=jr;o.isSameOrAfter=Ir;o.isSameOrBefore=zr;o.isValid=la;o.lang=ln;o.locale=un;o.localeData=dn;o.max=lr;o.min=ur;o.parsingFlags=da;o.set=Jn;o.startOf=ea;o.subtract=Pr;o.toArray=ia;o.toObject=oa;o.toDate=aa;o.toISOString=$r;o.inspect=Br;typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});o.toJSON=ua;o.toString=qr;o.unix=ra;o.valueOf=sa;o.creationData=ca;o.eraName=ya;o.eraNarrow=ga;o.eraAbbr=wa;o.eraYear=va;o.year=Ve;o.isLeapYear=$n;o.weekYear=Oa;o.isoWeekYear=ba;o.quarter=o.quarters=Ra;o.month=Ie;o.daysInMonth=as;o.week=o.weeks=fs;o.isoWeek=o.isoWeeks=ms;o.weeksInYear=Na;o.weeksInWeekYear=Wa;o.isoWeeksInYear=Ta;o.isoWeeksInISOWeekYear=xa;o.date=_n;o.day=o.days=bs;o.weekday=Ts;o.isoWeekday=xs;o.dayOfYear=Ca;o.hour=o.hours=Hs;o.minute=o.minutes=Ua;o.second=o.seconds=Ha;o.millisecond=o.milliseconds=yn;o.utcOffset=wr;o.utc=pr;o.local=kr;o.parseZone=Mr;o.hasAlignedHourOffset=Dr;o.isDST=Sr;o.isLocal=Or;o.isUtcOffset=br;o.isUtc=sn;o.isUTC=sn;o.zoneAbbr=La;o.zoneName=Va;o.dates=N("dates accessor is deprecated. Use date instead.",_n);o.months=N("months accessor is deprecated. Use month instead",Ie);o.years=N("years accessor is deprecated. Use year instead",Ve);o.zone=N("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vr);o.isDSTShifted=N("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Yr);function Ga(t){return p(t*1e3)}function Ea(){return p.apply(null,arguments).parseZone()}function gn(t){return t}var w=ae.prototype;w.calendar=On;w.longDateFormat=Nn;w.invalidDate=Pn;w.ordinal=Un;w.preparse=gn;w.postformat=gn;w.relativeTime=Fn;w.pastFuture=Ln;w.set=Sn;w.eras=fa;w.erasParse=ma;w.erasConvertYear=_a;w.erasAbbrRegex=ka;w.erasNameRegex=pa;w.erasNarrowRegex=Ma;w.months=es;w.monthsShort=ns;w.monthsParse=rs;w.monthsRegex=os;w.monthsShortRegex=is;w.week=ls;w.firstDayOfYear=cs;w.firstDayOfWeek=hs;w.weekdays=Ms;w.weekdaysMin=Ss;w.weekdaysShort=Ds;w.weekdaysParse=Os;w.weekdaysRegex=Ns;w.weekdaysShortRegex=Ws;w.weekdaysMinRegex=Ps;w.isPM=Cs;w.meridiem=Fs;function Rt(t,e,n,s){var r=$(),a=L().set(s,e);return r[n](a,t)}function wn(t,e,n){if(q(t)&&(e=t,t=void 0),t=t||"",e!=null)return Rt(t,e,n,"month");var s,r=[];for(s=0;s<12;s++)r[s]=Rt(t,s,n,"month");return r}function De(t,e,n,s){typeof t=="boolean"?(q(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,q(e)&&(n=e,e=void 0),e=e||"");var r=$(),a=t?r._week.dow:0,i,l=[];if(n!=null)return Rt(e,(n+a)%7,s,"day");for(i=0;i<7;i++)l[i]=Rt(e,(i+a)%7,s,"day");return l}function Aa(t,e){return wn(t,e,"months")}function ja(t,e){return wn(t,e,"monthsShort")}function Ia(t,e,n){return De(t,e,n,"weekdays")}function za(t,e,n){return De(t,e,n,"weekdaysShort")}function Za(t,e,n){return De(t,e,n,"weekdaysMin")}K("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=m(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+n}});u.lang=N("moment.lang is deprecated. Use moment.locale instead.",K);u.langData=N("moment.langData is deprecated. Use moment.localeData instead.",$);var E=Math.abs;function qa(){var t=this._data;return this._milliseconds=E(this._milliseconds),this._days=E(this._days),this._months=E(this._months),t.milliseconds=E(t.milliseconds),t.seconds=E(t.seconds),t.minutes=E(t.minutes),t.hours=E(t.hours),t.months=E(t.months),t.years=E(t.years),this}function vn(t,e,n,s){var r=U(e,n);return t._milliseconds+=s*r._milliseconds,t._days+=s*r._days,t._months+=s*r._months,t._bubble()}function $a(t,e){return vn(this,t,e,1)}function Ba(t,e){return vn(this,t,e,-1)}function xe(t){return t<0?Math.floor(t):Math.ceil(t)}function Ja(){var t=this._milliseconds,e=this._days,n=this._months,s=this._data,r,a,i,l,c;return t>=0&&e>=0&&n>=0||t<=0&&e<=0&&n<=0||(t+=xe(ee(n)+e)*864e5,e=0,n=0),s.milliseconds=t%1e3,r=x(t/1e3),s.seconds=r%60,a=x(r/60),s.minutes=a%60,i=x(a/60),s.hours=i%24,e+=x(i/24),c=x(pn(e)),n+=c,e-=xe(ee(c)),l=x(n/12),n%=12,s.days=e,s.months=n,s.years=l,this}function pn(t){return t*4800/146097}function ee(t){return t*146097/4800}function Qa(t){if(!this.isValid())return NaN;var e,n,s=this._milliseconds;if(t=W(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+s/864e5,n=this._months+pn(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(ee(this._months)),t){case"week":return e/7+s/6048e5;case"day":return e+s/864e5;case"hour":return e*24+s/36e5;case"minute":return e*1440+s/6e4;case"second":return e*86400+s/1e3;case"millisecond":return Math.floor(e*864e5)+s;default:throw new Error("Unknown unit "+t)}}function B(t){return function(){return this.as(t)}}var kn=B("ms"),Xa=B("s"),Ka=B("m"),ti=B("h"),ei=B("d"),ni=B("w"),si=B("M"),ri=B("Q"),ai=B("y"),ii=kn;function oi(){return U(this)}function ui(t){return t=W(t),this.isValid()?this[t+"s"]():NaN}function st(t){return function(){return this.isValid()?this._data[t]:NaN}}var li=st("milliseconds"),di=st("seconds"),hi=st("minutes"),ci=st("hours"),fi=st("days"),mi=st("months"),_i=st("years");function yi(){return x(this.days()/7)}var A=Math.round,it={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function gi(t,e,n,s,r){return r.relativeTime(e||1,!!n,t,s)}function wi(t,e,n,s){var r=U(t).abs(),a=A(r.as("s")),i=A(r.as("m")),l=A(r.as("h")),c=A(r.as("d")),_=A(r.as("M")),O=A(r.as("w")),G=A(r.as("y")),J=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||i<=1&&["m"]||i<n.m&&["mm",i]||l<=1&&["h"]||l<n.h&&["hh",l]||c<=1&&["d"]||c<n.d&&["dd",c];return n.w!=null&&(J=J||O<=1&&["w"]||O<n.w&&["ww",O]),J=J||_<=1&&["M"]||_<n.M&&["MM",_]||G<=1&&["y"]||["yy",G],J[2]=e,J[3]=+t>0,J[4]=s,gi.apply(null,J)}function vi(t){return t===void 0?A:typeof t=="function"?(A=t,!0):!1}function pi(t,e){return it[t]===void 0?!1:e===void 0?it[t]:(it[t]=e,t==="s"&&(it.ss=e-1),!0)}function ki(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,s=it,r,a;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(n=t),typeof e=="object"&&(s=Object.assign({},it,e),e.s!=null&&e.ss==null&&(s.ss=e.s-1)),r=this.localeData(),a=wi(this,!n,s,r),n&&(a=r.pastFuture(+this,a)),r.postformat(a)}var $t=Math.abs;function rt(t){return(t>0)-(t<0)||+t}function It(){if(!this.isValid())return this.localeData().invalidDate();var t=$t(this._milliseconds)/1e3,e=$t(this._days),n=$t(this._months),s,r,a,i,l=this.asSeconds(),c,_,O,G;return l?(s=x(t/60),r=x(s/60),t%=60,s%=60,a=x(n/12),n%=12,i=t?t.toFixed(3).replace(/\.?0+$/,""):"",c=l<0?"-":"",_=rt(this._months)!==rt(l)?"-":"",O=rt(this._days)!==rt(l)?"-":"",G=rt(this._milliseconds)!==rt(l)?"-":"",c+"P"+(a?_+a+"Y":"")+(n?_+n+"M":"")+(e?O+e+"D":"")+(r||s||t?"T":"")+(r?G+r+"H":"")+(s?G+s+"M":"")+(t?G+i+"S":"")):"P0D"}var y=At.prototype;y.isValid=mr;y.abs=qa;y.add=$a;y.subtract=Ba;y.as=Qa;y.asMilliseconds=kn;y.asSeconds=Xa;y.asMinutes=Ka;y.asHours=ti;y.asDays=ei;y.asWeeks=ni;y.asMonths=si;y.asQuarters=ri;y.asYears=ai;y.valueOf=ii;y._bubble=Ja;y.clone=oi;y.get=ui;y.milliseconds=li;y.seconds=di;y.minutes=hi;y.hours=ci;y.days=fi;y.weeks=yi;y.months=mi;y.years=_i;y.humanize=ki;y.toISOString=It;y.toString=It;y.toJSON=It;y.locale=un;y.localeData=dn;y.toIsoString=N("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",It);y.lang=ln;h("X",0,0,"unix");h("x",0,0,"valueOf");d("x",Lt);d("X",An);v("X",function(t,e,n){n._d=new Date(parseFloat(t)*1e3)});v("x",function(t,e,n){n._d=new Date(m(t))});u.version="2.30.1";Mn(p);u.fn=o;u.min=dr;u.max=hr;u.now=cr;u.utc=L;u.unix=Ga;u.months=Aa;u.isDate=pt;u.locale=K;u.invalid=Ct;u.duration=U;u.isMoment=C;u.weekdays=Ia;u.parseZone=Ea;u.localeData=$;u.isDuration=bt;u.monthsShort=ja;u.weekdaysMin=Za;u.defineLocale=_e;u.updateLocale=Es;u.locales=As;u.weekdaysShort=za;u.normalizeUnits=W;u.relativeTimeRounding=vi;u.relativeTimeThreshold=pi;u.calendarFormat=Fr;u.prototype=o;u.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Mi=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"}));export{Mi as D,u as l};
|
|
4
|
+
`+new Error().stack),n=!1}return e.apply(this,arguments)},e)}var Ye={};function Re(t,e){u.deprecationHandler!=null&&u.deprecationHandler(t,e),Ye[t]||(Pe(e),Ye[t]=!0)}u.suppressDeprecationWarnings=!1;u.deprecationHandler=null;function V(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function Sn(t){var e,n;for(n in t)g(t,n)&&(e=t[n],V(e)?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Jt(t,e){var n=Q({},t),s;for(s in e)g(e,s)&&(nt(t[s])&&nt(e[s])?(n[s]={},Q(n[s],t[s]),Q(n[s],e[s])):e[s]!=null?n[s]=e[s]:delete n[s]);for(s in t)g(t,s)&&!g(e,s)&&nt(t[s])&&(n[s]=Q({},n[s]));return n}function ae(t){t!=null&&this.set(t)}var Qt;Object.keys?Qt=Object.keys:Qt=function(t){var e,n=[];for(e in t)g(t,e)&&n.push(e);return n};var Yn={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function On(t,e,n){var s=this._calendar[t]||this._calendar.sameElse;return V(s)?s.call(e,n):s}function F(t,e,n){var s=""+Math.abs(t),r=e-s.length,a=t>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+s}var ie=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,St=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Zt={},ot={};function h(t,e,n,s){var r=s;typeof s=="string"&&(r=function(){return this[s]()}),t&&(ot[t]=r),e&&(ot[e[0]]=function(){return F(r.apply(this,arguments),e[1],e[2])}),n&&(ot[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function bn(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function Tn(t){var e=t.match(ie),n,s;for(n=0,s=e.length;n<s;n++)ot[e[n]]?e[n]=ot[e[n]]:e[n]=bn(e[n]);return function(r){var a="",i;for(i=0;i<s;i++)a+=V(e[i])?e[i].call(r,t):e[i];return a}}function Ot(t,e){return t.isValid()?(e=Ce(e,t.localeData()),Zt[e]=Zt[e]||Tn(e),Zt[e](t)):t.localeData().invalidDate()}function Ce(t,e){var n=5;function s(r){return e.longDateFormat(r)||r}for(St.lastIndex=0;n>=0&&St.test(t);)t=t.replace(St,s),St.lastIndex=0,n-=1;return t}var xn={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Nn(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(ie).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[t])}var Wn="Invalid date";function Pn(){return this._invalidDate}var Rn="%d",Cn=/\d{1,2}/;function Un(t){return this._ordinal.replace("%d",t)}var Hn={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Fn(t,e,n,s){var r=this._relativeTime[n];return V(r)?r(t,e,n,s):r.replace(/%d/i,t)}function Ln(t,e){var n=this._relativeTime[t>0?"future":"past"];return V(n)?n(e):n.replace(/%s/i,e)}var Oe={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function W(t){return typeof t=="string"?Oe[t]||Oe[t.toLowerCase()]:void 0}function oe(t){var e={},n,s;for(s in t)g(t,s)&&(n=W(s),n&&(e[n]=t[s]));return e}var Vn={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Gn(t){var e=[],n;for(n in t)g(t,n)&&e.push({unit:n,priority:Vn[n]});return e.sort(function(s,r){return s.priority-r.priority}),e}var Ue=/\d/,T=/\d\d/,He=/\d{3}/,ue=/\d{4}/,Ut=/[+-]?\d{6}/,k=/\d\d?/,Fe=/\d\d\d\d?/,Le=/\d\d\d\d\d\d?/,Ht=/\d{1,3}/,le=/\d{1,4}/,Ft=/[+-]?\d{1,6}/,dt=/\d+/,Lt=/[+-]?\d+/,En=/Z|[+-]\d\d:?\d\d/gi,Vt=/Z|[+-]\d\d(?::?\d\d)?/gi,An=/[+-]?\d+(\.\d{1,3})?/,Mt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ht=/^[1-9]\d?/,de=/^([1-9]\d|\d)/,xt;xt={};function d(t,e,n){xt[t]=V(e)?e:function(s,r){return s&&n?n:e}}function jn(t,e){return g(xt,t)?xt[t](e._strict,e._locale):new RegExp(In(t))}function In(t){return z(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,n,s,r,a){return n||s||r||a}))}function z(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function x(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function m(t){var e=+t,n=0;return e!==0&&isFinite(e)&&(n=x(e)),n}var Xt={};function v(t,e){var n,s=e,r;for(typeof t=="string"&&(t=[t]),q(e)&&(s=function(a,i){i[e]=m(a)}),r=t.length,n=0;n<r;n++)Xt[t[n]]=s}function Dt(t,e){v(t,function(n,s,r,a){r._w=r._w||{},e(n,r._w,r,a)})}function zn(t,e,n){e!=null&&g(Xt,t)&&Xt[t](e,n._a,n,t)}function Gt(t){return t%4===0&&t%100!==0||t%400===0}var Y=0,j=1,H=2,S=3,P=4,I=5,et=6,Zn=7,qn=8;h("Y",0,0,function(){var t=this.year();return t<=9999?F(t,4):"+"+t});h(0,["YY",2],0,function(){return this.year()%100});h(0,["YYYY",4],0,"year");h(0,["YYYYY",5],0,"year");h(0,["YYYYYY",6,!0],0,"year");d("Y",Lt);d("YY",k,T);d("YYYY",le,ue);d("YYYYY",Ft,Ut);d("YYYYYY",Ft,Ut);v(["YYYYY","YYYYYY"],Y);v("YYYY",function(t,e){e[Y]=t.length===2?u.parseTwoDigitYear(t):m(t)});v("YY",function(t,e){e[Y]=u.parseTwoDigitYear(t)});v("Y",function(t,e){e[Y]=parseInt(t,10)});function _t(t){return Gt(t)?366:365}u.parseTwoDigitYear=function(t){return m(t)+(m(t)>68?1900:2e3)};var Ve=ct("FullYear",!0);function $n(){return Gt(this.year())}function ct(t,e){return function(n){return n!=null?(Ge(this,t,n),u.updateOffset(this,e),this):yt(this,t)}}function yt(t,e){if(!t.isValid())return NaN;var n=t._d,s=t._isUTC;switch(e){case"Milliseconds":return s?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return s?n.getUTCSeconds():n.getSeconds();case"Minutes":return s?n.getUTCMinutes():n.getMinutes();case"Hours":return s?n.getUTCHours():n.getHours();case"Date":return s?n.getUTCDate():n.getDate();case"Day":return s?n.getUTCDay():n.getDay();case"Month":return s?n.getUTCMonth():n.getMonth();case"FullYear":return s?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Ge(t,e,n){var s,r,a,i,l;if(!(!t.isValid()||isNaN(n))){switch(s=t._d,r=t._isUTC,e){case"Milliseconds":return void(r?s.setUTCMilliseconds(n):s.setMilliseconds(n));case"Seconds":return void(r?s.setUTCSeconds(n):s.setSeconds(n));case"Minutes":return void(r?s.setUTCMinutes(n):s.setMinutes(n));case"Hours":return void(r?s.setUTCHours(n):s.setHours(n));case"Date":return void(r?s.setUTCDate(n):s.setDate(n));case"FullYear":break;default:return}a=n,i=t.month(),l=t.date(),l=l===29&&i===1&&!Gt(a)?28:l,r?s.setUTCFullYear(a,i,l):s.setFullYear(a,i,l)}}function Bn(t){return t=W(t),V(this[t])?this[t]():this}function Jn(t,e){if(typeof t=="object"){t=oe(t);var n=Gn(t),s,r=n.length;for(s=0;s<r;s++)this[n[s].unit](t[n[s].unit])}else if(t=W(t),V(this[t]))return this[t](e);return this}function Qn(t,e){return(t%e+e)%e}var D;Array.prototype.indexOf?D=Array.prototype.indexOf:D=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function he(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=Qn(e,12);return t+=(e-n)/12,n===1?Gt(t)?29:28:31-n%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1});h("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)});h("MMMM",0,0,function(t){return this.localeData().months(this,t)});d("M",k,ht);d("MM",k,T);d("MMM",function(t,e){return e.monthsShortRegex(t)});d("MMMM",function(t,e){return e.monthsRegex(t)});v(["M","MM"],function(t,e){e[j]=m(t)-1});v(["MMM","MMMM"],function(t,e,n,s){var r=n._locale.monthsParse(t,s,n._strict);r!=null?e[j]=r:f(n).invalidMonth=t});var Xn="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ee="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Kn=Mt,ts=Mt;function es(t,e){return t?R(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ae).test(e)?"format":"standalone"][t.month()]:R(this._months)?this._months:this._months.standalone}function ns(t,e){return t?R(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ae.test(e)?"format":"standalone"][t.month()]:R(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ss(t,e,n){var s,r,a,i=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)a=L([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(a,"").toLocaleLowerCase();return n?e==="MMM"?(r=D.call(this._shortMonthsParse,i),r!==-1?r:null):(r=D.call(this._longMonthsParse,i),r!==-1?r:null):e==="MMM"?(r=D.call(this._shortMonthsParse,i),r!==-1?r:(r=D.call(this._longMonthsParse,i),r!==-1?r:null)):(r=D.call(this._longMonthsParse,i),r!==-1?r:(r=D.call(this._shortMonthsParse,i),r!==-1?r:null))}function rs(t,e,n){var s,r,a;if(this._monthsParseExact)return ss.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++)if(r=L([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),!n&&!this._monthsParse[s]&&(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[s]=new RegExp(a.replace(".",""),"i")),n&&e==="MMMM"&&this._longMonthsParse[s].test(t)||n&&e==="MMM"&&this._shortMonthsParse[s].test(t)||!n&&this._monthsParse[s].test(t))return s}function je(t,e){if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=m(e);else if(e=t.localeData().monthsParse(e),!q(e))return t}var n=e,s=t.date();return s=s<29?s:Math.min(s,he(t.year(),n)),t._isUTC?t._d.setUTCMonth(n,s):t._d.setMonth(n,s),t}function Ie(t){return t!=null?(je(this,t),u.updateOffset(this,!0),this):yt(this,"Month")}function as(){return he(this.year(),this.month())}function is(t){return this._monthsParseExact?(g(this,"_monthsRegex")||ze.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Kn),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function os(t){return this._monthsParseExact?(g(this,"_monthsRegex")||ze.call(this),t?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=ts),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function ze(){function t(c,_){return _.length-c.length}var e=[],n=[],s=[],r,a,i,l;for(r=0;r<12;r++)a=L([2e3,r]),i=z(this.monthsShort(a,"")),l=z(this.months(a,"")),e.push(i),n.push(l),s.push(l),s.push(i);e.sort(t),n.sort(t),s.sort(t),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function us(t,e,n,s,r,a,i){var l;return t<100&&t>=0?(l=new Date(t+400,e,n,s,r,a,i),isFinite(l.getFullYear())&&l.setFullYear(t)):l=new Date(t,e,n,s,r,a,i),l}function gt(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Nt(t,e,n){var s=7+e-n,r=(7+gt(t,0,s).getUTCDay()-e)%7;return-r+s-1}function Ze(t,e,n,s,r){var a=(7+n-s)%7,i=Nt(t,s,r),l=1+7*(e-1)+a+i,c,_;return l<=0?(c=t-1,_=_t(c)+l):l>_t(t)?(c=t+1,_=l-_t(t)):(c=t,_=l),{year:c,dayOfYear:_}}function wt(t,e,n){var s=Nt(t.year(),e,n),r=Math.floor((t.dayOfYear()-s-1)/7)+1,a,i;return r<1?(i=t.year()-1,a=r+Z(i,e,n)):r>Z(t.year(),e,n)?(a=r-Z(t.year(),e,n),i=t.year()+1):(i=t.year(),a=r),{week:a,year:i}}function Z(t,e,n){var s=Nt(t,e,n),r=Nt(t+1,e,n);return(_t(t)-s+r)/7}h("w",["ww",2],"wo","week");h("W",["WW",2],"Wo","isoWeek");d("w",k,ht);d("ww",k,T);d("W",k,ht);d("WW",k,T);Dt(["w","ww","W","WW"],function(t,e,n,s){e[s.substr(0,1)]=m(t)});function ls(t){return wt(t,this._week.dow,this._week.doy).week}var ds={dow:0,doy:6};function hs(){return this._week.dow}function cs(){return this._week.doy}function fs(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function ms(t){var e=wt(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}h("d",0,"do","day");h("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)});h("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)});h("dddd",0,0,function(t){return this.localeData().weekdays(this,t)});h("e",0,0,"weekday");h("E",0,0,"isoWeekday");d("d",k);d("e",k);d("E",k);d("dd",function(t,e){return e.weekdaysMinRegex(t)});d("ddd",function(t,e){return e.weekdaysShortRegex(t)});d("dddd",function(t,e){return e.weekdaysRegex(t)});Dt(["dd","ddd","dddd"],function(t,e,n,s){var r=n._locale.weekdaysParse(t,s,n._strict);r!=null?e.d=r:f(n).invalidWeekday=t});Dt(["d","e","E"],function(t,e,n,s){e[s]=m(t)});function _s(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function ys(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function ce(t,e){return t.slice(e,7).concat(t.slice(0,e))}var gs="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ws="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),vs=Mt,ps=Mt,ks=Mt;function Ms(t,e){var n=R(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?ce(n,this._week.dow):t?n[t.day()]:n}function Ds(t){return t===!0?ce(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Ss(t){return t===!0?ce(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Ys(t,e,n){var s,r,a,i=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)a=L([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(a,"").toLocaleLowerCase();return n?e==="dddd"?(r=D.call(this._weekdaysParse,i),r!==-1?r:null):e==="ddd"?(r=D.call(this._shortWeekdaysParse,i),r!==-1?r:null):(r=D.call(this._minWeekdaysParse,i),r!==-1?r:null):e==="dddd"?(r=D.call(this._weekdaysParse,i),r!==-1||(r=D.call(this._shortWeekdaysParse,i),r!==-1)?r:(r=D.call(this._minWeekdaysParse,i),r!==-1?r:null)):e==="ddd"?(r=D.call(this._shortWeekdaysParse,i),r!==-1||(r=D.call(this._weekdaysParse,i),r!==-1)?r:(r=D.call(this._minWeekdaysParse,i),r!==-1?r:null)):(r=D.call(this._minWeekdaysParse,i),r!==-1||(r=D.call(this._weekdaysParse,i),r!==-1)?r:(r=D.call(this._shortWeekdaysParse,i),r!==-1?r:null))}function Os(t,e,n){var s,r,a;if(this._weekdaysParseExact)return Ys.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++)if(r=L([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[s]=new RegExp(a.replace(".",""),"i")),n&&e==="dddd"&&this._fullWeekdaysParse[s].test(t)||n&&e==="ddd"&&this._shortWeekdaysParse[s].test(t)||n&&e==="dd"&&this._minWeekdaysParse[s].test(t)||!n&&this._weekdaysParse[s].test(t))return s}function bs(t){if(!this.isValid())return t!=null?this:NaN;var e=yt(this,"Day");return t!=null?(t=_s(t,this.localeData()),this.add(t-e,"d")):e}function Ts(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function xs(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=ys(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function Ns(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||fe.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=vs),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ws(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||fe.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ps),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ps(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||fe.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ks),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function fe(){function t(O,G){return G.length-O.length}var e=[],n=[],s=[],r=[],a,i,l,c,_;for(a=0;a<7;a++)i=L([2e3,1]).day(a),l=z(this.weekdaysMin(i,"")),c=z(this.weekdaysShort(i,"")),_=z(this.weekdays(i,"")),e.push(l),n.push(c),s.push(_),r.push(l),r.push(c),r.push(_);e.sort(t),n.sort(t),s.sort(t),r.sort(t),this._weekdaysRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function me(){return this.hours()%12||12}function Rs(){return this.hours()||24}h("H",["HH",2],0,"hour");h("h",["hh",2],0,me);h("k",["kk",2],0,Rs);h("hmm",0,0,function(){return""+me.apply(this)+F(this.minutes(),2)});h("hmmss",0,0,function(){return""+me.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)});h("Hmm",0,0,function(){return""+this.hours()+F(this.minutes(),2)});h("Hmmss",0,0,function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)});function $e(t,e){h(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}$e("a",!0);$e("A",!1);function Be(t,e){return e._meridiemParse}d("a",Be);d("A",Be);d("H",k,de);d("h",k,ht);d("k",k,ht);d("HH",k,T);d("hh",k,T);d("kk",k,T);d("hmm",Fe);d("hmmss",Le);d("Hmm",Fe);d("Hmmss",Le);v(["H","HH"],S);v(["k","kk"],function(t,e,n){var s=m(t);e[S]=s===24?0:s});v(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t});v(["h","hh"],function(t,e,n){e[S]=m(t),f(n).bigHour=!0});v("hmm",function(t,e,n){var s=t.length-2;e[S]=m(t.substr(0,s)),e[P]=m(t.substr(s)),f(n).bigHour=!0});v("hmmss",function(t,e,n){var s=t.length-4,r=t.length-2;e[S]=m(t.substr(0,s)),e[P]=m(t.substr(s,2)),e[I]=m(t.substr(r)),f(n).bigHour=!0});v("Hmm",function(t,e,n){var s=t.length-2;e[S]=m(t.substr(0,s)),e[P]=m(t.substr(s))});v("Hmmss",function(t,e,n){var s=t.length-4,r=t.length-2;e[S]=m(t.substr(0,s)),e[P]=m(t.substr(s,2)),e[I]=m(t.substr(r))});function Cs(t){return(t+"").toLowerCase().charAt(0)==="p"}var Us=/[ap]\.?m?\.?/i,Hs=ct("Hours",!0);function Fs(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var Je={calendar:Yn,longDateFormat:xn,invalidDate:Wn,ordinal:Rn,dayOfMonthOrdinalParse:Cn,relativeTime:Hn,months:Xn,monthsShort:Ee,week:ds,weekdays:gs,weekdaysMin:ws,weekdaysShort:qe,meridiemParse:Us},M={},ft={},vt;function Ls(t,e){var n,s=Math.min(t.length,e.length);for(n=0;n<s;n+=1)if(t[n]!==e[n])return n;return s}function be(t){return t&&t.toLowerCase().replace("_","-")}function Vs(t){for(var e=0,n,s,r,a;e<t.length;){for(a=be(t[e]).split("-"),n=a.length,s=be(t[e+1]),s=s?s.split("-"):null;n>0;){if(r=Et(a.slice(0,n).join("-")),r)return r;if(s&&s.length>=n&&Ls(a,s)>=n-1)break;n--}e++}return vt}function Gs(t){return!!(t&&t.match("^[^/\\\\]*$"))}function Et(t){var e=null,n;if(M[t]===void 0&&typeof module<"u"&&module&&module.exports&&Gs(t))try{e=vt._abbr,n=require,n("./locale/"+t),K(e)}catch{M[t]=null}return M[t]}function K(t,e){var n;return t&&(b(e)?n=$(t):n=_e(t,e),n?vt=n:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),vt._abbr}function _e(t,e){if(e!==null){var n,s=Je;if(e.abbr=t,M[t]!=null)Re("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=M[t]._config;else if(e.parentLocale!=null)if(M[e.parentLocale]!=null)s=M[e.parentLocale]._config;else if(n=Et(e.parentLocale),n!=null)s=n._config;else return ft[e.parentLocale]||(ft[e.parentLocale]=[]),ft[e.parentLocale].push({name:t,config:e}),null;return M[t]=new ae(Jt(s,e)),ft[t]&&ft[t].forEach(function(r){_e(r.name,r.config)}),K(t),M[t]}else return delete M[t],null}function Es(t,e){if(e!=null){var n,s,r=Je;M[t]!=null&&M[t].parentLocale!=null?M[t].set(Jt(M[t]._config,e)):(s=Et(t),s!=null&&(r=s._config),e=Jt(r,e),s==null&&(e.abbr=t),n=new ae(e),n.parentLocale=M[t],M[t]=n),K(t)}else M[t]!=null&&(M[t].parentLocale!=null?(M[t]=M[t].parentLocale,t===K()&&K(t)):M[t]!=null&&delete M[t]);return M[t]}function $(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return vt;if(!R(t)){if(e=Et(t),e)return e;t=[t]}return Vs(t)}function As(){return Qt(M)}function ye(t){var e,n=t._a;return n&&f(t).overflow===-2&&(e=n[j]<0||n[j]>11?j:n[H]<1||n[H]>he(n[Y],n[j])?H:n[S]<0||n[S]>24||n[S]===24&&(n[P]!==0||n[I]!==0||n[et]!==0)?S:n[P]<0||n[P]>59?P:n[I]<0||n[I]>59?I:n[et]<0||n[et]>999?et:-1,f(t)._overflowDayOfYear&&(e<Y||e>H)&&(e=H),f(t)._overflowWeeks&&e===-1&&(e=Zn),f(t)._overflowWeekday&&e===-1&&(e=qn),f(t).overflow=e),t}var js=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Is=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,zs=/Z|[+-]\d\d(?::?\d\d)?/,Yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],qt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Zs=/^\/?Date\((-?\d+)/i,qs=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,$s={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Qe(t){var e,n,s=t._i,r=js.exec(s)||Is.exec(s),a,i,l,c,_=Yt.length,O=qt.length;if(r){for(f(t).iso=!0,e=0,n=_;e<n;e++)if(Yt[e][1].exec(r[1])){i=Yt[e][0],a=Yt[e][2]!==!1;break}if(i==null){t._isValid=!1;return}if(r[3]){for(e=0,n=O;e<n;e++)if(qt[e][1].exec(r[3])){l=(r[2]||" ")+qt[e][0];break}if(l==null){t._isValid=!1;return}}if(!a&&l!=null){t._isValid=!1;return}if(r[4])if(zs.exec(r[4]))c="Z";else{t._isValid=!1;return}t._f=i+(l||"")+(c||""),we(t)}else t._isValid=!1}function Bs(t,e,n,s,r,a){var i=[Js(t),Ee.indexOf(e),parseInt(n,10),parseInt(s,10),parseInt(r,10)];return a&&i.push(parseInt(a,10)),i}function Js(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Qs(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Xs(t,e,n){if(t){var s=qe.indexOf(t),r=new Date(e[0],e[1],e[2]).getDay();if(s!==r)return f(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function Ks(t,e,n){if(t)return $s[t];if(e)return 0;var s=parseInt(n,10),r=s%100,a=(s-r)/100;return a*60+r}function Xe(t){var e=qs.exec(Qs(t._i)),n;if(e){if(n=Bs(e[4],e[3],e[2],e[5],e[6],e[7]),!Xs(e[1],n,t))return;t._a=n,t._tzm=Ks(e[8],e[9],e[10]),t._d=gt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),f(t).rfc2822=!0}else t._isValid=!1}function tr(t){var e=Zs.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(Qe(t),t._isValid===!1)delete t._isValid;else return;if(Xe(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:u.createFromInputFallback(t)}u.createFromInputFallback=N("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function at(t,e,n){return t??e??n}function er(t){var e=new Date(u.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function ge(t){var e,n,s=[],r,a,i;if(!t._d){for(r=er(t),t._w&&t._a[H]==null&&t._a[j]==null&&nr(t),t._dayOfYear!=null&&(i=at(t._a[Y],r[Y]),(t._dayOfYear>_t(i)||t._dayOfYear===0)&&(f(t)._overflowDayOfYear=!0),n=gt(i,0,t._dayOfYear),t._a[j]=n.getUTCMonth(),t._a[H]=n.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[S]===24&&t._a[P]===0&&t._a[I]===0&&t._a[et]===0&&(t._nextDay=!0,t._a[S]=0),t._d=(t._useUTC?gt:us).apply(null,s),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[S]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==a&&(f(t).weekdayMismatch=!0)}}function nr(t){var e,n,s,r,a,i,l,c,_;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(a=1,i=4,n=at(e.GG,t._a[Y],wt(p(),1,4).year),s=at(e.W,1),r=at(e.E,1),(r<1||r>7)&&(c=!0)):(a=t._locale._week.dow,i=t._locale._week.doy,_=wt(p(),a,i),n=at(e.gg,t._a[Y],_.year),s=at(e.w,_.week),e.d!=null?(r=e.d,(r<0||r>6)&&(c=!0)):e.e!=null?(r=e.e+a,(e.e<0||e.e>6)&&(c=!0)):r=a),s<1||s>Z(n,a,i)?f(t)._overflowWeeks=!0:c!=null?f(t)._overflowWeekday=!0:(l=Ze(n,s,r,a,i),t._a[Y]=l.year,t._dayOfYear=l.dayOfYear)}u.ISO_8601=function(){};u.RFC_2822=function(){};function we(t){if(t._f===u.ISO_8601){Qe(t);return}if(t._f===u.RFC_2822){Xe(t);return}t._a=[],f(t).empty=!0;var e=""+t._i,n,s,r,a,i,l=e.length,c=0,_,O;for(r=Ce(t._f,t._locale).match(ie)||[],O=r.length,n=0;n<O;n++)a=r[n],s=(e.match(jn(a,t))||[])[0],s&&(i=e.substr(0,e.indexOf(s)),i.length>0&&f(t).unusedInput.push(i),e=e.slice(e.indexOf(s)+s.length),c+=s.length),ot[a]?(s?f(t).empty=!1:f(t).unusedTokens.push(a),zn(a,s,t)):t._strict&&!s&&f(t).unusedTokens.push(a);f(t).charsLeftOver=l-c,e.length>0&&f(t).unusedInput.push(e),t._a[S]<=12&&f(t).bigHour===!0&&t._a[S]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[S]=sr(t._locale,t._a[S],t._meridiem),_=f(t).era,_!==null&&(t._a[Y]=t._locale.erasConvertYear(_,t._a[Y])),ge(t),ye(t)}function sr(t,e,n){var s;return n==null?e:t.meridiemHour!=null?t.meridiemHour(e,n):(t.isPM!=null&&(s=t.isPM(n),s&&e<12&&(e+=12),!s&&e===12&&(e=0)),e)}function rr(t){var e,n,s,r,a,i,l=!1,c=t._f.length;if(c===0){f(t).invalidFormat=!0,t._d=new Date(NaN);return}for(r=0;r<c;r++)a=0,i=!1,e=re({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[r],we(e),se(e)&&(i=!0),a+=f(e).charsLeftOver,a+=f(e).unusedTokens.length*10,f(e).score=a,l?a<s&&(s=a,n=e):(s==null||a<s||i)&&(s=a,n=e,i&&(l=!0));Q(t,n||e)}function ar(t){if(!t._d){var e=oe(t._i),n=e.day===void 0?e.date:e.day;t._a=We([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(s){return s&&parseInt(s,10)}),ge(t)}}function ir(t){var e=new kt(ye(Ke(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Ke(t){var e=t._i,n=t._f;return t._locale=t._locale||$(t._l),e===null||n===void 0&&e===""?Ct({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),C(e)?new kt(ye(e)):(pt(e)?t._d=e:R(n)?rr(t):n?we(t):or(t),se(t)||(t._d=null),t))}function or(t){var e=t._i;b(e)?t._d=new Date(u.now()):pt(e)?t._d=new Date(e.valueOf()):typeof e=="string"?tr(t):R(e)?(t._a=We(e.slice(0),function(n){return parseInt(n,10)}),ge(t)):nt(e)?ar(t):q(e)?t._d=new Date(e):u.createFromInputFallback(t)}function tn(t,e,n,s,r){var a={};return(e===!0||e===!1)&&(s=e,e=void 0),(n===!0||n===!1)&&(s=n,n=void 0),(nt(t)&&ne(t)||R(t)&&t.length===0)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=n,a._i=t,a._f=e,a._strict=s,ir(a)}function p(t,e,n,s){return tn(t,e,n,s,!1)}var ur=N("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=p.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Ct()}),lr=N("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=p.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Ct()});function en(t,e){var n,s;if(e.length===1&&R(e[0])&&(e=e[0]),!e.length)return p();for(n=e[0],s=1;s<e.length;++s)(!e[s].isValid()||e[s][t](n))&&(n=e[s]);return n}function dr(){var t=[].slice.call(arguments,0);return en("isBefore",t)}function hr(){var t=[].slice.call(arguments,0);return en("isAfter",t)}var cr=function(){return Date.now?Date.now():+new Date},mt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function fr(t){var e,n=!1,s,r=mt.length;for(e in t)if(g(t,e)&&!(D.call(mt,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(s=0;s<r;++s)if(t[mt[s]]){if(n)return!1;parseFloat(t[mt[s]])!==m(t[mt[s]])&&(n=!0)}return!0}function mr(){return this._isValid}function _r(){return U(NaN)}function At(t){var e=oe(t),n=e.year||0,s=e.quarter||0,r=e.month||0,a=e.week||e.isoWeek||0,i=e.day||0,l=e.hour||0,c=e.minute||0,_=e.second||0,O=e.millisecond||0;this._isValid=fr(e),this._milliseconds=+O+_*1e3+c*6e4+l*1e3*60*60,this._days=+i+a*7,this._months=+r+s*3+n*12,this._data={},this._locale=$(),this._bubble()}function bt(t){return t instanceof At}function Kt(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function yr(t,e,n){var s=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),a=0,i;for(i=0;i<s;i++)m(t[i])!==m(e[i])&&a++;return a+r}function nn(t,e){h(t,0,0,function(){var n=this.utcOffset(),s="+";return n<0&&(n=-n,s="-"),s+F(~~(n/60),2)+e+F(~~n%60,2)})}nn("Z",":");nn("ZZ","");d("Z",Vt);d("ZZ",Vt);v(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=ve(Vt,t)});var gr=/([\+\-]|\d\d)/gi;function ve(t,e){var n=(e||"").match(t),s,r,a;return n===null?null:(s=n[n.length-1]||[],r=(s+"").match(gr)||["-",0,0],a=+(r[1]*60)+m(r[2]),a===0?0:r[0]==="+"?a:-a)}function pe(t,e){var n,s;return e._isUTC?(n=e.clone(),s=(C(t)||pt(t)?t.valueOf():p(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+s),u.updateOffset(n,!1),n):p(t).local()}function te(t){return-Math.round(t._d.getTimezoneOffset())}u.updateOffset=function(){};function wr(t,e,n){var s=this._offset||0,r;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=ve(Vt,t),t===null)return this}else Math.abs(t)<16&&!n&&(t=t*60);return!this._isUTC&&e&&(r=te(this)),this._offset=t,this._isUTC=!0,r!=null&&this.add(r,"m"),s!==t&&(!e||this._changeInProgress?an(this,U(t-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,u.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:te(this)}function vr(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function pr(t){return this.utcOffset(0,t)}function kr(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(te(this),"m")),this}function Mr(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=ve(En,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Dr(t){return this.isValid()?(t=t?p(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function Sr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Yr(){if(!b(this._isDSTShifted))return this._isDSTShifted;var t={},e;return re(t,this),t=Ke(t),t._a?(e=t._isUTC?L(t._a):p(t._a),this._isDSTShifted=this.isValid()&&yr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Or(){return this.isValid()?!this._isUTC:!1}function br(){return this.isValid()?this._isUTC:!1}function sn(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Tr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,xr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function U(t,e){var n=t,s=null,r,a,i;return bt(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:q(t)||!isNaN(+t)?(n={},e?n[e]=+t:n.milliseconds=+t):(s=Tr.exec(t))?(r=s[1]==="-"?-1:1,n={y:0,d:m(s[H])*r,h:m(s[S])*r,m:m(s[P])*r,s:m(s[I])*r,ms:m(Kt(s[et]*1e3))*r}):(s=xr.exec(t))?(r=s[1]==="-"?-1:1,n={y:tt(s[2],r),M:tt(s[3],r),w:tt(s[4],r),d:tt(s[5],r),h:tt(s[6],r),m:tt(s[7],r),s:tt(s[8],r)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(i=Nr(p(n.from),p(n.to)),n={},n.ms=i.milliseconds,n.M=i.months),a=new At(n),bt(t)&&g(t,"_locale")&&(a._locale=t._locale),bt(t)&&g(t,"_isValid")&&(a._isValid=t._isValid),a}U.fn=At.prototype;U.invalid=_r;function tt(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Te(t,e){var n={};return n.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Nr(t,e){var n;return t.isValid()&&e.isValid()?(e=pe(e,t),t.isBefore(e)?n=Te(t,e):(n=Te(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function rn(t,e){return function(n,s){var r,a;return s!==null&&!isNaN(+s)&&(Re(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=s,s=a),r=U(n,s),an(this,r,t),this}}function an(t,e,n,s){var r=e._milliseconds,a=Kt(e._days),i=Kt(e._months);t.isValid()&&(s=s??!0,i&&je(t,yt(t,"Month")+i*n),a&&Ge(t,"Date",yt(t,"Date")+a*n),r&&t._d.setTime(t._d.valueOf()+r*n),s&&u.updateOffset(t,a||i))}var Wr=rn(1,"add"),Pr=rn(-1,"subtract");function on(t){return typeof t=="string"||t instanceof String}function Rr(t){return C(t)||pt(t)||on(t)||q(t)||Ur(t)||Cr(t)||t===null||t===void 0}function Cr(t){var e=nt(t)&&!ne(t),n=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],r,a,i=s.length;for(r=0;r<i;r+=1)a=s[r],n=n||g(t,a);return e&&n}function Ur(t){var e=R(t),n=!1;return e&&(n=t.filter(function(s){return!q(s)&&on(t)}).length===0),e&&n}function Hr(t){var e=nt(t)&&!ne(t),n=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r,a;for(r=0;r<s.length;r+=1)a=s[r],n=n||g(t,a);return e&&n}function Fr(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Lr(t,e){arguments.length===1&&(arguments[0]?Rr(arguments[0])?(t=arguments[0],e=void 0):Hr(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||p(),s=pe(n,this).startOf("day"),r=u.calendarFormat(this,s)||"sameElse",a=e&&(V(e[r])?e[r].call(this,n):e[r]);return this.format(a||this.localeData().calendar(r,this,p(n)))}function Vr(){return new kt(this)}function Gr(t,e){var n=C(t)?t:p(t);return this.isValid()&&n.isValid()?(e=W(e)||"millisecond",e==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function Er(t,e){var n=C(t)?t:p(t);return this.isValid()&&n.isValid()?(e=W(e)||"millisecond",e==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function Ar(t,e,n,s){var r=C(t)?t:p(t),a=C(e)?e:p(e);return this.isValid()&&r.isValid()&&a.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(r,n):!this.isBefore(r,n))&&(s[1]===")"?this.isBefore(a,n):!this.isAfter(a,n))):!1}function jr(t,e){var n=C(t)?t:p(t),s;return this.isValid()&&n.isValid()?(e=W(e)||"millisecond",e==="millisecond"?this.valueOf()===n.valueOf():(s=n.valueOf(),this.clone().startOf(e).valueOf()<=s&&s<=this.clone().endOf(e).valueOf())):!1}function Ir(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function zr(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function Zr(t,e,n){var s,r,a;if(!this.isValid())return NaN;if(s=pe(t,this),!s.isValid())return NaN;switch(r=(s.utcOffset()-this.utcOffset())*6e4,e=W(e),e){case"year":a=Tt(this,s)/12;break;case"month":a=Tt(this,s);break;case"quarter":a=Tt(this,s)/3;break;case"second":a=(this-s)/1e3;break;case"minute":a=(this-s)/6e4;break;case"hour":a=(this-s)/36e5;break;case"day":a=(this-s-r)/864e5;break;case"week":a=(this-s-r)/6048e5;break;default:a=this-s}return n?a:x(a)}function Tt(t,e){if(t.date()<e.date())return-Tt(e,t);var n=(e.year()-t.year())*12+(e.month()-t.month()),s=t.clone().add(n,"months"),r,a;return e-s<0?(r=t.clone().add(n-1,"months"),a=(e-s)/(s-r)):(r=t.clone().add(n+1,"months"),a=(e-s)/(r-s)),-(n+a)||0}u.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";u.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function $r(t){if(!this.isValid())return null;var e=t!==!0,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?Ot(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):V(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ot(n,"Z")):Ot(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Br(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",n,s,r,a;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),n="["+t+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",a=e+'[")]',this.format(n+s+r+a)}function Jr(t){t||(t=this.isUtc()?u.defaultFormatUtc:u.defaultFormat);var e=Ot(this,t);return this.localeData().postformat(e)}function Qr(t,e){return this.isValid()&&(C(t)&&t.isValid()||p(t).isValid())?U({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Xr(t){return this.from(p(),t)}function Kr(t,e){return this.isValid()&&(C(t)&&t.isValid()||p(t).isValid())?U({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ta(t){return this.to(p(),t)}function un(t){var e;return t===void 0?this._locale._abbr:(e=$(t),e!=null&&(this._locale=e),this)}var ln=N("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function dn(){return this._locale}var Wt=1e3,ut=60*Wt,Pt=60*ut,hn=(365*400+97)*24*Pt;function lt(t,e){return(t%e+e)%e}function cn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-hn:new Date(t,e,n).valueOf()}function fn(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-hn:Date.UTC(t,e,n)}function ea(t){var e,n;if(t=W(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?fn:cn,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=lt(e+(this._isUTC?0:this.utcOffset()*ut),Pt);break;case"minute":e=this._d.valueOf(),e-=lt(e,ut);break;case"second":e=this._d.valueOf(),e-=lt(e,Wt);break}return this._d.setTime(e),u.updateOffset(this,!0),this}function na(t){var e,n;if(t=W(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?fn:cn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Pt-lt(e+(this._isUTC?0:this.utcOffset()*ut),Pt)-1;break;case"minute":e=this._d.valueOf(),e+=ut-lt(e,ut)-1;break;case"second":e=this._d.valueOf(),e+=Wt-lt(e,Wt)-1;break}return this._d.setTime(e),u.updateOffset(this,!0),this}function sa(){return this._d.valueOf()-(this._offset||0)*6e4}function ra(){return Math.floor(this.valueOf()/1e3)}function aa(){return new Date(this.valueOf())}function ia(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function oa(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function ua(){return this.isValid()?this.toISOString():null}function la(){return se(this)}function da(){return Q({},f(this))}function ha(){return f(this).overflow}function ca(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr");h("NN",0,0,"eraAbbr");h("NNN",0,0,"eraAbbr");h("NNNN",0,0,"eraName");h("NNNNN",0,0,"eraNarrow");h("y",["y",1],"yo","eraYear");h("y",["yy",2],0,"eraYear");h("y",["yyy",3],0,"eraYear");h("y",["yyyy",4],0,"eraYear");d("N",ke);d("NN",ke);d("NNN",ke);d("NNNN",Da);d("NNNNN",Sa);v(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,s){var r=n._locale.erasParse(t,s,n._strict);r?f(n).era=r:f(n).invalidEra=t});d("y",dt);d("yy",dt);d("yyy",dt);d("yyyy",dt);d("yo",Ya);v(["y","yy","yyy","yyyy"],Y);v(["yo"],function(t,e,n,s){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Y]=n._locale.eraYearOrdinalParse(t,r):e[Y]=parseInt(t,10)});function fa(t,e){var n,s,r,a=this._eras||$("en")._eras;for(n=0,s=a.length;n<s;++n)switch(typeof a[n].since=="string"&&(r=u(a[n].since).startOf("day"),a[n].since=r.valueOf()),typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":r=u(a[n].until).startOf("day").valueOf(),a[n].until=r.valueOf();break}return a}function ma(t,e,n){var s,r,a=this.eras(),i,l,c;for(t=t.toUpperCase(),s=0,r=a.length;s<r;++s)if(i=a[s].name.toUpperCase(),l=a[s].abbr.toUpperCase(),c=a[s].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(l===t)return a[s];break;case"NNNN":if(i===t)return a[s];break;case"NNNNN":if(c===t)return a[s];break}else if([i,l,c].indexOf(t)>=0)return a[s]}function _a(t,e){var n=t.since<=t.until?1:-1;return e===void 0?u(t.since).year():u(t.since).year()+(e-t.offset)*n}function ya(){var t,e,n,s=this.localeData().eras();for(t=0,e=s.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),s[t].since<=n&&n<=s[t].until||s[t].until<=n&&n<=s[t].since)return s[t].name;return""}function ga(){var t,e,n,s=this.localeData().eras();for(t=0,e=s.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),s[t].since<=n&&n<=s[t].until||s[t].until<=n&&n<=s[t].since)return s[t].narrow;return""}function wa(){var t,e,n,s=this.localeData().eras();for(t=0,e=s.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),s[t].since<=n&&n<=s[t].until||s[t].until<=n&&n<=s[t].since)return s[t].abbr;return""}function va(){var t,e,n,s,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=r[t].since<=r[t].until?1:-1,s=this.clone().startOf("day").valueOf(),r[t].since<=s&&s<=r[t].until||r[t].until<=s&&s<=r[t].since)return(this.year()-u(r[t].since).year())*n+r[t].offset;return this.year()}function pa(t){return g(this,"_erasNameRegex")||Me.call(this),t?this._erasNameRegex:this._erasRegex}function ka(t){return g(this,"_erasAbbrRegex")||Me.call(this),t?this._erasAbbrRegex:this._erasRegex}function Ma(t){return g(this,"_erasNarrowRegex")||Me.call(this),t?this._erasNarrowRegex:this._erasRegex}function ke(t,e){return e.erasAbbrRegex(t)}function Da(t,e){return e.erasNameRegex(t)}function Sa(t,e){return e.erasNarrowRegex(t)}function Ya(t,e){return e._eraYearOrdinalRegex||dt}function Me(){var t=[],e=[],n=[],s=[],r,a,i,l,c,_=this.eras();for(r=0,a=_.length;r<a;++r)i=z(_[r].name),l=z(_[r].abbr),c=z(_[r].narrow),e.push(i),t.push(l),n.push(c),s.push(i),s.push(l),s.push(c);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100});h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function jt(t,e){h(0,[t,t.length],0,e)}jt("gggg","weekYear");jt("ggggg","weekYear");jt("GGGG","isoWeekYear");jt("GGGGG","isoWeekYear");d("G",Lt);d("g",Lt);d("GG",k,T);d("gg",k,T);d("GGGG",le,ue);d("gggg",le,ue);d("GGGGG",Ft,Ut);d("ggggg",Ft,Ut);Dt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,s){e[s.substr(0,2)]=m(t)});Dt(["gg","GG"],function(t,e,n,s){e[s]=u.parseTwoDigitYear(t)});function Oa(t){return mn.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function ba(t){return mn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Ta(){return Z(this.year(),1,4)}function xa(){return Z(this.isoWeekYear(),1,4)}function Na(){var t=this.localeData()._week;return Z(this.year(),t.dow,t.doy)}function Wa(){var t=this.localeData()._week;return Z(this.weekYear(),t.dow,t.doy)}function mn(t,e,n,s,r){var a;return t==null?wt(this,s,r).year:(a=Z(t,s,r),e>a&&(e=a),Pa.call(this,t,e,n,s,r))}function Pa(t,e,n,s,r){var a=Ze(t,e,n,s,r),i=gt(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter");d("Q",Ue);v("Q",function(t,e){e[j]=(m(t)-1)*3});function Ra(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}h("D",["DD",2],"Do","date");d("D",k,ht);d("DD",k,T);d("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient});v(["D","DD"],H);v("Do",function(t,e){e[H]=m(t.match(k)[0])});var _n=ct("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear");d("DDD",Ht);d("DDDD",He);v(["DDD","DDDD"],function(t,e,n){n._dayOfYear=m(t)});function Ca(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}h("m",["mm",2],0,"minute");d("m",k,de);d("mm",k,T);v(["m","mm"],P);var Ua=ct("Minutes",!1);h("s",["ss",2],0,"second");d("s",k,de);d("ss",k,T);v(["s","ss"],I);var Ha=ct("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)});h(0,["SS",2],0,function(){return~~(this.millisecond()/10)});h(0,["SSS",3],0,"millisecond");h(0,["SSSS",4],0,function(){return this.millisecond()*10});h(0,["SSSSS",5],0,function(){return this.millisecond()*100});h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});d("S",Ht,Ue);d("SS",Ht,T);d("SSS",Ht,He);var X,yn;for(X="SSSS";X.length<=9;X+="S")d(X,dt);function Fa(t,e){e[et]=m(("0."+t)*1e3)}for(X="S";X.length<=9;X+="S")v(X,Fa);yn=ct("Milliseconds",!1);h("z",0,0,"zoneAbbr");h("zz",0,0,"zoneName");function La(){return this._isUTC?"UTC":""}function Va(){return this._isUTC?"Coordinated Universal Time":""}var o=kt.prototype;o.add=Wr;o.calendar=Lr;o.clone=Vr;o.diff=Zr;o.endOf=na;o.format=Jr;o.from=Qr;o.fromNow=Xr;o.to=Kr;o.toNow=ta;o.get=Bn;o.invalidAt=ha;o.isAfter=Gr;o.isBefore=Er;o.isBetween=Ar;o.isSame=jr;o.isSameOrAfter=Ir;o.isSameOrBefore=zr;o.isValid=la;o.lang=ln;o.locale=un;o.localeData=dn;o.max=lr;o.min=ur;o.parsingFlags=da;o.set=Jn;o.startOf=ea;o.subtract=Pr;o.toArray=ia;o.toObject=oa;o.toDate=aa;o.toISOString=$r;o.inspect=Br;typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});o.toJSON=ua;o.toString=qr;o.unix=ra;o.valueOf=sa;o.creationData=ca;o.eraName=ya;o.eraNarrow=ga;o.eraAbbr=wa;o.eraYear=va;o.year=Ve;o.isLeapYear=$n;o.weekYear=Oa;o.isoWeekYear=ba;o.quarter=o.quarters=Ra;o.month=Ie;o.daysInMonth=as;o.week=o.weeks=fs;o.isoWeek=o.isoWeeks=ms;o.weeksInYear=Na;o.weeksInWeekYear=Wa;o.isoWeeksInYear=Ta;o.isoWeeksInISOWeekYear=xa;o.date=_n;o.day=o.days=bs;o.weekday=Ts;o.isoWeekday=xs;o.dayOfYear=Ca;o.hour=o.hours=Hs;o.minute=o.minutes=Ua;o.second=o.seconds=Ha;o.millisecond=o.milliseconds=yn;o.utcOffset=wr;o.utc=pr;o.local=kr;o.parseZone=Mr;o.hasAlignedHourOffset=Dr;o.isDST=Sr;o.isLocal=Or;o.isUtcOffset=br;o.isUtc=sn;o.isUTC=sn;o.zoneAbbr=La;o.zoneName=Va;o.dates=N("dates accessor is deprecated. Use date instead.",_n);o.months=N("months accessor is deprecated. Use month instead",Ie);o.years=N("years accessor is deprecated. Use year instead",Ve);o.zone=N("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vr);o.isDSTShifted=N("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Yr);function Ga(t){return p(t*1e3)}function Ea(){return p.apply(null,arguments).parseZone()}function gn(t){return t}var w=ae.prototype;w.calendar=On;w.longDateFormat=Nn;w.invalidDate=Pn;w.ordinal=Un;w.preparse=gn;w.postformat=gn;w.relativeTime=Fn;w.pastFuture=Ln;w.set=Sn;w.eras=fa;w.erasParse=ma;w.erasConvertYear=_a;w.erasAbbrRegex=ka;w.erasNameRegex=pa;w.erasNarrowRegex=Ma;w.months=es;w.monthsShort=ns;w.monthsParse=rs;w.monthsRegex=os;w.monthsShortRegex=is;w.week=ls;w.firstDayOfYear=cs;w.firstDayOfWeek=hs;w.weekdays=Ms;w.weekdaysMin=Ss;w.weekdaysShort=Ds;w.weekdaysParse=Os;w.weekdaysRegex=Ns;w.weekdaysShortRegex=Ws;w.weekdaysMinRegex=Ps;w.isPM=Cs;w.meridiem=Fs;function Rt(t,e,n,s){var r=$(),a=L().set(s,e);return r[n](a,t)}function wn(t,e,n){if(q(t)&&(e=t,t=void 0),t=t||"",e!=null)return Rt(t,e,n,"month");var s,r=[];for(s=0;s<12;s++)r[s]=Rt(t,s,n,"month");return r}function De(t,e,n,s){typeof t=="boolean"?(q(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,q(e)&&(n=e,e=void 0),e=e||"");var r=$(),a=t?r._week.dow:0,i,l=[];if(n!=null)return Rt(e,(n+a)%7,s,"day");for(i=0;i<7;i++)l[i]=Rt(e,(i+a)%7,s,"day");return l}function Aa(t,e){return wn(t,e,"months")}function ja(t,e){return wn(t,e,"monthsShort")}function Ia(t,e,n){return De(t,e,n,"weekdays")}function za(t,e,n){return De(t,e,n,"weekdaysShort")}function Za(t,e,n){return De(t,e,n,"weekdaysMin")}K("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=m(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+n}});u.lang=N("moment.lang is deprecated. Use moment.locale instead.",K);u.langData=N("moment.langData is deprecated. Use moment.localeData instead.",$);var E=Math.abs;function qa(){var t=this._data;return this._milliseconds=E(this._milliseconds),this._days=E(this._days),this._months=E(this._months),t.milliseconds=E(t.milliseconds),t.seconds=E(t.seconds),t.minutes=E(t.minutes),t.hours=E(t.hours),t.months=E(t.months),t.years=E(t.years),this}function vn(t,e,n,s){var r=U(e,n);return t._milliseconds+=s*r._milliseconds,t._days+=s*r._days,t._months+=s*r._months,t._bubble()}function $a(t,e){return vn(this,t,e,1)}function Ba(t,e){return vn(this,t,e,-1)}function xe(t){return t<0?Math.floor(t):Math.ceil(t)}function Ja(){var t=this._milliseconds,e=this._days,n=this._months,s=this._data,r,a,i,l,c;return t>=0&&e>=0&&n>=0||t<=0&&e<=0&&n<=0||(t+=xe(ee(n)+e)*864e5,e=0,n=0),s.milliseconds=t%1e3,r=x(t/1e3),s.seconds=r%60,a=x(r/60),s.minutes=a%60,i=x(a/60),s.hours=i%24,e+=x(i/24),c=x(pn(e)),n+=c,e-=xe(ee(c)),l=x(n/12),n%=12,s.days=e,s.months=n,s.years=l,this}function pn(t){return t*4800/146097}function ee(t){return t*146097/4800}function Qa(t){if(!this.isValid())return NaN;var e,n,s=this._milliseconds;if(t=W(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+s/864e5,n=this._months+pn(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(ee(this._months)),t){case"week":return e/7+s/6048e5;case"day":return e+s/864e5;case"hour":return e*24+s/36e5;case"minute":return e*1440+s/6e4;case"second":return e*86400+s/1e3;case"millisecond":return Math.floor(e*864e5)+s;default:throw new Error("Unknown unit "+t)}}function B(t){return function(){return this.as(t)}}var kn=B("ms"),Xa=B("s"),Ka=B("m"),ti=B("h"),ei=B("d"),ni=B("w"),si=B("M"),ri=B("Q"),ai=B("y"),ii=kn;function oi(){return U(this)}function ui(t){return t=W(t),this.isValid()?this[t+"s"]():NaN}function st(t){return function(){return this.isValid()?this._data[t]:NaN}}var li=st("milliseconds"),di=st("seconds"),hi=st("minutes"),ci=st("hours"),fi=st("days"),mi=st("months"),_i=st("years");function yi(){return x(this.days()/7)}var A=Math.round,it={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function gi(t,e,n,s,r){return r.relativeTime(e||1,!!n,t,s)}function wi(t,e,n,s){var r=U(t).abs(),a=A(r.as("s")),i=A(r.as("m")),l=A(r.as("h")),c=A(r.as("d")),_=A(r.as("M")),O=A(r.as("w")),G=A(r.as("y")),J=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||i<=1&&["m"]||i<n.m&&["mm",i]||l<=1&&["h"]||l<n.h&&["hh",l]||c<=1&&["d"]||c<n.d&&["dd",c];return n.w!=null&&(J=J||O<=1&&["w"]||O<n.w&&["ww",O]),J=J||_<=1&&["M"]||_<n.M&&["MM",_]||G<=1&&["y"]||["yy",G],J[2]=e,J[3]=+t>0,J[4]=s,gi.apply(null,J)}function vi(t){return t===void 0?A:typeof t=="function"?(A=t,!0):!1}function pi(t,e){return it[t]===void 0?!1:e===void 0?it[t]:(it[t]=e,t==="s"&&(it.ss=e-1),!0)}function ki(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,s=it,r,a;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(n=t),typeof e=="object"&&(s=Object.assign({},it,e),e.s!=null&&e.ss==null&&(s.ss=e.s-1)),r=this.localeData(),a=wi(this,!n,s,r),n&&(a=r.pastFuture(+this,a)),r.postformat(a)}var $t=Math.abs;function rt(t){return(t>0)-(t<0)||+t}function It(){if(!this.isValid())return this.localeData().invalidDate();var t=$t(this._milliseconds)/1e3,e=$t(this._days),n=$t(this._months),s,r,a,i,l=this.asSeconds(),c,_,O,G;return l?(s=x(t/60),r=x(s/60),t%=60,s%=60,a=x(n/12),n%=12,i=t?t.toFixed(3).replace(/\.?0+$/,""):"",c=l<0?"-":"",_=rt(this._months)!==rt(l)?"-":"",O=rt(this._days)!==rt(l)?"-":"",G=rt(this._milliseconds)!==rt(l)?"-":"",c+"P"+(a?_+a+"Y":"")+(n?_+n+"M":"")+(e?O+e+"D":"")+(r||s||t?"T":"")+(r?G+r+"H":"")+(s?G+s+"M":"")+(t?G+i+"S":"")):"P0D"}var y=At.prototype;y.isValid=mr;y.abs=qa;y.add=$a;y.subtract=Ba;y.as=Qa;y.asMilliseconds=kn;y.asSeconds=Xa;y.asMinutes=Ka;y.asHours=ti;y.asDays=ei;y.asWeeks=ni;y.asMonths=si;y.asQuarters=ri;y.asYears=ai;y.valueOf=ii;y._bubble=Ja;y.clone=oi;y.get=ui;y.milliseconds=li;y.seconds=di;y.minutes=hi;y.hours=ci;y.days=fi;y.weeks=yi;y.months=mi;y.years=_i;y.humanize=ki;y.toISOString=It;y.toString=It;y.toJSON=It;y.locale=un;y.localeData=dn;y.toIsoString=N("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",It);y.lang=ln;h("X",0,0,"unix");h("x",0,0,"valueOf");d("x",Lt);d("X",An);v("X",function(t,e,n){n._d=new Date(parseFloat(t)*1e3)});v("x",function(t,e,n){n._d=new Date(m(t))});u.version="2.30.1";Mn(p);u.fn=o;u.min=dr;u.max=hr;u.now=cr;u.utc=L;u.unix=Ga;u.months=Aa;u.isDate=pt;u.locale=K;u.invalid=Ct;u.duration=U;u.isMoment=C;u.weekdays=Ia;u.parseZone=Ea;u.localeData=$;u.isDuration=bt;u.monthsShort=ja;u.weekdaysMin=Za;u.defineLocale=_e;u.updateLocale=Es;u.locales=As;u.weekdaysShort=za;u.normalizeUnits=W;u.relativeTimeRounding=vi;u.relativeTimeThreshold=pi;u.calendarFormat=Fr;u.prototype=o;u.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Mi=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"}));export{Mi as D,u as l};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{r as I,Q as Y}from"./index-DJf52eor.js";import{s as Ie}from"./DataFrame-CXPcdw96-Crfv7wfu.js";import"./withFullScreenWrapper-CKo__VbV-B1HqecCF.js";import"./moment-C29_LcvN-BY3oO1nk.js";import"./pandasStylerUtils-BVB-ECxE-CDURxvwo.js";import"./numbro-CDdPhOTG-s-4vlRUZ.js";import"./_baseIndexOf-OsCSwRmV--aVpkM1d.js";import"./_baseAssignValue-DbpQ8D1L-D2c_-zPN.js";import"./index-CVld_lKx-CBWAU0gM.js";import"./reactJsonViewCompat-CeSrJm8p-le930912.js";import"./resolveDefaultExport-Cy5TTESD-D1yDGtVx.js";import"./toConsumableArray-DtFGUM3A-BLxO6YGd.js";import"./possibleConstructorReturn-YeRoNy63-B2FGD3ja.js";import"./assertThisInitialized-C1dAyb4j-CzYfxWZp.js";import"./createSuper-CPupKoXU-C5x8b8jJ.js";import"./formatNumber-DxMjoq14-D-XVTuz9.js";import"./sprintfjs-DwuHM96D-Dbm-A0ro.js";import"./formatMoment-DEtsTHwA-BeQagUzn.js";import"./createDownloadLinkElement-CO9Q-pa0-BNUtAwjF.js";import"./checkbox-CEu7IJmq-3LmskyhR.js";import"./FileDownload.esm-B_usFfyI-DvbGAuNe.js";const je=Ie("div")({name:"NumberOverlayEditorStyle",class:"gdg-n15fjm3e",propsAsIs:!1});function he(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}var re;(function(e){e.event="event",e.props="prop"})(re||(re={}));function H(){}function Be(e){var t,r=void 0;return function(){for(var n=[],a=arguments.length;a--;)n[a]=arguments[a];return t&&n.length===t.length&&n.every(function(u,l){return u===t[l]})||(t=n,r=e.apply(void 0,n)),r}}function ae(e){return!!(e||"").match(/\d/)}function X(e){return e==null}function Fe(e){return typeof e=="number"&&isNaN(e)}function Se(e){return X(e)||Fe(e)||typeof e=="number"&&!isFinite(e)}function be(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function Me(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;default:return/(\d)(?=(\d{3})+(?!\d))/g}}function ke(e,t,r){var n=Me(r),a=e.search(/[1-9]/);return a=a===-1?e.length:a,e.substring(0,a)+e.substring(a,e.length).replace(n,"$1"+t)}function We(e){var t=I.useRef(e);t.current=e;var r=I.useRef(function(){for(var n=[],a=arguments.length;a--;)n[a]=arguments[a];return t.current.apply(t,n)});return r.current}function fe(e,t){t===void 0&&(t=!0);var r=e[0]==="-",n=r&&t;e=e.replace("-","");var a=e.split("."),u=a[0],l=a[1]||"";return{beforeDecimal:u,afterDecimal:l,hasNegation:r,addNegation:n}}function Ke(e){if(!e)return e;var t=e[0]==="-";t&&(e=e.substring(1,e.length));var r=e.split("."),n=r[0].replace(/^0+/,"")||"0",a=r[1]||"";return(t?"-":"")+n+(a?"."+a:"")}function ye(e,t,r){for(var n="",a=r?"0":"",u=0;u<=t-1;u++)n+=e[u]||a;return n}function de(e,t){return Array(t+1).join(e)}function Ve(e){var t=e+"",r=t[0]==="-"?"-":"";r&&(t=t.substring(1));var n=t.split(/[eE]/g),a=n[0],u=n[1];if(u=Number(u),!u)return r+a;a=a.replace(".","");var l=1+u,g=a.length;return l<0?a="0."+de("0",Math.abs(l))+a:l>=g?a=a+de("0",l-g):a=(a.substring(0,l)||"0")+"."+a.substring(l),r+a}function me(e,t,r){if(["","-"].indexOf(e)!==-1)return e;var n=(e.indexOf(".")!==-1||r)&&t,a=fe(e),u=a.beforeDecimal,l=a.afterDecimal,g=a.hasNegation,h=parseFloat("0."+(l||"0")),S=l.length<=t?"0."+l:h.toFixed(t),p=S.split("."),v=u;u&&Number(p[0])&&(v=u.split("").reverse().reduce(function(O,E,m){return O.length>m?(Number(O[0])+Number(E)).toString()+O.substring(1,O.length):E+O},p[0]));var V=ye(p[1]||"",t,r),b=g?"-":"",c=n?".":"";return""+b+v+c+V}function $(e,t){if(e.value=e.value,e!==null){if(e.createTextRange){var r=e.createTextRange();return r.move("character",t),r.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}var we=Be(function(e,t){for(var r=0,n=0,a=e.length,u=t.length;e[r]===t[r]&&r<a;)r++;for(;e[a-1-n]===t[u-1-n]&&u-n>r&&a-n>r;)n++;return{from:{start:r,end:a-n},to:{start:r,end:u-n}}}),Le=function(e,t){var r=Math.min(e.selectionStart,t);return{from:{start:r,end:e.selectionEnd},to:{start:r,end:t}}};function Pe(e,t,r){return Math.min(Math.max(e,t),r)}function ce(e){return Math.max(e.selectionStart,e.selectionEnd)}function Ue(){return typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function _e(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}function qe(e){var t=e.currentValue,r=e.formattedValue,n=e.currentValueIndex,a=e.formattedValueIndex;return t[n]===r[a]}function Ge(e,t,r,n,a,u,l){l===void 0&&(l=qe);var g=a.findIndex(function(K){return K}),h=e.slice(0,g);!t&&!r.startsWith(h)&&(t=h,r=h+r,n=n+h.length);for(var S=r.length,p=e.length,v={},V=new Array(S),b=0;b<S;b++){V[b]=-1;for(var c=0,O=p;c<O;c++){var E=l({currentValue:r,lastValue:t,formattedValue:e,currentValueIndex:b,formattedValueIndex:c});if(E&&v[c]!==!0){V[b]=c,v[c]=!0;break}}}for(var m=n;m<S&&(V[m]===-1||!u(r[m]));)m++;var j=m===S||V[m]===-1?p:V[m];for(m=n-1;m>0&&V[m]===-1;)m--;var B=m===-1||V[m]===-1?0:V[m]+1;return B>j?j:n-B<j-n?B:j}function ge(e,t,r,n){var a=e.length;if(t=Pe(t,0,a),n==="left"){for(;t>=0&&!r[t];)t--;t===-1&&(t=r.indexOf(!0))}else{for(;t<=a&&!r[t];)t++;t>a&&(t=r.lastIndexOf(!0))}return t===-1&&(t=a),t}function He(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),r=0,n=t.length;r<n;r++)t[r]=!!(ae(e[r])||ae(e[r-1]));return t}function xe(e,t,r,n,a,u){u===void 0&&(u=H);var l=We(function(c,O){var E,m;return Se(c)?(m="",E=""):typeof c=="number"||O?(m=typeof c=="number"?Ve(c):c,E=n(m)):(m=a(c,void 0),E=n(m)),{formattedValue:E,numAsString:m}}),g=I.useState(function(){return l(X(e)?t:e,r)}),h=g[0],S=g[1],p=function(c,O){c.formattedValue!==h.formattedValue&&S({formattedValue:c.formattedValue,numAsString:c.value}),u(c,O)},v=e,V=r;X(e)&&(v=h.numAsString,V=!0);var b=l(v,V);return I.useMemo(function(){S(b)},[b.formattedValue]),[h,p]}function Ze(e){return e.replace(/[^0-9]/g,"")}function Je(e){return e}function $e(e){var t=e.type;t===void 0&&(t="text");var r=e.displayType;r===void 0&&(r="input");var n=e.customInput,a=e.renderText,u=e.getInputRef,l=e.format;l===void 0&&(l=Je);var g=e.removeFormatting;g===void 0&&(g=Ze);var h=e.defaultValue,S=e.valueIsNumericString,p=e.onValueChange,v=e.isAllowed,V=e.onChange;V===void 0&&(V=H);var b=e.onKeyDown;b===void 0&&(b=H);var c=e.onMouseUp;c===void 0&&(c=H);var O=e.onFocus;O===void 0&&(O=H);var E=e.onBlur;E===void 0&&(E=H);var m=e.value,j=e.getCaretBoundary;j===void 0&&(j=He);var B=e.isValidInputCharacter;B===void 0&&(B=ae);var K=e.isCharacterSame,M=he(e,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter","isCharacterSame"]),Z=xe(m,h,!!S,l,g,p),L=Z[0],w=L.formattedValue,k=L.numAsString,J=Z[1],W=I.useRef(),U=I.useRef({formattedValue:w,numAsString:k}),_=function(o,i){U.current={formattedValue:o.formattedValue,numAsString:o.value},J(o,i)},z=I.useState(!1),ee=z[0],d=z[1],s=I.useRef(null),x=I.useRef({setCaretTimeout:null,focusTimeout:null});I.useEffect(function(){return d(!0),function(){clearTimeout(x.current.setCaretTimeout),clearTimeout(x.current.focusTimeout)}},[]);var A=l,C=function(o,i){var f=parseFloat(i);return{formattedValue:o,value:i,floatValue:isNaN(f)?void 0:f}},T=function(o,i,f){o.selectionStart===0&&o.selectionEnd===o.value.length||($(o,i),x.current.setCaretTimeout=setTimeout(function(){o.value===f&&o.selectionStart!==i&&$(o,i)},0))},R=function(o,i,f){return ge(o,i,j(o),f)},Q=function(o,i,f){var D=j(i),F=Ge(i,w,o,f,D,B,K);return F=ge(i,F,D),F},oe=function(o){var i=o.formattedValue;i===void 0&&(i="");var f=o.input,D=o.source,F=o.event,N=o.numAsString,y;if(f){var P=o.inputValue||f.value,q=ce(f);f.value=i,y=Q(P,i,q),y!==void 0&&T(f,y,i)}i!==w&&_(C(i,N),{event:F,source:D})};I.useEffect(function(){var o=U.current,i=o.formattedValue,f=o.numAsString;(w!==i||k!==f)&&_(C(w,k),{event:void 0,source:re.props})},[w,k]);var te=s.current?ce(s.current):void 0,ne=typeof window<"u"?I.useLayoutEffect:I.useEffect;ne(function(){var o=s.current;if(w!==U.current.formattedValue&&o){var i=Q(U.current.formattedValue,w,te);o.value=w,T(o,i,w)}},[w]);var ie=function(o,i,f){var D=i.target,F=W.current?Le(W.current,D.selectionEnd):we(w,o),N=Object.assign(Object.assign({},F),{lastValue:w}),y=g(o,N),P=A(y);if(y=g(P,void 0),v&&!v(C(P,y))){var q=i.target,G=ce(q),se=Q(o,w,G);return q.value=w,T(q,se,w),!1}return oe({formattedValue:P,numAsString:y,inputValue:o,event:i,source:f,input:i.target}),!0},le=function(o,i){i===void 0&&(i=0);var f=o.selectionStart,D=o.selectionEnd;W.current={selectionStart:f,selectionEnd:D+i}},Ne=function(o){var i=o.target,f=i.value,D=ie(f,o,re.event);D&&V(o),W.current=void 0},Oe=function(o){var i=o.target,f=o.key,D=i.selectionStart,F=i.selectionEnd,N=i.value;N===void 0&&(N="");var y;f==="ArrowLeft"||f==="Backspace"?y=Math.max(D-1,0):f==="ArrowRight"?y=Math.min(D+1,N.length):f==="Delete"&&(y=D);var P=0;f==="Delete"&&D===F&&(P=1);var q=f==="ArrowLeft"||f==="ArrowRight";if(y===void 0||D!==F&&!q){b(o),le(i,P);return}var G=y;if(q){var se=f==="ArrowLeft"?"left":"right";G=R(N,y,se),G!==y&&o.preventDefault()}else f==="Delete"&&!B(N[y])?G=R(N,y,"right"):f==="Backspace"&&!B(N[y])&&(G=R(N,y,"left"));G!==y&&T(i,G,N),b(o),le(i,P)},Ee=function(o){var i=o.target,f=function(){var D=i.selectionStart,F=i.selectionEnd,N=i.value;if(N===void 0&&(N=""),D===F){var y=R(N,D);y!==D&&T(i,y,N)}};f(),requestAnimationFrame(function(){f()}),c(o),le(i)},Te=function(o){o.persist&&o.persist();var i=o.target,f=o.currentTarget;s.current=i,x.current.focusTimeout=setTimeout(function(){var D=i.selectionStart,F=i.selectionEnd,N=i.value;N===void 0&&(N="");var y=R(N,D);y!==D&&!(D===0&&F===N.length)&&T(i,y,N),O(Object.assign(Object.assign({},o),{currentTarget:f}))},0)},Ae=function(o){s.current=null,clearTimeout(x.current.focusTimeout),clearTimeout(x.current.setCaretTimeout),E(o)},Ce=ee&&Ue()?"numeric":void 0,ve=Object.assign({inputMode:Ce},M,{type:t,value:w,onChange:Ne,onKeyDown:Oe,onMouseUp:Ee,onFocus:Te,onBlur:Ae});if(r==="text")return a?Y.createElement(Y.Fragment,null,a(w,M)||null):Y.createElement("span",Object.assign({},M,{ref:u}),w);if(n){var Re=n;return Y.createElement(Re,Object.assign({},ve,{ref:u}))}return Y.createElement("input",Object.assign({},ve,{ref:u}))}function pe(e,t){var r=t.decimalScale,n=t.fixedDecimalScale,a=t.prefix;a===void 0&&(a="");var u=t.suffix;u===void 0&&(u="");var l=t.allowNegative,g=t.thousandsGroupStyle;if(g===void 0&&(g="thousand"),e===""||e==="-")return e;var h=ue(t),S=h.thousandSeparator,p=h.decimalSeparator,v=r!==0&&e.indexOf(".")!==-1||r&&n,V=fe(e,l),b=V.beforeDecimal,c=V.afterDecimal,O=V.addNegation;return r!==void 0&&(c=ye(c,r,!!n)),S&&(b=ke(b,S,g)),a&&(b=a+b),u&&(c=c+u),O&&(b="-"+b),e=b+(v&&p||"")+c,e}function ue(e){var t=e.decimalSeparator;t===void 0&&(t=".");var r=e.thousandSeparator,n=e.allowedDecimalSeparators;return r===!0&&(r=","),n||(n=[t,"."]),{decimalSeparator:t,thousandSeparator:r,allowedDecimalSeparators:n}}function ze(e,t){e===void 0&&(e="");var r=new RegExp("(-)"),n=new RegExp("(-)(.)*(-)"),a=r.test(e),u=n.test(e);return e=e.replace(/-/g,""),a&&!u&&t&&(e="-"+e),e}function Qe(e,t){return new RegExp("(^-)|[0-9]|"+be(e),"g")}function Ye(e,t,r){return e===""?!0:!t?.match(/\d/)&&!r?.match(/\d/)&&typeof e=="string"&&!isNaN(Number(e))}function Xe(e,t,r){var n;t===void 0&&(t=_e(e));var a=r.allowNegative,u=r.prefix;u===void 0&&(u="");var l=r.suffix;l===void 0&&(l="");var g=r.decimalScale,h=t.from,S=t.to,p=S.start,v=S.end,V=ue(r),b=V.allowedDecimalSeparators,c=V.decimalSeparator,O=e[v]===c;if(ae(e)&&(e===u||e===l)&&t.lastValue==="")return e;if(v-p===1&&b.indexOf(e[p])!==-1){var E=g===0?"":c;e=e.substring(0,p)+E+e.substring(p+1,e.length)}var m=function(s,x,A){var C=!1,T=!1;u.startsWith("-")?C=!1:s.startsWith("--")?(C=!1,T=!0):l.startsWith("-")&&s.length===l.length?C=!1:s[0]==="-"&&(C=!0);var R=C?1:0;return T&&(R=2),R&&(s=s.substring(R),x-=R,A-=R),{value:s,start:x,end:A,hasNegation:C}},j=m(e,p,v),B=j.hasNegation;n=j,e=n.value,p=n.start,v=n.end;var K=m(t.lastValue,h.start,h.end),M=K.start,Z=K.end,L=K.value,w=e.substring(p,v);e.length&&L.length&&(M>L.length-l.length||Z<u.length)&&!(w&&l.startsWith(w))&&(e=L);var k=0;e.startsWith(u)?k+=u.length:p<u.length&&(k=p),e=e.substring(k),v-=k;var J=e.length,W=e.length-l.length;e.endsWith(l)?J=W:(v>W||v>e.length-l.length)&&(J=v),e=e.substring(0,J),e=ze(B?"-"+e:e,a),e=(e.match(Qe(c))||[]).join("");var U=e.indexOf(c);e=e.replace(new RegExp(be(c),"g"),function(s,x){return x===U?".":""});var _=fe(e,a),z=_.beforeDecimal,ee=_.afterDecimal,d=_.addNegation;return S.end-S.start<h.end-h.start&&z===""&&O&&!parseFloat(ee)&&(e=d?"-":""),e}function et(e,t){var r=t.prefix;r===void 0&&(r="");var n=t.suffix;n===void 0&&(n="");var a=Array.from({length:e.length+1}).map(function(){return!0}),u=e[0]==="-";a.fill(!1,0,r.length+(u?1:0));var l=e.length;return a.fill(!1,l-n.length+1,l+1),a}function tt(e){var t=ue(e),r=t.thousandSeparator,n=t.decimalSeparator,a=e.prefix;a===void 0&&(a="");var u=e.allowNegative;if(u===void 0&&(u=!0),r===n)throw new Error(`
|
|
2
|
+
Decimal separator can't be same as thousand separator.
|
|
3
|
+
thousandSeparator: `+r+` (thousandSeparator = {true} is same as thousandSeparator = ",")
|
|
4
|
+
decimalSeparator: `+n+` (default value for decimalSeparator is .)
|
|
5
|
+
`);return a.startsWith("-")&&u&&(console.error(`
|
|
6
|
+
Prefix can't start with '-' when allowNegative is true.
|
|
7
|
+
prefix: `+a+`
|
|
8
|
+
allowNegative: `+u+`
|
|
9
|
+
`),u=!1),Object.assign(Object.assign({},e),{allowNegative:u})}function rt(e){e=tt(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,r=e.allowNegative,n=e.allowLeadingZeros,a=e.onKeyDown;a===void 0&&(a=H);var u=e.onBlur;u===void 0&&(u=H);var l=e.thousandSeparator,g=e.decimalScale,h=e.fixedDecimalScale,S=e.prefix;S===void 0&&(S="");var p=e.defaultValue,v=e.value,V=e.valueIsNumericString,b=e.onValueChange,c=he(e,["decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","suffix","allowNegative","allowLeadingZeros","onKeyDown","onBlur","thousandSeparator","decimalScale","fixedDecimalScale","prefix","defaultValue","value","valueIsNumericString","onValueChange"]),O=ue(e),E=O.decimalSeparator,m=O.allowedDecimalSeparators,j=function(d){return pe(d,e)},B=function(d,s){return Xe(d,s,e)},K=X(v)?p:v,M=V??Ye(K,S,t);X(v)?X(p)||(M=M||typeof p=="number"):M=M||typeof v=="number";var Z=function(d){return Se(d)?d:(typeof d=="number"&&(d=Ve(d)),M&&typeof g=="number"?me(d,g,!!h):d)},L=xe(Z(v),Z(p),!!M,j,B,b),w=L[0],k=w.numAsString,J=w.formattedValue,W=L[1],U=function(d){var s=d.target,x=d.key,A=s.selectionStart,C=s.selectionEnd,T=s.value;if(T===void 0&&(T=""),(x==="Backspace"||x==="Delete")&&C<S.length){d.preventDefault();return}if(A!==C){a(d);return}x==="Backspace"&&T[0]==="-"&&A===S.length+1&&r&&$(s,1),g&&h&&(x==="Backspace"&&T[A-1]===E?($(s,A-1),d.preventDefault()):x==="Delete"&&T[A]===E&&d.preventDefault()),m?.includes(x)&&T[A]===E&&$(s,A+1);var R=l===!0?",":l;x==="Backspace"&&T[A-1]===R&&$(s,A-1),x==="Delete"&&T[A]===R&&$(s,A+1),a(d)},_=function(d){var s=k;if(s.match(/\d/g)||(s=""),n||(s=Ke(s)),h&&g&&(s=me(s,g,h)),s!==k){var x=pe(s,e);W({formattedValue:x,value:s,floatValue:parseFloat(s)},{event:d,source:re.event})}u(d)},z=function(d){return d===E?!0:ae(d)},ee=function(d){var s=d.currentValue,x=d.lastValue,A=d.formattedValue,C=d.currentValueIndex,T=d.formattedValueIndex,R=s[C],Q=A[T],oe=we(x,s),te=oe.to,ne=function(ie){return B(ie).indexOf(".")+S.length};return v===0&&h&&g&&s[te.start]===E&&ne(s)<C&&ne(A)>T?!1:C>=te.start&&C<te.end&&m&&m.includes(R)&&Q===E?!0:R===Q};return Object.assign(Object.assign({},c),{value:J,valueIsNumericString:!1,isValidInputCharacter:z,isCharacterSame:ee,onValueChange:W,format:j,removeFormatting:B,getCaretBoundary:function(d){return et(d,e)},onKeyDown:U,onBlur:_})}function at(e){var t=rt(e);return Y.createElement($e,Object.assign({},t))}function De(){return Intl.NumberFormat()?.formatToParts(1.1)?.find(e=>e.type==="decimal")?.value??"."}function nt(){return De()==="."?",":"."}const Ot=e=>{const{value:t,onChange:r,disabled:n,highlight:a,validatedSelection:u,fixedDecimals:l,allowNegative:g,thousandSeparator:h,decimalSeparator:S}=e,p=I.useRef();return I.useLayoutEffect(()=>{if(u!==void 0){const v=typeof u=="number"?[u,null]:u;p.current?.setSelectionRange(v[0],v[1])}},[u]),I.createElement(je,null,I.createElement(at,{autoFocus:!0,getInputRef:p,className:"gdg-input",onFocus:v=>v.target.setSelectionRange(a?0:v.target.value.length,v.target.value.length),disabled:n===!0,decimalScale:l,allowNegative:g,thousandSeparator:h??nt(),decimalSeparator:S??De(),value:Object.is(t,-0)?"-":t??"",onValueChange:r}))};export{Ot as default};
|