@koredev/agentai-web-sdk 1.3.2-rc → 1.3.4-rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/aaWindow/aaWindow.d.ts +4 -0
- package/dist/components/common/constants/events.cnst.d.ts +28 -3
- package/dist/components/common/constants/projConsts.d.ts +53 -0
- package/dist/components/common/services/rootService.d.ts +22 -0
- package/dist/components/common/templatemanager/tabs/playbook/playbook.d.ts +10 -0
- package/dist/esm/agentai-web-sdk.min.js +1 -1
- package/dist/umd/agentai-web-sdk-umd.min.js +1 -1
- package/dist/umd/agentai-web-sdk-umd.min.js.map +1 -1
- package/dist/umd/hot/hot-update.js +3264 -102
- package/dist/umd/hot/hot-update.js.map +1 -1
- package/package.json +1 -1
- package/dist/08eb0932dc2145b3f6b2.woff +0 -0
- package/dist/0cde50f90fe61871de0a.woff +0 -0
- package/dist/0d0882bc6997a213dace.woff +0 -0
- package/dist/15bbe3b76e0bedd9c4d5.woff2 +0 -0
- package/dist/1b084c69c69a1b3a2618.woff2 +0 -0
- package/dist/1d2ca94dfba6f8d87cfd.woff +0 -0
- package/dist/21b3848a32fce5b0f501.woff2 +0 -0
- package/dist/2505c0d4b34ffca98f8f.woff2 +0 -0
- package/dist/34b49f334f41cea8e365.woff2 +0 -0
- package/dist/3781075241905d291dad.woff +0 -0
- package/dist/3c747ac4004be3a30e98.woff2 +0 -0
- package/dist/3e22a5367c2e68d6e4ba.woff2 +0 -0
- package/dist/3e6b99809852a8290c42.woff +0 -0
- package/dist/3fdee263fe69b843601f.woff +0 -0
- package/dist/5b53c519b3184a74a98c.woff2 +0 -0
- package/dist/5f2383ba1f21218136e8.woff +0 -0
- package/dist/62a9c838c99d073c7ba6.woff +0 -0
- package/dist/6cfa65c63939188f33ef.woff +0 -0
- package/dist/6d20cff5b3255dd0078f.woff2 +0 -0
- package/dist/70214cc266c6a06739cc.woff2 +0 -0
- package/dist/75614cfcfedd509b1f7a.woff2 +0 -0
- package/dist/86b501b4ef9d20d70996.woff2 +0 -0
- package/dist/8802efd7433cd416030e.ttf +0 -0
- package/dist/89b618086a797a8be0f4.woff +0 -0
- package/dist/8b4a1cc3e20e6ede50a5.woff +0 -0
- package/dist/9ba7233345056c919454.woff +0 -0
- package/dist/a071abba7e9bd90947f7.woff2 +0 -0
- package/dist/a6069540692725c247f1.woff2 +0 -0
- package/dist/aa42f3d22ea9fae2b945.woff +0 -0
- package/dist/b9c017a718cdeb8538b8.woff2 +0 -0
- package/dist/bb5de40edffdbd3ab519.woff2 +0 -0
- package/dist/bf4e61df34aa7aaef4cf.woff2 +0 -0
- package/dist/c66465590541129e82d3.woff +0 -0
- package/dist/c7c0091f1b2b06064572.woff +0 -0
- package/dist/cc6a88688869161eb836.woff +0 -0
- package/dist/d1b8fe27f27857a021fd.svg +0 -48
- package/dist/e48918f9c91871c0ce3e.woff2 +0 -0
- package/dist/e8251a8e718efab2c8d4.eot +0 -0
- package/dist/esm/0079170286df1ba69b55.woff2 +0 -1
- package/dist/esm/03144e0376d9ca94818f.woff +0 -1
- package/dist/esm/079927b5fc360c0c35dc.woff +0 -1
- package/dist/esm/08eb0932dc2145b3f6b2.woff +0 -0
- package/dist/esm/0bbc8c0ec7307c0e693c.woff +0 -1
- package/dist/esm/0cde50f90fe61871de0a.woff +0 -0
- package/dist/esm/0d0882bc6997a213dace.woff +0 -0
- package/dist/esm/0d1206d5dbfff94b6dce.woff2 +0 -1
- package/dist/esm/10ae7867b1e998acb20c.woff +0 -1
- package/dist/esm/1580f5cacc4b379aafbe.woff +0 -1
- package/dist/esm/15bbe3b76e0bedd9c4d5.woff2 +0 -0
- package/dist/esm/19e84cd57634d7c3c92c.woff2 +0 -1
- package/dist/esm/1b084c69c69a1b3a2618.woff2 +0 -0
- package/dist/esm/1d2ca94dfba6f8d87cfd.woff +0 -0
- package/dist/esm/21b3848a32fce5b0f501.woff2 +0 -0
- package/dist/esm/2505c0d4b34ffca98f8f.woff2 +0 -0
- package/dist/esm/2a74a3e7f2c69f4ae46e.woff +0 -1
- package/dist/esm/2c49ff611d7e8f98ab2f.woff +0 -1
- package/dist/esm/2e7d3376ff021dde4d24.woff +0 -1
- package/dist/esm/34b49f334f41cea8e365.woff2 +0 -0
- package/dist/esm/3781075241905d291dad.woff +0 -0
- package/dist/esm/3b7a13355150c93e7f29.woff +0 -1
- package/dist/esm/3bda6ea31a391fddf966.woff2 +0 -1
- package/dist/esm/3c747ac4004be3a30e98.woff2 +0 -0
- package/dist/esm/3e22a5367c2e68d6e4ba.woff2 +0 -0
- package/dist/esm/3e6b99809852a8290c42.woff +0 -0
- package/dist/esm/3fdee263fe69b843601f.woff +0 -0
- package/dist/esm/49838a8e8497aeaab696.woff +0 -1
- package/dist/esm/5ad66c7d0ff909e60595.woff2 +0 -1
- package/dist/esm/5b53c519b3184a74a98c.woff2 +0 -0
- package/dist/esm/5f2383ba1f21218136e8.woff +0 -0
- package/dist/esm/62a9c838c99d073c7ba6.woff +0 -0
- package/dist/esm/6cf76b3591a08213d0d4.woff2 +0 -1
- package/dist/esm/6cfa65c63939188f33ef.woff +0 -0
- package/dist/esm/6d20cff5b3255dd0078f.woff2 +0 -0
- package/dist/esm/70214cc266c6a06739cc.woff2 +0 -0
- package/dist/esm/75614cfcfedd509b1f7a.woff2 +0 -0
- package/dist/esm/76808fd1f612d73fcfd0.woff2 +0 -1
- package/dist/esm/7e955881473c7c1fc757.woff2 +0 -1
- package/dist/esm/81afbb5302557e40c7ec.woff +0 -1
- package/dist/esm/86b501b4ef9d20d70996.woff2 +0 -0
- package/dist/esm/87db95a33033d6ba4aac.woff +0 -1
- package/dist/esm/8802efd7433cd416030e.ttf +0 -0
- package/dist/esm/89678fe39085ee870c55.woff2 +0 -1
- package/dist/esm/89b618086a797a8be0f4.woff +0 -0
- package/dist/esm/8b4a1cc3e20e6ede50a5.woff +0 -0
- package/dist/esm/8d357b447c451b49fb68.woff2 +0 -1
- package/dist/esm/9ba7233345056c919454.woff +0 -0
- package/dist/esm/9bac66b48938caf4fcd5.woff2 +0 -1
- package/dist/esm/a071abba7e9bd90947f7.woff2 +0 -0
- package/dist/esm/a6069540692725c247f1.woff2 +0 -0
- package/dist/esm/a7f05895e363ec96c912.woff2 +0 -1
- package/dist/esm/aa42f3d22ea9fae2b945.woff +0 -0
- package/dist/esm/agentai-web-sdk-chat.min.js +0 -1
- package/dist/esm/agentai-web-sdk-widget.js +0 -1
- package/dist/esm/b792fa235b7630bd8053.woff +0 -1
- package/dist/esm/b9c017a718cdeb8538b8.woff2 +0 -0
- package/dist/esm/bb5de40edffdbd3ab519.woff2 +0 -0
- package/dist/esm/bf4e61df34aa7aaef4cf.woff2 +0 -0
- package/dist/esm/c2027c73be1b00937b95.woff2 +0 -1
- package/dist/esm/c625ad3550b59abce9b3.woff +0 -1
- package/dist/esm/c64f6164461f7922c617.woff2 +0 -1
- package/dist/esm/c66465590541129e82d3.woff +0 -0
- package/dist/esm/c7c0091f1b2b06064572.woff +0 -0
- package/dist/esm/cb78e0b904a54e517283.woff2 +0 -1
- package/dist/esm/cc6a88688869161eb836.woff +0 -0
- package/dist/esm/cd81ec65d90cda044b24.woff +0 -1
- package/dist/esm/d1b8fe27f27857a021fd.svg +0 -48
- package/dist/esm/d5408207aa201ef28e76.woff +0 -1
- package/dist/esm/d579b39c658cc4a1bc3a.woff2 +0 -1
- package/dist/esm/d6804bc4abf778f20b6f.woff +0 -1
- package/dist/esm/e48918f9c91871c0ce3e.woff2 +0 -0
- package/dist/esm/e61bdd7b901fb979b6db.woff2 +0 -1
- package/dist/esm/e8251a8e718efab2c8d4.eot +0 -0
- package/dist/esm/ecfb0d5afd86736348a6.woff2 +0 -1
- package/dist/esm/fa701b4b599a803effc3.woff +0 -0
- package/dist/esm/fc49d131f795b4d48f26.woff +0 -0
- package/dist/esm/fd2bc84b7ff87be0b3de.woff +0 -1
- package/dist/esm/fonts/Inter-Bold.woff +0 -0
- package/dist/esm/fonts/Inter-Bold.woff2 +0 -0
- package/dist/esm/fonts/Inter-BoldItalic.woff +0 -0
- package/dist/esm/fonts/Inter-BoldItalic.woff2 +0 -0
- package/dist/esm/fonts/Inter-Italic.woff +0 -0
- package/dist/esm/fonts/Inter-Italic.woff2 +0 -0
- package/dist/esm/fonts/Inter-Light.woff +0 -0
- package/dist/esm/fonts/Inter-Light.woff2 +0 -0
- package/dist/esm/fonts/Inter-Medium.woff +0 -0
- package/dist/esm/fonts/Inter-Medium.woff2 +0 -0
- package/dist/esm/fonts/Inter-Regular.woff +0 -0
- package/dist/esm/fonts/Inter-Regular.woff2 +0 -0
- package/dist/esm/fonts/Inter-SemiBold.woff +0 -0
- package/dist/esm/fonts/Inter-SemiBold.woff2 +0 -0
- package/dist/esm/fonts/Inter-SemiBoldItalic.woff +0 -0
- package/dist/esm/fonts/Inter-SemiBoldItalic.woff2 +0 -0
- package/dist/esm/fonts/lato-black-italic.woff +0 -0
- package/dist/esm/fonts/lato-black-italic.woff2 +0 -0
- package/dist/esm/fonts/lato-black.woff +0 -0
- package/dist/esm/fonts/lato-black.woff2 +0 -0
- package/dist/esm/fonts/lato-bold-italic.woff +0 -0
- package/dist/esm/fonts/lato-bold-italic.woff2 +0 -0
- package/dist/esm/fonts/lato-bold.woff +0 -0
- package/dist/esm/fonts/lato-bold.woff2 +0 -0
- package/dist/esm/fonts/lato-medium-italic.woff +0 -0
- package/dist/esm/fonts/lato-medium-italic.woff2 +0 -0
- package/dist/esm/fonts/lato-medium.woff +0 -0
- package/dist/esm/fonts/lato-medium.woff2 +0 -0
- package/dist/esm/fonts/lato-normal-italic.woff +0 -0
- package/dist/esm/fonts/lato-normal-italic.woff2 +0 -0
- package/dist/esm/fonts/lato-normal.woff +0 -0
- package/dist/esm/fonts/lato-normal.woff2 +0 -0
- package/dist/esm/fonts/lato-semibold-italic.woff +0 -0
- package/dist/esm/fonts/lato-semibold-italic.woff2 +0 -0
- package/dist/esm/fonts/lato-semibold.woff +0 -0
- package/dist/esm/fonts/lato-semibold.woff2 +0 -0
- package/dist/esm.33b04282470b7f32139e.hot-update.json +0 -1
- package/dist/esm.33b04282470b7f32139e.hot-update.mjs +0 -1595
- package/dist/esm.33b04282470b7f32139e.hot-update.mjs.map +0 -1
- package/dist/esm.ac35dd6406ac80811da3.hot-update.json +0 -1
- package/dist/esm.ac35dd6406ac80811da3.hot-update.mjs +0 -1083
- package/dist/esm.ac35dd6406ac80811da3.hot-update.mjs.map +0 -1
- package/dist/fa701b4b599a803effc3.woff +0 -0
- package/dist/fc49d131f795b4d48f26.woff +0 -0
- package/dist/hot/hot-update.js +0 -445
- package/dist/hot/hot-update.js.map +0 -1
- package/dist/hot/hot-update.json +0 -1
- package/dist/index.d.ts +0 -3
- package/dist/index_widget.d.ts +0 -3
- package/dist/kore-web-sdk.esm.browser.js +0 -17163
- package/dist/kore-web-sdk.esm.browser.js.map +0 -1
- package/dist/umd/0079170286df1ba69b55.woff2 +0 -1
- package/dist/umd/03144e0376d9ca94818f.woff +0 -1
- package/dist/umd/079927b5fc360c0c35dc.woff +0 -1
- package/dist/umd/08eb0932dc2145b3f6b2.woff +0 -0
- package/dist/umd/0bbc8c0ec7307c0e693c.woff +0 -1
- package/dist/umd/0cde50f90fe61871de0a.woff +0 -0
- package/dist/umd/0d0882bc6997a213dace.woff +0 -0
- package/dist/umd/0d1206d5dbfff94b6dce.woff2 +0 -1
- package/dist/umd/10ae7867b1e998acb20c.woff +0 -1
- package/dist/umd/1580f5cacc4b379aafbe.woff +0 -1
- package/dist/umd/15bbe3b76e0bedd9c4d5.woff2 +0 -0
- package/dist/umd/19e84cd57634d7c3c92c.woff2 +0 -1
- package/dist/umd/1b084c69c69a1b3a2618.woff2 +0 -0
- package/dist/umd/1d2ca94dfba6f8d87cfd.woff +0 -0
- package/dist/umd/21b3848a32fce5b0f501.woff2 +0 -0
- package/dist/umd/2505c0d4b34ffca98f8f.woff2 +0 -0
- package/dist/umd/2a74a3e7f2c69f4ae46e.woff +0 -1
- package/dist/umd/2c49ff611d7e8f98ab2f.woff +0 -1
- package/dist/umd/2e7d3376ff021dde4d24.woff +0 -1
- package/dist/umd/34b49f334f41cea8e365.woff2 +0 -0
- package/dist/umd/3781075241905d291dad.woff +0 -0
- package/dist/umd/3b7a13355150c93e7f29.woff +0 -1
- package/dist/umd/3bda6ea31a391fddf966.woff2 +0 -1
- package/dist/umd/3c747ac4004be3a30e98.woff2 +0 -0
- package/dist/umd/3e22a5367c2e68d6e4ba.woff2 +0 -0
- package/dist/umd/3e6b99809852a8290c42.woff +0 -0
- package/dist/umd/3fdee263fe69b843601f.woff +0 -0
- package/dist/umd/49838a8e8497aeaab696.woff +0 -1
- package/dist/umd/5ad66c7d0ff909e60595.woff2 +0 -1
- package/dist/umd/5b53c519b3184a74a98c.woff2 +0 -0
- package/dist/umd/5f2383ba1f21218136e8.woff +0 -0
- package/dist/umd/62a9c838c99d073c7ba6.woff +0 -0
- package/dist/umd/6cf76b3591a08213d0d4.woff2 +0 -1
- package/dist/umd/6cfa65c63939188f33ef.woff +0 -0
- package/dist/umd/6d20cff5b3255dd0078f.woff2 +0 -0
- package/dist/umd/70214cc266c6a06739cc.woff2 +0 -0
- package/dist/umd/75614cfcfedd509b1f7a.woff2 +0 -0
- package/dist/umd/76808fd1f612d73fcfd0.woff2 +0 -1
- package/dist/umd/7e955881473c7c1fc757.woff2 +0 -1
- package/dist/umd/81afbb5302557e40c7ec.woff +0 -1
- package/dist/umd/86b501b4ef9d20d70996.woff2 +0 -0
- package/dist/umd/87db95a33033d6ba4aac.woff +0 -1
- package/dist/umd/8802efd7433cd416030e.ttf +0 -0
- package/dist/umd/89678fe39085ee870c55.woff2 +0 -1
- package/dist/umd/89b618086a797a8be0f4.woff +0 -0
- package/dist/umd/8b4a1cc3e20e6ede50a5.woff +0 -0
- package/dist/umd/8d357b447c451b49fb68.woff2 +0 -1
- package/dist/umd/9ba7233345056c919454.woff +0 -0
- package/dist/umd/9bac66b48938caf4fcd5.woff2 +0 -1
- package/dist/umd/a071abba7e9bd90947f7.woff2 +0 -0
- package/dist/umd/a6069540692725c247f1.woff2 +0 -0
- package/dist/umd/a7f05895e363ec96c912.woff2 +0 -1
- package/dist/umd/aa42f3d22ea9fae2b945.woff +0 -0
- package/dist/umd/b792fa235b7630bd8053.woff +0 -1
- package/dist/umd/b9c017a718cdeb8538b8.woff2 +0 -0
- package/dist/umd/bb5de40edffdbd3ab519.woff2 +0 -0
- package/dist/umd/bf4e61df34aa7aaef4cf.woff2 +0 -0
- package/dist/umd/c2027c73be1b00937b95.woff2 +0 -1
- package/dist/umd/c625ad3550b59abce9b3.woff +0 -1
- package/dist/umd/c64f6164461f7922c617.woff2 +0 -1
- package/dist/umd/c66465590541129e82d3.woff +0 -0
- package/dist/umd/c7c0091f1b2b06064572.woff +0 -0
- package/dist/umd/cb78e0b904a54e517283.woff2 +0 -1
- package/dist/umd/cc6a88688869161eb836.woff +0 -0
- package/dist/umd/cd81ec65d90cda044b24.woff +0 -1
- package/dist/umd/d1b8fe27f27857a021fd.svg +0 -48
- package/dist/umd/d5408207aa201ef28e76.woff +0 -1
- package/dist/umd/d579b39c658cc4a1bc3a.woff2 +0 -1
- package/dist/umd/d6804bc4abf778f20b6f.woff +0 -1
- package/dist/umd/e48918f9c91871c0ce3e.woff2 +0 -0
- package/dist/umd/e61bdd7b901fb979b6db.woff2 +0 -1
- package/dist/umd/e8251a8e718efab2c8d4.eot +0 -0
- package/dist/umd/ecfb0d5afd86736348a6.woff2 +0 -1
- package/dist/umd/fa701b4b599a803effc3.woff +0 -0
- package/dist/umd/fc49d131f795b4d48f26.woff +0 -0
- package/dist/umd/fd2bc84b7ff87be0b3de.woff +0 -1
- package/dist/umd/fonts/Inter-Bold.woff +0 -0
- package/dist/umd/fonts/Inter-Bold.woff2 +0 -0
- package/dist/umd/fonts/Inter-BoldItalic.woff +0 -0
- package/dist/umd/fonts/Inter-BoldItalic.woff2 +0 -0
- package/dist/umd/fonts/Inter-Italic.woff +0 -0
- package/dist/umd/fonts/Inter-Italic.woff2 +0 -0
- package/dist/umd/fonts/Inter-Light.woff +0 -0
- package/dist/umd/fonts/Inter-Light.woff2 +0 -0
- package/dist/umd/fonts/Inter-Medium.woff +0 -0
- package/dist/umd/fonts/Inter-Medium.woff2 +0 -0
- package/dist/umd/fonts/Inter-Regular.woff +0 -0
- package/dist/umd/fonts/Inter-Regular.woff2 +0 -0
- package/dist/umd/fonts/Inter-SemiBold.woff +0 -0
- package/dist/umd/fonts/Inter-SemiBold.woff2 +0 -0
- package/dist/umd/fonts/Inter-SemiBoldItalic.woff +0 -0
- package/dist/umd/fonts/Inter-SemiBoldItalic.woff2 +0 -0
- package/dist/umd/fonts/lato-black-italic.woff +0 -0
- package/dist/umd/fonts/lato-black-italic.woff2 +0 -0
- package/dist/umd/fonts/lato-black.woff +0 -0
- package/dist/umd/fonts/lato-black.woff2 +0 -0
- package/dist/umd/fonts/lato-bold-italic.woff +0 -0
- package/dist/umd/fonts/lato-bold-italic.woff2 +0 -0
- package/dist/umd/fonts/lato-bold.woff +0 -0
- package/dist/umd/fonts/lato-bold.woff2 +0 -0
- package/dist/umd/fonts/lato-medium-italic.woff +0 -0
- package/dist/umd/fonts/lato-medium-italic.woff2 +0 -0
- package/dist/umd/fonts/lato-medium.woff +0 -0
- package/dist/umd/fonts/lato-medium.woff2 +0 -0
- package/dist/umd/fonts/lato-normal-italic.woff +0 -0
- package/dist/umd/fonts/lato-normal-italic.woff2 +0 -0
- package/dist/umd/fonts/lato-normal.woff +0 -0
- package/dist/umd/fonts/lato-normal.woff2 +0 -0
- package/dist/umd/fonts/lato-semibold-italic.woff +0 -0
- package/dist/umd/fonts/lato-semibold-italic.woff2 +0 -0
- package/dist/umd/fonts/lato-semibold.woff +0 -0
- package/dist/umd/fonts/lato-semibold.woff2 +0 -0
- package/dist/umd/kore-web-sdk-umd-chat.min.js +0 -1
|
@@ -1,112 +1,3274 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
self["webpackHotUpdateaa_sdk"]("KoreAASDK",{
|
|
3
2
|
|
|
4
|
-
/***/ "./
|
|
5
|
-
|
|
6
|
-
!*** ./
|
|
7
|
-
|
|
3
|
+
/***/ "./node_modules/ansi-html-community/index.js":
|
|
4
|
+
/*!***************************************************!*\
|
|
5
|
+
!*** ./node_modules/ansi-html-community/index.js ***!
|
|
6
|
+
\***************************************************/
|
|
7
|
+
/***/ ((module) => {
|
|
8
|
+
|
|
9
|
+
"use strict";
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
module.exports = ansiHTML
|
|
13
|
+
|
|
14
|
+
// Reference to https://github.com/sindresorhus/ansi-regex
|
|
15
|
+
var _regANSI = /(?:(?:\u001b\[)|\u009b)(?:(?:[0-9]{1,3})?(?:(?:;[0-9]{0,3})*)?[A-M|f-m])|\u001b[A-M]/
|
|
16
|
+
|
|
17
|
+
var _defColors = {
|
|
18
|
+
reset: ['fff', '000'], // [FOREGROUD_COLOR, BACKGROUND_COLOR]
|
|
19
|
+
black: '000',
|
|
20
|
+
red: 'ff0000',
|
|
21
|
+
green: '209805',
|
|
22
|
+
yellow: 'e8bf03',
|
|
23
|
+
blue: '0000ff',
|
|
24
|
+
magenta: 'ff00ff',
|
|
25
|
+
cyan: '00ffee',
|
|
26
|
+
lightgrey: 'f0f0f0',
|
|
27
|
+
darkgrey: '888'
|
|
28
|
+
}
|
|
29
|
+
var _styles = {
|
|
30
|
+
30: 'black',
|
|
31
|
+
31: 'red',
|
|
32
|
+
32: 'green',
|
|
33
|
+
33: 'yellow',
|
|
34
|
+
34: 'blue',
|
|
35
|
+
35: 'magenta',
|
|
36
|
+
36: 'cyan',
|
|
37
|
+
37: 'lightgrey'
|
|
38
|
+
}
|
|
39
|
+
var _openTags = {
|
|
40
|
+
'1': 'font-weight:bold', // bold
|
|
41
|
+
'2': 'opacity:0.5', // dim
|
|
42
|
+
'3': '<i>', // italic
|
|
43
|
+
'4': '<u>', // underscore
|
|
44
|
+
'8': 'display:none', // hidden
|
|
45
|
+
'9': '<del>' // delete
|
|
46
|
+
}
|
|
47
|
+
var _closeTags = {
|
|
48
|
+
'23': '</i>', // reset italic
|
|
49
|
+
'24': '</u>', // reset underscore
|
|
50
|
+
'29': '</del>' // reset delete
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
;[0, 21, 22, 27, 28, 39, 49].forEach(function (n) {
|
|
54
|
+
_closeTags[n] = '</span>'
|
|
55
|
+
})
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Converts text with ANSI color codes to HTML markup.
|
|
59
|
+
* @param {String} text
|
|
60
|
+
* @returns {*}
|
|
61
|
+
*/
|
|
62
|
+
function ansiHTML (text) {
|
|
63
|
+
// Returns the text if the string has no ANSI escape code.
|
|
64
|
+
if (!_regANSI.test(text)) {
|
|
65
|
+
return text
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// Cache opened sequence.
|
|
69
|
+
var ansiCodes = []
|
|
70
|
+
// Replace with markup.
|
|
71
|
+
var ret = text.replace(/\033\[(\d+)m/g, function (match, seq) {
|
|
72
|
+
var ot = _openTags[seq]
|
|
73
|
+
if (ot) {
|
|
74
|
+
// If current sequence has been opened, close it.
|
|
75
|
+
if (!!~ansiCodes.indexOf(seq)) { // eslint-disable-line no-extra-boolean-cast
|
|
76
|
+
ansiCodes.pop()
|
|
77
|
+
return '</span>'
|
|
78
|
+
}
|
|
79
|
+
// Open tag.
|
|
80
|
+
ansiCodes.push(seq)
|
|
81
|
+
return ot[0] === '<' ? ot : '<span style="' + ot + ';">'
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
var ct = _closeTags[seq]
|
|
85
|
+
if (ct) {
|
|
86
|
+
// Pop sequence
|
|
87
|
+
ansiCodes.pop()
|
|
88
|
+
return ct
|
|
89
|
+
}
|
|
90
|
+
return ''
|
|
91
|
+
})
|
|
92
|
+
|
|
93
|
+
// Make sure tags are closed.
|
|
94
|
+
var l = ansiCodes.length
|
|
95
|
+
;(l > 0) && (ret += Array(l + 1).join('</span>'))
|
|
96
|
+
|
|
97
|
+
return ret
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Customize colors.
|
|
102
|
+
* @param {Object} colors reference to _defColors
|
|
103
|
+
*/
|
|
104
|
+
ansiHTML.setColors = function (colors) {
|
|
105
|
+
if (typeof colors !== 'object') {
|
|
106
|
+
throw new Error('`colors` parameter must be an Object.')
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
var _finalColors = {}
|
|
110
|
+
for (var key in _defColors) {
|
|
111
|
+
var hex = colors.hasOwnProperty(key) ? colors[key] : null
|
|
112
|
+
if (!hex) {
|
|
113
|
+
_finalColors[key] = _defColors[key]
|
|
114
|
+
continue
|
|
115
|
+
}
|
|
116
|
+
if ('reset' === key) {
|
|
117
|
+
if (typeof hex === 'string') {
|
|
118
|
+
hex = [hex]
|
|
119
|
+
}
|
|
120
|
+
if (!Array.isArray(hex) || hex.length === 0 || hex.some(function (h) {
|
|
121
|
+
return typeof h !== 'string'
|
|
122
|
+
})) {
|
|
123
|
+
throw new Error('The value of `' + key + '` property must be an Array and each item could only be a hex string, e.g.: FF0000')
|
|
124
|
+
}
|
|
125
|
+
var defHexColor = _defColors[key]
|
|
126
|
+
if (!hex[0]) {
|
|
127
|
+
hex[0] = defHexColor[0]
|
|
128
|
+
}
|
|
129
|
+
if (hex.length === 1 || !hex[1]) {
|
|
130
|
+
hex = [hex[0]]
|
|
131
|
+
hex.push(defHexColor[1])
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
hex = hex.slice(0, 2)
|
|
135
|
+
} else if (typeof hex !== 'string') {
|
|
136
|
+
throw new Error('The value of `' + key + '` property must be a hex string, e.g.: FF0000')
|
|
137
|
+
}
|
|
138
|
+
_finalColors[key] = hex
|
|
139
|
+
}
|
|
140
|
+
_setTags(_finalColors)
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Reset colors.
|
|
145
|
+
*/
|
|
146
|
+
ansiHTML.reset = function () {
|
|
147
|
+
_setTags(_defColors)
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Expose tags, including open and close.
|
|
152
|
+
* @type {Object}
|
|
153
|
+
*/
|
|
154
|
+
ansiHTML.tags = {}
|
|
155
|
+
|
|
156
|
+
if (Object.defineProperty) {
|
|
157
|
+
Object.defineProperty(ansiHTML.tags, 'open', {
|
|
158
|
+
get: function () { return _openTags }
|
|
159
|
+
})
|
|
160
|
+
Object.defineProperty(ansiHTML.tags, 'close', {
|
|
161
|
+
get: function () { return _closeTags }
|
|
162
|
+
})
|
|
163
|
+
} else {
|
|
164
|
+
ansiHTML.tags.open = _openTags
|
|
165
|
+
ansiHTML.tags.close = _closeTags
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
function _setTags (colors) {
|
|
169
|
+
// reset all
|
|
170
|
+
_openTags['0'] = 'font-weight:normal;opacity:1;color:#' + colors.reset[0] + ';background:#' + colors.reset[1]
|
|
171
|
+
// inverse
|
|
172
|
+
_openTags['7'] = 'color:#' + colors.reset[1] + ';background:#' + colors.reset[0]
|
|
173
|
+
// dark grey
|
|
174
|
+
_openTags['90'] = 'color:#' + colors.darkgrey
|
|
175
|
+
|
|
176
|
+
for (var code in _styles) {
|
|
177
|
+
var color = _styles[code]
|
|
178
|
+
var oriColor = colors[color] || '000'
|
|
179
|
+
_openTags[code] = 'color:#' + oriColor
|
|
180
|
+
code = parseInt(code)
|
|
181
|
+
_openTags[(code + 10).toString()] = 'background:#' + oriColor
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
ansiHTML.reset()
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
/***/ }),
|
|
189
|
+
|
|
190
|
+
/***/ "./node_modules/events/events.js":
|
|
191
|
+
/*!***************************************!*\
|
|
192
|
+
!*** ./node_modules/events/events.js ***!
|
|
193
|
+
\***************************************/
|
|
194
|
+
/***/ ((module) => {
|
|
195
|
+
|
|
196
|
+
"use strict";
|
|
197
|
+
// Copyright Joyent, Inc. and other Node contributors.
|
|
198
|
+
//
|
|
199
|
+
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
200
|
+
// copy of this software and associated documentation files (the
|
|
201
|
+
// "Software"), to deal in the Software without restriction, including
|
|
202
|
+
// without limitation the rights to use, copy, modify, merge, publish,
|
|
203
|
+
// distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
204
|
+
// persons to whom the Software is furnished to do so, subject to the
|
|
205
|
+
// following conditions:
|
|
206
|
+
//
|
|
207
|
+
// The above copyright notice and this permission notice shall be included
|
|
208
|
+
// in all copies or substantial portions of the Software.
|
|
209
|
+
//
|
|
210
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
211
|
+
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
212
|
+
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
213
|
+
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
214
|
+
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
215
|
+
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
216
|
+
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
var R = typeof Reflect === 'object' ? Reflect : null
|
|
221
|
+
var ReflectApply = R && typeof R.apply === 'function'
|
|
222
|
+
? R.apply
|
|
223
|
+
: function ReflectApply(target, receiver, args) {
|
|
224
|
+
return Function.prototype.apply.call(target, receiver, args);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
var ReflectOwnKeys
|
|
228
|
+
if (R && typeof R.ownKeys === 'function') {
|
|
229
|
+
ReflectOwnKeys = R.ownKeys
|
|
230
|
+
} else if (Object.getOwnPropertySymbols) {
|
|
231
|
+
ReflectOwnKeys = function ReflectOwnKeys(target) {
|
|
232
|
+
return Object.getOwnPropertyNames(target)
|
|
233
|
+
.concat(Object.getOwnPropertySymbols(target));
|
|
234
|
+
};
|
|
235
|
+
} else {
|
|
236
|
+
ReflectOwnKeys = function ReflectOwnKeys(target) {
|
|
237
|
+
return Object.getOwnPropertyNames(target);
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
function ProcessEmitWarning(warning) {
|
|
242
|
+
if (console && console.warn) console.warn(warning);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
var NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {
|
|
246
|
+
return value !== value;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
function EventEmitter() {
|
|
250
|
+
EventEmitter.init.call(this);
|
|
251
|
+
}
|
|
252
|
+
module.exports = EventEmitter;
|
|
253
|
+
module.exports.once = once;
|
|
254
|
+
|
|
255
|
+
// Backwards-compat with node 0.10.x
|
|
256
|
+
EventEmitter.EventEmitter = EventEmitter;
|
|
257
|
+
|
|
258
|
+
EventEmitter.prototype._events = undefined;
|
|
259
|
+
EventEmitter.prototype._eventsCount = 0;
|
|
260
|
+
EventEmitter.prototype._maxListeners = undefined;
|
|
261
|
+
|
|
262
|
+
// By default EventEmitters will print a warning if more than 10 listeners are
|
|
263
|
+
// added to it. This is a useful default which helps finding memory leaks.
|
|
264
|
+
var defaultMaxListeners = 10;
|
|
265
|
+
|
|
266
|
+
function checkListener(listener) {
|
|
267
|
+
if (typeof listener !== 'function') {
|
|
268
|
+
throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof listener);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
Object.defineProperty(EventEmitter, 'defaultMaxListeners', {
|
|
273
|
+
enumerable: true,
|
|
274
|
+
get: function() {
|
|
275
|
+
return defaultMaxListeners;
|
|
276
|
+
},
|
|
277
|
+
set: function(arg) {
|
|
278
|
+
if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {
|
|
279
|
+
throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + arg + '.');
|
|
280
|
+
}
|
|
281
|
+
defaultMaxListeners = arg;
|
|
282
|
+
}
|
|
283
|
+
});
|
|
284
|
+
|
|
285
|
+
EventEmitter.init = function() {
|
|
286
|
+
|
|
287
|
+
if (this._events === undefined ||
|
|
288
|
+
this._events === Object.getPrototypeOf(this)._events) {
|
|
289
|
+
this._events = Object.create(null);
|
|
290
|
+
this._eventsCount = 0;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
this._maxListeners = this._maxListeners || undefined;
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
// Obviously not all Emitters should be limited to 10. This function allows
|
|
297
|
+
// that to be increased. Set to zero for unlimited.
|
|
298
|
+
EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {
|
|
299
|
+
if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {
|
|
300
|
+
throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + n + '.');
|
|
301
|
+
}
|
|
302
|
+
this._maxListeners = n;
|
|
303
|
+
return this;
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
function _getMaxListeners(that) {
|
|
307
|
+
if (that._maxListeners === undefined)
|
|
308
|
+
return EventEmitter.defaultMaxListeners;
|
|
309
|
+
return that._maxListeners;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
EventEmitter.prototype.getMaxListeners = function getMaxListeners() {
|
|
313
|
+
return _getMaxListeners(this);
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
EventEmitter.prototype.emit = function emit(type) {
|
|
317
|
+
var args = [];
|
|
318
|
+
for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);
|
|
319
|
+
var doError = (type === 'error');
|
|
320
|
+
|
|
321
|
+
var events = this._events;
|
|
322
|
+
if (events !== undefined)
|
|
323
|
+
doError = (doError && events.error === undefined);
|
|
324
|
+
else if (!doError)
|
|
325
|
+
return false;
|
|
326
|
+
|
|
327
|
+
// If there is no 'error' event listener then throw.
|
|
328
|
+
if (doError) {
|
|
329
|
+
var er;
|
|
330
|
+
if (args.length > 0)
|
|
331
|
+
er = args[0];
|
|
332
|
+
if (er instanceof Error) {
|
|
333
|
+
// Note: The comments on the `throw` lines are intentional, they show
|
|
334
|
+
// up in Node's output if this results in an unhandled exception.
|
|
335
|
+
throw er; // Unhandled 'error' event
|
|
336
|
+
}
|
|
337
|
+
// At least give some kind of context to the user
|
|
338
|
+
var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));
|
|
339
|
+
err.context = er;
|
|
340
|
+
throw err; // Unhandled 'error' event
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
var handler = events[type];
|
|
344
|
+
|
|
345
|
+
if (handler === undefined)
|
|
346
|
+
return false;
|
|
347
|
+
|
|
348
|
+
if (typeof handler === 'function') {
|
|
349
|
+
ReflectApply(handler, this, args);
|
|
350
|
+
} else {
|
|
351
|
+
var len = handler.length;
|
|
352
|
+
var listeners = arrayClone(handler, len);
|
|
353
|
+
for (var i = 0; i < len; ++i)
|
|
354
|
+
ReflectApply(listeners[i], this, args);
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
return true;
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
function _addListener(target, type, listener, prepend) {
|
|
361
|
+
var m;
|
|
362
|
+
var events;
|
|
363
|
+
var existing;
|
|
364
|
+
|
|
365
|
+
checkListener(listener);
|
|
366
|
+
|
|
367
|
+
events = target._events;
|
|
368
|
+
if (events === undefined) {
|
|
369
|
+
events = target._events = Object.create(null);
|
|
370
|
+
target._eventsCount = 0;
|
|
371
|
+
} else {
|
|
372
|
+
// To avoid recursion in the case that type === "newListener"! Before
|
|
373
|
+
// adding it to the listeners, first emit "newListener".
|
|
374
|
+
if (events.newListener !== undefined) {
|
|
375
|
+
target.emit('newListener', type,
|
|
376
|
+
listener.listener ? listener.listener : listener);
|
|
377
|
+
|
|
378
|
+
// Re-assign `events` because a newListener handler could have caused the
|
|
379
|
+
// this._events to be assigned to a new object
|
|
380
|
+
events = target._events;
|
|
381
|
+
}
|
|
382
|
+
existing = events[type];
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
if (existing === undefined) {
|
|
386
|
+
// Optimize the case of one listener. Don't need the extra array object.
|
|
387
|
+
existing = events[type] = listener;
|
|
388
|
+
++target._eventsCount;
|
|
389
|
+
} else {
|
|
390
|
+
if (typeof existing === 'function') {
|
|
391
|
+
// Adding the second element, need to change to array.
|
|
392
|
+
existing = events[type] =
|
|
393
|
+
prepend ? [listener, existing] : [existing, listener];
|
|
394
|
+
// If we've already got an array, just append.
|
|
395
|
+
} else if (prepend) {
|
|
396
|
+
existing.unshift(listener);
|
|
397
|
+
} else {
|
|
398
|
+
existing.push(listener);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
// Check for listener leak
|
|
402
|
+
m = _getMaxListeners(target);
|
|
403
|
+
if (m > 0 && existing.length > m && !existing.warned) {
|
|
404
|
+
existing.warned = true;
|
|
405
|
+
// No error code for this since it is a Warning
|
|
406
|
+
// eslint-disable-next-line no-restricted-syntax
|
|
407
|
+
var w = new Error('Possible EventEmitter memory leak detected. ' +
|
|
408
|
+
existing.length + ' ' + String(type) + ' listeners ' +
|
|
409
|
+
'added. Use emitter.setMaxListeners() to ' +
|
|
410
|
+
'increase limit');
|
|
411
|
+
w.name = 'MaxListenersExceededWarning';
|
|
412
|
+
w.emitter = target;
|
|
413
|
+
w.type = type;
|
|
414
|
+
w.count = existing.length;
|
|
415
|
+
ProcessEmitWarning(w);
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
return target;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
EventEmitter.prototype.addListener = function addListener(type, listener) {
|
|
423
|
+
return _addListener(this, type, listener, false);
|
|
424
|
+
};
|
|
425
|
+
|
|
426
|
+
EventEmitter.prototype.on = EventEmitter.prototype.addListener;
|
|
427
|
+
|
|
428
|
+
EventEmitter.prototype.prependListener =
|
|
429
|
+
function prependListener(type, listener) {
|
|
430
|
+
return _addListener(this, type, listener, true);
|
|
431
|
+
};
|
|
432
|
+
|
|
433
|
+
function onceWrapper() {
|
|
434
|
+
if (!this.fired) {
|
|
435
|
+
this.target.removeListener(this.type, this.wrapFn);
|
|
436
|
+
this.fired = true;
|
|
437
|
+
if (arguments.length === 0)
|
|
438
|
+
return this.listener.call(this.target);
|
|
439
|
+
return this.listener.apply(this.target, arguments);
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
function _onceWrap(target, type, listener) {
|
|
444
|
+
var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };
|
|
445
|
+
var wrapped = onceWrapper.bind(state);
|
|
446
|
+
wrapped.listener = listener;
|
|
447
|
+
state.wrapFn = wrapped;
|
|
448
|
+
return wrapped;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
EventEmitter.prototype.once = function once(type, listener) {
|
|
452
|
+
checkListener(listener);
|
|
453
|
+
this.on(type, _onceWrap(this, type, listener));
|
|
454
|
+
return this;
|
|
455
|
+
};
|
|
456
|
+
|
|
457
|
+
EventEmitter.prototype.prependOnceListener =
|
|
458
|
+
function prependOnceListener(type, listener) {
|
|
459
|
+
checkListener(listener);
|
|
460
|
+
this.prependListener(type, _onceWrap(this, type, listener));
|
|
461
|
+
return this;
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
// Emits a 'removeListener' event if and only if the listener was removed.
|
|
465
|
+
EventEmitter.prototype.removeListener =
|
|
466
|
+
function removeListener(type, listener) {
|
|
467
|
+
var list, events, position, i, originalListener;
|
|
468
|
+
|
|
469
|
+
checkListener(listener);
|
|
470
|
+
|
|
471
|
+
events = this._events;
|
|
472
|
+
if (events === undefined)
|
|
473
|
+
return this;
|
|
474
|
+
|
|
475
|
+
list = events[type];
|
|
476
|
+
if (list === undefined)
|
|
477
|
+
return this;
|
|
478
|
+
|
|
479
|
+
if (list === listener || list.listener === listener) {
|
|
480
|
+
if (--this._eventsCount === 0)
|
|
481
|
+
this._events = Object.create(null);
|
|
482
|
+
else {
|
|
483
|
+
delete events[type];
|
|
484
|
+
if (events.removeListener)
|
|
485
|
+
this.emit('removeListener', type, list.listener || listener);
|
|
486
|
+
}
|
|
487
|
+
} else if (typeof list !== 'function') {
|
|
488
|
+
position = -1;
|
|
489
|
+
|
|
490
|
+
for (i = list.length - 1; i >= 0; i--) {
|
|
491
|
+
if (list[i] === listener || list[i].listener === listener) {
|
|
492
|
+
originalListener = list[i].listener;
|
|
493
|
+
position = i;
|
|
494
|
+
break;
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
if (position < 0)
|
|
499
|
+
return this;
|
|
500
|
+
|
|
501
|
+
if (position === 0)
|
|
502
|
+
list.shift();
|
|
503
|
+
else {
|
|
504
|
+
spliceOne(list, position);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
if (list.length === 1)
|
|
508
|
+
events[type] = list[0];
|
|
509
|
+
|
|
510
|
+
if (events.removeListener !== undefined)
|
|
511
|
+
this.emit('removeListener', type, originalListener || listener);
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
return this;
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
|
|
518
|
+
|
|
519
|
+
EventEmitter.prototype.removeAllListeners =
|
|
520
|
+
function removeAllListeners(type) {
|
|
521
|
+
var listeners, events, i;
|
|
522
|
+
|
|
523
|
+
events = this._events;
|
|
524
|
+
if (events === undefined)
|
|
525
|
+
return this;
|
|
526
|
+
|
|
527
|
+
// not listening for removeListener, no need to emit
|
|
528
|
+
if (events.removeListener === undefined) {
|
|
529
|
+
if (arguments.length === 0) {
|
|
530
|
+
this._events = Object.create(null);
|
|
531
|
+
this._eventsCount = 0;
|
|
532
|
+
} else if (events[type] !== undefined) {
|
|
533
|
+
if (--this._eventsCount === 0)
|
|
534
|
+
this._events = Object.create(null);
|
|
535
|
+
else
|
|
536
|
+
delete events[type];
|
|
537
|
+
}
|
|
538
|
+
return this;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
// emit removeListener for all listeners on all events
|
|
542
|
+
if (arguments.length === 0) {
|
|
543
|
+
var keys = Object.keys(events);
|
|
544
|
+
var key;
|
|
545
|
+
for (i = 0; i < keys.length; ++i) {
|
|
546
|
+
key = keys[i];
|
|
547
|
+
if (key === 'removeListener') continue;
|
|
548
|
+
this.removeAllListeners(key);
|
|
549
|
+
}
|
|
550
|
+
this.removeAllListeners('removeListener');
|
|
551
|
+
this._events = Object.create(null);
|
|
552
|
+
this._eventsCount = 0;
|
|
553
|
+
return this;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
listeners = events[type];
|
|
557
|
+
|
|
558
|
+
if (typeof listeners === 'function') {
|
|
559
|
+
this.removeListener(type, listeners);
|
|
560
|
+
} else if (listeners !== undefined) {
|
|
561
|
+
// LIFO order
|
|
562
|
+
for (i = listeners.length - 1; i >= 0; i--) {
|
|
563
|
+
this.removeListener(type, listeners[i]);
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
return this;
|
|
568
|
+
};
|
|
569
|
+
|
|
570
|
+
function _listeners(target, type, unwrap) {
|
|
571
|
+
var events = target._events;
|
|
572
|
+
|
|
573
|
+
if (events === undefined)
|
|
574
|
+
return [];
|
|
575
|
+
|
|
576
|
+
var evlistener = events[type];
|
|
577
|
+
if (evlistener === undefined)
|
|
578
|
+
return [];
|
|
579
|
+
|
|
580
|
+
if (typeof evlistener === 'function')
|
|
581
|
+
return unwrap ? [evlistener.listener || evlistener] : [evlistener];
|
|
582
|
+
|
|
583
|
+
return unwrap ?
|
|
584
|
+
unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
EventEmitter.prototype.listeners = function listeners(type) {
|
|
588
|
+
return _listeners(this, type, true);
|
|
589
|
+
};
|
|
590
|
+
|
|
591
|
+
EventEmitter.prototype.rawListeners = function rawListeners(type) {
|
|
592
|
+
return _listeners(this, type, false);
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
EventEmitter.listenerCount = function(emitter, type) {
|
|
596
|
+
if (typeof emitter.listenerCount === 'function') {
|
|
597
|
+
return emitter.listenerCount(type);
|
|
598
|
+
} else {
|
|
599
|
+
return listenerCount.call(emitter, type);
|
|
600
|
+
}
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
EventEmitter.prototype.listenerCount = listenerCount;
|
|
604
|
+
function listenerCount(type) {
|
|
605
|
+
var events = this._events;
|
|
606
|
+
|
|
607
|
+
if (events !== undefined) {
|
|
608
|
+
var evlistener = events[type];
|
|
609
|
+
|
|
610
|
+
if (typeof evlistener === 'function') {
|
|
611
|
+
return 1;
|
|
612
|
+
} else if (evlistener !== undefined) {
|
|
613
|
+
return evlistener.length;
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
return 0;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
EventEmitter.prototype.eventNames = function eventNames() {
|
|
621
|
+
return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];
|
|
622
|
+
};
|
|
623
|
+
|
|
624
|
+
function arrayClone(arr, n) {
|
|
625
|
+
var copy = new Array(n);
|
|
626
|
+
for (var i = 0; i < n; ++i)
|
|
627
|
+
copy[i] = arr[i];
|
|
628
|
+
return copy;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
function spliceOne(list, index) {
|
|
632
|
+
for (; index + 1 < list.length; index++)
|
|
633
|
+
list[index] = list[index + 1];
|
|
634
|
+
list.pop();
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
function unwrapListeners(arr) {
|
|
638
|
+
var ret = new Array(arr.length);
|
|
639
|
+
for (var i = 0; i < ret.length; ++i) {
|
|
640
|
+
ret[i] = arr[i].listener || arr[i];
|
|
641
|
+
}
|
|
642
|
+
return ret;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
function once(emitter, name) {
|
|
646
|
+
return new Promise(function (resolve, reject) {
|
|
647
|
+
function errorListener(err) {
|
|
648
|
+
emitter.removeListener(name, resolver);
|
|
649
|
+
reject(err);
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
function resolver() {
|
|
653
|
+
if (typeof emitter.removeListener === 'function') {
|
|
654
|
+
emitter.removeListener('error', errorListener);
|
|
655
|
+
}
|
|
656
|
+
resolve([].slice.call(arguments));
|
|
657
|
+
};
|
|
658
|
+
|
|
659
|
+
eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });
|
|
660
|
+
if (name !== 'error') {
|
|
661
|
+
addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });
|
|
662
|
+
}
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
function addErrorHandlerIfEventEmitter(emitter, handler, flags) {
|
|
667
|
+
if (typeof emitter.on === 'function') {
|
|
668
|
+
eventTargetAgnosticAddListener(emitter, 'error', handler, flags);
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
function eventTargetAgnosticAddListener(emitter, name, listener, flags) {
|
|
673
|
+
if (typeof emitter.on === 'function') {
|
|
674
|
+
if (flags.once) {
|
|
675
|
+
emitter.once(name, listener);
|
|
676
|
+
} else {
|
|
677
|
+
emitter.on(name, listener);
|
|
678
|
+
}
|
|
679
|
+
} else if (typeof emitter.addEventListener === 'function') {
|
|
680
|
+
// EventTarget does not have `error` event semantics like Node
|
|
681
|
+
// EventEmitters, we do not listen for `error` events here.
|
|
682
|
+
emitter.addEventListener(name, function wrapListener(arg) {
|
|
683
|
+
// IE does not have builtin `{ once: true }` support so we
|
|
684
|
+
// have to do it manually.
|
|
685
|
+
if (flags.once) {
|
|
686
|
+
emitter.removeEventListener(name, wrapListener);
|
|
687
|
+
}
|
|
688
|
+
listener(arg);
|
|
689
|
+
});
|
|
690
|
+
} else {
|
|
691
|
+
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof emitter);
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
/***/ }),
|
|
697
|
+
|
|
698
|
+
/***/ "./node_modules/html-entities/lib/index.js":
|
|
699
|
+
/*!*************************************************!*\
|
|
700
|
+
!*** ./node_modules/html-entities/lib/index.js ***!
|
|
701
|
+
\*************************************************/
|
|
702
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
703
|
+
|
|
704
|
+
"use strict";
|
|
705
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))t[p]=s[p]}return t};return __assign.apply(this,arguments)};Object.defineProperty(exports, "__esModule", ({value:true}));var named_references_1=__webpack_require__(/*! ./named-references */ "./node_modules/html-entities/lib/named-references.js");var numeric_unicode_map_1=__webpack_require__(/*! ./numeric-unicode-map */ "./node_modules/html-entities/lib/numeric-unicode-map.js");var surrogate_pairs_1=__webpack_require__(/*! ./surrogate-pairs */ "./node_modules/html-entities/lib/surrogate-pairs.js");var allNamedReferences=__assign(__assign({},named_references_1.namedReferences),{all:named_references_1.namedReferences.html5});function replaceUsingRegExp(macroText,macroRegExp,macroReplacer){macroRegExp.lastIndex=0;var replaceMatch=macroRegExp.exec(macroText);var replaceResult;if(replaceMatch){replaceResult="";var replaceLastIndex=0;do{if(replaceLastIndex!==replaceMatch.index){replaceResult+=macroText.substring(replaceLastIndex,replaceMatch.index)}var replaceInput=replaceMatch[0];replaceResult+=macroReplacer(replaceInput);replaceLastIndex=replaceMatch.index+replaceInput.length}while(replaceMatch=macroRegExp.exec(macroText));if(replaceLastIndex!==macroText.length){replaceResult+=macroText.substring(replaceLastIndex)}}else{replaceResult=macroText}return replaceResult}var encodeRegExps={specialChars:/[<>'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g};var defaultEncodeOptions={mode:"specialChars",level:"all",numeric:"decimal"};function encode(text,_a){var _b=_a===void 0?defaultEncodeOptions:_a,_c=_b.mode,mode=_c===void 0?"specialChars":_c,_d=_b.numeric,numeric=_d===void 0?"decimal":_d,_e=_b.level,level=_e===void 0?"all":_e;if(!text){return""}var encodeRegExp=encodeRegExps[mode];var references=allNamedReferences[level].characters;var isHex=numeric==="hexadecimal";return replaceUsingRegExp(text,encodeRegExp,(function(input){var result=references[input];if(!result){var code=input.length>1?surrogate_pairs_1.getCodePoint(input,0):input.charCodeAt(0);result=(isHex?"&#x"+code.toString(16):"&#"+code)+";"}return result}))}exports.encode=encode;var defaultDecodeOptions={scope:"body",level:"all"};var strict=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g;var attribute=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g;var baseDecodeRegExps={xml:{strict:strict,attribute:attribute,body:named_references_1.bodyRegExps.xml},html4:{strict:strict,attribute:attribute,body:named_references_1.bodyRegExps.html4},html5:{strict:strict,attribute:attribute,body:named_references_1.bodyRegExps.html5}};var decodeRegExps=__assign(__assign({},baseDecodeRegExps),{all:baseDecodeRegExps.html5});var fromCharCode=String.fromCharCode;var outOfBoundsChar=fromCharCode(65533);var defaultDecodeEntityOptions={level:"all"};function getDecodedEntity(entity,references,isAttribute,isStrict){var decodeResult=entity;var decodeEntityLastChar=entity[entity.length-1];if(isAttribute&&decodeEntityLastChar==="="){decodeResult=entity}else if(isStrict&&decodeEntityLastChar!==";"){decodeResult=entity}else{var decodeResultByReference=references[entity];if(decodeResultByReference){decodeResult=decodeResultByReference}else if(entity[0]==="&"&&entity[1]==="#"){var decodeSecondChar=entity[2];var decodeCode=decodeSecondChar=="x"||decodeSecondChar=="X"?parseInt(entity.substr(3),16):parseInt(entity.substr(2));decodeResult=decodeCode>=1114111?outOfBoundsChar:decodeCode>65535?surrogate_pairs_1.fromCodePoint(decodeCode):fromCharCode(numeric_unicode_map_1.numericUnicodeMap[decodeCode]||decodeCode)}}return decodeResult}function decodeEntity(entity,_a){var _b=(_a===void 0?defaultDecodeEntityOptions:_a).level,level=_b===void 0?"all":_b;if(!entity){return""}return getDecodedEntity(entity,allNamedReferences[level].entities,false,false)}exports.decodeEntity=decodeEntity;function decode(text,_a){var _b=_a===void 0?defaultDecodeOptions:_a,_c=_b.level,level=_c===void 0?"all":_c,_d=_b.scope,scope=_d===void 0?level==="xml"?"strict":"body":_d;if(!text){return""}var decodeRegExp=decodeRegExps[level][scope];var references=allNamedReferences[level].entities;var isAttribute=scope==="attribute";var isStrict=scope==="strict";return replaceUsingRegExp(text,decodeRegExp,(function(entity){return getDecodedEntity(entity,references,isAttribute,isStrict)}))}exports.decode=decode;
|
|
706
|
+
//# sourceMappingURL=./index.js.map
|
|
707
|
+
|
|
708
|
+
/***/ }),
|
|
709
|
+
|
|
710
|
+
/***/ "./node_modules/html-entities/lib/named-references.js":
|
|
711
|
+
/*!************************************************************!*\
|
|
712
|
+
!*** ./node_modules/html-entities/lib/named-references.js ***!
|
|
713
|
+
\************************************************************/
|
|
714
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
715
|
+
|
|
716
|
+
"use strict";
|
|
717
|
+
Object.defineProperty(exports, "__esModule", ({value:true}));exports.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/∉|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/·|℗|⋇|⪧|⩺|⋗|⦕|⩼|⪆|⥸|⋗|⋛|⪌|≷|≳|⪦|⩹|⋖|⋋|⋉|⥶|⩻|⦖|◃|⊴|◂|∉|⋹̸|⋵̸|∉|⋷|⋶|∌|∌|⋾|⋽|∥|⊠|⨱|⨰|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g};exports.namedReferences={xml:{entities:{"<":"<",">":">",""":'"',"'":"'","&":"&"},characters:{"<":"<",">":">",'"':""","'":"'","&":"&"}},html4:{entities:{"'":"'"," ":" "," ":" ","¡":"¡","¡":"¡","¢":"¢","¢":"¢","£":"£","£":"£","¤":"¤","¤":"¤","¥":"¥","¥":"¥","¦":"¦","¦":"¦","§":"§","§":"§","¨":"¨","¨":"¨","©":"©","©":"©","ª":"ª","ª":"ª","«":"«","«":"«","¬":"¬","¬":"¬","­":"","­":"","®":"®","®":"®","¯":"¯","¯":"¯","°":"°","°":"°","±":"±","±":"±","²":"²","²":"²","³":"³","³":"³","´":"´","´":"´","µ":"µ","µ":"µ","¶":"¶","¶":"¶","·":"·","·":"·","¸":"¸","¸":"¸","¹":"¹","¹":"¹","º":"º","º":"º","»":"»","»":"»","¼":"¼","¼":"¼","½":"½","½":"½","¾":"¾","¾":"¾","¿":"¿","¿":"¿","À":"À","À":"À","Á":"Á","Á":"Á","Â":"Â","Â":"Â","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","Å":"Å","Å":"Å","Æ":"Æ","Æ":"Æ","Ç":"Ç","Ç":"Ç","È":"È","È":"È","É":"É","É":"É","Ê":"Ê","Ê":"Ê","Ë":"Ë","Ë":"Ë","Ì":"Ì","Ì":"Ì","Í":"Í","Í":"Í","Î":"Î","Î":"Î","Ï":"Ï","Ï":"Ï","Ð":"Ð","Ð":"Ð","Ñ":"Ñ","Ñ":"Ñ","Ò":"Ò","Ò":"Ò","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","Õ":"Õ","Õ":"Õ","Ö":"Ö","Ö":"Ö","×":"×","×":"×","Ø":"Ø","Ø":"Ø","Ù":"Ù","Ù":"Ù","Ú":"Ú","Ú":"Ú","Û":"Û","Û":"Û","Ü":"Ü","Ü":"Ü","Ý":"Ý","Ý":"Ý","Þ":"Þ","Þ":"Þ","ß":"ß","ß":"ß","à":"à","à":"à","á":"á","á":"á","â":"â","â":"â","ã":"ã","ã":"ã","ä":"ä","ä":"ä","å":"å","å":"å","æ":"æ","æ":"æ","ç":"ç","ç":"ç","è":"è","è":"è","é":"é","é":"é","ê":"ê","ê":"ê","ë":"ë","ë":"ë","ì":"ì","ì":"ì","í":"í","í":"í","î":"î","î":"î","ï":"ï","ï":"ï","ð":"ð","ð":"ð","ñ":"ñ","ñ":"ñ","ò":"ò","ò":"ò","ó":"ó","ó":"ó","ô":"ô","ô":"ô","õ":"õ","õ":"õ","ö":"ö","ö":"ö","÷":"÷","÷":"÷","ø":"ø","ø":"ø","ù":"ù","ù":"ù","ú":"ú","ú":"ú","û":"û","û":"û","ü":"ü","ü":"ü","ý":"ý","ý":"ý","þ":"þ","þ":"þ","ÿ":"ÿ","ÿ":"ÿ",""":'"',""":'"',"&":"&","&":"&","<":"<","<":"<",">":">",">":">","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","‌":"","‍":"","‎":"","‏":"","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€","ƒ":"ƒ","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","ς":"ς","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","ϑ":"ϑ","ϒ":"ϒ","ϖ":"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","™":"™","ℵ":"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","⟨":"〈","⟩":"〉","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"},characters:{"'":"'"," ":" ","¡":"¡","¢":"¢","£":"£","¤":"¤","¥":"¥","¦":"¦","§":"§","¨":"¨","©":"©","ª":"ª","«":"«","¬":"¬","":"­","®":"®","¯":"¯","°":"°","±":"±","²":"²","³":"³","´":"´","µ":"µ","¶":"¶","·":"·","¸":"¸","¹":"¹","º":"º","»":"»","¼":"¼","½":"½","¾":"¾","¿":"¿","À":"À","Á":"Á","Â":"Â","Ã":"Ã","Ä":"Ä","Å":"Å","Æ":"Æ","Ç":"Ç","È":"È","É":"É","Ê":"Ê","Ë":"Ë","Ì":"Ì","Í":"Í","Î":"Î","Ï":"Ï","Ð":"Ð","Ñ":"Ñ","Ò":"Ò","Ó":"Ó","Ô":"Ô","Õ":"Õ","Ö":"Ö","×":"×","Ø":"Ø","Ù":"Ù","Ú":"Ú","Û":"Û","Ü":"Ü","Ý":"Ý","Þ":"Þ","ß":"ß","à":"à","á":"á","â":"â","ã":"ã","ä":"ä","å":"å","æ":"æ","ç":"ç","è":"è","é":"é","ê":"ê","ë":"ë","ì":"ì","í":"í","î":"î","ï":"ï","ð":"ð","ñ":"ñ","ò":"ò","ó":"ó","ô":"ô","õ":"õ","ö":"ö","÷":"÷","ø":"ø","ù":"ù","ú":"ú","û":"û","ü":"ü","ý":"ý","þ":"þ","ÿ":"ÿ",'"':""","&":"&","<":"<",">":">","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","":"‌","":"‍","":"‎","":"‏","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€","ƒ":"ƒ","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","ς":"ς","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","ϑ":"ϑ","ϒ":"ϒ","ϖ":"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","™":"™","ℵ":"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","〈":"⟨","〉":"⟩","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"}},html5:{entities:{"Æ":"Æ","Æ":"Æ","&":"&","&":"&","Á":"Á","Á":"Á","Ă":"Ă","Â":"Â","Â":"Â","А":"А","𝔄":"𝔄","À":"À","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","⁡":"","Å":"Å","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","ℬ":"ℬ","≎":"≎","Ч":"Ч","©":"©","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","ℭ":"ℭ","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","ⅅ":"ⅅ","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","∯":"∯","¨":"¨","⇓":"⇓","⇐":"⇐","⇔":"⇔","⫤":"⫤","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","⇓":"⇓","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","Ð":"Ð","É":"É","É":"É","Ě":"Ě","Ê":"Ê","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","ℱ":"ℱ","Ѓ":"Ѓ",">":">",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","ℋ":"ℋ","Ħ":"Ħ","≎":"≎","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Í":"Í","Î":"Î","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ì":"Ì","ℑ":"ℑ","Ī":"Ī","ⅈ":"ⅈ","⇒":"⇒","∬":"∬","∫":"∫","⋂":"⋂","⁣":"","⁢":"","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⇐":"⇐","⇔":"⇔","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","⟸":"⟸","⟺":"⟺","⟹":"⟹","𝕃":"𝕃","↙":"↙","↘":"↘","ℒ":"ℒ","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","ℳ":"ℳ","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","​":"","​":"","​":"","​":"","≫":"≫","≪":"≪","
":"\n","𝔑":"𝔑","⁠":""," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Ø":"Ø","Õ":"Õ","Õ":"Õ","⨷":"⨷","Ö":"Ö","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℌ":"ℌ","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∷":"∷","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",""":'"',""":'"',"𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","ℜ":"ℜ","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","⇒":"⇒","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↓":"↓","←":"←","→":"→","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∋":"∋","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","⋑":"⋑","Þ":"Þ","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц","	":"\t","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":" "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ù":"Ù","Ū":"Ū","_":"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","↑":"↑","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","⇑":"⇑","⇕":"⇕","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","​":"","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"","𝔞":"𝔞","à":"à","à":"à","ℵ":"ℵ","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","&":"&","&":"&","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∠":"∠","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","Å":"Å","⍼":"⍼","ą":"ą","𝕒":"𝕒","≈":"≈","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","≈":"≈","≊":"≊","å":"å","å":"å","𝒶":"𝒶","*":"*","≈":"≈","≍":"≍","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"∳","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⌅":"⌅","⎵":"⎵","⎶":"⎶","≌":"≌","б":"б","„":"„","∵":"∵","∵":"∵","⦰":"⦰","϶":"϶","ℬ":"ℬ","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","⋂":"⋂","◯":"◯","⋃":"⋃","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⋁":"⋁","⋀":"⋀","⤍":"⤍","⧫":"⧫","▪":"▪","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⊥":"⊥","⊥":"⊥","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","─":"─","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","‵":"‵","˘":"˘","¦":"¦","¦":"¦","𝒷":"𝒷","⁏":"⁏","∽":"∽","⋍":"⋍","\":"\\","⧅":"⧅","⟈":"⟈","•":"•","•":"•","≎":"≎","⪮":"⪮","≏":"≏","≏":"≏","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","ˇ":"ˇ","⩍":"⩍","č":"č","ç":"ç","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"𝔠","ч":"ч","✓":"✓","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","®":"®","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","≗":"≗","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣","♣":"♣",":":":","≔":"≔","≔":"≔",",":",","@":"@","∁":"∁","∘":"∘","∁":"∁","ℂ":"ℂ","≅":"≅","⩭":"⩭","∮":"∮","𝕔":"𝕔","∐":"∐","©":"©","©":"©","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋞":"⋞","⋟":"⋟","⋎":"⋎","⋏":"⋏","¤":"¤","¤":"¤","↶":"↶","↷":"↷","⋎":"⋎","⋏":"⋏","∲":"∲","∱":"∱","⌭":"⌭","⇓":"⇓","⥥":"⥥","†":"†","ℸ":"ℸ","↓":"↓","‐":"‐","⊣":"⊣","⤏":"⤏","˝":"˝","ď":"ď","д":"д","ⅆ":"ⅆ","‡":"‡","⇊":"⇊","⩷":"⩷","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","⇃":"⇃","⇂":"⇂","⋄":"⋄","⋄":"⋄","♦":"♦","♦":"♦","¨":"¨","ϝ":"ϝ","⋲":"⋲","÷":"÷","÷":"÷","÷":"÷","⋇":"⋇","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍","$":"$","𝕕":"𝕕","˙":"˙","≐":"≐","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌆":"⌆","↓":"↓","⇊":"⇊","⇃":"⇃","⇂":"⇂","⤐":"⤐","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","▾":"▾","⇵":"⇵","⥯":"⥯","⦦":"⦦","џ":"џ","⟿":"⟿","⩷":"⩷","≑":"≑","é":"é","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","ê":"ê","≕":"≕","э":"э","ė":"ė","ⅇ":"ⅇ","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅","∅":"∅","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"≖","≕":"≕","≂":"≂","⪖":"⪖","⪕":"⪕","=":"=","≟":"≟","≡":"≡","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","≐":"≐","≂":"≂","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"€","!":"!","∃":"∃","ℰ":"ℰ","ⅇ":"ⅇ","≒":"≒","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi","fj":"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","∀":"∀","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","½":"½","⅓":"⅓","¼":"¼","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","≧":"≧","⪌":"⪌","ǵ":"ǵ","γ":"γ","ϝ":"ϝ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","≥":"≥","⋛":"⋛","≥":"≥","≧":"≧","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","≫":"≫","⋙":"⋙","ℷ":"ℷ","ѓ":"ѓ","≷":"≷","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪊":"⪊","⪈":"⪈","⪈":"⪈","≩":"≩","⋧":"⋧","𝕘":"𝕘","`":"`","ℊ":"ℊ","≳":"≳","⪎":"⪎","⪐":"⪐",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⪆":"⪆","⥸":"⥸","⋗":"⋗","⋛":"⋛","⪌":"⪌","≷":"≷","≳":"≳","≩︀":"≩︀","≩︀":"≩︀","⇔":"⇔"," ":" ","½":"½","ℋ":"ℋ","ъ":"ъ","↔":"↔","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ℏ":"ℏ","ħ":"ħ","⁃":"⁃","‐":"‐","í":"í","í":"í","⁣":"","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"⇔","𝔦":"𝔦","ì":"ì","ì":"ì","ⅈ":"ⅈ","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ℑ":"ℑ","ℐ":"ℐ","ℑ":"ℑ","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","∈":"∈","℅":"℅","∞":"∞","⧝":"⧝","ı":"ı","∫":"∫","⊺":"⊺","ℤ":"ℤ","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"𝒾","∈":"∈","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","∈":"∈","⁢":"","ĩ":"ĩ","і":"і","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⇚":"⇚","⇐":"⇐","⤛":"⤛","⤎":"⤎","≦":"≦","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"ℒ","λ":"λ","⟨":"⟨","⦑":"⦑","⟨":"⟨","⪅":"⪅","«":"«","«":"«","←":"←","⇤":"⇤","⤟":"⤟","⤝":"⤝","↩":"↩","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","⌈":"⌈","{":"{","л":"л","⤶":"⤶","“":"“","„":"„","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","←":"←","↢":"↢","↽":"↽","↼":"↼","⇇":"⇇","↔":"↔","⇆":"⇆","⇋":"⇋","↭":"↭","⋋":"⋋","⋚":"⋚","≤":"≤","≦":"≦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⪅":"⪅","⋖":"⋖","⋚":"⋚","⪋":"⪋","≶":"≶","≲":"≲","⥼":"⥼","⌊":"⌊","𝔩":"𝔩","≶":"≶","⪑":"⪑","↽":"↽","↼":"↼","⥪":"⥪","▄":"▄","љ":"љ","≪":"≪","⇇":"⇇","⌞":"⌞","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","⎰":"⎰","≨":"≨","⪉":"⪉","⪉":"⪉","⪇":"⪇","⪇":"⪇","≨":"≨","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟦":"⟦","⟵":"⟵","⟷":"⟷","⟼":"⟼","⟶":"⟶","↫":"↫","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","_":"_","◊":"◊","◊":"◊","⧫":"⧫","(":"(","⦓":"⦓","⇆":"⇆","⌟":"⌟","⇋":"⇋","⥭":"⥭","‎":"","⊿":"⊿","‹":"‹","𝓁":"𝓁","↰":"↰","≲":"≲","⪍":"⪍","⪏":"⪏","[":"[","‘":"‘","‚":"‚","ł":"ł","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"⋖","⋋":"⋋","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⊴":"⊴","◂":"◂","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","≨︀":"≨︀","∺":"∺","¯":"¯","¯":"¯","♂":"♂","✠":"✠","✠":"✠","↦":"↦","↦":"↦","↧":"↧","↤":"↤","↥":"↥","▮":"▮","⨩":"⨩","м":"м","—":"—","∡":"∡","𝔪":"𝔪","℧":"℧","µ":"µ","µ":"µ","∣":"∣","*":"*","⫰":"⫰","·":"·","·":"·","−":"−","⊟":"⊟","∸":"∸","⨪":"⨪","⫛":"⫛","…":"…","∓":"∓","⊧":"⊧","𝕞":"𝕞","∓":"∓","𝓂":"𝓂","∾":"∾","μ":"μ","⊸":"⊸","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","≫̸":"≫̸","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","≪̸":"≪̸","⇏":"⇏","⊯":"⊯","⊮":"⊮","∇":"∇","ń":"ń","∠⃒":"∠⃒","≉":"≉","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","≉":"≉","♮":"♮","♮":"♮","ℕ":"ℕ"," ":" "," ":" ","≎̸":"≎̸","≏̸":"≏̸","⩃":"⩃","ň":"ň","ņ":"ņ","≇":"≇","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","≠":"≠","⇗":"⇗","⤤":"⤤","↗":"↗","↗":"↗","≐̸":"≐̸","≢":"≢","⤨":"⤨","≂̸":"≂̸","∄":"∄","∄":"∄","𝔫":"𝔫","≧̸":"≧̸","≱":"≱","≱":"≱","≧̸":"≧̸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"≵","≯":"≯","≯":"≯","⇎":"⇎","↮":"↮","⫲":"⫲","∋":"∋","⋼":"⋼","⋺":"⋺","∋":"∋","њ":"њ","⇍":"⇍","≦̸":"≦̸","↚":"↚","‥":"‥","≰":"≰","↚":"↚","↮":"↮","≰":"≰","≦̸":"≦̸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"≮","≴":"≴","≮":"≮","⋪":"⋪","⋬":"⋬","∤":"∤","𝕟":"𝕟","¬":"¬","¬":"¬","∉":"∉","⋹̸":"⋹̸","⋵̸":"⋵̸","∉":"∉","⋷":"⋷","⋶":"⋶","∌":"∌","∌":"∌","⋾":"⋾","⋽":"⋽","∦":"∦","∦":"∦","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","⊀":"⊀","⋠":"⋠","⪯̸":"⪯̸","⊀":"⊀","⪯̸":"⪯̸","⇏":"⇏","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","↛":"↛","⋫":"⋫","⋭":"⋭","⊁":"⊁","⋡":"⋡","⪰̸":"⪰̸","𝓃":"𝓃","∤":"∤","∦":"∦","≁":"≁","≄":"≄","≄":"≄","∤":"∤","∦":"∦","⋢":"⋢","⋣":"⋣","⊄":"⊄","⫅̸":"⫅̸","⊈":"⊈","⊂⃒":"⊂⃒","⊈":"⊈","⫅̸":"⫅̸","⊁":"⊁","⪰̸":"⪰̸","⊅":"⊅","⫆̸":"⫆̸","⊉":"⊉","⊃⃒":"⊃⃒","⊉":"⊉","⫆̸":"⫆̸","≹":"≹","ñ":"ñ","ñ":"ñ","≸":"≸","⋪":"⋪","⋬":"⋬","⋫":"⋫","⋭":"⋭","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","↖":"↖","↖":"↖","⤧":"⤧","Ⓢ":"Ⓢ","ó":"ó","ó":"ó","⊛":"⊛","⊚":"⊚","ô":"ô","ô":"ô","о":"о","⊝":"⊝","ő":"ő","⨸":"⨸","⊙":"⊙","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","ò":"ò","⧁":"⧁","⦵":"⦵","Ω":"Ω","∮":"∮","↺":"↺","⦾":"⦾","⦻":"⦻","‾":"‾","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","⊖":"⊖","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","⊕":"⊕","∨":"∨","↻":"↻","⩝":"⩝","ℴ":"ℴ","ℴ":"ℴ","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ℴ":"ℴ","ø":"ø","ø":"ø","⊘":"⊘","õ":"õ","õ":"õ","⊗":"⊗","⨶":"⨶","ö":"ö","ö":"ö","⌽":"⌽","∥":"∥","¶":"¶","¶":"¶","∥":"∥","⫳":"⫳","⫽":"⫽","∂":"∂","п":"п","%":"%",".":".","‰":"‰","⊥":"⊥","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","ℳ":"ℳ","☎":"☎","π":"π","⋔":"⋔","ϖ":"ϖ","ℏ":"ℏ","ℎ":"ℎ","ℏ":"ℏ","+":"+","⨣":"⨣","⊞":"⊞","⨢":"⨢","∔":"∔","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"⨕","𝕡":"𝕡","£":"£","£":"£","≺":"≺","⪳":"⪳","⪷":"⪷","≼":"≼","⪯":"⪯","≺":"≺","⪷":"⪷","≼":"≼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"⋨","≾":"≾","′":"′","ℙ":"ℙ","⪵":"⪵","⪹":"⪹","⋨":"⋨","∏":"∏","⌮":"⌮","⌒":"⌒","⌓":"⌓","∝":"∝","∝":"∝","≾":"≾","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","⨌":"⨌","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","ℍ":"ℍ","⨖":"⨖","?":"?","≟":"≟",""":'"',""":'"',"⇛":"⇛","⇒":"⇒","⤜":"⤜","⤏":"⤏","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","√":"√","⦳":"⦳","⟩":"⟩","⦒":"⦒","⦥":"⦥","⟩":"⟩","»":"»","»":"»","→":"→","⥵":"⥵","⇥":"⇥","⤠":"⤠","⤳":"⤳","⤞":"⤞","↪":"↪","↬":"↬","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","ℚ":"ℚ","⤍":"⤍","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","⌉":"⌉","}":"}","р":"р","⤷":"⤷","⥩":"⥩","”":"”","”":"”","↳":"↳","ℜ":"ℜ","ℛ":"ℛ","ℜ":"ℜ","ℝ":"ℝ","▭":"▭","®":"®","®":"®","⥽":"⥽","⌋":"⌋","𝔯":"𝔯","⇁":"⇁","⇀":"⇀","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","→":"→","↣":"↣","⇁":"⇁","⇀":"⇀","⇄":"⇄","⇌":"⇌","⇉":"⇉","↝":"↝","⋌":"⋌","˚":"˚","≓":"≓","⇄":"⇄","⇌":"⇌","‏":"","⎱":"⎱","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⟧":"⟧","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","⇉":"⇉","›":"›","𝓇":"𝓇","↱":"↱","]":"]","’":"’","’":"’","⋌":"⋌","⋊":"⋊","▹":"▹","⊵":"⊵","▸":"▸","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","‚":"‚","≻":"≻","⪴":"⪴","⪸":"⪸","š":"š","≽":"≽","⪰":"⪰","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","≿":"≿","с":"с","⋅":"⋅","⊡":"⊡","⩦":"⩦","⇘":"⇘","⤥":"⤥","↘":"↘","↘":"↘","§":"§","§":"§",";":";","⤩":"⤩","∖":"∖","∖":"∖","✶":"✶","𝔰":"𝔰","⌢":"⌢","♯":"♯","щ":"щ","ш":"ш","∣":"∣","∥":"∥","­":"","­":"","σ":"σ","ς":"ς","ς":"ς","∼":"∼","⩪":"⩪","≃":"≃","≃":"≃","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","←":"←","∖":"∖","⨳":"⨳","⧤":"⧤","∣":"∣","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","♠":"♠","∥":"∥","⊓":"⊓","⊓︀":"⊓︀","⊔":"⊔","⊔︀":"⊔︀","⊏":"⊏","⊑":"⊑","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊐":"⊐","⊒":"⊒","□":"□","□":"□","▪":"▪","▪":"▪","→":"→","𝓈":"𝓈","∖":"∖","⌣":"⌣","⋆":"⋆","☆":"☆","★":"★","ϵ":"ϵ","ϕ":"ϕ","¯":"¯","⊂":"⊂","⫅":"⫅","⪽":"⪽","⊆":"⊆","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⊂":"⊂","⊆":"⊆","⫅":"⫅","⊊":"⊊","⫋":"⫋","⫇":"⫇","⫕":"⫕","⫓":"⫓","≻":"≻","⪸":"⪸","≽":"≽","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"⋩","≿":"≿","∑":"∑","♪":"♪","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"⊃","⫆":"⫆","⪾":"⪾","⫘":"⫘","⊇":"⊇","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⊃":"⊃","⊇":"⊇","⫆":"⫆","⊋":"⊋","⫌":"⫌","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤦":"⤦","↙":"↙","↙":"↙","⤪":"⤪","ß":"ß","ß":"ß","⌖":"⌖","τ":"τ","⎴":"⎴","ť":"ť","ţ":"ţ","т":"т","⃛":"⃛","⌕":"⌕","𝔱":"𝔱","∴":"∴","∴":"∴","θ":"θ","ϑ":"ϑ","ϑ":"ϑ","≈":"≈","∼":"∼"," ":" ","≈":"≈","∼":"∼","þ":"þ","þ":"þ","˜":"˜","×":"×","×":"×","⊠":"⊠","⨱":"⨱","⨰":"⨰","∭":"∭","⤨":"⤨","⊤":"⊤","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","⤩":"⤩","‴":"‴","™":"™","▵":"▵","▿":"▿","◃":"◃","⊴":"⊴","≜":"≜","▹":"▹","⊵":"⊵","◬":"◬","≜":"≜","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","≬":"≬","↞":"↞","↠":"↠","⇑":"⇑","⥣":"⥣","ú":"ú","ú":"ú","↑":"↑","ў":"ў","ŭ":"ŭ","û":"û","û":"û","у":"у","⇅":"⇅","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"𝔲","ù":"ù","ù":"ù","↿":"↿","↾":"↾","▀":"▀","⌜":"⌜","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","¨":"¨","¨":"¨","ų":"ų","𝕦":"𝕦","↑":"↑","↕":"↕","↿":"↿","↾":"↾","⊎":"⊎","υ":"υ","ϒ":"ϒ","υ":"υ","⇈":"⇈","⌝":"⌝","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","▵":"▵","▴":"▴","⇈":"⇈","ü":"ü","ü":"ü","⦧":"⦧","⇕":"⇕","⫨":"⫨","⫩":"⫩","⊨":"⊨","⦜":"⦜","ϵ":"ϵ","ϰ":"ϰ","∅":"∅","ϕ":"ϕ","ϖ":"ϖ","∝":"∝","↕":"↕","ϱ":"ϱ","ς":"ς","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","ϑ":"ϑ","⊲":"⊲","⊳":"⊳","в":"в","⊢":"⊢","∨":"∨","⊻":"⊻","≚":"≚","⋮":"⋮","|":"|","|":"|","𝔳":"𝔳","⊲":"⊲","⊂⃒":"⊂⃒","⊃⃒":"⊃⃒","𝕧":"𝕧","∝":"∝","⊳":"⊳","𝓋":"𝓋","⫋︀":"⫋︀","⊊︀":"⊊︀","⫌︀":"⫌︀","⊋︀":"⊋︀","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","∧":"∧","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","℘":"℘","≀":"≀","≀":"≀","𝓌":"𝓌","⋂":"⋂","◯":"◯","⋃":"⋃","▽":"▽","𝔵":"𝔵","⟺":"⟺","⟷":"⟷","ξ":"ξ","⟸":"⟸","⟵":"⟵","⟼":"⟼","⋻":"⋻","⨀":"⨀","𝕩":"𝕩","⨁":"⨁","⨂":"⨂","⟹":"⟹","⟶":"⟶","𝓍":"𝓍","⨆":"⨆","⨄":"⨄","△":"△","⋁":"⋁","⋀":"⋀","ý":"ý","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"ℨ","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"","‌":""},characters:{"Æ":"Æ","&":"&","Á":"Á","Ă":"Ă","Â":"Â","А":"А","𝔄":"𝔄","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","":"⁡","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","≎":"≎","Ч":"Ч","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","⇓":"⇓","⇐":"⇐","⇔":"⇔","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","É":"É","Ě":"Ě","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","Ѓ":"Ѓ",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","Ħ":"Ħ","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ī":"Ī","ⅈ":"ⅈ","∬":"∬","∫":"∫","⋂":"⋂","":"⁣","":"⁢","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","𝕃":"𝕃","↙":"↙","↘":"↘","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","":"​","\n":"
","𝔑":"𝔑","":"⁠"," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Õ":"Õ","⨷":"⨷","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",'"':""","𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц","\t":"	","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ"," ":"  "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ū":"Ū",_:"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","а":"а","æ":"æ","𝔞":"𝔞","à":"à","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","⍼":"⍼","ą":"ą","𝕒":"𝕒","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","å":"å","𝒶":"𝒶","*":"*","ã":"ã","ä":"ä","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⎶":"⎶","б":"б","„":"„","⦰":"⦰","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","◯":"◯","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⤍":"⤍","⧫":"⧫","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","¦":"¦","𝒷":"𝒷","⁏":"⁏","\\":"\","⧅":"⧅","⟈":"⟈","•":"•","⪮":"⪮","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","⩍":"⩍","č":"č","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","⦲":"⦲","¢":"¢","𝔠":"𝔠","ч":"ч","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣",":":":",",":",","@":"@","∁":"∁","⩭":"⩭","𝕔":"𝕔","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋎":"⋎","⋏":"⋏","¤":"¤","∱":"∱","⌭":"⌭","⥥":"⥥","†":"†","ℸ":"ℸ","‐":"‐","⤏":"⤏","ď":"ď","д":"д","⇊":"⇊","⩷":"⩷","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","♦":"♦","ϝ":"ϝ","⋲":"⋲","÷":"÷","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍",$:"$","𝕕":"𝕕","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","⦦":"⦦","џ":"џ","⟿":"⟿","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","≕":"≕","э":"э","ė":"ė","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ϵ":"ϵ","=":"=","≟":"≟","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","η":"η","ð":"ð","ë":"ë","€":"€","!":"!","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi",fj:"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","⅓":"⅓","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","⪌":"⪌","ǵ":"ǵ","γ":"γ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","ℷ":"ℷ","ѓ":"ѓ","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪈":"⪈","⋧":"⋧","𝕘":"𝕘","ℊ":"ℊ","⪎":"⪎","⪐":"⪐","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⥸":"⥸","≩︀":"≩︀","ъ":"ъ","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ħ":"ħ","⁃":"⁃","í":"í","î":"î","и":"и","е":"е","¡":"¡","𝔦":"𝔦","ì":"ì","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","℅":"℅","∞":"∞","⧝":"⧝","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","¿":"¿","𝒾":"𝒾","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","ĩ":"ĩ","і":"і","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⤛":"⤛","⤎":"⤎","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","λ":"λ","⦑":"⦑","⪅":"⪅","«":"«","⤟":"⤟","⤝":"⤝","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","л":"л","⤶":"⤶","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","⇇":"⇇","⋋":"⋋","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⋖":"⋖","⥼":"⥼","𝔩":"𝔩","⪑":"⪑","⥪":"⥪","▄":"▄","љ":"љ","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","≨":"≨","⪉":"⪉","⪇":"⪇","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟼":"⟼","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","◊":"◊","(":"(","⦓":"⦓","⥭":"⥭","":"‎","⊿":"⊿","‹":"‹","𝓁":"𝓁","⪍":"⪍","⪏":"⪏","‚":"‚","ł":"ł","⪦":"⪦","⩹":"⩹","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","∺":"∺","¯":"¯","♂":"♂","✠":"✠","▮":"▮","⨩":"⨩","м":"м","—":"—","𝔪":"𝔪","℧":"℧","µ":"µ","⫰":"⫰","−":"−","⨪":"⨪","⫛":"⫛","⊧":"⊧","𝕞":"𝕞","𝓂":"𝓂","μ":"μ","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","⇏":"⇏","⊯":"⊯","⊮":"⊮","ń":"ń","∠⃒":"∠⃒","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","♮":"♮","⩃":"⩃","ň":"ň","ņ":"ņ","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","⇗":"⇗","⤤":"⤤","≐̸":"≐̸","⤨":"⤨","𝔫":"𝔫","↮":"↮","⫲":"⫲","⋼":"⋼","⋺":"⋺","њ":"њ","≦̸":"≦̸","↚":"↚","‥":"‥","𝕟":"𝕟","¬":"¬","⋹̸":"⋹̸","⋵̸":"⋵̸","⋷":"⋷","⋶":"⋶","⋾":"⋾","⋽":"⋽","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","𝓃":"𝓃","⊄":"⊄","⫅̸":"⫅̸","⊅":"⊅","⫆̸":"⫆̸","ñ":"ñ","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","⤧":"⤧","ó":"ó","ô":"ô","о":"о","ő":"ő","⨸":"⨸","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","⧁":"⧁","⦵":"⦵","⦾":"⦾","⦻":"⦻","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","∨":"∨","⩝":"⩝","ℴ":"ℴ","ª":"ª","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ø":"ø","⊘":"⊘","õ":"õ","⨶":"⨶","ö":"ö","⌽":"⌽","¶":"¶","⫳":"⫳","⫽":"⫽","п":"п","%":"%",".":".","‰":"‰","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","☎":"☎","π":"π","ϖ":"ϖ","ℎ":"ℎ","+":"+","⨣":"⨣","⨢":"⨢","⨥":"⨥","⩲":"⩲","⨦":"⨦","⨧":"⨧","⨕":"⨕","𝕡":"𝕡","£":"£","⪳":"⪳","⪷":"⪷","⪹":"⪹","⪵":"⪵","⋨":"⋨","′":"′","⌮":"⌮","⌒":"⌒","⌓":"⌓","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","⨖":"⨖","?":"?","⤜":"⤜","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","⦳":"⦳","⦒":"⦒","⦥":"⦥","»":"»","⥵":"⥵","⤠":"⤠","⤳":"⤳","⤞":"⤞","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","р":"р","⤷":"⤷","⥩":"⥩","↳":"↳","▭":"▭","⥽":"⥽","𝔯":"𝔯","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","⇉":"⇉","⋌":"⋌","˚":"˚","":"‏","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","›":"›","𝓇":"𝓇","⋊":"⋊","▹":"▹","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","⪴":"⪴","⪸":"⪸","š":"š","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","с":"с","⋅":"⋅","⩦":"⩦","⇘":"⇘","§":"§",";":";","⤩":"⤩","✶":"✶","𝔰":"𝔰","♯":"♯","щ":"щ","ш":"ш","":"­","σ":"σ","ς":"ς","⩪":"⩪","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","⨳":"⨳","⧤":"⧤","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","⊓︀":"⊓︀","⊔︀":"⊔︀","𝓈":"𝓈","☆":"☆","⊂":"⊂","⫅":"⫅","⪽":"⪽","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⫇":"⫇","⫕":"⫕","⫓":"⫓","♪":"♪","¹":"¹","²":"²","³":"³","⫆":"⫆","⪾":"⪾","⫘":"⫘","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤪":"⤪","ß":"ß","⌖":"⌖","τ":"τ","ť":"ť","ţ":"ţ","т":"т","⌕":"⌕","𝔱":"𝔱","θ":"θ","ϑ":"ϑ","þ":"þ","×":"×","⨱":"⨱","⨰":"⨰","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","‴":"‴","▵":"▵","≜":"≜","◬":"◬","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","⥣":"⥣","ú":"ú","ў":"ў","ŭ":"ŭ","û":"û","у":"у","ű":"ű","⥾":"⥾","𝔲":"𝔲","ù":"ù","▀":"▀","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","ų":"ų","𝕦":"𝕦","υ":"υ","⇈":"⇈","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","ü":"ü","⦧":"⦧","⫨":"⫨","⫩":"⫩","⦜":"⦜","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","в":"в","⊻":"⊻","≚":"≚","⋮":"⋮","𝔳":"𝔳","𝕧":"𝕧","𝓋":"𝓋","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","𝓌":"𝓌","𝔵":"𝔵","ξ":"ξ","⋻":"⋻","𝕩":"𝕩","𝓍":"𝓍","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","":"‍","":"‌"}}};
|
|
718
|
+
//# sourceMappingURL=./named-references.js.map
|
|
719
|
+
|
|
720
|
+
/***/ }),
|
|
721
|
+
|
|
722
|
+
/***/ "./node_modules/html-entities/lib/numeric-unicode-map.js":
|
|
723
|
+
/*!***************************************************************!*\
|
|
724
|
+
!*** ./node_modules/html-entities/lib/numeric-unicode-map.js ***!
|
|
725
|
+
\***************************************************************/
|
|
726
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
727
|
+
|
|
728
|
+
"use strict";
|
|
729
|
+
Object.defineProperty(exports, "__esModule", ({value:true}));exports.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};
|
|
730
|
+
//# sourceMappingURL=./numeric-unicode-map.js.map
|
|
731
|
+
|
|
732
|
+
/***/ }),
|
|
733
|
+
|
|
734
|
+
/***/ "./node_modules/html-entities/lib/surrogate-pairs.js":
|
|
735
|
+
/*!***********************************************************!*\
|
|
736
|
+
!*** ./node_modules/html-entities/lib/surrogate-pairs.js ***!
|
|
737
|
+
\***********************************************************/
|
|
738
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
739
|
+
|
|
740
|
+
"use strict";
|
|
741
|
+
Object.defineProperty(exports, "__esModule", ({value:true}));exports.fromCodePoint=String.fromCodePoint||function(astralCodePoint){return String.fromCharCode(Math.floor((astralCodePoint-65536)/1024)+55296,(astralCodePoint-65536)%1024+56320)};exports.getCodePoint=String.prototype.codePointAt?function(input,position){return input.codePointAt(position)}:function(input,position){return(input.charCodeAt(position)-55296)*1024+input.charCodeAt(position+1)-56320+65536};exports.highSurrogateFrom=55296;exports.highSurrogateTo=56319;
|
|
742
|
+
//# sourceMappingURL=./surrogate-pairs.js.map
|
|
743
|
+
|
|
744
|
+
/***/ }),
|
|
745
|
+
|
|
746
|
+
/***/ "./node_modules/webpack-dev-server/client/clients/WebSocketClient.js":
|
|
747
|
+
/*!***************************************************************************!*\
|
|
748
|
+
!*** ./node_modules/webpack-dev-server/client/clients/WebSocketClient.js ***!
|
|
749
|
+
\***************************************************************************/
|
|
8
750
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9
751
|
|
|
752
|
+
"use strict";
|
|
10
753
|
__webpack_require__.r(__webpack_exports__);
|
|
11
754
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12
|
-
/* harmony export */
|
|
13
|
-
/* harmony export */
|
|
14
|
-
/* harmony
|
|
15
|
-
|
|
755
|
+
/* harmony export */ "default": () => (/* binding */ WebSocketClient)
|
|
756
|
+
/* harmony export */ });
|
|
757
|
+
/* harmony import */ var _utils_log_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/log.js */ "./node_modules/webpack-dev-server/client/utils/log.js");
|
|
758
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
759
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
760
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
761
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
762
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
763
|
+
|
|
764
|
+
var WebSocketClient = /*#__PURE__*/function () {
|
|
765
|
+
/**
|
|
766
|
+
* @param {string} url
|
|
767
|
+
*/
|
|
768
|
+
function WebSocketClient(url) {
|
|
769
|
+
_classCallCheck(this, WebSocketClient);
|
|
770
|
+
this.client = new WebSocket(url);
|
|
771
|
+
this.client.onerror = function (error) {
|
|
772
|
+
_utils_log_js__WEBPACK_IMPORTED_MODULE_0__.log.error(error);
|
|
773
|
+
};
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* @param {(...args: any[]) => void} f
|
|
778
|
+
*/
|
|
779
|
+
_createClass(WebSocketClient, [{
|
|
780
|
+
key: "onOpen",
|
|
781
|
+
value: function onOpen(f) {
|
|
782
|
+
this.client.onopen = f;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* @param {(...args: any[]) => void} f
|
|
787
|
+
*/
|
|
788
|
+
}, {
|
|
789
|
+
key: "onClose",
|
|
790
|
+
value: function onClose(f) {
|
|
791
|
+
this.client.onclose = f;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
// call f with the message string as the first argument
|
|
795
|
+
/**
|
|
796
|
+
* @param {(...args: any[]) => void} f
|
|
797
|
+
*/
|
|
798
|
+
}, {
|
|
799
|
+
key: "onMessage",
|
|
800
|
+
value: function onMessage(f) {
|
|
801
|
+
this.client.onmessage = function (e) {
|
|
802
|
+
f(e.data);
|
|
803
|
+
};
|
|
804
|
+
}
|
|
805
|
+
}]);
|
|
806
|
+
return WebSocketClient;
|
|
807
|
+
}();
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
/***/ }),
|
|
811
|
+
|
|
812
|
+
/***/ "./node_modules/webpack-dev-server/client/index.js?protocol=ws%3A&hostname=0.0.0.0&port=9000&pathname=%2Fws&logging=info&overlay=true&reconnect=10&hot=true&live-reload=false":
|
|
813
|
+
/*!************************************************************************************************************************************************************************************!*\
|
|
814
|
+
!*** ./node_modules/webpack-dev-server/client/index.js?protocol=ws%3A&hostname=0.0.0.0&port=9000&pathname=%2Fws&logging=info&overlay=true&reconnect=10&hot=true&live-reload=false ***!
|
|
815
|
+
\************************************************************************************************************************************************************************************/
|
|
816
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
817
|
+
|
|
818
|
+
"use strict";
|
|
819
|
+
var __resourceQuery = "?protocol=ws%3A&hostname=0.0.0.0&port=9000&pathname=%2Fws&logging=info&overlay=true&reconnect=10&hot=true&live-reload=false";
|
|
820
|
+
__webpack_require__.r(__webpack_exports__);
|
|
821
|
+
/* harmony import */ var webpack_hot_log_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! webpack/hot/log.js */ "./node_modules/webpack/hot/log.js");
|
|
822
|
+
/* harmony import */ var webpack_hot_log_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(webpack_hot_log_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
823
|
+
/* harmony import */ var _utils_stripAnsi_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/stripAnsi.js */ "./node_modules/webpack-dev-server/client/utils/stripAnsi.js");
|
|
824
|
+
/* harmony import */ var _utils_parseURL_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils/parseURL.js */ "./node_modules/webpack-dev-server/client/utils/parseURL.js");
|
|
825
|
+
/* harmony import */ var _socket_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./socket.js */ "./node_modules/webpack-dev-server/client/socket.js");
|
|
826
|
+
/* harmony import */ var _overlay_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./overlay.js */ "./node_modules/webpack-dev-server/client/overlay.js");
|
|
827
|
+
/* harmony import */ var _utils_log_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/log.js */ "./node_modules/webpack-dev-server/client/utils/log.js");
|
|
828
|
+
/* harmony import */ var _utils_sendMessage_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/sendMessage.js */ "./node_modules/webpack-dev-server/client/utils/sendMessage.js");
|
|
829
|
+
/* harmony import */ var _utils_reloadApp_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/reloadApp.js */ "./node_modules/webpack-dev-server/client/utils/reloadApp.js");
|
|
830
|
+
/* harmony import */ var _utils_createSocketURL_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/createSocketURL.js */ "./node_modules/webpack-dev-server/client/utils/createSocketURL.js");
|
|
831
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
832
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
833
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
834
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
835
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
836
|
+
/* global __resourceQuery, __webpack_hash__ */
|
|
837
|
+
/// <reference types="webpack/module" />
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* @typedef {Object} OverlayOptions
|
|
850
|
+
* @property {boolean | (error: Error) => boolean} [warnings]
|
|
851
|
+
* @property {boolean | (error: Error) => boolean} [errors]
|
|
852
|
+
* @property {boolean | (error: Error) => boolean} [runtimeErrors]
|
|
853
|
+
* @property {string} [trustedTypesPolicyName]
|
|
854
|
+
*/
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* @typedef {Object} Options
|
|
858
|
+
* @property {boolean} hot
|
|
859
|
+
* @property {boolean} liveReload
|
|
860
|
+
* @property {boolean} progress
|
|
861
|
+
* @property {boolean | OverlayOptions} overlay
|
|
862
|
+
* @property {string} [logging]
|
|
863
|
+
* @property {number} [reconnect]
|
|
864
|
+
*/
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* @typedef {Object} Status
|
|
868
|
+
* @property {boolean} isUnloading
|
|
869
|
+
* @property {string} currentHash
|
|
870
|
+
* @property {string} [previousHash]
|
|
871
|
+
*/
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* @param {boolean | { warnings?: boolean | string; errors?: boolean | string; runtimeErrors?: boolean | string; }} overlayOptions
|
|
875
|
+
*/
|
|
876
|
+
var decodeOverlayOptions = function decodeOverlayOptions(overlayOptions) {
|
|
877
|
+
if (typeof overlayOptions === "object") {
|
|
878
|
+
["warnings", "errors", "runtimeErrors"].forEach(function (property) {
|
|
879
|
+
if (typeof overlayOptions[property] === "string") {
|
|
880
|
+
var overlayFilterFunctionString = decodeURIComponent(overlayOptions[property]);
|
|
881
|
+
|
|
882
|
+
// eslint-disable-next-line no-new-func
|
|
883
|
+
var overlayFilterFunction = new Function("message", "var callback = ".concat(overlayFilterFunctionString, "\n return callback(message)"));
|
|
884
|
+
overlayOptions[property] = overlayFilterFunction;
|
|
885
|
+
}
|
|
886
|
+
});
|
|
887
|
+
}
|
|
888
|
+
};
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* @type {Status}
|
|
892
|
+
*/
|
|
893
|
+
var status = {
|
|
894
|
+
isUnloading: false,
|
|
895
|
+
// TODO Workaround for webpack v4, `__webpack_hash__` is not replaced without HotModuleReplacement
|
|
896
|
+
// eslint-disable-next-line camelcase
|
|
897
|
+
currentHash: true ? __webpack_require__.h() : 0
|
|
898
|
+
};
|
|
899
|
+
|
|
900
|
+
/** @type {Options} */
|
|
901
|
+
var options = {
|
|
902
|
+
hot: false,
|
|
903
|
+
liveReload: false,
|
|
904
|
+
progress: false,
|
|
905
|
+
overlay: false
|
|
906
|
+
};
|
|
907
|
+
var parsedResourceQuery = (0,_utils_parseURL_js__WEBPACK_IMPORTED_MODULE_2__["default"])(__resourceQuery);
|
|
908
|
+
var enabledFeatures = {
|
|
909
|
+
"Hot Module Replacement": false,
|
|
910
|
+
"Live Reloading": false,
|
|
911
|
+
Progress: false,
|
|
912
|
+
Overlay: false
|
|
913
|
+
};
|
|
914
|
+
if (parsedResourceQuery.hot === "true") {
|
|
915
|
+
options.hot = true;
|
|
916
|
+
enabledFeatures["Hot Module Replacement"] = true;
|
|
917
|
+
}
|
|
918
|
+
if (parsedResourceQuery["live-reload"] === "true") {
|
|
919
|
+
options.liveReload = true;
|
|
920
|
+
enabledFeatures["Live Reloading"] = true;
|
|
921
|
+
}
|
|
922
|
+
if (parsedResourceQuery.progress === "true") {
|
|
923
|
+
options.progress = true;
|
|
924
|
+
enabledFeatures.Progress = true;
|
|
925
|
+
}
|
|
926
|
+
if (parsedResourceQuery.overlay) {
|
|
927
|
+
try {
|
|
928
|
+
options.overlay = JSON.parse(parsedResourceQuery.overlay);
|
|
929
|
+
} catch (e) {
|
|
930
|
+
_utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.error("Error parsing overlay options from resource query:", e);
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
// Fill in default "true" params for partially-specified objects.
|
|
934
|
+
if (typeof options.overlay === "object") {
|
|
935
|
+
options.overlay = _objectSpread({
|
|
936
|
+
errors: true,
|
|
937
|
+
warnings: true,
|
|
938
|
+
runtimeErrors: true
|
|
939
|
+
}, options.overlay);
|
|
940
|
+
decodeOverlayOptions(options.overlay);
|
|
941
|
+
}
|
|
942
|
+
enabledFeatures.Overlay = true;
|
|
943
|
+
}
|
|
944
|
+
if (parsedResourceQuery.logging) {
|
|
945
|
+
options.logging = parsedResourceQuery.logging;
|
|
946
|
+
}
|
|
947
|
+
if (typeof parsedResourceQuery.reconnect !== "undefined") {
|
|
948
|
+
options.reconnect = Number(parsedResourceQuery.reconnect);
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* @param {string} level
|
|
953
|
+
*/
|
|
954
|
+
function setAllLogLevel(level) {
|
|
955
|
+
// This is needed because the HMR logger operate separately from dev server logger
|
|
956
|
+
webpack_hot_log_js__WEBPACK_IMPORTED_MODULE_0___default().setLogLevel(level === "verbose" || level === "log" ? "info" : level);
|
|
957
|
+
(0,_utils_log_js__WEBPACK_IMPORTED_MODULE_5__.setLogLevel)(level);
|
|
958
|
+
}
|
|
959
|
+
if (options.logging) {
|
|
960
|
+
setAllLogLevel(options.logging);
|
|
961
|
+
}
|
|
962
|
+
(0,_utils_log_js__WEBPACK_IMPORTED_MODULE_5__.logEnabledFeatures)(enabledFeatures);
|
|
963
|
+
self.addEventListener("beforeunload", function () {
|
|
964
|
+
status.isUnloading = true;
|
|
965
|
+
});
|
|
966
|
+
var overlay = typeof window !== "undefined" ? (0,_overlay_js__WEBPACK_IMPORTED_MODULE_4__.createOverlay)(typeof options.overlay === "object" ? {
|
|
967
|
+
trustedTypesPolicyName: options.overlay.trustedTypesPolicyName,
|
|
968
|
+
catchRuntimeError: options.overlay.runtimeErrors
|
|
969
|
+
} : {
|
|
970
|
+
trustedTypesPolicyName: false,
|
|
971
|
+
catchRuntimeError: options.overlay
|
|
972
|
+
}) : {
|
|
973
|
+
send: function send() {}
|
|
974
|
+
};
|
|
975
|
+
var onSocketMessage = {
|
|
976
|
+
hot: function hot() {
|
|
977
|
+
if (parsedResourceQuery.hot === "false") {
|
|
978
|
+
return;
|
|
979
|
+
}
|
|
980
|
+
options.hot = true;
|
|
981
|
+
},
|
|
982
|
+
liveReload: function liveReload() {
|
|
983
|
+
if (parsedResourceQuery["live-reload"] === "false") {
|
|
984
|
+
return;
|
|
985
|
+
}
|
|
986
|
+
options.liveReload = true;
|
|
987
|
+
},
|
|
988
|
+
invalid: function invalid() {
|
|
989
|
+
_utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.info("App updated. Recompiling...");
|
|
990
|
+
|
|
991
|
+
// Fixes #1042. overlay doesn't clear if errors are fixed but warnings remain.
|
|
992
|
+
if (options.overlay) {
|
|
993
|
+
overlay.send({
|
|
994
|
+
type: "DISMISS"
|
|
995
|
+
});
|
|
996
|
+
}
|
|
997
|
+
(0,_utils_sendMessage_js__WEBPACK_IMPORTED_MODULE_6__["default"])("Invalid");
|
|
998
|
+
},
|
|
999
|
+
/**
|
|
1000
|
+
* @param {string} hash
|
|
1001
|
+
*/
|
|
1002
|
+
hash: function hash(_hash) {
|
|
1003
|
+
status.previousHash = status.currentHash;
|
|
1004
|
+
status.currentHash = _hash;
|
|
1005
|
+
},
|
|
1006
|
+
logging: setAllLogLevel,
|
|
1007
|
+
/**
|
|
1008
|
+
* @param {boolean} value
|
|
1009
|
+
*/
|
|
1010
|
+
overlay: function overlay(value) {
|
|
1011
|
+
if (typeof document === "undefined") {
|
|
1012
|
+
return;
|
|
1013
|
+
}
|
|
1014
|
+
options.overlay = value;
|
|
1015
|
+
decodeOverlayOptions(options.overlay);
|
|
1016
|
+
},
|
|
1017
|
+
/**
|
|
1018
|
+
* @param {number} value
|
|
1019
|
+
*/
|
|
1020
|
+
reconnect: function reconnect(value) {
|
|
1021
|
+
if (parsedResourceQuery.reconnect === "false") {
|
|
1022
|
+
return;
|
|
1023
|
+
}
|
|
1024
|
+
options.reconnect = value;
|
|
1025
|
+
},
|
|
1026
|
+
/**
|
|
1027
|
+
* @param {boolean} value
|
|
1028
|
+
*/
|
|
1029
|
+
progress: function progress(value) {
|
|
1030
|
+
options.progress = value;
|
|
1031
|
+
},
|
|
1032
|
+
/**
|
|
1033
|
+
* @param {{ pluginName?: string, percent: number, msg: string }} data
|
|
1034
|
+
*/
|
|
1035
|
+
"progress-update": function progressUpdate(data) {
|
|
1036
|
+
if (options.progress) {
|
|
1037
|
+
_utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.info("".concat(data.pluginName ? "[".concat(data.pluginName, "] ") : "").concat(data.percent, "% - ").concat(data.msg, "."));
|
|
1038
|
+
}
|
|
1039
|
+
(0,_utils_sendMessage_js__WEBPACK_IMPORTED_MODULE_6__["default"])("Progress", data);
|
|
1040
|
+
},
|
|
1041
|
+
"still-ok": function stillOk() {
|
|
1042
|
+
_utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.info("Nothing changed.");
|
|
1043
|
+
if (options.overlay) {
|
|
1044
|
+
overlay.send({
|
|
1045
|
+
type: "DISMISS"
|
|
1046
|
+
});
|
|
1047
|
+
}
|
|
1048
|
+
(0,_utils_sendMessage_js__WEBPACK_IMPORTED_MODULE_6__["default"])("StillOk");
|
|
1049
|
+
},
|
|
1050
|
+
ok: function ok() {
|
|
1051
|
+
(0,_utils_sendMessage_js__WEBPACK_IMPORTED_MODULE_6__["default"])("Ok");
|
|
1052
|
+
if (options.overlay) {
|
|
1053
|
+
overlay.send({
|
|
1054
|
+
type: "DISMISS"
|
|
1055
|
+
});
|
|
1056
|
+
}
|
|
1057
|
+
(0,_utils_reloadApp_js__WEBPACK_IMPORTED_MODULE_7__["default"])(options, status);
|
|
1058
|
+
},
|
|
1059
|
+
// TODO: remove in v5 in favor of 'static-changed'
|
|
1060
|
+
/**
|
|
1061
|
+
* @param {string} file
|
|
1062
|
+
*/
|
|
1063
|
+
"content-changed": function contentChanged(file) {
|
|
1064
|
+
_utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.info("".concat(file ? "\"".concat(file, "\"") : "Content", " from static directory was changed. Reloading..."));
|
|
1065
|
+
self.location.reload();
|
|
1066
|
+
},
|
|
1067
|
+
/**
|
|
1068
|
+
* @param {string} file
|
|
1069
|
+
*/
|
|
1070
|
+
"static-changed": function staticChanged(file) {
|
|
1071
|
+
_utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.info("".concat(file ? "\"".concat(file, "\"") : "Content", " from static directory was changed. Reloading..."));
|
|
1072
|
+
self.location.reload();
|
|
1073
|
+
},
|
|
1074
|
+
/**
|
|
1075
|
+
* @param {Error[]} warnings
|
|
1076
|
+
* @param {any} params
|
|
1077
|
+
*/
|
|
1078
|
+
warnings: function warnings(_warnings, params) {
|
|
1079
|
+
_utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.warn("Warnings while compiling.");
|
|
1080
|
+
var printableWarnings = _warnings.map(function (error) {
|
|
1081
|
+
var _formatProblem = (0,_overlay_js__WEBPACK_IMPORTED_MODULE_4__.formatProblem)("warning", error),
|
|
1082
|
+
header = _formatProblem.header,
|
|
1083
|
+
body = _formatProblem.body;
|
|
1084
|
+
return "".concat(header, "\n").concat((0,_utils_stripAnsi_js__WEBPACK_IMPORTED_MODULE_1__["default"])(body));
|
|
1085
|
+
});
|
|
1086
|
+
(0,_utils_sendMessage_js__WEBPACK_IMPORTED_MODULE_6__["default"])("Warnings", printableWarnings);
|
|
1087
|
+
for (var i = 0; i < printableWarnings.length; i++) {
|
|
1088
|
+
_utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.warn(printableWarnings[i]);
|
|
1089
|
+
}
|
|
1090
|
+
var overlayWarningsSetting = typeof options.overlay === "boolean" ? options.overlay : options.overlay && options.overlay.warnings;
|
|
1091
|
+
if (overlayWarningsSetting) {
|
|
1092
|
+
var warningsToDisplay = typeof overlayWarningsSetting === "function" ? _warnings.filter(overlayWarningsSetting) : _warnings;
|
|
1093
|
+
if (warningsToDisplay.length) {
|
|
1094
|
+
overlay.send({
|
|
1095
|
+
type: "BUILD_ERROR",
|
|
1096
|
+
level: "warning",
|
|
1097
|
+
messages: _warnings
|
|
1098
|
+
});
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
if (params && params.preventReloading) {
|
|
1102
|
+
return;
|
|
1103
|
+
}
|
|
1104
|
+
(0,_utils_reloadApp_js__WEBPACK_IMPORTED_MODULE_7__["default"])(options, status);
|
|
1105
|
+
},
|
|
1106
|
+
/**
|
|
1107
|
+
* @param {Error[]} errors
|
|
1108
|
+
*/
|
|
1109
|
+
errors: function errors(_errors) {
|
|
1110
|
+
_utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.error("Errors while compiling. Reload prevented.");
|
|
1111
|
+
var printableErrors = _errors.map(function (error) {
|
|
1112
|
+
var _formatProblem2 = (0,_overlay_js__WEBPACK_IMPORTED_MODULE_4__.formatProblem)("error", error),
|
|
1113
|
+
header = _formatProblem2.header,
|
|
1114
|
+
body = _formatProblem2.body;
|
|
1115
|
+
return "".concat(header, "\n").concat((0,_utils_stripAnsi_js__WEBPACK_IMPORTED_MODULE_1__["default"])(body));
|
|
1116
|
+
});
|
|
1117
|
+
(0,_utils_sendMessage_js__WEBPACK_IMPORTED_MODULE_6__["default"])("Errors", printableErrors);
|
|
1118
|
+
for (var i = 0; i < printableErrors.length; i++) {
|
|
1119
|
+
_utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.error(printableErrors[i]);
|
|
1120
|
+
}
|
|
1121
|
+
var overlayErrorsSettings = typeof options.overlay === "boolean" ? options.overlay : options.overlay && options.overlay.errors;
|
|
1122
|
+
if (overlayErrorsSettings) {
|
|
1123
|
+
var errorsToDisplay = typeof overlayErrorsSettings === "function" ? _errors.filter(overlayErrorsSettings) : _errors;
|
|
1124
|
+
if (errorsToDisplay.length) {
|
|
1125
|
+
overlay.send({
|
|
1126
|
+
type: "BUILD_ERROR",
|
|
1127
|
+
level: "error",
|
|
1128
|
+
messages: _errors
|
|
1129
|
+
});
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
},
|
|
1133
|
+
/**
|
|
1134
|
+
* @param {Error} error
|
|
1135
|
+
*/
|
|
1136
|
+
error: function error(_error) {
|
|
1137
|
+
_utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.error(_error);
|
|
1138
|
+
},
|
|
1139
|
+
close: function close() {
|
|
1140
|
+
_utils_log_js__WEBPACK_IMPORTED_MODULE_5__.log.info("Disconnected!");
|
|
1141
|
+
if (options.overlay) {
|
|
1142
|
+
overlay.send({
|
|
1143
|
+
type: "DISMISS"
|
|
1144
|
+
});
|
|
1145
|
+
}
|
|
1146
|
+
(0,_utils_sendMessage_js__WEBPACK_IMPORTED_MODULE_6__["default"])("Close");
|
|
1147
|
+
}
|
|
1148
|
+
};
|
|
1149
|
+
var socketURL = (0,_utils_createSocketURL_js__WEBPACK_IMPORTED_MODULE_8__["default"])(parsedResourceQuery);
|
|
1150
|
+
(0,_socket_js__WEBPACK_IMPORTED_MODULE_3__["default"])(socketURL, onSocketMessage, options.reconnect);
|
|
1151
|
+
|
|
1152
|
+
/***/ }),
|
|
1153
|
+
|
|
1154
|
+
/***/ "./node_modules/webpack-dev-server/client/modules/logger/index.js":
|
|
1155
|
+
/*!************************************************************************!*\
|
|
1156
|
+
!*** ./node_modules/webpack-dev-server/client/modules/logger/index.js ***!
|
|
1157
|
+
\************************************************************************/
|
|
1158
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1159
|
+
|
|
1160
|
+
/******/ (function() { // webpackBootstrap
|
|
1161
|
+
/******/ "use strict";
|
|
1162
|
+
/******/ var __webpack_modules__ = ({
|
|
1163
|
+
|
|
1164
|
+
/***/ "./client-src/modules/logger/SyncBailHookFake.js":
|
|
1165
|
+
/*!*******************************************************!*\
|
|
1166
|
+
!*** ./client-src/modules/logger/SyncBailHookFake.js ***!
|
|
1167
|
+
\*******************************************************/
|
|
1168
|
+
/***/ (function(module) {
|
|
1169
|
+
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
/**
|
|
1173
|
+
* Client stub for tapable SyncBailHook
|
|
1174
|
+
*/
|
|
1175
|
+
module.exports = function clientTapableSyncBailHook() {
|
|
1176
|
+
return {
|
|
1177
|
+
call: function call() {}
|
|
1178
|
+
};
|
|
1179
|
+
};
|
|
1180
|
+
|
|
1181
|
+
/***/ }),
|
|
1182
|
+
|
|
1183
|
+
/***/ "./node_modules/webpack/lib/logging/Logger.js":
|
|
1184
|
+
/*!****************************************************!*\
|
|
1185
|
+
!*** ./node_modules/webpack/lib/logging/Logger.js ***!
|
|
1186
|
+
\****************************************************/
|
|
1187
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
1188
|
+
|
|
1189
|
+
/*
|
|
1190
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
1191
|
+
Author Tobias Koppers @sokra
|
|
1192
|
+
*/
|
|
1193
|
+
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
function _toConsumableArray(arr) {
|
|
1197
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
1198
|
+
}
|
|
1199
|
+
function _nonIterableSpread() {
|
|
1200
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1201
|
+
}
|
|
1202
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
1203
|
+
if (!o) return;
|
|
1204
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
1205
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
1206
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
1207
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
1208
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
1209
|
+
}
|
|
1210
|
+
function _iterableToArray(iter) {
|
|
1211
|
+
if (typeof (typeof Symbol !== "undefined" ? Symbol : function (i) { return i; }) !== "undefined" && iter[(typeof Symbol !== "undefined" ? Symbol : function (i) { return i; }).iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
1212
|
+
}
|
|
1213
|
+
function _arrayWithoutHoles(arr) {
|
|
1214
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
1215
|
+
}
|
|
1216
|
+
function _arrayLikeToArray(arr, len) {
|
|
1217
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
1218
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
1219
|
+
return arr2;
|
|
1220
|
+
}
|
|
1221
|
+
function _classCallCheck(instance, Constructor) {
|
|
1222
|
+
if (!(instance instanceof Constructor)) {
|
|
1223
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1226
|
+
function _defineProperties(target, props) {
|
|
1227
|
+
for (var i = 0; i < props.length; i++) {
|
|
1228
|
+
var descriptor = props[i];
|
|
1229
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
1230
|
+
descriptor.configurable = true;
|
|
1231
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
1232
|
+
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
1236
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
1237
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
1238
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
1239
|
+
writable: false
|
|
1240
|
+
});
|
|
1241
|
+
return Constructor;
|
|
1242
|
+
}
|
|
1243
|
+
function _toPropertyKey(arg) {
|
|
1244
|
+
var key = _toPrimitive(arg, "string");
|
|
1245
|
+
return typeof key === "symbol" ? key : String(key);
|
|
1246
|
+
}
|
|
1247
|
+
function _toPrimitive(input, hint) {
|
|
1248
|
+
if (typeof input !== "object" || input === null) return input;
|
|
1249
|
+
var prim = input[(typeof Symbol !== "undefined" ? Symbol : function (i) { return i; }).toPrimitive];
|
|
1250
|
+
if (prim !== undefined) {
|
|
1251
|
+
var res = prim.call(input, hint || "default");
|
|
1252
|
+
if (typeof res !== "object") return res;
|
|
1253
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1254
|
+
}
|
|
1255
|
+
return (hint === "string" ? String : Number)(input);
|
|
1256
|
+
}
|
|
1257
|
+
var LogType = Object.freeze({
|
|
1258
|
+
error: /** @type {"error"} */"error",
|
|
1259
|
+
// message, c style arguments
|
|
1260
|
+
warn: /** @type {"warn"} */"warn",
|
|
1261
|
+
// message, c style arguments
|
|
1262
|
+
info: /** @type {"info"} */"info",
|
|
1263
|
+
// message, c style arguments
|
|
1264
|
+
log: /** @type {"log"} */"log",
|
|
1265
|
+
// message, c style arguments
|
|
1266
|
+
debug: /** @type {"debug"} */"debug",
|
|
1267
|
+
// message, c style arguments
|
|
1268
|
+
|
|
1269
|
+
trace: /** @type {"trace"} */"trace",
|
|
1270
|
+
// no arguments
|
|
1271
|
+
|
|
1272
|
+
group: /** @type {"group"} */"group",
|
|
1273
|
+
// [label]
|
|
1274
|
+
groupCollapsed: /** @type {"groupCollapsed"} */"groupCollapsed",
|
|
1275
|
+
// [label]
|
|
1276
|
+
groupEnd: /** @type {"groupEnd"} */"groupEnd",
|
|
1277
|
+
// [label]
|
|
1278
|
+
|
|
1279
|
+
profile: /** @type {"profile"} */"profile",
|
|
1280
|
+
// [profileName]
|
|
1281
|
+
profileEnd: /** @type {"profileEnd"} */"profileEnd",
|
|
1282
|
+
// [profileName]
|
|
1283
|
+
|
|
1284
|
+
time: /** @type {"time"} */"time",
|
|
1285
|
+
// name, time as [seconds, nanoseconds]
|
|
1286
|
+
|
|
1287
|
+
clear: /** @type {"clear"} */"clear",
|
|
1288
|
+
// no arguments
|
|
1289
|
+
status: /** @type {"status"} */"status" // message, arguments
|
|
1290
|
+
});
|
|
1291
|
+
|
|
1292
|
+
exports.LogType = LogType;
|
|
1293
|
+
|
|
1294
|
+
/** @typedef {typeof LogType[keyof typeof LogType]} LogTypeEnum */
|
|
1295
|
+
|
|
1296
|
+
var LOG_SYMBOL = (typeof Symbol !== "undefined" ? Symbol : function (i) { return i; })("webpack logger raw log method");
|
|
1297
|
+
var TIMERS_SYMBOL = (typeof Symbol !== "undefined" ? Symbol : function (i) { return i; })("webpack logger times");
|
|
1298
|
+
var TIMERS_AGGREGATES_SYMBOL = (typeof Symbol !== "undefined" ? Symbol : function (i) { return i; })("webpack logger aggregated times");
|
|
1299
|
+
var WebpackLogger = /*#__PURE__*/function () {
|
|
1300
|
+
/**
|
|
1301
|
+
* @param {function(LogTypeEnum, any[]=): void} log log function
|
|
1302
|
+
* @param {function(string | function(): string): WebpackLogger} getChildLogger function to create child logger
|
|
1303
|
+
*/
|
|
1304
|
+
function WebpackLogger(log, getChildLogger) {
|
|
1305
|
+
_classCallCheck(this, WebpackLogger);
|
|
1306
|
+
this[LOG_SYMBOL] = log;
|
|
1307
|
+
this.getChildLogger = getChildLogger;
|
|
1308
|
+
}
|
|
1309
|
+
_createClass(WebpackLogger, [{
|
|
1310
|
+
key: "error",
|
|
1311
|
+
value: function error() {
|
|
1312
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
1313
|
+
args[_key] = arguments[_key];
|
|
1314
|
+
}
|
|
1315
|
+
this[LOG_SYMBOL](LogType.error, args);
|
|
1316
|
+
}
|
|
1317
|
+
}, {
|
|
1318
|
+
key: "warn",
|
|
1319
|
+
value: function warn() {
|
|
1320
|
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
1321
|
+
args[_key2] = arguments[_key2];
|
|
1322
|
+
}
|
|
1323
|
+
this[LOG_SYMBOL](LogType.warn, args);
|
|
1324
|
+
}
|
|
1325
|
+
}, {
|
|
1326
|
+
key: "info",
|
|
1327
|
+
value: function info() {
|
|
1328
|
+
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
|
1329
|
+
args[_key3] = arguments[_key3];
|
|
1330
|
+
}
|
|
1331
|
+
this[LOG_SYMBOL](LogType.info, args);
|
|
1332
|
+
}
|
|
1333
|
+
}, {
|
|
1334
|
+
key: "log",
|
|
1335
|
+
value: function log() {
|
|
1336
|
+
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
1337
|
+
args[_key4] = arguments[_key4];
|
|
1338
|
+
}
|
|
1339
|
+
this[LOG_SYMBOL](LogType.log, args);
|
|
1340
|
+
}
|
|
1341
|
+
}, {
|
|
1342
|
+
key: "debug",
|
|
1343
|
+
value: function debug() {
|
|
1344
|
+
for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
|
|
1345
|
+
args[_key5] = arguments[_key5];
|
|
1346
|
+
}
|
|
1347
|
+
this[LOG_SYMBOL](LogType.debug, args);
|
|
1348
|
+
}
|
|
1349
|
+
}, {
|
|
1350
|
+
key: "assert",
|
|
1351
|
+
value: function assert(assertion) {
|
|
1352
|
+
if (!assertion) {
|
|
1353
|
+
for (var _len6 = arguments.length, args = new Array(_len6 > 1 ? _len6 - 1 : 0), _key6 = 1; _key6 < _len6; _key6++) {
|
|
1354
|
+
args[_key6 - 1] = arguments[_key6];
|
|
1355
|
+
}
|
|
1356
|
+
this[LOG_SYMBOL](LogType.error, args);
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
}, {
|
|
1360
|
+
key: "trace",
|
|
1361
|
+
value: function trace() {
|
|
1362
|
+
this[LOG_SYMBOL](LogType.trace, ["Trace"]);
|
|
1363
|
+
}
|
|
1364
|
+
}, {
|
|
1365
|
+
key: "clear",
|
|
1366
|
+
value: function clear() {
|
|
1367
|
+
this[LOG_SYMBOL](LogType.clear);
|
|
1368
|
+
}
|
|
1369
|
+
}, {
|
|
1370
|
+
key: "status",
|
|
1371
|
+
value: function status() {
|
|
1372
|
+
for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
|
|
1373
|
+
args[_key7] = arguments[_key7];
|
|
1374
|
+
}
|
|
1375
|
+
this[LOG_SYMBOL](LogType.status, args);
|
|
1376
|
+
}
|
|
1377
|
+
}, {
|
|
1378
|
+
key: "group",
|
|
1379
|
+
value: function group() {
|
|
1380
|
+
for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
|
|
1381
|
+
args[_key8] = arguments[_key8];
|
|
1382
|
+
}
|
|
1383
|
+
this[LOG_SYMBOL](LogType.group, args);
|
|
1384
|
+
}
|
|
1385
|
+
}, {
|
|
1386
|
+
key: "groupCollapsed",
|
|
1387
|
+
value: function groupCollapsed() {
|
|
1388
|
+
for (var _len9 = arguments.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) {
|
|
1389
|
+
args[_key9] = arguments[_key9];
|
|
1390
|
+
}
|
|
1391
|
+
this[LOG_SYMBOL](LogType.groupCollapsed, args);
|
|
1392
|
+
}
|
|
1393
|
+
}, {
|
|
1394
|
+
key: "groupEnd",
|
|
1395
|
+
value: function groupEnd() {
|
|
1396
|
+
for (var _len10 = arguments.length, args = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) {
|
|
1397
|
+
args[_key10] = arguments[_key10];
|
|
1398
|
+
}
|
|
1399
|
+
this[LOG_SYMBOL](LogType.groupEnd, args);
|
|
1400
|
+
}
|
|
1401
|
+
}, {
|
|
1402
|
+
key: "profile",
|
|
1403
|
+
value: function profile(label) {
|
|
1404
|
+
this[LOG_SYMBOL](LogType.profile, [label]);
|
|
1405
|
+
}
|
|
1406
|
+
}, {
|
|
1407
|
+
key: "profileEnd",
|
|
1408
|
+
value: function profileEnd(label) {
|
|
1409
|
+
this[LOG_SYMBOL](LogType.profileEnd, [label]);
|
|
1410
|
+
}
|
|
1411
|
+
}, {
|
|
1412
|
+
key: "time",
|
|
1413
|
+
value: function time(label) {
|
|
1414
|
+
this[TIMERS_SYMBOL] = this[TIMERS_SYMBOL] || new Map();
|
|
1415
|
+
this[TIMERS_SYMBOL].set(label, process.hrtime());
|
|
1416
|
+
}
|
|
1417
|
+
}, {
|
|
1418
|
+
key: "timeLog",
|
|
1419
|
+
value: function timeLog(label) {
|
|
1420
|
+
var prev = this[TIMERS_SYMBOL] && this[TIMERS_SYMBOL].get(label);
|
|
1421
|
+
if (!prev) {
|
|
1422
|
+
throw new Error("No such label '".concat(label, "' for WebpackLogger.timeLog()"));
|
|
1423
|
+
}
|
|
1424
|
+
var time = process.hrtime(prev);
|
|
1425
|
+
this[LOG_SYMBOL](LogType.time, [label].concat(_toConsumableArray(time)));
|
|
1426
|
+
}
|
|
1427
|
+
}, {
|
|
1428
|
+
key: "timeEnd",
|
|
1429
|
+
value: function timeEnd(label) {
|
|
1430
|
+
var prev = this[TIMERS_SYMBOL] && this[TIMERS_SYMBOL].get(label);
|
|
1431
|
+
if (!prev) {
|
|
1432
|
+
throw new Error("No such label '".concat(label, "' for WebpackLogger.timeEnd()"));
|
|
1433
|
+
}
|
|
1434
|
+
var time = process.hrtime(prev);
|
|
1435
|
+
this[TIMERS_SYMBOL].delete(label);
|
|
1436
|
+
this[LOG_SYMBOL](LogType.time, [label].concat(_toConsumableArray(time)));
|
|
1437
|
+
}
|
|
1438
|
+
}, {
|
|
1439
|
+
key: "timeAggregate",
|
|
1440
|
+
value: function timeAggregate(label) {
|
|
1441
|
+
var prev = this[TIMERS_SYMBOL] && this[TIMERS_SYMBOL].get(label);
|
|
1442
|
+
if (!prev) {
|
|
1443
|
+
throw new Error("No such label '".concat(label, "' for WebpackLogger.timeAggregate()"));
|
|
1444
|
+
}
|
|
1445
|
+
var time = process.hrtime(prev);
|
|
1446
|
+
this[TIMERS_SYMBOL].delete(label);
|
|
1447
|
+
this[TIMERS_AGGREGATES_SYMBOL] = this[TIMERS_AGGREGATES_SYMBOL] || new Map();
|
|
1448
|
+
var current = this[TIMERS_AGGREGATES_SYMBOL].get(label);
|
|
1449
|
+
if (current !== undefined) {
|
|
1450
|
+
if (time[1] + current[1] > 1e9) {
|
|
1451
|
+
time[0] += current[0] + 1;
|
|
1452
|
+
time[1] = time[1] - 1e9 + current[1];
|
|
1453
|
+
} else {
|
|
1454
|
+
time[0] += current[0];
|
|
1455
|
+
time[1] += current[1];
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1458
|
+
this[TIMERS_AGGREGATES_SYMBOL].set(label, time);
|
|
1459
|
+
}
|
|
1460
|
+
}, {
|
|
1461
|
+
key: "timeAggregateEnd",
|
|
1462
|
+
value: function timeAggregateEnd(label) {
|
|
1463
|
+
if (this[TIMERS_AGGREGATES_SYMBOL] === undefined) return;
|
|
1464
|
+
var time = this[TIMERS_AGGREGATES_SYMBOL].get(label);
|
|
1465
|
+
if (time === undefined) return;
|
|
1466
|
+
this[TIMERS_AGGREGATES_SYMBOL].delete(label);
|
|
1467
|
+
this[LOG_SYMBOL](LogType.time, [label].concat(_toConsumableArray(time)));
|
|
1468
|
+
}
|
|
1469
|
+
}]);
|
|
1470
|
+
return WebpackLogger;
|
|
1471
|
+
}();
|
|
1472
|
+
exports.Logger = WebpackLogger;
|
|
1473
|
+
|
|
1474
|
+
/***/ }),
|
|
1475
|
+
|
|
1476
|
+
/***/ "./node_modules/webpack/lib/logging/createConsoleLogger.js":
|
|
1477
|
+
/*!*****************************************************************!*\
|
|
1478
|
+
!*** ./node_modules/webpack/lib/logging/createConsoleLogger.js ***!
|
|
1479
|
+
\*****************************************************************/
|
|
1480
|
+
/***/ (function(module, __unused_webpack_exports, __nested_webpack_require_11285__) {
|
|
1481
|
+
|
|
1482
|
+
/*
|
|
1483
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
1484
|
+
Author Tobias Koppers @sokra
|
|
1485
|
+
*/
|
|
1486
|
+
|
|
1487
|
+
|
|
1488
|
+
|
|
1489
|
+
function _toConsumableArray(arr) {
|
|
1490
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
1491
|
+
}
|
|
1492
|
+
function _nonIterableSpread() {
|
|
1493
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1494
|
+
}
|
|
1495
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
1496
|
+
if (!o) return;
|
|
1497
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
1498
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
1499
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
1500
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
1501
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
1502
|
+
}
|
|
1503
|
+
function _iterableToArray(iter) {
|
|
1504
|
+
if (typeof (typeof Symbol !== "undefined" ? Symbol : function (i) { return i; }) !== "undefined" && iter[(typeof Symbol !== "undefined" ? Symbol : function (i) { return i; }).iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
1505
|
+
}
|
|
1506
|
+
function _arrayWithoutHoles(arr) {
|
|
1507
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
1508
|
+
}
|
|
1509
|
+
function _arrayLikeToArray(arr, len) {
|
|
1510
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
1511
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
1512
|
+
return arr2;
|
|
1513
|
+
}
|
|
1514
|
+
var _require = __nested_webpack_require_11285__(/*! ./Logger */ "./node_modules/webpack/lib/logging/Logger.js"),
|
|
1515
|
+
LogType = _require.LogType;
|
|
1516
|
+
|
|
1517
|
+
/** @typedef {import("../../declarations/WebpackOptions").FilterItemTypes} FilterItemTypes */
|
|
1518
|
+
/** @typedef {import("../../declarations/WebpackOptions").FilterTypes} FilterTypes */
|
|
1519
|
+
/** @typedef {import("./Logger").LogTypeEnum} LogTypeEnum */
|
|
1520
|
+
|
|
1521
|
+
/** @typedef {function(string): boolean} FilterFunction */
|
|
1522
|
+
|
|
1523
|
+
/**
|
|
1524
|
+
* @typedef {Object} LoggerConsole
|
|
1525
|
+
* @property {function(): void} clear
|
|
1526
|
+
* @property {function(): void} trace
|
|
1527
|
+
* @property {(...args: any[]) => void} info
|
|
1528
|
+
* @property {(...args: any[]) => void} log
|
|
1529
|
+
* @property {(...args: any[]) => void} warn
|
|
1530
|
+
* @property {(...args: any[]) => void} error
|
|
1531
|
+
* @property {(...args: any[]) => void=} debug
|
|
1532
|
+
* @property {(...args: any[]) => void=} group
|
|
1533
|
+
* @property {(...args: any[]) => void=} groupCollapsed
|
|
1534
|
+
* @property {(...args: any[]) => void=} groupEnd
|
|
1535
|
+
* @property {(...args: any[]) => void=} status
|
|
1536
|
+
* @property {(...args: any[]) => void=} profile
|
|
1537
|
+
* @property {(...args: any[]) => void=} profileEnd
|
|
1538
|
+
* @property {(...args: any[]) => void=} logTime
|
|
1539
|
+
*/
|
|
1540
|
+
|
|
1541
|
+
/**
|
|
1542
|
+
* @typedef {Object} LoggerOptions
|
|
1543
|
+
* @property {false|true|"none"|"error"|"warn"|"info"|"log"|"verbose"} level loglevel
|
|
1544
|
+
* @property {FilterTypes|boolean} debug filter for debug logging
|
|
1545
|
+
* @property {LoggerConsole} console the console to log to
|
|
1546
|
+
*/
|
|
1547
|
+
|
|
1548
|
+
/**
|
|
1549
|
+
* @param {FilterItemTypes} item an input item
|
|
1550
|
+
* @returns {FilterFunction} filter function
|
|
1551
|
+
*/
|
|
1552
|
+
var filterToFunction = function filterToFunction(item) {
|
|
1553
|
+
if (typeof item === "string") {
|
|
1554
|
+
var regExp = new RegExp("[\\\\/]".concat(item.replace(
|
|
1555
|
+
// eslint-disable-next-line no-useless-escape
|
|
1556
|
+
/[-[\]{}()*+?.\\^$|]/g, "\\$&"), "([\\\\/]|$|!|\\?)"));
|
|
1557
|
+
return function (ident) {
|
|
1558
|
+
return regExp.test(ident);
|
|
1559
|
+
};
|
|
1560
|
+
}
|
|
1561
|
+
if (item && typeof item === "object" && typeof item.test === "function") {
|
|
1562
|
+
return function (ident) {
|
|
1563
|
+
return item.test(ident);
|
|
1564
|
+
};
|
|
1565
|
+
}
|
|
1566
|
+
if (typeof item === "function") {
|
|
1567
|
+
return item;
|
|
1568
|
+
}
|
|
1569
|
+
if (typeof item === "boolean") {
|
|
1570
|
+
return function () {
|
|
1571
|
+
return item;
|
|
1572
|
+
};
|
|
1573
|
+
}
|
|
1574
|
+
};
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* @enum {number}
|
|
1578
|
+
*/
|
|
1579
|
+
var LogLevel = {
|
|
1580
|
+
none: 6,
|
|
1581
|
+
false: 6,
|
|
1582
|
+
error: 5,
|
|
1583
|
+
warn: 4,
|
|
1584
|
+
info: 3,
|
|
1585
|
+
log: 2,
|
|
1586
|
+
true: 2,
|
|
1587
|
+
verbose: 1
|
|
1588
|
+
};
|
|
1589
|
+
|
|
1590
|
+
/**
|
|
1591
|
+
* @param {LoggerOptions} options options object
|
|
1592
|
+
* @returns {function(string, LogTypeEnum, any[]): void} logging function
|
|
1593
|
+
*/
|
|
1594
|
+
module.exports = function (_ref) {
|
|
1595
|
+
var _ref$level = _ref.level,
|
|
1596
|
+
level = _ref$level === void 0 ? "info" : _ref$level,
|
|
1597
|
+
_ref$debug = _ref.debug,
|
|
1598
|
+
debug = _ref$debug === void 0 ? false : _ref$debug,
|
|
1599
|
+
console = _ref.console;
|
|
1600
|
+
var debugFilters = typeof debug === "boolean" ? [function () {
|
|
1601
|
+
return debug;
|
|
1602
|
+
}] : /** @type {FilterItemTypes[]} */[].concat(debug).map(filterToFunction);
|
|
1603
|
+
/** @type {number} */
|
|
1604
|
+
var loglevel = LogLevel["".concat(level)] || 0;
|
|
1605
|
+
|
|
1606
|
+
/**
|
|
1607
|
+
* @param {string} name name of the logger
|
|
1608
|
+
* @param {LogTypeEnum} type type of the log entry
|
|
1609
|
+
* @param {any[]} args arguments of the log entry
|
|
1610
|
+
* @returns {void}
|
|
1611
|
+
*/
|
|
1612
|
+
var logger = function logger(name, type, args) {
|
|
1613
|
+
var labeledArgs = function labeledArgs() {
|
|
1614
|
+
if (Array.isArray(args)) {
|
|
1615
|
+
if (args.length > 0 && typeof args[0] === "string") {
|
|
1616
|
+
return ["[".concat(name, "] ").concat(args[0])].concat(_toConsumableArray(args.slice(1)));
|
|
1617
|
+
} else {
|
|
1618
|
+
return ["[".concat(name, "]")].concat(_toConsumableArray(args));
|
|
1619
|
+
}
|
|
1620
|
+
} else {
|
|
1621
|
+
return [];
|
|
1622
|
+
}
|
|
1623
|
+
};
|
|
1624
|
+
var debug = debugFilters.some(function (f) {
|
|
1625
|
+
return f(name);
|
|
1626
|
+
});
|
|
1627
|
+
switch (type) {
|
|
1628
|
+
case LogType.debug:
|
|
1629
|
+
if (!debug) return;
|
|
1630
|
+
// eslint-disable-next-line node/no-unsupported-features/node-builtins
|
|
1631
|
+
if (typeof console.debug === "function") {
|
|
1632
|
+
// eslint-disable-next-line node/no-unsupported-features/node-builtins
|
|
1633
|
+
console.debug.apply(console, _toConsumableArray(labeledArgs()));
|
|
1634
|
+
} else {
|
|
1635
|
+
console.log.apply(console, _toConsumableArray(labeledArgs()));
|
|
1636
|
+
}
|
|
1637
|
+
break;
|
|
1638
|
+
case LogType.log:
|
|
1639
|
+
if (!debug && loglevel > LogLevel.log) return;
|
|
1640
|
+
console.log.apply(console, _toConsumableArray(labeledArgs()));
|
|
1641
|
+
break;
|
|
1642
|
+
case LogType.info:
|
|
1643
|
+
if (!debug && loglevel > LogLevel.info) return;
|
|
1644
|
+
console.info.apply(console, _toConsumableArray(labeledArgs()));
|
|
1645
|
+
break;
|
|
1646
|
+
case LogType.warn:
|
|
1647
|
+
if (!debug && loglevel > LogLevel.warn) return;
|
|
1648
|
+
console.warn.apply(console, _toConsumableArray(labeledArgs()));
|
|
1649
|
+
break;
|
|
1650
|
+
case LogType.error:
|
|
1651
|
+
if (!debug && loglevel > LogLevel.error) return;
|
|
1652
|
+
console.error.apply(console, _toConsumableArray(labeledArgs()));
|
|
1653
|
+
break;
|
|
1654
|
+
case LogType.trace:
|
|
1655
|
+
if (!debug) return;
|
|
1656
|
+
console.trace();
|
|
1657
|
+
break;
|
|
1658
|
+
case LogType.groupCollapsed:
|
|
1659
|
+
if (!debug && loglevel > LogLevel.log) return;
|
|
1660
|
+
if (!debug && loglevel > LogLevel.verbose) {
|
|
1661
|
+
// eslint-disable-next-line node/no-unsupported-features/node-builtins
|
|
1662
|
+
if (typeof console.groupCollapsed === "function") {
|
|
1663
|
+
// eslint-disable-next-line node/no-unsupported-features/node-builtins
|
|
1664
|
+
console.groupCollapsed.apply(console, _toConsumableArray(labeledArgs()));
|
|
1665
|
+
} else {
|
|
1666
|
+
console.log.apply(console, _toConsumableArray(labeledArgs()));
|
|
1667
|
+
}
|
|
1668
|
+
break;
|
|
1669
|
+
}
|
|
1670
|
+
// falls through
|
|
1671
|
+
case LogType.group:
|
|
1672
|
+
if (!debug && loglevel > LogLevel.log) return;
|
|
1673
|
+
// eslint-disable-next-line node/no-unsupported-features/node-builtins
|
|
1674
|
+
if (typeof console.group === "function") {
|
|
1675
|
+
// eslint-disable-next-line node/no-unsupported-features/node-builtins
|
|
1676
|
+
console.group.apply(console, _toConsumableArray(labeledArgs()));
|
|
1677
|
+
} else {
|
|
1678
|
+
console.log.apply(console, _toConsumableArray(labeledArgs()));
|
|
1679
|
+
}
|
|
1680
|
+
break;
|
|
1681
|
+
case LogType.groupEnd:
|
|
1682
|
+
if (!debug && loglevel > LogLevel.log) return;
|
|
1683
|
+
// eslint-disable-next-line node/no-unsupported-features/node-builtins
|
|
1684
|
+
if (typeof console.groupEnd === "function") {
|
|
1685
|
+
// eslint-disable-next-line node/no-unsupported-features/node-builtins
|
|
1686
|
+
console.groupEnd();
|
|
1687
|
+
}
|
|
1688
|
+
break;
|
|
1689
|
+
case LogType.time:
|
|
1690
|
+
{
|
|
1691
|
+
if (!debug && loglevel > LogLevel.log) return;
|
|
1692
|
+
var ms = args[1] * 1000 + args[2] / 1000000;
|
|
1693
|
+
var msg = "[".concat(name, "] ").concat(args[0], ": ").concat(ms, " ms");
|
|
1694
|
+
if (typeof console.logTime === "function") {
|
|
1695
|
+
console.logTime(msg);
|
|
1696
|
+
} else {
|
|
1697
|
+
console.log(msg);
|
|
1698
|
+
}
|
|
1699
|
+
break;
|
|
1700
|
+
}
|
|
1701
|
+
case LogType.profile:
|
|
1702
|
+
// eslint-disable-next-line node/no-unsupported-features/node-builtins
|
|
1703
|
+
if (typeof console.profile === "function") {
|
|
1704
|
+
// eslint-disable-next-line node/no-unsupported-features/node-builtins
|
|
1705
|
+
console.profile.apply(console, _toConsumableArray(labeledArgs()));
|
|
1706
|
+
}
|
|
1707
|
+
break;
|
|
1708
|
+
case LogType.profileEnd:
|
|
1709
|
+
// eslint-disable-next-line node/no-unsupported-features/node-builtins
|
|
1710
|
+
if (typeof console.profileEnd === "function") {
|
|
1711
|
+
// eslint-disable-next-line node/no-unsupported-features/node-builtins
|
|
1712
|
+
console.profileEnd.apply(console, _toConsumableArray(labeledArgs()));
|
|
1713
|
+
}
|
|
1714
|
+
break;
|
|
1715
|
+
case LogType.clear:
|
|
1716
|
+
if (!debug && loglevel > LogLevel.log) return;
|
|
1717
|
+
// eslint-disable-next-line node/no-unsupported-features/node-builtins
|
|
1718
|
+
if (typeof console.clear === "function") {
|
|
1719
|
+
// eslint-disable-next-line node/no-unsupported-features/node-builtins
|
|
1720
|
+
console.clear();
|
|
1721
|
+
}
|
|
1722
|
+
break;
|
|
1723
|
+
case LogType.status:
|
|
1724
|
+
if (!debug && loglevel > LogLevel.info) return;
|
|
1725
|
+
if (typeof console.status === "function") {
|
|
1726
|
+
if (args.length === 0) {
|
|
1727
|
+
console.status();
|
|
1728
|
+
} else {
|
|
1729
|
+
console.status.apply(console, _toConsumableArray(labeledArgs()));
|
|
1730
|
+
}
|
|
1731
|
+
} else {
|
|
1732
|
+
if (args.length !== 0) {
|
|
1733
|
+
console.info.apply(console, _toConsumableArray(labeledArgs()));
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
break;
|
|
1737
|
+
default:
|
|
1738
|
+
throw new Error("Unexpected LogType ".concat(type));
|
|
1739
|
+
}
|
|
1740
|
+
};
|
|
1741
|
+
return logger;
|
|
1742
|
+
};
|
|
1743
|
+
|
|
1744
|
+
/***/ }),
|
|
1745
|
+
|
|
1746
|
+
/***/ "./node_modules/webpack/lib/logging/runtime.js":
|
|
1747
|
+
/*!*****************************************************!*\
|
|
1748
|
+
!*** ./node_modules/webpack/lib/logging/runtime.js ***!
|
|
1749
|
+
\*****************************************************/
|
|
1750
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_21334__) {
|
|
1751
|
+
|
|
1752
|
+
/*
|
|
1753
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
1754
|
+
Author Tobias Koppers @sokra
|
|
1755
|
+
*/
|
|
1756
|
+
|
|
1757
|
+
|
|
1758
|
+
|
|
1759
|
+
function _extends() {
|
|
1760
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
1761
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
1762
|
+
var source = arguments[i];
|
|
1763
|
+
for (var key in source) {
|
|
1764
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
1765
|
+
target[key] = source[key];
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
return target;
|
|
1770
|
+
};
|
|
1771
|
+
return _extends.apply(this, arguments);
|
|
1772
|
+
}
|
|
1773
|
+
var SyncBailHook = __nested_webpack_require_21334__(/*! tapable/lib/SyncBailHook */ "./client-src/modules/logger/SyncBailHookFake.js");
|
|
1774
|
+
var _require = __nested_webpack_require_21334__(/*! ./Logger */ "./node_modules/webpack/lib/logging/Logger.js"),
|
|
1775
|
+
Logger = _require.Logger;
|
|
1776
|
+
var createConsoleLogger = __nested_webpack_require_21334__(/*! ./createConsoleLogger */ "./node_modules/webpack/lib/logging/createConsoleLogger.js");
|
|
1777
|
+
|
|
1778
|
+
/** @type {createConsoleLogger.LoggerOptions} */
|
|
1779
|
+
var currentDefaultLoggerOptions = {
|
|
1780
|
+
level: "info",
|
|
1781
|
+
debug: false,
|
|
1782
|
+
console: console
|
|
1783
|
+
};
|
|
1784
|
+
var currentDefaultLogger = createConsoleLogger(currentDefaultLoggerOptions);
|
|
1785
|
+
|
|
1786
|
+
/**
|
|
1787
|
+
* @param {string} name name of the logger
|
|
1788
|
+
* @returns {Logger} a logger
|
|
1789
|
+
*/
|
|
1790
|
+
exports.getLogger = function (name) {
|
|
1791
|
+
return new Logger(function (type, args) {
|
|
1792
|
+
if (exports.hooks.log.call(name, type, args) === undefined) {
|
|
1793
|
+
currentDefaultLogger(name, type, args);
|
|
1794
|
+
}
|
|
1795
|
+
}, function (childName) {
|
|
1796
|
+
return exports.getLogger("".concat(name, "/").concat(childName));
|
|
1797
|
+
});
|
|
1798
|
+
};
|
|
1799
|
+
|
|
1800
|
+
/**
|
|
1801
|
+
* @param {createConsoleLogger.LoggerOptions} options new options, merge with old options
|
|
1802
|
+
* @returns {void}
|
|
1803
|
+
*/
|
|
1804
|
+
exports.configureDefaultLogger = function (options) {
|
|
1805
|
+
_extends(currentDefaultLoggerOptions, options);
|
|
1806
|
+
currentDefaultLogger = createConsoleLogger(currentDefaultLoggerOptions);
|
|
1807
|
+
};
|
|
1808
|
+
exports.hooks = {
|
|
1809
|
+
log: new SyncBailHook(["origin", "type", "args"])
|
|
1810
|
+
};
|
|
1811
|
+
|
|
1812
|
+
/***/ })
|
|
1813
|
+
|
|
1814
|
+
/******/ });
|
|
1815
|
+
/************************************************************************/
|
|
1816
|
+
/******/ // The module cache
|
|
1817
|
+
/******/ var __webpack_module_cache__ = {};
|
|
1818
|
+
/******/
|
|
1819
|
+
/******/ // The require function
|
|
1820
|
+
/******/ function __nested_webpack_require_23461__(moduleId) {
|
|
1821
|
+
/******/ // Check if module is in cache
|
|
1822
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
1823
|
+
/******/ if (cachedModule !== undefined) {
|
|
1824
|
+
/******/ return cachedModule.exports;
|
|
1825
|
+
/******/ }
|
|
1826
|
+
/******/ // Create a new module (and put it into the cache)
|
|
1827
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
1828
|
+
/******/ // no module.id needed
|
|
1829
|
+
/******/ // no module.loaded needed
|
|
1830
|
+
/******/ exports: {}
|
|
1831
|
+
/******/ };
|
|
1832
|
+
/******/
|
|
1833
|
+
/******/ // Execute the module function
|
|
1834
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_23461__);
|
|
1835
|
+
/******/
|
|
1836
|
+
/******/ // Return the exports of the module
|
|
1837
|
+
/******/ return module.exports;
|
|
1838
|
+
/******/ }
|
|
1839
|
+
/******/
|
|
1840
|
+
/************************************************************************/
|
|
1841
|
+
/******/ /* webpack/runtime/define property getters */
|
|
1842
|
+
/******/ !function() {
|
|
1843
|
+
/******/ // define getter functions for harmony exports
|
|
1844
|
+
/******/ __nested_webpack_require_23461__.d = function(exports, definition) {
|
|
1845
|
+
/******/ for(var key in definition) {
|
|
1846
|
+
/******/ if(__nested_webpack_require_23461__.o(definition, key) && !__nested_webpack_require_23461__.o(exports, key)) {
|
|
1847
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
1848
|
+
/******/ }
|
|
1849
|
+
/******/ }
|
|
1850
|
+
/******/ };
|
|
1851
|
+
/******/ }();
|
|
1852
|
+
/******/
|
|
1853
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
1854
|
+
/******/ !function() {
|
|
1855
|
+
/******/ __nested_webpack_require_23461__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
1856
|
+
/******/ }();
|
|
1857
|
+
/******/
|
|
1858
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
1859
|
+
/******/ !function() {
|
|
1860
|
+
/******/ // define __esModule on exports
|
|
1861
|
+
/******/ __nested_webpack_require_23461__.r = function(exports) {
|
|
1862
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
1863
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
1864
|
+
/******/ }
|
|
1865
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
1866
|
+
/******/ };
|
|
1867
|
+
/******/ }();
|
|
1868
|
+
/******/
|
|
1869
|
+
/************************************************************************/
|
|
1870
|
+
var __nested_webpack_exports__ = {};
|
|
1871
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
1872
|
+
!function() {
|
|
1873
|
+
/*!********************************************!*\
|
|
1874
|
+
!*** ./client-src/modules/logger/index.js ***!
|
|
1875
|
+
\********************************************/
|
|
1876
|
+
__nested_webpack_require_23461__.r(__nested_webpack_exports__);
|
|
1877
|
+
/* harmony export */ __nested_webpack_require_23461__.d(__nested_webpack_exports__, {
|
|
1878
|
+
/* harmony export */ "default": function() { return /* reexport default export from named module */ webpack_lib_logging_runtime_js__WEBPACK_IMPORTED_MODULE_0__; }
|
|
16
1879
|
/* harmony export */ });
|
|
17
|
-
var
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
EVENTS["error"] = "error";
|
|
25
|
-
EVENTS["connect_error"] = "connect_error";
|
|
26
|
-
EVENTS["conversation_closed"] = "conversation_closed";
|
|
27
|
-
EVENTS["welcome_message_request"] = "welcome_message_request";
|
|
28
|
-
EVENTS["user_message"] = "user_message";
|
|
29
|
-
EVENTS["agent_message"] = "agent_message";
|
|
30
|
-
EVENTS["agent_assist_request"] = "agent_assist_request";
|
|
31
|
-
EVENTS["agent_assist_response"] = "agent_assist_response";
|
|
32
|
-
EVENTS["agent_menu_request"] = "agent_menu_request";
|
|
33
|
-
EVENTS["agent_menu_response"] = "agent_menu_response";
|
|
34
|
-
EVENTS["agent_assist_user_message"] = "agent_assist_user_message";
|
|
35
|
-
EVENTS["agent_feedback_request"] = "agent_feedback_request";
|
|
36
|
-
EVENTS["agent_feedback_response"] = "agent_feedback_response";
|
|
37
|
-
EVENTS["agent_usage_feedback"] = "agent_usage_feedback";
|
|
38
|
-
EVENTS["agent_assist_agent_request"] = "agent_assist_agent_request";
|
|
39
|
-
EVENTS["agent_assist_agent_response"] = "agent_assist_agent_response";
|
|
40
|
-
EVENTS["agent_assist_endoftask"] = "agent_assist_endoftask";
|
|
41
|
-
EVENTS["request_resolution_comments"] = "request_resolution_comments";
|
|
42
|
-
EVENTS["response_resolution_comments"] = "response_resolution_comments";
|
|
43
|
-
EVENTS["enable_override_userinput"] = "enable_override_userinput";
|
|
44
|
-
EVENTS["agent_send_or_copy"] = "agent_send_or_copy";
|
|
45
|
-
EVENTS["end_of_conversation"] = "end_of_conversation";
|
|
46
|
-
EVENTS["user_sent_message"] = "user_sent_message";
|
|
47
|
-
EVENTS["agent_sent_message"] = "agent_sent_message";
|
|
48
|
-
EVENTS["agent_coaching_response"] = "agent_coaching_response";
|
|
49
|
-
EVENTS["realtime_sentiment_response"] = "realtime_sentiment_response";
|
|
50
|
-
EVENTS["agent_coaching_ackpress"] = "agent_coaching_ackpress";
|
|
51
|
-
EVENTS["checklist_opened"] = "checklist_opened";
|
|
52
|
-
EVENTS["checklist_step_closed"] = "checklist_step_closed";
|
|
53
|
-
EVENTS["checklist_closed"] = "checklist_closed";
|
|
54
|
-
EVENTS["checklist_step_response"] = "checklist_step_response";
|
|
55
|
-
EVENTS["checklist_response"] = "checklist_response";
|
|
56
|
-
EVENTS["checklist_resume"] = "checklist_resume";
|
|
57
|
-
EVENTS["checklist_proceed_to_closed"] = "checklist_proceed_to_closed";
|
|
58
|
-
EVENTS["internal_transfer"] = "internal_transfer";
|
|
59
|
-
EVENTS["agent_activity_request"] = "agent_activity_request";
|
|
60
|
-
EVENTS["submit_summary_request"] = "submit_summary_request";
|
|
61
|
-
EVENTS["agentassist_control_response"] = "agentassist_control_response";
|
|
62
|
-
EVENTS["response_resolution_comments_ack"] = "response_resolution_comments_ack";
|
|
63
|
-
})(EVENTS || (EVENTS = {}));
|
|
1880
|
+
/* harmony import */ var webpack_lib_logging_runtime_js__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_23461__(/*! webpack/lib/logging/runtime.js */ "./node_modules/webpack/lib/logging/runtime.js");
|
|
1881
|
+
|
|
1882
|
+
}();
|
|
1883
|
+
var __webpack_export_target__ = exports;
|
|
1884
|
+
for(var i in __nested_webpack_exports__) __webpack_export_target__[i] = __nested_webpack_exports__[i];
|
|
1885
|
+
if(__nested_webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true });
|
|
1886
|
+
/******/ })()
|
|
64
1887
|
;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
1888
|
+
|
|
1889
|
+
/***/ }),
|
|
1890
|
+
|
|
1891
|
+
/***/ "./node_modules/webpack-dev-server/client/overlay.js":
|
|
1892
|
+
/*!***********************************************************!*\
|
|
1893
|
+
!*** ./node_modules/webpack-dev-server/client/overlay.js ***!
|
|
1894
|
+
\***********************************************************/
|
|
1895
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1896
|
+
|
|
1897
|
+
"use strict";
|
|
1898
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1899
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1900
|
+
/* harmony export */ createOverlay: () => (/* binding */ createOverlay),
|
|
1901
|
+
/* harmony export */ formatProblem: () => (/* binding */ formatProblem)
|
|
1902
|
+
/* harmony export */ });
|
|
1903
|
+
/* harmony import */ var ansi_html_community__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ansi-html-community */ "./node_modules/ansi-html-community/index.js");
|
|
1904
|
+
/* harmony import */ var ansi_html_community__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(ansi_html_community__WEBPACK_IMPORTED_MODULE_0__);
|
|
1905
|
+
/* harmony import */ var html_entities__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! html-entities */ "./node_modules/html-entities/lib/index.js");
|
|
1906
|
+
/* harmony import */ var html_entities__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(html_entities__WEBPACK_IMPORTED_MODULE_4__);
|
|
1907
|
+
/* harmony import */ var _overlay_runtime_error_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./overlay/runtime-error.js */ "./node_modules/webpack-dev-server/client/overlay/runtime-error.js");
|
|
1908
|
+
/* harmony import */ var _overlay_state_machine_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./overlay/state-machine.js */ "./node_modules/webpack-dev-server/client/overlay/state-machine.js");
|
|
1909
|
+
/* harmony import */ var _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./overlay/styles.js */ "./node_modules/webpack-dev-server/client/overlay/styles.js");
|
|
1910
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
1911
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1912
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1913
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
1914
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
1915
|
+
// The error overlay is inspired (and mostly copied) from Create React App (https://github.com/facebookincubator/create-react-app)
|
|
1916
|
+
// They, in turn, got inspired by webpack-hot-middleware (https://github.com/glenjamin/webpack-hot-middleware).
|
|
1917
|
+
|
|
1918
|
+
|
|
1919
|
+
|
|
1920
|
+
|
|
1921
|
+
|
|
1922
|
+
|
|
1923
|
+
var colors = {
|
|
1924
|
+
reset: ["transparent", "transparent"],
|
|
1925
|
+
black: "181818",
|
|
1926
|
+
red: "E36049",
|
|
1927
|
+
green: "B3CB74",
|
|
1928
|
+
yellow: "FFD080",
|
|
1929
|
+
blue: "7CAFC2",
|
|
1930
|
+
magenta: "7FACCA",
|
|
1931
|
+
cyan: "C3C2EF",
|
|
1932
|
+
lightgrey: "EBE7E3",
|
|
1933
|
+
darkgrey: "6D7891"
|
|
1934
|
+
};
|
|
1935
|
+
ansi_html_community__WEBPACK_IMPORTED_MODULE_0___default().setColors(colors);
|
|
1936
|
+
|
|
1937
|
+
/**
|
|
1938
|
+
* @param {string} type
|
|
1939
|
+
* @param {string | { file?: string, moduleName?: string, loc?: string, message?: string; stack?: string[] }} item
|
|
1940
|
+
* @returns {{ header: string, body: string }}
|
|
1941
|
+
*/
|
|
1942
|
+
function formatProblem(type, item) {
|
|
1943
|
+
var header = type === "warning" ? "WARNING" : "ERROR";
|
|
1944
|
+
var body = "";
|
|
1945
|
+
if (typeof item === "string") {
|
|
1946
|
+
body += item;
|
|
1947
|
+
} else {
|
|
1948
|
+
var file = item.file || "";
|
|
1949
|
+
// eslint-disable-next-line no-nested-ternary
|
|
1950
|
+
var moduleName = item.moduleName ? item.moduleName.indexOf("!") !== -1 ? "".concat(item.moduleName.replace(/^(\s|\S)*!/, ""), " (").concat(item.moduleName, ")") : "".concat(item.moduleName) : "";
|
|
1951
|
+
var loc = item.loc;
|
|
1952
|
+
header += "".concat(moduleName || file ? " in ".concat(moduleName ? "".concat(moduleName).concat(file ? " (".concat(file, ")") : "") : file).concat(loc ? " ".concat(loc) : "") : "");
|
|
1953
|
+
body += item.message || "";
|
|
1954
|
+
}
|
|
1955
|
+
if (Array.isArray(item.stack)) {
|
|
1956
|
+
item.stack.forEach(function (stack) {
|
|
1957
|
+
if (typeof stack === "string") {
|
|
1958
|
+
body += "\r\n".concat(stack);
|
|
1959
|
+
}
|
|
1960
|
+
});
|
|
1961
|
+
}
|
|
1962
|
+
return {
|
|
1963
|
+
header: header,
|
|
1964
|
+
body: body
|
|
1965
|
+
};
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
/**
|
|
1969
|
+
* @typedef {Object} CreateOverlayOptions
|
|
1970
|
+
* @property {string | null} trustedTypesPolicyName
|
|
1971
|
+
* @property {boolean | (error: Error) => void} [catchRuntimeError]
|
|
1972
|
+
*/
|
|
1973
|
+
|
|
1974
|
+
/**
|
|
1975
|
+
*
|
|
1976
|
+
* @param {CreateOverlayOptions} options
|
|
1977
|
+
*/
|
|
1978
|
+
var createOverlay = function createOverlay(options) {
|
|
1979
|
+
/** @type {HTMLIFrameElement | null | undefined} */
|
|
1980
|
+
var iframeContainerElement;
|
|
1981
|
+
/** @type {HTMLDivElement | null | undefined} */
|
|
1982
|
+
var containerElement;
|
|
1983
|
+
/** @type {HTMLDivElement | null | undefined} */
|
|
1984
|
+
var headerElement;
|
|
1985
|
+
/** @type {Array<(element: HTMLDivElement) => void>} */
|
|
1986
|
+
var onLoadQueue = [];
|
|
1987
|
+
/** @type {TrustedTypePolicy | undefined} */
|
|
1988
|
+
var overlayTrustedTypesPolicy;
|
|
1989
|
+
|
|
1990
|
+
/**
|
|
1991
|
+
*
|
|
1992
|
+
* @param {HTMLElement} element
|
|
1993
|
+
* @param {CSSStyleDeclaration} style
|
|
1994
|
+
*/
|
|
1995
|
+
function applyStyle(element, style) {
|
|
1996
|
+
Object.keys(style).forEach(function (prop) {
|
|
1997
|
+
element.style[prop] = style[prop];
|
|
1998
|
+
});
|
|
1999
|
+
}
|
|
2000
|
+
|
|
2001
|
+
/**
|
|
2002
|
+
* @param {string | null} trustedTypesPolicyName
|
|
2003
|
+
*/
|
|
2004
|
+
function createContainer(trustedTypesPolicyName) {
|
|
2005
|
+
// Enable Trusted Types if they are available in the current browser.
|
|
2006
|
+
if (window.trustedTypes) {
|
|
2007
|
+
overlayTrustedTypesPolicy = window.trustedTypes.createPolicy(trustedTypesPolicyName || "webpack-dev-server#overlay", {
|
|
2008
|
+
createHTML: function createHTML(value) {
|
|
2009
|
+
return value;
|
|
2010
|
+
}
|
|
2011
|
+
});
|
|
2012
|
+
}
|
|
2013
|
+
iframeContainerElement = document.createElement("iframe");
|
|
2014
|
+
iframeContainerElement.id = "webpack-dev-server-client-overlay";
|
|
2015
|
+
iframeContainerElement.src = "about:blank";
|
|
2016
|
+
applyStyle(iframeContainerElement, _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__.iframeStyle);
|
|
2017
|
+
iframeContainerElement.onload = function () {
|
|
2018
|
+
var contentElement = /** @type {Document} */
|
|
2019
|
+
/** @type {HTMLIFrameElement} */
|
|
2020
|
+
iframeContainerElement.contentDocument.createElement("div");
|
|
2021
|
+
containerElement = /** @type {Document} */
|
|
2022
|
+
/** @type {HTMLIFrameElement} */
|
|
2023
|
+
iframeContainerElement.contentDocument.createElement("div");
|
|
2024
|
+
contentElement.id = "webpack-dev-server-client-overlay-div";
|
|
2025
|
+
applyStyle(contentElement, _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__.containerStyle);
|
|
2026
|
+
headerElement = document.createElement("div");
|
|
2027
|
+
headerElement.innerText = "Compiled with problems:";
|
|
2028
|
+
applyStyle(headerElement, _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__.headerStyle);
|
|
2029
|
+
var closeButtonElement = document.createElement("button");
|
|
2030
|
+
applyStyle(closeButtonElement, _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__.dismissButtonStyle);
|
|
2031
|
+
closeButtonElement.innerText = "×";
|
|
2032
|
+
closeButtonElement.ariaLabel = "Dismiss";
|
|
2033
|
+
closeButtonElement.addEventListener("click", function () {
|
|
2034
|
+
// eslint-disable-next-line no-use-before-define
|
|
2035
|
+
overlayService.send({
|
|
2036
|
+
type: "DISMISS"
|
|
2037
|
+
});
|
|
2038
|
+
});
|
|
2039
|
+
contentElement.appendChild(headerElement);
|
|
2040
|
+
contentElement.appendChild(closeButtonElement);
|
|
2041
|
+
contentElement.appendChild(containerElement);
|
|
2042
|
+
|
|
2043
|
+
/** @type {Document} */
|
|
2044
|
+
/** @type {HTMLIFrameElement} */
|
|
2045
|
+
iframeContainerElement.contentDocument.body.appendChild(contentElement);
|
|
2046
|
+
onLoadQueue.forEach(function (onLoad) {
|
|
2047
|
+
onLoad( /** @type {HTMLDivElement} */contentElement);
|
|
2048
|
+
});
|
|
2049
|
+
onLoadQueue = [];
|
|
2050
|
+
|
|
2051
|
+
/** @type {HTMLIFrameElement} */
|
|
2052
|
+
iframeContainerElement.onload = null;
|
|
2053
|
+
};
|
|
2054
|
+
document.body.appendChild(iframeContainerElement);
|
|
2055
|
+
}
|
|
2056
|
+
|
|
2057
|
+
/**
|
|
2058
|
+
* @param {(element: HTMLDivElement) => void} callback
|
|
2059
|
+
* @param {string | null} trustedTypesPolicyName
|
|
2060
|
+
*/
|
|
2061
|
+
function ensureOverlayExists(callback, trustedTypesPolicyName) {
|
|
2062
|
+
if (containerElement) {
|
|
2063
|
+
containerElement.innerHTML = "";
|
|
2064
|
+
// Everything is ready, call the callback right away.
|
|
2065
|
+
callback(containerElement);
|
|
2066
|
+
return;
|
|
2067
|
+
}
|
|
2068
|
+
onLoadQueue.push(callback);
|
|
2069
|
+
if (iframeContainerElement) {
|
|
2070
|
+
return;
|
|
2071
|
+
}
|
|
2072
|
+
createContainer(trustedTypesPolicyName);
|
|
2073
|
+
}
|
|
2074
|
+
|
|
2075
|
+
// Successful compilation.
|
|
2076
|
+
function hide() {
|
|
2077
|
+
if (!iframeContainerElement) {
|
|
2078
|
+
return;
|
|
2079
|
+
}
|
|
2080
|
+
|
|
2081
|
+
// Clean up and reset internal state.
|
|
2082
|
+
document.body.removeChild(iframeContainerElement);
|
|
2083
|
+
iframeContainerElement = null;
|
|
2084
|
+
containerElement = null;
|
|
2085
|
+
}
|
|
2086
|
+
|
|
2087
|
+
// Compilation with errors (e.g. syntax error or missing modules).
|
|
2088
|
+
/**
|
|
2089
|
+
* @param {string} type
|
|
2090
|
+
* @param {Array<string | { moduleIdentifier?: string, moduleName?: string, loc?: string, message?: string }>} messages
|
|
2091
|
+
* @param {string | null} trustedTypesPolicyName
|
|
2092
|
+
* @param {'build' | 'runtime'} messageSource
|
|
2093
|
+
*/
|
|
2094
|
+
function show(type, messages, trustedTypesPolicyName, messageSource) {
|
|
2095
|
+
ensureOverlayExists(function () {
|
|
2096
|
+
headerElement.innerText = messageSource === "runtime" ? "Uncaught runtime errors:" : "Compiled with problems:";
|
|
2097
|
+
messages.forEach(function (message) {
|
|
2098
|
+
var entryElement = document.createElement("div");
|
|
2099
|
+
var msgStyle = type === "warning" ? _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__.msgStyles.warning : _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__.msgStyles.error;
|
|
2100
|
+
applyStyle(entryElement, _objectSpread(_objectSpread({}, msgStyle), {}, {
|
|
2101
|
+
padding: "1rem 1rem 1.5rem 1rem"
|
|
2102
|
+
}));
|
|
2103
|
+
var typeElement = document.createElement("div");
|
|
2104
|
+
var _formatProblem = formatProblem(type, message),
|
|
2105
|
+
header = _formatProblem.header,
|
|
2106
|
+
body = _formatProblem.body;
|
|
2107
|
+
typeElement.innerText = header;
|
|
2108
|
+
applyStyle(typeElement, _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__.msgTypeStyle);
|
|
2109
|
+
if (message.moduleIdentifier) {
|
|
2110
|
+
applyStyle(typeElement, {
|
|
2111
|
+
cursor: "pointer"
|
|
2112
|
+
});
|
|
2113
|
+
// element.dataset not supported in IE
|
|
2114
|
+
typeElement.setAttribute("data-can-open", true);
|
|
2115
|
+
typeElement.addEventListener("click", function () {
|
|
2116
|
+
fetch("/webpack-dev-server/open-editor?fileName=".concat(message.moduleIdentifier));
|
|
2117
|
+
});
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
// Make it look similar to our terminal.
|
|
2121
|
+
var text = ansi_html_community__WEBPACK_IMPORTED_MODULE_0___default()((0,html_entities__WEBPACK_IMPORTED_MODULE_4__.encode)(body));
|
|
2122
|
+
var messageTextNode = document.createElement("div");
|
|
2123
|
+
applyStyle(messageTextNode, _overlay_styles_js__WEBPACK_IMPORTED_MODULE_3__.msgTextStyle);
|
|
2124
|
+
messageTextNode.innerHTML = overlayTrustedTypesPolicy ? overlayTrustedTypesPolicy.createHTML(text) : text;
|
|
2125
|
+
entryElement.appendChild(typeElement);
|
|
2126
|
+
entryElement.appendChild(messageTextNode);
|
|
2127
|
+
|
|
2128
|
+
/** @type {HTMLDivElement} */
|
|
2129
|
+
containerElement.appendChild(entryElement);
|
|
2130
|
+
});
|
|
2131
|
+
}, trustedTypesPolicyName);
|
|
2132
|
+
}
|
|
2133
|
+
var overlayService = (0,_overlay_state_machine_js__WEBPACK_IMPORTED_MODULE_2__["default"])({
|
|
2134
|
+
showOverlay: function showOverlay(_ref) {
|
|
2135
|
+
var _ref$level = _ref.level,
|
|
2136
|
+
level = _ref$level === void 0 ? "error" : _ref$level,
|
|
2137
|
+
messages = _ref.messages,
|
|
2138
|
+
messageSource = _ref.messageSource;
|
|
2139
|
+
return show(level, messages, options.trustedTypesPolicyName, messageSource);
|
|
2140
|
+
},
|
|
2141
|
+
hideOverlay: hide
|
|
2142
|
+
});
|
|
2143
|
+
if (options.catchRuntimeError) {
|
|
2144
|
+
/**
|
|
2145
|
+
* @param {Error | undefined} error
|
|
2146
|
+
* @param {string} fallbackMessage
|
|
2147
|
+
*/
|
|
2148
|
+
var handleError = function handleError(error, fallbackMessage) {
|
|
2149
|
+
var errorObject = error instanceof Error ? error : new Error(error || fallbackMessage);
|
|
2150
|
+
var shouldDisplay = typeof options.catchRuntimeError === "function" ? options.catchRuntimeError(errorObject) : true;
|
|
2151
|
+
if (shouldDisplay) {
|
|
2152
|
+
overlayService.send({
|
|
2153
|
+
type: "RUNTIME_ERROR",
|
|
2154
|
+
messages: [{
|
|
2155
|
+
message: errorObject.message,
|
|
2156
|
+
stack: (0,_overlay_runtime_error_js__WEBPACK_IMPORTED_MODULE_1__.parseErrorToStacks)(errorObject)
|
|
2157
|
+
}]
|
|
2158
|
+
});
|
|
2159
|
+
}
|
|
2160
|
+
};
|
|
2161
|
+
(0,_overlay_runtime_error_js__WEBPACK_IMPORTED_MODULE_1__.listenToRuntimeError)(function (errorEvent) {
|
|
2162
|
+
// error property may be empty in older browser like IE
|
|
2163
|
+
var error = errorEvent.error,
|
|
2164
|
+
message = errorEvent.message;
|
|
2165
|
+
if (!error && !message) {
|
|
2166
|
+
return;
|
|
2167
|
+
}
|
|
2168
|
+
handleError(error, message);
|
|
2169
|
+
});
|
|
2170
|
+
(0,_overlay_runtime_error_js__WEBPACK_IMPORTED_MODULE_1__.listenToUnhandledRejection)(function (promiseRejectionEvent) {
|
|
2171
|
+
var reason = promiseRejectionEvent.reason;
|
|
2172
|
+
handleError(reason, "Unknown promise rejection reason");
|
|
2173
|
+
});
|
|
2174
|
+
}
|
|
2175
|
+
return overlayService;
|
|
2176
|
+
};
|
|
2177
|
+
|
|
2178
|
+
|
|
2179
|
+
/***/ }),
|
|
2180
|
+
|
|
2181
|
+
/***/ "./node_modules/webpack-dev-server/client/overlay/fsm.js":
|
|
2182
|
+
/*!***************************************************************!*\
|
|
2183
|
+
!*** ./node_modules/webpack-dev-server/client/overlay/fsm.js ***!
|
|
2184
|
+
\***************************************************************/
|
|
2185
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2186
|
+
|
|
2187
|
+
"use strict";
|
|
2188
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2189
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2190
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
2191
|
+
/* harmony export */ });
|
|
2192
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2193
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2194
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2195
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
2196
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
2197
|
+
/**
|
|
2198
|
+
* @typedef {Object} StateDefinitions
|
|
2199
|
+
* @property {{[event: string]: { target: string; actions?: Array<string> }}} [on]
|
|
2200
|
+
*/
|
|
2201
|
+
|
|
2202
|
+
/**
|
|
2203
|
+
* @typedef {Object} Options
|
|
2204
|
+
* @property {{[state: string]: StateDefinitions}} states
|
|
2205
|
+
* @property {object} context;
|
|
2206
|
+
* @property {string} initial
|
|
2207
|
+
*/
|
|
2208
|
+
|
|
2209
|
+
/**
|
|
2210
|
+
* @typedef {Object} Implementation
|
|
2211
|
+
* @property {{[actionName: string]: (ctx: object, event: any) => object}} actions
|
|
2212
|
+
*/
|
|
2213
|
+
|
|
2214
|
+
/**
|
|
2215
|
+
* A simplified `createMachine` from `@xstate/fsm` with the following differences:
|
|
2216
|
+
*
|
|
2217
|
+
* - the returned machine is technically a "service". No `interpret(machine).start()` is needed.
|
|
2218
|
+
* - the state definition only support `on` and target must be declared with { target: 'nextState', actions: [] } explicitly.
|
|
2219
|
+
* - event passed to `send` must be an object with `type` property.
|
|
2220
|
+
* - actions implementation will be [assign action](https://xstate.js.org/docs/guides/context.html#assign-action) if you return any value.
|
|
2221
|
+
* Do not return anything if you just want to invoke side effect.
|
|
2222
|
+
*
|
|
2223
|
+
* The goal of this custom function is to avoid installing the entire `'xstate/fsm'` package, while enabling modeling using
|
|
2224
|
+
* state machine. You can copy the first parameter into the editor at https://stately.ai/viz to visualize the state machine.
|
|
2225
|
+
*
|
|
2226
|
+
* @param {Options} options
|
|
2227
|
+
* @param {Implementation} implementation
|
|
2228
|
+
*/
|
|
2229
|
+
function createMachine(_ref, _ref2) {
|
|
2230
|
+
var states = _ref.states,
|
|
2231
|
+
context = _ref.context,
|
|
2232
|
+
initial = _ref.initial;
|
|
2233
|
+
var actions = _ref2.actions;
|
|
2234
|
+
var currentState = initial;
|
|
2235
|
+
var currentContext = context;
|
|
2236
|
+
return {
|
|
2237
|
+
send: function send(event) {
|
|
2238
|
+
var currentStateOn = states[currentState].on;
|
|
2239
|
+
var transitionConfig = currentStateOn && currentStateOn[event.type];
|
|
2240
|
+
if (transitionConfig) {
|
|
2241
|
+
currentState = transitionConfig.target;
|
|
2242
|
+
if (transitionConfig.actions) {
|
|
2243
|
+
transitionConfig.actions.forEach(function (actName) {
|
|
2244
|
+
var actionImpl = actions[actName];
|
|
2245
|
+
var nextContextValue = actionImpl && actionImpl(currentContext, event);
|
|
2246
|
+
if (nextContextValue) {
|
|
2247
|
+
currentContext = _objectSpread(_objectSpread({}, currentContext), nextContextValue);
|
|
2248
|
+
}
|
|
2249
|
+
});
|
|
2250
|
+
}
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
};
|
|
2254
|
+
}
|
|
2255
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createMachine);
|
|
2256
|
+
|
|
2257
|
+
/***/ }),
|
|
2258
|
+
|
|
2259
|
+
/***/ "./node_modules/webpack-dev-server/client/overlay/runtime-error.js":
|
|
2260
|
+
/*!*************************************************************************!*\
|
|
2261
|
+
!*** ./node_modules/webpack-dev-server/client/overlay/runtime-error.js ***!
|
|
2262
|
+
\*************************************************************************/
|
|
2263
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2264
|
+
|
|
2265
|
+
"use strict";
|
|
2266
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2267
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2268
|
+
/* harmony export */ listenToRuntimeError: () => (/* binding */ listenToRuntimeError),
|
|
2269
|
+
/* harmony export */ listenToUnhandledRejection: () => (/* binding */ listenToUnhandledRejection),
|
|
2270
|
+
/* harmony export */ parseErrorToStacks: () => (/* binding */ parseErrorToStacks)
|
|
2271
|
+
/* harmony export */ });
|
|
2272
|
+
/**
|
|
2273
|
+
*
|
|
2274
|
+
* @param {Error} error
|
|
2275
|
+
*/
|
|
2276
|
+
function parseErrorToStacks(error) {
|
|
2277
|
+
if (!error || !(error instanceof Error)) {
|
|
2278
|
+
throw new Error("parseErrorToStacks expects Error object");
|
|
2279
|
+
}
|
|
2280
|
+
if (typeof error.stack === "string") {
|
|
2281
|
+
return error.stack.split("\n").filter(function (stack) {
|
|
2282
|
+
return stack !== "Error: ".concat(error.message);
|
|
2283
|
+
});
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2287
|
+
/**
|
|
2288
|
+
* @callback ErrorCallback
|
|
2289
|
+
* @param {ErrorEvent} error
|
|
2290
|
+
* @returns {void}
|
|
2291
|
+
*/
|
|
2292
|
+
|
|
2293
|
+
/**
|
|
2294
|
+
* @param {ErrorCallback} callback
|
|
2295
|
+
*/
|
|
2296
|
+
function listenToRuntimeError(callback) {
|
|
2297
|
+
window.addEventListener("error", callback);
|
|
2298
|
+
return function cleanup() {
|
|
2299
|
+
window.removeEventListener("error", callback);
|
|
2300
|
+
};
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2303
|
+
/**
|
|
2304
|
+
* @callback UnhandledRejectionCallback
|
|
2305
|
+
* @param {PromiseRejectionEvent} rejectionEvent
|
|
2306
|
+
* @returns {void}
|
|
2307
|
+
*/
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* @param {UnhandledRejectionCallback} callback
|
|
2311
|
+
*/
|
|
2312
|
+
function listenToUnhandledRejection(callback) {
|
|
2313
|
+
window.addEventListener("unhandledrejection", callback);
|
|
2314
|
+
return function cleanup() {
|
|
2315
|
+
window.removeEventListener("unhandledrejection", callback);
|
|
2316
|
+
};
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
|
|
2320
|
+
/***/ }),
|
|
2321
|
+
|
|
2322
|
+
/***/ "./node_modules/webpack-dev-server/client/overlay/state-machine.js":
|
|
2323
|
+
/*!*************************************************************************!*\
|
|
2324
|
+
!*** ./node_modules/webpack-dev-server/client/overlay/state-machine.js ***!
|
|
2325
|
+
\*************************************************************************/
|
|
2326
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2327
|
+
|
|
2328
|
+
"use strict";
|
|
2329
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2330
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2331
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
2332
|
+
/* harmony export */ });
|
|
2333
|
+
/* harmony import */ var _fsm_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fsm.js */ "./node_modules/webpack-dev-server/client/overlay/fsm.js");
|
|
2334
|
+
|
|
2335
|
+
|
|
2336
|
+
/**
|
|
2337
|
+
* @typedef {Object} ShowOverlayData
|
|
2338
|
+
* @property {'warning' | 'error'} level
|
|
2339
|
+
* @property {Array<string | { moduleIdentifier?: string, moduleName?: string, loc?: string, message?: string }>} messages
|
|
2340
|
+
* @property {'build' | 'runtime'} messageSource
|
|
2341
|
+
*/
|
|
2342
|
+
|
|
2343
|
+
/**
|
|
2344
|
+
* @typedef {Object} CreateOverlayMachineOptions
|
|
2345
|
+
* @property {(data: ShowOverlayData) => void} showOverlay
|
|
2346
|
+
* @property {() => void} hideOverlay
|
|
2347
|
+
*/
|
|
2348
|
+
|
|
2349
|
+
/**
|
|
2350
|
+
* @param {CreateOverlayMachineOptions} options
|
|
2351
|
+
*/
|
|
2352
|
+
var createOverlayMachine = function createOverlayMachine(options) {
|
|
2353
|
+
var hideOverlay = options.hideOverlay,
|
|
2354
|
+
showOverlay = options.showOverlay;
|
|
2355
|
+
var overlayMachine = (0,_fsm_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
|
|
2356
|
+
initial: "hidden",
|
|
2357
|
+
context: {
|
|
2358
|
+
level: "error",
|
|
2359
|
+
messages: [],
|
|
2360
|
+
messageSource: "build"
|
|
2361
|
+
},
|
|
2362
|
+
states: {
|
|
2363
|
+
hidden: {
|
|
2364
|
+
on: {
|
|
2365
|
+
BUILD_ERROR: {
|
|
2366
|
+
target: "displayBuildError",
|
|
2367
|
+
actions: ["setMessages", "showOverlay"]
|
|
2368
|
+
},
|
|
2369
|
+
RUNTIME_ERROR: {
|
|
2370
|
+
target: "displayRuntimeError",
|
|
2371
|
+
actions: ["setMessages", "showOverlay"]
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2375
|
+
displayBuildError: {
|
|
2376
|
+
on: {
|
|
2377
|
+
DISMISS: {
|
|
2378
|
+
target: "hidden",
|
|
2379
|
+
actions: ["dismissMessages", "hideOverlay"]
|
|
2380
|
+
},
|
|
2381
|
+
BUILD_ERROR: {
|
|
2382
|
+
target: "displayBuildError",
|
|
2383
|
+
actions: ["appendMessages", "showOverlay"]
|
|
2384
|
+
}
|
|
2385
|
+
}
|
|
2386
|
+
},
|
|
2387
|
+
displayRuntimeError: {
|
|
2388
|
+
on: {
|
|
2389
|
+
DISMISS: {
|
|
2390
|
+
target: "hidden",
|
|
2391
|
+
actions: ["dismissMessages", "hideOverlay"]
|
|
2392
|
+
},
|
|
2393
|
+
RUNTIME_ERROR: {
|
|
2394
|
+
target: "displayRuntimeError",
|
|
2395
|
+
actions: ["appendMessages", "showOverlay"]
|
|
2396
|
+
},
|
|
2397
|
+
BUILD_ERROR: {
|
|
2398
|
+
target: "displayBuildError",
|
|
2399
|
+
actions: ["setMessages", "showOverlay"]
|
|
2400
|
+
}
|
|
2401
|
+
}
|
|
2402
|
+
}
|
|
2403
|
+
}
|
|
2404
|
+
}, {
|
|
2405
|
+
actions: {
|
|
2406
|
+
dismissMessages: function dismissMessages() {
|
|
2407
|
+
return {
|
|
2408
|
+
messages: [],
|
|
2409
|
+
level: "error",
|
|
2410
|
+
messageSource: "build"
|
|
2411
|
+
};
|
|
2412
|
+
},
|
|
2413
|
+
appendMessages: function appendMessages(context, event) {
|
|
2414
|
+
return {
|
|
2415
|
+
messages: context.messages.concat(event.messages),
|
|
2416
|
+
level: event.level || context.level,
|
|
2417
|
+
messageSource: event.type === "RUNTIME_ERROR" ? "runtime" : "build"
|
|
2418
|
+
};
|
|
2419
|
+
},
|
|
2420
|
+
setMessages: function setMessages(context, event) {
|
|
2421
|
+
return {
|
|
2422
|
+
messages: event.messages,
|
|
2423
|
+
level: event.level || context.level,
|
|
2424
|
+
messageSource: event.type === "RUNTIME_ERROR" ? "runtime" : "build"
|
|
2425
|
+
};
|
|
2426
|
+
},
|
|
2427
|
+
hideOverlay: hideOverlay,
|
|
2428
|
+
showOverlay: showOverlay
|
|
2429
|
+
}
|
|
2430
|
+
});
|
|
2431
|
+
return overlayMachine;
|
|
2432
|
+
};
|
|
2433
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createOverlayMachine);
|
|
2434
|
+
|
|
2435
|
+
/***/ }),
|
|
2436
|
+
|
|
2437
|
+
/***/ "./node_modules/webpack-dev-server/client/overlay/styles.js":
|
|
2438
|
+
/*!******************************************************************!*\
|
|
2439
|
+
!*** ./node_modules/webpack-dev-server/client/overlay/styles.js ***!
|
|
2440
|
+
\******************************************************************/
|
|
2441
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2442
|
+
|
|
2443
|
+
"use strict";
|
|
2444
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2445
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2446
|
+
/* harmony export */ containerStyle: () => (/* binding */ containerStyle),
|
|
2447
|
+
/* harmony export */ dismissButtonStyle: () => (/* binding */ dismissButtonStyle),
|
|
2448
|
+
/* harmony export */ headerStyle: () => (/* binding */ headerStyle),
|
|
2449
|
+
/* harmony export */ iframeStyle: () => (/* binding */ iframeStyle),
|
|
2450
|
+
/* harmony export */ msgStyles: () => (/* binding */ msgStyles),
|
|
2451
|
+
/* harmony export */ msgTextStyle: () => (/* binding */ msgTextStyle),
|
|
2452
|
+
/* harmony export */ msgTypeStyle: () => (/* binding */ msgTypeStyle)
|
|
2453
|
+
/* harmony export */ });
|
|
2454
|
+
// styles are inspired by `react-error-overlay`
|
|
2455
|
+
|
|
2456
|
+
var msgStyles = {
|
|
2457
|
+
error: {
|
|
2458
|
+
backgroundColor: "rgba(206, 17, 38, 0.1)",
|
|
2459
|
+
color: "#fccfcf"
|
|
2460
|
+
},
|
|
2461
|
+
warning: {
|
|
2462
|
+
backgroundColor: "rgba(251, 245, 180, 0.1)",
|
|
2463
|
+
color: "#fbf5b4"
|
|
2464
|
+
}
|
|
2465
|
+
};
|
|
2466
|
+
var iframeStyle = {
|
|
2467
|
+
position: "fixed",
|
|
2468
|
+
top: 0,
|
|
2469
|
+
left: 0,
|
|
2470
|
+
right: 0,
|
|
2471
|
+
bottom: 0,
|
|
2472
|
+
width: "100vw",
|
|
2473
|
+
height: "100vh",
|
|
2474
|
+
border: "none",
|
|
2475
|
+
"z-index": 9999999999
|
|
2476
|
+
};
|
|
2477
|
+
var containerStyle = {
|
|
2478
|
+
position: "fixed",
|
|
2479
|
+
boxSizing: "border-box",
|
|
2480
|
+
left: 0,
|
|
2481
|
+
top: 0,
|
|
2482
|
+
right: 0,
|
|
2483
|
+
bottom: 0,
|
|
2484
|
+
width: "100vw",
|
|
2485
|
+
height: "100vh",
|
|
2486
|
+
fontSize: "large",
|
|
2487
|
+
padding: "2rem 2rem 4rem 2rem",
|
|
2488
|
+
lineHeight: "1.2",
|
|
2489
|
+
whiteSpace: "pre-wrap",
|
|
2490
|
+
overflow: "auto",
|
|
2491
|
+
backgroundColor: "rgba(0, 0, 0, 0.9)",
|
|
2492
|
+
color: "white"
|
|
2493
|
+
};
|
|
2494
|
+
var headerStyle = {
|
|
2495
|
+
color: "#e83b46",
|
|
2496
|
+
fontSize: "2em",
|
|
2497
|
+
whiteSpace: "pre-wrap",
|
|
2498
|
+
fontFamily: "sans-serif",
|
|
2499
|
+
margin: "0 2rem 2rem 0",
|
|
2500
|
+
flex: "0 0 auto",
|
|
2501
|
+
maxHeight: "50%",
|
|
2502
|
+
overflow: "auto"
|
|
2503
|
+
};
|
|
2504
|
+
var dismissButtonStyle = {
|
|
2505
|
+
color: "#ffffff",
|
|
2506
|
+
lineHeight: "1rem",
|
|
2507
|
+
fontSize: "1.5rem",
|
|
2508
|
+
padding: "1rem",
|
|
2509
|
+
cursor: "pointer",
|
|
2510
|
+
position: "absolute",
|
|
2511
|
+
right: 0,
|
|
2512
|
+
top: 0,
|
|
2513
|
+
backgroundColor: "transparent",
|
|
2514
|
+
border: "none"
|
|
2515
|
+
};
|
|
2516
|
+
var msgTypeStyle = {
|
|
2517
|
+
color: "#e83b46",
|
|
2518
|
+
fontSize: "1.2em",
|
|
2519
|
+
marginBottom: "1rem",
|
|
2520
|
+
fontFamily: "sans-serif"
|
|
2521
|
+
};
|
|
2522
|
+
var msgTextStyle = {
|
|
2523
|
+
lineHeight: "1.5",
|
|
2524
|
+
fontSize: "1rem",
|
|
2525
|
+
fontFamily: "Menlo, Consolas, monospace"
|
|
2526
|
+
};
|
|
2527
|
+
|
|
2528
|
+
|
|
2529
|
+
/***/ }),
|
|
2530
|
+
|
|
2531
|
+
/***/ "./node_modules/webpack-dev-server/client/socket.js":
|
|
2532
|
+
/*!**********************************************************!*\
|
|
2533
|
+
!*** ./node_modules/webpack-dev-server/client/socket.js ***!
|
|
2534
|
+
\**********************************************************/
|
|
2535
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2536
|
+
|
|
2537
|
+
"use strict";
|
|
2538
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2539
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2540
|
+
/* harmony export */ client: () => (/* binding */ client),
|
|
2541
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
2542
|
+
/* harmony export */ });
|
|
2543
|
+
/* harmony import */ var _clients_WebSocketClient_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./clients/WebSocketClient.js */ "./node_modules/webpack-dev-server/client/clients/WebSocketClient.js");
|
|
2544
|
+
/* harmony import */ var _utils_log_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/log.js */ "./node_modules/webpack-dev-server/client/utils/log.js");
|
|
2545
|
+
/* provided dependency */ var __webpack_dev_server_client__ = __webpack_require__(/*! ./node_modules/webpack-dev-server/client/clients/WebSocketClient.js */ "./node_modules/webpack-dev-server/client/clients/WebSocketClient.js");
|
|
2546
|
+
/* global __webpack_dev_server_client__ */
|
|
2547
|
+
|
|
2548
|
+
|
|
2549
|
+
|
|
2550
|
+
|
|
2551
|
+
// this WebsocketClient is here as a default fallback, in case the client is not injected
|
|
2552
|
+
/* eslint-disable camelcase */
|
|
2553
|
+
var Client =
|
|
2554
|
+
// eslint-disable-next-line no-nested-ternary
|
|
2555
|
+
typeof __webpack_dev_server_client__ !== "undefined" ? typeof __webpack_dev_server_client__.default !== "undefined" ? __webpack_dev_server_client__.default : __webpack_dev_server_client__ : _clients_WebSocketClient_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
2556
|
+
/* eslint-enable camelcase */
|
|
2557
|
+
|
|
2558
|
+
var retries = 0;
|
|
2559
|
+
var maxRetries = 10;
|
|
2560
|
+
|
|
2561
|
+
// Initialized client is exported so external consumers can utilize the same instance
|
|
2562
|
+
// It is mutable to enforce singleton
|
|
2563
|
+
// eslint-disable-next-line import/no-mutable-exports
|
|
2564
|
+
var client = null;
|
|
2565
|
+
|
|
2566
|
+
/**
|
|
2567
|
+
* @param {string} url
|
|
2568
|
+
* @param {{ [handler: string]: (data?: any, params?: any) => any }} handlers
|
|
2569
|
+
* @param {number} [reconnect]
|
|
2570
|
+
*/
|
|
2571
|
+
var socket = function initSocket(url, handlers, reconnect) {
|
|
2572
|
+
client = new Client(url);
|
|
2573
|
+
client.onOpen(function () {
|
|
2574
|
+
retries = 0;
|
|
2575
|
+
if (typeof reconnect !== "undefined") {
|
|
2576
|
+
maxRetries = reconnect;
|
|
2577
|
+
}
|
|
2578
|
+
});
|
|
2579
|
+
client.onClose(function () {
|
|
2580
|
+
if (retries === 0) {
|
|
2581
|
+
handlers.close();
|
|
2582
|
+
}
|
|
2583
|
+
|
|
2584
|
+
// Try to reconnect.
|
|
2585
|
+
client = null;
|
|
2586
|
+
|
|
2587
|
+
// After 10 retries stop trying, to prevent logspam.
|
|
2588
|
+
if (retries < maxRetries) {
|
|
2589
|
+
// Exponentially increase timeout to reconnect.
|
|
2590
|
+
// Respectfully copied from the package `got`.
|
|
2591
|
+
// eslint-disable-next-line no-restricted-properties
|
|
2592
|
+
var retryInMs = 1000 * Math.pow(2, retries) + Math.random() * 100;
|
|
2593
|
+
retries += 1;
|
|
2594
|
+
_utils_log_js__WEBPACK_IMPORTED_MODULE_1__.log.info("Trying to reconnect...");
|
|
2595
|
+
setTimeout(function () {
|
|
2596
|
+
socket(url, handlers, reconnect);
|
|
2597
|
+
}, retryInMs);
|
|
2598
|
+
}
|
|
2599
|
+
});
|
|
2600
|
+
client.onMessage(
|
|
2601
|
+
/**
|
|
2602
|
+
* @param {any} data
|
|
2603
|
+
*/
|
|
2604
|
+
function (data) {
|
|
2605
|
+
var message = JSON.parse(data);
|
|
2606
|
+
if (handlers[message.type]) {
|
|
2607
|
+
handlers[message.type](message.data, message.params);
|
|
2608
|
+
}
|
|
2609
|
+
});
|
|
2610
|
+
};
|
|
2611
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (socket);
|
|
2612
|
+
|
|
2613
|
+
/***/ }),
|
|
2614
|
+
|
|
2615
|
+
/***/ "./node_modules/webpack-dev-server/client/utils/createSocketURL.js":
|
|
2616
|
+
/*!*************************************************************************!*\
|
|
2617
|
+
!*** ./node_modules/webpack-dev-server/client/utils/createSocketURL.js ***!
|
|
2618
|
+
\*************************************************************************/
|
|
2619
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2620
|
+
|
|
2621
|
+
"use strict";
|
|
2622
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2623
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2624
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
2625
|
+
/* harmony export */ });
|
|
2626
|
+
/**
|
|
2627
|
+
* @param {{ protocol?: string, auth?: string, hostname?: string, port?: string, pathname?: string, search?: string, hash?: string, slashes?: boolean }} objURL
|
|
2628
|
+
* @returns {string}
|
|
2629
|
+
*/
|
|
2630
|
+
function format(objURL) {
|
|
2631
|
+
var protocol = objURL.protocol || "";
|
|
2632
|
+
if (protocol && protocol.substr(-1) !== ":") {
|
|
2633
|
+
protocol += ":";
|
|
2634
|
+
}
|
|
2635
|
+
var auth = objURL.auth || "";
|
|
2636
|
+
if (auth) {
|
|
2637
|
+
auth = encodeURIComponent(auth);
|
|
2638
|
+
auth = auth.replace(/%3A/i, ":");
|
|
2639
|
+
auth += "@";
|
|
2640
|
+
}
|
|
2641
|
+
var host = "";
|
|
2642
|
+
if (objURL.hostname) {
|
|
2643
|
+
host = auth + (objURL.hostname.indexOf(":") === -1 ? objURL.hostname : "[".concat(objURL.hostname, "]"));
|
|
2644
|
+
if (objURL.port) {
|
|
2645
|
+
host += ":".concat(objURL.port);
|
|
2646
|
+
}
|
|
2647
|
+
}
|
|
2648
|
+
var pathname = objURL.pathname || "";
|
|
2649
|
+
if (objURL.slashes) {
|
|
2650
|
+
host = "//".concat(host || "");
|
|
2651
|
+
if (pathname && pathname.charAt(0) !== "/") {
|
|
2652
|
+
pathname = "/".concat(pathname);
|
|
2653
|
+
}
|
|
2654
|
+
} else if (!host) {
|
|
2655
|
+
host = "";
|
|
2656
|
+
}
|
|
2657
|
+
var search = objURL.search || "";
|
|
2658
|
+
if (search && search.charAt(0) !== "?") {
|
|
2659
|
+
search = "?".concat(search);
|
|
2660
|
+
}
|
|
2661
|
+
var hash = objURL.hash || "";
|
|
2662
|
+
if (hash && hash.charAt(0) !== "#") {
|
|
2663
|
+
hash = "#".concat(hash);
|
|
2664
|
+
}
|
|
2665
|
+
pathname = pathname.replace(/[?#]/g,
|
|
2666
|
+
/**
|
|
2667
|
+
* @param {string} match
|
|
2668
|
+
* @returns {string}
|
|
2669
|
+
*/
|
|
2670
|
+
function (match) {
|
|
2671
|
+
return encodeURIComponent(match);
|
|
2672
|
+
});
|
|
2673
|
+
search = search.replace("#", "%23");
|
|
2674
|
+
return "".concat(protocol).concat(host).concat(pathname).concat(search).concat(hash);
|
|
2675
|
+
}
|
|
2676
|
+
|
|
2677
|
+
/**
|
|
2678
|
+
* @param {URL & { fromCurrentScript?: boolean }} parsedURL
|
|
2679
|
+
* @returns {string}
|
|
2680
|
+
*/
|
|
2681
|
+
function createSocketURL(parsedURL) {
|
|
2682
|
+
var hostname = parsedURL.hostname;
|
|
2683
|
+
|
|
2684
|
+
// Node.js module parses it as `::`
|
|
2685
|
+
// `new URL(urlString, [baseURLString])` parses it as '[::]'
|
|
2686
|
+
var isInAddrAny = hostname === "0.0.0.0" || hostname === "::" || hostname === "[::]";
|
|
2687
|
+
|
|
2688
|
+
// why do we need this check?
|
|
2689
|
+
// hostname n/a for file protocol (example, when using electron, ionic)
|
|
2690
|
+
// see: https://github.com/webpack/webpack-dev-server/pull/384
|
|
2691
|
+
if (isInAddrAny && self.location.hostname && self.location.protocol.indexOf("http") === 0) {
|
|
2692
|
+
hostname = self.location.hostname;
|
|
2693
|
+
}
|
|
2694
|
+
var socketURLProtocol = parsedURL.protocol || self.location.protocol;
|
|
2695
|
+
|
|
2696
|
+
// When https is used in the app, secure web sockets are always necessary because the browser doesn't accept non-secure web sockets.
|
|
2697
|
+
if (socketURLProtocol === "auto:" || hostname && isInAddrAny && self.location.protocol === "https:") {
|
|
2698
|
+
socketURLProtocol = self.location.protocol;
|
|
2699
|
+
}
|
|
2700
|
+
socketURLProtocol = socketURLProtocol.replace(/^(?:http|.+-extension|file)/i, "ws");
|
|
2701
|
+
var socketURLAuth = "";
|
|
2702
|
+
|
|
2703
|
+
// `new URL(urlString, [baseURLstring])` doesn't have `auth` property
|
|
2704
|
+
// Parse authentication credentials in case we need them
|
|
2705
|
+
if (parsedURL.username) {
|
|
2706
|
+
socketURLAuth = parsedURL.username;
|
|
2707
|
+
|
|
2708
|
+
// Since HTTP basic authentication does not allow empty username,
|
|
2709
|
+
// we only include password if the username is not empty.
|
|
2710
|
+
if (parsedURL.password) {
|
|
2711
|
+
// Result: <username>:<password>
|
|
2712
|
+
socketURLAuth = socketURLAuth.concat(":", parsedURL.password);
|
|
2713
|
+
}
|
|
2714
|
+
}
|
|
2715
|
+
|
|
2716
|
+
// In case the host is a raw IPv6 address, it can be enclosed in
|
|
2717
|
+
// the brackets as the brackets are needed in the final URL string.
|
|
2718
|
+
// Need to remove those as url.format blindly adds its own set of brackets
|
|
2719
|
+
// if the host string contains colons. That would lead to non-working
|
|
2720
|
+
// double brackets (e.g. [[::]]) host
|
|
2721
|
+
//
|
|
2722
|
+
// All of these web socket url params are optionally passed in through resourceQuery,
|
|
2723
|
+
// so we need to fall back to the default if they are not provided
|
|
2724
|
+
var socketURLHostname = (hostname || self.location.hostname || "localhost").replace(/^\[(.*)\]$/, "$1");
|
|
2725
|
+
var socketURLPort = parsedURL.port;
|
|
2726
|
+
if (!socketURLPort || socketURLPort === "0") {
|
|
2727
|
+
socketURLPort = self.location.port;
|
|
2728
|
+
}
|
|
2729
|
+
|
|
2730
|
+
// If path is provided it'll be passed in via the resourceQuery as a
|
|
2731
|
+
// query param so it has to be parsed out of the querystring in order for the
|
|
2732
|
+
// client to open the socket to the correct location.
|
|
2733
|
+
var socketURLPathname = "/ws";
|
|
2734
|
+
if (parsedURL.pathname && !parsedURL.fromCurrentScript) {
|
|
2735
|
+
socketURLPathname = parsedURL.pathname;
|
|
2736
|
+
}
|
|
2737
|
+
return format({
|
|
2738
|
+
protocol: socketURLProtocol,
|
|
2739
|
+
auth: socketURLAuth,
|
|
2740
|
+
hostname: socketURLHostname,
|
|
2741
|
+
port: socketURLPort,
|
|
2742
|
+
pathname: socketURLPathname,
|
|
2743
|
+
slashes: true
|
|
2744
|
+
});
|
|
2745
|
+
}
|
|
2746
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createSocketURL);
|
|
2747
|
+
|
|
2748
|
+
/***/ }),
|
|
2749
|
+
|
|
2750
|
+
/***/ "./node_modules/webpack-dev-server/client/utils/getCurrentScriptSource.js":
|
|
2751
|
+
/*!********************************************************************************!*\
|
|
2752
|
+
!*** ./node_modules/webpack-dev-server/client/utils/getCurrentScriptSource.js ***!
|
|
2753
|
+
\********************************************************************************/
|
|
2754
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2755
|
+
|
|
2756
|
+
"use strict";
|
|
2757
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2758
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2759
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
2760
|
+
/* harmony export */ });
|
|
2761
|
+
/**
|
|
2762
|
+
* @returns {string}
|
|
2763
|
+
*/
|
|
2764
|
+
function getCurrentScriptSource() {
|
|
2765
|
+
// `document.currentScript` is the most accurate way to find the current script,
|
|
2766
|
+
// but is not supported in all browsers.
|
|
2767
|
+
if (document.currentScript) {
|
|
2768
|
+
return document.currentScript.getAttribute("src");
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2771
|
+
// Fallback to getting all scripts running in the document.
|
|
2772
|
+
var scriptElements = document.scripts || [];
|
|
2773
|
+
var scriptElementsWithSrc = Array.prototype.filter.call(scriptElements, function (element) {
|
|
2774
|
+
return element.getAttribute("src");
|
|
2775
|
+
});
|
|
2776
|
+
if (scriptElementsWithSrc.length > 0) {
|
|
2777
|
+
var currentScript = scriptElementsWithSrc[scriptElementsWithSrc.length - 1];
|
|
2778
|
+
return currentScript.getAttribute("src");
|
|
2779
|
+
}
|
|
2780
|
+
|
|
2781
|
+
// Fail as there was no script to use.
|
|
2782
|
+
throw new Error("[webpack-dev-server] Failed to get current script source.");
|
|
2783
|
+
}
|
|
2784
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getCurrentScriptSource);
|
|
2785
|
+
|
|
2786
|
+
/***/ }),
|
|
2787
|
+
|
|
2788
|
+
/***/ "./node_modules/webpack-dev-server/client/utils/log.js":
|
|
2789
|
+
/*!*************************************************************!*\
|
|
2790
|
+
!*** ./node_modules/webpack-dev-server/client/utils/log.js ***!
|
|
2791
|
+
\*************************************************************/
|
|
2792
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2793
|
+
|
|
2794
|
+
"use strict";
|
|
2795
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2796
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2797
|
+
/* harmony export */ log: () => (/* binding */ log),
|
|
2798
|
+
/* harmony export */ logEnabledFeatures: () => (/* binding */ logEnabledFeatures),
|
|
2799
|
+
/* harmony export */ setLogLevel: () => (/* binding */ setLogLevel)
|
|
2800
|
+
/* harmony export */ });
|
|
2801
|
+
/* harmony import */ var _modules_logger_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../modules/logger/index.js */ "./node_modules/webpack-dev-server/client/modules/logger/index.js");
|
|
2802
|
+
/* harmony import */ var _modules_logger_index_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_modules_logger_index_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
2803
|
+
|
|
2804
|
+
var name = "webpack-dev-server";
|
|
2805
|
+
// default level is set on the client side, so it does not need
|
|
2806
|
+
// to be set by the CLI or API
|
|
2807
|
+
var defaultLevel = "info";
|
|
2808
|
+
|
|
2809
|
+
// options new options, merge with old options
|
|
2810
|
+
/**
|
|
2811
|
+
* @param {false | true | "none" | "error" | "warn" | "info" | "log" | "verbose"} level
|
|
2812
|
+
* @returns {void}
|
|
2813
|
+
*/
|
|
2814
|
+
function setLogLevel(level) {
|
|
2815
|
+
_modules_logger_index_js__WEBPACK_IMPORTED_MODULE_0___default().configureDefaultLogger({
|
|
2816
|
+
level: level
|
|
2817
|
+
});
|
|
2818
|
+
}
|
|
2819
|
+
setLogLevel(defaultLevel);
|
|
2820
|
+
var log = _modules_logger_index_js__WEBPACK_IMPORTED_MODULE_0___default().getLogger(name);
|
|
2821
|
+
var logEnabledFeatures = function logEnabledFeatures(features) {
|
|
2822
|
+
var enabledFeatures = Object.keys(features);
|
|
2823
|
+
if (!features || enabledFeatures.length === 0) {
|
|
2824
|
+
return;
|
|
2825
|
+
}
|
|
2826
|
+
var logString = "Server started:";
|
|
2827
|
+
|
|
2828
|
+
// Server started: Hot Module Replacement enabled, Live Reloading enabled, Overlay disabled.
|
|
2829
|
+
for (var i = 0; i < enabledFeatures.length; i++) {
|
|
2830
|
+
var key = enabledFeatures[i];
|
|
2831
|
+
logString += " ".concat(key, " ").concat(features[key] ? "enabled" : "disabled", ",");
|
|
2832
|
+
}
|
|
2833
|
+
// replace last comma with a period
|
|
2834
|
+
logString = logString.slice(0, -1).concat(".");
|
|
2835
|
+
log.info(logString);
|
|
2836
|
+
};
|
|
2837
|
+
|
|
2838
|
+
|
|
2839
|
+
/***/ }),
|
|
2840
|
+
|
|
2841
|
+
/***/ "./node_modules/webpack-dev-server/client/utils/parseURL.js":
|
|
2842
|
+
/*!******************************************************************!*\
|
|
2843
|
+
!*** ./node_modules/webpack-dev-server/client/utils/parseURL.js ***!
|
|
2844
|
+
\******************************************************************/
|
|
2845
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2846
|
+
|
|
2847
|
+
"use strict";
|
|
2848
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2849
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2850
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
2851
|
+
/* harmony export */ });
|
|
2852
|
+
/* harmony import */ var _getCurrentScriptSource_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getCurrentScriptSource.js */ "./node_modules/webpack-dev-server/client/utils/getCurrentScriptSource.js");
|
|
2853
|
+
|
|
2854
|
+
|
|
2855
|
+
/**
|
|
2856
|
+
* @param {string} resourceQuery
|
|
2857
|
+
* @returns {{ [key: string]: string | boolean }}
|
|
2858
|
+
*/
|
|
2859
|
+
function parseURL(resourceQuery) {
|
|
2860
|
+
/** @type {{ [key: string]: string }} */
|
|
2861
|
+
var options = {};
|
|
2862
|
+
if (typeof resourceQuery === "string" && resourceQuery !== "") {
|
|
2863
|
+
var searchParams = resourceQuery.slice(1).split("&");
|
|
2864
|
+
for (var i = 0; i < searchParams.length; i++) {
|
|
2865
|
+
var pair = searchParams[i].split("=");
|
|
2866
|
+
options[pair[0]] = decodeURIComponent(pair[1]);
|
|
2867
|
+
}
|
|
2868
|
+
} else {
|
|
2869
|
+
// Else, get the url from the <script> this file was called with.
|
|
2870
|
+
var scriptSource = (0,_getCurrentScriptSource_js__WEBPACK_IMPORTED_MODULE_0__["default"])();
|
|
2871
|
+
var scriptSourceURL;
|
|
2872
|
+
try {
|
|
2873
|
+
// The placeholder `baseURL` with `window.location.href`,
|
|
2874
|
+
// is to allow parsing of path-relative or protocol-relative URLs,
|
|
2875
|
+
// and will have no effect if `scriptSource` is a fully valid URL.
|
|
2876
|
+
scriptSourceURL = new URL(scriptSource, self.location.href);
|
|
2877
|
+
} catch (error) {
|
|
2878
|
+
// URL parsing failed, do nothing.
|
|
2879
|
+
// We will still proceed to see if we can recover using `resourceQuery`
|
|
2880
|
+
}
|
|
2881
|
+
if (scriptSourceURL) {
|
|
2882
|
+
options = scriptSourceURL;
|
|
2883
|
+
options.fromCurrentScript = true;
|
|
2884
|
+
}
|
|
2885
|
+
}
|
|
2886
|
+
return options;
|
|
2887
|
+
}
|
|
2888
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (parseURL);
|
|
2889
|
+
|
|
2890
|
+
/***/ }),
|
|
2891
|
+
|
|
2892
|
+
/***/ "./node_modules/webpack-dev-server/client/utils/reloadApp.js":
|
|
2893
|
+
/*!*******************************************************************!*\
|
|
2894
|
+
!*** ./node_modules/webpack-dev-server/client/utils/reloadApp.js ***!
|
|
2895
|
+
\*******************************************************************/
|
|
2896
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2897
|
+
|
|
2898
|
+
"use strict";
|
|
2899
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2900
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2901
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
2902
|
+
/* harmony export */ });
|
|
2903
|
+
/* harmony import */ var webpack_hot_emitter_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! webpack/hot/emitter.js */ "./node_modules/webpack/hot/emitter.js");
|
|
2904
|
+
/* harmony import */ var webpack_hot_emitter_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(webpack_hot_emitter_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
2905
|
+
/* harmony import */ var _log_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./log.js */ "./node_modules/webpack-dev-server/client/utils/log.js");
|
|
2906
|
+
|
|
2907
|
+
|
|
2908
|
+
|
|
2909
|
+
/** @typedef {import("../index").Options} Options
|
|
2910
|
+
/** @typedef {import("../index").Status} Status
|
|
2911
|
+
|
|
2912
|
+
/**
|
|
2913
|
+
* @param {Options} options
|
|
2914
|
+
* @param {Status} status
|
|
2915
|
+
*/
|
|
2916
|
+
function reloadApp(_ref, status) {
|
|
2917
|
+
var hot = _ref.hot,
|
|
2918
|
+
liveReload = _ref.liveReload;
|
|
2919
|
+
if (status.isUnloading) {
|
|
2920
|
+
return;
|
|
2921
|
+
}
|
|
2922
|
+
var currentHash = status.currentHash,
|
|
2923
|
+
previousHash = status.previousHash;
|
|
2924
|
+
var isInitial = currentHash.indexOf( /** @type {string} */previousHash) >= 0;
|
|
2925
|
+
if (isInitial) {
|
|
2926
|
+
return;
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
/**
|
|
2930
|
+
* @param {Window} rootWindow
|
|
2931
|
+
* @param {number} intervalId
|
|
2932
|
+
*/
|
|
2933
|
+
function applyReload(rootWindow, intervalId) {
|
|
2934
|
+
clearInterval(intervalId);
|
|
2935
|
+
_log_js__WEBPACK_IMPORTED_MODULE_1__.log.info("App updated. Reloading...");
|
|
2936
|
+
rootWindow.location.reload();
|
|
2937
|
+
}
|
|
2938
|
+
var search = self.location.search.toLowerCase();
|
|
2939
|
+
var allowToHot = search.indexOf("webpack-dev-server-hot=false") === -1;
|
|
2940
|
+
var allowToLiveReload = search.indexOf("webpack-dev-server-live-reload=false") === -1;
|
|
2941
|
+
if (hot && allowToHot) {
|
|
2942
|
+
_log_js__WEBPACK_IMPORTED_MODULE_1__.log.info("App hot update...");
|
|
2943
|
+
webpack_hot_emitter_js__WEBPACK_IMPORTED_MODULE_0___default().emit("webpackHotUpdate", status.currentHash);
|
|
2944
|
+
if (typeof self !== "undefined" && self.window) {
|
|
2945
|
+
// broadcast update to window
|
|
2946
|
+
self.postMessage("webpackHotUpdate".concat(status.currentHash), "*");
|
|
2947
|
+
}
|
|
2948
|
+
}
|
|
2949
|
+
// allow refreshing the page only if liveReload isn't disabled
|
|
2950
|
+
else if (liveReload && allowToLiveReload) {
|
|
2951
|
+
var rootWindow = self;
|
|
2952
|
+
|
|
2953
|
+
// use parent window for reload (in case we're in an iframe with no valid src)
|
|
2954
|
+
var intervalId = self.setInterval(function () {
|
|
2955
|
+
if (rootWindow.location.protocol !== "about:") {
|
|
2956
|
+
// reload immediately if protocol is valid
|
|
2957
|
+
applyReload(rootWindow, intervalId);
|
|
2958
|
+
} else {
|
|
2959
|
+
rootWindow = rootWindow.parent;
|
|
2960
|
+
if (rootWindow.parent === rootWindow) {
|
|
2961
|
+
// if parent equals current window we've reached the root which would continue forever, so trigger a reload anyways
|
|
2962
|
+
applyReload(rootWindow, intervalId);
|
|
2963
|
+
}
|
|
2964
|
+
}
|
|
2965
|
+
});
|
|
2966
|
+
}
|
|
2967
|
+
}
|
|
2968
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (reloadApp);
|
|
2969
|
+
|
|
2970
|
+
/***/ }),
|
|
2971
|
+
|
|
2972
|
+
/***/ "./node_modules/webpack-dev-server/client/utils/sendMessage.js":
|
|
2973
|
+
/*!*********************************************************************!*\
|
|
2974
|
+
!*** ./node_modules/webpack-dev-server/client/utils/sendMessage.js ***!
|
|
2975
|
+
\*********************************************************************/
|
|
2976
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2977
|
+
|
|
2978
|
+
"use strict";
|
|
2979
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2980
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2981
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
2982
|
+
/* harmony export */ });
|
|
2983
|
+
/* global __resourceQuery WorkerGlobalScope */
|
|
2984
|
+
|
|
2985
|
+
// Send messages to the outside, so plugins can consume it.
|
|
2986
|
+
/**
|
|
2987
|
+
* @param {string} type
|
|
2988
|
+
* @param {any} [data]
|
|
2989
|
+
*/
|
|
2990
|
+
function sendMsg(type, data) {
|
|
2991
|
+
if (typeof self !== "undefined" && (typeof WorkerGlobalScope === "undefined" || !(self instanceof WorkerGlobalScope))) {
|
|
2992
|
+
self.postMessage({
|
|
2993
|
+
type: "webpack".concat(type),
|
|
2994
|
+
data: data
|
|
2995
|
+
}, "*");
|
|
2996
|
+
}
|
|
2997
|
+
}
|
|
2998
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (sendMsg);
|
|
2999
|
+
|
|
3000
|
+
/***/ }),
|
|
3001
|
+
|
|
3002
|
+
/***/ "./node_modules/webpack-dev-server/client/utils/stripAnsi.js":
|
|
3003
|
+
/*!*******************************************************************!*\
|
|
3004
|
+
!*** ./node_modules/webpack-dev-server/client/utils/stripAnsi.js ***!
|
|
3005
|
+
\*******************************************************************/
|
|
3006
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3007
|
+
|
|
3008
|
+
"use strict";
|
|
3009
|
+
__webpack_require__.r(__webpack_exports__);
|
|
3010
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3011
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
3012
|
+
/* harmony export */ });
|
|
3013
|
+
var ansiRegex = new RegExp(["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|"), "g");
|
|
3014
|
+
|
|
3015
|
+
/**
|
|
3016
|
+
*
|
|
3017
|
+
* Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) from a string.
|
|
3018
|
+
* Adapted from code originally released by Sindre Sorhus
|
|
3019
|
+
* Licensed the MIT License
|
|
3020
|
+
*
|
|
3021
|
+
* @param {string} string
|
|
3022
|
+
* @return {string}
|
|
3023
|
+
*/
|
|
3024
|
+
function stripAnsi(string) {
|
|
3025
|
+
if (typeof string !== "string") {
|
|
3026
|
+
throw new TypeError("Expected a `string`, got `".concat(typeof string, "`"));
|
|
3027
|
+
}
|
|
3028
|
+
return string.replace(ansiRegex, "");
|
|
3029
|
+
}
|
|
3030
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (stripAnsi);
|
|
3031
|
+
|
|
3032
|
+
/***/ }),
|
|
3033
|
+
|
|
3034
|
+
/***/ "./node_modules/webpack/hot/dev-server.js":
|
|
3035
|
+
/*!************************************************!*\
|
|
3036
|
+
!*** ./node_modules/webpack/hot/dev-server.js ***!
|
|
3037
|
+
\************************************************/
|
|
3038
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
3039
|
+
|
|
3040
|
+
/*
|
|
3041
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
3042
|
+
Author Tobias Koppers @sokra
|
|
3043
|
+
*/
|
|
3044
|
+
/* globals __webpack_hash__ */
|
|
3045
|
+
if (true) {
|
|
3046
|
+
/** @type {undefined|string} */
|
|
3047
|
+
var lastHash;
|
|
3048
|
+
var upToDate = function upToDate() {
|
|
3049
|
+
return /** @type {string} */ (lastHash).indexOf(__webpack_require__.h()) >= 0;
|
|
3050
|
+
};
|
|
3051
|
+
var log = __webpack_require__(/*! ./log */ "./node_modules/webpack/hot/log.js");
|
|
3052
|
+
var check = function check() {
|
|
3053
|
+
module.hot
|
|
3054
|
+
.check(true)
|
|
3055
|
+
.then(function (updatedModules) {
|
|
3056
|
+
if (!updatedModules) {
|
|
3057
|
+
log(
|
|
3058
|
+
"warning",
|
|
3059
|
+
"[HMR] Cannot find update. " +
|
|
3060
|
+
(typeof window !== "undefined"
|
|
3061
|
+
? "Need to do a full reload!"
|
|
3062
|
+
: "Please reload manually!")
|
|
3063
|
+
);
|
|
3064
|
+
log(
|
|
3065
|
+
"warning",
|
|
3066
|
+
"[HMR] (Probably because of restarting the webpack-dev-server)"
|
|
3067
|
+
);
|
|
3068
|
+
if (typeof window !== "undefined") {
|
|
3069
|
+
window.location.reload();
|
|
3070
|
+
}
|
|
3071
|
+
return;
|
|
3072
|
+
}
|
|
3073
|
+
|
|
3074
|
+
if (!upToDate()) {
|
|
3075
|
+
check();
|
|
3076
|
+
}
|
|
3077
|
+
|
|
3078
|
+
__webpack_require__(/*! ./log-apply-result */ "./node_modules/webpack/hot/log-apply-result.js")(updatedModules, updatedModules);
|
|
3079
|
+
|
|
3080
|
+
if (upToDate()) {
|
|
3081
|
+
log("info", "[HMR] App is up to date.");
|
|
3082
|
+
}
|
|
3083
|
+
})
|
|
3084
|
+
.catch(function (err) {
|
|
3085
|
+
var status = module.hot.status();
|
|
3086
|
+
if (["abort", "fail"].indexOf(status) >= 0) {
|
|
3087
|
+
log(
|
|
3088
|
+
"warning",
|
|
3089
|
+
"[HMR] Cannot apply update. " +
|
|
3090
|
+
(typeof window !== "undefined"
|
|
3091
|
+
? "Need to do a full reload!"
|
|
3092
|
+
: "Please reload manually!")
|
|
3093
|
+
);
|
|
3094
|
+
log("warning", "[HMR] " + log.formatError(err));
|
|
3095
|
+
if (typeof window !== "undefined") {
|
|
3096
|
+
window.location.reload();
|
|
3097
|
+
}
|
|
3098
|
+
} else {
|
|
3099
|
+
log("warning", "[HMR] Update failed: " + log.formatError(err));
|
|
3100
|
+
}
|
|
3101
|
+
});
|
|
3102
|
+
};
|
|
3103
|
+
var hotEmitter = __webpack_require__(/*! ./emitter */ "./node_modules/webpack/hot/emitter.js");
|
|
3104
|
+
hotEmitter.on("webpackHotUpdate", function (currentHash) {
|
|
3105
|
+
lastHash = currentHash;
|
|
3106
|
+
if (!upToDate() && module.hot.status() === "idle") {
|
|
3107
|
+
log("info", "[HMR] Checking for updates on the server...");
|
|
3108
|
+
check();
|
|
3109
|
+
}
|
|
3110
|
+
});
|
|
3111
|
+
log("info", "[HMR] Waiting for update signal from WDS...");
|
|
3112
|
+
} else {}
|
|
3113
|
+
|
|
3114
|
+
|
|
3115
|
+
/***/ }),
|
|
3116
|
+
|
|
3117
|
+
/***/ "./node_modules/webpack/hot/emitter.js":
|
|
3118
|
+
/*!*********************************************!*\
|
|
3119
|
+
!*** ./node_modules/webpack/hot/emitter.js ***!
|
|
3120
|
+
\*********************************************/
|
|
3121
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
3122
|
+
|
|
3123
|
+
var EventEmitter = __webpack_require__(/*! events */ "./node_modules/events/events.js");
|
|
3124
|
+
module.exports = new EventEmitter();
|
|
3125
|
+
|
|
3126
|
+
|
|
3127
|
+
/***/ }),
|
|
3128
|
+
|
|
3129
|
+
/***/ "./node_modules/webpack/hot/log-apply-result.js":
|
|
3130
|
+
/*!******************************************************!*\
|
|
3131
|
+
!*** ./node_modules/webpack/hot/log-apply-result.js ***!
|
|
3132
|
+
\******************************************************/
|
|
3133
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
3134
|
+
|
|
3135
|
+
/*
|
|
3136
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
3137
|
+
Author Tobias Koppers @sokra
|
|
3138
|
+
*/
|
|
3139
|
+
|
|
3140
|
+
/**
|
|
3141
|
+
* @param {(string | number)[]} updatedModules updated modules
|
|
3142
|
+
* @param {(string | number)[] | null} renewedModules renewed modules
|
|
3143
|
+
*/
|
|
3144
|
+
module.exports = function (updatedModules, renewedModules) {
|
|
3145
|
+
var unacceptedModules = updatedModules.filter(function (moduleId) {
|
|
3146
|
+
return renewedModules && renewedModules.indexOf(moduleId) < 0;
|
|
3147
|
+
});
|
|
3148
|
+
var log = __webpack_require__(/*! ./log */ "./node_modules/webpack/hot/log.js");
|
|
3149
|
+
|
|
3150
|
+
if (unacceptedModules.length > 0) {
|
|
3151
|
+
log(
|
|
3152
|
+
"warning",
|
|
3153
|
+
"[HMR] The following modules couldn't be hot updated: (They would need a full reload!)"
|
|
3154
|
+
);
|
|
3155
|
+
unacceptedModules.forEach(function (moduleId) {
|
|
3156
|
+
log("warning", "[HMR] - " + moduleId);
|
|
3157
|
+
});
|
|
3158
|
+
}
|
|
3159
|
+
|
|
3160
|
+
if (!renewedModules || renewedModules.length === 0) {
|
|
3161
|
+
log("info", "[HMR] Nothing hot updated.");
|
|
3162
|
+
} else {
|
|
3163
|
+
log("info", "[HMR] Updated modules:");
|
|
3164
|
+
renewedModules.forEach(function (moduleId) {
|
|
3165
|
+
if (typeof moduleId === "string" && moduleId.indexOf("!") !== -1) {
|
|
3166
|
+
var parts = moduleId.split("!");
|
|
3167
|
+
log.groupCollapsed("info", "[HMR] - " + parts.pop());
|
|
3168
|
+
log("info", "[HMR] - " + moduleId);
|
|
3169
|
+
log.groupEnd("info");
|
|
3170
|
+
} else {
|
|
3171
|
+
log("info", "[HMR] - " + moduleId);
|
|
3172
|
+
}
|
|
3173
|
+
});
|
|
3174
|
+
var numberIds = renewedModules.every(function (moduleId) {
|
|
3175
|
+
return typeof moduleId === "number";
|
|
3176
|
+
});
|
|
3177
|
+
if (numberIds)
|
|
3178
|
+
log(
|
|
3179
|
+
"info",
|
|
3180
|
+
'[HMR] Consider using the optimization.moduleIds: "named" for module names.'
|
|
3181
|
+
);
|
|
3182
|
+
}
|
|
3183
|
+
};
|
|
3184
|
+
|
|
3185
|
+
|
|
3186
|
+
/***/ }),
|
|
3187
|
+
|
|
3188
|
+
/***/ "./node_modules/webpack/hot/log.js":
|
|
3189
|
+
/*!*****************************************!*\
|
|
3190
|
+
!*** ./node_modules/webpack/hot/log.js ***!
|
|
3191
|
+
\*****************************************/
|
|
3192
|
+
/***/ ((module) => {
|
|
3193
|
+
|
|
3194
|
+
/** @typedef {"info" | "warning" | "error"} LogLevel */
|
|
3195
|
+
|
|
3196
|
+
/** @type {LogLevel} */
|
|
3197
|
+
var logLevel = "info";
|
|
3198
|
+
|
|
3199
|
+
function dummy() {}
|
|
3200
|
+
|
|
3201
|
+
/**
|
|
3202
|
+
* @param {LogLevel} level log level
|
|
3203
|
+
* @returns {boolean} true, if should log
|
|
3204
|
+
*/
|
|
3205
|
+
function shouldLog(level) {
|
|
3206
|
+
var shouldLog =
|
|
3207
|
+
(logLevel === "info" && level === "info") ||
|
|
3208
|
+
(["info", "warning"].indexOf(logLevel) >= 0 && level === "warning") ||
|
|
3209
|
+
(["info", "warning", "error"].indexOf(logLevel) >= 0 && level === "error");
|
|
3210
|
+
return shouldLog;
|
|
3211
|
+
}
|
|
3212
|
+
|
|
3213
|
+
/**
|
|
3214
|
+
* @param {(msg?: string) => void} logFn log function
|
|
3215
|
+
* @returns {(level: LogLevel, msg?: string) => void} function that logs when log level is sufficient
|
|
3216
|
+
*/
|
|
3217
|
+
function logGroup(logFn) {
|
|
3218
|
+
return function (level, msg) {
|
|
3219
|
+
if (shouldLog(level)) {
|
|
3220
|
+
logFn(msg);
|
|
3221
|
+
}
|
|
3222
|
+
};
|
|
3223
|
+
}
|
|
3224
|
+
|
|
3225
|
+
/**
|
|
3226
|
+
* @param {LogLevel} level log level
|
|
3227
|
+
* @param {string|Error} msg message
|
|
3228
|
+
*/
|
|
3229
|
+
module.exports = function (level, msg) {
|
|
3230
|
+
if (shouldLog(level)) {
|
|
3231
|
+
if (level === "info") {
|
|
3232
|
+
console.log(msg);
|
|
3233
|
+
} else if (level === "warning") {
|
|
3234
|
+
console.warn(msg);
|
|
3235
|
+
} else if (level === "error") {
|
|
3236
|
+
console.error(msg);
|
|
3237
|
+
}
|
|
3238
|
+
}
|
|
3239
|
+
};
|
|
3240
|
+
|
|
3241
|
+
var group = console.group || dummy;
|
|
3242
|
+
var groupCollapsed = console.groupCollapsed || dummy;
|
|
3243
|
+
var groupEnd = console.groupEnd || dummy;
|
|
3244
|
+
|
|
3245
|
+
module.exports.group = logGroup(group);
|
|
3246
|
+
|
|
3247
|
+
module.exports.groupCollapsed = logGroup(groupCollapsed);
|
|
3248
|
+
|
|
3249
|
+
module.exports.groupEnd = logGroup(groupEnd);
|
|
3250
|
+
|
|
3251
|
+
/**
|
|
3252
|
+
* @param {LogLevel} level log level
|
|
3253
|
+
*/
|
|
3254
|
+
module.exports.setLogLevel = function (level) {
|
|
3255
|
+
logLevel = level;
|
|
3256
|
+
};
|
|
3257
|
+
|
|
3258
|
+
/**
|
|
3259
|
+
* @param {Error} err error
|
|
3260
|
+
* @returns {string} formatted error
|
|
3261
|
+
*/
|
|
3262
|
+
module.exports.formatError = function (err) {
|
|
3263
|
+
var message = err.message;
|
|
3264
|
+
var stack = err.stack;
|
|
3265
|
+
if (!stack) {
|
|
3266
|
+
return message;
|
|
3267
|
+
} else if (stack.indexOf(message) < 0) {
|
|
3268
|
+
return message + "\n" + stack;
|
|
3269
|
+
}
|
|
3270
|
+
return stack;
|
|
3271
|
+
};
|
|
110
3272
|
|
|
111
3273
|
|
|
112
3274
|
/***/ })
|
|
@@ -115,7 +3277,7 @@ var INTERNAL_EVENTS;
|
|
|
115
3277
|
/******/ function(__webpack_require__) { // webpackRuntimeModules
|
|
116
3278
|
/******/ /* webpack/runtime/getFullHash */
|
|
117
3279
|
/******/ (() => {
|
|
118
|
-
/******/ __webpack_require__.h = () => ("
|
|
3280
|
+
/******/ __webpack_require__.h = () => ("3acfd00747f58edd727a")
|
|
119
3281
|
/******/ })();
|
|
120
3282
|
/******/
|
|
121
3283
|
/******/ }
|