sema-code-ui 0.0.0-stage → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -2
- package/bin/sema-ui.js +2 -0
- package/dist/cli.js +4639 -0
- package/dist/public/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/dist/public/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/dist/public/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/dist/public/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/dist/public/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/dist/public/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/dist/public/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/dist/public/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/dist/public/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/dist/public/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/dist/public/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/dist/public/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/dist/public/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/dist/public/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/dist/public/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/dist/public/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/dist/public/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/dist/public/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/dist/public/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/dist/public/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/dist/public/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/dist/public/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/dist/public/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/dist/public/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/dist/public/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/dist/public/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/dist/public/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/dist/public/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/dist/public/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/dist/public/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/dist/public/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/dist/public/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/dist/public/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/dist/public/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/dist/public/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/dist/public/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/dist/public/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/dist/public/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/dist/public/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/dist/public/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/dist/public/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/dist/public/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/dist/public/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/dist/public/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/dist/public/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/dist/public/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/dist/public/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/dist/public/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/dist/public/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/dist/public/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/dist/public/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/dist/public/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/dist/public/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/dist/public/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/dist/public/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/dist/public/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/dist/public/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/dist/public/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/dist/public/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/dist/public/assets/_commonjs-dynamic-modules-TDtrdbi3.js +1 -0
- package/dist/public/assets/abnfDiagram-VCTEODGH-jerp7nR7.js +1 -0
- package/dist/public/assets/arc-BKtVw-5X.js +1 -0
- package/dist/public/assets/architectureDiagram-5GKGNRK7-CAQBfzNp.js +36 -0
- package/dist/public/assets/blockDiagram-I7D4REHJ-eT3AUuZb.js +129 -0
- package/dist/public/assets/c4Diagram-7LVT6UL2-DAAd027j.js +38 -0
- package/dist/public/assets/channel-COTmjPbb.js +1 -0
- package/dist/public/assets/chunk-2Q5K7J3B-D-9Y1d0N.js +1 -0
- package/dist/public/assets/chunk-5VM5RSS4-DwGFL19Q.js +15 -0
- package/dist/public/assets/chunk-F27PBJKO-BQ3tTrPF.js +1 -0
- package/dist/public/assets/chunk-IMKFNOWR-C1YkYZnB.js +231 -0
- package/dist/public/assets/chunk-JWPE2WC7-ddWKnZRa.js +1 -0
- package/dist/public/assets/chunk-POPQ4Y6H-fBnUAxGB.js +1 -0
- package/dist/public/assets/chunk-SVP7TREG-CMXiwsDR.js +88 -0
- package/dist/public/assets/chunk-TICWLB2K-DST453KD.js +206 -0
- package/dist/public/assets/chunk-XXDRQBXY-D5kNIT5P.js +1 -0
- package/dist/public/assets/classDiagram-ZZMXUADV-Lr4CIilS.js +1 -0
- package/dist/public/assets/classDiagram-v2-VYDZK3BY-Lr4CIilS.js +1 -0
- package/dist/public/assets/cose-bilkent-JH36ORCC-sc1yF5Gf.js +1 -0
- package/dist/public/assets/cynefin-OW5HDTMX-Dwe5aQpb.js +178 -0
- package/dist/public/assets/cynefinDiagram-5FMLGOSQ-W_SW62Ko.js +62 -0
- package/dist/public/assets/cytoscape.esm-Bch-eiPH.js +331 -0
- package/dist/public/assets/dagre-GXQ25YYZ-D99NrftV.js +4 -0
- package/dist/public/assets/defaultLocale-DX6XiGOO.js +1 -0
- package/dist/public/assets/diagram-S7CK7UJ4-DL3IhTh8.js +30 -0
- package/dist/public/assets/diagram-UQ7AKVKN-DSL_Joxa.js +41 -0
- package/dist/public/assets/diagram-VSXAHHWV-ge66Mn5n.js +3 -0
- package/dist/public/assets/diagram-VX7I27RA-BGeISp3y.js +24 -0
- package/dist/public/assets/diagram-Z3DM3KII-ClJeMRbb.js +24 -0
- package/dist/public/assets/docx-preview-BcbGRtLc.js +27 -0
- package/dist/public/assets/ebnfDiagram-PWID7BFC-Cn4t65pg.js +1 -0
- package/dist/public/assets/erDiagram-RLTQ6QDP-B1CfcDsm.js +99 -0
- package/dist/public/assets/exceljs.min-GkdcPpXr.js +57 -0
- package/dist/public/assets/flowDiagram-HODETNUW-BKAsEEya.js +168 -0
- package/dist/public/assets/ganttDiagram-EL5Y4UJY-wj_xV86l.js +292 -0
- package/dist/public/assets/gitGraphDiagram-WWUBYQGX-DcWUGLDO.js +106 -0
- package/dist/public/assets/index-2mLslaAC.js +931 -0
- package/dist/public/assets/index-BANUd07X.css +32 -0
- package/dist/public/assets/index-BP9qYm1I.js +1 -0
- package/dist/public/assets/index-B_RX2-hb.js +1 -0
- package/dist/public/assets/index-BeSy_WW1.js +198 -0
- package/dist/public/assets/index-C1rb1p6e.js +74 -0
- package/dist/public/assets/infoDiagram-27XIBGKW-DIKucIos.js +2 -0
- package/dist/public/assets/init-Gi6I4Gst.js +1 -0
- package/dist/public/assets/ishikawaDiagram-5VMMS53U-Bz_J0vOe.js +70 -0
- package/dist/public/assets/journeyDiagram-3NMN7TZE-CLkeMlCH.js +139 -0
- package/dist/public/assets/jstat-so0kbz-l.js +1 -0
- package/dist/public/assets/jszip.min-Cbc05ZIR.js +12 -0
- package/dist/public/assets/kanban-definition-UXKFOSKX-CwzN7MzX.js +89 -0
- package/dist/public/assets/layout-BcaUROCV.js +1 -0
- package/dist/public/assets/linear-Gq1n-w3C.js +1 -0
- package/dist/public/assets/mermaid.core-COBFmWjx.js +312 -0
- package/dist/public/assets/mindmap-definition-YA3MSWOX-DqRme-JA.js +96 -0
- package/dist/public/assets/ordinal-Cboi1Yqb.js +1 -0
- package/dist/public/assets/pdf-B5ZmZFk6.js +57 -0
- package/dist/public/assets/pdf.worker.min-BmVo14Nb.mjs +28 -0
- package/dist/public/assets/pdf.worker.min-LAOCk-LR.js +1 -0
- package/dist/public/assets/pegDiagram-XKGWAZYB-DaxTeHLN.js +1 -0
- package/dist/public/assets/pieDiagram-E7YTZNPT-D11GqVqw.js +39 -0
- package/dist/public/assets/pptx-preview.es-CaqkDSuh.js +28 -0
- package/dist/public/assets/quadrantDiagram-AXDQQJYC-fFb8l4El.js +7 -0
- package/dist/public/assets/railroadDiagram-O6MQD6OU-CIa-0P69.js +1 -0
- package/dist/public/assets/requirementDiagram-BXWQKSXE-BKzH5D9W.js +84 -0
- package/dist/public/assets/sankeyDiagram-P5KCCOFB-CtqHjl2H.js +40 -0
- package/dist/public/assets/sequenceDiagram-WJ2MYXX4-BpX3U60k.js +162 -0
- package/dist/public/assets/sizeCapture-INFHLROL-DsR9QL71.js +1 -0
- package/dist/public/assets/stateDiagram-D77RDMKH-0454rKey.js +1 -0
- package/dist/public/assets/stateDiagram-v2-MP3YSRHH-CYc0JDHV.js +1 -0
- package/dist/public/assets/swimlanes-42K2YHIH-BNRZBx_P.js +1 -0
- package/dist/public/assets/swimlanesDiagram-VR7AAH4N-DMo6Bf1N.js +8 -0
- package/dist/public/assets/timeline-definition-24CTP7MA-BNDN48o2.js +120 -0
- package/dist/public/assets/vennDiagram-4TSXK5OY-C2f8zI0e.js +34 -0
- package/dist/public/assets/wardleyDiagram-VM6X3IG4-CmfNgA4_.js +78 -0
- package/dist/public/assets/xychartDiagram-S5SC5T6Z-B2xKzCa7.js +7 -0
- package/dist/public/icon.svg +8 -0
- package/dist/public/index.html +14 -0
- package/dist/public/pdfjs-6.3.289/cmaps/78-EUC-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/78-EUC-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/78-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/78-RKSJ-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/78-RKSJ-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/78-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/78ms-RKSJ-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/78ms-RKSJ-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/83pv-RKSJ-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/90ms-RKSJ-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/90ms-RKSJ-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/90msp-RKSJ-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/90msp-RKSJ-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/90pv-RKSJ-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/90pv-RKSJ-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Add-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Add-RKSJ-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Add-RKSJ-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Add-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-CNS1-0.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-CNS1-1.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-CNS1-2.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-CNS1-3.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-CNS1-4.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-CNS1-5.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-CNS1-6.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-GB1-0.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-GB1-1.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-GB1-2.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-GB1-3.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-GB1-4.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-GB1-5.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-Japan1-0.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-Japan1-1.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-Japan1-2.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-Japan1-3.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-Japan1-4.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-Japan1-5.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-Japan1-6.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-Korea1-0.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-Korea1-1.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-Korea1-2.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/B5-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/B5-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/B5pc-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/B5pc-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/CNS-EUC-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/CNS-EUC-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/CNS1-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/CNS1-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/CNS2-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/CNS2-V.bcmap +3 -0
- package/dist/public/pdfjs-6.3.289/cmaps/ETHK-B5-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/ETHK-B5-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/ETen-B5-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/ETen-B5-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/ETenms-B5-H.bcmap +3 -0
- package/dist/public/pdfjs-6.3.289/cmaps/ETenms-B5-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/EUC-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/EUC-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Ext-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Ext-RKSJ-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Ext-RKSJ-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Ext-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GB-EUC-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GB-EUC-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GB-H.bcmap +4 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GB-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GBK-EUC-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GBK-EUC-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GBK2K-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GBK2K-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GBKp-EUC-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GBKp-EUC-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GBT-EUC-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GBT-EUC-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GBT-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GBT-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GBTpc-EUC-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GBTpc-EUC-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GBpc-EUC-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/GBpc-EUC-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/HKdla-B5-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/HKdla-B5-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/HKdlb-B5-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/HKdlb-B5-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/HKgccs-B5-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/HKgccs-B5-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/HKm314-B5-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/HKm314-B5-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/HKm471-B5-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/HKm471-B5-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/HKscs-B5-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/HKscs-B5-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Hankaku.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Hiragana.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/KSC-EUC-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/KSC-EUC-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/KSC-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/KSC-Johab-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/KSC-Johab-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/KSC-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/KSCms-UHC-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/KSCms-UHC-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/KSCpc-EUC-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/KSCpc-EUC-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Katakana.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/LICENSE +36 -0
- package/dist/public/pdfjs-6.3.289/cmaps/NWP-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/NWP-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/RKSJ-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/RKSJ-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/Roman.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniGB-UCS2-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniGB-UCS2-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniGB-UTF16-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniGB-UTF16-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniGB-UTF32-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniGB-UTF32-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniGB-UTF8-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniGB-UTF8-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniKS-UCS2-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniKS-UCS2-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniKS-UTF16-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniKS-UTF16-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniKS-UTF32-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniKS-UTF32-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniKS-UTF8-H.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/UniKS-UTF8-V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/V.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/cmaps/WP-Symbol.bcmap +0 -0
- package/dist/public/pdfjs-6.3.289/standard_fonts/FoxitDingbats.pfb +0 -0
- package/dist/public/pdfjs-6.3.289/standard_fonts/FoxitFixed.pfb +0 -0
- package/dist/public/pdfjs-6.3.289/standard_fonts/FoxitFixedBold.pfb +0 -0
- package/dist/public/pdfjs-6.3.289/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
- package/dist/public/pdfjs-6.3.289/standard_fonts/FoxitFixedItalic.pfb +0 -0
- package/dist/public/pdfjs-6.3.289/standard_fonts/FoxitSerif.pfb +0 -0
- package/dist/public/pdfjs-6.3.289/standard_fonts/FoxitSerifBold.pfb +0 -0
- package/dist/public/pdfjs-6.3.289/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
- package/dist/public/pdfjs-6.3.289/standard_fonts/FoxitSerifItalic.pfb +0 -0
- package/dist/public/pdfjs-6.3.289/standard_fonts/FoxitSymbol.pfb +0 -0
- package/dist/public/pdfjs-6.3.289/standard_fonts/LICENSE_FOXIT +27 -0
- package/dist/public/pdfjs-6.3.289/standard_fonts/LICENSE_LIBERATION +363 -0
- package/dist/public/pdfjs-6.3.289/standard_fonts/LiberationSans-Bold.ttf +0 -0
- package/dist/public/pdfjs-6.3.289/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
- package/dist/public/pdfjs-6.3.289/standard_fonts/LiberationSans-Italic.ttf +0 -0
- package/dist/public/pdfjs-6.3.289/standard_fonts/LiberationSans-Regular.ttf +0 -0
- package/dist/public/pdfjs-6.3.289/wasm/LICENSE_JBIG2 +196 -0
- package/dist/public/pdfjs-6.3.289/wasm/LICENSE_OPENJPEG +39 -0
- package/dist/public/pdfjs-6.3.289/wasm/LICENSE_PDFJS_JBIG2 +13 -0
- package/dist/public/pdfjs-6.3.289/wasm/LICENSE_PDFJS_OPENJPEG +22 -0
- package/dist/public/pdfjs-6.3.289/wasm/LICENSE_PDFJS_QCMS +19 -0
- package/dist/public/pdfjs-6.3.289/wasm/LICENSE_QCMS +21 -0
- package/dist/public/pdfjs-6.3.289/wasm/jbig2.wasm +0 -0
- package/dist/public/pdfjs-6.3.289/wasm/jbig2_nowasm_fallback.js +15 -0
- package/dist/public/pdfjs-6.3.289/wasm/openjpeg.wasm +0 -0
- package/dist/public/pdfjs-6.3.289/wasm/openjpeg_nowasm_fallback.js +17 -0
- package/dist/public/pdfjs-6.3.289/wasm/qcms_bg.wasm +0 -0
- package/dist/public/pdfjs-6.3.289/wasm/quickjs-eval.js +16 -0
- package/dist/public/pdfjs-6.3.289/wasm/quickjs-eval.wasm +0 -0
- package/dist/public/viz-runtime.js +2 -0
- package/dist/resources/README.md +89 -0
- package/dist/resources/chrome/.mcp.json +9 -0
- package/dist/resources/chrome/skills/chrome-use/SKILL.md +78 -0
- package/dist/resources/mcp/fetch.json +14 -0
- package/dist/resources/mcp/playwright.json +14 -0
- package/dist/resources/skills/android-native-dev.json +13 -0
- package/dist/resources/skills/archify.json +13 -0
- package/dist/resources/skills/avoid-ai-writing.json +13 -0
- package/dist/resources/skills/brainstorming.json +13 -0
- package/dist/resources/skills/budget-variance-analysis.json +13 -0
- package/dist/resources/skills/code-review.json +13 -0
- package/dist/resources/skills/contract-review.json +13 -0
- package/dist/resources/skills/decision-memo.json +13 -0
- package/dist/resources/skills/deck-from-doc.json +13 -0
- package/dist/resources/skills/documentation-and-adrs.json +13 -0
- package/dist/resources/skills/flutter-dev.json +13 -0
- package/dist/resources/skills/frontend-dev.json +13 -0
- package/dist/resources/skills/ios-application-dev.json +13 -0
- package/dist/resources/skills/landing-page-generator.json +13 -0
- package/dist/resources/skills/minimax-docx.json +14 -0
- package/dist/resources/skills/minimax-pdf.json +14 -0
- package/dist/resources/skills/minimax-xlsx.json +14 -0
- package/dist/resources/skills/pptx-generator.json +14 -0
- package/dist/resources/skills/react-native-dev.json +13 -0
- package/dist/resources/skills/remotion-best-practices.json +12 -0
- package/dist/resources/skills/shader-dev.json +13 -0
- package/dist/resources/skills/systematic-debugging.json +13 -0
- package/dist/resources/skills/visualize/SKILL.md +413 -0
- package/dist/resources/skills/visualize/card.json +7 -0
- package/dist/resources/skills/visualize/scripts/check.mjs +539 -0
- package/dist/resources/skills/visualize/scripts/path.mjs +24 -0
- package/dist/resources/skills/wiki-page-writer.json +13 -0
- package/dist/resources/skills/writing-plans.json +13 -0
- package/dist/worker-entry.js +326 -0
- package/package.json +49 -4
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import{o as bg}from"./jszip.min-Cbc05ZIR.js";import{c as fa}from"./index-2mLslaAC.js";import{init as mg}from"./index-C1rb1p6e.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";var Wi=function(l,o){return Wi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,i){a.__proto__=i}||function(a,i){for(var f in i)Object.prototype.hasOwnProperty.call(i,f)&&(a[f]=i[f])},Wi(l,o)};function mr(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");Wi(l,o);function a(){this.constructor=l}l.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)}var q=function(){return q=Object.assign||function(o){for(var a,i=1,f=arguments.length;i<f;i++){a=arguments[i];for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&(o[d]=a[d])}return o},q.apply(this,arguments)};function Wt(l,o,a,i){function f(d){return d instanceof a?d:new a(function(w){w(d)})}return new(a||(a=Promise))(function(d,w){function _(S){try{A(i.next(S))}catch(C){w(C)}}function x(S){try{A(i.throw(S))}catch(C){w(C)}}function A(S){S.done?d(S.value):f(S.value).then(_,x)}A((i=i.apply(l,o||[])).next())})}function Ut(l,o){var a={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},i,f,d,w=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return w.next=_(0),w.throw=_(1),w.return=_(2),typeof Symbol=="function"&&(w[Symbol.iterator]=function(){return this}),w;function _(A){return function(S){return x([A,S])}}function x(A){if(i)throw new TypeError("Generator is already executing.");for(;w&&(w=0,A[0]&&(a=0)),a;)try{if(i=1,f&&(d=A[0]&2?f.return:A[0]?f.throw||((d=f.return)&&d.call(f),0):f.next)&&!(d=d.call(f,A[1])).done)return d;switch(f=0,d&&(A=[A[0]&2,d.value]),A[0]){case 0:case 1:d=A;break;case 4:return a.label++,{value:A[1],done:!1};case 5:a.label++,f=A[1],A=[0];continue;case 7:A=a.ops.pop(),a.trys.pop();continue;default:if(d=a.trys,!(d=d.length>0&&d[d.length-1])&&(A[0]===6||A[0]===2)){a=0;continue}if(A[0]===3&&(!d||A[1]>d[0]&&A[1]<d[3])){a.label=A[1];break}if(A[0]===6&&a.label<d[1]){a.label=d[1],d=A;break}if(d&&a.label<d[2]){a.label=d[2],a.ops.push(A);break}d[2]&&a.ops.pop(),a.trys.pop();continue}A=o.call(l,a)}catch(S){A=[6,S],f=0}finally{i=d=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}}function yr(l,o,a){if(a||arguments.length===2)for(var i=0,f=o.length,d;i<f;i++)(d||!(i in o))&&(d||(d=Array.prototype.slice.call(o,0,i)),d[i]=o[i]);return l.concat(d||Array.prototype.slice.call(o))}var wr={exports:{}};/**
|
|
2
|
+
* @license
|
|
3
|
+
* Lodash <https://lodash.com/>
|
|
4
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
5
|
+
* Released under MIT license <https://lodash.com/license>
|
|
6
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
7
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
8
|
+
*/var xg=wr.exports,_s;function _g(){return _s||(_s=1,(function(l,o){(function(){var a,i="4.18.1",f=200,d="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",w="Expected a function",_="Invalid `variable` option passed into `_.template`",x="Invalid `imports` option passed into `_.template`",A="__lodash_hash_undefined__",S=500,C="__lodash_placeholder__",U=1,B=2,z=4,X=1,G=2,h=1,n=2,u=4,c=8,g=16,b=32,I=64,M=128,k=256,W=512,H=30,Y="...",Q=800,rt=16,ot=1,st=2,yt=3,dt=1/0,et=9007199254740991,bt=17976931348623157e292,_t=NaN,Lt=4294967295,Rt=Lt-1,Zt=Lt>>>1,Yt=[["ary",M],["bind",h],["bindKey",n],["curry",c],["curryRight",g],["flip",W],["partial",b],["partialRight",I],["rearg",k]],Bt="[object Arguments]",zt="[object Array]",ve="[object AsyncFunction]",je="[object Boolean]",De="[object Date]",Yn="[object DOMException]",Je="[object Error]",Ve="[object Function]",Rn="[object GeneratorFunction]",Jt="[object Map]",Fe="[object Number]",Kn="[object Null]",se="[object Object]",Tn="[object Promise]",$n="[object Proxy]",Ne="[object RegExp]",Vt="[object Set]",We="[object String]",tn="[object Symbol]",Qn="[object Undefined]",Ue="[object WeakMap]",Jn="[object WeakSet]",Ge="[object ArrayBuffer]",Re="[object DataView]",fn="[object Float32Array]",pn="[object Float64Array]",dn="[object Int8Array]",gn="[object Int16Array]",vn="[object Int32Array]",wn="[object Uint8Array]",yn="[object Uint8ClampedArray]",bn="[object Uint16Array]",mn="[object Uint32Array]",gt=/\b__p \+= '';/g,Dt=/\b(__p \+=) '' \+/g,Zs=/(__e\(.*?\)|\b__t\)) \+\n'';/g,zi=/&(?:amp|lt|gt|quot|#39);/g,Hi=/[&<>"']/g,zs=RegExp(zi.source),Hs=RegExp(Hi.source),qs=/<%-([\s\S]+?)%>/g,Xs=/<%([\s\S]+?)%>/g,qi=/<%=([\s\S]+?)%>/g,Ys=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ks=/^\w*$/,$s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ma=/[\\^$.*+?()[\]{}|]/g,Qs=RegExp(ma.source),xa=/^\s+/,Js=/\s/,Vs=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,tu=/\{\n\/\* \[wrapped with (.+)\] \*/,eu=/,? & /,nu=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xi=/[()=,{}\[\]\/\s]/,ru=/\\(\\)?/g,au=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Yi=/\w*$/,iu=/^[-+]0x[0-9a-f]+$/i,ou=/^0b[01]+$/i,cu=/^\[object .+?Constructor\]$/,su=/^0o[0-7]+$/i,uu=/^(?:0|[1-9]\d*)$/,lu=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Mr=/($^)/,hu=/['\n\r\u2028\u2029\\]/g,Pr="\\ud800-\\udfff",fu="\\u0300-\\u036f",pu="\\ufe20-\\ufe2f",du="\\u20d0-\\u20ff",Ki=fu+pu+du,$i="\\u2700-\\u27bf",Qi="a-z\\xdf-\\xf6\\xf8-\\xff",gu="\\xac\\xb1\\xd7\\xf7",vu="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",wu="\\u2000-\\u206f",yu=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ji="A-Z\\xc0-\\xd6\\xd8-\\xde",Vi="\\ufe0e\\ufe0f",to=gu+vu+wu+yu,_a="['’]",bu="["+Pr+"]",eo="["+to+"]",Sr="["+Ki+"]",no="\\d+",mu="["+$i+"]",ro="["+Qi+"]",ao="[^"+Pr+to+no+$i+Qi+Ji+"]",La="\\ud83c[\\udffb-\\udfff]",xu="(?:"+Sr+"|"+La+")",io="[^"+Pr+"]",Aa="(?:\\ud83c[\\udde6-\\uddff]){2}",Ma="[\\ud800-\\udbff][\\udc00-\\udfff]",kn="["+Ji+"]",oo="\\u200d",co="(?:"+ro+"|"+ao+")",_u="(?:"+kn+"|"+ao+")",so="(?:"+_a+"(?:d|ll|m|re|s|t|ve))?",uo="(?:"+_a+"(?:D|LL|M|RE|S|T|VE))?",lo=xu+"?",ho="["+Vi+"]?",Lu="(?:"+oo+"(?:"+[io,Aa,Ma].join("|")+")"+ho+lo+")*",Au="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",fo=ho+lo+Lu,Pu="(?:"+[mu,Aa,Ma].join("|")+")"+fo,Su="(?:"+[io+Sr+"?",Sr,Aa,Ma,bu].join("|")+")",Cu=RegExp(_a,"g"),Iu=RegExp(Sr,"g"),Pa=RegExp(La+"(?="+La+")|"+Su+fo,"g"),Ru=RegExp([kn+"?"+ro+"+"+so+"(?="+[eo,kn,"$"].join("|")+")",_u+"+"+uo+"(?="+[eo,kn+co,"$"].join("|")+")",kn+"?"+co+"+"+so,kn+"+"+uo,Mu,Au,no,Pu].join("|"),"g"),Tu=RegExp("["+oo+Pr+Ki+Vi+"]"),ku=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Eu=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Bu=-1,Ct={};Ct[fn]=Ct[pn]=Ct[dn]=Ct[gn]=Ct[vn]=Ct[wn]=Ct[yn]=Ct[bn]=Ct[mn]=!0,Ct[Bt]=Ct[zt]=Ct[Ge]=Ct[je]=Ct[Re]=Ct[De]=Ct[Je]=Ct[Ve]=Ct[Jt]=Ct[Fe]=Ct[se]=Ct[Ne]=Ct[Vt]=Ct[We]=Ct[Ue]=!1;var St={};St[Bt]=St[zt]=St[Ge]=St[Re]=St[je]=St[De]=St[fn]=St[pn]=St[dn]=St[gn]=St[vn]=St[Jt]=St[Fe]=St[se]=St[Ne]=St[Vt]=St[We]=St[tn]=St[wn]=St[yn]=St[bn]=St[mn]=!0,St[Je]=St[Ve]=St[Ue]=!1;var Ou={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},ju={"&":"&","<":"<",">":">",'"':""","'":"'"},Du={"&":"&","<":"<",">":">",""":'"',"'":"'"},Fu={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Nu=parseFloat,Wu=parseInt,po=typeof fa=="object"&&fa&&fa.Object===Object&&fa,Uu=typeof self=="object"&&self&&self.Object===Object&&self,Ht=po||Uu||Function("return this")(),Sa=o&&!o.nodeType&&o,xn=Sa&&!0&&l&&!l.nodeType&&l,go=xn&&xn.exports===Sa,Ca=go&&po.process,we=(function(){try{var R=xn&&xn.require&&xn.require("util").types;return R||Ca&&Ca.binding&&Ca.binding("util")}catch{}})(),vo=we&&we.isArrayBuffer,wo=we&&we.isDate,yo=we&&we.isMap,bo=we&&we.isRegExp,mo=we&&we.isSet,xo=we&&we.isTypedArray;function ue(R,O,E){switch(E.length){case 0:return R.call(O);case 1:return R.call(O,E[0]);case 2:return R.call(O,E[0],E[1]);case 3:return R.call(O,E[0],E[1],E[2])}return R.apply(O,E)}function Gu(R,O,E,$){for(var it=-1,mt=R==null?0:R.length;++it<mt;){var Ft=R[it];O($,Ft,E(Ft),R)}return $}function le(R,O){for(var E=-1,$=R==null?0:R.length;++E<$&&O(R[E],E,R)!==!1;);return R}function Zu(R,O){for(var E=R==null?0:R.length;E--&&O(R[E],E,R)!==!1;);return R}function _o(R,O){for(var E=-1,$=R==null?0:R.length;++E<$;)if(!O(R[E],E,R))return!1;return!0}function en(R,O){for(var E=-1,$=R==null?0:R.length,it=0,mt=[];++E<$;){var Ft=R[E];O(Ft,E,R)&&(mt[it++]=Ft)}return mt}function Cr(R,O){var E=R==null?0:R.length;return!!E&&En(R,O,0)>-1}function Ia(R,O,E){for(var $=-1,it=R==null?0:R.length;++$<it;)if(E(O,R[$]))return!0;return!1}function It(R,O){for(var E=-1,$=R==null?0:R.length,it=Array($);++E<$;)it[E]=O(R[E],E,R);return it}function nn(R,O){for(var E=-1,$=O.length,it=R.length;++E<$;)R[it+E]=O[E];return R}function Ra(R,O,E,$){var it=-1,mt=R==null?0:R.length;for($&&mt&&(E=R[++it]);++it<mt;)E=O(E,R[it],it,R);return E}function zu(R,O,E,$){var it=R==null?0:R.length;for($&&it&&(E=R[--it]);it--;)E=O(E,R[it],it,R);return E}function Ta(R,O){for(var E=-1,$=R==null?0:R.length;++E<$;)if(O(R[E],E,R))return!0;return!1}var Hu=ka("length");function qu(R){return R.split("")}function Xu(R){return R.match(nu)||[]}function Lo(R,O,E){var $;return E(R,function(it,mt,Ft){if(O(it,mt,Ft))return $=mt,!1}),$}function Ir(R,O,E,$){for(var it=R.length,mt=E+($?1:-1);$?mt--:++mt<it;)if(O(R[mt],mt,R))return mt;return-1}function En(R,O,E){return O===O?il(R,O,E):Ir(R,Ao,E)}function Yu(R,O,E,$){for(var it=E-1,mt=R.length;++it<mt;)if($(R[it],O))return it;return-1}function Ao(R){return R!==R}function Mo(R,O){var E=R==null?0:R.length;return E?Ba(R,O)/E:_t}function ka(R){return function(O){return O==null?a:O[R]}}function Ea(R){return function(O){return R==null?a:R[O]}}function Po(R,O,E,$,it){return it(R,function(mt,Ft,Pt){E=$?($=!1,mt):O(E,mt,Ft,Pt)}),E}function Ku(R,O){var E=R.length;for(R.sort(O);E--;)R[E]=R[E].value;return R}function Ba(R,O){for(var E,$=-1,it=R.length;++$<it;){var mt=O(R[$]);mt!==a&&(E=E===a?mt:E+mt)}return E}function Oa(R,O){for(var E=-1,$=Array(R);++E<R;)$[E]=O(E);return $}function $u(R,O){return It(O,function(E){return[E,R[E]]})}function So(R){return R&&R.slice(0,To(R)+1).replace(xa,"")}function he(R){return function(O){return R(O)}}function ja(R,O){return It(O,function(E){return R[E]})}function Vn(R,O){return R.has(O)}function Co(R,O){for(var E=-1,$=R.length;++E<$&&En(O,R[E],0)>-1;);return E}function Io(R,O){for(var E=R.length;E--&&En(O,R[E],0)>-1;);return E}function Qu(R,O){for(var E=R.length,$=0;E--;)R[E]===O&&++$;return $}var Ju=Ea(Ou),Vu=Ea(ju);function tl(R){return"\\"+Fu[R]}function el(R,O){return R==null?a:R[O]}function Bn(R){return Tu.test(R)}function nl(R){return ku.test(R)}function rl(R){for(var O,E=[];!(O=R.next()).done;)E.push(O.value);return E}function Da(R){var O=-1,E=Array(R.size);return R.forEach(function($,it){E[++O]=[it,$]}),E}function Ro(R,O){return function(E){return R(O(E))}}function rn(R,O){for(var E=-1,$=R.length,it=0,mt=[];++E<$;){var Ft=R[E];(Ft===O||Ft===C)&&(R[E]=C,mt[it++]=E)}return mt}function Rr(R){var O=-1,E=Array(R.size);return R.forEach(function($){E[++O]=$}),E}function al(R){var O=-1,E=Array(R.size);return R.forEach(function($){E[++O]=[$,$]}),E}function il(R,O,E){for(var $=E-1,it=R.length;++$<it;)if(R[$]===O)return $;return-1}function ol(R,O,E){for(var $=E+1;$--;)if(R[$]===O)return $;return $}function On(R){return Bn(R)?sl(R):Hu(R)}function Ae(R){return Bn(R)?ul(R):qu(R)}function To(R){for(var O=R.length;O--&&Js.test(R.charAt(O)););return O}var cl=Ea(Du);function sl(R){for(var O=Pa.lastIndex=0;Pa.test(R);)++O;return O}function ul(R){return R.match(Pa)||[]}function ll(R){return R.match(Ru)||[]}var hl=(function R(O){O=O==null?Ht:jn.defaults(Ht.Object(),O,jn.pick(Ht,Eu));var E=O.Array,$=O.Date,it=O.Error,mt=O.Function,Ft=O.Math,Pt=O.Object,Fa=O.RegExp,fl=O.String,ye=O.TypeError,Tr=E.prototype,pl=mt.prototype,Dn=Pt.prototype,kr=O["__core-js_shared__"],Er=pl.toString,At=Dn.hasOwnProperty,dl=0,ko=(function(){var t=/[^.]+$/.exec(kr&&kr.keys&&kr.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})(),Br=Dn.toString,gl=Er.call(Pt),vl=Ht._,wl=Fa("^"+Er.call(At).replace(ma,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Or=go?O.Buffer:a,an=O.Symbol,jr=O.Uint8Array,Eo=Or?Or.allocUnsafe:a,Dr=Ro(Pt.getPrototypeOf,Pt),Bo=Pt.create,Oo=Dn.propertyIsEnumerable,Fr=Tr.splice,jo=an?an.isConcatSpreadable:a,tr=an?an.iterator:a,_n=an?an.toStringTag:a,Nr=(function(){try{var t=Sn(Pt,"defineProperty");return t({},"",{}),t}catch{}})(),yl=O.clearTimeout!==Ht.clearTimeout&&O.clearTimeout,bl=$&&$.now!==Ht.Date.now&&$.now,ml=O.setTimeout!==Ht.setTimeout&&O.setTimeout,Wr=Ft.ceil,Ur=Ft.floor,Na=Pt.getOwnPropertySymbols,xl=Or?Or.isBuffer:a,Do=O.isFinite,_l=Tr.join,Ll=Ro(Pt.keys,Pt),Nt=Ft.max,Kt=Ft.min,Al=$.now,Ml=O.parseInt,Fo=Ft.random,Pl=Tr.reverse,Wa=Sn(O,"DataView"),er=Sn(O,"Map"),Ua=Sn(O,"Promise"),Fn=Sn(O,"Set"),nr=Sn(O,"WeakMap"),rr=Sn(Pt,"create"),Gr=nr&&new nr,Nn={},Sl=Cn(Wa),Cl=Cn(er),Il=Cn(Ua),Rl=Cn(Fn),Tl=Cn(nr),Zr=an?an.prototype:a,ar=Zr?Zr.valueOf:a,No=Zr?Zr.toString:a;function v(t){if(Et(t)&&!ct(t)&&!(t instanceof pt)){if(t instanceof be)return t;if(At.call(t,"__wrapped__"))return Wc(t)}return new be(t)}var Wn=(function(){function t(){}return function(e){if(!Tt(e))return{};if(Bo)return Bo(e);t.prototype=e;var r=new t;return t.prototype=a,r}})();function zr(){}function be(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=a}v.templateSettings={escape:qs,evaluate:Xs,interpolate:qi,variable:"",imports:{_:v}},v.prototype=zr.prototype,v.prototype.constructor=v,be.prototype=Wn(zr.prototype),be.prototype.constructor=be;function pt(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Lt,this.__views__=[]}function kl(){var t=new pt(this.__wrapped__);return t.__actions__=re(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=re(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=re(this.__views__),t}function El(){if(this.__filtered__){var t=new pt(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function Bl(){var t=this.__wrapped__.value(),e=this.__dir__,r=ct(t),s=e<0,p=r?t.length:0,y=qh(0,p,this.__views__),L=y.start,P=y.end,T=P-L,D=s?P:L-1,F=this.__iteratees__,Z=F.length,K=0,J=Kt(T,this.__takeCount__);if(!r||!s&&p==T&&J==T)return uc(t,this.__actions__);var at=[];t:for(;T--&&K<J;){D+=e;for(var lt=-1,tt=t[D];++lt<Z;){var ft=F[lt],vt=ft.iteratee,de=ft.type,ne=vt(tt);if(de==st)tt=ne;else if(!ne){if(de==ot)continue t;break t}}at[K++]=tt}return at}pt.prototype=Wn(zr.prototype),pt.prototype.constructor=pt;function Ln(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var s=t[e];this.set(s[0],s[1])}}function Ol(){this.__data__=rr?rr(null):{},this.size=0}function jl(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Dl(t){var e=this.__data__;if(rr){var r=e[t];return r===A?a:r}return At.call(e,t)?e[t]:a}function Fl(t){var e=this.__data__;return rr?e[t]!==a:At.call(e,t)}function Nl(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=rr&&e===a?A:e,this}Ln.prototype.clear=Ol,Ln.prototype.delete=jl,Ln.prototype.get=Dl,Ln.prototype.has=Fl,Ln.prototype.set=Nl;function Ze(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var s=t[e];this.set(s[0],s[1])}}function Wl(){this.__data__=[],this.size=0}function Ul(t){var e=this.__data__,r=Hr(e,t);if(r<0)return!1;var s=e.length-1;return r==s?e.pop():Fr.call(e,r,1),--this.size,!0}function Gl(t){var e=this.__data__,r=Hr(e,t);return r<0?a:e[r][1]}function Zl(t){return Hr(this.__data__,t)>-1}function zl(t,e){var r=this.__data__,s=Hr(r,t);return s<0?(++this.size,r.push([t,e])):r[s][1]=e,this}Ze.prototype.clear=Wl,Ze.prototype.delete=Ul,Ze.prototype.get=Gl,Ze.prototype.has=Zl,Ze.prototype.set=zl;function ze(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var s=t[e];this.set(s[0],s[1])}}function Hl(){this.size=0,this.__data__={hash:new Ln,map:new(er||Ze),string:new Ln}}function ql(t){var e=ra(this,t).delete(t);return this.size-=e?1:0,e}function Xl(t){return ra(this,t).get(t)}function Yl(t){return ra(this,t).has(t)}function Kl(t,e){var r=ra(this,t),s=r.size;return r.set(t,e),this.size+=r.size==s?0:1,this}ze.prototype.clear=Hl,ze.prototype.delete=ql,ze.prototype.get=Xl,ze.prototype.has=Yl,ze.prototype.set=Kl;function An(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new ze;++e<r;)this.add(t[e])}function $l(t){return this.__data__.set(t,A),this}function Ql(t){return this.__data__.has(t)}An.prototype.add=An.prototype.push=$l,An.prototype.has=Ql;function Me(t){var e=this.__data__=new Ze(t);this.size=e.size}function Jl(){this.__data__=new Ze,this.size=0}function Vl(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}function th(t){return this.__data__.get(t)}function eh(t){return this.__data__.has(t)}function nh(t,e){var r=this.__data__;if(r instanceof Ze){var s=r.__data__;if(!er||s.length<f-1)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new ze(s)}return r.set(t,e),this.size=r.size,this}Me.prototype.clear=Jl,Me.prototype.delete=Vl,Me.prototype.get=th,Me.prototype.has=eh,Me.prototype.set=nh;function Wo(t,e){var r=ct(t),s=!r&&In(t),p=!r&&!s&&ln(t),y=!r&&!s&&!p&&zn(t),L=r||s||p||y,P=L?Oa(t.length,fl):[],T=P.length;for(var D in t)(e||At.call(t,D))&&!(L&&(D=="length"||p&&(D=="offset"||D=="parent")||y&&(D=="buffer"||D=="byteLength"||D=="byteOffset")||Xe(D,T)))&&P.push(D);return P}function Uo(t){var e=t.length;return e?t[Ja(0,e-1)]:a}function rh(t,e){return aa(re(t),Mn(e,0,t.length))}function ah(t){return aa(re(t))}function Ga(t,e,r){(r!==a&&!Se(t[e],r)||r===a&&!(e in t))&&Te(t,e,r)}function ir(t,e,r){var s=t[e];(!(At.call(t,e)&&Se(s,r))||r===a&&!(e in t))&&Te(t,e,r)}function Hr(t,e){for(var r=t.length;r--;)if(Se(t[r][0],e))return r;return-1}function ih(t,e,r,s){return on(t,function(p,y,L){e(s,p,r(p),L)}),s}function Go(t,e){return t&&Ee(e,Gt(e),t)}function oh(t,e){return t&&Ee(e,ie(e),t)}function Te(t,e,r){e=="__proto__"&&Nr?Nr(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}function Za(t,e){for(var r=-1,s=e.length,p=E(s),y=t==null;++r<s;)p[r]=y?a:Ai(t,e[r]);return p}function Mn(t,e,r){return t===t&&(r!==a&&(t=t<=r?t:r),e!==a&&(t=t>=e?t:e)),t}function me(t,e,r,s,p,y){var L,P=e&U,T=e&B,D=e&z;if(r&&(L=p?r(t,s,p,y):r(t)),L!==a)return L;if(!Tt(t))return t;var F=ct(t);if(F){if(L=Yh(t),!P)return re(t,L)}else{var Z=$t(t),K=Z==Ve||Z==Rn;if(ln(t))return fc(t,P);if(Z==se||Z==Bt||K&&!p){if(L=T||K?{}:Tc(t),!P)return T?Dh(t,oh(L,t)):jh(t,Go(L,t))}else{if(!St[Z])return p?t:{};L=Kh(t,Z,P)}}y||(y=new Me);var J=y.get(t);if(J)return J;y.set(t,L),os(t)?t.forEach(function(tt){L.add(me(tt,e,r,tt,t,y))}):as(t)&&t.forEach(function(tt,ft){L.set(ft,me(tt,e,r,ft,t,y))});var at=D?T?ui:si:T?ie:Gt,lt=F?a:at(t);return le(lt||t,function(tt,ft){lt&&(ft=tt,tt=t[ft]),ir(L,ft,me(tt,e,r,ft,t,y))}),L}function ch(t){var e=Gt(t);return function(r){return Zo(r,t,e)}}function Zo(t,e,r){var s=r.length;if(t==null)return!s;for(t=Pt(t);s--;){var p=r[s],y=e[p],L=t[p];if(L===a&&!(p in t)||!y(L))return!1}return!0}function zo(t,e,r){if(typeof t!="function")throw new ye(w);return fr(function(){t.apply(a,r)},e)}function or(t,e,r,s){var p=-1,y=Cr,L=!0,P=t.length,T=[],D=e.length;if(!P)return T;r&&(e=It(e,he(r))),s?(y=Ia,L=!1):e.length>=f&&(y=Vn,L=!1,e=new An(e));t:for(;++p<P;){var F=t[p],Z=r==null?F:r(F);if(F=s||F!==0?F:0,L&&Z===Z){for(var K=D;K--;)if(e[K]===Z)continue t;T.push(F)}else y(e,Z,s)||T.push(F)}return T}var on=wc(ke),Ho=wc(Ha,!0);function sh(t,e){var r=!0;return on(t,function(s,p,y){return r=!!e(s,p,y),r}),r}function qr(t,e,r){for(var s=-1,p=t.length;++s<p;){var y=t[s],L=e(y);if(L!=null&&(P===a?L===L&&!pe(L):r(L,P)))var P=L,T=y}return T}function uh(t,e,r,s){var p=t.length;for(r=ut(r),r<0&&(r=-r>p?0:p+r),s=s===a||s>p?p:ut(s),s<0&&(s+=p),s=r>s?0:ss(s);r<s;)t[r++]=e;return t}function qo(t,e){var r=[];return on(t,function(s,p,y){e(s,p,y)&&r.push(s)}),r}function qt(t,e,r,s,p){var y=-1,L=t.length;for(r||(r=Qh),p||(p=[]);++y<L;){var P=t[y];e>0&&r(P)?e>1?qt(P,e-1,r,s,p):nn(p,P):s||(p[p.length]=P)}return p}var za=yc(),Xo=yc(!0);function ke(t,e){return t&&za(t,e,Gt)}function Ha(t,e){return t&&Xo(t,e,Gt)}function Xr(t,e){return en(e,function(r){return Ye(t[r])})}function Pn(t,e){e=sn(e,t);for(var r=0,s=e.length;t!=null&&r<s;)t=t[Pe(e[r++])];return r&&r==s?t:a}function Yo(t,e,r){var s=e(t);return ct(t)?s:nn(s,r(t))}function te(t){return t==null?t===a?Qn:Kn:_n&&_n in Pt(t)?Hh(t):af(t)}function qa(t,e){return t>e}function lh(t,e){return t!=null&&At.call(t,e)}function hh(t,e){return t!=null&&e in Pt(t)}function fh(t,e,r){return t>=Kt(e,r)&&t<Nt(e,r)}function Xa(t,e,r){for(var s=r?Ia:Cr,p=t[0].length,y=t.length,L=y,P=E(y),T=1/0,D=[];L--;){var F=t[L];L&&e&&(F=It(F,he(e))),T=Kt(F.length,T),P[L]=!r&&(e||p>=120&&F.length>=120)?new An(L&&F):a}F=t[0];var Z=-1,K=P[0];t:for(;++Z<p&&D.length<T;){var J=F[Z],at=e?e(J):J;if(J=r||J!==0?J:0,!(K?Vn(K,at):s(D,at,r))){for(L=y;--L;){var lt=P[L];if(!(lt?Vn(lt,at):s(t[L],at,r)))continue t}K&&K.push(at),D.push(J)}}return D}function ph(t,e,r,s){return ke(t,function(p,y,L){e(s,r(p),y,L)}),s}function cr(t,e,r){e=sn(e,t),t=Oc(t,e);var s=t==null?t:t[Pe(_e(e))];return s==null?a:ue(s,t,r)}function Ko(t){return Et(t)&&te(t)==Bt}function dh(t){return Et(t)&&te(t)==Ge}function gh(t){return Et(t)&&te(t)==De}function sr(t,e,r,s,p){return t===e?!0:t==null||e==null||!Et(t)&&!Et(e)?t!==t&&e!==e:vh(t,e,r,s,sr,p)}function vh(t,e,r,s,p,y){var L=ct(t),P=ct(e),T=L?zt:$t(t),D=P?zt:$t(e);T=T==Bt?se:T,D=D==Bt?se:D;var F=T==se,Z=D==se,K=T==D;if(K&&ln(t)){if(!ln(e))return!1;L=!0,F=!1}if(K&&!F)return y||(y=new Me),L||zn(t)?Cc(t,e,r,s,p,y):Zh(t,e,T,r,s,p,y);if(!(r&X)){var J=F&&At.call(t,"__wrapped__"),at=Z&&At.call(e,"__wrapped__");if(J||at){var lt=J?t.value():t,tt=at?e.value():e;return y||(y=new Me),p(lt,tt,r,s,y)}}return K?(y||(y=new Me),zh(t,e,r,s,p,y)):!1}function wh(t){return Et(t)&&$t(t)==Jt}function Ya(t,e,r,s){var p=r.length,y=p,L=!s;if(t==null)return!y;for(t=Pt(t);p--;){var P=r[p];if(L&&P[2]?P[1]!==t[P[0]]:!(P[0]in t))return!1}for(;++p<y;){P=r[p];var T=P[0],D=t[T],F=P[1];if(L&&P[2]){if(D===a&&!(T in t))return!1}else{var Z=new Me;if(s)var K=s(D,F,T,t,e,Z);if(!(K===a?sr(F,D,X|G,s,Z):K))return!1}}return!0}function $o(t){if(!Tt(t)||Vh(t))return!1;var e=Ye(t)?wl:cu;return e.test(Cn(t))}function yh(t){return Et(t)&&te(t)==Ne}function bh(t){return Et(t)&&$t(t)==Vt}function mh(t){return Et(t)&&la(t.length)&&!!Ct[te(t)]}function Qo(t){return typeof t=="function"?t:t==null?oe:typeof t=="object"?ct(t)?tc(t[0],t[1]):Vo(t):ms(t)}function Ka(t){if(!hr(t))return Ll(t);var e=[];for(var r in Pt(t))At.call(t,r)&&r!="constructor"&&e.push(r);return e}function xh(t){if(!Tt(t))return rf(t);var e=hr(t),r=[];for(var s in t)s=="constructor"&&(e||!At.call(t,s))||r.push(s);return r}function $a(t,e){return t<e}function Jo(t,e){var r=-1,s=ae(t)?E(t.length):[];return on(t,function(p,y,L){s[++r]=e(p,y,L)}),s}function Vo(t){var e=hi(t);return e.length==1&&e[0][2]?Ec(e[0][0],e[0][1]):function(r){return r===t||Ya(r,t,e)}}function tc(t,e){return pi(t)&&kc(e)?Ec(Pe(t),e):function(r){var s=Ai(r,t);return s===a&&s===e?Mi(r,t):sr(e,s,X|G)}}function Yr(t,e,r,s,p){t!==e&&za(e,function(y,L){if(p||(p=new Me),Tt(y))_h(t,e,L,r,Yr,s,p);else{var P=s?s(gi(t,L),y,L+"",t,e,p):a;P===a&&(P=y),Ga(t,L,P)}},ie)}function _h(t,e,r,s,p,y,L){var P=gi(t,r),T=gi(e,r),D=L.get(T);if(D){Ga(t,r,D);return}var F=y?y(P,T,r+"",t,e,L):a,Z=F===a;if(Z){var K=ct(T),J=!K&&ln(T),at=!K&&!J&&zn(T);F=T,K||J||at?ct(P)?F=P:Ot(P)?F=re(P):J?(Z=!1,F=fc(T,!0)):at?(Z=!1,F=pc(T,!0)):F=[]:pr(T)||In(T)?(F=P,In(P)?F=us(P):(!Tt(P)||Ye(P))&&(F=Tc(T))):Z=!1}Z&&(L.set(T,F),p(F,T,s,y,L),L.delete(T)),Ga(t,r,F)}function ec(t,e){var r=t.length;if(r)return e+=e<0?r:0,Xe(e,r)?t[e]:a}function nc(t,e,r){e.length?e=It(e,function(y){return ct(y)?function(L){return Pn(L,y.length===1?y[0]:y)}:y}):e=[oe];var s=-1;e=It(e,he(nt()));var p=Jo(t,function(y,L,P){var T=It(e,function(D){return D(y)});return{criteria:T,index:++s,value:y}});return Ku(p,function(y,L){return Oh(y,L,r)})}function Lh(t,e){return rc(t,e,function(r,s){return Mi(t,s)})}function rc(t,e,r){for(var s=-1,p=e.length,y={};++s<p;){var L=e[s],P=Pn(t,L);r(P,L)&&ur(y,sn(L,t),P)}return y}function Ah(t){return function(e){return Pn(e,t)}}function Qa(t,e,r,s){var p=s?Yu:En,y=-1,L=e.length,P=t;for(t===e&&(e=re(e)),r&&(P=It(t,he(r)));++y<L;)for(var T=0,D=e[y],F=r?r(D):D;(T=p(P,F,T,s))>-1;)P!==t&&Fr.call(P,T,1),Fr.call(t,T,1);return t}function ac(t,e){for(var r=t?e.length:0,s=r-1;r--;){var p=e[r];if(r==s||p!==y){var y=p;Xe(p)?Fr.call(t,p,1):ei(t,p)}}return t}function Ja(t,e){return t+Ur(Fo()*(e-t+1))}function Mh(t,e,r,s){for(var p=-1,y=Nt(Wr((e-t)/(r||1)),0),L=E(y);y--;)L[s?y:++p]=t,t+=r;return L}function Va(t,e){var r="";if(!t||e<1||e>et)return r;do e%2&&(r+=t),e=Ur(e/2),e&&(t+=t);while(e);return r}function ht(t,e){return vi(Bc(t,e,oe),t+"")}function Ph(t){return Uo(Hn(t))}function Sh(t,e){var r=Hn(t);return aa(r,Mn(e,0,r.length))}function ur(t,e,r,s){if(!Tt(t))return t;e=sn(e,t);for(var p=-1,y=e.length,L=y-1,P=t;P!=null&&++p<y;){var T=Pe(e[p]),D=r;if(T==="__proto__"||T==="constructor"||T==="prototype")return t;if(p!=L){var F=P[T];D=s?s(F,T,P):a,D===a&&(D=Tt(F)?F:Xe(e[p+1])?[]:{})}ir(P,T,D),P=P[T]}return t}var ic=Gr?function(t,e){return Gr.set(t,e),t}:oe,Ch=Nr?function(t,e){return Nr(t,"toString",{configurable:!0,enumerable:!1,value:Si(e),writable:!0})}:oe;function Ih(t){return aa(Hn(t))}function xe(t,e,r){var s=-1,p=t.length;e<0&&(e=-e>p?0:p+e),r=r>p?p:r,r<0&&(r+=p),p=e>r?0:r-e>>>0,e>>>=0;for(var y=E(p);++s<p;)y[s]=t[s+e];return y}function Rh(t,e){var r;return on(t,function(s,p,y){return r=e(s,p,y),!r}),!!r}function Kr(t,e,r){var s=0,p=t==null?s:t.length;if(typeof e=="number"&&e===e&&p<=Zt){for(;s<p;){var y=s+p>>>1,L=t[y];L!==null&&!pe(L)&&(r?L<=e:L<e)?s=y+1:p=y}return p}return ti(t,e,oe,r)}function ti(t,e,r,s){var p=0,y=t==null?0:t.length;if(y===0)return 0;e=r(e);for(var L=e!==e,P=e===null,T=pe(e),D=e===a;p<y;){var F=Ur((p+y)/2),Z=r(t[F]),K=Z!==a,J=Z===null,at=Z===Z,lt=pe(Z);if(L)var tt=s||at;else D?tt=at&&(s||K):P?tt=at&&K&&(s||!J):T?tt=at&&K&&!J&&(s||!lt):J||lt?tt=!1:tt=s?Z<=e:Z<e;tt?p=F+1:y=F}return Kt(y,Rt)}function oc(t,e){for(var r=-1,s=t.length,p=0,y=[];++r<s;){var L=t[r],P=e?e(L):L;if(!r||!Se(P,T)){var T=P;y[p++]=L===0?0:L}}return y}function cc(t){return typeof t=="number"?t:pe(t)?_t:+t}function fe(t){if(typeof t=="string")return t;if(ct(t))return It(t,fe)+"";if(pe(t))return No?No.call(t):"";var e=t+"";return e=="0"&&1/t==-dt?"-0":e}function cn(t,e,r){var s=-1,p=Cr,y=t.length,L=!0,P=[],T=P;if(r)L=!1,p=Ia;else if(y>=f){var D=e?null:Uh(t);if(D)return Rr(D);L=!1,p=Vn,T=new An}else T=e?[]:P;t:for(;++s<y;){var F=t[s],Z=e?e(F):F;if(F=r||F!==0?F:0,L&&Z===Z){for(var K=T.length;K--;)if(T[K]===Z)continue t;e&&T.push(Z),P.push(F)}else p(T,Z,r)||(T!==P&&T.push(Z),P.push(F))}return P}function ei(t,e){e=sn(e,t);var r=-1,s=e.length;if(!s)return!0;for(;++r<s;){var p=Pe(e[r]);if(p==="__proto__"&&!At.call(t,"__proto__")||(p==="constructor"||p==="prototype")&&r<s-1)return!1}var y=Oc(t,e);return y==null||delete y[Pe(_e(e))]}function sc(t,e,r,s){return ur(t,e,r(Pn(t,e)),s)}function $r(t,e,r,s){for(var p=t.length,y=s?p:-1;(s?y--:++y<p)&&e(t[y],y,t););return r?xe(t,s?0:y,s?y+1:p):xe(t,s?y+1:0,s?p:y)}function uc(t,e){var r=t;return r instanceof pt&&(r=r.value()),Ra(e,function(s,p){return p.func.apply(p.thisArg,nn([s],p.args))},r)}function ni(t,e,r){var s=t.length;if(s<2)return s?cn(t[0]):[];for(var p=-1,y=E(s);++p<s;)for(var L=t[p],P=-1;++P<s;)P!=p&&(y[p]=or(y[p]||L,t[P],e,r));return cn(qt(y,1),e,r)}function lc(t,e,r){for(var s=-1,p=t.length,y=e.length,L={};++s<p;){var P=s<y?e[s]:a;r(L,t[s],P)}return L}function ri(t){return Ot(t)?t:[]}function ai(t){return typeof t=="function"?t:oe}function sn(t,e){return ct(t)?t:pi(t,e)?[t]:Nc(Mt(t))}var Th=ht;function un(t,e,r){var s=t.length;return r=r===a?s:r,!e&&r>=s?t:xe(t,e,r)}var hc=yl||function(t){return Ht.clearTimeout(t)};function fc(t,e){if(e)return t.slice();var r=t.length,s=Eo?Eo(r):new t.constructor(r);return t.copy(s),s}function ii(t){var e=new t.constructor(t.byteLength);return new jr(e).set(new jr(t)),e}function kh(t,e){var r=e?ii(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}function Eh(t){var e=new t.constructor(t.source,Yi.exec(t));return e.lastIndex=t.lastIndex,e}function Bh(t){return ar?Pt(ar.call(t)):{}}function pc(t,e){var r=e?ii(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function dc(t,e){if(t!==e){var r=t!==a,s=t===null,p=t===t,y=pe(t),L=e!==a,P=e===null,T=e===e,D=pe(e);if(!P&&!D&&!y&&t>e||y&&L&&T&&!P&&!D||s&&L&&T||!r&&T||!p)return 1;if(!s&&!y&&!D&&t<e||D&&r&&p&&!s&&!y||P&&r&&p||!L&&p||!T)return-1}return 0}function Oh(t,e,r){for(var s=-1,p=t.criteria,y=e.criteria,L=p.length,P=r.length;++s<L;){var T=dc(p[s],y[s]);if(T){if(s>=P)return T;var D=r[s];return T*(D=="desc"?-1:1)}}return t.index-e.index}function gc(t,e,r,s){for(var p=-1,y=t.length,L=r.length,P=-1,T=e.length,D=Nt(y-L,0),F=E(T+D),Z=!s;++P<T;)F[P]=e[P];for(;++p<L;)(Z||p<y)&&(F[r[p]]=t[p]);for(;D--;)F[P++]=t[p++];return F}function vc(t,e,r,s){for(var p=-1,y=t.length,L=-1,P=r.length,T=-1,D=e.length,F=Nt(y-P,0),Z=E(F+D),K=!s;++p<F;)Z[p]=t[p];for(var J=p;++T<D;)Z[J+T]=e[T];for(;++L<P;)(K||p<y)&&(Z[J+r[L]]=t[p++]);return Z}function re(t,e){var r=-1,s=t.length;for(e||(e=E(s));++r<s;)e[r]=t[r];return e}function Ee(t,e,r,s){var p=!r;r||(r={});for(var y=-1,L=e.length;++y<L;){var P=e[y],T=s?s(r[P],t[P],P,r,t):a;T===a&&(T=t[P]),p?Te(r,P,T):ir(r,P,T)}return r}function jh(t,e){return Ee(t,fi(t),e)}function Dh(t,e){return Ee(t,Ic(t),e)}function Qr(t,e){return function(r,s){var p=ct(r)?Gu:ih,y=e?e():{};return p(r,t,nt(s,2),y)}}function Un(t){return ht(function(e,r){var s=-1,p=r.length,y=p>1?r[p-1]:a,L=p>2?r[2]:a;for(y=t.length>3&&typeof y=="function"?(p--,y):a,L&&ee(r[0],r[1],L)&&(y=p<3?a:y,p=1),e=Pt(e);++s<p;){var P=r[s];P&&t(e,P,s,y)}return e})}function wc(t,e){return function(r,s){if(r==null)return r;if(!ae(r))return t(r,s);for(var p=r.length,y=e?p:-1,L=Pt(r);(e?y--:++y<p)&&s(L[y],y,L)!==!1;);return r}}function yc(t){return function(e,r,s){for(var p=-1,y=Pt(e),L=s(e),P=L.length;P--;){var T=L[t?P:++p];if(r(y[T],T,y)===!1)break}return e}}function Fh(t,e,r){var s=e&h,p=lr(t);function y(){var L=this&&this!==Ht&&this instanceof y?p:t;return L.apply(s?r:this,arguments)}return y}function bc(t){return function(e){e=Mt(e);var r=Bn(e)?Ae(e):a,s=r?r[0]:e.charAt(0),p=r?un(r,1).join(""):e.slice(1);return s[t]()+p}}function Gn(t){return function(e){return Ra(ys(ws(e).replace(Cu,"")),t,"")}}function lr(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var r=Wn(t.prototype),s=t.apply(r,e);return Tt(s)?s:r}}function Nh(t,e,r){var s=lr(t);function p(){for(var y=arguments.length,L=E(y),P=y,T=Zn(p);P--;)L[P]=arguments[P];var D=y<3&&L[0]!==T&&L[y-1]!==T?[]:rn(L,T);if(y-=D.length,y<r)return Ac(t,e,Jr,p.placeholder,a,L,D,a,a,r-y);var F=this&&this!==Ht&&this instanceof p?s:t;return ue(F,this,L)}return p}function mc(t){return function(e,r,s){var p=Pt(e);if(!ae(e)){var y=nt(r,3);e=Gt(e),r=function(P){return y(p[P],P,p)}}var L=t(e,r,s);return L>-1?p[y?e[L]:L]:a}}function xc(t){return qe(function(e){var r=e.length,s=r,p=be.prototype.thru;for(t&&e.reverse();s--;){var y=e[s];if(typeof y!="function")throw new ye(w);if(p&&!L&&na(y)=="wrapper")var L=new be([],!0)}for(s=L?s:r;++s<r;){y=e[s];var P=na(y),T=P=="wrapper"?li(y):a;T&&di(T[0])&&T[1]==(M|c|b|k)&&!T[4].length&&T[9]==1?L=L[na(T[0])].apply(L,T[3]):L=y.length==1&&di(y)?L[P]():L.thru(y)}return function(){var D=arguments,F=D[0];if(L&&D.length==1&&ct(F))return L.plant(F).value();for(var Z=0,K=r?e[Z].apply(this,D):F;++Z<r;)K=e[Z].call(this,K);return K}})}function Jr(t,e,r,s,p,y,L,P,T,D){var F=e&M,Z=e&h,K=e&n,J=e&(c|g),at=e&W,lt=K?a:lr(t);function tt(){for(var ft=arguments.length,vt=E(ft),de=ft;de--;)vt[de]=arguments[de];if(J)var ne=Zn(tt),ge=Qu(vt,ne);if(s&&(vt=gc(vt,s,p,J)),y&&(vt=vc(vt,y,L,J)),ft-=ge,J&&ft<D){var jt=rn(vt,ne);return Ac(t,e,Jr,tt.placeholder,r,vt,jt,P,T,D-ft)}var Ce=Z?r:this,$e=K?Ce[t]:t;return ft=vt.length,P?vt=of(vt,P):at&&ft>1&&vt.reverse(),F&&T<ft&&(vt.length=T),this&&this!==Ht&&this instanceof tt&&($e=lt||lr($e)),$e.apply(Ce,vt)}return tt}function _c(t,e){return function(r,s){return ph(r,t,e(s),{})}}function Vr(t,e){return function(r,s){var p;if(r===a&&s===a)return e;if(r!==a&&(p=r),s!==a){if(p===a)return s;typeof r=="string"||typeof s=="string"?(r=fe(r),s=fe(s)):(r=cc(r),s=cc(s)),p=t(r,s)}return p}}function oi(t){return qe(function(e){return e=It(e,he(nt())),ht(function(r){var s=this;return t(e,function(p){return ue(p,s,r)})})})}function ta(t,e){e=e===a?" ":fe(e);var r=e.length;if(r<2)return r?Va(e,t):e;var s=Va(e,Wr(t/On(e)));return Bn(e)?un(Ae(s),0,t).join(""):s.slice(0,t)}function Wh(t,e,r,s){var p=e&h,y=lr(t);function L(){for(var P=-1,T=arguments.length,D=-1,F=s.length,Z=E(F+T),K=this&&this!==Ht&&this instanceof L?y:t;++D<F;)Z[D]=s[D];for(;T--;)Z[D++]=arguments[++P];return ue(K,p?r:this,Z)}return L}function Lc(t){return function(e,r,s){return s&&typeof s!="number"&&ee(e,r,s)&&(r=s=a),e=Ke(e),r===a?(r=e,e=0):r=Ke(r),s=s===a?e<r?1:-1:Ke(s),Mh(e,r,s,t)}}function ea(t){return function(e,r){return typeof e=="string"&&typeof r=="string"||(e=Le(e),r=Le(r)),t(e,r)}}function Ac(t,e,r,s,p,y,L,P,T,D){var F=e&c,Z=F?L:a,K=F?a:L,J=F?y:a,at=F?a:y;e|=F?b:I,e&=~(F?I:b),e&u||(e&=-4);var lt=[t,e,p,J,Z,at,K,P,T,D],tt=r.apply(a,lt);return di(t)&&jc(tt,lt),tt.placeholder=s,Dc(tt,t,e)}function ci(t){var e=Ft[t];return function(r,s){if(r=Le(r),s=s==null?0:Kt(ut(s),292),s&&Do(r)){var p=(Mt(r)+"e").split("e"),y=e(p[0]+"e"+(+p[1]+s));return p=(Mt(y)+"e").split("e"),+(p[0]+"e"+(+p[1]-s))}return e(r)}}var Uh=Fn&&1/Rr(new Fn([,-0]))[1]==dt?function(t){return new Fn(t)}:Ri;function Mc(t){return function(e){var r=$t(e);return r==Jt?Da(e):r==Vt?al(e):$u(e,t(e))}}function He(t,e,r,s,p,y,L,P){var T=e&n;if(!T&&typeof t!="function")throw new ye(w);var D=s?s.length:0;if(D||(e&=-97,s=p=a),L=L===a?L:Nt(ut(L),0),P=P===a?P:ut(P),D-=p?p.length:0,e&I){var F=s,Z=p;s=p=a}var K=T?a:li(t),J=[t,e,r,s,p,F,Z,y,L,P];if(K&&nf(J,K),t=J[0],e=J[1],r=J[2],s=J[3],p=J[4],P=J[9]=J[9]===a?T?0:t.length:Nt(J[9]-D,0),!P&&e&(c|g)&&(e&=-25),!e||e==h)var at=Fh(t,e,r);else e==c||e==g?at=Nh(t,e,P):(e==b||e==(h|b))&&!p.length?at=Wh(t,e,r,s):at=Jr.apply(a,J);var lt=K?ic:jc;return Dc(lt(at,J),t,e)}function Pc(t,e,r,s){return t===a||Se(t,Dn[r])&&!At.call(s,r)?e:t}function Sc(t,e,r,s,p,y){return Tt(t)&&Tt(e)&&(y.set(e,t),Yr(t,e,a,Sc,y),y.delete(e)),t}function Gh(t){return pr(t)?a:t}function Cc(t,e,r,s,p,y){var L=r&X,P=t.length,T=e.length;if(P!=T&&!(L&&T>P))return!1;var D=y.get(t),F=y.get(e);if(D&&F)return D==e&&F==t;var Z=-1,K=!0,J=r&G?new An:a;for(y.set(t,e),y.set(e,t);++Z<P;){var at=t[Z],lt=e[Z];if(s)var tt=L?s(lt,at,Z,e,t,y):s(at,lt,Z,t,e,y);if(tt!==a){if(tt)continue;K=!1;break}if(J){if(!Ta(e,function(ft,vt){if(!Vn(J,vt)&&(at===ft||p(at,ft,r,s,y)))return J.push(vt)})){K=!1;break}}else if(!(at===lt||p(at,lt,r,s,y))){K=!1;break}}return y.delete(t),y.delete(e),K}function Zh(t,e,r,s,p,y,L){switch(r){case Re:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Ge:return!(t.byteLength!=e.byteLength||!y(new jr(t),new jr(e)));case je:case De:case Fe:return Se(+t,+e);case Je:return t.name==e.name&&t.message==e.message;case Ne:case We:return t==e+"";case Jt:var P=Da;case Vt:var T=s&X;if(P||(P=Rr),t.size!=e.size&&!T)return!1;var D=L.get(t);if(D)return D==e;s|=G,L.set(t,e);var F=Cc(P(t),P(e),s,p,y,L);return L.delete(t),F;case tn:if(ar)return ar.call(t)==ar.call(e)}return!1}function zh(t,e,r,s,p,y){var L=r&X,P=si(t),T=P.length,D=si(e),F=D.length;if(T!=F&&!L)return!1;for(var Z=T;Z--;){var K=P[Z];if(!(L?K in e:At.call(e,K)))return!1}var J=y.get(t),at=y.get(e);if(J&&at)return J==e&&at==t;var lt=!0;y.set(t,e),y.set(e,t);for(var tt=L;++Z<T;){K=P[Z];var ft=t[K],vt=e[K];if(s)var de=L?s(vt,ft,K,e,t,y):s(ft,vt,K,t,e,y);if(!(de===a?ft===vt||p(ft,vt,r,s,y):de)){lt=!1;break}tt||(tt=K=="constructor")}if(lt&&!tt){var ne=t.constructor,ge=e.constructor;ne!=ge&&"constructor"in t&&"constructor"in e&&!(typeof ne=="function"&&ne instanceof ne&&typeof ge=="function"&&ge instanceof ge)&&(lt=!1)}return y.delete(t),y.delete(e),lt}function qe(t){return vi(Bc(t,a,Zc),t+"")}function si(t){return Yo(t,Gt,fi)}function ui(t){return Yo(t,ie,Ic)}var li=Gr?function(t){return Gr.get(t)}:Ri;function na(t){for(var e=t.name+"",r=Nn[e],s=At.call(Nn,e)?r.length:0;s--;){var p=r[s],y=p.func;if(y==null||y==t)return p.name}return e}function Zn(t){var e=At.call(v,"placeholder")?v:t;return e.placeholder}function nt(){var t=v.iteratee||Ci;return t=t===Ci?Qo:t,arguments.length?t(arguments[0],arguments[1]):t}function ra(t,e){var r=t.__data__;return Jh(e)?r[typeof e=="string"?"string":"hash"]:r.map}function hi(t){for(var e=Gt(t),r=e.length;r--;){var s=e[r],p=t[s];e[r]=[s,p,kc(p)]}return e}function Sn(t,e){var r=el(t,e);return $o(r)?r:a}function Hh(t){var e=At.call(t,_n),r=t[_n];try{t[_n]=a;var s=!0}catch{}var p=Br.call(t);return s&&(e?t[_n]=r:delete t[_n]),p}var fi=Na?function(t){return t==null?[]:(t=Pt(t),en(Na(t),function(e){return Oo.call(t,e)}))}:Ti,Ic=Na?function(t){for(var e=[];t;)nn(e,fi(t)),t=Dr(t);return e}:Ti,$t=te;(Wa&&$t(new Wa(new ArrayBuffer(1)))!=Re||er&&$t(new er)!=Jt||Ua&&$t(Ua.resolve())!=Tn||Fn&&$t(new Fn)!=Vt||nr&&$t(new nr)!=Ue)&&($t=function(t){var e=te(t),r=e==se?t.constructor:a,s=r?Cn(r):"";if(s)switch(s){case Sl:return Re;case Cl:return Jt;case Il:return Tn;case Rl:return Vt;case Tl:return Ue}return e});function qh(t,e,r){for(var s=-1,p=r.length;++s<p;){var y=r[s],L=y.size;switch(y.type){case"drop":t+=L;break;case"dropRight":e-=L;break;case"take":e=Kt(e,t+L);break;case"takeRight":t=Nt(t,e-L);break}}return{start:t,end:e}}function Xh(t){var e=t.match(tu);return e?e[1].split(eu):[]}function Rc(t,e,r){e=sn(e,t);for(var s=-1,p=e.length,y=!1;++s<p;){var L=Pe(e[s]);if(!(y=t!=null&&r(t,L)))break;t=t[L]}return y||++s!=p?y:(p=t==null?0:t.length,!!p&&la(p)&&Xe(L,p)&&(ct(t)||In(t)))}function Yh(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]=="string"&&At.call(t,"index")&&(r.index=t.index,r.input=t.input),r}function Tc(t){return typeof t.constructor=="function"&&!hr(t)?Wn(Dr(t)):{}}function Kh(t,e,r){var s=t.constructor;switch(e){case Ge:return ii(t);case je:case De:return new s(+t);case Re:return kh(t,r);case fn:case pn:case dn:case gn:case vn:case wn:case yn:case bn:case mn:return pc(t,r);case Jt:return new s;case Fe:case We:return new s(t);case Ne:return Eh(t);case Vt:return new s;case tn:return Bh(t)}}function $h(t,e){var r=e.length;if(!r)return t;var s=r-1;return e[s]=(r>1?"& ":"")+e[s],e=e.join(r>2?", ":" "),t.replace(Vs,`{
|
|
9
|
+
/* [wrapped with `+e+`] */
|
|
10
|
+
`)}function Qh(t){return ct(t)||In(t)||!!(jo&&t&&t[jo])}function Xe(t,e){var r=typeof t;return e=e??et,!!e&&(r=="number"||r!="symbol"&&uu.test(t))&&t>-1&&t%1==0&&t<e}function ee(t,e,r){if(!Tt(r))return!1;var s=typeof e;return(s=="number"?ae(r)&&Xe(e,r.length):s=="string"&&e in r)?Se(r[e],t):!1}function pi(t,e){if(ct(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||pe(t)?!0:Ks.test(t)||!Ys.test(t)||e!=null&&t in Pt(e)}function Jh(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function di(t){var e=na(t),r=v[e];if(typeof r!="function"||!(e in pt.prototype))return!1;if(t===r)return!0;var s=li(r);return!!s&&t===s[0]}function Vh(t){return!!ko&&ko in t}var tf=kr?Ye:ki;function hr(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||Dn;return t===r}function kc(t){return t===t&&!Tt(t)}function Ec(t,e){return function(r){return r==null?!1:r[t]===e&&(e!==a||t in Pt(r))}}function ef(t){var e=sa(t,function(s){return r.size===S&&r.clear(),s}),r=e.cache;return e}function nf(t,e){var r=t[1],s=e[1],p=r|s,y=p<(h|n|M),L=s==M&&r==c||s==M&&r==k&&t[7].length<=e[8]||s==(M|k)&&e[7].length<=e[8]&&r==c;if(!(y||L))return t;s&h&&(t[2]=e[2],p|=r&h?0:u);var P=e[3];if(P){var T=t[3];t[3]=T?gc(T,P,e[4]):P,t[4]=T?rn(t[3],C):e[4]}return P=e[5],P&&(T=t[5],t[5]=T?vc(T,P,e[6]):P,t[6]=T?rn(t[5],C):e[6]),P=e[7],P&&(t[7]=P),s&M&&(t[8]=t[8]==null?e[8]:Kt(t[8],e[8])),t[9]==null&&(t[9]=e[9]),t[0]=e[0],t[1]=p,t}function rf(t){var e=[];if(t!=null)for(var r in Pt(t))e.push(r);return e}function af(t){return Br.call(t)}function Bc(t,e,r){return e=Nt(e===a?t.length-1:e,0),function(){for(var s=arguments,p=-1,y=Nt(s.length-e,0),L=E(y);++p<y;)L[p]=s[e+p];p=-1;for(var P=E(e+1);++p<e;)P[p]=s[p];return P[e]=r(L),ue(t,this,P)}}function Oc(t,e){return e.length<2?t:Pn(t,xe(e,0,-1))}function of(t,e){for(var r=t.length,s=Kt(e.length,r),p=re(t);s--;){var y=e[s];t[s]=Xe(y,r)?p[y]:a}return t}function gi(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var jc=Fc(ic),fr=ml||function(t,e){return Ht.setTimeout(t,e)},vi=Fc(Ch);function Dc(t,e,r){var s=e+"";return vi(t,$h(s,cf(Xh(s),r)))}function Fc(t){var e=0,r=0;return function(){var s=Al(),p=rt-(s-r);if(r=s,p>0){if(++e>=Q)return arguments[0]}else e=0;return t.apply(a,arguments)}}function aa(t,e){var r=-1,s=t.length,p=s-1;for(e=e===a?s:e;++r<e;){var y=Ja(r,p),L=t[y];t[y]=t[r],t[r]=L}return t.length=e,t}var Nc=ef(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace($s,function(r,s,p,y){e.push(p?y.replace(ru,"$1"):s||r)}),e});function Pe(t){if(typeof t=="string"||pe(t))return t;var e=t+"";return e=="0"&&1/t==-dt?"-0":e}function Cn(t){if(t!=null){try{return Er.call(t)}catch{}try{return t+""}catch{}}return""}function cf(t,e){return le(Yt,function(r){var s="_."+r[0];e&r[1]&&!Cr(t,s)&&t.push(s)}),t.sort()}function Wc(t){if(t instanceof pt)return t.clone();var e=new be(t.__wrapped__,t.__chain__);return e.__actions__=re(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function sf(t,e,r){(r?ee(t,e,r):e===a)?e=1:e=Nt(ut(e),0);var s=t==null?0:t.length;if(!s||e<1)return[];for(var p=0,y=0,L=E(Wr(s/e));p<s;)L[y++]=xe(t,p,p+=e);return L}function uf(t){for(var e=-1,r=t==null?0:t.length,s=0,p=[];++e<r;){var y=t[e];y&&(p[s++]=y)}return p}function lf(){var t=arguments.length;if(!t)return[];for(var e=E(t-1),r=arguments[0],s=t;s--;)e[s-1]=arguments[s];return nn(ct(r)?re(r):[r],qt(e,1))}var hf=ht(function(t,e){return Ot(t)?or(t,qt(e,1,Ot,!0)):[]}),ff=ht(function(t,e){var r=_e(e);return Ot(r)&&(r=a),Ot(t)?or(t,qt(e,1,Ot,!0),nt(r,2)):[]}),pf=ht(function(t,e){var r=_e(e);return Ot(r)&&(r=a),Ot(t)?or(t,qt(e,1,Ot,!0),a,r):[]});function df(t,e,r){var s=t==null?0:t.length;return s?(e=r||e===a?1:ut(e),xe(t,e<0?0:e,s)):[]}function gf(t,e,r){var s=t==null?0:t.length;return s?(e=r||e===a?1:ut(e),e=s-e,xe(t,0,e<0?0:e)):[]}function vf(t,e){return t&&t.length?$r(t,nt(e,3),!0,!0):[]}function wf(t,e){return t&&t.length?$r(t,nt(e,3),!0):[]}function yf(t,e,r,s){var p=t==null?0:t.length;return p?(r&&typeof r!="number"&&ee(t,e,r)&&(r=0,s=p),uh(t,e,r,s)):[]}function Uc(t,e,r){var s=t==null?0:t.length;if(!s)return-1;var p=r==null?0:ut(r);return p<0&&(p=Nt(s+p,0)),Ir(t,nt(e,3),p)}function Gc(t,e,r){var s=t==null?0:t.length;if(!s)return-1;var p=s-1;return r!==a&&(p=ut(r),p=r<0?Nt(s+p,0):Kt(p,s-1)),Ir(t,nt(e,3),p,!0)}function Zc(t){var e=t==null?0:t.length;return e?qt(t,1):[]}function bf(t){var e=t==null?0:t.length;return e?qt(t,dt):[]}function mf(t,e){var r=t==null?0:t.length;return r?(e=e===a?1:ut(e),qt(t,e)):[]}function xf(t){for(var e=-1,r=t==null?0:t.length,s={};++e<r;){var p=t[e];Te(s,p[0],p[1])}return s}function zc(t){return t&&t.length?t[0]:a}function _f(t,e,r){var s=t==null?0:t.length;if(!s)return-1;var p=r==null?0:ut(r);return p<0&&(p=Nt(s+p,0)),En(t,e,p)}function Lf(t){var e=t==null?0:t.length;return e?xe(t,0,-1):[]}var Af=ht(function(t){var e=It(t,ri);return e.length&&e[0]===t[0]?Xa(e):[]}),Mf=ht(function(t){var e=_e(t),r=It(t,ri);return e===_e(r)?e=a:r.pop(),r.length&&r[0]===t[0]?Xa(r,nt(e,2)):[]}),Pf=ht(function(t){var e=_e(t),r=It(t,ri);return e=typeof e=="function"?e:a,e&&r.pop(),r.length&&r[0]===t[0]?Xa(r,a,e):[]});function Sf(t,e){return t==null?"":_l.call(t,e)}function _e(t){var e=t==null?0:t.length;return e?t[e-1]:a}function Cf(t,e,r){var s=t==null?0:t.length;if(!s)return-1;var p=s;return r!==a&&(p=ut(r),p=p<0?Nt(s+p,0):Kt(p,s-1)),e===e?ol(t,e,p):Ir(t,Ao,p,!0)}function If(t,e){return t&&t.length?ec(t,ut(e)):a}var Rf=ht(Hc);function Hc(t,e){return t&&t.length&&e&&e.length?Qa(t,e):t}function Tf(t,e,r){return t&&t.length&&e&&e.length?Qa(t,e,nt(r,2)):t}function kf(t,e,r){return t&&t.length&&e&&e.length?Qa(t,e,a,r):t}var Ef=qe(function(t,e){var r=t==null?0:t.length,s=Za(t,e);return ac(t,It(e,function(p){return Xe(p,r)?+p:p}).sort(dc)),s});function Bf(t,e){var r=[];if(!(t&&t.length))return r;var s=-1,p=[],y=t.length;for(e=nt(e,3);++s<y;){var L=t[s];e(L,s,t)&&(r.push(L),p.push(s))}return ac(t,p),r}function wi(t){return t==null?t:Pl.call(t)}function Of(t,e,r){var s=t==null?0:t.length;return s?(r&&typeof r!="number"&&ee(t,e,r)?(e=0,r=s):(e=e==null?0:ut(e),r=r===a?s:ut(r)),xe(t,e,r)):[]}function jf(t,e){return Kr(t,e)}function Df(t,e,r){return ti(t,e,nt(r,2))}function Ff(t,e){var r=t==null?0:t.length;if(r){var s=Kr(t,e);if(s<r&&Se(t[s],e))return s}return-1}function Nf(t,e){return Kr(t,e,!0)}function Wf(t,e,r){return ti(t,e,nt(r,2),!0)}function Uf(t,e){var r=t==null?0:t.length;if(r){var s=Kr(t,e,!0)-1;if(Se(t[s],e))return s}return-1}function Gf(t){return t&&t.length?oc(t):[]}function Zf(t,e){return t&&t.length?oc(t,nt(e,2)):[]}function zf(t){var e=t==null?0:t.length;return e?xe(t,1,e):[]}function Hf(t,e,r){return t&&t.length?(e=r||e===a?1:ut(e),xe(t,0,e<0?0:e)):[]}function qf(t,e,r){var s=t==null?0:t.length;return s?(e=r||e===a?1:ut(e),e=s-e,xe(t,e<0?0:e,s)):[]}function Xf(t,e){return t&&t.length?$r(t,nt(e,3),!1,!0):[]}function Yf(t,e){return t&&t.length?$r(t,nt(e,3)):[]}var Kf=ht(function(t){return cn(qt(t,1,Ot,!0))}),$f=ht(function(t){var e=_e(t);return Ot(e)&&(e=a),cn(qt(t,1,Ot,!0),nt(e,2))}),Qf=ht(function(t){var e=_e(t);return e=typeof e=="function"?e:a,cn(qt(t,1,Ot,!0),a,e)});function Jf(t){return t&&t.length?cn(t):[]}function Vf(t,e){return t&&t.length?cn(t,nt(e,2)):[]}function tp(t,e){return e=typeof e=="function"?e:a,t&&t.length?cn(t,a,e):[]}function yi(t){if(!(t&&t.length))return[];var e=0;return t=en(t,function(r){if(Ot(r))return e=Nt(r.length,e),!0}),Oa(e,function(r){return It(t,ka(r))})}function qc(t,e){if(!(t&&t.length))return[];var r=yi(t);return e==null?r:It(r,function(s){return ue(e,a,s)})}var ep=ht(function(t,e){return Ot(t)?or(t,e):[]}),np=ht(function(t){return ni(en(t,Ot))}),rp=ht(function(t){var e=_e(t);return Ot(e)&&(e=a),ni(en(t,Ot),nt(e,2))}),ap=ht(function(t){var e=_e(t);return e=typeof e=="function"?e:a,ni(en(t,Ot),a,e)}),ip=ht(yi);function op(t,e){return lc(t||[],e||[],ir)}function cp(t,e){return lc(t||[],e||[],ur)}var sp=ht(function(t){var e=t.length,r=e>1?t[e-1]:a;return r=typeof r=="function"?(t.pop(),r):a,qc(t,r)});function Xc(t){var e=v(t);return e.__chain__=!0,e}function up(t,e){return e(t),t}function ia(t,e){return e(t)}var lp=qe(function(t){var e=t.length,r=e?t[0]:0,s=this.__wrapped__,p=function(y){return Za(y,t)};return e>1||this.__actions__.length||!(s instanceof pt)||!Xe(r)?this.thru(p):(s=s.slice(r,+r+(e?1:0)),s.__actions__.push({func:ia,args:[p],thisArg:a}),new be(s,this.__chain__).thru(function(y){return e&&!y.length&&y.push(a),y}))});function hp(){return Xc(this)}function fp(){return new be(this.value(),this.__chain__)}function pp(){this.__values__===a&&(this.__values__=cs(this.value()));var t=this.__index__>=this.__values__.length,e=t?a:this.__values__[this.__index__++];return{done:t,value:e}}function dp(){return this}function gp(t){for(var e,r=this;r instanceof zr;){var s=Wc(r);s.__index__=0,s.__values__=a,e?p.__wrapped__=s:e=s;var p=s;r=r.__wrapped__}return p.__wrapped__=t,e}function vp(){var t=this.__wrapped__;if(t instanceof pt){var e=t;return this.__actions__.length&&(e=new pt(this)),e=e.reverse(),e.__actions__.push({func:ia,args:[wi],thisArg:a}),new be(e,this.__chain__)}return this.thru(wi)}function wp(){return uc(this.__wrapped__,this.__actions__)}var yp=Qr(function(t,e,r){At.call(t,r)?++t[r]:Te(t,r,1)});function bp(t,e,r){var s=ct(t)?_o:sh;return r&&ee(t,e,r)&&(e=a),s(t,nt(e,3))}function mp(t,e){var r=ct(t)?en:qo;return r(t,nt(e,3))}var xp=mc(Uc),_p=mc(Gc);function Lp(t,e){return qt(oa(t,e),1)}function Ap(t,e){return qt(oa(t,e),dt)}function Mp(t,e,r){return r=r===a?1:ut(r),qt(oa(t,e),r)}function Yc(t,e){var r=ct(t)?le:on;return r(t,nt(e,3))}function Kc(t,e){var r=ct(t)?Zu:Ho;return r(t,nt(e,3))}var Pp=Qr(function(t,e,r){At.call(t,r)?t[r].push(e):Te(t,r,[e])});function Sp(t,e,r,s){t=ae(t)?t:Hn(t),r=r&&!s?ut(r):0;var p=t.length;return r<0&&(r=Nt(p+r,0)),ha(t)?r<=p&&t.indexOf(e,r)>-1:!!p&&En(t,e,r)>-1}var Cp=ht(function(t,e,r){var s=-1,p=typeof e=="function",y=ae(t)?E(t.length):[];return on(t,function(L){y[++s]=p?ue(e,L,r):cr(L,e,r)}),y}),Ip=Qr(function(t,e,r){Te(t,r,e)});function oa(t,e){var r=ct(t)?It:Jo;return r(t,nt(e,3))}function Rp(t,e,r,s){return t==null?[]:(ct(e)||(e=e==null?[]:[e]),r=s?a:r,ct(r)||(r=r==null?[]:[r]),nc(t,e,r))}var Tp=Qr(function(t,e,r){t[r?0:1].push(e)},function(){return[[],[]]});function kp(t,e,r){var s=ct(t)?Ra:Po,p=arguments.length<3;return s(t,nt(e,4),r,p,on)}function Ep(t,e,r){var s=ct(t)?zu:Po,p=arguments.length<3;return s(t,nt(e,4),r,p,Ho)}function Bp(t,e){var r=ct(t)?en:qo;return r(t,ua(nt(e,3)))}function Op(t){var e=ct(t)?Uo:Ph;return e(t)}function jp(t,e,r){(r?ee(t,e,r):e===a)?e=1:e=ut(e);var s=ct(t)?rh:Sh;return s(t,e)}function Dp(t){var e=ct(t)?ah:Ih;return e(t)}function Fp(t){if(t==null)return 0;if(ae(t))return ha(t)?On(t):t.length;var e=$t(t);return e==Jt||e==Vt?t.size:Ka(t).length}function Np(t,e,r){var s=ct(t)?Ta:Rh;return r&&ee(t,e,r)&&(e=a),s(t,nt(e,3))}var Wp=ht(function(t,e){if(t==null)return[];var r=e.length;return r>1&&ee(t,e[0],e[1])?e=[]:r>2&&ee(e[0],e[1],e[2])&&(e=[e[0]]),nc(t,qt(e,1),[])}),ca=bl||function(){return Ht.Date.now()};function Up(t,e){if(typeof e!="function")throw new ye(w);return t=ut(t),function(){if(--t<1)return e.apply(this,arguments)}}function $c(t,e,r){return e=r?a:e,e=t&&e==null?t.length:e,He(t,M,a,a,a,a,e)}function Qc(t,e){var r;if(typeof e!="function")throw new ye(w);return t=ut(t),function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=a),r}}var bi=ht(function(t,e,r){var s=h;if(r.length){var p=rn(r,Zn(bi));s|=b}return He(t,s,e,r,p)}),Jc=ht(function(t,e,r){var s=h|n;if(r.length){var p=rn(r,Zn(Jc));s|=b}return He(e,s,t,r,p)});function Vc(t,e,r){e=r?a:e;var s=He(t,c,a,a,a,a,a,e);return s.placeholder=Vc.placeholder,s}function ts(t,e,r){e=r?a:e;var s=He(t,g,a,a,a,a,a,e);return s.placeholder=ts.placeholder,s}function es(t,e,r){var s,p,y,L,P,T,D=0,F=!1,Z=!1,K=!0;if(typeof t!="function")throw new ye(w);e=Le(e)||0,Tt(r)&&(F=!!r.leading,Z="maxWait"in r,y=Z?Nt(Le(r.maxWait)||0,e):y,K="trailing"in r?!!r.trailing:K);function J(jt){var Ce=s,$e=p;return s=p=a,D=jt,L=t.apply($e,Ce),L}function at(jt){return D=jt,P=fr(ft,e),F?J(jt):L}function lt(jt){var Ce=jt-T,$e=jt-D,xs=e-Ce;return Z?Kt(xs,y-$e):xs}function tt(jt){var Ce=jt-T,$e=jt-D;return T===a||Ce>=e||Ce<0||Z&&$e>=y}function ft(){var jt=ca();if(tt(jt))return vt(jt);P=fr(ft,lt(jt))}function vt(jt){return P=a,K&&s?J(jt):(s=p=a,L)}function de(){P!==a&&hc(P),D=0,s=T=p=P=a}function ne(){return P===a?L:vt(ca())}function ge(){var jt=ca(),Ce=tt(jt);if(s=arguments,p=this,T=jt,Ce){if(P===a)return at(T);if(Z)return hc(P),P=fr(ft,e),J(T)}return P===a&&(P=fr(ft,e)),L}return ge.cancel=de,ge.flush=ne,ge}var Gp=ht(function(t,e){return zo(t,1,e)}),Zp=ht(function(t,e,r){return zo(t,Le(e)||0,r)});function zp(t){return He(t,W)}function sa(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new ye(w);var r=function(){var s=arguments,p=e?e.apply(this,s):s[0],y=r.cache;if(y.has(p))return y.get(p);var L=t.apply(this,s);return r.cache=y.set(p,L)||y,L};return r.cache=new(sa.Cache||ze),r}sa.Cache=ze;function ua(t){if(typeof t!="function")throw new ye(w);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Hp(t){return Qc(2,t)}var qp=Th(function(t,e){e=e.length==1&&ct(e[0])?It(e[0],he(nt())):It(qt(e,1),he(nt()));var r=e.length;return ht(function(s){for(var p=-1,y=Kt(s.length,r);++p<y;)s[p]=e[p].call(this,s[p]);return ue(t,this,s)})}),mi=ht(function(t,e){var r=rn(e,Zn(mi));return He(t,b,a,e,r)}),ns=ht(function(t,e){var r=rn(e,Zn(ns));return He(t,I,a,e,r)}),Xp=qe(function(t,e){return He(t,k,a,a,a,e)});function Yp(t,e){if(typeof t!="function")throw new ye(w);return e=e===a?e:ut(e),ht(t,e)}function Kp(t,e){if(typeof t!="function")throw new ye(w);return e=e==null?0:Nt(ut(e),0),ht(function(r){var s=r[e],p=un(r,0,e);return s&&nn(p,s),ue(t,this,p)})}function $p(t,e,r){var s=!0,p=!0;if(typeof t!="function")throw new ye(w);return Tt(r)&&(s="leading"in r?!!r.leading:s,p="trailing"in r?!!r.trailing:p),es(t,e,{leading:s,maxWait:e,trailing:p})}function Qp(t){return $c(t,1)}function Jp(t,e){return mi(ai(e),t)}function Vp(){if(!arguments.length)return[];var t=arguments[0];return ct(t)?t:[t]}function td(t){return me(t,z)}function ed(t,e){return e=typeof e=="function"?e:a,me(t,z,e)}function nd(t){return me(t,U|z)}function rd(t,e){return e=typeof e=="function"?e:a,me(t,U|z,e)}function ad(t,e){return e==null||Zo(t,e,Gt(e))}function Se(t,e){return t===e||t!==t&&e!==e}var id=ea(qa),od=ea(function(t,e){return t>=e}),In=Ko((function(){return arguments})())?Ko:function(t){return Et(t)&&At.call(t,"callee")&&!Oo.call(t,"callee")},ct=E.isArray,cd=vo?he(vo):dh;function ae(t){return t!=null&&la(t.length)&&!Ye(t)}function Ot(t){return Et(t)&&ae(t)}function sd(t){return t===!0||t===!1||Et(t)&&te(t)==je}var ln=xl||ki,ud=wo?he(wo):gh;function ld(t){return Et(t)&&t.nodeType===1&&!pr(t)}function hd(t){if(t==null)return!0;if(ae(t)&&(ct(t)||typeof t=="string"||typeof t.splice=="function"||ln(t)||zn(t)||In(t)))return!t.length;var e=$t(t);if(e==Jt||e==Vt)return!t.size;if(hr(t))return!Ka(t).length;for(var r in t)if(At.call(t,r))return!1;return!0}function fd(t,e){return sr(t,e)}function pd(t,e,r){r=typeof r=="function"?r:a;var s=r?r(t,e):a;return s===a?sr(t,e,a,r):!!s}function xi(t){if(!Et(t))return!1;var e=te(t);return e==Je||e==Yn||typeof t.message=="string"&&typeof t.name=="string"&&!pr(t)}function dd(t){return typeof t=="number"&&Do(t)}function Ye(t){if(!Tt(t))return!1;var e=te(t);return e==Ve||e==Rn||e==ve||e==$n}function rs(t){return typeof t=="number"&&t==ut(t)}function la(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=et}function Tt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function Et(t){return t!=null&&typeof t=="object"}var as=yo?he(yo):wh;function gd(t,e){return t===e||Ya(t,e,hi(e))}function vd(t,e,r){return r=typeof r=="function"?r:a,Ya(t,e,hi(e),r)}function wd(t){return is(t)&&t!=+t}function yd(t){if(tf(t))throw new it(d);return $o(t)}function bd(t){return t===null}function md(t){return t==null}function is(t){return typeof t=="number"||Et(t)&&te(t)==Fe}function pr(t){if(!Et(t)||te(t)!=se)return!1;var e=Dr(t);if(e===null)return!0;var r=At.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Er.call(r)==gl}var _i=bo?he(bo):yh;function xd(t){return rs(t)&&t>=-et&&t<=et}var os=mo?he(mo):bh;function ha(t){return typeof t=="string"||!ct(t)&&Et(t)&&te(t)==We}function pe(t){return typeof t=="symbol"||Et(t)&&te(t)==tn}var zn=xo?he(xo):mh;function _d(t){return t===a}function Ld(t){return Et(t)&&$t(t)==Ue}function Ad(t){return Et(t)&&te(t)==Jn}var Md=ea($a),Pd=ea(function(t,e){return t<=e});function cs(t){if(!t)return[];if(ae(t))return ha(t)?Ae(t):re(t);if(tr&&t[tr])return rl(t[tr]());var e=$t(t),r=e==Jt?Da:e==Vt?Rr:Hn;return r(t)}function Ke(t){if(!t)return t===0?t:0;if(t=Le(t),t===dt||t===-dt){var e=t<0?-1:1;return e*bt}return t===t?t:0}function ut(t){var e=Ke(t),r=e%1;return e===e?r?e-r:e:0}function ss(t){return t?Mn(ut(t),0,Lt):0}function Le(t){if(typeof t=="number")return t;if(pe(t))return _t;if(Tt(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Tt(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=So(t);var r=ou.test(t);return r||su.test(t)?Wu(t.slice(2),r?2:8):iu.test(t)?_t:+t}function us(t){return Ee(t,ie(t))}function Sd(t){return t?Mn(ut(t),-et,et):t===0?t:0}function Mt(t){return t==null?"":fe(t)}var Cd=Un(function(t,e){if(hr(e)||ae(e)){Ee(e,Gt(e),t);return}for(var r in e)At.call(e,r)&&ir(t,r,e[r])}),ls=Un(function(t,e){Ee(e,ie(e),t)}),hs=Un(function(t,e,r,s){Ee(e,ie(e),t,s)}),Li=Un(function(t,e,r,s){Ee(e,Gt(e),t,s)}),Id=qe(Za);function Rd(t,e){var r=Wn(t);return e==null?r:Go(r,e)}var Td=ht(function(t,e){t=Pt(t);var r=-1,s=e.length,p=s>2?e[2]:a;for(p&&ee(e[0],e[1],p)&&(s=1);++r<s;)for(var y=e[r],L=ie(y),P=-1,T=L.length;++P<T;){var D=L[P],F=t[D];(F===a||Se(F,Dn[D])&&!At.call(t,D))&&(t[D]=y[D])}return t}),kd=ht(function(t){return t.push(a,Sc),ue(fs,a,t)});function Ed(t,e){return Lo(t,nt(e,3),ke)}function Bd(t,e){return Lo(t,nt(e,3),Ha)}function Od(t,e){return t==null?t:za(t,nt(e,3),ie)}function jd(t,e){return t==null?t:Xo(t,nt(e,3),ie)}function Dd(t,e){return t&&ke(t,nt(e,3))}function Fd(t,e){return t&&Ha(t,nt(e,3))}function Nd(t){return t==null?[]:Xr(t,Gt(t))}function Wd(t){return t==null?[]:Xr(t,ie(t))}function Ai(t,e,r){var s=t==null?a:Pn(t,e);return s===a?r:s}function Ud(t,e){return t!=null&&Rc(t,e,lh)}function Mi(t,e){return t!=null&&Rc(t,e,hh)}var Gd=_c(function(t,e,r){e!=null&&typeof e.toString!="function"&&(e=Br.call(e)),t[e]=r},Si(oe)),Zd=_c(function(t,e,r){e!=null&&typeof e.toString!="function"&&(e=Br.call(e)),At.call(t,e)?t[e].push(r):t[e]=[r]},nt),zd=ht(cr);function Gt(t){return ae(t)?Wo(t):Ka(t)}function ie(t){return ae(t)?Wo(t,!0):xh(t)}function Hd(t,e){var r={};return e=nt(e,3),ke(t,function(s,p,y){Te(r,e(s,p,y),s)}),r}function qd(t,e){var r={};return e=nt(e,3),ke(t,function(s,p,y){Te(r,p,e(s,p,y))}),r}var Xd=Un(function(t,e,r){Yr(t,e,r)}),fs=Un(function(t,e,r,s){Yr(t,e,r,s)}),Yd=qe(function(t,e){var r={};if(t==null)return r;var s=!1;e=It(e,function(y){return y=sn(y,t),s||(s=y.length>1),y}),Ee(t,ui(t),r),s&&(r=me(r,U|B|z,Gh));for(var p=e.length;p--;)ei(r,e[p]);return r});function Kd(t,e){return ps(t,ua(nt(e)))}var $d=qe(function(t,e){return t==null?{}:Lh(t,e)});function ps(t,e){if(t==null)return{};var r=It(ui(t),function(s){return[s]});return e=nt(e),rc(t,r,function(s,p){return e(s,p[0])})}function Qd(t,e,r){e=sn(e,t);var s=-1,p=e.length;for(p||(p=1,t=a);++s<p;){var y=t==null?a:t[Pe(e[s])];y===a&&(s=p,y=r),t=Ye(y)?y.call(t):y}return t}function Jd(t,e,r){return t==null?t:ur(t,e,r)}function Vd(t,e,r,s){return s=typeof s=="function"?s:a,t==null?t:ur(t,e,r,s)}var ds=Mc(Gt),gs=Mc(ie);function t0(t,e,r){var s=ct(t),p=s||ln(t)||zn(t);if(e=nt(e,4),r==null){var y=t&&t.constructor;p?r=s?new y:[]:Tt(t)?r=Ye(y)?Wn(Dr(t)):{}:r={}}return(p?le:ke)(t,function(L,P,T){return e(r,L,P,T)}),r}function e0(t,e){return t==null?!0:ei(t,e)}function n0(t,e,r){return t==null?t:sc(t,e,ai(r))}function r0(t,e,r,s){return s=typeof s=="function"?s:a,t==null?t:sc(t,e,ai(r),s)}function Hn(t){return t==null?[]:ja(t,Gt(t))}function a0(t){return t==null?[]:ja(t,ie(t))}function i0(t,e,r){return r===a&&(r=e,e=a),r!==a&&(r=Le(r),r=r===r?r:0),e!==a&&(e=Le(e),e=e===e?e:0),Mn(Le(t),e,r)}function o0(t,e,r){return e=Ke(e),r===a?(r=e,e=0):r=Ke(r),t=Le(t),fh(t,e,r)}function c0(t,e,r){if(r&&typeof r!="boolean"&&ee(t,e,r)&&(e=r=a),r===a&&(typeof e=="boolean"?(r=e,e=a):typeof t=="boolean"&&(r=t,t=a)),t===a&&e===a?(t=0,e=1):(t=Ke(t),e===a?(e=t,t=0):e=Ke(e)),t>e){var s=t;t=e,e=s}if(r||t%1||e%1){var p=Fo();return Kt(t+p*(e-t+Nu("1e-"+((p+"").length-1))),e)}return Ja(t,e)}var s0=Gn(function(t,e,r){return e=e.toLowerCase(),t+(r?vs(e):e)});function vs(t){return Pi(Mt(t).toLowerCase())}function ws(t){return t=Mt(t),t&&t.replace(lu,Ju).replace(Iu,"")}function u0(t,e,r){t=Mt(t),e=fe(e);var s=t.length;r=r===a?s:Mn(ut(r),0,s);var p=r;return r-=e.length,r>=0&&t.slice(r,p)==e}function l0(t){return t=Mt(t),t&&Hs.test(t)?t.replace(Hi,Vu):t}function h0(t){return t=Mt(t),t&&Qs.test(t)?t.replace(ma,"\\$&"):t}var f0=Gn(function(t,e,r){return t+(r?"-":"")+e.toLowerCase()}),p0=Gn(function(t,e,r){return t+(r?" ":"")+e.toLowerCase()}),d0=bc("toLowerCase");function g0(t,e,r){t=Mt(t),e=ut(e);var s=e?On(t):0;if(!e||s>=e)return t;var p=(e-s)/2;return ta(Ur(p),r)+t+ta(Wr(p),r)}function v0(t,e,r){t=Mt(t),e=ut(e);var s=e?On(t):0;return e&&s<e?t+ta(e-s,r):t}function w0(t,e,r){t=Mt(t),e=ut(e);var s=e?On(t):0;return e&&s<e?ta(e-s,r)+t:t}function y0(t,e,r){return r||e==null?e=0:e&&(e=+e),Ml(Mt(t).replace(xa,""),e||0)}function b0(t,e,r){return(r?ee(t,e,r):e===a)?e=1:e=ut(e),Va(Mt(t),e)}function m0(){var t=arguments,e=Mt(t[0]);return t.length<3?e:e.replace(t[1],t[2])}var x0=Gn(function(t,e,r){return t+(r?"_":"")+e.toLowerCase()});function _0(t,e,r){return r&&typeof r!="number"&&ee(t,e,r)&&(e=r=a),r=r===a?Lt:r>>>0,r?(t=Mt(t),t&&(typeof e=="string"||e!=null&&!_i(e))&&(e=fe(e),!e&&Bn(t))?un(Ae(t),0,r):t.split(e,r)):[]}var L0=Gn(function(t,e,r){return t+(r?" ":"")+Pi(e)});function A0(t,e,r){return t=Mt(t),r=r==null?0:Mn(ut(r),0,t.length),e=fe(e),t.slice(r,r+e.length)==e}function M0(t,e,r){var s=v.templateSettings;r&&ee(t,e,r)&&(e=a),t=Mt(t),e=Li({},e,s,Pc);var p=Li({},e.imports,s.imports,Pc),y=Gt(p),L=ja(p,y);le(y,function(tt){if(Xi.test(tt))throw new it(x)});var P,T,D=0,F=e.interpolate||Mr,Z="__p += '",K=Fa((e.escape||Mr).source+"|"+F.source+"|"+(F===qi?au:Mr).source+"|"+(e.evaluate||Mr).source+"|$","g"),J="//# sourceURL="+(At.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Bu+"]")+`
|
|
11
|
+
`;t.replace(K,function(tt,ft,vt,de,ne,ge){return vt||(vt=de),Z+=t.slice(D,ge).replace(hu,tl),ft&&(P=!0,Z+=`' +
|
|
12
|
+
__e(`+ft+`) +
|
|
13
|
+
'`),ne&&(T=!0,Z+=`';
|
|
14
|
+
`+ne+`;
|
|
15
|
+
__p += '`),vt&&(Z+=`' +
|
|
16
|
+
((__t = (`+vt+`)) == null ? '' : __t) +
|
|
17
|
+
'`),D=ge+tt.length,tt}),Z+=`';
|
|
18
|
+
`;var at=At.call(e,"variable")&&e.variable;if(!at)Z=`with (obj) {
|
|
19
|
+
`+Z+`
|
|
20
|
+
}
|
|
21
|
+
`;else if(Xi.test(at))throw new it(_);Z=(T?Z.replace(gt,""):Z).replace(Dt,"$1").replace(Zs,"$1;"),Z="function("+(at||"obj")+`) {
|
|
22
|
+
`+(at?"":`obj || (obj = {});
|
|
23
|
+
`)+"var __t, __p = ''"+(P?", __e = _.escape":"")+(T?`, __j = Array.prototype.join;
|
|
24
|
+
function print() { __p += __j.call(arguments, '') }
|
|
25
|
+
`:`;
|
|
26
|
+
`)+Z+`return __p
|
|
27
|
+
}`;var lt=bs(function(){return mt(y,J+"return "+Z).apply(a,L)});if(lt.source=Z,xi(lt))throw lt;return lt}function P0(t){return Mt(t).toLowerCase()}function S0(t){return Mt(t).toUpperCase()}function C0(t,e,r){if(t=Mt(t),t&&(r||e===a))return So(t);if(!t||!(e=fe(e)))return t;var s=Ae(t),p=Ae(e),y=Co(s,p),L=Io(s,p)+1;return un(s,y,L).join("")}function I0(t,e,r){if(t=Mt(t),t&&(r||e===a))return t.slice(0,To(t)+1);if(!t||!(e=fe(e)))return t;var s=Ae(t),p=Io(s,Ae(e))+1;return un(s,0,p).join("")}function R0(t,e,r){if(t=Mt(t),t&&(r||e===a))return t.replace(xa,"");if(!t||!(e=fe(e)))return t;var s=Ae(t),p=Co(s,Ae(e));return un(s,p).join("")}function T0(t,e){var r=H,s=Y;if(Tt(e)){var p="separator"in e?e.separator:p;r="length"in e?ut(e.length):r,s="omission"in e?fe(e.omission):s}t=Mt(t);var y=t.length;if(Bn(t)){var L=Ae(t);y=L.length}if(r>=y)return t;var P=r-On(s);if(P<1)return s;var T=L?un(L,0,P).join(""):t.slice(0,P);if(p===a)return T+s;if(L&&(P+=T.length-P),_i(p)){if(t.slice(P).search(p)){var D,F=T;for(p.global||(p=Fa(p.source,Mt(Yi.exec(p))+"g")),p.lastIndex=0;D=p.exec(F);)var Z=D.index;T=T.slice(0,Z===a?P:Z)}}else if(t.indexOf(fe(p),P)!=P){var K=T.lastIndexOf(p);K>-1&&(T=T.slice(0,K))}return T+s}function k0(t){return t=Mt(t),t&&zs.test(t)?t.replace(zi,cl):t}var E0=Gn(function(t,e,r){return t+(r?" ":"")+e.toUpperCase()}),Pi=bc("toUpperCase");function ys(t,e,r){return t=Mt(t),e=r?a:e,e===a?nl(t)?ll(t):Xu(t):t.match(e)||[]}var bs=ht(function(t,e){try{return ue(t,a,e)}catch(r){return xi(r)?r:new it(r)}}),B0=qe(function(t,e){return le(e,function(r){r=Pe(r),Te(t,r,bi(t[r],t))}),t});function O0(t){var e=t==null?0:t.length,r=nt();return t=e?It(t,function(s){if(typeof s[1]!="function")throw new ye(w);return[r(s[0]),s[1]]}):[],ht(function(s){for(var p=-1;++p<e;){var y=t[p];if(ue(y[0],this,s))return ue(y[1],this,s)}})}function j0(t){return ch(me(t,U))}function Si(t){return function(){return t}}function D0(t,e){return t==null||t!==t?e:t}var F0=xc(),N0=xc(!0);function oe(t){return t}function Ci(t){return Qo(typeof t=="function"?t:me(t,U))}function W0(t){return Vo(me(t,U))}function U0(t,e){return tc(t,me(e,U))}var G0=ht(function(t,e){return function(r){return cr(r,t,e)}}),Z0=ht(function(t,e){return function(r){return cr(t,r,e)}});function Ii(t,e,r){var s=Gt(e),p=Xr(e,s);r==null&&!(Tt(e)&&(p.length||!s.length))&&(r=e,e=t,t=this,p=Xr(e,Gt(e)));var y=!(Tt(r)&&"chain"in r)||!!r.chain,L=Ye(t);return le(p,function(P){var T=e[P];t[P]=T,L&&(t.prototype[P]=function(){var D=this.__chain__;if(y||D){var F=t(this.__wrapped__),Z=F.__actions__=re(this.__actions__);return Z.push({func:T,args:arguments,thisArg:t}),F.__chain__=D,F}return T.apply(t,nn([this.value()],arguments))})}),t}function z0(){return Ht._===this&&(Ht._=vl),this}function Ri(){}function H0(t){return t=ut(t),ht(function(e){return ec(e,t)})}var q0=oi(It),X0=oi(_o),Y0=oi(Ta);function ms(t){return pi(t)?ka(Pe(t)):Ah(t)}function K0(t){return function(e){return t==null?a:Pn(t,e)}}var $0=Lc(),Q0=Lc(!0);function Ti(){return[]}function ki(){return!1}function J0(){return{}}function V0(){return""}function tg(){return!0}function eg(t,e){if(t=ut(t),t<1||t>et)return[];var r=Lt,s=Kt(t,Lt);e=nt(e),t-=Lt;for(var p=Oa(s,e);++r<t;)e(r);return p}function ng(t){return ct(t)?It(t,Pe):pe(t)?[t]:re(Nc(Mt(t)))}function rg(t){var e=++dl;return Mt(t)+e}var ag=Vr(function(t,e){return t+e},0),ig=ci("ceil"),og=Vr(function(t,e){return t/e},1),cg=ci("floor");function sg(t){return t&&t.length?qr(t,oe,qa):a}function ug(t,e){return t&&t.length?qr(t,nt(e,2),qa):a}function lg(t){return Mo(t,oe)}function hg(t,e){return Mo(t,nt(e,2))}function fg(t){return t&&t.length?qr(t,oe,$a):a}function pg(t,e){return t&&t.length?qr(t,nt(e,2),$a):a}var dg=Vr(function(t,e){return t*e},1),gg=ci("round"),vg=Vr(function(t,e){return t-e},0);function wg(t){return t&&t.length?Ba(t,oe):0}function yg(t,e){return t&&t.length?Ba(t,nt(e,2)):0}return v.after=Up,v.ary=$c,v.assign=Cd,v.assignIn=ls,v.assignInWith=hs,v.assignWith=Li,v.at=Id,v.before=Qc,v.bind=bi,v.bindAll=B0,v.bindKey=Jc,v.castArray=Vp,v.chain=Xc,v.chunk=sf,v.compact=uf,v.concat=lf,v.cond=O0,v.conforms=j0,v.constant=Si,v.countBy=yp,v.create=Rd,v.curry=Vc,v.curryRight=ts,v.debounce=es,v.defaults=Td,v.defaultsDeep=kd,v.defer=Gp,v.delay=Zp,v.difference=hf,v.differenceBy=ff,v.differenceWith=pf,v.drop=df,v.dropRight=gf,v.dropRightWhile=vf,v.dropWhile=wf,v.fill=yf,v.filter=mp,v.flatMap=Lp,v.flatMapDeep=Ap,v.flatMapDepth=Mp,v.flatten=Zc,v.flattenDeep=bf,v.flattenDepth=mf,v.flip=zp,v.flow=F0,v.flowRight=N0,v.fromPairs=xf,v.functions=Nd,v.functionsIn=Wd,v.groupBy=Pp,v.initial=Lf,v.intersection=Af,v.intersectionBy=Mf,v.intersectionWith=Pf,v.invert=Gd,v.invertBy=Zd,v.invokeMap=Cp,v.iteratee=Ci,v.keyBy=Ip,v.keys=Gt,v.keysIn=ie,v.map=oa,v.mapKeys=Hd,v.mapValues=qd,v.matches=W0,v.matchesProperty=U0,v.memoize=sa,v.merge=Xd,v.mergeWith=fs,v.method=G0,v.methodOf=Z0,v.mixin=Ii,v.negate=ua,v.nthArg=H0,v.omit=Yd,v.omitBy=Kd,v.once=Hp,v.orderBy=Rp,v.over=q0,v.overArgs=qp,v.overEvery=X0,v.overSome=Y0,v.partial=mi,v.partialRight=ns,v.partition=Tp,v.pick=$d,v.pickBy=ps,v.property=ms,v.propertyOf=K0,v.pull=Rf,v.pullAll=Hc,v.pullAllBy=Tf,v.pullAllWith=kf,v.pullAt=Ef,v.range=$0,v.rangeRight=Q0,v.rearg=Xp,v.reject=Bp,v.remove=Bf,v.rest=Yp,v.reverse=wi,v.sampleSize=jp,v.set=Jd,v.setWith=Vd,v.shuffle=Dp,v.slice=Of,v.sortBy=Wp,v.sortedUniq=Gf,v.sortedUniqBy=Zf,v.split=_0,v.spread=Kp,v.tail=zf,v.take=Hf,v.takeRight=qf,v.takeRightWhile=Xf,v.takeWhile=Yf,v.tap=up,v.throttle=$p,v.thru=ia,v.toArray=cs,v.toPairs=ds,v.toPairsIn=gs,v.toPath=ng,v.toPlainObject=us,v.transform=t0,v.unary=Qp,v.union=Kf,v.unionBy=$f,v.unionWith=Qf,v.uniq=Jf,v.uniqBy=Vf,v.uniqWith=tp,v.unset=e0,v.unzip=yi,v.unzipWith=qc,v.update=n0,v.updateWith=r0,v.values=Hn,v.valuesIn=a0,v.without=ep,v.words=ys,v.wrap=Jp,v.xor=np,v.xorBy=rp,v.xorWith=ap,v.zip=ip,v.zipObject=op,v.zipObjectDeep=cp,v.zipWith=sp,v.entries=ds,v.entriesIn=gs,v.extend=ls,v.extendWith=hs,Ii(v,v),v.add=ag,v.attempt=bs,v.camelCase=s0,v.capitalize=vs,v.ceil=ig,v.clamp=i0,v.clone=td,v.cloneDeep=nd,v.cloneDeepWith=rd,v.cloneWith=ed,v.conformsTo=ad,v.deburr=ws,v.defaultTo=D0,v.divide=og,v.endsWith=u0,v.eq=Se,v.escape=l0,v.escapeRegExp=h0,v.every=bp,v.find=xp,v.findIndex=Uc,v.findKey=Ed,v.findLast=_p,v.findLastIndex=Gc,v.findLastKey=Bd,v.floor=cg,v.forEach=Yc,v.forEachRight=Kc,v.forIn=Od,v.forInRight=jd,v.forOwn=Dd,v.forOwnRight=Fd,v.get=Ai,v.gt=id,v.gte=od,v.has=Ud,v.hasIn=Mi,v.head=zc,v.identity=oe,v.includes=Sp,v.indexOf=_f,v.inRange=o0,v.invoke=zd,v.isArguments=In,v.isArray=ct,v.isArrayBuffer=cd,v.isArrayLike=ae,v.isArrayLikeObject=Ot,v.isBoolean=sd,v.isBuffer=ln,v.isDate=ud,v.isElement=ld,v.isEmpty=hd,v.isEqual=fd,v.isEqualWith=pd,v.isError=xi,v.isFinite=dd,v.isFunction=Ye,v.isInteger=rs,v.isLength=la,v.isMap=as,v.isMatch=gd,v.isMatchWith=vd,v.isNaN=wd,v.isNative=yd,v.isNil=md,v.isNull=bd,v.isNumber=is,v.isObject=Tt,v.isObjectLike=Et,v.isPlainObject=pr,v.isRegExp=_i,v.isSafeInteger=xd,v.isSet=os,v.isString=ha,v.isSymbol=pe,v.isTypedArray=zn,v.isUndefined=_d,v.isWeakMap=Ld,v.isWeakSet=Ad,v.join=Sf,v.kebabCase=f0,v.last=_e,v.lastIndexOf=Cf,v.lowerCase=p0,v.lowerFirst=d0,v.lt=Md,v.lte=Pd,v.max=sg,v.maxBy=ug,v.mean=lg,v.meanBy=hg,v.min=fg,v.minBy=pg,v.stubArray=Ti,v.stubFalse=ki,v.stubObject=J0,v.stubString=V0,v.stubTrue=tg,v.multiply=dg,v.nth=If,v.noConflict=z0,v.noop=Ri,v.now=ca,v.pad=g0,v.padEnd=v0,v.padStart=w0,v.parseInt=y0,v.random=c0,v.reduce=kp,v.reduceRight=Ep,v.repeat=b0,v.replace=m0,v.result=Qd,v.round=gg,v.runInContext=R,v.sample=Op,v.size=Fp,v.snakeCase=x0,v.some=Np,v.sortedIndex=jf,v.sortedIndexBy=Df,v.sortedIndexOf=Ff,v.sortedLastIndex=Nf,v.sortedLastIndexBy=Wf,v.sortedLastIndexOf=Uf,v.startCase=L0,v.startsWith=A0,v.subtract=vg,v.sum=wg,v.sumBy=yg,v.template=M0,v.times=eg,v.toFinite=Ke,v.toInteger=ut,v.toLength=ss,v.toLower=P0,v.toNumber=Le,v.toSafeInteger=Sd,v.toString=Mt,v.toUpper=S0,v.trim=C0,v.trimEnd=I0,v.trimStart=R0,v.truncate=T0,v.unescape=k0,v.uniqueId=rg,v.upperCase=E0,v.upperFirst=Pi,v.each=Yc,v.eachRight=Kc,v.first=zc,Ii(v,(function(){var t={};return ke(v,function(e,r){At.call(v.prototype,r)||(t[r]=e)}),t})(),{chain:!1}),v.VERSION=i,le(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){v[t].placeholder=v}),le(["drop","take"],function(t,e){pt.prototype[t]=function(r){r=r===a?1:Nt(ut(r),0);var s=this.__filtered__&&!e?new pt(this):this.clone();return s.__filtered__?s.__takeCount__=Kt(r,s.__takeCount__):s.__views__.push({size:Kt(r,Lt),type:t+(s.__dir__<0?"Right":"")}),s},pt.prototype[t+"Right"]=function(r){return this.reverse()[t](r).reverse()}}),le(["filter","map","takeWhile"],function(t,e){var r=e+1,s=r==ot||r==yt;pt.prototype[t]=function(p){var y=this.clone();return y.__iteratees__.push({iteratee:nt(p,3),type:r}),y.__filtered__=y.__filtered__||s,y}}),le(["head","last"],function(t,e){var r="take"+(e?"Right":"");pt.prototype[t]=function(){return this[r](1).value()[0]}}),le(["initial","tail"],function(t,e){var r="drop"+(e?"":"Right");pt.prototype[t]=function(){return this.__filtered__?new pt(this):this[r](1)}}),pt.prototype.compact=function(){return this.filter(oe)},pt.prototype.find=function(t){return this.filter(t).head()},pt.prototype.findLast=function(t){return this.reverse().find(t)},pt.prototype.invokeMap=ht(function(t,e){return typeof t=="function"?new pt(this):this.map(function(r){return cr(r,t,e)})}),pt.prototype.reject=function(t){return this.filter(ua(nt(t)))},pt.prototype.slice=function(t,e){t=ut(t);var r=this;return r.__filtered__&&(t>0||e<0)?new pt(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),e!==a&&(e=ut(e),r=e<0?r.dropRight(-e):r.take(e-t)),r)},pt.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},pt.prototype.toArray=function(){return this.take(Lt)},ke(pt.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),s=/^(?:head|last)$/.test(e),p=v[s?"take"+(e=="last"?"Right":""):e],y=s||/^find/.test(e);p&&(v.prototype[e]=function(){var L=this.__wrapped__,P=s?[1]:arguments,T=L instanceof pt,D=P[0],F=T||ct(L),Z=function(ft){var vt=p.apply(v,nn([ft],P));return s&&K?vt[0]:vt};F&&r&&typeof D=="function"&&D.length!=1&&(T=F=!1);var K=this.__chain__,J=!!this.__actions__.length,at=y&&!K,lt=T&&!J;if(!y&&F){L=lt?L:new pt(this);var tt=t.apply(L,P);return tt.__actions__.push({func:ia,args:[Z],thisArg:a}),new be(tt,K)}return at&<?t.apply(this,P):(tt=this.thru(Z),at?s?tt.value()[0]:tt.value():tt)})}),le(["pop","push","shift","sort","splice","unshift"],function(t){var e=Tr[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",s=/^(?:pop|shift)$/.test(t);v.prototype[t]=function(){var p=arguments;if(s&&!this.__chain__){var y=this.value();return e.apply(ct(y)?y:[],p)}return this[r](function(L){return e.apply(ct(L)?L:[],p)})}}),ke(pt.prototype,function(t,e){var r=v[e];if(r){var s=r.name+"";At.call(Nn,s)||(Nn[s]=[]),Nn[s].push({name:e,func:r})}}),Nn[Jr(a,n).name]=[{name:"wrapper",func:a}],pt.prototype.clone=kl,pt.prototype.reverse=El,pt.prototype.value=Bl,v.prototype.at=lp,v.prototype.chain=hp,v.prototype.commit=fp,v.prototype.next=pp,v.prototype.plant=gp,v.prototype.reverse=vp,v.prototype.toJSON=v.prototype.valueOf=v.prototype.value=wp,v.prototype.first=v.prototype.head,tr&&(v.prototype[tr]=dp),v}),jn=hl();xn?((xn.exports=jn)._=jn,Sa._=jn):Ht._=jn}).call(xg)})(wr,wr.exports)),wr.exports}var m=_g(),Xt=[];for(var Ei=0;Ei<256;++Ei)Xt.push((Ei+256).toString(16).slice(1));function Lg(l,o=0){return(Xt[l[o+0]]+Xt[l[o+1]]+Xt[l[o+2]]+Xt[l[o+3]]+"-"+Xt[l[o+4]]+Xt[l[o+5]]+"-"+Xt[l[o+6]]+Xt[l[o+7]]+"-"+Xt[l[o+8]]+Xt[l[o+9]]+"-"+Xt[l[o+10]]+Xt[l[o+11]]+Xt[l[o+12]]+Xt[l[o+13]]+Xt[l[o+14]]+Xt[l[o+15]]).toLowerCase()}var pa,Ag=new Uint8Array(16);function Mg(){if(!pa&&(pa=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!pa))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return pa(Ag)}var Pg=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const Ls={randomUUID:Pg};function Sg(l,o,a){if(Ls.randomUUID&&!l)return Ls.randomUUID();l=l||{};var i=l.random||(l.rng||Mg)();return i[6]=i[6]&15|64,i[8]=i[8]&63|128,Lg(i)}var ga=1;function ce(l){var o=60,a=62,i=45,f=47,d=33,w=39,_=34,x=63,A=`\r
|
|
28
|
+
>/= `,S=0;return ga=1,Ds((function C(){for(var U=[];l[S];){if(l.charCodeAt(S)==o){if(l.charCodeAt(S+1)===f)return S=l.indexOf(">",S),U;if(l.charCodeAt(S+1)===d){if(l.charCodeAt(S+2)==i){for(;l.charCodeAt(S)!==a||l.charCodeAt(S-1)!=i||l.charCodeAt(S-2)!=i||S==-1;)S=l.indexOf(">",S+1);S===-1&&(S=l.length)}else for(S+=2;l.charCodeAt(S)!==a;S++);S++;continue}if(l.charCodeAt(S+1)===x){S=l.indexOf(">",S),S++;continue}for(var B=++S;A.indexOf(l[S])===-1;S++);for(var z=l.slice(B,S),X=!1,G={};l.charCodeAt(S)!==a;S++){var h=l.charCodeAt(S);if(h>64&&h<91||h>96&&h<123){for(B=S;A.indexOf(l[S])===-1;S++);for(var n=l.slice(B,S),u=l.charCodeAt(S);u!==w&&u!==_;)S++,u=l.charCodeAt(S);var c=l[S],g=++S;S=l.indexOf(c,g);var b=l.slice(g,S);X||(G={},X=!0),G[n]=b}}var I=[];l.charCodeAt(S-1)!==f&&(S++,I=C()),U.push({children:I,tagName:z,attrs:G})}else{var M=S;(S=l.indexOf("<",S)-1)===-2&&(S=l.length);var k=l.slice(M,S+1);k.length>0&&U.push(k)}S++}return U})())}function Ds(l){var o={};if(l===void 0)return{};if(l.length===1&&typeof l[0]=="string")return l[0];for(var a in l.forEach((function(i){if(o[i.tagName]||(o[i.tagName]=[]),typeof i=="object"){var f=Ds(i.children);typeof f=="object"&&(i.attrs&&(f.attrs=i.attrs),f.attrs===void 0?f.attrs={order:ga}:f.attrs.order=ga),ga++,o[i.tagName].push(f)}})),o)o[a].length==1&&(o[a]=o[a][0]);return o}function qn(l){return Math.abs(l)>2e4?"emu":"point"}function xt(l){return l/12700}function Be(l){return l/20}function va(l){return l/100}function ba(l){return l/6e4}function hn(l){return l/1e5}function Bi(l){var o=Math.ceil(l/26),a=(l%26||26)-1+65;return String.fromCharCode(a).repeat(o)}function kt(l,o,a){var i={type:"solidFill"};if(l["a:srgbClr"])i.color="#"+l["a:srgbClr"].attrs.val;else if(l["a:schemeClr"]){var f=l["a:schemeClr"].attrs.val;a&&(f=a.getColorThemeName(f)),i.color=o.getColor(f)}else if(l["a:sysClr"])i.color="#"+l["a:sysClr"].attrs.lastClr;else if(l["a:prstClr"]){var d=m.get(l["a:prstClr"],["attrs","val"]);i.color=(function(U){var B,z=["white","AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","RebeccaPurple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"],X=["ffffff","f0f8ff","faebd7","00ffff","7fffd4","f0ffff","f5f5dc","ffe4c4","000000","ffebcd","0000ff","8a2be2","a52a2a","deb887","5f9ea0","7fff00","d2691e","ff7f50","6495ed","fff8dc","dc143c","00ffff","00008b","008b8b","b8860b","a9a9a9","a9a9a9","006400","bdb76b","8b008b","556b2f","ff8c00","9932cc","8b0000","e9967a","8fbc8f","483d8b","2f4f4f","2f4f4f","00ced1","9400d3","ff1493","00bfff","696969","696969","1e90ff","b22222","fffaf0","228b22","ff00ff","dcdcdc","f8f8ff","ffd700","daa520","808080","808080","008000","adff2f","f0fff0","ff69b4","cd5c5c","4b0082","fffff0","f0e68c","e6e6fa","fff0f5","7cfc00","fffacd","add8e6","f08080","e0ffff","fafad2","d3d3d3","d3d3d3","90ee90","ffb6c1","ffa07a","20b2aa","87cefa","778899","778899","b0c4de","ffffe0","00ff00","32cd32","faf0e6","ff00ff","800000","66cdaa","0000cd","ba55d3","9370db","3cb371","7b68ee","00fa9a","48d1cc","c71585","191970","f5fffa","ffe4e1","ffe4b5","ffdead","000080","fdf5e6","808000","6b8e23","ffa500","ff4500","da70d6","eee8aa","98fb98","afeeee","db7093","ffefd5","ffdab9","cd853f","ffc0cb","dda0dd","b0e0e6","800080","663399","ff0000","bc8f8f","4169e1","8b4513","fa8072","f4a460","2e8b57","fff5ee","a0522d","c0c0c0","87ceeb","6a5acd","708090","708090","fffafa","00ff7f","4682b4","d2b48c","008080","d8bfd8","ff6347","40e0d0","ee82ee","f5deb3","ffffff","f5f5f5","ffff00","9acd32"],G=z.indexOf(U);return G!=-1&&(B=X[G]),"#".concat(B||"000000")})(d)}var w=l["a:srgbClr"]||l["a:schemeClr"]||l["a:sysClr"],_=m.get(w,["a:alpha","attrs","val"],1e5);i.alpha=_/1e5;var x=m.get(w,["a:shade","attrs","val"]);x&&(i.shade=x/1e5);var A=m.get(w,["a:lumMod","attrs","val"]);A&&(i.lumMod=A/1e5);var S=m.get(w,["a:lumOff","attrs","val"]);S&&(i.lumOff=S/1e5);var C=m.get(w,["a:tint","attrs","val"]);return C&&(i.tint=C/1e5),i}function xr(l,o,a){var i,f={type:"blipFill"},d=m.get(l,["a:blip","attrs","r:embed"]);if(d){var w=(i=a.rels[d])===null||i===void 0?void 0:i.target;w&&(f.base64=o.getMedia(w))}var _=m.get(l,["a:blip","a:alphaModFix","attrs","amt"]);_&&(f.alpha=_/1e5);var x=m.get(l,["a:stretch","a:fillRect","attrs"]);return x&&(f.fillRect={},x.b&&(f.fillRect.b=x.b/1e5),x.t&&(f.fillRect.t=x.t/1e5),x.r&&(f.fillRect.r=x.r/1e5),x.l&&(f.fillRect.l=x.l/1e5)),f}function _r(l,o,a){var i={type:"gradFill",tileRect:{},lin:{},gsList:[]};i.flip=l.attrs.flip,i.path=m.get(l,["a:path","attrs","path"])||"linear",i.rotWithShape=l.attrs.rotWithShape==="1",m.get(l,["a:lin","attrs","ang"])&&(i.lin.ang=ba(l["a:lin"].attrs.ang)),m.get(l,["a:lin","attrs","scaled"])&&(i.lin.scaled=l["a:lin"].attrs.scaled==="1");var f=m.get(l,["a:gsLst","a:gs"])||[];return i.gsList=f.map((function(d){return{color:kt(d,o,a),pos:hn(d.attrs.pos)}})),m.get(l,["a:tileRect","attrs","l"])&&(i.tileRect.l=hn(l["a:tileRect"].attrs.l)),m.get(l,["a:tileRect","attrs","t"])&&(i.tileRect.t=hn(l["a:tileRect"].attrs.t)),m.get(l,["a:tileRect","attrs","r"])&&(i.tileRect.r=hn(l["a:tileRect"].attrs.r)),m.get(l,["a:tileRect","attrs","b"])&&(i.tileRect.b=hn(l["a:tileRect"].attrs.b)),i}function Oi(l){return l<=.04045?l/12.92:Math.pow((l+.055)/1.055,2.4)}function ji(l){return l<.0031308?12.92*l:1.055*Math.pow(l,1/2.4)-.055}function As(l,o){var a=l[0],i=l[1],f=l[2],d=Oi(a/255)*o,w=Oi(i/255)*o,_=Oi(f/255)*o;return[Math.round(255*ji(d)),Math.round(255*ji(w)),Math.round(255*ji(_))]}function Di(l,o,a){var i=l/255,f=o/255,d=a/255,w=Math.max(i,f,d),_=Math.min(i,f,d),x=w-_,A=0,S=(w+_)/2;return x===0?A=0:w===i?A=(f-d)/x%6:w===f?A=(d-i)/x+2:w===d&&(A=(i-f)/x+4),(A=Math.round(60*A))<0&&(A+=360),{h:A,s:x===0||S===0||S===1?0:x/(1-Math.abs(2*S-1)),l:S}}function Fi(l,o,a){var i,f,d,w=(1-Math.abs(2*a-1))*o,_=w*(1-Math.abs(l/60%2-1)),x=a-w/2;return l<60?(i=w,f=_,d=0):l<120?(i=_,f=w,d=0):l<180?(i=0,f=w,d=_):l<240?(i=0,f=_,d=w):l<300?(i=_,f=0,d=w):(i=w,f=0,d=_),[i=Math.round(255*(i+x)),f=Math.round(255*(f+x)),d=Math.round(255*(d+x))]}function wt(l,o){if(!l||l.type==="none")return"";if(l.type==="solidFill"&&/^#[\da-fA-F]{3,6}$/.test(l.color)){var a=parseInt(l.color.substr(1,2),16),i=parseInt(l.color.substr(3,2),16),f=parseInt(l.color.substr(5,2),16);if(l.shade){var d=As([a,i,f],l.shade);a=d[0],i=d[1],f=d[2]}if(l.lumMod){var w=(function(S,C,U,B){var z=Di(S,C,U),X=z.h,G=z.l*B;return G>=1&&(G=1),Fi(X,z.s,G)})(a,i,f,l.lumMod);a=w[0],i=w[1],f=w[2]}if(l.lumOff&&(w=(function(S,C,U,B){var z=Di(S,C,U),X=z.h,G=B+z.l;return G>1&&(G=1),Fi(X,z.s,G)})(a,i,f,l.lumOff),a=w[0],i=w[1],f=w[2]),l.tint||o!=null&&o.light){var _=(function(S,C,U,B){var z=Di(S,C,U),X=z.h,G=z.l;return B>=1&&(B=1),Fi(X,z.s,G*B+(1-B))})(a,i,f,l.tint||(o==null?void 0:o.light));a=_[0],i=_[1],f=_[2]}if(o!=null&&o.dark){var x=As([a,i,f],o==null?void 0:o.dark);a=x[0],i=x[1],f=x[2]}var A=l.alpha;return"rgba(".concat(a,",").concat(i,",").concat(f,",").concat(A,")")}}var Lr=(function(){function l(o,a,i){var f,d;this.uuid=Sg(),this.offset={x:0,y:0},this.extend={w:0,h:0},this.rotate=0,this.order=0,this.flipV=!1,this.flipH=!1,this.source=o,this.ctx=a,this.group=i;var w=m.get(o,["p:nvSpPr","p:nvPr"]);if(w){var _=m.get(w,"p:ph");_&&_.attrs&&(this.idx=_.attrs.idx,this.type=_.attrs.type),m.get(w,["attrs","userDrawn"])&&(this.userDrawn=m.get(w,["attrs","userDrawn"])==="1")}if(this.order=m.get(o,"attrs.order",0),this.source["p:spPr"]){if(A=this.getXfrm()){var x=this.group&&(!((f=this.ctx.pptx)===null||f===void 0)&&f.wps||qn(parseInt(A["a:off"].attrs.x))==="point")?Be:xt;this.offset={x:Math.round(x(parseInt(A["a:off"].attrs.x))),y:Math.round(x(parseInt(A["a:off"].attrs.y)))},this.extend={w:Math.round(x(parseInt(A["a:ext"].attrs.cx))),h:Math.round(x(parseInt(A["a:ext"].attrs.cy||"0")))},this.rotate=ba(parseInt(m.get(A,"attrs.rot",0))),this.flipV=m.get(A,"attrs.flipV")==="1",this.flipH=m.get(A,"attrs.flipH")==="1"}}else if(this.source["p:xfrm"]){var A=this.source["p:xfrm"];x=this.group&&(!((d=this.ctx.pptx)===null||d===void 0)&&d.wps||qn(parseInt(A["a:off"].attrs.x))==="point")?Be:xt,this.offset={x:Math.round(x(parseInt(A["a:off"].attrs.x))),y:Math.round(x(parseInt(A["a:off"].attrs.y)))},this.extend={w:Math.round(x(parseInt(A["a:ext"].attrs.cx))),h:Math.round(x(parseInt(A["a:ext"].attrs.cy)))}}if(i){var S=i.extend,C=i.chExtend,U=i.chOffset,B=C.w===0?0:S.w/C.w,z=C.h===0?0:S.h/C.h;this.extend.w=this.extend.w*B,this.extend.h=this.extend.h*z,this.offset.x=(this.offset.x-U.x)*B,this.offset.y=(this.offset.y-U.y)*z}}return Object.defineProperty(l.prototype,"theme",{get:function(){return(this.ctx.sliderMaster||this.ctx).theme},enumerable:!1,configurable:!0}),l.prototype.getColorThemeName=function(o){return this.ctx.getColorThemeName(o)},l.prototype.getXfrm=function(){var o=this.source["p:spPr"]["a:xfrm"];return o||(this.idx?o=this.ctx.getNodeInheritAttrsByIdx(this.idx,["p:spPr","a:xfrm"]):this.type&&(o=this.ctx.getNodeInheritAttrsByType(this.type,["p:spPr","a:xfrm"]))),o},l})(),Cg=(function(){function l(o,a){this.props={},this.inheritProps={},this.source=o,this.node=a,this._getInheritBodyProps(),this._parseBodyProps(),this._parseLstStyle(),this._parseText()}return l.prototype._getInheritBodyProps=function(){var o,a=this.node.ctx,i=this.node.type,f=this.node.idx;if(i||f)switch(a.slideType){case"slideMaster":break;case"slideLayout":(o=i?a.slideMaster.getNodeByType(i):a.slideMaster.getNodeByIdx(f))&&(this.inheritProps=m.get(o,["textBody","props"])||{});break;case"slide":(o=i?a.slideLayout.slideMaster.getNodeByType(i):a.slideLayout.slideMaster.getNodeByIdx(f))&&Object.assign(this.inheritProps,m.get(o,["textBody","props"])||{}),(o=i?a.slideLayout.getNodeByType(i):a.slideLayout.getNodeByIdx(f))&&Object.assign(this.inheritProps,m.get(o,["textBody","props"])||{})}},l.prototype._parseBodyProps=function(){var o=this,a=m.get(this.source,["a:bodyPr","attrs"])||{};Object.keys(a).forEach((function(w){switch(w){case"anchor":o.props.anchor=a[w];break;case"rtlCol":o.props.rtlCol=a[w]==="1";break;case"lIns":case"rIns":case"tIns":case"bIns":o.props[w]=xt(parseInt(a[w]));break;case"order":break;default:o.props[w]=a[w]}}));var i=m.get(this.source,["a:bodyPr","a:normAutofit","attrs"]);if(i){this.props.normAutofit={};var f=i.fontScale;f&&(this.props.normAutofit.fontScale=hn(parseInt(f)));var d=i.lnSpcReduction;d&&(this.props.normAutofit.lnSpcReduction=hn(parseInt(d)))}},l.prototype._parseLstStyle=function(){var o=this,a={},i=m.get(this.source,"a:lstStyle")||{};Object.keys(i).forEach((function(f){if(f.startsWith("a:")&&f.endsWith("pPr")){var d=f.substr(2,f.length-5);a[d]={props:o._formatPPr(i[f])};var w=m.get(i[f],["a:defRPr"]);a[d].defRPr=o._formatRPr(w)}})),this.lstStyle=a},l.prototype._parseText=function(){var o=this,a=m.get(this.source,["a:p"])||[];Array.isArray(a)||(a=[a]),this.paragraphs=a.map((function(i){return o._parseParagraph(i)}))},l.prototype._parseParagraph=function(o){var a=this,i={props:{},inheritProps:{},inheritRProps:{},endParaRProps:{},rows:[]},f=m.get(o,["a:pPr"])||{};i.props=this._formatPPr(f);var d=m.get(o,["a:endParaRPr"]);i.endParaRProps=this._formatRPr(d);var w=m.get(o,["a:r"])||[];Array.isArray(w)||(w=[w]);var _=m.get(o,["a:br"])||[];return Array.isArray(_)||(_=[_]),(w=w.concat(_.map((function(x){return q({isBr:!0},x)})))).sort((function(x,A){return m.get(x,["attrs","order"])-m.get(A,["attrs","order"])})),i.rows=w.map((function(x){return a._parseRow(x)})),i.inheritProps=this._getInheritPProps(i.props.level),i.inheritRProps=this._getInheritRProps(i.props.level),i},l.prototype._getInheritPProps=function(o){o===void 0&&(o="0");var a,i={},f=this.node.ctx,d=this.node.type,w=this.node.idx;switch(f.slideType){case"slideMaster":this.node.isTextBox?Object.assign(i,m.get(f.defaultTextStyle,["lvl".concat(o?+o+1:1),"props"])||{}):Object.assign(i,m.get(f,["textStyles","otherStyle","lvl".concat(o?+o+1:1),"props"])||{});break;case"slideLayout":this.node.isTextBox?Object.assign(i,m.get(f.slideMaster.defaultTextStyle,["lvl".concat(o?+o+1:1),"props"])||{}):Object.assign(i,m.get(f.slideMaster,["textStyles","otherStyle","lvl".concat(o?+o+1:1),"props"])||{}),(d||w)&&(a=d?f.slideMaster.getNodeByType(d):f.slideMaster.getNodeByIdx(w))&&Object.assign(i,m.get(a,["textBody","lstStyle","lvl".concat(o?+o+1:1),"props"])||{});break;case"slide":this.node.isTextBox?Object.assign(i,m.get(f.slideLayout.slideMaster.defaultTextStyle,["lvl".concat(o?+o+1:1),"props"])||{}):Object.assign(i,m.get(f.slideLayout.slideMaster,["textStyles","otherStyle","lvl".concat(o?+o+1:1),"props"])||{}),(d||w)&&(["subTitle","ctrTitle","title"].includes(d)&&Object.assign(i,m.get(f.slideLayout.slideMaster,["textStyles","titleStyle","lvl".concat(o?+o+1:1),"props"])||{}),(a=d?f.slideLayout.slideMaster.getNodeByType(d):f.slideLayout.slideMaster.getNodeByIdx(w))&&Object.assign(i,m.get(a,["textBody","lstStyle","lvl".concat(o?+o+1:1),"props"])||{}),(a=d?f.slideLayout.getNodeByType(d):f.slideLayout.getNodeByIdx(w))&&Object.assign(i,m.get(a,["textBody","lstStyle","lvl".concat(o?+o+1:1),"props"])||{}))}return i},l.prototype._getInheritRProps=function(o){o===void 0&&(o="0");var a,i={},f=this.node.ctx,d=this.node.type,w=this.node.idx;switch(f.slideType){case"slideMaster":this.node.isTextBox?Object.assign(i,m.get(f.defaultTextStyle,["lvl".concat(o?+o+1:1),"defRPr"])||{}):Object.assign(i,m.get(f,["textStyles","otherStyle","lvl".concat(o?+o+1:1),"defRPr"])||{});break;case"slideLayout":this.node.isTextBox?Object.assign(i,m.get(f.slideMaster.defaultTextStyle,["lvl".concat(o?+o+1:1),"defRPr"])||{}):Object.assign(i,m.get(f.slideMaster,["textStyles","otherStyle","lvl".concat(o?+o+1:1),"defRPr"])||{}),(d||w)&&(a=d?f.slideMaster.getNodeByType(d):f.slideMaster.getNodeByIdx(w))&&(i=m.get(a,["textBody","lstStyle","lvl".concat(o?+o+1:1),"defRPr"])||{});break;case"slide":this.node.isTextBox?Object.assign(i,m.get(f.slideLayout.slideMaster.defaultTextStyle,["lvl".concat(o?+o+1:1),"defRPr"])||{}):Object.assign(i,m.get(f.slideLayout.slideMaster,["textStyles","otherStyle","lvl".concat(o?+o+1:1),"defRPr"])||{}),(d||w)&&(["subTitle","ctrTitle","title"].includes(d)&&Object.assign(i,m.get(f.slideLayout.slideMaster,["textStyles","titleStyle","lvl".concat(o?+o+1:1),"defRPr"])||{}),(a=d?f.slideLayout.slideMaster.getNodeByType(d):f.slideLayout.slideMaster.getNodeByIdx(w))&&Object.assign(i,m.get(a,["textBody","lstStyle","lvl".concat(o?+o+1:1),"defRPr"])||{}),(a=d?f.slideLayout.getNodeByType(d):f.slideLayout.getNodeByIdx(w))&&Object.assign(i,m.get(a,["textBody","lstStyle","lvl".concat(o?+o+1:1),"defRPr"])||{}))}var _=m.get(this.node.source,["p:style","a:fontRef"]);return m.get(_,"a:schemeClr")&&(i.color=kt(_,this.node.theme,this.node)),m.get(this.lstStyle,["lvl".concat(o?+o+1:1),"defRPr"])&&Object.assign(i,m.get(this.lstStyle,["lvl".concat(o?+o+1:1),"defRPr"])),i},l.prototype._formatPPr=function(o){var a={},i=m.get(o,"attrs")||{};return Object.keys(i).forEach((function(f){switch(f){case"algn":a.align=i[f];break;case"marL":a.marginLeft=xt(parseInt(i[f]));break;case"indent":a.indent=xt(parseInt(i[f]));break;case"lvl":a.level=i[f]}})),m.get(o,["a:lnSpc","a:spcPct","attrs","val"])&&(a.lineHeight=parseInt(o["a:lnSpc"]["a:spcPct"].attrs.val)/1e5),m.get(o,["a:buAutoNum","attrs","type"])&&(a.buAutoNum=o["a:buAutoNum"].attrs.type),m.get(o,["a:buChar","attrs","char"])&&(a.buChar=o["a:buChar"].attrs.char),m.get(o,["a:spcBef","a:spcPts","attrs","val"])&&(a.spaceBefore=va(parseInt(o["a:spcBef"]["a:spcPts"].attrs.val))),m.get(o,["a:spcAft","a:spcPts","attrs","val"])&&(a.spaceAfter=va(parseInt(o["a:spcAft"]["a:spcPts"].attrs.val))),m.get(o,["a:defRPr"])&&(a.defRPr=this._formatRPr(m.get(o,["a:defRPr"]))),a},l.prototype._parseRow=function(o){if(o.isBr)return{isBr:!0};var a={props:{},text:""},i=m.get(o,["a:rPr"])||{};return a.props=this._formatRPr(i),a.text=m.get(o,"a:t")||"",a},l.prototype._formatRPr=function(o){var a={},i=m.get(o,"attrs")||{};Object.keys(i).forEach((function(w){switch(w){case"sz":a.size=parseInt(i[w])/100;break;case"b":a.bold=i[w]==="1";break;case"i":a.italic=i[w]==="1";break;case"u":a.underline=i[w];break;case"strike":a.strike=i[w];break;case"order":case"dirty":break;default:a[w]=i[w]}}));var f=m.get(o,"a:solidFill");f&&(a.color=kt(f,this.node.theme,this.node));var d=m.get(o,"a:highlight");return d&&(a.background=kt(d,this.node.theme,this.node)),a.typeface=m.get(o,["a:ea","attrs","typeface"]),a},l})();function Xn(l,o,a){var i={};if(!m.get(l,"a:noFill")){m.get(l,"attrs.w")&&(i.width=xt(parseInt(m.get(l,"attrs.w"))));var f=m.get(l,"a:solidFill");f&&(i.color=kt(f,o,a));var d=m.get(l,"a:prstDash");if(d&&(i.type=d.attrs.val),m.get(l,["a:miter"])&&(i.lineJoin="miter"),m.get(l,["a:bevel"])&&(i.lineJoin="bevel"),m.get(l,["a:round"])&&(i.lineJoin="round"),m.get(l,["a:miter","attrs","lim"])&&(i.miterLim=xt(parseInt(m.get(l,["a:miter","attrs","lim"])))),m.get(l,["a:headEnd"])){var w=m.get(l,["a:headEnd","attrs"]);i.headEnd={type:w.type,len:w.len,w:w.w}}if(m.get(l,["a:tailEnd"])){var _=m.get(l,["a:tailEnd","attrs"]);i.tailEnd={type:_.type,len:_.len,w:_.w}}return i}}var br=(function(l){function o(a,i,f,d){var w=l.call(this,a,f,d)||this;return w.border={},w.prstGeom={},w.isTextBox=!1,w.pptx=i,w._parseShape(),w._parIsTextBox(),w._parsePrstGeom(),w._parseBackground(),w._parseBorder(),w._parseTxt(),w}return mr(o,l),o.prototype._parseShape=function(){if(this.shape=m.get(this.source,["p:spPr","a:prstGeom","attrs","prst"]),!this.shape&&m.get(this.source,["p:spPr","a:custGeom"])){this.shape="customGeom";var a=m.get(this.source,["p:spPr","a:custGeom","a:pathLst","a:path"]),i=[],f=[],d=function(_){switch(_){case"a:moveTo":case"a:cubicBezTo":case"a:lnTo":f=Array.isArray(a[_])?a[_]:[a[_]],i=i.concat(f.map((function(x){return{order:x.attrs.order,type:_.split(":")[1],points:(Array.isArray(x["a:pt"])?x["a:pt"]:[x["a:pt"]]).map((function(A){return[xt(parseInt(m.get(A,["attrs","x"]))),xt(parseInt(m.get(A,["attrs","y"])))]}))}})));break;case"a:close":f=Array.isArray(a[_])?a[_]:[a[_]],i=i.concat(f.map((function(x){return{order:x.attrs.order,type:_.split(":")[1]}})))}};for(var w in a)d(w);i.sort((function(_,x){return _.order-x.order})),this.prstGeom.pathList=i,m.get(a,["attrs","w"])&&(this.prstGeom.w=xt(parseInt(m.get(a,["attrs","w"])))),m.get(a,["attrs","h"])&&(this.prstGeom.h=xt(parseInt(m.get(a,["attrs","h"]))))}},o.prototype._parIsTextBox=function(){this.isTextBox=m.get(this.source,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])==="1"},o.prototype._parsePrstGeom=function(){var a=this,i=m.get(this.source,["p:spPr","a:prstGeom"]),f=m.get(i,["a:avLst","a:gd"]);f&&(Array.isArray(f)||(f=[f]),this.prstGeom.gd=f.map((function(d){var w=["pie","chord","arc"].includes(a.shape)||["blockArc"].includes(a.shape)&&["adj1","adj2"].includes(d.attrs.name)?ba(parseInt(d.attrs.fmla.split(" ")[1])):hn(parseInt(d.attrs.fmla.split(" ")[1]));return{name:d.attrs.name,fmla:w}})))},o.prototype._parseBackground=function(){if(!m.get(this.source,["p:spPr","a:noFill"]))if(m.get(this.source,["p:spPr","a:grpFill"])&&this.group)this.background=this.group.getBackground();else{var a=m.get(this.source,["p:spPr","a:solidFill"]);if(a)this.background=kt(a,this.theme,this);else{var i=m.get(this.source,["p:spPr","a:gradFill"]);if(i)this.background=_r(i,this.theme,this);else{var f=m.get(this.source,["p:spPr","a:blipFill"]);if(f)this.background=xr(f,this.pptx,this.ctx);else{var d=m.get(this.source,["p:style","a:fillRef"]);d&&(this.background=kt(d,this.theme,this))}}}}},o.prototype._parseBorder=function(){var a=m.get(this.source,["p:style","a:lnRef"]);if(a){var i=parseInt(a.attrs.idx),f=this.theme.getLineStyle(i);this.border=q(q({},f),this.border),this.border.color&&this.border.color.color||(this.border.color=kt(a,this.theme,this))}var d=m.get(this.source,["p:spPr","a:ln"]);d&&Object.assign(this.border,Xn(d,this.theme,this)),this.border.color&&this.border.color.color&&!this.border.width&&(this.border.width=o.defaultBorderWidth)},o.prototype._parseTxt=function(){this.textBody=new Cg(m.get(this.source,["p:txBody"]),this)},o.defaultBorderWidth=.75,o})(Lr),wa=(function(l){function o(a,i,f,d,w){var _,x,A=l.call(this,i,d,w)||this;A.userDrawn=!0,A.pptx=f,A.path=a;var S=m.get(A.source,["p:blipFill","a:srcRect"]);S&&(A.clip={},S.attrs.b&&(A.clip.b=parseInt(S.attrs.b)/1e5),S.attrs.t&&(A.clip.t=parseInt(S.attrs.t)/1e5),S.attrs.l&&(A.clip.l=parseInt(S.attrs.l)/1e5),S.attrs.r&&(A.clip.r=parseInt(S.attrs.r)/1e5));var C=m.get(i,["p:nvPicPr","p:nvPr","a:audioFile","attrs","r:link"]);if(C){var U=(_=A.ctx.rels[C])===null||_===void 0?void 0:_.target;A.audioFile=A.pptx.getMedia(U)}var B=m.get(i,["p:nvPicPr","p:nvPr","a:videoFile","attrs","r:link"]);if(B){var z=(x=A.ctx.rels[B])===null||x===void 0?void 0:x.target;A.videoFile=A.pptx.getMedia(z)}return A}return mr(o,l),Object.defineProperty(o.prototype,"base64",{get:function(){return this.pptx.getMedia(this.path)},enumerable:!1,configurable:!0}),o})(Lr),Fs=(function(l){function o(a,i,f,d){var w=l.call(this,a,f,d)||this;return w.userDrawn=!0,w.props={tableStyleId:""},w.tableGrid={gridCol:[]},w.tr=[],w.tableStyles={},w.pptx=i,w._parseTableProps(),w._parseTableGrid(),w._parseTr(),w._parseInheritStyles(),w}return mr(o,l),Object.defineProperty(o.prototype,"slideMaster",{get:function(){return this.ctx.slideMaster||this.ctx},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"theme",{get:function(){return this.slideMaster.theme},enumerable:!1,configurable:!0}),o.prototype._parseTableProps=function(){var a=m.get(this.source,["a:graphic","a:graphicData","a:tbl","a:tblPr"]);this.props.tableStyleId=m.get(a,"a:tableStyleId"),this.tableStyles=m.get(this.slideMaster.tableStyles,this.props.tableStyleId)||{},m.get(a,["attrs","bandCol"])==="1"&&(this.props.bandCol=!0),m.get(a,["attrs","bandRow"])==="1"&&(this.props.bandRow=!0),m.get(a,["attrs","firstCol"])==="1"&&(this.props.firstCol=!0),m.get(a,["attrs","firstRow"])==="1"&&(this.props.firstRow=!0),m.get(a,["attrs","lastCol"])==="1"&&(this.props.lastCol=!0),m.get(a,["attrs","lastRow"])==="1"&&(this.props.lastRow=!0)},o.prototype._parseTableGrid=function(){var a=m.get(this.source,["a:graphic","a:graphicData","a:tbl","a:tblGrid","a:gridCol"]);if(a)for(var i=0;i<a.length;i++){var f=m.get(a[i],["attrs","w"]);this.tableGrid.gridCol.push({width:xt(parseInt(f))})}},o.prototype._parseTr=function(){var a=[],i=m.get(this.source,["a:graphic","a:graphicData","a:tbl","a:tr"]);Array.isArray(i)||(i=[i]);for(var f=0;f<i.length;f++){var d={props:{},td:[]},w=i[f];d.props.height=xt(parseInt(m.get(w,["attrs","h"])));var _=m.get(w,["a:tc"]);Array.isArray(_)||(_=[_]);for(var x=0;x<_.length;x++)d.td.push(this._parseTd(_[x]));a.push(d)}this.tr=a},o.prototype._parseTd=function(a){var i,f,d,w,_=this,x={props:{border:{}},paragraphs:[]},A=m.get(a,["a:tcPr","attrs"]);A!=null&&A.marB&&(x.props.marB=xt(parseInt(A==null?void 0:A.marB))),A!=null&&A.marT&&(x.props.marT=xt(parseInt(A==null?void 0:A.marT))),A!=null&&A.marL&&(x.props.marL=xt(parseInt(A==null?void 0:A.marL))),A!=null&&A.marR&&(x.props.marR=xt(parseInt(A==null?void 0:A.marR))),A!=null&&A.anchor&&(x.props.anchor=A==null?void 0:A.anchor);var S=m.get(a,["a:tcPr"]);m.get(S,["a:lnR"])&&(x.props.border.right=Xn(m.get(S,["a:lnR"]),this.theme,this.ctx)),m.get(S,["a:lnL"])&&(x.props.border.left=Xn(m.get(S,["a:lnL"]),this.theme,this.ctx)),m.get(S,["a:lnT"])&&(x.props.border.top=Xn(m.get(S,["a:lnT"]),this.theme,this.ctx)),m.get(S,["a:lnB"])&&(x.props.border.bottom=Xn(m.get(S,["a:lnB"]),this.theme,this.ctx)),!((i=a==null?void 0:a.attrs)===null||i===void 0)&&i.rowSpan&&(x.props.rowSpan=parseInt(a.attrs.rowSpan)),!((f=a==null?void 0:a.attrs)===null||f===void 0)&&f.gridSpan&&(x.props.gridSpan=parseInt(a.attrs.gridSpan)),!((d=a==null?void 0:a.attrs)===null||d===void 0)&&d.vMerge&&(x.props.vMerge=a.attrs.vMerge==="1"),!((w=a==null?void 0:a.attrs)===null||w===void 0)&&w.hMerge&&(x.props.hMerge=a.attrs.hMerge==="1");var C=m.get(a,["a:tcPr","a:solidFill"]);C&&(x.props.background=kt(C,this.theme,this.ctx));var U=m.get(a,["a:txBody"]),B=m.get(U,["a:p"]);return Array.isArray(B)||(B=[B]),x.paragraphs=B.map((function(z){return _._parseParagraph(z)})),x},o.prototype._parseParagraph=function(a){var i=this,f={props:{},inheritProps:{},inheritRProps:{},endParaRProps:{},rows:[]},d=m.get(a,["a:pPr"])||{};f.props=this._formatPPr(d);var w=m.get(a,["a:endParaRPr"]);f.endParaRProps=this._formatRPr(w);var _=m.get(a,["a:r"])||[];Array.isArray(_)||(_=[_]);var x=m.get(a,["a:br"])||[];return Array.isArray(x)||(x=[x]),(_=_.concat(x.map((function(A){return q({isBr:!0},A)})))).sort((function(A,S){return m.get(A,["attrs","order"])-m.get(S,["attrs","order"])})),f.rows=_.map((function(A){return i._parseRow(A)})),f},o.prototype._parseRow=function(a){if(a.isBr)return{isBr:!0};var i={props:{},text:""},f=m.get(a,["a:rPr"])||{};return i.props=this._formatRPr(f),i.text=m.get(a,"a:t")||"",i},o.prototype._formatPPr=function(a){var i={},f=m.get(a,"attrs")||{};return Object.keys(f).forEach((function(d){d==="algn"&&(i.align=f[d])})),m.get(a,["a:lnSpc","a:spcPct","attrs","val"])&&(i.lineHeight=parseInt(a["a:lnSpc"]["a:spcPct"].attrs.val)/1e5),m.get(a,["a:buAutoNum","attrs","type"])&&(i.buAutoNum=a["a:buAutoNum"].attrs.type),m.get(a,["a:buChar","attrs","char"])&&(i.buChar=a["a:buChar"].attrs.char),m.get(a,["a:spcBef","a:spcPts","attrs","val"])&&(i.spaceBefore=va(parseInt(a["a:spcBef"]["a:spcPts"].attrs.val))),m.get(a,["a:spcAft","a:spcPts","attrs","val"])&&(i.spaceAfter=va(parseInt(a["a:spcAft"]["a:spcPts"].attrs.val))),i},o.prototype._formatRPr=function(a){var i={},f=m.get(a,"attrs")||{};Object.keys(f).forEach((function(_){switch(_){case"sz":i.size=parseInt(f[_])/100;break;case"b":i.bold=f[_]==="1";break;case"i":i.italic=f[_]==="1";break;case"u":i.underline=f[_];break;case"strike":i.strike=f[_];break;case"order":case"dirty":break;default:i[_]=f[_]}}));var d=m.get(a,"a:solidFill");d&&(i.color=kt(d,this.theme,this.ctx));var w=m.get(a,"a:highlight");return w&&(i.background=kt(w,this.theme,this.ctx)),i.typeface=m.get(a,["a:ea","attrs","typeface"]),i},o.prototype._isLastCol=function(a,i){var f,d;if(i===a.length-1)return!0;for(var w=i+1;w<a.length;w++)if(!(!((f=a[w].props)===null||f===void 0)&&f.hMerge)&&!(!((d=a[w].props)===null||d===void 0)&&d.vMerge))return!1;return!0},o.prototype._isBandRow=function(a){var i;return!((i=this.props)===null||i===void 0)&&i.firstRow?a%2==1:a%2==0},o.prototype._isBandCol=function(a){var i;return!((i=this.props)===null||i===void 0)&&i.firstCol?a%2==1:a%2==0},o.prototype._parseInheritStyles=function(){var a,i,f,d,w,_,x,A,S=this,C=(i=(a=this.tableStyles)===null||a===void 0?void 0:a.wholeTbl)===null||i===void 0?void 0:i.tcStyle,U=(d=(f=this.tableStyles)===null||f===void 0?void 0:f.wholeTbl)===null||d===void 0?void 0:d.tcTxStyle,B=(_=(w=this.slideMaster.defaultTextStyle)===null||w===void 0?void 0:w.lvl1)===null||_===void 0?void 0:_.props,z=(A=(x=this.slideMaster.defaultTextStyle)===null||x===void 0?void 0:x.lvl1)===null||A===void 0?void 0:A.defRPr;this.tr.forEach((function(X,G){X.td.forEach((function(h,n){var u,c,g,b,I,M,k,W,H,Y,Q,rt,ot,st,yt,dt,et,bt,_t,Lt,Rt,Zt,Yt,Bt,zt,ve,je,De,Yn,Je,Ve,Rn,Jt,Fe,Kn,se,Tn,$n,Ne,Vt,We,tn,Qn,Ue,Jn,Ge,Re,fn,pn,dn,gn,vn,wn,yn,bn,mn,gt=q(q({},B),C),Dt=q(q({},z),U);S.props.firstRow&&G===0?(gt=q(q(q({},gt),(c=(u=S.tableStyles)===null||u===void 0?void 0:u.firstRow)===null||c===void 0?void 0:c.tcStyle),{border:q(q({},gt==null?void 0:gt.border),(I=(b=(g=S.tableStyles)===null||g===void 0?void 0:g.firstRow)===null||b===void 0?void 0:b.tcStyle)===null||I===void 0?void 0:I.border)}),Dt=q(q({},Dt),(k=(M=S.tableStyles)===null||M===void 0?void 0:M.firstRow)===null||k===void 0?void 0:k.tcTxStyle)):S.props.lastRow&&G===S.tr.length-1?(gt=q(q(q({},gt),(H=(W=S.tableStyles)===null||W===void 0?void 0:W.lastRow)===null||H===void 0?void 0:H.tcStyle),{border:q(q({},gt==null?void 0:gt.border),(rt=(Q=(Y=S.tableStyles)===null||Y===void 0?void 0:Y.lastRow)===null||Q===void 0?void 0:Q.tcStyle)===null||rt===void 0?void 0:rt.border)}),Dt=q(q({},Dt),(st=(ot=S.tableStyles)===null||ot===void 0?void 0:ot.lastRow)===null||st===void 0?void 0:st.tcTxStyle)):S.props.firstCol&&n===0?(gt=q(q(q({},gt),(dt=(yt=S.tableStyles)===null||yt===void 0?void 0:yt.firstCol)===null||dt===void 0?void 0:dt.tcStyle),{border:q(q({},gt==null?void 0:gt.border),(_t=(bt=(et=S.tableStyles)===null||et===void 0?void 0:et.firstCol)===null||bt===void 0?void 0:bt.tcStyle)===null||_t===void 0?void 0:_t.border)}),Dt=q(q({},Dt),(Rt=(Lt=S.tableStyles)===null||Lt===void 0?void 0:Lt.firstCol)===null||Rt===void 0?void 0:Rt.tcTxStyle)):S.props.lastCol&&S._isLastCol(X.td,n)?(gt=q(q(q({},gt),(Yt=(Zt=S.tableStyles)===null||Zt===void 0?void 0:Zt.lastCol)===null||Yt===void 0?void 0:Yt.tcStyle),{border:q(q({},gt==null?void 0:gt.border),(ve=(zt=(Bt=S.tableStyles)===null||Bt===void 0?void 0:Bt.lastCol)===null||zt===void 0?void 0:zt.tcStyle)===null||ve===void 0?void 0:ve.border)}),Dt=q(q({},Dt),(De=(je=S.tableStyles)===null||je===void 0?void 0:je.lastCol)===null||De===void 0?void 0:De.tcTxStyle)):(S.props.bandRow&&(S._isBandRow(G)?(gt=q(q(q({},gt),(Je=(Yn=S.tableStyles)===null||Yn===void 0?void 0:Yn.band1H)===null||Je===void 0?void 0:Je.tcStyle),{border:q(q({},gt==null?void 0:gt.border),(Jt=(Rn=(Ve=S.tableStyles)===null||Ve===void 0?void 0:Ve.band1H)===null||Rn===void 0?void 0:Rn.tcStyle)===null||Jt===void 0?void 0:Jt.border)}),Dt=q(q({},Dt),(Kn=(Fe=S.tableStyles)===null||Fe===void 0?void 0:Fe.band1H)===null||Kn===void 0?void 0:Kn.tcTxStyle)):(gt=q(q(q({},gt),(Tn=(se=S.tableStyles)===null||se===void 0?void 0:se.band2V)===null||Tn===void 0?void 0:Tn.tcStyle),{border:q(q({},gt==null?void 0:gt.border),(Vt=(Ne=($n=S.tableStyles)===null||$n===void 0?void 0:$n.band2V)===null||Ne===void 0?void 0:Ne.tcStyle)===null||Vt===void 0?void 0:Vt.border)}),Dt=q(q({},Dt),(tn=(We=S.tableStyles)===null||We===void 0?void 0:We.band2V)===null||tn===void 0?void 0:tn.tcTxStyle))),S.props.bandCol&&(S._isBandCol(n)?(gt=q(q(q({},gt),(Ue=(Qn=S.tableStyles)===null||Qn===void 0?void 0:Qn.band1V)===null||Ue===void 0?void 0:Ue.tcStyle),{border:q(q({},gt==null?void 0:gt.border),(Re=(Ge=(Jn=S.tableStyles)===null||Jn===void 0?void 0:Jn.band1V)===null||Ge===void 0?void 0:Ge.tcStyle)===null||Re===void 0?void 0:Re.border)}),Dt=q(q({},Dt),(pn=(fn=S.tableStyles)===null||fn===void 0?void 0:fn.band1V)===null||pn===void 0?void 0:pn.tcTxStyle)):(gt=q(q(q({},gt),(gn=(dn=S.tableStyles)===null||dn===void 0?void 0:dn.band2H)===null||gn===void 0?void 0:gn.tcStyle),{border:q(q({},gt==null?void 0:gt.border),(yn=(wn=(vn=S.tableStyles)===null||vn===void 0?void 0:vn.band2H)===null||wn===void 0?void 0:wn.tcStyle)===null||yn===void 0?void 0:yn.border)}),Dt=q(q({},Dt),(mn=(bn=S.tableStyles)===null||bn===void 0?void 0:bn.band2H)===null||mn===void 0?void 0:mn.tcTxStyle)))),h.inheritTcStyle=gt,h.inheritTcTxStyle=Dt}))}))},o})(Lr),Zi=(function(){function l(o,a,i,f){if(this.offset={x:0,y:0},this.chOffset={x:0,y:0},this.extend={w:0,h:0},this.chExtend={w:0,h:0},this.rotate=0,this.nodes=[],this.flipV=!1,this.flipH=!1,this.userDrawn=!0,this.order=m.get(o,["attrs","order"]),this.pptx=a,this.ctx=i,this.source=o,this.group=f,this.source["p:grpSpPr"]){var d=m.get(this.source,["p:grpSpPr","a:xfrm"]);if(d&&(this.offset={x:Math.round(this.group&&this.pptx.wps?Be(parseInt(d["a:off"].attrs.x)):xt(parseInt(d["a:off"].attrs.x))),y:Math.round(this.group&&this.pptx.wps?Be(parseInt(d["a:off"].attrs.y)):xt(parseInt(d["a:off"].attrs.y)))},this.chOffset={x:Math.round(qn(d["a:chOff"].attrs.x)==="point"||this.pptx.wps?Be(parseInt(d["a:chOff"].attrs.x)):xt(parseInt(d["a:chOff"].attrs.x))),y:Math.round(qn(d["a:chOff"].attrs.y)==="point"||this.pptx.wps?Be(parseInt(d["a:chOff"].attrs.y)):xt(parseInt(d["a:chOff"].attrs.y)))},this.chExtend={w:Math.round(qn(d["a:chExt"].attrs.cx)==="point"||this.pptx.wps?Be(parseInt(d["a:chExt"].attrs.cx)):xt(parseInt(d["a:chExt"].attrs.cx))),h:Math.round(qn(d["a:chExt"].attrs.cy)==="point"||this.pptx.wps?Be(parseInt(d["a:chExt"].attrs.cy)):xt(parseInt(d["a:chExt"].attrs.cy)))},this.extend={w:Math.round(this.group&&this.pptx.wps?Be(parseInt(d["a:ext"].attrs.cx)):xt(parseInt(d["a:ext"].attrs.cx))),h:Math.round(this.group&&this.pptx.wps?Be(parseInt(d["a:ext"].attrs.cy)):xt(parseInt(d["a:ext"].attrs.cy)))},this.rotate=ba(parseInt(m.get(d,"attrs.rot",0))),this.flipV=m.get(d,"attrs.flipV")==="1",this.flipH=m.get(d,"attrs.flipH")==="1"),f){var w=f.extend,_=f.chExtend,x=f.chOffset,A=w.w/_.w,S=w.h/_.h;this.extend.w=this.extend.w*A,this.extend.h=this.extend.h*S,this.offset.x=(this.offset.x-x.x)*A,this.offset.y=(this.offset.y-x.y)*S}}this._parseBackground(),this._parseNodes()}return l.prototype.getBackground=function(){return this.background&&this.background.type!=="none"?this.background:this.group?this.group.getBackground():void 0},l.prototype._parseBackground=function(){var o=m.get(this.source,["p:grpSpPr"]);o&&o["a:solidFill"]?this.background=kt(o["a:solidFill"],this.ctx.theme,this.ctx):o&&o["a:gradFill"]?this.background=_r(o["a:gradFill"],this.ctx.theme,this.ctx):o&&o["a:blipFill"]&&(this.background=xr(o["a:blipFill"],this.pptx,this.ctx))},l.prototype._parseNodes=function(){var o=this.source;Ar(this.nodes,o,this.pptx,this.ctx,this)},l})(),Ns=(function(l){function o(a,i,f,d){var w=l.call(this,a,f,d)||this;return w.nodes=[],w.pptx=i,w}return mr(o,l),o.prototype.parseNode=function(){return Wt(this,void 0,void 0,(function(){var a,i,f,d,w,_,x,A,S;return Ut(this,(function(C){switch(C.label){case 0:return C.trys.push([0,3,,4]),(a=m.get(this.source,["a:graphic","a:graphicData","dgm:relIds","attrs","r:dm"]))&&this.ctx.rels[a]?(i=this.ctx.rels[a].target,d=ce,[4,this.pptx.getXmlByPath(i)]):[2];case 1:return f=d.apply(void 0,[C.sent()]),(w=m.get(f,["dgm:dataModel","dgm:extLst","a:ext","dsp:dataModelExt","attrs","relId"]))&&this.ctx.rels[w]?(_=this.ctx.rels[w].target,[4,this.pptx.getXmlByPath(_)]):[2];case 2:return x=(x=C.sent()).replace(/dsp:/g,"p:"),A=ce(x),S=m.get(A,["p:drawing","p:spTree"]),Ar(this.nodes,S,this.pptx,this.ctx),[3,4];case 3:return C.sent(),[3,4];case 4:return[2]}}))}))},o})(Lr),Ws=(function(l){function o(a,i,f,d){var w=l.call(this,a,f,d)||this;return w.options={title:{},tooltip:{},legend:{},series:[],color:[]},w.userDrawn=!0,w.pptx=i,w}return mr(o,l),Object.defineProperty(o.prototype,"slideMaster",{get:function(){return this.ctx.slideMaster||this.ctx},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"theme",{get:function(){return this.slideMaster.theme},enumerable:!1,configurable:!0}),o.prototype.parseNode=function(){return Wt(this,void 0,void 0,(function(){var a,i,f,d,w,_;return Ut(this,(function(x){switch(x.label){case 0:return x.trys.push([0,2,,3]),(a=m.get(this.source,["a:graphic","a:graphicData","c:chart","attrs","r:id"]))&&this.ctx.rels[a]?(i=this.ctx.rels[a].target,d=ce,[4,this.pptx.getXmlByPath(i)]):[2];case 1:return f=d.apply(void 0,[x.sent()]),w=m.get(f,["c:chartSpace","c:chart"]),_=m.get(w,["c:plotArea"]),m.get(_,["c:lineChart"])?this.parseLine(m.get(_,["c:lineChart"]),w):m.get(_,["c:line3DChart"])?this.parseLine(m.get(_,["c:line3DChart"]),w):m.get(_,["c:areaChart"])?this.parseAreaLine(m.get(_,["c:areaChart"]),w):m.get(_,["c:area3DChart"])?this.parseAreaLine(m.get(_,["c:area3DChart"]),w):m.get(_,["c:barChart"])?this.parseBar(m.get(_,["c:barChart"]),w):m.get(_,["c:bar3DChart"])?this.parseBar(m.get(_,["c:bar3DChart"]),w):m.get(_,["c:pieChart"])?this.parsePie(m.get(_,["c:pieChart"])):m.get(_,["c:pie3DChart"])?this.parsePie(m.get(_,["c:pie3DChart"])):m.get(_,["c:doughnutChart"])&&this.parseDoughnutChart(m.get(_,["c:doughnutChart"])),[3,3];case 2:return x.sent(),[3,3];case 3:return[2]}}))}))},o.prototype.parseAreaLine=function(a,i){this.parseLine(a,i),this.options.series=this.options.series.map((function(f){return f.areaStyle={},f}))},o.prototype.parseLine=function(a,i){var f=m.get(a,["c:ser"]);Array.isArray(f)||(f=[f]),this.options.title={top:"top",left:"center",text:this.parseChartTitle(m.get(i,["c:title"]))},this.options.xAxis={type:"category",data:this.getCategory(f[0])},this.options.yAxis={type:"value"},this.options.series=this.parseLineSeries(f,a),this.options.color=this.parseLineColors(f),this.options.legend={bottom:"bottom",left:"center"},m.get(a,["c:grouping","attrs","val"])==="percentStacked"&&(this.options.tooltip.valueFormatter=function(d){return(100*d).toFixed(2)+"%"})},o.prototype.parseBar=function(a,i){var f=m.get(a,["c:ser"]);Array.isArray(f)||(f=[f]),this.options.title={top:"top",left:"center",text:this.parseChartTitle(m.get(i,["c:title"]))},m.get(a,["c:barDir","attrs","val"])==="bar"?(this.options.yAxis={type:"category",data:this.getCategory(f[0])},this.options.xAxis={type:"value"}):(this.options.xAxis={type:"category",data:this.getCategory(f[0])},this.options.yAxis={type:"value"}),this.options.series=this.parseBarSeries(f,a),this.options.color=this.parseBarColors(f),this.options.legend={bottom:"bottom",left:"center"},m.get(a,["c:grouping","attrs","val"])==="percentStacked"&&(this.options.tooltip.valueFormatter=function(d){return(100*d).toFixed(2)+"%"})},o.prototype.parsePie=function(a){var i=m.get(a,["c:ser"]);this.options.title={top:"top",left:"center",text:this.parsePieTitle(i)},this.options.color=this.parsePieColors(i),this.options.series=[this.parsePieSeries(i,a)],this.options.legend={bottom:"bottom",left:"center"}},o.prototype.parseDoughnutChart=function(a){var i=m.get(a,["c:ser"]);this.options.title.text=this.parsePieTitle(i),this.options.color=this.parsePieColors(i),this.options.series=[this.parsePieSeries(i,a)],this.options.legend={bottom:"bottom",left:"center"}},o.prototype.parsePieTitle=function(a){return m.get(a,["c:tx","c:strRef","c:strCache","c:pt","c:v"])},o.prototype.parseChartTitle=function(a){var i=m.get(a,["c:tx","c:rich","a:p"]);return Array.isArray(i)||(i=[i]),i.map((function(f){var d=m.get(f,["a:r"]);return Array.isArray(d)||(d=[d]),d.map((function(w){return m.get(w,["a:t"])||""})).join("")})).join("")||"图表标题"},o.prototype.parseBarColors=function(a){var i=this;return a.map((function(f){return wt(kt(m.get(f,["c:spPr","a:solidFill"]),i.theme,i.ctx))}))},o.prototype.parseLineColors=function(a){var i=this;return a.map((function(f){return wt(kt(m.get(f,["c:spPr","a:ln","a:solidFill"])||m.get(f,["c:spPr","a:solidFill"]),i.theme,i.ctx))}))},o.prototype.parsePieColors=function(a){var i=this,f=[],d=m.get(a,["c:dPt"]);return Array.isArray(d)||(d=[d]),d.forEach((function(w){f.push(wt(kt(m.get(w,["c:spPr","a:solidFill"]),i.theme,i.ctx)))})),f},o.prototype.parsePieSeries=function(a,i){var f={type:"pie",radius:"80%",startAngle:90,data:[]};m.get(i,["c:holeSize","attrs","val"])&&(f.radius=["".concat(.8*m.get(i,["c:holeSize","attrs","val"]),"%"),"80%"]);var d=m.get(i,["c:firstSliceAng","attrs","val"]);d&&(f.startAngle=90-d);for(var w=this.getCategory(a),_=this.getVal(a),x=0;x<w.length;x++)f.data.push({name:w[x],value:_[x]});return f},o.prototype.parseBarSeries=function(a,i){var f,d=this,w=m.get(i,["c:grouping","attrs","val"]);w==="stacked"?f="Ad":w==="percentStacked"&&(f="total");var _=a.map((function(A){return{type:"bar",name:m.get(A,["c:tx","c:strRef","c:strCache","c:pt","c:v"]),data:d.getVal(A),stack:f}}));if(w==="percentStacked"){var x=[];_.forEach((function(A,S){x=S===0?yr([],A.data,!0):x.map((function(C,U){return C+A.data[U]}))})),_.forEach((function(A){A.data=A.data.map((function(S,C){return x[C]<=0?0:S/x[C]}))}))}return _},o.prototype.parseLineSeries=function(a,i){var f,d=this,w=m.get(i,["c:grouping","attrs","val"]);w==="stacked"?f="Ad":w==="percentStacked"&&(f="total");var _=a.map((function(A){return{type:"line",name:m.get(A,["c:tx","c:strRef","c:strCache","c:pt","c:v"]),data:d.getVal(A),stack:f}}));if(f==="total"){var x=[];_.forEach((function(A,S){x=S===0?yr([],A.data,!0):x.map((function(C,U){return C+A.data[U]}))})),_.forEach((function(A){A.data=A.data.map((function(S,C){return x[C]<=0?0:S/x[C]}))}))}return _},o.prototype.getCategory=function(a){if(m.get(a,["c:cat","c:strRef"])){var i=m.get(a,["c:cat","c:strRef","c:strCache","c:pt"]);return Array.isArray(i)||(i=[i]),i.map((function(f){return m.get(f,["c:v"])}))}if(m.get(a,["c:cat","c:numRef"]))return i=m.get(a,["c:cat","c:numRef","c:numCache","c:pt"]),Array.isArray(i)||(i=[i]),i.map((function(f){return m.get(f,["c:v"])}))},o.prototype.getVal=function(a){var i=m.get(a,["c:val","c:numRef","c:numCache","c:pt"]);return Array.isArray(i)||(i=[i]),i.map((function(f){return+m.get(f,["c:v"])}))},o})(Lr);function Ms(l){var o={},a=m.get(l,"attrs")||{};return Object.keys(a).forEach((function(i){switch(i){case"algn":o.align=a[i];break;case"marL":o.marginLeft=xt(parseInt(a[i]));break;case"indent":o.indent=xt(parseInt(a[i]));break;case"lvl":o.level=a[i]}})),m.get(l,["a:lnSpc","a:spcPct","attrs","val"])&&(o.lineHeight=parseInt(l["a:lnSpc"]["a:spcPct"].attrs.val)/1e5),o}function Ps(l,o,a){var i={},f=m.get(l,"attrs")||{};Object.keys(f).forEach((function(w){switch(w){case"sz":i.size=parseInt(f[w])/100;break;case"b":i.bold=f[w]==="1";break;case"i":i.italic=f[w]==="1";break;case"u":i.underline=f[w];break;case"strike":i.strike=f[w];break;case"order":case"dirty":break;default:i[w]=f[w]}}));var d=m.get(l,"a:solidFill");return d&&(i.color=kt(d,o,a)),i}function Ar(l,o,a,i,f){return Wt(this,void 0,void 0,(function(){var d,w,_,x,A,S,C,U,B,z,X,G,h,n,u,c,g,b,I,M,k;return Ut(this,(function(W){switch(W.label){case 0:for(_ in w=[],d=o)w.push(_);x=0,W.label=1;case 1:if(!(x<w.length))return[3,17];if(!((_=w[x])in d))return[3,16];switch(A=_){case"p:sp":return[3,2];case"p:pic":return[3,3];case"p:cxnSp":return[3,4];case"p:graphicFrame":return[3,5];case"p:grpSp":return[3,14]}return[3,15];case 2:for(S=Array.isArray(o[A])?o[A]:[o[A]],M=0;M<S.length;M++)h=S[M],l.push(new br(h,a,i,f));return[3,16];case 3:for(C=Array.isArray(o[A])?o[A]:[o[A]],M=0;M<C.length;M++)U=C[M],B=U["p:blipFill"]["a:blip"].attrs["r:embed"],z=i.rels[B].target,X=new wa(z,U,a,i,f),l.push(X);return[3,16];case 4:for(G=Array.isArray(o[A])?o[A]:[o[A]],M=0;M<G.length;M++)h=G[M],l.push(new br(h,a,i,f));return[3,16];case 5:n=Array.isArray(o[A])?o[A]:[o[A]],M=0,W.label=6;case 6:if(!(M<n.length))return[3,13];switch(u=n[M],c=m.get(u,["a:graphic","a:graphicData","attrs","uri"]),c){case"http://schemas.openxmlformats.org/drawingml/2006/table":return[3,7];case"http://schemas.openxmlformats.org/drawingml/2006/diagram":return[3,8];case"http://schemas.openxmlformats.org/drawingml/2006/chart":return[3,10]}return[3,12];case 7:return l.push(new Fs(u,a,i,f)),[3,12];case 8:return[4,(g=new Ns(u,a,i,f)).parseNode()];case 9:return W.sent(),l.push(g),[3,12];case 10:return[4,(b=new Ws(u,a,i,f)).parseNode()];case 11:return W.sent(),l.push(b),[3,12];case 12:return M++,[3,6];case 13:return[3,16];case 14:for(I=Array.isArray(o[A])?o[A]:[o[A]],M=0;M<I.length;M++)k=I[M],l.push(new Zi(k,a,i,f));return[3,16];case 15:return[3,16];case 16:return x++,[3,1];case 17:return[2]}}))}))}var Ig=(function(){function l(o,a,i){this.slideType="slide",this.rels={},this.background={type:"none"},this.nodes=[],this.name=o,this.source=a,this.pptx=i}return Object.defineProperty(l.prototype,"index",{get:function(){if(!this.name)return 0;var o=this.name.match(/(\d+)/);return o?parseInt(o[0]):1},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"slideMaster",{get:function(){return this.slideLayout&&this.slideLayout.slideMaster},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"theme",{get:function(){return this.slideMaster.theme},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"_relsPath",{get:function(){return this.name.replace("slides/slide","slides/_rels/slide")+".rels"},enumerable:!1,configurable:!0}),l.prototype.load=function(){return Wt(this,void 0,void 0,(function(){return Ut(this,(function(o){switch(o.label){case 0:return[4,this._loadRels()];case 1:return o.sent(),this._loadBackground(),[4,this._loadNodes()];case 2:return o.sent(),[2]}}))}))},l.prototype._loadRels=function(){return Wt(this,void 0,void 0,(function(){var o,a,i,f=this;return Ut(this,(function(d){switch(d.label){case 0:return a=ce,[4,this.pptx.getXmlByPath(this._relsPath)];case 1:return o=a.apply(void 0,[d.sent()]),i=m.get(o,["Relationships","Relationship"])||[],Array.isArray(i)||(i=[i]),i.forEach((function(w){switch(m.get(w,["attrs","Type"])){case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout":var _=w.attrs.Target.replace("../","ppt/");_.startsWith("/ppt")&&(_=_.substr(1)),f.slideLayout=f.pptx.getSlideLayout(_);break;case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/audio":case"http://schemas.microsoft.com/office/2007/relationships/media":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/video":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramLayout":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramData":case"http://schemas.microsoft.com/office/2007/relationships/diagramDrawing":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramColors":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart":var x=w.attrs.Target.replace("../","ppt/");x.startsWith("/ppt")&&(x=x.substr(1)),f.rels[w.attrs.Id]={type:w.attrs.Type.split("/").pop(),target:x}}})),[2]}}))}))},l.prototype._loadBackground=function(){var o=m.get(this.source,["p:sld","p:cSld","p:bg","p:bgPr"]);o&&o["a:solidFill"]?this.background=kt(o["a:solidFill"],this.theme,this):o&&o["a:gradFill"]?this.background=_r(o["a:gradFill"],this.theme,this):o&&o["a:blipFill"]&&(this.background=xr(o["a:blipFill"],this.pptx,this))},l.prototype._loadNodes=function(){return Wt(this,void 0,void 0,(function(){var o;return Ut(this,(function(a){switch(a.label){case 0:return o=m.get(this.source,["p:sld","p:cSld","p:spTree"]),[4,Ar(this.nodes,o,this.pptx,this)];case 1:return a.sent(),[2]}}))}))},l.prototype.getColorThemeName=function(o){return this.slideLayout.getColorThemeName(o)},l.prototype.getNodeInheritAttrsByType=function(o,a){var i=this.slideLayout.getNodeByType(o),f=m.get(i.source,a);return f||this.slideLayout.getNodeInheritAttrsByType(o,a)},l.prototype.getNodeInheritAttrsByIdx=function(o,a){var i=this.slideLayout.getNodeByIdx(o),f=m.get(i.source,a);return f||this.slideLayout.getNodeInheritAttrsByIdx(o,a)},l})(),Rg=(function(){function l(o,a,i){this.slideType="slideLayout",this.rels={},this.background={type:"none"},this.nodes=[],this.name=o,this.source=a,this.pptx=i}return Object.defineProperty(l.prototype,"_relsPath",{get:function(){return this.name.replace("slideLayouts/slideLayout","slideLayouts/_rels/slideLayout")+".rels"},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"theme",{get:function(){return this.slideMaster.theme},enumerable:!1,configurable:!0}),l.prototype.load=function(){return Wt(this,void 0,void 0,(function(){return Ut(this,(function(o){switch(o.label){case 0:return[4,this._loadRels()];case 1:return o.sent(),[4,this._loadBackground()];case 2:return o.sent(),[4,this._loadNodes()];case 3:return o.sent(),[2]}}))}))},l.prototype._loadRels=function(){return Wt(this,void 0,void 0,(function(){var o,a,i,f=this;return Ut(this,(function(d){switch(d.label){case 0:return a=ce,[4,this.pptx.getXmlByPath(this._relsPath)];case 1:return o=a.apply(void 0,[d.sent()]),i=m.get(o,["Relationships","Relationship"])||[],Array.isArray(i)||(i=[i]),i.forEach((function(w){switch(m.get(w,["attrs","Type"])){case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster":var _=w.attrs.Target.replace("../","ppt/");_.startsWith("/ppt")&&(_=_.substr(1)),f.slideMaster=f.pptx.getSlideMaster(_);break;case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/audio":case"http://schemas.microsoft.com/office/2007/relationships/media":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/video":var x=w.attrs.Target.replace("../","ppt/");x.startsWith("/ppt")&&(x=x.substr(1)),f.rels[w.attrs.Id]={type:w.attrs.Type.split("/").pop(),target:x}}})),[2]}}))}))},l.prototype._loadBackground=function(){return Wt(this,void 0,void 0,(function(){var o;return Ut(this,(function(a){return(o=m.get(this.source,["p:sldLayout","p:cSld","p:bg","p:bgPr"]))&&o["a:solidFill"]?this.background=kt(o["a:solidFill"],this.theme):o&&o["a:gradFill"]?this.background=_r(o["a:gradFill"],this.theme,this):o&&o["a:blipFill"]&&(this.background=xr(o["a:blipFill"],this.pptx,this)),[2]}))}))},l.prototype._loadNodes=function(){return Wt(this,void 0,void 0,(function(){var o;return Ut(this,(function(a){return o=m.get(this.source,["p:sldLayout","p:cSld","p:spTree"]),Ar(this.nodes,o,this.pptx,this),[2]}))}))},l.prototype.getColorThemeName=function(o){return this.slideMaster.getColorThemeName(o)},l.prototype.getNodeByType=function(o){return this.nodes.find((function(a){return a.type===o}))},l.prototype.getNodeByIdx=function(o){return this.nodes.find((function(a){return a.idx===o}))},l.prototype.getNodeInheritAttrsByType=function(o,a){var i=this.slideMaster.getNodeByType(o);return i&&m.get(i.source,a)},l.prototype.getNodeInheritAttrsByIdx=function(o,a){var i=this.slideMaster.getNodeByIdx(o);return i&&m.get(i.source,a)},l})(),Tg=(function(){function l(o,a,i){this.slideType="slideMaster",this.rels={},this.background={type:"none"},this.textStyles={titleStyle:{},bodyStyle:{},otherStyle:{}},this.defaultTextStyle={},this.nodes=[],this.tableStyles={},this.name=o,this.source=a,this.pptx=i,this.load()}return Object.defineProperty(l.prototype,"_relsPath",{get:function(){return this.name.replace("slideMasters/slideMaster","slideMasters/_rels/slideMaster")+".rels"},enumerable:!1,configurable:!0}),l.prototype.load=function(){return Wt(this,void 0,void 0,(function(){return Ut(this,(function(o){switch(o.label){case 0:return[4,this._parseRels()];case 1:return o.sent(),this._parseColorMap(),this._parseBackground(),this._parseTextStyles(),this._parseTableStyles(),this._parseDefaultTextStyle(),this._loadNodes(),[2]}}))}))},l.prototype._parseRels=function(){return Wt(this,void 0,void 0,(function(){var o,a,i,f=this;return Ut(this,(function(d){switch(d.label){case 0:return a=ce,[4,this.pptx.getXmlByPath(this._relsPath)];case 1:return o=a.apply(void 0,[d.sent()]),i=m.get(o,["Relationships","Relationship"])||[],Array.isArray(i)||(i=[i]),i.forEach((function(w){switch(m.get(w,["attrs","Type"])){case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme":var _=w.attrs.Target.replace("../","ppt/");_.startsWith("/ppt")&&(_=_.substr(1)),f.theme=f.pptx.getTheme(_);break;case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/audio":case"http://schemas.microsoft.com/office/2007/relationships/media":case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/video":var x=w.attrs.Target.replace("../","ppt/");x.startsWith("/ppt")&&(x=x.substr(1)),f.rels[w.attrs.Id]={type:w.attrs.Type.split("/").pop(),target:x}}})),[2]}}))}))},l.prototype._parseColorMap=function(){this.colorMap=m.omit(m.get(this.source,["p:sldMaster","p:clrMap","attrs"])||{},["order"])},l.prototype.getColorThemeName=function(o){return this.colorMap[o]||o},l.prototype._parseBackground=function(){var o=m.get(this.source,["p:sldMaster","p:cSld","p:bg","p:bgPr"]),a=m.get(this.source,["p:sldMaster","p:cSld","p:bg","p:bgRef"]);o&&o["a:solidFill"]?this.background=kt(o["a:solidFill"],this.theme,this):o&&o["a:gradFill"]?this.background=_r(o["a:gradFill"],this.theme,this):o&&o["a:blipFill"]?this.background=xr(o["a:blipFill"],this.pptx,this):a&&(this.background=kt(a,this.theme,this))},l.prototype._parseDefaultTextStyle=function(){var o=this,a=this.pptx.defaultTextStyleSource;Object.keys(a).forEach((function(i){if(i.startsWith("a:")&&i.endsWith("pPr")){var f=i.substr(2,i.length-5),d=m.get(a[i],["a:defRPr"]);o.defaultTextStyle[f]={props:Ms(a[i]),defRPr:Ps(d,o.theme,o)}}}))},l.prototype._parseTextStyles=function(){var o=this,a=m.get(this.source,["p:sldMaster","p:txStyles"]);["titleStyle","bodyStyle","otherStyle"].forEach((function(i){var f=o.textStyles[i],d=m.get(a,"p:".concat(i))||{};Object.keys(d).forEach((function(w){if(w.startsWith("a:")&&w.endsWith("pPr")){var _=w.substr(2,w.length-5);f[_]={},f[_].props=Ms(d[w]);var x=m.get(d[w],["a:defRPr"]);f[_].defRPr=Ps(x,o.theme,o)}}))}))},l.prototype._parseTableStyles=function(){var o=this,a={},i=m.get(this.pptx.tableStyles,["a:tblStyleLst","a:tblStyle"])||[];Array.isArray(i)||(i=[i]),i.forEach((function(f){var d=m.get(f,["attrs","styleId"]);a[d]={},Object.keys(f).forEach((function(w){if(w.startsWith("a:")){var _=w.substr(2);a[d][_]={};var x=m.get(f[w],["a:tcStyle"]);if(x){var A={};m.get(x,["a:fill","a:solidFill"])&&(A.background=kt(m.get(x,["a:fill","a:solidFill"]),o.theme,o));var S=m.get(x,"a:tcBdr");S&&(A.border={},Object.keys(S).forEach((function(B){if(B.startsWith("a:")){var z=B.substr(2),X=m.get(S[B],["a:ln"]);A.border[z]=Xn(X,o.theme,o)}}))),a[d][_].tcStyle=A}var C=m.get(f[w],["a:tcTxStyle"]);if(C){var U={};U.color=kt(C,o.theme,o),m.get(C,["attrs","b"])==="on"&&(U.bold=!0),a[d][_].tcTxStyle=U}}}))})),this.tableStyles=a},l.prototype._loadNodes=function(){return Wt(this,void 0,void 0,(function(){var o;return Ut(this,(function(a){return o=m.get(this.source,["p:sldMaster","p:cSld","p:spTree"]),Ar(this.nodes,o,this.pptx,this),[2]}))}))},l.prototype.getNodeByType=function(o){return this.nodes.find((function(a){return a.type===o}))},l.prototype.getNodeByIdx=function(o){return this.nodes.find((function(a){return a.idx===o}))},l.prototype.getNodeInheritAttrsByType=function(o,a){},l.prototype.getNodeInheritAttrsByIdx=function(o,a){},l})(),kg=(function(){function l(o,a,i){this.clrScheme={},this.borderScheme=[],this.name=o,this.source=a,this.pptx=i,this._parseClrScheme(),this._parseLineStyleLst()}return l.prototype._parseClrScheme=function(){var o=m.get(this.source,["a:theme","a:themeElements","a:clrScheme"]);for(var a in o)if(a.startsWith("a:")){var i=a.substring(2),f=m.get(o[a],["a:sysClr","attrs","lastClr"])||m.get(o[a],["a:srgbClr","attrs","val"]);this.clrScheme[i]="#"+f}},l.prototype._parseLineStyleLst=function(){var o=this,a=m.get(this.source,["a:theme","a:themeElements","a:fmtScheme","a:lnStyleLst","a:ln"])||[];this.borderScheme=a.map((function(i){var f={color:{}};return m.get(i,["attrs","w"])&&(f.width=xt(parseInt(m.get(i,["attrs","w"])))),m.get(i,["attrs","algn"])&&(f.algn=m.get(i,["attrs","algn"])),m.get(i,["attrs","cap"])&&(f.cap=m.get(i,["attrs","cap"])),m.get(i,["attrs","cmpd"])&&(f.cmpd=m.get(i,["attrs","cmpd"])),m.get(i,["a:miter","attrs","lim"])&&(f.miterLim=xt(parseInt(m.get(i,["a:miter","attrs","lim"])))),m.get(i,["a:prstDash","attrs","val"])&&(f.type=m.get(i,["a:prstDash","attrs","val"])),m.get(i,["a:solidFill"])&&(f.color=kt(m.get(i,["a:solidFill"]),o)),f}))},l.prototype.getColor=function(o){if(o!=="phClr")return this.clrScheme[o]||this.defaultColor},l.prototype.getLineStyle=function(o){return this.borderScheme[o-1]},l})(),Ss=(function(){function l(){this.slides=[],this.slideLayouts=[],this.slideMaster=[],this.themes=[],this.medias={},this.wps=!1}return l.prototype.load=function(o){return Wt(this,void 0,void 0,(function(){var a,i;return Ut(this,(function(f){switch(f.label){case 0:return a=new bg,i=this,[4,a.loadAsync(o)];case 1:return i._zipContents=f.sent(),[4,this._loadThumbnail()];case 2:return f.sent(),[4,this._loadMedia()];case 3:return f.sent(),[4,this._loadPresentation()];case 4:return f.sent(),[4,this._loadContentTypes()];case 5:return f.sent(),[2]}}))}))},l.prototype._loadThumbnail=function(){return Wt(this,void 0,void 0,(function(){var o;return Ut(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),this._zipContents.files["docProps/thumbnail.jpeg"]?[4,this._zipContents.files["docProps/thumbnail.jpeg"].async("base64")]:[3,2];case 1:o=a.sent(),this.thumbnail="data:image/jpeg;base64,"+o,a.label=2;case 2:return[3,4];case 3:return a.sent(),[3,4];case 4:return[2]}}))}))},l.prototype._loadPresentation=function(){return Wt(this,void 0,void 0,(function(){var o,a,i,f,d,w;return Ut(this,(function(_){switch(_.label){case 0:return _.trys.push([0,4,,5]),[4,this._zipContents.files["ppt/presentation.xml"].async("text")];case 1:return o=_.sent(),a=ce(o),i=a["p:presentation"]["p:sldSz"].attrs,this.width=xt(parseInt(i.cx)),this.height=xt(parseInt(i.cy)),this.defaultTextStyleSource=m.get(a,["p:presentation","p:defaultTextStyle"]),this._zipContents.files["docProps/app.xml"]?[4,this._zipContents.files["docProps/app.xml"].async("text")]:[3,3];case 2:f=_.sent(),d=ce(f),w=m.get(d,["Properties","Application"]),this.wps=(w==null?void 0:w.includes("WPS"))||!1,_.label=3;case 3:return[3,5];case 4:return _.sent(),[3,5];case 5:return[2]}}))}))},l.prototype._loadContentTypes=function(){return Wt(this,void 0,void 0,(function(){var o,a,i,f,d,w,_,x,A,S,C,U,B,z,X,G,h,n,u,c,g;return Ut(this,(function(b){switch(b.label){case 0:return b.trys.push([0,22,,23]),a=ce,[4,this._zipContents.files["[Content_Types].xml"].async("text")];case 1:if(o=a.apply(void 0,[b.sent()]),i=o.Types.Override,!(f=i.filter((function(I){return I.attrs.ContentType==="application/vnd.openxmlformats-officedocument.theme+xml"}))))return[3,5];d=0,w=f,b.label=2;case 2:return d<w.length?(_=w[d],n=_.attrs.PartName.substr(1),x=ce,[4,this._zipContents.files[n].async("text")]):[3,5];case 3:u=x.apply(void 0,[b.sent()]),this.themes.push(new kg(n,u,this)),b.label=4;case 4:return d++,[3,2];case 5:return(A=i.find((function(I){return I.attrs.ContentType==="application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml"})))?(n=A.attrs.PartName.substr(1),S=ce,[4,this._zipContents.files[n].async("text")]):[3,7];case 6:u=S.apply(void 0,[b.sent()]),this.tableStyles=u,b.label=7;case 7:C=i.filter((function(I){return I.attrs.ContentType==="application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml"})),h=0,b.label=8;case 8:return h<C.length?(n=C[h].attrs.PartName.substr(1),U=ce,[4,this._zipContents.files[n].async("text")]):[3,11];case 9:u=U.apply(void 0,[b.sent()]),this.slideMaster.push(new Tg(n,u,this)),b.label=10;case 10:return h++,[3,8];case 11:B=i.filter((function(I){return I.attrs.ContentType==="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"})),h=0,b.label=12;case 12:return h<B.length?(n=B[h].attrs.PartName.substr(1),z=ce,[4,this._zipContents.files[n].async("text")]):[3,16];case 13:return u=z.apply(void 0,[b.sent()]),[4,(X=new Rg(n,u,this)).load()];case 14:b.sent(),this.slideLayouts.push(X),b.label=15;case 15:return h++,[3,12];case 16:G=i.filter((function(I){return I.attrs.ContentType==="application/vnd.openxmlformats-officedocument.presentationml.slide+xml"})),h=0,b.label=17;case 17:return h<G.length?(n=G[h].attrs.PartName.substr(1),c=ce,[4,this._zipContents.files[n].async("text")]):[3,21];case 18:return u=c.apply(void 0,[b.sent()]),[4,(g=new Ig(n,u,this)).load()];case 19:b.sent(),this.slides.push(g),b.label=20;case 20:return h++,[3,17];case 21:return this.slides.sort((function(I,M){return I.index-M.index})),[3,23];case 22:return b.sent(),[3,23];case 23:return[2]}}))}))},l.prototype._loadMedia=function(){return Wt(this,void 0,void 0,(function(){var o,a,i,f,d,w,_,x,A,S,C,U,B,z=this;return Ut(this,(function(X){switch(X.label){case 0:o=Object.keys(this._zipContents.files).filter((function(h){return h.startsWith("ppt/media/image")})).map((function(h){return z._zipContents.files[h]})),a=0,i=o,X.label=1;case 1:return a<i.length?(f=i[a],d=(function(h){var n;switch(h){case"jpg":case"jpeg":n="image/jpeg";break;case"png":n="image/png";break;case"gif":n="image/gif";break;case"emf":n="image/x-emf";break;case"wmf":n="image/x-wmf";break;default:n="image/*"}return n})((G=f.name).substr(2+(~-G.lastIndexOf(".")>>>0))),[4,f.async("base64")]):[3,4];case 2:w=X.sent(),this.medias[f.name]="data:".concat(d,";base64,").concat(w),X.label=3;case 3:return a++,[3,1];case 4:_=Object.keys(this._zipContents.files).filter((function(h){return h.startsWith("ppt/media/media")&&["mp3","wav","ogg","mp4","webm"].includes(h.split(".").pop().toLowerCase())})).map((function(h){return z._zipContents.files[h]})),x=0,A=_,X.label=5;case 5:return x<A.length?(S=A[x],C=S.name.split(".").pop().toLowerCase(),[4,S.async("arraybuffer")]):[3,8];case 6:U=X.sent(),B=new Blob([U],{type:"".concat(["mp3","wav"].includes(C)?"audio":"video","/").concat(C)}),this.medias[S.name]=URL.createObjectURL(B),X.label=7;case 7:return x++,[3,5];case 8:return[2]}var G}))}))},l.prototype.getXmlByPath=function(o){return Wt(this,void 0,void 0,(function(){return Ut(this,(function(a){switch(a.label){case 0:if(!this._zipContents.files[o])throw new Error("文件不存在");return[4,this._zipContents.files[o].async("text")];case 1:return[2,a.sent()]}}))}))},l.prototype.getSlideLayout=function(o){return this.slideLayouts.find((function(a){return a.name===o}))},l.prototype.getSlideMaster=function(o){return this.slideMaster.find((function(a){return a.name===o}))},l.prototype.getTheme=function(o){return this.themes.find((function(a){return a.name===o}))},l.prototype.getMedia=function(o){return this.medias[o]},l})();function Ui(l){var o=l.extend,a=l.offset,i=l.clip,f=l.base64,d=l.audioFile,w=l.videoFile,_=document.createElement("div");_.style.setProperty("position","absolute"),_.style.setProperty("left",a.x+"px"),_.style.setProperty("top",a.y+"px");var x,A,S,C,U=document.createElement("div");U.style.setProperty("position","absolute"),U.style.setProperty("left","0"),U.style.setProperty("top","0"),U.style.setProperty("width",o.w+"px"),U.style.setProperty("height",o.h+"px"),U.style.setProperty("overflow","hidden"),i?(x=o.w/(1-(i.l===void 0?0:i.l)-(i.r===void 0?0:i.r)),A=o.h/(1-(i.t===void 0?0:i.t)-(i.b===void 0?0:i.b)),S=-1*x*(i.l===void 0?0:i.l),C=-1*A*(i.t===void 0?0:i.t)):(x=o.w,A=o.h,S=0);var B=document.createElement("img");if(B.src=f,B.width=x,B.height=A,B.style.setProperty("position","absolute"),B.style.setProperty("left",S+"px"),B.style.setProperty("top",C+"px"),U.append(B),_.append(U),d){var z=document.createElement("audio");z.style.position="absolute",z.style.left="0",z.style.top="0",z.src=d,z.controls=!0,z.style.transform="translate(-50%)",_.append(z)}if(w){var X=document.createElement("video");X.style.position="absolute",X.style.left="0",X.style.top="0",X.width=o.w,X.height=o.h,X.src=w,X.controls=!0,_.append(X)}return _}function Eg(l,o,a){var i,f=l.props,d=l.text,w=q(q({},o),f),_=document.createElement("span");_.innerHTML=typeof d=="string"?d:"";var x=18;w.size&&(!((i=a==null?void 0:a.normAutofit)===null||i===void 0)&&i.fontScale?(x=w.size*a.normAutofit.fontScale,_.style.fontSize=x+"px"):(x=w.size,_.style.fontSize=x+"px"));var A=wt(w.color);A&&(_.style.color=A);var S=/^[^\u4e00-\u9fff]+$/;if(w.typeface)switch(_.style.fontFamily=w.typeface,w.typeface){case"DengXian":S.test(d)&&(_.style.letterSpacing=-.04*x+"px");break;case"DengXian Light":S.test(d)&&(_.style.letterSpacing=-.05*x+"px");break;case"STLiti":case"SimSun":case"NSimSun":case"SimHei":S.test(d)&&(_.style.fontSize=.85*parseInt(_.style.fontSize)+"px");break;case"华文中宋":case"Fira Sans Extra Condensed Medium":_.style.fontSize=.85*parseInt(_.style.fontSize)+"px";break;case"FangSong":_.style.letterSpacing=-.08*x+"px"}else S.test(d)&&(_.style.letterSpacing=-.04*x+"px");return w.bold&&(_.style.fontWeight="bold"),w.italic&&(_.style.fontStyle="italic"),w.underline&&w.underline!=="none"&&(_.style.textDecoration="underline"),w.background&&(_.style.backgroundColor=wt(w.background)),_.style.wordBreak="break-word",_}function Bg(l,o,a){var i=document.createElement("span"),f=l.firstElementChild;switch(i.style.fontSize=f.style.fontSize,i.style.color=f.style.color,i.style.fontWeight=f.style.fontWeight,i.style.fontStyle=f.style.fontStyle,i.style.marginRight="10px",o.buAutoNum){case"arabicPeriod":default:i.textContent=a+".";break;case"circleNumDbPlain":i.textContent=["①","②","③","④","⑤","⑥","⑦","⑧","⑨","⑩","⑪","⑫","⑬","⑭","⑮","⑯","⑰","⑱","⑲","⑳"][a-1]||a+"";break;case"romanUcPeriod":i.textContent=(function(d){var w=[{value:1e3,numeral:"M"},{value:900,numeral:"CM"},{value:500,numeral:"D"},{value:400,numeral:"CD"},{value:100,numeral:"C"},{value:90,numeral:"XC"},{value:50,numeral:"L"},{value:40,numeral:"XL"},{value:10,numeral:"X"},{value:9,numeral:"IX"},{value:5,numeral:"V"},{value:4,numeral:"IV"},{value:1,numeral:"I"}];if(typeof d!="number"||d<1||d>3999)throw new Error("Input must be a number between 1 and 3999.");for(var _="",x=0;x<w.length;x++)for(;d>=w[x].value;)_+=w[x].numeral,d-=w[x].value;return _})(a)+".";break;case"alphaUcPeriod":i.textContent=Bi(a)+".";break;case"alphaLcPeriod":i.textContent=Bi(a).toLowerCase()+".";break;case"alphaLcParenR":i.textContent=Bi(a).toLowerCase()+")";break;case"ea1JpnChsDbPeriod":i.textContent=(function(d){var w=["〇","一","二","三","四","五","六","七","八","九"];if(!Number.isInteger(d)||d<0)return"";for(var _="",x=d.toString(),A=0;A<x.length;A++)_+=w[parseInt(x[A],10)];return _})(a)+"."}l.prepend(i)}function ya(l,o,a){var i,f,d,w;o===void 0&&(o=0),a===void 0&&(a={});var _=l.inheritProps,x=l.inheritRProps,A=l.props,S=l.rows,C=q(q({},_),A),U=function(){for(var b,I,M=0,k=0,W=S;k<W.length;k++){var H=W[k];H.props&&H.props.size&&(M=Math.max(M,H.props.size))}var Y=((I=(b=a==null?void 0:a.bodyProps)===null||b===void 0?void 0:b.normAutofit)===null||I===void 0?void 0:I.fontScale)||1;return(M||x.size||18)*Y},B=document.createElement("div"),z=a.isFirst?0:C.spaceBefore||0,X=a.isLast?0:C.spaceAfter||0;B.style.margin="".concat(Math.floor(.2*U()),"px 0 0 0"),B.style.padding="".concat(Math.floor(z),"px 0px ").concat(Math.floor(X),"px 0px");var G=document.createElement("p");G.style.margin="0",G.style.padding="0px",G.style.wordBreak="break-word",G.style.textAlign=C.align&&{ctr:"center",l:"left",r:"right",dist:"justify"}[C.align]||"center",C.align==="dist"&&(G.style.textAlignLast="justify");var h=C.hasOwnProperty("lineHeight")?C.lineHeight:1;if(!((f=(i=a.bodyProps)===null||i===void 0?void 0:i.normAutofit)===null||f===void 0)&&f.lnSpcReduction&&(h*=1-((w=(d=a.bodyProps)===null||d===void 0?void 0:d.normAutofit)===null||w===void 0?void 0:w.lnSpcReduction)),G.style.lineHeight=h+"",G.style.fontSize=U()+"px",S.length){for(var n=0,u=S;n<u.length;n++){var c=u[n];c.isBr?G.appendChild(document.createElement("br")):G.appendChild(Eg(c,q(q({},x),{marginTop:Math.floor(.2*U())}),a.bodyProps))}C.buAutoNum?Bg(G,C,o):C.buChar&&(function(b,I){var M=document.createElement("span"),k=b.firstElementChild;M.style.color=k.style.color,M.style.fontSize=k.style.fontSize,M.textContent={n:"■",l:"●",u:"◆",p:"□",ü:"✔",Ø:"➢","•":"•"}[I.buChar]||"■",M.style.marginRight="10px",b.prepend(M)})(G,C),G.style.paddingLeft=(C.marginLeft||0)+(C.indent||0)+"px"}else{var g=document.createElement("span");g.innerHTML=" ",g.style.fontSize=x.size+"px",G.appendChild(g)}return B.appendChild(G),B}var Us="http://www.w3.org/2000/svg";function N(l){return document.createElementNS(Us,l)}function Qe(l){var o=l.extend;return .16667*Math.min(o.w,o.h)}function V(l,o,a){a===void 0&&(a=0);var i=o.prstGeom,f=((i==null?void 0:i.gd)||[]).find((function(d){return d.name===l}));return f?f.fmla:a}function j(l,o,a){a===void 0&&(a=0);var i=o.extend,f=o.prstGeom,d=((f==null?void 0:f.gd)||[]).find((function(w){return w.name===l}));return d?Math.min(i.w,i.h)*d.fmla:a}function Cs(l,o,a){a===void 0&&(a=0);var i=o.extend,f=o.prstGeom,d=((f==null?void 0:f.gd)||[]).find((function(w){return w.name===l}));return d?Math.max(i.w,i.h)*d.fmla:a}function Oe(l,o){var a=0;switch(l){case"sm":a=1*o;break;case"med":a=1.5*o;break;case"lg":a=2.5*o}return Math.max(a,2)}function Is(l,o,a,i){i===void 0&&(i=!1);var f=l.border,d=f===void 0?{}:f,w=l.uuid,_=d.headEnd,x=d.width,A=d.color,S=d.tailEnd,C=i?_:S,U=C.len,B=U===void 0?"med":U,z=C.w,X=z===void 0?"med":z,G=Oe(B,x),h=Oe(X,x),n=N("defs"),u=N("marker"),c="marker-".concat(w,"-").concat(i?"start":"end");u.setAttribute("id",c),u.setAttribute("viewBox","0 0 ".concat(2*G," ").concat(2*h)),u.setAttribute("refX",G+"px"),u.setAttribute("refY",h+"px"),u.setAttribute("markerWidth",2*G+"px"),u.setAttribute("markerHeight",2*h+"px"),u.setAttribute("orient","auto"),u.setAttribute("markerUnits","userSpaceOnUse");var g=N("ellipse");g.setAttribute("cx",G+"px"),g.setAttribute("cy",h+"px"),g.setAttribute("rx",G+"px"),g.setAttribute("ry",h+"px"),g.setAttribute("fill",wt(A)||"transparent"),u.appendChild(g),n.appendChild(u),o.appendChild(n),a.setAttribute(i?"marker-start":"marker-end","url(#".concat(c,")"))}function Rs(l,o,a,i){i===void 0&&(i=!1);var f=l.border,d=f===void 0?{}:f,w=l.uuid,_=d.headEnd,x=d.width,A=d.color,S=d.tailEnd,C=i?_:S,U=C.len,B=U===void 0?"med":U,z=C.w,X=z===void 0?"med":z,G=Oe(B,x),h=Oe(X,x),n=N("defs"),u=N("marker"),c="marker-".concat(w,"-").concat(i?"start":"end");u.setAttribute("id",c),u.setAttribute("viewBox","0 0 ".concat(2*G," ").concat(2*h)),u.setAttribute("refX",(i?.9*G:1.1*G)+"px"),u.setAttribute("refY",h+"px"),u.setAttribute("markerWidth",2*G+"px"),u.setAttribute("markerHeight",2*h+"px"),u.setAttribute("orient","auto"),u.setAttribute("markerUnits","userSpaceOnUse");var g=N("path"),b=i?["M ".concat(2*G,",0"),"L 0,".concat(h),"L ".concat(2*G,",").concat(2*h),"Z"].join(" "):["M 0,0","L ".concat(2*G,",").concat(h),"L 0,".concat(2*h),"Z"].join(" ");g.setAttribute("d",b),g.setAttribute("fill",wt(A)||"transparent"),u.appendChild(g),n.appendChild(u),o.appendChild(n),a.setAttribute(i?"marker-start":"marker-end","url(#".concat(c,")"))}function Ts(l,o,a,i){i===void 0&&(i=!1);var f=l.border,d=f===void 0?{}:f,w=l.uuid,_=d.headEnd,x=d.width,A=d.color,S=d.tailEnd,C=i?_:S,U=C.len,B=U===void 0?"med":U,z=C.w,X=z===void 0?"med":z,G=Oe(B,x),h=Oe(X,x),n=N("defs"),u=N("marker"),c="marker-".concat(w,"-").concat(i?"start":"end");u.setAttribute("id",c),u.setAttribute("viewBox","0 0 ".concat(2*G," ").concat(2*h)),u.setAttribute("refX",G+"px"),u.setAttribute("refY",h+"px"),u.setAttribute("markerWidth",2*G+"px"),u.setAttribute("markerHeight",2*h+"px"),u.setAttribute("orient","auto"),u.setAttribute("markerUnits","userSpaceOnUse");var g=N("path"),b=["M 0,".concat(h),"L ".concat(G,",0"),"L ".concat(2*G,",").concat(h),"L ".concat(G,",").concat(2*h),"Z"].join(" ");g.setAttribute("d",b),g.setAttribute("fill",wt(A)||"transparent"),u.appendChild(g),n.appendChild(u),o.appendChild(n),a.setAttribute(i?"marker-start":"marker-end","url(#".concat(c,")"))}function ks(l,o,a,i){i===void 0&&(i=!1);var f=l.border,d=f===void 0?{}:f,w=l.uuid,_=d.headEnd,x=d.width,A=d.color,S=d.tailEnd,C=i?_:S,U=C.len,B=U===void 0?"med":U,z=C.w,X=z===void 0?"med":z,G=Oe(B,x),h=Oe(X,x),n=N("defs"),u=N("marker"),c="marker-".concat(w,"-").concat(i?"start":"end");u.setAttribute("id",c),u.setAttribute("viewBox","0 0 ".concat(2*G+2*x," ").concat(2*h+2*x));var g=i?X==="lg"?2*x:3*x:X==="lg"?2*G:2*G-x;u.setAttribute("refX",g+"px"),u.setAttribute("refY",h+x+"px"),u.setAttribute("markerWidth",2*G+"px"),u.setAttribute("markerHeight",2*h+"px"),u.setAttribute("orient","auto"),u.setAttribute("markerUnits","userSpaceOnUse");var b=N("path"),I=i?["M ".concat(2*G+x,", ").concat(x),"L ".concat(x,",").concat(h+x),"L ".concat(2*G+x,",").concat(2*h+x)].join(" "):["M ".concat(x,", ").concat(x),"L ".concat(2*G+x,",").concat(h+x),"L ".concat(x,",").concat(2*h+x)].join(" ");b.setAttribute("d",I),b.setAttribute("stroke-width",x+"px"),b.setAttribute("stroke",wt(A)||"transparent"),b.setAttribute("fill","transparent"),b.setAttribute("stroke-linecap","round"),b.setAttribute("stroke-linejoin","miter"),b.style.overflow="visible",u.appendChild(b),n.appendChild(u),o.appendChild(n),a.setAttribute(i?"marker-start":"marker-end","url(#".concat(c,")"))}function Es(l,o,a,i){i===void 0&&(i=!1);var f=l.border,d=f===void 0?{}:f,w=l.uuid,_=d.headEnd,x=d.width,A=d.color,S=d.tailEnd,C=i?_:S,U=C.len,B=U===void 0?"med":U,z=C.w,X=z===void 0?"med":z,G=Oe(B,x),h=Oe(X,x),n=N("defs"),u=N("marker"),c="marker-".concat(w,"-").concat(i?"start":"end");u.setAttribute("id",c),u.setAttribute("viewBox","0 0 ".concat(2*G," ").concat(2*h));var g=i?X==="sm"?1.5*x:2*x:X==="sm"?2*G-1.5*x:2*G-2*x;u.setAttribute("refX",g+"px"),u.setAttribute("refY",h+"px"),u.setAttribute("markerWidth",2*G+"px"),u.setAttribute("markerHeight",2*h+"px"),u.setAttribute("orient","auto"),u.setAttribute("markerUnits","userSpaceOnUse");var b=N("path"),I=i?["M 0, ".concat(h),"L ".concat(2*G,",0"),"L ".concat(G,",").concat(h),"L ".concat(2*G,",").concat(2*h),"Z"].join(" "):["M 0,0","L ".concat(2*G,",").concat(h),"L 0,".concat(2*h),"L ".concat(G,",").concat(h),"Z"].join(" ");b.setAttribute("d",I),b.setAttribute("fill",wt(A)||"transparent"),b.style.overflow="visible",u.appendChild(b),n.appendChild(u),o.appendChild(n),a.setAttribute(i?"marker-start":"marker-end","url(#".concat(c,")"))}function dr(l,o,a){var i=l.border,f=i===void 0?{}:i;l.extend;var d=f.headEnd,w=f.tailEnd;if(d&&d.type!=="none")switch(d.type){case"triangle":Rs(l,o,a,!0);break;case"oval":Is(l,o,a,!0);break;case"diamond":Ts(l,o,a,!0);break;case"arrow":ks(l,o,a,!0);break;case"stealth":Es(l,o,a,!0)}if(w&&w.type!=="none")switch(w.type){case"triangle":Rs(l,o,a,!1);break;case"oval":Is(l,o,a,!1);break;case"diamond":Ts(l,o,a,!1);break;case"arrow":ks(l,o,a,!1);break;case"stealth":Es(l,o,a,!1)}}function Bs(l){var o=l.extend,a=N("rect");return a.setAttribute("x","0"),a.setAttribute("y","0"),a.setAttribute("width",o.w+"px"),a.setAttribute("height",o.h+"px"),a}function Qt(l,o,a,i,f){var d=l*Math.PI/180;return[d===0||d===2*Math.PI?o+i:d===Math.PI?o-i:d===Math.PI/2||d===3*Math.PI/2?o:d>0&&d<Math.PI/2||d>3*Math.PI/2&&d<2*Math.PI?o+Math.sqrt(1/(1/Math.pow(i,2)+Math.pow(Math.tan(d),2)/Math.pow(f,2))):o-Math.sqrt(1/(1/Math.pow(i,2)+Math.pow(Math.tan(d),2)/Math.pow(f,2))),d===0||d===2*Math.PI||d===Math.PI?a:d===Math.PI/2?a+f:d===3*Math.PI/2?a-f:d>Math.PI&&d<2*Math.PI?a-Math.sqrt(1/(1/Math.pow(f,2)+Math.pow(1/Math.tan(d),2)/Math.pow(i,2))):a+Math.sqrt(1/(1/Math.pow(f,2)+Math.pow(1/Math.tan(d),2)/Math.pow(i,2)))]}function gr(l,o){var a=0;return(o>l&&o-l>180||o<l&&l-o<180)&&(a=1),a}function vr(l){var o=l.extend,a=.146*o.w,i=.146*o.h;return{top:i,bottom:i,left:a,right:a,w:o.w-2*a,h:o.h-2*i}}function Gi(l){var o=l.extend,a=l.offset,i=l.border,f=l.background,d=l.rotate,w=l.flipH,_=l.flipV,x=document.createElement("div"),A=a.x,S=a.y;x.className="shape-wrapper shape-".concat(l.shape),x.style.setProperty("position","absolute"),x.style.setProperty("width",(o.w||1)+"px"),x.style.setProperty("height",(o.h||1)+"px"),x.style.setProperty("left",A+"px"),x.style.setProperty("top",S+"px");var C,U=document.createElementNS(Us,"svg");U.style.setProperty("position","absolute"),U.setAttribute("width","100%"),U.setAttribute("height","100%"),U.style.setProperty("left","0"),U.style.setProperty("top","0"),U.style.overflow="visible";var B={left:0,top:0,bottom:0,w:o.w,h:o.h},z=!0;switch(l.shape){case"customGeom":C=(function(h){var n=h.prstGeom,u=n===void 0?{}:n,c=h.extend,g=u.pathList,b=u.w,I=u.h,M=N("path"),k={moveTo:"M",lnTo:"L",cubicBezTo:"C",close:"Z"},W=c.w/b,H=c.h/I,Y=g.map((function(Q){var rt=k[Q.type],ot=Array.isArray(Q.points)?Q.points.map((function(st){return"".concat(st[0]*W,",").concat(st[1]*H)})).join(" "):"";return ot?"".concat(rt," ").concat(ot):"".concat(rt)})).join(" ");return M.setAttribute("d",Y),M.style.fillRule="evenodd",M})(l),dr(l,U,C);break;case"flowChartProcess":case"rect":C=Bs(l);break;case"snip1Rect":C=(function(h){var n=h.extend,u=N("polygon"),c=j("adj",h,Qe(h)),g=["0,0","".concat(n.w-c,",0"),"".concat(n.w,",").concat(c),"".concat(n.w,",").concat(n.h),"0,".concat(n.h)].join(" ");return u.setAttribute("points",g),u})(l);break;case"snip2SameRect":C=(function(h){var n=h.extend,u=N("polygon"),c=j("adj1",h,Qe(h)),g=j("adj2",h,0),b=[[c,0],[n.w-c,0],[n.w,c],[n.w,n.h-g],[n.w-g,n.h],[g,n.h],[0,n.h-g],[0,c]].map((function(I){return"".concat(I[0],",").concat(I[1])})).join(" ");return u.setAttribute("points",b),u})(l);break;case"snip2DiagRect":C=(function(h){var n=h.extend,u=N("polygon"),c=j("adj1",h,0),g=j("adj2",h,Qe(h)),b=[[c,0],[n.w-g,0],[n.w,g],[n.w,n.h-c],[n.w-c,n.h],[g,n.h],[0,n.h-g],[0,c]].map((function(I){return"".concat(I[0],",").concat(I[1])})).join(" ");return u.setAttribute("points",b),u})(l);break;case"snipRoundRect":C=(function(h){var n=h.extend,u=N("path"),c=j("adj1",h,Qe(h)),g=j("adj2",h,Qe(h)),b=["M ".concat(c,",0"),"L ".concat(n.w-g,",0"),"L ".concat(n.w,",").concat(g),"L ".concat(n.w,",").concat(n.h),"L 0,".concat(n.h),"L 0,".concat(c),"Q 0,0 ".concat(c,",0"),"Z"].join(" ");return u.setAttribute("d",b),u})(l);break;case"roundRect":C=(function(h){var n=Bs(h),u=j("adj",h,Qe(h));return n.setAttribute("rx",u+"px"),n.setAttribute("ry",u+"px"),n})(l);break;case"round1Rect":C=(function(h){var n=h.extend,u=N("path"),c=j("adj",h,Qe(h)),g=["M 0,0","L ".concat(n.w-c,",0"),"Q ".concat(n.w,",0 ").concat(n.w,",").concat(c),"L ".concat(n.w,",").concat(n.h),"L 0,".concat(n.h),"Z"].join(" ");return u.setAttribute("d",g),u})(l);break;case"round2SameRect":C=(function(h){var n=h.extend,u=N("path"),c=j("adj1",h,Qe(h)),g=j("adj2",h,0),b=["M ".concat(c,",0"),"L ".concat(n.w-c,",0"),"Q ".concat(n.w,",0 ").concat(n.w,",").concat(c),"L ".concat(n.w,",").concat(n.h-g),"Q ".concat(n.w,",").concat(n.h," ").concat(n.w-g,",").concat(n.h),"L ".concat(g,",").concat(n.h),"Q 0,".concat(n.h," 0,").concat(n.h-g),"L 0,".concat(c),"Q 0,0 ".concat(c,",0"),"Z"].join(" ");return u.setAttribute("d",b),u})(l);break;case"round2DiagRect":C=(function(h){var n=h.extend,u=N("path"),c=j("adj1",h,Qe(h)),g=j("adj2",h,0),b=["M ".concat(c,",0"),"L ".concat(n.w-g,",0"),"Q ".concat(n.w,",0 ").concat(n.w,",").concat(g),"L ".concat(n.w,",").concat(n.h-c),"Q ".concat(n.w,",").concat(n.h," ").concat(n.w-c,",").concat(n.h),"L ".concat(g,",").concat(n.h),"Q 0,".concat(n.h," 0,").concat(n.h-g),"L 0,".concat(c),"Q 0,0 ".concat(c,",0"),"Z"].join(" ");return u.setAttribute("d",b),u})(l);break;case"triangle":C=(function(h){var n=h.extend,u=N("polygon"),c=["".concat(n.w/2,",0"),"0,".concat(n.h),"".concat(n.w,",").concat(n.h)].join(" ");return u.setAttribute("points",c),u})(l);break;case"rtTriangle":C=(function(h){var n=h.extend,u=N("polygon"),c=["0,".concat(n.h),"0,0","".concat(n.w,",").concat(n.h)].join(" ");return u.setAttribute("points",c),u})(l);break;case"ellipse":C=(function(h){var n=h.extend,u=N("ellipse"),c=n.w/2,g=n.h/2,b=c,I=g;return u.setAttribute("cx",c+"px"),u.setAttribute("cy",g+"px"),u.setAttribute("rx",b+"px"),u.setAttribute("ry",I+"px"),u})(l);break;case"line":C=(function(h){var n=h.extend,u=N("path"),c=["M 0,0","L ".concat(n.w,",").concat(n.h)].join(" ");return u.setAttribute("d",c),u})(l),dr(l,U,C),z=!1;break;case"straightConnector1":C=(function(h){var n=h.extend,u=N("path"),c=["M 0,0","L ".concat(n.w,",").concat(n.h)].join(" ");return u.setAttribute("d",c),u})(l),dr(l,U,C),z=!1;break;case"bentConnector3":C=(function(h){var n=h.extend,u=N("path"),c=Cs("adj1",h,.5*Math.max(n.w,n.h)),g=["M 0,0","L ".concat(c,",0"),"L ".concat(c,",").concat(n.h),"L ".concat(n.w,",").concat(n.h)].join(" ");return u.setAttribute("d",g),u})(l),dr(l,U,C),z=!1;break;case"curvedConnector3":C=(function(h){var n=h.extend,u=N("path"),c=Cs("adj1",h,.5*Math.max(n.w,n.h)),g=["M0,0","Q".concat(c,",0 ").concat(c,",").concat(n.h/2),"T".concat(n.w,",").concat(n.h)].join(" ");return u.setAttribute("d",g),u})(l),dr(l,U,C),z=!1;break;case"parallelogram":C=(function(h){var n=h.extend,u=N("path"),c=j("adj",h,.5*Math.min(n.w,n.h)),g=["M".concat(c,",0"),"L".concat(n.w,",0"),"L".concat(n.w-c,",").concat(n.h),"L0,".concat(n.h),"Z"].join(" ");return u.setAttribute("d",g),u})(l),B=(function(h){var n=h.extend,u=j("adj",h,.5*Math.min(n.w,n.h)),c=.84*(n.w-u),g=.08*n.h+u/n.w*n.h*.42;return{top:g,bottom:g,left:(n.w-c)/2,right:(n.w-c)/2,w:c,h:n.h-2*g}})(l);break;case"trapezoid":C=(function(h){var n=h.extend,u=N("path"),c=j("adj",h,.25*Math.min(n.w,n.h)),g=["M".concat(c,",0"),"L".concat(n.w-c,",0"),"L".concat(n.w,",").concat(n.h),"L0,".concat(n.h),"Z"].join(" ");return u.setAttribute("d",g),u})(l),B=(function(h){var n=h.extend,u=j("adj",h,.5*Math.min(n.w,n.h)),c=u/n.w*.66*n.h,g=.66*u;return{top:c,bottom:0,left:g,right:g,w:n.w-2*g,h:n.h-c}})(l);break;case"diamond":C=(function(h){var n=h.extend,u=N("path"),c=["M".concat(n.w/2,",0"),"L".concat(n.w,",").concat(n.h/2),"L".concat(n.w/2,",").concat(n.h),"L0,".concat(n.h/2),"Z"].join(" ");return u.setAttribute("d",c),u})(l),B=(function(h){var n=h.extend,u=.25*n.h,c=.25*n.w;return{top:u,bottom:u,left:c,right:c,w:.5*n.w,h:.5*n.h}})(l);break;case"pentagon":C=(function(h){var n=h.extend,u=N("path"),c=["M".concat(n.w/2,",0"),"L".concat(n.w,",").concat(.3771*n.h),"L".concat(.808*n.w,",").concat(n.h),"L".concat(.192*n.w,",").concat(n.h),"L0,".concat(.3771*n.h),"Z"].join(" ");return u.setAttribute("d",c),u})(l),B=(function(h){var n=h.extend,u=.227*n.h,c=.192*n.w;return{top:u,bottom:0,left:c,right:c,w:.616*n.w,h:.773*n.h}})(l);break;case"hexagon":C=(function(h){var n=h.extend,u=N("path"),c=j("adj",h,.25*Math.min(n.w,n.h)),g=["M".concat(c,",0"),"L".concat(n.w-c,",0"),"L".concat(n.w,",").concat(n.h/2),"L".concat(n.w-c,",").concat(n.h),"L".concat(c,",").concat(n.h),"L0,".concat(n.h/2),"Z"].join(" ");return u.setAttribute("d",g),u})(l),B=(function(h){var n=h.extend,u=j("adj",h,.25*Math.min(n.w,n.h)),c=.098*n.h+u/n.w*.38*n.h,g=.088*n.w+.422*u;return{top:c,bottom:c,left:g,right:g,w:n.w-2*g,h:n.h-2*c}})(l);break;case"heptagon":C=(function(h){var n=h.extend,u=N("path"),c=["M".concat(n.w/2,",0"),"L".concat(.9*n.w,",").concat(.2*n.h),"L".concat(n.w,",").concat(.642*n.h),"L".concat(.722*n.w,",").concat(n.h),"L".concat(.278*n.w,",").concat(n.h),"L0,".concat(.642*n.h),"L".concat(.1*n.w,",").concat(.2*n.h),"Z"].join(" ");return u.setAttribute("d",c),u})(l),B=(function(h){var n=h.extend;return{top:.2*n.h,bottom:.2*n.h,left:.1*n.w,right:.1*n.w,w:.8*n.w,h:.6*n.h}})(l);break;case"octagon":C=(function(h){var n=h.extend,u=N("path"),c=j("adj",h,.29*Math.min(n.w,n.h)),g=["M".concat(c,",0"),"L".concat(n.w-c,",0"),"L".concat(n.w,",").concat(c),"L".concat(n.w,",").concat(n.h-c),"L".concat(n.w-c,",").concat(n.h),"L".concat(c,",").concat(n.h),"L0,".concat(n.h-c),"L0,".concat(c),"Z"].join(" ");return u.setAttribute("d",g),u})(l),B=(function(h){var n=h.extend,u=j("adj",h,.29*Math.min(n.w,n.h));return{top:.5*u,bottom:.5*u,left:.5*u,right:.5*u,w:n.w-u,h:n.h-u}})(l);break;case"decagon":C=(function(h){var n=h.extend,u=N("path"),c=.344,g=.117,b=.19,I=["M".concat(n.w*c,",0"),"L".concat(.656*n.w,",0"),"L".concat(.883*n.w,",").concat(n.h*b),"L".concat(n.w,",").concat(.5*n.h),"L".concat(.883*n.w,",").concat(.81*n.h),"L".concat(.656*n.w,",").concat(n.h),"L".concat(n.w*c,",").concat(n.h),"L".concat(n.w*g,",").concat(.81*n.h),"L0,".concat(.5*n.h),"L".concat(n.w*g,",").concat(n.h*b),"Z"].join(" ");return u.setAttribute("d",I),u})(l),B=(function(h){var n=h.extend,u=.117,c=.19;return{top:n.h*c,bottom:n.h*c,left:n.w*u,right:n.w*u,w:.766*n.w,h:.62*n.h}})(l);break;case"dodecagon":C=(function(h){var n=h.extend,u=N("path"),c=.364,g=.133,b=.135,I=["M".concat(n.w*c,",0"),"L".concat(.636*n.w,",0"),"L".concat(.867*n.w,",").concat(n.h*b),"L".concat(n.w,",").concat(n.h*c),"L".concat(n.w,",").concat(.636*n.h),"L".concat(.867*n.w,",").concat(.865*n.h),"L".concat(.636*n.w,",").concat(n.h),"L".concat(n.w*c,",").concat(n.h),"L".concat(n.w*g,",").concat(.865*n.h),"L0,".concat(.636*n.h),"L0,".concat(n.h*c),"L".concat(n.w*g,",").concat(n.h*b),"Z"].join(" ");return u.setAttribute("d",I),u})(l),B=(function(h){var n=h.extend,u=.133,c=.135;return{top:n.h*c,bottom:n.h*c,left:n.w*u,right:n.w*u,w:.734*n.w,h:.73*n.h}})(l);break;case"pie":C=(function(h){var n=h.extend,u=N("path"),c=V("adj1",h,360),g=V("adj2",h,270),b=n.w/2,I=n.h/2,M=n.w/2,k=n.h/2,W=Qt(c,M,k,b,I),H=W[0],Y=W[1],Q=Qt(g,M,k,b,I),rt=Q[0],ot=Q[1],st=gr(c,g),yt="M".concat(M,",").concat(k,", L").concat(H," ").concat(Y," A ").concat(b," ").concat(I," 0 ").concat(st," ").concat(1," ").concat(rt," ").concat(ot," Z");return u.setAttribute("d",yt),u})(l),B=vr(l);break;case"arc":C=(function(h){var n=h.extend,u=N("path"),c=V("adj1",h,270),g=V("adj2",h,0),b=n.w/2,I=n.h/2,M=n.w/2,k=n.h/2,W=Qt(c,M,k,b,I),H=W[0],Y=W[1],Q=Qt(g,M,k,b,I),rt=Q[0],ot=Q[1],st=gr(c,g),yt="M".concat(H,",").concat(Y," A ").concat(b," ").concat(I," 0 ").concat(st," ").concat(1," ").concat(rt," ").concat(ot);return u.setAttribute("d",yt),u})(l),z=!1;break;case"bracketPair":C=(function(h){var n=h.extend,u=N("path"),c=j("adj",h,.16667*Math.min(n.w,n.h)),g=["M".concat(c,",").concat(n.h),"Q".concat(0,",").concat(n.h," ").concat(0,",").concat(n.h-c),"L".concat(0,",").concat(c),"Q".concat(0,",").concat(0," ").concat(c,",").concat(0),"M".concat(n.w-c,",").concat(0),"Q".concat(n.w,",").concat(0," ").concat(n.w,",").concat(c),"L".concat(n.w,",").concat(n.h-c),"Q".concat(n.w,",").concat(n.h," ").concat(n.w-c,",").concat(n.h)].join(" ");return u.setAttribute("d",g),u})(l),B=(function(h){var n=h.extend,u=.285*j("adj",h,.16667*Math.min(n.w,n.h));return{top:u,bottom:u,left:u,right:u,w:n.w-2*u,h:n.h-2*u}})(l),z=!1;break;case"bracePair":C=(function(h){var n=h.extend,u=N("path"),c=j("adj",h,.083335*Math.min(n.w,n.h)),g=["M".concat(2*c,",").concat(n.h),"Q".concat(c,",").concat(n.h," ").concat(c,",").concat(n.h-c),"L".concat(c,",").concat(n.h/2+c),"Q".concat(c,",").concat(n.h/2," ").concat(0,",").concat(n.h/2),"Q".concat(c,",").concat(n.h/2," ").concat(c,",").concat(n.h/2-c),"L".concat(c,",").concat(c),"Q".concat(c,",").concat(0," ").concat(2*c,",").concat(0),"M".concat(n.w-2*c,",").concat(0),"Q".concat(n.w-c,",").concat(0," ").concat(n.w-c,",").concat(c),"L".concat(n.w-c,",").concat(n.h/2-c),"Q".concat(n.w-c,",").concat(n.h/2," ").concat(n.w,",").concat(n.h/2),"Q".concat(n.w-c,",").concat(n.h/2," ").concat(n.w-c,",").concat(n.h/2+c),"L".concat(n.w-c,",").concat(n.h-c),"Q".concat(n.w-c,",").concat(n.h," ").concat(n.w-2*c,",").concat(n.h)].join(" ");return u.setAttribute("d",g),u})(l),B=(function(h){var n=h.extend,u=.285*j("adj",h,.16667*Math.min(n.w,n.h));return{top:u,bottom:u,left:u,right:u,w:n.w-2*u,h:n.h-2*u}})(l),z=!1;break;case"chord":C=(function(h){var n=h.extend,u=N("path"),c=V("adj1",h,45),g=V("adj2",h,270),b=n.w/2,I=n.h/2,M=n.w/2,k=n.h/2,W=Qt(c,M,k,b,I),H=W[0],Y=W[1],Q=Qt(g,M,k,b,I),rt=Q[0],ot=Q[1],st=gr(c,g),yt="M".concat(H," ").concat(Y," A ").concat(b," ").concat(I," 0 ").concat(st," ").concat(1," ").concat(rt," ").concat(ot," Z");return u.setAttribute("d",yt),u})(l),B=vr(l);break;case"teardrop":C=(function(h){var n=h.extend,u=N("path"),c=V("adj",h,1),g=n.w/2,b=n.h/2,I=n.w/2,M=n.h/2,k=Qt(0,I,M,g,b),W=k[0],H=k[1],Y=Qt(270,I,M,g,b),Q=Y[0],rt=Y[1],ot=gr(0,270),st="M".concat(W," ").concat(H," A ").concat(g," ").concat(b," 0 ").concat(ot," ").concat(1," ").concat(Q," ").concat(rt),yt=g*c,dt=I+yt,et=M-b*yt/(n.w/2),bt=(n.w/2+dt)/2,_t=(n.h/2+et)/2;return st+=" Q".concat(bt,",0 ").concat(dt,",").concat(et),st+=" Q".concat(n.w,",").concat(_t," ").concat(I+g,",").concat(M),u.setAttribute("d",st),u})(l),B=vr(l);break;case"frame":C=(function(h){var n=h.extend,u=N("path"),c=j("adj1",h,.12*Math.min(n.w,n.h)),g=["M0,0","L".concat(n.w,",0"),"L".concat(n.w,",").concat(n.h),"L0,".concat(n.h),"Z","M".concat(c,",").concat(c),"L".concat(c,",").concat(n.h-c),"L".concat(n.w-c,",").concat(n.h-c),"L".concat(n.w-c,",").concat(c),"Z"].join(" ");return u.setAttribute("d",g),u})(l),B=(function(h){var n=h.extend,u=j("adj1",h,.12*Math.min(n.w,n.h));return{top:u,bottom:u,left:u,right:u,w:n.w-2*u,h:n.h-2*u}})(l);break;case"halfFrame":C=(function(h){var n=h.extend,u=N("path"),c=j("adj1",h,.333*Math.min(n.w,n.h)),g=Math.min(j("adj2",h,.333*Math.min(n.w,n.h)),n.w*(1-c/n.h)),b=["M0,0","L".concat(n.w,",0"),"L".concat(n.w*(1-c/n.h),",").concat(c),"L".concat(g,",").concat(c),"L".concat(g,",").concat(n.h*(1-g/n.w)),"L0,".concat(n.h),"Z"].join(" ");return u.setAttribute("d",b),u})(l);break;case"corner":C=(function(h){var n=h.extend,u=N("path"),c=j("adj1",h,.5*Math.min(n.w,n.h)),g=j("adj2",h,.5*Math.min(n.w,n.h)),b=["M0,0","L".concat(g,",0"),"L".concat(g,",").concat(n.h-c),"L".concat(n.w,",").concat(n.h-c),"L".concat(n.w,",").concat(n.h),"L0,".concat(n.h),"Z"].join(" ");return u.setAttribute("d",b),u})(l),B=(function(h){var n=h.extend,u=j("adj1",h,.5*Math.min(n.w,n.h));return{top:n.h-u,bottom:0,left:0,right:0,w:n.w,h:u}})(l);break;case"diagStripe":C=(function(h){var n=h.extend,u=N("path"),c=j("adj",h,.5*Math.min(n.w,n.h)),g=n.w*c/n.h,b=["M".concat(g,",0"),"L".concat(n.w,",0"),"L0,".concat(n.h),"L0,".concat(c),"Z"].join(" ");return u.setAttribute("d",b),u})(l),B=(function(h){var n=h.extend,u=V("adj",h,.5),c=.5*(1-u)*n.h,g=.5*(1-u)*n.w;return{top:0,bottom:c,left:0,right:g,w:n.w-g,h:n.h-c}})(l);break;case"plus":C=(function(h){var n=h.extend,u=N("path"),c=j("adj",h,.25*Math.min(n.w,n.h)),g=["M".concat(c,",0"),"L".concat(n.w-c,",0"),"L".concat(n.w-c,",").concat(c),"L".concat(n.w,",").concat(c),"L".concat(n.w,",").concat(n.h-c),"L".concat(n.w-c,",").concat(n.h-c),"L".concat(n.w-c,",").concat(n.h),"L".concat(c,",").concat(n.h),"L".concat(c,",").concat(n.h-c),"L0,".concat(n.h-c),"L0,".concat(c),"L".concat(c,",").concat(c),"Z"].join(" ");return u.setAttribute("d",g),u})(l),B=(function(h){var n=h.extend,u=j("adj",h,.25*Math.min(n.w,n.h));return{top:u,bottom:u,left:0,right:0,w:n.w,h:n.h-2*u}})(l);break;case"plaque":C=(function(h){var n=h.extend,u=N("path"),c=j("adj",h,.16667*Math.min(n.w,n.h)),g=["M".concat(c,",0"),"L".concat(n.w-c,",0"),"Q".concat(n.w-c,",").concat(c," ").concat(n.w,",").concat(c),"L".concat(n.w,",").concat(n.h-c),"Q".concat(n.w-c,",").concat(n.h-c," ").concat(n.w-c,",").concat(n.h),"L".concat(c,",").concat(n.h),"Q".concat(c,",").concat(n.h-c," 0,").concat(n.h-c),"L0,".concat(c),"Q".concat(c,",").concat(c," ").concat(c,",0"),"Z"].join(" ");return u.setAttribute("d",g),u})(l),B=(function(h){var n=h.extend,u=j("adj",h,.16667*Math.min(n.w,n.h));return{top:.72*u,bottom:.72*u,left:.72*u,right:.72*u,w:n.w-1.44*u,h:n.w-1.44*u}})(l);break;case"can":C=(function(h){var n=h.extend,u=h.background,c=N("g"),g=N("path"),b=j("adj",h,.25*Math.min(n.w,n.h)),I=["M0,".concat(b/2),"L0,".concat(n.h-b/2),"A".concat(n.w/2,",").concat(b/2," 0 0 0 ").concat(n.w,",").concat(n.h-b/2),"L".concat(n.w,",").concat(b/2),"A".concat(n.w/2,",").concat(b/2," 0 0 1 0,").concat(b/2),"Z"].join(" ");g.setAttribute("d",I);var M=N("ellipse"),k=n.w/2,W=b/2,H=n.w/2,Y=b/2;return M.setAttribute("cx",k+"px"),M.setAttribute("cy",W+"px"),M.setAttribute("rx",H+"px"),M.setAttribute("ry",Y+"px"),(u==null?void 0:u.type)==="solidFill"&&M.setAttribute("fill",wt(u,{light:.5})||"transparent"),c.appendChild(g),c.appendChild(M),c})(l),B=(function(h){var n=h.extend,u=j("adj",h,.25*Math.min(n.w,n.h));return{top:u,bottom:0,left:0,right:0,w:n.w,h:n.h-u}})(l);break;case"cube":C=(function(h){var n=h.extend,u=h.background,c=j("adj",h,.25*Math.min(n.w,n.h)),g=N("g"),b=N("path"),I=["M0,".concat(c),"L".concat(n.w-c,",").concat(c),"L".concat(n.w-c,",").concat(n.h),"L0,".concat(n.h),"Z"].join(" ");b.setAttribute("d",I);var M=N("path"),k=["M0,".concat(c),"L".concat(c,",0"),"L".concat(n.w,",0"),"L".concat(n.w-c,",").concat(c),"Z"].join(" ");M.setAttribute("d",k),(u==null?void 0:u.type)==="solidFill"&&M.setAttribute("fill",wt(u,{light:.8})||"transparent");var W=N("path"),H=["M".concat(n.w,",0"),"L".concat(n.w-c,",").concat(c),"L".concat(n.w-c,",").concat(n.h),"L".concat(n.w,",").concat(n.h-c),"Z"].join(" ");return W.setAttribute("d",H),(u==null?void 0:u.type)==="solidFill"&&W.setAttribute("fill",wt(u,{dark:.6})||"transparent"),g.appendChild(b),g.appendChild(M),g.appendChild(W),g})(l),B=(function(h){var n=h.extend,u=j("adj",h,.25*Math.min(n.w,n.h));return{top:u,bottom:0,left:0,right:u,w:n.w-u,h:n.h-u}})(l);break;case"bevel":C=(function(h){var n=h.extend,u=h.background,c=j("adj",h,.125*Math.min(n.w,n.h)),g=N("g"),b=N("path"),I=["M".concat(c,",").concat(c),"L".concat(n.w-c,",").concat(c),"L".concat(n.w-c,",").concat(n.h-c),"L".concat(c,",").concat(n.h-c),"Z"].join(" ");b.setAttribute("d",I);var M=N("path"),k=["M0,0","L".concat(c,",").concat(c),"L".concat(n.w-c,",").concat(c),"L".concat(n.w,",0"),"Z"].join(" ");M.setAttribute("d",k),(u==null?void 0:u.type)==="solidFill"&&M.setAttribute("fill",wt(u,{light:.8})||"transparent");var W=N("path"),H=["M".concat(n.w,",0"),"L".concat(n.w-c,",").concat(c),"L".concat(n.w-c,",").concat(n.h-c),"L".concat(n.w,",").concat(n.h),"Z"].join(" ");W.setAttribute("d",H),(u==null?void 0:u.type)==="solidFill"&&W.setAttribute("fill",wt(u,{dark:.6})||"transparent");var Y=N("path"),Q=["M".concat(n.w,",").concat(n.h),"L".concat(n.w-c,",").concat(n.h-c),"L".concat(c,",").concat(n.h-c),"L0,".concat(n.h),"Z"].join(" ");Y.setAttribute("d",Q),(u==null?void 0:u.type)==="solidFill"&&Y.setAttribute("fill",wt(u,{dark:.625})||"transparent");var rt=N("path"),ot=["M0,".concat(n.h),"L".concat(c,",").concat(n.h-c),"L".concat(c,",").concat(c),"L0,0","Z"].join(" ");return rt.setAttribute("d",ot),(u==null?void 0:u.type)==="solidFill"&&rt.setAttribute("fill",wt(u,{light:.6})||"transparent"),g.appendChild(b),g.appendChild(M),g.appendChild(W),g.appendChild(Y),g.appendChild(rt),g})(l),B=(function(h){var n=h.extend,u=j("adj",h,.125*Math.min(n.w,n.h));return{top:u,bottom:u,left:u,right:u,w:n.w-2*u,h:n.h-2*u}})(l);break;case"donut":C=(function(h){var n=h.extend,u=j("adj",h,.25*Math.min(n.w,n.h)),c=N("path"),g=["M0,".concat(n.h/2),"A".concat(n.w/2,",").concat(n.h/2," 0 1,1 0,").concat(n.h/2+1),"Z","M".concat(n.w-u,",").concat(n.h/2),"A".concat(n.w/2-u,",").concat(n.h/2-u," 0 1,0 ").concat(n.w-u,",").concat(n.h/2+1),"Z"].join(" ");return c.setAttribute("d",g),c})(l),B=vr(l);break;case"noSmoking":C=(function(h){var n=h.extend,u=j("adj",h,.25*Math.min(n.w,n.h)),c=N("path"),g=Math.atan(n.h/n.w),b=u/2/Math.sin(g),I=n.w/2,M=n.h/2,k=-1*n.h/n.w,W=n.h*b/n.w,H=n.w/2-u,Y=n.h/2-u,Q=-2*H*H*k*W,rt=Math.sqrt(Math.pow(2*H*H*k*W,2)-4*(Y*Y+H*H*k*k)*H*H*(W*W-Y*Y)),ot=2*(Y*Y+H*H*k*k),st=(Q-rt)/ot,yt=k*st+W,dt=(Q+rt)/ot,et=k*dt+W,bt=-n.h*b/n.w,_t=-2*H*H*k*bt,Lt=Math.sqrt(Math.pow(2*H*H*k*bt,2)-4*(Y*Y+H*H*k*k)*H*H*(bt*bt-Y*Y)),Rt=2*(Y*Y+H*H*k*k),Zt=(_t-Lt)/Rt,Yt=k*Zt+bt,Bt=(_t+Lt)/Rt,zt=k*Bt+bt,ve=["M0,".concat(n.h/2),"A".concat(n.w/2,",").concat(n.h/2," 0 1,1 0,").concat(n.h/2+1),"Z","M".concat(I+dt,",").concat(M-et),"A".concat(H,",").concat(Y," 0 0 0 ").concat(I+st,",").concat(M-yt),"Z","M".concat(I+Zt,",").concat(M-Yt),"A".concat(H,",").concat(Y," 0 0 0 ").concat(I+Bt,",").concat(M-zt),"Z"].join(" ");return c.setAttribute("d",ve),c})(l),B=vr(l);break;case"rightArrow":C=(function(h){var n=h.extend,u=j("adj1",h,.5*Math.min(n.w,n.h)),c=j("adj2",h,.5*Math.min(n.w,n.h)),g=N("path"),b=["M0,".concat(n.h/2-u/2),"L".concat(n.w-c,",").concat(n.h/2-u/2),"L".concat(n.w-c,",0"),"L".concat(n.w,",").concat(n.h/2),"L".concat(n.w-c,",").concat(n.h),"L".concat(n.w-c,",").concat(n.h/2+u/2),"L0,".concat(n.h/2+u/2),"Z"].join(" ");return g.setAttribute("d",b),g})(l),B=(function(h){var n=h.extend,u=j("adj1",h,.5*Math.min(n.w,n.h)),c=u*j("adj2",h,.5*Math.min(n.w,n.h))/n.h;return{top:n.h/2-u/2,bottom:n.h/2-u/2,left:0,right:c,w:n.w-c,h:u}})(l);break;case"leftArrow":C=(function(h){var n=h.extend,u=j("adj1",h,.5*Math.min(n.w,n.h)),c=j("adj2",h,.5*Math.min(n.w,n.h)),g=N("path"),b=["M0,".concat(n.h/2),"L".concat(c,",0"),"L".concat(c,",").concat(n.h/2-u/2),"L".concat(n.w,",").concat(n.h/2-u/2),"L".concat(n.w,",").concat(n.h/2+u/2),"L".concat(c,",").concat(n.h/2+u/2),"L".concat(c,",").concat(n.h),"Z"].join(" ");return g.setAttribute("d",b),g})(l),B=(function(h){var n=h.extend,u=j("adj1",h,.5*Math.min(n.w,n.h)),c=u*j("adj2",h,.5*Math.min(n.w,n.h))/n.h;return{top:n.h/2-u/2,bottom:n.h/2-u/2,left:c,right:0,w:n.w-c,h:u}})(l);break;case"upArrow":C=(function(h){var n=h.extend,u=j("adj1",h,.5*Math.min(n.w,n.h)),c=j("adj2",h,.5*Math.min(n.w,n.h)),g=N("path"),b=["M".concat(n.w/2,",0"),"L".concat(n.w,",").concat(c),"L".concat(n.w/2+u/2,",").concat(c),"L".concat(n.w/2+u/2,",").concat(n.h),"L".concat(n.w/2-u/2,",").concat(n.h),"L".concat(n.w/2-u/2,",").concat(c),"L0,".concat(c),"Z"].join(" ");return g.setAttribute("d",b),g})(l),B=(function(h){var n=h.extend,u=j("adj1",h,.5*Math.min(n.w,n.h)),c=u*j("adj2",h,.5*Math.min(n.w,n.h))/n.w;return{top:c,bottom:0,left:n.w/2-u/2,right:n.w/2-u/2,w:u,h:n.h-c}})(l);break;case"downArrow":C=(function(h){var n=h.extend,u=j("adj1",h,.5*Math.min(n.w,n.h)),c=j("adj2",h,.5*Math.min(n.w,n.h)),g=N("path"),b=["M".concat(n.w/2,",").concat(n.h),"L0,".concat(n.h-c),"L".concat(n.w/2-u/2,",").concat(n.h-c),"L".concat(n.w/2-u/2,",0"),"L".concat(n.w/2+u/2,",0"),"L".concat(n.w/2+u/2,",").concat(n.h-c),"L".concat(n.w,",").concat(n.h-c),"Z"].join(" ");return g.setAttribute("d",b),g})(l),B=(function(h){var n=h.extend,u=j("adj1",h,.5*Math.min(n.w,n.h)),c=u*j("adj2",h,.5*Math.min(n.w,n.h))/n.w;return{top:0,bottom:c,left:n.w/2-u/2,right:n.w/2-u/2,w:u,h:n.h-c}})(l);break;case"leftRightArrow":C=(function(h){var n=h.extend,u=j("adj1",h,.5*Math.min(n.w,n.h)),c=j("adj2",h,.5*Math.min(n.w,n.h)),g=N("path"),b=["M0,".concat(n.h/2),"L".concat(c,",0"),"L".concat(c,",").concat(n.h/2-u/2),"L".concat(n.w-c,",").concat(n.h/2-u/2),"L".concat(n.w-c,",0"),"L".concat(n.w,",").concat(n.h/2),"L".concat(n.w-c,",").concat(n.h),"L".concat(n.w-c,",").concat(n.h/2+u/2),"L".concat(c,",").concat(n.h/2+u/2),"L".concat(c,",").concat(n.h),"Z"].join(" ");return g.setAttribute("d",b),g})(l),B=(function(h){var n=h.extend,u=j("adj1",h,.5*Math.min(n.w,n.h)),c=u*j("adj2",h,.5*Math.min(n.w,n.h))/n.h;return{top:n.h/2-u/2,bottom:n.h/2-u/2,left:c,right:c,w:n.w-2*c,h:u}})(l);break;case"upDownArrow":C=(function(h){var n=h.extend,u=j("adj1",h,.5*Math.min(n.w,n.h)),c=j("adj2",h,.5*Math.min(n.w,n.h)),g=N("path"),b=["M".concat(n.w/2,",").concat(n.h),"L0,".concat(n.h-c),"L".concat(n.w/2-u/2,",").concat(n.h-c),"L".concat(n.w/2-u/2,",").concat(c),"L0,".concat(c),"L".concat(n.w/2,",0"),"L".concat(n.w,",").concat(c),"L".concat(n.w/2+u/2,",").concat(c),"L".concat(n.w/2+u/2,",").concat(n.h-c),"L".concat(n.w,",").concat(n.h-c),"Z"].join(" ");return g.setAttribute("d",b),g})(l),B=(function(h){var n=h.extend,u=j("adj1",h,.5*Math.min(n.w,n.h)),c=u*j("adj2",h,.5*Math.min(n.w,n.h))/n.w;return{top:c,bottom:c,left:n.w/2-u/2,right:n.w/2-u/2,w:u,h:n.h-2*c}})(l);break;case"quadArrow":C=(function(h){var n=h.extend,u=j("adj1",h,.225*Math.min(n.w,n.h)),c=j("adj2",h,.225*Math.min(n.w,n.h)),g=j("adj3",h,.225*Math.min(n.w,n.h)),b=N("path"),I=["M0,".concat(n.h/2),"L".concat(g,",").concat(n.h/2-c),"L".concat(g,",").concat(n.h/2-u/2),"L".concat(n.w/2-u/2,",").concat(n.h/2-u/2),"L".concat(n.w/2-u/2,",").concat(g),"L".concat(n.w/2-c,",").concat(g),"L".concat(n.w/2,",0"),"L".concat(n.w/2+c,",").concat(g),"L".concat(n.w/2+u/2,",").concat(g),"L".concat(n.w/2+u/2,",").concat(n.h/2-u/2),"L".concat(n.w-g,",").concat(n.h/2-u/2),"L".concat(n.w-g,",").concat(n.h/2-c),"L".concat(n.w,",").concat(n.h/2),"L".concat(n.w-g,",").concat(n.h/2+c),"L".concat(n.w-g,",").concat(n.h/2+u/2),"L".concat(n.w/2+u/2,",").concat(n.h/2+u/2),"L".concat(n.w/2+u/2,",").concat(n.h-g),"L".concat(n.w/2+c,",").concat(n.h-g),"L".concat(n.w/2,",").concat(n.h),"L".concat(n.w/2-c,",").concat(n.h-g),"L".concat(n.w/2-u/2,",").concat(n.h-g),"L".concat(n.w/2-u/2,",").concat(n.h/2+u/2),"L".concat(g,",").concat(n.h/2+u/2),"L".concat(g,",").concat(n.h/2+c),"Z"].join(" ");return b.setAttribute("d",I),b})(l),B=(function(h){var n=h.extend,u=j("adj1",h,.225*Math.min(n.w,n.h)),c=j("adj2",h,.225*Math.min(n.w,n.h)),g=j("adj3",h,.225*Math.min(n.w,n.h)),b=c===0?0:u*g/c/2;return{top:n.h/2-u/2,bottom:n.h/2-u/2,left:b,right:b,w:n.w-2*b,h:u}})(l);break;case"leftRightUpArrow":C=(function(h){var n=h.extend,u=j("adj1",h,.225*Math.min(n.w,n.h)),c=j("adj2",h,.225*Math.min(n.w,n.h)),g=j("adj3",h,.225*Math.min(n.w,n.h)),b=N("path");u>2*c&&(u=2*c);var I=["M0,".concat(n.h-c),"L".concat(g,",").concat(n.h-2*c),"L".concat(g,",").concat(n.h-c-u/2),"L".concat(n.w/2-u/2,",").concat(n.h-c-u/2),"L".concat(n.w/2-u/2,",").concat(g),"L".concat(n.w/2-c,",").concat(g),"L".concat(n.w/2,",0"),"L".concat(n.w/2+c,",").concat(g),"L".concat(n.w/2+u/2,",").concat(g),"L".concat(n.w/2+u/2,",").concat(n.h-c-u/2),"L".concat(n.w-g,",").concat(n.h-c-u/2),"L".concat(n.w-g,",").concat(n.h-2*c),"L".concat(n.w,",").concat(n.h-c),"L".concat(n.w-g,",").concat(n.h),"L".concat(n.w-g,",").concat(n.h-c+u/2),"L".concat(g,",").concat(n.h-c+u/2),"L".concat(g,",").concat(n.h),"Z"].join(" ");return b.setAttribute("d",I),b})(l),B=(function(h){var n=h.extend,u=j("adj1",h,.225*Math.min(n.w,n.h)),c=j("adj2",h,.225*Math.min(n.w,n.h)),g=j("adj3",h,.225*Math.min(n.w,n.h)),b=c===0?0:u*g/c/2;return{top:n.h-c-u/2,bottom:c-u/2,left:b,right:b,w:n.w-2*b,h:u}})(l);break;case"bentArrow":C=(function(h){var n=h.extend,u=j("adj1",h,.25*Math.min(n.w,n.h)),c=j("adj2",h,.25*Math.min(n.w,n.h)),g=j("adj3",h,.25*Math.min(n.w,n.h)),b=j("adj4",h,.4375*Math.min(n.w,n.h)),I=N("path");u>2*c&&(u=2*c);var M=b-u;M<0&&(M=0);var k=["M0,".concat(n.h),"L0,".concat(c-u/2+b),"A".concat(b," ").concat(b," 0 0 1 ").concat(b," ").concat(c-u/2),"L".concat(n.w-g,",").concat(c-u/2),"L".concat(n.w-g,",0"),"L".concat(n.w,",").concat(c),"L".concat(n.w-g,",").concat(2*c),"L".concat(n.w-g,",").concat(c+u/2),"L".concat(u+M,",").concat(c+u/2),"A".concat(M," ").concat(M," 0 0 0 ").concat(u," ").concat(c+u/2+M),"L".concat(u,",").concat(n.h),"Z"].join(" ");return I.setAttribute("d",k),I})(l);break;case"uturnArrow":C=(function(h){var n=h.extend,u=j("adj1",h,.25*Math.min(n.w,n.h)),c=j("adj2",h,.25*Math.min(n.w,n.h)),g=j("adj3",h,.25*Math.min(n.w,n.h)),b=j("adj4",h,.4375*Math.min(n.w,n.h)),I=j("adj5",h,.75*Math.min(n.w,n.h)),M=N("path");u>2*c&&(u=2*c),I<g&&(I=g+u),b>I-g&&(b=I-g);var k=b-u;k>I-g-u&&(k=I-g-u),k<0&&(k=0);var W=c-u/2,H=["M0,".concat(n.h),"L0,".concat(b),"A".concat(b," ").concat(b," 0 0 1 ").concat(b," 0"),"L".concat(n.w-b-W,",0"),"A".concat(b," ").concat(b," 0 0 1 ").concat(n.w-W," ").concat(b),"L".concat(n.w-W,",").concat(I-g),"L".concat(n.w,",").concat(I-g),"L".concat(n.w-c,",").concat(I),"L".concat(n.w-2*c,",").concat(I-g),"L".concat(n.w-c-u/2,",").concat(I-g),"L".concat(n.w-c-u/2,",").concat(u+k),"A".concat(k," ").concat(k," 0 0 0 ").concat(n.w-k-c-u/2," ").concat(u),"L".concat(u+k,",").concat(u),"A".concat(k," ").concat(k," 0 0 0 ").concat(u," ").concat(u+k),"L".concat(u,",").concat(n.h),"Z"].join(" ");return M.setAttribute("d",H),M})(l);break;case"leftUpArrow":C=(function(h){var n=h.extend,u=j("adj1",h,.25*Math.min(n.w,n.h)),c=j("adj2",h,.25*Math.min(n.w,n.h)),g=j("adj3",h,.25*Math.min(n.w,n.h));u>2*c&&(u=2*c);var b=Math.min(n.w,n.h)-2*c;g>b&&(g=b),g<0&&(g=0);var I=c-u/2,M=N("path"),k=["M0,".concat(n.h-c),"L".concat(g,",").concat(n.h-2*c),"L".concat(g,",").concat(n.h-c-u/2),"L".concat(n.w-c-u/2,",").concat(n.h-c-u/2),"L".concat(n.w-c-u/2,",").concat(g),"L".concat(n.w-2*c,",").concat(g),"L".concat(n.w-c,",0"),"L".concat(n.w,",").concat(g),"L".concat(n.w-I,",").concat(g),"L".concat(n.w-I,",").concat(n.h-I),"L".concat(g,",").concat(n.h-I),"L".concat(g,",").concat(n.h),"Z"].join(" ");return M.setAttribute("d",k),M})(l),B=(function(h){var n=h.extend,u=j("adj1",h,.25*Math.min(n.w,n.h)),c=j("adj2",h,.25*Math.min(n.w,n.h)),g=j("adj3",h,.25*Math.min(n.w,n.h));u>2*c&&(u=2*c);var b=Math.min(n.w,n.h)-2*c;g>b&&(g=b),g<0&&(g=0);var I=c===0?0:u*g/c/2;return{top:n.h-c-u/2,bottom:c-u/2,left:I,right:c,w:n.w-I-c,h:u}})(l);break;case"bentUpArrow":C=(function(h){var n=h.extend,u=j("adj1",h,.25*Math.min(n.w,n.h)),c=j("adj2",h,.25*Math.min(n.w,n.h)),g=j("adj3",h,.25*Math.min(n.w,n.h));u>2*c&&(u=2*c);var b=Math.min(n.w,n.h)-2*c;g>b&&(g=b),g<0&&(g=0);var I=c-u/2,M=N("path"),k=["M0,".concat(n.h),"L0,".concat(n.h-u),"L".concat(n.w-c-u/2,",").concat(n.h-u),"L".concat(n.w-c-u/2,",").concat(g),"L".concat(n.w-2*c,",").concat(g),"L".concat(n.w-c,",0"),"L".concat(n.w,",").concat(g),"L".concat(n.w-I,",").concat(g),"L".concat(n.w-I,",").concat(n.h),"Z"].join(" ");return M.setAttribute("d",k),M})(l),B=(function(h){var n=h.extend,u=j("adj1",h,.25*Math.min(n.w,n.h));return{top:n.h-u,bottom:0,left:0,right:0,w:n.w,h:u}})(l);break;case"curvedRightArrow":C=(function(h){var n=h.extend,u=h.background,c=j("adj1",h,.25*Math.min(n.w,n.h)),g=j("adj2",h,.5*Math.min(n.w,n.h)),b=j("adj3",h,.25*Math.min(n.w,n.h));c>g&&(c=g);var I=g/2-c/2,M=(n.h-g/2-c/2)/2,k=(n.h-I-c)/2,W=N("g"),H=N("path"),Y=["M".concat(n.w,",0"),"A ".concat(n.w," ").concat(M," 0 0 0 ").concat(0," ").concat(M),"L0,".concat(k+c),"A ".concat(n.w," ").concat(k," 0 0 1 ").concat(n.w," ").concat(c),"Z"].join(" ");H.setAttribute("d",Y),(u==null?void 0:u.type)==="solidFill"&&H.setAttribute("fill",wt(u,{dark:.6})||"transparent");var Q=N("path"),rt=["M0,".concat(M),"A ".concat(n.w," ").concat(M," 0 0 0 ").concat(n.w-b," ").concat(n.h-g/2-c/2),"L".concat(n.w-b,",").concat(n.h-g),"L".concat(n.w,",").concat(n.h-g/2),"L".concat(n.w-b,",").concat(n.h),"L".concat(n.w-b,",").concat(n.h-I),"A ".concat(n.w," ").concat(k," 0 0 1 0 ").concat(c+k),"Z"].join(" ");return Q.setAttribute("d",rt),W.appendChild(H),W.appendChild(Q),W})(l);break;case"curvedLeftArrow":C=(function(h){var n=h.extend,u=h.background,c=j("adj1",h,.25*Math.min(n.w,n.h)),g=j("adj2",h,.5*Math.min(n.w,n.h)),b=j("adj3",h,.25*Math.min(n.w,n.h));c>g&&(c=g);var I=g/2-c/2,M=(n.h-g/2-c/2)/2,k=(n.h-I-c)/2,W=N("g"),H=N("path"),Y=["M0,".concat(n.h-g/2),"L".concat(b,",").concat(n.h-g),"L".concat(b,",").concat(n.h-g/2-c/2),"A".concat(n.w," ").concat(M," 0 0 0 ").concat(n.w," ").concat(M),"L".concat(n.w,",").concat(k+c),"A ".concat(n.w," ").concat(k," 0 0 1 ").concat(b," ").concat(n.h-I),"L".concat(b,",").concat(n.h),"Z"].join(" ");H.setAttribute("d",Y);var Q=N("path"),rt=["M0,0","A ".concat(n.w," ").concat(M," 0 0 1 ").concat(n.w," ").concat(M),"L".concat(n.w,",").concat(k+c),"A ".concat(n.w," ").concat(k," 0 0 0 ").concat(0," ").concat(c),"Z"].join(" ");return Q.setAttribute("d",rt),(u==null?void 0:u.type)==="solidFill"&&Q.setAttribute("fill",wt(u,{dark:.6})||"transparent"),W.appendChild(H),W.appendChild(Q),W})(l);break;case"curvedUpArrow":C=(function(h){var n=h.extend,u=h.background,c=j("adj1",h,.25*Math.min(n.w,n.h)),g=j("adj2",h,.5*Math.min(n.w,n.h)),b=j("adj3",h,.25*Math.min(n.w,n.h));c>g&&(c=g);var I=g/2-c/2,M=(n.w-g/2-c/2)/2,k=(n.w-I-c)/2,W=N("g"),H=N("path"),Y=["M".concat(n.w-g/2,",").concat(0),"L".concat(n.w-g,",").concat(b),"L".concat(n.w-g/2-c/2,",").concat(b),"A".concat(M," ").concat(n.h," 0 0 1 ").concat(M," ").concat(n.h),"L".concat(M+c,",").concat(n.h),"A".concat(k," ").concat(n.h," 0 0 0 ").concat(n.w-I," ").concat(b),"L".concat(n.w,",").concat(b),"Z"].join(" ");H.setAttribute("d",Y);var Q=N("path"),rt=["M".concat(c,",0"),"L".concat(0,",").concat(0),"A ".concat(M," ").concat(n.h," 0 0 0 ").concat(M," ").concat(n.h),"L".concat(M+c,",").concat(n.h),"A ".concat(k," ").concat(n.h," 0 0 1 ").concat(c," ").concat(0),"Z"].join(" ");return Q.setAttribute("d",rt),(u==null?void 0:u.type)==="solidFill"&&Q.setAttribute("fill",wt(u,{dark:.6})||"transparent"),W.appendChild(H),W.appendChild(Q),W})(l);break;case"curvedDownArrow":C=(function(h){var n=h.extend,u=h.background,c=j("adj1",h,.25*Math.min(n.w,n.h)),g=j("adj2",h,.5*Math.min(n.w,n.h)),b=j("adj3",h,.25*Math.min(n.w,n.h));c>g&&(c=g);var I=g/2-c/2,M=(n.w-g/2-c/2)/2,k=(n.w-I-c)/2,W=N("g"),H=N("path"),Y=["M".concat(0,",").concat(n.h),"L".concat(c,",").concat(n.h),"A".concat(k," ").concat(n.h," 0 0 1 ").concat(k+c," ").concat(0),"L".concat(M,",").concat(0),"A".concat(M," ").concat(n.h," 0 0 0 ").concat(0," ").concat(n.h),"Z"].join(" ");H.setAttribute("d",Y),(u==null?void 0:u.type)==="solidFill"&&H.setAttribute("fill",wt(u,{dark:.6})||"transparent");var Q=N("path"),rt=["M".concat(n.w-g/2,",").concat(n.h),"L".concat(n.w-g,",").concat(n.h-b),"L".concat(n.w-g/2-c/2,",").concat(n.h-b),"A ".concat(M," ").concat(n.h," 0 0 0 ").concat(M," ").concat(0),"L".concat(M+c,",").concat(0),"A ".concat(k," ").concat(n.h," 0 0 1 ").concat(n.w-I," ").concat(n.h-b),"L".concat(n.w,",").concat(n.h-b),"Z"].join(" ");return Q.setAttribute("d",rt),W.appendChild(H),W.appendChild(Q),W})(l);break;case"stripedRightArrow":C=(function(h){var n=h.extend,u=N("g"),c=Math.min(n.w,n.h),g=V("adj1",h,.5)*n.h,b=V("adj2",h,.5)*c,I=c/8,M=c/16,k=c/32,W=5*c/32,H=n.h/2-g/2,Y=n.h/2+g/2,Q=N("path");Q.setAttribute("d",["M".concat(0,",").concat(H),"L".concat(k,",").concat(H),"L".concat(k,",").concat(Y),"L".concat(0,",").concat(Y),"Z"].join(" "));var rt=N("path");rt.setAttribute("d",["M".concat(M,",").concat(H),"L".concat(I,",").concat(H),"L".concat(I,",").concat(Y),"L".concat(M,",").concat(Y),"Z"].join(" "));var ot=N("path"),st=["M".concat(W,",").concat(H),"L".concat(n.w-b,",").concat(H),"L".concat(n.w-b,",").concat(0),"L".concat(n.w,",").concat(n.h/2),"L".concat(n.w-b,",").concat(n.h),"L".concat(n.w-b,",").concat(Y),"L".concat(W,",").concat(Y),"Z"].join(" ");return ot.setAttribute("d",st),u.appendChild(ot),u.appendChild(Q),u.appendChild(rt),u})(l),B=(function(h){var n=h.extend,u=Math.min(n.w,n.h),c=V("adj1",h,.5)*n.h,g=c*(V("adj2",h,.5)*u)/n.h;return{top:n.h/2-c/2,bottom:n.h/2-c/2,left:0,right:g,w:n.w-g,h:c}})(l);break;case"notchedRightArrow":C=(function(h){var n=h.extend,u=Math.min(n.w,n.h),c=V("adj1",h,.5)*n.h,g=V("adj2",h,.5)*u,b=c*g/n.h,I=n.h/2-c/2,M=n.h/2+c/2,k=N("path"),W=["M".concat(0,",").concat(I),"L".concat(n.w-g,",").concat(I),"L".concat(n.w-g,",").concat(0),"L".concat(n.w,",").concat(n.h/2),"L".concat(n.w-g,",").concat(n.h),"L".concat(n.w-g,",").concat(M),"L".concat(0,",").concat(M),"L".concat(b,",").concat(n.h/2),"Z"].join(" ");return k.setAttribute("d",W),k})(l),B=(function(h){var n=h.extend,u=Math.min(n.w,n.h),c=V("adj1",h,.5)*n.h,g=V("adj2",h,.5)*u,b=c*g/n.h,I=c*g/n.h;return{top:n.h/2-c/2,bottom:n.h/2-c/2,left:b,right:I,w:n.w-b-I,h:c}})(l);break;case"homePlate":C=(function(h){var n=h.extend,u=Math.min(n.w,n.h),c=V("adj",h,.5)*u,g=N("path"),b=["M".concat(0,",").concat(0),"L".concat(n.w-c,",").concat(0),"L".concat(n.w,",").concat(n.h/2),"L".concat(n.w-c,",").concat(n.h),"L".concat(0,",").concat(n.h),"Z"].join(" ");return g.setAttribute("d",b),g})(l),B=(function(h){var n=h.extend,u=Math.min(n.w,n.h),c=V("adj",h,.5)*u;return{top:0,bottom:0,left:0,right:c/2,w:n.w-c/2,h:n.h}})(l);break;case"chevron":C=(function(h){var n=h.extend,u=Math.min(n.w,n.h),c=V("adj",h,.5)*u,g=N("path"),b=["M".concat(0,",").concat(0),"L".concat(n.w-c,",").concat(0),"L".concat(n.w,",").concat(n.h/2),"L".concat(n.w-c,",").concat(n.h),"L".concat(0,",").concat(n.h),"L".concat(c,",").concat(n.h/2),"Z"].join(" ");return g.setAttribute("d",b),g})(l),B=(function(h){var n=h.extend,u=Math.min(n.w,n.h),c=V("adj",h,.5)*u;return{top:0,bottom:0,left:c,right:c,w:n.w-2*c,h:n.h}})(l);break;case"blockArc":C=(function(h){var n=h.extend,u=Math.min(n.w,n.h),c=N("path"),g=V("adj1",h,180),b=V("adj2",h,0),I=j("adj3",h,.25*u),M=n.w/2,k=n.h/2,W=n.w/2,H=n.h/2,Y=n.w/2-I,Q=n.h/2-I,rt=Qt(g,M,k,W,H),ot=rt[0],st=rt[1],yt=Qt(b,M,k,W,H),dt=yt[0],et=yt[1],bt=Qt(g,M,k,Y,Q),_t=bt[0],Lt=bt[1],Rt=Qt(b,M,k,Y,Q),Zt=Rt[0],Yt=Rt[1],Bt=gr(g,b),zt=["M".concat(ot,",").concat(st),"A".concat(W," ").concat(H," 0 ").concat(Bt," 1 ").concat(dt," ").concat(et),"L".concat(Zt,",").concat(Yt),"A".concat(Y," ").concat(Q," 0 ").concat(Bt," 0 ").concat(_t," ").concat(Lt),"Z"].join(" ");return c.setAttribute("d",zt),c})(l),B=(function(h){var n=h.extend,u=Math.min(n.w,n.h),c=V("adj1",h,180),g=V("adj2",h,0),b=j("adj3",h,.25*u),I=n.w/2,M=n.h/2,k=n.w/2,W=n.h/2,H=n.w/2-b,Y=n.h/2-b,Q=Qt(c,I,M,k,W),rt=Q[0],ot=Q[1],st=Qt(g,I,M,k,W),yt=st[0],dt=st[1],et=Qt(c,I,M,H,Y),bt=et[0],_t=et[1],Lt=Qt(g,I,M,H,Y),Rt=[[rt,ot],[yt,dt],[bt,_t],[Lt[0],Lt[1]]];Rt.push(),c>g&&Rt.push([n.w,n.h/2]),(g>180&&g<=360&&c<180||c>g&&g>=0&&g<180&&c<180)&&Rt.push([0,n.h/2]),(c<g&&c<90&&g>90||c>g&&g>90||c>g&&c<90)&&Rt.push([n.w/2,n.h]),(c<g&&c<270&&g>270||c>g&&g>270||c>g&&c<270)&&Rt.push([n.w/2,0]);var Zt=1/0,Yt=1/0,Bt=-1/0,zt=-1/0;return Rt.forEach((function(ve){Zt=Math.min(ve[0],Zt),Yt=Math.min(ve[1],Yt),Bt=Math.max(ve[0],Bt),zt=Math.max(ve[1],zt)})),{top:Yt,bottom:n.h-zt,left:Zt,right:n.w-Bt,w:Bt-Zt,h:zt-Yt}})(l);break;case"foldedCorner":C=(function(h){var n=h.extend,u=h.background,c=N("g"),g=N("path"),b=j("adj",h,.16667*Math.min(n.w,n.h)),I=["M0,0","L".concat(n.w,",0"),"L".concat(n.w,",").concat(n.h-b),"L".concat(n.w-b,",").concat(n.h),"L".concat(0,",").concat(n.h),"Z"].join(" ");g.setAttribute("d",I);var M=b*Math.cos(Math.PI/4)/Math.cos(Math.PI/6)*Math.cos(75/180*Math.PI),k=N("path"),W=["M".concat(n.w-b+M,", ").concat(n.h-b+M),"L".concat(n.w,",").concat(n.h-b),"L".concat(n.w-b,",").concat(n.h),"Z"].join(" ");return k.setAttribute("d",W),(u==null?void 0:u.type)==="solidFill"&&k.setAttribute("fill",wt(u,{dark:.6})||"transparent"),c.appendChild(g),c.appendChild(k),c})(l),B=(function(h){var n=h.extend,u=j("adj",h,.16667*Math.min(n.w,n.h));return{top:0,bottom:u,left:0,right:0,w:n.w,h:n.h-u}})(l);break;case"rightArrowCallout":C=(function(h){var n=h.extend,u=Math.min(n.w,n.h),c=V("adj1",h,.25)*u,g=V("adj2",h,.25)*u,b=V("adj3",h,.25)*u,I=V("adj4",h,.64977)*n.w,M=N("path"),k=["M".concat(0,",").concat(0),"L".concat(I,",").concat(0),"L".concat(I,",").concat(n.h/2-c/2),"L".concat(n.w-b,",").concat(n.h/2-c/2),"L".concat(n.w-b,",").concat(n.h/2-g),"L".concat(n.w,",").concat(n.h/2),"L".concat(n.w-b,",").concat(n.h/2+g),"L".concat(n.w-b,",").concat(n.h/2+c/2),"L".concat(I,",").concat(n.h/2+c/2),"L".concat(I,",").concat(n.h),"L".concat(0,",").concat(n.h),"Z"].join(" ");return M.setAttribute("d",k),M})(l),B=(function(h){var n=h.extend,u=V("adj4",h,.64977)*n.w;return{top:0,bottom:0,left:0,right:n.w-u,w:u,h:n.h}})(l);break;case"leftArrowCallout":C=(function(h){var n=h.extend,u=Math.min(n.w,n.h),c=V("adj1",h,.25)*u,g=V("adj2",h,.25)*u,b=V("adj3",h,.25)*u,I=V("adj4",h,.64977)*n.w,M=N("path"),k=["M".concat(0,",").concat(n.h/2),"L".concat(b,",").concat(n.h/2-g),"L".concat(b,",").concat(n.h/2-c/2),"L".concat(n.w-I,",").concat(n.h/2-c/2),"L".concat(n.w-I,",").concat(0),"L".concat(n.w,",").concat(0),"L".concat(n.w,",").concat(n.h),"L".concat(n.w-I,",").concat(n.h),"L".concat(n.w-I,",").concat(n.h/2+c/2),"L".concat(b,",").concat(n.h/2+c/2),"L".concat(b,",").concat(n.h/2+g),"Z"].join(" ");return M.setAttribute("d",k),M})(l),B=(function(h){var n=h.extend,u=V("adj4",h,.64977)*n.w;return{top:0,bottom:0,left:n.w-u,right:0,w:u,h:n.h}})(l);break;case"upArrowCallout":C=(function(h){var n=h.extend,u=Math.min(n.w,n.h),c=V("adj1",h,.25)*u,g=V("adj2",h,.25)*u,b=V("adj3",h,.25)*u,I=V("adj4",h,.64977)*n.h,M=N("path"),k=["M".concat(0,",").concat(n.h-I),"L".concat(n.w/2-c/2,",").concat(n.h-I),"L".concat(n.w/2-c/2,",").concat(b),"L".concat(n.w/2-g,",").concat(b),"L".concat(n.w/2,",").concat(0),"L".concat(n.w/2+g,",").concat(b),"L".concat(n.w/2+c/2,",").concat(b),"L".concat(n.w/2+c/2,",").concat(n.h-I),"L".concat(n.w,",").concat(n.h-I),"L".concat(n.w,",").concat(n.h),"L".concat(0,",").concat(n.h),"Z"].join(" ");return M.setAttribute("d",k),M})(l),B=(function(h){var n=h.extend,u=V("adj4",h,.64977)*n.h;return{top:n.h-u,bottom:0,left:0,right:0,w:n.w,h:u}})(l);break;case"downArrowCallout":C=(function(h){var n=h.extend,u=Math.min(n.w,n.h),c=V("adj1",h,.25)*u,g=V("adj2",h,.25)*u,b=V("adj3",h,.25)*u,I=V("adj4",h,.64977)*n.h,M=N("path"),k=["M".concat(0,",").concat(0),"L".concat(n.w,",").concat(0),"L".concat(n.w,",").concat(I),"L".concat(n.w/2+c/2,",").concat(I),"L".concat(n.w/2+c/2,",").concat(n.h-b),"L".concat(n.w/2+g,",").concat(n.h-b),"L".concat(n.w/2,",").concat(n.h),"L".concat(n.w/2-g,",").concat(n.h-b),"L".concat(n.w/2-c/2,",").concat(n.h-b),"L".concat(n.w/2-c/2,",").concat(I),"L".concat(0,",").concat(I),"Z"].join(" ");return M.setAttribute("d",k),M})(l),B=(function(h){var n=h.extend,u=V("adj4",h,.64977)*n.h;return{top:0,bottom:n.h-u,left:0,right:0,w:n.w,h:u}})(l);break;case"leftRightArrowCallout":C=(function(h){var n=h.extend,u=Math.min(n.w,n.h),c=V("adj1",h,.25)*u,g=V("adj2",h,.25)*u,b=V("adj3",h,.25)*u,I=V("adj4",h,.48123)*n.w,M=N("path"),k=["M".concat(0,",").concat(n.h/2),"L".concat(b,",").concat(n.h/2-g),"L".concat(b,",").concat(n.h/2-c/2),"L".concat(n.w/2-I/2,",").concat(n.h/2-c/2),"L".concat(n.w/2-I/2,",").concat(0),"L".concat(n.w/2+I/2,",").concat(0),"L".concat(n.w/2+I/2,",").concat(n.h/2-c/2),"L".concat(n.w-b,",").concat(n.h/2-c/2),"L".concat(n.w-b,",").concat(n.h/2-g),"L".concat(n.w,",").concat(n.h/2),"L".concat(n.w-b,",").concat(n.h/2+g),"L".concat(n.w-b,",").concat(n.h/2+c/2),"L".concat(n.w/2+I/2,",").concat(n.h/2+c/2),"L".concat(n.w/2+I/2,",").concat(n.h),"L".concat(n.w/2-I/2,",").concat(n.h),"L".concat(n.w/2-I/2,",").concat(n.h/2+c/2),"L".concat(b,",").concat(n.h/2+c/2),"L".concat(b,",").concat(n.h/2+g),"Z"].join(" ");return M.setAttribute("d",k),M})(l),B=(function(h){var n=h.extend,u=V("adj4",h,.48123)*n.w;return{top:0,bottom:0,left:n.w/2-u/2,right:n.w/2-u/2,w:u,h:n.h}})(l);break;case"quadArrowCallout":C=(function(h){var n=h.extend,u=Math.min(n.w,n.h),c=V("adj1",h,.18515)*u,g=V("adj2",h,.18515)*u,b=V("adj3",h,.18515)*u,I=V("adj4",h,.48123)*n.w,M=V("adj4",h,.48123)*n.h,k=N("path"),W=["M".concat(0,",").concat(n.h/2),"L".concat(b,",").concat(n.h/2-g),"L".concat(b,",").concat(n.h/2-c/2),"L".concat(n.w/2-I/2,",").concat(n.h/2-c/2),"L".concat(n.w/2-I/2,",").concat(n.h/2-M/2),"L".concat(n.w/2-c/2,",").concat(n.h/2-M/2),"L".concat(n.w/2-c/2,",").concat(b),"L".concat(n.w/2-g,",").concat(b),"L".concat(n.w/2,",").concat(0),"L".concat(n.w/2+g,",").concat(b),"L".concat(n.w/2+c/2,",").concat(b),"L".concat(n.w/2+c/2,",").concat(n.h/2-M/2),"L".concat(n.w/2+I/2,",").concat(n.h/2-M/2),"L".concat(n.w/2+I/2,",").concat(n.h/2-c/2),"L".concat(n.w-b,",").concat(n.h/2-c/2),"L".concat(n.w-b,",").concat(n.h/2-g),"L".concat(n.w,",").concat(n.h/2),"L".concat(n.w-b,",").concat(n.h/2+g),"L".concat(n.w-b,",").concat(n.h/2+c/2),"L".concat(n.w/2+I/2,",").concat(n.h/2+c/2),"L".concat(n.w/2+I/2,",").concat(n.h/2+M/2),"L".concat(n.w/2+c/2,",").concat(n.h/2+M/2),"L".concat(n.w/2+c/2,",").concat(n.h-b),"L".concat(n.w/2+g,",").concat(n.h-b),"L".concat(n.w/2,",").concat(n.h),"L".concat(n.w/2-g,",").concat(n.h-b),"L".concat(n.w/2-c/2,",").concat(n.h-b),"L".concat(n.w/2-c/2,",").concat(n.h/2+M/2),"L".concat(n.w/2-I/2,",").concat(n.h/2+M/2),"L".concat(n.w/2-I/2,",").concat(n.h/2+c/2),"L".concat(b,",").concat(n.h/2+c/2),"L".concat(b,",").concat(n.h/2+g),"Z"].join(" ");return k.setAttribute("d",W),k})(l),B=(function(h){var n=h.extend,u=V("adj4",h,.48123)*n.w,c=V("adj4",h,.48123)*n.h;return{top:n.h/2-c/2,bottom:n.h/2-c/2,left:n.w/2-u/2,right:n.w/2-u/2,w:u,h:c}})(l)}C&&(z?(f==null?void 0:f.type)==="blipFill"?(function(h,n,u){var c=h.background,g=c===void 0?{}:c,b=h.extend,I=g.base64,M=g.alpha,k=g.fillRect,W=k===void 0?{}:k,H=W.b,Y=H===void 0?0:H,Q=W.t,rt=Q===void 0?0:Q,ot=W.l,st=ot===void 0?0:ot,yt=W.r,dt=yt===void 0?0:yt,et=N("defs"),bt=N("pattern");bt.setAttribute("id","background_"+h.uuid),bt.setAttribute("patternUnits","userSpaceOnUse"),bt.setAttribute("width",b.w+""),bt.setAttribute("height",b.h+"");var _t=N("image");_t.setAttribute("href",I),_t.setAttribute("preserveAspectRatio","none");var Lt=b.w*st,Rt=b.h*rt,Zt=b.w*(1-st-dt),Yt=b.h*(1-rt-Y);_t.setAttribute("width",Zt+""),_t.setAttribute("height",Yt+""),_t.setAttribute("x",Lt+""),_t.setAttribute("y",Rt+""),typeof M=="number"&&_t.setAttribute("opacity",M+""),bt.appendChild(_t),et.appendChild(bt),n.appendChild(et),u.setAttribute("fill","url(#background_".concat(h.uuid,")"))})(l,U,C):(f==null?void 0:f.type)==="gradFill"?(function(h,n,u){var c=h.background,g=c===void 0?{}:c;h.extend;var b=g.gsList,I=g.lin,M=g.path,k=g.tileRect,W=k===void 0?{}:k,H=N("defs"),Y=N(M==="circle"?"radialGradient":"linearGradient");Y.setAttribute("id","background_grad_fill_"+h.uuid);var Q=b||[];if(Q.sort((function(dt,et){return dt.pos-et.pos})),Q.forEach((function(dt){var et=N("stop");et.setAttribute("offset","".concat(100*dt.pos,"%")),et.setAttribute("stop-color",wt(dt.color)),Y.appendChild(et)})),M==="circle"){var rt=W.r,ot=W.l,st=W.t,yt=W.b;rt===-1?Y.setAttribute("cx","100%"):ot===-1&&Y.setAttribute("cx","0%"),st===-1?Y.setAttribute("cy","0%"):yt===-1&&Y.setAttribute("cy","100%")}else I!=null&&I.ang&&Y.setAttribute("gradientTransform","rotate(".concat(I.ang,")"));H.appendChild(Y),n.appendChild(H),u.setAttribute("fill","url(#background_grad_fill_".concat(h.uuid,")"))})(l,U,C):C.setAttribute("fill",wt(f)||"transparent"):C.setAttribute("fill","transparent"),i.width?(C.setAttribute("stroke-width",i.width+"px"),C.setAttribute("stroke",wt(i.color)||"transparent")):C.setAttribute("stroke-width","0"),C.setAttribute("stroke-dasharray",(function(h){return h&&h.type!=="solid"?({sysDot:[1,1],sysDash:[3,1],dash:[4,3],dashDot:[4,3,1,3],lgDash:[8,3],lgDashDot:[8,3,1,3],lgDashDotDot:[8,3,1,3,1,3]}[h.type]||[]).map((function(n){return n*h.width})).join(","):""})(i)),C.setAttribute("stroke-linecap",i.cap&&{sq:"square",rnd:"round",flat:"butt"}[i.cap]||"square"),C.setAttribute("stroke-linejoin",i.lineJoin||"round"),i.lineJoin==="miter"&&C.setAttribute("stroke-miterlimit",i.miterLim+""),U.appendChild(C));var X=[];w&&X.push("scaleX(-1)"),_&&X.push("scaleY(-1)"),U.style.setProperty("transform",X.join(" ")),x.appendChild(U);var G=(function(h,n,u){var c;u===void 0&&(u=!1);var g=h.inheritProps,b=h.props,I=h.paragraphs;if(!I||I.length===0)return null;var M=q(q({},g),b),k=document.createElement("div");switch(k.className="text-wrapper",k.style.boxSizing="border-box",k.style.position="absolute",k.style.left=n.left+"px",M.vert==="eaVert"?(k.style.writingMode="vertical-rl",k.style.height=n.h+"px"):k.style.width=n.w+"px",M.anchor){case"b":k.style.bottom=n.bottom+"px";break;case"t":k.style.top=n.top+"px";break;case"ctr":k.style.top=n.top+n.h/2+"px",k.style.transform="translateY(-50%)";break;default:u?k.style.top=n.top+"px":(k.style.top=n.top+n.h/2+"px",k.style.transform="translateY(-50%)")}var W=[M.hasOwnProperty("tIns")?Math.floor(M.tIns)+"px":"3px",M.hasOwnProperty("rIns")?Math.floor(M.rIns)+"px":"5px",M.hasOwnProperty("bIns")?Math.floor(M.bIns)+"px":"3px",M.hasOwnProperty("lIns")?Math.floor(M.lIns)+"px":"5px"];k.style.padding=W.join(" ");for(var H={},Y=0,Q=function(st){var yt=q(q({},st.inheritProps),st.props),dt=void 0;if(yt.buAutoNum){var et=yt.level?+yt.level:0;H[et]||(H[et]=0),!((c=st.rows)===null||c===void 0)&&c.length&&H[et]++,Object.keys(H).forEach((function(bt){+bt>et&&(H[bt]=0)})),dt=ya(st,H[et],{isFirst:Y===0,isLast:I.length-1===Y,bodyProps:M})}else dt=ya(st,0,{isFirst:Y===0,isLast:I.length-1===Y,bodyProps:M});k.appendChild(dt),Y++},rt=0,ot=I;rt<ot.length;rt++)Q(ot[rt]);return k})(l.textBody,B,l.isTextBox);return G&&x.appendChild(G),d&&x.style.setProperty("transform","rotate(".concat(d,"deg)")),x}function Gs(l){var o=document.createElement("div"),a=l.extend;l.chExtend;var i=l.offset;l.chOffset;var f=l.flipV,d=l.flipH,w=l.rotate,_=i.x,x=i.y,A=a.w,S=a.h;o.className="group",o.style.position="absolute",o.style.left=_+"px",o.style.top=x+"px",o.style.width=A+"px",o.style.height=S+"px";var C=[];d&&C.push("scaleX(-1)"),f&&C.push("scaleY(-1)"),w&&C.push("rotate(".concat(w,"deg)")),o.style.transformOrigin="center center",o.style.transform=C.join(" ");for(var U=0;U<l.nodes.length;U++){var B=l.nodes[U],z=void 0;B instanceof wa?z=Ui(B):B instanceof br?z=Gi(B):B instanceof Zi&&(z=Gs(B)),z&&o.appendChild(z)}return o}var Ie={};function Os(l,o){Ie[l]||(Ie[l]=[]),Ie[l].push(o)}function da(l,o){if(Ie[l])for(var a=0;a<Ie[l].length;a++)Ie[l][a](o)}function Ni(l,o){Ie?Ie[l]&&(Ie[l]=Ie[l].filter((function(a){return a!==o}))):Ie[l]=[]}var js=(function(){function l(o,a,i){this.scale=1,this.wrapper=o,this.pptx=a,this.options=i,this._calcScaleAndRenderPort()}return l.prototype._calcScaleAndRenderPort=function(){var o=this.options.viewPort.width/this.pptx.width;this.scale=o;var a=this.options.viewPort.width,i=this.pptx.height*this.scale;this.renderPort={width:a,height:i,left:0,top:0}},l.prototype.renderSlide=function(o){var a=this.pptx.slides[o],i=document.createElement("div");i.classList.add("pptx-preview-slide-wrapper"),i.classList.add("pptx-preview-slide-wrapper-".concat(o)),i.style.setProperty("width",this.renderPort.width+"px"),i.style.setProperty("height",this.renderPort.height+"px"),i.style.setProperty("position",this.options.mode==="slide"?"absolute":"relative"),this.options.mode==="slide"&&i.style.setProperty("top",(this.options.viewPort.height-this.renderPort.height)/2+"px"),i.style.margin="0 auto 10px",i.style.setProperty("background","#fff"),i.style.setProperty("overflow","hidden"),this._renderBackground(a,i),this._renderSlideMaster(a.slideMaster,i),this._renderSlideLayout(a.slideLayout,i),this._renderSlide(a,i),this.wrapper.append(i)},l.prototype._renderSlideMaster=function(o,a){var i=document.createElement("div");i.classList.add("slide-master-wrapper"),i.style.setProperty("position","absolute"),i.style.setProperty("left","0"),i.style.setProperty("top","0"),i.style.setProperty("width",this.pptx.width+"px"),i.style.setProperty("height",this.pptx.height+"px"),i.style.setProperty("transform","scale(".concat(this.scale,")")),i.style.setProperty("transform-origin","0 0");var f=yr([],o.nodes,!0).filter((function(_){return _.userDrawn}));f.sort((function(_,x){return _.order>x.order?1:-1}));for(var d=0;d<f.length;d++){var w=this._renderNode(f[d]);w&&i.append(w)}a.append(i)},l.prototype._renderSlideLayout=function(o,a){var i=document.createElement("div");i.classList.add("slide-layout-wrapper"),i.style.setProperty("position","absolute"),i.style.setProperty("left","0"),i.style.setProperty("top","0"),i.style.setProperty("width",this.pptx.width+"px"),i.style.setProperty("height",this.pptx.height+"px"),i.style.setProperty("transform","scale(".concat(this.scale,")")),i.style.setProperty("transform-origin","0 0");var f=yr([],o.nodes,!0).filter((function(_){return _.userDrawn}));f.sort((function(_,x){return _.order>x.order?1:-1}));for(var d=0;d<f.length;d++){var w=this._renderNode(f[d]);w&&i.append(w)}a.append(i)},l.prototype._renderSlide=function(o,a){var i=document.createElement("div");i.classList.add("slide-wrapper"),i.style.setProperty("position","absolute"),i.style.setProperty("left","0"),i.style.setProperty("top","0"),i.style.setProperty("width",this.pptx.width+"px"),i.style.setProperty("height",this.pptx.height+"px"),i.style.setProperty("transform","scale(".concat(this.scale,")")),i.style.setProperty("transform-origin","0 0");var f=yr([],o.nodes,!0);f.sort((function(_,x){return _.order>x.order?1:-1}));for(var d=0;d<f.length;d++){var w=this._renderNode(f[d]);w&&i.append(w)}a.append(i)},l.prototype._renderNode=function(o){return o instanceof wa?Ui(o):o instanceof br?Gi(o):o instanceof Zi?Gs(o):o instanceof Ns?(function(a){var i=document.createElement("div"),f=a.extend,d=a.offset,w=a.flipV,_=a.flipH,x=a.rotate,A=d.x,S=d.y,C=f.w,U=f.h;i.className="smart-chart-diagram",i.style.position="absolute",i.style.left=A+"px",i.style.top=S+"px",i.style.width=C+"px",i.style.height=U+"px";var B=[];_&&B.push("scaleX(-1)"),w&&B.push("scaleY(-1)"),x&&B.push("rotate(".concat(x,"deg)")),i.style.transformOrigin="center center",i.style.transform=B.join(" ");for(var z=0;z<a.nodes.length;z++){var X=a.nodes[z],G=void 0;X instanceof wa?G=Ui(X):X instanceof br&&(G=Gi(X)),G&&i.appendChild(G)}return i})(o):o instanceof Fs?(function(a){var i=a.extend,f=a.offset,d=a.tr,w=a.tableGrid.gridCol,_=document.createElement("div");_.style.position="absolute",_.style.left=f.x+"px",_.style.top=f.y+"px",_.style.width=i.w+"px",_.style.height=i.h+"px";var x=document.createElement("table");return x.style.borderCollapse="collapse",d.forEach((function(A){var S=A.props,C=A.td,U=S.height,B=document.createElement("tr");B.style.height=U+"px",C.forEach((function(z,X){var G,h,n=z.props,u=z.inheritTcStyle,c=z.inheritTcTxStyle,g=z.paragraphs;if(!n.vMerge&&!n.hMerge){var b=document.createElement("td");b.style.width=(((G=w[X])===null||G===void 0?void 0:G.width)||30)+"px",n.rowSpan&&b.setAttribute("rowspan",n.rowSpan+""),n.gridSpan&&b.setAttribute("colspan",n.gridSpan+"");var I=n.background||u.background;I&&(b.style.background=wt(I));var M=q(q({},u.border),n.border),k=function(et){return et?et.toLowerCase().includes("dash")?"dashed":et.toLowerCase().includes("dot")?"dotted":"solid":"solid"};M.bottom&&(b.style.borderBottom="".concat(M.bottom.width,"px ").concat(k(M.bottom.type)," ").concat(wt(M.bottom.color))),M.top&&(b.style.borderTop="".concat(M.top.width,"px ").concat(k(M.top.type)," ").concat(wt(M.top.color))),M.left&&(b.style.borderLeft="".concat(M.left.width,"px ").concat(k(M.left.type)," ").concat(wt(M.left.color))),M.right&&(b.style.borderRight="".concat(M.right.width,"px ").concat(k(M.right.type)," ").concat(wt(M.right.color)));var W=document.createElement("div");switch(W.className="text-wrapper",W.style.boxSizing="border-box",W.style.width="100%",W.style.height="100%",W.style.overflow="hidden",W.style.display="flex",W.style.flexDirection="column",n.anchor){case"b":W.style.justifyContent="flex-end";break;case"t":W.style.justifyContent="flex-start";break;case"ctr":W.style.justifyContent="center"}var H=[n.hasOwnProperty("marT")?Math.floor(n.marT)+"px":"3px",n.hasOwnProperty("marR")?Math.floor(n.marR-1)+"px":"5px",n.hasOwnProperty("marB")?Math.floor(n.marB)+"px":"3px",n.hasOwnProperty("marL")?Math.floor(n.marL-1)+"px":"5px"];W.style.padding=H.join(" ");for(var Y=q({},n),Q={},rt=g.map((function(et){return q(q({},et),{props:q({align:"l"},et.props),inheritRProps:q(q({},et.inheritRProps),c)})})),ot=0,st=function(et){var bt=q(q({},et.inheritProps),et.props),_t=void 0;if(bt.buAutoNum){var Lt=bt.level?+bt.level:0;Q[Lt]||(Q[Lt]=0),!((h=et.rows)===null||h===void 0)&&h.length&&Q[Lt]++,Object.keys(Q).forEach((function(Rt){+Rt>Lt&&(Q[Rt]=0)})),_t=ya(et,Q[Lt],{isFirst:ot===0,isLast:g.length-1===ot,bodyProps:Y})}else _t=ya(et,0,{isFirst:ot===0,isLast:g.length-1===ot,bodyProps:Y});W.appendChild(_t),ot++},yt=0,dt=rt;yt<dt.length;yt++)st(dt[yt]);b.append(W),B.append(b)}})),x.append(B)})),_.append(x),_})(o):o instanceof Ws?(function(a){var i=document.createElement("div"),f=a.extend,d=a.offset,w=a.flipV,_=a.flipH,x=a.rotate,A=a.options,S=d.x,C=d.y,U=f.w,B=f.h;i.className="chart-node",i.style.position="absolute",i.style.left=S+"px",i.style.top=C+"px",i.style.width=U+"px",i.style.height=B+"px";var z=[];return _&&z.push("scaleX(-1)"),w&&z.push("scaleY(-1)"),x&&z.push("rotate(".concat(x,"deg)")),i.style.transformOrigin="center center",i.style.transform=z.join(" "),setTimeout((function(){var X=mg(i,null,{renderer:"svg"});X.setOption(A),Os("destroy",(function(){X&&X.dispose(),X&&(X=null)})),Os("removeSlide",(function(){X&&X.dispose(),X&&(X=null)}))}),0),i})(o):void 0},l.prototype._renderBackground=function(o,a){var i,f=document.createElement("div");f.classList.add("slide-background"),f.style.setProperty("position","absolute"),f.style.setProperty("left","0"),f.style.setProperty("top","0"),f.style.setProperty("width","100%"),f.style.setProperty("height","100%");var d=o.background;if(d.type==="none"&&(d=o.slideLayout.background),d.type==="none"&&(d=o.slideMaster.background),d.type==="blipFill"){var w=d,_=w.base64,x=w.alpha,A=w.fillRect,S=A===void 0?{}:A,C=S.b,U=C===void 0?0:C,B=S.t,z=B===void 0?0:B,X=S.l,G=X===void 0?0:X,h=S.r,n=h===void 0?0:h,u=this.renderPort.width*G,c=this.renderPort.height*z,g=this.renderPort.width*(1-G-n),b=this.renderPort.height*(1-z-U);f.style.backgroundImage="url(".concat(_,")"),f.style.backgroundSize="".concat(g," ").concat(b),f.style.backgroundPosition="".concat(u,"px ").concat(c,"px"),x&&(f.style.opacity=x+""),f.style.backgroundRepeat="no-repeat"}else if(d.type==="solidFill"){var I=wt(o.background)||wt(o.slideLayout.background)||wt(o.slideMaster.background);I?f.style.setProperty("background",I):f.style.setProperty("background","#fff")}else if(d.type==="gradFill")if(d.path==="circle"){var M=d.tileRect||{},k=(U=M.b,z=M.t,G=M.l,"radial-gradient(circle at ");(n=M.r)===-1?k+=" right":G===-1&&(k+=" left"),z===-1?k+=" top":U===-1&&(k+=" bottom"),U||z||G||n||(k+=" center"),k+=",",k+=d.gsList.map((function(H){return"".concat(wt(H.color)," ").concat(100*H.pos+"%")})).join(","),f.style.setProperty("background",k)}else{var W=((i=d==null?void 0:d.lin)===null||i===void 0?void 0:i.ang)||0;k="linear-gradient(".concat(W+90,"deg,"),k+=d.gsList.map((function(H){return"".concat(wt(H.color)," ").concat(100*H.pos+"%")})).join(","),f.style.setProperty("background",k)}a.append(f)},l})(),Og=(function(){function l(o,a){this.currentIndex=-1,this.dom=o,this.options=a,this._renderWrapper()}return Object.defineProperty(l.prototype,"slideCount",{get:function(){var o,a;return(a=(o=this.pptx)===null||o===void 0?void 0:o.slides)===null||a===void 0?void 0:a.length},enumerable:!1,configurable:!0}),l.prototype._renderWrapper=function(){var o=document.createElement("div");o.classList.add("pptx-preview-wrapper"),o.setAttribute("position","relative"),o.style.setProperty("background","#000"),o.style.setProperty("width",this.options.width+"px"),this.options.height&&o.style.setProperty("height",this.options.height+"px"),o.style.setProperty("position","relative"),o.style.setProperty("margin","0 auto"),this.options.height&&o.style.setProperty("overflow-y","auto"),this.dom.append(o),this.wrapper=o},l.prototype.renderNextButton=function(){var o=document.createElement("div");o.classList.add("pptx-preview-wrapper-next"),o.style.setProperty("position","absolute"),o.style.setProperty("bottom","20px"),o.style.setProperty("right","80px"),o.style.setProperty("z-index","100"),o.style.setProperty("cursor","pointer"),o.style.setProperty("width","40px"),o.style.setProperty("height","40px"),o.style.setProperty("background","#666666"),o.style.setProperty("border-radius","100%");var a=document.createElement("div");return a.style.setProperty("width","10px"),a.style.setProperty("height","10px"),a.style.setProperty("border-left","2px solid #fff"),a.style.setProperty("border-bottom","2px solid #fff"),a.style.setProperty("transform","rotate(225deg)"),a.style.setProperty("position","absolute"),a.style.setProperty("top","15px"),a.style.setProperty("left","15px"),o.append(a),o},l.prototype.renderPreButton=function(){var o=document.createElement("div");o.classList.add("pptx-preview-wrapper-next"),o.style.setProperty("position","absolute"),o.style.setProperty("bottom","20px"),o.style.setProperty("right","140px"),o.style.setProperty("z-index","100"),o.style.setProperty("cursor","pointer"),o.style.setProperty("width","40px"),o.style.setProperty("height","40px"),o.style.setProperty("background","#666666"),o.style.setProperty("border-radius","100%");var a=document.createElement("div");return a.style.setProperty("width","10px"),a.style.setProperty("height","10px"),a.style.setProperty("border-left","2px solid #fff"),a.style.setProperty("border-bottom","2px solid #fff"),a.style.setProperty("transform","rotate(45deg)"),a.style.setProperty("position","absolute"),a.style.setProperty("top","15px"),a.style.setProperty("left","15px"),o.append(a),o},l.prototype.updatePagination=function(){var o=this.wrapper.querySelector(".pptx-preview-wrapper-pagination");o&&(o.innerText="".concat(this.currentIndex+1,"/").concat(this.slideCount))},l.prototype.renderPagination=function(o){var a=document.createElement("div");a.classList.add("pptx-preview-wrapper-pagination"),a.innerText="".concat(this.currentIndex+1,"/").concat(this.slideCount),a.style.setProperty("position","absolute"),a.style.setProperty("bottom","33px"),a.style.setProperty("right","20px"),a.style.setProperty("color","#666666"),a.style.setProperty("font-size","14px"),a.style.setProperty("z-index","100"),o.append(a)},l.prototype.removeCurrentSlide=function(){var o=this.wrapper.querySelector(".pptx-preview-slide-wrapper-".concat(this.currentIndex));o&&this.wrapper.removeChild(o),da("removeSlide")},l.prototype.renderNextSlide=function(){this.removeCurrentSlide(),this.currentIndex=this.currentIndex<this.slideCount-1?this.currentIndex+1:0,this.htmlRender.renderSlide(this.currentIndex),this.updatePagination()},l.prototype.renderPreSlide=function(){this.removeCurrentSlide(),this.currentIndex=this.currentIndex>0?this.currentIndex-1:this.slideCount-1,this.htmlRender.renderSlide(this.currentIndex),this.updatePagination()},l.prototype._addPre=function(o){},l.prototype.preview=function(o){var a=this;return da("destroy"),Ni("destroy"),new Promise((function(i,f){a.wrapper.innerHTML="";var d=a.pptx=new Ss;d.load(o).then((function(){try{var w=a.htmlRender=new js(a.wrapper,d,{viewPort:{width:a.options.width,height:a.options.height},mode:a.options.mode});if(a.options.mode==="slide"){var _=a.renderNextButton();_.onclick=function(){a.renderNextSlide()},a.wrapper.append(_);var x=a.renderPreButton();x.onclick=function(){a.renderPreSlide()},a.wrapper.append(x),a.renderPagination(a.wrapper),a._addPre(a.wrapper),a.currentIndex=0,w.renderSlide(0)}else for(var A=0;A<d.slides.length;A++)w.renderSlide(A);i(d)}catch(S){f(S)}})).catch((function(w){f(w)}))}))},l.prototype.load=function(o){var a=this;return da("destroy"),Ni("destroy"),new Promise((function(i,f){a.wrapper.innerHTML="";var d=a.pptx=new Ss;d.load(o).then((function(){try{a.htmlRender=new js(a.wrapper,d,{viewPort:{width:a.options.width,height:a.options.height},mode:a.options.mode}),i(d)}catch(w){f(w)}})).catch((function(w){f(w)}))}))},l.prototype.renderSingleSlide=function(o){this.removeCurrentSlide(),this.currentIndex=o,this.htmlRender.renderSlide(this.currentIndex)},l.prototype.destroy=function(){da("destroy"),Ni("destroy")},l})();function Wg(l,o){return new Og(l,o)}export{Wg as init};
|